react-dom 19.2.0-canary-4a45ba92-20250515 → 19.2.0-canary-462d08f9-20250517

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.
@@ -1724,7 +1724,8 @@ function getSuspenseViewTransition(parentViewTransition) {
1724
1724
  nameIdx: 0
1725
1725
  };
1726
1726
  }
1727
- function getSuspenseFallbackFormatContext(parentContext) {
1727
+ function getSuspenseFallbackFormatContext(resumableState, parentContext) {
1728
+ parentContext.tagScope & 32 && (resumableState.instructions |= 128);
1728
1729
  return createFormatContext(
1729
1730
  parentContext.insertionMode,
1730
1731
  parentContext.selectedValue,
@@ -1732,7 +1733,7 @@ function getSuspenseFallbackFormatContext(parentContext) {
1732
1733
  getSuspenseViewTransition(parentContext.viewTransition)
1733
1734
  );
1734
1735
  }
1735
- function getSuspenseContentFormatContext(parentContext) {
1736
+ function getSuspenseContentFormatContext(resumableState, parentContext) {
1736
1737
  return createFormatContext(
1737
1738
  parentContext.insertionMode,
1738
1739
  parentContext.selectedValue,
@@ -3877,9 +3878,7 @@ var completeSegmentScript1Full =
3877
3878
  completeSegmentScript2 = '","',
3878
3879
  completeSegmentScriptEnd = '")\x3c/script>',
3879
3880
  completeBoundaryScriptFunctionOnly =
3880
- '$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())};',
3881
- completeBoundaryScript1Full =
3882
- '$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("',
3881
+ '$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())};',
3883
3882
  completeBoundaryScript1Partial = '$RC("',
3884
3883
  completeBoundaryWithStylesScript1FullPartial =
3885
3884
  '$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("',
@@ -6654,7 +6653,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
6654
6653
  var _prevKeyPath = task.keyPath,
6655
6654
  _prevContext = task.formatContext;
6656
6655
  task.keyPath = keyPath;
6657
- task.formatContext = getSuspenseContentFormatContext(_prevContext);
6656
+ task.formatContext = getSuspenseContentFormatContext(
6657
+ request.resumableState,
6658
+ _prevContext
6659
+ );
6658
6660
  var _content = props.children;
6659
6661
  try {
6660
6662
  renderNode(request, task, _content, -1);
@@ -6717,8 +6719,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
6717
6719
  task.blockedSegment = boundarySegment;
6718
6720
  task.blockedPreamble = newBoundary.fallbackPreamble;
6719
6721
  task.keyPath = fallbackKeyPath;
6720
- task.formatContext =
6721
- getSuspenseFallbackFormatContext(prevContext$jscomp$0);
6722
+ task.formatContext = getSuspenseFallbackFormatContext(
6723
+ request.resumableState,
6724
+ prevContext$jscomp$0
6725
+ );
6722
6726
  boundarySegment.status = 6;
6723
6727
  try {
6724
6728
  renderNode(request, task, fallback, -1),
@@ -6749,7 +6753,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
6749
6753
  newBoundary.contentState,
6750
6754
  task.abortSet,
6751
6755
  keyPath,
6752
- getSuspenseContentFormatContext(task.formatContext),
6756
+ getSuspenseContentFormatContext(
6757
+ request.resumableState,
6758
+ task.formatContext
6759
+ ),
6753
6760
  task.context,
6754
6761
  task.treeContext,
6755
6762
  task.componentStack,
@@ -6764,8 +6771,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
6764
6771
  task.hoistableState = newBoundary.contentState;
6765
6772
  task.blockedSegment = contentRootSegment;
6766
6773
  task.keyPath = keyPath;
6767
- task.formatContext =
6768
- getSuspenseContentFormatContext(prevContext$jscomp$0);
6774
+ task.formatContext = getSuspenseContentFormatContext(
6775
+ request.resumableState,
6776
+ prevContext$jscomp$0
6777
+ );
6769
6778
  contentRootSegment.status = 6;
6770
6779
  try {
6771
6780
  if (
@@ -6826,7 +6835,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
6826
6835
  newBoundary.fallbackState,
6827
6836
  fallbackAbortSet,
6828
6837
  [keyPath[0], "Suspense Fallback", keyPath[2]],
6829
- getSuspenseFallbackFormatContext(task.formatContext),
6838
+ getSuspenseFallbackFormatContext(
6839
+ request.resumableState,
6840
+ task.formatContext
6841
+ ),
6830
6842
  task.context,
6831
6843
  task.treeContext,
6832
6844
  task.componentStack,
@@ -7082,7 +7094,10 @@ function replayElement(
7082
7094
  task.blockedBoundary = props;
7083
7095
  task.hoistableState = props.contentState;
7084
7096
  task.keyPath = keyPath;
7085
- task.formatContext = getSuspenseContentFormatContext(prevContext);
7097
+ task.formatContext = getSuspenseContentFormatContext(
7098
+ request.resumableState,
7099
+ prevContext
7100
+ );
7086
7101
  task.replay = { nodes: type, slots: ref, pendingTasks: 1 };
7087
7102
  try {
7088
7103
  renderNode(request, task, content, -1);
@@ -7125,7 +7140,10 @@ function replayElement(
7125
7140
  props.fallbackState,
7126
7141
  fallbackAbortSet,
7127
7142
  [keyPath[0], "Suspense Fallback", keyPath[2]],
7128
- getSuspenseFallbackFormatContext(task.formatContext),
7143
+ getSuspenseFallbackFormatContext(
7144
+ request.resumableState,
7145
+ task.formatContext
7146
+ ),
7129
7147
  task.context,
7130
7148
  task.treeContext,
7131
7149
  task.componentStack,
@@ -7865,6 +7883,7 @@ function finishedSegment(request, boundary, segment) {
7865
7883
  }
7866
7884
  }
7867
7885
  function finishedTask(request, boundary, segment) {
7886
+ request.allPendingTasks--;
7868
7887
  if (null === boundary) {
7869
7888
  if (null !== segment && segment.parentFlushed) {
7870
7889
  if (null !== request.completedRootSegment)
@@ -7904,7 +7923,6 @@ function finishedTask(request, boundary, segment) {
7904
7923
  1 === boundary.completedSegments.length &&
7905
7924
  boundary.parentFlushed &&
7906
7925
  request.partialBoundaries.push(boundary)));
7907
- request.allPendingTasks--;
7908
7926
  0 === request.allPendingTasks && completeAll(request);
7909
7927
  }
7910
7928
  function performWork(request$jscomp$2) {
@@ -8373,11 +8391,11 @@ function flushCompletedBoundary(request, destination, boundary) {
8373
8391
  ? ((completedSegments.instructions |= SentStyleInsertionFunction),
8374
8392
  writeChunk(destination, completeBoundaryWithStylesScript1FullPartial))
8375
8393
  : writeChunk(destination, completeBoundaryWithStylesScript1Partial))
8376
- : (completedSegments.instructions & SentCompleteBoundaryFunction) ===
8377
- NothingSent
8378
- ? ((completedSegments.instructions |= SentCompleteBoundaryFunction),
8379
- writeChunk(destination, completeBoundaryScript1Full))
8380
- : writeChunk(destination, completeBoundaryScript1Partial);
8394
+ : ((completedSegments.instructions & SentCompleteBoundaryFunction) ===
8395
+ NothingSent &&
8396
+ ((completedSegments.instructions |= SentCompleteBoundaryFunction),
8397
+ writeChunk(destination, completeBoundaryScriptFunctionOnly)),
8398
+ writeChunk(destination, completeBoundaryScript1Partial));
8381
8399
  completedSegments = i.toString(16);
8382
8400
  writeChunk(destination, request.boundaryPrefix);
8383
8401
  writeChunk(destination, completedSegments);
@@ -8773,13 +8791,13 @@ function abort(request, reason) {
8773
8791
  }
8774
8792
  var isomorphicReactPackageVersion$jscomp$inline_761 = React.version;
8775
8793
  if (
8776
- "19.2.0-canary-4a45ba92-20250515" !==
8794
+ "19.2.0-canary-462d08f9-20250517" !==
8777
8795
  isomorphicReactPackageVersion$jscomp$inline_761
8778
8796
  )
8779
8797
  throw Error(
8780
8798
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8781
8799
  (isomorphicReactPackageVersion$jscomp$inline_761 +
8782
- "\n - react-dom: 19.2.0-canary-4a45ba92-20250515\nLearn more: https://react.dev/warnings/version-mismatch")
8800
+ "\n - react-dom: 19.2.0-canary-462d08f9-20250517\nLearn more: https://react.dev/warnings/version-mismatch")
8783
8801
  );
8784
8802
  exports.renderToReadableStream = function (children, options) {
8785
8803
  return new Promise(function (resolve, reject) {
@@ -8872,4 +8890,4 @@ exports.renderToReadableStream = function (children, options) {
8872
8890
  startWork(request$jscomp$0);
8873
8891
  });
8874
8892
  };
8875
- exports.version = "19.2.0-canary-4a45ba92-20250515";
8893
+ exports.version = "19.2.0-canary-462d08f9-20250517";
@@ -538,7 +538,8 @@ function getSuspenseViewTransition(parentViewTransition) {
538
538
  nameIdx: 0
539
539
  };
540
540
  }
541
- function getSuspenseFallbackFormatContext(parentContext) {
541
+ function getSuspenseFallbackFormatContext(resumableState, parentContext) {
542
+ parentContext.tagScope & 32 && (resumableState.instructions |= 128);
542
543
  return createFormatContext(
543
544
  parentContext.insertionMode,
544
545
  parentContext.selectedValue,
@@ -546,7 +547,7 @@ function getSuspenseFallbackFormatContext(parentContext) {
546
547
  getSuspenseViewTransition(parentContext.viewTransition)
547
548
  );
548
549
  }
549
- function getSuspenseContentFormatContext(parentContext) {
550
+ function getSuspenseContentFormatContext(resumableState, parentContext) {
550
551
  return createFormatContext(
551
552
  parentContext.insertionMode,
552
553
  parentContext.selectedValue,
@@ -4219,7 +4220,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4219
4220
  type = task.keyPath;
4220
4221
  newProps = task.formatContext;
4221
4222
  task.keyPath = keyPath;
4222
- task.formatContext = getSuspenseContentFormatContext(newProps);
4223
+ task.formatContext = getSuspenseContentFormatContext(
4224
+ request.resumableState,
4225
+ newProps
4226
+ );
4223
4227
  keyPath = props.children;
4224
4228
  try {
4225
4229
  renderNode(request, task, keyPath, -1);
@@ -4274,7 +4278,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4274
4278
  task.blockedSegment = boundarySegment;
4275
4279
  task.blockedPreamble = newBoundary.fallbackPreamble;
4276
4280
  task.keyPath = newProps;
4277
- task.formatContext = getSuspenseFallbackFormatContext(ref);
4281
+ task.formatContext = getSuspenseFallbackFormatContext(
4282
+ request.resumableState,
4283
+ ref
4284
+ );
4278
4285
  boundarySegment.status = 6;
4279
4286
  try {
4280
4287
  renderNode(request, task, fallback, -1),
@@ -4305,7 +4312,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4305
4312
  newBoundary.contentState,
4306
4313
  task.abortSet,
4307
4314
  keyPath,
4308
- getSuspenseContentFormatContext(task.formatContext),
4315
+ getSuspenseContentFormatContext(
4316
+ request.resumableState,
4317
+ task.formatContext
4318
+ ),
4309
4319
  task.context,
4310
4320
  task.treeContext,
4311
4321
  task.componentStack
@@ -4318,7 +4328,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4318
4328
  task.hoistableState = newBoundary.contentState;
4319
4329
  task.blockedSegment = contentRootSegment;
4320
4330
  task.keyPath = keyPath;
4321
- task.formatContext = getSuspenseContentFormatContext(ref);
4331
+ task.formatContext = getSuspenseContentFormatContext(
4332
+ request.resumableState,
4333
+ ref
4334
+ );
4322
4335
  contentRootSegment.status = 6;
4323
4336
  try {
4324
4337
  if (
@@ -4372,7 +4385,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4372
4385
  newBoundary.fallbackState,
4373
4386
  fallbackAbortSet,
4374
4387
  [keyPath[0], "Suspense Fallback", keyPath[2]],
4375
- getSuspenseFallbackFormatContext(task.formatContext),
4388
+ getSuspenseFallbackFormatContext(
4389
+ request.resumableState,
4390
+ task.formatContext
4391
+ ),
4376
4392
  task.context,
4377
4393
  task.treeContext,
4378
4394
  task.componentStack
@@ -4619,8 +4635,10 @@ function retryNode(request, task) {
4619
4635
  task.blockedBoundary = props;
4620
4636
  task.hoistableState = props.contentState;
4621
4637
  task.keyPath = key;
4622
- task.formatContext =
4623
- getSuspenseContentFormatContext(prevContext);
4638
+ task.formatContext = getSuspenseContentFormatContext(
4639
+ request.resumableState,
4640
+ prevContext
4641
+ );
4624
4642
  task.replay = {
4625
4643
  nodes: ref,
4626
4644
  slots: name,
@@ -4673,7 +4691,10 @@ function retryNode(request, task) {
4673
4691
  props.fallbackState,
4674
4692
  fallbackAbortSet,
4675
4693
  [key[0], "Suspense Fallback", key[2]],
4676
- getSuspenseFallbackFormatContext(task.formatContext),
4694
+ getSuspenseFallbackFormatContext(
4695
+ request.resumableState,
4696
+ task.formatContext
4697
+ ),
4677
4698
  task.context,
4678
4699
  task.treeContext,
4679
4700
  task.componentStack
@@ -5197,6 +5218,7 @@ function finishedSegment(request, boundary, segment) {
5197
5218
  }
5198
5219
  }
5199
5220
  function finishedTask(request, boundary, segment) {
5221
+ request.allPendingTasks--;
5200
5222
  if (null === boundary) {
5201
5223
  if (null !== segment && segment.parentFlushed) {
5202
5224
  if (null !== request.completedRootSegment)
@@ -5236,7 +5258,6 @@ function finishedTask(request, boundary, segment) {
5236
5258
  1 === boundary.completedSegments.length &&
5237
5259
  boundary.parentFlushed &&
5238
5260
  request.partialBoundaries.push(boundary)));
5239
- request.allPendingTasks--;
5240
5261
  0 === request.allPendingTasks && completeAll(request);
5241
5262
  }
5242
5263
  function performWork(request$jscomp$2) {
@@ -5639,7 +5660,7 @@ function flushCompletedBoundary(request, destination, boundary) {
5639
5660
  ((completedSegments.instructions |= 2),
5640
5661
  writeChunk(
5641
5662
  destination,
5642
- '$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())};'
5663
+ '$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())};'
5643
5664
  )),
5644
5665
  0 === (completedSegments.instructions & 8)
5645
5666
  ? ((completedSegments.instructions |= 8),
@@ -5648,13 +5669,13 @@ function flushCompletedBoundary(request, destination, boundary) {
5648
5669
  '$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("'
5649
5670
  ))
5650
5671
  : writeChunk(destination, '$RR("'))
5651
- : 0 === (completedSegments.instructions & 2)
5652
- ? ((completedSegments.instructions |= 2),
5672
+ : (0 === (completedSegments.instructions & 2) &&
5673
+ ((completedSegments.instructions |= 2),
5653
5674
  writeChunk(
5654
5675
  destination,
5655
- '$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("'
5656
- ))
5657
- : writeChunk(destination, '$RC("');
5676
+ '$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())};'
5677
+ )),
5678
+ writeChunk(destination, '$RC("'));
5658
5679
  completedSegments = i.toString(16);
5659
5680
  writeChunk(destination, request.boundaryPrefix);
5660
5681
  writeChunk(destination, completedSegments);
@@ -6012,13 +6033,13 @@ function abort(request, reason) {
6012
6033
  }
6013
6034
  var isomorphicReactPackageVersion$jscomp$inline_781 = React.version;
6014
6035
  if (
6015
- "19.2.0-canary-4a45ba92-20250515" !==
6036
+ "19.2.0-canary-462d08f9-20250517" !==
6016
6037
  isomorphicReactPackageVersion$jscomp$inline_781
6017
6038
  )
6018
6039
  throw Error(
6019
6040
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6020
6041
  (isomorphicReactPackageVersion$jscomp$inline_781 +
6021
- "\n - react-dom: 19.2.0-canary-4a45ba92-20250515\nLearn more: https://react.dev/warnings/version-mismatch")
6042
+ "\n - react-dom: 19.2.0-canary-462d08f9-20250517\nLearn more: https://react.dev/warnings/version-mismatch")
6022
6043
  );
6023
6044
  exports.renderToReadableStream = function (children, options) {
6024
6045
  return new Promise(function (resolve, reject) {
@@ -6109,4 +6130,4 @@ exports.renderToReadableStream = function (children, options) {
6109
6130
  startWork(request);
6110
6131
  });
6111
6132
  };
6112
- exports.version = "19.2.0-canary-4a45ba92-20250515";
6133
+ exports.version = "19.2.0-canary-462d08f9-20250517";
@@ -1150,7 +1150,8 @@
1150
1150
  nameIdx: 0
1151
1151
  };
1152
1152
  }
1153
- function getSuspenseFallbackFormatContext(parentContext) {
1153
+ function getSuspenseFallbackFormatContext(resumableState, parentContext) {
1154
+ parentContext.tagScope & 32 && (resumableState.instructions |= 128);
1154
1155
  return createFormatContext(
1155
1156
  parentContext.insertionMode,
1156
1157
  parentContext.selectedValue,
@@ -1158,7 +1159,7 @@
1158
1159
  getSuspenseViewTransition(parentContext.viewTransition)
1159
1160
  );
1160
1161
  }
1161
- function getSuspenseContentFormatContext(parentContext) {
1162
+ function getSuspenseContentFormatContext(resumableState, parentContext) {
1162
1163
  return createFormatContext(
1163
1164
  parentContext.insertionMode,
1164
1165
  parentContext.selectedValue,
@@ -5614,8 +5615,10 @@
5614
5615
  var _prevKeyPath = task.keyPath,
5615
5616
  _prevContext = task.formatContext;
5616
5617
  task.keyPath = keyPath;
5617
- task.formatContext =
5618
- getSuspenseContentFormatContext(_prevContext);
5618
+ task.formatContext = getSuspenseContentFormatContext(
5619
+ request.resumableState,
5620
+ _prevContext
5621
+ );
5619
5622
  var _content = props.children;
5620
5623
  try {
5621
5624
  renderNode(request, task, _content, -1);
@@ -5688,8 +5691,10 @@
5688
5691
  task.blockedSegment = boundarySegment;
5689
5692
  task.blockedPreamble = newBoundary.fallbackPreamble;
5690
5693
  task.keyPath = fallbackKeyPath;
5691
- task.formatContext =
5692
- getSuspenseFallbackFormatContext(prevContext$jscomp$0);
5694
+ task.formatContext = getSuspenseFallbackFormatContext(
5695
+ request.resumableState,
5696
+ prevContext$jscomp$0
5697
+ );
5693
5698
  boundarySegment.status = 6;
5694
5699
  try {
5695
5700
  renderNode(request, task, fallback, -1),
@@ -5720,7 +5725,10 @@
5720
5725
  newBoundary.contentState,
5721
5726
  task.abortSet,
5722
5727
  keyPath,
5723
- getSuspenseContentFormatContext(task.formatContext),
5728
+ getSuspenseContentFormatContext(
5729
+ request.resumableState,
5730
+ task.formatContext
5731
+ ),
5724
5732
  task.context,
5725
5733
  task.treeContext,
5726
5734
  task.componentStack,
@@ -5735,8 +5743,10 @@
5735
5743
  task.hoistableState = newBoundary.contentState;
5736
5744
  task.blockedSegment = contentRootSegment;
5737
5745
  task.keyPath = keyPath;
5738
- task.formatContext =
5739
- getSuspenseContentFormatContext(prevContext$jscomp$0);
5746
+ task.formatContext = getSuspenseContentFormatContext(
5747
+ request.resumableState,
5748
+ prevContext$jscomp$0
5749
+ );
5740
5750
  contentRootSegment.status = 6;
5741
5751
  try {
5742
5752
  if (
@@ -5798,7 +5808,10 @@
5798
5808
  newBoundary.fallbackState,
5799
5809
  fallbackAbortSet,
5800
5810
  [keyPath[0], "Suspense Fallback", keyPath[2]],
5801
- getSuspenseFallbackFormatContext(task.formatContext),
5811
+ getSuspenseFallbackFormatContext(
5812
+ request.resumableState,
5813
+ task.formatContext
5814
+ ),
5802
5815
  task.context,
5803
5816
  task.treeContext,
5804
5817
  task.componentStack,
@@ -6062,7 +6075,10 @@
6062
6075
  task.blockedBoundary = props;
6063
6076
  task.hoistableState = props.contentState;
6064
6077
  task.keyPath = keyPath;
6065
- task.formatContext = getSuspenseContentFormatContext(prevContext);
6078
+ task.formatContext = getSuspenseContentFormatContext(
6079
+ request.resumableState,
6080
+ prevContext
6081
+ );
6066
6082
  task.replay = { nodes: type, slots: ref, pendingTasks: 1 };
6067
6083
  try {
6068
6084
  renderNode(request, task, content, -1);
@@ -6108,7 +6124,10 @@
6108
6124
  props.fallbackState,
6109
6125
  fallbackAbortSet,
6110
6126
  [keyPath[0], "Suspense Fallback", keyPath[2]],
6111
- getSuspenseFallbackFormatContext(task.formatContext),
6127
+ getSuspenseFallbackFormatContext(
6128
+ request.resumableState,
6129
+ task.formatContext
6130
+ ),
6112
6131
  task.context,
6113
6132
  task.treeContext,
6114
6133
  task.componentStack,
@@ -6874,6 +6893,7 @@
6874
6893
  }
6875
6894
  }
6876
6895
  function finishedTask(request, boundary, segment) {
6896
+ request.allPendingTasks--;
6877
6897
  if (null === boundary) {
6878
6898
  if (null !== segment && segment.parentFlushed) {
6879
6899
  if (null !== request.completedRootSegment)
@@ -6913,7 +6933,6 @@
6913
6933
  1 === boundary.completedSegments.length &&
6914
6934
  boundary.parentFlushed &&
6915
6935
  request.partialBoundaries.push(boundary)));
6916
- request.allPendingTasks--;
6917
6936
  0 === request.allPendingTasks && completeAll(request);
6918
6937
  }
6919
6938
  function performWork(request$jscomp$2) {
@@ -7418,11 +7437,11 @@
7418
7437
  completeBoundaryWithStylesScript1FullPartial
7419
7438
  ))
7420
7439
  : writeChunk(destination, completeBoundaryWithStylesScript1Partial))
7421
- : (completedSegments.instructions & SentCompleteBoundaryFunction) ===
7422
- NothingSent
7423
- ? ((completedSegments.instructions |= SentCompleteBoundaryFunction),
7424
- writeChunk(destination, completeBoundaryScript1Full))
7425
- : writeChunk(destination, completeBoundaryScript1Partial);
7440
+ : ((completedSegments.instructions & SentCompleteBoundaryFunction) ===
7441
+ NothingSent &&
7442
+ ((completedSegments.instructions |= SentCompleteBoundaryFunction),
7443
+ writeChunk(destination, completeBoundaryScriptFunctionOnly)),
7444
+ writeChunk(destination, completeBoundaryScript1Partial));
7426
7445
  completedSegments = stringToChunk(i.toString(16));
7427
7446
  writeChunk(destination, request.boundaryPrefix);
7428
7447
  writeChunk(destination, completedSegments);
@@ -7915,11 +7934,11 @@
7915
7934
  }
7916
7935
  function ensureCorrectIsomorphicReactVersion() {
7917
7936
  var isomorphicReactPackageVersion = React.version;
7918
- if ("19.2.0-canary-4a45ba92-20250515" !== isomorphicReactPackageVersion)
7937
+ if ("19.2.0-canary-462d08f9-20250517" !== isomorphicReactPackageVersion)
7919
7938
  throw Error(
7920
7939
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7921
7940
  (isomorphicReactPackageVersion +
7922
- "\n - react-dom: 19.2.0-canary-4a45ba92-20250515\nLearn more: https://react.dev/warnings/version-mismatch")
7941
+ "\n - react-dom: 19.2.0-canary-462d08f9-20250517\nLearn more: https://react.dev/warnings/version-mismatch")
7923
7942
  );
7924
7943
  }
7925
7944
  var React = require("react"),
@@ -9146,12 +9165,12 @@
9146
9165
  stringToPrecomputedChunk('<template data-rsi="" data-sid="');
9147
9166
  stringToPrecomputedChunk('" data-pid="');
9148
9167
  var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
9149
- '$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())};'
9150
- ),
9151
- completeBoundaryScript1Full = stringToPrecomputedChunk(
9152
- '$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("'
9153
- ),
9154
- completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
9168
+ '$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())};'
9169
+ );
9170
+ stringToPrecomputedChunk(
9171
+ "$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
9172
+ );
9173
+ var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
9155
9174
  completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
9156
9175
  '$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("'
9157
9176
  ),
@@ -9601,5 +9620,5 @@
9601
9620
  startWork(request);
9602
9621
  });
9603
9622
  };
9604
- exports.version = "19.2.0-canary-4a45ba92-20250515";
9623
+ exports.version = "19.2.0-canary-462d08f9-20250517";
9605
9624
  })();