react-dom 19.3.0-canary-c7862584-20251006 → 19.3.0-canary-a4eb2dfa-20251006
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 +3068 -789
- package/cjs/react-dom-client.production.js +2657 -669
- package/cjs/react-dom-profiling.development.js +3067 -788
- package/cjs/react-dom-profiling.profiling.js +2879 -824
- package/cjs/react-dom-server-legacy.browser.development.js +153 -42
- package/cjs/react-dom-server-legacy.browser.production.js +476 -323
- package/cjs/react-dom-server-legacy.node.development.js +153 -42
- package/cjs/react-dom-server-legacy.node.production.js +476 -323
- package/cjs/react-dom-server.browser.development.js +230 -52
- package/cjs/react-dom-server.browser.production.js +530 -308
- package/cjs/react-dom-server.bun.development.js +225 -48
- package/cjs/react-dom-server.bun.production.js +527 -305
- package/cjs/react-dom-server.edge.development.js +230 -52
- package/cjs/react-dom-server.edge.production.js +530 -308
- package/cjs/react-dom-server.node.development.js +226 -46
- package/cjs/react-dom-server.node.production.js +524 -302
- 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
|
@@ -702,7 +702,8 @@ function getChildFormatContext(parentContext, type, props) {
|
|
|
702
702
|
}
|
|
703
703
|
return 6 <= parentContext.insertionMode || 2 > parentContext.insertionMode
|
|
704
704
|
? createFormatContext(2, null, subtreeScope, null)
|
|
705
|
-
: parentContext.
|
|
705
|
+
: null !== parentContext.viewTransition ||
|
|
706
|
+
parentContext.tagScope !== subtreeScope
|
|
706
707
|
? createFormatContext(
|
|
707
708
|
parentContext.insertionMode,
|
|
708
709
|
parentContext.selectedValue,
|
|
@@ -746,6 +747,11 @@ function getSuspenseContentFormatContext(resumableState, parentContext) {
|
|
|
746
747
|
resumableState
|
|
747
748
|
);
|
|
748
749
|
}
|
|
750
|
+
function makeId(resumableState, treeId, localId) {
|
|
751
|
+
resumableState = "_" + resumableState.idPrefix + "R_" + treeId;
|
|
752
|
+
0 < localId && (resumableState += "H" + localId.toString(32));
|
|
753
|
+
return resumableState + "_";
|
|
754
|
+
}
|
|
749
755
|
var textSeparator = stringToPrecomputedChunk("\x3c!-- --\x3e");
|
|
750
756
|
function pushTextInstance(target, text, renderState, textEmbedded) {
|
|
751
757
|
if ("" === text) return textEmbedded;
|
|
@@ -753,6 +759,26 @@ function pushTextInstance(target, text, renderState, textEmbedded) {
|
|
|
753
759
|
target.push(stringToChunk(escapeTextForBrowser(text)));
|
|
754
760
|
return !0;
|
|
755
761
|
}
|
|
762
|
+
function pushViewTransitionAttributes(target, formatContext) {
|
|
763
|
+
formatContext = formatContext.viewTransition;
|
|
764
|
+
null !== formatContext &&
|
|
765
|
+
("auto" !== formatContext.name &&
|
|
766
|
+
(pushStringAttribute(
|
|
767
|
+
target,
|
|
768
|
+
"vt-name",
|
|
769
|
+
0 === formatContext.nameIdx
|
|
770
|
+
? formatContext.name
|
|
771
|
+
: formatContext.name + "_" + formatContext.nameIdx
|
|
772
|
+
),
|
|
773
|
+
formatContext.nameIdx++),
|
|
774
|
+
pushStringAttribute(target, "vt-update", formatContext.update),
|
|
775
|
+
"none" !== formatContext.enter &&
|
|
776
|
+
pushStringAttribute(target, "vt-enter", formatContext.enter),
|
|
777
|
+
"none" !== formatContext.exit &&
|
|
778
|
+
pushStringAttribute(target, "vt-exit", formatContext.exit),
|
|
779
|
+
"none" !== formatContext.share &&
|
|
780
|
+
pushStringAttribute(target, "vt-share", formatContext.share));
|
|
781
|
+
}
|
|
756
782
|
var styleNameCache = new Map(),
|
|
757
783
|
styleAttributeStart = stringToPrecomputedChunk(' style="'),
|
|
758
784
|
styleAssign = stringToPrecomputedChunk(":"),
|
|
@@ -1185,7 +1211,7 @@ var styleRegex = /(<\/|<)(s)(tyle)/gi;
|
|
|
1185
1211
|
function styleReplacer(match, prefix, s, suffix) {
|
|
1186
1212
|
return "" + prefix + ("s" === s ? "\\73 " : "\\53 ") + suffix;
|
|
1187
1213
|
}
|
|
1188
|
-
function pushSelfClosing(target, props, tag) {
|
|
1214
|
+
function pushSelfClosing(target, props, tag, formatContext) {
|
|
1189
1215
|
target.push(startChunkForTag(tag));
|
|
1190
1216
|
for (var propKey in props)
|
|
1191
1217
|
if (hasOwnProperty.call(props, propKey)) {
|
|
@@ -1199,6 +1225,7 @@ function pushSelfClosing(target, props, tag) {
|
|
|
1199
1225
|
pushAttribute(target, propKey, propValue);
|
|
1200
1226
|
}
|
|
1201
1227
|
}
|
|
1228
|
+
pushViewTransitionAttributes(target, formatContext);
|
|
1202
1229
|
target.push(endOfStartTagSelfClosing);
|
|
1203
1230
|
return null;
|
|
1204
1231
|
}
|
|
@@ -1270,7 +1297,7 @@ function pushScriptImpl(target, props) {
|
|
|
1270
1297
|
target.push(endChunkForTag("script"));
|
|
1271
1298
|
return null;
|
|
1272
1299
|
}
|
|
1273
|
-
function pushStartSingletonElement(target, props, tag) {
|
|
1300
|
+
function pushStartSingletonElement(target, props, tag, formatContext) {
|
|
1274
1301
|
target.push(startChunkForTag(tag));
|
|
1275
1302
|
var innerHTML = (tag = null),
|
|
1276
1303
|
propKey;
|
|
@@ -1289,11 +1316,12 @@ function pushStartSingletonElement(target, props, tag) {
|
|
|
1289
1316
|
pushAttribute(target, propKey, propValue);
|
|
1290
1317
|
}
|
|
1291
1318
|
}
|
|
1319
|
+
pushViewTransitionAttributes(target, formatContext);
|
|
1292
1320
|
target.push(endOfStartTag);
|
|
1293
1321
|
pushInnerHTML(target, innerHTML, tag);
|
|
1294
1322
|
return tag;
|
|
1295
1323
|
}
|
|
1296
|
-
function pushStartGenericElement(target, props, tag) {
|
|
1324
|
+
function pushStartGenericElement(target, props, tag, formatContext) {
|
|
1297
1325
|
target.push(startChunkForTag(tag));
|
|
1298
1326
|
var innerHTML = (tag = null),
|
|
1299
1327
|
propKey;
|
|
@@ -1312,6 +1340,7 @@ function pushStartGenericElement(target, props, tag) {
|
|
|
1312
1340
|
pushAttribute(target, propKey, propValue);
|
|
1313
1341
|
}
|
|
1314
1342
|
}
|
|
1343
|
+
pushViewTransitionAttributes(target, formatContext);
|
|
1315
1344
|
target.push(endOfStartTag);
|
|
1316
1345
|
pushInnerHTML(target, innerHTML, tag);
|
|
1317
1346
|
return "string" === typeof tag
|
|
@@ -1374,6 +1403,7 @@ function pushStartInstance(
|
|
|
1374
1403
|
pushAttribute(target$jscomp$0, propKey, propValue);
|
|
1375
1404
|
}
|
|
1376
1405
|
}
|
|
1406
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1377
1407
|
target$jscomp$0.push(endOfStartTag);
|
|
1378
1408
|
pushInnerHTML(target$jscomp$0, innerHTML, children);
|
|
1379
1409
|
if ("string" === typeof children) {
|
|
@@ -1412,6 +1442,7 @@ function pushStartInstance(
|
|
|
1412
1442
|
);
|
|
1413
1443
|
}
|
|
1414
1444
|
}
|
|
1445
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1415
1446
|
target$jscomp$0.push(endOfStartTag);
|
|
1416
1447
|
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$0, children$jscomp$0);
|
|
1417
1448
|
return children$jscomp$0;
|
|
@@ -1499,6 +1530,7 @@ function pushStartInstance(
|
|
|
1499
1530
|
null === value$jscomp$0 &&
|
|
1500
1531
|
null !== defaultValue &&
|
|
1501
1532
|
(value$jscomp$0 = defaultValue);
|
|
1533
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1502
1534
|
target$jscomp$0.push(endOfStartTag);
|
|
1503
1535
|
if (null != children$jscomp$2) {
|
|
1504
1536
|
if (null != value$jscomp$0) throw Error(formatProdErrorMessage(92));
|
|
@@ -1590,6 +1622,7 @@ function pushStartInstance(
|
|
|
1590
1622
|
? pushAttribute(target$jscomp$0, "value", value$jscomp$1)
|
|
1591
1623
|
: null !== defaultValue$jscomp$0 &&
|
|
1592
1624
|
pushAttribute(target$jscomp$0, "value", defaultValue$jscomp$0);
|
|
1625
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1593
1626
|
target$jscomp$0.push(endOfStartTagSelfClosing);
|
|
1594
1627
|
null != formData &&
|
|
1595
1628
|
formData.forEach(pushAdditionalFormField, target$jscomp$0);
|
|
@@ -1648,6 +1681,7 @@ function pushStartInstance(
|
|
|
1648
1681
|
formTarget$jscomp$0,
|
|
1649
1682
|
name$jscomp$0
|
|
1650
1683
|
);
|
|
1684
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1651
1685
|
target$jscomp$0.push(endOfStartTag);
|
|
1652
1686
|
null != formData$jscomp$0 &&
|
|
1653
1687
|
formData$jscomp$0.forEach(pushAdditionalFormField, target$jscomp$0);
|
|
@@ -1735,6 +1769,7 @@ function pushStartInstance(
|
|
|
1735
1769
|
pushAttribute(target$jscomp$0, "method", formMethod$jscomp$1);
|
|
1736
1770
|
null != formTarget$jscomp$1 &&
|
|
1737
1771
|
pushAttribute(target$jscomp$0, "target", formTarget$jscomp$1);
|
|
1772
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1738
1773
|
target$jscomp$0.push(endOfStartTag);
|
|
1739
1774
|
null !== formActionName &&
|
|
1740
1775
|
(target$jscomp$0.push(startHiddenInputChunk),
|
|
@@ -1768,6 +1803,7 @@ function pushStartInstance(
|
|
|
1768
1803
|
);
|
|
1769
1804
|
}
|
|
1770
1805
|
}
|
|
1806
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1771
1807
|
target$jscomp$0.push(endOfStartTag);
|
|
1772
1808
|
return null;
|
|
1773
1809
|
case "object":
|
|
@@ -1805,6 +1841,7 @@ function pushStartInstance(
|
|
|
1805
1841
|
);
|
|
1806
1842
|
}
|
|
1807
1843
|
}
|
|
1844
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1808
1845
|
target$jscomp$0.push(endOfStartTag);
|
|
1809
1846
|
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$4, children$jscomp$5);
|
|
1810
1847
|
if ("string" === typeof children$jscomp$5) {
|
|
@@ -2086,17 +2123,33 @@ function pushStartInstance(
|
|
|
2086
2123
|
var JSCompiler_inline_result$jscomp$7 = pushSelfClosing(
|
|
2087
2124
|
target$jscomp$0,
|
|
2088
2125
|
props,
|
|
2089
|
-
"meta"
|
|
2126
|
+
"meta",
|
|
2127
|
+
formatContext
|
|
2090
2128
|
);
|
|
2091
2129
|
else
|
|
2092
2130
|
textEmbedded && target$jscomp$0.push(textSeparator),
|
|
2093
2131
|
(JSCompiler_inline_result$jscomp$7 = isFallback$jscomp$1
|
|
2094
2132
|
? null
|
|
2095
2133
|
: "string" === typeof props.charSet
|
|
2096
|
-
? pushSelfClosing(
|
|
2134
|
+
? pushSelfClosing(
|
|
2135
|
+
renderState.charsetChunks,
|
|
2136
|
+
props,
|
|
2137
|
+
"meta",
|
|
2138
|
+
formatContext
|
|
2139
|
+
)
|
|
2097
2140
|
: "viewport" === props.name
|
|
2098
|
-
? pushSelfClosing(
|
|
2099
|
-
|
|
2141
|
+
? pushSelfClosing(
|
|
2142
|
+
renderState.viewportChunks,
|
|
2143
|
+
props,
|
|
2144
|
+
"meta",
|
|
2145
|
+
formatContext
|
|
2146
|
+
)
|
|
2147
|
+
: pushSelfClosing(
|
|
2148
|
+
renderState.hoistableChunks,
|
|
2149
|
+
props,
|
|
2150
|
+
"meta",
|
|
2151
|
+
formatContext
|
|
2152
|
+
));
|
|
2100
2153
|
return JSCompiler_inline_result$jscomp$7;
|
|
2101
2154
|
case "listing":
|
|
2102
2155
|
case "pre":
|
|
@@ -2123,6 +2176,7 @@ function pushStartInstance(
|
|
|
2123
2176
|
);
|
|
2124
2177
|
}
|
|
2125
2178
|
}
|
|
2179
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
2126
2180
|
target$jscomp$0.push(endOfStartTag);
|
|
2127
2181
|
if (null != innerHTML$jscomp$7) {
|
|
2128
2182
|
if (null != children$jscomp$8) throw Error(formatProdErrorMessage(60));
|
|
@@ -2234,7 +2288,7 @@ function pushStartInstance(
|
|
|
2234
2288
|
promotablePreloads.set(key$jscomp$0, resource$jscomp$1)));
|
|
2235
2289
|
}
|
|
2236
2290
|
}
|
|
2237
|
-
return pushSelfClosing(target$jscomp$0, props, "img");
|
|
2291
|
+
return pushSelfClosing(target$jscomp$0, props, "img", formatContext);
|
|
2238
2292
|
case "base":
|
|
2239
2293
|
case "area":
|
|
2240
2294
|
case "br":
|
|
@@ -2246,7 +2300,7 @@ function pushStartInstance(
|
|
|
2246
2300
|
case "source":
|
|
2247
2301
|
case "track":
|
|
2248
2302
|
case "wbr":
|
|
2249
|
-
return pushSelfClosing(target$jscomp$0, props, type);
|
|
2303
|
+
return pushSelfClosing(target$jscomp$0, props, type, formatContext);
|
|
2250
2304
|
case "annotation-xml":
|
|
2251
2305
|
case "color-profile":
|
|
2252
2306
|
case "font-face":
|
|
@@ -2267,13 +2321,15 @@ function pushStartInstance(
|
|
|
2267
2321
|
var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
|
|
2268
2322
|
preamble.headChunks,
|
|
2269
2323
|
props,
|
|
2270
|
-
"head"
|
|
2324
|
+
"head",
|
|
2325
|
+
formatContext
|
|
2271
2326
|
);
|
|
2272
2327
|
} else
|
|
2273
2328
|
JSCompiler_inline_result$jscomp$9 = pushStartGenericElement(
|
|
2274
2329
|
target$jscomp$0,
|
|
2275
2330
|
props,
|
|
2276
|
-
"head"
|
|
2331
|
+
"head",
|
|
2332
|
+
formatContext
|
|
2277
2333
|
);
|
|
2278
2334
|
return JSCompiler_inline_result$jscomp$9;
|
|
2279
2335
|
case "body":
|
|
@@ -2287,13 +2343,15 @@ function pushStartInstance(
|
|
|
2287
2343
|
var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
|
|
2288
2344
|
preamble$jscomp$0.bodyChunks,
|
|
2289
2345
|
props,
|
|
2290
|
-
"body"
|
|
2346
|
+
"body",
|
|
2347
|
+
formatContext
|
|
2291
2348
|
);
|
|
2292
2349
|
} else
|
|
2293
2350
|
JSCompiler_inline_result$jscomp$10 = pushStartGenericElement(
|
|
2294
2351
|
target$jscomp$0,
|
|
2295
2352
|
props,
|
|
2296
|
-
"body"
|
|
2353
|
+
"body",
|
|
2354
|
+
formatContext
|
|
2297
2355
|
);
|
|
2298
2356
|
return JSCompiler_inline_result$jscomp$10;
|
|
2299
2357
|
case "html":
|
|
@@ -2307,13 +2365,15 @@ function pushStartInstance(
|
|
|
2307
2365
|
var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
|
|
2308
2366
|
preamble$jscomp$1.htmlChunks,
|
|
2309
2367
|
props,
|
|
2310
|
-
"html"
|
|
2368
|
+
"html",
|
|
2369
|
+
formatContext
|
|
2311
2370
|
);
|
|
2312
2371
|
} else
|
|
2313
2372
|
JSCompiler_inline_result$jscomp$11 = pushStartGenericElement(
|
|
2314
2373
|
target$jscomp$0,
|
|
2315
2374
|
props,
|
|
2316
|
-
"html"
|
|
2375
|
+
"html",
|
|
2376
|
+
formatContext
|
|
2317
2377
|
);
|
|
2318
2378
|
return JSCompiler_inline_result$jscomp$11;
|
|
2319
2379
|
default:
|
|
@@ -2363,12 +2423,13 @@ function pushStartInstance(
|
|
|
2363
2423
|
}
|
|
2364
2424
|
}
|
|
2365
2425
|
}
|
|
2426
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
2366
2427
|
target$jscomp$0.push(endOfStartTag);
|
|
2367
2428
|
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$8, children$jscomp$9);
|
|
2368
2429
|
return children$jscomp$9;
|
|
2369
2430
|
}
|
|
2370
2431
|
}
|
|
2371
|
-
return pushStartGenericElement(target$jscomp$0, props, type);
|
|
2432
|
+
return pushStartGenericElement(target$jscomp$0, props, type, formatContext);
|
|
2372
2433
|
}
|
|
2373
2434
|
var endTagCache = new Map();
|
|
2374
2435
|
function endChunkForTag(tag) {
|
|
@@ -2549,12 +2610,12 @@ var completeSegmentScript1Full = stringToPrecomputedChunk(
|
|
|
2549
2610
|
stringToPrecomputedChunk('<template data-rsi="" data-sid="');
|
|
2550
2611
|
stringToPrecomputedChunk('" data-pid="');
|
|
2551
2612
|
var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
|
|
2552
|
-
|
|
2553
|
-
)
|
|
2554
|
-
stringToChunk(
|
|
2555
|
-
|
|
2556
|
-
)
|
|
2557
|
-
|
|
2613
|
+
'$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};'
|
|
2614
|
+
),
|
|
2615
|
+
completeBoundaryUpgradeToViewTransitionsInstruction = stringToChunk(
|
|
2616
|
+
'$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),\nH=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(B){var z=\ndocument.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=\nperformance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);'
|
|
2617
|
+
),
|
|
2618
|
+
completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
|
|
2558
2619
|
completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
|
|
2559
2620
|
'$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("'
|
|
2560
2621
|
),
|
|
@@ -3304,6 +3365,8 @@ function getComponentNameFromType(type) {
|
|
|
3304
3365
|
return "SuspenseList";
|
|
3305
3366
|
case REACT_ACTIVITY_TYPE:
|
|
3306
3367
|
return "Activity";
|
|
3368
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
3369
|
+
return "ViewTransition";
|
|
3307
3370
|
}
|
|
3308
3371
|
if ("object" === typeof type)
|
|
3309
3372
|
switch (type.$$typeof) {
|
|
@@ -3405,6 +3468,11 @@ var classComponentUpdater = {
|
|
|
3405
3468
|
enqueueForceUpdate: function () {}
|
|
3406
3469
|
},
|
|
3407
3470
|
emptyTreeContext = { id: 1, overflow: "" };
|
|
3471
|
+
function getTreeId(context) {
|
|
3472
|
+
var overflow = context.overflow;
|
|
3473
|
+
context = context.id;
|
|
3474
|
+
return (context & ~(1 << (32 - clz32(context) - 1))).toString(32) + overflow;
|
|
3475
|
+
}
|
|
3408
3476
|
function pushTreeContext(baseContext, totalChildren, index) {
|
|
3409
3477
|
var baseIdWithLeadingBit = baseContext.id;
|
|
3410
3478
|
baseContext = baseContext.overflow;
|
|
@@ -3753,21 +3821,11 @@ var HooksDispatcher = {
|
|
|
3753
3821
|
return [!1, unsupportedStartTransition];
|
|
3754
3822
|
},
|
|
3755
3823
|
useId: function () {
|
|
3756
|
-
var
|
|
3757
|
-
|
|
3758
|
-
JSCompiler_inline_result = JSCompiler_inline_result.id;
|
|
3759
|
-
JSCompiler_inline_result =
|
|
3760
|
-
(
|
|
3761
|
-
JSCompiler_inline_result &
|
|
3762
|
-
~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
|
|
3763
|
-
).toString(32) + overflow;
|
|
3764
|
-
var resumableState = currentResumableState;
|
|
3824
|
+
var treeId = getTreeId(currentlyRenderingTask.treeContext),
|
|
3825
|
+
resumableState = currentResumableState;
|
|
3765
3826
|
if (null === resumableState) throw Error(formatProdErrorMessage(404));
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
"_" + resumableState.idPrefix + "R_" + JSCompiler_inline_result;
|
|
3769
|
-
0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
|
|
3770
|
-
return JSCompiler_inline_result + "_";
|
|
3827
|
+
var localId = localIdCounter++;
|
|
3828
|
+
return makeId(resumableState, treeId, localId);
|
|
3771
3829
|
},
|
|
3772
3830
|
useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
|
|
3773
3831
|
if (void 0 === getServerSnapshot)
|
|
@@ -4017,9 +4075,28 @@ function describeComponentStackByType(type) {
|
|
|
4017
4075
|
return describeBuiltInComponentFrame("SuspenseList");
|
|
4018
4076
|
case REACT_SUSPENSE_TYPE:
|
|
4019
4077
|
return describeBuiltInComponentFrame("Suspense");
|
|
4078
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
4079
|
+
return describeBuiltInComponentFrame("ViewTransition");
|
|
4020
4080
|
}
|
|
4021
4081
|
return "";
|
|
4022
4082
|
}
|
|
4083
|
+
function getViewTransitionClassName(defaultClass, eventClass) {
|
|
4084
|
+
defaultClass =
|
|
4085
|
+
null == defaultClass || "string" === typeof defaultClass
|
|
4086
|
+
? defaultClass
|
|
4087
|
+
: defaultClass.default;
|
|
4088
|
+
eventClass =
|
|
4089
|
+
null == eventClass || "string" === typeof eventClass
|
|
4090
|
+
? eventClass
|
|
4091
|
+
: eventClass.default;
|
|
4092
|
+
return null == eventClass
|
|
4093
|
+
? "auto" === defaultClass
|
|
4094
|
+
? null
|
|
4095
|
+
: defaultClass
|
|
4096
|
+
: "auto" === eventClass
|
|
4097
|
+
? null
|
|
4098
|
+
: eventClass;
|
|
4099
|
+
}
|
|
4023
4100
|
function isEligibleForOutlining(request, boundary) {
|
|
4024
4101
|
return (
|
|
4025
4102
|
(500 < boundary.byteSize || hasSuspenseyContent(boundary.contentState)) &&
|
|
@@ -4750,109 +4827,139 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4750
4827
|
void 0 === newProps[propName$44] &&
|
|
4751
4828
|
(newProps[propName$44] = defaultProps[propName$44]);
|
|
4752
4829
|
}
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
"object" === typeof
|
|
4757
|
-
null !==
|
|
4758
|
-
(
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4830
|
+
var JSCompiler_inline_result = newProps;
|
|
4831
|
+
var context = emptyContextObject,
|
|
4832
|
+
contextType = type.contextType;
|
|
4833
|
+
"object" === typeof contextType &&
|
|
4834
|
+
null !== contextType &&
|
|
4835
|
+
(context = contextType._currentValue);
|
|
4836
|
+
var JSCompiler_inline_result$jscomp$0 = new type(
|
|
4837
|
+
JSCompiler_inline_result,
|
|
4838
|
+
context
|
|
4839
|
+
);
|
|
4840
|
+
var initialState =
|
|
4841
|
+
void 0 !== JSCompiler_inline_result$jscomp$0.state
|
|
4842
|
+
? JSCompiler_inline_result$jscomp$0.state
|
|
4843
|
+
: null;
|
|
4844
|
+
JSCompiler_inline_result$jscomp$0.updater = classComponentUpdater;
|
|
4845
|
+
JSCompiler_inline_result$jscomp$0.props = JSCompiler_inline_result;
|
|
4846
|
+
JSCompiler_inline_result$jscomp$0.state = initialState;
|
|
4847
|
+
var internalInstance = { queue: [], replace: !1 };
|
|
4848
|
+
JSCompiler_inline_result$jscomp$0._reactInternals = internalInstance;
|
|
4849
|
+
var contextType$jscomp$0 = type.contextType;
|
|
4850
|
+
JSCompiler_inline_result$jscomp$0.context =
|
|
4851
|
+
"object" === typeof contextType$jscomp$0 &&
|
|
4852
|
+
null !== contextType$jscomp$0
|
|
4853
|
+
? contextType$jscomp$0._currentValue
|
|
4770
4854
|
: emptyContextObject;
|
|
4771
|
-
|
|
4772
|
-
"function" === typeof
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4855
|
+
var getDerivedStateFromProps = type.getDerivedStateFromProps;
|
|
4856
|
+
if ("function" === typeof getDerivedStateFromProps) {
|
|
4857
|
+
var partialState = getDerivedStateFromProps(
|
|
4858
|
+
JSCompiler_inline_result,
|
|
4859
|
+
initialState
|
|
4860
|
+
);
|
|
4861
|
+
var JSCompiler_inline_result$jscomp$1 =
|
|
4862
|
+
null === partialState || void 0 === partialState
|
|
4776
4863
|
? initialState
|
|
4777
|
-
: assign({}, initialState,
|
|
4778
|
-
|
|
4864
|
+
: assign({}, initialState, partialState);
|
|
4865
|
+
JSCompiler_inline_result$jscomp$0.state =
|
|
4866
|
+
JSCompiler_inline_result$jscomp$1;
|
|
4867
|
+
}
|
|
4779
4868
|
if (
|
|
4780
4869
|
"function" !== typeof type.getDerivedStateFromProps &&
|
|
4781
|
-
"function" !==
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4870
|
+
"function" !==
|
|
4871
|
+
typeof JSCompiler_inline_result$jscomp$0.getSnapshotBeforeUpdate &&
|
|
4872
|
+
("function" ===
|
|
4873
|
+
typeof JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount ||
|
|
4874
|
+
"function" ===
|
|
4875
|
+
typeof JSCompiler_inline_result$jscomp$0.componentWillMount)
|
|
4876
|
+
) {
|
|
4877
|
+
var oldState = JSCompiler_inline_result$jscomp$0.state;
|
|
4878
|
+
"function" ===
|
|
4879
|
+
typeof JSCompiler_inline_result$jscomp$0.componentWillMount &&
|
|
4880
|
+
JSCompiler_inline_result$jscomp$0.componentWillMount();
|
|
4881
|
+
"function" ===
|
|
4882
|
+
typeof JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount &&
|
|
4883
|
+
JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount();
|
|
4884
|
+
oldState !== JSCompiler_inline_result$jscomp$0.state &&
|
|
4885
|
+
classComponentUpdater.enqueueReplaceState(
|
|
4886
|
+
JSCompiler_inline_result$jscomp$0,
|
|
4887
|
+
JSCompiler_inline_result$jscomp$0.state,
|
|
4888
|
+
null
|
|
4889
|
+
);
|
|
4785
4890
|
if (
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
null
|
|
4796
|
-
),
|
|
4797
|
-
null !== defaultProps.queue && 0 < defaultProps.queue.length)
|
|
4798
|
-
)
|
|
4799
|
-
if (
|
|
4800
|
-
((type = defaultProps.queue),
|
|
4801
|
-
(ref = defaultProps.replace),
|
|
4802
|
-
(defaultProps.queue = null),
|
|
4803
|
-
(defaultProps.replace = !1),
|
|
4804
|
-
ref && 1 === type.length)
|
|
4805
|
-
)
|
|
4806
|
-
newProps.state = type[0];
|
|
4891
|
+
null !== internalInstance.queue &&
|
|
4892
|
+
0 < internalInstance.queue.length
|
|
4893
|
+
) {
|
|
4894
|
+
var oldQueue = internalInstance.queue,
|
|
4895
|
+
oldReplace = internalInstance.replace;
|
|
4896
|
+
internalInstance.queue = null;
|
|
4897
|
+
internalInstance.replace = !1;
|
|
4898
|
+
if (oldReplace && 1 === oldQueue.length)
|
|
4899
|
+
JSCompiler_inline_result$jscomp$0.state = oldQueue[0];
|
|
4807
4900
|
else {
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4901
|
+
for (
|
|
4902
|
+
var nextState = oldReplace
|
|
4903
|
+
? oldQueue[0]
|
|
4904
|
+
: JSCompiler_inline_result$jscomp$0.state,
|
|
4905
|
+
dontMutate = !0,
|
|
4906
|
+
i = oldReplace ? 1 : 0;
|
|
4907
|
+
i < oldQueue.length;
|
|
4908
|
+
i++
|
|
4909
|
+
) {
|
|
4910
|
+
var partial = oldQueue[i],
|
|
4911
|
+
partialState$jscomp$0 =
|
|
4912
|
+
"function" === typeof partial
|
|
4913
|
+
? partial.call(
|
|
4914
|
+
JSCompiler_inline_result$jscomp$0,
|
|
4915
|
+
nextState,
|
|
4916
|
+
JSCompiler_inline_result,
|
|
4917
|
+
void 0
|
|
4918
|
+
)
|
|
4919
|
+
: partial;
|
|
4920
|
+
null != partialState$jscomp$0 &&
|
|
4921
|
+
(dontMutate
|
|
4922
|
+
? ((dontMutate = !1),
|
|
4923
|
+
(nextState = assign({}, nextState, partialState$jscomp$0)))
|
|
4924
|
+
: assign(nextState, partialState$jscomp$0));
|
|
4925
|
+
}
|
|
4926
|
+
JSCompiler_inline_result$jscomp$0.state = nextState;
|
|
4822
4927
|
}
|
|
4823
|
-
else
|
|
4824
|
-
|
|
4928
|
+
} else internalInstance.queue = null;
|
|
4929
|
+
}
|
|
4930
|
+
var nextChildren = JSCompiler_inline_result$jscomp$0.render();
|
|
4825
4931
|
if (12 === request.status) throw null;
|
|
4826
|
-
|
|
4932
|
+
var prevKeyPath = task.keyPath;
|
|
4827
4933
|
task.keyPath = keyPath;
|
|
4828
|
-
renderNodeDestructive(request, task,
|
|
4829
|
-
task.keyPath =
|
|
4934
|
+
renderNodeDestructive(request, task, nextChildren, -1);
|
|
4935
|
+
task.keyPath = prevKeyPath;
|
|
4830
4936
|
} else {
|
|
4831
|
-
|
|
4937
|
+
var value = renderWithHooks(request, task, keyPath, type, props, void 0);
|
|
4832
4938
|
if (12 === request.status) throw null;
|
|
4833
4939
|
finishFunctionComponent(
|
|
4834
4940
|
request,
|
|
4835
4941
|
task,
|
|
4836
4942
|
keyPath,
|
|
4837
|
-
|
|
4943
|
+
value,
|
|
4838
4944
|
0 !== localIdCounter,
|
|
4839
4945
|
actionStateCounter,
|
|
4840
4946
|
actionStateMatchingIndex
|
|
4841
4947
|
);
|
|
4842
4948
|
}
|
|
4843
|
-
else if ("string" === typeof type)
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4949
|
+
else if ("string" === typeof type) {
|
|
4950
|
+
var segment = task.blockedSegment;
|
|
4951
|
+
if (null === segment) {
|
|
4952
|
+
var children = props.children,
|
|
4953
|
+
prevContext = task.formatContext,
|
|
4954
|
+
prevKeyPath$jscomp$0 = task.keyPath;
|
|
4955
|
+
task.formatContext = getChildFormatContext(prevContext, type, props);
|
|
4956
|
+
task.keyPath = keyPath;
|
|
4957
|
+
renderNode(request, task, children, -1);
|
|
4958
|
+
task.formatContext = prevContext;
|
|
4959
|
+
task.keyPath = prevKeyPath$jscomp$0;
|
|
4960
|
+
} else {
|
|
4961
|
+
var children$41 = pushStartInstance(
|
|
4962
|
+
segment.chunks,
|
|
4856
4963
|
type,
|
|
4857
4964
|
props,
|
|
4858
4965
|
request.resumableState,
|
|
@@ -4860,18 +4967,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4860
4967
|
task.blockedPreamble,
|
|
4861
4968
|
task.hoistableState,
|
|
4862
4969
|
task.formatContext,
|
|
4863
|
-
|
|
4970
|
+
segment.lastPushedText
|
|
4864
4971
|
);
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4972
|
+
segment.lastPushedText = !1;
|
|
4973
|
+
var prevContext$42 = task.formatContext,
|
|
4974
|
+
prevKeyPath$43 = task.keyPath;
|
|
4868
4975
|
task.keyPath = keyPath;
|
|
4869
4976
|
if (
|
|
4870
4977
|
3 ===
|
|
4871
|
-
(task.formatContext = getChildFormatContext(
|
|
4872
|
-
|
|
4978
|
+
(task.formatContext = getChildFormatContext(
|
|
4979
|
+
prevContext$42,
|
|
4980
|
+
type,
|
|
4981
|
+
props
|
|
4982
|
+
)).insertionMode
|
|
4873
4983
|
) {
|
|
4874
|
-
|
|
4984
|
+
var preambleSegment = createPendingSegment(
|
|
4875
4985
|
request,
|
|
4876
4986
|
0,
|
|
4877
4987
|
null,
|
|
@@ -4879,25 +4989,25 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4879
4989
|
!1,
|
|
4880
4990
|
!1
|
|
4881
4991
|
);
|
|
4882
|
-
|
|
4883
|
-
task.blockedSegment =
|
|
4992
|
+
segment.preambleChildren.push(preambleSegment);
|
|
4993
|
+
task.blockedSegment = preambleSegment;
|
|
4884
4994
|
try {
|
|
4885
|
-
(
|
|
4886
|
-
renderNode(request, task,
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
(
|
|
4891
|
-
finishedSegment(request, task.blockedBoundary,
|
|
4995
|
+
(preambleSegment.status = 6),
|
|
4996
|
+
renderNode(request, task, children$41, -1),
|
|
4997
|
+
preambleSegment.lastPushedText &&
|
|
4998
|
+
preambleSegment.textEmbedded &&
|
|
4999
|
+
preambleSegment.chunks.push(textSeparator),
|
|
5000
|
+
(preambleSegment.status = 1),
|
|
5001
|
+
finishedSegment(request, task.blockedBoundary, preambleSegment);
|
|
4892
5002
|
} finally {
|
|
4893
|
-
task.blockedSegment =
|
|
5003
|
+
task.blockedSegment = segment;
|
|
4894
5004
|
}
|
|
4895
|
-
} else renderNode(request, task,
|
|
4896
|
-
task.formatContext =
|
|
4897
|
-
task.keyPath =
|
|
5005
|
+
} else renderNode(request, task, children$41, -1);
|
|
5006
|
+
task.formatContext = prevContext$42;
|
|
5007
|
+
task.keyPath = prevKeyPath$43;
|
|
4898
5008
|
a: {
|
|
4899
|
-
|
|
4900
|
-
|
|
5009
|
+
var target = segment.chunks,
|
|
5010
|
+
resumableState = request.resumableState;
|
|
4901
5011
|
switch (type) {
|
|
4902
5012
|
case "title":
|
|
4903
5013
|
case "style":
|
|
@@ -4919,131 +5029,221 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4919
5029
|
case "wbr":
|
|
4920
5030
|
break a;
|
|
4921
5031
|
case "body":
|
|
4922
|
-
if (1 >=
|
|
4923
|
-
|
|
5032
|
+
if (1 >= prevContext$42.insertionMode) {
|
|
5033
|
+
resumableState.hasBody = !0;
|
|
4924
5034
|
break a;
|
|
4925
5035
|
}
|
|
4926
5036
|
break;
|
|
4927
5037
|
case "html":
|
|
4928
|
-
if (0 ===
|
|
4929
|
-
|
|
5038
|
+
if (0 === prevContext$42.insertionMode) {
|
|
5039
|
+
resumableState.hasHtml = !0;
|
|
4930
5040
|
break a;
|
|
4931
5041
|
}
|
|
4932
5042
|
break;
|
|
4933
5043
|
case "head":
|
|
4934
|
-
if (1 >=
|
|
5044
|
+
if (1 >= prevContext$42.insertionMode) break a;
|
|
4935
5045
|
}
|
|
4936
|
-
|
|
5046
|
+
target.push(endChunkForTag(type));
|
|
4937
5047
|
}
|
|
4938
|
-
|
|
5048
|
+
segment.lastPushedText = !1;
|
|
4939
5049
|
}
|
|
4940
|
-
else {
|
|
5050
|
+
} else {
|
|
4941
5051
|
switch (type) {
|
|
4942
5052
|
case REACT_LEGACY_HIDDEN_TYPE:
|
|
4943
5053
|
case REACT_STRICT_MODE_TYPE:
|
|
4944
5054
|
case REACT_PROFILER_TYPE:
|
|
4945
5055
|
case REACT_FRAGMENT_TYPE:
|
|
4946
|
-
|
|
5056
|
+
var prevKeyPath$jscomp$1 = task.keyPath;
|
|
4947
5057
|
task.keyPath = keyPath;
|
|
4948
5058
|
renderNodeDestructive(request, task, props.children, -1);
|
|
4949
|
-
task.keyPath =
|
|
5059
|
+
task.keyPath = prevKeyPath$jscomp$1;
|
|
4950
5060
|
return;
|
|
4951
5061
|
case REACT_ACTIVITY_TYPE:
|
|
4952
|
-
|
|
4953
|
-
null ===
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
renderNode(request, task, props.children, -1)
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
5062
|
+
var segment$jscomp$0 = task.blockedSegment;
|
|
5063
|
+
if (null === segment$jscomp$0) {
|
|
5064
|
+
if ("hidden" !== props.mode) {
|
|
5065
|
+
var prevKeyPath$jscomp$2 = task.keyPath;
|
|
5066
|
+
task.keyPath = keyPath;
|
|
5067
|
+
renderNode(request, task, props.children, -1);
|
|
5068
|
+
task.keyPath = prevKeyPath$jscomp$2;
|
|
5069
|
+
}
|
|
5070
|
+
} else if ("hidden" !== props.mode) {
|
|
5071
|
+
segment$jscomp$0.chunks.push(startActivityBoundary);
|
|
5072
|
+
segment$jscomp$0.lastPushedText = !1;
|
|
5073
|
+
var prevKeyPath$46 = task.keyPath;
|
|
5074
|
+
task.keyPath = keyPath;
|
|
5075
|
+
renderNode(request, task, props.children, -1);
|
|
5076
|
+
task.keyPath = prevKeyPath$46;
|
|
5077
|
+
segment$jscomp$0.chunks.push(endActivityBoundary);
|
|
5078
|
+
segment$jscomp$0.lastPushedText = !1;
|
|
5079
|
+
}
|
|
4968
5080
|
return;
|
|
4969
5081
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
4970
5082
|
a: {
|
|
4971
|
-
|
|
4972
|
-
|
|
5083
|
+
var children$jscomp$0 = props.children,
|
|
5084
|
+
revealOrder = props.revealOrder;
|
|
4973
5085
|
if (
|
|
4974
|
-
"forwards" ===
|
|
4975
|
-
"backwards" ===
|
|
4976
|
-
"unstable_legacy-backwards" ===
|
|
5086
|
+
"forwards" === revealOrder ||
|
|
5087
|
+
"backwards" === revealOrder ||
|
|
5088
|
+
"unstable_legacy-backwards" === revealOrder
|
|
4977
5089
|
) {
|
|
4978
|
-
if (isArrayImpl(
|
|
4979
|
-
renderSuspenseListRows(
|
|
5090
|
+
if (isArrayImpl(children$jscomp$0)) {
|
|
5091
|
+
renderSuspenseListRows(
|
|
5092
|
+
request,
|
|
5093
|
+
task,
|
|
5094
|
+
keyPath,
|
|
5095
|
+
children$jscomp$0,
|
|
5096
|
+
revealOrder
|
|
5097
|
+
);
|
|
4980
5098
|
break a;
|
|
4981
5099
|
}
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
5100
|
+
var iteratorFn = getIteratorFn(children$jscomp$0);
|
|
5101
|
+
if (iteratorFn) {
|
|
5102
|
+
var iterator = iteratorFn.call(children$jscomp$0);
|
|
5103
|
+
if (iterator) {
|
|
5104
|
+
var step = iterator.next();
|
|
5105
|
+
if (!step.done) {
|
|
5106
|
+
do step = iterator.next();
|
|
5107
|
+
while (!step.done);
|
|
5108
|
+
renderSuspenseListRows(
|
|
5109
|
+
request,
|
|
5110
|
+
task,
|
|
5111
|
+
keyPath,
|
|
5112
|
+
children$jscomp$0,
|
|
5113
|
+
revealOrder
|
|
5114
|
+
);
|
|
4989
5115
|
}
|
|
4990
5116
|
break a;
|
|
4991
5117
|
}
|
|
5118
|
+
}
|
|
5119
|
+
}
|
|
5120
|
+
if ("together" === revealOrder) {
|
|
5121
|
+
var prevKeyPath$40 = task.keyPath,
|
|
5122
|
+
prevRow = task.row,
|
|
5123
|
+
newRow = (task.row = createSuspenseListRow(null));
|
|
5124
|
+
newRow.boundaries = [];
|
|
5125
|
+
newRow.together = !0;
|
|
5126
|
+
task.keyPath = keyPath;
|
|
5127
|
+
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
5128
|
+
0 === --newRow.pendingTasks &&
|
|
5129
|
+
finishSuspenseListRow(request, newRow);
|
|
5130
|
+
task.keyPath = prevKeyPath$40;
|
|
5131
|
+
task.row = prevRow;
|
|
5132
|
+
null !== prevRow &&
|
|
5133
|
+
0 < newRow.pendingTasks &&
|
|
5134
|
+
(prevRow.pendingTasks++, (newRow.next = prevRow));
|
|
5135
|
+
} else {
|
|
5136
|
+
var prevKeyPath$jscomp$3 = task.keyPath;
|
|
5137
|
+
task.keyPath = keyPath;
|
|
5138
|
+
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
5139
|
+
task.keyPath = prevKeyPath$jscomp$3;
|
|
4992
5140
|
}
|
|
4993
|
-
"together" === props
|
|
4994
|
-
? ((props = task.keyPath),
|
|
4995
|
-
(newProps = task.row),
|
|
4996
|
-
(defaultProps = task.row = createSuspenseListRow(null)),
|
|
4997
|
-
(defaultProps.boundaries = []),
|
|
4998
|
-
(defaultProps.together = !0),
|
|
4999
|
-
(task.keyPath = keyPath),
|
|
5000
|
-
renderNodeDestructive(request, task, type, -1),
|
|
5001
|
-
0 === --defaultProps.pendingTasks &&
|
|
5002
|
-
finishSuspenseListRow(request, defaultProps),
|
|
5003
|
-
(task.keyPath = props),
|
|
5004
|
-
(task.row = newProps),
|
|
5005
|
-
null !== newProps &&
|
|
5006
|
-
0 < defaultProps.pendingTasks &&
|
|
5007
|
-
(newProps.pendingTasks++, (defaultProps.next = newProps)))
|
|
5008
|
-
: ((props = task.keyPath),
|
|
5009
|
-
(task.keyPath = keyPath),
|
|
5010
|
-
renderNodeDestructive(request, task, type, -1),
|
|
5011
|
-
(task.keyPath = props));
|
|
5012
5141
|
}
|
|
5013
5142
|
return;
|
|
5014
5143
|
case REACT_VIEW_TRANSITION_TYPE:
|
|
5144
|
+
var prevContext$jscomp$0 = task.formatContext,
|
|
5145
|
+
prevKeyPath$jscomp$4 = task.keyPath;
|
|
5146
|
+
var resumableState$jscomp$0 = request.resumableState;
|
|
5147
|
+
if (null != props.name && "auto" !== props.name)
|
|
5148
|
+
var JSCompiler_inline_result$jscomp$2 = props.name;
|
|
5149
|
+
else {
|
|
5150
|
+
var treeId = getTreeId(task.treeContext);
|
|
5151
|
+
JSCompiler_inline_result$jscomp$2 = makeId(
|
|
5152
|
+
resumableState$jscomp$0,
|
|
5153
|
+
treeId,
|
|
5154
|
+
0
|
|
5155
|
+
);
|
|
5156
|
+
}
|
|
5157
|
+
var autoName = JSCompiler_inline_result$jscomp$2,
|
|
5158
|
+
resumableState$jscomp$1 = request.resumableState,
|
|
5159
|
+
update = getViewTransitionClassName(props.default, props.update),
|
|
5160
|
+
enter = getViewTransitionClassName(props.default, props.enter),
|
|
5161
|
+
exit = getViewTransitionClassName(props.default, props.exit),
|
|
5162
|
+
share = getViewTransitionClassName(props.default, props.share),
|
|
5163
|
+
name = props.name;
|
|
5164
|
+
null == update && (update = "auto");
|
|
5165
|
+
null == enter && (enter = "auto");
|
|
5166
|
+
null == exit && (exit = "auto");
|
|
5167
|
+
if (null == name) {
|
|
5168
|
+
var parentViewTransition = prevContext$jscomp$0.viewTransition;
|
|
5169
|
+
null !== parentViewTransition
|
|
5170
|
+
? ((name = parentViewTransition.name),
|
|
5171
|
+
(share = parentViewTransition.share))
|
|
5172
|
+
: ((name = "auto"), (share = "none"));
|
|
5173
|
+
} else
|
|
5174
|
+
null == share && (share = "auto"),
|
|
5175
|
+
prevContext$jscomp$0.tagScope & 4 &&
|
|
5176
|
+
(resumableState$jscomp$1.instructions |= 128);
|
|
5177
|
+
prevContext$jscomp$0.tagScope & 8
|
|
5178
|
+
? (resumableState$jscomp$1.instructions |= 128)
|
|
5179
|
+
: (exit = "none");
|
|
5180
|
+
prevContext$jscomp$0.tagScope & 16
|
|
5181
|
+
? (resumableState$jscomp$1.instructions |= 128)
|
|
5182
|
+
: (enter = "none");
|
|
5183
|
+
var viewTransition = {
|
|
5184
|
+
update: update,
|
|
5185
|
+
enter: enter,
|
|
5186
|
+
exit: exit,
|
|
5187
|
+
share: share,
|
|
5188
|
+
name: name,
|
|
5189
|
+
autoName: autoName,
|
|
5190
|
+
nameIdx: 0
|
|
5191
|
+
},
|
|
5192
|
+
subtreeScope = prevContext$jscomp$0.tagScope & -25;
|
|
5193
|
+
subtreeScope =
|
|
5194
|
+
"none" !== update ? subtreeScope | 32 : subtreeScope & -33;
|
|
5195
|
+
"none" !== enter && (subtreeScope |= 64);
|
|
5196
|
+
var JSCompiler_inline_result$jscomp$3 = createFormatContext(
|
|
5197
|
+
prevContext$jscomp$0.insertionMode,
|
|
5198
|
+
prevContext$jscomp$0.selectedValue,
|
|
5199
|
+
subtreeScope,
|
|
5200
|
+
viewTransition
|
|
5201
|
+
);
|
|
5202
|
+
task.formatContext = JSCompiler_inline_result$jscomp$3;
|
|
5203
|
+
task.keyPath = keyPath;
|
|
5204
|
+
if (null != props.name && "auto" !== props.name)
|
|
5205
|
+
renderNodeDestructive(request, task, props.children, -1);
|
|
5206
|
+
else {
|
|
5207
|
+
var prevTreeContext = task.treeContext;
|
|
5208
|
+
task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
|
|
5209
|
+
renderNode(request, task, props.children, -1);
|
|
5210
|
+
task.treeContext = prevTreeContext;
|
|
5211
|
+
}
|
|
5212
|
+
task.formatContext = prevContext$jscomp$0;
|
|
5213
|
+
task.keyPath = prevKeyPath$jscomp$4;
|
|
5214
|
+
return;
|
|
5015
5215
|
case REACT_SCOPE_TYPE:
|
|
5016
5216
|
throw Error(formatProdErrorMessage(343));
|
|
5017
5217
|
case REACT_SUSPENSE_TYPE:
|
|
5018
5218
|
a: if (null !== task.replay) {
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5219
|
+
var prevKeyPath$27 = task.keyPath,
|
|
5220
|
+
prevContext$28 = task.formatContext,
|
|
5221
|
+
prevRow$29 = task.row;
|
|
5022
5222
|
task.keyPath = keyPath;
|
|
5023
5223
|
task.formatContext = getSuspenseContentFormatContext(
|
|
5024
5224
|
request.resumableState,
|
|
5025
|
-
|
|
5225
|
+
prevContext$28
|
|
5026
5226
|
);
|
|
5027
5227
|
task.row = null;
|
|
5028
|
-
|
|
5228
|
+
var content$30 = props.children;
|
|
5029
5229
|
try {
|
|
5030
|
-
renderNode(request, task,
|
|
5230
|
+
renderNode(request, task, content$30, -1);
|
|
5031
5231
|
} finally {
|
|
5032
|
-
(task.keyPath =
|
|
5033
|
-
(task.formatContext =
|
|
5034
|
-
(task.row =
|
|
5232
|
+
(task.keyPath = prevKeyPath$27),
|
|
5233
|
+
(task.formatContext = prevContext$28),
|
|
5234
|
+
(task.row = prevRow$29);
|
|
5035
5235
|
}
|
|
5036
5236
|
} else {
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5237
|
+
var prevKeyPath$jscomp$5 = task.keyPath,
|
|
5238
|
+
prevContext$jscomp$1 = task.formatContext,
|
|
5239
|
+
prevRow$jscomp$0 = task.row,
|
|
5240
|
+
parentBoundary = task.blockedBoundary,
|
|
5241
|
+
parentPreamble = task.blockedPreamble,
|
|
5242
|
+
parentHoistableState = task.hoistableState,
|
|
5043
5243
|
parentSegment = task.blockedSegment,
|
|
5044
|
-
fallback = props.fallback
|
|
5045
|
-
|
|
5046
|
-
|
|
5244
|
+
fallback = props.fallback,
|
|
5245
|
+
content = props.children,
|
|
5246
|
+
fallbackAbortSet = new Set();
|
|
5047
5247
|
var newBoundary =
|
|
5048
5248
|
2 > task.formatContext.insertionMode
|
|
5049
5249
|
? createSuspenseBoundary(
|
|
@@ -5082,20 +5282,30 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5082
5282
|
);
|
|
5083
5283
|
contentRootSegment.parentFlushed = !0;
|
|
5084
5284
|
if (null !== request.trackedPostpones) {
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5285
|
+
var suspenseComponentStack = task.componentStack,
|
|
5286
|
+
fallbackKeyPath = [keyPath[0], "Suspense Fallback", keyPath[2]],
|
|
5287
|
+
fallbackReplayNode = [
|
|
5288
|
+
fallbackKeyPath[1],
|
|
5289
|
+
fallbackKeyPath[2],
|
|
5290
|
+
[],
|
|
5291
|
+
null
|
|
5292
|
+
];
|
|
5293
|
+
request.trackedPostpones.workingMap.set(
|
|
5294
|
+
fallbackKeyPath,
|
|
5295
|
+
fallbackReplayNode
|
|
5296
|
+
);
|
|
5297
|
+
newBoundary.trackedFallbackNode = fallbackReplayNode;
|
|
5090
5298
|
task.blockedSegment = boundarySegment;
|
|
5091
5299
|
task.blockedPreamble = newBoundary.fallbackPreamble;
|
|
5092
|
-
task.keyPath =
|
|
5300
|
+
task.keyPath = fallbackKeyPath;
|
|
5093
5301
|
task.formatContext = getSuspenseFallbackFormatContext(
|
|
5094
5302
|
request.resumableState,
|
|
5095
|
-
|
|
5303
|
+
prevContext$jscomp$1
|
|
5096
5304
|
);
|
|
5097
5305
|
task.componentStack =
|
|
5098
|
-
replaceSuspenseComponentStackWithSuspenseFallbackStack(
|
|
5306
|
+
replaceSuspenseComponentStackWithSuspenseFallbackStack(
|
|
5307
|
+
suspenseComponentStack
|
|
5308
|
+
);
|
|
5099
5309
|
boundarySegment.status = 6;
|
|
5100
5310
|
try {
|
|
5101
5311
|
renderNode(request, task, fallback, -1),
|
|
@@ -5103,7 +5313,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5103
5313
|
boundarySegment.textEmbedded &&
|
|
5104
5314
|
boundarySegment.chunks.push(textSeparator),
|
|
5105
5315
|
(boundarySegment.status = 1),
|
|
5106
|
-
finishedSegment(request,
|
|
5316
|
+
finishedSegment(request, parentBoundary, boundarySegment);
|
|
5107
5317
|
} catch (thrownValue) {
|
|
5108
5318
|
throw (
|
|
5109
5319
|
((boundarySegment.status = 12 === request.status ? 3 : 4),
|
|
@@ -5111,14 +5321,14 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5111
5321
|
);
|
|
5112
5322
|
} finally {
|
|
5113
5323
|
(task.blockedSegment = parentSegment),
|
|
5114
|
-
(task.blockedPreamble =
|
|
5115
|
-
(task.keyPath =
|
|
5116
|
-
(task.formatContext =
|
|
5324
|
+
(task.blockedPreamble = parentPreamble),
|
|
5325
|
+
(task.keyPath = prevKeyPath$jscomp$5),
|
|
5326
|
+
(task.formatContext = prevContext$jscomp$1);
|
|
5117
5327
|
}
|
|
5118
|
-
|
|
5328
|
+
var suspendedPrimaryTask = createRenderTask(
|
|
5119
5329
|
request,
|
|
5120
5330
|
null,
|
|
5121
|
-
|
|
5331
|
+
content,
|
|
5122
5332
|
-1,
|
|
5123
5333
|
newBoundary,
|
|
5124
5334
|
contentRootSegment,
|
|
@@ -5133,10 +5343,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5133
5343
|
task.context,
|
|
5134
5344
|
task.treeContext,
|
|
5135
5345
|
null,
|
|
5136
|
-
|
|
5346
|
+
suspenseComponentStack
|
|
5137
5347
|
);
|
|
5138
|
-
pushComponentStack(
|
|
5139
|
-
request.pingedTasks.push(
|
|
5348
|
+
pushComponentStack(suspendedPrimaryTask);
|
|
5349
|
+
request.pingedTasks.push(suspendedPrimaryTask);
|
|
5140
5350
|
} else {
|
|
5141
5351
|
task.blockedBoundary = newBoundary;
|
|
5142
5352
|
task.blockedPreamble = newBoundary.contentPreamble;
|
|
@@ -5145,13 +5355,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5145
5355
|
task.keyPath = keyPath;
|
|
5146
5356
|
task.formatContext = getSuspenseContentFormatContext(
|
|
5147
5357
|
request.resumableState,
|
|
5148
|
-
|
|
5358
|
+
prevContext$jscomp$1
|
|
5149
5359
|
);
|
|
5150
5360
|
task.row = null;
|
|
5151
5361
|
contentRootSegment.status = 6;
|
|
5152
5362
|
try {
|
|
5153
5363
|
if (
|
|
5154
|
-
(renderNode(request, task,
|
|
5364
|
+
(renderNode(request, task, content, -1),
|
|
5155
5365
|
contentRootSegment.lastPushedText &&
|
|
5156
5366
|
contentRootSegment.textEmbedded &&
|
|
5157
5367
|
contentRootSegment.chunks.push(textSeparator),
|
|
@@ -5164,48 +5374,43 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5164
5374
|
((newBoundary.status = 1),
|
|
5165
5375
|
!isEligibleForOutlining(request, newBoundary))
|
|
5166
5376
|
) {
|
|
5167
|
-
null !== prevRow &&
|
|
5168
|
-
0 === --prevRow.pendingTasks &&
|
|
5169
|
-
finishSuspenseListRow(request, prevRow);
|
|
5377
|
+
null !== prevRow$jscomp$0 &&
|
|
5378
|
+
0 === --prevRow$jscomp$0.pendingTasks &&
|
|
5379
|
+
finishSuspenseListRow(request, prevRow$jscomp$0);
|
|
5170
5380
|
0 === request.pendingRootTasks &&
|
|
5171
5381
|
task.blockedPreamble &&
|
|
5172
5382
|
preparePreamble(request);
|
|
5173
5383
|
break a;
|
|
5174
5384
|
}
|
|
5175
5385
|
} else
|
|
5176
|
-
null !== prevRow &&
|
|
5177
|
-
prevRow.together &&
|
|
5178
|
-
tryToResolveTogetherRow(request, prevRow);
|
|
5386
|
+
null !== prevRow$jscomp$0 &&
|
|
5387
|
+
prevRow$jscomp$0.together &&
|
|
5388
|
+
tryToResolveTogetherRow(request, prevRow$jscomp$0);
|
|
5179
5389
|
} catch (thrownValue$31) {
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
newProps,
|
|
5190
|
-
defaultProps
|
|
5191
|
-
)),
|
|
5192
|
-
(newBoundary.errorDigest = initialState),
|
|
5193
|
-
untrackBoundary(request, newBoundary);
|
|
5390
|
+
newBoundary.status = 4;
|
|
5391
|
+
if (12 === request.status) {
|
|
5392
|
+
contentRootSegment.status = 3;
|
|
5393
|
+
var error = request.fatalError;
|
|
5394
|
+
} else (contentRootSegment.status = 4), (error = thrownValue$31);
|
|
5395
|
+
var thrownInfo = getThrownInfo(task.componentStack);
|
|
5396
|
+
var errorDigest = logRecoverableError(request, error, thrownInfo);
|
|
5397
|
+
newBoundary.errorDigest = errorDigest;
|
|
5398
|
+
untrackBoundary(request, newBoundary);
|
|
5194
5399
|
} finally {
|
|
5195
|
-
(task.blockedBoundary =
|
|
5196
|
-
(task.blockedPreamble =
|
|
5400
|
+
(task.blockedBoundary = parentBoundary),
|
|
5401
|
+
(task.blockedPreamble = parentPreamble),
|
|
5197
5402
|
(task.hoistableState = parentHoistableState),
|
|
5198
5403
|
(task.blockedSegment = parentSegment),
|
|
5199
|
-
(task.keyPath =
|
|
5200
|
-
(task.formatContext =
|
|
5201
|
-
(task.row = prevRow);
|
|
5404
|
+
(task.keyPath = prevKeyPath$jscomp$5),
|
|
5405
|
+
(task.formatContext = prevContext$jscomp$1),
|
|
5406
|
+
(task.row = prevRow$jscomp$0);
|
|
5202
5407
|
}
|
|
5203
|
-
|
|
5408
|
+
var suspendedFallbackTask = createRenderTask(
|
|
5204
5409
|
request,
|
|
5205
5410
|
null,
|
|
5206
5411
|
fallback,
|
|
5207
5412
|
-1,
|
|
5208
|
-
|
|
5413
|
+
parentBoundary,
|
|
5209
5414
|
boundarySegment,
|
|
5210
5415
|
newBoundary.fallbackPreamble,
|
|
5211
5416
|
newBoundary.fallbackState,
|
|
@@ -5222,8 +5427,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5222
5427
|
task.componentStack
|
|
5223
5428
|
)
|
|
5224
5429
|
);
|
|
5225
|
-
pushComponentStack(
|
|
5226
|
-
request.pingedTasks.push(
|
|
5430
|
+
pushComponentStack(suspendedFallbackTask);
|
|
5431
|
+
request.pingedTasks.push(suspendedFallbackTask);
|
|
5227
5432
|
}
|
|
5228
5433
|
}
|
|
5229
5434
|
return;
|
|
@@ -5231,24 +5436,24 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5231
5436
|
if ("object" === typeof type && null !== type)
|
|
5232
5437
|
switch (type.$$typeof) {
|
|
5233
5438
|
case REACT_FORWARD_REF_TYPE:
|
|
5234
|
-
if ("ref" in props)
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
else
|
|
5239
|
-
|
|
5439
|
+
if ("ref" in props) {
|
|
5440
|
+
var propsWithoutRef = {};
|
|
5441
|
+
for (var key in props)
|
|
5442
|
+
"ref" !== key && (propsWithoutRef[key] = props[key]);
|
|
5443
|
+
} else propsWithoutRef = props;
|
|
5444
|
+
var children$jscomp$1 = renderWithHooks(
|
|
5240
5445
|
request,
|
|
5241
5446
|
task,
|
|
5242
5447
|
keyPath,
|
|
5243
5448
|
type.render,
|
|
5244
|
-
|
|
5449
|
+
propsWithoutRef,
|
|
5245
5450
|
ref
|
|
5246
5451
|
);
|
|
5247
5452
|
finishFunctionComponent(
|
|
5248
5453
|
request,
|
|
5249
5454
|
task,
|
|
5250
5455
|
keyPath,
|
|
5251
|
-
|
|
5456
|
+
children$jscomp$1,
|
|
5252
5457
|
0 !== localIdCounter,
|
|
5253
5458
|
actionStateCounter,
|
|
5254
5459
|
actionStateMatchingIndex
|
|
@@ -5258,42 +5463,44 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5258
5463
|
renderElement(request, task, keyPath, type.type, props, ref);
|
|
5259
5464
|
return;
|
|
5260
5465
|
case REACT_CONTEXT_TYPE:
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
type._currentValue =
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5466
|
+
var children$jscomp$2 = props.children,
|
|
5467
|
+
prevKeyPath$jscomp$6 = task.keyPath,
|
|
5468
|
+
nextValue = props.value;
|
|
5469
|
+
var prevValue = type._currentValue;
|
|
5470
|
+
type._currentValue = nextValue;
|
|
5471
|
+
var prevNode = currentActiveSnapshot,
|
|
5472
|
+
newNode = {
|
|
5473
|
+
parent: prevNode,
|
|
5474
|
+
depth: null === prevNode ? 0 : prevNode.depth + 1,
|
|
5475
|
+
context: type,
|
|
5476
|
+
parentValue: prevValue,
|
|
5477
|
+
value: nextValue
|
|
5478
|
+
};
|
|
5479
|
+
currentActiveSnapshot = newNode;
|
|
5480
|
+
task.context = newNode;
|
|
5275
5481
|
task.keyPath = keyPath;
|
|
5276
|
-
renderNodeDestructive(request, task,
|
|
5277
|
-
|
|
5278
|
-
if (null ===
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
task.
|
|
5482
|
+
renderNodeDestructive(request, task, children$jscomp$2, -1);
|
|
5483
|
+
var prevSnapshot = currentActiveSnapshot;
|
|
5484
|
+
if (null === prevSnapshot) throw Error(formatProdErrorMessage(403));
|
|
5485
|
+
prevSnapshot.context._currentValue = prevSnapshot.parentValue;
|
|
5486
|
+
var JSCompiler_inline_result$jscomp$4 = (currentActiveSnapshot =
|
|
5487
|
+
prevSnapshot.parent);
|
|
5488
|
+
task.context = JSCompiler_inline_result$jscomp$4;
|
|
5489
|
+
task.keyPath = prevKeyPath$jscomp$6;
|
|
5283
5490
|
return;
|
|
5284
5491
|
case REACT_CONSUMER_TYPE:
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5492
|
+
var render = props.children,
|
|
5493
|
+
newChildren = render(type._context._currentValue),
|
|
5494
|
+
prevKeyPath$jscomp$7 = task.keyPath;
|
|
5288
5495
|
task.keyPath = keyPath;
|
|
5289
|
-
renderNodeDestructive(request, task,
|
|
5290
|
-
task.keyPath =
|
|
5496
|
+
renderNodeDestructive(request, task, newChildren, -1);
|
|
5497
|
+
task.keyPath = prevKeyPath$jscomp$7;
|
|
5291
5498
|
return;
|
|
5292
5499
|
case REACT_LAZY_TYPE:
|
|
5293
|
-
|
|
5294
|
-
|
|
5500
|
+
var init = type._init;
|
|
5501
|
+
var Component = init(type._payload);
|
|
5295
5502
|
if (12 === request.status) throw null;
|
|
5296
|
-
renderElement(request, task, keyPath,
|
|
5503
|
+
renderElement(request, task, keyPath, Component, props, ref);
|
|
5297
5504
|
return;
|
|
5298
5505
|
}
|
|
5299
5506
|
throw Error(
|
|
@@ -6679,7 +6886,8 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
6679
6886
|
request = request.renderState;
|
|
6680
6887
|
i = boundary.rootSegmentID;
|
|
6681
6888
|
boundary = boundary.contentState;
|
|
6682
|
-
var requiresStyleInsertion = request.stylesToHoist
|
|
6889
|
+
var requiresStyleInsertion = request.stylesToHoist,
|
|
6890
|
+
requiresViewTransitions = 0 !== (completedSegments.instructions & 128);
|
|
6683
6891
|
request.stylesToHoist = !1;
|
|
6684
6892
|
writeChunk(destination, request.startInlineScript);
|
|
6685
6893
|
writeChunk(destination, endOfStartTag);
|
|
@@ -6690,6 +6898,13 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
6690
6898
|
0 === (completedSegments.instructions & 2) &&
|
|
6691
6899
|
((completedSegments.instructions |= 2),
|
|
6692
6900
|
writeChunk(destination, completeBoundaryScriptFunctionOnly)),
|
|
6901
|
+
requiresViewTransitions &&
|
|
6902
|
+
0 === (completedSegments.instructions & 256) &&
|
|
6903
|
+
((completedSegments.instructions |= 256),
|
|
6904
|
+
writeChunk(
|
|
6905
|
+
destination,
|
|
6906
|
+
completeBoundaryUpgradeToViewTransitionsInstruction
|
|
6907
|
+
)),
|
|
6693
6908
|
0 === (completedSegments.instructions & 8)
|
|
6694
6909
|
? ((completedSegments.instructions |= 8),
|
|
6695
6910
|
writeChunk(destination, completeBoundaryWithStylesScript1FullPartial))
|
|
@@ -6697,6 +6912,13 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
6697
6912
|
: (0 === (completedSegments.instructions & 2) &&
|
|
6698
6913
|
((completedSegments.instructions |= 2),
|
|
6699
6914
|
writeChunk(destination, completeBoundaryScriptFunctionOnly)),
|
|
6915
|
+
requiresViewTransitions &&
|
|
6916
|
+
0 === (completedSegments.instructions & 256) &&
|
|
6917
|
+
((completedSegments.instructions |= 256),
|
|
6918
|
+
writeChunk(
|
|
6919
|
+
destination,
|
|
6920
|
+
completeBoundaryUpgradeToViewTransitionsInstruction
|
|
6921
|
+
)),
|
|
6700
6922
|
writeChunk(destination, completeBoundaryScript1Partial));
|
|
6701
6923
|
completedSegments = stringToChunk(i.toString(16));
|
|
6702
6924
|
writeChunk(destination, request.boundaryPrefix);
|
|
@@ -7148,12 +7370,12 @@ function getPostponedState(request) {
|
|
|
7148
7370
|
}
|
|
7149
7371
|
function ensureCorrectIsomorphicReactVersion() {
|
|
7150
7372
|
var isomorphicReactPackageVersion = React.version;
|
|
7151
|
-
if ("19.3.0-canary-
|
|
7373
|
+
if ("19.3.0-canary-a4eb2dfa-20251006" !== isomorphicReactPackageVersion)
|
|
7152
7374
|
throw Error(
|
|
7153
7375
|
formatProdErrorMessage(
|
|
7154
7376
|
527,
|
|
7155
7377
|
isomorphicReactPackageVersion,
|
|
7156
|
-
"19.3.0-canary-
|
|
7378
|
+
"19.3.0-canary-a4eb2dfa-20251006"
|
|
7157
7379
|
)
|
|
7158
7380
|
);
|
|
7159
7381
|
}
|
|
@@ -7408,4 +7630,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
|
|
|
7408
7630
|
startWork(request);
|
|
7409
7631
|
});
|
|
7410
7632
|
};
|
|
7411
|
-
exports.version = "19.3.0-canary-
|
|
7633
|
+
exports.version = "19.3.0-canary-a4eb2dfa-20251006";
|