react-dom 19.2.0-canary-23884812-20250520 → 19.2.0-canary-99efc627-20250523
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.
- package/cjs/react-dom-client.development.js +7 -7
- package/cjs/react-dom-client.production.js +5 -5
- package/cjs/react-dom-profiling.development.js +7 -7
- package/cjs/react-dom-profiling.profiling.js +5 -5
- package/cjs/react-dom-server-legacy.browser.development.js +132 -53
- package/cjs/react-dom-server-legacy.browser.production.js +152 -85
- package/cjs/react-dom-server-legacy.node.development.js +132 -53
- package/cjs/react-dom-server-legacy.node.production.js +155 -85
- package/cjs/react-dom-server.browser.development.js +135 -56
- package/cjs/react-dom-server.browser.production.js +134 -67
- package/cjs/react-dom-server.bun.development.js +127 -58
- package/cjs/react-dom-server.bun.production.js +140 -70
- package/cjs/react-dom-server.edge.development.js +135 -56
- package/cjs/react-dom-server.edge.production.js +137 -67
- package/cjs/react-dom-server.node.development.js +135 -56
- package/cjs/react-dom-server.node.production.js +137 -67
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -684,8 +684,8 @@ function getSuspenseViewTransition(parentViewTransition) {
|
|
684
684
|
? null
|
685
685
|
: {
|
686
686
|
update: parentViewTransition.update,
|
687
|
-
enter:
|
688
|
-
exit:
|
687
|
+
enter: "none",
|
688
|
+
exit: "none",
|
689
689
|
share: parentViewTransition.update,
|
690
690
|
name: parentViewTransition.autoName,
|
691
691
|
autoName: parentViewTransition.autoName,
|
@@ -2537,10 +2537,10 @@ var completeSegmentScript1Full = stringToPrecomputedChunk(
|
|
2537
2537
|
stringToPrecomputedChunk('<template data-rsi="" data-sid="');
|
2538
2538
|
stringToPrecomputedChunk('" data-pid="');
|
2539
2539
|
var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
|
2540
|
-
'$RB=[];$RV=function(){$RT=performance.now();
|
2540
|
+
'$RB=[];$RV=function(c){$RT=performance.now();for(var a=0;a<c.length;a+=2){var b=c[a],h=c[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}c.length=0};$RC=function(c,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),c=document.getElementById(c))c.previousSibling.data="$~",$RB.push(c,a),2===$RB.length&&setTimeout($RV.bind(null,$RB),("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
2541
2541
|
);
|
2542
2542
|
stringToPrecomputedChunk(
|
2543
|
-
|
2543
|
+
'$RV=function(w,f){function h(b,d){var k=b.getAttribute(d);k&&(d=b.style,l.push(b,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(b=b.getAttribute("vt-name"))||(b="\\u00abT"+F++ +"\\u00bb"),d.viewTransitionName=b,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var a=g[c];m.set(a.getAttribute("vt-name"),a)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){a=y;for(e=0;a;){if(8===a.nodeType){var p=a.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===a.nodeType){c=a;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}a=a.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;a=t;do for(var n=a.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((a=a.parentNode)&&1===a.nodeType&&"none"!==a.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:w.bind(null,\nf),types:[]});v.ready.finally(function(){for(var b=l.length-3;0<=b;b-=3){var d=l[b],k=d.style;k.viewTransitionName=l[b+1];k.viewTransitionClass=l[b+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(b){}w(f)}.bind(null,$RV);'
|
2544
2544
|
);
|
2545
2545
|
var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
|
2546
2546
|
completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
|
@@ -5655,15 +5655,15 @@ function renderNode(request, task, node, childIndex) {
|
|
5655
5655
|
chunkLength = segment.chunks.length;
|
5656
5656
|
try {
|
5657
5657
|
return renderNodeDestructive(request, task, node, childIndex);
|
5658
|
-
} catch (thrownValue$
|
5658
|
+
} catch (thrownValue$60) {
|
5659
5659
|
if (
|
5660
5660
|
(resetHooksState(),
|
5661
5661
|
(segment.children.length = childrenLength),
|
5662
5662
|
(segment.chunks.length = chunkLength),
|
5663
5663
|
(node =
|
5664
|
-
thrownValue$
|
5664
|
+
thrownValue$60 === SuspenseException
|
5665
5665
|
? getSuspendedThenable()
|
5666
|
-
: thrownValue$
|
5666
|
+
: thrownValue$60),
|
5667
5667
|
"object" === typeof node && null !== node)
|
5668
5668
|
) {
|
5669
5669
|
if ("function" === typeof node.then) {
|
@@ -5917,62 +5917,120 @@ function finishedSegment(request, boundary, segment) {
|
|
5917
5917
|
: (boundary.byteSize += segmentByteSize);
|
5918
5918
|
}
|
5919
5919
|
}
|
5920
|
-
function finishedTask(request, boundary, row, segment) {
|
5920
|
+
function finishedTask(request$jscomp$0, boundary, row, segment) {
|
5921
5921
|
null !== row &&
|
5922
5922
|
(0 === --row.pendingTasks
|
5923
|
-
? finishSuspenseListRow(request, row)
|
5924
|
-
: row.together && tryToResolveTogetherRow(request, row));
|
5925
|
-
request.allPendingTasks--;
|
5923
|
+
? finishSuspenseListRow(request$jscomp$0, row)
|
5924
|
+
: row.together && tryToResolveTogetherRow(request$jscomp$0, row));
|
5925
|
+
request$jscomp$0.allPendingTasks--;
|
5926
5926
|
if (null === boundary) {
|
5927
5927
|
if (null !== segment && segment.parentFlushed) {
|
5928
|
-
if (null !== request.completedRootSegment)
|
5928
|
+
if (null !== request$jscomp$0.completedRootSegment)
|
5929
5929
|
throw Error(
|
5930
5930
|
"There can only be one root segment. This is a bug in React."
|
5931
5931
|
);
|
5932
|
-
request.completedRootSegment = segment;
|
5932
|
+
request$jscomp$0.completedRootSegment = segment;
|
5933
5933
|
}
|
5934
|
-
request.pendingRootTasks--;
|
5935
|
-
0 === request.pendingRootTasks && completeShell(request);
|
5936
|
-
} else
|
5937
|
-
boundary.pendingTasks
|
5938
|
-
|
5939
|
-
(0 === boundary.
|
5940
|
-
|
5941
|
-
|
5942
|
-
|
5943
|
-
|
5944
|
-
|
5945
|
-
|
5946
|
-
|
5947
|
-
|
5948
|
-
|
5949
|
-
|
5950
|
-
|
5951
|
-
|
5952
|
-
|
5953
|
-
|
5954
|
-
|
5955
|
-
|
5956
|
-
|
5957
|
-
|
5958
|
-
|
5959
|
-
|
5960
|
-
|
5961
|
-
|
5962
|
-
|
5963
|
-
|
5964
|
-
|
5965
|
-
|
5966
|
-
|
5967
|
-
|
5968
|
-
|
5969
|
-
|
5970
|
-
|
5971
|
-
|
5972
|
-
|
5973
|
-
|
5974
|
-
|
5975
|
-
|
5934
|
+
request$jscomp$0.pendingRootTasks--;
|
5935
|
+
0 === request$jscomp$0.pendingRootTasks && completeShell(request$jscomp$0);
|
5936
|
+
} else if ((boundary.pendingTasks--, 4 !== boundary.status))
|
5937
|
+
if (0 === boundary.pendingTasks)
|
5938
|
+
if (
|
5939
|
+
(0 === boundary.status && (boundary.status = 1),
|
5940
|
+
null !== segment &&
|
5941
|
+
segment.parentFlushed &&
|
5942
|
+
1 === segment.status &&
|
5943
|
+
queueCompletedSegment(boundary, segment),
|
5944
|
+
boundary.parentFlushed &&
|
5945
|
+
request$jscomp$0.completedBoundaries.push(boundary),
|
5946
|
+
1 === boundary.status)
|
5947
|
+
)
|
5948
|
+
(row = boundary.row),
|
5949
|
+
null !== row &&
|
5950
|
+
hoistHoistables(row.hoistables, boundary.contentState),
|
5951
|
+
500 < boundary.byteSize ||
|
5952
|
+
(boundary.fallbackAbortableTasks.forEach(
|
5953
|
+
abortTaskSoft,
|
5954
|
+
request$jscomp$0
|
5955
|
+
),
|
5956
|
+
boundary.fallbackAbortableTasks.clear(),
|
5957
|
+
null !== row &&
|
5958
|
+
0 === --row.pendingTasks &&
|
5959
|
+
finishSuspenseListRow(request$jscomp$0, row)),
|
5960
|
+
0 === request$jscomp$0.pendingRootTasks &&
|
5961
|
+
null === request$jscomp$0.trackedPostpones &&
|
5962
|
+
null !== boundary.contentPreamble &&
|
5963
|
+
preparePreamble(request$jscomp$0);
|
5964
|
+
else {
|
5965
|
+
if (
|
5966
|
+
5 === boundary.status &&
|
5967
|
+
((boundary = boundary.row), null !== boundary)
|
5968
|
+
) {
|
5969
|
+
if (null !== request$jscomp$0.trackedPostpones) {
|
5970
|
+
row = request$jscomp$0.trackedPostpones;
|
5971
|
+
var postponedRow = boundary.next;
|
5972
|
+
if (
|
5973
|
+
null !== postponedRow &&
|
5974
|
+
((segment = postponedRow.boundaries), null !== segment)
|
5975
|
+
)
|
5976
|
+
for (
|
5977
|
+
postponedRow.boundaries = null, postponedRow = 0;
|
5978
|
+
postponedRow < segment.length;
|
5979
|
+
postponedRow++
|
5980
|
+
) {
|
5981
|
+
var postponedBoundary = segment[postponedRow];
|
5982
|
+
var request = request$jscomp$0,
|
5983
|
+
trackedPostpones = row;
|
5984
|
+
postponedBoundary.status = 5;
|
5985
|
+
postponedBoundary.rootSegmentID = request.nextSegmentId++;
|
5986
|
+
request = postponedBoundary.trackedContentKeyPath;
|
5987
|
+
if (null === request)
|
5988
|
+
throw Error(
|
5989
|
+
"It should not be possible to postpone at the root. This is a bug in React."
|
5990
|
+
);
|
5991
|
+
var fallbackReplayNode = postponedBoundary.trackedFallbackNode,
|
5992
|
+
children = [],
|
5993
|
+
boundaryNode = trackedPostpones.workingMap.get(request);
|
5994
|
+
void 0 === boundaryNode
|
5995
|
+
? ((fallbackReplayNode = [
|
5996
|
+
request[1],
|
5997
|
+
request[2],
|
5998
|
+
children,
|
5999
|
+
null,
|
6000
|
+
fallbackReplayNode,
|
6001
|
+
postponedBoundary.rootSegmentID
|
6002
|
+
]),
|
6003
|
+
trackedPostpones.workingMap.set(
|
6004
|
+
request,
|
6005
|
+
fallbackReplayNode
|
6006
|
+
),
|
6007
|
+
addToReplayParent(
|
6008
|
+
fallbackReplayNode,
|
6009
|
+
request[0],
|
6010
|
+
trackedPostpones
|
6011
|
+
))
|
6012
|
+
: ((boundaryNode[4] = fallbackReplayNode),
|
6013
|
+
(boundaryNode[5] = postponedBoundary.rootSegmentID));
|
6014
|
+
finishedTask(request$jscomp$0, postponedBoundary, null, null);
|
6015
|
+
}
|
6016
|
+
}
|
6017
|
+
0 === --boundary.pendingTasks &&
|
6018
|
+
finishSuspenseListRow(request$jscomp$0, boundary);
|
6019
|
+
}
|
6020
|
+
}
|
6021
|
+
else
|
6022
|
+
null !== segment &&
|
6023
|
+
segment.parentFlushed &&
|
6024
|
+
1 === segment.status &&
|
6025
|
+
(queueCompletedSegment(boundary, segment),
|
6026
|
+
1 === boundary.completedSegments.length &&
|
6027
|
+
boundary.parentFlushed &&
|
6028
|
+
request$jscomp$0.partialBoundaries.push(boundary)),
|
6029
|
+
(boundary = boundary.row),
|
6030
|
+
null !== boundary &&
|
6031
|
+
boundary.together &&
|
6032
|
+
tryToResolveTogetherRow(request$jscomp$0, boundary);
|
6033
|
+
0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
|
5976
6034
|
}
|
5977
6035
|
function performWork(request$jscomp$2) {
|
5978
6036
|
if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) {
|
@@ -6656,12 +6714,12 @@ function flushCompletedQueues(request, destination) {
|
|
6656
6714
|
writtenBytes = 0;
|
6657
6715
|
var partialBoundaries = request.partialBoundaries;
|
6658
6716
|
for (i = 0; i < partialBoundaries.length; i++) {
|
6659
|
-
var boundary$
|
6717
|
+
var boundary$66 = partialBoundaries[i];
|
6660
6718
|
a: {
|
6661
6719
|
clientRenderedBoundaries = request;
|
6662
6720
|
boundary = destination;
|
6663
|
-
flushedByteSize = boundary$
|
6664
|
-
var completedSegments = boundary$
|
6721
|
+
flushedByteSize = boundary$66.byteSize;
|
6722
|
+
var completedSegments = boundary$66.completedSegments;
|
6665
6723
|
for (
|
6666
6724
|
JSCompiler_inline_result = 0;
|
6667
6725
|
JSCompiler_inline_result < completedSegments.length;
|
@@ -6671,7 +6729,7 @@ function flushCompletedQueues(request, destination) {
|
|
6671
6729
|
!flushPartiallyCompletedSegment(
|
6672
6730
|
clientRenderedBoundaries,
|
6673
6731
|
boundary,
|
6674
|
-
boundary$
|
6732
|
+
boundary$66,
|
6675
6733
|
completedSegments[JSCompiler_inline_result]
|
6676
6734
|
)
|
6677
6735
|
) {
|
@@ -6681,10 +6739,10 @@ function flushCompletedQueues(request, destination) {
|
|
6681
6739
|
break a;
|
6682
6740
|
}
|
6683
6741
|
completedSegments.splice(0, JSCompiler_inline_result);
|
6684
|
-
var row = boundary$
|
6742
|
+
var row = boundary$66.row;
|
6685
6743
|
null !== row &&
|
6686
6744
|
row.together &&
|
6687
|
-
1 === boundary$
|
6745
|
+
1 === boundary$66.pendingTasks &&
|
6688
6746
|
(1 === row.pendingTasks
|
6689
6747
|
? unblockSuspenseListRow(
|
6690
6748
|
clientRenderedBoundaries,
|
@@ -6694,7 +6752,7 @@ function flushCompletedQueues(request, destination) {
|
|
6694
6752
|
: row.pendingTasks--);
|
6695
6753
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
6696
6754
|
boundary,
|
6697
|
-
boundary$
|
6755
|
+
boundary$66.contentState,
|
6698
6756
|
clientRenderedBoundaries.renderState
|
6699
6757
|
);
|
6700
6758
|
}
|
@@ -6800,17 +6858,29 @@ function abort(request, reason) {
|
|
6800
6858
|
}
|
6801
6859
|
null !== request.destination &&
|
6802
6860
|
flushCompletedQueues(request, request.destination);
|
6803
|
-
} catch (error$
|
6804
|
-
logRecoverableError(request, error$
|
6861
|
+
} catch (error$68) {
|
6862
|
+
logRecoverableError(request, error$68, {}), fatalError(request, error$68);
|
6863
|
+
}
|
6864
|
+
}
|
6865
|
+
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
6866
|
+
if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
|
6867
|
+
else {
|
6868
|
+
var workingMap = trackedPostpones.workingMap,
|
6869
|
+
parentNode = workingMap.get(parentKeyPath);
|
6870
|
+
void 0 === parentNode &&
|
6871
|
+
((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
|
6872
|
+
workingMap.set(parentKeyPath, parentNode),
|
6873
|
+
addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
|
6874
|
+
parentNode[2].push(node);
|
6805
6875
|
}
|
6806
6876
|
}
|
6807
6877
|
function ensureCorrectIsomorphicReactVersion() {
|
6808
6878
|
var isomorphicReactPackageVersion = React.version;
|
6809
|
-
if ("19.2.0-canary-
|
6879
|
+
if ("19.2.0-canary-99efc627-20250523" !== isomorphicReactPackageVersion)
|
6810
6880
|
throw Error(
|
6811
6881
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6812
6882
|
(isomorphicReactPackageVersion +
|
6813
|
-
"\n - react-dom: 19.2.0-canary-
|
6883
|
+
"\n - react-dom: 19.2.0-canary-99efc627-20250523\nLearn more: https://react.dev/warnings/version-mismatch")
|
6814
6884
|
);
|
6815
6885
|
}
|
6816
6886
|
ensureCorrectIsomorphicReactVersion();
|
@@ -6956,4 +7026,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6956
7026
|
startWork(request);
|
6957
7027
|
});
|
6958
7028
|
};
|
6959
|
-
exports.version = "19.2.0-canary-
|
7029
|
+
exports.version = "19.2.0-canary-99efc627-20250523";
|
@@ -1094,8 +1094,8 @@
|
|
1094
1094
|
? null
|
1095
1095
|
: {
|
1096
1096
|
update: parentViewTransition.update,
|
1097
|
-
enter:
|
1098
|
-
exit:
|
1097
|
+
enter: "none",
|
1098
|
+
exit: "none",
|
1099
1099
|
share: parentViewTransition.update,
|
1100
1100
|
name: parentViewTransition.autoName,
|
1101
1101
|
autoName: parentViewTransition.autoName,
|
@@ -7108,62 +7108,129 @@
|
|
7108
7108
|
: (boundary.byteSize += segmentByteSize);
|
7109
7109
|
}
|
7110
7110
|
}
|
7111
|
-
function finishedTask(request, boundary, row, segment) {
|
7111
|
+
function finishedTask(request$jscomp$0, boundary$jscomp$0, row, segment) {
|
7112
7112
|
null !== row &&
|
7113
7113
|
(0 === --row.pendingTasks
|
7114
|
-
? finishSuspenseListRow(request, row)
|
7115
|
-
: row.together && tryToResolveTogetherRow(request, row));
|
7116
|
-
request.allPendingTasks--;
|
7117
|
-
if (null === boundary) {
|
7114
|
+
? finishSuspenseListRow(request$jscomp$0, row)
|
7115
|
+
: row.together && tryToResolveTogetherRow(request$jscomp$0, row));
|
7116
|
+
request$jscomp$0.allPendingTasks--;
|
7117
|
+
if (null === boundary$jscomp$0) {
|
7118
7118
|
if (null !== segment && segment.parentFlushed) {
|
7119
|
-
if (null !== request.completedRootSegment)
|
7119
|
+
if (null !== request$jscomp$0.completedRootSegment)
|
7120
7120
|
throw Error(
|
7121
7121
|
"There can only be one root segment. This is a bug in React."
|
7122
7122
|
);
|
7123
|
-
request.completedRootSegment = segment;
|
7123
|
+
request$jscomp$0.completedRootSegment = segment;
|
7124
7124
|
}
|
7125
|
-
request.pendingRootTasks--;
|
7126
|
-
0 === request.pendingRootTasks &&
|
7127
|
-
|
7128
|
-
|
7129
|
-
|
7130
|
-
|
7131
|
-
|
7132
|
-
|
7133
|
-
|
7134
|
-
|
7135
|
-
|
7136
|
-
|
7137
|
-
|
7138
|
-
|
7139
|
-
|
7140
|
-
|
7141
|
-
|
7142
|
-
|
7143
|
-
|
7144
|
-
|
7145
|
-
|
7146
|
-
|
7147
|
-
|
7148
|
-
|
7149
|
-
|
7150
|
-
|
7151
|
-
|
7152
|
-
|
7153
|
-
|
7154
|
-
|
7155
|
-
|
7156
|
-
|
7157
|
-
|
7158
|
-
|
7159
|
-
|
7160
|
-
|
7161
|
-
|
7162
|
-
|
7163
|
-
|
7164
|
-
|
7165
|
-
|
7166
|
-
|
7125
|
+
request$jscomp$0.pendingRootTasks--;
|
7126
|
+
0 === request$jscomp$0.pendingRootTasks &&
|
7127
|
+
completeShell(request$jscomp$0);
|
7128
|
+
} else if (
|
7129
|
+
(boundary$jscomp$0.pendingTasks--,
|
7130
|
+
boundary$jscomp$0.status !== CLIENT_RENDERED)
|
7131
|
+
)
|
7132
|
+
if (0 === boundary$jscomp$0.pendingTasks)
|
7133
|
+
if (
|
7134
|
+
(boundary$jscomp$0.status === PENDING &&
|
7135
|
+
(boundary$jscomp$0.status = COMPLETED),
|
7136
|
+
null !== segment &&
|
7137
|
+
segment.parentFlushed &&
|
7138
|
+
segment.status === COMPLETED &&
|
7139
|
+
queueCompletedSegment(boundary$jscomp$0, segment),
|
7140
|
+
boundary$jscomp$0.parentFlushed &&
|
7141
|
+
request$jscomp$0.completedBoundaries.push(boundary$jscomp$0),
|
7142
|
+
boundary$jscomp$0.status === COMPLETED)
|
7143
|
+
)
|
7144
|
+
(row = boundary$jscomp$0.row),
|
7145
|
+
null !== row &&
|
7146
|
+
hoistHoistables(row.hoistables, boundary$jscomp$0.contentState),
|
7147
|
+
500 < boundary$jscomp$0.byteSize ||
|
7148
|
+
(boundary$jscomp$0.fallbackAbortableTasks.forEach(
|
7149
|
+
abortTaskSoft,
|
7150
|
+
request$jscomp$0
|
7151
|
+
),
|
7152
|
+
boundary$jscomp$0.fallbackAbortableTasks.clear(),
|
7153
|
+
null !== row &&
|
7154
|
+
0 === --row.pendingTasks &&
|
7155
|
+
finishSuspenseListRow(request$jscomp$0, row)),
|
7156
|
+
0 === request$jscomp$0.pendingRootTasks &&
|
7157
|
+
null === request$jscomp$0.trackedPostpones &&
|
7158
|
+
null !== boundary$jscomp$0.contentPreamble &&
|
7159
|
+
preparePreamble(request$jscomp$0);
|
7160
|
+
else {
|
7161
|
+
if (
|
7162
|
+
boundary$jscomp$0.status === POSTPONED &&
|
7163
|
+
((boundary$jscomp$0 = boundary$jscomp$0.row),
|
7164
|
+
null !== boundary$jscomp$0)
|
7165
|
+
) {
|
7166
|
+
if (null !== request$jscomp$0.trackedPostpones) {
|
7167
|
+
row = request$jscomp$0.trackedPostpones;
|
7168
|
+
var postponedRow = boundary$jscomp$0.next;
|
7169
|
+
if (
|
7170
|
+
null !== postponedRow &&
|
7171
|
+
((segment = postponedRow.boundaries), null !== segment)
|
7172
|
+
)
|
7173
|
+
for (
|
7174
|
+
postponedRow.boundaries = null, postponedRow = 0;
|
7175
|
+
postponedRow < segment.length;
|
7176
|
+
postponedRow++
|
7177
|
+
) {
|
7178
|
+
var postponedBoundary = segment[postponedRow];
|
7179
|
+
var request = request$jscomp$0,
|
7180
|
+
trackedPostpones = row,
|
7181
|
+
boundary = postponedBoundary;
|
7182
|
+
boundary.status = POSTPONED;
|
7183
|
+
boundary.rootSegmentID = request.nextSegmentId++;
|
7184
|
+
request = boundary.trackedContentKeyPath;
|
7185
|
+
if (null === request)
|
7186
|
+
throw Error(
|
7187
|
+
"It should not be possible to postpone at the root. This is a bug in React."
|
7188
|
+
);
|
7189
|
+
var fallbackReplayNode = boundary.trackedFallbackNode,
|
7190
|
+
children = [],
|
7191
|
+
boundaryNode = trackedPostpones.workingMap.get(request);
|
7192
|
+
void 0 === boundaryNode
|
7193
|
+
? ((boundary = [
|
7194
|
+
request[1],
|
7195
|
+
request[2],
|
7196
|
+
children,
|
7197
|
+
null,
|
7198
|
+
fallbackReplayNode,
|
7199
|
+
boundary.rootSegmentID
|
7200
|
+
]),
|
7201
|
+
trackedPostpones.workingMap.set(request, boundary),
|
7202
|
+
addToReplayParent(
|
7203
|
+
boundary,
|
7204
|
+
request[0],
|
7205
|
+
trackedPostpones
|
7206
|
+
))
|
7207
|
+
: ((boundaryNode[4] = fallbackReplayNode),
|
7208
|
+
(boundaryNode[5] = boundary.rootSegmentID));
|
7209
|
+
finishedTask(
|
7210
|
+
request$jscomp$0,
|
7211
|
+
postponedBoundary,
|
7212
|
+
null,
|
7213
|
+
null
|
7214
|
+
);
|
7215
|
+
}
|
7216
|
+
}
|
7217
|
+
0 === --boundary$jscomp$0.pendingTasks &&
|
7218
|
+
finishSuspenseListRow(request$jscomp$0, boundary$jscomp$0);
|
7219
|
+
}
|
7220
|
+
}
|
7221
|
+
else
|
7222
|
+
null !== segment &&
|
7223
|
+
segment.parentFlushed &&
|
7224
|
+
segment.status === COMPLETED &&
|
7225
|
+
(queueCompletedSegment(boundary$jscomp$0, segment),
|
7226
|
+
1 === boundary$jscomp$0.completedSegments.length &&
|
7227
|
+
boundary$jscomp$0.parentFlushed &&
|
7228
|
+
request$jscomp$0.partialBoundaries.push(boundary$jscomp$0)),
|
7229
|
+
(boundary$jscomp$0 = boundary$jscomp$0.row),
|
7230
|
+
null !== boundary$jscomp$0 &&
|
7231
|
+
boundary$jscomp$0.together &&
|
7232
|
+
tryToResolveTogetherRow(request$jscomp$0, boundary$jscomp$0);
|
7233
|
+
0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
|
7167
7234
|
}
|
7168
7235
|
function performWork(request$jscomp$2) {
|
7169
7236
|
if (
|
@@ -8165,13 +8232,25 @@
|
|
8165
8232
|
fatalError(request, error$4, reason, null);
|
8166
8233
|
}
|
8167
8234
|
}
|
8235
|
+
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
8236
|
+
if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
|
8237
|
+
else {
|
8238
|
+
var workingMap = trackedPostpones.workingMap,
|
8239
|
+
parentNode = workingMap.get(parentKeyPath);
|
8240
|
+
void 0 === parentNode &&
|
8241
|
+
((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
|
8242
|
+
workingMap.set(parentKeyPath, parentNode),
|
8243
|
+
addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
|
8244
|
+
parentNode[2].push(node);
|
8245
|
+
}
|
8246
|
+
}
|
8168
8247
|
function ensureCorrectIsomorphicReactVersion() {
|
8169
8248
|
var isomorphicReactPackageVersion = React.version;
|
8170
|
-
if ("19.2.0-canary-
|
8249
|
+
if ("19.2.0-canary-99efc627-20250523" !== isomorphicReactPackageVersion)
|
8171
8250
|
throw Error(
|
8172
8251
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8173
8252
|
(isomorphicReactPackageVersion +
|
8174
|
-
"\n - react-dom: 19.2.0-canary-
|
8253
|
+
"\n - react-dom: 19.2.0-canary-99efc627-20250523\nLearn more: https://react.dev/warnings/version-mismatch")
|
8175
8254
|
);
|
8176
8255
|
}
|
8177
8256
|
function createDrainHandler(destination, request) {
|
@@ -9449,10 +9528,10 @@
|
|
9449
9528
|
stringToPrecomputedChunk('<template data-rsi="" data-sid="');
|
9450
9529
|
stringToPrecomputedChunk('" data-pid="');
|
9451
9530
|
var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
|
9452
|
-
'$RB=[];$RV=function(){$RT=performance.now();
|
9531
|
+
'$RB=[];$RV=function(c){$RT=performance.now();for(var a=0;a<c.length;a+=2){var b=c[a],h=c[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}c.length=0};$RC=function(c,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),c=document.getElementById(c))c.previousSibling.data="$~",$RB.push(c,a),2===$RB.length&&setTimeout($RV.bind(null,$RB),("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
9453
9532
|
);
|
9454
9533
|
stringToPrecomputedChunk(
|
9455
|
-
|
9534
|
+
'$RV=function(w,f){function h(b,d){var k=b.getAttribute(d);k&&(d=b.style,l.push(b,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(b=b.getAttribute("vt-name"))||(b="\\u00abT"+F++ +"\\u00bb"),d.viewTransitionName=b,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var a=g[c];m.set(a.getAttribute("vt-name"),a)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){a=y;for(e=0;a;){if(8===a.nodeType){var p=a.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===a.nodeType){c=a;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}a=a.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;a=t;do for(var n=a.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((a=a.parentNode)&&1===a.nodeType&&"none"!==a.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:w.bind(null,\nf),types:[]});v.ready.finally(function(){for(var b=l.length-3;0<=b;b-=3){var d=l[b],k=d.style;k.viewTransitionName=l[b+1];k.viewTransitionClass=l[b+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(b){}w(f)}.bind(null,$RV);'
|
9456
9535
|
);
|
9457
9536
|
var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
|
9458
9537
|
completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
|
@@ -9853,5 +9932,5 @@
|
|
9853
9932
|
}
|
9854
9933
|
};
|
9855
9934
|
};
|
9856
|
-
exports.version = "19.2.0-canary-
|
9935
|
+
exports.version = "19.2.0-canary-99efc627-20250523";
|
9857
9936
|
})();
|