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
@@ -316,6 +316,9 @@
|
|
316
316
|
);
|
317
317
|
return content;
|
318
318
|
}
|
319
|
+
function byteLengthOfChunk(chunk) {
|
320
|
+
return chunk.byteLength;
|
321
|
+
}
|
319
322
|
function closeWithError(destination, error) {
|
320
323
|
"function" === typeof destination.error
|
321
324
|
? destination.error(error)
|
@@ -804,7 +807,7 @@
|
|
804
807
|
void 0 === nonce
|
805
808
|
? startInlineScript
|
806
809
|
: stringToPrecomputedChunk(
|
807
|
-
'<script nonce="' + escapeTextForBrowser(nonce) + '"
|
810
|
+
'<script nonce="' + escapeTextForBrowser(nonce) + '"'
|
808
811
|
),
|
809
812
|
idPrefix = resumableState.idPrefix;
|
810
813
|
externalRuntimeConfig = [];
|
@@ -812,13 +815,15 @@
|
|
812
815
|
bootstrapScripts = resumableState.bootstrapScripts,
|
813
816
|
bootstrapModules = resumableState.bootstrapModules;
|
814
817
|
void 0 !== bootstrapScriptContent &&
|
818
|
+
(externalRuntimeConfig.push(inlineScriptWithNonce),
|
819
|
+
pushCompletedShellIdAttribute(externalRuntimeConfig, resumableState),
|
815
820
|
externalRuntimeConfig.push(
|
816
|
-
|
821
|
+
endOfStartTag,
|
817
822
|
stringToChunk(
|
818
823
|
escapeEntireInlineScriptContent(bootstrapScriptContent)
|
819
824
|
),
|
820
825
|
endInlineScript
|
821
|
-
);
|
826
|
+
));
|
822
827
|
bootstrapScriptContent = [];
|
823
828
|
void 0 !== importMap &&
|
824
829
|
(bootstrapScriptContent.push(importMapScriptStart),
|
@@ -915,23 +920,28 @@
|
|
915
920
|
);
|
916
921
|
externalRuntimeConfig.push(
|
917
922
|
startScriptSrc,
|
918
|
-
stringToChunk(escapeTextForBrowser(inlineScriptWithNonce))
|
923
|
+
stringToChunk(escapeTextForBrowser(inlineScriptWithNonce)),
|
924
|
+
attributeEnd
|
919
925
|
);
|
920
926
|
nonce &&
|
921
927
|
externalRuntimeConfig.push(
|
922
928
|
scriptNonce,
|
923
|
-
stringToChunk(escapeTextForBrowser(nonce))
|
929
|
+
stringToChunk(escapeTextForBrowser(nonce)),
|
930
|
+
attributeEnd
|
924
931
|
);
|
925
932
|
"string" === typeof bootstrapScriptContent &&
|
926
933
|
externalRuntimeConfig.push(
|
927
934
|
scriptIntegirty,
|
928
|
-
stringToChunk(escapeTextForBrowser(bootstrapScriptContent))
|
935
|
+
stringToChunk(escapeTextForBrowser(bootstrapScriptContent)),
|
936
|
+
attributeEnd
|
929
937
|
);
|
930
938
|
"string" === typeof idPrefix &&
|
931
939
|
externalRuntimeConfig.push(
|
932
940
|
scriptCrossOrigin,
|
933
|
-
stringToChunk(escapeTextForBrowser(idPrefix))
|
941
|
+
stringToChunk(escapeTextForBrowser(idPrefix)),
|
942
|
+
attributeEnd
|
934
943
|
);
|
944
|
+
pushCompletedShellIdAttribute(externalRuntimeConfig, resumableState);
|
935
945
|
externalRuntimeConfig.push(endAsyncScript);
|
936
946
|
}
|
937
947
|
if (void 0 !== bootstrapModules)
|
@@ -969,23 +979,31 @@
|
|
969
979
|
),
|
970
980
|
externalRuntimeConfig.push(
|
971
981
|
startModuleSrc,
|
972
|
-
stringToChunk(escapeTextForBrowser(maxHeadersLength))
|
982
|
+
stringToChunk(escapeTextForBrowser(maxHeadersLength)),
|
983
|
+
attributeEnd
|
973
984
|
),
|
974
985
|
nonce &&
|
975
986
|
externalRuntimeConfig.push(
|
976
987
|
scriptNonce,
|
977
|
-
stringToChunk(escapeTextForBrowser(nonce))
|
988
|
+
stringToChunk(escapeTextForBrowser(nonce)),
|
989
|
+
attributeEnd
|
978
990
|
),
|
979
991
|
"string" === typeof idPrefix &&
|
980
992
|
externalRuntimeConfig.push(
|
981
993
|
scriptIntegirty,
|
982
|
-
stringToChunk(escapeTextForBrowser(idPrefix))
|
994
|
+
stringToChunk(escapeTextForBrowser(idPrefix)),
|
995
|
+
attributeEnd
|
983
996
|
),
|
984
997
|
"string" === typeof inlineScriptWithNonce &&
|
985
998
|
externalRuntimeConfig.push(
|
986
999
|
scriptCrossOrigin,
|
987
|
-
stringToChunk(escapeTextForBrowser(inlineScriptWithNonce))
|
1000
|
+
stringToChunk(escapeTextForBrowser(inlineScriptWithNonce)),
|
1001
|
+
attributeEnd
|
988
1002
|
),
|
1003
|
+
pushCompletedShellIdAttribute(
|
1004
|
+
externalRuntimeConfig,
|
1005
|
+
resumableState
|
1006
|
+
),
|
989
1007
|
externalRuntimeConfig.push(endAsyncScript);
|
990
1008
|
return onHeaders;
|
991
1009
|
}
|
@@ -1634,13 +1652,26 @@
|
|
1634
1652
|
return content;
|
1635
1653
|
}
|
1636
1654
|
function injectFormReplayingRuntime(resumableState, renderState) {
|
1637
|
-
(resumableState.instructions & 16) === NothingSent
|
1638
|
-
|
1639
|
-
renderState.
|
1640
|
-
renderState.
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1655
|
+
if ((resumableState.instructions & 16) === NothingSent) {
|
1656
|
+
resumableState.instructions |= 16;
|
1657
|
+
var preamble = renderState.preamble,
|
1658
|
+
bootstrapChunks = renderState.bootstrapChunks;
|
1659
|
+
(preamble.htmlChunks || preamble.headChunks) &&
|
1660
|
+
0 === bootstrapChunks.length
|
1661
|
+
? (bootstrapChunks.push(renderState.startInlineScript),
|
1662
|
+
pushCompletedShellIdAttribute(bootstrapChunks, resumableState),
|
1663
|
+
bootstrapChunks.push(
|
1664
|
+
endOfStartTag,
|
1665
|
+
formReplayingRuntimeScript,
|
1666
|
+
endInlineScript
|
1667
|
+
))
|
1668
|
+
: bootstrapChunks.unshift(
|
1669
|
+
renderState.startInlineScript,
|
1670
|
+
endOfStartTag,
|
1671
|
+
formReplayingRuntimeScript,
|
1672
|
+
endInlineScript
|
1673
|
+
);
|
1674
|
+
}
|
1644
1675
|
}
|
1645
1676
|
function pushLinkImpl(target, props) {
|
1646
1677
|
target.push(startChunkForTag("link"));
|
@@ -3390,6 +3421,17 @@
|
|
3390
3421
|
styleQueue.sheets.forEach(preloadLateStyle, this);
|
3391
3422
|
styleQueue.sheets.clear();
|
3392
3423
|
}
|
3424
|
+
function pushCompletedShellIdAttribute(target, resumableState) {
|
3425
|
+
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
3426
|
+
((resumableState.instructions |= SentCompletedShellId),
|
3427
|
+
target.push(
|
3428
|
+
completedShellIdAttributeStart,
|
3429
|
+
stringToChunk(
|
3430
|
+
escapeTextForBrowser("\u00ab" + resumableState.idPrefix + "R\u00bb")
|
3431
|
+
),
|
3432
|
+
attributeEnd
|
3433
|
+
));
|
3434
|
+
}
|
3393
3435
|
function writeStyleResourceDependenciesInJS(destination, hoistableState) {
|
3394
3436
|
writeChunk(destination, arrayFirstOpenBracket);
|
3395
3437
|
var nextArrayOpenBrackChunk = arrayFirstOpenBracket;
|
@@ -4435,6 +4477,7 @@
|
|
4435
4477
|
this.fatalError = null;
|
4436
4478
|
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
|
4437
4479
|
this.completedPreambleSegments = this.completedRootSegment = null;
|
4480
|
+
this.byteSize = 0;
|
4438
4481
|
this.abortableTasks = abortSet;
|
4439
4482
|
this.pingedTasks = [];
|
4440
4483
|
this.clientRenderedBoundaries = [];
|
@@ -5614,7 +5657,8 @@
|
|
5614
5657
|
boundarySegment.lastPushedText &&
|
5615
5658
|
boundarySegment.textEmbedded &&
|
5616
5659
|
boundarySegment.chunks.push(textSeparator),
|
5617
|
-
(boundarySegment.status = COMPLETED)
|
5660
|
+
(boundarySegment.status = COMPLETED),
|
5661
|
+
finishedSegment(request, parentBoundary, boundarySegment);
|
5618
5662
|
} catch (thrownValue) {
|
5619
5663
|
throw (
|
5620
5664
|
((boundarySegment.status = 12 === request.status ? 3 : 4),
|
@@ -5660,11 +5704,13 @@
|
|
5660
5704
|
contentRootSegment.textEmbedded &&
|
5661
5705
|
contentRootSegment.chunks.push(textSeparator),
|
5662
5706
|
(contentRootSegment.status = COMPLETED),
|
5707
|
+
finishedSegment(request, newBoundary, contentRootSegment),
|
5663
5708
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
5664
5709
|
0 === newBoundary.pendingTasks &&
|
5665
|
-
newBoundary.status === PENDING
|
5710
|
+
newBoundary.status === PENDING &&
|
5711
|
+
((newBoundary.status = COMPLETED),
|
5712
|
+
!(newBoundary.byteSize > request.progressiveChunkSize)))
|
5666
5713
|
) {
|
5667
|
-
newBoundary.status = COMPLETED;
|
5668
5714
|
0 === request.pendingRootTasks &&
|
5669
5715
|
task.blockedPreamble &&
|
5670
5716
|
preparePreamble(request);
|
@@ -5859,6 +5905,7 @@
|
|
5859
5905
|
(task.blockedSegment = resumedSegment),
|
5860
5906
|
renderNode(request, task, node, childIndex),
|
5861
5907
|
(resumedSegment.status = COMPLETED),
|
5908
|
+
finishedSegment(request, blockedBoundary, resumedSegment),
|
5862
5909
|
null === blockedBoundary
|
5863
5910
|
? (request.completedRootSegment = resumedSegment)
|
5864
5911
|
: (queueCompletedSegment(blockedBoundary, resumedSegment),
|
@@ -6775,6 +6822,16 @@
|
|
6775
6822
|
queueCompletedSegment(boundary, childSegment);
|
6776
6823
|
} else boundary.completedSegments.push(segment);
|
6777
6824
|
}
|
6825
|
+
function finishedSegment(request, boundary, segment) {
|
6826
|
+
if (null !== byteLengthOfChunk) {
|
6827
|
+
segment = segment.chunks;
|
6828
|
+
for (var segmentByteSize = 0, i = 0; i < segment.length; i++)
|
6829
|
+
segmentByteSize += segment[i].byteLength;
|
6830
|
+
null === boundary
|
6831
|
+
? (request.byteSize += segmentByteSize)
|
6832
|
+
: (boundary.byteSize += segmentByteSize);
|
6833
|
+
}
|
6834
|
+
}
|
6778
6835
|
function finishedTask(request, boundary, segment) {
|
6779
6836
|
if (null === boundary) {
|
6780
6837
|
if (null !== segment && segment.parentFlushed) {
|
@@ -6798,11 +6855,12 @@
|
|
6798
6855
|
boundary.parentFlushed &&
|
6799
6856
|
request.completedBoundaries.push(boundary),
|
6800
6857
|
boundary.status === COMPLETED &&
|
6801
|
-
(boundary.
|
6802
|
-
|
6803
|
-
|
6804
|
-
|
6805
|
-
|
6858
|
+
(boundary.byteSize > request.progressiveChunkSize ||
|
6859
|
+
(boundary.fallbackAbortableTasks.forEach(
|
6860
|
+
abortTaskSoft,
|
6861
|
+
request
|
6862
|
+
),
|
6863
|
+
boundary.fallbackAbortableTasks.clear()),
|
6806
6864
|
0 === request.pendingRootTasks &&
|
6807
6865
|
null === request.trackedPostpones &&
|
6808
6866
|
null !== boundary.contentPreamble &&
|
@@ -6942,6 +7000,11 @@
|
|
6942
7000
|
request$jscomp$1.chunks.push(textSeparator),
|
6943
7001
|
errorDigest.abortSet.delete(errorDigest),
|
6944
7002
|
(request$jscomp$1.status = COMPLETED),
|
7003
|
+
finishedSegment(
|
7004
|
+
request,
|
7005
|
+
errorDigest.blockedBoundary,
|
7006
|
+
request$jscomp$1
|
7007
|
+
),
|
6945
7008
|
finishedTask(
|
6946
7009
|
request,
|
6947
7010
|
errorDigest.blockedBoundary,
|
@@ -7291,6 +7354,7 @@
|
|
7291
7354
|
var requiresStyleInsertion = request.stylesToHoist;
|
7292
7355
|
request.stylesToHoist = !1;
|
7293
7356
|
writeChunk(destination, request.startInlineScript);
|
7357
|
+
writeChunk(destination, endOfStartTag);
|
7294
7358
|
requiresStyleInsertion
|
7295
7359
|
? (completedSegments.instructions & SentCompleteBoundaryFunction) ===
|
7296
7360
|
NothingSent
|
@@ -7357,6 +7421,7 @@
|
|
7357
7421
|
boundary = request.resumableState;
|
7358
7422
|
request = request.renderState;
|
7359
7423
|
writeChunk(destination, request.startInlineScript);
|
7424
|
+
writeChunk(destination, endOfStartTag);
|
7360
7425
|
(boundary.instructions & SentCompleteSegmentFunction) === NothingSent
|
7361
7426
|
? ((boundary.instructions |= SentCompleteSegmentFunction),
|
7362
7427
|
writeChunk(destination, completeSegmentScript1Full))
|
@@ -7381,7 +7446,8 @@
|
|
7381
7446
|
if (completedRootSegment.status === POSTPONED) return;
|
7382
7447
|
var completedPreambleSegments = request.completedPreambleSegments;
|
7383
7448
|
if (null === completedPreambleSegments) return;
|
7384
|
-
var
|
7449
|
+
var resumableState = request.resumableState,
|
7450
|
+
renderState = request.renderState,
|
7385
7451
|
preamble = renderState.preamble,
|
7386
7452
|
htmlChunks = preamble.htmlChunks,
|
7387
7453
|
headChunks = preamble.headChunks,
|
@@ -7438,6 +7504,15 @@
|
|
7438
7504
|
renderState.scripts.clear();
|
7439
7505
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
7440
7506
|
renderState.bulkPreloads.clear();
|
7507
|
+
if (htmlChunks || headChunks) {
|
7508
|
+
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
7509
|
+
writeChunk(destination, blockingRenderChunkStart);
|
7510
|
+
writeChunk(
|
7511
|
+
destination,
|
7512
|
+
stringToChunk(escapeTextForBrowser(shellId))
|
7513
|
+
);
|
7514
|
+
writeChunk(destination, blockingRenderChunkEnd);
|
7515
|
+
}
|
7441
7516
|
var hoistableChunks = renderState.hoistableChunks;
|
7442
7517
|
for (
|
7443
7518
|
i$jscomp$0 = 0;
|
@@ -7446,13 +7521,17 @@
|
|
7446
7521
|
)
|
7447
7522
|
writeChunk(destination, hoistableChunks[i$jscomp$0]);
|
7448
7523
|
for (
|
7449
|
-
|
7450
|
-
|
7451
|
-
|
7524
|
+
resumableState = hoistableChunks.length = 0;
|
7525
|
+
resumableState < completedPreambleSegments.length;
|
7526
|
+
resumableState++
|
7452
7527
|
) {
|
7453
|
-
var segments = completedPreambleSegments[
|
7454
|
-
for (
|
7455
|
-
|
7528
|
+
var segments = completedPreambleSegments[resumableState];
|
7529
|
+
for (
|
7530
|
+
renderState = 0;
|
7531
|
+
renderState < segments.length;
|
7532
|
+
renderState++
|
7533
|
+
)
|
7534
|
+
flushSegment(request, destination, segments[renderState], null);
|
7456
7535
|
}
|
7457
7536
|
var preamble$jscomp$0 = request.renderState.preamble,
|
7458
7537
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
@@ -7468,11 +7547,27 @@
|
|
7468
7547
|
writeChunk(destination, bodyChunks[completedPreambleSegments]);
|
7469
7548
|
flushSegment(request, destination, completedRootSegment, null);
|
7470
7549
|
request.completedRootSegment = null;
|
7471
|
-
|
7550
|
+
var resumableState$jscomp$0 = request.resumableState,
|
7551
|
+
renderState$jscomp$0 = request.renderState,
|
7552
|
+
preamble$jscomp$1 = renderState$jscomp$0.preamble;
|
7553
|
+
if (
|
7554
|
+
(preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
|
7555
|
+
(resumableState$jscomp$0.instructions & SentCompletedShellId) ===
|
7556
|
+
NothingSent
|
7557
|
+
) {
|
7558
|
+
var bootstrapChunks = renderState$jscomp$0.bootstrapChunks;
|
7559
|
+
bootstrapChunks.push(startChunkForTag("template"));
|
7560
|
+
pushCompletedShellIdAttribute(
|
7561
|
+
bootstrapChunks,
|
7562
|
+
resumableState$jscomp$0
|
7563
|
+
);
|
7564
|
+
bootstrapChunks.push(endOfStartTag, endChunkForTag("template"));
|
7565
|
+
}
|
7566
|
+
writeBootstrap(destination, renderState$jscomp$0);
|
7472
7567
|
}
|
7473
|
-
var renderState$jscomp$
|
7568
|
+
var renderState$jscomp$1 = request.renderState;
|
7474
7569
|
completedRootSegment = 0;
|
7475
|
-
var viewportChunks$jscomp$0 = renderState$jscomp$
|
7570
|
+
var viewportChunks$jscomp$0 = renderState$jscomp$1.viewportChunks;
|
7476
7571
|
for (
|
7477
7572
|
completedRootSegment = 0;
|
7478
7573
|
completedRootSegment < viewportChunks$jscomp$0.length;
|
@@ -7483,21 +7578,21 @@
|
|
7483
7578
|
viewportChunks$jscomp$0[completedRootSegment]
|
7484
7579
|
);
|
7485
7580
|
viewportChunks$jscomp$0.length = 0;
|
7486
|
-
renderState$jscomp$
|
7487
|
-
renderState$jscomp$
|
7488
|
-
renderState$jscomp$
|
7489
|
-
renderState$jscomp$
|
7490
|
-
renderState$jscomp$
|
7581
|
+
renderState$jscomp$1.preconnects.forEach(flushResource, destination);
|
7582
|
+
renderState$jscomp$1.preconnects.clear();
|
7583
|
+
renderState$jscomp$1.fontPreloads.forEach(flushResource, destination);
|
7584
|
+
renderState$jscomp$1.fontPreloads.clear();
|
7585
|
+
renderState$jscomp$1.highImagePreloads.forEach(
|
7491
7586
|
flushResource,
|
7492
7587
|
destination
|
7493
7588
|
);
|
7494
|
-
renderState$jscomp$
|
7495
|
-
renderState$jscomp$
|
7496
|
-
renderState$jscomp$
|
7497
|
-
renderState$jscomp$
|
7498
|
-
renderState$jscomp$
|
7499
|
-
renderState$jscomp$
|
7500
|
-
var hoistableChunks$jscomp$0 = renderState$jscomp$
|
7589
|
+
renderState$jscomp$1.highImagePreloads.clear();
|
7590
|
+
renderState$jscomp$1.styles.forEach(preloadLateStyles, destination);
|
7591
|
+
renderState$jscomp$1.scripts.forEach(flushResource, destination);
|
7592
|
+
renderState$jscomp$1.scripts.clear();
|
7593
|
+
renderState$jscomp$1.bulkPreloads.forEach(flushResource, destination);
|
7594
|
+
renderState$jscomp$1.bulkPreloads.clear();
|
7595
|
+
var hoistableChunks$jscomp$0 = renderState$jscomp$1.hoistableChunks;
|
7501
7596
|
for (
|
7502
7597
|
completedRootSegment = 0;
|
7503
7598
|
completedRootSegment < hoistableChunks$jscomp$0.length;
|
@@ -7511,29 +7606,32 @@
|
|
7511
7606
|
var clientRenderedBoundaries = request.clientRenderedBoundaries;
|
7512
7607
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
7513
7608
|
var boundary = clientRenderedBoundaries[i];
|
7514
|
-
renderState$jscomp$
|
7515
|
-
var resumableState = request.resumableState,
|
7516
|
-
renderState$jscomp$
|
7609
|
+
renderState$jscomp$1 = destination;
|
7610
|
+
var resumableState$jscomp$1 = request.resumableState,
|
7611
|
+
renderState$jscomp$2 = request.renderState,
|
7517
7612
|
id = boundary.rootSegmentID,
|
7518
7613
|
errorDigest = boundary.errorDigest,
|
7519
7614
|
errorMessage = boundary.errorMessage,
|
7520
7615
|
errorStack = boundary.errorStack,
|
7521
7616
|
errorComponentStack = boundary.errorComponentStack;
|
7522
7617
|
writeChunk(
|
7523
|
-
renderState$jscomp$
|
7524
|
-
renderState$jscomp$
|
7618
|
+
renderState$jscomp$1,
|
7619
|
+
renderState$jscomp$2.startInlineScript
|
7525
7620
|
);
|
7526
|
-
(
|
7621
|
+
writeChunk(renderState$jscomp$1, endOfStartTag);
|
7622
|
+
(resumableState$jscomp$1.instructions &
|
7623
|
+
SentClientRenderFunction) ===
|
7527
7624
|
NothingSent
|
7528
|
-
? ((resumableState.instructions |=
|
7529
|
-
|
7530
|
-
|
7625
|
+
? ((resumableState$jscomp$1.instructions |=
|
7626
|
+
SentClientRenderFunction),
|
7627
|
+
writeChunk(renderState$jscomp$1, clientRenderScript1Full))
|
7628
|
+
: writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
|
7531
7629
|
writeChunk(
|
7532
|
-
renderState$jscomp$
|
7533
|
-
renderState$jscomp$
|
7630
|
+
renderState$jscomp$1,
|
7631
|
+
renderState$jscomp$2.boundaryPrefix
|
7534
7632
|
);
|
7535
|
-
writeChunk(renderState$jscomp$
|
7536
|
-
writeChunk(renderState$jscomp$
|
7633
|
+
writeChunk(renderState$jscomp$1, stringToChunk(id.toString(16)));
|
7634
|
+
writeChunk(renderState$jscomp$1, clientRenderScript1A);
|
7537
7635
|
if (
|
7538
7636
|
errorDigest ||
|
7539
7637
|
errorMessage ||
|
@@ -7541,50 +7639,50 @@
|
|
7541
7639
|
errorComponentStack
|
7542
7640
|
)
|
7543
7641
|
writeChunk(
|
7544
|
-
renderState$jscomp$
|
7642
|
+
renderState$jscomp$1,
|
7545
7643
|
clientRenderErrorScriptArgInterstitial
|
7546
7644
|
),
|
7547
7645
|
writeChunk(
|
7548
|
-
renderState$jscomp$
|
7646
|
+
renderState$jscomp$1,
|
7549
7647
|
stringToChunk(
|
7550
7648
|
escapeJSStringsForInstructionScripts(errorDigest || "")
|
7551
7649
|
)
|
7552
7650
|
);
|
7553
7651
|
if (errorMessage || errorStack || errorComponentStack)
|
7554
7652
|
writeChunk(
|
7555
|
-
renderState$jscomp$
|
7653
|
+
renderState$jscomp$1,
|
7556
7654
|
clientRenderErrorScriptArgInterstitial
|
7557
7655
|
),
|
7558
7656
|
writeChunk(
|
7559
|
-
renderState$jscomp$
|
7657
|
+
renderState$jscomp$1,
|
7560
7658
|
stringToChunk(
|
7561
7659
|
escapeJSStringsForInstructionScripts(errorMessage || "")
|
7562
7660
|
)
|
7563
7661
|
);
|
7564
7662
|
if (errorStack || errorComponentStack)
|
7565
7663
|
writeChunk(
|
7566
|
-
renderState$jscomp$
|
7664
|
+
renderState$jscomp$1,
|
7567
7665
|
clientRenderErrorScriptArgInterstitial
|
7568
7666
|
),
|
7569
7667
|
writeChunk(
|
7570
|
-
renderState$jscomp$
|
7668
|
+
renderState$jscomp$1,
|
7571
7669
|
stringToChunk(
|
7572
7670
|
escapeJSStringsForInstructionScripts(errorStack || "")
|
7573
7671
|
)
|
7574
7672
|
);
|
7575
7673
|
errorComponentStack &&
|
7576
7674
|
(writeChunk(
|
7577
|
-
renderState$jscomp$
|
7675
|
+
renderState$jscomp$1,
|
7578
7676
|
clientRenderErrorScriptArgInterstitial
|
7579
7677
|
),
|
7580
7678
|
writeChunk(
|
7581
|
-
renderState$jscomp$
|
7679
|
+
renderState$jscomp$1,
|
7582
7680
|
stringToChunk(
|
7583
7681
|
escapeJSStringsForInstructionScripts(errorComponentStack)
|
7584
7682
|
)
|
7585
7683
|
));
|
7586
7684
|
var JSCompiler_inline_result = writeChunkAndReturn(
|
7587
|
-
renderState$jscomp$
|
7685
|
+
renderState$jscomp$1,
|
7588
7686
|
clientRenderScriptEnd
|
7589
7687
|
);
|
7590
7688
|
if (!JSCompiler_inline_result) {
|
@@ -7765,11 +7863,11 @@
|
|
7765
7863
|
}
|
7766
7864
|
function ensureCorrectIsomorphicReactVersion() {
|
7767
7865
|
var isomorphicReactPackageVersion = React.version;
|
7768
|
-
if ("19.2.0-canary-
|
7866
|
+
if ("19.2.0-canary-c498bfce-20250426" !== isomorphicReactPackageVersion)
|
7769
7867
|
throw Error(
|
7770
7868
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7771
7869
|
(isomorphicReactPackageVersion +
|
7772
|
-
"\n - react-dom: 19.2.0-canary-
|
7870
|
+
"\n - react-dom: 19.2.0-canary-c498bfce-20250426\nLearn more: https://react.dev/warnings/version-mismatch")
|
7773
7871
|
);
|
7774
7872
|
}
|
7775
7873
|
var React = require("react"),
|
@@ -8852,18 +8950,19 @@
|
|
8852
8950
|
SentCompleteBoundaryFunction = 2,
|
8853
8951
|
SentClientRenderFunction = 4,
|
8854
8952
|
SentStyleInsertionFunction = 8,
|
8953
|
+
SentCompletedShellId = 32,
|
8855
8954
|
EXISTS = null,
|
8856
8955
|
PRELOAD_NO_CREDS = [];
|
8857
8956
|
Object.freeze(PRELOAD_NO_CREDS);
|
8858
8957
|
stringToPrecomputedChunk('"></template>');
|
8859
|
-
var startInlineScript = stringToPrecomputedChunk("<script
|
8958
|
+
var startInlineScript = stringToPrecomputedChunk("<script"),
|
8860
8959
|
endInlineScript = stringToPrecomputedChunk("\x3c/script>"),
|
8861
8960
|
startScriptSrc = stringToPrecomputedChunk('<script src="'),
|
8862
8961
|
startModuleSrc = stringToPrecomputedChunk('<script type="module" src="'),
|
8863
|
-
scriptNonce = stringToPrecomputedChunk('
|
8864
|
-
scriptIntegirty = stringToPrecomputedChunk('
|
8865
|
-
scriptCrossOrigin = stringToPrecomputedChunk('
|
8866
|
-
endAsyncScript = stringToPrecomputedChunk('
|
8962
|
+
scriptNonce = stringToPrecomputedChunk(' nonce="'),
|
8963
|
+
scriptIntegirty = stringToPrecomputedChunk(' integrity="'),
|
8964
|
+
scriptCrossOrigin = stringToPrecomputedChunk(' crossorigin="'),
|
8965
|
+
endAsyncScript = stringToPrecomputedChunk(' async="">\x3c/script>'),
|
8867
8966
|
scriptRegex = /(<\/|<)(s)(cript)/gi,
|
8868
8967
|
importMapScriptStart = stringToPrecomputedChunk(
|
8869
8968
|
'<script type="importmap">'
|
@@ -9040,6 +9139,13 @@
|
|
9040
9139
|
spaceSeparator = stringToPrecomputedChunk(" "),
|
9041
9140
|
styleTagResourceOpen3 = stringToPrecomputedChunk('">'),
|
9042
9141
|
styleTagResourceClose = stringToPrecomputedChunk("</style>"),
|
9142
|
+
blockingRenderChunkStart = stringToPrecomputedChunk(
|
9143
|
+
'<link rel="expect" href="#'
|
9144
|
+
),
|
9145
|
+
blockingRenderChunkEnd = stringToPrecomputedChunk(
|
9146
|
+
'" blocking="render"/>'
|
9147
|
+
),
|
9148
|
+
completedShellIdAttributeStart = stringToPrecomputedChunk(' id="'),
|
9043
9149
|
arrayFirstOpenBracket = stringToPrecomputedChunk("["),
|
9044
9150
|
arraySubsequentOpenBracket = stringToPrecomputedChunk(",["),
|
9045
9151
|
arrayInterstitial = stringToPrecomputedChunk(","),
|
@@ -9439,5 +9545,5 @@
|
|
9439
9545
|
startWork(request);
|
9440
9546
|
});
|
9441
9547
|
};
|
9442
|
-
exports.version = "19.2.0-canary-
|
9548
|
+
exports.version = "19.2.0-canary-c498bfce-20250426";
|
9443
9549
|
})();
|