react-dom 19.2.0-canary-33661467-20250407 → 19.2.0-canary-3fbfb9ba-20250409

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.
@@ -2293,6 +2293,8 @@ function writeBootstrap(destination, renderState) {
2293
2293
  }
2294
2294
  var placeholder1 = stringToPrecomputedChunk('<template id="'),
2295
2295
  placeholder2 = stringToPrecomputedChunk('"></template>'),
2296
+ startActivityBoundary = stringToPrecomputedChunk("\x3c!--&--\x3e"),
2297
+ endActivityBoundary = stringToPrecomputedChunk("\x3c!--/&--\x3e"),
2296
2298
  startCompletedSuspenseBoundary = stringToPrecomputedChunk("\x3c!--$--\x3e"),
2297
2299
  startPendingSuspenseBoundary1 = stringToPrecomputedChunk(
2298
2300
  '\x3c!--$?--\x3e<template id="'
@@ -4492,11 +4494,33 @@ function renderElement(request, task, keyPath, type, props, ref) {
4492
4494
  task.keyPath = type;
4493
4495
  return;
4494
4496
  case REACT_ACTIVITY_TYPE:
4495
- "hidden" !== props.mode &&
4496
- ((type = task.keyPath),
4497
- (task.keyPath = keyPath),
4498
- renderNodeDestructive(request, task, props.children, -1),
4499
- (task.keyPath = type));
4497
+ type = task.blockedSegment;
4498
+ if (null === type)
4499
+ "hidden" !== props.mode &&
4500
+ ((type = task.keyPath),
4501
+ (task.keyPath = keyPath),
4502
+ renderNode(request, task, props.children, -1),
4503
+ (task.keyPath = type));
4504
+ else {
4505
+ type.chunks.push(startActivityBoundary);
4506
+ type.lastPushedText = !1;
4507
+ "hidden" !== props.mode &&
4508
+ ((newProps = task.keyPath),
4509
+ (task.keyPath = keyPath),
4510
+ renderNode(request, task, props.children, -1),
4511
+ (task.keyPath = newProps));
4512
+ request = type.chunks;
4513
+ if ((task = task.blockedPreamble))
4514
+ (task = task.contribution),
4515
+ 0 !== task &&
4516
+ request.push(
4517
+ boundaryPreambleContributionChunkStart,
4518
+ stringToChunk("" + task),
4519
+ boundaryPreambleContributionChunkEnd
4520
+ );
4521
+ request.push(endActivityBoundary);
4522
+ type.lastPushedText = !1;
4523
+ }
4500
4524
  return;
4501
4525
  case REACT_SUSPENSE_LIST_TYPE:
4502
4526
  type = task.keyPath;
@@ -5213,15 +5237,15 @@ function renderNode(request, task, node, childIndex) {
5213
5237
  chunkLength = segment.chunks.length;
5214
5238
  try {
5215
5239
  return renderNodeDestructive(request, task, node, childIndex);
5216
- } catch (thrownValue$48) {
5240
+ } catch (thrownValue$50) {
5217
5241
  if (
5218
5242
  (resetHooksState(),
5219
5243
  (segment.children.length = childrenLength),
5220
5244
  (segment.chunks.length = chunkLength),
5221
5245
  (node =
5222
- thrownValue$48 === SuspenseException
5246
+ thrownValue$50 === SuspenseException
5223
5247
  ? getSuspendedThenable()
5224
- : thrownValue$48),
5248
+ : thrownValue$50),
5225
5249
  "object" === typeof node && null !== node)
5226
5250
  ) {
5227
5251
  if ("function" === typeof node.then) {
@@ -6103,11 +6127,11 @@ function flushCompletedQueues(request, destination) {
6103
6127
  writtenBytes = 0;
6104
6128
  var partialBoundaries = request.partialBoundaries;
6105
6129
  for (i = 0; i < partialBoundaries.length; i++) {
6106
- var boundary$51 = partialBoundaries[i];
6130
+ var boundary$53 = partialBoundaries[i];
6107
6131
  a: {
6108
6132
  clientRenderedBoundaries = request;
6109
6133
  boundary = destination;
6110
- var completedSegments = boundary$51.completedSegments;
6134
+ var completedSegments = boundary$53.completedSegments;
6111
6135
  for (
6112
6136
  JSCompiler_inline_result = 0;
6113
6137
  JSCompiler_inline_result < completedSegments.length;
@@ -6117,7 +6141,7 @@ function flushCompletedQueues(request, destination) {
6117
6141
  !flushPartiallyCompletedSegment(
6118
6142
  clientRenderedBoundaries,
6119
6143
  boundary,
6120
- boundary$51,
6144
+ boundary$53,
6121
6145
  completedSegments[JSCompiler_inline_result]
6122
6146
  )
6123
6147
  ) {
@@ -6129,7 +6153,7 @@ function flushCompletedQueues(request, destination) {
6129
6153
  completedSegments.splice(0, JSCompiler_inline_result);
6130
6154
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
6131
6155
  boundary,
6132
- boundary$51.contentState,
6156
+ boundary$53.contentState,
6133
6157
  clientRenderedBoundaries.renderState
6134
6158
  );
6135
6159
  }
@@ -6223,18 +6247,18 @@ function abort(request, reason) {
6223
6247
  }
6224
6248
  null !== request.destination &&
6225
6249
  flushCompletedQueues(request, request.destination);
6226
- } catch (error$53) {
6227
- logRecoverableError(request, error$53, {}), fatalError(request, error$53);
6250
+ } catch (error$55) {
6251
+ logRecoverableError(request, error$55, {}), fatalError(request, error$55);
6228
6252
  }
6229
6253
  }
6230
6254
  function ensureCorrectIsomorphicReactVersion() {
6231
6255
  var isomorphicReactPackageVersion = React.version;
6232
- if ("19.2.0-canary-33661467-20250407" !== isomorphicReactPackageVersion)
6256
+ if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
6233
6257
  throw Error(
6234
6258
  formatProdErrorMessage(
6235
6259
  527,
6236
6260
  isomorphicReactPackageVersion,
6237
- "19.2.0-canary-33661467-20250407"
6261
+ "19.2.0-canary-3fbfb9ba-20250409"
6238
6262
  )
6239
6263
  );
6240
6264
  }
@@ -6381,4 +6405,4 @@ exports.renderToReadableStream = function (children, options) {
6381
6405
  startWork(request);
6382
6406
  });
6383
6407
  };
6384
- exports.version = "19.2.0-canary-33661467-20250407";
6408
+ exports.version = "19.2.0-canary-3fbfb9ba-20250409";
@@ -6560,18 +6560,43 @@ function renderElement(request, task, keyPath, type, props, ref) {
6560
6560
  task.keyPath = prevKeyPath$jscomp$1;
6561
6561
  return;
6562
6562
  case REACT_ACTIVITY_TYPE:
6563
- if ("hidden" !== props.mode) {
6564
- var prevKeyPath$jscomp$2 = task.keyPath;
6565
- task.keyPath = keyPath;
6566
- renderNodeDestructive(request, task, props.children, -1);
6567
- task.keyPath = prevKeyPath$jscomp$2;
6563
+ var segment$jscomp$0 = task.blockedSegment;
6564
+ if (null === segment$jscomp$0) {
6565
+ if ("hidden" !== props.mode) {
6566
+ var prevKeyPath$jscomp$2 = task.keyPath;
6567
+ task.keyPath = keyPath;
6568
+ renderNode(request, task, props.children, -1);
6569
+ task.keyPath = prevKeyPath$jscomp$2;
6570
+ }
6571
+ } else {
6572
+ segment$jscomp$0.chunks.push("\x3c!--&--\x3e");
6573
+ segment$jscomp$0.lastPushedText = !1;
6574
+ if ("hidden" !== props.mode) {
6575
+ var _prevKeyPath3 = task.keyPath;
6576
+ task.keyPath = keyPath;
6577
+ renderNode(request, task, props.children, -1);
6578
+ task.keyPath = _prevKeyPath3;
6579
+ }
6580
+ var target$jscomp$0 = segment$jscomp$0.chunks,
6581
+ preambleState = task.blockedPreamble;
6582
+ if (preambleState) {
6583
+ var contribution = preambleState.contribution;
6584
+ contribution !== NoContribution &&
6585
+ target$jscomp$0.push(
6586
+ boundaryPreambleContributionChunkStart,
6587
+ "" + contribution,
6588
+ boundaryPreambleContributionChunkEnd
6589
+ );
6590
+ }
6591
+ target$jscomp$0.push("\x3c!--/&--\x3e");
6592
+ segment$jscomp$0.lastPushedText = !1;
6568
6593
  }
6569
6594
  return;
6570
6595
  case REACT_SUSPENSE_LIST_TYPE:
6571
- var _prevKeyPath3 = task.keyPath;
6596
+ var _prevKeyPath4 = task.keyPath;
6572
6597
  task.keyPath = keyPath;
6573
6598
  renderNodeDestructive(request, task, props.children, -1);
6574
- task.keyPath = _prevKeyPath3;
6599
+ task.keyPath = _prevKeyPath4;
6575
6600
  return;
6576
6601
  case REACT_VIEW_TRANSITION_TYPE:
6577
6602
  case REACT_SCOPE_TYPE:
@@ -8635,15 +8660,15 @@ function abort(request, reason) {
8635
8660
  fatalError(request, error$4, reason, null);
8636
8661
  }
8637
8662
  }
8638
- var isomorphicReactPackageVersion$jscomp$inline_743 = React.version;
8663
+ var isomorphicReactPackageVersion$jscomp$inline_749 = React.version;
8639
8664
  if (
8640
- "19.2.0-canary-33661467-20250407" !==
8641
- isomorphicReactPackageVersion$jscomp$inline_743
8665
+ "19.2.0-canary-3fbfb9ba-20250409" !==
8666
+ isomorphicReactPackageVersion$jscomp$inline_749
8642
8667
  )
8643
8668
  throw Error(
8644
8669
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8645
- (isomorphicReactPackageVersion$jscomp$inline_743 +
8646
- "\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
8670
+ (isomorphicReactPackageVersion$jscomp$inline_749 +
8671
+ "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
8647
8672
  );
8648
8673
  exports.renderToReadableStream = function (children, options) {
8649
8674
  return new Promise(function (resolve, reject) {
@@ -8736,4 +8761,4 @@ exports.renderToReadableStream = function (children, options) {
8736
8761
  startWork(request$jscomp$0);
8737
8762
  });
8738
8763
  };
8739
- exports.version = "19.2.0-canary-33661467-20250407";
8764
+ exports.version = "19.2.0-canary-3fbfb9ba-20250409";
@@ -4113,11 +4113,28 @@ function renderElement(request, task, keyPath, type, props, ref) {
4113
4113
  task.keyPath = type;
4114
4114
  return;
4115
4115
  case REACT_ACTIVITY_TYPE:
4116
- "hidden" !== props.mode &&
4117
- ((type = task.keyPath),
4118
- (task.keyPath = keyPath),
4119
- renderNodeDestructive(request, task, props.children, -1),
4120
- (task.keyPath = type));
4116
+ type = task.blockedSegment;
4117
+ if (null === type)
4118
+ "hidden" !== props.mode &&
4119
+ ((type = task.keyPath),
4120
+ (task.keyPath = keyPath),
4121
+ renderNode(request, task, props.children, -1),
4122
+ (task.keyPath = type));
4123
+ else {
4124
+ type.chunks.push("\x3c!--&--\x3e");
4125
+ type.lastPushedText = !1;
4126
+ "hidden" !== props.mode &&
4127
+ ((newProps = task.keyPath),
4128
+ (task.keyPath = keyPath),
4129
+ renderNode(request, task, props.children, -1),
4130
+ (task.keyPath = newProps));
4131
+ request = type.chunks;
4132
+ if ((task = task.blockedPreamble))
4133
+ (task = task.contribution),
4134
+ 0 !== task && request.push("\x3c!--", "" + task, "--\x3e");
4135
+ request.push("\x3c!--/&--\x3e");
4136
+ type.lastPushedText = !1;
4137
+ }
4121
4138
  return;
4122
4139
  case REACT_SUSPENSE_LIST_TYPE:
4123
4140
  type = task.keyPath;
@@ -4847,15 +4864,15 @@ function renderNode(request, task, node, childIndex) {
4847
4864
  chunkLength = segment.chunks.length;
4848
4865
  try {
4849
4866
  return renderNodeDestructive(request, task, node, childIndex);
4850
- } catch (thrownValue$48) {
4867
+ } catch (thrownValue$50) {
4851
4868
  if (
4852
4869
  (resetHooksState(),
4853
4870
  (segment.children.length = childrenLength),
4854
4871
  (segment.chunks.length = chunkLength),
4855
4872
  (node =
4856
- thrownValue$48 === SuspenseException
4873
+ thrownValue$50 === SuspenseException
4857
4874
  ? getSuspendedThenable()
4858
- : thrownValue$48),
4875
+ : thrownValue$50),
4859
4876
  "object" === typeof node && null !== node)
4860
4877
  ) {
4861
4878
  if ("function" === typeof node.then) {
@@ -5753,11 +5770,11 @@ function flushCompletedQueues(request, destination) {
5753
5770
  completedBoundaries.splice(0, i);
5754
5771
  var partialBoundaries = request.partialBoundaries;
5755
5772
  for (i = 0; i < partialBoundaries.length; i++) {
5756
- var boundary$51 = partialBoundaries[i];
5773
+ var boundary$53 = partialBoundaries[i];
5757
5774
  a: {
5758
5775
  clientRenderedBoundaries = request;
5759
5776
  boundary = destination;
5760
- var completedSegments = boundary$51.completedSegments;
5777
+ var completedSegments = boundary$53.completedSegments;
5761
5778
  for (
5762
5779
  JSCompiler_inline_result = 0;
5763
5780
  JSCompiler_inline_result < completedSegments.length;
@@ -5767,7 +5784,7 @@ function flushCompletedQueues(request, destination) {
5767
5784
  !flushPartiallyCompletedSegment(
5768
5785
  clientRenderedBoundaries,
5769
5786
  boundary,
5770
- boundary$51,
5787
+ boundary$53,
5771
5788
  completedSegments[JSCompiler_inline_result]
5772
5789
  )
5773
5790
  ) {
@@ -5779,7 +5796,7 @@ function flushCompletedQueues(request, destination) {
5779
5796
  completedSegments.splice(0, JSCompiler_inline_result);
5780
5797
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
5781
5798
  boundary,
5782
- boundary$51.contentState,
5799
+ boundary$53.contentState,
5783
5800
  clientRenderedBoundaries.renderState
5784
5801
  );
5785
5802
  }
@@ -5861,19 +5878,19 @@ function abort(request, reason) {
5861
5878
  }
5862
5879
  null !== request.destination &&
5863
5880
  flushCompletedQueues(request, request.destination);
5864
- } catch (error$53) {
5865
- logRecoverableError(request, error$53, {}), fatalError(request, error$53);
5881
+ } catch (error$55) {
5882
+ logRecoverableError(request, error$55, {}), fatalError(request, error$55);
5866
5883
  }
5867
5884
  }
5868
- var isomorphicReactPackageVersion$jscomp$inline_761 = React.version;
5885
+ var isomorphicReactPackageVersion$jscomp$inline_769 = React.version;
5869
5886
  if (
5870
- "19.2.0-canary-33661467-20250407" !==
5871
- isomorphicReactPackageVersion$jscomp$inline_761
5887
+ "19.2.0-canary-3fbfb9ba-20250409" !==
5888
+ isomorphicReactPackageVersion$jscomp$inline_769
5872
5889
  )
5873
5890
  throw Error(
5874
5891
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
5875
- (isomorphicReactPackageVersion$jscomp$inline_761 +
5876
- "\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
5892
+ (isomorphicReactPackageVersion$jscomp$inline_769 +
5893
+ "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
5877
5894
  );
5878
5895
  exports.renderToReadableStream = function (children, options) {
5879
5896
  return new Promise(function (resolve, reject) {
@@ -5964,4 +5981,4 @@ exports.renderToReadableStream = function (children, options) {
5964
5981
  startWork(request);
5965
5982
  });
5966
5983
  };
5967
- exports.version = "19.2.0-canary-33661467-20250407";
5984
+ exports.version = "19.2.0-canary-3fbfb9ba-20250409";
@@ -5513,18 +5513,43 @@
5513
5513
  task.keyPath = prevKeyPath$jscomp$1;
5514
5514
  return;
5515
5515
  case REACT_ACTIVITY_TYPE:
5516
- if ("hidden" !== props.mode) {
5517
- var prevKeyPath$jscomp$2 = task.keyPath;
5518
- task.keyPath = keyPath;
5519
- renderNodeDestructive(request, task, props.children, -1);
5520
- task.keyPath = prevKeyPath$jscomp$2;
5516
+ var segment$jscomp$0 = task.blockedSegment;
5517
+ if (null === segment$jscomp$0) {
5518
+ if ("hidden" !== props.mode) {
5519
+ var prevKeyPath$jscomp$2 = task.keyPath;
5520
+ task.keyPath = keyPath;
5521
+ renderNode(request, task, props.children, -1);
5522
+ task.keyPath = prevKeyPath$jscomp$2;
5523
+ }
5524
+ } else {
5525
+ segment$jscomp$0.chunks.push(startActivityBoundary);
5526
+ segment$jscomp$0.lastPushedText = !1;
5527
+ if ("hidden" !== props.mode) {
5528
+ var _prevKeyPath3 = task.keyPath;
5529
+ task.keyPath = keyPath;
5530
+ renderNode(request, task, props.children, -1);
5531
+ task.keyPath = _prevKeyPath3;
5532
+ }
5533
+ var target$jscomp$0 = segment$jscomp$0.chunks,
5534
+ preambleState = task.blockedPreamble;
5535
+ if (preambleState) {
5536
+ var contribution = preambleState.contribution;
5537
+ contribution !== NoContribution &&
5538
+ target$jscomp$0.push(
5539
+ boundaryPreambleContributionChunkStart,
5540
+ stringToChunk("" + contribution),
5541
+ boundaryPreambleContributionChunkEnd
5542
+ );
5543
+ }
5544
+ target$jscomp$0.push(endActivityBoundary);
5545
+ segment$jscomp$0.lastPushedText = !1;
5521
5546
  }
5522
5547
  return;
5523
5548
  case REACT_SUSPENSE_LIST_TYPE:
5524
- var _prevKeyPath3 = task.keyPath;
5549
+ var _prevKeyPath4 = task.keyPath;
5525
5550
  task.keyPath = keyPath;
5526
5551
  renderNodeDestructive(request, task, props.children, -1);
5527
- task.keyPath = _prevKeyPath3;
5552
+ task.keyPath = _prevKeyPath4;
5528
5553
  return;
5529
5554
  case REACT_VIEW_TRANSITION_TYPE:
5530
5555
  case REACT_SCOPE_TYPE:
@@ -7769,11 +7794,11 @@
7769
7794
  }
7770
7795
  function ensureCorrectIsomorphicReactVersion() {
7771
7796
  var isomorphicReactPackageVersion = React.version;
7772
- if ("19.2.0-canary-33661467-20250407" !== isomorphicReactPackageVersion)
7797
+ if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
7773
7798
  throw Error(
7774
7799
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7775
7800
  (isomorphicReactPackageVersion +
7776
- "\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
7801
+ "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
7777
7802
  );
7778
7803
  }
7779
7804
  var React = require("react"),
@@ -8927,6 +8952,8 @@
8927
8952
  endTagCache = new Map(),
8928
8953
  placeholder1 = stringToPrecomputedChunk('<template id="'),
8929
8954
  placeholder2 = stringToPrecomputedChunk('"></template>'),
8955
+ startActivityBoundary = stringToPrecomputedChunk("\x3c!--&--\x3e"),
8956
+ endActivityBoundary = stringToPrecomputedChunk("\x3c!--/&--\x3e"),
8930
8957
  startCompletedSuspenseBoundary =
8931
8958
  stringToPrecomputedChunk("\x3c!--$--\x3e"),
8932
8959
  startPendingSuspenseBoundary1 = stringToPrecomputedChunk(
@@ -9439,5 +9466,5 @@
9439
9466
  startWork(request);
9440
9467
  });
9441
9468
  };
9442
- exports.version = "19.2.0-canary-33661467-20250407";
9469
+ exports.version = "19.2.0-canary-3fbfb9ba-20250409";
9443
9470
  })();
@@ -2297,6 +2297,8 @@ function writeBootstrap(destination, renderState) {
2297
2297
  }
2298
2298
  var placeholder1 = stringToPrecomputedChunk('<template id="'),
2299
2299
  placeholder2 = stringToPrecomputedChunk('"></template>'),
2300
+ startActivityBoundary = stringToPrecomputedChunk("\x3c!--&--\x3e"),
2301
+ endActivityBoundary = stringToPrecomputedChunk("\x3c!--/&--\x3e"),
2300
2302
  startCompletedSuspenseBoundary = stringToPrecomputedChunk("\x3c!--$--\x3e"),
2301
2303
  startPendingSuspenseBoundary1 = stringToPrecomputedChunk(
2302
2304
  '\x3c!--$?--\x3e<template id="'
@@ -4544,11 +4546,33 @@ function renderElement(request, task, keyPath, type, props, ref) {
4544
4546
  task.keyPath = type;
4545
4547
  return;
4546
4548
  case REACT_ACTIVITY_TYPE:
4547
- "hidden" !== props.mode &&
4548
- ((type = task.keyPath),
4549
- (task.keyPath = keyPath),
4550
- renderNodeDestructive(request, task, props.children, -1),
4551
- (task.keyPath = type));
4549
+ type = task.blockedSegment;
4550
+ if (null === type)
4551
+ "hidden" !== props.mode &&
4552
+ ((type = task.keyPath),
4553
+ (task.keyPath = keyPath),
4554
+ renderNode(request, task, props.children, -1),
4555
+ (task.keyPath = type));
4556
+ else {
4557
+ type.chunks.push(startActivityBoundary);
4558
+ type.lastPushedText = !1;
4559
+ "hidden" !== props.mode &&
4560
+ ((newProps = task.keyPath),
4561
+ (task.keyPath = keyPath),
4562
+ renderNode(request, task, props.children, -1),
4563
+ (task.keyPath = newProps));
4564
+ request = type.chunks;
4565
+ if ((task = task.blockedPreamble))
4566
+ (task = task.contribution),
4567
+ 0 !== task &&
4568
+ request.push(
4569
+ boundaryPreambleContributionChunkStart,
4570
+ stringToChunk("" + task),
4571
+ boundaryPreambleContributionChunkEnd
4572
+ );
4573
+ request.push(endActivityBoundary);
4574
+ type.lastPushedText = !1;
4575
+ }
4552
4576
  return;
4553
4577
  case REACT_SUSPENSE_LIST_TYPE:
4554
4578
  type = task.keyPath;
@@ -5278,15 +5302,15 @@ function renderNode(request, task, node, childIndex) {
5278
5302
  chunkLength = segment.chunks.length;
5279
5303
  try {
5280
5304
  return renderNodeDestructive(request, task, node, childIndex);
5281
- } catch (thrownValue$48) {
5305
+ } catch (thrownValue$50) {
5282
5306
  if (
5283
5307
  (resetHooksState(),
5284
5308
  (segment.children.length = childrenLength),
5285
5309
  (segment.chunks.length = chunkLength),
5286
5310
  (node =
5287
- thrownValue$48 === SuspenseException
5311
+ thrownValue$50 === SuspenseException
5288
5312
  ? getSuspendedThenable()
5289
- : thrownValue$48),
5313
+ : thrownValue$50),
5290
5314
  "object" === typeof node && null !== node)
5291
5315
  ) {
5292
5316
  if ("function" === typeof node.then) {
@@ -6185,11 +6209,11 @@ function flushCompletedQueues(request, destination) {
6185
6209
  writtenBytes = 0;
6186
6210
  var partialBoundaries = request.partialBoundaries;
6187
6211
  for (i = 0; i < partialBoundaries.length; i++) {
6188
- var boundary$51 = partialBoundaries[i];
6212
+ var boundary$53 = partialBoundaries[i];
6189
6213
  a: {
6190
6214
  clientRenderedBoundaries = request;
6191
6215
  boundary = destination;
6192
- var completedSegments = boundary$51.completedSegments;
6216
+ var completedSegments = boundary$53.completedSegments;
6193
6217
  for (
6194
6218
  JSCompiler_inline_result = 0;
6195
6219
  JSCompiler_inline_result < completedSegments.length;
@@ -6199,7 +6223,7 @@ function flushCompletedQueues(request, destination) {
6199
6223
  !flushPartiallyCompletedSegment(
6200
6224
  clientRenderedBoundaries,
6201
6225
  boundary,
6202
- boundary$51,
6226
+ boundary$53,
6203
6227
  completedSegments[JSCompiler_inline_result]
6204
6228
  )
6205
6229
  ) {
@@ -6211,7 +6235,7 @@ function flushCompletedQueues(request, destination) {
6211
6235
  completedSegments.splice(0, JSCompiler_inline_result);
6212
6236
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
6213
6237
  boundary,
6214
- boundary$51.contentState,
6238
+ boundary$53.contentState,
6215
6239
  clientRenderedBoundaries.renderState
6216
6240
  );
6217
6241
  }
@@ -6318,17 +6342,17 @@ function abort(request, reason) {
6318
6342
  }
6319
6343
  null !== request.destination &&
6320
6344
  flushCompletedQueues(request, request.destination);
6321
- } catch (error$53) {
6322
- logRecoverableError(request, error$53, {}), fatalError(request, error$53);
6345
+ } catch (error$55) {
6346
+ logRecoverableError(request, error$55, {}), fatalError(request, error$55);
6323
6347
  }
6324
6348
  }
6325
6349
  function ensureCorrectIsomorphicReactVersion() {
6326
6350
  var isomorphicReactPackageVersion = React.version;
6327
- if ("19.2.0-canary-33661467-20250407" !== isomorphicReactPackageVersion)
6351
+ if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
6328
6352
  throw Error(
6329
6353
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6330
6354
  (isomorphicReactPackageVersion +
6331
- "\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
6355
+ "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
6332
6356
  );
6333
6357
  }
6334
6358
  ensureCorrectIsomorphicReactVersion();
@@ -6474,4 +6498,4 @@ exports.renderToReadableStream = function (children, options) {
6474
6498
  startWork(request);
6475
6499
  });
6476
6500
  };
6477
- exports.version = "19.2.0-canary-33661467-20250407";
6501
+ exports.version = "19.2.0-canary-3fbfb9ba-20250409";
@@ -5412,18 +5412,43 @@
5412
5412
  task.keyPath = prevKeyPath$jscomp$1;
5413
5413
  return;
5414
5414
  case REACT_ACTIVITY_TYPE:
5415
- if ("hidden" !== props.mode) {
5416
- var prevKeyPath$jscomp$2 = task.keyPath;
5417
- task.keyPath = keyPath;
5418
- renderNodeDestructive(request, task, props.children, -1);
5419
- task.keyPath = prevKeyPath$jscomp$2;
5415
+ var segment$jscomp$0 = task.blockedSegment;
5416
+ if (null === segment$jscomp$0) {
5417
+ if ("hidden" !== props.mode) {
5418
+ var prevKeyPath$jscomp$2 = task.keyPath;
5419
+ task.keyPath = keyPath;
5420
+ renderNode(request, task, props.children, -1);
5421
+ task.keyPath = prevKeyPath$jscomp$2;
5422
+ }
5423
+ } else {
5424
+ segment$jscomp$0.chunks.push(startActivityBoundary);
5425
+ segment$jscomp$0.lastPushedText = !1;
5426
+ if ("hidden" !== props.mode) {
5427
+ var _prevKeyPath3 = task.keyPath;
5428
+ task.keyPath = keyPath;
5429
+ renderNode(request, task, props.children, -1);
5430
+ task.keyPath = _prevKeyPath3;
5431
+ }
5432
+ var target$jscomp$0 = segment$jscomp$0.chunks,
5433
+ preambleState = task.blockedPreamble;
5434
+ if (preambleState) {
5435
+ var contribution = preambleState.contribution;
5436
+ contribution !== NoContribution &&
5437
+ target$jscomp$0.push(
5438
+ boundaryPreambleContributionChunkStart,
5439
+ "" + contribution,
5440
+ boundaryPreambleContributionChunkEnd
5441
+ );
5442
+ }
5443
+ target$jscomp$0.push(endActivityBoundary);
5444
+ segment$jscomp$0.lastPushedText = !1;
5420
5445
  }
5421
5446
  return;
5422
5447
  case REACT_SUSPENSE_LIST_TYPE:
5423
- var _prevKeyPath3 = task.keyPath;
5448
+ var _prevKeyPath4 = task.keyPath;
5424
5449
  task.keyPath = keyPath;
5425
5450
  renderNodeDestructive(request, task, props.children, -1);
5426
- task.keyPath = _prevKeyPath3;
5451
+ task.keyPath = _prevKeyPath4;
5427
5452
  return;
5428
5453
  case REACT_VIEW_TRANSITION_TYPE:
5429
5454
  case REACT_SCOPE_TYPE:
@@ -7644,11 +7669,11 @@
7644
7669
  }
7645
7670
  function ensureCorrectIsomorphicReactVersion() {
7646
7671
  var isomorphicReactPackageVersion = React.version;
7647
- if ("19.2.0-canary-33661467-20250407" !== isomorphicReactPackageVersion)
7672
+ if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
7648
7673
  throw Error(
7649
7674
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7650
7675
  (isomorphicReactPackageVersion +
7651
- "\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
7676
+ "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
7652
7677
  );
7653
7678
  }
7654
7679
  function createDrainHandler(destination, request) {
@@ -8853,6 +8878,8 @@
8853
8878
  endTagCache = new Map(),
8854
8879
  placeholder1 = stringToPrecomputedChunk('<template id="'),
8855
8880
  placeholder2 = stringToPrecomputedChunk('"></template>'),
8881
+ startActivityBoundary = stringToPrecomputedChunk("\x3c!--&--\x3e"),
8882
+ endActivityBoundary = stringToPrecomputedChunk("\x3c!--/&--\x3e"),
8856
8883
  startCompletedSuspenseBoundary =
8857
8884
  stringToPrecomputedChunk("\x3c!--$--\x3e"),
8858
8885
  startPendingSuspenseBoundary1 = stringToPrecomputedChunk(
@@ -9313,5 +9340,5 @@
9313
9340
  }
9314
9341
  };
9315
9342
  };
9316
- exports.version = "19.2.0-canary-33661467-20250407";
9343
+ exports.version = "19.2.0-canary-3fbfb9ba-20250409";
9317
9344
  })();