react-dom 19.2.0-canary-e9db3cc2-20250501 → 19.2.0-canary-f7396427-20250501

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.
@@ -3425,6 +3425,17 @@
3425
3425
  styleQueue.sheets.forEach(preloadLateStyle, this);
3426
3426
  styleQueue.sheets.clear();
3427
3427
  }
3428
+ function writeCompletedShellIdAttribute(destination, resumableState) {
3429
+ (resumableState.instructions & SentCompletedShellId) === NothingSent &&
3430
+ ((resumableState.instructions |= SentCompletedShellId),
3431
+ (resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
3432
+ writeChunk(destination, completedShellIdAttributeStart),
3433
+ writeChunk(
3434
+ destination,
3435
+ stringToChunk(escapeTextForBrowser(resumableState))
3436
+ ),
3437
+ writeChunk(destination, attributeEnd));
3438
+ }
3428
3439
  function pushCompletedShellIdAttribute(target, resumableState) {
3429
3440
  (resumableState.instructions & SentCompletedShellId) === NothingSent &&
3430
3441
  ((resumableState.instructions |= SentCompletedShellId),
@@ -7351,21 +7362,22 @@
7351
7362
  writeChunk(destination, request.startInlineScript);
7352
7363
  writeChunk(destination, endOfStartTag);
7353
7364
  requiresStyleInsertion
7354
- ? (completedSegments.instructions & SentCompleteBoundaryFunction) ===
7365
+ ? ((completedSegments.instructions & SentClientRenderFunction) ===
7366
+ NothingSent &&
7367
+ ((completedSegments.instructions |= SentClientRenderFunction),
7368
+ writeChunk(destination, clientRenderScriptFunctionOnly)),
7369
+ (completedSegments.instructions & SentCompleteBoundaryFunction) ===
7370
+ NothingSent &&
7371
+ ((completedSegments.instructions |= SentCompleteBoundaryFunction),
7372
+ writeChunk(destination, completeBoundaryScriptFunctionOnly)),
7373
+ (completedSegments.instructions & SentStyleInsertionFunction) ===
7355
7374
  NothingSent
7356
- ? ((completedSegments.instructions =
7357
- completedSegments.instructions |
7358
- SentStyleInsertionFunction |
7359
- SentCompleteBoundaryFunction),
7360
- writeChunk(destination, completeBoundaryWithStylesScript1FullBoth))
7361
- : (completedSegments.instructions & SentStyleInsertionFunction) ===
7362
- NothingSent
7363
7375
  ? ((completedSegments.instructions |= SentStyleInsertionFunction),
7364
7376
  writeChunk(
7365
7377
  destination,
7366
7378
  completeBoundaryWithStylesScript1FullPartial
7367
7379
  ))
7368
- : writeChunk(destination, completeBoundaryWithStylesScript1Partial)
7380
+ : writeChunk(destination, completeBoundaryWithStylesScript1Partial))
7369
7381
  : (completedSegments.instructions & SentCompleteBoundaryFunction) ===
7370
7382
  NothingSent
7371
7383
  ? ((completedSegments.instructions |= SentCompleteBoundaryFunction),
@@ -7544,21 +7556,35 @@
7544
7556
  flushSegment(request, destination, completedRootSegment, null);
7545
7557
  request.completedRootSegment = null;
7546
7558
  var resumableState$jscomp$0 = request.resumableState,
7547
- renderState$jscomp$0 = request.renderState,
7548
- preamble$jscomp$1 = renderState$jscomp$0.preamble;
7549
- if (
7550
- (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
7559
+ renderState$jscomp$0 = request.renderState;
7560
+ (0 === request.allPendingTasks &&
7561
+ 0 === request.clientRenderedBoundaries.length &&
7562
+ 0 === request.completedBoundaries.length &&
7563
+ (null === request.trackedPostpones ||
7564
+ (0 === request.trackedPostpones.rootNodes.length &&
7565
+ null === request.trackedPostpones.rootSlots))) ||
7566
+ (resumableState$jscomp$0.instructions & SentMarkShellTime) !==
7567
+ NothingSent ||
7568
+ ((resumableState$jscomp$0.instructions |= SentMarkShellTime),
7569
+ writeChunk(destination, renderState$jscomp$0.startInlineScript),
7570
+ writeCompletedShellIdAttribute(
7571
+ destination,
7572
+ resumableState$jscomp$0
7573
+ ),
7574
+ writeChunk(destination, endOfStartTag),
7575
+ writeChunk(destination, shellTimeRuntimeScript),
7576
+ writeChunkAndReturn(destination, endInlineScript));
7577
+ var preamble$jscomp$1 = renderState$jscomp$0.preamble;
7578
+ (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
7551
7579
  (resumableState$jscomp$0.instructions & SentCompletedShellId) ===
7552
- NothingSent
7553
- ) {
7554
- var bootstrapChunks = renderState$jscomp$0.bootstrapChunks;
7555
- bootstrapChunks.push(startChunkForTag("template"));
7556
- pushCompletedShellIdAttribute(
7557
- bootstrapChunks,
7580
+ NothingSent &&
7581
+ (writeChunk(destination, startChunkForTag("template")),
7582
+ writeCompletedShellIdAttribute(
7583
+ destination,
7558
7584
  resumableState$jscomp$0
7559
- );
7560
- bootstrapChunks.push(endOfStartTag, endChunkForTag("template"));
7561
- }
7585
+ ),
7586
+ writeChunk(destination, endOfStartTag),
7587
+ writeChunk(destination, endChunkForTag("template")));
7562
7588
  writeBootstrap(destination, renderState$jscomp$0);
7563
7589
  }
7564
7590
  var renderState$jscomp$1 = request.renderState;
@@ -7762,7 +7788,6 @@
7762
7788
  }
7763
7789
  } finally {
7764
7790
  0 === request.allPendingTasks &&
7765
- 0 === request.pingedTasks.length &&
7766
7791
  0 === request.clientRenderedBoundaries.length &&
7767
7792
  0 === request.completedBoundaries.length
7768
7793
  ? ((request.flushScheduled = !1),
@@ -7847,11 +7872,11 @@
7847
7872
  }
7848
7873
  function ensureCorrectIsomorphicReactVersion() {
7849
7874
  var isomorphicReactPackageVersion = React.version;
7850
- if ("19.2.0-canary-e9db3cc2-20250501" !== isomorphicReactPackageVersion)
7875
+ if ("19.2.0-canary-f7396427-20250501" !== isomorphicReactPackageVersion)
7851
7876
  throw Error(
7852
7877
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7853
7878
  (isomorphicReactPackageVersion +
7854
- "\n - react-dom: 19.2.0-canary-e9db3cc2-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
7879
+ "\n - react-dom: 19.2.0-canary-f7396427-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
7855
7880
  );
7856
7881
  }
7857
7882
  var React = require("react"),
@@ -8941,6 +8966,7 @@
8941
8966
  SentClientRenderFunction = 4,
8942
8967
  SentStyleInsertionFunction = 8,
8943
8968
  SentCompletedShellId = 32,
8969
+ SentMarkShellTime = 64,
8944
8970
  EXISTS = null,
8945
8971
  PRELOAD_NO_CREDS = [];
8946
8972
  Object.freeze(PRELOAD_NO_CREDS);
@@ -9015,6 +9041,9 @@
9015
9041
  validatedTagCache = new Map(),
9016
9042
  doctypeChunk = stringToPrecomputedChunk("<!DOCTYPE html>"),
9017
9043
  endTagCache = new Map(),
9044
+ shellTimeRuntimeScript = stringToPrecomputedChunk(
9045
+ "requestAnimationFrame(function(){$RT=performance.now()});"
9046
+ ),
9018
9047
  placeholder1 = stringToPrecomputedChunk('<template id="'),
9019
9048
  placeholder2 = stringToPrecomputedChunk('"></template>'),
9020
9049
  startActivityBoundary = stringToPrecomputedChunk("\x3c!--&--\x3e"),
@@ -9079,15 +9108,15 @@
9079
9108
  completeSegmentScriptEnd = stringToPrecomputedChunk('")\x3c/script>');
9080
9109
  stringToPrecomputedChunk('<template data-rsi="" data-sid="');
9081
9110
  stringToPrecomputedChunk('" data-pid="');
9082
- var completeBoundaryScript1Full = stringToPrecomputedChunk(
9083
- '$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RC("'
9111
+ var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
9112
+ '$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())};'
9084
9113
  ),
9085
- completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
9086
- completeBoundaryWithStylesScript1FullBoth = stringToPrecomputedChunk(
9087
- '$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'
9114
+ completeBoundaryScript1Full = stringToPrecomputedChunk(
9115
+ '$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("'
9088
9116
  ),
9117
+ completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
9089
9118
  completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
9090
- '$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'
9119
+ '$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("'
9091
9120
  ),
9092
9121
  completeBoundaryWithStylesScript1Partial =
9093
9122
  stringToPrecomputedChunk('$RR("'),
@@ -9099,7 +9128,10 @@
9099
9128
  stringToPrecomputedChunk('<template data-rri="" data-bid="');
9100
9129
  stringToPrecomputedChunk('" data-sid="');
9101
9130
  stringToPrecomputedChunk('" data-sty="');
9102
- var clientRenderScript1Full = stringToPrecomputedChunk(
9131
+ var clientRenderScriptFunctionOnly = stringToPrecomputedChunk(
9132
+ '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'
9133
+ ),
9134
+ clientRenderScript1Full = stringToPrecomputedChunk(
9103
9135
  '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
9104
9136
  ),
9105
9137
  clientRenderScript1Partial = stringToPrecomputedChunk('$RX("'),
@@ -9534,5 +9566,5 @@
9534
9566
  startWork(request);
9535
9567
  });
9536
9568
  };
9537
- exports.version = "19.2.0-canary-e9db3cc2-20250501";
9569
+ exports.version = "19.2.0-canary-f7396427-20250501";
9538
9570
  })();
@@ -2320,7 +2320,10 @@ function writeBootstrap(destination, renderState) {
2320
2320
  writeChunkAndReturn(destination, i))
2321
2321
  : !0;
2322
2322
  }
2323
- var placeholder1 = stringToPrecomputedChunk('<template id="'),
2323
+ var shellTimeRuntimeScript = stringToPrecomputedChunk(
2324
+ "requestAnimationFrame(function(){$RT=performance.now()});"
2325
+ ),
2326
+ placeholder1 = stringToPrecomputedChunk('<template id="'),
2324
2327
  placeholder2 = stringToPrecomputedChunk('"></template>'),
2325
2328
  startActivityBoundary = stringToPrecomputedChunk("\x3c!--&--\x3e"),
2326
2329
  endActivityBoundary = stringToPrecomputedChunk("\x3c!--/&--\x3e"),
@@ -2465,15 +2468,15 @@ var completeSegmentScript1Full = stringToPrecomputedChunk(
2465
2468
  completeSegmentScriptEnd = stringToPrecomputedChunk('")\x3c/script>');
2466
2469
  stringToPrecomputedChunk('<template data-rsi="" data-sid="');
2467
2470
  stringToPrecomputedChunk('" data-pid="');
2468
- var completeBoundaryScript1Full = stringToPrecomputedChunk(
2469
- '$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RC("'
2471
+ var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
2472
+ '$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())};'
2470
2473
  ),
2471
- completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
2472
- completeBoundaryWithStylesScript1FullBoth = stringToPrecomputedChunk(
2473
- '$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'
2474
+ completeBoundaryScript1Full = stringToPrecomputedChunk(
2475
+ '$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("'
2474
2476
  ),
2477
+ completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
2475
2478
  completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
2476
- '$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'
2479
+ '$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("'
2477
2480
  ),
2478
2481
  completeBoundaryWithStylesScript1Partial = stringToPrecomputedChunk('$RR("'),
2479
2482
  completeBoundaryScript2 = stringToPrecomputedChunk('","'),
@@ -2484,7 +2487,10 @@ stringToPrecomputedChunk('<template data-rci="" data-bid="');
2484
2487
  stringToPrecomputedChunk('<template data-rri="" data-bid="');
2485
2488
  stringToPrecomputedChunk('" data-sid="');
2486
2489
  stringToPrecomputedChunk('" data-sty="');
2487
- var clientRenderScript1Full = stringToPrecomputedChunk(
2490
+ var clientRenderScriptFunctionOnly = stringToPrecomputedChunk(
2491
+ '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'
2492
+ ),
2493
+ clientRenderScript1Full = stringToPrecomputedChunk(
2488
2494
  '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
2489
2495
  ),
2490
2496
  clientRenderScript1Partial = stringToPrecomputedChunk('$RX("'),
@@ -2662,6 +2668,17 @@ var blockingRenderChunkStart = stringToPrecomputedChunk(
2662
2668
  ),
2663
2669
  blockingRenderChunkEnd = stringToPrecomputedChunk('" blocking="render"/>'),
2664
2670
  completedShellIdAttributeStart = stringToPrecomputedChunk(' id="');
2671
+ function writeCompletedShellIdAttribute(destination, resumableState) {
2672
+ 0 === (resumableState.instructions & 32) &&
2673
+ ((resumableState.instructions |= 32),
2674
+ (resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
2675
+ writeChunk(destination, completedShellIdAttributeStart),
2676
+ writeChunk(
2677
+ destination,
2678
+ stringToChunk(escapeTextForBrowser(resumableState))
2679
+ ),
2680
+ writeChunk(destination, attributeEnd));
2681
+ }
2665
2682
  function pushCompletedShellIdAttribute(target, resumableState) {
2666
2683
  0 === (resumableState.instructions & 32) &&
2667
2684
  ((resumableState.instructions |= 32),
@@ -5939,13 +5956,16 @@ function flushCompletedBoundary(request, destination, boundary) {
5939
5956
  writeChunk(destination, request.startInlineScript);
5940
5957
  writeChunk(destination, endOfStartTag);
5941
5958
  requiresStyleInsertion
5942
- ? 0 === (completedSegments.instructions & 2)
5943
- ? ((completedSegments.instructions |= 10),
5944
- writeChunk(destination, completeBoundaryWithStylesScript1FullBoth))
5945
- : 0 === (completedSegments.instructions & 8)
5959
+ ? (0 === (completedSegments.instructions & 4) &&
5960
+ ((completedSegments.instructions |= 4),
5961
+ writeChunk(destination, clientRenderScriptFunctionOnly)),
5962
+ 0 === (completedSegments.instructions & 2) &&
5963
+ ((completedSegments.instructions |= 2),
5964
+ writeChunk(destination, completeBoundaryScriptFunctionOnly)),
5965
+ 0 === (completedSegments.instructions & 8)
5946
5966
  ? ((completedSegments.instructions |= 8),
5947
5967
  writeChunk(destination, completeBoundaryWithStylesScript1FullPartial))
5948
- : writeChunk(destination, completeBoundaryWithStylesScript1Partial)
5968
+ : writeChunk(destination, completeBoundaryWithStylesScript1Partial))
5949
5969
  : 0 === (completedSegments.instructions & 2)
5950
5970
  ? ((completedSegments.instructions |= 2),
5951
5971
  writeChunk(destination, completeBoundaryScript1Full))
@@ -6084,20 +6104,27 @@ function flushCompletedQueues(request, destination) {
6084
6104
  flushSegment(request, destination, completedRootSegment, null);
6085
6105
  request.completedRootSegment = null;
6086
6106
  var resumableState$jscomp$0 = request.resumableState,
6087
- renderState$jscomp$0 = request.renderState,
6088
- preamble$jscomp$1 = renderState$jscomp$0.preamble;
6089
- if (
6090
- (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
6091
- 0 === (resumableState$jscomp$0.instructions & 32)
6092
- ) {
6093
- var bootstrapChunks = renderState$jscomp$0.bootstrapChunks;
6094
- bootstrapChunks.push(startChunkForTag("template"));
6095
- pushCompletedShellIdAttribute(
6096
- bootstrapChunks,
6097
- resumableState$jscomp$0
6098
- );
6099
- bootstrapChunks.push(endOfStartTag, endChunkForTag("template"));
6100
- }
6107
+ renderState$jscomp$0 = request.renderState;
6108
+ (0 === request.allPendingTasks &&
6109
+ 0 === request.clientRenderedBoundaries.length &&
6110
+ 0 === request.completedBoundaries.length &&
6111
+ (null === request.trackedPostpones ||
6112
+ (0 === request.trackedPostpones.rootNodes.length &&
6113
+ null === request.trackedPostpones.rootSlots))) ||
6114
+ 0 !== (resumableState$jscomp$0.instructions & 64) ||
6115
+ ((resumableState$jscomp$0.instructions |= 64),
6116
+ writeChunk(destination, renderState$jscomp$0.startInlineScript),
6117
+ writeCompletedShellIdAttribute(destination, resumableState$jscomp$0),
6118
+ writeChunk(destination, endOfStartTag),
6119
+ writeChunk(destination, shellTimeRuntimeScript),
6120
+ writeChunkAndReturn(destination, endInlineScript));
6121
+ var preamble$jscomp$1 = renderState$jscomp$0.preamble;
6122
+ (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
6123
+ 0 === (resumableState$jscomp$0.instructions & 32) &&
6124
+ (writeChunk(destination, startChunkForTag("template")),
6125
+ writeCompletedShellIdAttribute(destination, resumableState$jscomp$0),
6126
+ writeChunk(destination, endOfStartTag),
6127
+ writeChunk(destination, endChunkForTag("template")));
6101
6128
  writeBootstrap(destination, renderState$jscomp$0);
6102
6129
  }
6103
6130
  var renderState$jscomp$1 = request.renderState;
@@ -6242,7 +6269,6 @@ function flushCompletedQueues(request, destination) {
6242
6269
  }
6243
6270
  } finally {
6244
6271
  0 === request.allPendingTasks &&
6245
- 0 === request.pingedTasks.length &&
6246
6272
  0 === request.clientRenderedBoundaries.length &&
6247
6273
  0 === request.completedBoundaries.length
6248
6274
  ? ((request.flushScheduled = !1),
@@ -6318,12 +6344,12 @@ function abort(request, reason) {
6318
6344
  }
6319
6345
  function ensureCorrectIsomorphicReactVersion() {
6320
6346
  var isomorphicReactPackageVersion = React.version;
6321
- if ("19.2.0-canary-e9db3cc2-20250501" !== isomorphicReactPackageVersion)
6347
+ if ("19.2.0-canary-f7396427-20250501" !== isomorphicReactPackageVersion)
6322
6348
  throw Error(
6323
6349
  formatProdErrorMessage(
6324
6350
  527,
6325
6351
  isomorphicReactPackageVersion,
6326
- "19.2.0-canary-e9db3cc2-20250501"
6352
+ "19.2.0-canary-f7396427-20250501"
6327
6353
  )
6328
6354
  );
6329
6355
  }
@@ -6470,4 +6496,4 @@ exports.renderToReadableStream = function (children, options) {
6470
6496
  startWork(request);
6471
6497
  });
6472
6498
  };
6473
- exports.version = "19.2.0-canary-e9db3cc2-20250501";
6499
+ exports.version = "19.2.0-canary-f7396427-20250501";
@@ -1375,9 +1375,11 @@ var NothingSent = 0,
1375
1375
  SentClientRenderFunction = 4,
1376
1376
  SentStyleInsertionFunction = 8,
1377
1377
  SentCompletedShellId = 32,
1378
+ SentMarkShellTime = 64,
1378
1379
  EXISTS = null,
1379
1380
  PRELOAD_NO_CREDS = [];
1380
1381
  Object.freeze(PRELOAD_NO_CREDS);
1382
+ var endInlineScript = "\x3c/script>";
1381
1383
  function escapeEntireInlineScriptContent(scriptText) {
1382
1384
  checkHtmlStringCoercion(scriptText);
1383
1385
  return ("" + scriptText).replace(scriptRegex, scriptReplacer);
@@ -1411,7 +1413,7 @@ function createRenderState(
1411
1413
  externalRuntimeConfig.push(
1412
1414
  endOfStartTag,
1413
1415
  escapeEntireInlineScriptContent(bootstrapScriptContent),
1414
- "\x3c/script>"
1416
+ endInlineScript
1415
1417
  ));
1416
1418
  bootstrapScriptContent = [];
1417
1419
  void 0 !== importMap &&
@@ -2239,13 +2241,13 @@ function injectFormReplayingRuntime(resumableState, renderState) {
2239
2241
  bootstrapChunks.push(
2240
2242
  endOfStartTag,
2241
2243
  formReplayingRuntimeScript,
2242
- "\x3c/script>"
2244
+ endInlineScript
2243
2245
  ))
2244
2246
  : bootstrapChunks.unshift(
2245
2247
  renderState.startInlineScript,
2246
2248
  endOfStartTag,
2247
2249
  formReplayingRuntimeScript,
2248
- "\x3c/script>"
2250
+ endInlineScript
2249
2251
  );
2250
2252
  }
2251
2253
  }
@@ -3707,7 +3709,9 @@ function writeBootstrap(destination, renderState) {
3707
3709
  ? ((i = renderState[i]), (renderState.length = 0), !!destination.write(i))
3708
3710
  : !0;
3709
3711
  }
3710
- var placeholder1 = '<template id="',
3712
+ var shellTimeRuntimeScript =
3713
+ "requestAnimationFrame(function(){$RT=performance.now()});",
3714
+ placeholder1 = '<template id="',
3711
3715
  placeholder2 = '"></template>',
3712
3716
  startCompletedSuspenseBoundary = "\x3c!--$--\x3e",
3713
3717
  startPendingSuspenseBoundary1 = '\x3c!--$?--\x3e<template id="',
@@ -3838,18 +3842,20 @@ var completeSegmentScript1Full =
3838
3842
  completeSegmentScript1Partial = '$RS("',
3839
3843
  completeSegmentScript2 = '","',
3840
3844
  completeSegmentScriptEnd = '")\x3c/script>',
3845
+ completeBoundaryScriptFunctionOnly =
3846
+ '$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())};',
3841
3847
  completeBoundaryScript1Full =
3842
- '$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RC("',
3848
+ '$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("',
3843
3849
  completeBoundaryScript1Partial = '$RC("',
3844
- completeBoundaryWithStylesScript1FullBoth =
3845
- '$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("',
3846
3850
  completeBoundaryWithStylesScript1FullPartial =
3847
- '$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("',
3851
+ '$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("',
3848
3852
  completeBoundaryWithStylesScript1Partial = '$RR("',
3849
3853
  completeBoundaryScript2 = '","',
3850
3854
  completeBoundaryScript3a = '",',
3851
3855
  completeBoundaryScript3b = '"',
3852
3856
  completeBoundaryScriptEnd = ")\x3c/script>",
3857
+ clientRenderScriptFunctionOnly =
3858
+ '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};',
3853
3859
  clientRenderScript1Full =
3854
3860
  '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("',
3855
3861
  clientRenderScript1Partial = '$RX("',
@@ -4018,6 +4024,14 @@ function preloadLateStyles(styleQueue) {
4018
4024
  var blockingRenderChunkStart = '<link rel="expect" href="#',
4019
4025
  blockingRenderChunkEnd = '" blocking="render"/>',
4020
4026
  completedShellIdAttributeStart = ' id="';
4027
+ function writeCompletedShellIdAttribute(destination, resumableState) {
4028
+ (resumableState.instructions & SentCompletedShellId) === NothingSent &&
4029
+ ((resumableState.instructions |= SentCompletedShellId),
4030
+ (resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
4031
+ writeChunk(destination, completedShellIdAttributeStart),
4032
+ writeChunk(destination, escapeTextForBrowser(resumableState)),
4033
+ writeChunk(destination, attributeEnd));
4034
+ }
4021
4035
  function pushCompletedShellIdAttribute(target, resumableState) {
4022
4036
  (resumableState.instructions & SentCompletedShellId) === NothingSent &&
4023
4037
  ((resumableState.instructions |= SentCompletedShellId),
@@ -8324,18 +8338,19 @@ function flushCompletedBoundary(request, destination, boundary) {
8324
8338
  writeChunk(destination, request.startInlineScript);
8325
8339
  writeChunk(destination, endOfStartTag);
8326
8340
  requiresStyleInsertion
8327
- ? (completedSegments.instructions & SentCompleteBoundaryFunction) ===
8341
+ ? ((completedSegments.instructions & SentClientRenderFunction) ===
8342
+ NothingSent &&
8343
+ ((completedSegments.instructions |= SentClientRenderFunction),
8344
+ writeChunk(destination, clientRenderScriptFunctionOnly)),
8345
+ (completedSegments.instructions & SentCompleteBoundaryFunction) ===
8346
+ NothingSent &&
8347
+ ((completedSegments.instructions |= SentCompleteBoundaryFunction),
8348
+ writeChunk(destination, completeBoundaryScriptFunctionOnly)),
8349
+ (completedSegments.instructions & SentStyleInsertionFunction) ===
8328
8350
  NothingSent
8329
- ? ((completedSegments.instructions =
8330
- completedSegments.instructions |
8331
- SentStyleInsertionFunction |
8332
- SentCompleteBoundaryFunction),
8333
- writeChunk(destination, completeBoundaryWithStylesScript1FullBoth))
8334
- : (completedSegments.instructions & SentStyleInsertionFunction) ===
8335
- NothingSent
8336
8351
  ? ((completedSegments.instructions |= SentStyleInsertionFunction),
8337
8352
  writeChunk(destination, completeBoundaryWithStylesScript1FullPartial))
8338
- : writeChunk(destination, completeBoundaryWithStylesScript1Partial)
8353
+ : writeChunk(destination, completeBoundaryWithStylesScript1Partial))
8339
8354
  : (completedSegments.instructions & SentCompleteBoundaryFunction) ===
8340
8355
  NothingSent
8341
8356
  ? ((completedSegments.instructions |= SentCompleteBoundaryFunction),
@@ -8475,21 +8490,29 @@ function flushCompletedQueues(request, destination) {
8475
8490
  flushSegment(request, destination, completedRootSegment, null);
8476
8491
  request.completedRootSegment = null;
8477
8492
  var resumableState$jscomp$0 = request.resumableState,
8478
- renderState$jscomp$0 = request.renderState,
8479
- preamble$jscomp$1 = renderState$jscomp$0.preamble;
8480
- if (
8481
- (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
8493
+ renderState$jscomp$0 = request.renderState;
8494
+ (0 === request.allPendingTasks &&
8495
+ 0 === request.clientRenderedBoundaries.length &&
8496
+ 0 === request.completedBoundaries.length &&
8497
+ (null === request.trackedPostpones ||
8498
+ (0 === request.trackedPostpones.rootNodes.length &&
8499
+ null === request.trackedPostpones.rootSlots))) ||
8500
+ (resumableState$jscomp$0.instructions & SentMarkShellTime) !==
8501
+ NothingSent ||
8502
+ ((resumableState$jscomp$0.instructions |= SentMarkShellTime),
8503
+ writeChunk(destination, renderState$jscomp$0.startInlineScript),
8504
+ writeCompletedShellIdAttribute(destination, resumableState$jscomp$0),
8505
+ writeChunk(destination, endOfStartTag),
8506
+ writeChunk(destination, shellTimeRuntimeScript),
8507
+ destination.write(endInlineScript));
8508
+ var preamble$jscomp$1 = renderState$jscomp$0.preamble;
8509
+ (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
8482
8510
  (resumableState$jscomp$0.instructions & SentCompletedShellId) ===
8483
- NothingSent
8484
- ) {
8485
- var bootstrapChunks = renderState$jscomp$0.bootstrapChunks;
8486
- bootstrapChunks.push(startChunkForTag("template"));
8487
- pushCompletedShellIdAttribute(
8488
- bootstrapChunks,
8489
- resumableState$jscomp$0
8490
- );
8491
- bootstrapChunks.push(endOfStartTag, endChunkForTag("template"));
8492
- }
8511
+ NothingSent &&
8512
+ (writeChunk(destination, startChunkForTag("template")),
8513
+ writeCompletedShellIdAttribute(destination, resumableState$jscomp$0),
8514
+ writeChunk(destination, endOfStartTag),
8515
+ writeChunk(destination, endChunkForTag("template")));
8493
8516
  writeBootstrap(destination, renderState$jscomp$0);
8494
8517
  }
8495
8518
  var renderState$jscomp$1 = request.renderState;
@@ -8659,7 +8682,6 @@ function flushCompletedQueues(request, destination) {
8659
8682
  }
8660
8683
  } finally {
8661
8684
  0 === request.allPendingTasks &&
8662
- 0 === request.pingedTasks.length &&
8663
8685
  0 === request.clientRenderedBoundaries.length &&
8664
8686
  0 === request.completedBoundaries.length
8665
8687
  ? ((request.flushScheduled = !1),
@@ -8729,13 +8751,13 @@ function abort(request, reason) {
8729
8751
  }
8730
8752
  var isomorphicReactPackageVersion$jscomp$inline_748 = React.version;
8731
8753
  if (
8732
- "19.2.0-canary-e9db3cc2-20250501" !==
8754
+ "19.2.0-canary-f7396427-20250501" !==
8733
8755
  isomorphicReactPackageVersion$jscomp$inline_748
8734
8756
  )
8735
8757
  throw Error(
8736
8758
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8737
8759
  (isomorphicReactPackageVersion$jscomp$inline_748 +
8738
- "\n - react-dom: 19.2.0-canary-e9db3cc2-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
8760
+ "\n - react-dom: 19.2.0-canary-f7396427-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
8739
8761
  );
8740
8762
  exports.renderToReadableStream = function (children, options) {
8741
8763
  return new Promise(function (resolve, reject) {
@@ -8828,4 +8850,4 @@ exports.renderToReadableStream = function (children, options) {
8828
8850
  startWork(request$jscomp$0);
8829
8851
  });
8830
8852
  };
8831
- exports.version = "19.2.0-canary-e9db3cc2-20250501";
8853
+ exports.version = "19.2.0-canary-f7396427-20250501";