react-dom 19.2.0-canary-197d6a04-20250424 → 19.2.0-canary-c498bfce-20250426
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-client.development.js +5 -5
- package/cjs/react-dom-client.production.js +5 -5
- package/cjs/react-dom-profiling.development.js +5 -5
- package/cjs/react-dom-profiling.profiling.js +5 -5
- package/cjs/react-dom-server-legacy.browser.development.js +154 -79
- package/cjs/react-dom-server-legacy.browser.production.js +156 -87
- package/cjs/react-dom-server-legacy.node.development.js +154 -79
- package/cjs/react-dom-server-legacy.node.production.js +156 -87
- package/cjs/react-dom-server.browser.development.js +184 -78
- package/cjs/react-dom-server.browser.production.js +174 -86
- package/cjs/react-dom-server.bun.development.js +176 -79
- package/cjs/react-dom-server.bun.production.js +178 -91
- package/cjs/react-dom-server.edge.development.js +184 -78
- package/cjs/react-dom-server.edge.production.js +174 -86
- package/cjs/react-dom-server.node.development.js +181 -78
- package/cjs/react-dom-server.node.production.js +180 -86
- 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
@@ -201,6 +201,9 @@ function flushBuffered(destination) {
|
|
201
201
|
function writeChunk(destination, chunk) {
|
202
202
|
0 !== chunk.length && destination.write(chunk);
|
203
203
|
}
|
204
|
+
function byteLengthOfChunk(chunk) {
|
205
|
+
return Buffer.byteLength(chunk, "utf8");
|
206
|
+
}
|
204
207
|
function closeWithError(destination, error) {
|
205
208
|
"function" === typeof destination.error
|
206
209
|
? destination.error(error)
|
@@ -1371,6 +1374,7 @@ var NothingSent = 0,
|
|
1371
1374
|
SentCompleteBoundaryFunction = 2,
|
1372
1375
|
SentClientRenderFunction = 4,
|
1373
1376
|
SentStyleInsertionFunction = 8,
|
1377
|
+
SentCompletedShellId = 32,
|
1374
1378
|
EXISTS = null,
|
1375
1379
|
PRELOAD_NO_CREDS = [];
|
1376
1380
|
Object.freeze(PRELOAD_NO_CREDS);
|
@@ -1394,19 +1398,21 @@ function createRenderState(
|
|
1394
1398
|
) {
|
1395
1399
|
var inlineScriptWithNonce =
|
1396
1400
|
void 0 === nonce
|
1397
|
-
? "<script
|
1398
|
-
: '<script nonce="' + escapeTextForBrowser(nonce) + '"
|
1401
|
+
? "<script"
|
1402
|
+
: '<script nonce="' + escapeTextForBrowser(nonce) + '"',
|
1399
1403
|
idPrefix = resumableState.idPrefix;
|
1400
1404
|
externalRuntimeConfig = [];
|
1401
1405
|
var bootstrapScriptContent = resumableState.bootstrapScriptContent,
|
1402
1406
|
bootstrapScripts = resumableState.bootstrapScripts,
|
1403
1407
|
bootstrapModules = resumableState.bootstrapModules;
|
1404
1408
|
void 0 !== bootstrapScriptContent &&
|
1409
|
+
(externalRuntimeConfig.push(inlineScriptWithNonce),
|
1410
|
+
pushCompletedShellIdAttribute(externalRuntimeConfig, resumableState),
|
1405
1411
|
externalRuntimeConfig.push(
|
1406
|
-
|
1412
|
+
endOfStartTag,
|
1407
1413
|
escapeEntireInlineScriptContent(bootstrapScriptContent),
|
1408
1414
|
"\x3c/script>"
|
1409
|
-
);
|
1415
|
+
));
|
1410
1416
|
bootstrapScriptContent = [];
|
1411
1417
|
void 0 !== importMap &&
|
1412
1418
|
(bootstrapScriptContent.push('<script type="importmap">'),
|
@@ -1500,21 +1506,29 @@ function createRenderState(
|
|
1500
1506
|
);
|
1501
1507
|
externalRuntimeConfig.push(
|
1502
1508
|
'<script src="',
|
1503
|
-
escapeTextForBrowser(inlineScriptWithNonce)
|
1509
|
+
escapeTextForBrowser(inlineScriptWithNonce),
|
1510
|
+
attributeEnd
|
1504
1511
|
);
|
1505
1512
|
nonce &&
|
1506
|
-
externalRuntimeConfig.push(
|
1513
|
+
externalRuntimeConfig.push(
|
1514
|
+
' nonce="',
|
1515
|
+
escapeTextForBrowser(nonce),
|
1516
|
+
attributeEnd
|
1517
|
+
);
|
1507
1518
|
"string" === typeof bootstrapScriptContent &&
|
1508
1519
|
externalRuntimeConfig.push(
|
1509
|
-
'
|
1510
|
-
escapeTextForBrowser(bootstrapScriptContent)
|
1520
|
+
' integrity="',
|
1521
|
+
escapeTextForBrowser(bootstrapScriptContent),
|
1522
|
+
attributeEnd
|
1511
1523
|
);
|
1512
1524
|
"string" === typeof idPrefix &&
|
1513
1525
|
externalRuntimeConfig.push(
|
1514
|
-
'
|
1515
|
-
escapeTextForBrowser(idPrefix)
|
1526
|
+
' crossorigin="',
|
1527
|
+
escapeTextForBrowser(idPrefix),
|
1528
|
+
attributeEnd
|
1516
1529
|
);
|
1517
|
-
externalRuntimeConfig
|
1530
|
+
pushCompletedShellIdAttribute(externalRuntimeConfig, resumableState);
|
1531
|
+
externalRuntimeConfig.push(' async="">\x3c/script>');
|
1518
1532
|
}
|
1519
1533
|
if (void 0 !== bootstrapModules)
|
1520
1534
|
for (
|
@@ -1550,21 +1564,29 @@ function createRenderState(
|
|
1550
1564
|
),
|
1551
1565
|
externalRuntimeConfig.push(
|
1552
1566
|
'<script type="module" src="',
|
1553
|
-
escapeTextForBrowser(maxHeadersLength)
|
1567
|
+
escapeTextForBrowser(maxHeadersLength),
|
1568
|
+
attributeEnd
|
1554
1569
|
),
|
1555
1570
|
nonce &&
|
1556
|
-
externalRuntimeConfig.push(
|
1571
|
+
externalRuntimeConfig.push(
|
1572
|
+
' nonce="',
|
1573
|
+
escapeTextForBrowser(nonce),
|
1574
|
+
attributeEnd
|
1575
|
+
),
|
1557
1576
|
"string" === typeof idPrefix &&
|
1558
1577
|
externalRuntimeConfig.push(
|
1559
|
-
'
|
1560
|
-
escapeTextForBrowser(idPrefix)
|
1578
|
+
' integrity="',
|
1579
|
+
escapeTextForBrowser(idPrefix),
|
1580
|
+
attributeEnd
|
1561
1581
|
),
|
1562
1582
|
"string" === typeof inlineScriptWithNonce &&
|
1563
1583
|
externalRuntimeConfig.push(
|
1564
|
-
'
|
1565
|
-
escapeTextForBrowser(inlineScriptWithNonce)
|
1584
|
+
' crossorigin="',
|
1585
|
+
escapeTextForBrowser(inlineScriptWithNonce),
|
1586
|
+
attributeEnd
|
1566
1587
|
),
|
1567
|
-
externalRuntimeConfig
|
1588
|
+
pushCompletedShellIdAttribute(externalRuntimeConfig, resumableState),
|
1589
|
+
externalRuntimeConfig.push(' async="">\x3c/script>');
|
1568
1590
|
return onHeaders;
|
1569
1591
|
}
|
1570
1592
|
function createResumableState(
|
@@ -2207,13 +2229,25 @@ function flattenOptionChildren(children) {
|
|
2207
2229
|
var formReplayingRuntimeScript =
|
2208
2230
|
'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});';
|
2209
2231
|
function injectFormReplayingRuntime(resumableState, renderState) {
|
2210
|
-
(resumableState.instructions & 16) === NothingSent
|
2211
|
-
|
2212
|
-
renderState.
|
2213
|
-
renderState.
|
2214
|
-
|
2215
|
-
|
2216
|
-
|
2232
|
+
if ((resumableState.instructions & 16) === NothingSent) {
|
2233
|
+
resumableState.instructions |= 16;
|
2234
|
+
var preamble = renderState.preamble,
|
2235
|
+
bootstrapChunks = renderState.bootstrapChunks;
|
2236
|
+
(preamble.htmlChunks || preamble.headChunks) && 0 === bootstrapChunks.length
|
2237
|
+
? (bootstrapChunks.push(renderState.startInlineScript),
|
2238
|
+
pushCompletedShellIdAttribute(bootstrapChunks, resumableState),
|
2239
|
+
bootstrapChunks.push(
|
2240
|
+
endOfStartTag,
|
2241
|
+
formReplayingRuntimeScript,
|
2242
|
+
"\x3c/script>"
|
2243
|
+
))
|
2244
|
+
: bootstrapChunks.unshift(
|
2245
|
+
renderState.startInlineScript,
|
2246
|
+
endOfStartTag,
|
2247
|
+
formReplayingRuntimeScript,
|
2248
|
+
"\x3c/script>"
|
2249
|
+
);
|
2250
|
+
}
|
2217
2251
|
}
|
2218
2252
|
function pushLinkImpl(target, props) {
|
2219
2253
|
target.push(startChunkForTag("link"));
|
@@ -3981,6 +4015,18 @@ function preloadLateStyles(styleQueue) {
|
|
3981
4015
|
styleQueue.sheets.forEach(preloadLateStyle, this);
|
3982
4016
|
styleQueue.sheets.clear();
|
3983
4017
|
}
|
4018
|
+
var blockingRenderChunkStart = '<link rel="expect" href="#',
|
4019
|
+
blockingRenderChunkEnd = '" blocking="render"/>',
|
4020
|
+
completedShellIdAttributeStart = ' id="';
|
4021
|
+
function pushCompletedShellIdAttribute(target, resumableState) {
|
4022
|
+
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
4023
|
+
((resumableState.instructions |= SentCompletedShellId),
|
4024
|
+
target.push(
|
4025
|
+
completedShellIdAttributeStart,
|
4026
|
+
escapeTextForBrowser("\u00ab" + resumableState.idPrefix + "R\u00bb"),
|
4027
|
+
attributeEnd
|
4028
|
+
));
|
4029
|
+
}
|
3984
4030
|
var arrayFirstOpenBracket = "[",
|
3985
4031
|
arraySubsequentOpenBracket = ",[",
|
3986
4032
|
arrayInterstitial = ",",
|
@@ -5559,6 +5605,7 @@ function RequestInstance(
|
|
5559
5605
|
this.fatalError = null;
|
5560
5606
|
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
|
5561
5607
|
this.completedPreambleSegments = this.completedRootSegment = null;
|
5608
|
+
this.byteSize = 0;
|
5562
5609
|
this.abortableTasks = abortSet;
|
5563
5610
|
this.pingedTasks = [];
|
5564
5611
|
this.clientRenderedBoundaries = [];
|
@@ -6644,7 +6691,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
6644
6691
|
boundarySegment.lastPushedText &&
|
6645
6692
|
boundarySegment.textEmbedded &&
|
6646
6693
|
boundarySegment.chunks.push("\x3c!-- --\x3e"),
|
6647
|
-
(boundarySegment.status = COMPLETED)
|
6694
|
+
(boundarySegment.status = COMPLETED),
|
6695
|
+
finishedSegment(request, parentBoundary, boundarySegment);
|
6648
6696
|
} catch (thrownValue) {
|
6649
6697
|
throw (
|
6650
6698
|
((boundarySegment.status = 12 === request.status ? 3 : 4),
|
@@ -6690,11 +6738,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
6690
6738
|
contentRootSegment.textEmbedded &&
|
6691
6739
|
contentRootSegment.chunks.push("\x3c!-- --\x3e"),
|
6692
6740
|
(contentRootSegment.status = COMPLETED),
|
6741
|
+
finishedSegment(request, newBoundary, contentRootSegment),
|
6693
6742
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
6694
6743
|
0 === newBoundary.pendingTasks &&
|
6695
|
-
newBoundary.status === PENDING
|
6744
|
+
newBoundary.status === PENDING &&
|
6745
|
+
((newBoundary.status = COMPLETED),
|
6746
|
+
!(newBoundary.byteSize > request.progressiveChunkSize)))
|
6696
6747
|
) {
|
6697
|
-
newBoundary.status = COMPLETED;
|
6698
6748
|
0 === request.pendingRootTasks &&
|
6699
6749
|
task.blockedPreamble &&
|
6700
6750
|
preparePreamble(request);
|
@@ -6888,6 +6938,7 @@ function resumeNode(request, task, segmentId, node, childIndex) {
|
|
6888
6938
|
(task.blockedSegment = resumedSegment),
|
6889
6939
|
renderNode(request, task, node, childIndex),
|
6890
6940
|
(resumedSegment.status = COMPLETED),
|
6941
|
+
finishedSegment(request, blockedBoundary, resumedSegment),
|
6891
6942
|
null === blockedBoundary
|
6892
6943
|
? (request.completedRootSegment = resumedSegment)
|
6893
6944
|
: (queueCompletedSegment(blockedBoundary, resumedSegment),
|
@@ -7767,6 +7818,16 @@ function queueCompletedSegment(boundary, segment) {
|
|
7767
7818
|
queueCompletedSegment(boundary, childSegment);
|
7768
7819
|
} else boundary.completedSegments.push(segment);
|
7769
7820
|
}
|
7821
|
+
function finishedSegment(request, boundary, segment) {
|
7822
|
+
if (null !== byteLengthOfChunk) {
|
7823
|
+
segment = segment.chunks;
|
7824
|
+
for (var segmentByteSize = 0, i = 0; i < segment.length; i++)
|
7825
|
+
segmentByteSize += byteLengthOfChunk(segment[i]);
|
7826
|
+
null === boundary
|
7827
|
+
? (request.byteSize += segmentByteSize)
|
7828
|
+
: (boundary.byteSize += segmentByteSize);
|
7829
|
+
}
|
7830
|
+
}
|
7770
7831
|
function finishedTask(request, boundary, segment) {
|
7771
7832
|
if (null === boundary) {
|
7772
7833
|
if (null !== segment && segment.parentFlushed) {
|
@@ -7790,8 +7851,12 @@ function finishedTask(request, boundary, segment) {
|
|
7790
7851
|
boundary.parentFlushed &&
|
7791
7852
|
request.completedBoundaries.push(boundary),
|
7792
7853
|
boundary.status === COMPLETED &&
|
7793
|
-
(boundary.
|
7794
|
-
|
7854
|
+
(boundary.byteSize > request.progressiveChunkSize ||
|
7855
|
+
(boundary.fallbackAbortableTasks.forEach(
|
7856
|
+
abortTaskSoft,
|
7857
|
+
request
|
7858
|
+
),
|
7859
|
+
boundary.fallbackAbortableTasks.clear()),
|
7795
7860
|
0 === request.pendingRootTasks &&
|
7796
7861
|
null === request.trackedPostpones &&
|
7797
7862
|
null !== boundary.contentPreamble &&
|
@@ -7928,6 +7993,11 @@ function performWork(request$jscomp$2) {
|
|
7928
7993
|
request$jscomp$1.chunks.push("\x3c!-- --\x3e"),
|
7929
7994
|
errorDigest.abortSet.delete(errorDigest),
|
7930
7995
|
(request$jscomp$1.status = COMPLETED),
|
7996
|
+
finishedSegment(
|
7997
|
+
request,
|
7998
|
+
errorDigest.blockedBoundary,
|
7999
|
+
request$jscomp$1
|
8000
|
+
),
|
7931
8001
|
finishedTask(
|
7932
8002
|
request,
|
7933
8003
|
errorDigest.blockedBoundary,
|
@@ -8246,6 +8316,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
8246
8316
|
var requiresStyleInsertion = request.stylesToHoist;
|
8247
8317
|
request.stylesToHoist = !1;
|
8248
8318
|
writeChunk(destination, request.startInlineScript);
|
8319
|
+
writeChunk(destination, endOfStartTag);
|
8249
8320
|
requiresStyleInsertion
|
8250
8321
|
? (completedSegments.instructions & SentCompleteBoundaryFunction) ===
|
8251
8322
|
NothingSent
|
@@ -8299,6 +8370,7 @@ function flushPartiallyCompletedSegment(
|
|
8299
8370
|
boundary = request.resumableState;
|
8300
8371
|
request = request.renderState;
|
8301
8372
|
writeChunk(destination, request.startInlineScript);
|
8373
|
+
writeChunk(destination, endOfStartTag);
|
8302
8374
|
(boundary.instructions & SentCompleteSegmentFunction) === NothingSent
|
8303
8375
|
? ((boundary.instructions |= SentCompleteSegmentFunction),
|
8304
8376
|
writeChunk(destination, completeSegmentScript1Full))
|
@@ -8321,7 +8393,8 @@ function flushCompletedQueues(request, destination) {
|
|
8321
8393
|
if (completedRootSegment.status === POSTPONED) return;
|
8322
8394
|
var completedPreambleSegments = request.completedPreambleSegments;
|
8323
8395
|
if (null === completedPreambleSegments) return;
|
8324
|
-
var
|
8396
|
+
var resumableState = request.resumableState,
|
8397
|
+
renderState = request.renderState,
|
8325
8398
|
preamble = renderState.preamble,
|
8326
8399
|
htmlChunks = preamble.htmlChunks,
|
8327
8400
|
headChunks = preamble.headChunks,
|
@@ -8362,17 +8435,23 @@ function flushCompletedQueues(request, destination) {
|
|
8362
8435
|
renderState.scripts.clear();
|
8363
8436
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
8364
8437
|
renderState.bulkPreloads.clear();
|
8438
|
+
if (htmlChunks || headChunks) {
|
8439
|
+
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
8440
|
+
writeChunk(destination, blockingRenderChunkStart);
|
8441
|
+
writeChunk(destination, escapeTextForBrowser(shellId));
|
8442
|
+
writeChunk(destination, blockingRenderChunkEnd);
|
8443
|
+
}
|
8365
8444
|
var hoistableChunks = renderState.hoistableChunks;
|
8366
8445
|
for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
|
8367
8446
|
writeChunk(destination, hoistableChunks[i$jscomp$0]);
|
8368
8447
|
for (
|
8369
|
-
|
8370
|
-
|
8371
|
-
|
8448
|
+
resumableState = hoistableChunks.length = 0;
|
8449
|
+
resumableState < completedPreambleSegments.length;
|
8450
|
+
resumableState++
|
8372
8451
|
) {
|
8373
|
-
var segments = completedPreambleSegments[
|
8374
|
-
for (
|
8375
|
-
flushSegment(request, destination, segments[
|
8452
|
+
var segments = completedPreambleSegments[resumableState];
|
8453
|
+
for (renderState = 0; renderState < segments.length; renderState++)
|
8454
|
+
flushSegment(request, destination, segments[renderState], null);
|
8376
8455
|
}
|
8377
8456
|
var preamble$jscomp$0 = request.renderState.preamble,
|
8378
8457
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
@@ -8388,11 +8467,27 @@ function flushCompletedQueues(request, destination) {
|
|
8388
8467
|
writeChunk(destination, bodyChunks[completedPreambleSegments]);
|
8389
8468
|
flushSegment(request, destination, completedRootSegment, null);
|
8390
8469
|
request.completedRootSegment = null;
|
8391
|
-
|
8470
|
+
var resumableState$jscomp$0 = request.resumableState,
|
8471
|
+
renderState$jscomp$0 = request.renderState,
|
8472
|
+
preamble$jscomp$1 = renderState$jscomp$0.preamble;
|
8473
|
+
if (
|
8474
|
+
(preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
|
8475
|
+
(resumableState$jscomp$0.instructions & SentCompletedShellId) ===
|
8476
|
+
NothingSent
|
8477
|
+
) {
|
8478
|
+
var bootstrapChunks = renderState$jscomp$0.bootstrapChunks;
|
8479
|
+
bootstrapChunks.push(startChunkForTag("template"));
|
8480
|
+
pushCompletedShellIdAttribute(
|
8481
|
+
bootstrapChunks,
|
8482
|
+
resumableState$jscomp$0
|
8483
|
+
);
|
8484
|
+
bootstrapChunks.push(endOfStartTag, endChunkForTag("template"));
|
8485
|
+
}
|
8486
|
+
writeBootstrap(destination, renderState$jscomp$0);
|
8392
8487
|
}
|
8393
|
-
var renderState$jscomp$
|
8488
|
+
var renderState$jscomp$1 = request.renderState;
|
8394
8489
|
completedRootSegment = 0;
|
8395
|
-
var viewportChunks$jscomp$0 = renderState$jscomp$
|
8490
|
+
var viewportChunks$jscomp$0 = renderState$jscomp$1.viewportChunks;
|
8396
8491
|
for (
|
8397
8492
|
completedRootSegment = 0;
|
8398
8493
|
completedRootSegment < viewportChunks$jscomp$0.length;
|
@@ -8400,21 +8495,21 @@ function flushCompletedQueues(request, destination) {
|
|
8400
8495
|
)
|
8401
8496
|
writeChunk(destination, viewportChunks$jscomp$0[completedRootSegment]);
|
8402
8497
|
viewportChunks$jscomp$0.length = 0;
|
8403
|
-
renderState$jscomp$
|
8404
|
-
renderState$jscomp$
|
8405
|
-
renderState$jscomp$
|
8406
|
-
renderState$jscomp$
|
8407
|
-
renderState$jscomp$
|
8498
|
+
renderState$jscomp$1.preconnects.forEach(flushResource, destination);
|
8499
|
+
renderState$jscomp$1.preconnects.clear();
|
8500
|
+
renderState$jscomp$1.fontPreloads.forEach(flushResource, destination);
|
8501
|
+
renderState$jscomp$1.fontPreloads.clear();
|
8502
|
+
renderState$jscomp$1.highImagePreloads.forEach(
|
8408
8503
|
flushResource,
|
8409
8504
|
destination
|
8410
8505
|
);
|
8411
|
-
renderState$jscomp$
|
8412
|
-
renderState$jscomp$
|
8413
|
-
renderState$jscomp$
|
8414
|
-
renderState$jscomp$
|
8415
|
-
renderState$jscomp$
|
8416
|
-
renderState$jscomp$
|
8417
|
-
var hoistableChunks$jscomp$0 = renderState$jscomp$
|
8506
|
+
renderState$jscomp$1.highImagePreloads.clear();
|
8507
|
+
renderState$jscomp$1.styles.forEach(preloadLateStyles, destination);
|
8508
|
+
renderState$jscomp$1.scripts.forEach(flushResource, destination);
|
8509
|
+
renderState$jscomp$1.scripts.clear();
|
8510
|
+
renderState$jscomp$1.bulkPreloads.forEach(flushResource, destination);
|
8511
|
+
renderState$jscomp$1.bulkPreloads.clear();
|
8512
|
+
var hoistableChunks$jscomp$0 = renderState$jscomp$1.hoistableChunks;
|
8418
8513
|
for (
|
8419
8514
|
completedRootSegment = 0;
|
8420
8515
|
completedRootSegment < hoistableChunks$jscomp$0.length;
|
@@ -8425,62 +8520,64 @@ function flushCompletedQueues(request, destination) {
|
|
8425
8520
|
var clientRenderedBoundaries = request.clientRenderedBoundaries;
|
8426
8521
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
8427
8522
|
var boundary = clientRenderedBoundaries[i];
|
8428
|
-
renderState$jscomp$
|
8429
|
-
var resumableState = request.resumableState,
|
8430
|
-
renderState$jscomp$
|
8523
|
+
renderState$jscomp$1 = destination;
|
8524
|
+
var resumableState$jscomp$1 = request.resumableState,
|
8525
|
+
renderState$jscomp$2 = request.renderState,
|
8431
8526
|
id = boundary.rootSegmentID,
|
8432
8527
|
errorDigest = boundary.errorDigest,
|
8433
8528
|
errorMessage = boundary.errorMessage,
|
8434
8529
|
errorStack = boundary.errorStack,
|
8435
8530
|
errorComponentStack = boundary.errorComponentStack;
|
8436
8531
|
writeChunk(
|
8437
|
-
renderState$jscomp$
|
8438
|
-
renderState$jscomp$
|
8532
|
+
renderState$jscomp$1,
|
8533
|
+
renderState$jscomp$2.startInlineScript
|
8439
8534
|
);
|
8440
|
-
(
|
8441
|
-
|
8442
|
-
|
8443
|
-
|
8444
|
-
|
8445
|
-
|
8446
|
-
writeChunk(renderState$jscomp$
|
8535
|
+
writeChunk(renderState$jscomp$1, endOfStartTag);
|
8536
|
+
(resumableState$jscomp$1.instructions & SentClientRenderFunction) ===
|
8537
|
+
NothingSent
|
8538
|
+
? ((resumableState$jscomp$1.instructions |= SentClientRenderFunction),
|
8539
|
+
writeChunk(renderState$jscomp$1, clientRenderScript1Full))
|
8540
|
+
: writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
|
8541
|
+
writeChunk(renderState$jscomp$1, renderState$jscomp$2.boundaryPrefix);
|
8542
|
+
writeChunk(renderState$jscomp$1, id.toString(16));
|
8543
|
+
writeChunk(renderState$jscomp$1, clientRenderScript1A);
|
8447
8544
|
if (errorDigest || errorMessage || errorStack || errorComponentStack)
|
8448
8545
|
writeChunk(
|
8449
|
-
renderState$jscomp$
|
8546
|
+
renderState$jscomp$1,
|
8450
8547
|
clientRenderErrorScriptArgInterstitial
|
8451
8548
|
),
|
8452
8549
|
writeChunk(
|
8453
|
-
renderState$jscomp$
|
8550
|
+
renderState$jscomp$1,
|
8454
8551
|
escapeJSStringsForInstructionScripts(errorDigest || "")
|
8455
8552
|
);
|
8456
8553
|
if (errorMessage || errorStack || errorComponentStack)
|
8457
8554
|
writeChunk(
|
8458
|
-
renderState$jscomp$
|
8555
|
+
renderState$jscomp$1,
|
8459
8556
|
clientRenderErrorScriptArgInterstitial
|
8460
8557
|
),
|
8461
8558
|
writeChunk(
|
8462
|
-
renderState$jscomp$
|
8559
|
+
renderState$jscomp$1,
|
8463
8560
|
escapeJSStringsForInstructionScripts(errorMessage || "")
|
8464
8561
|
);
|
8465
8562
|
if (errorStack || errorComponentStack)
|
8466
8563
|
writeChunk(
|
8467
|
-
renderState$jscomp$
|
8564
|
+
renderState$jscomp$1,
|
8468
8565
|
clientRenderErrorScriptArgInterstitial
|
8469
8566
|
),
|
8470
8567
|
writeChunk(
|
8471
|
-
renderState$jscomp$
|
8568
|
+
renderState$jscomp$1,
|
8472
8569
|
escapeJSStringsForInstructionScripts(errorStack || "")
|
8473
8570
|
);
|
8474
8571
|
errorComponentStack &&
|
8475
8572
|
(writeChunk(
|
8476
|
-
renderState$jscomp$
|
8573
|
+
renderState$jscomp$1,
|
8477
8574
|
clientRenderErrorScriptArgInterstitial
|
8478
8575
|
),
|
8479
8576
|
writeChunk(
|
8480
|
-
renderState$jscomp$
|
8577
|
+
renderState$jscomp$1,
|
8481
8578
|
escapeJSStringsForInstructionScripts(errorComponentStack)
|
8482
8579
|
));
|
8483
|
-
var JSCompiler_inline_result = !!renderState$jscomp$
|
8580
|
+
var JSCompiler_inline_result = !!renderState$jscomp$1.write(
|
8484
8581
|
clientRenderScriptEnd
|
8485
8582
|
);
|
8486
8583
|
if (!JSCompiler_inline_result) {
|
@@ -8622,15 +8719,15 @@ function abort(request, reason) {
|
|
8622
8719
|
fatalError(request, error$4, reason, null);
|
8623
8720
|
}
|
8624
8721
|
}
|
8625
|
-
var isomorphicReactPackageVersion$jscomp$
|
8722
|
+
var isomorphicReactPackageVersion$jscomp$inline_748 = React.version;
|
8626
8723
|
if (
|
8627
|
-
"19.2.0-canary-
|
8628
|
-
isomorphicReactPackageVersion$jscomp$
|
8724
|
+
"19.2.0-canary-c498bfce-20250426" !==
|
8725
|
+
isomorphicReactPackageVersion$jscomp$inline_748
|
8629
8726
|
)
|
8630
8727
|
throw Error(
|
8631
8728
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8632
|
-
(isomorphicReactPackageVersion$jscomp$
|
8633
|
-
"\n - react-dom: 19.2.0-canary-
|
8729
|
+
(isomorphicReactPackageVersion$jscomp$inline_748 +
|
8730
|
+
"\n - react-dom: 19.2.0-canary-c498bfce-20250426\nLearn more: https://react.dev/warnings/version-mismatch")
|
8634
8731
|
);
|
8635
8732
|
exports.renderToReadableStream = function (children, options) {
|
8636
8733
|
return new Promise(function (resolve, reject) {
|
@@ -8723,4 +8820,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
8723
8820
|
startWork(request$jscomp$0);
|
8724
8821
|
});
|
8725
8822
|
};
|
8726
|
-
exports.version = "19.2.0-canary-
|
8823
|
+
exports.version = "19.2.0-canary-c498bfce-20250426";
|