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
@@ -267,6 +267,11 @@
|
|
267
267
|
);
|
268
268
|
return content;
|
269
269
|
}
|
270
|
+
function byteLengthOfChunk(chunk) {
|
271
|
+
return "string" === typeof chunk
|
272
|
+
? Buffer.byteLength(chunk, "utf8")
|
273
|
+
: chunk.byteLength;
|
274
|
+
}
|
270
275
|
function typeName(value) {
|
271
276
|
return (
|
272
277
|
("function" === typeof Symbol &&
|
@@ -750,7 +755,7 @@
|
|
750
755
|
void 0 === nonce
|
751
756
|
? startInlineScript
|
752
757
|
: stringToPrecomputedChunk(
|
753
|
-
'<script nonce="' + escapeTextForBrowser(nonce) + '"
|
758
|
+
'<script nonce="' + escapeTextForBrowser(nonce) + '"'
|
754
759
|
),
|
755
760
|
idPrefix = resumableState.idPrefix;
|
756
761
|
externalRuntimeConfig = [];
|
@@ -758,11 +763,13 @@
|
|
758
763
|
bootstrapScripts = resumableState.bootstrapScripts,
|
759
764
|
bootstrapModules = resumableState.bootstrapModules;
|
760
765
|
void 0 !== bootstrapScriptContent &&
|
766
|
+
(externalRuntimeConfig.push(inlineScriptWithNonce),
|
767
|
+
pushCompletedShellIdAttribute(externalRuntimeConfig, resumableState),
|
761
768
|
externalRuntimeConfig.push(
|
762
|
-
|
769
|
+
endOfStartTag,
|
763
770
|
escapeEntireInlineScriptContent(bootstrapScriptContent),
|
764
771
|
endInlineScript
|
765
|
-
);
|
772
|
+
));
|
766
773
|
bootstrapScriptContent = [];
|
767
774
|
void 0 !== importMap &&
|
768
775
|
(bootstrapScriptContent.push(importMapScriptStart),
|
@@ -857,23 +864,28 @@
|
|
857
864
|
);
|
858
865
|
externalRuntimeConfig.push(
|
859
866
|
startScriptSrc,
|
860
|
-
escapeTextForBrowser(inlineScriptWithNonce)
|
867
|
+
escapeTextForBrowser(inlineScriptWithNonce),
|
868
|
+
attributeEnd
|
861
869
|
);
|
862
870
|
nonce &&
|
863
871
|
externalRuntimeConfig.push(
|
864
872
|
scriptNonce,
|
865
|
-
escapeTextForBrowser(nonce)
|
873
|
+
escapeTextForBrowser(nonce),
|
874
|
+
attributeEnd
|
866
875
|
);
|
867
876
|
"string" === typeof bootstrapScriptContent &&
|
868
877
|
externalRuntimeConfig.push(
|
869
878
|
scriptIntegirty,
|
870
|
-
escapeTextForBrowser(bootstrapScriptContent)
|
879
|
+
escapeTextForBrowser(bootstrapScriptContent),
|
880
|
+
attributeEnd
|
871
881
|
);
|
872
882
|
"string" === typeof idPrefix &&
|
873
883
|
externalRuntimeConfig.push(
|
874
884
|
scriptCrossOrigin,
|
875
|
-
escapeTextForBrowser(idPrefix)
|
885
|
+
escapeTextForBrowser(idPrefix),
|
886
|
+
attributeEnd
|
876
887
|
);
|
888
|
+
pushCompletedShellIdAttribute(externalRuntimeConfig, resumableState);
|
877
889
|
externalRuntimeConfig.push(endAsyncScript);
|
878
890
|
}
|
879
891
|
if (void 0 !== bootstrapModules)
|
@@ -911,23 +923,31 @@
|
|
911
923
|
),
|
912
924
|
externalRuntimeConfig.push(
|
913
925
|
startModuleSrc,
|
914
|
-
escapeTextForBrowser(maxHeadersLength)
|
926
|
+
escapeTextForBrowser(maxHeadersLength),
|
927
|
+
attributeEnd
|
915
928
|
),
|
916
929
|
nonce &&
|
917
930
|
externalRuntimeConfig.push(
|
918
931
|
scriptNonce,
|
919
|
-
escapeTextForBrowser(nonce)
|
932
|
+
escapeTextForBrowser(nonce),
|
933
|
+
attributeEnd
|
920
934
|
),
|
921
935
|
"string" === typeof idPrefix &&
|
922
936
|
externalRuntimeConfig.push(
|
923
937
|
scriptIntegirty,
|
924
|
-
escapeTextForBrowser(idPrefix)
|
938
|
+
escapeTextForBrowser(idPrefix),
|
939
|
+
attributeEnd
|
925
940
|
),
|
926
941
|
"string" === typeof inlineScriptWithNonce &&
|
927
942
|
externalRuntimeConfig.push(
|
928
943
|
scriptCrossOrigin,
|
929
|
-
escapeTextForBrowser(inlineScriptWithNonce)
|
944
|
+
escapeTextForBrowser(inlineScriptWithNonce),
|
945
|
+
attributeEnd
|
930
946
|
),
|
947
|
+
pushCompletedShellIdAttribute(
|
948
|
+
externalRuntimeConfig,
|
949
|
+
resumableState
|
950
|
+
),
|
931
951
|
externalRuntimeConfig.push(endAsyncScript);
|
932
952
|
return onHeaders;
|
933
953
|
}
|
@@ -1561,13 +1581,26 @@
|
|
1561
1581
|
return content;
|
1562
1582
|
}
|
1563
1583
|
function injectFormReplayingRuntime(resumableState, renderState) {
|
1564
|
-
(resumableState.instructions & 16) === NothingSent
|
1565
|
-
|
1566
|
-
renderState.
|
1567
|
-
renderState.
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1584
|
+
if ((resumableState.instructions & 16) === NothingSent) {
|
1585
|
+
resumableState.instructions |= 16;
|
1586
|
+
var preamble = renderState.preamble,
|
1587
|
+
bootstrapChunks = renderState.bootstrapChunks;
|
1588
|
+
(preamble.htmlChunks || preamble.headChunks) &&
|
1589
|
+
0 === bootstrapChunks.length
|
1590
|
+
? (bootstrapChunks.push(renderState.startInlineScript),
|
1591
|
+
pushCompletedShellIdAttribute(bootstrapChunks, resumableState),
|
1592
|
+
bootstrapChunks.push(
|
1593
|
+
endOfStartTag,
|
1594
|
+
formReplayingRuntimeScript,
|
1595
|
+
endInlineScript
|
1596
|
+
))
|
1597
|
+
: bootstrapChunks.unshift(
|
1598
|
+
renderState.startInlineScript,
|
1599
|
+
endOfStartTag,
|
1600
|
+
formReplayingRuntimeScript,
|
1601
|
+
endInlineScript
|
1602
|
+
);
|
1603
|
+
}
|
1571
1604
|
}
|
1572
1605
|
function pushLinkImpl(target, props) {
|
1573
1606
|
target.push(startChunkForTag("link"));
|
@@ -3301,6 +3334,15 @@
|
|
3301
3334
|
styleQueue.sheets.forEach(preloadLateStyle, this);
|
3302
3335
|
styleQueue.sheets.clear();
|
3303
3336
|
}
|
3337
|
+
function pushCompletedShellIdAttribute(target, resumableState) {
|
3338
|
+
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
3339
|
+
((resumableState.instructions |= SentCompletedShellId),
|
3340
|
+
target.push(
|
3341
|
+
completedShellIdAttributeStart,
|
3342
|
+
escapeTextForBrowser("\u00ab" + resumableState.idPrefix + "R\u00bb"),
|
3343
|
+
attributeEnd
|
3344
|
+
));
|
3345
|
+
}
|
3304
3346
|
function writeStyleResourceDependenciesInJS(destination, hoistableState) {
|
3305
3347
|
writeChunk(destination, arrayFirstOpenBracket);
|
3306
3348
|
var nextArrayOpenBrackChunk = arrayFirstOpenBracket;
|
@@ -4338,6 +4380,7 @@
|
|
4338
4380
|
this.fatalError = null;
|
4339
4381
|
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
|
4340
4382
|
this.completedPreambleSegments = this.completedRootSegment = null;
|
4383
|
+
this.byteSize = 0;
|
4341
4384
|
this.abortableTasks = abortSet;
|
4342
4385
|
this.pingedTasks = [];
|
4343
4386
|
this.clientRenderedBoundaries = [];
|
@@ -5513,7 +5556,8 @@
|
|
5513
5556
|
boundarySegment.lastPushedText &&
|
5514
5557
|
boundarySegment.textEmbedded &&
|
5515
5558
|
boundarySegment.chunks.push(textSeparator),
|
5516
|
-
(boundarySegment.status = COMPLETED)
|
5559
|
+
(boundarySegment.status = COMPLETED),
|
5560
|
+
finishedSegment(request, parentBoundary, boundarySegment);
|
5517
5561
|
} catch (thrownValue) {
|
5518
5562
|
throw (
|
5519
5563
|
((boundarySegment.status = 12 === request.status ? 3 : 4),
|
@@ -5559,11 +5603,13 @@
|
|
5559
5603
|
contentRootSegment.textEmbedded &&
|
5560
5604
|
contentRootSegment.chunks.push(textSeparator),
|
5561
5605
|
(contentRootSegment.status = COMPLETED),
|
5606
|
+
finishedSegment(request, newBoundary, contentRootSegment),
|
5562
5607
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
5563
5608
|
0 === newBoundary.pendingTasks &&
|
5564
|
-
newBoundary.status === PENDING
|
5609
|
+
newBoundary.status === PENDING &&
|
5610
|
+
((newBoundary.status = COMPLETED),
|
5611
|
+
!(newBoundary.byteSize > request.progressiveChunkSize)))
|
5565
5612
|
) {
|
5566
|
-
newBoundary.status = COMPLETED;
|
5567
5613
|
0 === request.pendingRootTasks &&
|
5568
5614
|
task.blockedPreamble &&
|
5569
5615
|
preparePreamble(request);
|
@@ -5758,6 +5804,7 @@
|
|
5758
5804
|
(task.blockedSegment = resumedSegment),
|
5759
5805
|
renderNode(request, task, node, childIndex),
|
5760
5806
|
(resumedSegment.status = COMPLETED),
|
5807
|
+
finishedSegment(request, blockedBoundary, resumedSegment),
|
5761
5808
|
null === blockedBoundary
|
5762
5809
|
? (request.completedRootSegment = resumedSegment)
|
5763
5810
|
: (queueCompletedSegment(blockedBoundary, resumedSegment),
|
@@ -6674,6 +6721,16 @@
|
|
6674
6721
|
queueCompletedSegment(boundary, childSegment);
|
6675
6722
|
} else boundary.completedSegments.push(segment);
|
6676
6723
|
}
|
6724
|
+
function finishedSegment(request, boundary, segment) {
|
6725
|
+
if (null !== byteLengthOfChunk) {
|
6726
|
+
segment = segment.chunks;
|
6727
|
+
for (var segmentByteSize = 0, i = 0; i < segment.length; i++)
|
6728
|
+
segmentByteSize += byteLengthOfChunk(segment[i]);
|
6729
|
+
null === boundary
|
6730
|
+
? (request.byteSize += segmentByteSize)
|
6731
|
+
: (boundary.byteSize += segmentByteSize);
|
6732
|
+
}
|
6733
|
+
}
|
6677
6734
|
function finishedTask(request, boundary, segment) {
|
6678
6735
|
if (null === boundary) {
|
6679
6736
|
if (null !== segment && segment.parentFlushed) {
|
@@ -6697,11 +6754,12 @@
|
|
6697
6754
|
boundary.parentFlushed &&
|
6698
6755
|
request.completedBoundaries.push(boundary),
|
6699
6756
|
boundary.status === COMPLETED &&
|
6700
|
-
(boundary.
|
6701
|
-
|
6702
|
-
|
6703
|
-
|
6704
|
-
|
6757
|
+
(boundary.byteSize > request.progressiveChunkSize ||
|
6758
|
+
(boundary.fallbackAbortableTasks.forEach(
|
6759
|
+
abortTaskSoft,
|
6760
|
+
request
|
6761
|
+
),
|
6762
|
+
boundary.fallbackAbortableTasks.clear()),
|
6705
6763
|
0 === request.pendingRootTasks &&
|
6706
6764
|
null === request.trackedPostpones &&
|
6707
6765
|
null !== boundary.contentPreamble &&
|
@@ -6841,6 +6899,11 @@
|
|
6841
6899
|
request$jscomp$1.chunks.push(textSeparator),
|
6842
6900
|
errorDigest.abortSet.delete(errorDigest),
|
6843
6901
|
(request$jscomp$1.status = COMPLETED),
|
6902
|
+
finishedSegment(
|
6903
|
+
request,
|
6904
|
+
errorDigest.blockedBoundary,
|
6905
|
+
request$jscomp$1
|
6906
|
+
),
|
6844
6907
|
finishedTask(
|
6845
6908
|
request,
|
6846
6909
|
errorDigest.blockedBoundary,
|
@@ -7178,6 +7241,7 @@
|
|
7178
7241
|
var requiresStyleInsertion = request.stylesToHoist;
|
7179
7242
|
request.stylesToHoist = !1;
|
7180
7243
|
writeChunk(destination, request.startInlineScript);
|
7244
|
+
writeChunk(destination, endOfStartTag);
|
7181
7245
|
requiresStyleInsertion
|
7182
7246
|
? (completedSegments.instructions & SentCompleteBoundaryFunction) ===
|
7183
7247
|
NothingSent
|
@@ -7244,6 +7308,7 @@
|
|
7244
7308
|
boundary = request.resumableState;
|
7245
7309
|
request = request.renderState;
|
7246
7310
|
writeChunk(destination, request.startInlineScript);
|
7311
|
+
writeChunk(destination, endOfStartTag);
|
7247
7312
|
(boundary.instructions & SentCompleteSegmentFunction) === NothingSent
|
7248
7313
|
? ((boundary.instructions |= SentCompleteSegmentFunction),
|
7249
7314
|
writeChunk(destination, completeSegmentScript1Full))
|
@@ -7269,7 +7334,8 @@
|
|
7269
7334
|
if (completedRootSegment.status === POSTPONED) return;
|
7270
7335
|
var completedPreambleSegments = request.completedPreambleSegments;
|
7271
7336
|
if (null === completedPreambleSegments) return;
|
7272
|
-
var
|
7337
|
+
var resumableState = request.resumableState,
|
7338
|
+
renderState = request.renderState,
|
7273
7339
|
preamble = renderState.preamble,
|
7274
7340
|
htmlChunks = preamble.htmlChunks,
|
7275
7341
|
headChunks = preamble.headChunks,
|
@@ -7326,6 +7392,12 @@
|
|
7326
7392
|
renderState.scripts.clear();
|
7327
7393
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
7328
7394
|
renderState.bulkPreloads.clear();
|
7395
|
+
if (htmlChunks || headChunks) {
|
7396
|
+
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
7397
|
+
writeChunk(destination, blockingRenderChunkStart);
|
7398
|
+
writeChunk(destination, escapeTextForBrowser(shellId));
|
7399
|
+
writeChunk(destination, blockingRenderChunkEnd);
|
7400
|
+
}
|
7329
7401
|
var hoistableChunks = renderState.hoistableChunks;
|
7330
7402
|
for (
|
7331
7403
|
i$jscomp$0 = 0;
|
@@ -7334,13 +7406,17 @@
|
|
7334
7406
|
)
|
7335
7407
|
writeChunk(destination, hoistableChunks[i$jscomp$0]);
|
7336
7408
|
for (
|
7337
|
-
|
7338
|
-
|
7339
|
-
|
7409
|
+
resumableState = hoistableChunks.length = 0;
|
7410
|
+
resumableState < completedPreambleSegments.length;
|
7411
|
+
resumableState++
|
7340
7412
|
) {
|
7341
|
-
var segments = completedPreambleSegments[
|
7342
|
-
for (
|
7343
|
-
|
7413
|
+
var segments = completedPreambleSegments[resumableState];
|
7414
|
+
for (
|
7415
|
+
renderState = 0;
|
7416
|
+
renderState < segments.length;
|
7417
|
+
renderState++
|
7418
|
+
)
|
7419
|
+
flushSegment(request, destination, segments[renderState], null);
|
7344
7420
|
}
|
7345
7421
|
var preamble$jscomp$0 = request.renderState.preamble,
|
7346
7422
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
@@ -7356,11 +7432,27 @@
|
|
7356
7432
|
writeChunk(destination, bodyChunks[completedPreambleSegments]);
|
7357
7433
|
flushSegment(request, destination, completedRootSegment, null);
|
7358
7434
|
request.completedRootSegment = null;
|
7359
|
-
|
7435
|
+
var resumableState$jscomp$0 = request.resumableState,
|
7436
|
+
renderState$jscomp$0 = request.renderState,
|
7437
|
+
preamble$jscomp$1 = renderState$jscomp$0.preamble;
|
7438
|
+
if (
|
7439
|
+
(preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
|
7440
|
+
(resumableState$jscomp$0.instructions & SentCompletedShellId) ===
|
7441
|
+
NothingSent
|
7442
|
+
) {
|
7443
|
+
var bootstrapChunks = renderState$jscomp$0.bootstrapChunks;
|
7444
|
+
bootstrapChunks.push(startChunkForTag("template"));
|
7445
|
+
pushCompletedShellIdAttribute(
|
7446
|
+
bootstrapChunks,
|
7447
|
+
resumableState$jscomp$0
|
7448
|
+
);
|
7449
|
+
bootstrapChunks.push(endOfStartTag, endChunkForTag("template"));
|
7450
|
+
}
|
7451
|
+
writeBootstrap(destination, renderState$jscomp$0);
|
7360
7452
|
}
|
7361
|
-
var renderState$jscomp$
|
7453
|
+
var renderState$jscomp$1 = request.renderState;
|
7362
7454
|
completedRootSegment = 0;
|
7363
|
-
var viewportChunks$jscomp$0 = renderState$jscomp$
|
7455
|
+
var viewportChunks$jscomp$0 = renderState$jscomp$1.viewportChunks;
|
7364
7456
|
for (
|
7365
7457
|
completedRootSegment = 0;
|
7366
7458
|
completedRootSegment < viewportChunks$jscomp$0.length;
|
@@ -7371,21 +7463,21 @@
|
|
7371
7463
|
viewportChunks$jscomp$0[completedRootSegment]
|
7372
7464
|
);
|
7373
7465
|
viewportChunks$jscomp$0.length = 0;
|
7374
|
-
renderState$jscomp$
|
7375
|
-
renderState$jscomp$
|
7376
|
-
renderState$jscomp$
|
7377
|
-
renderState$jscomp$
|
7378
|
-
renderState$jscomp$
|
7466
|
+
renderState$jscomp$1.preconnects.forEach(flushResource, destination);
|
7467
|
+
renderState$jscomp$1.preconnects.clear();
|
7468
|
+
renderState$jscomp$1.fontPreloads.forEach(flushResource, destination);
|
7469
|
+
renderState$jscomp$1.fontPreloads.clear();
|
7470
|
+
renderState$jscomp$1.highImagePreloads.forEach(
|
7379
7471
|
flushResource,
|
7380
7472
|
destination
|
7381
7473
|
);
|
7382
|
-
renderState$jscomp$
|
7383
|
-
renderState$jscomp$
|
7384
|
-
renderState$jscomp$
|
7385
|
-
renderState$jscomp$
|
7386
|
-
renderState$jscomp$
|
7387
|
-
renderState$jscomp$
|
7388
|
-
var hoistableChunks$jscomp$0 = renderState$jscomp$
|
7474
|
+
renderState$jscomp$1.highImagePreloads.clear();
|
7475
|
+
renderState$jscomp$1.styles.forEach(preloadLateStyles, destination);
|
7476
|
+
renderState$jscomp$1.scripts.forEach(flushResource, destination);
|
7477
|
+
renderState$jscomp$1.scripts.clear();
|
7478
|
+
renderState$jscomp$1.bulkPreloads.forEach(flushResource, destination);
|
7479
|
+
renderState$jscomp$1.bulkPreloads.clear();
|
7480
|
+
var hoistableChunks$jscomp$0 = renderState$jscomp$1.hoistableChunks;
|
7389
7481
|
for (
|
7390
7482
|
completedRootSegment = 0;
|
7391
7483
|
completedRootSegment < hoistableChunks$jscomp$0.length;
|
@@ -7399,29 +7491,32 @@
|
|
7399
7491
|
var clientRenderedBoundaries = request.clientRenderedBoundaries;
|
7400
7492
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
7401
7493
|
var boundary = clientRenderedBoundaries[i];
|
7402
|
-
renderState$jscomp$
|
7403
|
-
var resumableState = request.resumableState,
|
7404
|
-
renderState$jscomp$
|
7494
|
+
renderState$jscomp$1 = destination;
|
7495
|
+
var resumableState$jscomp$1 = request.resumableState,
|
7496
|
+
renderState$jscomp$2 = request.renderState,
|
7405
7497
|
id = boundary.rootSegmentID,
|
7406
7498
|
errorDigest = boundary.errorDigest,
|
7407
7499
|
errorMessage = boundary.errorMessage,
|
7408
7500
|
errorStack = boundary.errorStack,
|
7409
7501
|
errorComponentStack = boundary.errorComponentStack;
|
7410
7502
|
writeChunk(
|
7411
|
-
renderState$jscomp$
|
7412
|
-
renderState$jscomp$
|
7503
|
+
renderState$jscomp$1,
|
7504
|
+
renderState$jscomp$2.startInlineScript
|
7413
7505
|
);
|
7414
|
-
(
|
7506
|
+
writeChunk(renderState$jscomp$1, endOfStartTag);
|
7507
|
+
(resumableState$jscomp$1.instructions &
|
7508
|
+
SentClientRenderFunction) ===
|
7415
7509
|
NothingSent
|
7416
|
-
? ((resumableState.instructions |=
|
7417
|
-
|
7418
|
-
|
7510
|
+
? ((resumableState$jscomp$1.instructions |=
|
7511
|
+
SentClientRenderFunction),
|
7512
|
+
writeChunk(renderState$jscomp$1, clientRenderScript1Full))
|
7513
|
+
: writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
|
7419
7514
|
writeChunk(
|
7420
|
-
renderState$jscomp$
|
7421
|
-
renderState$jscomp$
|
7515
|
+
renderState$jscomp$1,
|
7516
|
+
renderState$jscomp$2.boundaryPrefix
|
7422
7517
|
);
|
7423
|
-
writeChunk(renderState$jscomp$
|
7424
|
-
writeChunk(renderState$jscomp$
|
7518
|
+
writeChunk(renderState$jscomp$1, id.toString(16));
|
7519
|
+
writeChunk(renderState$jscomp$1, clientRenderScript1A);
|
7425
7520
|
if (
|
7426
7521
|
errorDigest ||
|
7427
7522
|
errorMessage ||
|
@@ -7429,42 +7524,42 @@
|
|
7429
7524
|
errorComponentStack
|
7430
7525
|
)
|
7431
7526
|
writeChunk(
|
7432
|
-
renderState$jscomp$
|
7527
|
+
renderState$jscomp$1,
|
7433
7528
|
clientRenderErrorScriptArgInterstitial
|
7434
7529
|
),
|
7435
7530
|
writeChunk(
|
7436
|
-
renderState$jscomp$
|
7531
|
+
renderState$jscomp$1,
|
7437
7532
|
escapeJSStringsForInstructionScripts(errorDigest || "")
|
7438
7533
|
);
|
7439
7534
|
if (errorMessage || errorStack || errorComponentStack)
|
7440
7535
|
writeChunk(
|
7441
|
-
renderState$jscomp$
|
7536
|
+
renderState$jscomp$1,
|
7442
7537
|
clientRenderErrorScriptArgInterstitial
|
7443
7538
|
),
|
7444
7539
|
writeChunk(
|
7445
|
-
renderState$jscomp$
|
7540
|
+
renderState$jscomp$1,
|
7446
7541
|
escapeJSStringsForInstructionScripts(errorMessage || "")
|
7447
7542
|
);
|
7448
7543
|
if (errorStack || errorComponentStack)
|
7449
7544
|
writeChunk(
|
7450
|
-
renderState$jscomp$
|
7545
|
+
renderState$jscomp$1,
|
7451
7546
|
clientRenderErrorScriptArgInterstitial
|
7452
7547
|
),
|
7453
7548
|
writeChunk(
|
7454
|
-
renderState$jscomp$
|
7549
|
+
renderState$jscomp$1,
|
7455
7550
|
escapeJSStringsForInstructionScripts(errorStack || "")
|
7456
7551
|
);
|
7457
7552
|
errorComponentStack &&
|
7458
7553
|
(writeChunk(
|
7459
|
-
renderState$jscomp$
|
7554
|
+
renderState$jscomp$1,
|
7460
7555
|
clientRenderErrorScriptArgInterstitial
|
7461
7556
|
),
|
7462
7557
|
writeChunk(
|
7463
|
-
renderState$jscomp$
|
7558
|
+
renderState$jscomp$1,
|
7464
7559
|
escapeJSStringsForInstructionScripts(errorComponentStack)
|
7465
7560
|
));
|
7466
7561
|
var JSCompiler_inline_result = writeChunkAndReturn(
|
7467
|
-
renderState$jscomp$
|
7562
|
+
renderState$jscomp$1,
|
7468
7563
|
clientRenderScriptEnd
|
7469
7564
|
);
|
7470
7565
|
if (!JSCompiler_inline_result) {
|
@@ -7640,11 +7735,11 @@
|
|
7640
7735
|
}
|
7641
7736
|
function ensureCorrectIsomorphicReactVersion() {
|
7642
7737
|
var isomorphicReactPackageVersion = React.version;
|
7643
|
-
if ("19.2.0-canary-
|
7738
|
+
if ("19.2.0-canary-c498bfce-20250426" !== isomorphicReactPackageVersion)
|
7644
7739
|
throw Error(
|
7645
7740
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7646
7741
|
(isomorphicReactPackageVersion +
|
7647
|
-
"\n - react-dom: 19.2.0-canary-
|
7742
|
+
"\n - react-dom: 19.2.0-canary-c498bfce-20250426\nLearn more: https://react.dev/warnings/version-mismatch")
|
7648
7743
|
);
|
7649
7744
|
}
|
7650
7745
|
function createDrainHandler(destination, request) {
|
@@ -8778,18 +8873,19 @@
|
|
8778
8873
|
SentCompleteBoundaryFunction = 2,
|
8779
8874
|
SentClientRenderFunction = 4,
|
8780
8875
|
SentStyleInsertionFunction = 8,
|
8876
|
+
SentCompletedShellId = 32,
|
8781
8877
|
EXISTS = null,
|
8782
8878
|
PRELOAD_NO_CREDS = [];
|
8783
8879
|
Object.freeze(PRELOAD_NO_CREDS);
|
8784
8880
|
stringToPrecomputedChunk('"></template>');
|
8785
|
-
var startInlineScript = stringToPrecomputedChunk("<script
|
8881
|
+
var startInlineScript = stringToPrecomputedChunk("<script"),
|
8786
8882
|
endInlineScript = stringToPrecomputedChunk("\x3c/script>"),
|
8787
8883
|
startScriptSrc = stringToPrecomputedChunk('<script src="'),
|
8788
8884
|
startModuleSrc = stringToPrecomputedChunk('<script type="module" src="'),
|
8789
|
-
scriptNonce = stringToPrecomputedChunk('
|
8790
|
-
scriptIntegirty = stringToPrecomputedChunk('
|
8791
|
-
scriptCrossOrigin = stringToPrecomputedChunk('
|
8792
|
-
endAsyncScript = stringToPrecomputedChunk('
|
8885
|
+
scriptNonce = stringToPrecomputedChunk(' nonce="'),
|
8886
|
+
scriptIntegirty = stringToPrecomputedChunk(' integrity="'),
|
8887
|
+
scriptCrossOrigin = stringToPrecomputedChunk(' crossorigin="'),
|
8888
|
+
endAsyncScript = stringToPrecomputedChunk(' async="">\x3c/script>'),
|
8793
8889
|
scriptRegex = /(<\/|<)(s)(cript)/gi,
|
8794
8890
|
importMapScriptStart = stringToPrecomputedChunk(
|
8795
8891
|
'<script type="importmap">'
|
@@ -8966,6 +9062,13 @@
|
|
8966
9062
|
spaceSeparator = stringToPrecomputedChunk(" "),
|
8967
9063
|
styleTagResourceOpen3 = stringToPrecomputedChunk('">'),
|
8968
9064
|
styleTagResourceClose = stringToPrecomputedChunk("</style>"),
|
9065
|
+
blockingRenderChunkStart = stringToPrecomputedChunk(
|
9066
|
+
'<link rel="expect" href="#'
|
9067
|
+
),
|
9068
|
+
blockingRenderChunkEnd = stringToPrecomputedChunk(
|
9069
|
+
'" blocking="render"/>'
|
9070
|
+
),
|
9071
|
+
completedShellIdAttributeStart = stringToPrecomputedChunk(' id="'),
|
8969
9072
|
arrayFirstOpenBracket = stringToPrecomputedChunk("["),
|
8970
9073
|
arraySubsequentOpenBracket = stringToPrecomputedChunk(",["),
|
8971
9074
|
arrayInterstitial = stringToPrecomputedChunk(","),
|
@@ -9313,5 +9416,5 @@
|
|
9313
9416
|
}
|
9314
9417
|
};
|
9315
9418
|
};
|
9316
|
-
exports.version = "19.2.0-canary-
|
9419
|
+
exports.version = "19.2.0-canary-c498bfce-20250426";
|
9317
9420
|
})();
|