react-dom 19.3.0-canary-c9ddee7e-20251031 → 19.3.0-canary-561ee24d-20251101

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.
@@ -4786,8 +4786,6 @@
4786
4786
  if (null != debugInfo)
4787
4787
  for (var i = debugInfo.length - 1; 0 <= i; i--) {
4788
4788
  var info = debugInfo[i];
4789
- if ("string" === typeof info.name) break;
4790
- if ("number" === typeof info.time) break;
4791
4789
  if (null != info.awaited) {
4792
4790
  var bestStack = null == info.debugStack ? info.awaited : info;
4793
4791
  if (void 0 !== bestStack.debugStack) {
@@ -5063,47 +5061,54 @@
5063
5061
  0 === --previousSuspenseListRow.pendingTasks &&
5064
5062
  finishSuspenseListRow(request, previousSuspenseListRow);
5065
5063
  else {
5066
- revealOrder = task.blockedSegment;
5067
- resumeSlots = revealOrder.children.length;
5068
- n = revealOrder.chunks.length;
5069
- for (i = keyPath - 1; 0 <= i; i--) {
5070
- node = rows[i];
5064
+ resumeSlots = task.blockedSegment;
5065
+ n = resumeSlots.children.length;
5066
+ i = resumeSlots.chunks.length;
5067
+ for (node = 0; node < keyPath; node++) {
5068
+ resumeSegmentID =
5069
+ "unstable_legacy-backwards" === revealOrder
5070
+ ? keyPath - 1 - node
5071
+ : node;
5072
+ var _node3 = rows[resumeSegmentID];
5071
5073
  task.row = previousSuspenseListRow = createSuspenseListRow(
5072
5074
  previousSuspenseListRow
5073
5075
  );
5074
- task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
5075
- resumeSegmentID = createPendingSegment(
5076
+ task.treeContext = pushTreeContext(
5077
+ prevTreeContext,
5078
+ keyPath,
5079
+ resumeSegmentID
5080
+ );
5081
+ var newSegment = createPendingSegment(
5076
5082
  request,
5077
- n,
5083
+ i,
5078
5084
  null,
5079
5085
  task.formatContext,
5080
- 0 === i ? revealOrder.lastPushedText : !0,
5086
+ 0 === resumeSegmentID ? resumeSlots.lastPushedText : !0,
5081
5087
  !0
5082
5088
  );
5083
- revealOrder.children.splice(resumeSlots, 0, resumeSegmentID);
5084
- task.blockedSegment = resumeSegmentID;
5085
- warnForMissingKey(request, task, node);
5089
+ resumeSlots.children.splice(n, 0, newSegment);
5090
+ task.blockedSegment = newSegment;
5091
+ warnForMissingKey(request, task, _node3);
5086
5092
  try {
5087
- renderNode(request, task, node, i),
5093
+ renderNode(request, task, _node3, resumeSegmentID),
5088
5094
  pushSegmentFinale(
5089
- resumeSegmentID.chunks,
5095
+ newSegment.chunks,
5090
5096
  request.renderState,
5091
- resumeSegmentID.lastPushedText,
5092
- resumeSegmentID.textEmbedded
5097
+ newSegment.lastPushedText,
5098
+ newSegment.textEmbedded
5093
5099
  ),
5094
- (resumeSegmentID.status = COMPLETED),
5100
+ (newSegment.status = COMPLETED),
5095
5101
  0 === --previousSuspenseListRow.pendingTasks &&
5096
5102
  finishSuspenseListRow(request, previousSuspenseListRow);
5097
5103
  } catch (thrownValue) {
5098
5104
  throw (
5099
- ((resumeSegmentID.status =
5100
- 12 === request.status ? ABORTED : ERRORED),
5105
+ ((newSegment.status = 12 === request.status ? ABORTED : ERRORED),
5101
5106
  thrownValue)
5102
5107
  );
5103
5108
  }
5104
5109
  }
5105
- task.blockedSegment = revealOrder;
5106
- revealOrder.lastPushedText = !1;
5110
+ task.blockedSegment = resumeSlots;
5111
+ resumeSlots.lastPushedText = !1;
5107
5112
  }
5108
5113
  null !== prevRow &&
5109
5114
  null !== previousSuspenseListRow &&
@@ -5774,11 +5779,7 @@
5774
5779
  a: {
5775
5780
  var children$jscomp$0 = props.children,
5776
5781
  revealOrder = props.revealOrder;
5777
- if (
5778
- "forwards" === revealOrder ||
5779
- "backwards" === revealOrder ||
5780
- "unstable_legacy-backwards" === revealOrder
5781
- ) {
5782
+ if ("independent" !== revealOrder && "together" !== revealOrder) {
5782
5783
  if (isArrayImpl(children$jscomp$0)) {
5783
5784
  renderSuspenseListRows(
5784
5785
  request,
@@ -7141,9 +7142,28 @@
7141
7142
  }
7142
7143
  var errorInfo = getThrownInfo(task.componentStack),
7143
7144
  node = task.node;
7144
- null !== node &&
7145
+ if (null !== node && "object" === typeof node) {
7146
+ for (
7147
+ var debugInfo = node._debugInfo;
7148
+ "object" === typeof node &&
7149
+ null !== node &&
7150
+ node.$$typeof === REACT_LAZY_TYPE;
7151
+
7152
+ ) {
7153
+ var payload = node._payload;
7154
+ if ("fulfilled" === payload.status) node = payload.value;
7155
+ else break;
7156
+ }
7145
7157
  "object" === typeof node &&
7146
- pushHaltedAwaitOnComponentStack(task, node._debugInfo);
7158
+ null !== node &&
7159
+ (isArrayImpl(node) ||
7160
+ "function" === typeof node[ASYNC_ITERATOR] ||
7161
+ node.$$typeof === REACT_ELEMENT_TYPE ||
7162
+ node.$$typeof === REACT_LAZY_TYPE) &&
7163
+ isArrayImpl(node._debugInfo) &&
7164
+ (debugInfo = node._debugInfo);
7165
+ pushHaltedAwaitOnComponentStack(task, debugInfo);
7166
+ }
7147
7167
  if (null === boundary) {
7148
7168
  if (13 !== request.status && request.status !== CLOSED) {
7149
7169
  boundary = task.replay;
@@ -8530,6 +8550,7 @@
8530
8550
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
8531
8551
  REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
8532
8552
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
8553
+ ASYNC_ITERATOR = Symbol.asyncIterator,
8533
8554
  isArrayImpl = Array.isArray,
8534
8555
  jsxPropsParents = new WeakMap(),
8535
8556
  jsxChildrenParents = new WeakMap(),
@@ -9985,5 +10006,5 @@
9985
10006
  '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 "renderToReadableStream" which supports Suspense on the server'
9986
10007
  );
9987
10008
  };
9988
- exports.version = "19.3.0-canary-c9ddee7e-20251031";
10009
+ exports.version = "19.3.0-canary-561ee24d-20251101";
9989
10010
  })();
@@ -2794,16 +2794,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
2794
2794
  "\x3c/script>"
2795
2795
  ));
2796
2796
  bootstrapScriptContent = idPrefix + "P:";
2797
- var JSCompiler_object_inline_segmentPrefix_1688 = idPrefix + "S:";
2797
+ var JSCompiler_object_inline_segmentPrefix_1689 = idPrefix + "S:";
2798
2798
  idPrefix += "B:";
2799
- var JSCompiler_object_inline_preconnects_1702 = new Set(),
2800
- JSCompiler_object_inline_fontPreloads_1703 = new Set(),
2801
- JSCompiler_object_inline_highImagePreloads_1704 = new Set(),
2802
- JSCompiler_object_inline_styles_1705 = new Map(),
2803
- JSCompiler_object_inline_bootstrapScripts_1706 = new Set(),
2804
- JSCompiler_object_inline_scripts_1707 = new Set(),
2805
- JSCompiler_object_inline_bulkPreloads_1708 = new Set(),
2806
- JSCompiler_object_inline_preloads_1709 = {
2799
+ var JSCompiler_object_inline_preconnects_1703 = new Set(),
2800
+ JSCompiler_object_inline_fontPreloads_1704 = new Set(),
2801
+ JSCompiler_object_inline_highImagePreloads_1705 = new Set(),
2802
+ JSCompiler_object_inline_styles_1706 = new Map(),
2803
+ JSCompiler_object_inline_bootstrapScripts_1707 = new Set(),
2804
+ JSCompiler_object_inline_scripts_1708 = new Set(),
2805
+ JSCompiler_object_inline_bulkPreloads_1709 = new Set(),
2806
+ JSCompiler_object_inline_preloads_1710 = {
2807
2807
  images: new Map(),
2808
2808
  stylesheets: new Map(),
2809
2809
  scripts: new Map(),
@@ -2840,7 +2840,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2840
2840
  scriptConfig.moduleScriptResources[href] = null;
2841
2841
  scriptConfig = [];
2842
2842
  pushLinkImpl(scriptConfig, props);
2843
- JSCompiler_object_inline_bootstrapScripts_1706.add(scriptConfig);
2843
+ JSCompiler_object_inline_bootstrapScripts_1707.add(scriptConfig);
2844
2844
  bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
2845
2845
  "string" === typeof integrity &&
2846
2846
  bootstrapChunks.push(
@@ -2887,7 +2887,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2887
2887
  (props.moduleScriptResources[scriptConfig] = null),
2888
2888
  (props = []),
2889
2889
  pushLinkImpl(props, integrity),
2890
- JSCompiler_object_inline_bootstrapScripts_1706.add(props),
2890
+ JSCompiler_object_inline_bootstrapScripts_1707.add(props),
2891
2891
  bootstrapChunks.push(
2892
2892
  '<script type="module" src="',
2893
2893
  escapeTextForBrowser(i),
@@ -2909,7 +2909,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2909
2909
  bootstrapChunks.push(' async="">\x3c/script>');
2910
2910
  return {
2911
2911
  placeholderPrefix: bootstrapScriptContent,
2912
- segmentPrefix: JSCompiler_object_inline_segmentPrefix_1688,
2912
+ segmentPrefix: JSCompiler_object_inline_segmentPrefix_1689,
2913
2913
  boundaryPrefix: idPrefix,
2914
2914
  startInlineScript: "<script",
2915
2915
  startInlineStyle: "<style",
@@ -2929,14 +2929,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
2929
2929
  charsetChunks: [],
2930
2930
  viewportChunks: [],
2931
2931
  hoistableChunks: [],
2932
- preconnects: JSCompiler_object_inline_preconnects_1702,
2933
- fontPreloads: JSCompiler_object_inline_fontPreloads_1703,
2934
- highImagePreloads: JSCompiler_object_inline_highImagePreloads_1704,
2935
- styles: JSCompiler_object_inline_styles_1705,
2936
- bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1706,
2937
- scripts: JSCompiler_object_inline_scripts_1707,
2938
- bulkPreloads: JSCompiler_object_inline_bulkPreloads_1708,
2939
- preloads: JSCompiler_object_inline_preloads_1709,
2932
+ preconnects: JSCompiler_object_inline_preconnects_1703,
2933
+ fontPreloads: JSCompiler_object_inline_fontPreloads_1704,
2934
+ highImagePreloads: JSCompiler_object_inline_highImagePreloads_1705,
2935
+ styles: JSCompiler_object_inline_styles_1706,
2936
+ bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1707,
2937
+ scripts: JSCompiler_object_inline_scripts_1708,
2938
+ bulkPreloads: JSCompiler_object_inline_bulkPreloads_1709,
2939
+ preloads: JSCompiler_object_inline_preloads_1710,
2940
2940
  nonce: { script: void 0, style: void 0 },
2941
2941
  stylesToHoist: !1,
2942
2942
  generateStaticMarkup: generateStaticMarkup
@@ -4145,45 +4145,50 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
4145
4145
  0 === --previousSuspenseListRow.pendingTasks &&
4146
4146
  finishSuspenseListRow(request, previousSuspenseListRow);
4147
4147
  else {
4148
- revealOrder = task.blockedSegment;
4149
- resumeSlots = revealOrder.children.length;
4150
- n = revealOrder.chunks.length;
4151
- for (i = keyPath - 1; 0 <= i; i--) {
4152
- node = rows[i];
4148
+ resumeSlots = task.blockedSegment;
4149
+ n = resumeSlots.children.length;
4150
+ i = resumeSlots.chunks.length;
4151
+ for (node = 0; node < keyPath; node++) {
4152
+ resumeSegmentID =
4153
+ "unstable_legacy-backwards" === revealOrder ? keyPath - 1 - node : node;
4154
+ var node$39 = rows[resumeSegmentID];
4153
4155
  task.row = previousSuspenseListRow = createSuspenseListRow(
4154
4156
  previousSuspenseListRow
4155
4157
  );
4156
- task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
4157
- resumeSegmentID = createPendingSegment(
4158
+ task.treeContext = pushTreeContext(
4159
+ prevTreeContext,
4160
+ keyPath,
4161
+ resumeSegmentID
4162
+ );
4163
+ var newSegment = createPendingSegment(
4158
4164
  request,
4159
- n,
4165
+ i,
4160
4166
  null,
4161
4167
  task.formatContext,
4162
- 0 === i ? revealOrder.lastPushedText : !0,
4168
+ 0 === resumeSegmentID ? resumeSlots.lastPushedText : !0,
4163
4169
  !0
4164
4170
  );
4165
- revealOrder.children.splice(resumeSlots, 0, resumeSegmentID);
4166
- task.blockedSegment = resumeSegmentID;
4171
+ resumeSlots.children.splice(n, 0, newSegment);
4172
+ task.blockedSegment = newSegment;
4167
4173
  try {
4168
- renderNode(request, task, node, i),
4174
+ renderNode(request, task, node$39, resumeSegmentID),
4169
4175
  pushSegmentFinale(
4170
- resumeSegmentID.chunks,
4176
+ newSegment.chunks,
4171
4177
  request.renderState,
4172
- resumeSegmentID.lastPushedText,
4173
- resumeSegmentID.textEmbedded
4178
+ newSegment.lastPushedText,
4179
+ newSegment.textEmbedded
4174
4180
  ),
4175
- (resumeSegmentID.status = 1),
4181
+ (newSegment.status = 1),
4176
4182
  0 === --previousSuspenseListRow.pendingTasks &&
4177
4183
  finishSuspenseListRow(request, previousSuspenseListRow);
4178
4184
  } catch (thrownValue) {
4179
4185
  throw (
4180
- ((resumeSegmentID.status = 12 === request.status ? 3 : 4),
4181
- thrownValue)
4186
+ ((newSegment.status = 12 === request.status ? 3 : 4), thrownValue)
4182
4187
  );
4183
4188
  }
4184
4189
  }
4185
- task.blockedSegment = revealOrder;
4186
- revealOrder.lastPushedText = !1;
4190
+ task.blockedSegment = resumeSlots;
4191
+ resumeSlots.lastPushedText = !1;
4187
4192
  }
4188
4193
  null !== prevRow &&
4189
4194
  null !== previousSuspenseListRow &&
@@ -4260,9 +4265,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
4260
4265
  var defaultProps = type.defaultProps;
4261
4266
  if (defaultProps) {
4262
4267
  newProps === props && (newProps = assign({}, newProps, props));
4263
- for (var propName$43 in defaultProps)
4264
- void 0 === newProps[propName$43] &&
4265
- (newProps[propName$43] = defaultProps[propName$43]);
4268
+ for (var propName$44 in defaultProps)
4269
+ void 0 === newProps[propName$44] &&
4270
+ (newProps[propName$44] = defaultProps[propName$44]);
4266
4271
  }
4267
4272
  var JSCompiler_inline_result = newProps;
4268
4273
  var context = emptyContextObject,
@@ -4395,7 +4400,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4395
4400
  task.formatContext = prevContext;
4396
4401
  task.keyPath = prevKeyPath$jscomp$0;
4397
4402
  } else {
4398
- var children$40 = pushStartInstance(
4403
+ var children$41 = pushStartInstance(
4399
4404
  segment.chunks,
4400
4405
  type,
4401
4406
  props,
@@ -4407,13 +4412,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
4407
4412
  segment.lastPushedText
4408
4413
  );
4409
4414
  segment.lastPushedText = !1;
4410
- var prevContext$41 = task.formatContext,
4411
- prevKeyPath$42 = task.keyPath;
4415
+ var prevContext$42 = task.formatContext,
4416
+ prevKeyPath$43 = task.keyPath;
4412
4417
  task.keyPath = keyPath;
4413
4418
  if (
4414
4419
  3 ===
4415
4420
  (task.formatContext = getChildFormatContext(
4416
- prevContext$41,
4421
+ prevContext$42,
4417
4422
  type,
4418
4423
  props
4419
4424
  )).insertionMode
@@ -4430,7 +4435,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4430
4435
  task.blockedSegment = preambleSegment;
4431
4436
  try {
4432
4437
  (preambleSegment.status = 6),
4433
- renderNode(request, task, children$40, -1),
4438
+ renderNode(request, task, children$41, -1),
4434
4439
  pushSegmentFinale(
4435
4440
  preambleSegment.chunks,
4436
4441
  request.renderState,
@@ -4441,9 +4446,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
4441
4446
  } finally {
4442
4447
  task.blockedSegment = segment;
4443
4448
  }
4444
- } else renderNode(request, task, children$40, -1);
4445
- task.formatContext = prevContext$41;
4446
- task.keyPath = prevKeyPath$42;
4449
+ } else renderNode(request, task, children$41, -1);
4450
+ task.formatContext = prevContext$42;
4451
+ task.keyPath = prevKeyPath$43;
4447
4452
  a: {
4448
4453
  var target = segment.chunks,
4449
4454
  resumableState = request.resumableState;
@@ -4468,19 +4473,19 @@ function renderElement(request, task, keyPath, type, props, ref) {
4468
4473
  case "wbr":
4469
4474
  break a;
4470
4475
  case "body":
4471
- if (1 >= prevContext$41.insertionMode) {
4476
+ if (1 >= prevContext$42.insertionMode) {
4472
4477
  resumableState.hasBody = !0;
4473
4478
  break a;
4474
4479
  }
4475
4480
  break;
4476
4481
  case "html":
4477
- if (0 === prevContext$41.insertionMode) {
4482
+ if (0 === prevContext$42.insertionMode) {
4478
4483
  resumableState.hasHtml = !0;
4479
4484
  break a;
4480
4485
  }
4481
4486
  break;
4482
4487
  case "head":
4483
- if (1 >= prevContext$41.insertionMode) break a;
4488
+ if (1 >= prevContext$42.insertionMode) break a;
4484
4489
  }
4485
4490
  target.push(endChunkForTag(type));
4486
4491
  }
@@ -4510,10 +4515,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4510
4515
  request.renderState.generateStaticMarkup ||
4511
4516
  segment$jscomp$0.chunks.push("\x3c!--&--\x3e");
4512
4517
  segment$jscomp$0.lastPushedText = !1;
4513
- var prevKeyPath$45 = task.keyPath;
4518
+ var prevKeyPath$46 = task.keyPath;
4514
4519
  task.keyPath = keyPath;
4515
4520
  renderNode(request, task, props.children, -1);
4516
- task.keyPath = prevKeyPath$45;
4521
+ task.keyPath = prevKeyPath$46;
4517
4522
  request.renderState.generateStaticMarkup ||
4518
4523
  segment$jscomp$0.chunks.push("\x3c!--/&--\x3e");
4519
4524
  segment$jscomp$0.lastPushedText = !1;
@@ -4523,11 +4528,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4523
4528
  a: {
4524
4529
  var children$jscomp$0 = props.children,
4525
4530
  revealOrder = props.revealOrder;
4526
- if (
4527
- "forwards" === revealOrder ||
4528
- "backwards" === revealOrder ||
4529
- "unstable_legacy-backwards" === revealOrder
4530
- ) {
4531
+ if ("independent" !== revealOrder && "together" !== revealOrder) {
4531
4532
  if (isArrayImpl(children$jscomp$0)) {
4532
4533
  renderSuspenseListRows(
4533
4534
  request,
@@ -4559,7 +4560,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4559
4560
  }
4560
4561
  }
4561
4562
  if ("together" === revealOrder) {
4562
- var prevKeyPath$39 = task.keyPath,
4563
+ var prevKeyPath$40 = task.keyPath,
4563
4564
  prevRow = task.row,
4564
4565
  newRow = (task.row = createSuspenseListRow(null));
4565
4566
  newRow.boundaries = [];
@@ -4568,7 +4569,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4568
4569
  renderNodeDestructive(request, task, children$jscomp$0, -1);
4569
4570
  0 === --newRow.pendingTasks &&
4570
4571
  finishSuspenseListRow(request, newRow);
4571
- task.keyPath = prevKeyPath$39;
4572
+ task.keyPath = prevKeyPath$40;
4572
4573
  task.row = prevRow;
4573
4574
  null !== prevRow &&
4574
4575
  0 < newRow.pendingTasks &&
@@ -5470,21 +5471,21 @@ function renderNode(request, task, node, childIndex) {
5470
5471
  chunkLength = segment.chunks.length;
5471
5472
  try {
5472
5473
  return renderNodeDestructive(request, task, node, childIndex);
5473
- } catch (thrownValue$62) {
5474
+ } catch (thrownValue$63) {
5474
5475
  if (
5475
5476
  (resetHooksState(),
5476
5477
  (segment.children.length = childrenLength),
5477
5478
  (segment.chunks.length = chunkLength),
5478
5479
  (node =
5479
- thrownValue$62 === SuspenseException
5480
+ thrownValue$63 === SuspenseException
5480
5481
  ? getSuspendedThenable()
5481
- : thrownValue$62),
5482
+ : thrownValue$63),
5482
5483
  12 !== request.status && "object" === typeof node && null !== node)
5483
5484
  ) {
5484
5485
  if ("function" === typeof node.then) {
5485
5486
  segment = node;
5486
5487
  node =
5487
- thrownValue$62 === SuspenseException
5488
+ thrownValue$63 === SuspenseException
5488
5489
  ? getThenableStateAfterSuspending()
5489
5490
  : null;
5490
5491
  request = spawnNewSuspendedRenderTask(request, task, node).ping;
@@ -5499,7 +5500,7 @@ function renderNode(request, task, node, childIndex) {
5499
5500
  }
5500
5501
  if ("Maximum call stack size exceeded" === node.message) {
5501
5502
  segment =
5502
- thrownValue$62 === SuspenseException
5503
+ thrownValue$63 === SuspenseException
5503
5504
  ? getThenableStateAfterSuspending()
5504
5505
  : null;
5505
5506
  segment = spawnNewSuspendedRenderTask(request, task, segment);
@@ -5614,12 +5615,12 @@ function abortTask(task, request, error) {
5614
5615
  0 === request.pendingRootTasks && completeShell(request);
5615
5616
  }
5616
5617
  } else {
5617
- var trackedPostpones$63 = request.trackedPostpones;
5618
+ var trackedPostpones$64 = request.trackedPostpones;
5618
5619
  if (4 !== boundary.status) {
5619
- if (null !== trackedPostpones$63 && null !== segment)
5620
+ if (null !== trackedPostpones$64 && null !== segment)
5620
5621
  return (
5621
5622
  logRecoverableError(request, error, errorInfo),
5622
- trackPostpone(request, trackedPostpones$63, task, segment),
5623
+ trackPostpone(request, trackedPostpones$64, task, segment),
5623
5624
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
5624
5625
  return abortTask(fallbackTask, request, error);
5625
5626
  }),
@@ -6552,12 +6553,12 @@ function flushCompletedQueues(request, destination) {
6552
6553
  flushingPartialBoundaries = !0;
6553
6554
  var partialBoundaries = request.partialBoundaries;
6554
6555
  for (i = 0; i < partialBoundaries.length; i++) {
6555
- var boundary$69 = partialBoundaries[i];
6556
+ var boundary$70 = partialBoundaries[i];
6556
6557
  a: {
6557
6558
  clientRenderedBoundaries = request;
6558
6559
  boundary = destination;
6559
- flushedByteSize = boundary$69.byteSize;
6560
- var completedSegments = boundary$69.completedSegments;
6560
+ flushedByteSize = boundary$70.byteSize;
6561
+ var completedSegments = boundary$70.completedSegments;
6561
6562
  for (
6562
6563
  JSCompiler_inline_result = 0;
6563
6564
  JSCompiler_inline_result < completedSegments.length;
@@ -6567,7 +6568,7 @@ function flushCompletedQueues(request, destination) {
6567
6568
  !flushPartiallyCompletedSegment(
6568
6569
  clientRenderedBoundaries,
6569
6570
  boundary,
6570
- boundary$69,
6571
+ boundary$70,
6571
6572
  completedSegments[JSCompiler_inline_result]
6572
6573
  )
6573
6574
  ) {
@@ -6577,10 +6578,10 @@ function flushCompletedQueues(request, destination) {
6577
6578
  break a;
6578
6579
  }
6579
6580
  completedSegments.splice(0, JSCompiler_inline_result);
6580
- var row = boundary$69.row;
6581
+ var row = boundary$70.row;
6581
6582
  null !== row &&
6582
6583
  row.together &&
6583
- 1 === boundary$69.pendingTasks &&
6584
+ 1 === boundary$70.pendingTasks &&
6584
6585
  (1 === row.pendingTasks
6585
6586
  ? unblockSuspenseListRow(
6586
6587
  clientRenderedBoundaries,
@@ -6590,7 +6591,7 @@ function flushCompletedQueues(request, destination) {
6590
6591
  : row.pendingTasks--);
6591
6592
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
6592
6593
  boundary,
6593
- boundary$69.contentState,
6594
+ boundary$70.contentState,
6594
6595
  clientRenderedBoundaries.renderState
6595
6596
  );
6596
6597
  }
@@ -6675,8 +6676,8 @@ function abort(request, reason) {
6675
6676
  }
6676
6677
  null !== request.destination &&
6677
6678
  flushCompletedQueues(request, request.destination);
6678
- } catch (error$71) {
6679
- logRecoverableError(request, error$71, {}), fatalError(request, error$71);
6679
+ } catch (error$72) {
6680
+ logRecoverableError(request, error$72, {}), fatalError(request, error$72);
6680
6681
  }
6681
6682
  }
6682
6683
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -6754,4 +6755,4 @@ exports.renderToString = function (children, options) {
6754
6755
  '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 "renderToReadableStream" which supports Suspense on the server'
6755
6756
  );
6756
6757
  };
6757
- exports.version = "19.3.0-canary-c9ddee7e-20251031";
6758
+ exports.version = "19.3.0-canary-561ee24d-20251101";
@@ -4786,8 +4786,6 @@
4786
4786
  if (null != debugInfo)
4787
4787
  for (var i = debugInfo.length - 1; 0 <= i; i--) {
4788
4788
  var info = debugInfo[i];
4789
- if ("string" === typeof info.name) break;
4790
- if ("number" === typeof info.time) break;
4791
4789
  if (null != info.awaited) {
4792
4790
  var bestStack = null == info.debugStack ? info.awaited : info;
4793
4791
  if (void 0 !== bestStack.debugStack) {
@@ -5063,47 +5061,54 @@
5063
5061
  0 === --previousSuspenseListRow.pendingTasks &&
5064
5062
  finishSuspenseListRow(request, previousSuspenseListRow);
5065
5063
  else {
5066
- revealOrder = task.blockedSegment;
5067
- resumeSlots = revealOrder.children.length;
5068
- n = revealOrder.chunks.length;
5069
- for (i = keyPath - 1; 0 <= i; i--) {
5070
- node = rows[i];
5064
+ resumeSlots = task.blockedSegment;
5065
+ n = resumeSlots.children.length;
5066
+ i = resumeSlots.chunks.length;
5067
+ for (node = 0; node < keyPath; node++) {
5068
+ resumeSegmentID =
5069
+ "unstable_legacy-backwards" === revealOrder
5070
+ ? keyPath - 1 - node
5071
+ : node;
5072
+ var _node3 = rows[resumeSegmentID];
5071
5073
  task.row = previousSuspenseListRow = createSuspenseListRow(
5072
5074
  previousSuspenseListRow
5073
5075
  );
5074
- task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
5075
- resumeSegmentID = createPendingSegment(
5076
+ task.treeContext = pushTreeContext(
5077
+ prevTreeContext,
5078
+ keyPath,
5079
+ resumeSegmentID
5080
+ );
5081
+ var newSegment = createPendingSegment(
5076
5082
  request,
5077
- n,
5083
+ i,
5078
5084
  null,
5079
5085
  task.formatContext,
5080
- 0 === i ? revealOrder.lastPushedText : !0,
5086
+ 0 === resumeSegmentID ? resumeSlots.lastPushedText : !0,
5081
5087
  !0
5082
5088
  );
5083
- revealOrder.children.splice(resumeSlots, 0, resumeSegmentID);
5084
- task.blockedSegment = resumeSegmentID;
5085
- warnForMissingKey(request, task, node);
5089
+ resumeSlots.children.splice(n, 0, newSegment);
5090
+ task.blockedSegment = newSegment;
5091
+ warnForMissingKey(request, task, _node3);
5086
5092
  try {
5087
- renderNode(request, task, node, i),
5093
+ renderNode(request, task, _node3, resumeSegmentID),
5088
5094
  pushSegmentFinale(
5089
- resumeSegmentID.chunks,
5095
+ newSegment.chunks,
5090
5096
  request.renderState,
5091
- resumeSegmentID.lastPushedText,
5092
- resumeSegmentID.textEmbedded
5097
+ newSegment.lastPushedText,
5098
+ newSegment.textEmbedded
5093
5099
  ),
5094
- (resumeSegmentID.status = COMPLETED),
5100
+ (newSegment.status = COMPLETED),
5095
5101
  0 === --previousSuspenseListRow.pendingTasks &&
5096
5102
  finishSuspenseListRow(request, previousSuspenseListRow);
5097
5103
  } catch (thrownValue) {
5098
5104
  throw (
5099
- ((resumeSegmentID.status =
5100
- 12 === request.status ? ABORTED : ERRORED),
5105
+ ((newSegment.status = 12 === request.status ? ABORTED : ERRORED),
5101
5106
  thrownValue)
5102
5107
  );
5103
5108
  }
5104
5109
  }
5105
- task.blockedSegment = revealOrder;
5106
- revealOrder.lastPushedText = !1;
5110
+ task.blockedSegment = resumeSlots;
5111
+ resumeSlots.lastPushedText = !1;
5107
5112
  }
5108
5113
  null !== prevRow &&
5109
5114
  null !== previousSuspenseListRow &&
@@ -5774,11 +5779,7 @@
5774
5779
  a: {
5775
5780
  var children$jscomp$0 = props.children,
5776
5781
  revealOrder = props.revealOrder;
5777
- if (
5778
- "forwards" === revealOrder ||
5779
- "backwards" === revealOrder ||
5780
- "unstable_legacy-backwards" === revealOrder
5781
- ) {
5782
+ if ("independent" !== revealOrder && "together" !== revealOrder) {
5782
5783
  if (isArrayImpl(children$jscomp$0)) {
5783
5784
  renderSuspenseListRows(
5784
5785
  request,
@@ -7141,9 +7142,28 @@
7141
7142
  }
7142
7143
  var errorInfo = getThrownInfo(task.componentStack),
7143
7144
  node = task.node;
7144
- null !== node &&
7145
+ if (null !== node && "object" === typeof node) {
7146
+ for (
7147
+ var debugInfo = node._debugInfo;
7148
+ "object" === typeof node &&
7149
+ null !== node &&
7150
+ node.$$typeof === REACT_LAZY_TYPE;
7151
+
7152
+ ) {
7153
+ var payload = node._payload;
7154
+ if ("fulfilled" === payload.status) node = payload.value;
7155
+ else break;
7156
+ }
7145
7157
  "object" === typeof node &&
7146
- pushHaltedAwaitOnComponentStack(task, node._debugInfo);
7158
+ null !== node &&
7159
+ (isArrayImpl(node) ||
7160
+ "function" === typeof node[ASYNC_ITERATOR] ||
7161
+ node.$$typeof === REACT_ELEMENT_TYPE ||
7162
+ node.$$typeof === REACT_LAZY_TYPE) &&
7163
+ isArrayImpl(node._debugInfo) &&
7164
+ (debugInfo = node._debugInfo);
7165
+ pushHaltedAwaitOnComponentStack(task, debugInfo);
7166
+ }
7147
7167
  if (null === boundary) {
7148
7168
  if (13 !== request.status && request.status !== CLOSED) {
7149
7169
  boundary = task.replay;
@@ -8530,6 +8550,7 @@
8530
8550
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
8531
8551
  REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
8532
8552
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
8553
+ ASYNC_ITERATOR = Symbol.asyncIterator,
8533
8554
  isArrayImpl = Array.isArray,
8534
8555
  jsxPropsParents = new WeakMap(),
8535
8556
  jsxChildrenParents = new WeakMap(),
@@ -9985,5 +10006,5 @@
9985
10006
  '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'
9986
10007
  );
9987
10008
  };
9988
- exports.version = "19.3.0-canary-c9ddee7e-20251031";
10009
+ exports.version = "19.3.0-canary-561ee24d-20251101";
9989
10010
  })();