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
@@ -403,8 +403,8 @@ function getSuspenseViewTransition(parentViewTransition) {
|
|
403
403
|
? null
|
404
404
|
: {
|
405
405
|
update: parentViewTransition.update,
|
406
|
-
enter:
|
407
|
-
exit:
|
406
|
+
enter: "none",
|
407
|
+
exit: "none",
|
408
408
|
share: parentViewTransition.update,
|
409
409
|
name: parentViewTransition.autoName,
|
410
410
|
autoName: parentViewTransition.autoName,
|
@@ -2718,16 +2718,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2718
2718
|
"\x3c/script>"
|
2719
2719
|
));
|
2720
2720
|
bootstrapScriptContent = idPrefix + "P:";
|
2721
|
-
var
|
2721
|
+
var JSCompiler_object_inline_segmentPrefix_1654 = idPrefix + "S:";
|
2722
2722
|
idPrefix += "B:";
|
2723
|
-
var
|
2724
|
-
|
2725
|
-
|
2726
|
-
|
2727
|
-
|
2728
|
-
|
2729
|
-
|
2730
|
-
|
2723
|
+
var JSCompiler_object_inline_preconnects_1667 = new Set(),
|
2724
|
+
JSCompiler_object_inline_fontPreloads_1668 = new Set(),
|
2725
|
+
JSCompiler_object_inline_highImagePreloads_1669 = new Set(),
|
2726
|
+
JSCompiler_object_inline_styles_1670 = new Map(),
|
2727
|
+
JSCompiler_object_inline_bootstrapScripts_1671 = new Set(),
|
2728
|
+
JSCompiler_object_inline_scripts_1672 = new Set(),
|
2729
|
+
JSCompiler_object_inline_bulkPreloads_1673 = new Set(),
|
2730
|
+
JSCompiler_object_inline_preloads_1674 = {
|
2731
2731
|
images: new Map(),
|
2732
2732
|
stylesheets: new Map(),
|
2733
2733
|
scripts: new Map(),
|
@@ -2764,7 +2764,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2764
2764
|
scriptConfig.moduleScriptResources[href] = null;
|
2765
2765
|
scriptConfig = [];
|
2766
2766
|
pushLinkImpl(scriptConfig, props);
|
2767
|
-
|
2767
|
+
JSCompiler_object_inline_bootstrapScripts_1671.add(scriptConfig);
|
2768
2768
|
bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
|
2769
2769
|
"string" === typeof integrity &&
|
2770
2770
|
bootstrapChunks.push(
|
@@ -2811,7 +2811,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2811
2811
|
(props.moduleScriptResources[scriptConfig] = null),
|
2812
2812
|
(props = []),
|
2813
2813
|
pushLinkImpl(props, integrity),
|
2814
|
-
|
2814
|
+
JSCompiler_object_inline_bootstrapScripts_1671.add(props),
|
2815
2815
|
bootstrapChunks.push(
|
2816
2816
|
'<script type="module" src="',
|
2817
2817
|
escapeTextForBrowser(i),
|
@@ -2833,7 +2833,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2833
2833
|
bootstrapChunks.push(' async="">\x3c/script>');
|
2834
2834
|
return {
|
2835
2835
|
placeholderPrefix: bootstrapScriptContent,
|
2836
|
-
segmentPrefix:
|
2836
|
+
segmentPrefix: JSCompiler_object_inline_segmentPrefix_1654,
|
2837
2837
|
boundaryPrefix: idPrefix,
|
2838
2838
|
startInlineScript: "<script",
|
2839
2839
|
preamble: { htmlChunks: null, headChunks: null, bodyChunks: null },
|
@@ -2852,14 +2852,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2852
2852
|
charsetChunks: [],
|
2853
2853
|
viewportChunks: [],
|
2854
2854
|
hoistableChunks: [],
|
2855
|
-
preconnects:
|
2856
|
-
fontPreloads:
|
2857
|
-
highImagePreloads:
|
2858
|
-
styles:
|
2859
|
-
bootstrapScripts:
|
2860
|
-
scripts:
|
2861
|
-
bulkPreloads:
|
2862
|
-
preloads:
|
2855
|
+
preconnects: JSCompiler_object_inline_preconnects_1667,
|
2856
|
+
fontPreloads: JSCompiler_object_inline_fontPreloads_1668,
|
2857
|
+
highImagePreloads: JSCompiler_object_inline_highImagePreloads_1669,
|
2858
|
+
styles: JSCompiler_object_inline_styles_1670,
|
2859
|
+
bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1671,
|
2860
|
+
scripts: JSCompiler_object_inline_scripts_1672,
|
2861
|
+
bulkPreloads: JSCompiler_object_inline_bulkPreloads_1673,
|
2862
|
+
preloads: JSCompiler_object_inline_preloads_1674,
|
2863
2863
|
stylesToHoist: !1,
|
2864
2864
|
generateStaticMarkup: generateStaticMarkup
|
2865
2865
|
};
|
@@ -5149,15 +5149,15 @@ function renderNode(request, task, node, childIndex) {
|
|
5149
5149
|
chunkLength = segment.chunks.length;
|
5150
5150
|
try {
|
5151
5151
|
return renderNodeDestructive(request, task, node, childIndex);
|
5152
|
-
} catch (thrownValue$
|
5152
|
+
} catch (thrownValue$60) {
|
5153
5153
|
if (
|
5154
5154
|
(resetHooksState(),
|
5155
5155
|
(segment.children.length = childrenLength),
|
5156
5156
|
(segment.chunks.length = chunkLength),
|
5157
5157
|
(node =
|
5158
|
-
thrownValue$
|
5158
|
+
thrownValue$60 === SuspenseException
|
5159
5159
|
? getSuspendedThenable()
|
5160
|
-
: thrownValue$
|
5160
|
+
: thrownValue$60),
|
5161
5161
|
"object" === typeof node && null !== node)
|
5162
5162
|
) {
|
5163
5163
|
if ("function" === typeof node.then) {
|
@@ -5398,60 +5398,115 @@ function queueCompletedSegment(boundary, segment) {
|
|
5398
5398
|
1 === childSegment.status && queueCompletedSegment(boundary, childSegment);
|
5399
5399
|
} else boundary.completedSegments.push(segment);
|
5400
5400
|
}
|
5401
|
-
function finishedTask(request, boundary, row, segment) {
|
5401
|
+
function finishedTask(request$jscomp$0, boundary, row, segment) {
|
5402
5402
|
null !== row &&
|
5403
5403
|
(0 === --row.pendingTasks
|
5404
|
-
? finishSuspenseListRow(request, row)
|
5405
|
-
: row.together && tryToResolveTogetherRow(request, row));
|
5406
|
-
request.allPendingTasks--;
|
5404
|
+
? finishSuspenseListRow(request$jscomp$0, row)
|
5405
|
+
: row.together && tryToResolveTogetherRow(request$jscomp$0, row));
|
5406
|
+
request$jscomp$0.allPendingTasks--;
|
5407
5407
|
if (null === boundary) {
|
5408
5408
|
if (null !== segment && segment.parentFlushed) {
|
5409
|
-
if (null !== request.completedRootSegment)
|
5409
|
+
if (null !== request$jscomp$0.completedRootSegment)
|
5410
5410
|
throw Error(formatProdErrorMessage(389));
|
5411
|
-
request.completedRootSegment = segment;
|
5411
|
+
request$jscomp$0.completedRootSegment = segment;
|
5412
5412
|
}
|
5413
|
-
request.pendingRootTasks--;
|
5414
|
-
0 === request.pendingRootTasks && completeShell(request);
|
5415
|
-
} else
|
5416
|
-
boundary.pendingTasks
|
5417
|
-
|
5418
|
-
(0 === boundary.
|
5419
|
-
|
5420
|
-
|
5421
|
-
|
5422
|
-
|
5423
|
-
|
5424
|
-
|
5425
|
-
|
5426
|
-
|
5427
|
-
|
5428
|
-
|
5429
|
-
|
5430
|
-
|
5431
|
-
|
5432
|
-
|
5433
|
-
|
5434
|
-
|
5435
|
-
|
5436
|
-
|
5437
|
-
|
5438
|
-
|
5439
|
-
|
5440
|
-
|
5441
|
-
|
5442
|
-
|
5443
|
-
|
5444
|
-
|
5445
|
-
|
5446
|
-
|
5447
|
-
|
5448
|
-
|
5449
|
-
|
5450
|
-
|
5451
|
-
|
5452
|
-
|
5453
|
-
|
5454
|
-
|
5413
|
+
request$jscomp$0.pendingRootTasks--;
|
5414
|
+
0 === request$jscomp$0.pendingRootTasks && completeShell(request$jscomp$0);
|
5415
|
+
} else if ((boundary.pendingTasks--, 4 !== boundary.status))
|
5416
|
+
if (0 === boundary.pendingTasks)
|
5417
|
+
if (
|
5418
|
+
(0 === boundary.status && (boundary.status = 1),
|
5419
|
+
null !== segment &&
|
5420
|
+
segment.parentFlushed &&
|
5421
|
+
1 === segment.status &&
|
5422
|
+
queueCompletedSegment(boundary, segment),
|
5423
|
+
boundary.parentFlushed &&
|
5424
|
+
request$jscomp$0.completedBoundaries.push(boundary),
|
5425
|
+
1 === boundary.status)
|
5426
|
+
)
|
5427
|
+
(row = boundary.row),
|
5428
|
+
null !== row &&
|
5429
|
+
hoistHoistables(row.hoistables, boundary.contentState),
|
5430
|
+
500 < boundary.byteSize ||
|
5431
|
+
(boundary.fallbackAbortableTasks.forEach(
|
5432
|
+
abortTaskSoft,
|
5433
|
+
request$jscomp$0
|
5434
|
+
),
|
5435
|
+
boundary.fallbackAbortableTasks.clear(),
|
5436
|
+
null !== row &&
|
5437
|
+
0 === --row.pendingTasks &&
|
5438
|
+
finishSuspenseListRow(request$jscomp$0, row)),
|
5439
|
+
0 === request$jscomp$0.pendingRootTasks &&
|
5440
|
+
null === request$jscomp$0.trackedPostpones &&
|
5441
|
+
null !== boundary.contentPreamble &&
|
5442
|
+
preparePreamble(request$jscomp$0);
|
5443
|
+
else {
|
5444
|
+
if (
|
5445
|
+
5 === boundary.status &&
|
5446
|
+
((boundary = boundary.row), null !== boundary)
|
5447
|
+
) {
|
5448
|
+
if (null !== request$jscomp$0.trackedPostpones) {
|
5449
|
+
row = request$jscomp$0.trackedPostpones;
|
5450
|
+
var postponedRow = boundary.next;
|
5451
|
+
if (
|
5452
|
+
null !== postponedRow &&
|
5453
|
+
((segment = postponedRow.boundaries), null !== segment)
|
5454
|
+
)
|
5455
|
+
for (
|
5456
|
+
postponedRow.boundaries = null, postponedRow = 0;
|
5457
|
+
postponedRow < segment.length;
|
5458
|
+
postponedRow++
|
5459
|
+
) {
|
5460
|
+
var postponedBoundary = segment[postponedRow];
|
5461
|
+
var request = request$jscomp$0,
|
5462
|
+
trackedPostpones = row;
|
5463
|
+
postponedBoundary.status = 5;
|
5464
|
+
postponedBoundary.rootSegmentID = request.nextSegmentId++;
|
5465
|
+
request = postponedBoundary.trackedContentKeyPath;
|
5466
|
+
if (null === request) throw Error(formatProdErrorMessage(486));
|
5467
|
+
var fallbackReplayNode = postponedBoundary.trackedFallbackNode,
|
5468
|
+
children = [],
|
5469
|
+
boundaryNode = trackedPostpones.workingMap.get(request);
|
5470
|
+
void 0 === boundaryNode
|
5471
|
+
? ((fallbackReplayNode = [
|
5472
|
+
request[1],
|
5473
|
+
request[2],
|
5474
|
+
children,
|
5475
|
+
null,
|
5476
|
+
fallbackReplayNode,
|
5477
|
+
postponedBoundary.rootSegmentID
|
5478
|
+
]),
|
5479
|
+
trackedPostpones.workingMap.set(
|
5480
|
+
request,
|
5481
|
+
fallbackReplayNode
|
5482
|
+
),
|
5483
|
+
addToReplayParent(
|
5484
|
+
fallbackReplayNode,
|
5485
|
+
request[0],
|
5486
|
+
trackedPostpones
|
5487
|
+
))
|
5488
|
+
: ((boundaryNode[4] = fallbackReplayNode),
|
5489
|
+
(boundaryNode[5] = postponedBoundary.rootSegmentID));
|
5490
|
+
finishedTask(request$jscomp$0, postponedBoundary, null, null);
|
5491
|
+
}
|
5492
|
+
}
|
5493
|
+
0 === --boundary.pendingTasks &&
|
5494
|
+
finishSuspenseListRow(request$jscomp$0, boundary);
|
5495
|
+
}
|
5496
|
+
}
|
5497
|
+
else
|
5498
|
+
null !== segment &&
|
5499
|
+
segment.parentFlushed &&
|
5500
|
+
1 === segment.status &&
|
5501
|
+
(queueCompletedSegment(boundary, segment),
|
5502
|
+
1 === boundary.completedSegments.length &&
|
5503
|
+
boundary.parentFlushed &&
|
5504
|
+
request$jscomp$0.partialBoundaries.push(boundary)),
|
5505
|
+
(boundary = boundary.row),
|
5506
|
+
null !== boundary &&
|
5507
|
+
boundary.together &&
|
5508
|
+
tryToResolveTogetherRow(request$jscomp$0, boundary);
|
5509
|
+
0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
|
5455
5510
|
}
|
5456
5511
|
function performWork(request$jscomp$2) {
|
5457
5512
|
if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) {
|
@@ -5884,7 +5939,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
5884
5939
|
0 === (completedSegments.instructions & 2) &&
|
5885
5940
|
((completedSegments.instructions |= 2),
|
5886
5941
|
destination.push(
|
5887
|
-
'$RB=[];$RV=function(){$RT=performance.now();
|
5942
|
+
'$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())};'
|
5888
5943
|
)),
|
5889
5944
|
0 === (completedSegments.instructions & 8)
|
5890
5945
|
? ((completedSegments.instructions |= 8),
|
@@ -5895,7 +5950,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
5895
5950
|
: (0 === (completedSegments.instructions & 2) &&
|
5896
5951
|
((completedSegments.instructions |= 2),
|
5897
5952
|
destination.push(
|
5898
|
-
'$RB=[];$RV=function(){$RT=performance.now();
|
5953
|
+
'$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())};'
|
5899
5954
|
)),
|
5900
5955
|
destination.push('$RC("'));
|
5901
5956
|
completedSegments = i.toString(16);
|
@@ -6140,12 +6195,12 @@ function flushCompletedQueues(request, destination) {
|
|
6140
6195
|
completedBoundaries.splice(0, i);
|
6141
6196
|
var partialBoundaries = request.partialBoundaries;
|
6142
6197
|
for (i = 0; i < partialBoundaries.length; i++) {
|
6143
|
-
var boundary$
|
6198
|
+
var boundary$66 = partialBoundaries[i];
|
6144
6199
|
a: {
|
6145
6200
|
clientRenderedBoundaries = request;
|
6146
6201
|
boundary = destination;
|
6147
|
-
flushedByteSize = boundary$
|
6148
|
-
var completedSegments = boundary$
|
6202
|
+
flushedByteSize = boundary$66.byteSize;
|
6203
|
+
var completedSegments = boundary$66.completedSegments;
|
6149
6204
|
for (
|
6150
6205
|
JSCompiler_inline_result = 0;
|
6151
6206
|
JSCompiler_inline_result < completedSegments.length;
|
@@ -6155,7 +6210,7 @@ function flushCompletedQueues(request, destination) {
|
|
6155
6210
|
!flushPartiallyCompletedSegment(
|
6156
6211
|
clientRenderedBoundaries,
|
6157
6212
|
boundary,
|
6158
|
-
boundary$
|
6213
|
+
boundary$66,
|
6159
6214
|
completedSegments[JSCompiler_inline_result]
|
6160
6215
|
)
|
6161
6216
|
) {
|
@@ -6165,10 +6220,10 @@ function flushCompletedQueues(request, destination) {
|
|
6165
6220
|
break a;
|
6166
6221
|
}
|
6167
6222
|
completedSegments.splice(0, JSCompiler_inline_result);
|
6168
|
-
var row = boundary$
|
6223
|
+
var row = boundary$66.row;
|
6169
6224
|
null !== row &&
|
6170
6225
|
row.together &&
|
6171
|
-
1 === boundary$
|
6226
|
+
1 === boundary$66.pendingTasks &&
|
6172
6227
|
(1 === row.pendingTasks
|
6173
6228
|
? unblockSuspenseListRow(
|
6174
6229
|
clientRenderedBoundaries,
|
@@ -6178,7 +6233,7 @@ function flushCompletedQueues(request, destination) {
|
|
6178
6233
|
: row.pendingTasks--);
|
6179
6234
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
6180
6235
|
boundary,
|
6181
|
-
boundary$
|
6236
|
+
boundary$66.contentState,
|
6182
6237
|
clientRenderedBoundaries.renderState
|
6183
6238
|
);
|
6184
6239
|
}
|
@@ -6261,8 +6316,20 @@ function abort(request, reason) {
|
|
6261
6316
|
}
|
6262
6317
|
null !== request.destination &&
|
6263
6318
|
flushCompletedQueues(request, request.destination);
|
6264
|
-
} catch (error$
|
6265
|
-
logRecoverableError(request, error$
|
6319
|
+
} catch (error$68) {
|
6320
|
+
logRecoverableError(request, error$68, {}), fatalError(request, error$68);
|
6321
|
+
}
|
6322
|
+
}
|
6323
|
+
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
6324
|
+
if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
|
6325
|
+
else {
|
6326
|
+
var workingMap = trackedPostpones.workingMap,
|
6327
|
+
parentNode = workingMap.get(parentKeyPath);
|
6328
|
+
void 0 === parentNode &&
|
6329
|
+
((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
|
6330
|
+
workingMap.set(parentKeyPath, parentNode),
|
6331
|
+
addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
|
6332
|
+
parentNode[2].push(node);
|
6266
6333
|
}
|
6267
6334
|
}
|
6268
6335
|
function onError() {}
|
@@ -6328,4 +6395,4 @@ exports.renderToString = function (children, options) {
|
|
6328
6395
|
'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'
|
6329
6396
|
);
|
6330
6397
|
};
|
6331
|
-
exports.version = "19.2.0-canary-
|
6398
|
+
exports.version = "19.2.0-canary-99efc627-20250523";
|
@@ -859,8 +859,8 @@
|
|
859
859
|
? null
|
860
860
|
: {
|
861
861
|
update: parentViewTransition.update,
|
862
|
-
enter:
|
863
|
-
exit:
|
862
|
+
enter: "none",
|
863
|
+
exit: "none",
|
864
864
|
share: parentViewTransition.update,
|
865
865
|
name: parentViewTransition.autoName,
|
866
866
|
autoName: parentViewTransition.autoName,
|
@@ -6975,62 +6975,129 @@
|
|
6975
6975
|
queueCompletedSegment(boundary, childSegment);
|
6976
6976
|
} else boundary.completedSegments.push(segment);
|
6977
6977
|
}
|
6978
|
-
function finishedTask(request, boundary, row, segment) {
|
6978
|
+
function finishedTask(request$jscomp$0, boundary$jscomp$0, row, segment) {
|
6979
6979
|
null !== row &&
|
6980
6980
|
(0 === --row.pendingTasks
|
6981
|
-
? finishSuspenseListRow(request, row)
|
6982
|
-
: row.together && tryToResolveTogetherRow(request, row));
|
6983
|
-
request.allPendingTasks--;
|
6984
|
-
if (null === boundary) {
|
6981
|
+
? finishSuspenseListRow(request$jscomp$0, row)
|
6982
|
+
: row.together && tryToResolveTogetherRow(request$jscomp$0, row));
|
6983
|
+
request$jscomp$0.allPendingTasks--;
|
6984
|
+
if (null === boundary$jscomp$0) {
|
6985
6985
|
if (null !== segment && segment.parentFlushed) {
|
6986
|
-
if (null !== request.completedRootSegment)
|
6986
|
+
if (null !== request$jscomp$0.completedRootSegment)
|
6987
6987
|
throw Error(
|
6988
6988
|
"There can only be one root segment. This is a bug in React."
|
6989
6989
|
);
|
6990
|
-
request.completedRootSegment = segment;
|
6990
|
+
request$jscomp$0.completedRootSegment = segment;
|
6991
6991
|
}
|
6992
|
-
request.pendingRootTasks--;
|
6993
|
-
0 === request.pendingRootTasks &&
|
6994
|
-
|
6995
|
-
|
6996
|
-
|
6997
|
-
|
6998
|
-
|
6999
|
-
|
7000
|
-
|
7001
|
-
|
7002
|
-
|
7003
|
-
|
7004
|
-
|
7005
|
-
|
7006
|
-
|
7007
|
-
|
7008
|
-
|
7009
|
-
|
7010
|
-
|
7011
|
-
|
7012
|
-
|
7013
|
-
|
7014
|
-
|
7015
|
-
|
7016
|
-
|
7017
|
-
|
7018
|
-
|
7019
|
-
|
7020
|
-
|
7021
|
-
|
7022
|
-
|
7023
|
-
|
7024
|
-
|
7025
|
-
|
7026
|
-
|
7027
|
-
|
7028
|
-
|
7029
|
-
|
7030
|
-
|
7031
|
-
|
7032
|
-
|
7033
|
-
|
6992
|
+
request$jscomp$0.pendingRootTasks--;
|
6993
|
+
0 === request$jscomp$0.pendingRootTasks &&
|
6994
|
+
completeShell(request$jscomp$0);
|
6995
|
+
} else if (
|
6996
|
+
(boundary$jscomp$0.pendingTasks--,
|
6997
|
+
boundary$jscomp$0.status !== CLIENT_RENDERED)
|
6998
|
+
)
|
6999
|
+
if (0 === boundary$jscomp$0.pendingTasks)
|
7000
|
+
if (
|
7001
|
+
(boundary$jscomp$0.status === PENDING &&
|
7002
|
+
(boundary$jscomp$0.status = COMPLETED),
|
7003
|
+
null !== segment &&
|
7004
|
+
segment.parentFlushed &&
|
7005
|
+
segment.status === COMPLETED &&
|
7006
|
+
queueCompletedSegment(boundary$jscomp$0, segment),
|
7007
|
+
boundary$jscomp$0.parentFlushed &&
|
7008
|
+
request$jscomp$0.completedBoundaries.push(boundary$jscomp$0),
|
7009
|
+
boundary$jscomp$0.status === COMPLETED)
|
7010
|
+
)
|
7011
|
+
(row = boundary$jscomp$0.row),
|
7012
|
+
null !== row &&
|
7013
|
+
hoistHoistables(row.hoistables, boundary$jscomp$0.contentState),
|
7014
|
+
500 < boundary$jscomp$0.byteSize ||
|
7015
|
+
(boundary$jscomp$0.fallbackAbortableTasks.forEach(
|
7016
|
+
abortTaskSoft,
|
7017
|
+
request$jscomp$0
|
7018
|
+
),
|
7019
|
+
boundary$jscomp$0.fallbackAbortableTasks.clear(),
|
7020
|
+
null !== row &&
|
7021
|
+
0 === --row.pendingTasks &&
|
7022
|
+
finishSuspenseListRow(request$jscomp$0, row)),
|
7023
|
+
0 === request$jscomp$0.pendingRootTasks &&
|
7024
|
+
null === request$jscomp$0.trackedPostpones &&
|
7025
|
+
null !== boundary$jscomp$0.contentPreamble &&
|
7026
|
+
preparePreamble(request$jscomp$0);
|
7027
|
+
else {
|
7028
|
+
if (
|
7029
|
+
boundary$jscomp$0.status === POSTPONED &&
|
7030
|
+
((boundary$jscomp$0 = boundary$jscomp$0.row),
|
7031
|
+
null !== boundary$jscomp$0)
|
7032
|
+
) {
|
7033
|
+
if (null !== request$jscomp$0.trackedPostpones) {
|
7034
|
+
row = request$jscomp$0.trackedPostpones;
|
7035
|
+
var postponedRow = boundary$jscomp$0.next;
|
7036
|
+
if (
|
7037
|
+
null !== postponedRow &&
|
7038
|
+
((segment = postponedRow.boundaries), null !== segment)
|
7039
|
+
)
|
7040
|
+
for (
|
7041
|
+
postponedRow.boundaries = null, postponedRow = 0;
|
7042
|
+
postponedRow < segment.length;
|
7043
|
+
postponedRow++
|
7044
|
+
) {
|
7045
|
+
var postponedBoundary = segment[postponedRow];
|
7046
|
+
var request = request$jscomp$0,
|
7047
|
+
trackedPostpones = row,
|
7048
|
+
boundary = postponedBoundary;
|
7049
|
+
boundary.status = POSTPONED;
|
7050
|
+
boundary.rootSegmentID = request.nextSegmentId++;
|
7051
|
+
request = boundary.trackedContentKeyPath;
|
7052
|
+
if (null === request)
|
7053
|
+
throw Error(
|
7054
|
+
"It should not be possible to postpone at the root. This is a bug in React."
|
7055
|
+
);
|
7056
|
+
var fallbackReplayNode = boundary.trackedFallbackNode,
|
7057
|
+
children = [],
|
7058
|
+
boundaryNode = trackedPostpones.workingMap.get(request);
|
7059
|
+
void 0 === boundaryNode
|
7060
|
+
? ((boundary = [
|
7061
|
+
request[1],
|
7062
|
+
request[2],
|
7063
|
+
children,
|
7064
|
+
null,
|
7065
|
+
fallbackReplayNode,
|
7066
|
+
boundary.rootSegmentID
|
7067
|
+
]),
|
7068
|
+
trackedPostpones.workingMap.set(request, boundary),
|
7069
|
+
addToReplayParent(
|
7070
|
+
boundary,
|
7071
|
+
request[0],
|
7072
|
+
trackedPostpones
|
7073
|
+
))
|
7074
|
+
: ((boundaryNode[4] = fallbackReplayNode),
|
7075
|
+
(boundaryNode[5] = boundary.rootSegmentID));
|
7076
|
+
finishedTask(
|
7077
|
+
request$jscomp$0,
|
7078
|
+
postponedBoundary,
|
7079
|
+
null,
|
7080
|
+
null
|
7081
|
+
);
|
7082
|
+
}
|
7083
|
+
}
|
7084
|
+
0 === --boundary$jscomp$0.pendingTasks &&
|
7085
|
+
finishSuspenseListRow(request$jscomp$0, boundary$jscomp$0);
|
7086
|
+
}
|
7087
|
+
}
|
7088
|
+
else
|
7089
|
+
null !== segment &&
|
7090
|
+
segment.parentFlushed &&
|
7091
|
+
segment.status === COMPLETED &&
|
7092
|
+
(queueCompletedSegment(boundary$jscomp$0, segment),
|
7093
|
+
1 === boundary$jscomp$0.completedSegments.length &&
|
7094
|
+
boundary$jscomp$0.parentFlushed &&
|
7095
|
+
request$jscomp$0.partialBoundaries.push(boundary$jscomp$0)),
|
7096
|
+
(boundary$jscomp$0 = boundary$jscomp$0.row),
|
7097
|
+
null !== boundary$jscomp$0 &&
|
7098
|
+
boundary$jscomp$0.together &&
|
7099
|
+
tryToResolveTogetherRow(request$jscomp$0, boundary$jscomp$0);
|
7100
|
+
0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
|
7034
7101
|
}
|
7035
7102
|
function performWork(request$jscomp$2) {
|
7036
7103
|
if (
|
@@ -8006,6 +8073,18 @@
|
|
8006
8073
|
fatalError(request, error$4, reason, null);
|
8007
8074
|
}
|
8008
8075
|
}
|
8076
|
+
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
8077
|
+
if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
|
8078
|
+
else {
|
8079
|
+
var workingMap = trackedPostpones.workingMap,
|
8080
|
+
parentNode = workingMap.get(parentKeyPath);
|
8081
|
+
void 0 === parentNode &&
|
8082
|
+
((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
|
8083
|
+
workingMap.set(parentKeyPath, parentNode),
|
8084
|
+
addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
|
8085
|
+
parentNode[2].push(node);
|
8086
|
+
}
|
8087
|
+
}
|
8009
8088
|
function onError() {}
|
8010
8089
|
function renderToStringImpl(
|
8011
8090
|
children,
|
@@ -9214,7 +9293,7 @@
|
|
9214
9293
|
completeSegmentScript2 = '","',
|
9215
9294
|
completeSegmentScriptEnd = '")\x3c/script>',
|
9216
9295
|
completeBoundaryScriptFunctionOnly =
|
9217
|
-
'$RB=[];$RV=function(){$RT=performance.now();
|
9296
|
+
'$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())};',
|
9218
9297
|
completeBoundaryScript1Partial = '$RC("',
|
9219
9298
|
completeBoundaryWithStylesScript1FullPartial =
|
9220
9299
|
'$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("',
|
@@ -9519,5 +9598,5 @@
|
|
9519
9598
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
9520
9599
|
);
|
9521
9600
|
};
|
9522
|
-
exports.version = "19.2.0-canary-
|
9601
|
+
exports.version = "19.2.0-canary-99efc627-20250523";
|
9523
9602
|
})();
|