react-dom 19.2.0-canary-4448b187-20250515 → 19.2.0-canary-c4676e72-20250520

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.
@@ -53,8 +53,15 @@ var React = require("react"),
53
53
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
54
54
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
55
55
  REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
56
- MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
57
- isArrayImpl = Array.isArray;
56
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
57
+ function getIteratorFn(maybeIterable) {
58
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
59
+ maybeIterable =
60
+ (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
61
+ maybeIterable["@@iterator"];
62
+ return "function" === typeof maybeIterable ? maybeIterable : null;
63
+ }
64
+ var isArrayImpl = Array.isArray;
58
65
  function murmurhash3_32_gc(key, seed) {
59
66
  var remainder = key.length & 3;
60
67
  var bytes = key.length - remainder;
@@ -392,7 +399,8 @@ function getSuspenseViewTransition(parentViewTransition) {
392
399
  nameIdx: 0
393
400
  };
394
401
  }
395
- function getSuspenseFallbackFormatContext(parentContext) {
402
+ function getSuspenseFallbackFormatContext(resumableState, parentContext) {
403
+ parentContext.tagScope & 32 && (resumableState.instructions |= 128);
396
404
  return createFormatContext(
397
405
  parentContext.insertionMode,
398
406
  parentContext.selectedValue,
@@ -400,7 +408,7 @@ function getSuspenseFallbackFormatContext(parentContext) {
400
408
  getSuspenseViewTransition(parentContext.viewTransition)
401
409
  );
402
410
  }
403
- function getSuspenseContentFormatContext(parentContext) {
411
+ function getSuspenseContentFormatContext(resumableState, parentContext) {
404
412
  return createFormatContext(
405
413
  parentContext.insertionMode,
406
414
  parentContext.selectedValue,
@@ -2728,17 +2736,17 @@ function createRenderState(resumableState, generateStaticMarkup) {
2728
2736
  "\x3c/script>"
2729
2737
  ));
2730
2738
  bootstrapScriptContent = idPrefix + "P:";
2731
- var JSCompiler_object_inline_segmentPrefix_1613 = idPrefix + "S:";
2739
+ var JSCompiler_object_inline_segmentPrefix_1633 = idPrefix + "S:";
2732
2740
  idPrefix += "B:";
2733
- var JSCompiler_object_inline_preamble_1616 = createPreambleState(),
2734
- JSCompiler_object_inline_preconnects_1626 = new Set(),
2735
- JSCompiler_object_inline_fontPreloads_1627 = new Set(),
2736
- JSCompiler_object_inline_highImagePreloads_1628 = new Set(),
2737
- JSCompiler_object_inline_styles_1629 = new Map(),
2738
- JSCompiler_object_inline_bootstrapScripts_1630 = new Set(),
2739
- JSCompiler_object_inline_scripts_1631 = new Set(),
2740
- JSCompiler_object_inline_bulkPreloads_1632 = new Set(),
2741
- JSCompiler_object_inline_preloads_1633 = {
2741
+ var JSCompiler_object_inline_preamble_1636 = createPreambleState(),
2742
+ JSCompiler_object_inline_preconnects_1646 = new Set(),
2743
+ JSCompiler_object_inline_fontPreloads_1647 = new Set(),
2744
+ JSCompiler_object_inline_highImagePreloads_1648 = new Set(),
2745
+ JSCompiler_object_inline_styles_1649 = new Map(),
2746
+ JSCompiler_object_inline_bootstrapScripts_1650 = new Set(),
2747
+ JSCompiler_object_inline_scripts_1651 = new Set(),
2748
+ JSCompiler_object_inline_bulkPreloads_1652 = new Set(),
2749
+ JSCompiler_object_inline_preloads_1653 = {
2742
2750
  images: new Map(),
2743
2751
  stylesheets: new Map(),
2744
2752
  scripts: new Map(),
@@ -2775,7 +2783,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2775
2783
  scriptConfig.moduleScriptResources[href] = null;
2776
2784
  scriptConfig = [];
2777
2785
  pushLinkImpl(scriptConfig, props);
2778
- JSCompiler_object_inline_bootstrapScripts_1630.add(scriptConfig);
2786
+ JSCompiler_object_inline_bootstrapScripts_1650.add(scriptConfig);
2779
2787
  bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
2780
2788
  "string" === typeof integrity &&
2781
2789
  bootstrapChunks.push(
@@ -2822,7 +2830,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2822
2830
  (props.moduleScriptResources[scriptConfig] = null),
2823
2831
  (props = []),
2824
2832
  pushLinkImpl(props, integrity),
2825
- JSCompiler_object_inline_bootstrapScripts_1630.add(props),
2833
+ JSCompiler_object_inline_bootstrapScripts_1650.add(props),
2826
2834
  bootstrapChunks.push(
2827
2835
  '<script type="module" src="',
2828
2836
  escapeTextForBrowser(i),
@@ -2844,10 +2852,10 @@ function createRenderState(resumableState, generateStaticMarkup) {
2844
2852
  bootstrapChunks.push(' async="">\x3c/script>');
2845
2853
  return {
2846
2854
  placeholderPrefix: bootstrapScriptContent,
2847
- segmentPrefix: JSCompiler_object_inline_segmentPrefix_1613,
2855
+ segmentPrefix: JSCompiler_object_inline_segmentPrefix_1633,
2848
2856
  boundaryPrefix: idPrefix,
2849
2857
  startInlineScript: "<script",
2850
- preamble: JSCompiler_object_inline_preamble_1616,
2858
+ preamble: JSCompiler_object_inline_preamble_1636,
2851
2859
  externalRuntimeScript: null,
2852
2860
  bootstrapChunks: bootstrapChunks,
2853
2861
  importMapChunks: [],
@@ -2863,14 +2871,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
2863
2871
  charsetChunks: [],
2864
2872
  viewportChunks: [],
2865
2873
  hoistableChunks: [],
2866
- preconnects: JSCompiler_object_inline_preconnects_1626,
2867
- fontPreloads: JSCompiler_object_inline_fontPreloads_1627,
2868
- highImagePreloads: JSCompiler_object_inline_highImagePreloads_1628,
2869
- styles: JSCompiler_object_inline_styles_1629,
2870
- bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1630,
2871
- scripts: JSCompiler_object_inline_scripts_1631,
2872
- bulkPreloads: JSCompiler_object_inline_bulkPreloads_1632,
2873
- preloads: JSCompiler_object_inline_preloads_1633,
2874
+ preconnects: JSCompiler_object_inline_preconnects_1646,
2875
+ fontPreloads: JSCompiler_object_inline_fontPreloads_1647,
2876
+ highImagePreloads: JSCompiler_object_inline_highImagePreloads_1648,
2877
+ styles: JSCompiler_object_inline_styles_1649,
2878
+ bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1650,
2879
+ scripts: JSCompiler_object_inline_scripts_1651,
2880
+ bulkPreloads: JSCompiler_object_inline_bulkPreloads_1652,
2881
+ preloads: JSCompiler_object_inline_preloads_1653,
2874
2882
  stylesToHoist: !1,
2875
2883
  generateStaticMarkup: generateStaticMarkup
2876
2884
  };
@@ -3735,6 +3743,7 @@ function createRequest(
3735
3743
  rootFormatContext,
3736
3744
  null,
3737
3745
  emptyTreeContext,
3746
+ null,
3738
3747
  null
3739
3748
  );
3740
3749
  pushComponentStack(children);
@@ -3750,15 +3759,17 @@ function pingTask(request, task) {
3750
3759
  }
3751
3760
  function createSuspenseBoundary(
3752
3761
  request,
3762
+ row,
3753
3763
  fallbackAbortableTasks,
3754
3764
  contentPreamble,
3755
3765
  fallbackPreamble
3756
3766
  ) {
3757
- return {
3767
+ fallbackAbortableTasks = {
3758
3768
  status: 0,
3759
3769
  rootSegmentID: -1,
3760
3770
  parentFlushed: !1,
3761
3771
  pendingTasks: 0,
3772
+ row: row,
3762
3773
  completedSegments: [],
3763
3774
  byteSize: 0,
3764
3775
  fallbackAbortableTasks: fallbackAbortableTasks,
@@ -3770,6 +3781,14 @@ function createSuspenseBoundary(
3770
3781
  trackedContentKeyPath: null,
3771
3782
  trackedFallbackNode: null
3772
3783
  };
3784
+ null !== row &&
3785
+ (row.pendingTasks++,
3786
+ (row = row.boundaries),
3787
+ null !== row &&
3788
+ (request.allPendingTasks++,
3789
+ fallbackAbortableTasks.pendingTasks++,
3790
+ row.push(fallbackAbortableTasks)));
3791
+ return fallbackAbortableTasks;
3773
3792
  }
3774
3793
  function createRenderTask(
3775
3794
  request,
@@ -3785,12 +3804,14 @@ function createRenderTask(
3785
3804
  formatContext,
3786
3805
  context,
3787
3806
  treeContext,
3807
+ row,
3788
3808
  componentStack
3789
3809
  ) {
3790
3810
  request.allPendingTasks++;
3791
3811
  null === blockedBoundary
3792
3812
  ? request.pendingRootTasks++
3793
3813
  : blockedBoundary.pendingTasks++;
3814
+ null !== row && row.pendingTasks++;
3794
3815
  var task = {
3795
3816
  replay: null,
3796
3817
  node: node,
@@ -3807,6 +3828,7 @@ function createRenderTask(
3807
3828
  formatContext: formatContext,
3808
3829
  context: context,
3809
3830
  treeContext: treeContext,
3831
+ row: row,
3810
3832
  componentStack: componentStack,
3811
3833
  thenableState: thenableState
3812
3834
  };
@@ -3826,12 +3848,14 @@ function createReplayTask(
3826
3848
  formatContext,
3827
3849
  context,
3828
3850
  treeContext,
3851
+ row,
3829
3852
  componentStack
3830
3853
  ) {
3831
3854
  request.allPendingTasks++;
3832
3855
  null === blockedBoundary
3833
3856
  ? request.pendingRootTasks++
3834
3857
  : blockedBoundary.pendingTasks++;
3858
+ null !== row && row.pendingTasks++;
3835
3859
  replay.pendingTasks++;
3836
3860
  var task = {
3837
3861
  replay: replay,
@@ -3849,6 +3873,7 @@ function createReplayTask(
3849
3873
  formatContext: formatContext,
3850
3874
  context: context,
3851
3875
  treeContext: treeContext,
3876
+ row: row,
3852
3877
  componentStack: componentStack,
3853
3878
  thenableState: thenableState
3854
3879
  };
@@ -3926,6 +3951,131 @@ function fatalError(request, error) {
3926
3951
  ? ((request.status = 14), request.destination.destroy(error))
3927
3952
  : ((request.status = 13), (request.fatalError = error));
3928
3953
  }
3954
+ function finishSuspenseListRow(request, row) {
3955
+ for (row = row.next; null !== row; ) {
3956
+ var unblockedBoundaries = row.boundaries;
3957
+ if (null !== unblockedBoundaries) {
3958
+ row.boundaries = null;
3959
+ for (var i = 0; i < unblockedBoundaries.length; i++)
3960
+ finishedTask(request, unblockedBoundaries[i], null, null);
3961
+ }
3962
+ row.pendingTasks--;
3963
+ if (0 < row.pendingTasks) break;
3964
+ row = row.next;
3965
+ }
3966
+ }
3967
+ function createSuspenseListRow(previousRow) {
3968
+ var newRow = { pendingTasks: 1, boundaries: null, next: null };
3969
+ null !== previousRow &&
3970
+ 0 < previousRow.pendingTasks &&
3971
+ (newRow.pendingTasks++,
3972
+ (newRow.boundaries = []),
3973
+ (previousRow.next = newRow));
3974
+ return newRow;
3975
+ }
3976
+ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
3977
+ keyPath = task.keyPath;
3978
+ var prevTreeContext = task.treeContext,
3979
+ prevRow = task.row,
3980
+ totalChildren = rows.length,
3981
+ previousSuspenseListRow = null;
3982
+ if (null !== task.replay) {
3983
+ var resumeSlots = task.replay.slots;
3984
+ if (null !== resumeSlots && "object" === typeof resumeSlots)
3985
+ for (var n = 0; n < totalChildren; n++) {
3986
+ var i = "backwards" !== revealOrder ? n : totalChildren - 1 - n,
3987
+ node = rows[i];
3988
+ task.row = previousSuspenseListRow = createSuspenseListRow(
3989
+ previousSuspenseListRow
3990
+ );
3991
+ task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i);
3992
+ var resumeSegmentID = resumeSlots[i];
3993
+ "number" === typeof resumeSegmentID
3994
+ ? (resumeNode(request, task, resumeSegmentID, node, i),
3995
+ delete resumeSlots[i])
3996
+ : renderNode(request, task, node, i);
3997
+ 0 === --previousSuspenseListRow.pendingTasks &&
3998
+ finishSuspenseListRow(request, previousSuspenseListRow);
3999
+ }
4000
+ else
4001
+ for (resumeSlots = 0; resumeSlots < totalChildren; resumeSlots++)
4002
+ (n =
4003
+ "backwards" !== revealOrder
4004
+ ? resumeSlots
4005
+ : totalChildren - 1 - resumeSlots),
4006
+ (i = rows[n]),
4007
+ (task.row = previousSuspenseListRow =
4008
+ createSuspenseListRow(previousSuspenseListRow)),
4009
+ (task.treeContext = pushTreeContext(
4010
+ prevTreeContext,
4011
+ totalChildren,
4012
+ n
4013
+ )),
4014
+ renderNode(request, task, i, n),
4015
+ 0 === --previousSuspenseListRow.pendingTasks &&
4016
+ finishSuspenseListRow(request, previousSuspenseListRow);
4017
+ } else if ("backwards" !== revealOrder)
4018
+ for (revealOrder = 0; revealOrder < totalChildren; revealOrder++)
4019
+ (resumeSlots = rows[revealOrder]),
4020
+ (task.row = previousSuspenseListRow =
4021
+ createSuspenseListRow(previousSuspenseListRow)),
4022
+ (task.treeContext = pushTreeContext(
4023
+ prevTreeContext,
4024
+ totalChildren,
4025
+ revealOrder
4026
+ )),
4027
+ renderNode(request, task, resumeSlots, revealOrder),
4028
+ 0 === --previousSuspenseListRow.pendingTasks &&
4029
+ finishSuspenseListRow(request, previousSuspenseListRow);
4030
+ else {
4031
+ revealOrder = task.blockedSegment;
4032
+ resumeSlots = revealOrder.children.length;
4033
+ n = revealOrder.chunks.length;
4034
+ for (i = totalChildren - 1; 0 <= i; i--) {
4035
+ node = rows[i];
4036
+ task.row = previousSuspenseListRow = createSuspenseListRow(
4037
+ previousSuspenseListRow
4038
+ );
4039
+ task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i);
4040
+ resumeSegmentID = createPendingSegment(
4041
+ request,
4042
+ n,
4043
+ null,
4044
+ task.formatContext,
4045
+ 0 === i ? revealOrder.lastPushedText : !0,
4046
+ !0
4047
+ );
4048
+ revealOrder.children.splice(resumeSlots, 0, resumeSegmentID);
4049
+ task.blockedSegment = resumeSegmentID;
4050
+ try {
4051
+ renderNode(request, task, node, i),
4052
+ pushSegmentFinale(
4053
+ resumeSegmentID.chunks,
4054
+ request.renderState,
4055
+ resumeSegmentID.lastPushedText,
4056
+ resumeSegmentID.textEmbedded
4057
+ ),
4058
+ (resumeSegmentID.status = 1),
4059
+ 0 === --previousSuspenseListRow.pendingTasks &&
4060
+ finishSuspenseListRow(request, previousSuspenseListRow);
4061
+ } catch (thrownValue) {
4062
+ throw (
4063
+ ((resumeSegmentID.status = 12 === request.status ? 3 : 4),
4064
+ thrownValue)
4065
+ );
4066
+ }
4067
+ }
4068
+ task.blockedSegment = revealOrder;
4069
+ revealOrder.lastPushedText = !1;
4070
+ }
4071
+ null !== prevRow &&
4072
+ null !== previousSuspenseListRow &&
4073
+ 0 < previousSuspenseListRow.pendingTasks &&
4074
+ (prevRow.pendingTasks++, (previousSuspenseListRow.next = prevRow));
4075
+ task.treeContext = prevTreeContext;
4076
+ task.row = prevRow;
4077
+ task.keyPath = keyPath;
4078
+ }
3929
4079
  function renderWithHooks(request, task, keyPath, Component, props, secondArg) {
3930
4080
  var prevThenableState = task.thenableState;
3931
4081
  task.thenableState = null;
@@ -3993,9 +4143,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
3993
4143
  var defaultProps = type.defaultProps;
3994
4144
  if (defaultProps) {
3995
4145
  newProps === props && (newProps = assign({}, newProps, props));
3996
- for (var propName$34 in defaultProps)
3997
- void 0 === newProps[propName$34] &&
3998
- (newProps[propName$34] = defaultProps[propName$34]);
4146
+ for (var propName$42 in defaultProps)
4147
+ void 0 === newProps[propName$42] &&
4148
+ (newProps[propName$42] = defaultProps[propName$42]);
3999
4149
  }
4000
4150
  props = newProps;
4001
4151
  newProps = emptyContextObject;
@@ -4055,16 +4205,16 @@ function renderElement(request, task, keyPath, type, props, ref) {
4055
4205
  defaultProps = ref ? type[0] : newProps.state;
4056
4206
  initialState = !0;
4057
4207
  for (ref = ref ? 1 : 0; ref < type.length; ref++)
4058
- (propName$34 = type[ref]),
4059
- (propName$34 =
4060
- "function" === typeof propName$34
4061
- ? propName$34.call(newProps, defaultProps, props, void 0)
4062
- : propName$34),
4063
- null != propName$34 &&
4208
+ (propName$42 = type[ref]),
4209
+ (propName$42 =
4210
+ "function" === typeof propName$42
4211
+ ? propName$42.call(newProps, defaultProps, props, void 0)
4212
+ : propName$42),
4213
+ null != propName$42 &&
4064
4214
  (initialState
4065
4215
  ? ((initialState = !1),
4066
- (defaultProps = assign({}, defaultProps, propName$34)))
4067
- : assign(defaultProps, propName$34));
4216
+ (defaultProps = assign({}, defaultProps, propName$42)))
4217
+ : assign(defaultProps, propName$42));
4068
4218
  newProps.state = defaultProps;
4069
4219
  }
4070
4220
  else defaultProps.queue = null;
@@ -4139,6 +4289,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4139
4289
  task.formatContext,
4140
4290
  task.context,
4141
4291
  task.treeContext,
4292
+ task.row,
4142
4293
  task.componentStack
4143
4294
  )),
4144
4295
  pushComponentStack(keyPath),
@@ -4220,10 +4371,30 @@ function renderElement(request, task, keyPath, type, props, ref) {
4220
4371
  (type.lastPushedText = !1));
4221
4372
  return;
4222
4373
  case REACT_SUSPENSE_LIST_TYPE:
4223
- type = task.keyPath;
4224
- task.keyPath = keyPath;
4225
- renderNodeDestructive(request, task, props.children, -1);
4226
- task.keyPath = type;
4374
+ a: {
4375
+ type = props.children;
4376
+ props = props.revealOrder;
4377
+ if ("forwards" === props || "backwards" === props) {
4378
+ if (isArrayImpl(type)) {
4379
+ renderSuspenseListRows(request, task, keyPath, type, props);
4380
+ break a;
4381
+ }
4382
+ if ((newProps = getIteratorFn(type)))
4383
+ if ((newProps = newProps.call(type))) {
4384
+ defaultProps = newProps.next();
4385
+ if (!defaultProps.done) {
4386
+ do defaultProps = newProps.next();
4387
+ while (!defaultProps.done);
4388
+ renderSuspenseListRows(request, task, keyPath, type, props);
4389
+ }
4390
+ break a;
4391
+ }
4392
+ }
4393
+ props = task.keyPath;
4394
+ task.keyPath = keyPath;
4395
+ renderNodeDestructive(request, task, type, -1);
4396
+ task.keyPath = props;
4397
+ }
4227
4398
  return;
4228
4399
  case REACT_VIEW_TRANSITION_TYPE:
4229
4400
  case REACT_SCOPE_TYPE:
@@ -4232,19 +4403,27 @@ function renderElement(request, task, keyPath, type, props, ref) {
4232
4403
  a: if (null !== task.replay) {
4233
4404
  type = task.keyPath;
4234
4405
  newProps = task.formatContext;
4406
+ defaultProps = task.row;
4235
4407
  task.keyPath = keyPath;
4236
- task.formatContext = getSuspenseContentFormatContext(newProps);
4408
+ task.formatContext = getSuspenseContentFormatContext(
4409
+ request.resumableState,
4410
+ newProps
4411
+ );
4412
+ task.row = null;
4237
4413
  keyPath = props.children;
4238
4414
  try {
4239
4415
  renderNode(request, task, keyPath, -1);
4240
4416
  } finally {
4241
- (task.keyPath = type), (task.formatContext = newProps);
4417
+ (task.keyPath = type),
4418
+ (task.formatContext = newProps),
4419
+ (task.row = defaultProps);
4242
4420
  }
4243
4421
  } else {
4244
4422
  type = task.keyPath;
4245
4423
  ref = task.formatContext;
4246
- var parentBoundary = task.blockedBoundary;
4247
- propName$34 = task.blockedPreamble;
4424
+ var prevRow = task.row,
4425
+ parentBoundary = task.blockedBoundary;
4426
+ propName$42 = task.blockedPreamble;
4248
4427
  var parentHoistableState = task.hoistableState;
4249
4428
  propName = task.blockedSegment;
4250
4429
  var fallback = props.fallback;
@@ -4254,11 +4433,18 @@ function renderElement(request, task, keyPath, type, props, ref) {
4254
4433
  2 > task.formatContext.insertionMode
4255
4434
  ? createSuspenseBoundary(
4256
4435
  request,
4436
+ task.row,
4257
4437
  fallbackAbortSet,
4258
4438
  createPreambleState(),
4259
4439
  createPreambleState()
4260
4440
  )
4261
- : createSuspenseBoundary(request, fallbackAbortSet, null, null);
4441
+ : createSuspenseBoundary(
4442
+ request,
4443
+ task.row,
4444
+ fallbackAbortSet,
4445
+ null,
4446
+ null
4447
+ );
4262
4448
  null !== request.trackedPostpones &&
4263
4449
  (newBoundary.trackedContentKeyPath = keyPath);
4264
4450
  var boundarySegment = createPendingSegment(
@@ -4288,7 +4474,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4288
4474
  task.blockedSegment = boundarySegment;
4289
4475
  task.blockedPreamble = newBoundary.fallbackPreamble;
4290
4476
  task.keyPath = newProps;
4291
- task.formatContext = getSuspenseFallbackFormatContext(ref);
4477
+ task.formatContext = getSuspenseFallbackFormatContext(
4478
+ request.resumableState,
4479
+ ref
4480
+ );
4292
4481
  boundarySegment.status = 6;
4293
4482
  try {
4294
4483
  renderNode(request, task, fallback, -1),
@@ -4306,7 +4495,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4306
4495
  );
4307
4496
  } finally {
4308
4497
  (task.blockedSegment = propName),
4309
- (task.blockedPreamble = propName$34),
4498
+ (task.blockedPreamble = propName$42),
4310
4499
  (task.keyPath = type),
4311
4500
  (task.formatContext = ref);
4312
4501
  }
@@ -4321,9 +4510,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
4321
4510
  newBoundary.contentState,
4322
4511
  task.abortSet,
4323
4512
  keyPath,
4324
- getSuspenseContentFormatContext(task.formatContext),
4513
+ getSuspenseContentFormatContext(
4514
+ request.resumableState,
4515
+ task.formatContext
4516
+ ),
4325
4517
  task.context,
4326
4518
  task.treeContext,
4519
+ null,
4327
4520
  task.componentStack
4328
4521
  );
4329
4522
  pushComponentStack(task);
@@ -4334,7 +4527,11 @@ function renderElement(request, task, keyPath, type, props, ref) {
4334
4527
  task.hoistableState = newBoundary.contentState;
4335
4528
  task.blockedSegment = contentRootSegment;
4336
4529
  task.keyPath = keyPath;
4337
- task.formatContext = getSuspenseContentFormatContext(ref);
4530
+ task.formatContext = getSuspenseContentFormatContext(
4531
+ request.resumableState,
4532
+ ref
4533
+ );
4534
+ task.row = null;
4338
4535
  contentRootSegment.status = 6;
4339
4536
  try {
4340
4537
  if (
@@ -4351,18 +4548,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
4351
4548
  0 === newBoundary.status &&
4352
4549
  ((newBoundary.status = 1), !(500 < newBoundary.byteSize)))
4353
4550
  ) {
4551
+ null !== prevRow &&
4552
+ 0 === --prevRow.pendingTasks &&
4553
+ finishSuspenseListRow(request, prevRow);
4354
4554
  0 === request.pendingRootTasks &&
4355
4555
  task.blockedPreamble &&
4356
4556
  preparePreamble(request);
4357
4557
  break a;
4358
4558
  }
4359
- } catch (thrownValue$29) {
4559
+ } catch (thrownValue$30) {
4360
4560
  (newBoundary.status = 4),
4361
4561
  12 === request.status
4362
4562
  ? ((contentRootSegment.status = 3),
4363
4563
  (newProps = request.fatalError))
4364
4564
  : ((contentRootSegment.status = 4),
4365
- (newProps = thrownValue$29)),
4565
+ (newProps = thrownValue$30)),
4366
4566
  (defaultProps = getThrownInfo(task.componentStack)),
4367
4567
  (initialState = logRecoverableError(
4368
4568
  request,
@@ -4373,11 +4573,12 @@ function renderElement(request, task, keyPath, type, props, ref) {
4373
4573
  untrackBoundary(request, newBoundary);
4374
4574
  } finally {
4375
4575
  (task.blockedBoundary = parentBoundary),
4376
- (task.blockedPreamble = propName$34),
4576
+ (task.blockedPreamble = propName$42),
4377
4577
  (task.hoistableState = parentHoistableState),
4378
4578
  (task.blockedSegment = propName),
4379
4579
  (task.keyPath = type),
4380
- (task.formatContext = ref);
4580
+ (task.formatContext = ref),
4581
+ (task.row = prevRow);
4381
4582
  }
4382
4583
  task = createRenderTask(
4383
4584
  request,
@@ -4390,9 +4591,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
4390
4591
  newBoundary.fallbackState,
4391
4592
  fallbackAbortSet,
4392
4593
  [keyPath[0], "Suspense Fallback", keyPath[2]],
4393
- getSuspenseFallbackFormatContext(task.formatContext),
4594
+ getSuspenseFallbackFormatContext(
4595
+ request.resumableState,
4596
+ task.formatContext
4597
+ ),
4394
4598
  task.context,
4395
4599
  task.treeContext,
4600
+ task.row,
4396
4601
  task.componentStack
4397
4602
  );
4398
4603
  pushComponentStack(task);
@@ -4610,6 +4815,7 @@ function retryNode(request, task) {
4610
4815
  null === node$jscomp$0[4] ? null : node$jscomp$0[4][3];
4611
4816
  var prevKeyPath = task.keyPath,
4612
4817
  prevContext = task.formatContext,
4818
+ prevRow = task.row,
4613
4819
  previousReplaySet = task.replay,
4614
4820
  parentBoundary = task.blockedBoundary,
4615
4821
  parentHoistableState = task.hoistableState,
@@ -4620,12 +4826,14 @@ function retryNode(request, task) {
4620
4826
  2 > task.formatContext.insertionMode
4621
4827
  ? createSuspenseBoundary(
4622
4828
  request,
4829
+ task.row,
4623
4830
  fallbackAbortSet,
4624
4831
  createPreambleState(),
4625
4832
  createPreambleState()
4626
4833
  )
4627
4834
  : createSuspenseBoundary(
4628
4835
  request,
4836
+ task.row,
4629
4837
  fallbackAbortSet,
4630
4838
  null,
4631
4839
  null
@@ -4635,8 +4843,11 @@ function retryNode(request, task) {
4635
4843
  task.blockedBoundary = props;
4636
4844
  task.hoistableState = props.contentState;
4637
4845
  task.keyPath = key;
4638
- task.formatContext =
4639
- getSuspenseContentFormatContext(prevContext);
4846
+ task.formatContext = getSuspenseContentFormatContext(
4847
+ request.resumableState,
4848
+ prevContext
4849
+ );
4850
+ task.row = null;
4640
4851
  task.replay = {
4641
4852
  nodes: ref,
4642
4853
  slots: name,
@@ -4673,9 +4884,10 @@ function retryNode(request, task) {
4673
4884
  (task.hoistableState = parentHoistableState),
4674
4885
  (task.replay = previousReplaySet),
4675
4886
  (task.keyPath = prevKeyPath),
4676
- (task.formatContext = prevContext);
4887
+ (task.formatContext = prevContext),
4888
+ (task.row = prevRow);
4677
4889
  }
4678
- task = createReplayTask(
4890
+ childNodes = createReplayTask(
4679
4891
  request,
4680
4892
  null,
4681
4893
  {
@@ -4689,13 +4901,17 @@ function retryNode(request, task) {
4689
4901
  props.fallbackState,
4690
4902
  fallbackAbortSet,
4691
4903
  [key[0], "Suspense Fallback", key[2]],
4692
- getSuspenseFallbackFormatContext(task.formatContext),
4904
+ getSuspenseFallbackFormatContext(
4905
+ request.resumableState,
4906
+ task.formatContext
4907
+ ),
4693
4908
  task.context,
4694
4909
  task.treeContext,
4910
+ task.row,
4695
4911
  task.componentStack
4696
4912
  );
4697
- pushComponentStack(task);
4698
- request.pingedTasks.push(task);
4913
+ pushComponentStack(childNodes);
4914
+ request.pingedTasks.push(childNodes);
4699
4915
  }
4700
4916
  }
4701
4917
  childIndex.splice(node, 1);
@@ -4720,22 +4936,17 @@ function retryNode(request, task) {
4720
4936
  renderChildrenArray(request, task, node, childIndex);
4721
4937
  return;
4722
4938
  }
4723
- null === node || "object" !== typeof node
4724
- ? (childNodes = null)
4725
- : ((childNodes =
4726
- (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
4727
- node["@@iterator"]),
4728
- (childNodes = "function" === typeof childNodes ? childNodes : null));
4729
- if (childNodes && (childNodes = childNodes.call(node))) {
4730
- node = childNodes.next();
4731
- if (!node.done) {
4732
- props = [];
4733
- do props.push(node.value), (node = childNodes.next());
4734
- while (!node.done);
4735
- renderChildrenArray(request, task, props, childIndex);
4939
+ if ((childNodes = getIteratorFn(node)))
4940
+ if ((childNodes = childNodes.call(node))) {
4941
+ node = childNodes.next();
4942
+ if (!node.done) {
4943
+ props = [];
4944
+ do props.push(node.value), (node = childNodes.next());
4945
+ while (!node.done);
4946
+ renderChildrenArray(request, task, props, childIndex);
4947
+ }
4948
+ return;
4736
4949
  }
4737
- return;
4738
- }
4739
4950
  if ("function" === typeof node.then)
4740
4951
  return (
4741
4952
  (task.thenableState = null),
@@ -4878,6 +5089,7 @@ function spawnNewSuspendedReplayTask(request, task, thenableState) {
4878
5089
  task.formatContext,
4879
5090
  task.context,
4880
5091
  task.treeContext,
5092
+ task.row,
4881
5093
  task.componentStack
4882
5094
  );
4883
5095
  }
@@ -4907,6 +5119,7 @@ function spawnNewSuspendedRenderTask(request, task, thenableState) {
4907
5119
  task.formatContext,
4908
5120
  task.context,
4909
5121
  task.treeContext,
5122
+ task.row,
4910
5123
  task.componentStack
4911
5124
  );
4912
5125
  }
@@ -4960,15 +5173,15 @@ function renderNode(request, task, node, childIndex) {
4960
5173
  chunkLength = segment.chunks.length;
4961
5174
  try {
4962
5175
  return renderNodeDestructive(request, task, node, childIndex);
4963
- } catch (thrownValue$51) {
5176
+ } catch (thrownValue$58) {
4964
5177
  if (
4965
5178
  (resetHooksState(),
4966
5179
  (segment.children.length = childrenLength),
4967
5180
  (segment.chunks.length = chunkLength),
4968
5181
  (node =
4969
- thrownValue$51 === SuspenseException
5182
+ thrownValue$58 === SuspenseException
4970
5183
  ? getSuspendedThenable()
4971
- : thrownValue$51),
5184
+ : thrownValue$58),
4972
5185
  "object" === typeof node && null !== node)
4973
5186
  ) {
4974
5187
  if ("function" === typeof node.then) {
@@ -5006,9 +5219,10 @@ function renderNode(request, task, node, childIndex) {
5006
5219
  throw node;
5007
5220
  }
5008
5221
  function abortTaskSoft(task) {
5009
- var boundary = task.blockedBoundary;
5010
- task = task.blockedSegment;
5011
- null !== task && ((task.status = 3), finishedTask(this, boundary, task));
5222
+ var boundary = task.blockedBoundary,
5223
+ segment = task.blockedSegment;
5224
+ null !== segment &&
5225
+ ((segment.status = 3), finishedTask(this, boundary, task.row, segment));
5012
5226
  }
5013
5227
  function abortRemainingReplayNodes(
5014
5228
  request$jscomp$0,
@@ -5035,6 +5249,7 @@ function abortRemainingReplayNodes(
5035
5249
  errorDigest = errorDigest$jscomp$0,
5036
5250
  resumedBoundary = createSuspenseBoundary(
5037
5251
  request,
5252
+ null,
5038
5253
  new Set(),
5039
5254
  null,
5040
5255
  null
@@ -5068,6 +5283,10 @@ function abortTask(task, request, error) {
5068
5283
  if (6 === segment.status) return;
5069
5284
  segment.status = 3;
5070
5285
  }
5286
+ segment = task.row;
5287
+ null !== segment &&
5288
+ 0 === --segment.pendingTasks &&
5289
+ finishSuspenseListRow(request, segment);
5071
5290
  segment = getThrownInfo(task.componentStack);
5072
5291
  if (null === boundary) {
5073
5292
  if (13 !== request.status && 14 !== request.status) {
@@ -5202,7 +5421,11 @@ function queueCompletedSegment(boundary, segment) {
5202
5421
  1 === childSegment.status && queueCompletedSegment(boundary, childSegment);
5203
5422
  } else boundary.completedSegments.push(segment);
5204
5423
  }
5205
- function finishedTask(request, boundary, segment) {
5424
+ function finishedTask(request, boundary, row, segment) {
5425
+ null !== row &&
5426
+ 0 === --row.pendingTasks &&
5427
+ finishSuspenseListRow(request, row);
5428
+ request.allPendingTasks--;
5206
5429
  if (null === boundary) {
5207
5430
  if (null !== segment && segment.parentFlushed) {
5208
5431
  if (null !== request.completedRootSegment)
@@ -5230,7 +5453,11 @@ function finishedTask(request, boundary, segment) {
5230
5453
  abortTaskSoft,
5231
5454
  request
5232
5455
  ),
5233
- boundary.fallbackAbortableTasks.clear()),
5456
+ boundary.fallbackAbortableTasks.clear(),
5457
+ (row = boundary.row),
5458
+ null !== row &&
5459
+ 0 === --row.pendingTasks &&
5460
+ finishSuspenseListRow(request, row)),
5234
5461
  0 === request.pendingRootTasks &&
5235
5462
  null === request.trackedPostpones &&
5236
5463
  null !== boundary.contentPreamble &&
@@ -5242,7 +5469,6 @@ function finishedTask(request, boundary, segment) {
5242
5469
  1 === boundary.completedSegments.length &&
5243
5470
  boundary.parentFlushed &&
5244
5471
  request.partialBoundaries.push(boundary)));
5245
- request.allPendingTasks--;
5246
5472
  0 === request.allPendingTasks && completeAll(request);
5247
5473
  }
5248
5474
  function performWork(request$jscomp$2) {
@@ -5286,7 +5512,12 @@ function performWork(request$jscomp$2) {
5286
5512
  );
5287
5513
  task.replay.pendingTasks--;
5288
5514
  task.abortSet.delete(task);
5289
- finishedTask(request$jscomp$0, task.blockedBoundary, null);
5515
+ finishedTask(
5516
+ request$jscomp$0,
5517
+ task.blockedBoundary,
5518
+ task.row,
5519
+ null
5520
+ );
5290
5521
  } catch (thrownValue) {
5291
5522
  resetHooksState();
5292
5523
  var x =
@@ -5356,7 +5587,12 @@ function performWork(request$jscomp$2) {
5356
5587
  ),
5357
5588
  task.abortSet.delete(task),
5358
5589
  (request$jscomp$1.status = 1),
5359
- finishedTask(request, task.blockedBoundary, request$jscomp$1);
5590
+ finishedTask(
5591
+ request,
5592
+ task.blockedBoundary,
5593
+ task.row,
5594
+ request$jscomp$1
5595
+ );
5360
5596
  } catch (thrownValue) {
5361
5597
  resetHooksState();
5362
5598
  request$jscomp$1.children.length = childrenLength;
@@ -5380,7 +5616,12 @@ function performWork(request$jscomp$2) {
5380
5616
  var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
5381
5617
  task.abortSet.delete(task);
5382
5618
  request$jscomp$1.status = 4;
5383
- var boundary$jscomp$0 = task.blockedBoundary;
5619
+ var boundary$jscomp$0 = task.blockedBoundary,
5620
+ row = task.row;
5621
+ null !== row &&
5622
+ 0 === --row.pendingTasks &&
5623
+ finishSuspenseListRow(request, row);
5624
+ request.allPendingTasks--;
5384
5625
  request$jscomp$0 = logRecoverableError(
5385
5626
  request,
5386
5627
  x$jscomp$0,
@@ -5399,7 +5640,6 @@ function performWork(request$jscomp$2) {
5399
5640
  null === request.trackedPostpones &&
5400
5641
  null !== boundary$jscomp$0.contentPreamble &&
5401
5642
  preparePreamble(request)));
5402
- request.allPendingTasks--;
5403
5643
  0 === request.allPendingTasks && completeAll(request);
5404
5644
  }
5405
5645
  } finally {
@@ -5544,24 +5784,27 @@ function flushSegment(request, destination, segment, hoistableState) {
5544
5784
  if (null === boundary)
5545
5785
  return flushSubtree(request, destination, segment, hoistableState);
5546
5786
  boundary.parentFlushed = !0;
5547
- if (4 === boundary.status)
5548
- return (
5549
- request.renderState.generateStaticMarkup ||
5550
- ((boundary = boundary.errorDigest),
5551
- destination.push("\x3c!--$!--\x3e"),
5552
- destination.push("<template"),
5553
- boundary &&
5554
- (destination.push(' data-dgst="'),
5555
- (boundary = escapeTextForBrowser(boundary)),
5556
- destination.push(boundary),
5557
- destination.push('"')),
5558
- destination.push("></template>")),
5559
- flushSubtree(request, destination, segment, hoistableState),
5560
- (request = request.renderState.generateStaticMarkup
5561
- ? !0
5562
- : destination.push("\x3c!--/$--\x3e")),
5563
- request
5564
- );
5787
+ if (4 === boundary.status) {
5788
+ var row = boundary.row;
5789
+ null !== row &&
5790
+ 0 === --row.pendingTasks &&
5791
+ finishSuspenseListRow(request, row);
5792
+ request.renderState.generateStaticMarkup ||
5793
+ ((boundary = boundary.errorDigest),
5794
+ destination.push("\x3c!--$!--\x3e"),
5795
+ destination.push("<template"),
5796
+ boundary &&
5797
+ (destination.push(' data-dgst="'),
5798
+ (boundary = escapeTextForBrowser(boundary)),
5799
+ destination.push(boundary),
5800
+ destination.push('"')),
5801
+ destination.push("></template>"));
5802
+ flushSubtree(request, destination, segment, hoistableState);
5803
+ request = request.renderState.generateStaticMarkup
5804
+ ? !0
5805
+ : destination.push("\x3c!--/$--\x3e");
5806
+ return request;
5807
+ }
5565
5808
  if (1 !== boundary.status)
5566
5809
  return (
5567
5810
  0 === boundary.status &&
@@ -5603,6 +5846,11 @@ function flushSegment(request, destination, segment, hoistableState) {
5603
5846
  ((segment = boundary.contentState),
5604
5847
  segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
5605
5848
  segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
5849
+ segment = boundary.row;
5850
+ null !== segment &&
5851
+ 500 < boundary.byteSize &&
5852
+ 0 === --segment.pendingTasks &&
5853
+ finishSuspenseListRow(request, segment);
5606
5854
  request.renderState.generateStaticMarkup ||
5607
5855
  destination.push("\x3c!--$--\x3e");
5608
5856
  segment = boundary.completedSegments;
@@ -5640,6 +5888,11 @@ function flushCompletedBoundary(request, destination, boundary) {
5640
5888
  completedSegments[i]
5641
5889
  );
5642
5890
  completedSegments.length = 0;
5891
+ completedSegments = boundary.row;
5892
+ null !== completedSegments &&
5893
+ 500 < boundary.byteSize &&
5894
+ 0 === --completedSegments.pendingTasks &&
5895
+ finishSuspenseListRow(request, completedSegments);
5643
5896
  writeHoistablesForBoundary(
5644
5897
  destination,
5645
5898
  boundary.contentState,
@@ -5662,7 +5915,7 @@ function flushCompletedBoundary(request, destination, boundary) {
5662
5915
  0 === (completedSegments.instructions & 2) &&
5663
5916
  ((completedSegments.instructions |= 2),
5664
5917
  destination.push(
5665
- '$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
5918
+ '$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())};'
5666
5919
  )),
5667
5920
  0 === (completedSegments.instructions & 8)
5668
5921
  ? ((completedSegments.instructions |= 8),
@@ -5670,12 +5923,12 @@ function flushCompletedBoundary(request, destination, boundary) {
5670
5923
  '$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'
5671
5924
  ))
5672
5925
  : destination.push('$RR("'))
5673
- : 0 === (completedSegments.instructions & 2)
5674
- ? ((completedSegments.instructions |= 2),
5926
+ : (0 === (completedSegments.instructions & 2) &&
5927
+ ((completedSegments.instructions |= 2),
5675
5928
  destination.push(
5676
- '$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};$RC("'
5677
- ))
5678
- : destination.push('$RC("');
5929
+ '$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())};'
5930
+ )),
5931
+ destination.push('$RC("'));
5679
5932
  completedSegments = i.toString(16);
5680
5933
  destination.push(request.boundaryPrefix);
5681
5934
  destination.push(completedSegments);
@@ -5920,12 +6173,12 @@ function flushCompletedQueues(request, destination) {
5920
6173
  completedBoundaries.splice(0, i);
5921
6174
  var partialBoundaries = request.partialBoundaries;
5922
6175
  for (i = 0; i < partialBoundaries.length; i++) {
5923
- var boundary$54 = partialBoundaries[i];
6176
+ var boundary$62 = partialBoundaries[i];
5924
6177
  a: {
5925
6178
  clientRenderedBoundaries = request;
5926
6179
  boundary = destination;
5927
- flushedByteSize = boundary$54.byteSize;
5928
- var completedSegments = boundary$54.completedSegments;
6180
+ flushedByteSize = boundary$62.byteSize;
6181
+ var completedSegments = boundary$62.completedSegments;
5929
6182
  for (
5930
6183
  JSCompiler_inline_result = 0;
5931
6184
  JSCompiler_inline_result < completedSegments.length;
@@ -5935,7 +6188,7 @@ function flushCompletedQueues(request, destination) {
5935
6188
  !flushPartiallyCompletedSegment(
5936
6189
  clientRenderedBoundaries,
5937
6190
  boundary,
5938
- boundary$54,
6191
+ boundary$62,
5939
6192
  completedSegments[JSCompiler_inline_result]
5940
6193
  )
5941
6194
  ) {
@@ -5947,7 +6200,7 @@ function flushCompletedQueues(request, destination) {
5947
6200
  completedSegments.splice(0, JSCompiler_inline_result);
5948
6201
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
5949
6202
  boundary,
5950
- boundary$54.contentState,
6203
+ boundary$62.contentState,
5951
6204
  clientRenderedBoundaries.renderState
5952
6205
  );
5953
6206
  }
@@ -6030,8 +6283,8 @@ function abort(request, reason) {
6030
6283
  }
6031
6284
  null !== request.destination &&
6032
6285
  flushCompletedQueues(request, request.destination);
6033
- } catch (error$56) {
6034
- logRecoverableError(request, error$56, {}), fatalError(request, error$56);
6286
+ } catch (error$64) {
6287
+ logRecoverableError(request, error$64, {}), fatalError(request, error$64);
6035
6288
  }
6036
6289
  }
6037
6290
  function onError() {}
@@ -6100,4 +6353,4 @@ exports.renderToString = function (children, options) {
6100
6353
  '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'
6101
6354
  );
6102
6355
  };
6103
- exports.version = "19.2.0-canary-4448b187-20250515";
6356
+ exports.version = "19.2.0-canary-c4676e72-20250520";