react-dom 19.2.0-canary-67a44bcd-20250915 → 19.2.0-canary-128abcfa-20250917

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.
@@ -9932,24 +9932,24 @@
9932
9932
  return current;
9933
9933
  }
9934
9934
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9935
- var JSCompiler_object_inline_digest_2533;
9936
- var JSCompiler_object_inline_stack_2534 = workInProgress.pendingProps;
9935
+ var JSCompiler_object_inline_digest_2537;
9936
+ var JSCompiler_object_inline_stack_2538 = workInProgress.pendingProps;
9937
9937
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9938
- var JSCompiler_object_inline_message_2532 = !1;
9938
+ var JSCompiler_object_inline_message_2536 = !1;
9939
9939
  var didSuspend = 0 !== (workInProgress.flags & 128);
9940
- (JSCompiler_object_inline_digest_2533 = didSuspend) ||
9941
- (JSCompiler_object_inline_digest_2533 =
9940
+ (JSCompiler_object_inline_digest_2537 = didSuspend) ||
9941
+ (JSCompiler_object_inline_digest_2537 =
9942
9942
  null !== current && null === current.memoizedState
9943
9943
  ? !1
9944
9944
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9945
- JSCompiler_object_inline_digest_2533 &&
9946
- ((JSCompiler_object_inline_message_2532 = !0),
9945
+ JSCompiler_object_inline_digest_2537 &&
9946
+ ((JSCompiler_object_inline_message_2536 = !0),
9947
9947
  (workInProgress.flags &= -129));
9948
- JSCompiler_object_inline_digest_2533 = 0 !== (workInProgress.flags & 32);
9948
+ JSCompiler_object_inline_digest_2537 = 0 !== (workInProgress.flags & 32);
9949
9949
  workInProgress.flags &= -33;
9950
9950
  if (null === current) {
9951
9951
  if (isHydrating) {
9952
- JSCompiler_object_inline_message_2532
9952
+ JSCompiler_object_inline_message_2536
9953
9953
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9954
9954
  : reuseSuspenseHandlerOnStack(workInProgress);
9955
9955
  (current = nextHydratableInstance)
@@ -9962,18 +9962,18 @@
9962
9962
  ? renderLanes
9963
9963
  : null),
9964
9964
  null !== renderLanes &&
9965
- ((JSCompiler_object_inline_digest_2533 = {
9965
+ ((JSCompiler_object_inline_digest_2537 = {
9966
9966
  dehydrated: renderLanes,
9967
9967
  treeContext: getSuspendedTreeContext(),
9968
9968
  retryLane: 536870912,
9969
9969
  hydrationErrors: null
9970
9970
  }),
9971
9971
  (workInProgress.memoizedState =
9972
- JSCompiler_object_inline_digest_2533),
9973
- (JSCompiler_object_inline_digest_2533 =
9972
+ JSCompiler_object_inline_digest_2537),
9973
+ (JSCompiler_object_inline_digest_2537 =
9974
9974
  createFiberFromDehydratedFragment(renderLanes)),
9975
- (JSCompiler_object_inline_digest_2533.return = workInProgress),
9976
- (workInProgress.child = JSCompiler_object_inline_digest_2533),
9975
+ (JSCompiler_object_inline_digest_2537.return = workInProgress),
9976
+ (workInProgress.child = JSCompiler_object_inline_digest_2537),
9977
9977
  (hydrationParentFiber = workInProgress),
9978
9978
  (nextHydratableInstance = null)))
9979
9979
  : (renderLanes = null);
@@ -9987,39 +9987,39 @@
9987
9987
  : (workInProgress.lanes = 536870912);
9988
9988
  return null;
9989
9989
  }
9990
- var nextPrimaryChildren = JSCompiler_object_inline_stack_2534.children;
9991
- JSCompiler_object_inline_stack_2534 =
9992
- JSCompiler_object_inline_stack_2534.fallback;
9993
- if (JSCompiler_object_inline_message_2532) {
9990
+ var nextPrimaryChildren = JSCompiler_object_inline_stack_2538.children;
9991
+ JSCompiler_object_inline_stack_2538 =
9992
+ JSCompiler_object_inline_stack_2538.fallback;
9993
+ if (JSCompiler_object_inline_message_2536) {
9994
9994
  reuseSuspenseHandlerOnStack(workInProgress);
9995
9995
  var mode = workInProgress.mode;
9996
9996
  nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
9997
9997
  { mode: "hidden", children: nextPrimaryChildren },
9998
9998
  mode
9999
9999
  );
10000
- JSCompiler_object_inline_stack_2534 = createFiberFromFragment(
10001
- JSCompiler_object_inline_stack_2534,
10000
+ JSCompiler_object_inline_stack_2538 = createFiberFromFragment(
10001
+ JSCompiler_object_inline_stack_2538,
10002
10002
  mode,
10003
10003
  renderLanes,
10004
10004
  null
10005
10005
  );
10006
10006
  nextPrimaryChildren.return = workInProgress;
10007
- JSCompiler_object_inline_stack_2534.return = workInProgress;
10008
- nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2534;
10007
+ JSCompiler_object_inline_stack_2538.return = workInProgress;
10008
+ nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2538;
10009
10009
  workInProgress.child = nextPrimaryChildren;
10010
- JSCompiler_object_inline_stack_2534 = workInProgress.child;
10011
- JSCompiler_object_inline_stack_2534.memoizedState =
10010
+ JSCompiler_object_inline_stack_2538 = workInProgress.child;
10011
+ JSCompiler_object_inline_stack_2538.memoizedState =
10012
10012
  mountSuspenseOffscreenState(renderLanes);
10013
- JSCompiler_object_inline_stack_2534.childLanes =
10013
+ JSCompiler_object_inline_stack_2538.childLanes =
10014
10014
  getRemainingWorkInPrimaryTree(
10015
10015
  current,
10016
- JSCompiler_object_inline_digest_2533,
10016
+ JSCompiler_object_inline_digest_2537,
10017
10017
  renderLanes
10018
10018
  );
10019
10019
  workInProgress.memoizedState = SUSPENDED_MARKER;
10020
10020
  return bailoutOffscreenComponent(
10021
10021
  null,
10022
- JSCompiler_object_inline_stack_2534
10022
+ JSCompiler_object_inline_stack_2538
10023
10023
  );
10024
10024
  }
10025
10025
  pushPrimaryTreeSuspenseHandler(workInProgress);
@@ -10030,8 +10030,8 @@
10030
10030
  }
10031
10031
  var prevState = current.memoizedState;
10032
10032
  if (null !== prevState) {
10033
- var JSCompiler_object_inline_componentStack_2535 = prevState.dehydrated;
10034
- if (null !== JSCompiler_object_inline_componentStack_2535) {
10033
+ var JSCompiler_object_inline_componentStack_2539 = prevState.dehydrated;
10034
+ if (null !== JSCompiler_object_inline_componentStack_2539) {
10035
10035
  if (didSuspend)
10036
10036
  workInProgress.flags & 256
10037
10037
  ? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -10048,13 +10048,13 @@
10048
10048
  (workInProgress = null))
10049
10049
  : (reuseSuspenseHandlerOnStack(workInProgress),
10050
10050
  (nextPrimaryChildren =
10051
- JSCompiler_object_inline_stack_2534.fallback),
10051
+ JSCompiler_object_inline_stack_2538.fallback),
10052
10052
  (mode = workInProgress.mode),
10053
- (JSCompiler_object_inline_stack_2534 =
10053
+ (JSCompiler_object_inline_stack_2538 =
10054
10054
  mountWorkInProgressOffscreenFiber(
10055
10055
  {
10056
10056
  mode: "visible",
10057
- children: JSCompiler_object_inline_stack_2534.children
10057
+ children: JSCompiler_object_inline_stack_2538.children
10058
10058
  },
10059
10059
  mode
10060
10060
  )),
@@ -10065,74 +10065,74 @@
10065
10065
  null
10066
10066
  )),
10067
10067
  (nextPrimaryChildren.flags |= 2),
10068
- (JSCompiler_object_inline_stack_2534.return = workInProgress),
10068
+ (JSCompiler_object_inline_stack_2538.return = workInProgress),
10069
10069
  (nextPrimaryChildren.return = workInProgress),
10070
- (JSCompiler_object_inline_stack_2534.sibling =
10070
+ (JSCompiler_object_inline_stack_2538.sibling =
10071
10071
  nextPrimaryChildren),
10072
- (workInProgress.child = JSCompiler_object_inline_stack_2534),
10072
+ (workInProgress.child = JSCompiler_object_inline_stack_2538),
10073
10073
  reconcileChildFibers(
10074
10074
  workInProgress,
10075
10075
  current.child,
10076
10076
  null,
10077
10077
  renderLanes
10078
10078
  ),
10079
- (JSCompiler_object_inline_stack_2534 = workInProgress.child),
10080
- (JSCompiler_object_inline_stack_2534.memoizedState =
10079
+ (JSCompiler_object_inline_stack_2538 = workInProgress.child),
10080
+ (JSCompiler_object_inline_stack_2538.memoizedState =
10081
10081
  mountSuspenseOffscreenState(renderLanes)),
10082
- (JSCompiler_object_inline_stack_2534.childLanes =
10082
+ (JSCompiler_object_inline_stack_2538.childLanes =
10083
10083
  getRemainingWorkInPrimaryTree(
10084
10084
  current,
10085
- JSCompiler_object_inline_digest_2533,
10085
+ JSCompiler_object_inline_digest_2537,
10086
10086
  renderLanes
10087
10087
  )),
10088
10088
  (workInProgress.memoizedState = SUSPENDED_MARKER),
10089
10089
  (workInProgress = bailoutOffscreenComponent(
10090
10090
  null,
10091
- JSCompiler_object_inline_stack_2534
10091
+ JSCompiler_object_inline_stack_2538
10092
10092
  )));
10093
10093
  else if (
10094
10094
  (pushPrimaryTreeSuspenseHandler(workInProgress),
10095
10095
  warnIfHydrating(),
10096
10096
  isSuspenseInstanceFallback(
10097
- JSCompiler_object_inline_componentStack_2535
10097
+ JSCompiler_object_inline_componentStack_2539
10098
10098
  ))
10099
10099
  ) {
10100
- JSCompiler_object_inline_digest_2533 =
10101
- JSCompiler_object_inline_componentStack_2535.nextSibling &&
10102
- JSCompiler_object_inline_componentStack_2535.nextSibling.dataset;
10103
- if (JSCompiler_object_inline_digest_2533) {
10104
- nextPrimaryChildren = JSCompiler_object_inline_digest_2533.dgst;
10105
- var message = JSCompiler_object_inline_digest_2533.msg;
10106
- mode = JSCompiler_object_inline_digest_2533.stck;
10107
- var componentStack = JSCompiler_object_inline_digest_2533.cstck;
10100
+ JSCompiler_object_inline_digest_2537 =
10101
+ JSCompiler_object_inline_componentStack_2539.nextSibling &&
10102
+ JSCompiler_object_inline_componentStack_2539.nextSibling.dataset;
10103
+ if (JSCompiler_object_inline_digest_2537) {
10104
+ nextPrimaryChildren = JSCompiler_object_inline_digest_2537.dgst;
10105
+ var message = JSCompiler_object_inline_digest_2537.msg;
10106
+ mode = JSCompiler_object_inline_digest_2537.stck;
10107
+ var componentStack = JSCompiler_object_inline_digest_2537.cstck;
10108
10108
  }
10109
- JSCompiler_object_inline_message_2532 = message;
10110
- JSCompiler_object_inline_digest_2533 = nextPrimaryChildren;
10111
- JSCompiler_object_inline_stack_2534 = mode;
10112
- JSCompiler_object_inline_componentStack_2535 = componentStack;
10113
- nextPrimaryChildren = JSCompiler_object_inline_message_2532;
10114
- mode = JSCompiler_object_inline_componentStack_2535;
10109
+ JSCompiler_object_inline_message_2536 = message;
10110
+ JSCompiler_object_inline_digest_2537 = nextPrimaryChildren;
10111
+ JSCompiler_object_inline_stack_2538 = mode;
10112
+ JSCompiler_object_inline_componentStack_2539 = componentStack;
10113
+ nextPrimaryChildren = JSCompiler_object_inline_message_2536;
10114
+ mode = JSCompiler_object_inline_componentStack_2539;
10115
10115
  nextPrimaryChildren = nextPrimaryChildren
10116
10116
  ? Error(nextPrimaryChildren)
10117
10117
  : Error(
10118
10118
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
10119
10119
  );
10120
10120
  nextPrimaryChildren.stack =
10121
- JSCompiler_object_inline_stack_2534 || "";
10122
- nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2533;
10123
- JSCompiler_object_inline_digest_2533 =
10121
+ JSCompiler_object_inline_stack_2538 || "";
10122
+ nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2537;
10123
+ JSCompiler_object_inline_digest_2537 =
10124
10124
  void 0 === mode ? null : mode;
10125
- JSCompiler_object_inline_stack_2534 = {
10125
+ JSCompiler_object_inline_stack_2538 = {
10126
10126
  value: nextPrimaryChildren,
10127
10127
  source: null,
10128
- stack: JSCompiler_object_inline_digest_2533
10128
+ stack: JSCompiler_object_inline_digest_2537
10129
10129
  };
10130
- "string" === typeof JSCompiler_object_inline_digest_2533 &&
10130
+ "string" === typeof JSCompiler_object_inline_digest_2537 &&
10131
10131
  CapturedStacks.set(
10132
10132
  nextPrimaryChildren,
10133
- JSCompiler_object_inline_stack_2534
10133
+ JSCompiler_object_inline_stack_2538
10134
10134
  );
10135
- queueHydrationError(JSCompiler_object_inline_stack_2534);
10135
+ queueHydrationError(JSCompiler_object_inline_stack_2538);
10136
10136
  workInProgress = retrySuspenseComponentWithoutHydrating(
10137
10137
  current,
10138
10138
  workInProgress,
@@ -10146,35 +10146,35 @@
10146
10146
  renderLanes,
10147
10147
  !1
10148
10148
  ),
10149
- (JSCompiler_object_inline_digest_2533 =
10149
+ (JSCompiler_object_inline_digest_2537 =
10150
10150
  0 !== (renderLanes & current.childLanes)),
10151
- didReceiveUpdate || JSCompiler_object_inline_digest_2533)
10151
+ didReceiveUpdate || JSCompiler_object_inline_digest_2537)
10152
10152
  ) {
10153
- JSCompiler_object_inline_digest_2533 = workInProgressRoot;
10153
+ JSCompiler_object_inline_digest_2537 = workInProgressRoot;
10154
10154
  if (
10155
- null !== JSCompiler_object_inline_digest_2533 &&
10156
- ((JSCompiler_object_inline_stack_2534 = getBumpedLaneForHydration(
10157
- JSCompiler_object_inline_digest_2533,
10155
+ null !== JSCompiler_object_inline_digest_2537 &&
10156
+ ((JSCompiler_object_inline_stack_2538 = getBumpedLaneForHydration(
10157
+ JSCompiler_object_inline_digest_2537,
10158
10158
  renderLanes
10159
10159
  )),
10160
- 0 !== JSCompiler_object_inline_stack_2534 &&
10161
- JSCompiler_object_inline_stack_2534 !== prevState.retryLane)
10160
+ 0 !== JSCompiler_object_inline_stack_2538 &&
10161
+ JSCompiler_object_inline_stack_2538 !== prevState.retryLane)
10162
10162
  )
10163
10163
  throw (
10164
- ((prevState.retryLane = JSCompiler_object_inline_stack_2534),
10164
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2538),
10165
10165
  enqueueConcurrentRenderForLane(
10166
10166
  current,
10167
- JSCompiler_object_inline_stack_2534
10167
+ JSCompiler_object_inline_stack_2538
10168
10168
  ),
10169
10169
  scheduleUpdateOnFiber(
10170
- JSCompiler_object_inline_digest_2533,
10170
+ JSCompiler_object_inline_digest_2537,
10171
10171
  current,
10172
- JSCompiler_object_inline_stack_2534
10172
+ JSCompiler_object_inline_stack_2538
10173
10173
  ),
10174
10174
  SelectiveHydrationException)
10175
10175
  );
10176
10176
  isSuspenseInstancePending(
10177
- JSCompiler_object_inline_componentStack_2535
10177
+ JSCompiler_object_inline_componentStack_2539
10178
10178
  ) || renderDidSuspendDelayIfPossible();
10179
10179
  workInProgress = retrySuspenseComponentWithoutHydrating(
10180
10180
  current,
@@ -10183,14 +10183,14 @@
10183
10183
  );
10184
10184
  } else
10185
10185
  isSuspenseInstancePending(
10186
- JSCompiler_object_inline_componentStack_2535
10186
+ JSCompiler_object_inline_componentStack_2539
10187
10187
  )
10188
10188
  ? ((workInProgress.flags |= 192),
10189
10189
  (workInProgress.child = current.child),
10190
10190
  (workInProgress = null))
10191
10191
  : ((current = prevState.treeContext),
10192
10192
  (nextHydratableInstance = getNextHydratable(
10193
- JSCompiler_object_inline_componentStack_2535.nextSibling
10193
+ JSCompiler_object_inline_componentStack_2539.nextSibling
10194
10194
  )),
10195
10195
  (hydrationParentFiber = workInProgress),
10196
10196
  (isHydrating = !0),
@@ -10202,32 +10202,32 @@
10202
10202
  restoreSuspendedTreeContext(workInProgress, current),
10203
10203
  (workInProgress = mountSuspensePrimaryChildren(
10204
10204
  workInProgress,
10205
- JSCompiler_object_inline_stack_2534.children
10205
+ JSCompiler_object_inline_stack_2538.children
10206
10206
  )),
10207
10207
  (workInProgress.flags |= 4096));
10208
10208
  return workInProgress;
10209
10209
  }
10210
10210
  }
10211
- if (JSCompiler_object_inline_message_2532)
10211
+ if (JSCompiler_object_inline_message_2536)
10212
10212
  return (
10213
10213
  reuseSuspenseHandlerOnStack(workInProgress),
10214
- (nextPrimaryChildren = JSCompiler_object_inline_stack_2534.fallback),
10214
+ (nextPrimaryChildren = JSCompiler_object_inline_stack_2538.fallback),
10215
10215
  (mode = workInProgress.mode),
10216
10216
  (componentStack = current.child),
10217
- (JSCompiler_object_inline_componentStack_2535 =
10217
+ (JSCompiler_object_inline_componentStack_2539 =
10218
10218
  componentStack.sibling),
10219
- (JSCompiler_object_inline_stack_2534 = createWorkInProgress(
10219
+ (JSCompiler_object_inline_stack_2538 = createWorkInProgress(
10220
10220
  componentStack,
10221
10221
  {
10222
10222
  mode: "hidden",
10223
- children: JSCompiler_object_inline_stack_2534.children
10223
+ children: JSCompiler_object_inline_stack_2538.children
10224
10224
  }
10225
10225
  )),
10226
- (JSCompiler_object_inline_stack_2534.subtreeFlags =
10226
+ (JSCompiler_object_inline_stack_2538.subtreeFlags =
10227
10227
  componentStack.subtreeFlags & 65011712),
10228
- null !== JSCompiler_object_inline_componentStack_2535
10228
+ null !== JSCompiler_object_inline_componentStack_2539
10229
10229
  ? (nextPrimaryChildren = createWorkInProgress(
10230
- JSCompiler_object_inline_componentStack_2535,
10230
+ JSCompiler_object_inline_componentStack_2539,
10231
10231
  nextPrimaryChildren
10232
10232
  ))
10233
10233
  : ((nextPrimaryChildren = createFiberFromFragment(
@@ -10238,11 +10238,11 @@
10238
10238
  )),
10239
10239
  (nextPrimaryChildren.flags |= 2)),
10240
10240
  (nextPrimaryChildren.return = workInProgress),
10241
- (JSCompiler_object_inline_stack_2534.return = workInProgress),
10242
- (JSCompiler_object_inline_stack_2534.sibling = nextPrimaryChildren),
10243
- (workInProgress.child = JSCompiler_object_inline_stack_2534),
10244
- bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2534),
10245
- (JSCompiler_object_inline_stack_2534 = workInProgress.child),
10241
+ (JSCompiler_object_inline_stack_2538.return = workInProgress),
10242
+ (JSCompiler_object_inline_stack_2538.sibling = nextPrimaryChildren),
10243
+ (workInProgress.child = JSCompiler_object_inline_stack_2538),
10244
+ bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2538),
10245
+ (JSCompiler_object_inline_stack_2538 = workInProgress.child),
10246
10246
  (nextPrimaryChildren = current.child.memoizedState),
10247
10247
  null === nextPrimaryChildren
10248
10248
  ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
@@ -10258,18 +10258,18 @@
10258
10258
  baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
10259
10259
  cachePool: mode
10260
10260
  })),
10261
- (JSCompiler_object_inline_stack_2534.memoizedState =
10261
+ (JSCompiler_object_inline_stack_2538.memoizedState =
10262
10262
  nextPrimaryChildren),
10263
- (JSCompiler_object_inline_stack_2534.childLanes =
10263
+ (JSCompiler_object_inline_stack_2538.childLanes =
10264
10264
  getRemainingWorkInPrimaryTree(
10265
10265
  current,
10266
- JSCompiler_object_inline_digest_2533,
10266
+ JSCompiler_object_inline_digest_2537,
10267
10267
  renderLanes
10268
10268
  )),
10269
10269
  (workInProgress.memoizedState = SUSPENDED_MARKER),
10270
10270
  bailoutOffscreenComponent(
10271
10271
  current.child,
10272
- JSCompiler_object_inline_stack_2534
10272
+ JSCompiler_object_inline_stack_2538
10273
10273
  )
10274
10274
  );
10275
10275
  pushPrimaryTreeSuspenseHandler(workInProgress);
@@ -10277,16 +10277,16 @@
10277
10277
  current = renderLanes.sibling;
10278
10278
  renderLanes = createWorkInProgress(renderLanes, {
10279
10279
  mode: "visible",
10280
- children: JSCompiler_object_inline_stack_2534.children
10280
+ children: JSCompiler_object_inline_stack_2538.children
10281
10281
  });
10282
10282
  renderLanes.return = workInProgress;
10283
10283
  renderLanes.sibling = null;
10284
10284
  null !== current &&
10285
- ((JSCompiler_object_inline_digest_2533 = workInProgress.deletions),
10286
- null === JSCompiler_object_inline_digest_2533
10285
+ ((JSCompiler_object_inline_digest_2537 = workInProgress.deletions),
10286
+ null === JSCompiler_object_inline_digest_2537
10287
10287
  ? ((workInProgress.deletions = [current]),
10288
10288
  (workInProgress.flags |= 16))
10289
- : JSCompiler_object_inline_digest_2533.push(current));
10289
+ : JSCompiler_object_inline_digest_2537.push(current));
10290
10290
  workInProgress.child = renderLanes;
10291
10291
  workInProgress.memoizedState = null;
10292
10292
  return renderLanes;
@@ -14694,26 +14694,47 @@
14694
14694
  parentFiber = parentFiber.sibling;
14695
14695
  }
14696
14696
  }
14697
- function recursivelyAccumulateSuspenseyCommit(parentFiber) {
14697
+ function recursivelyAccumulateSuspenseyCommit(
14698
+ parentFiber,
14699
+ committedLanes,
14700
+ suspendedState
14701
+ ) {
14698
14702
  if (parentFiber.subtreeFlags & suspenseyCommitFlag)
14699
14703
  for (parentFiber = parentFiber.child; null !== parentFiber; )
14700
- accumulateSuspenseyCommitOnFiber(parentFiber),
14704
+ accumulateSuspenseyCommitOnFiber(
14705
+ parentFiber,
14706
+ committedLanes,
14707
+ suspendedState
14708
+ ),
14701
14709
  (parentFiber = parentFiber.sibling);
14702
14710
  }
14703
- function accumulateSuspenseyCommitOnFiber(fiber) {
14711
+ function accumulateSuspenseyCommitOnFiber(
14712
+ fiber,
14713
+ committedLanes,
14714
+ suspendedState
14715
+ ) {
14704
14716
  switch (fiber.tag) {
14705
14717
  case 26:
14706
- recursivelyAccumulateSuspenseyCommit(fiber);
14718
+ recursivelyAccumulateSuspenseyCommit(
14719
+ fiber,
14720
+ committedLanes,
14721
+ suspendedState
14722
+ );
14707
14723
  fiber.flags & suspenseyCommitFlag &&
14708
14724
  null !== fiber.memoizedState &&
14709
14725
  suspendResource(
14726
+ suspendedState,
14710
14727
  currentHoistableRoot,
14711
14728
  fiber.memoizedState,
14712
14729
  fiber.memoizedProps
14713
14730
  );
14714
14731
  break;
14715
14732
  case 5:
14716
- recursivelyAccumulateSuspenseyCommit(fiber);
14733
+ recursivelyAccumulateSuspenseyCommit(
14734
+ fiber,
14735
+ committedLanes,
14736
+ suspendedState
14737
+ );
14717
14738
  break;
14718
14739
  case 3:
14719
14740
  case 4:
@@ -14721,7 +14742,11 @@
14721
14742
  currentHoistableRoot = getHoistableRoot(
14722
14743
  fiber.stateNode.containerInfo
14723
14744
  );
14724
- recursivelyAccumulateSuspenseyCommit(fiber);
14745
+ recursivelyAccumulateSuspenseyCommit(
14746
+ fiber,
14747
+ committedLanes,
14748
+ suspendedState
14749
+ );
14725
14750
  currentHoistableRoot = previousHoistableRoot;
14726
14751
  break;
14727
14752
  case 22:
@@ -14731,12 +14756,24 @@
14731
14756
  null !== previousHoistableRoot.memoizedState
14732
14757
  ? ((previousHoistableRoot = suspenseyCommitFlag),
14733
14758
  (suspenseyCommitFlag = 16777216),
14734
- recursivelyAccumulateSuspenseyCommit(fiber),
14759
+ recursivelyAccumulateSuspenseyCommit(
14760
+ fiber,
14761
+ committedLanes,
14762
+ suspendedState
14763
+ ),
14735
14764
  (suspenseyCommitFlag = previousHoistableRoot))
14736
- : recursivelyAccumulateSuspenseyCommit(fiber));
14765
+ : recursivelyAccumulateSuspenseyCommit(
14766
+ fiber,
14767
+ committedLanes,
14768
+ suspendedState
14769
+ ));
14737
14770
  break;
14738
14771
  default:
14739
- recursivelyAccumulateSuspenseyCommit(fiber);
14772
+ recursivelyAccumulateSuspenseyCommit(
14773
+ fiber,
14774
+ committedLanes,
14775
+ suspendedState
14776
+ );
14740
14777
  }
14741
14778
  }
14742
14779
  function detachAlternateSiblings(parentFiber) {
@@ -15227,18 +15264,33 @@
15227
15264
  if (
15228
15265
  suspendedCommitReason & 8192 ||
15229
15266
  16785408 === (suspendedCommitReason & 16785408)
15230
- )
15231
- if (
15232
- ((suspendedState = {
15233
- stylesheets: null,
15234
- count: 0,
15235
- unsuspend: noop$1
15236
- }),
15237
- accumulateSuspenseyCommitOnFiber(finishedWork),
15238
- (suspendedCommitReason = waitForCommitToBeReady()),
15239
- null !== suspendedCommitReason)
15240
- ) {
15241
- root.cancelPendingCommit = suspendedCommitReason(
15267
+ ) {
15268
+ suspendedCommitReason = {
15269
+ stylesheets: null,
15270
+ count: 0,
15271
+ imgCount: 0,
15272
+ imgBytes: 0,
15273
+ suspenseyImages: [],
15274
+ waitingForImages: !0,
15275
+ unsuspend: noop$1
15276
+ };
15277
+ accumulateSuspenseyCommitOnFiber(
15278
+ finishedWork,
15279
+ lanes,
15280
+ suspendedCommitReason
15281
+ );
15282
+ var timeoutOffset =
15283
+ (lanes & 62914560) === lanes
15284
+ ? globalMostRecentFallbackTime - now$1()
15285
+ : (lanes & 4194048) === lanes
15286
+ ? globalMostRecentTransitionTime - now$1()
15287
+ : 0;
15288
+ timeoutOffset = waitForCommitToBeReady(
15289
+ suspendedCommitReason,
15290
+ timeoutOffset
15291
+ );
15292
+ if (null !== timeoutOffset) {
15293
+ root.cancelPendingCommit = timeoutOffset(
15242
15294
  commitRoot.bind(
15243
15295
  null,
15244
15296
  root,
@@ -15251,6 +15303,7 @@
15251
15303
  updatedLanes,
15252
15304
  suspendedRetryLanes,
15253
15305
  exitStatus,
15306
+ suspendedCommitReason,
15254
15307
  SUSPENDED_COMMIT,
15255
15308
  completedRenderStartTime,
15256
15309
  completedRenderEndTime
@@ -15264,6 +15317,7 @@
15264
15317
  );
15265
15318
  return;
15266
15319
  }
15320
+ }
15267
15321
  commitRoot(
15268
15322
  root,
15269
15323
  finishedWork,
@@ -19917,6 +19971,71 @@
19917
19971
  );
19918
19972
  }
19919
19973
  }
19974
+ function isLikelyStaticResource(initiatorType) {
19975
+ switch (initiatorType) {
19976
+ case "css":
19977
+ case "script":
19978
+ case "font":
19979
+ case "img":
19980
+ case "image":
19981
+ case "input":
19982
+ case "link":
19983
+ return !0;
19984
+ default:
19985
+ return !1;
19986
+ }
19987
+ }
19988
+ function estimateBandwidth() {
19989
+ if ("function" === typeof performance.getEntriesByType) {
19990
+ for (
19991
+ var count = 0,
19992
+ bits = 0,
19993
+ resourceEntries = performance.getEntriesByType("resource"),
19994
+ i = 0;
19995
+ i < resourceEntries.length;
19996
+ i++
19997
+ ) {
19998
+ var entry = resourceEntries[i],
19999
+ transferSize = entry.transferSize,
20000
+ initiatorType = entry.initiatorType,
20001
+ duration = entry.duration;
20002
+ if (
20003
+ transferSize &&
20004
+ duration &&
20005
+ isLikelyStaticResource(initiatorType)
20006
+ ) {
20007
+ initiatorType = 0;
20008
+ duration = entry.responseEnd;
20009
+ for (i += 1; i < resourceEntries.length; i++) {
20010
+ var overlapEntry = resourceEntries[i],
20011
+ overlapStartTime = overlapEntry.startTime;
20012
+ if (overlapStartTime > duration) break;
20013
+ var overlapTransferSize = overlapEntry.transferSize,
20014
+ overlapInitiatorType = overlapEntry.initiatorType;
20015
+ overlapTransferSize &&
20016
+ isLikelyStaticResource(overlapInitiatorType) &&
20017
+ ((overlapEntry = overlapEntry.responseEnd),
20018
+ (initiatorType +=
20019
+ overlapTransferSize *
20020
+ (overlapEntry < duration
20021
+ ? 1
20022
+ : (duration - overlapStartTime) /
20023
+ (overlapEntry - overlapStartTime))));
20024
+ }
20025
+ --i;
20026
+ bits +=
20027
+ (8 * (transferSize + initiatorType)) / (entry.duration / 1e3);
20028
+ count++;
20029
+ if (10 < count) break;
20030
+ }
20031
+ }
20032
+ if (0 < count) return bits / count / 1e6;
20033
+ }
20034
+ return navigator.connection &&
20035
+ ((count = navigator.connection.downlink), "number" === typeof count)
20036
+ ? count
20037
+ : 5;
20038
+ }
19920
20039
  function getOwnerDocumentFromRootContainer(rootContainerElement) {
19921
20040
  return 9 === rootContainerElement.nodeType
19922
20041
  ? rootContainerElement
@@ -21033,12 +21152,7 @@
21033
21152
  ? !1
21034
21153
  : !0;
21035
21154
  }
21036
- function suspendResource(hoistableRoot, resource, props) {
21037
- if (null === suspendedState)
21038
- throw Error(
21039
- "Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug."
21040
- );
21041
- var state = suspendedState;
21155
+ function suspendResource(state, hoistableRoot, resource, props) {
21042
21156
  if (
21043
21157
  "stylesheet" === resource.type &&
21044
21158
  ("string" !== typeof props.media ||
@@ -21087,16 +21201,11 @@
21087
21201
  hoistableRoot.addEventListener("error", resource));
21088
21202
  }
21089
21203
  }
21090
- function waitForCommitToBeReady() {
21091
- if (null === suspendedState)
21092
- throw Error(
21093
- "Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug."
21094
- );
21095
- var state = suspendedState;
21204
+ function waitForCommitToBeReady(state, timeoutOffset) {
21096
21205
  state.stylesheets &&
21097
21206
  0 === state.count &&
21098
21207
  insertSuspendedStylesheets(state, state.stylesheets);
21099
- return 0 < state.count
21208
+ return 0 < state.count || 0 < state.imgCount
21100
21209
  ? function (commit) {
21101
21210
  var stylesheetTimer = setTimeout(function () {
21102
21211
  state.stylesheets &&
@@ -21106,18 +21215,41 @@
21106
21215
  state.unsuspend = null;
21107
21216
  unsuspend();
21108
21217
  }
21109
- }, 6e4);
21218
+ }, SUSPENSEY_STYLESHEET_TIMEOUT + timeoutOffset);
21219
+ 0 < state.imgBytes &&
21220
+ 0 === estimatedBytesWithinLimit &&
21221
+ (estimatedBytesWithinLimit =
21222
+ 125 * estimateBandwidth() * SUSPENSEY_IMAGE_TIME_ESTIMATE);
21223
+ var imgTimer = setTimeout(
21224
+ function () {
21225
+ state.waitingForImages = !1;
21226
+ if (
21227
+ 0 === state.count &&
21228
+ (state.stylesheets &&
21229
+ insertSuspendedStylesheets(state, state.stylesheets),
21230
+ state.unsuspend)
21231
+ ) {
21232
+ var unsuspend = state.unsuspend;
21233
+ state.unsuspend = null;
21234
+ unsuspend();
21235
+ }
21236
+ },
21237
+ (state.imgBytes > estimatedBytesWithinLimit
21238
+ ? 50
21239
+ : SUSPENSEY_IMAGE_TIMEOUT) + timeoutOffset
21240
+ );
21110
21241
  state.unsuspend = commit;
21111
21242
  return function () {
21112
21243
  state.unsuspend = null;
21113
21244
  clearTimeout(stylesheetTimer);
21245
+ clearTimeout(imgTimer);
21114
21246
  };
21115
21247
  }
21116
21248
  : null;
21117
21249
  }
21118
21250
  function onUnsuspend() {
21119
21251
  this.count--;
21120
- if (0 === this.count)
21252
+ if (0 === this.count && (0 === this.imgCount || !this.waitingForImages))
21121
21253
  if (this.stylesheets)
21122
21254
  insertSuspendedStylesheets(this, this.stylesheets);
21123
21255
  else if (this.unsuspend) {
@@ -23428,6 +23560,7 @@
23428
23560
  currentEntangledActionThenable = null,
23429
23561
  prevOnStartTransitionFinish = ReactSharedInternals.S;
23430
23562
  ReactSharedInternals.S = function (transition, returnValue) {
23563
+ globalMostRecentTransitionTime = now$1();
23431
23564
  "object" === typeof returnValue &&
23432
23565
  null !== returnValue &&
23433
23566
  "function" === typeof returnValue.then &&
@@ -25039,6 +25172,7 @@
25039
25172
  workInProgressRootRecoverableErrors = null,
25040
25173
  workInProgressRootDidIncludeRecursiveRenderUpdate = !1,
25041
25174
  globalMostRecentFallbackTime = 0,
25175
+ globalMostRecentTransitionTime = 0,
25042
25176
  FALLBACK_THROTTLE_MS = 300,
25043
25177
  workInProgressRootRenderTargetTime = Infinity,
25044
25178
  RENDER_TIMEOUT_MS = 500,
@@ -25446,7 +25580,10 @@
25446
25580
  };
25447
25581
  var globalDocument = "undefined" === typeof document ? null : document,
25448
25582
  tagCaches = null,
25449
- suspendedState = null,
25583
+ SUSPENSEY_STYLESHEET_TIMEOUT = 6e4,
25584
+ SUSPENSEY_IMAGE_TIMEOUT = 800,
25585
+ SUSPENSEY_IMAGE_TIME_ESTIMATE = 500,
25586
+ estimatedBytesWithinLimit = 0,
25450
25587
  LAST_PRECEDENCE = null,
25451
25588
  precedencesByRoot = null,
25452
25589
  NotPendingTransition = NotPending,
@@ -25611,11 +25748,11 @@
25611
25748
  };
25612
25749
  (function () {
25613
25750
  var isomorphicReactPackageVersion = React.version;
25614
- if ("19.2.0-canary-67a44bcd-20250915" !== isomorphicReactPackageVersion)
25751
+ if ("19.2.0-canary-128abcfa-20250917" !== isomorphicReactPackageVersion)
25615
25752
  throw Error(
25616
25753
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25617
25754
  (isomorphicReactPackageVersion +
25618
- "\n - react-dom: 19.2.0-canary-67a44bcd-20250915\nLearn more: https://react.dev/warnings/version-mismatch")
25755
+ "\n - react-dom: 19.2.0-canary-128abcfa-20250917\nLearn more: https://react.dev/warnings/version-mismatch")
25619
25756
  );
25620
25757
  })();
25621
25758
  ("function" === typeof Map &&
@@ -25652,10 +25789,10 @@
25652
25789
  !(function () {
25653
25790
  var internals = {
25654
25791
  bundleType: 1,
25655
- version: "19.2.0-canary-67a44bcd-20250915",
25792
+ version: "19.2.0-canary-128abcfa-20250917",
25656
25793
  rendererPackageName: "react-dom",
25657
25794
  currentDispatcherRef: ReactSharedInternals,
25658
- reconcilerVersion: "19.2.0-canary-67a44bcd-20250915"
25795
+ reconcilerVersion: "19.2.0-canary-128abcfa-20250917"
25659
25796
  };
25660
25797
  internals.overrideHookState = overrideHookState;
25661
25798
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25793,7 +25930,7 @@
25793
25930
  listenToAllSupportedEvents(container);
25794
25931
  return new ReactDOMHydrationRoot(initialChildren);
25795
25932
  };
25796
- exports.version = "19.2.0-canary-67a44bcd-20250915";
25933
+ exports.version = "19.2.0-canary-128abcfa-20250917";
25797
25934
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25798
25935
  "function" ===
25799
25936
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&