react-dom 19.2.0-canary-4a45ba92-20250515 → 19.2.0-canary-462d08f9-20250517
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 +39 -22
- package/cjs/react-dom-server-legacy.browser.production.js +39 -18
- package/cjs/react-dom-server-legacy.node.development.js +39 -22
- package/cjs/react-dom-server-legacy.node.production.js +39 -18
- package/cjs/react-dom-server.browser.development.js +46 -27
- package/cjs/react-dom-server.browser.production.js +45 -24
- package/cjs/react-dom-server.bun.development.js +41 -23
- package/cjs/react-dom-server.bun.production.js +41 -20
- package/cjs/react-dom-server.edge.development.js +46 -27
- package/cjs/react-dom-server.edge.production.js +45 -24
- package/cjs/react-dom-server.node.development.js +46 -27
- package/cjs/react-dom-server.node.production.js +45 -24
- 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
@@ -392,7 +392,8 @@ function getSuspenseViewTransition(parentViewTransition) {
|
|
392
392
|
nameIdx: 0
|
393
393
|
};
|
394
394
|
}
|
395
|
-
function getSuspenseFallbackFormatContext(parentContext) {
|
395
|
+
function getSuspenseFallbackFormatContext(resumableState, parentContext) {
|
396
|
+
parentContext.tagScope & 32 && (resumableState.instructions |= 128);
|
396
397
|
return createFormatContext(
|
397
398
|
parentContext.insertionMode,
|
398
399
|
parentContext.selectedValue,
|
@@ -400,7 +401,7 @@ function getSuspenseFallbackFormatContext(parentContext) {
|
|
400
401
|
getSuspenseViewTransition(parentContext.viewTransition)
|
401
402
|
);
|
402
403
|
}
|
403
|
-
function getSuspenseContentFormatContext(parentContext) {
|
404
|
+
function getSuspenseContentFormatContext(resumableState, parentContext) {
|
404
405
|
return createFormatContext(
|
405
406
|
parentContext.insertionMode,
|
406
407
|
parentContext.selectedValue,
|
@@ -4233,7 +4234,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4233
4234
|
type = task.keyPath;
|
4234
4235
|
newProps = task.formatContext;
|
4235
4236
|
task.keyPath = keyPath;
|
4236
|
-
task.formatContext = getSuspenseContentFormatContext(
|
4237
|
+
task.formatContext = getSuspenseContentFormatContext(
|
4238
|
+
request.resumableState,
|
4239
|
+
newProps
|
4240
|
+
);
|
4237
4241
|
keyPath = props.children;
|
4238
4242
|
try {
|
4239
4243
|
renderNode(request, task, keyPath, -1);
|
@@ -4288,7 +4292,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4288
4292
|
task.blockedSegment = boundarySegment;
|
4289
4293
|
task.blockedPreamble = newBoundary.fallbackPreamble;
|
4290
4294
|
task.keyPath = newProps;
|
4291
|
-
task.formatContext = getSuspenseFallbackFormatContext(
|
4295
|
+
task.formatContext = getSuspenseFallbackFormatContext(
|
4296
|
+
request.resumableState,
|
4297
|
+
ref
|
4298
|
+
);
|
4292
4299
|
boundarySegment.status = 6;
|
4293
4300
|
try {
|
4294
4301
|
renderNode(request, task, fallback, -1),
|
@@ -4321,7 +4328,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4321
4328
|
newBoundary.contentState,
|
4322
4329
|
task.abortSet,
|
4323
4330
|
keyPath,
|
4324
|
-
getSuspenseContentFormatContext(
|
4331
|
+
getSuspenseContentFormatContext(
|
4332
|
+
request.resumableState,
|
4333
|
+
task.formatContext
|
4334
|
+
),
|
4325
4335
|
task.context,
|
4326
4336
|
task.treeContext,
|
4327
4337
|
task.componentStack
|
@@ -4334,7 +4344,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4334
4344
|
task.hoistableState = newBoundary.contentState;
|
4335
4345
|
task.blockedSegment = contentRootSegment;
|
4336
4346
|
task.keyPath = keyPath;
|
4337
|
-
task.formatContext = getSuspenseContentFormatContext(
|
4347
|
+
task.formatContext = getSuspenseContentFormatContext(
|
4348
|
+
request.resumableState,
|
4349
|
+
ref
|
4350
|
+
);
|
4338
4351
|
contentRootSegment.status = 6;
|
4339
4352
|
try {
|
4340
4353
|
if (
|
@@ -4390,7 +4403,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4390
4403
|
newBoundary.fallbackState,
|
4391
4404
|
fallbackAbortSet,
|
4392
4405
|
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
4393
|
-
getSuspenseFallbackFormatContext(
|
4406
|
+
getSuspenseFallbackFormatContext(
|
4407
|
+
request.resumableState,
|
4408
|
+
task.formatContext
|
4409
|
+
),
|
4394
4410
|
task.context,
|
4395
4411
|
task.treeContext,
|
4396
4412
|
task.componentStack
|
@@ -4635,8 +4651,10 @@ function retryNode(request, task) {
|
|
4635
4651
|
task.blockedBoundary = props;
|
4636
4652
|
task.hoistableState = props.contentState;
|
4637
4653
|
task.keyPath = key;
|
4638
|
-
task.formatContext =
|
4639
|
-
|
4654
|
+
task.formatContext = getSuspenseContentFormatContext(
|
4655
|
+
request.resumableState,
|
4656
|
+
prevContext
|
4657
|
+
);
|
4640
4658
|
task.replay = {
|
4641
4659
|
nodes: ref,
|
4642
4660
|
slots: name,
|
@@ -4689,7 +4707,10 @@ function retryNode(request, task) {
|
|
4689
4707
|
props.fallbackState,
|
4690
4708
|
fallbackAbortSet,
|
4691
4709
|
[key[0], "Suspense Fallback", key[2]],
|
4692
|
-
getSuspenseFallbackFormatContext(
|
4710
|
+
getSuspenseFallbackFormatContext(
|
4711
|
+
request.resumableState,
|
4712
|
+
task.formatContext
|
4713
|
+
),
|
4693
4714
|
task.context,
|
4694
4715
|
task.treeContext,
|
4695
4716
|
task.componentStack
|
@@ -5203,6 +5224,7 @@ function queueCompletedSegment(boundary, segment) {
|
|
5203
5224
|
} else boundary.completedSegments.push(segment);
|
5204
5225
|
}
|
5205
5226
|
function finishedTask(request, boundary, segment) {
|
5227
|
+
request.allPendingTasks--;
|
5206
5228
|
if (null === boundary) {
|
5207
5229
|
if (null !== segment && segment.parentFlushed) {
|
5208
5230
|
if (null !== request.completedRootSegment)
|
@@ -5242,7 +5264,6 @@ function finishedTask(request, boundary, segment) {
|
|
5242
5264
|
1 === boundary.completedSegments.length &&
|
5243
5265
|
boundary.parentFlushed &&
|
5244
5266
|
request.partialBoundaries.push(boundary)));
|
5245
|
-
request.allPendingTasks--;
|
5246
5267
|
0 === request.allPendingTasks && completeAll(request);
|
5247
5268
|
}
|
5248
5269
|
function performWork(request$jscomp$2) {
|
@@ -5662,7 +5683,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
5662
5683
|
0 === (completedSegments.instructions & 2) &&
|
5663
5684
|
((completedSegments.instructions |= 2),
|
5664
5685
|
destination.push(
|
5665
|
-
'$RB=[];$
|
5686
|
+
'$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
5666
5687
|
)),
|
5667
5688
|
0 === (completedSegments.instructions & 8)
|
5668
5689
|
? ((completedSegments.instructions |= 8),
|
@@ -5670,12 +5691,12 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
5670
5691
|
'$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("'
|
5671
5692
|
))
|
5672
5693
|
: destination.push('$RR("'))
|
5673
|
-
: 0 === (completedSegments.instructions & 2)
|
5674
|
-
|
5694
|
+
: (0 === (completedSegments.instructions & 2) &&
|
5695
|
+
((completedSegments.instructions |= 2),
|
5675
5696
|
destination.push(
|
5676
|
-
'$RB=[];$
|
5677
|
-
))
|
5678
|
-
|
5697
|
+
'$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
5698
|
+
)),
|
5699
|
+
destination.push('$RC("'));
|
5679
5700
|
completedSegments = i.toString(16);
|
5680
5701
|
destination.push(request.boundaryPrefix);
|
5681
5702
|
destination.push(completedSegments);
|
@@ -6100,4 +6121,4 @@ exports.renderToString = function (children, options) {
|
|
6100
6121
|
'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'
|
6101
6122
|
);
|
6102
6123
|
};
|
6103
|
-
exports.version = "19.2.0-canary-
|
6124
|
+
exports.version = "19.2.0-canary-462d08f9-20250517";
|
@@ -1154,7 +1154,8 @@
|
|
1154
1154
|
nameIdx: 0
|
1155
1155
|
};
|
1156
1156
|
}
|
1157
|
-
function getSuspenseFallbackFormatContext(parentContext) {
|
1157
|
+
function getSuspenseFallbackFormatContext(resumableState, parentContext) {
|
1158
|
+
parentContext.tagScope & 32 && (resumableState.instructions |= 128);
|
1158
1159
|
return createFormatContext(
|
1159
1160
|
parentContext.insertionMode,
|
1160
1161
|
parentContext.selectedValue,
|
@@ -1162,7 +1163,7 @@
|
|
1162
1163
|
getSuspenseViewTransition(parentContext.viewTransition)
|
1163
1164
|
);
|
1164
1165
|
}
|
1165
|
-
function getSuspenseContentFormatContext(parentContext) {
|
1166
|
+
function getSuspenseContentFormatContext(resumableState, parentContext) {
|
1166
1167
|
return createFormatContext(
|
1167
1168
|
parentContext.insertionMode,
|
1168
1169
|
parentContext.selectedValue,
|
@@ -5604,8 +5605,10 @@
|
|
5604
5605
|
var _prevKeyPath = task.keyPath,
|
5605
5606
|
_prevContext = task.formatContext;
|
5606
5607
|
task.keyPath = keyPath;
|
5607
|
-
task.formatContext =
|
5608
|
-
|
5608
|
+
task.formatContext = getSuspenseContentFormatContext(
|
5609
|
+
request.resumableState,
|
5610
|
+
_prevContext
|
5611
|
+
);
|
5609
5612
|
var _content = props.children;
|
5610
5613
|
try {
|
5611
5614
|
renderNode(request, task, _content, -1);
|
@@ -5678,8 +5681,10 @@
|
|
5678
5681
|
task.blockedSegment = boundarySegment;
|
5679
5682
|
task.blockedPreamble = newBoundary.fallbackPreamble;
|
5680
5683
|
task.keyPath = fallbackKeyPath;
|
5681
|
-
task.formatContext =
|
5682
|
-
|
5684
|
+
task.formatContext = getSuspenseFallbackFormatContext(
|
5685
|
+
request.resumableState,
|
5686
|
+
prevContext$jscomp$0
|
5687
|
+
);
|
5683
5688
|
boundarySegment.status = 6;
|
5684
5689
|
try {
|
5685
5690
|
renderNode(request, task, fallback, -1),
|
@@ -5710,7 +5715,10 @@
|
|
5710
5715
|
newBoundary.contentState,
|
5711
5716
|
task.abortSet,
|
5712
5717
|
keyPath,
|
5713
|
-
getSuspenseContentFormatContext(
|
5718
|
+
getSuspenseContentFormatContext(
|
5719
|
+
request.resumableState,
|
5720
|
+
task.formatContext
|
5721
|
+
),
|
5714
5722
|
task.context,
|
5715
5723
|
task.treeContext,
|
5716
5724
|
task.componentStack,
|
@@ -5725,8 +5733,10 @@
|
|
5725
5733
|
task.hoistableState = newBoundary.contentState;
|
5726
5734
|
task.blockedSegment = contentRootSegment;
|
5727
5735
|
task.keyPath = keyPath;
|
5728
|
-
task.formatContext =
|
5729
|
-
|
5736
|
+
task.formatContext = getSuspenseContentFormatContext(
|
5737
|
+
request.resumableState,
|
5738
|
+
prevContext$jscomp$0
|
5739
|
+
);
|
5730
5740
|
contentRootSegment.status = 6;
|
5731
5741
|
try {
|
5732
5742
|
if (
|
@@ -5788,7 +5798,10 @@
|
|
5788
5798
|
newBoundary.fallbackState,
|
5789
5799
|
fallbackAbortSet,
|
5790
5800
|
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
5791
|
-
getSuspenseFallbackFormatContext(
|
5801
|
+
getSuspenseFallbackFormatContext(
|
5802
|
+
request.resumableState,
|
5803
|
+
task.formatContext
|
5804
|
+
),
|
5792
5805
|
task.context,
|
5793
5806
|
task.treeContext,
|
5794
5807
|
task.componentStack,
|
@@ -6052,7 +6065,10 @@
|
|
6052
6065
|
task.blockedBoundary = props;
|
6053
6066
|
task.hoistableState = props.contentState;
|
6054
6067
|
task.keyPath = keyPath;
|
6055
|
-
task.formatContext = getSuspenseContentFormatContext(
|
6068
|
+
task.formatContext = getSuspenseContentFormatContext(
|
6069
|
+
request.resumableState,
|
6070
|
+
prevContext
|
6071
|
+
);
|
6056
6072
|
task.replay = { nodes: type, slots: ref, pendingTasks: 1 };
|
6057
6073
|
try {
|
6058
6074
|
renderNode(request, task, content, -1);
|
@@ -6098,7 +6114,10 @@
|
|
6098
6114
|
props.fallbackState,
|
6099
6115
|
fallbackAbortSet,
|
6100
6116
|
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
6101
|
-
getSuspenseFallbackFormatContext(
|
6117
|
+
getSuspenseFallbackFormatContext(
|
6118
|
+
request.resumableState,
|
6119
|
+
task.formatContext
|
6120
|
+
),
|
6102
6121
|
task.context,
|
6103
6122
|
task.treeContext,
|
6104
6123
|
task.componentStack,
|
@@ -6864,6 +6883,7 @@
|
|
6864
6883
|
}
|
6865
6884
|
}
|
6866
6885
|
function finishedTask(request, boundary, segment) {
|
6886
|
+
request.allPendingTasks--;
|
6867
6887
|
if (null === boundary) {
|
6868
6888
|
if (null !== segment && segment.parentFlushed) {
|
6869
6889
|
if (null !== request.completedRootSegment)
|
@@ -6903,7 +6923,6 @@
|
|
6903
6923
|
1 === boundary.completedSegments.length &&
|
6904
6924
|
boundary.parentFlushed &&
|
6905
6925
|
request.partialBoundaries.push(boundary)));
|
6906
|
-
request.allPendingTasks--;
|
6907
6926
|
0 === request.allPendingTasks && completeAll(request);
|
6908
6927
|
}
|
6909
6928
|
function performWork(request$jscomp$2) {
|
@@ -7408,11 +7427,11 @@
|
|
7408
7427
|
completeBoundaryWithStylesScript1FullPartial
|
7409
7428
|
))
|
7410
7429
|
: writeChunk(destination, completeBoundaryWithStylesScript1Partial))
|
7411
|
-
: (completedSegments.instructions & SentCompleteBoundaryFunction) ===
|
7412
|
-
NothingSent
|
7413
|
-
|
7414
|
-
writeChunk(destination,
|
7415
|
-
|
7430
|
+
: ((completedSegments.instructions & SentCompleteBoundaryFunction) ===
|
7431
|
+
NothingSent &&
|
7432
|
+
((completedSegments.instructions |= SentCompleteBoundaryFunction),
|
7433
|
+
writeChunk(destination, completeBoundaryScriptFunctionOnly)),
|
7434
|
+
writeChunk(destination, completeBoundaryScript1Partial));
|
7416
7435
|
completedSegments = stringToChunk(i.toString(16));
|
7417
7436
|
writeChunk(destination, request.boundaryPrefix);
|
7418
7437
|
writeChunk(destination, completedSegments);
|
@@ -7892,11 +7911,11 @@
|
|
7892
7911
|
}
|
7893
7912
|
function ensureCorrectIsomorphicReactVersion() {
|
7894
7913
|
var isomorphicReactPackageVersion = React.version;
|
7895
|
-
if ("19.2.0-canary-
|
7914
|
+
if ("19.2.0-canary-462d08f9-20250517" !== isomorphicReactPackageVersion)
|
7896
7915
|
throw Error(
|
7897
7916
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7898
7917
|
(isomorphicReactPackageVersion +
|
7899
|
-
"\n - react-dom: 19.2.0-canary-
|
7918
|
+
"\n - react-dom: 19.2.0-canary-462d08f9-20250517\nLearn more: https://react.dev/warnings/version-mismatch")
|
7900
7919
|
);
|
7901
7920
|
}
|
7902
7921
|
var React = require("react"),
|
@@ -9129,12 +9148,12 @@
|
|
9129
9148
|
stringToPrecomputedChunk('<template data-rsi="" data-sid="');
|
9130
9149
|
stringToPrecomputedChunk('" data-pid="');
|
9131
9150
|
var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
|
9132
|
-
|
9133
|
-
|
9134
|
-
|
9135
|
-
|
9136
|
-
|
9137
|
-
|
9151
|
+
'$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
9152
|
+
);
|
9153
|
+
stringToPrecomputedChunk(
|
9154
|
+
"$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
|
9155
|
+
);
|
9156
|
+
var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
|
9138
9157
|
completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
|
9139
9158
|
'$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("'
|
9140
9159
|
),
|
@@ -9582,5 +9601,5 @@
|
|
9582
9601
|
startWork(request);
|
9583
9602
|
});
|
9584
9603
|
};
|
9585
|
-
exports.version = "19.2.0-canary-
|
9604
|
+
exports.version = "19.2.0-canary-462d08f9-20250517";
|
9586
9605
|
})();
|
@@ -710,7 +710,8 @@ function getSuspenseViewTransition(parentViewTransition) {
|
|
710
710
|
nameIdx: 0
|
711
711
|
};
|
712
712
|
}
|
713
|
-
function getSuspenseFallbackFormatContext(parentContext) {
|
713
|
+
function getSuspenseFallbackFormatContext(resumableState, parentContext) {
|
714
|
+
parentContext.tagScope & 32 && (resumableState.instructions |= 128);
|
714
715
|
return createFormatContext(
|
715
716
|
parentContext.insertionMode,
|
716
717
|
parentContext.selectedValue,
|
@@ -718,7 +719,7 @@ function getSuspenseFallbackFormatContext(parentContext) {
|
|
718
719
|
getSuspenseViewTransition(parentContext.viewTransition)
|
719
720
|
);
|
720
721
|
}
|
721
|
-
function getSuspenseContentFormatContext(parentContext) {
|
722
|
+
function getSuspenseContentFormatContext(resumableState, parentContext) {
|
722
723
|
return createFormatContext(
|
723
724
|
parentContext.insertionMode,
|
724
725
|
parentContext.selectedValue,
|
@@ -2522,12 +2523,12 @@ var completeSegmentScript1Full = stringToPrecomputedChunk(
|
|
2522
2523
|
stringToPrecomputedChunk('<template data-rsi="" data-sid="');
|
2523
2524
|
stringToPrecomputedChunk('" data-pid="');
|
2524
2525
|
var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
|
2525
|
-
|
2526
|
-
|
2527
|
-
|
2528
|
-
|
2529
|
-
|
2530
|
-
|
2526
|
+
'$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
2527
|
+
);
|
2528
|
+
stringToPrecomputedChunk(
|
2529
|
+
"$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
|
2530
|
+
);
|
2531
|
+
var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
|
2531
2532
|
completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
|
2532
2533
|
'$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("'
|
2533
2534
|
),
|
@@ -4609,7 +4610,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4609
4610
|
type = task.keyPath;
|
4610
4611
|
newProps = task.formatContext;
|
4611
4612
|
task.keyPath = keyPath;
|
4612
|
-
task.formatContext = getSuspenseContentFormatContext(
|
4613
|
+
task.formatContext = getSuspenseContentFormatContext(
|
4614
|
+
request.resumableState,
|
4615
|
+
newProps
|
4616
|
+
);
|
4613
4617
|
keyPath = props.children;
|
4614
4618
|
try {
|
4615
4619
|
renderNode(request, task, keyPath, -1);
|
@@ -4664,7 +4668,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4664
4668
|
task.blockedSegment = boundarySegment;
|
4665
4669
|
task.blockedPreamble = newBoundary.fallbackPreamble;
|
4666
4670
|
task.keyPath = newProps;
|
4667
|
-
task.formatContext = getSuspenseFallbackFormatContext(
|
4671
|
+
task.formatContext = getSuspenseFallbackFormatContext(
|
4672
|
+
request.resumableState,
|
4673
|
+
ref
|
4674
|
+
);
|
4668
4675
|
boundarySegment.status = 6;
|
4669
4676
|
try {
|
4670
4677
|
renderNode(request, task, fallback, -1),
|
@@ -4695,7 +4702,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4695
4702
|
newBoundary.contentState,
|
4696
4703
|
task.abortSet,
|
4697
4704
|
keyPath,
|
4698
|
-
getSuspenseContentFormatContext(
|
4705
|
+
getSuspenseContentFormatContext(
|
4706
|
+
request.resumableState,
|
4707
|
+
task.formatContext
|
4708
|
+
),
|
4699
4709
|
task.context,
|
4700
4710
|
task.treeContext,
|
4701
4711
|
task.componentStack
|
@@ -4708,7 +4718,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4708
4718
|
task.hoistableState = newBoundary.contentState;
|
4709
4719
|
task.blockedSegment = contentRootSegment;
|
4710
4720
|
task.keyPath = keyPath;
|
4711
|
-
task.formatContext = getSuspenseContentFormatContext(
|
4721
|
+
task.formatContext = getSuspenseContentFormatContext(
|
4722
|
+
request.resumableState,
|
4723
|
+
ref
|
4724
|
+
);
|
4712
4725
|
contentRootSegment.status = 6;
|
4713
4726
|
try {
|
4714
4727
|
if (
|
@@ -4762,7 +4775,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4762
4775
|
newBoundary.fallbackState,
|
4763
4776
|
fallbackAbortSet,
|
4764
4777
|
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
4765
|
-
getSuspenseFallbackFormatContext(
|
4778
|
+
getSuspenseFallbackFormatContext(
|
4779
|
+
request.resumableState,
|
4780
|
+
task.formatContext
|
4781
|
+
),
|
4766
4782
|
task.context,
|
4767
4783
|
task.treeContext,
|
4768
4784
|
task.componentStack
|
@@ -5001,8 +5017,10 @@ function retryNode(request, task) {
|
|
5001
5017
|
task.blockedBoundary = props;
|
5002
5018
|
task.hoistableState = props.contentState;
|
5003
5019
|
task.keyPath = key;
|
5004
|
-
task.formatContext =
|
5005
|
-
|
5020
|
+
task.formatContext = getSuspenseContentFormatContext(
|
5021
|
+
request.resumableState,
|
5022
|
+
prevContext
|
5023
|
+
);
|
5006
5024
|
task.replay = {
|
5007
5025
|
nodes: ref,
|
5008
5026
|
slots: name,
|
@@ -5053,7 +5071,10 @@ function retryNode(request, task) {
|
|
5053
5071
|
props.fallbackState,
|
5054
5072
|
fallbackAbortSet,
|
5055
5073
|
[key[0], "Suspense Fallback", key[2]],
|
5056
|
-
getSuspenseFallbackFormatContext(
|
5074
|
+
getSuspenseFallbackFormatContext(
|
5075
|
+
request.resumableState,
|
5076
|
+
task.formatContext
|
5077
|
+
),
|
5057
5078
|
task.context,
|
5058
5079
|
task.treeContext,
|
5059
5080
|
task.componentStack
|
@@ -5571,6 +5592,7 @@ function finishedSegment(request, boundary, segment) {
|
|
5571
5592
|
}
|
5572
5593
|
}
|
5573
5594
|
function finishedTask(request, boundary, segment) {
|
5595
|
+
request.allPendingTasks--;
|
5574
5596
|
if (null === boundary) {
|
5575
5597
|
if (null !== segment && segment.parentFlushed) {
|
5576
5598
|
if (null !== request.completedRootSegment)
|
@@ -5608,7 +5630,6 @@ function finishedTask(request, boundary, segment) {
|
|
5608
5630
|
1 === boundary.completedSegments.length &&
|
5609
5631
|
boundary.parentFlushed &&
|
5610
5632
|
request.partialBoundaries.push(boundary)));
|
5611
|
-
request.allPendingTasks--;
|
5612
5633
|
0 === request.allPendingTasks && completeAll(request);
|
5613
5634
|
}
|
5614
5635
|
function performWork(request$jscomp$2) {
|
@@ -6005,10 +6026,10 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
6005
6026
|
? ((completedSegments.instructions |= 8),
|
6006
6027
|
writeChunk(destination, completeBoundaryWithStylesScript1FullPartial))
|
6007
6028
|
: writeChunk(destination, completeBoundaryWithStylesScript1Partial))
|
6008
|
-
: 0 === (completedSegments.instructions & 2)
|
6009
|
-
|
6010
|
-
writeChunk(destination,
|
6011
|
-
|
6029
|
+
: (0 === (completedSegments.instructions & 2) &&
|
6030
|
+
((completedSegments.instructions |= 2),
|
6031
|
+
writeChunk(destination, completeBoundaryScriptFunctionOnly)),
|
6032
|
+
writeChunk(destination, completeBoundaryScript1Partial));
|
6012
6033
|
completedSegments = stringToChunk(i.toString(16));
|
6013
6034
|
writeChunk(destination, request.boundaryPrefix);
|
6014
6035
|
writeChunk(destination, completedSegments);
|
@@ -6382,12 +6403,12 @@ function abort(request, reason) {
|
|
6382
6403
|
}
|
6383
6404
|
function ensureCorrectIsomorphicReactVersion() {
|
6384
6405
|
var isomorphicReactPackageVersion = React.version;
|
6385
|
-
if ("19.2.0-canary-
|
6406
|
+
if ("19.2.0-canary-462d08f9-20250517" !== isomorphicReactPackageVersion)
|
6386
6407
|
throw Error(
|
6387
6408
|
formatProdErrorMessage(
|
6388
6409
|
527,
|
6389
6410
|
isomorphicReactPackageVersion,
|
6390
|
-
"19.2.0-canary-
|
6411
|
+
"19.2.0-canary-462d08f9-20250517"
|
6391
6412
|
)
|
6392
6413
|
);
|
6393
6414
|
}
|
@@ -6534,4 +6555,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6534
6555
|
startWork(request);
|
6535
6556
|
});
|
6536
6557
|
};
|
6537
|
-
exports.version = "19.2.0-canary-
|
6558
|
+
exports.version = "19.2.0-canary-462d08f9-20250517";
|