react-dom 19.3.0-canary-ead92181-20251010 → 19.3.0-canary-56e84692-20251014

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.
@@ -4306,7 +4306,8 @@
4306
4306
  reusableComponentOptions
4307
4307
  )
4308
4308
  )
4309
- : performance.measure(trigger, reusableComponentOptions));
4309
+ : performance.measure(trigger, reusableComponentOptions),
4310
+ performance.clearMeasures(trigger));
4310
4311
  }
4311
4312
  function logComponentReappeared(fiber, startTime, endTime) {
4312
4313
  logComponentTrigger(fiber, startTime, endTime, "Reconnect");
@@ -4325,7 +4326,7 @@
4325
4326
  if (null === alternate || alternate.child !== fiber.child)
4326
4327
  for (var child = fiber.child; null !== child; child = child.sibling)
4327
4328
  selfTime -= child.actualDuration;
4328
- wasHydrated =
4329
+ selfTime =
4329
4330
  0.5 > selfTime
4330
4331
  ? wasHydrated
4331
4332
  ? "tertiary-light"
@@ -4340,46 +4341,65 @@
4340
4341
  : "primary-dark"
4341
4342
  : "error";
4342
4343
  var props = fiber.memoizedProps;
4343
- selfTime = fiber._debugTask;
4344
+ wasHydrated = fiber._debugTask;
4344
4345
  null !== props &&
4345
4346
  null !== alternate &&
4346
4347
  alternate.memoizedProps !== props
4347
- ? ((child = [resuableChangedPropsEntry]),
4348
+ ? ((child = [reusableChangedPropsEntry]),
4348
4349
  (props = addObjectDiffToProperties(
4349
4350
  alternate.memoizedProps,
4350
4351
  props,
4351
4352
  child,
4352
4353
  0
4353
4354
  )),
4354
- 1 < child.length &&
4355
- (props &&
4356
- !alreadyWarnedForDeepEquality &&
4357
- 0 === (alternate.lanes & committedLanes) &&
4358
- 100 < fiber.actualDuration
4359
- ? ((alreadyWarnedForDeepEquality = !0),
4360
- (child[0] = reusableDeeplyEqualPropsEntry),
4361
- (reusableComponentDevToolDetails.color = "warning"),
4362
- (reusableComponentDevToolDetails.tooltipText =
4363
- DEEP_EQUALITY_WARNING))
4364
- : ((reusableComponentDevToolDetails.color = wasHydrated),
4365
- (reusableComponentDevToolDetails.tooltipText = name)),
4366
- (reusableComponentDevToolDetails.properties = child),
4367
- (reusableComponentOptions.start = startTime),
4368
- (reusableComponentOptions.end = endTime),
4369
- null != selfTime
4370
- ? selfTime.run(
4371
- performance.measure.bind(
4372
- performance,
4373
- "\u200b" + name,
4374
- reusableComponentOptions
4355
+ 1 < child.length
4356
+ ? (props &&
4357
+ !alreadyWarnedForDeepEquality &&
4358
+ 0 === (alternate.lanes & committedLanes) &&
4359
+ 100 < fiber.actualDuration
4360
+ ? ((alreadyWarnedForDeepEquality = !0),
4361
+ (child[0] = reusableDeeplyEqualPropsEntry),
4362
+ (reusableComponentDevToolDetails.color = "warning"),
4363
+ (reusableComponentDevToolDetails.tooltipText =
4364
+ DEEP_EQUALITY_WARNING))
4365
+ : ((reusableComponentDevToolDetails.color = selfTime),
4366
+ (reusableComponentDevToolDetails.tooltipText = name)),
4367
+ (reusableComponentDevToolDetails.properties = child),
4368
+ (reusableComponentOptions.start = startTime),
4369
+ (reusableComponentOptions.end = endTime),
4370
+ (fiber = "\u200b" + name),
4371
+ null != wasHydrated
4372
+ ? wasHydrated.run(
4373
+ performance.measure.bind(
4374
+ performance,
4375
+ fiber,
4376
+ reusableComponentOptions
4377
+ )
4378
+ )
4379
+ : performance.measure(fiber, reusableComponentOptions),
4380
+ performance.clearMeasures(fiber))
4381
+ : null != wasHydrated
4382
+ ? wasHydrated.run(
4383
+ console.timeStamp.bind(
4384
+ console,
4385
+ name,
4386
+ startTime,
4387
+ endTime,
4388
+ COMPONENTS_TRACK,
4389
+ void 0,
4390
+ selfTime
4375
4391
  )
4376
4392
  )
4377
- : performance.measure(
4378
- "\u200b" + name,
4379
- reusableComponentOptions
4380
- )))
4381
- : null != selfTime
4382
- ? selfTime.run(
4393
+ : console.timeStamp(
4394
+ name,
4395
+ startTime,
4396
+ endTime,
4397
+ COMPONENTS_TRACK,
4398
+ void 0,
4399
+ selfTime
4400
+ ))
4401
+ : null != wasHydrated
4402
+ ? wasHydrated.run(
4383
4403
  console.timeStamp.bind(
4384
4404
  console,
4385
4405
  name,
@@ -4387,7 +4407,7 @@
4387
4407
  endTime,
4388
4408
  COMPONENTS_TRACK,
4389
4409
  void 0,
4390
- wasHydrated
4410
+ selfTime
4391
4411
  )
4392
4412
  )
4393
4413
  : console.timeStamp(
@@ -4396,7 +4416,7 @@
4396
4416
  endTime,
4397
4417
  COMPONENTS_TRACK,
4398
4418
  void 0,
4399
- wasHydrated
4419
+ selfTime
4400
4420
  );
4401
4421
  }
4402
4422
  }
@@ -4443,11 +4463,11 @@
4443
4463
  }
4444
4464
  }
4445
4465
  };
4466
+ name = "\u200b" + name;
4446
4467
  debugTask
4447
- ? debugTask.run(
4448
- performance.measure.bind(performance, "\u200b" + name, fiber)
4449
- )
4450
- : performance.measure("\u200b" + name, fiber);
4468
+ ? debugTask.run(performance.measure.bind(performance, name, fiber))
4469
+ : performance.measure(name, fiber);
4470
+ performance.clearMeasures(name);
4451
4471
  }
4452
4472
  }
4453
4473
  }
@@ -4484,15 +4504,14 @@
4484
4504
  }
4485
4505
  }
4486
4506
  };
4487
- (fiber = fiber._debugTask)
4507
+ fiber = fiber._debugTask;
4508
+ endTime = "\u200b" + name;
4509
+ fiber
4488
4510
  ? fiber.run(
4489
- performance.measure.bind(
4490
- performance,
4491
- "\u200b" + name,
4492
- startTime
4493
- )
4511
+ performance.measure.bind(performance, endTime, startTime)
4494
4512
  )
4495
- : performance.measure("\u200b" + name, startTime);
4513
+ : performance.measure(endTime, startTime);
4514
+ performance.clearMeasures(endTime);
4496
4515
  }
4497
4516
  }
4498
4517
  } else
@@ -4653,6 +4672,7 @@
4653
4672
  performance.measure.bind(performance, "Recovered", startTime)
4654
4673
  )
4655
4674
  : performance.measure("Recovered", startTime);
4675
+ performance.clearMeasures("Recovered");
4656
4676
  }
4657
4677
  }
4658
4678
  function logErroredRenderPhase(startTime, endTime, lanes, debugTask) {
@@ -4736,6 +4756,7 @@
4736
4756
  performance.measure.bind(performance, "Errored", startTime)
4737
4757
  )
4738
4758
  : performance.measure("Errored", startTime);
4759
+ performance.clearMeasures("Errored");
4739
4760
  }
4740
4761
  }
4741
4762
  function logCommitPhase(
@@ -11103,24 +11124,24 @@
11103
11124
  return current;
11104
11125
  }
11105
11126
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
11106
- var JSCompiler_object_inline_digest_2976;
11107
- var JSCompiler_object_inline_stack_2977 = workInProgress.pendingProps;
11127
+ var JSCompiler_object_inline_digest_2977;
11128
+ var JSCompiler_object_inline_stack_2978 = workInProgress.pendingProps;
11108
11129
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
11109
- var JSCompiler_object_inline_message_2975 = !1;
11130
+ var JSCompiler_object_inline_message_2976 = !1;
11110
11131
  var didSuspend = 0 !== (workInProgress.flags & 128);
11111
- (JSCompiler_object_inline_digest_2976 = didSuspend) ||
11112
- (JSCompiler_object_inline_digest_2976 =
11132
+ (JSCompiler_object_inline_digest_2977 = didSuspend) ||
11133
+ (JSCompiler_object_inline_digest_2977 =
11113
11134
  null !== current && null === current.memoizedState
11114
11135
  ? !1
11115
11136
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
11116
- JSCompiler_object_inline_digest_2976 &&
11117
- ((JSCompiler_object_inline_message_2975 = !0),
11137
+ JSCompiler_object_inline_digest_2977 &&
11138
+ ((JSCompiler_object_inline_message_2976 = !0),
11118
11139
  (workInProgress.flags &= -129));
11119
- JSCompiler_object_inline_digest_2976 = 0 !== (workInProgress.flags & 32);
11140
+ JSCompiler_object_inline_digest_2977 = 0 !== (workInProgress.flags & 32);
11120
11141
  workInProgress.flags &= -33;
11121
11142
  if (null === current) {
11122
11143
  if (isHydrating) {
11123
- JSCompiler_object_inline_message_2975
11144
+ JSCompiler_object_inline_message_2976
11124
11145
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
11125
11146
  : reuseSuspenseHandlerOnStack(workInProgress);
11126
11147
  (current = nextHydratableInstance)
@@ -11133,18 +11154,18 @@
11133
11154
  ? renderLanes
11134
11155
  : null),
11135
11156
  null !== renderLanes &&
11136
- ((JSCompiler_object_inline_digest_2976 = {
11157
+ ((JSCompiler_object_inline_digest_2977 = {
11137
11158
  dehydrated: renderLanes,
11138
11159
  treeContext: getSuspendedTreeContext(),
11139
11160
  retryLane: 536870912,
11140
11161
  hydrationErrors: null
11141
11162
  }),
11142
11163
  (workInProgress.memoizedState =
11143
- JSCompiler_object_inline_digest_2976),
11144
- (JSCompiler_object_inline_digest_2976 =
11164
+ JSCompiler_object_inline_digest_2977),
11165
+ (JSCompiler_object_inline_digest_2977 =
11145
11166
  createFiberFromDehydratedFragment(renderLanes)),
11146
- (JSCompiler_object_inline_digest_2976.return = workInProgress),
11147
- (workInProgress.child = JSCompiler_object_inline_digest_2976),
11167
+ (JSCompiler_object_inline_digest_2977.return = workInProgress),
11168
+ (workInProgress.child = JSCompiler_object_inline_digest_2977),
11148
11169
  (hydrationParentFiber = workInProgress),
11149
11170
  (nextHydratableInstance = null)))
11150
11171
  : (renderLanes = null);
@@ -11158,39 +11179,39 @@
11158
11179
  : (workInProgress.lanes = 536870912);
11159
11180
  return null;
11160
11181
  }
11161
- var nextPrimaryChildren = JSCompiler_object_inline_stack_2977.children;
11162
- JSCompiler_object_inline_stack_2977 =
11163
- JSCompiler_object_inline_stack_2977.fallback;
11164
- if (JSCompiler_object_inline_message_2975) {
11182
+ var nextPrimaryChildren = JSCompiler_object_inline_stack_2978.children;
11183
+ JSCompiler_object_inline_stack_2978 =
11184
+ JSCompiler_object_inline_stack_2978.fallback;
11185
+ if (JSCompiler_object_inline_message_2976) {
11165
11186
  reuseSuspenseHandlerOnStack(workInProgress);
11166
11187
  var mode = workInProgress.mode;
11167
11188
  nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
11168
11189
  { mode: "hidden", children: nextPrimaryChildren },
11169
11190
  mode
11170
11191
  );
11171
- JSCompiler_object_inline_stack_2977 = createFiberFromFragment(
11172
- JSCompiler_object_inline_stack_2977,
11192
+ JSCompiler_object_inline_stack_2978 = createFiberFromFragment(
11193
+ JSCompiler_object_inline_stack_2978,
11173
11194
  mode,
11174
11195
  renderLanes,
11175
11196
  null
11176
11197
  );
11177
11198
  nextPrimaryChildren.return = workInProgress;
11178
- JSCompiler_object_inline_stack_2977.return = workInProgress;
11179
- nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2977;
11199
+ JSCompiler_object_inline_stack_2978.return = workInProgress;
11200
+ nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2978;
11180
11201
  workInProgress.child = nextPrimaryChildren;
11181
- JSCompiler_object_inline_stack_2977 = workInProgress.child;
11182
- JSCompiler_object_inline_stack_2977.memoizedState =
11202
+ JSCompiler_object_inline_stack_2978 = workInProgress.child;
11203
+ JSCompiler_object_inline_stack_2978.memoizedState =
11183
11204
  mountSuspenseOffscreenState(renderLanes);
11184
- JSCompiler_object_inline_stack_2977.childLanes =
11205
+ JSCompiler_object_inline_stack_2978.childLanes =
11185
11206
  getRemainingWorkInPrimaryTree(
11186
11207
  current,
11187
- JSCompiler_object_inline_digest_2976,
11208
+ JSCompiler_object_inline_digest_2977,
11188
11209
  renderLanes
11189
11210
  );
11190
11211
  workInProgress.memoizedState = SUSPENDED_MARKER;
11191
11212
  return bailoutOffscreenComponent(
11192
11213
  null,
11193
- JSCompiler_object_inline_stack_2977
11214
+ JSCompiler_object_inline_stack_2978
11194
11215
  );
11195
11216
  }
11196
11217
  pushPrimaryTreeSuspenseHandler(workInProgress);
@@ -11201,8 +11222,8 @@
11201
11222
  }
11202
11223
  var prevState = current.memoizedState;
11203
11224
  if (null !== prevState) {
11204
- var JSCompiler_object_inline_componentStack_2978 = prevState.dehydrated;
11205
- if (null !== JSCompiler_object_inline_componentStack_2978) {
11225
+ var JSCompiler_object_inline_componentStack_2979 = prevState.dehydrated;
11226
+ if (null !== JSCompiler_object_inline_componentStack_2979) {
11206
11227
  if (didSuspend)
11207
11228
  workInProgress.flags & 256
11208
11229
  ? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -11219,13 +11240,13 @@
11219
11240
  (workInProgress = null))
11220
11241
  : (reuseSuspenseHandlerOnStack(workInProgress),
11221
11242
  (nextPrimaryChildren =
11222
- JSCompiler_object_inline_stack_2977.fallback),
11243
+ JSCompiler_object_inline_stack_2978.fallback),
11223
11244
  (mode = workInProgress.mode),
11224
- (JSCompiler_object_inline_stack_2977 =
11245
+ (JSCompiler_object_inline_stack_2978 =
11225
11246
  mountWorkInProgressOffscreenFiber(
11226
11247
  {
11227
11248
  mode: "visible",
11228
- children: JSCompiler_object_inline_stack_2977.children
11249
+ children: JSCompiler_object_inline_stack_2978.children
11229
11250
  },
11230
11251
  mode
11231
11252
  )),
@@ -11236,30 +11257,30 @@
11236
11257
  null
11237
11258
  )),
11238
11259
  (nextPrimaryChildren.flags |= 2),
11239
- (JSCompiler_object_inline_stack_2977.return = workInProgress),
11260
+ (JSCompiler_object_inline_stack_2978.return = workInProgress),
11240
11261
  (nextPrimaryChildren.return = workInProgress),
11241
- (JSCompiler_object_inline_stack_2977.sibling =
11262
+ (JSCompiler_object_inline_stack_2978.sibling =
11242
11263
  nextPrimaryChildren),
11243
- (workInProgress.child = JSCompiler_object_inline_stack_2977),
11264
+ (workInProgress.child = JSCompiler_object_inline_stack_2978),
11244
11265
  reconcileChildFibers(
11245
11266
  workInProgress,
11246
11267
  current.child,
11247
11268
  null,
11248
11269
  renderLanes
11249
11270
  ),
11250
- (JSCompiler_object_inline_stack_2977 = workInProgress.child),
11251
- (JSCompiler_object_inline_stack_2977.memoizedState =
11271
+ (JSCompiler_object_inline_stack_2978 = workInProgress.child),
11272
+ (JSCompiler_object_inline_stack_2978.memoizedState =
11252
11273
  mountSuspenseOffscreenState(renderLanes)),
11253
- (JSCompiler_object_inline_stack_2977.childLanes =
11274
+ (JSCompiler_object_inline_stack_2978.childLanes =
11254
11275
  getRemainingWorkInPrimaryTree(
11255
11276
  current,
11256
- JSCompiler_object_inline_digest_2976,
11277
+ JSCompiler_object_inline_digest_2977,
11257
11278
  renderLanes
11258
11279
  )),
11259
11280
  (workInProgress.memoizedState = SUSPENDED_MARKER),
11260
11281
  (workInProgress = bailoutOffscreenComponent(
11261
11282
  null,
11262
- JSCompiler_object_inline_stack_2977
11283
+ JSCompiler_object_inline_stack_2978
11263
11284
  )));
11264
11285
  else if (
11265
11286
  (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -11267,45 +11288,45 @@
11267
11288
  0 !== (renderLanes & 536870912) &&
11268
11289
  markRenderDerivedCause(workInProgress),
11269
11290
  isSuspenseInstanceFallback(
11270
- JSCompiler_object_inline_componentStack_2978
11291
+ JSCompiler_object_inline_componentStack_2979
11271
11292
  ))
11272
11293
  ) {
11273
- JSCompiler_object_inline_digest_2976 =
11274
- JSCompiler_object_inline_componentStack_2978.nextSibling &&
11275
- JSCompiler_object_inline_componentStack_2978.nextSibling.dataset;
11276
- if (JSCompiler_object_inline_digest_2976) {
11277
- nextPrimaryChildren = JSCompiler_object_inline_digest_2976.dgst;
11278
- var message = JSCompiler_object_inline_digest_2976.msg;
11279
- mode = JSCompiler_object_inline_digest_2976.stck;
11280
- var componentStack = JSCompiler_object_inline_digest_2976.cstck;
11294
+ JSCompiler_object_inline_digest_2977 =
11295
+ JSCompiler_object_inline_componentStack_2979.nextSibling &&
11296
+ JSCompiler_object_inline_componentStack_2979.nextSibling.dataset;
11297
+ if (JSCompiler_object_inline_digest_2977) {
11298
+ nextPrimaryChildren = JSCompiler_object_inline_digest_2977.dgst;
11299
+ var message = JSCompiler_object_inline_digest_2977.msg;
11300
+ mode = JSCompiler_object_inline_digest_2977.stck;
11301
+ var componentStack = JSCompiler_object_inline_digest_2977.cstck;
11281
11302
  }
11282
- JSCompiler_object_inline_message_2975 = message;
11283
- JSCompiler_object_inline_digest_2976 = nextPrimaryChildren;
11284
- JSCompiler_object_inline_stack_2977 = mode;
11285
- JSCompiler_object_inline_componentStack_2978 = componentStack;
11286
- nextPrimaryChildren = JSCompiler_object_inline_message_2975;
11287
- mode = JSCompiler_object_inline_componentStack_2978;
11303
+ JSCompiler_object_inline_message_2976 = message;
11304
+ JSCompiler_object_inline_digest_2977 = nextPrimaryChildren;
11305
+ JSCompiler_object_inline_stack_2978 = mode;
11306
+ JSCompiler_object_inline_componentStack_2979 = componentStack;
11307
+ nextPrimaryChildren = JSCompiler_object_inline_message_2976;
11308
+ mode = JSCompiler_object_inline_componentStack_2979;
11288
11309
  nextPrimaryChildren = nextPrimaryChildren
11289
11310
  ? Error(nextPrimaryChildren)
11290
11311
  : Error(
11291
11312
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
11292
11313
  );
11293
11314
  nextPrimaryChildren.stack =
11294
- JSCompiler_object_inline_stack_2977 || "";
11295
- nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2976;
11296
- JSCompiler_object_inline_digest_2976 =
11315
+ JSCompiler_object_inline_stack_2978 || "";
11316
+ nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2977;
11317
+ JSCompiler_object_inline_digest_2977 =
11297
11318
  void 0 === mode ? null : mode;
11298
- JSCompiler_object_inline_stack_2977 = {
11319
+ JSCompiler_object_inline_stack_2978 = {
11299
11320
  value: nextPrimaryChildren,
11300
11321
  source: null,
11301
- stack: JSCompiler_object_inline_digest_2976
11322
+ stack: JSCompiler_object_inline_digest_2977
11302
11323
  };
11303
- "string" === typeof JSCompiler_object_inline_digest_2976 &&
11324
+ "string" === typeof JSCompiler_object_inline_digest_2977 &&
11304
11325
  CapturedStacks.set(
11305
11326
  nextPrimaryChildren,
11306
- JSCompiler_object_inline_stack_2977
11327
+ JSCompiler_object_inline_stack_2978
11307
11328
  );
11308
- queueHydrationError(JSCompiler_object_inline_stack_2977);
11329
+ queueHydrationError(JSCompiler_object_inline_stack_2978);
11309
11330
  workInProgress = retrySuspenseComponentWithoutHydrating(
11310
11331
  current,
11311
11332
  workInProgress,
@@ -11319,35 +11340,35 @@
11319
11340
  renderLanes,
11320
11341
  !1
11321
11342
  ),
11322
- (JSCompiler_object_inline_digest_2976 =
11343
+ (JSCompiler_object_inline_digest_2977 =
11323
11344
  0 !== (renderLanes & current.childLanes)),
11324
- didReceiveUpdate || JSCompiler_object_inline_digest_2976)
11345
+ didReceiveUpdate || JSCompiler_object_inline_digest_2977)
11325
11346
  ) {
11326
- JSCompiler_object_inline_digest_2976 = workInProgressRoot;
11347
+ JSCompiler_object_inline_digest_2977 = workInProgressRoot;
11327
11348
  if (
11328
- null !== JSCompiler_object_inline_digest_2976 &&
11329
- ((JSCompiler_object_inline_stack_2977 = getBumpedLaneForHydration(
11330
- JSCompiler_object_inline_digest_2976,
11349
+ null !== JSCompiler_object_inline_digest_2977 &&
11350
+ ((JSCompiler_object_inline_stack_2978 = getBumpedLaneForHydration(
11351
+ JSCompiler_object_inline_digest_2977,
11331
11352
  renderLanes
11332
11353
  )),
11333
- 0 !== JSCompiler_object_inline_stack_2977 &&
11334
- JSCompiler_object_inline_stack_2977 !== prevState.retryLane)
11354
+ 0 !== JSCompiler_object_inline_stack_2978 &&
11355
+ JSCompiler_object_inline_stack_2978 !== prevState.retryLane)
11335
11356
  )
11336
11357
  throw (
11337
- ((prevState.retryLane = JSCompiler_object_inline_stack_2977),
11358
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2978),
11338
11359
  enqueueConcurrentRenderForLane(
11339
11360
  current,
11340
- JSCompiler_object_inline_stack_2977
11361
+ JSCompiler_object_inline_stack_2978
11341
11362
  ),
11342
11363
  scheduleUpdateOnFiber(
11343
- JSCompiler_object_inline_digest_2976,
11364
+ JSCompiler_object_inline_digest_2977,
11344
11365
  current,
11345
- JSCompiler_object_inline_stack_2977
11366
+ JSCompiler_object_inline_stack_2978
11346
11367
  ),
11347
11368
  SelectiveHydrationException)
11348
11369
  );
11349
11370
  isSuspenseInstancePending(
11350
- JSCompiler_object_inline_componentStack_2978
11371
+ JSCompiler_object_inline_componentStack_2979
11351
11372
  ) || renderDidSuspendDelayIfPossible();
11352
11373
  workInProgress = retrySuspenseComponentWithoutHydrating(
11353
11374
  current,
@@ -11356,14 +11377,14 @@
11356
11377
  );
11357
11378
  } else
11358
11379
  isSuspenseInstancePending(
11359
- JSCompiler_object_inline_componentStack_2978
11380
+ JSCompiler_object_inline_componentStack_2979
11360
11381
  )
11361
11382
  ? ((workInProgress.flags |= 192),
11362
11383
  (workInProgress.child = current.child),
11363
11384
  (workInProgress = null))
11364
11385
  : ((current = prevState.treeContext),
11365
11386
  (nextHydratableInstance = getNextHydratable(
11366
- JSCompiler_object_inline_componentStack_2978.nextSibling
11387
+ JSCompiler_object_inline_componentStack_2979.nextSibling
11367
11388
  )),
11368
11389
  (hydrationParentFiber = workInProgress),
11369
11390
  (isHydrating = !0),
@@ -11375,32 +11396,32 @@
11375
11396
  restoreSuspendedTreeContext(workInProgress, current),
11376
11397
  (workInProgress = mountSuspensePrimaryChildren(
11377
11398
  workInProgress,
11378
- JSCompiler_object_inline_stack_2977.children
11399
+ JSCompiler_object_inline_stack_2978.children
11379
11400
  )),
11380
11401
  (workInProgress.flags |= 4096));
11381
11402
  return workInProgress;
11382
11403
  }
11383
11404
  }
11384
- if (JSCompiler_object_inline_message_2975)
11405
+ if (JSCompiler_object_inline_message_2976)
11385
11406
  return (
11386
11407
  reuseSuspenseHandlerOnStack(workInProgress),
11387
- (nextPrimaryChildren = JSCompiler_object_inline_stack_2977.fallback),
11408
+ (nextPrimaryChildren = JSCompiler_object_inline_stack_2978.fallback),
11388
11409
  (mode = workInProgress.mode),
11389
11410
  (componentStack = current.child),
11390
- (JSCompiler_object_inline_componentStack_2978 =
11411
+ (JSCompiler_object_inline_componentStack_2979 =
11391
11412
  componentStack.sibling),
11392
- (JSCompiler_object_inline_stack_2977 = createWorkInProgress(
11413
+ (JSCompiler_object_inline_stack_2978 = createWorkInProgress(
11393
11414
  componentStack,
11394
11415
  {
11395
11416
  mode: "hidden",
11396
- children: JSCompiler_object_inline_stack_2977.children
11417
+ children: JSCompiler_object_inline_stack_2978.children
11397
11418
  }
11398
11419
  )),
11399
- (JSCompiler_object_inline_stack_2977.subtreeFlags =
11420
+ (JSCompiler_object_inline_stack_2978.subtreeFlags =
11400
11421
  componentStack.subtreeFlags & 65011712),
11401
- null !== JSCompiler_object_inline_componentStack_2978
11422
+ null !== JSCompiler_object_inline_componentStack_2979
11402
11423
  ? (nextPrimaryChildren = createWorkInProgress(
11403
- JSCompiler_object_inline_componentStack_2978,
11424
+ JSCompiler_object_inline_componentStack_2979,
11404
11425
  nextPrimaryChildren
11405
11426
  ))
11406
11427
  : ((nextPrimaryChildren = createFiberFromFragment(
@@ -11411,11 +11432,11 @@
11411
11432
  )),
11412
11433
  (nextPrimaryChildren.flags |= 2)),
11413
11434
  (nextPrimaryChildren.return = workInProgress),
11414
- (JSCompiler_object_inline_stack_2977.return = workInProgress),
11415
- (JSCompiler_object_inline_stack_2977.sibling = nextPrimaryChildren),
11416
- (workInProgress.child = JSCompiler_object_inline_stack_2977),
11417
- bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2977),
11418
- (JSCompiler_object_inline_stack_2977 = workInProgress.child),
11435
+ (JSCompiler_object_inline_stack_2978.return = workInProgress),
11436
+ (JSCompiler_object_inline_stack_2978.sibling = nextPrimaryChildren),
11437
+ (workInProgress.child = JSCompiler_object_inline_stack_2978),
11438
+ bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2978),
11439
+ (JSCompiler_object_inline_stack_2978 = workInProgress.child),
11419
11440
  (nextPrimaryChildren = current.child.memoizedState),
11420
11441
  null === nextPrimaryChildren
11421
11442
  ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
@@ -11431,18 +11452,18 @@
11431
11452
  baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
11432
11453
  cachePool: mode
11433
11454
  })),
11434
- (JSCompiler_object_inline_stack_2977.memoizedState =
11455
+ (JSCompiler_object_inline_stack_2978.memoizedState =
11435
11456
  nextPrimaryChildren),
11436
- (JSCompiler_object_inline_stack_2977.childLanes =
11457
+ (JSCompiler_object_inline_stack_2978.childLanes =
11437
11458
  getRemainingWorkInPrimaryTree(
11438
11459
  current,
11439
- JSCompiler_object_inline_digest_2976,
11460
+ JSCompiler_object_inline_digest_2977,
11440
11461
  renderLanes
11441
11462
  )),
11442
11463
  (workInProgress.memoizedState = SUSPENDED_MARKER),
11443
11464
  bailoutOffscreenComponent(
11444
11465
  current.child,
11445
- JSCompiler_object_inline_stack_2977
11466
+ JSCompiler_object_inline_stack_2978
11446
11467
  )
11447
11468
  );
11448
11469
  null !== prevState &&
@@ -11454,16 +11475,16 @@
11454
11475
  current = renderLanes.sibling;
11455
11476
  renderLanes = createWorkInProgress(renderLanes, {
11456
11477
  mode: "visible",
11457
- children: JSCompiler_object_inline_stack_2977.children
11478
+ children: JSCompiler_object_inline_stack_2978.children
11458
11479
  });
11459
11480
  renderLanes.return = workInProgress;
11460
11481
  renderLanes.sibling = null;
11461
11482
  null !== current &&
11462
- ((JSCompiler_object_inline_digest_2976 = workInProgress.deletions),
11463
- null === JSCompiler_object_inline_digest_2976
11483
+ ((JSCompiler_object_inline_digest_2977 = workInProgress.deletions),
11484
+ null === JSCompiler_object_inline_digest_2977
11464
11485
  ? ((workInProgress.deletions = [current]),
11465
11486
  (workInProgress.flags |= 16))
11466
- : JSCompiler_object_inline_digest_2976.push(current));
11487
+ : JSCompiler_object_inline_digest_2977.push(current));
11467
11488
  workInProgress.child = renderLanes;
11468
11489
  workInProgress.memoizedState = null;
11469
11490
  return renderLanes;
@@ -14778,6 +14799,8 @@
14778
14799
  flags = finishedWork.flags;
14779
14800
  switch (finishedWork.tag) {
14780
14801
  case 0:
14802
+ case 11:
14803
+ case 15:
14781
14804
  if (
14782
14805
  0 !== (flags & 4) &&
14783
14806
  ((isViewTransitionEligible = finishedWork.updateQueue),
@@ -14795,9 +14818,6 @@
14795
14818
  (current = isViewTransitionEligible[finishedWork]),
14796
14819
  (current.ref.impl = current.nextImpl);
14797
14820
  break;
14798
- case 11:
14799
- case 15:
14800
- break;
14801
14821
  case 1:
14802
14822
  0 !== (flags & 1024) &&
14803
14823
  null !== current &&
@@ -15762,7 +15782,10 @@
15762
15782
  );
15763
15783
  break;
15764
15784
  case 5:
15785
+ hoistableRoot = offscreenDirectParentIsHidden;
15786
+ offscreenDirectParentIsHidden = !1;
15765
15787
  recursivelyTraverseMutationEffects(root, finishedWork, lanes);
15788
+ offscreenDirectParentIsHidden = hoistableRoot;
15766
15789
  commitReconciliationEffects(finishedWork);
15767
15790
  flags & 512 &&
15768
15791
  (offscreenSubtreeWasHidden ||
@@ -15892,13 +15915,17 @@
15892
15915
  hoistableRoot = null !== finishedWork.memoizedState;
15893
15916
  var wasHidden = null !== current && null !== current.memoizedState,
15894
15917
  prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,
15895
- prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
15918
+ prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden,
15919
+ _prevOffscreenDirectParentIsHidden = offscreenDirectParentIsHidden;
15896
15920
  offscreenSubtreeIsHidden =
15897
15921
  prevOffscreenSubtreeIsHidden || hoistableRoot;
15922
+ offscreenDirectParentIsHidden =
15923
+ _prevOffscreenDirectParentIsHidden || hoistableRoot;
15898
15924
  offscreenSubtreeWasHidden =
15899
15925
  prevOffscreenSubtreeWasHidden || wasHidden;
15900
15926
  recursivelyTraverseMutationEffects(root, finishedWork, lanes);
15901
15927
  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
15928
+ offscreenDirectParentIsHidden = _prevOffscreenDirectParentIsHidden;
15902
15929
  offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
15903
15930
  wasHidden &&
15904
15931
  !hoistableRoot &&
@@ -15914,33 +15941,31 @@
15914
15941
  componentEffectEndTime
15915
15942
  );
15916
15943
  commitReconciliationEffects(finishedWork);
15917
- if (flags & 8192)
15918
- a: for (
15919
- root = finishedWork.stateNode,
15920
- root._visibility = hoistableRoot
15921
- ? root._visibility & ~OffscreenVisible
15922
- : root._visibility | OffscreenVisible,
15923
- !hoistableRoot ||
15924
- null === current ||
15925
- wasHidden ||
15926
- offscreenSubtreeIsHidden ||
15927
- offscreenSubtreeWasHidden ||
15928
- (recursivelyTraverseDisappearLayoutEffects(finishedWork),
15929
- (finishedWork.mode & ProfileMode) !== NoMode &&
15930
- 0 <= componentEffectStartTime &&
15931
- 0 <= componentEffectEndTime &&
15932
- 0.05 < componentEffectEndTime - componentEffectStartTime &&
15933
- logComponentTrigger(
15934
- finishedWork,
15935
- componentEffectStartTime,
15936
- componentEffectEndTime,
15937
- "Disconnect"
15938
- )),
15939
- current = null,
15940
- root = finishedWork;
15941
- ;
15942
-
15943
- ) {
15944
+ if (
15945
+ flags & 8192 &&
15946
+ ((root = finishedWork.stateNode),
15947
+ (root._visibility = hoistableRoot
15948
+ ? root._visibility & ~OffscreenVisible
15949
+ : root._visibility | OffscreenVisible),
15950
+ !hoistableRoot ||
15951
+ null === current ||
15952
+ wasHidden ||
15953
+ offscreenSubtreeIsHidden ||
15954
+ offscreenSubtreeWasHidden ||
15955
+ (recursivelyTraverseDisappearLayoutEffects(finishedWork),
15956
+ (finishedWork.mode & ProfileMode) !== NoMode &&
15957
+ 0 <= componentEffectStartTime &&
15958
+ 0 <= componentEffectEndTime &&
15959
+ 0.05 < componentEffectEndTime - componentEffectStartTime &&
15960
+ logComponentTrigger(
15961
+ finishedWork,
15962
+ componentEffectStartTime,
15963
+ componentEffectEndTime,
15964
+ "Disconnect"
15965
+ )),
15966
+ hoistableRoot || !offscreenDirectParentIsHidden)
15967
+ )
15968
+ a: for (current = null, root = finishedWork; ; ) {
15944
15969
  if (5 === root.tag || 26 === root.tag) {
15945
15970
  if (null === current) {
15946
15971
  lanes = current = root;
@@ -18344,7 +18369,8 @@
18344
18369
  previousRenderStartTime
18345
18370
  )
18346
18371
  )
18347
- : performance.measure(isSpawnedUpdate, previousRenderStartTime));
18372
+ : performance.measure(isSpawnedUpdate, previousRenderStartTime),
18373
+ performance.clearMeasures(isSpawnedUpdate));
18348
18374
  }
18349
18375
  blockingUpdateTime = -1.1;
18350
18376
  blockingUpdateType = 0;
@@ -18481,7 +18507,8 @@
18481
18507
  previousRenderStartTime
18482
18508
  )
18483
18509
  )
18484
- : performance.measure(debugTask, previousRenderStartTime))),
18510
+ : performance.measure(debugTask, previousRenderStartTime),
18511
+ performance.clearMeasures(debugTask))),
18485
18512
  (transitionUpdateTime = transitionStartTime = -1.1),
18486
18513
  (transitionUpdateType = 0),
18487
18514
  (transitionSuspendedTime = -1.1),
@@ -27514,7 +27541,7 @@
27514
27541
  end: -0,
27515
27542
  detail: { devtools: reusableComponentDevToolDetails }
27516
27543
  },
27517
- resuableChangedPropsEntry = ["Changed Props", ""],
27544
+ reusableChangedPropsEntry = ["Changed Props", ""],
27518
27545
  DEEP_EQUALITY_WARNING =
27519
27546
  "This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",
27520
27547
  reusableDeeplyEqualPropsEntry = ["Changed Props", DEEP_EQUALITY_WARNING],
@@ -29267,6 +29294,7 @@
29267
29294
  didWarnAboutName = {},
29268
29295
  offscreenSubtreeIsHidden = !1,
29269
29296
  offscreenSubtreeWasHidden = !1,
29297
+ offscreenDirectParentIsHidden = !1,
29270
29298
  needsFormReset = !1,
29271
29299
  PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set,
29272
29300
  nextEffect = null,
@@ -30275,11 +30303,11 @@
30275
30303
  };
30276
30304
  (function () {
30277
30305
  var isomorphicReactPackageVersion = React.version;
30278
- if ("19.3.0-canary-ead92181-20251010" !== isomorphicReactPackageVersion)
30306
+ if ("19.3.0-canary-56e84692-20251014" !== isomorphicReactPackageVersion)
30279
30307
  throw Error(
30280
30308
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
30281
30309
  (isomorphicReactPackageVersion +
30282
- "\n - react-dom: 19.3.0-canary-ead92181-20251010\nLearn more: https://react.dev/warnings/version-mismatch")
30310
+ "\n - react-dom: 19.3.0-canary-56e84692-20251014\nLearn more: https://react.dev/warnings/version-mismatch")
30283
30311
  );
30284
30312
  })();
30285
30313
  ("function" === typeof Map &&
@@ -30316,10 +30344,10 @@
30316
30344
  !(function () {
30317
30345
  var internals = {
30318
30346
  bundleType: 1,
30319
- version: "19.3.0-canary-ead92181-20251010",
30347
+ version: "19.3.0-canary-56e84692-20251014",
30320
30348
  rendererPackageName: "react-dom",
30321
30349
  currentDispatcherRef: ReactSharedInternals,
30322
- reconcilerVersion: "19.3.0-canary-ead92181-20251010"
30350
+ reconcilerVersion: "19.3.0-canary-56e84692-20251014"
30323
30351
  };
30324
30352
  internals.overrideHookState = overrideHookState;
30325
30353
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30457,7 +30485,7 @@
30457
30485
  listenToAllSupportedEvents(container);
30458
30486
  return new ReactDOMHydrationRoot(initialChildren);
30459
30487
  };
30460
- exports.version = "19.3.0-canary-ead92181-20251010";
30488
+ exports.version = "19.3.0-canary-56e84692-20251014";
30461
30489
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
30462
30490
  "function" ===
30463
30491
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&