[Fizz] Track boundaries in future rows as postponed (#33329)

Follow up to #33321.

We can mark boundaries that were blocked in the prerender as postponed
but without anything to replayed inside them. That way they're not
emitted in the prerender but is unblocked when replayed.

Technically this does some unnecessary replaying of the path to the
otherwise already completed boundary but it simplifies our model by just
marking the boundary as needing replaying.

DiffTrain build for [99781d605b](https://github.com/facebook/react/commit/99781d605b6a6fd332bba654ac0c328e41df888c)
This commit is contained in:
sebmarkbage
2025-05-22 07:26:32 -07:00
parent 1a64bafbbf
commit 6aa2f23d6e
36 changed files with 892 additions and 483 deletions
+1 -1
View File
@@ -1 +1 @@
459a2c4298187cb0ee45605e2575ff35f4a81183
99781d605b6a6fd332bba654ac0c328e41df888c
+1 -1
View File
@@ -1 +1 @@
459a2c4298187cb0ee45605e2575ff35f4a81183
99781d605b6a6fd332bba654ac0c328e41df888c
+1 -1
View File
@@ -1537,7 +1537,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1537,7 +1537,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
+1 -1
View File
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19080,10 +19080,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-459a2c42-20250521",
version: "19.2.0-www-classic-99781d60-20250522",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19117,7 +19117,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -18852,10 +18852,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-459a2c42-20250521",
version: "19.2.0-www-modern-99781d60-20250522",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18889,7 +18889,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11392,10 +11392,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1624 = {
bundleType: 0,
version: "19.2.0-www-classic-459a2c42-20250521",
version: "19.2.0-www-classic-99781d60-20250522",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1625 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11421,4 +11421,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
@@ -11104,10 +11104,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1597 = {
bundleType: 0,
version: "19.2.0-www-modern-459a2c42-20250521",
version: "19.2.0-www-modern-99781d60-20250522",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1598 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11133,4 +11133,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
@@ -31452,11 +31452,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-459a2c42-20250521" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-99781d60-20250522" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-classic-459a2c42-20250521\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-99781d60-20250522\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31499,10 +31499,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-459a2c42-20250521",
version: "19.2.0-www-classic-99781d60-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32102,7 +32102,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -31238,11 +31238,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-459a2c42-20250521" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-99781d60-20250522" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-modern-459a2c42-20250521\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-99781d60-20250522\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31285,10 +31285,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-459a2c42-20250521",
version: "19.2.0-www-modern-99781d60-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31888,7 +31888,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19566,14 +19566,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2083 = React.version;
if (
"19.2.0-www-classic-459a2c42-20250521" !==
"19.2.0-www-classic-99781d60-20250522" !==
isomorphicReactPackageVersion$jscomp$inline_2083
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2083,
"19.2.0-www-classic-459a2c42-20250521"
"19.2.0-www-classic-99781d60-20250522"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19591,10 +19591,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2696 = {
bundleType: 0,
version: "19.2.0-www-classic-459a2c42-20250521",
version: "19.2.0-www-classic-99781d60-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2697 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20006,4 +20006,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
@@ -19295,14 +19295,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2073 = React.version;
if (
"19.2.0-www-modern-459a2c42-20250521" !==
"19.2.0-www-modern-99781d60-20250522" !==
isomorphicReactPackageVersion$jscomp$inline_2073
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2073,
"19.2.0-www-modern-459a2c42-20250521"
"19.2.0-www-modern-99781d60-20250522"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19320,10 +19320,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2678 = {
bundleType: 0,
version: "19.2.0-www-modern-459a2c42-20250521",
version: "19.2.0-www-modern-99781d60-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2679 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19735,4 +19735,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
@@ -21548,14 +21548,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2327 = React.version;
if (
"19.2.0-www-classic-459a2c42-20250521" !==
"19.2.0-www-classic-99781d60-20250522" !==
isomorphicReactPackageVersion$jscomp$inline_2327
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2327,
"19.2.0-www-classic-459a2c42-20250521"
"19.2.0-www-classic-99781d60-20250522"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21573,10 +21573,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2329 = {
bundleType: 0,
version: "19.2.0-www-classic-459a2c42-20250521",
version: "19.2.0-www-classic-99781d60-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2329.getLaneLabelMap = getLaneLabelMap),
@@ -21991,7 +21991,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -21346,14 +21346,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2317 = React.version;
if (
"19.2.0-www-modern-459a2c42-20250521" !==
"19.2.0-www-modern-99781d60-20250522" !==
isomorphicReactPackageVersion$jscomp$inline_2317
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2317,
"19.2.0-www-modern-459a2c42-20250521"
"19.2.0-www-modern-99781d60-20250522"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21371,10 +21371,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2319 = {
bundleType: 0,
version: "19.2.0-www-modern-459a2c42-20250521",
version: "19.2.0-www-modern-99781d60-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2319.getLaneLabelMap = getLaneLabelMap),
@@ -21789,7 +21789,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7354,67 +7354,129 @@ __DEV__ &&
queueCompletedSegment(boundary, childSegment);
} else boundary.completedSegments.push(segment);
}
function finishedTask(request, boundary, row, segment) {
function finishedTask(request$jscomp$0, boundary$jscomp$0, row, segment) {
null !== row &&
(0 === --row.pendingTasks
? finishSuspenseListRow(request, row)
: row.together && tryToResolveTogetherRow(request, row));
request.allPendingTasks--;
if (null === boundary) {
? finishSuspenseListRow(request$jscomp$0, row)
: row.together && tryToResolveTogetherRow(request$jscomp$0, row));
request$jscomp$0.allPendingTasks--;
if (null === boundary$jscomp$0) {
if (null !== segment && segment.parentFlushed) {
if (null !== request.completedRootSegment)
if (null !== request$jscomp$0.completedRootSegment)
throw Error(
"There can only be one root segment. This is a bug in React."
);
request.completedRootSegment = segment;
request$jscomp$0.completedRootSegment = segment;
}
request.pendingRootTasks--;
0 === request.pendingRootTasks && completeShell(request);
} else
boundary.pendingTasks--,
boundary.status !== CLIENT_RENDERED &&
(0 === boundary.pendingTasks
? (boundary.status === PENDING && (boundary.status = COMPLETED),
null !== segment &&
segment.parentFlushed &&
segment.status === COMPLETED &&
queueCompletedSegment(boundary, segment),
boundary.parentFlushed &&
request.completedBoundaries.push(boundary),
boundary.status === COMPLETED
? ((row = boundary.row),
null !== row &&
hoistHoistables(row.hoistables, boundary.contentState),
500 < boundary.byteSize ||
(boundary.fallbackAbortableTasks.forEach(
abortTaskSoft,
request
),
boundary.fallbackAbortableTasks.clear(),
null !== row &&
0 === --row.pendingTasks &&
finishSuspenseListRow(request, row)),
0 === request.pendingRootTasks &&
null === request.trackedPostpones &&
null !== boundary.contentPreamble &&
preparePreamble(request))
: boundary.status === POSTPONED &&
((boundary = boundary.row),
null !== boundary &&
0 === --boundary.pendingTasks &&
finishSuspenseListRow(request, boundary)))
: (null !== segment &&
segment.parentFlushed &&
segment.status === COMPLETED &&
(queueCompletedSegment(boundary, segment),
1 === boundary.completedSegments.length &&
boundary.parentFlushed &&
request.partialBoundaries.push(boundary)),
(boundary = boundary.row),
null !== boundary &&
boundary.together &&
tryToResolveTogetherRow(request, boundary)));
0 === request.allPendingTasks && completeAll(request);
request$jscomp$0.pendingRootTasks--;
0 === request$jscomp$0.pendingRootTasks &&
completeShell(request$jscomp$0);
} else if (
(boundary$jscomp$0.pendingTasks--,
boundary$jscomp$0.status !== CLIENT_RENDERED)
)
if (0 === boundary$jscomp$0.pendingTasks)
if (
(boundary$jscomp$0.status === PENDING &&
(boundary$jscomp$0.status = COMPLETED),
null !== segment &&
segment.parentFlushed &&
segment.status === COMPLETED &&
queueCompletedSegment(boundary$jscomp$0, segment),
boundary$jscomp$0.parentFlushed &&
request$jscomp$0.completedBoundaries.push(boundary$jscomp$0),
boundary$jscomp$0.status === COMPLETED)
)
(row = boundary$jscomp$0.row),
null !== row &&
hoistHoistables(row.hoistables, boundary$jscomp$0.contentState),
500 < boundary$jscomp$0.byteSize ||
(boundary$jscomp$0.fallbackAbortableTasks.forEach(
abortTaskSoft,
request$jscomp$0
),
boundary$jscomp$0.fallbackAbortableTasks.clear(),
null !== row &&
0 === --row.pendingTasks &&
finishSuspenseListRow(request$jscomp$0, row)),
0 === request$jscomp$0.pendingRootTasks &&
null === request$jscomp$0.trackedPostpones &&
null !== boundary$jscomp$0.contentPreamble &&
preparePreamble(request$jscomp$0);
else {
if (
boundary$jscomp$0.status === POSTPONED &&
((boundary$jscomp$0 = boundary$jscomp$0.row),
null !== boundary$jscomp$0)
) {
if (null !== request$jscomp$0.trackedPostpones) {
row = request$jscomp$0.trackedPostpones;
var postponedRow = boundary$jscomp$0.next;
if (
null !== postponedRow &&
((segment = postponedRow.boundaries), null !== segment)
)
for (
postponedRow.boundaries = null, postponedRow = 0;
postponedRow < segment.length;
postponedRow++
) {
var postponedBoundary = segment[postponedRow];
var request = request$jscomp$0,
trackedPostpones = row,
boundary = postponedBoundary;
boundary.status = POSTPONED;
boundary.rootSegmentID = request.nextSegmentId++;
request = boundary.trackedContentKeyPath;
if (null === request)
throw Error(
"It should not be possible to postpone at the root. This is a bug in React."
);
var fallbackReplayNode = boundary.trackedFallbackNode,
children = [],
boundaryNode = trackedPostpones.workingMap.get(request);
void 0 === boundaryNode
? ((boundary = [
request[1],
request[2],
children,
null,
fallbackReplayNode,
boundary.rootSegmentID
]),
trackedPostpones.workingMap.set(request, boundary),
addToReplayParent(
boundary,
request[0],
trackedPostpones
))
: ((boundaryNode[4] = fallbackReplayNode),
(boundaryNode[5] = boundary.rootSegmentID));
finishedTask(
request$jscomp$0,
postponedBoundary,
null,
null
);
}
}
0 === --boundary$jscomp$0.pendingTasks &&
finishSuspenseListRow(request$jscomp$0, boundary$jscomp$0);
}
}
else
null !== segment &&
segment.parentFlushed &&
segment.status === COMPLETED &&
(queueCompletedSegment(boundary$jscomp$0, segment),
1 === boundary$jscomp$0.completedSegments.length &&
boundary$jscomp$0.parentFlushed &&
request$jscomp$0.partialBoundaries.push(boundary$jscomp$0)),
(boundary$jscomp$0 = boundary$jscomp$0.row),
null !== boundary$jscomp$0 &&
boundary$jscomp$0.together &&
tryToResolveTogetherRow(request$jscomp$0, boundary$jscomp$0);
0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
}
function performWork(request$jscomp$2) {
if (
@@ -8498,6 +8560,18 @@ __DEV__ &&
fatalError(request, error$4, reason, null);
}
}
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
else {
var workingMap = trackedPostpones.workingMap,
parentNode = workingMap.get(parentKeyPath);
void 0 === parentNode &&
((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
workingMap.set(parentKeyPath, parentNode),
addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
parentNode[2].push(node);
}
}
function onError() {}
function renderToStringImpl(
children,
@@ -10046,5 +10120,5 @@ __DEV__ &&
'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'
);
};
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
})();
@@ -7287,67 +7287,129 @@ __DEV__ &&
queueCompletedSegment(boundary, childSegment);
} else boundary.completedSegments.push(segment);
}
function finishedTask(request, boundary, row, segment) {
function finishedTask(request$jscomp$0, boundary$jscomp$0, row, segment) {
null !== row &&
(0 === --row.pendingTasks
? finishSuspenseListRow(request, row)
: row.together && tryToResolveTogetherRow(request, row));
request.allPendingTasks--;
if (null === boundary) {
? finishSuspenseListRow(request$jscomp$0, row)
: row.together && tryToResolveTogetherRow(request$jscomp$0, row));
request$jscomp$0.allPendingTasks--;
if (null === boundary$jscomp$0) {
if (null !== segment && segment.parentFlushed) {
if (null !== request.completedRootSegment)
if (null !== request$jscomp$0.completedRootSegment)
throw Error(
"There can only be one root segment. This is a bug in React."
);
request.completedRootSegment = segment;
request$jscomp$0.completedRootSegment = segment;
}
request.pendingRootTasks--;
0 === request.pendingRootTasks && completeShell(request);
} else
boundary.pendingTasks--,
boundary.status !== CLIENT_RENDERED &&
(0 === boundary.pendingTasks
? (boundary.status === PENDING && (boundary.status = COMPLETED),
null !== segment &&
segment.parentFlushed &&
segment.status === COMPLETED &&
queueCompletedSegment(boundary, segment),
boundary.parentFlushed &&
request.completedBoundaries.push(boundary),
boundary.status === COMPLETED
? ((row = boundary.row),
null !== row &&
hoistHoistables(row.hoistables, boundary.contentState),
500 < boundary.byteSize ||
(boundary.fallbackAbortableTasks.forEach(
abortTaskSoft,
request
),
boundary.fallbackAbortableTasks.clear(),
null !== row &&
0 === --row.pendingTasks &&
finishSuspenseListRow(request, row)),
0 === request.pendingRootTasks &&
null === request.trackedPostpones &&
null !== boundary.contentPreamble &&
preparePreamble(request))
: boundary.status === POSTPONED &&
((boundary = boundary.row),
null !== boundary &&
0 === --boundary.pendingTasks &&
finishSuspenseListRow(request, boundary)))
: (null !== segment &&
segment.parentFlushed &&
segment.status === COMPLETED &&
(queueCompletedSegment(boundary, segment),
1 === boundary.completedSegments.length &&
boundary.parentFlushed &&
request.partialBoundaries.push(boundary)),
(boundary = boundary.row),
null !== boundary &&
boundary.together &&
tryToResolveTogetherRow(request, boundary)));
0 === request.allPendingTasks && completeAll(request);
request$jscomp$0.pendingRootTasks--;
0 === request$jscomp$0.pendingRootTasks &&
completeShell(request$jscomp$0);
} else if (
(boundary$jscomp$0.pendingTasks--,
boundary$jscomp$0.status !== CLIENT_RENDERED)
)
if (0 === boundary$jscomp$0.pendingTasks)
if (
(boundary$jscomp$0.status === PENDING &&
(boundary$jscomp$0.status = COMPLETED),
null !== segment &&
segment.parentFlushed &&
segment.status === COMPLETED &&
queueCompletedSegment(boundary$jscomp$0, segment),
boundary$jscomp$0.parentFlushed &&
request$jscomp$0.completedBoundaries.push(boundary$jscomp$0),
boundary$jscomp$0.status === COMPLETED)
)
(row = boundary$jscomp$0.row),
null !== row &&
hoistHoistables(row.hoistables, boundary$jscomp$0.contentState),
500 < boundary$jscomp$0.byteSize ||
(boundary$jscomp$0.fallbackAbortableTasks.forEach(
abortTaskSoft,
request$jscomp$0
),
boundary$jscomp$0.fallbackAbortableTasks.clear(),
null !== row &&
0 === --row.pendingTasks &&
finishSuspenseListRow(request$jscomp$0, row)),
0 === request$jscomp$0.pendingRootTasks &&
null === request$jscomp$0.trackedPostpones &&
null !== boundary$jscomp$0.contentPreamble &&
preparePreamble(request$jscomp$0);
else {
if (
boundary$jscomp$0.status === POSTPONED &&
((boundary$jscomp$0 = boundary$jscomp$0.row),
null !== boundary$jscomp$0)
) {
if (null !== request$jscomp$0.trackedPostpones) {
row = request$jscomp$0.trackedPostpones;
var postponedRow = boundary$jscomp$0.next;
if (
null !== postponedRow &&
((segment = postponedRow.boundaries), null !== segment)
)
for (
postponedRow.boundaries = null, postponedRow = 0;
postponedRow < segment.length;
postponedRow++
) {
var postponedBoundary = segment[postponedRow];
var request = request$jscomp$0,
trackedPostpones = row,
boundary = postponedBoundary;
boundary.status = POSTPONED;
boundary.rootSegmentID = request.nextSegmentId++;
request = boundary.trackedContentKeyPath;
if (null === request)
throw Error(
"It should not be possible to postpone at the root. This is a bug in React."
);
var fallbackReplayNode = boundary.trackedFallbackNode,
children = [],
boundaryNode = trackedPostpones.workingMap.get(request);
void 0 === boundaryNode
? ((boundary = [
request[1],
request[2],
children,
null,
fallbackReplayNode,
boundary.rootSegmentID
]),
trackedPostpones.workingMap.set(request, boundary),
addToReplayParent(
boundary,
request[0],
trackedPostpones
))
: ((boundaryNode[4] = fallbackReplayNode),
(boundaryNode[5] = boundary.rootSegmentID));
finishedTask(
request$jscomp$0,
postponedBoundary,
null,
null
);
}
}
0 === --boundary$jscomp$0.pendingTasks &&
finishSuspenseListRow(request$jscomp$0, boundary$jscomp$0);
}
}
else
null !== segment &&
segment.parentFlushed &&
segment.status === COMPLETED &&
(queueCompletedSegment(boundary$jscomp$0, segment),
1 === boundary$jscomp$0.completedSegments.length &&
boundary$jscomp$0.parentFlushed &&
request$jscomp$0.partialBoundaries.push(boundary$jscomp$0)),
(boundary$jscomp$0 = boundary$jscomp$0.row),
null !== boundary$jscomp$0 &&
boundary$jscomp$0.together &&
tryToResolveTogetherRow(request$jscomp$0, boundary$jscomp$0);
0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
}
function performWork(request$jscomp$2) {
if (
@@ -8431,6 +8493,18 @@ __DEV__ &&
fatalError(request, error$4, reason, null);
}
}
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
else {
var workingMap = trackedPostpones.workingMap,
parentNode = workingMap.get(parentKeyPath);
void 0 === parentNode &&
((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
workingMap.set(parentKeyPath, parentNode),
addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
parentNode[2].push(node);
}
}
function onError() {}
function renderToStringImpl(
children,
@@ -9975,5 +10049,5 @@ __DEV__ &&
'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'
);
};
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
})();
@@ -2906,16 +2906,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
"\x3c/script>"
));
bootstrapScriptContent = idPrefix + "P:";
var JSCompiler_object_inline_segmentPrefix_1828 = idPrefix + "S:";
var JSCompiler_object_inline_segmentPrefix_1845 = idPrefix + "S:";
idPrefix += "B:";
var JSCompiler_object_inline_preconnects_1841 = new Set(),
JSCompiler_object_inline_fontPreloads_1842 = new Set(),
JSCompiler_object_inline_highImagePreloads_1843 = new Set(),
JSCompiler_object_inline_styles_1844 = new Map(),
JSCompiler_object_inline_bootstrapScripts_1845 = new Set(),
JSCompiler_object_inline_scripts_1846 = new Set(),
JSCompiler_object_inline_bulkPreloads_1847 = new Set(),
JSCompiler_object_inline_preloads_1848 = {
var JSCompiler_object_inline_preconnects_1858 = new Set(),
JSCompiler_object_inline_fontPreloads_1859 = new Set(),
JSCompiler_object_inline_highImagePreloads_1860 = new Set(),
JSCompiler_object_inline_styles_1861 = new Map(),
JSCompiler_object_inline_bootstrapScripts_1862 = new Set(),
JSCompiler_object_inline_scripts_1863 = new Set(),
JSCompiler_object_inline_bulkPreloads_1864 = new Set(),
JSCompiler_object_inline_preloads_1865 = {
images: new Map(),
stylesheets: new Map(),
scripts: new Map(),
@@ -2952,7 +2952,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
scriptConfig.moduleScriptResources[href] = null;
scriptConfig = [];
pushLinkImpl(scriptConfig, props);
JSCompiler_object_inline_bootstrapScripts_1845.add(scriptConfig);
JSCompiler_object_inline_bootstrapScripts_1862.add(scriptConfig);
bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
"string" === typeof integrity &&
bootstrapChunks.push(
@@ -2999,7 +2999,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
(props.moduleScriptResources[scriptConfig] = null),
(props = []),
pushLinkImpl(props, integrity),
JSCompiler_object_inline_bootstrapScripts_1845.add(props),
JSCompiler_object_inline_bootstrapScripts_1862.add(props),
bootstrapChunks.push(
'<script type="module" src="',
escapeTextForBrowser(i),
@@ -3021,7 +3021,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
bootstrapChunks.push(' async="">\x3c/script>');
return {
placeholderPrefix: bootstrapScriptContent,
segmentPrefix: JSCompiler_object_inline_segmentPrefix_1828,
segmentPrefix: JSCompiler_object_inline_segmentPrefix_1845,
boundaryPrefix: idPrefix,
startInlineScript: "<script",
preamble: { htmlChunks: null, headChunks: null, bodyChunks: null },
@@ -3040,14 +3040,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
charsetChunks: [],
viewportChunks: [],
hoistableChunks: [],
preconnects: JSCompiler_object_inline_preconnects_1841,
fontPreloads: JSCompiler_object_inline_fontPreloads_1842,
highImagePreloads: JSCompiler_object_inline_highImagePreloads_1843,
styles: JSCompiler_object_inline_styles_1844,
bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1845,
scripts: JSCompiler_object_inline_scripts_1846,
bulkPreloads: JSCompiler_object_inline_bulkPreloads_1847,
preloads: JSCompiler_object_inline_preloads_1848,
preconnects: JSCompiler_object_inline_preconnects_1858,
fontPreloads: JSCompiler_object_inline_fontPreloads_1859,
highImagePreloads: JSCompiler_object_inline_highImagePreloads_1860,
styles: JSCompiler_object_inline_styles_1861,
bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1862,
scripts: JSCompiler_object_inline_scripts_1863,
bulkPreloads: JSCompiler_object_inline_bulkPreloads_1864,
preloads: JSCompiler_object_inline_preloads_1865,
stylesToHoist: !1,
generateStaticMarkup: generateStaticMarkup
};
@@ -5541,15 +5541,15 @@ function renderNode(request, task, node, childIndex) {
chunkLength = segment.chunks.length;
try {
return renderNodeDestructive(request, task, node, childIndex);
} catch (thrownValue$62) {
} catch (thrownValue$63) {
if (
(resetHooksState(),
(segment.children.length = childrenLength),
(segment.chunks.length = chunkLength),
(node =
thrownValue$62 === SuspenseException
thrownValue$63 === SuspenseException
? getSuspendedThenable()
: thrownValue$62),
: thrownValue$63),
"object" === typeof node && null !== node)
) {
if ("function" === typeof node.then) {
@@ -5793,65 +5793,115 @@ function queueCompletedSegment(boundary, segment) {
1 === childSegment.status && queueCompletedSegment(boundary, childSegment);
} else boundary.completedSegments.push(segment);
}
function finishedTask(request, boundary, row, segment) {
function finishedTask(request$jscomp$0, boundary, row, segment) {
null !== row &&
(0 === --row.pendingTasks
? finishSuspenseListRow(request, row)
: row.together && tryToResolveTogetherRow(request, row));
request.allPendingTasks--;
? finishSuspenseListRow(request$jscomp$0, row)
: row.together && tryToResolveTogetherRow(request$jscomp$0, row));
request$jscomp$0.allPendingTasks--;
if (null === boundary) {
if (null !== segment && segment.parentFlushed) {
if (null !== request.completedRootSegment)
if (null !== request$jscomp$0.completedRootSegment)
throw Error(formatProdErrorMessage(389));
request.completedRootSegment = segment;
request$jscomp$0.completedRootSegment = segment;
}
request.pendingRootTasks--;
0 === request.pendingRootTasks && completeShell(request);
} else
boundary.pendingTasks--,
4 !== boundary.status &&
(0 === boundary.pendingTasks
? (0 === boundary.status && (boundary.status = 1),
null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
queueCompletedSegment(boundary, segment),
boundary.parentFlushed &&
request.completedBoundaries.push(boundary),
1 === boundary.status
? ((row = boundary.row),
null !== row &&
hoistHoistables(row.hoistables, boundary.contentState),
500 < boundary.byteSize ||
(boundary.fallbackAbortableTasks.forEach(
abortTaskSoft,
request
),
boundary.fallbackAbortableTasks.clear(),
null !== row &&
0 === --row.pendingTasks &&
finishSuspenseListRow(request, row)),
0 === request.pendingRootTasks &&
null === request.trackedPostpones &&
null !== boundary.contentPreamble &&
preparePreamble(request))
: 5 === boundary.status &&
((boundary = boundary.row),
null !== boundary &&
0 === --boundary.pendingTasks &&
finishSuspenseListRow(request, boundary)))
: (null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
(queueCompletedSegment(boundary, segment),
1 === boundary.completedSegments.length &&
boundary.parentFlushed &&
request.partialBoundaries.push(boundary)),
(boundary = boundary.row),
null !== boundary &&
boundary.together &&
tryToResolveTogetherRow(request, boundary)));
0 === request.allPendingTasks && completeAll(request);
request$jscomp$0.pendingRootTasks--;
0 === request$jscomp$0.pendingRootTasks && completeShell(request$jscomp$0);
} else if ((boundary.pendingTasks--, 4 !== boundary.status))
if (0 === boundary.pendingTasks)
if (
(0 === boundary.status && (boundary.status = 1),
null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
queueCompletedSegment(boundary, segment),
boundary.parentFlushed &&
request$jscomp$0.completedBoundaries.push(boundary),
1 === boundary.status)
)
(row = boundary.row),
null !== row &&
hoistHoistables(row.hoistables, boundary.contentState),
500 < boundary.byteSize ||
(boundary.fallbackAbortableTasks.forEach(
abortTaskSoft,
request$jscomp$0
),
boundary.fallbackAbortableTasks.clear(),
null !== row &&
0 === --row.pendingTasks &&
finishSuspenseListRow(request$jscomp$0, row)),
0 === request$jscomp$0.pendingRootTasks &&
null === request$jscomp$0.trackedPostpones &&
null !== boundary.contentPreamble &&
preparePreamble(request$jscomp$0);
else {
if (
5 === boundary.status &&
((boundary = boundary.row), null !== boundary)
) {
if (null !== request$jscomp$0.trackedPostpones) {
row = request$jscomp$0.trackedPostpones;
var postponedRow = boundary.next;
if (
null !== postponedRow &&
((segment = postponedRow.boundaries), null !== segment)
)
for (
postponedRow.boundaries = null, postponedRow = 0;
postponedRow < segment.length;
postponedRow++
) {
var postponedBoundary = segment[postponedRow];
var request = request$jscomp$0,
trackedPostpones = row;
postponedBoundary.status = 5;
postponedBoundary.rootSegmentID = request.nextSegmentId++;
request = postponedBoundary.trackedContentKeyPath;
if (null === request) throw Error(formatProdErrorMessage(486));
var fallbackReplayNode = postponedBoundary.trackedFallbackNode,
children = [],
boundaryNode = trackedPostpones.workingMap.get(request);
void 0 === boundaryNode
? ((fallbackReplayNode = [
request[1],
request[2],
children,
null,
fallbackReplayNode,
postponedBoundary.rootSegmentID
]),
trackedPostpones.workingMap.set(
request,
fallbackReplayNode
),
addToReplayParent(
fallbackReplayNode,
request[0],
trackedPostpones
))
: ((boundaryNode[4] = fallbackReplayNode),
(boundaryNode[5] = postponedBoundary.rootSegmentID));
finishedTask(request$jscomp$0, postponedBoundary, null, null);
}
}
0 === --boundary.pendingTasks &&
finishSuspenseListRow(request$jscomp$0, boundary);
}
}
else
null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
(queueCompletedSegment(boundary, segment),
1 === boundary.completedSegments.length &&
boundary.parentFlushed &&
request$jscomp$0.partialBoundaries.push(boundary)),
(boundary = boundary.row),
null !== boundary &&
boundary.together &&
tryToResolveTogetherRow(request$jscomp$0, boundary);
0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
}
function performWork(request$jscomp$2) {
if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) {
@@ -6595,12 +6645,12 @@ function flushCompletedQueues(request, destination) {
completedBoundaries.splice(0, i);
var partialBoundaries = request.partialBoundaries;
for (i = 0; i < partialBoundaries.length; i++) {
var boundary$68 = partialBoundaries[i];
var boundary$69 = partialBoundaries[i];
a: {
clientRenderedBoundaries = request;
boundary = destination;
flushedByteSize = boundary$68.byteSize;
var completedSegments = boundary$68.completedSegments;
flushedByteSize = boundary$69.byteSize;
var completedSegments = boundary$69.completedSegments;
for (
JSCompiler_inline_result = 0;
JSCompiler_inline_result < completedSegments.length;
@@ -6610,7 +6660,7 @@ function flushCompletedQueues(request, destination) {
!flushPartiallyCompletedSegment(
clientRenderedBoundaries,
boundary,
boundary$68,
boundary$69,
completedSegments[JSCompiler_inline_result]
)
) {
@@ -6620,10 +6670,10 @@ function flushCompletedQueues(request, destination) {
break a;
}
completedSegments.splice(0, JSCompiler_inline_result);
var row = boundary$68.row;
var row = boundary$69.row;
null !== row &&
row.together &&
1 === boundary$68.pendingTasks &&
1 === boundary$69.pendingTasks &&
(1 === row.pendingTasks
? unblockSuspenseListRow(
clientRenderedBoundaries,
@@ -6633,7 +6683,7 @@ function flushCompletedQueues(request, destination) {
: row.pendingTasks--);
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
boundary,
boundary$68.contentState,
boundary$69.contentState,
clientRenderedBoundaries.renderState
);
}
@@ -6716,8 +6766,20 @@ function abort(request, reason) {
}
null !== request.destination &&
flushCompletedQueues(request, request.destination);
} catch (error$70) {
logRecoverableError(request, error$70, {}), fatalError(request, error$70);
} catch (error$71) {
logRecoverableError(request, error$71, {}), fatalError(request, error$71);
}
}
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
else {
var workingMap = trackedPostpones.workingMap,
parentNode = workingMap.get(parentKeyPath);
void 0 === parentNode &&
((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
workingMap.set(parentKeyPath, parentNode),
addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
parentNode[2].push(node);
}
}
function onError() {}
@@ -6786,4 +6848,4 @@ exports.renderToString = function (children, options) {
'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'
);
};
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
@@ -2904,16 +2904,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
"\x3c/script>"
));
bootstrapScriptContent = idPrefix + "P:";
var JSCompiler_object_inline_segmentPrefix_1815 = idPrefix + "S:";
var JSCompiler_object_inline_segmentPrefix_1832 = idPrefix + "S:";
idPrefix += "B:";
var JSCompiler_object_inline_preconnects_1828 = new Set(),
JSCompiler_object_inline_fontPreloads_1829 = new Set(),
JSCompiler_object_inline_highImagePreloads_1830 = new Set(),
JSCompiler_object_inline_styles_1831 = new Map(),
JSCompiler_object_inline_bootstrapScripts_1832 = new Set(),
JSCompiler_object_inline_scripts_1833 = new Set(),
JSCompiler_object_inline_bulkPreloads_1834 = new Set(),
JSCompiler_object_inline_preloads_1835 = {
var JSCompiler_object_inline_preconnects_1845 = new Set(),
JSCompiler_object_inline_fontPreloads_1846 = new Set(),
JSCompiler_object_inline_highImagePreloads_1847 = new Set(),
JSCompiler_object_inline_styles_1848 = new Map(),
JSCompiler_object_inline_bootstrapScripts_1849 = new Set(),
JSCompiler_object_inline_scripts_1850 = new Set(),
JSCompiler_object_inline_bulkPreloads_1851 = new Set(),
JSCompiler_object_inline_preloads_1852 = {
images: new Map(),
stylesheets: new Map(),
scripts: new Map(),
@@ -2950,7 +2950,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
scriptConfig.moduleScriptResources[href] = null;
scriptConfig = [];
pushLinkImpl(scriptConfig, props);
JSCompiler_object_inline_bootstrapScripts_1832.add(scriptConfig);
JSCompiler_object_inline_bootstrapScripts_1849.add(scriptConfig);
bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
"string" === typeof integrity &&
bootstrapChunks.push(
@@ -2997,7 +2997,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
(props.moduleScriptResources[scriptConfig] = null),
(props = []),
pushLinkImpl(props, integrity),
JSCompiler_object_inline_bootstrapScripts_1832.add(props),
JSCompiler_object_inline_bootstrapScripts_1849.add(props),
bootstrapChunks.push(
'<script type="module" src="',
escapeTextForBrowser(i),
@@ -3019,7 +3019,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
bootstrapChunks.push(' async="">\x3c/script>');
return {
placeholderPrefix: bootstrapScriptContent,
segmentPrefix: JSCompiler_object_inline_segmentPrefix_1815,
segmentPrefix: JSCompiler_object_inline_segmentPrefix_1832,
boundaryPrefix: idPrefix,
startInlineScript: "<script",
preamble: { htmlChunks: null, headChunks: null, bodyChunks: null },
@@ -3038,14 +3038,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
charsetChunks: [],
viewportChunks: [],
hoistableChunks: [],
preconnects: JSCompiler_object_inline_preconnects_1828,
fontPreloads: JSCompiler_object_inline_fontPreloads_1829,
highImagePreloads: JSCompiler_object_inline_highImagePreloads_1830,
styles: JSCompiler_object_inline_styles_1831,
bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1832,
scripts: JSCompiler_object_inline_scripts_1833,
bulkPreloads: JSCompiler_object_inline_bulkPreloads_1834,
preloads: JSCompiler_object_inline_preloads_1835,
preconnects: JSCompiler_object_inline_preconnects_1845,
fontPreloads: JSCompiler_object_inline_fontPreloads_1846,
highImagePreloads: JSCompiler_object_inline_highImagePreloads_1847,
styles: JSCompiler_object_inline_styles_1848,
bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1849,
scripts: JSCompiler_object_inline_scripts_1850,
bulkPreloads: JSCompiler_object_inline_bulkPreloads_1851,
preloads: JSCompiler_object_inline_preloads_1852,
stylesToHoist: !1,
generateStaticMarkup: generateStaticMarkup
};
@@ -5402,15 +5402,15 @@ function renderNode(request, task, node, childIndex) {
chunkLength = segment.chunks.length;
try {
return renderNodeDestructive(request, task, node, childIndex);
} catch (thrownValue$62) {
} catch (thrownValue$63) {
if (
(resetHooksState(),
(segment.children.length = childrenLength),
(segment.chunks.length = chunkLength),
(node =
thrownValue$62 === SuspenseException
thrownValue$63 === SuspenseException
? getSuspendedThenable()
: thrownValue$62),
: thrownValue$63),
"object" === typeof node && null !== node)
) {
if ("function" === typeof node.then) {
@@ -5651,65 +5651,115 @@ function queueCompletedSegment(boundary, segment) {
1 === childSegment.status && queueCompletedSegment(boundary, childSegment);
} else boundary.completedSegments.push(segment);
}
function finishedTask(request, boundary, row, segment) {
function finishedTask(request$jscomp$0, boundary, row, segment) {
null !== row &&
(0 === --row.pendingTasks
? finishSuspenseListRow(request, row)
: row.together && tryToResolveTogetherRow(request, row));
request.allPendingTasks--;
? finishSuspenseListRow(request$jscomp$0, row)
: row.together && tryToResolveTogetherRow(request$jscomp$0, row));
request$jscomp$0.allPendingTasks--;
if (null === boundary) {
if (null !== segment && segment.parentFlushed) {
if (null !== request.completedRootSegment)
if (null !== request$jscomp$0.completedRootSegment)
throw Error(formatProdErrorMessage(389));
request.completedRootSegment = segment;
request$jscomp$0.completedRootSegment = segment;
}
request.pendingRootTasks--;
0 === request.pendingRootTasks && completeShell(request);
} else
boundary.pendingTasks--,
4 !== boundary.status &&
(0 === boundary.pendingTasks
? (0 === boundary.status && (boundary.status = 1),
null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
queueCompletedSegment(boundary, segment),
boundary.parentFlushed &&
request.completedBoundaries.push(boundary),
1 === boundary.status
? ((row = boundary.row),
null !== row &&
hoistHoistables(row.hoistables, boundary.contentState),
500 < boundary.byteSize ||
(boundary.fallbackAbortableTasks.forEach(
abortTaskSoft,
request
),
boundary.fallbackAbortableTasks.clear(),
null !== row &&
0 === --row.pendingTasks &&
finishSuspenseListRow(request, row)),
0 === request.pendingRootTasks &&
null === request.trackedPostpones &&
null !== boundary.contentPreamble &&
preparePreamble(request))
: 5 === boundary.status &&
((boundary = boundary.row),
null !== boundary &&
0 === --boundary.pendingTasks &&
finishSuspenseListRow(request, boundary)))
: (null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
(queueCompletedSegment(boundary, segment),
1 === boundary.completedSegments.length &&
boundary.parentFlushed &&
request.partialBoundaries.push(boundary)),
(boundary = boundary.row),
null !== boundary &&
boundary.together &&
tryToResolveTogetherRow(request, boundary)));
0 === request.allPendingTasks && completeAll(request);
request$jscomp$0.pendingRootTasks--;
0 === request$jscomp$0.pendingRootTasks && completeShell(request$jscomp$0);
} else if ((boundary.pendingTasks--, 4 !== boundary.status))
if (0 === boundary.pendingTasks)
if (
(0 === boundary.status && (boundary.status = 1),
null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
queueCompletedSegment(boundary, segment),
boundary.parentFlushed &&
request$jscomp$0.completedBoundaries.push(boundary),
1 === boundary.status)
)
(row = boundary.row),
null !== row &&
hoistHoistables(row.hoistables, boundary.contentState),
500 < boundary.byteSize ||
(boundary.fallbackAbortableTasks.forEach(
abortTaskSoft,
request$jscomp$0
),
boundary.fallbackAbortableTasks.clear(),
null !== row &&
0 === --row.pendingTasks &&
finishSuspenseListRow(request$jscomp$0, row)),
0 === request$jscomp$0.pendingRootTasks &&
null === request$jscomp$0.trackedPostpones &&
null !== boundary.contentPreamble &&
preparePreamble(request$jscomp$0);
else {
if (
5 === boundary.status &&
((boundary = boundary.row), null !== boundary)
) {
if (null !== request$jscomp$0.trackedPostpones) {
row = request$jscomp$0.trackedPostpones;
var postponedRow = boundary.next;
if (
null !== postponedRow &&
((segment = postponedRow.boundaries), null !== segment)
)
for (
postponedRow.boundaries = null, postponedRow = 0;
postponedRow < segment.length;
postponedRow++
) {
var postponedBoundary = segment[postponedRow];
var request = request$jscomp$0,
trackedPostpones = row;
postponedBoundary.status = 5;
postponedBoundary.rootSegmentID = request.nextSegmentId++;
request = postponedBoundary.trackedContentKeyPath;
if (null === request) throw Error(formatProdErrorMessage(486));
var fallbackReplayNode = postponedBoundary.trackedFallbackNode,
children = [],
boundaryNode = trackedPostpones.workingMap.get(request);
void 0 === boundaryNode
? ((fallbackReplayNode = [
request[1],
request[2],
children,
null,
fallbackReplayNode,
postponedBoundary.rootSegmentID
]),
trackedPostpones.workingMap.set(
request,
fallbackReplayNode
),
addToReplayParent(
fallbackReplayNode,
request[0],
trackedPostpones
))
: ((boundaryNode[4] = fallbackReplayNode),
(boundaryNode[5] = postponedBoundary.rootSegmentID));
finishedTask(request$jscomp$0, postponedBoundary, null, null);
}
}
0 === --boundary.pendingTasks &&
finishSuspenseListRow(request$jscomp$0, boundary);
}
}
else
null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
(queueCompletedSegment(boundary, segment),
1 === boundary.completedSegments.length &&
boundary.parentFlushed &&
request$jscomp$0.partialBoundaries.push(boundary)),
(boundary = boundary.row),
null !== boundary &&
boundary.together &&
tryToResolveTogetherRow(request$jscomp$0, boundary);
0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
}
function performWork(request$jscomp$2) {
if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) {
@@ -6453,12 +6503,12 @@ function flushCompletedQueues(request, destination) {
completedBoundaries.splice(0, i);
var partialBoundaries = request.partialBoundaries;
for (i = 0; i < partialBoundaries.length; i++) {
var boundary$68 = partialBoundaries[i];
var boundary$69 = partialBoundaries[i];
a: {
clientRenderedBoundaries = request;
boundary = destination;
flushedByteSize = boundary$68.byteSize;
var completedSegments = boundary$68.completedSegments;
flushedByteSize = boundary$69.byteSize;
var completedSegments = boundary$69.completedSegments;
for (
JSCompiler_inline_result = 0;
JSCompiler_inline_result < completedSegments.length;
@@ -6468,7 +6518,7 @@ function flushCompletedQueues(request, destination) {
!flushPartiallyCompletedSegment(
clientRenderedBoundaries,
boundary,
boundary$68,
boundary$69,
completedSegments[JSCompiler_inline_result]
)
) {
@@ -6478,10 +6528,10 @@ function flushCompletedQueues(request, destination) {
break a;
}
completedSegments.splice(0, JSCompiler_inline_result);
var row = boundary$68.row;
var row = boundary$69.row;
null !== row &&
row.together &&
1 === boundary$68.pendingTasks &&
1 === boundary$69.pendingTasks &&
(1 === row.pendingTasks
? unblockSuspenseListRow(
clientRenderedBoundaries,
@@ -6491,7 +6541,7 @@ function flushCompletedQueues(request, destination) {
: row.pendingTasks--);
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
boundary,
boundary$68.contentState,
boundary$69.contentState,
clientRenderedBoundaries.renderState
);
}
@@ -6574,8 +6624,20 @@ function abort(request, reason) {
}
null !== request.destination &&
flushCompletedQueues(request, request.destination);
} catch (error$70) {
logRecoverableError(request, error$70, {}), fatalError(request, error$70);
} catch (error$71) {
logRecoverableError(request, error$71, {}), fatalError(request, error$71);
}
}
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
else {
var workingMap = trackedPostpones.workingMap,
parentNode = workingMap.get(parentKeyPath);
void 0 === parentNode &&
((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
workingMap.set(parentKeyPath, parentNode),
addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
parentNode[2].push(node);
}
}
function onError() {}
@@ -6644,4 +6706,4 @@ exports.renderToString = function (children, options) {
'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'
);
};
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
@@ -7100,67 +7100,127 @@ __DEV__ &&
queueCompletedSegment(boundary, childSegment);
} else boundary.completedSegments.push(segment);
}
function finishedTask(request, boundary, row, segment) {
function finishedTask(request$jscomp$0, boundary$jscomp$0, row, segment) {
null !== row &&
(0 === --row.pendingTasks
? finishSuspenseListRow(request, row)
: row.together && tryToResolveTogetherRow(request, row));
request.allPendingTasks--;
if (null === boundary) {
? finishSuspenseListRow(request$jscomp$0, row)
: row.together && tryToResolveTogetherRow(request$jscomp$0, row));
request$jscomp$0.allPendingTasks--;
if (null === boundary$jscomp$0) {
if (null !== segment && segment.parentFlushed) {
if (null !== request.completedRootSegment)
if (null !== request$jscomp$0.completedRootSegment)
throw Error(
"There can only be one root segment. This is a bug in React."
);
request.completedRootSegment = segment;
request$jscomp$0.completedRootSegment = segment;
}
request.pendingRootTasks--;
0 === request.pendingRootTasks && completeShell(request);
} else
boundary.pendingTasks--,
4 !== boundary.status &&
(0 === boundary.pendingTasks
? (0 === boundary.status && (boundary.status = 1),
null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
queueCompletedSegment(boundary, segment),
boundary.parentFlushed &&
request.completedBoundaries.push(boundary),
1 === boundary.status
? ((row = boundary.row),
null !== row &&
hoistHoistables(row.hoistables, boundary.contentState),
500 < boundary.byteSize ||
(boundary.fallbackAbortableTasks.forEach(
abortTaskSoft,
request
),
boundary.fallbackAbortableTasks.clear(),
null !== row &&
0 === --row.pendingTasks &&
finishSuspenseListRow(request, row)),
0 === request.pendingRootTasks &&
null === request.trackedPostpones &&
null !== boundary.contentPreamble &&
preparePreamble(request))
: 5 === boundary.status &&
((boundary = boundary.row),
null !== boundary &&
0 === --boundary.pendingTasks &&
finishSuspenseListRow(request, boundary)))
: (null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
(queueCompletedSegment(boundary, segment),
1 === boundary.completedSegments.length &&
boundary.parentFlushed &&
request.partialBoundaries.push(boundary)),
(boundary = boundary.row),
null !== boundary &&
boundary.together &&
tryToResolveTogetherRow(request, boundary)));
0 === request.allPendingTasks && completeAll(request);
request$jscomp$0.pendingRootTasks--;
0 === request$jscomp$0.pendingRootTasks &&
completeShell(request$jscomp$0);
} else if (
(boundary$jscomp$0.pendingTasks--, 4 !== boundary$jscomp$0.status)
)
if (0 === boundary$jscomp$0.pendingTasks)
if (
(0 === boundary$jscomp$0.status && (boundary$jscomp$0.status = 1),
null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
queueCompletedSegment(boundary$jscomp$0, segment),
boundary$jscomp$0.parentFlushed &&
request$jscomp$0.completedBoundaries.push(boundary$jscomp$0),
1 === boundary$jscomp$0.status)
)
(row = boundary$jscomp$0.row),
null !== row &&
hoistHoistables(row.hoistables, boundary$jscomp$0.contentState),
500 < boundary$jscomp$0.byteSize ||
(boundary$jscomp$0.fallbackAbortableTasks.forEach(
abortTaskSoft,
request$jscomp$0
),
boundary$jscomp$0.fallbackAbortableTasks.clear(),
null !== row &&
0 === --row.pendingTasks &&
finishSuspenseListRow(request$jscomp$0, row)),
0 === request$jscomp$0.pendingRootTasks &&
null === request$jscomp$0.trackedPostpones &&
null !== boundary$jscomp$0.contentPreamble &&
preparePreamble(request$jscomp$0);
else {
if (
5 === boundary$jscomp$0.status &&
((boundary$jscomp$0 = boundary$jscomp$0.row),
null !== boundary$jscomp$0)
) {
if (null !== request$jscomp$0.trackedPostpones) {
row = request$jscomp$0.trackedPostpones;
var postponedRow = boundary$jscomp$0.next;
if (
null !== postponedRow &&
((segment = postponedRow.boundaries), null !== segment)
)
for (
postponedRow.boundaries = null, postponedRow = 0;
postponedRow < segment.length;
postponedRow++
) {
var postponedBoundary = segment[postponedRow];
var request = request$jscomp$0,
trackedPostpones = row,
boundary = postponedBoundary;
boundary.status = 5;
boundary.rootSegmentID = request.nextSegmentId++;
request = boundary.trackedContentKeyPath;
if (null === request)
throw Error(
"It should not be possible to postpone at the root. This is a bug in React."
);
var fallbackReplayNode = boundary.trackedFallbackNode,
children = [],
boundaryNode = trackedPostpones.workingMap.get(request);
void 0 === boundaryNode
? ((boundary = [
request[1],
request[2],
children,
null,
fallbackReplayNode,
boundary.rootSegmentID
]),
trackedPostpones.workingMap.set(request, boundary),
addToReplayParent(
boundary,
request[0],
trackedPostpones
))
: ((boundaryNode[4] = fallbackReplayNode),
(boundaryNode[5] = boundary.rootSegmentID));
finishedTask(
request$jscomp$0,
postponedBoundary,
null,
null
);
}
}
0 === --boundary$jscomp$0.pendingTasks &&
finishSuspenseListRow(request$jscomp$0, boundary$jscomp$0);
}
}
else
null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
(queueCompletedSegment(boundary$jscomp$0, segment),
1 === boundary$jscomp$0.completedSegments.length &&
boundary$jscomp$0.parentFlushed &&
request$jscomp$0.partialBoundaries.push(boundary$jscomp$0)),
(boundary$jscomp$0 = boundary$jscomp$0.row),
null !== boundary$jscomp$0 &&
boundary$jscomp$0.together &&
tryToResolveTogetherRow(request$jscomp$0, boundary$jscomp$0);
0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
}
function preparePreambleFromSubtree(
request,
@@ -7935,6 +7995,18 @@ __DEV__ &&
fatalError(request, error$4, reason, null);
}
}
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
else {
var workingMap = trackedPostpones.workingMap,
parentNode = workingMap.get(parentKeyPath);
void 0 === parentNode &&
((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
workingMap.set(parentKeyPath, parentNode),
addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
parentNode[2].push(node);
}
}
var React = require("react"),
ReactDOM = require("react-dom"),
dynamicFeatureFlags = require("ReactFeatureFlags"),
@@ -5404,15 +5404,15 @@ function renderNode(request, task, node, childIndex) {
chunkLength = segment.chunks.length;
try {
return renderNodeDestructive(request, task, node, childIndex);
} catch (thrownValue$62) {
} catch (thrownValue$63) {
if (
(resetHooksState(),
(segment.children.length = childrenLength),
(segment.chunks.length = chunkLength),
(node =
thrownValue$62 === SuspenseException
thrownValue$63 === SuspenseException
? getSuspendedThenable()
: thrownValue$62),
: thrownValue$63),
"object" === typeof node && null !== node)
) {
if ("function" === typeof node.then) {
@@ -5656,67 +5656,120 @@ function queueCompletedSegment(boundary, segment) {
1 === childSegment.status && queueCompletedSegment(boundary, childSegment);
} else boundary.completedSegments.push(segment);
}
function finishedTask(request, boundary, row, segment) {
function finishedTask(request$jscomp$0, boundary, row, segment) {
null !== row &&
(0 === --row.pendingTasks
? finishSuspenseListRow(request, row)
: row.together && tryToResolveTogetherRow(request, row));
request.allPendingTasks--;
? finishSuspenseListRow(request$jscomp$0, row)
: row.together && tryToResolveTogetherRow(request$jscomp$0, row));
request$jscomp$0.allPendingTasks--;
if (null === boundary) {
if (null !== segment && segment.parentFlushed) {
if (null !== request.completedRootSegment)
if (null !== request$jscomp$0.completedRootSegment)
throw Error(
"There can only be one root segment. This is a bug in React."
);
request.completedRootSegment = segment;
request$jscomp$0.completedRootSegment = segment;
}
request.pendingRootTasks--;
0 === request.pendingRootTasks && completeShell(request);
} else
boundary.pendingTasks--,
4 !== boundary.status &&
(0 === boundary.pendingTasks
? (0 === boundary.status && (boundary.status = 1),
null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
queueCompletedSegment(boundary, segment),
boundary.parentFlushed &&
request.completedBoundaries.push(boundary),
1 === boundary.status
? ((row = boundary.row),
null !== row &&
hoistHoistables(row.hoistables, boundary.contentState),
500 < boundary.byteSize ||
(boundary.fallbackAbortableTasks.forEach(
abortTaskSoft,
request
),
boundary.fallbackAbortableTasks.clear(),
null !== row &&
0 === --row.pendingTasks &&
finishSuspenseListRow(request, row)),
0 === request.pendingRootTasks &&
null === request.trackedPostpones &&
null !== boundary.contentPreamble &&
preparePreamble(request))
: 5 === boundary.status &&
((boundary = boundary.row),
null !== boundary &&
0 === --boundary.pendingTasks &&
finishSuspenseListRow(request, boundary)))
: (null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
(queueCompletedSegment(boundary, segment),
1 === boundary.completedSegments.length &&
boundary.parentFlushed &&
request.partialBoundaries.push(boundary)),
(boundary = boundary.row),
null !== boundary &&
boundary.together &&
tryToResolveTogetherRow(request, boundary)));
0 === request.allPendingTasks && completeAll(request);
request$jscomp$0.pendingRootTasks--;
0 === request$jscomp$0.pendingRootTasks && completeShell(request$jscomp$0);
} else if ((boundary.pendingTasks--, 4 !== boundary.status))
if (0 === boundary.pendingTasks)
if (
(0 === boundary.status && (boundary.status = 1),
null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
queueCompletedSegment(boundary, segment),
boundary.parentFlushed &&
request$jscomp$0.completedBoundaries.push(boundary),
1 === boundary.status)
)
(row = boundary.row),
null !== row &&
hoistHoistables(row.hoistables, boundary.contentState),
500 < boundary.byteSize ||
(boundary.fallbackAbortableTasks.forEach(
abortTaskSoft,
request$jscomp$0
),
boundary.fallbackAbortableTasks.clear(),
null !== row &&
0 === --row.pendingTasks &&
finishSuspenseListRow(request$jscomp$0, row)),
0 === request$jscomp$0.pendingRootTasks &&
null === request$jscomp$0.trackedPostpones &&
null !== boundary.contentPreamble &&
preparePreamble(request$jscomp$0);
else {
if (
5 === boundary.status &&
((boundary = boundary.row), null !== boundary)
) {
if (null !== request$jscomp$0.trackedPostpones) {
row = request$jscomp$0.trackedPostpones;
var postponedRow = boundary.next;
if (
null !== postponedRow &&
((segment = postponedRow.boundaries), null !== segment)
)
for (
postponedRow.boundaries = null, postponedRow = 0;
postponedRow < segment.length;
postponedRow++
) {
var postponedBoundary = segment[postponedRow];
var request = request$jscomp$0,
trackedPostpones = row;
postponedBoundary.status = 5;
postponedBoundary.rootSegmentID = request.nextSegmentId++;
request = postponedBoundary.trackedContentKeyPath;
if (null === request)
throw Error(
"It should not be possible to postpone at the root. This is a bug in React."
);
var fallbackReplayNode = postponedBoundary.trackedFallbackNode,
children = [],
boundaryNode = trackedPostpones.workingMap.get(request);
void 0 === boundaryNode
? ((fallbackReplayNode = [
request[1],
request[2],
children,
null,
fallbackReplayNode,
postponedBoundary.rootSegmentID
]),
trackedPostpones.workingMap.set(
request,
fallbackReplayNode
),
addToReplayParent(
fallbackReplayNode,
request[0],
trackedPostpones
))
: ((boundaryNode[4] = fallbackReplayNode),
(boundaryNode[5] = postponedBoundary.rootSegmentID));
finishedTask(request$jscomp$0, postponedBoundary, null, null);
}
}
0 === --boundary.pendingTasks &&
finishSuspenseListRow(request$jscomp$0, boundary);
}
}
else
null !== segment &&
segment.parentFlushed &&
1 === segment.status &&
(queueCompletedSegment(boundary, segment),
1 === boundary.completedSegments.length &&
boundary.parentFlushed &&
request$jscomp$0.partialBoundaries.push(boundary)),
(boundary = boundary.row),
null !== boundary &&
boundary.together &&
tryToResolveTogetherRow(request$jscomp$0, boundary);
0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
}
function preparePreambleFromSubtree(
request,
@@ -6266,12 +6319,12 @@ function flushCompletedQueues(request, destination) {
completedBoundaries.splice(0, i);
var partialBoundaries = request.partialBoundaries;
for (i = 0; i < partialBoundaries.length; i++) {
var boundary$68 = partialBoundaries[i];
var boundary$69 = partialBoundaries[i];
a: {
clientRenderedBoundaries = request;
boundary = destination;
flushedByteSize = boundary$68.byteSize;
var completedSegments = boundary$68.completedSegments;
flushedByteSize = boundary$69.byteSize;
var completedSegments = boundary$69.completedSegments;
for (
JSCompiler_inline_result = 0;
JSCompiler_inline_result < completedSegments.length;
@@ -6281,7 +6334,7 @@ function flushCompletedQueues(request, destination) {
!flushPartiallyCompletedSegment(
clientRenderedBoundaries,
boundary,
boundary$68,
boundary$69,
completedSegments[JSCompiler_inline_result]
)
) {
@@ -6291,10 +6344,10 @@ function flushCompletedQueues(request, destination) {
break a;
}
completedSegments.splice(0, JSCompiler_inline_result);
var row = boundary$68.row;
var row = boundary$69.row;
null !== row &&
row.together &&
1 === boundary$68.pendingTasks &&
1 === boundary$69.pendingTasks &&
(1 === row.pendingTasks
? unblockSuspenseListRow(
clientRenderedBoundaries,
@@ -6304,7 +6357,7 @@ function flushCompletedQueues(request, destination) {
: row.pendingTasks--);
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
boundary,
boundary$68.contentState,
boundary$69.contentState,
clientRenderedBoundaries.renderState
);
}
@@ -6366,8 +6419,20 @@ function abort(request, reason) {
}
null !== request.destination &&
flushCompletedQueues(request, request.destination);
} catch (error$70) {
logRecoverableError(request, error$70, {}), fatalError(request, error$70);
} catch (error$71) {
logRecoverableError(request, error$71, {}), fatalError(request, error$71);
}
}
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
else {
var workingMap = trackedPostpones.workingMap,
parentNode = workingMap.get(parentKeyPath);
void 0 === parentNode &&
((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
workingMap.set(parentKeyPath, parentNode),
addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
parentNode[2].push(node);
}
}
exports.abortStream = function (stream, reason) {
@@ -31773,11 +31773,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-459a2c42-20250521" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-99781d60-20250522" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-classic-459a2c42-20250521\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-99781d60-20250522\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31820,10 +31820,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-459a2c42-20250521",
version: "19.2.0-www-classic-99781d60-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32589,5 +32589,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
})();
@@ -31559,11 +31559,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-459a2c42-20250521" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-99781d60-20250522" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-modern-459a2c42-20250521\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-99781d60-20250522\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31606,10 +31606,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-459a2c42-20250521",
version: "19.2.0-www-modern-99781d60-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32375,5 +32375,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
})();
@@ -19882,14 +19882,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2112 = React.version;
if (
"19.2.0-www-classic-459a2c42-20250521" !==
"19.2.0-www-classic-99781d60-20250522" !==
isomorphicReactPackageVersion$jscomp$inline_2112
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2112,
"19.2.0-www-classic-459a2c42-20250521"
"19.2.0-www-classic-99781d60-20250522"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19907,10 +19907,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2730 = {
bundleType: 0,
version: "19.2.0-www-classic-459a2c42-20250521",
version: "19.2.0-www-classic-99781d60-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2731 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20473,4 +20473,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
@@ -19611,14 +19611,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2102 = React.version;
if (
"19.2.0-www-modern-459a2c42-20250521" !==
"19.2.0-www-modern-99781d60-20250522" !==
isomorphicReactPackageVersion$jscomp$inline_2102
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2102,
"19.2.0-www-modern-459a2c42-20250521"
"19.2.0-www-modern-99781d60-20250522"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19636,10 +19636,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2712 = {
bundleType: 0,
version: "19.2.0-www-modern-459a2c42-20250521",
version: "19.2.0-www-modern-99781d60-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2713 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20202,4 +20202,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
@@ -21908,7 +21908,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -21689,7 +21689,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -14135,7 +14135,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13852,7 +13852,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -15386,10 +15386,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-459a2c42-20250521",
version: "19.2.0-www-classic-99781d60-20250522",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15524,5 +15524,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-classic-459a2c42-20250521";
exports.version = "19.2.0-www-classic-99781d60-20250522";
})();
@@ -15386,10 +15386,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-459a2c42-20250521",
version: "19.2.0-www-modern-99781d60-20250522",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-459a2c42-20250521"
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15524,5 +15524,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-modern-459a2c42-20250521";
exports.version = "19.2.0-www-modern-99781d60-20250522";
})();
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-classic-459a2c42-20250521
19.2.0-www-classic-99781d60-20250522
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-modern-459a2c42-20250521
19.2.0-www-modern-99781d60-20250522