@vxrn/vendor 1.1.345 → 1.1.347
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/package.json +2 -1
- package/react/cjs/react-compiler-runtime.development.js +1 -18
- package/react/cjs/react-jsx-dev-runtime.development.js +127 -144
- package/react/cjs/react-jsx-dev-runtime.react-server.development.js +128 -145
- package/react/cjs/react-jsx-runtime.development.js +127 -144
- package/react/cjs/react-jsx-runtime.react-server.development.js +128 -145
- package/react/cjs/react.development.js +204 -230
- package/react/cjs/react.production.js +9 -10
- package/react/cjs/react.react-server.development.js +172 -199
- package/react/cjs/react.react-server.production.js +6 -7
- package/react/package.json +2 -2
- package/react-dom/cjs/react-dom-client.development.js +6107 -5750
- package/react-dom/cjs/react-dom-client.production.js +2295 -1924
- package/react-dom/cjs/react-dom-profiling.development.js +6134 -5777
- package/react-dom/cjs/react-dom-profiling.profiling.js +2572 -2247
- package/react-dom/cjs/react-dom-server-legacy.browser.development.js +1244 -1040
- package/react-dom/cjs/react-dom-server-legacy.browser.production.js +891 -761
- package/react-dom/cjs/react-dom-server-legacy.node.development.js +1244 -1040
- package/react-dom/cjs/react-dom-server-legacy.node.production.js +887 -761
- package/react-dom/cjs/react-dom-server.browser.development.js +1380 -1060
- package/react-dom/cjs/react-dom-server.browser.production.js +999 -749
- package/react-dom/cjs/react-dom-server.bun.development.js +1241 -1032
- package/react-dom/cjs/react-dom-server.bun.production.js +886 -754
- package/react-dom/cjs/react-dom-server.edge.development.js +1393 -1069
- package/react-dom/cjs/react-dom-server.edge.production.js +1007 -758
- package/react-dom/cjs/react-dom-server.node.development.js +1624 -1254
- package/react-dom/cjs/react-dom-server.node.production.js +1242 -953
- package/react-dom/cjs/react-dom-test-utils.development.js +1 -20
- package/react-dom/cjs/react-dom.development.js +34 -50
- package/react-dom/cjs/react-dom.production.js +4 -3
- package/react-dom/cjs/react-dom.react-server.development.js +48 -66
- package/react-dom/cjs/react-dom.react-server.production.js +6 -8
- package/react-dom/package.json +3 -3
- package/react-dom/static.browser.js +1 -0
- package/react-dom/static.edge.js +1 -0
- package/react-dom/static.node.js +1 -0
|
@@ -368,12 +368,12 @@ function getChildFormatContext(parentContext, type, props) {
|
|
|
368
368
|
return 5 <= parentContext.insertionMode
|
|
369
369
|
? createFormatContext(2, null, parentContext.tagScope)
|
|
370
370
|
: 0 === parentContext.insertionMode
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
371
|
+
? "html" === type
|
|
372
|
+
? createFormatContext(1, null, parentContext.tagScope)
|
|
373
|
+
: createFormatContext(2, null, parentContext.tagScope)
|
|
374
|
+
: 1 === parentContext.insertionMode
|
|
375
|
+
? createFormatContext(2, null, parentContext.tagScope)
|
|
376
|
+
: parentContext;
|
|
377
377
|
}
|
|
378
378
|
var styleNameCache = new Map();
|
|
379
379
|
function pushStyleAttribute(target, style) {
|
|
@@ -1250,22 +1250,64 @@ function pushStartInstance(
|
|
|
1250
1250
|
}
|
|
1251
1251
|
target$jscomp$0.push(">");
|
|
1252
1252
|
return null;
|
|
1253
|
+
case "object":
|
|
1254
|
+
target$jscomp$0.push(startChunkForTag("object"));
|
|
1255
|
+
var children$jscomp$5 = null,
|
|
1256
|
+
innerHTML$jscomp$4 = null,
|
|
1257
|
+
propKey$jscomp$7;
|
|
1258
|
+
for (propKey$jscomp$7 in props)
|
|
1259
|
+
if (hasOwnProperty.call(props, propKey$jscomp$7)) {
|
|
1260
|
+
var propValue$jscomp$7 = props[propKey$jscomp$7];
|
|
1261
|
+
if (null != propValue$jscomp$7)
|
|
1262
|
+
switch (propKey$jscomp$7) {
|
|
1263
|
+
case "children":
|
|
1264
|
+
children$jscomp$5 = propValue$jscomp$7;
|
|
1265
|
+
break;
|
|
1266
|
+
case "dangerouslySetInnerHTML":
|
|
1267
|
+
innerHTML$jscomp$4 = propValue$jscomp$7;
|
|
1268
|
+
break;
|
|
1269
|
+
case "data":
|
|
1270
|
+
var sanitizedValue = sanitizeURL("" + propValue$jscomp$7);
|
|
1271
|
+
if ("" === sanitizedValue) break;
|
|
1272
|
+
target$jscomp$0.push(
|
|
1273
|
+
" ",
|
|
1274
|
+
"data",
|
|
1275
|
+
'="',
|
|
1276
|
+
escapeTextForBrowser(sanitizedValue),
|
|
1277
|
+
'"'
|
|
1278
|
+
);
|
|
1279
|
+
break;
|
|
1280
|
+
default:
|
|
1281
|
+
pushAttribute(
|
|
1282
|
+
target$jscomp$0,
|
|
1283
|
+
propKey$jscomp$7,
|
|
1284
|
+
propValue$jscomp$7
|
|
1285
|
+
);
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
target$jscomp$0.push(">");
|
|
1289
|
+
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$4, children$jscomp$5);
|
|
1290
|
+
if ("string" === typeof children$jscomp$5) {
|
|
1291
|
+
target$jscomp$0.push(escapeTextForBrowser(children$jscomp$5));
|
|
1292
|
+
var JSCompiler_inline_result$jscomp$2 = null;
|
|
1293
|
+
} else JSCompiler_inline_result$jscomp$2 = children$jscomp$5;
|
|
1294
|
+
return JSCompiler_inline_result$jscomp$2;
|
|
1253
1295
|
case "title":
|
|
1254
1296
|
if (
|
|
1255
1297
|
3 === formatContext.insertionMode ||
|
|
1256
1298
|
formatContext.tagScope & 1 ||
|
|
1257
1299
|
null != props.itemProp
|
|
1258
1300
|
)
|
|
1259
|
-
var JSCompiler_inline_result$jscomp$
|
|
1301
|
+
var JSCompiler_inline_result$jscomp$3 = pushTitleImpl(
|
|
1260
1302
|
target$jscomp$0,
|
|
1261
1303
|
props
|
|
1262
1304
|
);
|
|
1263
1305
|
else
|
|
1264
1306
|
isFallback
|
|
1265
|
-
? (JSCompiler_inline_result$jscomp$
|
|
1307
|
+
? (JSCompiler_inline_result$jscomp$3 = null)
|
|
1266
1308
|
: (pushTitleImpl(renderState.hoistableChunks, props),
|
|
1267
|
-
(JSCompiler_inline_result$jscomp$
|
|
1268
|
-
return JSCompiler_inline_result$jscomp$
|
|
1309
|
+
(JSCompiler_inline_result$jscomp$3 = void 0));
|
|
1310
|
+
return JSCompiler_inline_result$jscomp$3;
|
|
1269
1311
|
case "link":
|
|
1270
1312
|
var rel = props.rel,
|
|
1271
1313
|
href = props.href,
|
|
@@ -1279,7 +1321,7 @@ function pushStartInstance(
|
|
|
1279
1321
|
"" === href
|
|
1280
1322
|
) {
|
|
1281
1323
|
pushLinkImpl(target$jscomp$0, props);
|
|
1282
|
-
var JSCompiler_inline_result$jscomp$
|
|
1324
|
+
var JSCompiler_inline_result$jscomp$4 = null;
|
|
1283
1325
|
} else if ("stylesheet" === props.rel)
|
|
1284
1326
|
if (
|
|
1285
1327
|
"string" !== typeof precedence ||
|
|
@@ -1287,7 +1329,7 @@ function pushStartInstance(
|
|
|
1287
1329
|
props.onLoad ||
|
|
1288
1330
|
props.onError
|
|
1289
1331
|
)
|
|
1290
|
-
JSCompiler_inline_result$jscomp$
|
|
1332
|
+
JSCompiler_inline_result$jscomp$4 = pushLinkImpl(
|
|
1291
1333
|
target$jscomp$0,
|
|
1292
1334
|
props
|
|
1293
1335
|
);
|
|
@@ -1330,19 +1372,19 @@ function pushStartInstance(
|
|
|
1330
1372
|
hoistableState.stylesheets.add(resource$9);
|
|
1331
1373
|
}
|
|
1332
1374
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
|
|
1333
|
-
JSCompiler_inline_result$jscomp$
|
|
1375
|
+
JSCompiler_inline_result$jscomp$4 = null;
|
|
1334
1376
|
}
|
|
1335
1377
|
else
|
|
1336
1378
|
props.onLoad || props.onError
|
|
1337
|
-
? (JSCompiler_inline_result$jscomp$
|
|
1379
|
+
? (JSCompiler_inline_result$jscomp$4 = pushLinkImpl(
|
|
1338
1380
|
target$jscomp$0,
|
|
1339
1381
|
props
|
|
1340
1382
|
))
|
|
1341
1383
|
: (textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e"),
|
|
1342
|
-
(JSCompiler_inline_result$jscomp$
|
|
1384
|
+
(JSCompiler_inline_result$jscomp$4 = isFallback
|
|
1343
1385
|
? null
|
|
1344
1386
|
: pushLinkImpl(renderState.hoistableChunks, props)));
|
|
1345
|
-
return JSCompiler_inline_result$jscomp$
|
|
1387
|
+
return JSCompiler_inline_result$jscomp$4;
|
|
1346
1388
|
case "script":
|
|
1347
1389
|
var asyncProp = props.async;
|
|
1348
1390
|
if (
|
|
@@ -1357,7 +1399,7 @@ function pushStartInstance(
|
|
|
1357
1399
|
formatContext.tagScope & 1 ||
|
|
1358
1400
|
null != props.itemProp
|
|
1359
1401
|
)
|
|
1360
|
-
var JSCompiler_inline_result$jscomp$
|
|
1402
|
+
var JSCompiler_inline_result$jscomp$5 = pushScriptImpl(
|
|
1361
1403
|
target$jscomp$0,
|
|
1362
1404
|
props
|
|
1363
1405
|
);
|
|
@@ -1387,9 +1429,9 @@ function pushStartInstance(
|
|
|
1387
1429
|
pushScriptImpl(resource$jscomp$0, scriptProps);
|
|
1388
1430
|
}
|
|
1389
1431
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
|
|
1390
|
-
JSCompiler_inline_result$jscomp$
|
|
1432
|
+
JSCompiler_inline_result$jscomp$5 = null;
|
|
1391
1433
|
}
|
|
1392
|
-
return JSCompiler_inline_result$jscomp$
|
|
1434
|
+
return JSCompiler_inline_result$jscomp$5;
|
|
1393
1435
|
case "style":
|
|
1394
1436
|
var precedence$jscomp$0 = props.precedence,
|
|
1395
1437
|
href$jscomp$0 = props.href;
|
|
@@ -1402,42 +1444,42 @@ function pushStartInstance(
|
|
|
1402
1444
|
"" === href$jscomp$0
|
|
1403
1445
|
) {
|
|
1404
1446
|
target$jscomp$0.push(startChunkForTag("style"));
|
|
1405
|
-
var children$jscomp$
|
|
1406
|
-
innerHTML$jscomp$
|
|
1407
|
-
propKey$jscomp$
|
|
1408
|
-
for (propKey$jscomp$
|
|
1409
|
-
if (hasOwnProperty.call(props, propKey$jscomp$
|
|
1410
|
-
var propValue$jscomp$
|
|
1411
|
-
if (null != propValue$jscomp$
|
|
1412
|
-
switch (propKey$jscomp$
|
|
1447
|
+
var children$jscomp$6 = null,
|
|
1448
|
+
innerHTML$jscomp$5 = null,
|
|
1449
|
+
propKey$jscomp$8;
|
|
1450
|
+
for (propKey$jscomp$8 in props)
|
|
1451
|
+
if (hasOwnProperty.call(props, propKey$jscomp$8)) {
|
|
1452
|
+
var propValue$jscomp$8 = props[propKey$jscomp$8];
|
|
1453
|
+
if (null != propValue$jscomp$8)
|
|
1454
|
+
switch (propKey$jscomp$8) {
|
|
1413
1455
|
case "children":
|
|
1414
|
-
children$jscomp$
|
|
1456
|
+
children$jscomp$6 = propValue$jscomp$8;
|
|
1415
1457
|
break;
|
|
1416
1458
|
case "dangerouslySetInnerHTML":
|
|
1417
|
-
innerHTML$jscomp$
|
|
1459
|
+
innerHTML$jscomp$5 = propValue$jscomp$8;
|
|
1418
1460
|
break;
|
|
1419
1461
|
default:
|
|
1420
1462
|
pushAttribute(
|
|
1421
1463
|
target$jscomp$0,
|
|
1422
|
-
propKey$jscomp$
|
|
1423
|
-
propValue$jscomp$
|
|
1464
|
+
propKey$jscomp$8,
|
|
1465
|
+
propValue$jscomp$8
|
|
1424
1466
|
);
|
|
1425
1467
|
}
|
|
1426
1468
|
}
|
|
1427
1469
|
target$jscomp$0.push(">");
|
|
1428
|
-
var child = Array.isArray(children$jscomp$
|
|
1429
|
-
? 2 > children$jscomp$
|
|
1430
|
-
? children$jscomp$
|
|
1470
|
+
var child = Array.isArray(children$jscomp$6)
|
|
1471
|
+
? 2 > children$jscomp$6.length
|
|
1472
|
+
? children$jscomp$6[0]
|
|
1431
1473
|
: null
|
|
1432
|
-
: children$jscomp$
|
|
1474
|
+
: children$jscomp$6;
|
|
1433
1475
|
"function" !== typeof child &&
|
|
1434
1476
|
"symbol" !== typeof child &&
|
|
1435
1477
|
null !== child &&
|
|
1436
1478
|
void 0 !== child &&
|
|
1437
1479
|
target$jscomp$0.push(("" + child).replace(styleRegex, styleReplacer));
|
|
1438
|
-
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$
|
|
1480
|
+
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$5, children$jscomp$6);
|
|
1439
1481
|
target$jscomp$0.push(endChunkForTag("style"));
|
|
1440
|
-
var JSCompiler_inline_result$jscomp$
|
|
1482
|
+
var JSCompiler_inline_result$jscomp$6 = null;
|
|
1441
1483
|
} else {
|
|
1442
1484
|
var styleQueue$jscomp$0 = renderState.styles.get(precedence$jscomp$0);
|
|
1443
1485
|
if (
|
|
@@ -1459,26 +1501,26 @@ function pushStartInstance(
|
|
|
1459
1501
|
}),
|
|
1460
1502
|
renderState.styles.set(precedence$jscomp$0, styleQueue$jscomp$0));
|
|
1461
1503
|
var target = styleQueue$jscomp$0.rules,
|
|
1462
|
-
children$jscomp$
|
|
1463
|
-
innerHTML$jscomp$
|
|
1464
|
-
propKey$jscomp$
|
|
1465
|
-
for (propKey$jscomp$
|
|
1466
|
-
if (hasOwnProperty.call(props, propKey$jscomp$
|
|
1467
|
-
var propValue$jscomp$
|
|
1468
|
-
if (null != propValue$jscomp$
|
|
1469
|
-
switch (propKey$jscomp$
|
|
1504
|
+
children$jscomp$7 = null,
|
|
1505
|
+
innerHTML$jscomp$6 = null,
|
|
1506
|
+
propKey$jscomp$9;
|
|
1507
|
+
for (propKey$jscomp$9 in props)
|
|
1508
|
+
if (hasOwnProperty.call(props, propKey$jscomp$9)) {
|
|
1509
|
+
var propValue$jscomp$9 = props[propKey$jscomp$9];
|
|
1510
|
+
if (null != propValue$jscomp$9)
|
|
1511
|
+
switch (propKey$jscomp$9) {
|
|
1470
1512
|
case "children":
|
|
1471
|
-
children$jscomp$
|
|
1513
|
+
children$jscomp$7 = propValue$jscomp$9;
|
|
1472
1514
|
break;
|
|
1473
1515
|
case "dangerouslySetInnerHTML":
|
|
1474
|
-
innerHTML$jscomp$
|
|
1516
|
+
innerHTML$jscomp$6 = propValue$jscomp$9;
|
|
1475
1517
|
}
|
|
1476
1518
|
}
|
|
1477
|
-
var child$jscomp$0 = Array.isArray(children$jscomp$
|
|
1478
|
-
? 2 > children$jscomp$
|
|
1479
|
-
? children$jscomp$
|
|
1519
|
+
var child$jscomp$0 = Array.isArray(children$jscomp$7)
|
|
1520
|
+
? 2 > children$jscomp$7.length
|
|
1521
|
+
? children$jscomp$7[0]
|
|
1480
1522
|
: null
|
|
1481
|
-
: children$jscomp$
|
|
1523
|
+
: children$jscomp$7;
|
|
1482
1524
|
"function" !== typeof child$jscomp$0 &&
|
|
1483
1525
|
"symbol" !== typeof child$jscomp$0 &&
|
|
1484
1526
|
null !== child$jscomp$0 &&
|
|
@@ -1486,80 +1528,80 @@ function pushStartInstance(
|
|
|
1486
1528
|
target.push(
|
|
1487
1529
|
("" + child$jscomp$0).replace(styleRegex, styleReplacer)
|
|
1488
1530
|
);
|
|
1489
|
-
pushInnerHTML(target, innerHTML$jscomp$
|
|
1531
|
+
pushInnerHTML(target, innerHTML$jscomp$6, children$jscomp$7);
|
|
1490
1532
|
}
|
|
1491
1533
|
styleQueue$jscomp$0 &&
|
|
1492
1534
|
hoistableState &&
|
|
1493
1535
|
hoistableState.styles.add(styleQueue$jscomp$0);
|
|
1494
1536
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
|
|
1495
|
-
JSCompiler_inline_result$jscomp$
|
|
1537
|
+
JSCompiler_inline_result$jscomp$6 = void 0;
|
|
1496
1538
|
}
|
|
1497
|
-
return JSCompiler_inline_result$jscomp$
|
|
1539
|
+
return JSCompiler_inline_result$jscomp$6;
|
|
1498
1540
|
case "meta":
|
|
1499
1541
|
if (
|
|
1500
1542
|
3 === formatContext.insertionMode ||
|
|
1501
1543
|
formatContext.tagScope & 1 ||
|
|
1502
1544
|
null != props.itemProp
|
|
1503
1545
|
)
|
|
1504
|
-
var JSCompiler_inline_result$jscomp$
|
|
1546
|
+
var JSCompiler_inline_result$jscomp$7 = pushSelfClosing(
|
|
1505
1547
|
target$jscomp$0,
|
|
1506
1548
|
props,
|
|
1507
1549
|
"meta"
|
|
1508
1550
|
);
|
|
1509
1551
|
else
|
|
1510
1552
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e"),
|
|
1511
|
-
(JSCompiler_inline_result$jscomp$
|
|
1553
|
+
(JSCompiler_inline_result$jscomp$7 = isFallback
|
|
1512
1554
|
? null
|
|
1513
1555
|
: "string" === typeof props.charSet
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
return JSCompiler_inline_result$jscomp$
|
|
1556
|
+
? pushSelfClosing(renderState.charsetChunks, props, "meta")
|
|
1557
|
+
: "viewport" === props.name
|
|
1558
|
+
? pushSelfClosing(renderState.viewportChunks, props, "meta")
|
|
1559
|
+
: pushSelfClosing(renderState.hoistableChunks, props, "meta"));
|
|
1560
|
+
return JSCompiler_inline_result$jscomp$7;
|
|
1519
1561
|
case "listing":
|
|
1520
1562
|
case "pre":
|
|
1521
1563
|
target$jscomp$0.push(startChunkForTag(type));
|
|
1522
|
-
var children$jscomp$
|
|
1523
|
-
innerHTML$jscomp$
|
|
1524
|
-
propKey$jscomp$
|
|
1525
|
-
for (propKey$jscomp$
|
|
1526
|
-
if (hasOwnProperty.call(props, propKey$jscomp$
|
|
1527
|
-
var propValue$jscomp$
|
|
1528
|
-
if (null != propValue$jscomp$
|
|
1529
|
-
switch (propKey$jscomp$
|
|
1564
|
+
var children$jscomp$8 = null,
|
|
1565
|
+
innerHTML$jscomp$7 = null,
|
|
1566
|
+
propKey$jscomp$10;
|
|
1567
|
+
for (propKey$jscomp$10 in props)
|
|
1568
|
+
if (hasOwnProperty.call(props, propKey$jscomp$10)) {
|
|
1569
|
+
var propValue$jscomp$10 = props[propKey$jscomp$10];
|
|
1570
|
+
if (null != propValue$jscomp$10)
|
|
1571
|
+
switch (propKey$jscomp$10) {
|
|
1530
1572
|
case "children":
|
|
1531
|
-
children$jscomp$
|
|
1573
|
+
children$jscomp$8 = propValue$jscomp$10;
|
|
1532
1574
|
break;
|
|
1533
1575
|
case "dangerouslySetInnerHTML":
|
|
1534
|
-
innerHTML$jscomp$
|
|
1576
|
+
innerHTML$jscomp$7 = propValue$jscomp$10;
|
|
1535
1577
|
break;
|
|
1536
1578
|
default:
|
|
1537
1579
|
pushAttribute(
|
|
1538
1580
|
target$jscomp$0,
|
|
1539
|
-
propKey$jscomp$
|
|
1540
|
-
propValue$jscomp$
|
|
1581
|
+
propKey$jscomp$10,
|
|
1582
|
+
propValue$jscomp$10
|
|
1541
1583
|
);
|
|
1542
1584
|
}
|
|
1543
1585
|
}
|
|
1544
1586
|
target$jscomp$0.push(">");
|
|
1545
|
-
if (null != innerHTML$jscomp$
|
|
1546
|
-
if (null != children$jscomp$
|
|
1587
|
+
if (null != innerHTML$jscomp$7) {
|
|
1588
|
+
if (null != children$jscomp$8) throw Error(formatProdErrorMessage(60));
|
|
1547
1589
|
if (
|
|
1548
|
-
"object" !== typeof innerHTML$jscomp$
|
|
1549
|
-
!("__html" in innerHTML$jscomp$
|
|
1590
|
+
"object" !== typeof innerHTML$jscomp$7 ||
|
|
1591
|
+
!("__html" in innerHTML$jscomp$7)
|
|
1550
1592
|
)
|
|
1551
1593
|
throw Error(formatProdErrorMessage(61));
|
|
1552
|
-
var html = innerHTML$jscomp$
|
|
1594
|
+
var html = innerHTML$jscomp$7.__html;
|
|
1553
1595
|
null !== html &&
|
|
1554
1596
|
void 0 !== html &&
|
|
1555
1597
|
("string" === typeof html && 0 < html.length && "\n" === html[0]
|
|
1556
1598
|
? target$jscomp$0.push("\n", html)
|
|
1557
1599
|
: target$jscomp$0.push("" + html));
|
|
1558
1600
|
}
|
|
1559
|
-
"string" === typeof children$jscomp$
|
|
1560
|
-
"\n" === children$jscomp$
|
|
1601
|
+
"string" === typeof children$jscomp$8 &&
|
|
1602
|
+
"\n" === children$jscomp$8[0] &&
|
|
1561
1603
|
target$jscomp$0.push("\n");
|
|
1562
|
-
return children$jscomp$
|
|
1604
|
+
return children$jscomp$8;
|
|
1563
1605
|
case "img":
|
|
1564
1606
|
var src = props.src,
|
|
1565
1607
|
srcSet = props.srcSet;
|
|
@@ -1601,7 +1643,7 @@ function pushStartInstance(
|
|
|
1601
1643
|
) {
|
|
1602
1644
|
resumableState.imageResources[key$jscomp$0] = PRELOAD_NO_CREDS;
|
|
1603
1645
|
var input = props.crossOrigin;
|
|
1604
|
-
var JSCompiler_inline_result$jscomp$
|
|
1646
|
+
var JSCompiler_inline_result$jscomp$8 =
|
|
1605
1647
|
"string" === typeof input
|
|
1606
1648
|
? "use-credentials" === input
|
|
1607
1649
|
? input
|
|
@@ -1616,14 +1658,14 @@ function pushStartInstance(
|
|
|
1616
1658
|
((header = getPreloadAsHeader(src, "image", {
|
|
1617
1659
|
imageSrcSet: props.srcSet,
|
|
1618
1660
|
imageSizes: props.sizes,
|
|
1619
|
-
crossOrigin: JSCompiler_inline_result$jscomp$
|
|
1661
|
+
crossOrigin: JSCompiler_inline_result$jscomp$8,
|
|
1620
1662
|
integrity: props.integrity,
|
|
1621
1663
|
nonce: props.nonce,
|
|
1622
1664
|
type: props.type,
|
|
1623
1665
|
fetchPriority: props.fetchPriority,
|
|
1624
1666
|
referrerPolicy: props.refererPolicy
|
|
1625
1667
|
})),
|
|
1626
|
-
|
|
1668
|
+
0 <= (headers.remainingCapacity -= header.length + 2))
|
|
1627
1669
|
? ((renderState.resets.image[key$jscomp$0] = PRELOAD_NO_CREDS),
|
|
1628
1670
|
headers.highImagePreloads && (headers.highImagePreloads += ", "),
|
|
1629
1671
|
(headers.highImagePreloads += header))
|
|
@@ -1634,7 +1676,7 @@ function pushStartInstance(
|
|
|
1634
1676
|
href: srcSet ? void 0 : src,
|
|
1635
1677
|
imageSrcSet: srcSet,
|
|
1636
1678
|
imageSizes: sizes,
|
|
1637
|
-
crossOrigin: JSCompiler_inline_result$jscomp$
|
|
1679
|
+
crossOrigin: JSCompiler_inline_result$jscomp$8,
|
|
1638
1680
|
integrity: props.integrity,
|
|
1639
1681
|
type: props.type,
|
|
1640
1682
|
fetchPriority: props.fetchPriority,
|
|
@@ -1672,56 +1714,56 @@ function pushStartInstance(
|
|
|
1672
1714
|
case "head":
|
|
1673
1715
|
if (2 > formatContext.insertionMode && null === renderState.headChunks) {
|
|
1674
1716
|
renderState.headChunks = [];
|
|
1675
|
-
var JSCompiler_inline_result$jscomp$
|
|
1717
|
+
var JSCompiler_inline_result$jscomp$9 = pushStartGenericElement(
|
|
1676
1718
|
renderState.headChunks,
|
|
1677
1719
|
props,
|
|
1678
1720
|
"head"
|
|
1679
1721
|
);
|
|
1680
1722
|
} else
|
|
1681
|
-
JSCompiler_inline_result$jscomp$
|
|
1723
|
+
JSCompiler_inline_result$jscomp$9 = pushStartGenericElement(
|
|
1682
1724
|
target$jscomp$0,
|
|
1683
1725
|
props,
|
|
1684
1726
|
"head"
|
|
1685
1727
|
);
|
|
1686
|
-
return JSCompiler_inline_result$jscomp$
|
|
1728
|
+
return JSCompiler_inline_result$jscomp$9;
|
|
1687
1729
|
case "html":
|
|
1688
1730
|
if (
|
|
1689
1731
|
0 === formatContext.insertionMode &&
|
|
1690
1732
|
null === renderState.htmlChunks
|
|
1691
1733
|
) {
|
|
1692
1734
|
renderState.htmlChunks = [""];
|
|
1693
|
-
var JSCompiler_inline_result$jscomp$
|
|
1735
|
+
var JSCompiler_inline_result$jscomp$10 = pushStartGenericElement(
|
|
1694
1736
|
renderState.htmlChunks,
|
|
1695
1737
|
props,
|
|
1696
1738
|
"html"
|
|
1697
1739
|
);
|
|
1698
1740
|
} else
|
|
1699
|
-
JSCompiler_inline_result$jscomp$
|
|
1741
|
+
JSCompiler_inline_result$jscomp$10 = pushStartGenericElement(
|
|
1700
1742
|
target$jscomp$0,
|
|
1701
1743
|
props,
|
|
1702
1744
|
"html"
|
|
1703
1745
|
);
|
|
1704
|
-
return JSCompiler_inline_result$jscomp$
|
|
1746
|
+
return JSCompiler_inline_result$jscomp$10;
|
|
1705
1747
|
default:
|
|
1706
1748
|
if (-1 !== type.indexOf("-")) {
|
|
1707
1749
|
target$jscomp$0.push(startChunkForTag(type));
|
|
1708
|
-
var children$jscomp$
|
|
1709
|
-
innerHTML$jscomp$
|
|
1710
|
-
propKey$jscomp$
|
|
1711
|
-
for (propKey$jscomp$
|
|
1712
|
-
if (hasOwnProperty.call(props, propKey$jscomp$
|
|
1713
|
-
var propValue$jscomp$
|
|
1714
|
-
if (null != propValue$jscomp$
|
|
1715
|
-
var attributeName = propKey$jscomp$
|
|
1716
|
-
switch (propKey$jscomp$
|
|
1750
|
+
var children$jscomp$9 = null,
|
|
1751
|
+
innerHTML$jscomp$8 = null,
|
|
1752
|
+
propKey$jscomp$11;
|
|
1753
|
+
for (propKey$jscomp$11 in props)
|
|
1754
|
+
if (hasOwnProperty.call(props, propKey$jscomp$11)) {
|
|
1755
|
+
var propValue$jscomp$11 = props[propKey$jscomp$11];
|
|
1756
|
+
if (null != propValue$jscomp$11) {
|
|
1757
|
+
var attributeName = propKey$jscomp$11;
|
|
1758
|
+
switch (propKey$jscomp$11) {
|
|
1717
1759
|
case "children":
|
|
1718
|
-
children$jscomp$
|
|
1760
|
+
children$jscomp$9 = propValue$jscomp$11;
|
|
1719
1761
|
break;
|
|
1720
1762
|
case "dangerouslySetInnerHTML":
|
|
1721
|
-
innerHTML$jscomp$
|
|
1763
|
+
innerHTML$jscomp$8 = propValue$jscomp$11;
|
|
1722
1764
|
break;
|
|
1723
1765
|
case "style":
|
|
1724
|
-
pushStyleAttribute(target$jscomp$0, propValue$jscomp$
|
|
1766
|
+
pushStyleAttribute(target$jscomp$0, propValue$jscomp$11);
|
|
1725
1767
|
break;
|
|
1726
1768
|
case "suppressContentEditableWarning":
|
|
1727
1769
|
case "suppressHydrationWarning":
|
|
@@ -1731,18 +1773,18 @@ function pushStartInstance(
|
|
|
1731
1773
|
attributeName = "class";
|
|
1732
1774
|
default:
|
|
1733
1775
|
if (
|
|
1734
|
-
isAttributeNameSafe(propKey$jscomp$
|
|
1735
|
-
"function" !== typeof propValue$jscomp$
|
|
1736
|
-
"symbol" !== typeof propValue$jscomp$
|
|
1737
|
-
!1 !== propValue$jscomp$
|
|
1776
|
+
isAttributeNameSafe(propKey$jscomp$11) &&
|
|
1777
|
+
"function" !== typeof propValue$jscomp$11 &&
|
|
1778
|
+
"symbol" !== typeof propValue$jscomp$11 &&
|
|
1779
|
+
!1 !== propValue$jscomp$11
|
|
1738
1780
|
) {
|
|
1739
|
-
if (!0 === propValue$jscomp$
|
|
1740
|
-
else if ("object" === typeof propValue$jscomp$
|
|
1781
|
+
if (!0 === propValue$jscomp$11) propValue$jscomp$11 = "";
|
|
1782
|
+
else if ("object" === typeof propValue$jscomp$11) continue;
|
|
1741
1783
|
target$jscomp$0.push(
|
|
1742
1784
|
" ",
|
|
1743
1785
|
attributeName,
|
|
1744
1786
|
'="',
|
|
1745
|
-
escapeTextForBrowser(propValue$jscomp$
|
|
1787
|
+
escapeTextForBrowser(propValue$jscomp$11),
|
|
1746
1788
|
'"'
|
|
1747
1789
|
);
|
|
1748
1790
|
}
|
|
@@ -1750,8 +1792,8 @@ function pushStartInstance(
|
|
|
1750
1792
|
}
|
|
1751
1793
|
}
|
|
1752
1794
|
target$jscomp$0.push(">");
|
|
1753
|
-
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$
|
|
1754
|
-
return children$jscomp$
|
|
1795
|
+
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$8, children$jscomp$9);
|
|
1796
|
+
return children$jscomp$9;
|
|
1755
1797
|
}
|
|
1756
1798
|
}
|
|
1757
1799
|
return pushStartGenericElement(target$jscomp$0, props, type);
|
|
@@ -2131,7 +2173,7 @@ function prefetchDNS(href) {
|
|
|
2131
2173
|
escapeHrefForLinkHeaderURLContextReplacer
|
|
2132
2174
|
) +
|
|
2133
2175
|
">; rel=dns-prefetch"),
|
|
2134
|
-
|
|
2176
|
+
0 <= (resumableState.remainingCapacity -= header.length + 2));
|
|
2135
2177
|
JSCompiler_temp
|
|
2136
2178
|
? ((renderState.resets.dns[href] = null),
|
|
2137
2179
|
resumableState.preconnects && (resumableState.preconnects += ", "),
|
|
@@ -2154,8 +2196,8 @@ function preconnect(href, crossOrigin) {
|
|
|
2154
2196
|
"use-credentials" === crossOrigin
|
|
2155
2197
|
? "credentials"
|
|
2156
2198
|
: "string" === typeof crossOrigin
|
|
2157
|
-
|
|
2158
|
-
|
|
2199
|
+
? "anonymous"
|
|
2200
|
+
: "default";
|
|
2159
2201
|
if (!resumableState.connectResources[bucket].hasOwnProperty(href)) {
|
|
2160
2202
|
resumableState.connectResources[bucket][href] = null;
|
|
2161
2203
|
resumableState = renderState.headers;
|
|
@@ -2180,7 +2222,7 @@ function preconnect(href, crossOrigin) {
|
|
|
2180
2222
|
}
|
|
2181
2223
|
JSCompiler_temp =
|
|
2182
2224
|
((header = JSCompiler_temp),
|
|
2183
|
-
|
|
2225
|
+
0 <= (resumableState.remainingCapacity -= header.length + 2));
|
|
2184
2226
|
}
|
|
2185
2227
|
JSCompiler_temp
|
|
2186
2228
|
? ((renderState.resets.connect[bucket][href] = null),
|
|
@@ -2222,7 +2264,7 @@ function preload(href, as, options) {
|
|
|
2222
2264
|
0 < resumableState.remainingCapacity &&
|
|
2223
2265
|
"high" === fetchPriority &&
|
|
2224
2266
|
((header = getPreloadAsHeader(href, as, options)),
|
|
2225
|
-
|
|
2267
|
+
0 <= (resumableState.remainingCapacity -= header.length + 2))
|
|
2226
2268
|
? ((renderState.resets.image[key] = PRELOAD_NO_CREDS),
|
|
2227
2269
|
resumableState.highImagePreloads &&
|
|
2228
2270
|
(resumableState.highImagePreloads += ", "),
|
|
@@ -2288,7 +2330,7 @@ function preload(href, as, options) {
|
|
|
2288
2330
|
0 < resumableState.remainingCapacity &&
|
|
2289
2331
|
"font" === as &&
|
|
2290
2332
|
((key = getPreloadAsHeader(href, as, options)),
|
|
2291
|
-
|
|
2333
|
+
0 <= (resumableState.remainingCapacity -= key.length + 2))
|
|
2292
2334
|
)
|
|
2293
2335
|
(renderState.resets.font[href] = PRELOAD_NO_CREDS),
|
|
2294
2336
|
resumableState.fontPreloads &&
|
|
@@ -2524,16 +2566,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2524
2566
|
"\x3c/script>"
|
|
2525
2567
|
);
|
|
2526
2568
|
bootstrapScriptContent = idPrefix + "P:";
|
|
2527
|
-
var
|
|
2569
|
+
var JSCompiler_object_inline_segmentPrefix_1482 = idPrefix + "S:";
|
|
2528
2570
|
idPrefix += "B:";
|
|
2529
|
-
var
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2571
|
+
var JSCompiler_object_inline_preconnects_1496 = new Set(),
|
|
2572
|
+
JSCompiler_object_inline_fontPreloads_1497 = new Set(),
|
|
2573
|
+
JSCompiler_object_inline_highImagePreloads_1498 = new Set(),
|
|
2574
|
+
JSCompiler_object_inline_styles_1499 = new Map(),
|
|
2575
|
+
JSCompiler_object_inline_bootstrapScripts_1500 = new Set(),
|
|
2576
|
+
JSCompiler_object_inline_scripts_1501 = new Set(),
|
|
2577
|
+
JSCompiler_object_inline_bulkPreloads_1502 = new Set(),
|
|
2578
|
+
JSCompiler_object_inline_preloads_1503 = {
|
|
2537
2579
|
images: new Map(),
|
|
2538
2580
|
stylesheets: new Map(),
|
|
2539
2581
|
scripts: new Map(),
|
|
@@ -2562,15 +2604,15 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2562
2604
|
"string" === typeof scriptConfig || null == scriptConfig.crossOrigin
|
|
2563
2605
|
? void 0
|
|
2564
2606
|
: "use-credentials" === scriptConfig.crossOrigin
|
|
2565
|
-
|
|
2566
|
-
|
|
2607
|
+
? "use-credentials"
|
|
2608
|
+
: ""));
|
|
2567
2609
|
scriptConfig = resumableState;
|
|
2568
2610
|
var href = src;
|
|
2569
2611
|
scriptConfig.scriptResources[href] = null;
|
|
2570
2612
|
scriptConfig.moduleScriptResources[href] = null;
|
|
2571
2613
|
scriptConfig = [];
|
|
2572
2614
|
pushLinkImpl(scriptConfig, props);
|
|
2573
|
-
|
|
2615
|
+
JSCompiler_object_inline_bootstrapScripts_1500.add(scriptConfig);
|
|
2574
2616
|
bootstrapChunks.push('<script src="', escapeTextForBrowser(src));
|
|
2575
2617
|
"string" === typeof integrity &&
|
|
2576
2618
|
bootstrapChunks.push('" integrity="', escapeTextForBrowser(integrity));
|
|
@@ -2603,15 +2645,15 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2603
2645
|
"string" === typeof props || null == props.crossOrigin
|
|
2604
2646
|
? void 0
|
|
2605
2647
|
: "use-credentials" === props.crossOrigin
|
|
2606
|
-
|
|
2607
|
-
|
|
2648
|
+
? "use-credentials"
|
|
2649
|
+
: "")),
|
|
2608
2650
|
(props = resumableState),
|
|
2609
2651
|
(scriptConfig = i),
|
|
2610
2652
|
(props.scriptResources[scriptConfig] = null),
|
|
2611
2653
|
(props.moduleScriptResources[scriptConfig] = null),
|
|
2612
2654
|
(props = []),
|
|
2613
2655
|
pushLinkImpl(props, integrity),
|
|
2614
|
-
|
|
2656
|
+
JSCompiler_object_inline_bootstrapScripts_1500.add(props),
|
|
2615
2657
|
bootstrapChunks.push(
|
|
2616
2658
|
'<script type="module" src="',
|
|
2617
2659
|
escapeTextForBrowser(i)
|
|
@@ -2626,7 +2668,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2626
2668
|
bootstrapChunks.push('" async="">\x3c/script>');
|
|
2627
2669
|
return {
|
|
2628
2670
|
placeholderPrefix: bootstrapScriptContent,
|
|
2629
|
-
segmentPrefix:
|
|
2671
|
+
segmentPrefix: JSCompiler_object_inline_segmentPrefix_1482,
|
|
2630
2672
|
boundaryPrefix: idPrefix,
|
|
2631
2673
|
startInlineScript: "<script>",
|
|
2632
2674
|
htmlChunks: null,
|
|
@@ -2646,14 +2688,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2646
2688
|
charsetChunks: [],
|
|
2647
2689
|
viewportChunks: [],
|
|
2648
2690
|
hoistableChunks: [],
|
|
2649
|
-
preconnects:
|
|
2650
|
-
fontPreloads:
|
|
2651
|
-
highImagePreloads:
|
|
2652
|
-
styles:
|
|
2653
|
-
bootstrapScripts:
|
|
2654
|
-
scripts:
|
|
2655
|
-
bulkPreloads:
|
|
2656
|
-
preloads:
|
|
2691
|
+
preconnects: JSCompiler_object_inline_preconnects_1496,
|
|
2692
|
+
fontPreloads: JSCompiler_object_inline_fontPreloads_1497,
|
|
2693
|
+
highImagePreloads: JSCompiler_object_inline_highImagePreloads_1498,
|
|
2694
|
+
styles: JSCompiler_object_inline_styles_1499,
|
|
2695
|
+
bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1500,
|
|
2696
|
+
scripts: JSCompiler_object_inline_scripts_1501,
|
|
2697
|
+
bulkPreloads: JSCompiler_object_inline_bulkPreloads_1502,
|
|
2698
|
+
preloads: JSCompiler_object_inline_preloads_1503,
|
|
2657
2699
|
stylesToHoist: !1,
|
|
2658
2700
|
generateStaticMarkup: generateStaticMarkup
|
|
2659
2701
|
};
|
|
@@ -2668,7 +2710,12 @@ function pushTextInstance(target, text, renderState, textEmbedded) {
|
|
|
2668
2710
|
(target = !0));
|
|
2669
2711
|
return target;
|
|
2670
2712
|
}
|
|
2671
|
-
|
|
2713
|
+
function pushSegmentFinale(target, renderState, lastPushedText, textEmbedded) {
|
|
2714
|
+
renderState.generateStaticMarkup ||
|
|
2715
|
+
(lastPushedText && textEmbedded && target.push("\x3c!-- --\x3e"));
|
|
2716
|
+
}
|
|
2717
|
+
var bind = Function.prototype.bind,
|
|
2718
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
2672
2719
|
function getComponentNameFromType(type) {
|
|
2673
2720
|
if (null == type) return null;
|
|
2674
2721
|
if ("function" === typeof type)
|
|
@@ -2767,12 +2814,12 @@ function switchContext(newSnapshot) {
|
|
|
2767
2814
|
(null === prev
|
|
2768
2815
|
? pushAllNext(newSnapshot)
|
|
2769
2816
|
: null === newSnapshot
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2817
|
+
? popAllPrevious(prev)
|
|
2818
|
+
: prev.depth === newSnapshot.depth
|
|
2819
|
+
? popToNearestCommonAncestor(prev, newSnapshot)
|
|
2820
|
+
: prev.depth > newSnapshot.depth
|
|
2821
|
+
? popPreviousToCommonLevel(prev, newSnapshot)
|
|
2822
|
+
: popNextToCommonLevel(prev, newSnapshot),
|
|
2776
2823
|
(currentActiveSnapshot = newSnapshot));
|
|
2777
2824
|
}
|
|
2778
2825
|
var classComponentUpdater = {
|
|
@@ -2911,9 +2958,9 @@ function createWorkInProgressHook() {
|
|
|
2911
2958
|
(firstWorkInProgressHook = workInProgressHook = createHook()))
|
|
2912
2959
|
: ((isReRender = !0), (workInProgressHook = firstWorkInProgressHook))
|
|
2913
2960
|
: null === workInProgressHook.next
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2961
|
+
? ((isReRender = !1),
|
|
2962
|
+
(workInProgressHook = workInProgressHook.next = createHook()))
|
|
2963
|
+
: ((isReRender = !0), (workInProgressHook = workInProgressHook.next));
|
|
2917
2964
|
return workInProgressHook;
|
|
2918
2965
|
}
|
|
2919
2966
|
function getThenableStateAfterSuspending() {
|
|
@@ -2960,8 +3007,8 @@ function useReducer(reducer, initialArg, init) {
|
|
|
2960
3007
|
? initialArg()
|
|
2961
3008
|
: initialArg
|
|
2962
3009
|
: void 0 !== init
|
|
2963
|
-
|
|
2964
|
-
|
|
3010
|
+
? init(initialArg)
|
|
3011
|
+
: initialArg;
|
|
2965
3012
|
workInProgressHook.memoizedState = reducer;
|
|
2966
3013
|
reducer = workInProgressHook.queue = { last: null, dispatch: null };
|
|
2967
3014
|
reducer = reducer.dispatch = dispatchAction.bind(
|
|
@@ -3182,7 +3229,8 @@ var currentResumableState = null,
|
|
|
3182
3229
|
throw Error(formatProdErrorMessage(248));
|
|
3183
3230
|
}
|
|
3184
3231
|
},
|
|
3185
|
-
prefix
|
|
3232
|
+
prefix,
|
|
3233
|
+
suffix;
|
|
3186
3234
|
function describeBuiltInComponentFrame(name) {
|
|
3187
3235
|
if (void 0 === prefix)
|
|
3188
3236
|
try {
|
|
@@ -3190,8 +3238,14 @@ function describeBuiltInComponentFrame(name) {
|
|
|
3190
3238
|
} catch (x) {
|
|
3191
3239
|
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
3192
3240
|
prefix = (match && match[1]) || "";
|
|
3241
|
+
suffix =
|
|
3242
|
+
-1 < x.stack.indexOf("\n at")
|
|
3243
|
+
? " (<anonymous>)"
|
|
3244
|
+
: -1 < x.stack.indexOf("@")
|
|
3245
|
+
? "@unknown:0:0"
|
|
3246
|
+
: "";
|
|
3193
3247
|
}
|
|
3194
|
-
return "\n" + prefix + name;
|
|
3248
|
+
return "\n" + prefix + name + suffix;
|
|
3195
3249
|
}
|
|
3196
3250
|
var reentry = !1;
|
|
3197
3251
|
function describeNativeComponentFrame(fn, construct) {
|
|
@@ -3199,62 +3253,64 @@ function describeNativeComponentFrame(fn, construct) {
|
|
|
3199
3253
|
reentry = !0;
|
|
3200
3254
|
var previousPrepareStackTrace = Error.prepareStackTrace;
|
|
3201
3255
|
Error.prepareStackTrace = void 0;
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
};
|
|
3209
|
-
Object.defineProperty(Fake.prototype, "props", {
|
|
3210
|
-
set: function () {
|
|
3256
|
+
try {
|
|
3257
|
+
var RunInRootFrame = {
|
|
3258
|
+
DetermineComponentFrameRoot: function () {
|
|
3259
|
+
try {
|
|
3260
|
+
if (construct) {
|
|
3261
|
+
var Fake = function () {
|
|
3211
3262
|
throw Error();
|
|
3263
|
+
};
|
|
3264
|
+
Object.defineProperty(Fake.prototype, "props", {
|
|
3265
|
+
set: function () {
|
|
3266
|
+
throw Error();
|
|
3267
|
+
}
|
|
3268
|
+
});
|
|
3269
|
+
if ("object" === typeof Reflect && Reflect.construct) {
|
|
3270
|
+
try {
|
|
3271
|
+
Reflect.construct(Fake, []);
|
|
3272
|
+
} catch (x) {
|
|
3273
|
+
var control = x;
|
|
3274
|
+
}
|
|
3275
|
+
Reflect.construct(fn, [], Fake);
|
|
3276
|
+
} else {
|
|
3277
|
+
try {
|
|
3278
|
+
Fake.call();
|
|
3279
|
+
} catch (x$24) {
|
|
3280
|
+
control = x$24;
|
|
3281
|
+
}
|
|
3282
|
+
fn.call(Fake.prototype);
|
|
3212
3283
|
}
|
|
3213
|
-
});
|
|
3214
|
-
if ("object" === typeof Reflect && Reflect.construct) {
|
|
3215
|
-
try {
|
|
3216
|
-
Reflect.construct(Fake, []);
|
|
3217
|
-
} catch (x) {
|
|
3218
|
-
var control = x;
|
|
3219
|
-
}
|
|
3220
|
-
Reflect.construct(fn, [], Fake);
|
|
3221
3284
|
} else {
|
|
3222
3285
|
try {
|
|
3223
|
-
|
|
3224
|
-
} catch (x$
|
|
3225
|
-
control = x$
|
|
3286
|
+
throw Error();
|
|
3287
|
+
} catch (x$25) {
|
|
3288
|
+
control = x$25;
|
|
3226
3289
|
}
|
|
3227
|
-
fn
|
|
3290
|
+
(Fake = fn()) &&
|
|
3291
|
+
"function" === typeof Fake.catch &&
|
|
3292
|
+
Fake.catch(function () {});
|
|
3228
3293
|
}
|
|
3229
|
-
}
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
} catch (x$25) {
|
|
3233
|
-
control = x$25;
|
|
3234
|
-
}
|
|
3235
|
-
(Fake = fn()) &&
|
|
3236
|
-
"function" === typeof Fake.catch &&
|
|
3237
|
-
Fake.catch(function () {});
|
|
3294
|
+
} catch (sample) {
|
|
3295
|
+
if (sample && control && "string" === typeof sample.stack)
|
|
3296
|
+
return [sample.stack, control.stack];
|
|
3238
3297
|
}
|
|
3239
|
-
|
|
3240
|
-
if (sample && control && "string" === typeof sample.stack)
|
|
3241
|
-
return [sample.stack, control.stack];
|
|
3298
|
+
return [null, null];
|
|
3242
3299
|
}
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
try {
|
|
3300
|
+
};
|
|
3301
|
+
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
3302
|
+
"DetermineComponentFrameRoot";
|
|
3303
|
+
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
3304
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
|
3305
|
+
"name"
|
|
3306
|
+
);
|
|
3307
|
+
namePropDescriptor &&
|
|
3308
|
+
namePropDescriptor.configurable &&
|
|
3309
|
+
Object.defineProperty(
|
|
3310
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
|
3311
|
+
"name",
|
|
3312
|
+
{ value: "DetermineComponentFrameRoot" }
|
|
3313
|
+
);
|
|
3258
3314
|
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),
|
|
3259
3315
|
sampleStack = _RunInRootFrame$Deter[0],
|
|
3260
3316
|
controlStack = _RunInRootFrame$Deter[1];
|
|
@@ -3325,13 +3381,69 @@ function describeNativeComponentFrame(fn, construct) {
|
|
|
3325
3381
|
? describeBuiltInComponentFrame(previousPrepareStackTrace)
|
|
3326
3382
|
: "";
|
|
3327
3383
|
}
|
|
3384
|
+
function describeComponentStackByType(type) {
|
|
3385
|
+
if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
3386
|
+
if ("function" === typeof type)
|
|
3387
|
+
return type.prototype && type.prototype.isReactComponent
|
|
3388
|
+
? ((type = describeNativeComponentFrame(type, !0)), type)
|
|
3389
|
+
: describeNativeComponentFrame(type, !1);
|
|
3390
|
+
if ("object" === typeof type && null !== type) {
|
|
3391
|
+
switch (type.$$typeof) {
|
|
3392
|
+
case REACT_FORWARD_REF_TYPE:
|
|
3393
|
+
return describeNativeComponentFrame(type.render, !1);
|
|
3394
|
+
case REACT_MEMO_TYPE:
|
|
3395
|
+
return describeNativeComponentFrame(type.type, !1);
|
|
3396
|
+
case REACT_LAZY_TYPE:
|
|
3397
|
+
var lazyComponent = type,
|
|
3398
|
+
payload = lazyComponent._payload;
|
|
3399
|
+
lazyComponent = lazyComponent._init;
|
|
3400
|
+
try {
|
|
3401
|
+
type = lazyComponent(payload);
|
|
3402
|
+
} catch (x) {
|
|
3403
|
+
return describeBuiltInComponentFrame("Lazy");
|
|
3404
|
+
}
|
|
3405
|
+
return describeComponentStackByType(type);
|
|
3406
|
+
}
|
|
3407
|
+
if ("string" === typeof type.name)
|
|
3408
|
+
return (
|
|
3409
|
+
(payload = type.env),
|
|
3410
|
+
describeBuiltInComponentFrame(
|
|
3411
|
+
type.name + (payload ? " [" + payload + "]" : "")
|
|
3412
|
+
)
|
|
3413
|
+
);
|
|
3414
|
+
}
|
|
3415
|
+
switch (type) {
|
|
3416
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
3417
|
+
return describeBuiltInComponentFrame("SuspenseList");
|
|
3418
|
+
case REACT_SUSPENSE_TYPE:
|
|
3419
|
+
return describeBuiltInComponentFrame("Suspense");
|
|
3420
|
+
}
|
|
3421
|
+
return "";
|
|
3422
|
+
}
|
|
3328
3423
|
function defaultErrorHandler(error) {
|
|
3329
|
-
|
|
3424
|
+
if (
|
|
3425
|
+
"object" === typeof error &&
|
|
3426
|
+
null !== error &&
|
|
3427
|
+
"string" === typeof error.environmentName
|
|
3428
|
+
) {
|
|
3429
|
+
var JSCompiler_inline_result = error.environmentName;
|
|
3430
|
+
error = [error].slice(0);
|
|
3431
|
+
"string" === typeof error[0]
|
|
3432
|
+
? error.splice(
|
|
3433
|
+
0,
|
|
3434
|
+
1,
|
|
3435
|
+
"[%s] " + error[0],
|
|
3436
|
+
" " + JSCompiler_inline_result + " "
|
|
3437
|
+
)
|
|
3438
|
+
: error.splice(0, 0, "[%s] ", " " + JSCompiler_inline_result + " ");
|
|
3439
|
+
error.unshift(console);
|
|
3440
|
+
JSCompiler_inline_result = bind.apply(console.error, error);
|
|
3441
|
+
JSCompiler_inline_result();
|
|
3442
|
+
} else console.error(error);
|
|
3330
3443
|
return null;
|
|
3331
3444
|
}
|
|
3332
3445
|
function noop() {}
|
|
3333
3446
|
function RequestInstance(
|
|
3334
|
-
children,
|
|
3335
3447
|
resumableState,
|
|
3336
3448
|
renderState,
|
|
3337
3449
|
rootFormatContext,
|
|
@@ -3344,8 +3456,7 @@ function RequestInstance(
|
|
|
3344
3456
|
onPostpone,
|
|
3345
3457
|
formState
|
|
3346
3458
|
) {
|
|
3347
|
-
var
|
|
3348
|
-
abortSet = new Set();
|
|
3459
|
+
var abortSet = new Set();
|
|
3349
3460
|
this.destination = null;
|
|
3350
3461
|
this.flushScheduled = !1;
|
|
3351
3462
|
this.resumableState = resumableState;
|
|
@@ -3353,12 +3464,12 @@ function RequestInstance(
|
|
|
3353
3464
|
this.rootFormatContext = rootFormatContext;
|
|
3354
3465
|
this.progressiveChunkSize =
|
|
3355
3466
|
void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize;
|
|
3356
|
-
this.status =
|
|
3467
|
+
this.status = 10;
|
|
3357
3468
|
this.fatalError = null;
|
|
3358
3469
|
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
|
|
3359
3470
|
this.completedRootSegment = null;
|
|
3360
3471
|
this.abortableTasks = abortSet;
|
|
3361
|
-
this.pingedTasks =
|
|
3472
|
+
this.pingedTasks = [];
|
|
3362
3473
|
this.clientRenderedBoundaries = [];
|
|
3363
3474
|
this.completedBoundaries = [];
|
|
3364
3475
|
this.partialBoundaries = [];
|
|
@@ -3370,33 +3481,6 @@ function RequestInstance(
|
|
|
3370
3481
|
this.onShellError = void 0 === onShellError ? noop : onShellError;
|
|
3371
3482
|
this.onFatalError = void 0 === onFatalError ? noop : onFatalError;
|
|
3372
3483
|
this.formState = void 0 === formState ? null : formState;
|
|
3373
|
-
resumableState = createPendingSegment(
|
|
3374
|
-
this,
|
|
3375
|
-
0,
|
|
3376
|
-
null,
|
|
3377
|
-
rootFormatContext,
|
|
3378
|
-
!1,
|
|
3379
|
-
!1
|
|
3380
|
-
);
|
|
3381
|
-
resumableState.parentFlushed = !0;
|
|
3382
|
-
children = createRenderTask(
|
|
3383
|
-
this,
|
|
3384
|
-
null,
|
|
3385
|
-
children,
|
|
3386
|
-
-1,
|
|
3387
|
-
null,
|
|
3388
|
-
resumableState,
|
|
3389
|
-
null,
|
|
3390
|
-
abortSet,
|
|
3391
|
-
null,
|
|
3392
|
-
rootFormatContext,
|
|
3393
|
-
emptyContextObject,
|
|
3394
|
-
null,
|
|
3395
|
-
emptyTreeContext,
|
|
3396
|
-
null,
|
|
3397
|
-
!1
|
|
3398
|
-
);
|
|
3399
|
-
pingedTasks.push(children);
|
|
3400
3484
|
}
|
|
3401
3485
|
function createRequest(
|
|
3402
3486
|
children,
|
|
@@ -3412,8 +3496,7 @@ function createRequest(
|
|
|
3412
3496
|
onPostpone,
|
|
3413
3497
|
formState
|
|
3414
3498
|
) {
|
|
3415
|
-
|
|
3416
|
-
children,
|
|
3499
|
+
resumableState = new RequestInstance(
|
|
3417
3500
|
resumableState,
|
|
3418
3501
|
renderState,
|
|
3419
3502
|
rootFormatContext,
|
|
@@ -3426,6 +3509,34 @@ function createRequest(
|
|
|
3426
3509
|
onPostpone,
|
|
3427
3510
|
formState
|
|
3428
3511
|
);
|
|
3512
|
+
renderState = createPendingSegment(
|
|
3513
|
+
resumableState,
|
|
3514
|
+
0,
|
|
3515
|
+
null,
|
|
3516
|
+
rootFormatContext,
|
|
3517
|
+
!1,
|
|
3518
|
+
!1
|
|
3519
|
+
);
|
|
3520
|
+
renderState.parentFlushed = !0;
|
|
3521
|
+
children = createRenderTask(
|
|
3522
|
+
resumableState,
|
|
3523
|
+
null,
|
|
3524
|
+
children,
|
|
3525
|
+
-1,
|
|
3526
|
+
null,
|
|
3527
|
+
renderState,
|
|
3528
|
+
null,
|
|
3529
|
+
resumableState.abortableTasks,
|
|
3530
|
+
null,
|
|
3531
|
+
rootFormatContext,
|
|
3532
|
+
null,
|
|
3533
|
+
emptyTreeContext,
|
|
3534
|
+
null,
|
|
3535
|
+
!1
|
|
3536
|
+
);
|
|
3537
|
+
pushComponentStack(children);
|
|
3538
|
+
resumableState.pingedTasks.push(children);
|
|
3539
|
+
return resumableState;
|
|
3429
3540
|
}
|
|
3430
3541
|
var currentRequest = null;
|
|
3431
3542
|
function pingTask(request, task) {
|
|
@@ -3461,7 +3572,6 @@ function createRenderTask(
|
|
|
3461
3572
|
abortSet,
|
|
3462
3573
|
keyPath,
|
|
3463
3574
|
formatContext,
|
|
3464
|
-
legacyContext,
|
|
3465
3575
|
context,
|
|
3466
3576
|
treeContext,
|
|
3467
3577
|
componentStack,
|
|
@@ -3484,7 +3594,6 @@ function createRenderTask(
|
|
|
3484
3594
|
abortSet: abortSet,
|
|
3485
3595
|
keyPath: keyPath,
|
|
3486
3596
|
formatContext: formatContext,
|
|
3487
|
-
legacyContext: legacyContext,
|
|
3488
3597
|
context: context,
|
|
3489
3598
|
treeContext: treeContext,
|
|
3490
3599
|
componentStack: componentStack,
|
|
@@ -3505,7 +3614,6 @@ function createReplayTask(
|
|
|
3505
3614
|
abortSet,
|
|
3506
3615
|
keyPath,
|
|
3507
3616
|
formatContext,
|
|
3508
|
-
legacyContext,
|
|
3509
3617
|
context,
|
|
3510
3618
|
treeContext,
|
|
3511
3619
|
componentStack,
|
|
@@ -3529,7 +3637,6 @@ function createReplayTask(
|
|
|
3529
3637
|
abortSet: abortSet,
|
|
3530
3638
|
keyPath: keyPath,
|
|
3531
3639
|
formatContext: formatContext,
|
|
3532
|
-
legacyContext: legacyContext,
|
|
3533
3640
|
context: context,
|
|
3534
3641
|
treeContext: treeContext,
|
|
3535
3642
|
componentStack: componentStack,
|
|
@@ -3560,47 +3667,54 @@ function createPendingSegment(
|
|
|
3560
3667
|
textEmbedded: textEmbedded
|
|
3561
3668
|
};
|
|
3562
3669
|
}
|
|
3563
|
-
function
|
|
3564
|
-
|
|
3670
|
+
function pushComponentStack(task) {
|
|
3671
|
+
var node = task.node;
|
|
3672
|
+
if ("object" === typeof node && null !== node)
|
|
3673
|
+
switch (node.$$typeof) {
|
|
3674
|
+
case REACT_ELEMENT_TYPE:
|
|
3675
|
+
task.componentStack = { parent: task.componentStack, type: node.type };
|
|
3676
|
+
}
|
|
3565
3677
|
}
|
|
3566
|
-
function getThrownInfo(
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3678
|
+
function getThrownInfo(node$jscomp$0) {
|
|
3679
|
+
var errorInfo = {};
|
|
3680
|
+
node$jscomp$0 &&
|
|
3681
|
+
Object.defineProperty(errorInfo, "componentStack", {
|
|
3682
|
+
configurable: !0,
|
|
3683
|
+
enumerable: !0,
|
|
3684
|
+
get: function () {
|
|
3685
|
+
try {
|
|
3686
|
+
var info = "",
|
|
3687
|
+
node = node$jscomp$0;
|
|
3688
|
+
do
|
|
3689
|
+
(info += describeComponentStackByType(node.type)),
|
|
3690
|
+
(node = node.parent);
|
|
3691
|
+
while (node);
|
|
3692
|
+
var JSCompiler_inline_result = info;
|
|
3693
|
+
} catch (x) {
|
|
3694
|
+
JSCompiler_inline_result =
|
|
3695
|
+
"\nError generating stack: " + x.message + "\n" + x.stack;
|
|
3580
3696
|
}
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
JSCompiler_temp = { componentStack: JSCompiler_temp };
|
|
3589
|
-
} else JSCompiler_temp = {};
|
|
3590
|
-
return JSCompiler_temp;
|
|
3697
|
+
Object.defineProperty(errorInfo, "componentStack", {
|
|
3698
|
+
value: JSCompiler_inline_result
|
|
3699
|
+
});
|
|
3700
|
+
return JSCompiler_inline_result;
|
|
3701
|
+
}
|
|
3702
|
+
});
|
|
3703
|
+
return errorInfo;
|
|
3591
3704
|
}
|
|
3592
3705
|
function logRecoverableError(request, error, errorInfo) {
|
|
3593
|
-
request = request.onError
|
|
3594
|
-
|
|
3706
|
+
request = request.onError;
|
|
3707
|
+
error = request(error, errorInfo);
|
|
3708
|
+
if (null == error || "string" === typeof error) return error;
|
|
3595
3709
|
}
|
|
3596
3710
|
function fatalError(request, error) {
|
|
3597
|
-
var onShellError = request.onShellError
|
|
3598
|
-
|
|
3599
|
-
onShellError = request.onFatalError;
|
|
3711
|
+
var onShellError = request.onShellError,
|
|
3712
|
+
onFatalError = request.onFatalError;
|
|
3600
3713
|
onShellError(error);
|
|
3714
|
+
onFatalError(error);
|
|
3601
3715
|
null !== request.destination
|
|
3602
|
-
? ((request.status =
|
|
3603
|
-
: ((request.status =
|
|
3716
|
+
? ((request.status = 14), request.destination.destroy(error))
|
|
3717
|
+
: ((request.status = 13), (request.fatalError = error));
|
|
3604
3718
|
}
|
|
3605
3719
|
function renderWithHooks(request, task, keyPath, Component, props, secondArg) {
|
|
3606
3720
|
var prevThenableState = task.thenableState;
|
|
@@ -3653,171 +3767,148 @@ function finishFunctionComponent(
|
|
|
3653
3767
|
renderNode(request, task, children, -1),
|
|
3654
3768
|
(task.treeContext = keyPath))
|
|
3655
3769
|
: didEmitActionStateMarkers
|
|
3656
|
-
|
|
3657
|
-
|
|
3770
|
+
? renderNode(request, task, children, -1)
|
|
3771
|
+
: renderNodeDestructive(request, task, children, -1);
|
|
3658
3772
|
task.keyPath = actionStateCount;
|
|
3659
3773
|
}
|
|
3660
3774
|
function renderElement(request, task, keyPath, type, props, ref) {
|
|
3661
3775
|
if ("function" === typeof type)
|
|
3662
3776
|
if (type.prototype && type.prototype.isReactComponent) {
|
|
3663
|
-
var
|
|
3777
|
+
var newProps = props;
|
|
3664
3778
|
if ("ref" in props) {
|
|
3665
|
-
|
|
3779
|
+
newProps = {};
|
|
3666
3780
|
for (var propName in props)
|
|
3667
|
-
"ref" !== propName &&
|
|
3668
|
-
(JSCompiler_inline_result[propName] = props[propName]);
|
|
3781
|
+
"ref" !== propName && (newProps[propName] = props[propName]);
|
|
3669
3782
|
}
|
|
3670
3783
|
var defaultProps = type.defaultProps;
|
|
3671
3784
|
if (defaultProps) {
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
props
|
|
3677
|
-
));
|
|
3678
|
-
for (var propName$31 in defaultProps)
|
|
3679
|
-
void 0 === JSCompiler_inline_result[propName$31] &&
|
|
3680
|
-
(JSCompiler_inline_result[propName$31] = defaultProps[propName$31]);
|
|
3785
|
+
newProps === props && (newProps = assign({}, newProps, props));
|
|
3786
|
+
for (var propName$33 in defaultProps)
|
|
3787
|
+
void 0 === newProps[propName$33] &&
|
|
3788
|
+
(newProps[propName$33] = defaultProps[propName$33]);
|
|
3681
3789
|
}
|
|
3682
|
-
props =
|
|
3683
|
-
|
|
3684
|
-
defaultProps =
|
|
3790
|
+
props = newProps;
|
|
3791
|
+
newProps = emptyContextObject;
|
|
3792
|
+
defaultProps = type.contextType;
|
|
3793
|
+
"object" === typeof defaultProps &&
|
|
3794
|
+
null !== defaultProps &&
|
|
3795
|
+
(newProps = defaultProps._currentValue2);
|
|
3796
|
+
newProps = new type(props, newProps);
|
|
3797
|
+
var initialState = void 0 !== newProps.state ? newProps.state : null;
|
|
3798
|
+
newProps.updater = classComponentUpdater;
|
|
3799
|
+
newProps.props = props;
|
|
3800
|
+
newProps.state = initialState;
|
|
3801
|
+
defaultProps = { queue: [], replace: !1 };
|
|
3802
|
+
newProps._reactInternals = defaultProps;
|
|
3685
3803
|
ref = type.contextType;
|
|
3686
|
-
|
|
3687
|
-
null !== ref
|
|
3688
|
-
|
|
3689
|
-
defaultProps = new type(JSCompiler_inline_result, defaultProps);
|
|
3690
|
-
propName$31 = void 0 !== defaultProps.state ? defaultProps.state : null;
|
|
3691
|
-
defaultProps.updater = classComponentUpdater;
|
|
3692
|
-
defaultProps.props = JSCompiler_inline_result;
|
|
3693
|
-
defaultProps.state = propName$31;
|
|
3694
|
-
ref = { queue: [], replace: !1 };
|
|
3695
|
-
defaultProps._reactInternals = ref;
|
|
3696
|
-
var contextType = type.contextType;
|
|
3697
|
-
defaultProps.context =
|
|
3698
|
-
"object" === typeof contextType && null !== contextType
|
|
3699
|
-
? contextType._currentValue2
|
|
3804
|
+
newProps.context =
|
|
3805
|
+
"object" === typeof ref && null !== ref
|
|
3806
|
+
? ref._currentValue2
|
|
3700
3807
|
: emptyContextObject;
|
|
3701
|
-
|
|
3702
|
-
"function" === typeof
|
|
3703
|
-
((
|
|
3704
|
-
(
|
|
3705
|
-
null ===
|
|
3706
|
-
?
|
|
3707
|
-
: assign({},
|
|
3708
|
-
(
|
|
3808
|
+
ref = type.getDerivedStateFromProps;
|
|
3809
|
+
"function" === typeof ref &&
|
|
3810
|
+
((ref = ref(props, initialState)),
|
|
3811
|
+
(initialState =
|
|
3812
|
+
null === ref || void 0 === ref
|
|
3813
|
+
? initialState
|
|
3814
|
+
: assign({}, initialState, ref)),
|
|
3815
|
+
(newProps.state = initialState));
|
|
3709
3816
|
if (
|
|
3710
3817
|
"function" !== typeof type.getDerivedStateFromProps &&
|
|
3711
|
-
"function" !== typeof
|
|
3712
|
-
("function" === typeof
|
|
3713
|
-
"function" === typeof
|
|
3818
|
+
"function" !== typeof newProps.getSnapshotBeforeUpdate &&
|
|
3819
|
+
("function" === typeof newProps.UNSAFE_componentWillMount ||
|
|
3820
|
+
"function" === typeof newProps.componentWillMount)
|
|
3714
3821
|
)
|
|
3715
3822
|
if (
|
|
3716
|
-
((type =
|
|
3717
|
-
"function" === typeof
|
|
3718
|
-
|
|
3719
|
-
"function" === typeof
|
|
3720
|
-
|
|
3721
|
-
type !==
|
|
3823
|
+
((type = newProps.state),
|
|
3824
|
+
"function" === typeof newProps.componentWillMount &&
|
|
3825
|
+
newProps.componentWillMount(),
|
|
3826
|
+
"function" === typeof newProps.UNSAFE_componentWillMount &&
|
|
3827
|
+
newProps.UNSAFE_componentWillMount(),
|
|
3828
|
+
type !== newProps.state &&
|
|
3722
3829
|
classComponentUpdater.enqueueReplaceState(
|
|
3723
|
-
|
|
3724
|
-
|
|
3830
|
+
newProps,
|
|
3831
|
+
newProps.state,
|
|
3725
3832
|
null
|
|
3726
3833
|
),
|
|
3727
|
-
null !==
|
|
3834
|
+
null !== defaultProps.queue && 0 < defaultProps.queue.length)
|
|
3728
3835
|
)
|
|
3729
3836
|
if (
|
|
3730
|
-
((type =
|
|
3731
|
-
(
|
|
3732
|
-
(
|
|
3733
|
-
(
|
|
3734
|
-
|
|
3837
|
+
((type = defaultProps.queue),
|
|
3838
|
+
(ref = defaultProps.replace),
|
|
3839
|
+
(defaultProps.queue = null),
|
|
3840
|
+
(defaultProps.replace = !1),
|
|
3841
|
+
ref && 1 === type.length)
|
|
3735
3842
|
)
|
|
3736
|
-
|
|
3843
|
+
newProps.state = type[0];
|
|
3737
3844
|
else {
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
for (
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
?
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
void 0
|
|
3753
|
-
)
|
|
3754
|
-
: propName),
|
|
3755
|
-
null != propName &&
|
|
3756
|
-
(propName$31
|
|
3757
|
-
? ((propName$31 = !1), (ref = assign({}, ref, propName)))
|
|
3758
|
-
: assign(ref, propName));
|
|
3759
|
-
defaultProps.state = ref;
|
|
3845
|
+
defaultProps = ref ? type[0] : newProps.state;
|
|
3846
|
+
initialState = !0;
|
|
3847
|
+
for (ref = ref ? 1 : 0; ref < type.length; ref++)
|
|
3848
|
+
(propName$33 = type[ref]),
|
|
3849
|
+
(propName$33 =
|
|
3850
|
+
"function" === typeof propName$33
|
|
3851
|
+
? propName$33.call(newProps, defaultProps, props, void 0)
|
|
3852
|
+
: propName$33),
|
|
3853
|
+
null != propName$33 &&
|
|
3854
|
+
(initialState
|
|
3855
|
+
? ((initialState = !1),
|
|
3856
|
+
(defaultProps = assign({}, defaultProps, propName$33)))
|
|
3857
|
+
: assign(defaultProps, propName$33));
|
|
3858
|
+
newProps.state = defaultProps;
|
|
3760
3859
|
}
|
|
3761
|
-
else
|
|
3762
|
-
type =
|
|
3763
|
-
|
|
3860
|
+
else defaultProps.queue = null;
|
|
3861
|
+
type = newProps.render();
|
|
3862
|
+
if (12 === request.status) throw null;
|
|
3863
|
+
props = task.keyPath;
|
|
3764
3864
|
task.keyPath = keyPath;
|
|
3765
3865
|
renderNodeDestructive(request, task, type, -1);
|
|
3766
|
-
task.keyPath =
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
(
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
),
|
|
3785
|
-
(task.
|
|
3786
|
-
else if ("string" === typeof type) {
|
|
3787
|
-
JSCompiler_inline_result = task.componentStack;
|
|
3788
|
-
task.componentStack = createBuiltInComponentStack(task, type);
|
|
3789
|
-
defaultProps = task.blockedSegment;
|
|
3790
|
-
if (null === defaultProps)
|
|
3791
|
-
(defaultProps = props.children),
|
|
3792
|
-
(ref = task.formatContext),
|
|
3793
|
-
(propName$31 = task.keyPath),
|
|
3794
|
-
(task.formatContext = getChildFormatContext(ref, type, props)),
|
|
3866
|
+
task.keyPath = props;
|
|
3867
|
+
} else {
|
|
3868
|
+
type = renderWithHooks(request, task, keyPath, type, props, void 0);
|
|
3869
|
+
if (12 === request.status) throw null;
|
|
3870
|
+
finishFunctionComponent(
|
|
3871
|
+
request,
|
|
3872
|
+
task,
|
|
3873
|
+
keyPath,
|
|
3874
|
+
type,
|
|
3875
|
+
0 !== localIdCounter,
|
|
3876
|
+
actionStateCounter,
|
|
3877
|
+
actionStateMatchingIndex
|
|
3878
|
+
);
|
|
3879
|
+
}
|
|
3880
|
+
else if ("string" === typeof type)
|
|
3881
|
+
if (((newProps = task.blockedSegment), null === newProps))
|
|
3882
|
+
(newProps = props.children),
|
|
3883
|
+
(defaultProps = task.formatContext),
|
|
3884
|
+
(initialState = task.keyPath),
|
|
3885
|
+
(task.formatContext = getChildFormatContext(defaultProps, type, props)),
|
|
3795
3886
|
(task.keyPath = keyPath),
|
|
3796
|
-
renderNode(request, task,
|
|
3797
|
-
(task.formatContext =
|
|
3798
|
-
(task.keyPath =
|
|
3887
|
+
renderNode(request, task, newProps, -1),
|
|
3888
|
+
(task.formatContext = defaultProps),
|
|
3889
|
+
(task.keyPath = initialState);
|
|
3799
3890
|
else {
|
|
3800
|
-
|
|
3801
|
-
|
|
3891
|
+
initialState = pushStartInstance(
|
|
3892
|
+
newProps.chunks,
|
|
3802
3893
|
type,
|
|
3803
3894
|
props,
|
|
3804
3895
|
request.resumableState,
|
|
3805
3896
|
request.renderState,
|
|
3806
3897
|
task.hoistableState,
|
|
3807
3898
|
task.formatContext,
|
|
3808
|
-
|
|
3899
|
+
newProps.lastPushedText,
|
|
3809
3900
|
task.isFallback
|
|
3810
3901
|
);
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
task.formatContext = getChildFormatContext(
|
|
3902
|
+
newProps.lastPushedText = !1;
|
|
3903
|
+
defaultProps = task.formatContext;
|
|
3904
|
+
ref = task.keyPath;
|
|
3905
|
+
task.formatContext = getChildFormatContext(defaultProps, type, props);
|
|
3815
3906
|
task.keyPath = keyPath;
|
|
3816
|
-
renderNode(request, task,
|
|
3817
|
-
task.formatContext =
|
|
3818
|
-
task.keyPath =
|
|
3907
|
+
renderNode(request, task, initialState, -1);
|
|
3908
|
+
task.formatContext = defaultProps;
|
|
3909
|
+
task.keyPath = ref;
|
|
3819
3910
|
a: {
|
|
3820
|
-
|
|
3911
|
+
task = newProps.chunks;
|
|
3821
3912
|
request = request.resumableState;
|
|
3822
3913
|
switch (type) {
|
|
3823
3914
|
case "title":
|
|
@@ -3840,23 +3931,22 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
3840
3931
|
case "wbr":
|
|
3841
3932
|
break a;
|
|
3842
3933
|
case "body":
|
|
3843
|
-
if (1 >=
|
|
3934
|
+
if (1 >= defaultProps.insertionMode) {
|
|
3844
3935
|
request.hasBody = !0;
|
|
3845
3936
|
break a;
|
|
3846
3937
|
}
|
|
3847
3938
|
break;
|
|
3848
3939
|
case "html":
|
|
3849
|
-
if (0 ===
|
|
3940
|
+
if (0 === defaultProps.insertionMode) {
|
|
3850
3941
|
request.hasHtml = !0;
|
|
3851
3942
|
break a;
|
|
3852
3943
|
}
|
|
3853
3944
|
}
|
|
3854
|
-
|
|
3945
|
+
task.push(endChunkForTag(type));
|
|
3855
3946
|
}
|
|
3856
|
-
|
|
3947
|
+
newProps.lastPushedText = !1;
|
|
3857
3948
|
}
|
|
3858
|
-
|
|
3859
|
-
} else {
|
|
3949
|
+
else {
|
|
3860
3950
|
switch (type) {
|
|
3861
3951
|
case REACT_LEGACY_HIDDEN_TYPE:
|
|
3862
3952
|
case REACT_DEBUG_TRACING_MODE_TYPE:
|
|
@@ -3876,13 +3966,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
3876
3966
|
(task.keyPath = type));
|
|
3877
3967
|
return;
|
|
3878
3968
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
3879
|
-
type = task.
|
|
3880
|
-
task.componentStack = createBuiltInComponentStack(task, "SuspenseList");
|
|
3881
|
-
JSCompiler_inline_result = task.keyPath;
|
|
3969
|
+
type = task.keyPath;
|
|
3882
3970
|
task.keyPath = keyPath;
|
|
3883
3971
|
renderNodeDestructive(request, task, props.children, -1);
|
|
3884
|
-
task.keyPath =
|
|
3885
|
-
task.componentStack = type;
|
|
3972
|
+
task.keyPath = type;
|
|
3886
3973
|
return;
|
|
3887
3974
|
case REACT_SCOPE_TYPE:
|
|
3888
3975
|
throw Error(formatProdErrorMessage(343));
|
|
@@ -3897,31 +3984,26 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
3897
3984
|
task.keyPath = type;
|
|
3898
3985
|
}
|
|
3899
3986
|
} else {
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
task
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
parentSegment = task.blockedSegment;
|
|
3909
|
-
propName$31 = props.fallback;
|
|
3910
|
-
var content = props.children;
|
|
3911
|
-
props = new Set();
|
|
3912
|
-
contextType = createSuspenseBoundary(request, props);
|
|
3987
|
+
type = task.keyPath;
|
|
3988
|
+
var parentBoundary = task.blockedBoundary,
|
|
3989
|
+
parentHoistableState = task.hoistableState;
|
|
3990
|
+
ref = task.blockedSegment;
|
|
3991
|
+
propName$33 = props.fallback;
|
|
3992
|
+
props = props.children;
|
|
3993
|
+
var fallbackAbortSet = new Set();
|
|
3994
|
+
propName = createSuspenseBoundary(request, fallbackAbortSet);
|
|
3913
3995
|
null !== request.trackedPostpones &&
|
|
3914
|
-
(
|
|
3915
|
-
|
|
3996
|
+
(propName.trackedContentKeyPath = keyPath);
|
|
3997
|
+
var boundarySegment = createPendingSegment(
|
|
3916
3998
|
request,
|
|
3917
|
-
|
|
3918
|
-
|
|
3999
|
+
ref.chunks.length,
|
|
4000
|
+
propName,
|
|
3919
4001
|
task.formatContext,
|
|
3920
4002
|
!1,
|
|
3921
4003
|
!1
|
|
3922
4004
|
);
|
|
3923
|
-
|
|
3924
|
-
|
|
4005
|
+
ref.children.push(boundarySegment);
|
|
4006
|
+
ref.lastPushedText = !1;
|
|
3925
4007
|
var contentRootSegment = createPendingSegment(
|
|
3926
4008
|
request,
|
|
3927
4009
|
0,
|
|
@@ -3931,108 +4013,128 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
3931
4013
|
!1
|
|
3932
4014
|
);
|
|
3933
4015
|
contentRootSegment.parentFlushed = !0;
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
4016
|
+
if (null !== request.trackedPostpones) {
|
|
4017
|
+
newProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
|
|
4018
|
+
defaultProps = [newProps[1], newProps[2], [], null];
|
|
4019
|
+
request.trackedPostpones.workingMap.set(newProps, defaultProps);
|
|
4020
|
+
propName.trackedFallbackNode = defaultProps;
|
|
4021
|
+
task.blockedSegment = boundarySegment;
|
|
4022
|
+
task.keyPath = newProps;
|
|
4023
|
+
boundarySegment.status = 6;
|
|
4024
|
+
try {
|
|
4025
|
+
renderNode(request, task, propName$33, -1),
|
|
4026
|
+
pushSegmentFinale(
|
|
4027
|
+
boundarySegment.chunks,
|
|
4028
|
+
request.renderState,
|
|
4029
|
+
boundarySegment.lastPushedText,
|
|
4030
|
+
boundarySegment.textEmbedded
|
|
4031
|
+
),
|
|
4032
|
+
(boundarySegment.status = 1);
|
|
4033
|
+
} catch (thrownValue) {
|
|
4034
|
+
throw (
|
|
4035
|
+
((boundarySegment.status = 12 === request.status ? 3 : 4),
|
|
4036
|
+
thrownValue)
|
|
4037
|
+
);
|
|
4038
|
+
} finally {
|
|
4039
|
+
(task.blockedSegment = ref), (task.keyPath = type);
|
|
3952
4040
|
}
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
4041
|
+
task = createRenderTask(
|
|
4042
|
+
request,
|
|
4043
|
+
null,
|
|
4044
|
+
props,
|
|
4045
|
+
-1,
|
|
4046
|
+
propName,
|
|
4047
|
+
contentRootSegment,
|
|
4048
|
+
propName.contentState,
|
|
4049
|
+
task.abortSet,
|
|
4050
|
+
keyPath,
|
|
4051
|
+
task.formatContext,
|
|
4052
|
+
task.context,
|
|
4053
|
+
task.treeContext,
|
|
4054
|
+
task.componentStack,
|
|
4055
|
+
task.isFallback
|
|
4056
|
+
);
|
|
4057
|
+
pushComponentStack(task);
|
|
4058
|
+
request.pingedTasks.push(task);
|
|
4059
|
+
} else {
|
|
4060
|
+
task.blockedBoundary = propName;
|
|
4061
|
+
task.hoistableState = propName.contentState;
|
|
4062
|
+
task.blockedSegment = contentRootSegment;
|
|
4063
|
+
task.keyPath = keyPath;
|
|
4064
|
+
contentRootSegment.status = 6;
|
|
4065
|
+
try {
|
|
4066
|
+
if (
|
|
4067
|
+
(renderNode(request, task, props, -1),
|
|
4068
|
+
pushSegmentFinale(
|
|
4069
|
+
contentRootSegment.chunks,
|
|
4070
|
+
request.renderState,
|
|
4071
|
+
contentRootSegment.lastPushedText,
|
|
4072
|
+
contentRootSegment.textEmbedded
|
|
4073
|
+
),
|
|
4074
|
+
(contentRootSegment.status = 1),
|
|
4075
|
+
queueCompletedSegment(propName, contentRootSegment),
|
|
4076
|
+
0 === propName.pendingTasks && 0 === propName.status)
|
|
4077
|
+
) {
|
|
4078
|
+
propName.status = 1;
|
|
4079
|
+
break a;
|
|
4080
|
+
}
|
|
4081
|
+
} catch (thrownValue$28) {
|
|
4082
|
+
(propName.status = 4),
|
|
4083
|
+
12 === request.status
|
|
4084
|
+
? ((contentRootSegment.status = 3),
|
|
4085
|
+
(newProps = request.fatalError))
|
|
4086
|
+
: ((contentRootSegment.status = 4),
|
|
4087
|
+
(newProps = thrownValue$28)),
|
|
4088
|
+
(defaultProps = getThrownInfo(task.componentStack)),
|
|
4089
|
+
(initialState = logRecoverableError(
|
|
4090
|
+
request,
|
|
4091
|
+
newProps,
|
|
4092
|
+
defaultProps
|
|
4093
|
+
)),
|
|
4094
|
+
(propName.errorDigest = initialState),
|
|
4095
|
+
untrackBoundary(request, propName);
|
|
4096
|
+
} finally {
|
|
4097
|
+
(task.blockedBoundary = parentBoundary),
|
|
4098
|
+
(task.hoistableState = parentHoistableState),
|
|
4099
|
+
(task.blockedSegment = ref),
|
|
4100
|
+
(task.keyPath = type);
|
|
4101
|
+
}
|
|
4102
|
+
task = createRenderTask(
|
|
4103
|
+
request,
|
|
4104
|
+
null,
|
|
4105
|
+
propName$33,
|
|
4106
|
+
-1,
|
|
4107
|
+
parentBoundary,
|
|
4108
|
+
boundarySegment,
|
|
4109
|
+
propName.fallbackState,
|
|
4110
|
+
fallbackAbortSet,
|
|
4111
|
+
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
|
4112
|
+
task.formatContext,
|
|
4113
|
+
task.context,
|
|
4114
|
+
task.treeContext,
|
|
4115
|
+
task.componentStack,
|
|
4116
|
+
!0
|
|
4117
|
+
);
|
|
4118
|
+
pushComponentStack(task);
|
|
4119
|
+
request.pingedTasks.push(task);
|
|
3973
4120
|
}
|
|
3974
|
-
JSCompiler_inline_result = [
|
|
3975
|
-
keyPath[0],
|
|
3976
|
-
"Suspense Fallback",
|
|
3977
|
-
keyPath[2]
|
|
3978
|
-
];
|
|
3979
|
-
defaultProps = request.trackedPostpones;
|
|
3980
|
-
null !== defaultProps &&
|
|
3981
|
-
((previousComponentStack = [
|
|
3982
|
-
JSCompiler_inline_result[1],
|
|
3983
|
-
JSCompiler_inline_result[2],
|
|
3984
|
-
[],
|
|
3985
|
-
null
|
|
3986
|
-
]),
|
|
3987
|
-
defaultProps.workingMap.set(
|
|
3988
|
-
JSCompiler_inline_result,
|
|
3989
|
-
previousComponentStack
|
|
3990
|
-
),
|
|
3991
|
-
5 === contextType.status
|
|
3992
|
-
? (defaultProps.workingMap.get(keyPath)[4] =
|
|
3993
|
-
previousComponentStack)
|
|
3994
|
-
: (contextType.trackedFallbackNode = previousComponentStack));
|
|
3995
|
-
task = createRenderTask(
|
|
3996
|
-
request,
|
|
3997
|
-
null,
|
|
3998
|
-
propName$31,
|
|
3999
|
-
-1,
|
|
4000
|
-
ref,
|
|
4001
|
-
propName,
|
|
4002
|
-
contextType.fallbackState,
|
|
4003
|
-
props,
|
|
4004
|
-
JSCompiler_inline_result,
|
|
4005
|
-
task.formatContext,
|
|
4006
|
-
task.legacyContext,
|
|
4007
|
-
task.context,
|
|
4008
|
-
task.treeContext,
|
|
4009
|
-
type,
|
|
4010
|
-
!0
|
|
4011
|
-
);
|
|
4012
|
-
request.pingedTasks.push(task);
|
|
4013
4121
|
}
|
|
4014
4122
|
return;
|
|
4015
4123
|
}
|
|
4016
4124
|
if ("object" === typeof type && null !== type)
|
|
4017
4125
|
switch (type.$$typeof) {
|
|
4018
4126
|
case REACT_FORWARD_REF_TYPE:
|
|
4019
|
-
JSCompiler_inline_result = task.componentStack;
|
|
4020
|
-
task.componentStack = {
|
|
4021
|
-
tag: 1,
|
|
4022
|
-
parent: task.componentStack,
|
|
4023
|
-
type: type.render
|
|
4024
|
-
};
|
|
4025
4127
|
if ("ref" in props)
|
|
4026
|
-
for (
|
|
4027
|
-
"ref" !==
|
|
4028
|
-
(
|
|
4029
|
-
else
|
|
4128
|
+
for (boundarySegment in ((newProps = {}), props))
|
|
4129
|
+
"ref" !== boundarySegment &&
|
|
4130
|
+
(newProps[boundarySegment] = props[boundarySegment]);
|
|
4131
|
+
else newProps = props;
|
|
4030
4132
|
type = renderWithHooks(
|
|
4031
4133
|
request,
|
|
4032
4134
|
task,
|
|
4033
4135
|
keyPath,
|
|
4034
4136
|
type.render,
|
|
4035
|
-
|
|
4137
|
+
newProps,
|
|
4036
4138
|
ref
|
|
4037
4139
|
);
|
|
4038
4140
|
finishFunctionComponent(
|
|
@@ -4044,7 +4146,6 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4044
4146
|
actionStateCounter,
|
|
4045
4147
|
actionStateMatchingIndex
|
|
4046
4148
|
);
|
|
4047
|
-
task.componentStack = JSCompiler_inline_result;
|
|
4048
4149
|
return;
|
|
4049
4150
|
case REACT_MEMO_TYPE:
|
|
4050
4151
|
renderElement(request, task, keyPath, type.type, props, ref);
|
|
@@ -4052,16 +4153,16 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4052
4153
|
case REACT_PROVIDER_TYPE:
|
|
4053
4154
|
case REACT_CONTEXT_TYPE:
|
|
4054
4155
|
defaultProps = props.children;
|
|
4055
|
-
|
|
4156
|
+
newProps = task.keyPath;
|
|
4056
4157
|
props = props.value;
|
|
4057
|
-
|
|
4158
|
+
initialState = type._currentValue2;
|
|
4058
4159
|
type._currentValue2 = props;
|
|
4059
|
-
|
|
4160
|
+
ref = currentActiveSnapshot;
|
|
4060
4161
|
currentActiveSnapshot = type = {
|
|
4061
|
-
parent:
|
|
4062
|
-
depth: null ===
|
|
4162
|
+
parent: ref,
|
|
4163
|
+
depth: null === ref ? 0 : ref.depth + 1,
|
|
4063
4164
|
context: type,
|
|
4064
|
-
parentValue:
|
|
4165
|
+
parentValue: initialState,
|
|
4065
4166
|
value: props
|
|
4066
4167
|
};
|
|
4067
4168
|
task.context = type;
|
|
@@ -4072,7 +4173,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4072
4173
|
request.context._currentValue2 = request.parentValue;
|
|
4073
4174
|
request = currentActiveSnapshot = request.parent;
|
|
4074
4175
|
task.context = request;
|
|
4075
|
-
task.keyPath =
|
|
4176
|
+
task.keyPath = newProps;
|
|
4076
4177
|
return;
|
|
4077
4178
|
case REACT_CONSUMER_TYPE:
|
|
4078
4179
|
props = props.children;
|
|
@@ -4083,12 +4184,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4083
4184
|
task.keyPath = props;
|
|
4084
4185
|
return;
|
|
4085
4186
|
case REACT_LAZY_TYPE:
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
type
|
|
4090
|
-
renderElement(request, task, keyPath, type, props, void 0);
|
|
4091
|
-
task.componentStack = JSCompiler_inline_result;
|
|
4187
|
+
newProps = type._init;
|
|
4188
|
+
type = newProps(type._payload);
|
|
4189
|
+
if (12 === request.status) throw null;
|
|
4190
|
+
renderElement(request, task, keyPath, type, props, ref);
|
|
4092
4191
|
return;
|
|
4093
4192
|
}
|
|
4094
4193
|
throw Error(
|
|
@@ -4123,23 +4222,29 @@ function resumeNode(request, task, segmentId, node, childIndex) {
|
|
|
4123
4222
|
(task.replay = prevReplay), (task.blockedSegment = null);
|
|
4124
4223
|
}
|
|
4125
4224
|
}
|
|
4126
|
-
function renderNodeDestructive(request, task, node
|
|
4127
|
-
|
|
4128
|
-
resumeNode(request, task, task.replay.slots, node
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4225
|
+
function renderNodeDestructive(request, task, node, childIndex) {
|
|
4226
|
+
null !== task.replay && "number" === typeof task.replay.slots
|
|
4227
|
+
? resumeNode(request, task, task.replay.slots, node, childIndex)
|
|
4228
|
+
: ((task.node = node),
|
|
4229
|
+
(task.childIndex = childIndex),
|
|
4230
|
+
(node = task.componentStack),
|
|
4231
|
+
pushComponentStack(task),
|
|
4232
|
+
retryNode(request, task),
|
|
4233
|
+
(task.componentStack = node));
|
|
4234
|
+
}
|
|
4235
|
+
function retryNode(request, task) {
|
|
4236
|
+
var node = task.node,
|
|
4237
|
+
childIndex = task.childIndex;
|
|
4238
|
+
if (null !== node) {
|
|
4239
|
+
if ("object" === typeof node) {
|
|
4240
|
+
switch (node.$$typeof) {
|
|
4136
4241
|
case REACT_ELEMENT_TYPE:
|
|
4137
|
-
var type = node
|
|
4138
|
-
key = node
|
|
4139
|
-
props = node
|
|
4140
|
-
node
|
|
4141
|
-
var ref = void 0 !== node
|
|
4142
|
-
|
|
4242
|
+
var type = node.type,
|
|
4243
|
+
key = node.key,
|
|
4244
|
+
props = node.props;
|
|
4245
|
+
node = props.ref;
|
|
4246
|
+
var ref = void 0 !== node ? node : null,
|
|
4247
|
+
name = getComponentNameFromType(type),
|
|
4143
4248
|
keyOrIndex =
|
|
4144
4249
|
null == key ? (-1 === childIndex ? 0 : childIndex) : key;
|
|
4145
4250
|
key = [task.keyPath, name, keyOrIndex];
|
|
@@ -4147,18 +4252,16 @@ function renderNodeDestructive(request, task, node$jscomp$0, childIndex) {
|
|
|
4147
4252
|
a: {
|
|
4148
4253
|
var replay = task.replay;
|
|
4149
4254
|
childIndex = replay.nodes;
|
|
4150
|
-
for (
|
|
4151
|
-
node$jscomp$0 =
|
|
4152
|
-
node$jscomp$0
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
var childNodes = node[2];
|
|
4161
|
-
name = node[3];
|
|
4255
|
+
for (node = 0; node < childIndex.length; node++) {
|
|
4256
|
+
var node$jscomp$0 = childIndex[node];
|
|
4257
|
+
if (keyOrIndex === node$jscomp$0[1]) {
|
|
4258
|
+
if (4 === node$jscomp$0.length) {
|
|
4259
|
+
if (null !== name && name !== node$jscomp$0[0])
|
|
4260
|
+
throw Error(
|
|
4261
|
+
formatProdErrorMessage(490, node$jscomp$0[0], name)
|
|
4262
|
+
);
|
|
4263
|
+
var childNodes = node$jscomp$0[2];
|
|
4264
|
+
name = node$jscomp$0[3];
|
|
4162
4265
|
keyOrIndex = task.node;
|
|
4163
4266
|
task.replay = {
|
|
4164
4267
|
nodes: childNodes,
|
|
@@ -4185,14 +4288,13 @@ function renderNodeDestructive(request, task, node$jscomp$0, childIndex) {
|
|
|
4185
4288
|
x)
|
|
4186
4289
|
);
|
|
4187
4290
|
task.replay.pendingTasks--;
|
|
4188
|
-
props = getThrownInfo(
|
|
4189
|
-
key =
|
|
4190
|
-
request = task.blockedBoundary;
|
|
4291
|
+
props = getThrownInfo(task.componentStack);
|
|
4292
|
+
key = task.blockedBoundary;
|
|
4191
4293
|
type = x;
|
|
4192
|
-
props = logRecoverableError(
|
|
4294
|
+
props = logRecoverableError(request, type, props);
|
|
4193
4295
|
abortRemainingReplayNodes(
|
|
4194
|
-
key,
|
|
4195
4296
|
request,
|
|
4297
|
+
key,
|
|
4196
4298
|
childNodes,
|
|
4197
4299
|
name,
|
|
4198
4300
|
type,
|
|
@@ -4211,15 +4313,14 @@ function renderNodeDestructive(request, task, node$jscomp$0, childIndex) {
|
|
|
4211
4313
|
);
|
|
4212
4314
|
b: {
|
|
4213
4315
|
replay = void 0;
|
|
4214
|
-
type = node[5];
|
|
4215
|
-
ref = node[2];
|
|
4216
|
-
name = node[3];
|
|
4217
|
-
keyOrIndex =
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
prevKeyPath = task.keyPath,
|
|
4316
|
+
type = node$jscomp$0[5];
|
|
4317
|
+
ref = node$jscomp$0[2];
|
|
4318
|
+
name = node$jscomp$0[3];
|
|
4319
|
+
keyOrIndex =
|
|
4320
|
+
null === node$jscomp$0[4] ? [] : node$jscomp$0[4][2];
|
|
4321
|
+
node$jscomp$0 =
|
|
4322
|
+
null === node$jscomp$0[4] ? null : node$jscomp$0[4][3];
|
|
4323
|
+
var prevKeyPath = task.keyPath,
|
|
4223
4324
|
previousReplaySet = task.replay,
|
|
4224
4325
|
parentBoundary = task.blockedBoundary,
|
|
4225
4326
|
parentHoistableState = task.hoistableState,
|
|
@@ -4234,6 +4335,7 @@ function renderNodeDestructive(request, task, node$jscomp$0, childIndex) {
|
|
|
4234
4335
|
resumedBoundary.rootSegmentID = type;
|
|
4235
4336
|
task.blockedBoundary = resumedBoundary;
|
|
4236
4337
|
task.hoistableState = resumedBoundary.contentState;
|
|
4338
|
+
task.keyPath = key;
|
|
4237
4339
|
task.replay = {
|
|
4238
4340
|
nodes: ref,
|
|
4239
4341
|
slots: name,
|
|
@@ -4257,10 +4359,7 @@ function renderNodeDestructive(request, task, node$jscomp$0, childIndex) {
|
|
|
4257
4359
|
}
|
|
4258
4360
|
} catch (error) {
|
|
4259
4361
|
(resumedBoundary.status = 4),
|
|
4260
|
-
(childNodes = getThrownInfo(
|
|
4261
|
-
request,
|
|
4262
|
-
task.componentStack
|
|
4263
|
-
)),
|
|
4362
|
+
(childNodes = getThrownInfo(task.componentStack)),
|
|
4264
4363
|
(replay = logRecoverableError(
|
|
4265
4364
|
request,
|
|
4266
4365
|
error,
|
|
@@ -4275,13 +4374,16 @@ function renderNodeDestructive(request, task, node$jscomp$0, childIndex) {
|
|
|
4275
4374
|
(task.blockedBoundary = parentBoundary),
|
|
4276
4375
|
(task.hoistableState = parentHoistableState),
|
|
4277
4376
|
(task.replay = previousReplaySet),
|
|
4278
|
-
(task.keyPath = prevKeyPath)
|
|
4279
|
-
(task.componentStack = previousComponentStack);
|
|
4377
|
+
(task.keyPath = prevKeyPath);
|
|
4280
4378
|
}
|
|
4281
4379
|
task = createReplayTask(
|
|
4282
4380
|
request,
|
|
4283
4381
|
null,
|
|
4284
|
-
{
|
|
4382
|
+
{
|
|
4383
|
+
nodes: keyOrIndex,
|
|
4384
|
+
slots: node$jscomp$0,
|
|
4385
|
+
pendingTasks: 0
|
|
4386
|
+
},
|
|
4285
4387
|
props,
|
|
4286
4388
|
-1,
|
|
4287
4389
|
parentBoundary,
|
|
@@ -4289,16 +4391,16 @@ function renderNodeDestructive(request, task, node$jscomp$0, childIndex) {
|
|
|
4289
4391
|
fallbackAbortSet,
|
|
4290
4392
|
[key[0], "Suspense Fallback", key[2]],
|
|
4291
4393
|
task.formatContext,
|
|
4292
|
-
task.legacyContext,
|
|
4293
4394
|
task.context,
|
|
4294
4395
|
task.treeContext,
|
|
4295
|
-
|
|
4396
|
+
task.componentStack,
|
|
4296
4397
|
!0
|
|
4297
4398
|
);
|
|
4399
|
+
pushComponentStack(task);
|
|
4298
4400
|
request.pingedTasks.push(task);
|
|
4299
4401
|
}
|
|
4300
4402
|
}
|
|
4301
|
-
childIndex.splice(node
|
|
4403
|
+
childIndex.splice(node, 1);
|
|
4302
4404
|
break a;
|
|
4303
4405
|
}
|
|
4304
4406
|
}
|
|
@@ -4308,81 +4410,69 @@ function renderNodeDestructive(request, task, node$jscomp$0, childIndex) {
|
|
|
4308
4410
|
case REACT_PORTAL_TYPE:
|
|
4309
4411
|
throw Error(formatProdErrorMessage(257));
|
|
4310
4412
|
case REACT_LAZY_TYPE:
|
|
4311
|
-
childNodes =
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
task.componentStack = childNodes;
|
|
4316
|
-
renderNodeDestructive(request, task, node$jscomp$0, childIndex);
|
|
4413
|
+
childNodes = node._init;
|
|
4414
|
+
node = childNodes(node._payload);
|
|
4415
|
+
if (12 === request.status) throw null;
|
|
4416
|
+
renderNodeDestructive(request, task, node, childIndex);
|
|
4317
4417
|
return;
|
|
4318
4418
|
}
|
|
4319
|
-
if (isArrayImpl(node
|
|
4320
|
-
renderChildrenArray(request, task, node
|
|
4419
|
+
if (isArrayImpl(node)) {
|
|
4420
|
+
renderChildrenArray(request, task, node, childIndex);
|
|
4321
4421
|
return;
|
|
4322
4422
|
}
|
|
4323
|
-
null === node
|
|
4423
|
+
null === node || "object" !== typeof node
|
|
4324
4424
|
? (childNodes = null)
|
|
4325
4425
|
: ((childNodes =
|
|
4326
|
-
(MAYBE_ITERATOR_SYMBOL && node
|
|
4327
|
-
node
|
|
4426
|
+
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
|
|
4427
|
+
node["@@iterator"]),
|
|
4328
4428
|
(childNodes = "function" === typeof childNodes ? childNodes : null));
|
|
4329
|
-
if (childNodes && (childNodes = childNodes.call(node
|
|
4330
|
-
node
|
|
4331
|
-
if (!node
|
|
4429
|
+
if (childNodes && (childNodes = childNodes.call(node))) {
|
|
4430
|
+
node = childNodes.next();
|
|
4431
|
+
if (!node.done) {
|
|
4332
4432
|
props = [];
|
|
4333
|
-
do
|
|
4334
|
-
|
|
4335
|
-
(node$jscomp$0 = childNodes.next());
|
|
4336
|
-
while (!node$jscomp$0.done);
|
|
4433
|
+
do props.push(node.value), (node = childNodes.next());
|
|
4434
|
+
while (!node.done);
|
|
4337
4435
|
renderChildrenArray(request, task, props, childIndex);
|
|
4338
4436
|
}
|
|
4339
4437
|
return;
|
|
4340
4438
|
}
|
|
4341
|
-
if ("function" === typeof node
|
|
4439
|
+
if ("function" === typeof node.then)
|
|
4342
4440
|
return (
|
|
4343
4441
|
(task.thenableState = null),
|
|
4344
|
-
renderNodeDestructive(
|
|
4345
|
-
request,
|
|
4346
|
-
task,
|
|
4347
|
-
unwrapThenable(node$jscomp$0),
|
|
4348
|
-
childIndex
|
|
4349
|
-
)
|
|
4442
|
+
renderNodeDestructive(request, task, unwrapThenable(node), childIndex)
|
|
4350
4443
|
);
|
|
4351
|
-
if (node
|
|
4444
|
+
if (node.$$typeof === REACT_CONTEXT_TYPE)
|
|
4352
4445
|
return renderNodeDestructive(
|
|
4353
4446
|
request,
|
|
4354
4447
|
task,
|
|
4355
|
-
node
|
|
4448
|
+
node._currentValue2,
|
|
4356
4449
|
childIndex
|
|
4357
4450
|
);
|
|
4358
|
-
childIndex = Object.prototype.toString.call(node
|
|
4451
|
+
childIndex = Object.prototype.toString.call(node);
|
|
4359
4452
|
throw Error(
|
|
4360
4453
|
formatProdErrorMessage(
|
|
4361
4454
|
31,
|
|
4362
4455
|
"[object Object]" === childIndex
|
|
4363
|
-
? "object with keys {" + Object.keys(node
|
|
4456
|
+
? "object with keys {" + Object.keys(node).join(", ") + "}"
|
|
4364
4457
|
: childIndex
|
|
4365
4458
|
)
|
|
4366
4459
|
);
|
|
4367
4460
|
}
|
|
4368
|
-
if ("string" === typeof node
|
|
4461
|
+
if ("string" === typeof node)
|
|
4369
4462
|
(childIndex = task.blockedSegment),
|
|
4370
4463
|
null !== childIndex &&
|
|
4371
4464
|
(childIndex.lastPushedText = pushTextInstance(
|
|
4372
4465
|
childIndex.chunks,
|
|
4373
|
-
node
|
|
4466
|
+
node,
|
|
4374
4467
|
request.renderState,
|
|
4375
4468
|
childIndex.lastPushedText
|
|
4376
4469
|
));
|
|
4377
|
-
else if (
|
|
4378
|
-
"number" === typeof node$jscomp$0 ||
|
|
4379
|
-
"bigint" === typeof node$jscomp$0
|
|
4380
|
-
)
|
|
4470
|
+
else if ("number" === typeof node || "bigint" === typeof node)
|
|
4381
4471
|
(childIndex = task.blockedSegment),
|
|
4382
4472
|
null !== childIndex &&
|
|
4383
4473
|
(childIndex.lastPushedText = pushTextInstance(
|
|
4384
4474
|
childIndex.chunks,
|
|
4385
|
-
"" + node
|
|
4475
|
+
"" + node,
|
|
4386
4476
|
request.renderState,
|
|
4387
4477
|
childIndex.lastPushedText
|
|
4388
4478
|
));
|
|
@@ -4418,7 +4508,7 @@ function renderChildrenArray(request, task, children, childIndex) {
|
|
|
4418
4508
|
)
|
|
4419
4509
|
throw x;
|
|
4420
4510
|
task.replay.pendingTasks--;
|
|
4421
|
-
children = getThrownInfo(
|
|
4511
|
+
children = getThrownInfo(task.componentStack);
|
|
4422
4512
|
var boundary = task.blockedBoundary,
|
|
4423
4513
|
error = x;
|
|
4424
4514
|
children = logRecoverableError(request, error, children);
|
|
@@ -4473,9 +4563,55 @@ function untrackBoundary(request, boundary) {
|
|
|
4473
4563
|
void 0 !== boundary &&
|
|
4474
4564
|
((boundary.length = 4), (boundary[2] = []), (boundary[3] = null))));
|
|
4475
4565
|
}
|
|
4566
|
+
function spawnNewSuspendedReplayTask(request, task, thenableState) {
|
|
4567
|
+
return createReplayTask(
|
|
4568
|
+
request,
|
|
4569
|
+
thenableState,
|
|
4570
|
+
task.replay,
|
|
4571
|
+
task.node,
|
|
4572
|
+
task.childIndex,
|
|
4573
|
+
task.blockedBoundary,
|
|
4574
|
+
task.hoistableState,
|
|
4575
|
+
task.abortSet,
|
|
4576
|
+
task.keyPath,
|
|
4577
|
+
task.formatContext,
|
|
4578
|
+
task.context,
|
|
4579
|
+
task.treeContext,
|
|
4580
|
+
task.componentStack,
|
|
4581
|
+
task.isFallback
|
|
4582
|
+
);
|
|
4583
|
+
}
|
|
4584
|
+
function spawnNewSuspendedRenderTask(request, task, thenableState) {
|
|
4585
|
+
var segment = task.blockedSegment,
|
|
4586
|
+
newSegment = createPendingSegment(
|
|
4587
|
+
request,
|
|
4588
|
+
segment.chunks.length,
|
|
4589
|
+
null,
|
|
4590
|
+
task.formatContext,
|
|
4591
|
+
segment.lastPushedText,
|
|
4592
|
+
!0
|
|
4593
|
+
);
|
|
4594
|
+
segment.children.push(newSegment);
|
|
4595
|
+
segment.lastPushedText = !1;
|
|
4596
|
+
return createRenderTask(
|
|
4597
|
+
request,
|
|
4598
|
+
thenableState,
|
|
4599
|
+
task.node,
|
|
4600
|
+
task.childIndex,
|
|
4601
|
+
task.blockedBoundary,
|
|
4602
|
+
newSegment,
|
|
4603
|
+
task.hoistableState,
|
|
4604
|
+
task.abortSet,
|
|
4605
|
+
task.keyPath,
|
|
4606
|
+
task.formatContext,
|
|
4607
|
+
task.context,
|
|
4608
|
+
task.treeContext,
|
|
4609
|
+
task.componentStack,
|
|
4610
|
+
task.isFallback
|
|
4611
|
+
);
|
|
4612
|
+
}
|
|
4476
4613
|
function renderNode(request, task, node, childIndex) {
|
|
4477
4614
|
var previousFormatContext = task.formatContext,
|
|
4478
|
-
previousLegacyContext = task.legacyContext,
|
|
4479
4615
|
previousContext = task.context,
|
|
4480
4616
|
previousKeyPath = task.keyPath,
|
|
4481
4617
|
previousTreeContext = task.treeContext,
|
|
@@ -4491,37 +4627,32 @@ function renderNode(request, task, node, childIndex) {
|
|
|
4491
4627
|
thrownValue === SuspenseException
|
|
4492
4628
|
? getSuspendedThenable()
|
|
4493
4629
|
: thrownValue),
|
|
4494
|
-
"object" === typeof node &&
|
|
4495
|
-
null !== node &&
|
|
4496
|
-
"function" === typeof node.then)
|
|
4630
|
+
"object" === typeof node && null !== node)
|
|
4497
4631
|
) {
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
request,
|
|
4501
|
-
|
|
4502
|
-
task.
|
|
4503
|
-
task.
|
|
4504
|
-
task.
|
|
4505
|
-
task.
|
|
4506
|
-
task.
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
task
|
|
4513
|
-
|
|
4514
|
-
task.
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
task.componentStack = previousComponentStack;
|
|
4523
|
-
switchContext(previousContext);
|
|
4524
|
-
return;
|
|
4632
|
+
if ("function" === typeof node.then) {
|
|
4633
|
+
childIndex = getThenableStateAfterSuspending();
|
|
4634
|
+
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
|
|
4635
|
+
node.then(request, request);
|
|
4636
|
+
task.formatContext = previousFormatContext;
|
|
4637
|
+
task.context = previousContext;
|
|
4638
|
+
task.keyPath = previousKeyPath;
|
|
4639
|
+
task.treeContext = previousTreeContext;
|
|
4640
|
+
task.componentStack = previousComponentStack;
|
|
4641
|
+
switchContext(previousContext);
|
|
4642
|
+
return;
|
|
4643
|
+
}
|
|
4644
|
+
if ("Maximum call stack size exceeded" === node.message) {
|
|
4645
|
+
node = getThenableStateAfterSuspending();
|
|
4646
|
+
node = spawnNewSuspendedReplayTask(request, task, node);
|
|
4647
|
+
request.pingedTasks.push(node);
|
|
4648
|
+
task.formatContext = previousFormatContext;
|
|
4649
|
+
task.context = previousContext;
|
|
4650
|
+
task.keyPath = previousKeyPath;
|
|
4651
|
+
task.treeContext = previousTreeContext;
|
|
4652
|
+
task.componentStack = previousComponentStack;
|
|
4653
|
+
switchContext(previousContext);
|
|
4654
|
+
return;
|
|
4655
|
+
}
|
|
4525
4656
|
}
|
|
4526
4657
|
}
|
|
4527
4658
|
else {
|
|
@@ -4529,62 +4660,45 @@ function renderNode(request, task, node, childIndex) {
|
|
|
4529
4660
|
chunkLength = segment.chunks.length;
|
|
4530
4661
|
try {
|
|
4531
4662
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
4532
|
-
} catch (thrownValue$
|
|
4663
|
+
} catch (thrownValue$48) {
|
|
4533
4664
|
if (
|
|
4534
4665
|
(resetHooksState(),
|
|
4535
4666
|
(segment.children.length = childrenLength),
|
|
4536
4667
|
(segment.chunks.length = chunkLength),
|
|
4537
4668
|
(node =
|
|
4538
|
-
thrownValue$
|
|
4669
|
+
thrownValue$48 === SuspenseException
|
|
4539
4670
|
? getSuspendedThenable()
|
|
4540
|
-
: thrownValue$
|
|
4541
|
-
"object" === typeof node &&
|
|
4542
|
-
null !== node &&
|
|
4543
|
-
"function" === typeof node.then)
|
|
4671
|
+
: thrownValue$48),
|
|
4672
|
+
"object" === typeof node && null !== node)
|
|
4544
4673
|
) {
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
request,
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
task.
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
task.
|
|
4562
|
-
task.
|
|
4563
|
-
|
|
4564
|
-
task.
|
|
4565
|
-
task.
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
task.context,
|
|
4570
|
-
task.treeContext,
|
|
4571
|
-
null !== task.componentStack ? task.componentStack.parent : null,
|
|
4572
|
-
task.isFallback
|
|
4573
|
-
).ping;
|
|
4574
|
-
node.then(request, request);
|
|
4575
|
-
task.formatContext = previousFormatContext;
|
|
4576
|
-
task.legacyContext = previousLegacyContext;
|
|
4577
|
-
task.context = previousContext;
|
|
4578
|
-
task.keyPath = previousKeyPath;
|
|
4579
|
-
task.treeContext = previousTreeContext;
|
|
4580
|
-
task.componentStack = previousComponentStack;
|
|
4581
|
-
switchContext(previousContext);
|
|
4582
|
-
return;
|
|
4674
|
+
if ("function" === typeof node.then) {
|
|
4675
|
+
childIndex = getThenableStateAfterSuspending();
|
|
4676
|
+
request = spawnNewSuspendedRenderTask(request, task, childIndex).ping;
|
|
4677
|
+
node.then(request, request);
|
|
4678
|
+
task.formatContext = previousFormatContext;
|
|
4679
|
+
task.context = previousContext;
|
|
4680
|
+
task.keyPath = previousKeyPath;
|
|
4681
|
+
task.treeContext = previousTreeContext;
|
|
4682
|
+
task.componentStack = previousComponentStack;
|
|
4683
|
+
switchContext(previousContext);
|
|
4684
|
+
return;
|
|
4685
|
+
}
|
|
4686
|
+
if ("Maximum call stack size exceeded" === node.message) {
|
|
4687
|
+
node = getThenableStateAfterSuspending();
|
|
4688
|
+
node = spawnNewSuspendedRenderTask(request, task, node);
|
|
4689
|
+
request.pingedTasks.push(node);
|
|
4690
|
+
task.formatContext = previousFormatContext;
|
|
4691
|
+
task.context = previousContext;
|
|
4692
|
+
task.keyPath = previousKeyPath;
|
|
4693
|
+
task.treeContext = previousTreeContext;
|
|
4694
|
+
task.componentStack = previousComponentStack;
|
|
4695
|
+
switchContext(previousContext);
|
|
4696
|
+
return;
|
|
4697
|
+
}
|
|
4583
4698
|
}
|
|
4584
4699
|
}
|
|
4585
4700
|
}
|
|
4586
4701
|
task.formatContext = previousFormatContext;
|
|
4587
|
-
task.legacyContext = previousLegacyContext;
|
|
4588
4702
|
task.context = previousContext;
|
|
4589
4703
|
task.keyPath = previousKeyPath;
|
|
4590
4704
|
task.treeContext = previousTreeContext;
|
|
@@ -4642,26 +4756,30 @@ function abortRemainingReplayNodes(
|
|
|
4642
4756
|
function abortTask(task, request, error) {
|
|
4643
4757
|
var boundary = task.blockedBoundary,
|
|
4644
4758
|
segment = task.blockedSegment;
|
|
4645
|
-
null !== segment
|
|
4759
|
+
if (null !== segment) {
|
|
4760
|
+
if (6 === segment.status) return;
|
|
4761
|
+
segment.status = 3;
|
|
4762
|
+
}
|
|
4763
|
+
segment = getThrownInfo(task.componentStack);
|
|
4646
4764
|
if (null === boundary) {
|
|
4647
|
-
if (
|
|
4648
|
-
|
|
4649
|
-
if (null ===
|
|
4650
|
-
logRecoverableError(request, error,
|
|
4765
|
+
if (13 !== request.status && 14 !== request.status) {
|
|
4766
|
+
boundary = task.replay;
|
|
4767
|
+
if (null === boundary) {
|
|
4768
|
+
logRecoverableError(request, error, segment);
|
|
4651
4769
|
fatalError(request, error);
|
|
4652
4770
|
return;
|
|
4653
4771
|
}
|
|
4654
|
-
|
|
4655
|
-
0 ===
|
|
4656
|
-
0 <
|
|
4657
|
-
((
|
|
4772
|
+
boundary.pendingTasks--;
|
|
4773
|
+
0 === boundary.pendingTasks &&
|
|
4774
|
+
0 < boundary.nodes.length &&
|
|
4775
|
+
((task = logRecoverableError(request, error, segment)),
|
|
4658
4776
|
abortRemainingReplayNodes(
|
|
4659
4777
|
request,
|
|
4660
4778
|
null,
|
|
4661
|
-
|
|
4662
|
-
|
|
4779
|
+
boundary.nodes,
|
|
4780
|
+
boundary.slots,
|
|
4663
4781
|
error,
|
|
4664
|
-
|
|
4782
|
+
task
|
|
4665
4783
|
));
|
|
4666
4784
|
request.pendingRootTasks--;
|
|
4667
4785
|
0 === request.pendingRootTasks && completeShell(request);
|
|
@@ -4670,8 +4788,8 @@ function abortTask(task, request, error) {
|
|
|
4670
4788
|
boundary.pendingTasks--,
|
|
4671
4789
|
4 !== boundary.status &&
|
|
4672
4790
|
((boundary.status = 4),
|
|
4673
|
-
(task =
|
|
4674
|
-
(
|
|
4791
|
+
(task = logRecoverableError(request, error, segment)),
|
|
4792
|
+
(boundary.status = 4),
|
|
4675
4793
|
(boundary.errorDigest = task),
|
|
4676
4794
|
untrackBoundary(request, boundary),
|
|
4677
4795
|
boundary.parentFlushed &&
|
|
@@ -4725,7 +4843,7 @@ function safelyEmitEarlyPreloads(request, shellComplete) {
|
|
|
4725
4843
|
referrerPolicy: props$jscomp$0.referrerPolicy,
|
|
4726
4844
|
media: props$jscomp$0.media
|
|
4727
4845
|
});
|
|
4728
|
-
if (
|
|
4846
|
+
if (0 <= (headers.remainingCapacity -= header.length + 2))
|
|
4729
4847
|
(renderState.resets.style[key] = PRELOAD_NO_CREDS),
|
|
4730
4848
|
linkHeader && (linkHeader += ", "),
|
|
4731
4849
|
(linkHeader += header),
|
|
@@ -4808,7 +4926,7 @@ function finishedTask(request, boundary, segment) {
|
|
|
4808
4926
|
0 === request.allPendingTasks && completeAll(request);
|
|
4809
4927
|
}
|
|
4810
4928
|
function performWork(request$jscomp$2) {
|
|
4811
|
-
if (2 !== request$jscomp$2.status) {
|
|
4929
|
+
if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) {
|
|
4812
4930
|
var prevContext = currentActiveSnapshot,
|
|
4813
4931
|
prevDispatcher = ReactSharedInternals.H;
|
|
4814
4932
|
ReactSharedInternals.H = HooksDispatcher;
|
|
@@ -4830,12 +4948,15 @@ function performWork(request$jscomp$2) {
|
|
|
4830
4948
|
if (0 !== task.replay.pendingTasks) {
|
|
4831
4949
|
switchContext(task.context);
|
|
4832
4950
|
try {
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4951
|
+
"number" === typeof task.replay.slots
|
|
4952
|
+
? resumeNode(
|
|
4953
|
+
request$jscomp$0,
|
|
4954
|
+
task,
|
|
4955
|
+
task.replay.slots,
|
|
4956
|
+
task.node,
|
|
4957
|
+
task.childIndex
|
|
4958
|
+
)
|
|
4959
|
+
: retryNode(request$jscomp$0, task);
|
|
4839
4960
|
if (
|
|
4840
4961
|
1 === task.replay.pendingTasks &&
|
|
4841
4962
|
0 < task.replay.nodes.length
|
|
@@ -4858,19 +4979,17 @@ function performWork(request$jscomp$2) {
|
|
|
4858
4979
|
var ping = task.ping;
|
|
4859
4980
|
x.then(ping, ping);
|
|
4860
4981
|
task.thenableState = getThenableStateAfterSuspending();
|
|
4861
|
-
null !== task.componentStack &&
|
|
4862
|
-
(task.componentStack = task.componentStack.parent);
|
|
4863
4982
|
} else {
|
|
4864
4983
|
task.replay.pendingTasks--;
|
|
4865
4984
|
task.abortSet.delete(task);
|
|
4866
|
-
var errorInfo = getThrownInfo(
|
|
4867
|
-
request$jscomp$0,
|
|
4868
|
-
task.componentStack
|
|
4869
|
-
);
|
|
4985
|
+
var errorInfo = getThrownInfo(task.componentStack);
|
|
4870
4986
|
request = void 0;
|
|
4871
4987
|
var request$jscomp$1 = request$jscomp$0,
|
|
4872
4988
|
boundary = task.blockedBoundary,
|
|
4873
|
-
error$jscomp$0 =
|
|
4989
|
+
error$jscomp$0 =
|
|
4990
|
+
12 === request$jscomp$0.status
|
|
4991
|
+
? request$jscomp$0.fatalError
|
|
4992
|
+
: x,
|
|
4874
4993
|
replayNodes = task.replay.nodes,
|
|
4875
4994
|
resumeSlots = task.replay.slots;
|
|
4876
4995
|
request = logRecoverableError(
|
|
@@ -4901,15 +5020,18 @@ function performWork(request$jscomp$2) {
|
|
|
4901
5020
|
(request$jscomp$1 = segment),
|
|
4902
5021
|
0 === request$jscomp$1.status)
|
|
4903
5022
|
) {
|
|
5023
|
+
request$jscomp$1.status = 6;
|
|
4904
5024
|
switchContext(task.context);
|
|
4905
5025
|
var childrenLength = request$jscomp$1.children.length,
|
|
4906
5026
|
chunkLength = request$jscomp$1.chunks.length;
|
|
4907
5027
|
try {
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
5028
|
+
retryNode(request, task),
|
|
5029
|
+
pushSegmentFinale(
|
|
5030
|
+
request$jscomp$1.chunks,
|
|
5031
|
+
request.renderState,
|
|
5032
|
+
request$jscomp$1.lastPushedText,
|
|
5033
|
+
request$jscomp$1.textEmbedded
|
|
5034
|
+
),
|
|
4913
5035
|
task.abortSet.delete(task),
|
|
4914
5036
|
(request$jscomp$1.status = 1),
|
|
4915
5037
|
finishedTask(request, task.blockedBoundary, request$jscomp$1);
|
|
@@ -4920,22 +5042,20 @@ function performWork(request$jscomp$2) {
|
|
|
4920
5042
|
var x$jscomp$0 =
|
|
4921
5043
|
thrownValue === SuspenseException
|
|
4922
5044
|
? getSuspendedThenable()
|
|
4923
|
-
:
|
|
5045
|
+
: 12 === request.status
|
|
5046
|
+
? request.fatalError
|
|
5047
|
+
: thrownValue;
|
|
4924
5048
|
if (
|
|
4925
5049
|
"object" === typeof x$jscomp$0 &&
|
|
4926
5050
|
null !== x$jscomp$0 &&
|
|
4927
5051
|
"function" === typeof x$jscomp$0.then
|
|
4928
5052
|
) {
|
|
5053
|
+
request$jscomp$1.status = 0;
|
|
5054
|
+
task.thenableState = getThenableStateAfterSuspending();
|
|
4929
5055
|
var ping$jscomp$0 = task.ping;
|
|
4930
5056
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
4931
|
-
task.thenableState = getThenableStateAfterSuspending();
|
|
4932
|
-
null !== task.componentStack &&
|
|
4933
|
-
(task.componentStack = task.componentStack.parent);
|
|
4934
5057
|
} else {
|
|
4935
|
-
var errorInfo$jscomp$0 = getThrownInfo(
|
|
4936
|
-
request,
|
|
4937
|
-
task.componentStack
|
|
4938
|
-
);
|
|
5058
|
+
var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
|
|
4939
5059
|
task.abortSet.delete(task);
|
|
4940
5060
|
request$jscomp$1.status = 4;
|
|
4941
5061
|
var boundary$jscomp$0 = task.blockedBoundary;
|
|
@@ -5125,17 +5245,17 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
5125
5245
|
'$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'
|
|
5126
5246
|
))
|
|
5127
5247
|
: 0 === (completedSegments.instructions & 8)
|
|
5128
|
-
|
|
5248
|
+
? ((completedSegments.instructions |= 8),
|
|
5249
|
+
destination.push(
|
|
5250
|
+
'$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'
|
|
5251
|
+
))
|
|
5252
|
+
: destination.push('$RR("')
|
|
5253
|
+
: 0 === (completedSegments.instructions & 2)
|
|
5254
|
+
? ((completedSegments.instructions |= 2),
|
|
5129
5255
|
destination.push(
|
|
5130
|
-
'$
|
|
5256
|
+
'$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'
|
|
5131
5257
|
))
|
|
5132
|
-
: destination.push('$
|
|
5133
|
-
: 0 === (completedSegments.instructions & 2)
|
|
5134
|
-
? ((completedSegments.instructions |= 2),
|
|
5135
|
-
destination.push(
|
|
5136
|
-
'$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'
|
|
5137
|
-
))
|
|
5138
|
-
: destination.push('$RC("');
|
|
5258
|
+
: destination.push('$RC("');
|
|
5139
5259
|
completedSegments = i.toString(16);
|
|
5140
5260
|
destination.push(request.boundaryPrefix);
|
|
5141
5261
|
destination.push(completedSegments);
|
|
@@ -5326,11 +5446,11 @@ function flushCompletedQueues(request, destination) {
|
|
|
5326
5446
|
completedBoundaries.splice(0, i);
|
|
5327
5447
|
var partialBoundaries = request.partialBoundaries;
|
|
5328
5448
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
5329
|
-
var boundary$
|
|
5449
|
+
var boundary$51 = partialBoundaries[i];
|
|
5330
5450
|
a: {
|
|
5331
5451
|
clientRenderedBoundaries = request;
|
|
5332
5452
|
boundary = destination;
|
|
5333
|
-
var completedSegments = boundary$
|
|
5453
|
+
var completedSegments = boundary$51.completedSegments;
|
|
5334
5454
|
for (
|
|
5335
5455
|
JSCompiler_inline_result = 0;
|
|
5336
5456
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -5340,7 +5460,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
5340
5460
|
!flushPartiallyCompletedSegment(
|
|
5341
5461
|
clientRenderedBoundaries,
|
|
5342
5462
|
boundary,
|
|
5343
|
-
boundary$
|
|
5463
|
+
boundary$51,
|
|
5344
5464
|
completedSegments[JSCompiler_inline_result]
|
|
5345
5465
|
)
|
|
5346
5466
|
) {
|
|
@@ -5352,7 +5472,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
5352
5472
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
5353
5473
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
5354
5474
|
boundary,
|
|
5355
|
-
boundary$
|
|
5475
|
+
boundary$51.contentState,
|
|
5356
5476
|
clientRenderedBoundaries.renderState
|
|
5357
5477
|
);
|
|
5358
5478
|
}
|
|
@@ -5385,6 +5505,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
5385
5505
|
((partialBoundaries = endChunkForTag("body")),
|
|
5386
5506
|
destination.push(partialBoundaries)),
|
|
5387
5507
|
i.hasHtml && ((i = endChunkForTag("html")), destination.push(i)),
|
|
5508
|
+
(request.status = 14),
|
|
5388
5509
|
destination.push(null),
|
|
5389
5510
|
(request.destination = null));
|
|
5390
5511
|
}
|
|
@@ -5403,9 +5524,9 @@ function enqueueFlush(request) {
|
|
|
5403
5524
|
}
|
|
5404
5525
|
}
|
|
5405
5526
|
function startFlowing(request, destination) {
|
|
5406
|
-
if (
|
|
5407
|
-
(request.status =
|
|
5408
|
-
else if (
|
|
5527
|
+
if (13 === request.status)
|
|
5528
|
+
(request.status = 14), destination.destroy(request.fatalError);
|
|
5529
|
+
else if (14 !== request.status && null === request.destination) {
|
|
5409
5530
|
request.destination = destination;
|
|
5410
5531
|
try {
|
|
5411
5532
|
flushCompletedQueues(request, destination);
|
|
@@ -5415,11 +5536,19 @@ function startFlowing(request, destination) {
|
|
|
5415
5536
|
}
|
|
5416
5537
|
}
|
|
5417
5538
|
function abort(request, reason) {
|
|
5539
|
+
if (11 === request.status || 10 === request.status) request.status = 12;
|
|
5418
5540
|
try {
|
|
5419
5541
|
var abortableTasks = request.abortableTasks;
|
|
5420
5542
|
if (0 < abortableTasks.size) {
|
|
5421
5543
|
var error =
|
|
5422
|
-
void 0 === reason
|
|
5544
|
+
void 0 === reason
|
|
5545
|
+
? Error(formatProdErrorMessage(432))
|
|
5546
|
+
: "object" === typeof reason &&
|
|
5547
|
+
null !== reason &&
|
|
5548
|
+
"function" === typeof reason.then
|
|
5549
|
+
? Error(formatProdErrorMessage(530))
|
|
5550
|
+
: reason;
|
|
5551
|
+
request.fatalError = error;
|
|
5423
5552
|
abortableTasks.forEach(function (task) {
|
|
5424
5553
|
return abortTask(task, request, error);
|
|
5425
5554
|
});
|
|
@@ -5427,8 +5556,8 @@ function abort(request, reason) {
|
|
|
5427
5556
|
}
|
|
5428
5557
|
null !== request.destination &&
|
|
5429
5558
|
flushCompletedQueues(request, request.destination);
|
|
5430
|
-
} catch (error$
|
|
5431
|
-
logRecoverableError(request, error$
|
|
5559
|
+
} catch (error$53) {
|
|
5560
|
+
logRecoverableError(request, error$53, {}), fatalError(request, error$53);
|
|
5432
5561
|
}
|
|
5433
5562
|
}
|
|
5434
5563
|
function onError() {}
|
|
@@ -5460,6 +5589,7 @@ function renderToStringImpl(
|
|
|
5460
5589
|
);
|
|
5461
5590
|
children.flushScheduled = null !== children.destination;
|
|
5462
5591
|
performWork(children);
|
|
5592
|
+
10 === children.status && (children.status = 11);
|
|
5463
5593
|
null === children.trackedPostpones &&
|
|
5464
5594
|
safelyEmitEarlyPreloads(children, 0 === children.pendingRootTasks);
|
|
5465
5595
|
abort(children, abortReason);
|
|
@@ -5493,4 +5623,4 @@ exports.renderToString = function (children, options) {
|
|
|
5493
5623
|
'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 "renderToReadableStream" which supports Suspense on the server'
|
|
5494
5624
|
);
|
|
5495
5625
|
};
|
|
5496
|
-
exports.version = "19.0.0
|
|
5626
|
+
exports.version = "19.0.0";
|