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.
@@ -4314,7 +4314,8 @@
4314
4314
  reusableComponentOptions
4315
4315
  )
4316
4316
  )
4317
- : performance.measure(trigger, reusableComponentOptions));
4317
+ : performance.measure(trigger, reusableComponentOptions),
4318
+ performance.clearMeasures(trigger));
4318
4319
  }
4319
4320
  function logComponentReappeared(fiber, startTime, endTime) {
4320
4321
  logComponentTrigger(fiber, startTime, endTime, "Reconnect");
@@ -4333,7 +4334,7 @@
4333
4334
  if (null === alternate || alternate.child !== fiber.child)
4334
4335
  for (var child = fiber.child; null !== child; child = child.sibling)
4335
4336
  selfTime -= child.actualDuration;
4336
- wasHydrated =
4337
+ selfTime =
4337
4338
  0.5 > selfTime
4338
4339
  ? wasHydrated
4339
4340
  ? "tertiary-light"
@@ -4348,46 +4349,65 @@
4348
4349
  : "primary-dark"
4349
4350
  : "error";
4350
4351
  var props = fiber.memoizedProps;
4351
- selfTime = fiber._debugTask;
4352
+ wasHydrated = fiber._debugTask;
4352
4353
  null !== props &&
4353
4354
  null !== alternate &&
4354
4355
  alternate.memoizedProps !== props
4355
- ? ((child = [resuableChangedPropsEntry]),
4356
+ ? ((child = [reusableChangedPropsEntry]),
4356
4357
  (props = addObjectDiffToProperties(
4357
4358
  alternate.memoizedProps,
4358
4359
  props,
4359
4360
  child,
4360
4361
  0
4361
4362
  )),
4362
- 1 < child.length &&
4363
- (props &&
4364
- !alreadyWarnedForDeepEquality &&
4365
- 0 === (alternate.lanes & committedLanes) &&
4366
- 100 < fiber.actualDuration
4367
- ? ((alreadyWarnedForDeepEquality = !0),
4368
- (child[0] = reusableDeeplyEqualPropsEntry),
4369
- (reusableComponentDevToolDetails.color = "warning"),
4370
- (reusableComponentDevToolDetails.tooltipText =
4371
- DEEP_EQUALITY_WARNING))
4372
- : ((reusableComponentDevToolDetails.color = wasHydrated),
4373
- (reusableComponentDevToolDetails.tooltipText = name)),
4374
- (reusableComponentDevToolDetails.properties = child),
4375
- (reusableComponentOptions.start = startTime),
4376
- (reusableComponentOptions.end = endTime),
4377
- null != selfTime
4378
- ? selfTime.run(
4379
- performance.measure.bind(
4380
- performance,
4381
- "\u200b" + name,
4382
- reusableComponentOptions
4363
+ 1 < child.length
4364
+ ? (props &&
4365
+ !alreadyWarnedForDeepEquality &&
4366
+ 0 === (alternate.lanes & committedLanes) &&
4367
+ 100 < fiber.actualDuration
4368
+ ? ((alreadyWarnedForDeepEquality = !0),
4369
+ (child[0] = reusableDeeplyEqualPropsEntry),
4370
+ (reusableComponentDevToolDetails.color = "warning"),
4371
+ (reusableComponentDevToolDetails.tooltipText =
4372
+ DEEP_EQUALITY_WARNING))
4373
+ : ((reusableComponentDevToolDetails.color = selfTime),
4374
+ (reusableComponentDevToolDetails.tooltipText = name)),
4375
+ (reusableComponentDevToolDetails.properties = child),
4376
+ (reusableComponentOptions.start = startTime),
4377
+ (reusableComponentOptions.end = endTime),
4378
+ (fiber = "\u200b" + name),
4379
+ null != wasHydrated
4380
+ ? wasHydrated.run(
4381
+ performance.measure.bind(
4382
+ performance,
4383
+ fiber,
4384
+ reusableComponentOptions
4385
+ )
4386
+ )
4387
+ : performance.measure(fiber, reusableComponentOptions),
4388
+ performance.clearMeasures(fiber))
4389
+ : null != wasHydrated
4390
+ ? wasHydrated.run(
4391
+ console.timeStamp.bind(
4392
+ console,
4393
+ name,
4394
+ startTime,
4395
+ endTime,
4396
+ COMPONENTS_TRACK,
4397
+ void 0,
4398
+ selfTime
4383
4399
  )
4384
4400
  )
4385
- : performance.measure(
4386
- "\u200b" + name,
4387
- reusableComponentOptions
4388
- )))
4389
- : null != selfTime
4390
- ? selfTime.run(
4401
+ : console.timeStamp(
4402
+ name,
4403
+ startTime,
4404
+ endTime,
4405
+ COMPONENTS_TRACK,
4406
+ void 0,
4407
+ selfTime
4408
+ ))
4409
+ : null != wasHydrated
4410
+ ? wasHydrated.run(
4391
4411
  console.timeStamp.bind(
4392
4412
  console,
4393
4413
  name,
@@ -4395,7 +4415,7 @@
4395
4415
  endTime,
4396
4416
  COMPONENTS_TRACK,
4397
4417
  void 0,
4398
- wasHydrated
4418
+ selfTime
4399
4419
  )
4400
4420
  )
4401
4421
  : console.timeStamp(
@@ -4404,7 +4424,7 @@
4404
4424
  endTime,
4405
4425
  COMPONENTS_TRACK,
4406
4426
  void 0,
4407
- wasHydrated
4427
+ selfTime
4408
4428
  );
4409
4429
  }
4410
4430
  }
@@ -4451,11 +4471,11 @@
4451
4471
  }
4452
4472
  }
4453
4473
  };
4474
+ name = "\u200b" + name;
4454
4475
  debugTask
4455
- ? debugTask.run(
4456
- performance.measure.bind(performance, "\u200b" + name, fiber)
4457
- )
4458
- : performance.measure("\u200b" + name, fiber);
4476
+ ? debugTask.run(performance.measure.bind(performance, name, fiber))
4477
+ : performance.measure(name, fiber);
4478
+ performance.clearMeasures(name);
4459
4479
  }
4460
4480
  }
4461
4481
  }
@@ -4492,15 +4512,14 @@
4492
4512
  }
4493
4513
  }
4494
4514
  };
4495
- (fiber = fiber._debugTask)
4515
+ fiber = fiber._debugTask;
4516
+ endTime = "\u200b" + name;
4517
+ fiber
4496
4518
  ? fiber.run(
4497
- performance.measure.bind(
4498
- performance,
4499
- "\u200b" + name,
4500
- startTime
4501
- )
4519
+ performance.measure.bind(performance, endTime, startTime)
4502
4520
  )
4503
- : performance.measure("\u200b" + name, startTime);
4521
+ : performance.measure(endTime, startTime);
4522
+ performance.clearMeasures(endTime);
4504
4523
  }
4505
4524
  }
4506
4525
  } else
@@ -4661,6 +4680,7 @@
4661
4680
  performance.measure.bind(performance, "Recovered", startTime)
4662
4681
  )
4663
4682
  : performance.measure("Recovered", startTime);
4683
+ performance.clearMeasures("Recovered");
4664
4684
  }
4665
4685
  }
4666
4686
  function logErroredRenderPhase(startTime, endTime, lanes, debugTask) {
@@ -4744,6 +4764,7 @@
4744
4764
  performance.measure.bind(performance, "Errored", startTime)
4745
4765
  )
4746
4766
  : performance.measure("Errored", startTime);
4767
+ performance.clearMeasures("Errored");
4747
4768
  }
4748
4769
  }
4749
4770
  function logCommitPhase(
@@ -11111,24 +11132,24 @@
11111
11132
  return current;
11112
11133
  }
11113
11134
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
11114
- var JSCompiler_object_inline_digest_2981;
11115
- var JSCompiler_object_inline_stack_2982 = workInProgress.pendingProps;
11135
+ var JSCompiler_object_inline_digest_2982;
11136
+ var JSCompiler_object_inline_stack_2983 = workInProgress.pendingProps;
11116
11137
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
11117
- var JSCompiler_object_inline_message_2980 = !1;
11138
+ var JSCompiler_object_inline_message_2981 = !1;
11118
11139
  var didSuspend = 0 !== (workInProgress.flags & 128);
11119
- (JSCompiler_object_inline_digest_2981 = didSuspend) ||
11120
- (JSCompiler_object_inline_digest_2981 =
11140
+ (JSCompiler_object_inline_digest_2982 = didSuspend) ||
11141
+ (JSCompiler_object_inline_digest_2982 =
11121
11142
  null !== current && null === current.memoizedState
11122
11143
  ? !1
11123
11144
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
11124
- JSCompiler_object_inline_digest_2981 &&
11125
- ((JSCompiler_object_inline_message_2980 = !0),
11145
+ JSCompiler_object_inline_digest_2982 &&
11146
+ ((JSCompiler_object_inline_message_2981 = !0),
11126
11147
  (workInProgress.flags &= -129));
11127
- JSCompiler_object_inline_digest_2981 = 0 !== (workInProgress.flags & 32);
11148
+ JSCompiler_object_inline_digest_2982 = 0 !== (workInProgress.flags & 32);
11128
11149
  workInProgress.flags &= -33;
11129
11150
  if (null === current) {
11130
11151
  if (isHydrating) {
11131
- JSCompiler_object_inline_message_2980
11152
+ JSCompiler_object_inline_message_2981
11132
11153
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
11133
11154
  : reuseSuspenseHandlerOnStack(workInProgress);
11134
11155
  (current = nextHydratableInstance)
@@ -11141,18 +11162,18 @@
11141
11162
  ? renderLanes
11142
11163
  : null),
11143
11164
  null !== renderLanes &&
11144
- ((JSCompiler_object_inline_digest_2981 = {
11165
+ ((JSCompiler_object_inline_digest_2982 = {
11145
11166
  dehydrated: renderLanes,
11146
11167
  treeContext: getSuspendedTreeContext(),
11147
11168
  retryLane: 536870912,
11148
11169
  hydrationErrors: null
11149
11170
  }),
11150
11171
  (workInProgress.memoizedState =
11151
- JSCompiler_object_inline_digest_2981),
11152
- (JSCompiler_object_inline_digest_2981 =
11172
+ JSCompiler_object_inline_digest_2982),
11173
+ (JSCompiler_object_inline_digest_2982 =
11153
11174
  createFiberFromDehydratedFragment(renderLanes)),
11154
- (JSCompiler_object_inline_digest_2981.return = workInProgress),
11155
- (workInProgress.child = JSCompiler_object_inline_digest_2981),
11175
+ (JSCompiler_object_inline_digest_2982.return = workInProgress),
11176
+ (workInProgress.child = JSCompiler_object_inline_digest_2982),
11156
11177
  (hydrationParentFiber = workInProgress),
11157
11178
  (nextHydratableInstance = null)))
11158
11179
  : (renderLanes = null);
@@ -11166,39 +11187,39 @@
11166
11187
  : (workInProgress.lanes = 536870912);
11167
11188
  return null;
11168
11189
  }
11169
- var nextPrimaryChildren = JSCompiler_object_inline_stack_2982.children;
11170
- JSCompiler_object_inline_stack_2982 =
11171
- JSCompiler_object_inline_stack_2982.fallback;
11172
- if (JSCompiler_object_inline_message_2980) {
11190
+ var nextPrimaryChildren = JSCompiler_object_inline_stack_2983.children;
11191
+ JSCompiler_object_inline_stack_2983 =
11192
+ JSCompiler_object_inline_stack_2983.fallback;
11193
+ if (JSCompiler_object_inline_message_2981) {
11173
11194
  reuseSuspenseHandlerOnStack(workInProgress);
11174
11195
  var mode = workInProgress.mode;
11175
11196
  nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
11176
11197
  { mode: "hidden", children: nextPrimaryChildren },
11177
11198
  mode
11178
11199
  );
11179
- JSCompiler_object_inline_stack_2982 = createFiberFromFragment(
11180
- JSCompiler_object_inline_stack_2982,
11200
+ JSCompiler_object_inline_stack_2983 = createFiberFromFragment(
11201
+ JSCompiler_object_inline_stack_2983,
11181
11202
  mode,
11182
11203
  renderLanes,
11183
11204
  null
11184
11205
  );
11185
11206
  nextPrimaryChildren.return = workInProgress;
11186
- JSCompiler_object_inline_stack_2982.return = workInProgress;
11187
- nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2982;
11207
+ JSCompiler_object_inline_stack_2983.return = workInProgress;
11208
+ nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2983;
11188
11209
  workInProgress.child = nextPrimaryChildren;
11189
- JSCompiler_object_inline_stack_2982 = workInProgress.child;
11190
- JSCompiler_object_inline_stack_2982.memoizedState =
11210
+ JSCompiler_object_inline_stack_2983 = workInProgress.child;
11211
+ JSCompiler_object_inline_stack_2983.memoizedState =
11191
11212
  mountSuspenseOffscreenState(renderLanes);
11192
- JSCompiler_object_inline_stack_2982.childLanes =
11213
+ JSCompiler_object_inline_stack_2983.childLanes =
11193
11214
  getRemainingWorkInPrimaryTree(
11194
11215
  current,
11195
- JSCompiler_object_inline_digest_2981,
11216
+ JSCompiler_object_inline_digest_2982,
11196
11217
  renderLanes
11197
11218
  );
11198
11219
  workInProgress.memoizedState = SUSPENDED_MARKER;
11199
11220
  return bailoutOffscreenComponent(
11200
11221
  null,
11201
- JSCompiler_object_inline_stack_2982
11222
+ JSCompiler_object_inline_stack_2983
11202
11223
  );
11203
11224
  }
11204
11225
  pushPrimaryTreeSuspenseHandler(workInProgress);
@@ -11209,8 +11230,8 @@
11209
11230
  }
11210
11231
  var prevState = current.memoizedState;
11211
11232
  if (null !== prevState) {
11212
- var JSCompiler_object_inline_componentStack_2983 = prevState.dehydrated;
11213
- if (null !== JSCompiler_object_inline_componentStack_2983) {
11233
+ var JSCompiler_object_inline_componentStack_2984 = prevState.dehydrated;
11234
+ if (null !== JSCompiler_object_inline_componentStack_2984) {
11214
11235
  if (didSuspend)
11215
11236
  workInProgress.flags & 256
11216
11237
  ? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -11227,13 +11248,13 @@
11227
11248
  (workInProgress = null))
11228
11249
  : (reuseSuspenseHandlerOnStack(workInProgress),
11229
11250
  (nextPrimaryChildren =
11230
- JSCompiler_object_inline_stack_2982.fallback),
11251
+ JSCompiler_object_inline_stack_2983.fallback),
11231
11252
  (mode = workInProgress.mode),
11232
- (JSCompiler_object_inline_stack_2982 =
11253
+ (JSCompiler_object_inline_stack_2983 =
11233
11254
  mountWorkInProgressOffscreenFiber(
11234
11255
  {
11235
11256
  mode: "visible",
11236
- children: JSCompiler_object_inline_stack_2982.children
11257
+ children: JSCompiler_object_inline_stack_2983.children
11237
11258
  },
11238
11259
  mode
11239
11260
  )),
@@ -11244,30 +11265,30 @@
11244
11265
  null
11245
11266
  )),
11246
11267
  (nextPrimaryChildren.flags |= 2),
11247
- (JSCompiler_object_inline_stack_2982.return = workInProgress),
11268
+ (JSCompiler_object_inline_stack_2983.return = workInProgress),
11248
11269
  (nextPrimaryChildren.return = workInProgress),
11249
- (JSCompiler_object_inline_stack_2982.sibling =
11270
+ (JSCompiler_object_inline_stack_2983.sibling =
11250
11271
  nextPrimaryChildren),
11251
- (workInProgress.child = JSCompiler_object_inline_stack_2982),
11272
+ (workInProgress.child = JSCompiler_object_inline_stack_2983),
11252
11273
  reconcileChildFibers(
11253
11274
  workInProgress,
11254
11275
  current.child,
11255
11276
  null,
11256
11277
  renderLanes
11257
11278
  ),
11258
- (JSCompiler_object_inline_stack_2982 = workInProgress.child),
11259
- (JSCompiler_object_inline_stack_2982.memoizedState =
11279
+ (JSCompiler_object_inline_stack_2983 = workInProgress.child),
11280
+ (JSCompiler_object_inline_stack_2983.memoizedState =
11260
11281
  mountSuspenseOffscreenState(renderLanes)),
11261
- (JSCompiler_object_inline_stack_2982.childLanes =
11282
+ (JSCompiler_object_inline_stack_2983.childLanes =
11262
11283
  getRemainingWorkInPrimaryTree(
11263
11284
  current,
11264
- JSCompiler_object_inline_digest_2981,
11285
+ JSCompiler_object_inline_digest_2982,
11265
11286
  renderLanes
11266
11287
  )),
11267
11288
  (workInProgress.memoizedState = SUSPENDED_MARKER),
11268
11289
  (workInProgress = bailoutOffscreenComponent(
11269
11290
  null,
11270
- JSCompiler_object_inline_stack_2982
11291
+ JSCompiler_object_inline_stack_2983
11271
11292
  )));
11272
11293
  else if (
11273
11294
  (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -11275,45 +11296,45 @@
11275
11296
  0 !== (renderLanes & 536870912) &&
11276
11297
  markRenderDerivedCause(workInProgress),
11277
11298
  isSuspenseInstanceFallback(
11278
- JSCompiler_object_inline_componentStack_2983
11299
+ JSCompiler_object_inline_componentStack_2984
11279
11300
  ))
11280
11301
  ) {
11281
- JSCompiler_object_inline_digest_2981 =
11282
- JSCompiler_object_inline_componentStack_2983.nextSibling &&
11283
- JSCompiler_object_inline_componentStack_2983.nextSibling.dataset;
11284
- if (JSCompiler_object_inline_digest_2981) {
11285
- nextPrimaryChildren = JSCompiler_object_inline_digest_2981.dgst;
11286
- var message = JSCompiler_object_inline_digest_2981.msg;
11287
- mode = JSCompiler_object_inline_digest_2981.stck;
11288
- var componentStack = JSCompiler_object_inline_digest_2981.cstck;
11302
+ JSCompiler_object_inline_digest_2982 =
11303
+ JSCompiler_object_inline_componentStack_2984.nextSibling &&
11304
+ JSCompiler_object_inline_componentStack_2984.nextSibling.dataset;
11305
+ if (JSCompiler_object_inline_digest_2982) {
11306
+ nextPrimaryChildren = JSCompiler_object_inline_digest_2982.dgst;
11307
+ var message = JSCompiler_object_inline_digest_2982.msg;
11308
+ mode = JSCompiler_object_inline_digest_2982.stck;
11309
+ var componentStack = JSCompiler_object_inline_digest_2982.cstck;
11289
11310
  }
11290
- JSCompiler_object_inline_message_2980 = message;
11291
- JSCompiler_object_inline_digest_2981 = nextPrimaryChildren;
11292
- JSCompiler_object_inline_stack_2982 = mode;
11293
- JSCompiler_object_inline_componentStack_2983 = componentStack;
11294
- nextPrimaryChildren = JSCompiler_object_inline_message_2980;
11295
- mode = JSCompiler_object_inline_componentStack_2983;
11311
+ JSCompiler_object_inline_message_2981 = message;
11312
+ JSCompiler_object_inline_digest_2982 = nextPrimaryChildren;
11313
+ JSCompiler_object_inline_stack_2983 = mode;
11314
+ JSCompiler_object_inline_componentStack_2984 = componentStack;
11315
+ nextPrimaryChildren = JSCompiler_object_inline_message_2981;
11316
+ mode = JSCompiler_object_inline_componentStack_2984;
11296
11317
  nextPrimaryChildren = nextPrimaryChildren
11297
11318
  ? Error(nextPrimaryChildren)
11298
11319
  : Error(
11299
11320
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
11300
11321
  );
11301
11322
  nextPrimaryChildren.stack =
11302
- JSCompiler_object_inline_stack_2982 || "";
11303
- nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2981;
11304
- JSCompiler_object_inline_digest_2981 =
11323
+ JSCompiler_object_inline_stack_2983 || "";
11324
+ nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2982;
11325
+ JSCompiler_object_inline_digest_2982 =
11305
11326
  void 0 === mode ? null : mode;
11306
- JSCompiler_object_inline_stack_2982 = {
11327
+ JSCompiler_object_inline_stack_2983 = {
11307
11328
  value: nextPrimaryChildren,
11308
11329
  source: null,
11309
- stack: JSCompiler_object_inline_digest_2981
11330
+ stack: JSCompiler_object_inline_digest_2982
11310
11331
  };
11311
- "string" === typeof JSCompiler_object_inline_digest_2981 &&
11332
+ "string" === typeof JSCompiler_object_inline_digest_2982 &&
11312
11333
  CapturedStacks.set(
11313
11334
  nextPrimaryChildren,
11314
- JSCompiler_object_inline_stack_2982
11335
+ JSCompiler_object_inline_stack_2983
11315
11336
  );
11316
- queueHydrationError(JSCompiler_object_inline_stack_2982);
11337
+ queueHydrationError(JSCompiler_object_inline_stack_2983);
11317
11338
  workInProgress = retrySuspenseComponentWithoutHydrating(
11318
11339
  current,
11319
11340
  workInProgress,
@@ -11327,35 +11348,35 @@
11327
11348
  renderLanes,
11328
11349
  !1
11329
11350
  ),
11330
- (JSCompiler_object_inline_digest_2981 =
11351
+ (JSCompiler_object_inline_digest_2982 =
11331
11352
  0 !== (renderLanes & current.childLanes)),
11332
- didReceiveUpdate || JSCompiler_object_inline_digest_2981)
11353
+ didReceiveUpdate || JSCompiler_object_inline_digest_2982)
11333
11354
  ) {
11334
- JSCompiler_object_inline_digest_2981 = workInProgressRoot;
11355
+ JSCompiler_object_inline_digest_2982 = workInProgressRoot;
11335
11356
  if (
11336
- null !== JSCompiler_object_inline_digest_2981 &&
11337
- ((JSCompiler_object_inline_stack_2982 = getBumpedLaneForHydration(
11338
- JSCompiler_object_inline_digest_2981,
11357
+ null !== JSCompiler_object_inline_digest_2982 &&
11358
+ ((JSCompiler_object_inline_stack_2983 = getBumpedLaneForHydration(
11359
+ JSCompiler_object_inline_digest_2982,
11339
11360
  renderLanes
11340
11361
  )),
11341
- 0 !== JSCompiler_object_inline_stack_2982 &&
11342
- JSCompiler_object_inline_stack_2982 !== prevState.retryLane)
11362
+ 0 !== JSCompiler_object_inline_stack_2983 &&
11363
+ JSCompiler_object_inline_stack_2983 !== prevState.retryLane)
11343
11364
  )
11344
11365
  throw (
11345
- ((prevState.retryLane = JSCompiler_object_inline_stack_2982),
11366
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2983),
11346
11367
  enqueueConcurrentRenderForLane(
11347
11368
  current,
11348
- JSCompiler_object_inline_stack_2982
11369
+ JSCompiler_object_inline_stack_2983
11349
11370
  ),
11350
11371
  scheduleUpdateOnFiber(
11351
- JSCompiler_object_inline_digest_2981,
11372
+ JSCompiler_object_inline_digest_2982,
11352
11373
  current,
11353
- JSCompiler_object_inline_stack_2982
11374
+ JSCompiler_object_inline_stack_2983
11354
11375
  ),
11355
11376
  SelectiveHydrationException)
11356
11377
  );
11357
11378
  isSuspenseInstancePending(
11358
- JSCompiler_object_inline_componentStack_2983
11379
+ JSCompiler_object_inline_componentStack_2984
11359
11380
  ) || renderDidSuspendDelayIfPossible();
11360
11381
  workInProgress = retrySuspenseComponentWithoutHydrating(
11361
11382
  current,
@@ -11364,14 +11385,14 @@
11364
11385
  );
11365
11386
  } else
11366
11387
  isSuspenseInstancePending(
11367
- JSCompiler_object_inline_componentStack_2983
11388
+ JSCompiler_object_inline_componentStack_2984
11368
11389
  )
11369
11390
  ? ((workInProgress.flags |= 192),
11370
11391
  (workInProgress.child = current.child),
11371
11392
  (workInProgress = null))
11372
11393
  : ((current = prevState.treeContext),
11373
11394
  (nextHydratableInstance = getNextHydratable(
11374
- JSCompiler_object_inline_componentStack_2983.nextSibling
11395
+ JSCompiler_object_inline_componentStack_2984.nextSibling
11375
11396
  )),
11376
11397
  (hydrationParentFiber = workInProgress),
11377
11398
  (isHydrating = !0),
@@ -11383,32 +11404,32 @@
11383
11404
  restoreSuspendedTreeContext(workInProgress, current),
11384
11405
  (workInProgress = mountSuspensePrimaryChildren(
11385
11406
  workInProgress,
11386
- JSCompiler_object_inline_stack_2982.children
11407
+ JSCompiler_object_inline_stack_2983.children
11387
11408
  )),
11388
11409
  (workInProgress.flags |= 4096));
11389
11410
  return workInProgress;
11390
11411
  }
11391
11412
  }
11392
- if (JSCompiler_object_inline_message_2980)
11413
+ if (JSCompiler_object_inline_message_2981)
11393
11414
  return (
11394
11415
  reuseSuspenseHandlerOnStack(workInProgress),
11395
- (nextPrimaryChildren = JSCompiler_object_inline_stack_2982.fallback),
11416
+ (nextPrimaryChildren = JSCompiler_object_inline_stack_2983.fallback),
11396
11417
  (mode = workInProgress.mode),
11397
11418
  (componentStack = current.child),
11398
- (JSCompiler_object_inline_componentStack_2983 =
11419
+ (JSCompiler_object_inline_componentStack_2984 =
11399
11420
  componentStack.sibling),
11400
- (JSCompiler_object_inline_stack_2982 = createWorkInProgress(
11421
+ (JSCompiler_object_inline_stack_2983 = createWorkInProgress(
11401
11422
  componentStack,
11402
11423
  {
11403
11424
  mode: "hidden",
11404
- children: JSCompiler_object_inline_stack_2982.children
11425
+ children: JSCompiler_object_inline_stack_2983.children
11405
11426
  }
11406
11427
  )),
11407
- (JSCompiler_object_inline_stack_2982.subtreeFlags =
11428
+ (JSCompiler_object_inline_stack_2983.subtreeFlags =
11408
11429
  componentStack.subtreeFlags & 65011712),
11409
- null !== JSCompiler_object_inline_componentStack_2983
11430
+ null !== JSCompiler_object_inline_componentStack_2984
11410
11431
  ? (nextPrimaryChildren = createWorkInProgress(
11411
- JSCompiler_object_inline_componentStack_2983,
11432
+ JSCompiler_object_inline_componentStack_2984,
11412
11433
  nextPrimaryChildren
11413
11434
  ))
11414
11435
  : ((nextPrimaryChildren = createFiberFromFragment(
@@ -11419,11 +11440,11 @@
11419
11440
  )),
11420
11441
  (nextPrimaryChildren.flags |= 2)),
11421
11442
  (nextPrimaryChildren.return = workInProgress),
11422
- (JSCompiler_object_inline_stack_2982.return = workInProgress),
11423
- (JSCompiler_object_inline_stack_2982.sibling = nextPrimaryChildren),
11424
- (workInProgress.child = JSCompiler_object_inline_stack_2982),
11425
- bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2982),
11426
- (JSCompiler_object_inline_stack_2982 = workInProgress.child),
11443
+ (JSCompiler_object_inline_stack_2983.return = workInProgress),
11444
+ (JSCompiler_object_inline_stack_2983.sibling = nextPrimaryChildren),
11445
+ (workInProgress.child = JSCompiler_object_inline_stack_2983),
11446
+ bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2983),
11447
+ (JSCompiler_object_inline_stack_2983 = workInProgress.child),
11427
11448
  (nextPrimaryChildren = current.child.memoizedState),
11428
11449
  null === nextPrimaryChildren
11429
11450
  ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
@@ -11439,18 +11460,18 @@
11439
11460
  baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
11440
11461
  cachePool: mode
11441
11462
  })),
11442
- (JSCompiler_object_inline_stack_2982.memoizedState =
11463
+ (JSCompiler_object_inline_stack_2983.memoizedState =
11443
11464
  nextPrimaryChildren),
11444
- (JSCompiler_object_inline_stack_2982.childLanes =
11465
+ (JSCompiler_object_inline_stack_2983.childLanes =
11445
11466
  getRemainingWorkInPrimaryTree(
11446
11467
  current,
11447
- JSCompiler_object_inline_digest_2981,
11468
+ JSCompiler_object_inline_digest_2982,
11448
11469
  renderLanes
11449
11470
  )),
11450
11471
  (workInProgress.memoizedState = SUSPENDED_MARKER),
11451
11472
  bailoutOffscreenComponent(
11452
11473
  current.child,
11453
- JSCompiler_object_inline_stack_2982
11474
+ JSCompiler_object_inline_stack_2983
11454
11475
  )
11455
11476
  );
11456
11477
  null !== prevState &&
@@ -11462,16 +11483,16 @@
11462
11483
  current = renderLanes.sibling;
11463
11484
  renderLanes = createWorkInProgress(renderLanes, {
11464
11485
  mode: "visible",
11465
- children: JSCompiler_object_inline_stack_2982.children
11486
+ children: JSCompiler_object_inline_stack_2983.children
11466
11487
  });
11467
11488
  renderLanes.return = workInProgress;
11468
11489
  renderLanes.sibling = null;
11469
11490
  null !== current &&
11470
- ((JSCompiler_object_inline_digest_2981 = workInProgress.deletions),
11471
- null === JSCompiler_object_inline_digest_2981
11491
+ ((JSCompiler_object_inline_digest_2982 = workInProgress.deletions),
11492
+ null === JSCompiler_object_inline_digest_2982
11472
11493
  ? ((workInProgress.deletions = [current]),
11473
11494
  (workInProgress.flags |= 16))
11474
- : JSCompiler_object_inline_digest_2981.push(current));
11495
+ : JSCompiler_object_inline_digest_2982.push(current));
11475
11496
  workInProgress.child = renderLanes;
11476
11497
  workInProgress.memoizedState = null;
11477
11498
  return renderLanes;
@@ -14786,6 +14807,8 @@
14786
14807
  flags = finishedWork.flags;
14787
14808
  switch (finishedWork.tag) {
14788
14809
  case 0:
14810
+ case 11:
14811
+ case 15:
14789
14812
  if (
14790
14813
  0 !== (flags & 4) &&
14791
14814
  ((isViewTransitionEligible = finishedWork.updateQueue),
@@ -14803,9 +14826,6 @@
14803
14826
  (current = isViewTransitionEligible[finishedWork]),
14804
14827
  (current.ref.impl = current.nextImpl);
14805
14828
  break;
14806
- case 11:
14807
- case 15:
14808
- break;
14809
14829
  case 1:
14810
14830
  0 !== (flags & 1024) &&
14811
14831
  null !== current &&
@@ -15770,7 +15790,10 @@
15770
15790
  );
15771
15791
  break;
15772
15792
  case 5:
15793
+ hoistableRoot = offscreenDirectParentIsHidden;
15794
+ offscreenDirectParentIsHidden = !1;
15773
15795
  recursivelyTraverseMutationEffects(root, finishedWork, lanes);
15796
+ offscreenDirectParentIsHidden = hoistableRoot;
15774
15797
  commitReconciliationEffects(finishedWork);
15775
15798
  flags & 512 &&
15776
15799
  (offscreenSubtreeWasHidden ||
@@ -15900,13 +15923,17 @@
15900
15923
  hoistableRoot = null !== finishedWork.memoizedState;
15901
15924
  var wasHidden = null !== current && null !== current.memoizedState,
15902
15925
  prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,
15903
- prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
15926
+ prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden,
15927
+ _prevOffscreenDirectParentIsHidden = offscreenDirectParentIsHidden;
15904
15928
  offscreenSubtreeIsHidden =
15905
15929
  prevOffscreenSubtreeIsHidden || hoistableRoot;
15930
+ offscreenDirectParentIsHidden =
15931
+ _prevOffscreenDirectParentIsHidden || hoistableRoot;
15906
15932
  offscreenSubtreeWasHidden =
15907
15933
  prevOffscreenSubtreeWasHidden || wasHidden;
15908
15934
  recursivelyTraverseMutationEffects(root, finishedWork, lanes);
15909
15935
  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
15936
+ offscreenDirectParentIsHidden = _prevOffscreenDirectParentIsHidden;
15910
15937
  offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
15911
15938
  wasHidden &&
15912
15939
  !hoistableRoot &&
@@ -15922,33 +15949,31 @@
15922
15949
  componentEffectEndTime
15923
15950
  );
15924
15951
  commitReconciliationEffects(finishedWork);
15925
- if (flags & 8192)
15926
- a: for (
15927
- root = finishedWork.stateNode,
15928
- root._visibility = hoistableRoot
15929
- ? root._visibility & ~OffscreenVisible
15930
- : root._visibility | OffscreenVisible,
15931
- !hoistableRoot ||
15932
- null === current ||
15933
- wasHidden ||
15934
- offscreenSubtreeIsHidden ||
15935
- offscreenSubtreeWasHidden ||
15936
- (recursivelyTraverseDisappearLayoutEffects(finishedWork),
15937
- (finishedWork.mode & ProfileMode) !== NoMode &&
15938
- 0 <= componentEffectStartTime &&
15939
- 0 <= componentEffectEndTime &&
15940
- 0.05 < componentEffectEndTime - componentEffectStartTime &&
15941
- logComponentTrigger(
15942
- finishedWork,
15943
- componentEffectStartTime,
15944
- componentEffectEndTime,
15945
- "Disconnect"
15946
- )),
15947
- current = null,
15948
- root = finishedWork;
15949
- ;
15950
-
15951
- ) {
15952
+ if (
15953
+ flags & 8192 &&
15954
+ ((root = finishedWork.stateNode),
15955
+ (root._visibility = hoistableRoot
15956
+ ? root._visibility & ~OffscreenVisible
15957
+ : root._visibility | OffscreenVisible),
15958
+ !hoistableRoot ||
15959
+ null === current ||
15960
+ wasHidden ||
15961
+ offscreenSubtreeIsHidden ||
15962
+ offscreenSubtreeWasHidden ||
15963
+ (recursivelyTraverseDisappearLayoutEffects(finishedWork),
15964
+ (finishedWork.mode & ProfileMode) !== NoMode &&
15965
+ 0 <= componentEffectStartTime &&
15966
+ 0 <= componentEffectEndTime &&
15967
+ 0.05 < componentEffectEndTime - componentEffectStartTime &&
15968
+ logComponentTrigger(
15969
+ finishedWork,
15970
+ componentEffectStartTime,
15971
+ componentEffectEndTime,
15972
+ "Disconnect"
15973
+ )),
15974
+ hoistableRoot || !offscreenDirectParentIsHidden)
15975
+ )
15976
+ a: for (current = null, root = finishedWork; ; ) {
15952
15977
  if (5 === root.tag || 26 === root.tag) {
15953
15978
  if (null === current) {
15954
15979
  lanes = current = root;
@@ -18352,7 +18377,8 @@
18352
18377
  previousRenderStartTime
18353
18378
  )
18354
18379
  )
18355
- : performance.measure(isSpawnedUpdate, previousRenderStartTime));
18380
+ : performance.measure(isSpawnedUpdate, previousRenderStartTime),
18381
+ performance.clearMeasures(isSpawnedUpdate));
18356
18382
  }
18357
18383
  blockingUpdateTime = -1.1;
18358
18384
  blockingUpdateType = 0;
@@ -18489,7 +18515,8 @@
18489
18515
  previousRenderStartTime
18490
18516
  )
18491
18517
  )
18492
- : performance.measure(debugTask, previousRenderStartTime))),
18518
+ : performance.measure(debugTask, previousRenderStartTime),
18519
+ performance.clearMeasures(debugTask))),
18493
18520
  (transitionUpdateTime = transitionStartTime = -1.1),
18494
18521
  (transitionUpdateType = 0),
18495
18522
  (transitionSuspendedTime = -1.1),
@@ -27566,7 +27593,7 @@
27566
27593
  end: -0,
27567
27594
  detail: { devtools: reusableComponentDevToolDetails }
27568
27595
  },
27569
- resuableChangedPropsEntry = ["Changed Props", ""],
27596
+ reusableChangedPropsEntry = ["Changed Props", ""],
27570
27597
  DEEP_EQUALITY_WARNING =
27571
27598
  "This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",
27572
27599
  reusableDeeplyEqualPropsEntry = ["Changed Props", DEEP_EQUALITY_WARNING],
@@ -29319,6 +29346,7 @@
29319
29346
  didWarnAboutName = {},
29320
29347
  offscreenSubtreeIsHidden = !1,
29321
29348
  offscreenSubtreeWasHidden = !1,
29349
+ offscreenDirectParentIsHidden = !1,
29322
29350
  needsFormReset = !1,
29323
29351
  PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set,
29324
29352
  nextEffect = null,
@@ -30327,11 +30355,11 @@
30327
30355
  };
30328
30356
  (function () {
30329
30357
  var isomorphicReactPackageVersion = React.version;
30330
- if ("19.3.0-canary-ead92181-20251010" !== isomorphicReactPackageVersion)
30358
+ if ("19.3.0-canary-56e84692-20251014" !== isomorphicReactPackageVersion)
30331
30359
  throw Error(
30332
30360
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
30333
30361
  (isomorphicReactPackageVersion +
30334
- "\n - react-dom: 19.3.0-canary-ead92181-20251010\nLearn more: https://react.dev/warnings/version-mismatch")
30362
+ "\n - react-dom: 19.3.0-canary-56e84692-20251014\nLearn more: https://react.dev/warnings/version-mismatch")
30335
30363
  );
30336
30364
  })();
30337
30365
  ("function" === typeof Map &&
@@ -30368,10 +30396,10 @@
30368
30396
  !(function () {
30369
30397
  var internals = {
30370
30398
  bundleType: 1,
30371
- version: "19.3.0-canary-ead92181-20251010",
30399
+ version: "19.3.0-canary-56e84692-20251014",
30372
30400
  rendererPackageName: "react-dom",
30373
30401
  currentDispatcherRef: ReactSharedInternals,
30374
- reconcilerVersion: "19.3.0-canary-ead92181-20251010"
30402
+ reconcilerVersion: "19.3.0-canary-56e84692-20251014"
30375
30403
  };
30376
30404
  internals.overrideHookState = overrideHookState;
30377
30405
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30839,7 +30867,7 @@
30839
30867
  exports.useFormStatus = function () {
30840
30868
  return resolveDispatcher().useHostTransitionStatus();
30841
30869
  };
30842
- exports.version = "19.3.0-canary-ead92181-20251010";
30870
+ exports.version = "19.3.0-canary-56e84692-20251014";
30843
30871
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
30844
30872
  "function" ===
30845
30873
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&