react-server-dom-turbopack 19.0.3 → 19.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-server-dom-turbopack-client.browser.development.js +94 -76
- package/cjs/react-server-dom-turbopack-client.browser.production.js +63 -51
- package/cjs/react-server-dom-turbopack-client.edge.development.js +92 -74
- package/cjs/react-server-dom-turbopack-client.edge.production.js +63 -51
- package/cjs/react-server-dom-turbopack-client.node.development.js +92 -74
- package/cjs/react-server-dom-turbopack-client.node.production.js +63 -51
- package/cjs/react-server-dom-turbopack-server.browser.development.js +619 -343
- package/cjs/react-server-dom-turbopack-server.browser.production.js +592 -307
- package/cjs/react-server-dom-turbopack-server.edge.development.js +619 -343
- package/cjs/react-server-dom-turbopack-server.edge.production.js +592 -307
- package/cjs/react-server-dom-turbopack-server.node.development.js +625 -347
- package/cjs/react-server-dom-turbopack-server.node.production.js +598 -311
- package/package.json +3 -3
|
@@ -453,14 +453,17 @@ function processReply(
|
|
|
453
453
|
if ("undefined" === typeof value) return "$undefined";
|
|
454
454
|
if ("function" === typeof value) {
|
|
455
455
|
parentReference = knownServerReferences.get(value);
|
|
456
|
-
if (void 0 !== parentReference)
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
);
|
|
456
|
+
if (void 0 !== parentReference) {
|
|
457
|
+
key = writtenObjects.get(value);
|
|
458
|
+
if (void 0 !== key) return key;
|
|
459
|
+
key = JSON.stringify(parentReference, resolveToJSON);
|
|
460
|
+
null === formData && (formData = new FormData());
|
|
461
|
+
parentReference = nextPartId++;
|
|
462
|
+
formData.set(formFieldPrefix + parentReference, key);
|
|
463
|
+
key = "$h" + parentReference.toString(16);
|
|
464
|
+
writtenObjects.set(value, key);
|
|
465
|
+
return key;
|
|
466
|
+
}
|
|
464
467
|
if (
|
|
465
468
|
void 0 !== temporaryReferences &&
|
|
466
469
|
-1 === key.indexOf(":") &&
|
|
@@ -880,10 +883,17 @@ function waitForReference(
|
|
|
880
883
|
value.then(fulfill, reject);
|
|
881
884
|
return;
|
|
882
885
|
}
|
|
883
|
-
|
|
886
|
+
var name = path[i];
|
|
887
|
+
if (
|
|
888
|
+
"object" === typeof value &&
|
|
889
|
+
null !== value &&
|
|
890
|
+
hasOwnProperty.call(value, name)
|
|
891
|
+
)
|
|
892
|
+
value = value[name];
|
|
893
|
+
else throw Error("Invalid reference.");
|
|
884
894
|
}
|
|
885
895
|
i = map(response, value, parentObject, key);
|
|
886
|
-
parentObject[key] = i;
|
|
896
|
+
"__proto__" !== key && (parentObject[key] = i);
|
|
887
897
|
"" === key && null === handler.value && (handler.value = i);
|
|
888
898
|
if (
|
|
889
899
|
parentObject[0] === REACT_ELEMENT_TYPE &&
|
|
@@ -963,7 +973,7 @@ function loadServerReference(response, metaData, parentObject, key) {
|
|
|
963
973
|
boundArgs.unshift(null);
|
|
964
974
|
resolvedValue = resolvedValue.bind.apply(resolvedValue, boundArgs);
|
|
965
975
|
}
|
|
966
|
-
parentObject[key] = resolvedValue;
|
|
976
|
+
"__proto__" !== key && (parentObject[key] = resolvedValue);
|
|
967
977
|
"" === key && null === handler.value && (handler.value = resolvedValue);
|
|
968
978
|
if (
|
|
969
979
|
parentObject[0] === REACT_ELEMENT_TYPE &&
|
|
@@ -1283,8 +1293,8 @@ function startReadableStream(response, id, type) {
|
|
|
1283
1293
|
(previousBlockedChunk = chunk));
|
|
1284
1294
|
} else {
|
|
1285
1295
|
chunk = previousBlockedChunk;
|
|
1286
|
-
var chunk$
|
|
1287
|
-
chunk$
|
|
1296
|
+
var chunk$53 = createPendingChunk(response);
|
|
1297
|
+
chunk$53.then(
|
|
1288
1298
|
function (v) {
|
|
1289
1299
|
return controller.enqueue(v);
|
|
1290
1300
|
},
|
|
@@ -1292,10 +1302,10 @@ function startReadableStream(response, id, type) {
|
|
|
1292
1302
|
return controller.error(e);
|
|
1293
1303
|
}
|
|
1294
1304
|
);
|
|
1295
|
-
previousBlockedChunk = chunk$
|
|
1305
|
+
previousBlockedChunk = chunk$53;
|
|
1296
1306
|
chunk.then(function () {
|
|
1297
|
-
previousBlockedChunk === chunk$
|
|
1298
|
-
resolveModelChunk(chunk$
|
|
1307
|
+
previousBlockedChunk === chunk$53 && (previousBlockedChunk = null);
|
|
1308
|
+
resolveModelChunk(chunk$53, json);
|
|
1299
1309
|
});
|
|
1300
1310
|
}
|
|
1301
1311
|
},
|
|
@@ -1430,8 +1440,8 @@ function mergeBuffer(buffer, lastChunk) {
|
|
|
1430
1440
|
for (var l = buffer.length, byteLength = lastChunk.length, i = 0; i < l; i++)
|
|
1431
1441
|
byteLength += buffer[i].byteLength;
|
|
1432
1442
|
byteLength = new Uint8Array(byteLength);
|
|
1433
|
-
for (var i$
|
|
1434
|
-
var chunk = buffer[i$
|
|
1443
|
+
for (var i$54 = (i = 0); i$54 < l; i$54++) {
|
|
1444
|
+
var chunk = buffer[i$54];
|
|
1435
1445
|
byteLength.set(chunk, i);
|
|
1436
1446
|
i += chunk.byteLength;
|
|
1437
1447
|
}
|
|
@@ -1609,42 +1619,44 @@ function processFullBinaryRow(response, id, tag, buffer, chunk) {
|
|
|
1609
1619
|
}
|
|
1610
1620
|
function createFromJSONCallback(response) {
|
|
1611
1621
|
return function (key, value) {
|
|
1612
|
-
if ("
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
if (
|
|
1616
|
-
if (
|
|
1617
|
-
((key = {
|
|
1618
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
1619
|
-
type: value[1],
|
|
1620
|
-
key: value[2],
|
|
1621
|
-
ref: null,
|
|
1622
|
-
props: value[3]
|
|
1623
|
-
}),
|
|
1624
|
-
null !== initializingHandler)
|
|
1625
|
-
)
|
|
1622
|
+
if ("__proto__" !== key) {
|
|
1623
|
+
if ("string" === typeof value)
|
|
1624
|
+
return parseModelString(response, this, key, value);
|
|
1625
|
+
if ("object" === typeof value && null !== value) {
|
|
1626
|
+
if (value[0] === REACT_ELEMENT_TYPE) {
|
|
1626
1627
|
if (
|
|
1627
|
-
((
|
|
1628
|
-
|
|
1629
|
-
|
|
1628
|
+
((key = {
|
|
1629
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
1630
|
+
type: value[1],
|
|
1631
|
+
key: value[2],
|
|
1632
|
+
ref: null,
|
|
1633
|
+
props: value[3]
|
|
1634
|
+
}),
|
|
1635
|
+
null !== initializingHandler)
|
|
1630
1636
|
)
|
|
1631
|
-
|
|
1632
|
-
(
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
null,
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1637
|
+
if (
|
|
1638
|
+
((value = initializingHandler),
|
|
1639
|
+
(initializingHandler = value.parent),
|
|
1640
|
+
value.errored)
|
|
1641
|
+
)
|
|
1642
|
+
(key = new ReactPromise("rejected", null, value.value, response)),
|
|
1643
|
+
(key = createLazyChunkWrapper(key));
|
|
1644
|
+
else if (0 < value.deps) {
|
|
1645
|
+
var blockedChunk = new ReactPromise(
|
|
1646
|
+
"blocked",
|
|
1647
|
+
null,
|
|
1648
|
+
null,
|
|
1649
|
+
response
|
|
1650
|
+
);
|
|
1651
|
+
value.value = key;
|
|
1652
|
+
value.chunk = blockedChunk;
|
|
1653
|
+
key = createLazyChunkWrapper(blockedChunk);
|
|
1654
|
+
}
|
|
1655
|
+
} else key = value;
|
|
1656
|
+
return key;
|
|
1657
|
+
}
|
|
1658
|
+
return value;
|
|
1646
1659
|
}
|
|
1647
|
-
return value;
|
|
1648
1660
|
};
|
|
1649
1661
|
}
|
|
1650
1662
|
function noServerCall() {
|
|
@@ -456,6 +456,11 @@
|
|
|
456
456
|
return "$" + (iterable ? "x" : "X") + streamId.toString(16);
|
|
457
457
|
}
|
|
458
458
|
function resolveToJSON(key, value) {
|
|
459
|
+
"__proto__" === key &&
|
|
460
|
+
console.error(
|
|
461
|
+
"Expected not to serialize an object with own property `__proto__`. When parsed this property will be omitted.%s",
|
|
462
|
+
describeObjectForErrorMessage(this, key)
|
|
463
|
+
);
|
|
459
464
|
var originalValue = this[key];
|
|
460
465
|
"object" !== typeof originalValue ||
|
|
461
466
|
originalValue === value ||
|
|
@@ -700,14 +705,17 @@
|
|
|
700
705
|
if ("undefined" === typeof value) return "$undefined";
|
|
701
706
|
if ("function" === typeof value) {
|
|
702
707
|
parentReference = knownServerReferences.get(value);
|
|
703
|
-
if (void 0 !== parentReference)
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
);
|
|
708
|
+
if (void 0 !== parentReference) {
|
|
709
|
+
key = writtenObjects.get(value);
|
|
710
|
+
if (void 0 !== key) return key;
|
|
711
|
+
key = JSON.stringify(parentReference, resolveToJSON);
|
|
712
|
+
null === formData && (formData = new FormData());
|
|
713
|
+
parentReference = nextPartId++;
|
|
714
|
+
formData.set(formFieldPrefix + parentReference, key);
|
|
715
|
+
key = "$h" + parentReference.toString(16);
|
|
716
|
+
writtenObjects.set(value, key);
|
|
717
|
+
return key;
|
|
718
|
+
}
|
|
711
719
|
if (
|
|
712
720
|
void 0 !== temporaryReferences &&
|
|
713
721
|
-1 === key.indexOf(":") &&
|
|
@@ -1313,10 +1321,17 @@
|
|
|
1313
1321
|
value.then(fulfill, reject);
|
|
1314
1322
|
return;
|
|
1315
1323
|
}
|
|
1316
|
-
|
|
1324
|
+
var name = path[i];
|
|
1325
|
+
if (
|
|
1326
|
+
"object" === typeof value &&
|
|
1327
|
+
null !== value &&
|
|
1328
|
+
hasOwnProperty.call(value, name)
|
|
1329
|
+
)
|
|
1330
|
+
value = value[name];
|
|
1331
|
+
else throw Error("Invalid reference.");
|
|
1317
1332
|
}
|
|
1318
1333
|
i = map(response, value, parentObject, key);
|
|
1319
|
-
parentObject[key] = i;
|
|
1334
|
+
"__proto__" !== key && (parentObject[key] = i);
|
|
1320
1335
|
"" === key && null === handler.value && (handler.value = i);
|
|
1321
1336
|
if (
|
|
1322
1337
|
parentObject[0] === REACT_ELEMENT_TYPE &&
|
|
@@ -1409,7 +1424,7 @@
|
|
|
1409
1424
|
boundArgs.unshift(null);
|
|
1410
1425
|
resolvedValue = resolvedValue.bind.apply(resolvedValue, boundArgs);
|
|
1411
1426
|
}
|
|
1412
|
-
parentObject[key] = resolvedValue;
|
|
1427
|
+
"__proto__" !== key && (parentObject[key] = resolvedValue);
|
|
1413
1428
|
"" === key &&
|
|
1414
1429
|
null === handler.value &&
|
|
1415
1430
|
(handler.value = resolvedValue);
|
|
@@ -1667,13 +1682,14 @@
|
|
|
1667
1682
|
}
|
|
1668
1683
|
case "Y":
|
|
1669
1684
|
return (
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1685
|
+
"__proto__" !== key &&
|
|
1686
|
+
Object.defineProperty(parentObject, key, {
|
|
1687
|
+
get: function () {
|
|
1688
|
+
return "This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.";
|
|
1689
|
+
},
|
|
1690
|
+
enumerable: !0,
|
|
1691
|
+
configurable: !1
|
|
1692
|
+
}),
|
|
1677
1693
|
null
|
|
1678
1694
|
);
|
|
1679
1695
|
default:
|
|
@@ -2328,64 +2344,66 @@
|
|
|
2328
2344
|
}
|
|
2329
2345
|
function createFromJSONCallback(response) {
|
|
2330
2346
|
return function (key, value) {
|
|
2331
|
-
if ("
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
if (
|
|
2335
|
-
if (
|
|
2336
|
-
(
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2347
|
+
if ("__proto__" !== key) {
|
|
2348
|
+
if ("string" === typeof value)
|
|
2349
|
+
return parseModelString(response, this, key, value);
|
|
2350
|
+
if ("object" === typeof value && null !== value) {
|
|
2351
|
+
if (value[0] === REACT_ELEMENT_TYPE)
|
|
2352
|
+
if (
|
|
2353
|
+
((key = value[4]),
|
|
2354
|
+
(value = {
|
|
2355
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
2356
|
+
type: value[1],
|
|
2357
|
+
key: value[2],
|
|
2358
|
+
props: value[3],
|
|
2359
|
+
_owner: null === key ? response._debugRootOwner : key
|
|
2360
|
+
}),
|
|
2361
|
+
Object.defineProperty(value, "ref", {
|
|
2362
|
+
enumerable: !1,
|
|
2363
|
+
get: nullRefGetter
|
|
2364
|
+
}),
|
|
2365
|
+
(value._store = {}),
|
|
2366
|
+
Object.defineProperty(value._store, "validated", {
|
|
2367
|
+
configurable: !1,
|
|
2368
|
+
enumerable: !1,
|
|
2369
|
+
writable: !0,
|
|
2370
|
+
value: 1
|
|
2371
|
+
}),
|
|
2372
|
+
Object.defineProperty(value, "_debugInfo", {
|
|
2373
|
+
configurable: !1,
|
|
2374
|
+
enumerable: !1,
|
|
2375
|
+
writable: !0,
|
|
2376
|
+
value: null
|
|
2377
|
+
}),
|
|
2378
|
+
null !== initializingHandler)
|
|
2379
|
+
) {
|
|
2380
|
+
var handler = initializingHandler;
|
|
2381
|
+
initializingHandler = handler.parent;
|
|
2382
|
+
handler.errored
|
|
2383
|
+
? ((key = new ReactPromise(
|
|
2384
|
+
"rejected",
|
|
2385
|
+
null,
|
|
2386
|
+
handler.value,
|
|
2387
|
+
response
|
|
2388
|
+
)),
|
|
2389
|
+
(value = {
|
|
2390
|
+
name: getComponentNameFromType(value.type) || "",
|
|
2391
|
+
owner: value._owner
|
|
2392
|
+
}),
|
|
2393
|
+
(key._debugInfo = [value]),
|
|
2394
|
+
(value = createLazyChunkWrapper(key)))
|
|
2395
|
+
: 0 < handler.deps &&
|
|
2396
|
+
((key = new ReactPromise("blocked", null, null, response)),
|
|
2397
|
+
(handler.value = value),
|
|
2398
|
+
(handler.chunk = key),
|
|
2399
|
+
(value = Object.freeze.bind(Object, value.props)),
|
|
2400
|
+
key.then(value, value),
|
|
2401
|
+
(value = createLazyChunkWrapper(key)));
|
|
2402
|
+
} else Object.freeze(value.props);
|
|
2403
|
+
return value;
|
|
2404
|
+
}
|
|
2386
2405
|
return value;
|
|
2387
2406
|
}
|
|
2388
|
-
return value;
|
|
2389
2407
|
};
|
|
2390
2408
|
}
|
|
2391
2409
|
function noServerCall() {
|
|
@@ -454,14 +454,17 @@ function processReply(
|
|
|
454
454
|
if ("undefined" === typeof value) return "$undefined";
|
|
455
455
|
if ("function" === typeof value) {
|
|
456
456
|
parentReference = knownServerReferences.get(value);
|
|
457
|
-
if (void 0 !== parentReference)
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
);
|
|
457
|
+
if (void 0 !== parentReference) {
|
|
458
|
+
key = writtenObjects.get(value);
|
|
459
|
+
if (void 0 !== key) return key;
|
|
460
|
+
key = JSON.stringify(parentReference, resolveToJSON);
|
|
461
|
+
null === formData && (formData = new FormData());
|
|
462
|
+
parentReference = nextPartId++;
|
|
463
|
+
formData.set(formFieldPrefix + parentReference, key);
|
|
464
|
+
key = "$h" + parentReference.toString(16);
|
|
465
|
+
writtenObjects.set(value, key);
|
|
466
|
+
return key;
|
|
467
|
+
}
|
|
465
468
|
if (
|
|
466
469
|
void 0 !== temporaryReferences &&
|
|
467
470
|
-1 === key.indexOf(":") &&
|
|
@@ -881,10 +884,17 @@ function waitForReference(
|
|
|
881
884
|
value.then(fulfill, reject);
|
|
882
885
|
return;
|
|
883
886
|
}
|
|
884
|
-
|
|
887
|
+
var name = path[i];
|
|
888
|
+
if (
|
|
889
|
+
"object" === typeof value &&
|
|
890
|
+
null !== value &&
|
|
891
|
+
hasOwnProperty.call(value, name)
|
|
892
|
+
)
|
|
893
|
+
value = value[name];
|
|
894
|
+
else throw Error("Invalid reference.");
|
|
885
895
|
}
|
|
886
896
|
i = map(response, value, parentObject, key);
|
|
887
|
-
parentObject[key] = i;
|
|
897
|
+
"__proto__" !== key && (parentObject[key] = i);
|
|
888
898
|
"" === key && null === handler.value && (handler.value = i);
|
|
889
899
|
if (
|
|
890
900
|
parentObject[0] === REACT_ELEMENT_TYPE &&
|
|
@@ -964,7 +974,7 @@ function loadServerReference(response, metaData, parentObject, key) {
|
|
|
964
974
|
boundArgs.unshift(null);
|
|
965
975
|
resolvedValue = resolvedValue.bind.apply(resolvedValue, boundArgs);
|
|
966
976
|
}
|
|
967
|
-
parentObject[key] = resolvedValue;
|
|
977
|
+
"__proto__" !== key && (parentObject[key] = resolvedValue);
|
|
968
978
|
"" === key && null === handler.value && (handler.value = resolvedValue);
|
|
969
979
|
if (
|
|
970
980
|
parentObject[0] === REACT_ELEMENT_TYPE &&
|
|
@@ -1284,8 +1294,8 @@ function startReadableStream(response, id, type) {
|
|
|
1284
1294
|
(previousBlockedChunk = chunk));
|
|
1285
1295
|
} else {
|
|
1286
1296
|
chunk = previousBlockedChunk;
|
|
1287
|
-
var chunk$
|
|
1288
|
-
chunk$
|
|
1297
|
+
var chunk$53 = createPendingChunk(response);
|
|
1298
|
+
chunk$53.then(
|
|
1289
1299
|
function (v) {
|
|
1290
1300
|
return controller.enqueue(v);
|
|
1291
1301
|
},
|
|
@@ -1293,10 +1303,10 @@ function startReadableStream(response, id, type) {
|
|
|
1293
1303
|
return controller.error(e);
|
|
1294
1304
|
}
|
|
1295
1305
|
);
|
|
1296
|
-
previousBlockedChunk = chunk$
|
|
1306
|
+
previousBlockedChunk = chunk$53;
|
|
1297
1307
|
chunk.then(function () {
|
|
1298
|
-
previousBlockedChunk === chunk$
|
|
1299
|
-
resolveModelChunk(chunk$
|
|
1308
|
+
previousBlockedChunk === chunk$53 && (previousBlockedChunk = null);
|
|
1309
|
+
resolveModelChunk(chunk$53, json);
|
|
1300
1310
|
});
|
|
1301
1311
|
}
|
|
1302
1312
|
},
|
|
@@ -1431,8 +1441,8 @@ function mergeBuffer(buffer, lastChunk) {
|
|
|
1431
1441
|
for (var l = buffer.length, byteLength = lastChunk.length, i = 0; i < l; i++)
|
|
1432
1442
|
byteLength += buffer[i].byteLength;
|
|
1433
1443
|
byteLength = new Uint8Array(byteLength);
|
|
1434
|
-
for (var i$
|
|
1435
|
-
var chunk = buffer[i$
|
|
1444
|
+
for (var i$54 = (i = 0); i$54 < l; i$54++) {
|
|
1445
|
+
var chunk = buffer[i$54];
|
|
1436
1446
|
byteLength.set(chunk, i);
|
|
1437
1447
|
i += chunk.byteLength;
|
|
1438
1448
|
}
|
|
@@ -1610,42 +1620,44 @@ function processFullBinaryRow(response, id, tag, buffer, chunk) {
|
|
|
1610
1620
|
}
|
|
1611
1621
|
function createFromJSONCallback(response) {
|
|
1612
1622
|
return function (key, value) {
|
|
1613
|
-
if ("
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
if (
|
|
1617
|
-
if (
|
|
1618
|
-
((key = {
|
|
1619
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
1620
|
-
type: value[1],
|
|
1621
|
-
key: value[2],
|
|
1622
|
-
ref: null,
|
|
1623
|
-
props: value[3]
|
|
1624
|
-
}),
|
|
1625
|
-
null !== initializingHandler)
|
|
1626
|
-
)
|
|
1623
|
+
if ("__proto__" !== key) {
|
|
1624
|
+
if ("string" === typeof value)
|
|
1625
|
+
return parseModelString(response, this, key, value);
|
|
1626
|
+
if ("object" === typeof value && null !== value) {
|
|
1627
|
+
if (value[0] === REACT_ELEMENT_TYPE) {
|
|
1627
1628
|
if (
|
|
1628
|
-
((
|
|
1629
|
-
|
|
1630
|
-
|
|
1629
|
+
((key = {
|
|
1630
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
1631
|
+
type: value[1],
|
|
1632
|
+
key: value[2],
|
|
1633
|
+
ref: null,
|
|
1634
|
+
props: value[3]
|
|
1635
|
+
}),
|
|
1636
|
+
null !== initializingHandler)
|
|
1631
1637
|
)
|
|
1632
|
-
|
|
1633
|
-
(
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
null,
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1638
|
+
if (
|
|
1639
|
+
((value = initializingHandler),
|
|
1640
|
+
(initializingHandler = value.parent),
|
|
1641
|
+
value.errored)
|
|
1642
|
+
)
|
|
1643
|
+
(key = new ReactPromise("rejected", null, value.value, response)),
|
|
1644
|
+
(key = createLazyChunkWrapper(key));
|
|
1645
|
+
else if (0 < value.deps) {
|
|
1646
|
+
var blockedChunk = new ReactPromise(
|
|
1647
|
+
"blocked",
|
|
1648
|
+
null,
|
|
1649
|
+
null,
|
|
1650
|
+
response
|
|
1651
|
+
);
|
|
1652
|
+
value.value = key;
|
|
1653
|
+
value.chunk = blockedChunk;
|
|
1654
|
+
key = createLazyChunkWrapper(blockedChunk);
|
|
1655
|
+
}
|
|
1656
|
+
} else key = value;
|
|
1657
|
+
return key;
|
|
1658
|
+
}
|
|
1659
|
+
return value;
|
|
1647
1660
|
}
|
|
1648
|
-
return value;
|
|
1649
1661
|
};
|
|
1650
1662
|
}
|
|
1651
1663
|
function noServerCall() {
|