react-dom 19.2.0-canary-143d3e1b-20250425 → 19.2.0-canary-c498bfce-20250426

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.
@@ -25325,11 +25325,11 @@
25325
25325
  };
25326
25326
  (function () {
25327
25327
  var isomorphicReactPackageVersion = React.version;
25328
- if ("19.2.0-canary-143d3e1b-20250425" !== isomorphicReactPackageVersion)
25328
+ if ("19.2.0-canary-c498bfce-20250426" !== isomorphicReactPackageVersion)
25329
25329
  throw Error(
25330
25330
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25331
25331
  (isomorphicReactPackageVersion +
25332
- "\n - react-dom: 19.2.0-canary-143d3e1b-20250425\nLearn more: https://react.dev/warnings/version-mismatch")
25332
+ "\n - react-dom: 19.2.0-canary-c498bfce-20250426\nLearn more: https://react.dev/warnings/version-mismatch")
25333
25333
  );
25334
25334
  })();
25335
25335
  ("function" === typeof Map &&
@@ -25366,10 +25366,10 @@
25366
25366
  !(function () {
25367
25367
  var internals = {
25368
25368
  bundleType: 1,
25369
- version: "19.2.0-canary-143d3e1b-20250425",
25369
+ version: "19.2.0-canary-c498bfce-20250426",
25370
25370
  rendererPackageName: "react-dom",
25371
25371
  currentDispatcherRef: ReactSharedInternals,
25372
- reconcilerVersion: "19.2.0-canary-143d3e1b-20250425"
25372
+ reconcilerVersion: "19.2.0-canary-c498bfce-20250426"
25373
25373
  };
25374
25374
  internals.overrideHookState = overrideHookState;
25375
25375
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25513,7 +25513,7 @@
25513
25513
  listenToAllSupportedEvents(container);
25514
25514
  return new ReactDOMHydrationRoot(initialChildren);
25515
25515
  };
25516
- exports.version = "19.2.0-canary-143d3e1b-20250425";
25516
+ exports.version = "19.2.0-canary-c498bfce-20250426";
25517
25517
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25518
25518
  "function" ===
25519
25519
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -15606,14 +15606,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15606
15606
  };
15607
15607
  var isomorphicReactPackageVersion$jscomp$inline_1829 = React.version;
15608
15608
  if (
15609
- "19.2.0-canary-143d3e1b-20250425" !==
15609
+ "19.2.0-canary-c498bfce-20250426" !==
15610
15610
  isomorphicReactPackageVersion$jscomp$inline_1829
15611
15611
  )
15612
15612
  throw Error(
15613
15613
  formatProdErrorMessage(
15614
15614
  527,
15615
15615
  isomorphicReactPackageVersion$jscomp$inline_1829,
15616
- "19.2.0-canary-143d3e1b-20250425"
15616
+ "19.2.0-canary-c498bfce-20250426"
15617
15617
  )
15618
15618
  );
15619
15619
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15635,10 +15635,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15635
15635
  };
15636
15636
  var internals$jscomp$inline_2318 = {
15637
15637
  bundleType: 0,
15638
- version: "19.2.0-canary-143d3e1b-20250425",
15638
+ version: "19.2.0-canary-c498bfce-20250426",
15639
15639
  rendererPackageName: "react-dom",
15640
15640
  currentDispatcherRef: ReactSharedInternals,
15641
- reconcilerVersion: "19.2.0-canary-143d3e1b-20250425"
15641
+ reconcilerVersion: "19.2.0-canary-c498bfce-20250426"
15642
15642
  };
15643
15643
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15644
15644
  var hook$jscomp$inline_2319 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15742,4 +15742,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
15742
15742
  listenToAllSupportedEvents(container);
15743
15743
  return new ReactDOMHydrationRoot(initialChildren);
15744
15744
  };
15745
- exports.version = "19.2.0-canary-143d3e1b-20250425";
15745
+ exports.version = "19.2.0-canary-c498bfce-20250426";
@@ -25382,11 +25382,11 @@
25382
25382
  };
25383
25383
  (function () {
25384
25384
  var isomorphicReactPackageVersion = React.version;
25385
- if ("19.2.0-canary-143d3e1b-20250425" !== isomorphicReactPackageVersion)
25385
+ if ("19.2.0-canary-c498bfce-20250426" !== isomorphicReactPackageVersion)
25386
25386
  throw Error(
25387
25387
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25388
25388
  (isomorphicReactPackageVersion +
25389
- "\n - react-dom: 19.2.0-canary-143d3e1b-20250425\nLearn more: https://react.dev/warnings/version-mismatch")
25389
+ "\n - react-dom: 19.2.0-canary-c498bfce-20250426\nLearn more: https://react.dev/warnings/version-mismatch")
25390
25390
  );
25391
25391
  })();
25392
25392
  ("function" === typeof Map &&
@@ -25423,10 +25423,10 @@
25423
25423
  !(function () {
25424
25424
  var internals = {
25425
25425
  bundleType: 1,
25426
- version: "19.2.0-canary-143d3e1b-20250425",
25426
+ version: "19.2.0-canary-c498bfce-20250426",
25427
25427
  rendererPackageName: "react-dom",
25428
25428
  currentDispatcherRef: ReactSharedInternals,
25429
- reconcilerVersion: "19.2.0-canary-143d3e1b-20250425"
25429
+ reconcilerVersion: "19.2.0-canary-c498bfce-20250426"
25430
25430
  };
25431
25431
  internals.overrideHookState = overrideHookState;
25432
25432
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25900,7 +25900,7 @@
25900
25900
  exports.useFormStatus = function () {
25901
25901
  return resolveDispatcher().useHostTransitionStatus();
25902
25902
  };
25903
- exports.version = "19.2.0-canary-143d3e1b-20250425";
25903
+ exports.version = "19.2.0-canary-c498bfce-20250426";
25904
25904
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25905
25905
  "function" ===
25906
25906
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -16307,14 +16307,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
16307
16307
  };
16308
16308
  var isomorphicReactPackageVersion$jscomp$inline_1933 = React.version;
16309
16309
  if (
16310
- "19.2.0-canary-143d3e1b-20250425" !==
16310
+ "19.2.0-canary-c498bfce-20250426" !==
16311
16311
  isomorphicReactPackageVersion$jscomp$inline_1933
16312
16312
  )
16313
16313
  throw Error(
16314
16314
  formatProdErrorMessage(
16315
16315
  527,
16316
16316
  isomorphicReactPackageVersion$jscomp$inline_1933,
16317
- "19.2.0-canary-143d3e1b-20250425"
16317
+ "19.2.0-canary-c498bfce-20250426"
16318
16318
  )
16319
16319
  );
16320
16320
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16336,10 +16336,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
16336
16336
  };
16337
16337
  var internals$jscomp$inline_1940 = {
16338
16338
  bundleType: 0,
16339
- version: "19.2.0-canary-143d3e1b-20250425",
16339
+ version: "19.2.0-canary-c498bfce-20250426",
16340
16340
  rendererPackageName: "react-dom",
16341
16341
  currentDispatcherRef: ReactSharedInternals,
16342
- reconcilerVersion: "19.2.0-canary-143d3e1b-20250425",
16342
+ reconcilerVersion: "19.2.0-canary-c498bfce-20250426",
16343
16343
  getLaneLabelMap: function () {
16344
16344
  for (
16345
16345
  var map = new Map(), lane = 1, index$293 = 0;
@@ -16619,7 +16619,7 @@ exports.useFormState = function (action, initialState, permalink) {
16619
16619
  exports.useFormStatus = function () {
16620
16620
  return ReactSharedInternals.H.useHostTransitionStatus();
16621
16621
  };
16622
- exports.version = "19.2.0-canary-143d3e1b-20250425";
16622
+ exports.version = "19.2.0-canary-c498bfce-20250426";
16623
16623
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
16624
16624
  "function" ===
16625
16625
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -4317,6 +4317,7 @@
4317
4317
  this.fatalError = null;
4318
4318
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
4319
4319
  this.completedPreambleSegments = this.completedRootSegment = null;
4320
+ this.byteSize = 0;
4320
4321
  this.abortableTasks = abortSet;
4321
4322
  this.pingedTasks = [];
4322
4323
  this.clientRenderedBoundaries = [];
@@ -5503,9 +5504,10 @@
5503
5504
  (contentRootSegment.status = COMPLETED),
5504
5505
  queueCompletedSegment(newBoundary, contentRootSegment),
5505
5506
  0 === newBoundary.pendingTasks &&
5506
- newBoundary.status === PENDING)
5507
+ newBoundary.status === PENDING &&
5508
+ ((newBoundary.status = COMPLETED),
5509
+ !(newBoundary.byteSize > request.progressiveChunkSize)))
5507
5510
  ) {
5508
- newBoundary.status = COMPLETED;
5509
5511
  0 === request.pendingRootTasks &&
5510
5512
  task.blockedPreamble &&
5511
5513
  preparePreamble(request);
@@ -6639,11 +6641,12 @@
6639
6641
  boundary.parentFlushed &&
6640
6642
  request.completedBoundaries.push(boundary),
6641
6643
  boundary.status === COMPLETED &&
6642
- (boundary.fallbackAbortableTasks.forEach(
6643
- abortTaskSoft,
6644
- request
6645
- ),
6646
- boundary.fallbackAbortableTasks.clear(),
6644
+ (boundary.byteSize > request.progressiveChunkSize ||
6645
+ (boundary.fallbackAbortableTasks.forEach(
6646
+ abortTaskSoft,
6647
+ request
6648
+ ),
6649
+ boundary.fallbackAbortableTasks.clear()),
6647
6650
  0 === request.pendingRootTasks &&
6648
6651
  null === request.trackedPostpones &&
6649
6652
  null !== boundary.contentPreamble &&
@@ -9101,5 +9104,5 @@
9101
9104
  'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
9102
9105
  );
9103
9106
  };
9104
- exports.version = "19.2.0-canary-143d3e1b-20250425";
9107
+ exports.version = "19.2.0-canary-c498bfce-20250426";
9105
9108
  })();
@@ -2657,17 +2657,17 @@ function createRenderState(resumableState, generateStaticMarkup) {
2657
2657
  "\x3c/script>"
2658
2658
  ));
2659
2659
  bootstrapScriptContent = idPrefix + "P:";
2660
- var JSCompiler_object_inline_segmentPrefix_1576 = idPrefix + "S:";
2660
+ var JSCompiler_object_inline_segmentPrefix_1582 = idPrefix + "S:";
2661
2661
  idPrefix += "B:";
2662
- var JSCompiler_object_inline_preamble_1579 = createPreambleState(),
2663
- JSCompiler_object_inline_preconnects_1589 = new Set(),
2664
- JSCompiler_object_inline_fontPreloads_1590 = new Set(),
2665
- JSCompiler_object_inline_highImagePreloads_1591 = new Set(),
2666
- JSCompiler_object_inline_styles_1592 = new Map(),
2667
- JSCompiler_object_inline_bootstrapScripts_1593 = new Set(),
2668
- JSCompiler_object_inline_scripts_1594 = new Set(),
2669
- JSCompiler_object_inline_bulkPreloads_1595 = new Set(),
2670
- JSCompiler_object_inline_preloads_1596 = {
2662
+ var JSCompiler_object_inline_preamble_1585 = createPreambleState(),
2663
+ JSCompiler_object_inline_preconnects_1595 = new Set(),
2664
+ JSCompiler_object_inline_fontPreloads_1596 = new Set(),
2665
+ JSCompiler_object_inline_highImagePreloads_1597 = new Set(),
2666
+ JSCompiler_object_inline_styles_1598 = new Map(),
2667
+ JSCompiler_object_inline_bootstrapScripts_1599 = new Set(),
2668
+ JSCompiler_object_inline_scripts_1600 = new Set(),
2669
+ JSCompiler_object_inline_bulkPreloads_1601 = new Set(),
2670
+ JSCompiler_object_inline_preloads_1602 = {
2671
2671
  images: new Map(),
2672
2672
  stylesheets: new Map(),
2673
2673
  scripts: new Map(),
@@ -2704,7 +2704,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2704
2704
  scriptConfig.moduleScriptResources[href] = null;
2705
2705
  scriptConfig = [];
2706
2706
  pushLinkImpl(scriptConfig, props);
2707
- JSCompiler_object_inline_bootstrapScripts_1593.add(scriptConfig);
2707
+ JSCompiler_object_inline_bootstrapScripts_1599.add(scriptConfig);
2708
2708
  bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
2709
2709
  "string" === typeof integrity &&
2710
2710
  bootstrapChunks.push(
@@ -2751,7 +2751,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2751
2751
  (props.moduleScriptResources[scriptConfig] = null),
2752
2752
  (props = []),
2753
2753
  pushLinkImpl(props, integrity),
2754
- JSCompiler_object_inline_bootstrapScripts_1593.add(props),
2754
+ JSCompiler_object_inline_bootstrapScripts_1599.add(props),
2755
2755
  bootstrapChunks.push(
2756
2756
  '<script type="module" src="',
2757
2757
  escapeTextForBrowser(i),
@@ -2773,10 +2773,10 @@ function createRenderState(resumableState, generateStaticMarkup) {
2773
2773
  bootstrapChunks.push(' async="">\x3c/script>');
2774
2774
  return {
2775
2775
  placeholderPrefix: bootstrapScriptContent,
2776
- segmentPrefix: JSCompiler_object_inline_segmentPrefix_1576,
2776
+ segmentPrefix: JSCompiler_object_inline_segmentPrefix_1582,
2777
2777
  boundaryPrefix: idPrefix,
2778
2778
  startInlineScript: "<script",
2779
- preamble: JSCompiler_object_inline_preamble_1579,
2779
+ preamble: JSCompiler_object_inline_preamble_1585,
2780
2780
  externalRuntimeScript: null,
2781
2781
  bootstrapChunks: bootstrapChunks,
2782
2782
  importMapChunks: [],
@@ -2792,14 +2792,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
2792
2792
  charsetChunks: [],
2793
2793
  viewportChunks: [],
2794
2794
  hoistableChunks: [],
2795
- preconnects: JSCompiler_object_inline_preconnects_1589,
2796
- fontPreloads: JSCompiler_object_inline_fontPreloads_1590,
2797
- highImagePreloads: JSCompiler_object_inline_highImagePreloads_1591,
2798
- styles: JSCompiler_object_inline_styles_1592,
2799
- bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1593,
2800
- scripts: JSCompiler_object_inline_scripts_1594,
2801
- bulkPreloads: JSCompiler_object_inline_bulkPreloads_1595,
2802
- preloads: JSCompiler_object_inline_preloads_1596,
2795
+ preconnects: JSCompiler_object_inline_preconnects_1595,
2796
+ fontPreloads: JSCompiler_object_inline_fontPreloads_1596,
2797
+ highImagePreloads: JSCompiler_object_inline_highImagePreloads_1597,
2798
+ styles: JSCompiler_object_inline_styles_1598,
2799
+ bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1599,
2800
+ scripts: JSCompiler_object_inline_scripts_1600,
2801
+ bulkPreloads: JSCompiler_object_inline_bulkPreloads_1601,
2802
+ preloads: JSCompiler_object_inline_preloads_1602,
2803
2803
  stylesToHoist: !1,
2804
2804
  generateStaticMarkup: generateStaticMarkup
2805
2805
  };
@@ -3573,6 +3573,7 @@ function RequestInstance(
3573
3573
  this.fatalError = null;
3574
3574
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
3575
3575
  this.completedPreambleSegments = this.completedRootSegment = null;
3576
+ this.byteSize = 0;
3576
3577
  this.abortableTasks = abortSet;
3577
3578
  this.pingedTasks = [];
3578
3579
  this.clientRenderedBoundaries = [];
@@ -4251,9 +4252,11 @@ function renderElement(request, task, keyPath, type, props, ref) {
4251
4252
  ),
4252
4253
  (contentRootSegment.status = 1),
4253
4254
  queueCompletedSegment(newBoundary, contentRootSegment),
4254
- 0 === newBoundary.pendingTasks && 0 === newBoundary.status)
4255
+ 0 === newBoundary.pendingTasks &&
4256
+ 0 === newBoundary.status &&
4257
+ ((newBoundary.status = 1),
4258
+ !(newBoundary.byteSize > request.progressiveChunkSize)))
4255
4259
  ) {
4256
- newBoundary.status = 1;
4257
4260
  0 === request.pendingRootTasks &&
4258
4261
  task.blockedPreamble &&
4259
4262
  preparePreamble(request);
@@ -5109,8 +5112,12 @@ function finishedTask(request, boundary, segment) {
5109
5112
  boundary.parentFlushed &&
5110
5113
  request.completedBoundaries.push(boundary),
5111
5114
  1 === boundary.status &&
5112
- (boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),
5113
- boundary.fallbackAbortableTasks.clear(),
5115
+ (boundary.byteSize > request.progressiveChunkSize ||
5116
+ (boundary.fallbackAbortableTasks.forEach(
5117
+ abortTaskSoft,
5118
+ request
5119
+ ),
5120
+ boundary.fallbackAbortableTasks.clear()),
5114
5121
  0 === request.pendingRootTasks &&
5115
5122
  null === request.trackedPostpones &&
5116
5123
  null !== boundary.contentPreamble &&
@@ -5948,4 +5955,4 @@ exports.renderToString = function (children, options) {
5948
5955
  'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
5949
5956
  );
5950
5957
  };
5951
- exports.version = "19.2.0-canary-143d3e1b-20250425";
5958
+ exports.version = "19.2.0-canary-c498bfce-20250426";
@@ -4317,6 +4317,7 @@
4317
4317
  this.fatalError = null;
4318
4318
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
4319
4319
  this.completedPreambleSegments = this.completedRootSegment = null;
4320
+ this.byteSize = 0;
4320
4321
  this.abortableTasks = abortSet;
4321
4322
  this.pingedTasks = [];
4322
4323
  this.clientRenderedBoundaries = [];
@@ -5503,9 +5504,10 @@
5503
5504
  (contentRootSegment.status = COMPLETED),
5504
5505
  queueCompletedSegment(newBoundary, contentRootSegment),
5505
5506
  0 === newBoundary.pendingTasks &&
5506
- newBoundary.status === PENDING)
5507
+ newBoundary.status === PENDING &&
5508
+ ((newBoundary.status = COMPLETED),
5509
+ !(newBoundary.byteSize > request.progressiveChunkSize)))
5507
5510
  ) {
5508
- newBoundary.status = COMPLETED;
5509
5511
  0 === request.pendingRootTasks &&
5510
5512
  task.blockedPreamble &&
5511
5513
  preparePreamble(request);
@@ -6639,11 +6641,12 @@
6639
6641
  boundary.parentFlushed &&
6640
6642
  request.completedBoundaries.push(boundary),
6641
6643
  boundary.status === COMPLETED &&
6642
- (boundary.fallbackAbortableTasks.forEach(
6643
- abortTaskSoft,
6644
- request
6645
- ),
6646
- boundary.fallbackAbortableTasks.clear(),
6644
+ (boundary.byteSize > request.progressiveChunkSize ||
6645
+ (boundary.fallbackAbortableTasks.forEach(
6646
+ abortTaskSoft,
6647
+ request
6648
+ ),
6649
+ boundary.fallbackAbortableTasks.clear()),
6647
6650
  0 === request.pendingRootTasks &&
6648
6651
  null === request.trackedPostpones &&
6649
6652
  null !== boundary.contentPreamble &&
@@ -9101,5 +9104,5 @@
9101
9104
  'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
9102
9105
  );
9103
9106
  };
9104
- exports.version = "19.2.0-canary-143d3e1b-20250425";
9107
+ exports.version = "19.2.0-canary-c498bfce-20250426";
9105
9108
  })();
@@ -2676,17 +2676,17 @@ function createRenderState(resumableState, generateStaticMarkup) {
2676
2676
  "\x3c/script>"
2677
2677
  ));
2678
2678
  bootstrapScriptContent = idPrefix + "P:";
2679
- var JSCompiler_object_inline_segmentPrefix_1576 = idPrefix + "S:";
2679
+ var JSCompiler_object_inline_segmentPrefix_1582 = idPrefix + "S:";
2680
2680
  idPrefix += "B:";
2681
- var JSCompiler_object_inline_preamble_1579 = createPreambleState(),
2682
- JSCompiler_object_inline_preconnects_1589 = new Set(),
2683
- JSCompiler_object_inline_fontPreloads_1590 = new Set(),
2684
- JSCompiler_object_inline_highImagePreloads_1591 = new Set(),
2685
- JSCompiler_object_inline_styles_1592 = new Map(),
2686
- JSCompiler_object_inline_bootstrapScripts_1593 = new Set(),
2687
- JSCompiler_object_inline_scripts_1594 = new Set(),
2688
- JSCompiler_object_inline_bulkPreloads_1595 = new Set(),
2689
- JSCompiler_object_inline_preloads_1596 = {
2681
+ var JSCompiler_object_inline_preamble_1585 = createPreambleState(),
2682
+ JSCompiler_object_inline_preconnects_1595 = new Set(),
2683
+ JSCompiler_object_inline_fontPreloads_1596 = new Set(),
2684
+ JSCompiler_object_inline_highImagePreloads_1597 = new Set(),
2685
+ JSCompiler_object_inline_styles_1598 = new Map(),
2686
+ JSCompiler_object_inline_bootstrapScripts_1599 = new Set(),
2687
+ JSCompiler_object_inline_scripts_1600 = new Set(),
2688
+ JSCompiler_object_inline_bulkPreloads_1601 = new Set(),
2689
+ JSCompiler_object_inline_preloads_1602 = {
2690
2690
  images: new Map(),
2691
2691
  stylesheets: new Map(),
2692
2692
  scripts: new Map(),
@@ -2723,7 +2723,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2723
2723
  scriptConfig.moduleScriptResources[href] = null;
2724
2724
  scriptConfig = [];
2725
2725
  pushLinkImpl(scriptConfig, props);
2726
- JSCompiler_object_inline_bootstrapScripts_1593.add(scriptConfig);
2726
+ JSCompiler_object_inline_bootstrapScripts_1599.add(scriptConfig);
2727
2727
  bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
2728
2728
  "string" === typeof integrity &&
2729
2729
  bootstrapChunks.push(
@@ -2770,7 +2770,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2770
2770
  (props.moduleScriptResources[scriptConfig] = null),
2771
2771
  (props = []),
2772
2772
  pushLinkImpl(props, integrity),
2773
- JSCompiler_object_inline_bootstrapScripts_1593.add(props),
2773
+ JSCompiler_object_inline_bootstrapScripts_1599.add(props),
2774
2774
  bootstrapChunks.push(
2775
2775
  '<script type="module" src="',
2776
2776
  escapeTextForBrowser(i),
@@ -2792,10 +2792,10 @@ function createRenderState(resumableState, generateStaticMarkup) {
2792
2792
  bootstrapChunks.push(' async="">\x3c/script>');
2793
2793
  return {
2794
2794
  placeholderPrefix: bootstrapScriptContent,
2795
- segmentPrefix: JSCompiler_object_inline_segmentPrefix_1576,
2795
+ segmentPrefix: JSCompiler_object_inline_segmentPrefix_1582,
2796
2796
  boundaryPrefix: idPrefix,
2797
2797
  startInlineScript: "<script",
2798
- preamble: JSCompiler_object_inline_preamble_1579,
2798
+ preamble: JSCompiler_object_inline_preamble_1585,
2799
2799
  externalRuntimeScript: null,
2800
2800
  bootstrapChunks: bootstrapChunks,
2801
2801
  importMapChunks: [],
@@ -2811,14 +2811,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
2811
2811
  charsetChunks: [],
2812
2812
  viewportChunks: [],
2813
2813
  hoistableChunks: [],
2814
- preconnects: JSCompiler_object_inline_preconnects_1589,
2815
- fontPreloads: JSCompiler_object_inline_fontPreloads_1590,
2816
- highImagePreloads: JSCompiler_object_inline_highImagePreloads_1591,
2817
- styles: JSCompiler_object_inline_styles_1592,
2818
- bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1593,
2819
- scripts: JSCompiler_object_inline_scripts_1594,
2820
- bulkPreloads: JSCompiler_object_inline_bulkPreloads_1595,
2821
- preloads: JSCompiler_object_inline_preloads_1596,
2814
+ preconnects: JSCompiler_object_inline_preconnects_1595,
2815
+ fontPreloads: JSCompiler_object_inline_fontPreloads_1596,
2816
+ highImagePreloads: JSCompiler_object_inline_highImagePreloads_1597,
2817
+ styles: JSCompiler_object_inline_styles_1598,
2818
+ bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1599,
2819
+ scripts: JSCompiler_object_inline_scripts_1600,
2820
+ bulkPreloads: JSCompiler_object_inline_bulkPreloads_1601,
2821
+ preloads: JSCompiler_object_inline_preloads_1602,
2822
2822
  stylesToHoist: !1,
2823
2823
  generateStaticMarkup: generateStaticMarkup
2824
2824
  };
@@ -3620,6 +3620,7 @@ function RequestInstance(
3620
3620
  this.fatalError = null;
3621
3621
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
3622
3622
  this.completedPreambleSegments = this.completedRootSegment = null;
3623
+ this.byteSize = 0;
3623
3624
  this.abortableTasks = abortSet;
3624
3625
  this.pingedTasks = [];
3625
3626
  this.clientRenderedBoundaries = [];
@@ -4298,9 +4299,11 @@ function renderElement(request, task, keyPath, type, props, ref) {
4298
4299
  ),
4299
4300
  (contentRootSegment.status = 1),
4300
4301
  queueCompletedSegment(newBoundary, contentRootSegment),
4301
- 0 === newBoundary.pendingTasks && 0 === newBoundary.status)
4302
+ 0 === newBoundary.pendingTasks &&
4303
+ 0 === newBoundary.status &&
4304
+ ((newBoundary.status = 1),
4305
+ !(newBoundary.byteSize > request.progressiveChunkSize)))
4302
4306
  ) {
4303
- newBoundary.status = 1;
4304
4307
  0 === request.pendingRootTasks &&
4305
4308
  task.blockedPreamble &&
4306
4309
  preparePreamble(request);
@@ -5174,8 +5177,12 @@ function finishedTask(request, boundary, segment) {
5174
5177
  boundary.parentFlushed &&
5175
5178
  request.completedBoundaries.push(boundary),
5176
5179
  1 === boundary.status &&
5177
- (boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),
5178
- boundary.fallbackAbortableTasks.clear(),
5180
+ (boundary.byteSize > request.progressiveChunkSize ||
5181
+ (boundary.fallbackAbortableTasks.forEach(
5182
+ abortTaskSoft,
5183
+ request
5184
+ ),
5185
+ boundary.fallbackAbortableTasks.clear()),
5179
5186
  0 === request.pendingRootTasks &&
5180
5187
  null === request.trackedPostpones &&
5181
5188
  null !== boundary.contentPreamble &&
@@ -6028,4 +6035,4 @@ exports.renderToString = function (children, options) {
6028
6035
  'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
6029
6036
  );
6030
6037
  };
6031
- exports.version = "19.2.0-canary-143d3e1b-20250425";
6038
+ exports.version = "19.2.0-canary-c498bfce-20250426";
@@ -320,6 +320,9 @@
320
320
  );
321
321
  return content;
322
322
  }
323
+ function byteLengthOfChunk(chunk) {
324
+ return chunk.byteLength;
325
+ }
323
326
  function closeWithError(destination, error) {
324
327
  "function" === typeof destination.error
325
328
  ? destination.error(error)
@@ -4472,6 +4475,7 @@
4472
4475
  this.fatalError = null;
4473
4476
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
4474
4477
  this.completedPreambleSegments = this.completedRootSegment = null;
4478
+ this.byteSize = 0;
4475
4479
  this.abortableTasks = abortSet;
4476
4480
  this.pingedTasks = [];
4477
4481
  this.clientRenderedBoundaries = [];
@@ -5643,7 +5647,8 @@
5643
5647
  boundarySegment.lastPushedText &&
5644
5648
  boundarySegment.textEmbedded &&
5645
5649
  boundarySegment.chunks.push(textSeparator),
5646
- (boundarySegment.status = COMPLETED);
5650
+ (boundarySegment.status = COMPLETED),
5651
+ finishedSegment(request, parentBoundary, boundarySegment);
5647
5652
  } catch (thrownValue) {
5648
5653
  throw (
5649
5654
  ((boundarySegment.status = 12 === request.status ? 3 : 4),
@@ -5689,11 +5694,13 @@
5689
5694
  contentRootSegment.textEmbedded &&
5690
5695
  contentRootSegment.chunks.push(textSeparator),
5691
5696
  (contentRootSegment.status = COMPLETED),
5697
+ finishedSegment(request, newBoundary, contentRootSegment),
5692
5698
  queueCompletedSegment(newBoundary, contentRootSegment),
5693
5699
  0 === newBoundary.pendingTasks &&
5694
- newBoundary.status === PENDING)
5700
+ newBoundary.status === PENDING &&
5701
+ ((newBoundary.status = COMPLETED),
5702
+ !(newBoundary.byteSize > request.progressiveChunkSize)))
5695
5703
  ) {
5696
- newBoundary.status = COMPLETED;
5697
5704
  0 === request.pendingRootTasks &&
5698
5705
  task.blockedPreamble &&
5699
5706
  preparePreamble(request);
@@ -5888,6 +5895,7 @@
5888
5895
  (task.blockedSegment = resumedSegment),
5889
5896
  renderNode(request, task, node, childIndex),
5890
5897
  (resumedSegment.status = COMPLETED),
5898
+ finishedSegment(request, blockedBoundary, resumedSegment),
5891
5899
  null === blockedBoundary
5892
5900
  ? (request.completedRootSegment = resumedSegment)
5893
5901
  : (queueCompletedSegment(blockedBoundary, resumedSegment),
@@ -6804,6 +6812,16 @@
6804
6812
  queueCompletedSegment(boundary, childSegment);
6805
6813
  } else boundary.completedSegments.push(segment);
6806
6814
  }
6815
+ function finishedSegment(request, boundary, segment) {
6816
+ if (null !== byteLengthOfChunk) {
6817
+ segment = segment.chunks;
6818
+ for (var segmentByteSize = 0, i = 0; i < segment.length; i++)
6819
+ segmentByteSize += segment[i].byteLength;
6820
+ null === boundary
6821
+ ? (request.byteSize += segmentByteSize)
6822
+ : (boundary.byteSize += segmentByteSize);
6823
+ }
6824
+ }
6807
6825
  function finishedTask(request, boundary, segment) {
6808
6826
  if (null === boundary) {
6809
6827
  if (null !== segment && segment.parentFlushed) {
@@ -6827,11 +6845,12 @@
6827
6845
  boundary.parentFlushed &&
6828
6846
  request.completedBoundaries.push(boundary),
6829
6847
  boundary.status === COMPLETED &&
6830
- (boundary.fallbackAbortableTasks.forEach(
6831
- abortTaskSoft,
6832
- request
6833
- ),
6834
- boundary.fallbackAbortableTasks.clear(),
6848
+ (boundary.byteSize > request.progressiveChunkSize ||
6849
+ (boundary.fallbackAbortableTasks.forEach(
6850
+ abortTaskSoft,
6851
+ request
6852
+ ),
6853
+ boundary.fallbackAbortableTasks.clear()),
6835
6854
  0 === request.pendingRootTasks &&
6836
6855
  null === request.trackedPostpones &&
6837
6856
  null !== boundary.contentPreamble &&
@@ -6971,6 +6990,11 @@
6971
6990
  request$jscomp$1.chunks.push(textSeparator),
6972
6991
  errorDigest.abortSet.delete(errorDigest),
6973
6992
  (request$jscomp$1.status = COMPLETED),
6993
+ finishedSegment(
6994
+ request,
6995
+ errorDigest.blockedBoundary,
6996
+ request$jscomp$1
6997
+ ),
6974
6998
  finishedTask(
6975
6999
  request,
6976
7000
  errorDigest.blockedBoundary,
@@ -7816,11 +7840,11 @@
7816
7840
  }
7817
7841
  function ensureCorrectIsomorphicReactVersion() {
7818
7842
  var isomorphicReactPackageVersion = React.version;
7819
- if ("19.2.0-canary-143d3e1b-20250425" !== isomorphicReactPackageVersion)
7843
+ if ("19.2.0-canary-c498bfce-20250426" !== isomorphicReactPackageVersion)
7820
7844
  throw Error(
7821
7845
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7822
7846
  (isomorphicReactPackageVersion +
7823
- "\n - react-dom: 19.2.0-canary-143d3e1b-20250425\nLearn more: https://react.dev/warnings/version-mismatch")
7847
+ "\n - react-dom: 19.2.0-canary-c498bfce-20250426\nLearn more: https://react.dev/warnings/version-mismatch")
7824
7848
  );
7825
7849
  }
7826
7850
  var React = require("react"),
@@ -9502,5 +9526,5 @@
9502
9526
  startWork(request);
9503
9527
  });
9504
9528
  };
9505
- exports.version = "19.2.0-canary-143d3e1b-20250425";
9529
+ exports.version = "19.2.0-canary-c498bfce-20250426";
9506
9530
  })();