react-dom 19.3.0-canary-67f7d47a-20251103 → 19.3.0-canary-dd048c3b-20251105

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.
@@ -7817,6 +7817,19 @@
7817
7817
  shellBoundary === fiber && (shellBoundary = null);
7818
7818
  pop(suspenseStackCursor, fiber);
7819
7819
  }
7820
+ function pushSuspenseListContext(fiber, newContext) {
7821
+ push(
7822
+ suspenseHandlerStackCursor,
7823
+ suspenseHandlerStackCursor.current,
7824
+ fiber
7825
+ );
7826
+ push(suspenseStackCursor, newContext, fiber);
7827
+ }
7828
+ function popSuspenseListContext(fiber) {
7829
+ pop(suspenseStackCursor, fiber);
7830
+ pop(suspenseHandlerStackCursor, fiber);
7831
+ shellBoundary === fiber && (shellBoundary = null);
7832
+ }
7820
7833
  function findFirstSuspended(row) {
7821
7834
  for (var node = row; null !== node; ) {
7822
7835
  if (13 === node.tag) {
@@ -9857,6 +9870,7 @@
9857
9870
  switch (sourceFiber.tag) {
9858
9871
  case 31:
9859
9872
  case 13:
9873
+ case 19:
9860
9874
  return (
9861
9875
  null === shellBoundary
9862
9876
  ? renderDidSuspendDelayIfPossible()
@@ -9911,7 +9925,11 @@
9911
9925
  (didSuspendOrErrorDEV = !0),
9912
9926
  (returnFiber = suspenseHandlerStackCursor.current),
9913
9927
  null !== returnFiber
9914
- ? (0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256),
9928
+ ? (19 === returnFiber.tag &&
9929
+ console.error(
9930
+ "SuspenseList should never catch while hydrating. This is a bug in React."
9931
+ ),
9932
+ 0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256),
9915
9933
  (returnFiber.flags |= 65536),
9916
9934
  (returnFiber.lanes = rootRenderLanes),
9917
9935
  value !== HydrationMismatchException &&
@@ -11129,24 +11147,24 @@
11129
11147
  return current;
11130
11148
  }
11131
11149
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
11132
- var JSCompiler_object_inline_digest_2977;
11133
- var JSCompiler_object_inline_stack_2978 = workInProgress.pendingProps;
11150
+ var JSCompiler_object_inline_digest_2955;
11151
+ var JSCompiler_object_inline_stack_2956 = workInProgress.pendingProps;
11134
11152
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
11135
- var JSCompiler_object_inline_message_2976 = !1;
11153
+ var JSCompiler_object_inline_message_2954 = !1;
11136
11154
  var didSuspend = 0 !== (workInProgress.flags & 128);
11137
- (JSCompiler_object_inline_digest_2977 = didSuspend) ||
11138
- (JSCompiler_object_inline_digest_2977 =
11155
+ (JSCompiler_object_inline_digest_2955 = didSuspend) ||
11156
+ (JSCompiler_object_inline_digest_2955 =
11139
11157
  null !== current && null === current.memoizedState
11140
11158
  ? !1
11141
11159
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
11142
- JSCompiler_object_inline_digest_2977 &&
11143
- ((JSCompiler_object_inline_message_2976 = !0),
11160
+ JSCompiler_object_inline_digest_2955 &&
11161
+ ((JSCompiler_object_inline_message_2954 = !0),
11144
11162
  (workInProgress.flags &= -129));
11145
- JSCompiler_object_inline_digest_2977 = 0 !== (workInProgress.flags & 32);
11163
+ JSCompiler_object_inline_digest_2955 = 0 !== (workInProgress.flags & 32);
11146
11164
  workInProgress.flags &= -33;
11147
11165
  if (null === current) {
11148
11166
  if (isHydrating) {
11149
- JSCompiler_object_inline_message_2976
11167
+ JSCompiler_object_inline_message_2954
11150
11168
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
11151
11169
  : reuseSuspenseHandlerOnStack(workInProgress);
11152
11170
  (current = nextHydratableInstance)
@@ -11159,18 +11177,18 @@
11159
11177
  ? renderLanes
11160
11178
  : null),
11161
11179
  null !== renderLanes &&
11162
- ((JSCompiler_object_inline_digest_2977 = {
11180
+ ((JSCompiler_object_inline_digest_2955 = {
11163
11181
  dehydrated: renderLanes,
11164
11182
  treeContext: getSuspendedTreeContext(),
11165
11183
  retryLane: 536870912,
11166
11184
  hydrationErrors: null
11167
11185
  }),
11168
11186
  (workInProgress.memoizedState =
11169
- JSCompiler_object_inline_digest_2977),
11170
- (JSCompiler_object_inline_digest_2977 =
11187
+ JSCompiler_object_inline_digest_2955),
11188
+ (JSCompiler_object_inline_digest_2955 =
11171
11189
  createFiberFromDehydratedFragment(renderLanes)),
11172
- (JSCompiler_object_inline_digest_2977.return = workInProgress),
11173
- (workInProgress.child = JSCompiler_object_inline_digest_2977),
11190
+ (JSCompiler_object_inline_digest_2955.return = workInProgress),
11191
+ (workInProgress.child = JSCompiler_object_inline_digest_2955),
11174
11192
  (hydrationParentFiber = workInProgress),
11175
11193
  (nextHydratableInstance = null)))
11176
11194
  : (renderLanes = null);
@@ -11184,39 +11202,39 @@
11184
11202
  : (workInProgress.lanes = 536870912);
11185
11203
  return null;
11186
11204
  }
11187
- var nextPrimaryChildren = JSCompiler_object_inline_stack_2978.children;
11188
- JSCompiler_object_inline_stack_2978 =
11189
- JSCompiler_object_inline_stack_2978.fallback;
11190
- if (JSCompiler_object_inline_message_2976) {
11205
+ var nextPrimaryChildren = JSCompiler_object_inline_stack_2956.children;
11206
+ JSCompiler_object_inline_stack_2956 =
11207
+ JSCompiler_object_inline_stack_2956.fallback;
11208
+ if (JSCompiler_object_inline_message_2954) {
11191
11209
  reuseSuspenseHandlerOnStack(workInProgress);
11192
11210
  var mode = workInProgress.mode;
11193
11211
  nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
11194
11212
  { mode: "hidden", children: nextPrimaryChildren },
11195
11213
  mode
11196
11214
  );
11197
- JSCompiler_object_inline_stack_2978 = createFiberFromFragment(
11198
- JSCompiler_object_inline_stack_2978,
11215
+ JSCompiler_object_inline_stack_2956 = createFiberFromFragment(
11216
+ JSCompiler_object_inline_stack_2956,
11199
11217
  mode,
11200
11218
  renderLanes,
11201
11219
  null
11202
11220
  );
11203
11221
  nextPrimaryChildren.return = workInProgress;
11204
- JSCompiler_object_inline_stack_2978.return = workInProgress;
11205
- nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2978;
11222
+ JSCompiler_object_inline_stack_2956.return = workInProgress;
11223
+ nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2956;
11206
11224
  workInProgress.child = nextPrimaryChildren;
11207
- JSCompiler_object_inline_stack_2978 = workInProgress.child;
11208
- JSCompiler_object_inline_stack_2978.memoizedState =
11225
+ JSCompiler_object_inline_stack_2956 = workInProgress.child;
11226
+ JSCompiler_object_inline_stack_2956.memoizedState =
11209
11227
  mountSuspenseOffscreenState(renderLanes);
11210
- JSCompiler_object_inline_stack_2978.childLanes =
11228
+ JSCompiler_object_inline_stack_2956.childLanes =
11211
11229
  getRemainingWorkInPrimaryTree(
11212
11230
  current,
11213
- JSCompiler_object_inline_digest_2977,
11231
+ JSCompiler_object_inline_digest_2955,
11214
11232
  renderLanes
11215
11233
  );
11216
11234
  workInProgress.memoizedState = SUSPENDED_MARKER;
11217
11235
  return bailoutOffscreenComponent(
11218
11236
  null,
11219
- JSCompiler_object_inline_stack_2978
11237
+ JSCompiler_object_inline_stack_2956
11220
11238
  );
11221
11239
  }
11222
11240
  pushPrimaryTreeSuspenseHandler(workInProgress);
@@ -11227,8 +11245,8 @@
11227
11245
  }
11228
11246
  var prevState = current.memoizedState;
11229
11247
  if (null !== prevState) {
11230
- var JSCompiler_object_inline_componentStack_2979 = prevState.dehydrated;
11231
- if (null !== JSCompiler_object_inline_componentStack_2979) {
11248
+ var JSCompiler_object_inline_componentStack_2957 = prevState.dehydrated;
11249
+ if (null !== JSCompiler_object_inline_componentStack_2957) {
11232
11250
  if (didSuspend)
11233
11251
  workInProgress.flags & 256
11234
11252
  ? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -11245,13 +11263,13 @@
11245
11263
  (workInProgress = null))
11246
11264
  : (reuseSuspenseHandlerOnStack(workInProgress),
11247
11265
  (nextPrimaryChildren =
11248
- JSCompiler_object_inline_stack_2978.fallback),
11266
+ JSCompiler_object_inline_stack_2956.fallback),
11249
11267
  (mode = workInProgress.mode),
11250
- (JSCompiler_object_inline_stack_2978 =
11268
+ (JSCompiler_object_inline_stack_2956 =
11251
11269
  mountWorkInProgressOffscreenFiber(
11252
11270
  {
11253
11271
  mode: "visible",
11254
- children: JSCompiler_object_inline_stack_2978.children
11272
+ children: JSCompiler_object_inline_stack_2956.children
11255
11273
  },
11256
11274
  mode
11257
11275
  )),
@@ -11262,30 +11280,30 @@
11262
11280
  null
11263
11281
  )),
11264
11282
  (nextPrimaryChildren.flags |= 2),
11265
- (JSCompiler_object_inline_stack_2978.return = workInProgress),
11283
+ (JSCompiler_object_inline_stack_2956.return = workInProgress),
11266
11284
  (nextPrimaryChildren.return = workInProgress),
11267
- (JSCompiler_object_inline_stack_2978.sibling =
11285
+ (JSCompiler_object_inline_stack_2956.sibling =
11268
11286
  nextPrimaryChildren),
11269
- (workInProgress.child = JSCompiler_object_inline_stack_2978),
11287
+ (workInProgress.child = JSCompiler_object_inline_stack_2956),
11270
11288
  reconcileChildFibers(
11271
11289
  workInProgress,
11272
11290
  current.child,
11273
11291
  null,
11274
11292
  renderLanes
11275
11293
  ),
11276
- (JSCompiler_object_inline_stack_2978 = workInProgress.child),
11277
- (JSCompiler_object_inline_stack_2978.memoizedState =
11294
+ (JSCompiler_object_inline_stack_2956 = workInProgress.child),
11295
+ (JSCompiler_object_inline_stack_2956.memoizedState =
11278
11296
  mountSuspenseOffscreenState(renderLanes)),
11279
- (JSCompiler_object_inline_stack_2978.childLanes =
11297
+ (JSCompiler_object_inline_stack_2956.childLanes =
11280
11298
  getRemainingWorkInPrimaryTree(
11281
11299
  current,
11282
- JSCompiler_object_inline_digest_2977,
11300
+ JSCompiler_object_inline_digest_2955,
11283
11301
  renderLanes
11284
11302
  )),
11285
11303
  (workInProgress.memoizedState = SUSPENDED_MARKER),
11286
11304
  (workInProgress = bailoutOffscreenComponent(
11287
11305
  null,
11288
- JSCompiler_object_inline_stack_2978
11306
+ JSCompiler_object_inline_stack_2956
11289
11307
  )));
11290
11308
  else if (
11291
11309
  (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -11293,45 +11311,45 @@
11293
11311
  0 !== (renderLanes & 536870912) &&
11294
11312
  markRenderDerivedCause(workInProgress),
11295
11313
  isSuspenseInstanceFallback(
11296
- JSCompiler_object_inline_componentStack_2979
11314
+ JSCompiler_object_inline_componentStack_2957
11297
11315
  ))
11298
11316
  ) {
11299
- JSCompiler_object_inline_digest_2977 =
11300
- JSCompiler_object_inline_componentStack_2979.nextSibling &&
11301
- JSCompiler_object_inline_componentStack_2979.nextSibling.dataset;
11302
- if (JSCompiler_object_inline_digest_2977) {
11303
- nextPrimaryChildren = JSCompiler_object_inline_digest_2977.dgst;
11304
- var message = JSCompiler_object_inline_digest_2977.msg;
11305
- mode = JSCompiler_object_inline_digest_2977.stck;
11306
- var componentStack = JSCompiler_object_inline_digest_2977.cstck;
11317
+ JSCompiler_object_inline_digest_2955 =
11318
+ JSCompiler_object_inline_componentStack_2957.nextSibling &&
11319
+ JSCompiler_object_inline_componentStack_2957.nextSibling.dataset;
11320
+ if (JSCompiler_object_inline_digest_2955) {
11321
+ nextPrimaryChildren = JSCompiler_object_inline_digest_2955.dgst;
11322
+ var message = JSCompiler_object_inline_digest_2955.msg;
11323
+ mode = JSCompiler_object_inline_digest_2955.stck;
11324
+ var componentStack = JSCompiler_object_inline_digest_2955.cstck;
11307
11325
  }
11308
- JSCompiler_object_inline_message_2976 = message;
11309
- JSCompiler_object_inline_digest_2977 = nextPrimaryChildren;
11310
- JSCompiler_object_inline_stack_2978 = mode;
11311
- JSCompiler_object_inline_componentStack_2979 = componentStack;
11312
- nextPrimaryChildren = JSCompiler_object_inline_message_2976;
11313
- mode = JSCompiler_object_inline_componentStack_2979;
11326
+ JSCompiler_object_inline_message_2954 = message;
11327
+ JSCompiler_object_inline_digest_2955 = nextPrimaryChildren;
11328
+ JSCompiler_object_inline_stack_2956 = mode;
11329
+ JSCompiler_object_inline_componentStack_2957 = componentStack;
11330
+ nextPrimaryChildren = JSCompiler_object_inline_message_2954;
11331
+ mode = JSCompiler_object_inline_componentStack_2957;
11314
11332
  nextPrimaryChildren = nextPrimaryChildren
11315
11333
  ? Error(nextPrimaryChildren)
11316
11334
  : Error(
11317
11335
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
11318
11336
  );
11319
11337
  nextPrimaryChildren.stack =
11320
- JSCompiler_object_inline_stack_2978 || "";
11321
- nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2977;
11322
- JSCompiler_object_inline_digest_2977 =
11338
+ JSCompiler_object_inline_stack_2956 || "";
11339
+ nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2955;
11340
+ JSCompiler_object_inline_digest_2955 =
11323
11341
  void 0 === mode ? null : mode;
11324
- JSCompiler_object_inline_stack_2978 = {
11342
+ JSCompiler_object_inline_stack_2956 = {
11325
11343
  value: nextPrimaryChildren,
11326
11344
  source: null,
11327
- stack: JSCompiler_object_inline_digest_2977
11345
+ stack: JSCompiler_object_inline_digest_2955
11328
11346
  };
11329
- "string" === typeof JSCompiler_object_inline_digest_2977 &&
11347
+ "string" === typeof JSCompiler_object_inline_digest_2955 &&
11330
11348
  CapturedStacks.set(
11331
11349
  nextPrimaryChildren,
11332
- JSCompiler_object_inline_stack_2978
11350
+ JSCompiler_object_inline_stack_2956
11333
11351
  );
11334
- queueHydrationError(JSCompiler_object_inline_stack_2978);
11352
+ queueHydrationError(JSCompiler_object_inline_stack_2956);
11335
11353
  workInProgress = retrySuspenseComponentWithoutHydrating(
11336
11354
  current,
11337
11355
  workInProgress,
@@ -11345,35 +11363,35 @@
11345
11363
  renderLanes,
11346
11364
  !1
11347
11365
  ),
11348
- (JSCompiler_object_inline_digest_2977 =
11366
+ (JSCompiler_object_inline_digest_2955 =
11349
11367
  0 !== (renderLanes & current.childLanes)),
11350
- didReceiveUpdate || JSCompiler_object_inline_digest_2977)
11368
+ didReceiveUpdate || JSCompiler_object_inline_digest_2955)
11351
11369
  ) {
11352
- JSCompiler_object_inline_digest_2977 = workInProgressRoot;
11370
+ JSCompiler_object_inline_digest_2955 = workInProgressRoot;
11353
11371
  if (
11354
- null !== JSCompiler_object_inline_digest_2977 &&
11355
- ((JSCompiler_object_inline_stack_2978 = getBumpedLaneForHydration(
11356
- JSCompiler_object_inline_digest_2977,
11372
+ null !== JSCompiler_object_inline_digest_2955 &&
11373
+ ((JSCompiler_object_inline_stack_2956 = getBumpedLaneForHydration(
11374
+ JSCompiler_object_inline_digest_2955,
11357
11375
  renderLanes
11358
11376
  )),
11359
- 0 !== JSCompiler_object_inline_stack_2978 &&
11360
- JSCompiler_object_inline_stack_2978 !== prevState.retryLane)
11377
+ 0 !== JSCompiler_object_inline_stack_2956 &&
11378
+ JSCompiler_object_inline_stack_2956 !== prevState.retryLane)
11361
11379
  )
11362
11380
  throw (
11363
- ((prevState.retryLane = JSCompiler_object_inline_stack_2978),
11381
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2956),
11364
11382
  enqueueConcurrentRenderForLane(
11365
11383
  current,
11366
- JSCompiler_object_inline_stack_2978
11384
+ JSCompiler_object_inline_stack_2956
11367
11385
  ),
11368
11386
  scheduleUpdateOnFiber(
11369
- JSCompiler_object_inline_digest_2977,
11387
+ JSCompiler_object_inline_digest_2955,
11370
11388
  current,
11371
- JSCompiler_object_inline_stack_2978
11389
+ JSCompiler_object_inline_stack_2956
11372
11390
  ),
11373
11391
  SelectiveHydrationException)
11374
11392
  );
11375
11393
  isSuspenseInstancePending(
11376
- JSCompiler_object_inline_componentStack_2979
11394
+ JSCompiler_object_inline_componentStack_2957
11377
11395
  ) || renderDidSuspendDelayIfPossible();
11378
11396
  workInProgress = retrySuspenseComponentWithoutHydrating(
11379
11397
  current,
@@ -11382,14 +11400,14 @@
11382
11400
  );
11383
11401
  } else
11384
11402
  isSuspenseInstancePending(
11385
- JSCompiler_object_inline_componentStack_2979
11403
+ JSCompiler_object_inline_componentStack_2957
11386
11404
  )
11387
11405
  ? ((workInProgress.flags |= 192),
11388
11406
  (workInProgress.child = current.child),
11389
11407
  (workInProgress = null))
11390
11408
  : ((current = prevState.treeContext),
11391
11409
  (nextHydratableInstance = getNextHydratable(
11392
- JSCompiler_object_inline_componentStack_2979.nextSibling
11410
+ JSCompiler_object_inline_componentStack_2957.nextSibling
11393
11411
  )),
11394
11412
  (hydrationParentFiber = workInProgress),
11395
11413
  (isHydrating = !0),
@@ -11401,32 +11419,32 @@
11401
11419
  restoreSuspendedTreeContext(workInProgress, current),
11402
11420
  (workInProgress = mountSuspensePrimaryChildren(
11403
11421
  workInProgress,
11404
- JSCompiler_object_inline_stack_2978.children
11422
+ JSCompiler_object_inline_stack_2956.children
11405
11423
  )),
11406
11424
  (workInProgress.flags |= 4096));
11407
11425
  return workInProgress;
11408
11426
  }
11409
11427
  }
11410
- if (JSCompiler_object_inline_message_2976)
11428
+ if (JSCompiler_object_inline_message_2954)
11411
11429
  return (
11412
11430
  reuseSuspenseHandlerOnStack(workInProgress),
11413
- (nextPrimaryChildren = JSCompiler_object_inline_stack_2978.fallback),
11431
+ (nextPrimaryChildren = JSCompiler_object_inline_stack_2956.fallback),
11414
11432
  (mode = workInProgress.mode),
11415
11433
  (componentStack = current.child),
11416
- (JSCompiler_object_inline_componentStack_2979 =
11434
+ (JSCompiler_object_inline_componentStack_2957 =
11417
11435
  componentStack.sibling),
11418
- (JSCompiler_object_inline_stack_2978 = createWorkInProgress(
11436
+ (JSCompiler_object_inline_stack_2956 = createWorkInProgress(
11419
11437
  componentStack,
11420
11438
  {
11421
11439
  mode: "hidden",
11422
- children: JSCompiler_object_inline_stack_2978.children
11440
+ children: JSCompiler_object_inline_stack_2956.children
11423
11441
  }
11424
11442
  )),
11425
- (JSCompiler_object_inline_stack_2978.subtreeFlags =
11443
+ (JSCompiler_object_inline_stack_2956.subtreeFlags =
11426
11444
  componentStack.subtreeFlags & 65011712),
11427
- null !== JSCompiler_object_inline_componentStack_2979
11445
+ null !== JSCompiler_object_inline_componentStack_2957
11428
11446
  ? (nextPrimaryChildren = createWorkInProgress(
11429
- JSCompiler_object_inline_componentStack_2979,
11447
+ JSCompiler_object_inline_componentStack_2957,
11430
11448
  nextPrimaryChildren
11431
11449
  ))
11432
11450
  : ((nextPrimaryChildren = createFiberFromFragment(
@@ -11437,11 +11455,11 @@
11437
11455
  )),
11438
11456
  (nextPrimaryChildren.flags |= 2)),
11439
11457
  (nextPrimaryChildren.return = workInProgress),
11440
- (JSCompiler_object_inline_stack_2978.return = workInProgress),
11441
- (JSCompiler_object_inline_stack_2978.sibling = nextPrimaryChildren),
11442
- (workInProgress.child = JSCompiler_object_inline_stack_2978),
11443
- bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2978),
11444
- (JSCompiler_object_inline_stack_2978 = workInProgress.child),
11458
+ (JSCompiler_object_inline_stack_2956.return = workInProgress),
11459
+ (JSCompiler_object_inline_stack_2956.sibling = nextPrimaryChildren),
11460
+ (workInProgress.child = JSCompiler_object_inline_stack_2956),
11461
+ bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2956),
11462
+ (JSCompiler_object_inline_stack_2956 = workInProgress.child),
11445
11463
  (nextPrimaryChildren = current.child.memoizedState),
11446
11464
  null === nextPrimaryChildren
11447
11465
  ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
@@ -11457,18 +11475,18 @@
11457
11475
  baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
11458
11476
  cachePool: mode
11459
11477
  })),
11460
- (JSCompiler_object_inline_stack_2978.memoizedState =
11478
+ (JSCompiler_object_inline_stack_2956.memoizedState =
11461
11479
  nextPrimaryChildren),
11462
- (JSCompiler_object_inline_stack_2978.childLanes =
11480
+ (JSCompiler_object_inline_stack_2956.childLanes =
11463
11481
  getRemainingWorkInPrimaryTree(
11464
11482
  current,
11465
- JSCompiler_object_inline_digest_2977,
11483
+ JSCompiler_object_inline_digest_2955,
11466
11484
  renderLanes
11467
11485
  )),
11468
11486
  (workInProgress.memoizedState = SUSPENDED_MARKER),
11469
11487
  bailoutOffscreenComponent(
11470
11488
  current.child,
11471
- JSCompiler_object_inline_stack_2978
11489
+ JSCompiler_object_inline_stack_2956
11472
11490
  )
11473
11491
  );
11474
11492
  null !== prevState &&
@@ -11480,16 +11498,16 @@
11480
11498
  current = renderLanes.sibling;
11481
11499
  renderLanes = createWorkInProgress(renderLanes, {
11482
11500
  mode: "visible",
11483
- children: JSCompiler_object_inline_stack_2978.children
11501
+ children: JSCompiler_object_inline_stack_2956.children
11484
11502
  });
11485
11503
  renderLanes.return = workInProgress;
11486
11504
  renderLanes.sibling = null;
11487
11505
  null !== current &&
11488
- ((JSCompiler_object_inline_digest_2977 = workInProgress.deletions),
11489
- null === JSCompiler_object_inline_digest_2977
11506
+ ((JSCompiler_object_inline_digest_2955 = workInProgress.deletions),
11507
+ null === JSCompiler_object_inline_digest_2955
11490
11508
  ? ((workInProgress.deletions = [current]),
11491
11509
  (workInProgress.flags |= 16))
11492
- : JSCompiler_object_inline_digest_2977.push(current));
11510
+ : JSCompiler_object_inline_digest_2955.push(current));
11493
11511
  workInProgress.child = renderLanes;
11494
11512
  workInProgress.memoizedState = null;
11495
11513
  return renderLanes;
@@ -11583,13 +11601,15 @@
11583
11601
  tailMode = nextProps.tail,
11584
11602
  newChildren = nextProps.children,
11585
11603
  suspenseContext = suspenseStackCursor.current;
11604
+ if (workInProgress.flags & 128)
11605
+ return pushSuspenseListContext(workInProgress, suspenseContext), null;
11586
11606
  (nextProps = 0 !== (suspenseContext & ForceSuspenseFallback))
11587
11607
  ? ((suspenseContext =
11588
11608
  (suspenseContext & SubtreeSuspenseContextMask) |
11589
11609
  ForceSuspenseFallback),
11590
11610
  (workInProgress.flags |= 128))
11591
11611
  : (suspenseContext &= SubtreeSuspenseContextMask);
11592
- push(suspenseStackCursor, suspenseContext, workInProgress);
11612
+ pushSuspenseListContext(workInProgress, suspenseContext);
11593
11613
  suspenseContext = null == revealOrder ? "null" : revealOrder;
11594
11614
  if (
11595
11615
  null != revealOrder &&
@@ -11914,6 +11934,12 @@
11914
11934
  pushPrimaryTreeSuspenseHandler(workInProgress);
11915
11935
  break;
11916
11936
  case 19:
11937
+ if (workInProgress.flags & 128)
11938
+ return updateSuspenseListComponent(
11939
+ current,
11940
+ workInProgress,
11941
+ renderLanes
11942
+ );
11917
11943
  var didSuspendBefore = 0 !== (current.flags & 128);
11918
11944
  stateNode = 0 !== (renderLanes & workInProgress.childLanes);
11919
11945
  stateNode ||
@@ -11938,11 +11964,7 @@
11938
11964
  ((didSuspendBefore.rendering = null),
11939
11965
  (didSuspendBefore.tail = null),
11940
11966
  (didSuspendBefore.lastEffect = null));
11941
- push(
11942
- suspenseStackCursor,
11943
- suspenseStackCursor.current,
11944
- workInProgress
11945
- );
11967
+ pushSuspenseListContext(workInProgress, suspenseStackCursor.current);
11946
11968
  if (stateNode) break;
11947
11969
  else return null;
11948
11970
  case 22:
@@ -13308,7 +13330,7 @@
13308
13330
  null
13309
13331
  );
13310
13332
  case 19:
13311
- pop(suspenseStackCursor, workInProgress);
13333
+ popSuspenseListContext(workInProgress);
13312
13334
  newProps = workInProgress.memoizedState;
13313
13335
  if (null === newProps) return bubbleProperties(workInProgress), null;
13314
13336
  type = 0 !== (workInProgress.flags & 128);
@@ -13337,12 +13359,11 @@
13337
13359
  )
13338
13360
  resetWorkInProgress(renderLanes, current),
13339
13361
  (renderLanes = renderLanes.sibling);
13340
- push(
13341
- suspenseStackCursor,
13362
+ pushSuspenseListContext(
13363
+ workInProgress,
13342
13364
  (suspenseStackCursor.current &
13343
13365
  SubtreeSuspenseContextMask) |
13344
- ForceSuspenseFallback,
13345
- workInProgress
13366
+ ForceSuspenseFallback
13346
13367
  );
13347
13368
  isHydrating &&
13348
13369
  pushTreeFork(workInProgress, newProps.treeForkCount);
@@ -13393,23 +13414,43 @@
13393
13414
  : (workInProgress.child = nextResource),
13394
13415
  (newProps.last = nextResource));
13395
13416
  }
13396
- if (null !== newProps.tail)
13397
- return (
13398
- (current = newProps.tail),
13399
- (newProps.rendering = current),
13400
- (newProps.tail = current.sibling),
13401
- (newProps.renderingStartTime = now$1()),
13402
- (current.sibling = null),
13403
- (renderLanes = suspenseStackCursor.current),
13404
- (renderLanes = type
13405
- ? (renderLanes & SubtreeSuspenseContextMask) |
13406
- ForceSuspenseFallback
13407
- : renderLanes & SubtreeSuspenseContextMask),
13408
- push(suspenseStackCursor, renderLanes, workInProgress),
13409
- isHydrating &&
13410
- pushTreeFork(workInProgress, newProps.treeForkCount),
13411
- current
13412
- );
13417
+ if (null !== newProps.tail) {
13418
+ current = newProps.tail;
13419
+ a: {
13420
+ for (renderLanes = current; null !== renderLanes; ) {
13421
+ if (null !== renderLanes.alternate) {
13422
+ renderLanes = !1;
13423
+ break a;
13424
+ }
13425
+ renderLanes = renderLanes.sibling;
13426
+ }
13427
+ renderLanes = !0;
13428
+ }
13429
+ newProps.rendering = current;
13430
+ newProps.tail = current.sibling;
13431
+ newProps.renderingStartTime = now$1();
13432
+ current.sibling = null;
13433
+ nextResource = suspenseStackCursor.current;
13434
+ nextResource = type
13435
+ ? (nextResource & SubtreeSuspenseContextMask) |
13436
+ ForceSuspenseFallback
13437
+ : nextResource & SubtreeSuspenseContextMask;
13438
+ "visible" === newProps.tailMode ||
13439
+ "collapsed" === newProps.tailMode ||
13440
+ !renderLanes ||
13441
+ isHydrating
13442
+ ? pushSuspenseListContext(workInProgress, nextResource)
13443
+ : ((renderLanes = nextResource),
13444
+ push(
13445
+ suspenseHandlerStackCursor,
13446
+ workInProgress,
13447
+ workInProgress
13448
+ ),
13449
+ push(suspenseStackCursor, renderLanes, workInProgress),
13450
+ null === shellBoundary && (shellBoundary = workInProgress));
13451
+ isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount);
13452
+ return current;
13453
+ }
13413
13454
  bubbleProperties(workInProgress);
13414
13455
  return null;
13415
13456
  case 22:
@@ -13531,7 +13572,18 @@
13531
13572
  workInProgress)
13532
13573
  : null;
13533
13574
  case 19:
13534
- return pop(suspenseStackCursor, workInProgress), null;
13575
+ return (
13576
+ popSuspenseListContext(workInProgress),
13577
+ (current = workInProgress.flags),
13578
+ current & 65536
13579
+ ? ((workInProgress.flags = (current & -65537) | 128),
13580
+ (current = workInProgress.memoizedState),
13581
+ null !== current &&
13582
+ ((current.rendering = null), (current.tail = null)),
13583
+ (workInProgress.flags |= 4),
13584
+ workInProgress)
13585
+ : null
13586
+ );
13535
13587
  case 4:
13536
13588
  return popHostContainer(workInProgress), null;
13537
13589
  case 10:
@@ -13581,7 +13633,7 @@
13581
13633
  popSuspenseHandler(interruptedWork);
13582
13634
  break;
13583
13635
  case 19:
13584
- pop(suspenseStackCursor, interruptedWork);
13636
+ popSuspenseListContext(interruptedWork);
13585
13637
  break;
13586
13638
  case 10:
13587
13639
  popProvider(interruptedWork.type, interruptedWork);
@@ -13873,7 +13925,8 @@
13873
13925
  break;
13874
13926
  case 7:
13875
13927
  null === finishedWork.stateNode &&
13876
- (finishedWork.stateNode = new FragmentInstance(finishedWork));
13928
+ ((instanceToUse = new FragmentInstance(finishedWork)),
13929
+ (finishedWork.stateNode = instanceToUse));
13877
13930
  instanceToUse = finishedWork.stateNode;
13878
13931
  break;
13879
13932
  default:
@@ -14030,12 +14083,12 @@
14030
14083
  function commitFragmentInstanceDeletionEffects(fiber) {
14031
14084
  for (var parent = fiber.return; null !== parent; ) {
14032
14085
  if (isFragmentInstanceParent(parent)) {
14033
- var childElement = fiber.stateNode,
14086
+ var childInstance = fiber.stateNode,
14034
14087
  eventListeners = parent.stateNode._eventListeners;
14035
14088
  if (null !== eventListeners)
14036
14089
  for (var i = 0; i < eventListeners.length; i++) {
14037
14090
  var _eventListeners$i3 = eventListeners[i];
14038
- childElement.removeEventListener(
14091
+ childInstance.removeEventListener(
14039
14092
  _eventListeners$i3.type,
14040
14093
  _eventListeners$i3.listener,
14041
14094
  _eventListeners$i3.optionsOrUseCapture
@@ -17898,7 +17951,8 @@
17898
17951
  case RootFatalErrored:
17899
17952
  throw Error("Root did not complete. This is a bug in React.");
17900
17953
  case RootSuspendedWithDelay:
17901
- if ((lanes & 4194048) !== lanes) break;
17954
+ if ((lanes & 4194048) !== lanes && (lanes & 62914560) !== lanes)
17955
+ break;
17902
17956
  case RootSuspendedAtTheShell:
17903
17957
  setCurrentTrackFromLanes(lanes);
17904
17958
  logSuspendedRenderPhase(
@@ -30377,11 +30431,11 @@
30377
30431
  };
30378
30432
  (function () {
30379
30433
  var isomorphicReactPackageVersion = React.version;
30380
- if ("19.3.0-canary-67f7d47a-20251103" !== isomorphicReactPackageVersion)
30434
+ if ("19.3.0-canary-dd048c3b-20251105" !== isomorphicReactPackageVersion)
30381
30435
  throw Error(
30382
30436
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
30383
30437
  (isomorphicReactPackageVersion +
30384
- "\n - react-dom: 19.3.0-canary-67f7d47a-20251103\nLearn more: https://react.dev/warnings/version-mismatch")
30438
+ "\n - react-dom: 19.3.0-canary-dd048c3b-20251105\nLearn more: https://react.dev/warnings/version-mismatch")
30385
30439
  );
30386
30440
  })();
30387
30441
  ("function" === typeof Map &&
@@ -30418,10 +30472,10 @@
30418
30472
  !(function () {
30419
30473
  var internals = {
30420
30474
  bundleType: 1,
30421
- version: "19.3.0-canary-67f7d47a-20251103",
30475
+ version: "19.3.0-canary-dd048c3b-20251105",
30422
30476
  rendererPackageName: "react-dom",
30423
30477
  currentDispatcherRef: ReactSharedInternals,
30424
- reconcilerVersion: "19.3.0-canary-67f7d47a-20251103"
30478
+ reconcilerVersion: "19.3.0-canary-dd048c3b-20251105"
30425
30479
  };
30426
30480
  internals.overrideHookState = overrideHookState;
30427
30481
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30889,7 +30943,7 @@
30889
30943
  exports.useFormStatus = function () {
30890
30944
  return resolveDispatcher().useHostTransitionStatus();
30891
30945
  };
30892
- exports.version = "19.3.0-canary-67f7d47a-20251103";
30946
+ exports.version = "19.3.0-canary-dd048c3b-20251105";
30893
30947
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
30894
30948
  "function" ===
30895
30949
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&