react-dom 19.2.0-canary-23884812-20250520 → 19.2.0-canary-99efc627-20250523

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.
@@ -388,8 +388,8 @@ function getSuspenseViewTransition(parentViewTransition) {
388
388
  ? null
389
389
  : {
390
390
  update: parentViewTransition.update,
391
- enter: null,
392
- exit: null,
391
+ enter: "none",
392
+ exit: "none",
393
393
  share: parentViewTransition.update,
394
394
  name: parentViewTransition.autoName,
395
395
  autoName: parentViewTransition.autoName,
@@ -2737,16 +2737,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
2737
2737
  "\x3c/script>"
2738
2738
  ));
2739
2739
  bootstrapScriptContent = idPrefix + "P:";
2740
- var JSCompiler_object_inline_segmentPrefix_1636 = idPrefix + "S:";
2740
+ var JSCompiler_object_inline_segmentPrefix_1654 = idPrefix + "S:";
2741
2741
  idPrefix += "B:";
2742
- var JSCompiler_object_inline_preconnects_1649 = new Set(),
2743
- JSCompiler_object_inline_fontPreloads_1650 = new Set(),
2744
- JSCompiler_object_inline_highImagePreloads_1651 = new Set(),
2745
- JSCompiler_object_inline_styles_1652 = new Map(),
2746
- JSCompiler_object_inline_bootstrapScripts_1653 = new Set(),
2747
- JSCompiler_object_inline_scripts_1654 = new Set(),
2748
- JSCompiler_object_inline_bulkPreloads_1655 = new Set(),
2749
- JSCompiler_object_inline_preloads_1656 = {
2742
+ var JSCompiler_object_inline_preconnects_1667 = new Set(),
2743
+ JSCompiler_object_inline_fontPreloads_1668 = new Set(),
2744
+ JSCompiler_object_inline_highImagePreloads_1669 = new Set(),
2745
+ JSCompiler_object_inline_styles_1670 = new Map(),
2746
+ JSCompiler_object_inline_bootstrapScripts_1671 = new Set(),
2747
+ JSCompiler_object_inline_scripts_1672 = new Set(),
2748
+ JSCompiler_object_inline_bulkPreloads_1673 = new Set(),
2749
+ JSCompiler_object_inline_preloads_1674 = {
2750
2750
  images: new Map(),
2751
2751
  stylesheets: new Map(),
2752
2752
  scripts: new Map(),
@@ -2783,7 +2783,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2783
2783
  scriptConfig.moduleScriptResources[href] = null;
2784
2784
  scriptConfig = [];
2785
2785
  pushLinkImpl(scriptConfig, props);
2786
- JSCompiler_object_inline_bootstrapScripts_1653.add(scriptConfig);
2786
+ JSCompiler_object_inline_bootstrapScripts_1671.add(scriptConfig);
2787
2787
  bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
2788
2788
  "string" === typeof integrity &&
2789
2789
  bootstrapChunks.push(
@@ -2830,7 +2830,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2830
2830
  (props.moduleScriptResources[scriptConfig] = null),
2831
2831
  (props = []),
2832
2832
  pushLinkImpl(props, integrity),
2833
- JSCompiler_object_inline_bootstrapScripts_1653.add(props),
2833
+ JSCompiler_object_inline_bootstrapScripts_1671.add(props),
2834
2834
  bootstrapChunks.push(
2835
2835
  '<script type="module" src="',
2836
2836
  escapeTextForBrowser(i),
@@ -2852,7 +2852,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2852
2852
  bootstrapChunks.push(' async="">\x3c/script>');
2853
2853
  return {
2854
2854
  placeholderPrefix: bootstrapScriptContent,
2855
- segmentPrefix: JSCompiler_object_inline_segmentPrefix_1636,
2855
+ segmentPrefix: JSCompiler_object_inline_segmentPrefix_1654,
2856
2856
  boundaryPrefix: idPrefix,
2857
2857
  startInlineScript: "<script",
2858
2858
  preamble: { htmlChunks: null, headChunks: null, bodyChunks: null },
@@ -2871,14 +2871,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
2871
2871
  charsetChunks: [],
2872
2872
  viewportChunks: [],
2873
2873
  hoistableChunks: [],
2874
- preconnects: JSCompiler_object_inline_preconnects_1649,
2875
- fontPreloads: JSCompiler_object_inline_fontPreloads_1650,
2876
- highImagePreloads: JSCompiler_object_inline_highImagePreloads_1651,
2877
- styles: JSCompiler_object_inline_styles_1652,
2878
- bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1653,
2879
- scripts: JSCompiler_object_inline_scripts_1654,
2880
- bulkPreloads: JSCompiler_object_inline_bulkPreloads_1655,
2881
- preloads: JSCompiler_object_inline_preloads_1656,
2874
+ preconnects: JSCompiler_object_inline_preconnects_1667,
2875
+ fontPreloads: JSCompiler_object_inline_fontPreloads_1668,
2876
+ highImagePreloads: JSCompiler_object_inline_highImagePreloads_1669,
2877
+ styles: JSCompiler_object_inline_styles_1670,
2878
+ bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1671,
2879
+ scripts: JSCompiler_object_inline_scripts_1672,
2880
+ bulkPreloads: JSCompiler_object_inline_bulkPreloads_1673,
2881
+ preloads: JSCompiler_object_inline_preloads_1674,
2882
2882
  stylesToHoist: !1,
2883
2883
  generateStaticMarkup: generateStaticMarkup
2884
2884
  };
@@ -5209,15 +5209,15 @@ function renderNode(request, task, node, childIndex) {
5209
5209
  chunkLength = segment.chunks.length;
5210
5210
  try {
5211
5211
  return renderNodeDestructive(request, task, node, childIndex);
5212
- } catch (thrownValue$59) {
5212
+ } catch (thrownValue$60) {
5213
5213
  if (
5214
5214
  (resetHooksState(),
5215
5215
  (segment.children.length = childrenLength),
5216
5216
  (segment.chunks.length = chunkLength),
5217
5217
  (node =
5218
- thrownValue$59 === SuspenseException
5218
+ thrownValue$60 === SuspenseException
5219
5219
  ? getSuspendedThenable()
5220
- : thrownValue$59),
5220
+ : thrownValue$60),
5221
5221
  "object" === typeof node && null !== node)
5222
5222
  ) {
5223
5223
  if ("function" === typeof node.then) {
@@ -5461,62 +5461,120 @@ function queueCompletedSegment(boundary, segment) {
5461
5461
  1 === childSegment.status && queueCompletedSegment(boundary, childSegment);
5462
5462
  } else boundary.completedSegments.push(segment);
5463
5463
  }
5464
- function finishedTask(request, boundary, row, segment) {
5464
+ function finishedTask(request$jscomp$0, boundary, row, segment) {
5465
5465
  null !== row &&
5466
5466
  (0 === --row.pendingTasks
5467
- ? finishSuspenseListRow(request, row)
5468
- : row.together && tryToResolveTogetherRow(request, row));
5469
- request.allPendingTasks--;
5467
+ ? finishSuspenseListRow(request$jscomp$0, row)
5468
+ : row.together && tryToResolveTogetherRow(request$jscomp$0, row));
5469
+ request$jscomp$0.allPendingTasks--;
5470
5470
  if (null === boundary) {
5471
5471
  if (null !== segment && segment.parentFlushed) {
5472
- if (null !== request.completedRootSegment)
5472
+ if (null !== request$jscomp$0.completedRootSegment)
5473
5473
  throw Error(
5474
5474
  "There can only be one root segment. This is a bug in React."
5475
5475
  );
5476
- request.completedRootSegment = segment;
5476
+ request$jscomp$0.completedRootSegment = segment;
5477
5477
  }
5478
- request.pendingRootTasks--;
5479
- 0 === request.pendingRootTasks && completeShell(request);
5480
- } else
5481
- boundary.pendingTasks--,
5482
- 4 !== boundary.status &&
5483
- (0 === boundary.pendingTasks
5484
- ? (0 === boundary.status && (boundary.status = 1),
5485
- null !== segment &&
5486
- segment.parentFlushed &&
5487
- 1 === segment.status &&
5488
- queueCompletedSegment(boundary, segment),
5489
- boundary.parentFlushed &&
5490
- request.completedBoundaries.push(boundary),
5491
- 1 === boundary.status &&
5492
- ((row = boundary.row),
5493
- null !== row &&
5494
- hoistHoistables(row.hoistables, boundary.contentState),
5495
- 500 < boundary.byteSize ||
5496
- (boundary.fallbackAbortableTasks.forEach(
5497
- abortTaskSoft,
5498
- request
5499
- ),
5500
- boundary.fallbackAbortableTasks.clear(),
5501
- null !== row &&
5502
- 0 === --row.pendingTasks &&
5503
- finishSuspenseListRow(request, row)),
5504
- 0 === request.pendingRootTasks &&
5505
- null === request.trackedPostpones &&
5506
- null !== boundary.contentPreamble &&
5507
- preparePreamble(request)))
5508
- : (null !== segment &&
5509
- segment.parentFlushed &&
5510
- 1 === segment.status &&
5511
- (queueCompletedSegment(boundary, segment),
5512
- 1 === boundary.completedSegments.length &&
5513
- boundary.parentFlushed &&
5514
- request.partialBoundaries.push(boundary)),
5515
- (boundary = boundary.row),
5516
- null !== boundary &&
5517
- boundary.together &&
5518
- tryToResolveTogetherRow(request, boundary)));
5519
- 0 === request.allPendingTasks && completeAll(request);
5478
+ request$jscomp$0.pendingRootTasks--;
5479
+ 0 === request$jscomp$0.pendingRootTasks && completeShell(request$jscomp$0);
5480
+ } else if ((boundary.pendingTasks--, 4 !== boundary.status))
5481
+ if (0 === boundary.pendingTasks)
5482
+ if (
5483
+ (0 === boundary.status && (boundary.status = 1),
5484
+ null !== segment &&
5485
+ segment.parentFlushed &&
5486
+ 1 === segment.status &&
5487
+ queueCompletedSegment(boundary, segment),
5488
+ boundary.parentFlushed &&
5489
+ request$jscomp$0.completedBoundaries.push(boundary),
5490
+ 1 === boundary.status)
5491
+ )
5492
+ (row = boundary.row),
5493
+ null !== row &&
5494
+ hoistHoistables(row.hoistables, boundary.contentState),
5495
+ 500 < boundary.byteSize ||
5496
+ (boundary.fallbackAbortableTasks.forEach(
5497
+ abortTaskSoft,
5498
+ request$jscomp$0
5499
+ ),
5500
+ boundary.fallbackAbortableTasks.clear(),
5501
+ null !== row &&
5502
+ 0 === --row.pendingTasks &&
5503
+ finishSuspenseListRow(request$jscomp$0, row)),
5504
+ 0 === request$jscomp$0.pendingRootTasks &&
5505
+ null === request$jscomp$0.trackedPostpones &&
5506
+ null !== boundary.contentPreamble &&
5507
+ preparePreamble(request$jscomp$0);
5508
+ else {
5509
+ if (
5510
+ 5 === boundary.status &&
5511
+ ((boundary = boundary.row), null !== boundary)
5512
+ ) {
5513
+ if (null !== request$jscomp$0.trackedPostpones) {
5514
+ row = request$jscomp$0.trackedPostpones;
5515
+ var postponedRow = boundary.next;
5516
+ if (
5517
+ null !== postponedRow &&
5518
+ ((segment = postponedRow.boundaries), null !== segment)
5519
+ )
5520
+ for (
5521
+ postponedRow.boundaries = null, postponedRow = 0;
5522
+ postponedRow < segment.length;
5523
+ postponedRow++
5524
+ ) {
5525
+ var postponedBoundary = segment[postponedRow];
5526
+ var request = request$jscomp$0,
5527
+ trackedPostpones = row;
5528
+ postponedBoundary.status = 5;
5529
+ postponedBoundary.rootSegmentID = request.nextSegmentId++;
5530
+ request = postponedBoundary.trackedContentKeyPath;
5531
+ if (null === request)
5532
+ throw Error(
5533
+ "It should not be possible to postpone at the root. This is a bug in React."
5534
+ );
5535
+ var fallbackReplayNode = postponedBoundary.trackedFallbackNode,
5536
+ children = [],
5537
+ boundaryNode = trackedPostpones.workingMap.get(request);
5538
+ void 0 === boundaryNode
5539
+ ? ((fallbackReplayNode = [
5540
+ request[1],
5541
+ request[2],
5542
+ children,
5543
+ null,
5544
+ fallbackReplayNode,
5545
+ postponedBoundary.rootSegmentID
5546
+ ]),
5547
+ trackedPostpones.workingMap.set(
5548
+ request,
5549
+ fallbackReplayNode
5550
+ ),
5551
+ addToReplayParent(
5552
+ fallbackReplayNode,
5553
+ request[0],
5554
+ trackedPostpones
5555
+ ))
5556
+ : ((boundaryNode[4] = fallbackReplayNode),
5557
+ (boundaryNode[5] = postponedBoundary.rootSegmentID));
5558
+ finishedTask(request$jscomp$0, postponedBoundary, null, null);
5559
+ }
5560
+ }
5561
+ 0 === --boundary.pendingTasks &&
5562
+ finishSuspenseListRow(request$jscomp$0, boundary);
5563
+ }
5564
+ }
5565
+ else
5566
+ null !== segment &&
5567
+ segment.parentFlushed &&
5568
+ 1 === segment.status &&
5569
+ (queueCompletedSegment(boundary, segment),
5570
+ 1 === boundary.completedSegments.length &&
5571
+ boundary.parentFlushed &&
5572
+ request$jscomp$0.partialBoundaries.push(boundary)),
5573
+ (boundary = boundary.row),
5574
+ null !== boundary &&
5575
+ boundary.together &&
5576
+ tryToResolveTogetherRow(request$jscomp$0, boundary);
5577
+ 0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
5520
5578
  }
5521
5579
  function performWork(request$jscomp$2) {
5522
5580
  if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) {
@@ -5959,7 +6017,7 @@ function flushCompletedBoundary(request, destination, boundary) {
5959
6017
  0 === (completedSegments.instructions & 2) &&
5960
6018
  ((completedSegments.instructions |= 2),
5961
6019
  destination.push(
5962
- '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
6020
+ '$RB=[];$RV=function(c){$RT=performance.now();for(var a=0;a<c.length;a+=2){var b=c[a],h=c[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}c.length=0};$RC=function(c,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),c=document.getElementById(c))c.previousSibling.data="$~",$RB.push(c,a),2===$RB.length&&setTimeout($RV.bind(null,$RB),("number"!==typeof $RT?0:$RT)+300-performance.now())};'
5963
6021
  )),
5964
6022
  0 === (completedSegments.instructions & 8)
5965
6023
  ? ((completedSegments.instructions |= 8),
@@ -5970,7 +6028,7 @@ function flushCompletedBoundary(request, destination, boundary) {
5970
6028
  : (0 === (completedSegments.instructions & 2) &&
5971
6029
  ((completedSegments.instructions |= 2),
5972
6030
  destination.push(
5973
- '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
6031
+ '$RB=[];$RV=function(c){$RT=performance.now();for(var a=0;a<c.length;a+=2){var b=c[a],h=c[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}c.length=0};$RC=function(c,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),c=document.getElementById(c))c.previousSibling.data="$~",$RB.push(c,a),2===$RB.length&&setTimeout($RV.bind(null,$RB),("number"!==typeof $RT?0:$RT)+300-performance.now())};'
5974
6032
  )),
5975
6033
  destination.push('$RC("'));
5976
6034
  completedSegments = i.toString(16);
@@ -6217,12 +6275,12 @@ function flushCompletedQueues(request, destination) {
6217
6275
  completedBoundaries.splice(0, i);
6218
6276
  var partialBoundaries = request.partialBoundaries;
6219
6277
  for (i = 0; i < partialBoundaries.length; i++) {
6220
- var boundary$64 = partialBoundaries[i];
6278
+ var boundary$66 = partialBoundaries[i];
6221
6279
  a: {
6222
6280
  clientRenderedBoundaries = request;
6223
6281
  boundary = destination;
6224
- flushedByteSize = boundary$64.byteSize;
6225
- var completedSegments = boundary$64.completedSegments;
6282
+ flushedByteSize = boundary$66.byteSize;
6283
+ var completedSegments = boundary$66.completedSegments;
6226
6284
  for (
6227
6285
  JSCompiler_inline_result = 0;
6228
6286
  JSCompiler_inline_result < completedSegments.length;
@@ -6232,7 +6290,7 @@ function flushCompletedQueues(request, destination) {
6232
6290
  !flushPartiallyCompletedSegment(
6233
6291
  clientRenderedBoundaries,
6234
6292
  boundary,
6235
- boundary$64,
6293
+ boundary$66,
6236
6294
  completedSegments[JSCompiler_inline_result]
6237
6295
  )
6238
6296
  ) {
@@ -6242,10 +6300,10 @@ function flushCompletedQueues(request, destination) {
6242
6300
  break a;
6243
6301
  }
6244
6302
  completedSegments.splice(0, JSCompiler_inline_result);
6245
- var row = boundary$64.row;
6303
+ var row = boundary$66.row;
6246
6304
  null !== row &&
6247
6305
  row.together &&
6248
- 1 === boundary$64.pendingTasks &&
6306
+ 1 === boundary$66.pendingTasks &&
6249
6307
  (1 === row.pendingTasks
6250
6308
  ? unblockSuspenseListRow(
6251
6309
  clientRenderedBoundaries,
@@ -6255,7 +6313,7 @@ function flushCompletedQueues(request, destination) {
6255
6313
  : row.pendingTasks--);
6256
6314
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
6257
6315
  boundary,
6258
- boundary$64.contentState,
6316
+ boundary$66.contentState,
6259
6317
  clientRenderedBoundaries.renderState
6260
6318
  );
6261
6319
  }
@@ -6338,8 +6396,20 @@ function abort(request, reason) {
6338
6396
  }
6339
6397
  null !== request.destination &&
6340
6398
  flushCompletedQueues(request, request.destination);
6341
- } catch (error$66) {
6342
- logRecoverableError(request, error$66, {}), fatalError(request, error$66);
6399
+ } catch (error$68) {
6400
+ logRecoverableError(request, error$68, {}), fatalError(request, error$68);
6401
+ }
6402
+ }
6403
+ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
6404
+ if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
6405
+ else {
6406
+ var workingMap = trackedPostpones.workingMap,
6407
+ parentNode = workingMap.get(parentKeyPath);
6408
+ void 0 === parentNode &&
6409
+ ((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
6410
+ workingMap.set(parentKeyPath, parentNode),
6411
+ addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
6412
+ parentNode[2].push(node);
6343
6413
  }
6344
6414
  }
6345
6415
  function onError() {}
@@ -6408,4 +6478,4 @@ exports.renderToString = function (children, options) {
6408
6478
  'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
6409
6479
  );
6410
6480
  };
6411
- exports.version = "19.2.0-canary-23884812-20250520";
6481
+ exports.version = "19.2.0-canary-99efc627-20250523";
@@ -1154,8 +1154,8 @@
1154
1154
  ? null
1155
1155
  : {
1156
1156
  update: parentViewTransition.update,
1157
- enter: null,
1158
- exit: null,
1157
+ enter: "none",
1158
+ exit: "none",
1159
1159
  share: parentViewTransition.update,
1160
1160
  name: parentViewTransition.autoName,
1161
1161
  autoName: parentViewTransition.autoName,
@@ -7199,62 +7199,129 @@
7199
7199
  : (boundary.byteSize += segmentByteSize);
7200
7200
  }
7201
7201
  }
7202
- function finishedTask(request, boundary, row, segment) {
7202
+ function finishedTask(request$jscomp$0, boundary$jscomp$0, row, segment) {
7203
7203
  null !== row &&
7204
7204
  (0 === --row.pendingTasks
7205
- ? finishSuspenseListRow(request, row)
7206
- : row.together && tryToResolveTogetherRow(request, row));
7207
- request.allPendingTasks--;
7208
- if (null === boundary) {
7205
+ ? finishSuspenseListRow(request$jscomp$0, row)
7206
+ : row.together && tryToResolveTogetherRow(request$jscomp$0, row));
7207
+ request$jscomp$0.allPendingTasks--;
7208
+ if (null === boundary$jscomp$0) {
7209
7209
  if (null !== segment && segment.parentFlushed) {
7210
- if (null !== request.completedRootSegment)
7210
+ if (null !== request$jscomp$0.completedRootSegment)
7211
7211
  throw Error(
7212
7212
  "There can only be one root segment. This is a bug in React."
7213
7213
  );
7214
- request.completedRootSegment = segment;
7214
+ request$jscomp$0.completedRootSegment = segment;
7215
7215
  }
7216
- request.pendingRootTasks--;
7217
- 0 === request.pendingRootTasks && completeShell(request);
7218
- } else
7219
- boundary.pendingTasks--,
7220
- boundary.status !== CLIENT_RENDERED &&
7221
- (0 === boundary.pendingTasks
7222
- ? (boundary.status === PENDING && (boundary.status = COMPLETED),
7223
- null !== segment &&
7224
- segment.parentFlushed &&
7225
- segment.status === COMPLETED &&
7226
- queueCompletedSegment(boundary, segment),
7227
- boundary.parentFlushed &&
7228
- request.completedBoundaries.push(boundary),
7229
- boundary.status === COMPLETED &&
7230
- ((row = boundary.row),
7231
- null !== row &&
7232
- hoistHoistables(row.hoistables, boundary.contentState),
7233
- 500 < boundary.byteSize ||
7234
- (boundary.fallbackAbortableTasks.forEach(
7235
- abortTaskSoft,
7236
- request
7237
- ),
7238
- boundary.fallbackAbortableTasks.clear(),
7239
- null !== row &&
7240
- 0 === --row.pendingTasks &&
7241
- finishSuspenseListRow(request, row)),
7242
- 0 === request.pendingRootTasks &&
7243
- null === request.trackedPostpones &&
7244
- null !== boundary.contentPreamble &&
7245
- preparePreamble(request)))
7246
- : (null !== segment &&
7247
- segment.parentFlushed &&
7248
- segment.status === COMPLETED &&
7249
- (queueCompletedSegment(boundary, segment),
7250
- 1 === boundary.completedSegments.length &&
7251
- boundary.parentFlushed &&
7252
- request.partialBoundaries.push(boundary)),
7253
- (boundary = boundary.row),
7254
- null !== boundary &&
7255
- boundary.together &&
7256
- tryToResolveTogetherRow(request, boundary)));
7257
- 0 === request.allPendingTasks && completeAll(request);
7216
+ request$jscomp$0.pendingRootTasks--;
7217
+ 0 === request$jscomp$0.pendingRootTasks &&
7218
+ completeShell(request$jscomp$0);
7219
+ } else if (
7220
+ (boundary$jscomp$0.pendingTasks--,
7221
+ boundary$jscomp$0.status !== CLIENT_RENDERED)
7222
+ )
7223
+ if (0 === boundary$jscomp$0.pendingTasks)
7224
+ if (
7225
+ (boundary$jscomp$0.status === PENDING &&
7226
+ (boundary$jscomp$0.status = COMPLETED),
7227
+ null !== segment &&
7228
+ segment.parentFlushed &&
7229
+ segment.status === COMPLETED &&
7230
+ queueCompletedSegment(boundary$jscomp$0, segment),
7231
+ boundary$jscomp$0.parentFlushed &&
7232
+ request$jscomp$0.completedBoundaries.push(boundary$jscomp$0),
7233
+ boundary$jscomp$0.status === COMPLETED)
7234
+ )
7235
+ (row = boundary$jscomp$0.row),
7236
+ null !== row &&
7237
+ hoistHoistables(row.hoistables, boundary$jscomp$0.contentState),
7238
+ 500 < boundary$jscomp$0.byteSize ||
7239
+ (boundary$jscomp$0.fallbackAbortableTasks.forEach(
7240
+ abortTaskSoft,
7241
+ request$jscomp$0
7242
+ ),
7243
+ boundary$jscomp$0.fallbackAbortableTasks.clear(),
7244
+ null !== row &&
7245
+ 0 === --row.pendingTasks &&
7246
+ finishSuspenseListRow(request$jscomp$0, row)),
7247
+ 0 === request$jscomp$0.pendingRootTasks &&
7248
+ null === request$jscomp$0.trackedPostpones &&
7249
+ null !== boundary$jscomp$0.contentPreamble &&
7250
+ preparePreamble(request$jscomp$0);
7251
+ else {
7252
+ if (
7253
+ boundary$jscomp$0.status === POSTPONED &&
7254
+ ((boundary$jscomp$0 = boundary$jscomp$0.row),
7255
+ null !== boundary$jscomp$0)
7256
+ ) {
7257
+ if (null !== request$jscomp$0.trackedPostpones) {
7258
+ row = request$jscomp$0.trackedPostpones;
7259
+ var postponedRow = boundary$jscomp$0.next;
7260
+ if (
7261
+ null !== postponedRow &&
7262
+ ((segment = postponedRow.boundaries), null !== segment)
7263
+ )
7264
+ for (
7265
+ postponedRow.boundaries = null, postponedRow = 0;
7266
+ postponedRow < segment.length;
7267
+ postponedRow++
7268
+ ) {
7269
+ var postponedBoundary = segment[postponedRow];
7270
+ var request = request$jscomp$0,
7271
+ trackedPostpones = row,
7272
+ boundary = postponedBoundary;
7273
+ boundary.status = POSTPONED;
7274
+ boundary.rootSegmentID = request.nextSegmentId++;
7275
+ request = boundary.trackedContentKeyPath;
7276
+ if (null === request)
7277
+ throw Error(
7278
+ "It should not be possible to postpone at the root. This is a bug in React."
7279
+ );
7280
+ var fallbackReplayNode = boundary.trackedFallbackNode,
7281
+ children = [],
7282
+ boundaryNode = trackedPostpones.workingMap.get(request);
7283
+ void 0 === boundaryNode
7284
+ ? ((boundary = [
7285
+ request[1],
7286
+ request[2],
7287
+ children,
7288
+ null,
7289
+ fallbackReplayNode,
7290
+ boundary.rootSegmentID
7291
+ ]),
7292
+ trackedPostpones.workingMap.set(request, boundary),
7293
+ addToReplayParent(
7294
+ boundary,
7295
+ request[0],
7296
+ trackedPostpones
7297
+ ))
7298
+ : ((boundaryNode[4] = fallbackReplayNode),
7299
+ (boundaryNode[5] = boundary.rootSegmentID));
7300
+ finishedTask(
7301
+ request$jscomp$0,
7302
+ postponedBoundary,
7303
+ null,
7304
+ null
7305
+ );
7306
+ }
7307
+ }
7308
+ 0 === --boundary$jscomp$0.pendingTasks &&
7309
+ finishSuspenseListRow(request$jscomp$0, boundary$jscomp$0);
7310
+ }
7311
+ }
7312
+ else
7313
+ null !== segment &&
7314
+ segment.parentFlushed &&
7315
+ segment.status === COMPLETED &&
7316
+ (queueCompletedSegment(boundary$jscomp$0, segment),
7317
+ 1 === boundary$jscomp$0.completedSegments.length &&
7318
+ boundary$jscomp$0.parentFlushed &&
7319
+ request$jscomp$0.partialBoundaries.push(boundary$jscomp$0)),
7320
+ (boundary$jscomp$0 = boundary$jscomp$0.row),
7321
+ null !== boundary$jscomp$0 &&
7322
+ boundary$jscomp$0.together &&
7323
+ tryToResolveTogetherRow(request$jscomp$0, boundary$jscomp$0);
7324
+ 0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
7258
7325
  }
7259
7326
  function performWork(request$jscomp$2) {
7260
7327
  if (
@@ -8267,13 +8334,25 @@
8267
8334
  fatalError(request, error$4, reason, null);
8268
8335
  }
8269
8336
  }
8337
+ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
8338
+ if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
8339
+ else {
8340
+ var workingMap = trackedPostpones.workingMap,
8341
+ parentNode = workingMap.get(parentKeyPath);
8342
+ void 0 === parentNode &&
8343
+ ((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
8344
+ workingMap.set(parentKeyPath, parentNode),
8345
+ addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
8346
+ parentNode[2].push(node);
8347
+ }
8348
+ }
8270
8349
  function ensureCorrectIsomorphicReactVersion() {
8271
8350
  var isomorphicReactPackageVersion = React.version;
8272
- if ("19.2.0-canary-23884812-20250520" !== isomorphicReactPackageVersion)
8351
+ if ("19.2.0-canary-99efc627-20250523" !== isomorphicReactPackageVersion)
8273
8352
  throw Error(
8274
8353
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8275
8354
  (isomorphicReactPackageVersion +
8276
- "\n - react-dom: 19.2.0-canary-23884812-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
8355
+ "\n - react-dom: 19.2.0-canary-99efc627-20250523\nLearn more: https://react.dev/warnings/version-mismatch")
8277
8356
  );
8278
8357
  }
8279
8358
  var React = require("react"),
@@ -9506,10 +9585,10 @@
9506
9585
  stringToPrecomputedChunk('<template data-rsi="" data-sid="');
9507
9586
  stringToPrecomputedChunk('" data-pid="');
9508
9587
  var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
9509
- '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
9588
+ '$RB=[];$RV=function(c){$RT=performance.now();for(var a=0;a<c.length;a+=2){var b=c[a],h=c[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}c.length=0};$RC=function(c,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),c=document.getElementById(c))c.previousSibling.data="$~",$RB.push(c,a),2===$RB.length&&setTimeout($RV.bind(null,$RB),("number"!==typeof $RT?0:$RT)+300-performance.now())};'
9510
9589
  );
9511
9590
  stringToPrecomputedChunk(
9512
- "$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
9591
+ '$RV=function(w,f){function h(b,d){var k=b.getAttribute(d);k&&(d=b.style,l.push(b,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(b=b.getAttribute("vt-name"))||(b="\\u00abT"+F++ +"\\u00bb"),d.viewTransitionName=b,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var a=g[c];m.set(a.getAttribute("vt-name"),a)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){a=y;for(e=0;a;){if(8===a.nodeType){var p=a.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===a.nodeType){c=a;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}a=a.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;a=t;do for(var n=a.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((a=a.parentNode)&&1===a.nodeType&&"none"!==a.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:w.bind(null,\nf),types:[]});v.ready.finally(function(){for(var b=l.length-3;0<=b;b-=3){var d=l[b],k=d.style;k.viewTransitionName=l[b+1];k.viewTransitionClass=l[b+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(b){}w(f)}.bind(null,$RV);'
9513
9592
  );
9514
9593
  var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
9515
9594
  completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
@@ -9960,5 +10039,5 @@
9960
10039
  startWork(request);
9961
10040
  });
9962
10041
  };
9963
- exports.version = "19.2.0-canary-23884812-20250520";
10042
+ exports.version = "19.2.0-canary-99efc627-20250523";
9964
10043
  })();