react-markup 0.0.0-experimental-6ebfd5b0-20240818 → 0.0.0-experimental-1d989965-20240821
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.
|
@@ -560,6 +560,7 @@ function defaultErrorHandler$1(error) {
|
|
|
560
560
|
}
|
|
561
561
|
function defaultPostponeHandler() {}
|
|
562
562
|
function RequestInstance$1(
|
|
563
|
+
type,
|
|
563
564
|
model,
|
|
564
565
|
bundlerConfig,
|
|
565
566
|
onError,
|
|
@@ -581,7 +582,8 @@ function RequestInstance$1(
|
|
|
581
582
|
environmentName = [];
|
|
582
583
|
var cleanupQueue = [];
|
|
583
584
|
TaintRegistryPendingRequests.add(cleanupQueue);
|
|
584
|
-
this.
|
|
585
|
+
this.type = type;
|
|
586
|
+
this.status = 10;
|
|
585
587
|
this.flushScheduled = !1;
|
|
586
588
|
this.destination = this.fatalError = null;
|
|
587
589
|
this.bundlerConfig = bundlerConfig;
|
|
@@ -605,10 +607,10 @@ function RequestInstance$1(
|
|
|
605
607
|
this.taintCleanupQueue = cleanupQueue;
|
|
606
608
|
this.onError = void 0 === onError ? defaultErrorHandler$1 : onError;
|
|
607
609
|
this.onPostpone = void 0 === onPostpone ? defaultPostponeHandler : onPostpone;
|
|
608
|
-
this.onAllReady =
|
|
609
|
-
this.onFatalError =
|
|
610
|
-
|
|
611
|
-
environmentName.push(
|
|
610
|
+
this.onAllReady = onAllReady;
|
|
611
|
+
this.onFatalError = onFatalError;
|
|
612
|
+
type = createTask(this, model, null, !1, filterStackFrame);
|
|
613
|
+
environmentName.push(type);
|
|
612
614
|
}
|
|
613
615
|
function noop$3() {}
|
|
614
616
|
var currentRequest = null;
|
|
@@ -642,12 +644,12 @@ function serializeThenable(request, task, thenable) {
|
|
|
642
644
|
newTask.id
|
|
643
645
|
);
|
|
644
646
|
default:
|
|
645
|
-
if (
|
|
647
|
+
if (11 === request.status)
|
|
646
648
|
return (
|
|
647
649
|
request.abortableTasks.delete(newTask),
|
|
648
650
|
(newTask.status = 3),
|
|
649
|
-
|
|
650
|
-
?
|
|
651
|
+
21 === request.type
|
|
652
|
+
? request.pendingChunks--
|
|
651
653
|
: ((task = stringify(serializeByValueID$1(request.fatalError))),
|
|
652
654
|
emitModelChunk(request, newTask.id, task)),
|
|
653
655
|
newTask.id
|
|
@@ -690,7 +692,7 @@ function serializeReadableStream(request, task, stream) {
|
|
|
690
692
|
function progress(entry) {
|
|
691
693
|
if (!aborted)
|
|
692
694
|
if (entry.done)
|
|
693
|
-
request.abortListeners.delete(
|
|
695
|
+
request.abortListeners.delete(abortStream),
|
|
694
696
|
(entry = streamTask.id.toString(16) + ":C\n"),
|
|
695
697
|
request.completedRegularChunks.push(entry),
|
|
696
698
|
enqueueFlush(request),
|
|
@@ -709,20 +711,35 @@ function serializeReadableStream(request, task, stream) {
|
|
|
709
711
|
function error(reason) {
|
|
710
712
|
if (!aborted) {
|
|
711
713
|
aborted = !0;
|
|
712
|
-
request.abortListeners.delete(
|
|
713
|
-
|
|
714
|
-
|
|
714
|
+
request.abortListeners.delete(abortStream);
|
|
715
|
+
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
716
|
+
emitErrorChunk(request, streamTask.id, digest);
|
|
717
|
+
enqueueFlush(request);
|
|
718
|
+
reader.cancel(reason).then(error, error);
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
function abortStream(reason) {
|
|
722
|
+
if (!aborted) {
|
|
723
|
+
aborted = !0;
|
|
724
|
+
request.abortListeners.delete(abortStream);
|
|
725
|
+
if (
|
|
715
726
|
"object" === typeof reason &&
|
|
716
727
|
null !== reason &&
|
|
717
728
|
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
729
|
+
)
|
|
730
|
+
logPostpone$1(request, reason.message, streamTask),
|
|
731
|
+
21 === request.type
|
|
732
|
+
? request.pendingChunks--
|
|
733
|
+
: (emitPostponeChunk(request, streamTask.id),
|
|
734
|
+
enqueueFlush(request));
|
|
735
|
+
else {
|
|
736
|
+
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
737
|
+
21 === request.type
|
|
738
|
+
? request.pendingChunks--
|
|
739
|
+
: (emitErrorChunk(request, streamTask.id, digest),
|
|
740
|
+
enqueueFlush(request));
|
|
741
|
+
}
|
|
742
|
+
reader.cancel(reason).then(error, error);
|
|
726
743
|
}
|
|
727
744
|
}
|
|
728
745
|
var supportsBYOB = stream.supportsBYOB;
|
|
@@ -745,7 +762,7 @@ function serializeReadableStream(request, task, stream) {
|
|
|
745
762
|
task = streamTask.id.toString(16) + ":" + (supportsBYOB ? "r" : "R") + "\n";
|
|
746
763
|
request.completedRegularChunks.push(task);
|
|
747
764
|
var aborted = !1;
|
|
748
|
-
request.abortListeners.add(
|
|
765
|
+
request.abortListeners.add(abortStream);
|
|
749
766
|
reader.read().then(progress, error);
|
|
750
767
|
return serializeByValueID$1(streamTask.id);
|
|
751
768
|
}
|
|
@@ -753,7 +770,7 @@ function serializeAsyncIterable(request, task, iterable, iterator) {
|
|
|
753
770
|
function progress(entry) {
|
|
754
771
|
if (!aborted)
|
|
755
772
|
if (entry.done) {
|
|
756
|
-
request.abortListeners.delete(
|
|
773
|
+
request.abortListeners.delete(abortIterable);
|
|
757
774
|
if (void 0 === entry.value)
|
|
758
775
|
var endStreamRow = streamTask.id.toString(16) + ":C\n";
|
|
759
776
|
else
|
|
@@ -785,21 +802,37 @@ function serializeAsyncIterable(request, task, iterable, iterator) {
|
|
|
785
802
|
function error(reason) {
|
|
786
803
|
if (!aborted) {
|
|
787
804
|
aborted = !0;
|
|
788
|
-
request.abortListeners.delete(
|
|
789
|
-
|
|
790
|
-
|
|
805
|
+
request.abortListeners.delete(abortIterable);
|
|
806
|
+
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
807
|
+
emitErrorChunk(request, streamTask.id, digest);
|
|
808
|
+
enqueueFlush(request);
|
|
809
|
+
"function" === typeof iterator.throw &&
|
|
810
|
+
iterator.throw(reason).then(error, error);
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
function abortIterable(reason) {
|
|
814
|
+
if (!aborted) {
|
|
815
|
+
aborted = !0;
|
|
816
|
+
request.abortListeners.delete(abortIterable);
|
|
817
|
+
if (
|
|
791
818
|
"object" === typeof reason &&
|
|
792
819
|
null !== reason &&
|
|
793
820
|
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
821
|
+
)
|
|
822
|
+
logPostpone$1(request, reason.message, streamTask),
|
|
823
|
+
21 === request.type
|
|
824
|
+
? request.pendingChunks--
|
|
825
|
+
: (emitPostponeChunk(request, streamTask.id),
|
|
826
|
+
enqueueFlush(request));
|
|
827
|
+
else {
|
|
828
|
+
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
829
|
+
21 === request.type
|
|
830
|
+
? request.pendingChunks--
|
|
831
|
+
: (emitErrorChunk(request, streamTask.id, digest),
|
|
832
|
+
enqueueFlush(request));
|
|
833
|
+
}
|
|
801
834
|
"function" === typeof iterator.throw &&
|
|
802
|
-
iterator.throw(
|
|
835
|
+
iterator.throw(reason).then(error, error);
|
|
803
836
|
}
|
|
804
837
|
}
|
|
805
838
|
iterable = iterable === iterator;
|
|
@@ -815,7 +848,7 @@ function serializeAsyncIterable(request, task, iterable, iterator) {
|
|
|
815
848
|
task = streamTask.id.toString(16) + ":" + (iterable ? "x" : "X") + "\n";
|
|
816
849
|
request.completedRegularChunks.push(task);
|
|
817
850
|
var aborted = !1;
|
|
818
|
-
request.abortListeners.add(
|
|
851
|
+
request.abortListeners.add(abortIterable);
|
|
819
852
|
iterator.next().then(progress, error);
|
|
820
853
|
return serializeByValueID$1(streamTask.id);
|
|
821
854
|
}
|
|
@@ -853,7 +886,7 @@ function renderFunctionComponent$1(request, task, key, Component, props) {
|
|
|
853
886
|
thenableIndexCounter$1 = 0;
|
|
854
887
|
thenableState$1 = prevThenableState;
|
|
855
888
|
Component = Component(props, void 0);
|
|
856
|
-
if (
|
|
889
|
+
if (11 === request.status)
|
|
857
890
|
throw (
|
|
858
891
|
("object" === typeof Component &&
|
|
859
892
|
null !== Component &&
|
|
@@ -952,7 +985,7 @@ function renderElement$1(request, task, type, key, ref, props) {
|
|
|
952
985
|
case REACT_LAZY_TYPE:
|
|
953
986
|
var init = type._init;
|
|
954
987
|
type = init(type._payload);
|
|
955
|
-
if (
|
|
988
|
+
if (11 === request.status) throw null;
|
|
956
989
|
return renderElement$1(request, task, type, key, ref, props);
|
|
957
990
|
case REACT_FORWARD_REF_TYPE:
|
|
958
991
|
return renderFunctionComponent$1(
|
|
@@ -1009,7 +1042,6 @@ function createTask(request, model, keyPath, implicitSlot, abortSet) {
|
|
|
1009
1042
|
function serializeByValueID$1(id) {
|
|
1010
1043
|
return "$" + id.toString(16);
|
|
1011
1044
|
}
|
|
1012
|
-
var reusableInfinitePromiseModel = stringify("$@");
|
|
1013
1045
|
function encodeReferenceChunk(request, id, reference) {
|
|
1014
1046
|
request = stringify(reference);
|
|
1015
1047
|
return id.toString(16) + ":" + request + "\n";
|
|
@@ -1034,7 +1066,7 @@ function serializeBlob(request, blob) {
|
|
|
1034
1066
|
function progress(entry) {
|
|
1035
1067
|
if (!aborted)
|
|
1036
1068
|
if (entry.done)
|
|
1037
|
-
request.abortListeners.delete(
|
|
1069
|
+
request.abortListeners.delete(abortBlob),
|
|
1038
1070
|
(aborted = !0),
|
|
1039
1071
|
pingTask$1(request, newTask);
|
|
1040
1072
|
else
|
|
@@ -1045,22 +1077,41 @@ function serializeBlob(request, blob) {
|
|
|
1045
1077
|
function error(reason) {
|
|
1046
1078
|
if (!aborted) {
|
|
1047
1079
|
aborted = !0;
|
|
1048
|
-
request.abortListeners.delete(
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1080
|
+
request.abortListeners.delete(abortBlob);
|
|
1081
|
+
var digest = logRecoverableError$1(request, reason, newTask);
|
|
1082
|
+
emitErrorChunk(request, newTask.id, digest);
|
|
1083
|
+
enqueueFlush(request);
|
|
1084
|
+
reader.cancel(reason).then(error, error);
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
function abortBlob(reason) {
|
|
1088
|
+
if (!aborted) {
|
|
1089
|
+
aborted = !0;
|
|
1090
|
+
request.abortListeners.delete(abortBlob);
|
|
1091
|
+
if (
|
|
1092
|
+
"object" === typeof reason &&
|
|
1093
|
+
null !== reason &&
|
|
1094
|
+
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
1095
|
+
)
|
|
1096
|
+
logPostpone$1(request, reason.message, newTask),
|
|
1097
|
+
21 === request.type
|
|
1098
|
+
? request.pendingChunks--
|
|
1099
|
+
: (emitPostponeChunk(request, newTask.id), enqueueFlush(request));
|
|
1100
|
+
else {
|
|
1101
|
+
var digest = logRecoverableError$1(request, reason, newTask);
|
|
1102
|
+
21 === request.type
|
|
1103
|
+
? request.pendingChunks--
|
|
1104
|
+
: (emitErrorChunk(request, newTask.id, digest),
|
|
1105
|
+
enqueueFlush(request));
|
|
1106
|
+
}
|
|
1107
|
+
reader.cancel(reason).then(error, error);
|
|
1057
1108
|
}
|
|
1058
1109
|
}
|
|
1059
1110
|
var model = [blob.type],
|
|
1060
1111
|
newTask = createTask(request, model, null, !1, request.abortableTasks),
|
|
1061
1112
|
reader = blob.stream().getReader(),
|
|
1062
1113
|
aborted = !1;
|
|
1063
|
-
request.abortListeners.add(
|
|
1114
|
+
request.abortListeners.add(abortBlob);
|
|
1064
1115
|
reader.read().then(progress).catch(error);
|
|
1065
1116
|
return "$B" + newTask.id.toString(16);
|
|
1066
1117
|
}
|
|
@@ -1077,34 +1128,42 @@ function renderModel(request, task, parent, key, value) {
|
|
|
1077
1128
|
null !== parent &&
|
|
1078
1129
|
(parent.$$typeof === REACT_ELEMENT_TYPE ||
|
|
1079
1130
|
parent.$$typeof === REACT_LAZY_TYPE);
|
|
1131
|
+
if (11 === request.status) {
|
|
1132
|
+
task.status = 3;
|
|
1133
|
+
if (21 === request.type)
|
|
1134
|
+
return (
|
|
1135
|
+
(task = request.nextChunkId++),
|
|
1136
|
+
(task = parent
|
|
1137
|
+
? "$L" + task.toString(16)
|
|
1138
|
+
: serializeByValueID$1(task)),
|
|
1139
|
+
task
|
|
1140
|
+
);
|
|
1141
|
+
task = request.fatalError;
|
|
1142
|
+
return parent ? "$L" + task.toString(16) : serializeByValueID$1(task);
|
|
1143
|
+
}
|
|
1080
1144
|
key =
|
|
1081
1145
|
thrownValue === SuspenseException$1
|
|
1082
1146
|
? getSuspendedThenable$1()
|
|
1083
1147
|
: thrownValue;
|
|
1084
1148
|
if ("object" === typeof key && null !== key) {
|
|
1085
|
-
if ("function" === typeof key.then)
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1149
|
+
if ("function" === typeof key.then)
|
|
1150
|
+
return (
|
|
1151
|
+
(request = createTask(
|
|
1152
|
+
request,
|
|
1153
|
+
task.model,
|
|
1154
|
+
task.keyPath,
|
|
1155
|
+
task.implicitSlot,
|
|
1156
|
+
request.abortableTasks
|
|
1157
|
+
)),
|
|
1158
|
+
(value = request.ping),
|
|
1159
|
+
key.then(value, value),
|
|
1160
|
+
(request.thenableState = getThenableStateAfterSuspending$1()),
|
|
1161
|
+
(task.keyPath = prevKeyPath),
|
|
1162
|
+
(task.implicitSlot = prevImplicitSlot),
|
|
1163
|
+
parent
|
|
1164
|
+
? "$L" + request.id.toString(16)
|
|
1165
|
+
: serializeByValueID$1(request.id)
|
|
1098
1166
|
);
|
|
1099
|
-
value = request.ping;
|
|
1100
|
-
key.then(value, value);
|
|
1101
|
-
request.thenableState = getThenableStateAfterSuspending$1();
|
|
1102
|
-
task.keyPath = prevKeyPath;
|
|
1103
|
-
task.implicitSlot = prevImplicitSlot;
|
|
1104
|
-
return parent
|
|
1105
|
-
? "$L" + request.id.toString(16)
|
|
1106
|
-
: serializeByValueID$1(request.id);
|
|
1107
|
-
}
|
|
1108
1167
|
if (key.$$typeof === REACT_POSTPONE_TYPE)
|
|
1109
1168
|
return (
|
|
1110
1169
|
request.pendingChunks++,
|
|
@@ -1116,12 +1175,6 @@ function renderModel(request, task, parent, key, value) {
|
|
|
1116
1175
|
parent ? "$L" + value.toString(16) : serializeByValueID$1(value)
|
|
1117
1176
|
);
|
|
1118
1177
|
}
|
|
1119
|
-
if (1 === request.status) {
|
|
1120
|
-
task.status = 3;
|
|
1121
|
-
if (request.fatalError === haltSymbol) return "$@";
|
|
1122
|
-
task = request.fatalError;
|
|
1123
|
-
return parent ? "$L" + task.toString(16) : serializeByValueID$1(task);
|
|
1124
|
-
}
|
|
1125
1178
|
task.keyPath = prevKeyPath;
|
|
1126
1179
|
task.implicitSlot = prevImplicitSlot;
|
|
1127
1180
|
request.pendingChunks++;
|
|
@@ -1180,7 +1233,7 @@ function renderModelDestructive(
|
|
|
1180
1233
|
task.thenableState = null;
|
|
1181
1234
|
parentPropertyName = value._init;
|
|
1182
1235
|
value = parentPropertyName(value._payload);
|
|
1183
|
-
if (
|
|
1236
|
+
if (11 === request.status) throw null;
|
|
1184
1237
|
return renderModelDestructive(request, task, emptyRoot, "", value);
|
|
1185
1238
|
case REACT_LEGACY_ELEMENT_TYPE:
|
|
1186
1239
|
throw Error(
|
|
@@ -1452,8 +1505,8 @@ function fatalError$1(request, error) {
|
|
|
1452
1505
|
onFatalError(error);
|
|
1453
1506
|
cleanupTaintQueue(request);
|
|
1454
1507
|
null !== request.destination
|
|
1455
|
-
? ((request.status =
|
|
1456
|
-
: ((request.status =
|
|
1508
|
+
? ((request.status = 13), request.destination.destroy(error))
|
|
1509
|
+
: ((request.status = 12), (request.fatalError = error));
|
|
1457
1510
|
}
|
|
1458
1511
|
function emitPostponeChunk(request, id) {
|
|
1459
1512
|
id = id.toString(16) + ":P\n";
|
|
@@ -1544,49 +1597,38 @@ function retryTask$1(request, task) {
|
|
|
1544
1597
|
request.abortableTasks.delete(task);
|
|
1545
1598
|
task.status = 1;
|
|
1546
1599
|
} catch (thrownValue) {
|
|
1547
|
-
|
|
1548
|
-
thrownValue === SuspenseException$1
|
|
1549
|
-
? getSuspendedThenable$1()
|
|
1550
|
-
: thrownValue;
|
|
1551
|
-
if ("object" === typeof x && null !== x) {
|
|
1552
|
-
if ("function" === typeof x.then) {
|
|
1553
|
-
if (1 === request.status) {
|
|
1554
|
-
request.abortableTasks.delete(task);
|
|
1555
|
-
task.status = 3;
|
|
1556
|
-
if (request.fatalError === haltSymbol)
|
|
1557
|
-
emitModelChunk(request, task.id, reusableInfinitePromiseModel);
|
|
1558
|
-
else {
|
|
1559
|
-
var model = stringify(serializeByValueID$1(request.fatalError));
|
|
1560
|
-
emitModelChunk(request, task.id, model);
|
|
1561
|
-
}
|
|
1562
|
-
return;
|
|
1563
|
-
}
|
|
1564
|
-
task.status = 0;
|
|
1565
|
-
task.thenableState = getThenableStateAfterSuspending$1();
|
|
1566
|
-
var ping = task.ping;
|
|
1567
|
-
x.then(ping, ping);
|
|
1568
|
-
return;
|
|
1569
|
-
}
|
|
1570
|
-
if (x.$$typeof === REACT_POSTPONE_TYPE) {
|
|
1571
|
-
request.abortableTasks.delete(task);
|
|
1572
|
-
task.status = 4;
|
|
1573
|
-
logPostpone$1(request, x.message, task);
|
|
1574
|
-
emitPostponeChunk(request, task.id);
|
|
1575
|
-
return;
|
|
1576
|
-
}
|
|
1577
|
-
}
|
|
1578
|
-
if (1 === request.status)
|
|
1600
|
+
if (11 === request.status)
|
|
1579
1601
|
if (
|
|
1580
1602
|
(request.abortableTasks.delete(task),
|
|
1581
1603
|
(task.status = 3),
|
|
1582
|
-
|
|
1604
|
+
21 === request.type)
|
|
1583
1605
|
)
|
|
1584
|
-
|
|
1606
|
+
request.pendingChunks--;
|
|
1585
1607
|
else {
|
|
1586
|
-
var model
|
|
1587
|
-
emitModelChunk(request, task.id, model
|
|
1608
|
+
var model = stringify(serializeByValueID$1(request.fatalError));
|
|
1609
|
+
emitModelChunk(request, task.id, model);
|
|
1588
1610
|
}
|
|
1589
1611
|
else {
|
|
1612
|
+
var x =
|
|
1613
|
+
thrownValue === SuspenseException$1
|
|
1614
|
+
? getSuspendedThenable$1()
|
|
1615
|
+
: thrownValue;
|
|
1616
|
+
if ("object" === typeof x && null !== x) {
|
|
1617
|
+
if ("function" === typeof x.then) {
|
|
1618
|
+
task.status = 0;
|
|
1619
|
+
task.thenableState = getThenableStateAfterSuspending$1();
|
|
1620
|
+
var ping = task.ping;
|
|
1621
|
+
x.then(ping, ping);
|
|
1622
|
+
return;
|
|
1623
|
+
}
|
|
1624
|
+
if (x.$$typeof === REACT_POSTPONE_TYPE) {
|
|
1625
|
+
request.abortableTasks.delete(task);
|
|
1626
|
+
task.status = 4;
|
|
1627
|
+
logPostpone$1(request, x.message, task);
|
|
1628
|
+
emitPostponeChunk(request, task.id);
|
|
1629
|
+
return;
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1590
1632
|
request.abortableTasks.delete(task);
|
|
1591
1633
|
task.status = 4;
|
|
1592
1634
|
var digest = logRecoverableError$1(request, x, task);
|
|
@@ -1601,6 +1643,7 @@ function performWork$1(request) {
|
|
|
1601
1643
|
ReactSharedInternalsServer.H = HooksDispatcher$1;
|
|
1602
1644
|
var prevRequest = currentRequest;
|
|
1603
1645
|
currentRequest$1 = currentRequest = request;
|
|
1646
|
+
var hadAbortableTasks = 0 < request.abortableTasks.size;
|
|
1604
1647
|
try {
|
|
1605
1648
|
var pingedTasks = request.pingedTasks;
|
|
1606
1649
|
request.pingedTasks = [];
|
|
@@ -1608,7 +1651,7 @@ function performWork$1(request) {
|
|
|
1608
1651
|
retryTask$1(request, pingedTasks[i]);
|
|
1609
1652
|
null !== request.destination &&
|
|
1610
1653
|
flushCompletedChunks(request, request.destination);
|
|
1611
|
-
if (0 === request.abortableTasks.size) {
|
|
1654
|
+
if (hadAbortableTasks && 0 === request.abortableTasks.size) {
|
|
1612
1655
|
var onAllReady = request.onAllReady;
|
|
1613
1656
|
onAllReady();
|
|
1614
1657
|
}
|
|
@@ -1620,6 +1663,13 @@ function performWork$1(request) {
|
|
|
1620
1663
|
(currentRequest = prevRequest);
|
|
1621
1664
|
}
|
|
1622
1665
|
}
|
|
1666
|
+
function abortTask$1(task, request, errorId) {
|
|
1667
|
+
5 !== task.status &&
|
|
1668
|
+
((task.status = 3),
|
|
1669
|
+
(errorId = serializeByValueID$1(errorId)),
|
|
1670
|
+
(task = encodeReferenceChunk(request, task.id, errorId)),
|
|
1671
|
+
request.completedErrorChunks.push(task));
|
|
1672
|
+
}
|
|
1623
1673
|
function flushCompletedChunks(request, destination) {
|
|
1624
1674
|
try {
|
|
1625
1675
|
for (
|
|
@@ -1662,7 +1712,7 @@ function flushCompletedChunks(request, destination) {
|
|
|
1662
1712
|
}
|
|
1663
1713
|
0 === request.pendingChunks &&
|
|
1664
1714
|
(cleanupTaintQueue(request),
|
|
1665
|
-
(request.status =
|
|
1715
|
+
(request.status = 13),
|
|
1666
1716
|
destination.push(null),
|
|
1667
1717
|
(request.destination = null));
|
|
1668
1718
|
}
|
|
@@ -1679,19 +1729,27 @@ function enqueueFlush(request) {
|
|
|
1679
1729
|
}
|
|
1680
1730
|
function abort$1(request, reason) {
|
|
1681
1731
|
try {
|
|
1682
|
-
|
|
1732
|
+
10 === request.status && (request.status = 11);
|
|
1683
1733
|
var abortableTasks = request.abortableTasks;
|
|
1684
1734
|
if (0 < abortableTasks.size) {
|
|
1685
|
-
request.pendingChunks++;
|
|
1686
|
-
var errorId = request.nextChunkId++;
|
|
1687
|
-
request.fatalError = errorId;
|
|
1688
1735
|
if (
|
|
1689
1736
|
"object" === typeof reason &&
|
|
1690
1737
|
null !== reason &&
|
|
1691
1738
|
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
1692
1739
|
)
|
|
1693
|
-
logPostpone$1(request, reason.message, null),
|
|
1740
|
+
if ((logPostpone$1(request, reason.message, null), 21 === request.type))
|
|
1741
|
+
abortableTasks.forEach(function (task) {
|
|
1742
|
+
5 !== task.status && ((task.status = 3), request.pendingChunks--);
|
|
1743
|
+
});
|
|
1744
|
+
else {
|
|
1745
|
+
var errorId = request.nextChunkId++;
|
|
1746
|
+
request.fatalError = errorId;
|
|
1747
|
+
request.pendingChunks++;
|
|
1694
1748
|
emitPostponeChunk(request, errorId, reason);
|
|
1749
|
+
abortableTasks.forEach(function (task) {
|
|
1750
|
+
return abortTask$1(task, request, errorId);
|
|
1751
|
+
});
|
|
1752
|
+
}
|
|
1695
1753
|
else {
|
|
1696
1754
|
var error =
|
|
1697
1755
|
void 0 === reason
|
|
@@ -1702,21 +1760,27 @@ function abort$1(request, reason) {
|
|
|
1702
1760
|
? Error("The render was aborted by the server with a promise.")
|
|
1703
1761
|
: reason,
|
|
1704
1762
|
digest = logRecoverableError$1(request, error, null);
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
var
|
|
1711
|
-
|
|
1712
|
-
request.
|
|
1763
|
+
if (21 === request.type)
|
|
1764
|
+
abortableTasks.forEach(function (task) {
|
|
1765
|
+
5 !== task.status && ((task.status = 3), request.pendingChunks--);
|
|
1766
|
+
});
|
|
1767
|
+
else {
|
|
1768
|
+
var errorId$29 = request.nextChunkId++;
|
|
1769
|
+
request.fatalError = errorId$29;
|
|
1770
|
+
request.pendingChunks++;
|
|
1771
|
+
emitErrorChunk(request, errorId$29, digest, error);
|
|
1772
|
+
abortableTasks.forEach(function (task) {
|
|
1773
|
+
return abortTask$1(task, request, errorId$29);
|
|
1774
|
+
});
|
|
1713
1775
|
}
|
|
1714
|
-
}
|
|
1776
|
+
}
|
|
1715
1777
|
abortableTasks.clear();
|
|
1778
|
+
var onAllReady = request.onAllReady;
|
|
1779
|
+
onAllReady();
|
|
1716
1780
|
}
|
|
1717
1781
|
var abortListeners = request.abortListeners;
|
|
1718
1782
|
if (0 < abortListeners.size) {
|
|
1719
|
-
var error$
|
|
1783
|
+
var error$30 =
|
|
1720
1784
|
"object" === typeof reason &&
|
|
1721
1785
|
null !== reason &&
|
|
1722
1786
|
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
@@ -1729,19 +1793,18 @@ function abort$1(request, reason) {
|
|
|
1729
1793
|
? Error("The render was aborted by the server with a promise.")
|
|
1730
1794
|
: reason;
|
|
1731
1795
|
abortListeners.forEach(function (callback) {
|
|
1732
|
-
return callback(error$
|
|
1796
|
+
return callback(error$30);
|
|
1733
1797
|
});
|
|
1734
1798
|
abortListeners.clear();
|
|
1735
1799
|
}
|
|
1736
1800
|
null !== request.destination &&
|
|
1737
1801
|
flushCompletedChunks(request, request.destination);
|
|
1738
|
-
} catch (error$
|
|
1739
|
-
logRecoverableError$1(request, error$
|
|
1740
|
-
fatalError$1(request, error$
|
|
1802
|
+
} catch (error$31) {
|
|
1803
|
+
logRecoverableError$1(request, error$31, null),
|
|
1804
|
+
fatalError$1(request, error$31);
|
|
1741
1805
|
}
|
|
1742
1806
|
}
|
|
1743
|
-
var
|
|
1744
|
-
bind$1 = Function.prototype.bind,
|
|
1807
|
+
var bind$1 = Function.prototype.bind,
|
|
1745
1808
|
ObjectPrototype = Object.prototype,
|
|
1746
1809
|
knownServerReferences = new WeakMap();
|
|
1747
1810
|
function serializeNumber(number) {
|
|
@@ -1845,11 +1908,11 @@ function processReply(
|
|
|
1845
1908
|
0 === pendingParts && resolve(data);
|
|
1846
1909
|
} else
|
|
1847
1910
|
try {
|
|
1848
|
-
var partJSON$
|
|
1849
|
-
data.append(formFieldPrefix + streamId, partJSON$
|
|
1911
|
+
var partJSON$32 = JSON.stringify(entry.value, resolveToJSON);
|
|
1912
|
+
data.append(formFieldPrefix + streamId, partJSON$32);
|
|
1850
1913
|
iterator.next().then(progress, reject);
|
|
1851
|
-
} catch (x$
|
|
1852
|
-
reject(x$
|
|
1914
|
+
} catch (x$33) {
|
|
1915
|
+
reject(x$33);
|
|
1853
1916
|
}
|
|
1854
1917
|
}
|
|
1855
1918
|
null === formData && (formData = new FormData());
|
|
@@ -1894,20 +1957,20 @@ function processReply(
|
|
|
1894
1957
|
"function" === typeof x.then
|
|
1895
1958
|
) {
|
|
1896
1959
|
pendingParts++;
|
|
1897
|
-
var lazyId$
|
|
1960
|
+
var lazyId$34 = nextPartId++;
|
|
1898
1961
|
parentReference = function () {
|
|
1899
1962
|
try {
|
|
1900
|
-
var partJSON$
|
|
1901
|
-
data$
|
|
1902
|
-
data$
|
|
1963
|
+
var partJSON$35 = serializeModel(value, lazyId$34),
|
|
1964
|
+
data$36 = formData;
|
|
1965
|
+
data$36.append(formFieldPrefix + lazyId$34, partJSON$35);
|
|
1903
1966
|
pendingParts--;
|
|
1904
|
-
0 === pendingParts && resolve(data$
|
|
1967
|
+
0 === pendingParts && resolve(data$36);
|
|
1905
1968
|
} catch (reason) {
|
|
1906
1969
|
reject(reason);
|
|
1907
1970
|
}
|
|
1908
1971
|
};
|
|
1909
1972
|
x.then(parentReference, parentReference);
|
|
1910
|
-
return "$" + lazyId$
|
|
1973
|
+
return "$" + lazyId$34.toString(16);
|
|
1911
1974
|
}
|
|
1912
1975
|
reject(x);
|
|
1913
1976
|
return null;
|
|
@@ -1921,9 +1984,9 @@ function processReply(
|
|
|
1921
1984
|
var promiseId = nextPartId++;
|
|
1922
1985
|
value.then(function (partValue) {
|
|
1923
1986
|
try {
|
|
1924
|
-
var partJSON$
|
|
1987
|
+
var partJSON$38 = serializeModel(partValue, promiseId);
|
|
1925
1988
|
partValue = formData;
|
|
1926
|
-
partValue.append(formFieldPrefix + promiseId, partJSON$
|
|
1989
|
+
partValue.append(formFieldPrefix + promiseId, partJSON$38);
|
|
1927
1990
|
pendingParts--;
|
|
1928
1991
|
0 === pendingParts && resolve(partValue);
|
|
1929
1992
|
} catch (reason) {
|
|
@@ -1947,11 +2010,11 @@ function processReply(
|
|
|
1947
2010
|
if (isArrayImpl(value)) return value;
|
|
1948
2011
|
if (value instanceof FormData) {
|
|
1949
2012
|
null === formData && (formData = new FormData());
|
|
1950
|
-
var data$
|
|
2013
|
+
var data$42 = formData;
|
|
1951
2014
|
key = nextPartId++;
|
|
1952
|
-
var prefix$
|
|
2015
|
+
var prefix$43 = formFieldPrefix + key + "_";
|
|
1953
2016
|
value.forEach(function (originalValue, originalKey) {
|
|
1954
|
-
data$
|
|
2017
|
+
data$42.append(prefix$43 + originalKey, originalValue);
|
|
1955
2018
|
});
|
|
1956
2019
|
return "$K" + key.toString(16);
|
|
1957
2020
|
}
|
|
@@ -2313,14 +2376,14 @@ function getComponentNameFromType(type) {
|
|
|
2313
2376
|
}
|
|
2314
2377
|
return null;
|
|
2315
2378
|
}
|
|
2316
|
-
function
|
|
2379
|
+
function ReactPromise(status, value, reason, response) {
|
|
2317
2380
|
this.status = status;
|
|
2318
2381
|
this.value = value;
|
|
2319
2382
|
this.reason = reason;
|
|
2320
2383
|
this._response = response;
|
|
2321
2384
|
}
|
|
2322
|
-
|
|
2323
|
-
|
|
2385
|
+
ReactPromise.prototype = Object.create(Promise.prototype);
|
|
2386
|
+
ReactPromise.prototype.then = function (resolve, reject) {
|
|
2324
2387
|
switch (this.status) {
|
|
2325
2388
|
case "resolved_model":
|
|
2326
2389
|
initializeModelChunk(this);
|
|
@@ -2362,7 +2425,7 @@ function readChunk(chunk) {
|
|
|
2362
2425
|
}
|
|
2363
2426
|
}
|
|
2364
2427
|
function createPendingChunk(response) {
|
|
2365
|
-
return new
|
|
2428
|
+
return new ReactPromise("pending", null, null, response);
|
|
2366
2429
|
}
|
|
2367
2430
|
function wakeChunk(listeners, value) {
|
|
2368
2431
|
for (var i = 0; i < listeners.length; i++) (0, listeners[i])(value);
|
|
@@ -2403,7 +2466,7 @@ function triggerErrorOnChunk(chunk, error) {
|
|
|
2403
2466
|
}
|
|
2404
2467
|
}
|
|
2405
2468
|
function createResolvedIteratorResultChunk(response, value, done) {
|
|
2406
|
-
return new
|
|
2469
|
+
return new ReactPromise(
|
|
2407
2470
|
"resolved_model",
|
|
2408
2471
|
(done ? '{"done":true,"value":' : '{"done":false,"value":') + value + "}",
|
|
2409
2472
|
null,
|
|
@@ -2754,7 +2817,10 @@ function resolveStream(response, id, stream, controller) {
|
|
|
2754
2817
|
(chunk.value = stream),
|
|
2755
2818
|
(chunk.reason = controller),
|
|
2756
2819
|
null !== response && wakeChunk(response, chunk.value))
|
|
2757
|
-
: chunks.set(
|
|
2820
|
+
: chunks.set(
|
|
2821
|
+
id,
|
|
2822
|
+
new ReactPromise("fulfilled", stream, controller, response)
|
|
2823
|
+
);
|
|
2758
2824
|
}
|
|
2759
2825
|
function startReadableStream(response, id, type) {
|
|
2760
2826
|
var controller = null;
|
|
@@ -2775,7 +2841,7 @@ function startReadableStream(response, id, type) {
|
|
|
2775
2841
|
},
|
|
2776
2842
|
enqueueModel: function (json) {
|
|
2777
2843
|
if (null === previousBlockedChunk) {
|
|
2778
|
-
var chunk = new
|
|
2844
|
+
var chunk = new ReactPromise("resolved_model", json, null, response);
|
|
2779
2845
|
initializeModelChunk(chunk);
|
|
2780
2846
|
"fulfilled" === chunk.status
|
|
2781
2847
|
? controller.enqueue(chunk.value)
|
|
@@ -2790,8 +2856,8 @@ function startReadableStream(response, id, type) {
|
|
|
2790
2856
|
(previousBlockedChunk = chunk));
|
|
2791
2857
|
} else {
|
|
2792
2858
|
chunk = previousBlockedChunk;
|
|
2793
|
-
var chunk$
|
|
2794
|
-
chunk$
|
|
2859
|
+
var chunk$63 = createPendingChunk(response);
|
|
2860
|
+
chunk$63.then(
|
|
2795
2861
|
function (v) {
|
|
2796
2862
|
return controller.enqueue(v);
|
|
2797
2863
|
},
|
|
@@ -2799,10 +2865,10 @@ function startReadableStream(response, id, type) {
|
|
|
2799
2865
|
return controller.error(e);
|
|
2800
2866
|
}
|
|
2801
2867
|
);
|
|
2802
|
-
previousBlockedChunk = chunk$
|
|
2868
|
+
previousBlockedChunk = chunk$63;
|
|
2803
2869
|
chunk.then(function () {
|
|
2804
|
-
previousBlockedChunk === chunk$
|
|
2805
|
-
resolveModelChunk(chunk$
|
|
2870
|
+
previousBlockedChunk === chunk$63 && (previousBlockedChunk = null);
|
|
2871
|
+
resolveModelChunk(chunk$63, json);
|
|
2806
2872
|
});
|
|
2807
2873
|
}
|
|
2808
2874
|
},
|
|
@@ -2851,7 +2917,7 @@ function startAsyncIterable(response, id, iterator) {
|
|
|
2851
2917
|
);
|
|
2852
2918
|
if (nextReadIndex === buffer.length) {
|
|
2853
2919
|
if (closed)
|
|
2854
|
-
return new
|
|
2920
|
+
return new ReactPromise(
|
|
2855
2921
|
"fulfilled",
|
|
2856
2922
|
{ done: !0, value: void 0 },
|
|
2857
2923
|
null,
|
|
@@ -2870,7 +2936,7 @@ function startAsyncIterable(response, id, iterator) {
|
|
|
2870
2936
|
{
|
|
2871
2937
|
enqueueValue: function (value) {
|
|
2872
2938
|
if (nextWriteIndex === buffer.length)
|
|
2873
|
-
buffer[nextWriteIndex] = new
|
|
2939
|
+
buffer[nextWriteIndex] = new ReactPromise(
|
|
2874
2940
|
"fulfilled",
|
|
2875
2941
|
{ done: !1, value: value },
|
|
2876
2942
|
null,
|
|
@@ -2947,10 +3013,15 @@ function createFromJSONCallback(response) {
|
|
|
2947
3013
|
(initializingHandler = value.parent),
|
|
2948
3014
|
value.errored)
|
|
2949
3015
|
)
|
|
2950
|
-
(key = new
|
|
3016
|
+
(key = new ReactPromise("rejected", null, value.value, response)),
|
|
2951
3017
|
(key = createLazyChunkWrapper(key));
|
|
2952
3018
|
else if (0 < value.deps) {
|
|
2953
|
-
var blockedChunk = new
|
|
3019
|
+
var blockedChunk = new ReactPromise(
|
|
3020
|
+
"blocked",
|
|
3021
|
+
null,
|
|
3022
|
+
null,
|
|
3023
|
+
response
|
|
3024
|
+
);
|
|
2954
3025
|
value.value = key;
|
|
2955
3026
|
value.chunk = blockedChunk;
|
|
2956
3027
|
key = createLazyChunkWrapper(blockedChunk);
|
|
@@ -3675,8 +3746,8 @@ function pushAttribute(target, name, value) {
|
|
|
3675
3746
|
case "symbol":
|
|
3676
3747
|
return;
|
|
3677
3748
|
case "boolean":
|
|
3678
|
-
var prefix$
|
|
3679
|
-
if ("data-" !== prefix$
|
|
3749
|
+
var prefix$73 = name.toLowerCase().slice(0, 5);
|
|
3750
|
+
if ("data-" !== prefix$73 && "aria-" !== prefix$73) return;
|
|
3680
3751
|
}
|
|
3681
3752
|
target.push(" ", name, '="', escapeTextForBrowser(value), '"');
|
|
3682
3753
|
}
|
|
@@ -4411,10 +4482,10 @@ function pushStartInstance$1(
|
|
|
4411
4482
|
styleQueue.sheets.set(href, resource);
|
|
4412
4483
|
hoistableState && hoistableState.stylesheets.add(resource);
|
|
4413
4484
|
} else if (styleQueue) {
|
|
4414
|
-
var resource$
|
|
4415
|
-
resource$
|
|
4485
|
+
var resource$74 = styleQueue.sheets.get(href);
|
|
4486
|
+
resource$74 &&
|
|
4416
4487
|
hoistableState &&
|
|
4417
|
-
hoistableState.stylesheets.add(resource$
|
|
4488
|
+
hoistableState.stylesheets.add(resource$74);
|
|
4418
4489
|
}
|
|
4419
4490
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
|
|
4420
4491
|
JSCompiler_inline_result$jscomp$4 = null;
|
|
@@ -5644,10 +5715,10 @@ function useActionState(action, initialState, permalink) {
|
|
|
5644
5715
|
var nextPostbackStateKey = null,
|
|
5645
5716
|
componentKeyPath = currentlyRenderingKeyPath;
|
|
5646
5717
|
request = request.formState;
|
|
5647
|
-
var isSignatureEqual$
|
|
5648
|
-
if (null !== request && "function" === typeof isSignatureEqual$
|
|
5718
|
+
var isSignatureEqual$77 = action.$$IS_SIGNATURE_EQUAL;
|
|
5719
|
+
if (null !== request && "function" === typeof isSignatureEqual$77) {
|
|
5649
5720
|
var postbackKey = request[1];
|
|
5650
|
-
isSignatureEqual$
|
|
5721
|
+
isSignatureEqual$77.call(action, request[2], request[3]) &&
|
|
5651
5722
|
((nextPostbackStateKey =
|
|
5652
5723
|
void 0 !== permalink
|
|
5653
5724
|
? "p" + permalink
|
|
@@ -5689,11 +5760,11 @@ function useActionState(action, initialState, permalink) {
|
|
|
5689
5760
|
});
|
|
5690
5761
|
return [initialState, action, !1];
|
|
5691
5762
|
}
|
|
5692
|
-
var boundAction$
|
|
5763
|
+
var boundAction$78 = action.bind(null, initialState);
|
|
5693
5764
|
return [
|
|
5694
5765
|
initialState,
|
|
5695
5766
|
function (payload) {
|
|
5696
|
-
boundAction$
|
|
5767
|
+
boundAction$78(payload);
|
|
5697
5768
|
},
|
|
5698
5769
|
!1
|
|
5699
5770
|
];
|
|
@@ -6209,9 +6280,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6209
6280
|
var defaultProps = type.defaultProps;
|
|
6210
6281
|
if (defaultProps) {
|
|
6211
6282
|
newProps === props && (newProps = assign({}, newProps, props));
|
|
6212
|
-
for (var propName$
|
|
6213
|
-
void 0 === newProps[propName$
|
|
6214
|
-
(newProps[propName$
|
|
6283
|
+
for (var propName$87 in defaultProps)
|
|
6284
|
+
void 0 === newProps[propName$87] &&
|
|
6285
|
+
(newProps[propName$87] = defaultProps[propName$87]);
|
|
6215
6286
|
}
|
|
6216
6287
|
props = newProps;
|
|
6217
6288
|
newProps = emptyContextObject;
|
|
@@ -6321,7 +6392,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6321
6392
|
defaultProps = newProps.chunks;
|
|
6322
6393
|
initialState = request.resumableState;
|
|
6323
6394
|
ref = request.renderState;
|
|
6324
|
-
propName$
|
|
6395
|
+
propName$87 = task.hoistableState;
|
|
6325
6396
|
propName = task.formatContext;
|
|
6326
6397
|
var textEmbedded = newProps.lastPushedText,
|
|
6327
6398
|
isFallback = task.isFallback;
|
|
@@ -6345,7 +6416,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6345
6416
|
props,
|
|
6346
6417
|
initialState,
|
|
6347
6418
|
ref,
|
|
6348
|
-
propName$
|
|
6419
|
+
propName$87,
|
|
6349
6420
|
propName,
|
|
6350
6421
|
textEmbedded,
|
|
6351
6422
|
isFallback
|
|
@@ -6442,13 +6513,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6442
6513
|
ref = props.fallback;
|
|
6443
6514
|
props = props.children;
|
|
6444
6515
|
var fallbackAbortSet = new Set();
|
|
6445
|
-
propName$
|
|
6516
|
+
propName$87 = createSuspenseBoundary(request, fallbackAbortSet);
|
|
6446
6517
|
null !== request.trackedPostpones &&
|
|
6447
|
-
(propName$
|
|
6518
|
+
(propName$87.trackedContentKeyPath = keyPath);
|
|
6448
6519
|
propName = createPendingSegment(
|
|
6449
6520
|
request,
|
|
6450
6521
|
contextType.chunks.length,
|
|
6451
|
-
propName$
|
|
6522
|
+
propName$87,
|
|
6452
6523
|
task.formatContext,
|
|
6453
6524
|
!1,
|
|
6454
6525
|
!1
|
|
@@ -6468,7 +6539,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6468
6539
|
newProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
|
|
6469
6540
|
defaultProps = [newProps[1], newProps[2], [], null];
|
|
6470
6541
|
request.trackedPostpones.workingMap.set(newProps, defaultProps);
|
|
6471
|
-
propName$
|
|
6542
|
+
propName$87.trackedFallbackNode = defaultProps;
|
|
6472
6543
|
task.blockedSegment = propName;
|
|
6473
6544
|
task.keyPath = newProps;
|
|
6474
6545
|
propName.status = 6;
|
|
@@ -6486,9 +6557,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6486
6557
|
null,
|
|
6487
6558
|
props,
|
|
6488
6559
|
-1,
|
|
6489
|
-
propName$
|
|
6560
|
+
propName$87,
|
|
6490
6561
|
textEmbedded,
|
|
6491
|
-
propName$
|
|
6562
|
+
propName$87.contentState,
|
|
6492
6563
|
task.abortSet,
|
|
6493
6564
|
keyPath,
|
|
6494
6565
|
task.formatContext,
|
|
@@ -6500,8 +6571,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6500
6571
|
pushComponentStack(task);
|
|
6501
6572
|
request.pingedTasks.push(task);
|
|
6502
6573
|
} else {
|
|
6503
|
-
task.blockedBoundary = propName$
|
|
6504
|
-
task.hoistableState = propName$
|
|
6574
|
+
task.blockedBoundary = propName$87;
|
|
6575
|
+
task.hoistableState = propName$87.contentState;
|
|
6505
6576
|
task.blockedSegment = textEmbedded;
|
|
6506
6577
|
task.keyPath = keyPath;
|
|
6507
6578
|
textEmbedded.status = 6;
|
|
@@ -6509,17 +6580,17 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6509
6580
|
if (
|
|
6510
6581
|
(renderNode(request, task, props, -1),
|
|
6511
6582
|
(textEmbedded.status = 1),
|
|
6512
|
-
queueCompletedSegment(propName$
|
|
6513
|
-
0 === propName$
|
|
6583
|
+
queueCompletedSegment(propName$87, textEmbedded),
|
|
6584
|
+
0 === propName$87.pendingTasks && 0 === propName$87.status)
|
|
6514
6585
|
) {
|
|
6515
|
-
propName$
|
|
6586
|
+
propName$87.status = 1;
|
|
6516
6587
|
break a;
|
|
6517
6588
|
}
|
|
6518
|
-
} catch (thrownValue$
|
|
6519
|
-
(propName$
|
|
6589
|
+
} catch (thrownValue$82) {
|
|
6590
|
+
(propName$87.status = 4),
|
|
6520
6591
|
1 === request.status
|
|
6521
6592
|
? ((textEmbedded.status = 3), (newProps = request.fatalError))
|
|
6522
|
-
: ((textEmbedded.status = 4), (newProps = thrownValue$
|
|
6593
|
+
: ((textEmbedded.status = 4), (newProps = thrownValue$82)),
|
|
6523
6594
|
(defaultProps = getThrownInfo(task.componentStack)),
|
|
6524
6595
|
"object" === typeof newProps &&
|
|
6525
6596
|
null !== newProps &&
|
|
@@ -6531,8 +6602,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6531
6602
|
newProps,
|
|
6532
6603
|
defaultProps
|
|
6533
6604
|
)),
|
|
6534
|
-
(propName$
|
|
6535
|
-
untrackBoundary(request, propName$
|
|
6605
|
+
(propName$87.errorDigest = initialState),
|
|
6606
|
+
untrackBoundary(request, propName$87);
|
|
6536
6607
|
} finally {
|
|
6537
6608
|
(task.blockedBoundary = isFallback),
|
|
6538
6609
|
(task.hoistableState = propValue),
|
|
@@ -6546,7 +6617,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6546
6617
|
-1,
|
|
6547
6618
|
isFallback,
|
|
6548
6619
|
propName,
|
|
6549
|
-
propName$
|
|
6620
|
+
propName$87.fallbackState,
|
|
6550
6621
|
fallbackAbortSet,
|
|
6551
6622
|
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
|
6552
6623
|
task.formatContext,
|
|
@@ -7055,9 +7126,9 @@ function trackPostpone(request, trackedPostpones, task, segment) {
|
|
|
7055
7126
|
addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
|
|
7056
7127
|
return;
|
|
7057
7128
|
}
|
|
7058
|
-
var boundaryNode$
|
|
7059
|
-
void 0 === boundaryNode$
|
|
7060
|
-
? ((boundaryNode$
|
|
7129
|
+
var boundaryNode$97 = trackedPostpones.workingMap.get(boundaryKeyPath);
|
|
7130
|
+
void 0 === boundaryNode$97
|
|
7131
|
+
? ((boundaryNode$97 = [
|
|
7061
7132
|
boundaryKeyPath[1],
|
|
7062
7133
|
boundaryKeyPath[2],
|
|
7063
7134
|
children,
|
|
@@ -7065,13 +7136,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
|
|
|
7065
7136
|
fallbackReplayNode,
|
|
7066
7137
|
boundary.rootSegmentID
|
|
7067
7138
|
]),
|
|
7068
|
-
trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$
|
|
7139
|
+
trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$97),
|
|
7069
7140
|
addToReplayParent(
|
|
7070
|
-
boundaryNode$
|
|
7141
|
+
boundaryNode$97,
|
|
7071
7142
|
boundaryKeyPath[0],
|
|
7072
7143
|
trackedPostpones
|
|
7073
7144
|
))
|
|
7074
|
-
: ((boundaryKeyPath = boundaryNode$
|
|
7145
|
+
: ((boundaryKeyPath = boundaryNode$97),
|
|
7075
7146
|
(boundaryKeyPath[4] = fallbackReplayNode),
|
|
7076
7147
|
(boundaryKeyPath[5] = boundary.rootSegmentID));
|
|
7077
7148
|
}
|
|
@@ -7180,15 +7251,15 @@ function renderNode(request, task, node, childIndex) {
|
|
|
7180
7251
|
chunkLength = segment.chunks.length;
|
|
7181
7252
|
try {
|
|
7182
7253
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
7183
|
-
} catch (thrownValue$
|
|
7254
|
+
} catch (thrownValue$103) {
|
|
7184
7255
|
if (
|
|
7185
7256
|
(resetHooksState(),
|
|
7186
7257
|
(segment.children.length = childrenLength),
|
|
7187
7258
|
(segment.chunks.length = chunkLength),
|
|
7188
7259
|
(childIndex =
|
|
7189
|
-
thrownValue$
|
|
7260
|
+
thrownValue$103 === SuspenseException
|
|
7190
7261
|
? getSuspendedThenable()
|
|
7191
|
-
: thrownValue$
|
|
7262
|
+
: thrownValue$103),
|
|
7192
7263
|
"object" === typeof childIndex && null !== childIndex)
|
|
7193
7264
|
) {
|
|
7194
7265
|
if ("function" === typeof childIndex.then) {
|
|
@@ -7366,8 +7437,13 @@ function abortTask(task, request, error) {
|
|
|
7366
7437
|
)),
|
|
7367
7438
|
logRecoverableError(request, task, boundary),
|
|
7368
7439
|
fatalError(request, task)))
|
|
7369
|
-
:
|
|
7370
|
-
|
|
7440
|
+
: null !== request.trackedPostpones && null !== segment
|
|
7441
|
+
? ((replay = request.trackedPostpones),
|
|
7442
|
+
logRecoverableError(request, error, boundary),
|
|
7443
|
+
trackPostpone(request, replay, task, segment),
|
|
7444
|
+
finishedTask(request, null, segment))
|
|
7445
|
+
: (logRecoverableError(request, error, boundary),
|
|
7446
|
+
fatalError(request, error));
|
|
7371
7447
|
return;
|
|
7372
7448
|
}
|
|
7373
7449
|
replay.pendingTasks--;
|
|
@@ -7389,24 +7465,53 @@ function abortTask(task, request, error) {
|
|
|
7389
7465
|
request.pendingRootTasks--;
|
|
7390
7466
|
0 === request.pendingRootTasks && completeShell(request);
|
|
7391
7467
|
}
|
|
7392
|
-
} else
|
|
7393
|
-
boundary.pendingTasks
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7468
|
+
} else {
|
|
7469
|
+
boundary.pendingTasks--;
|
|
7470
|
+
replay = getThrownInfo(task.componentStack);
|
|
7471
|
+
var trackedPostpones$107 = request.trackedPostpones;
|
|
7472
|
+
if (4 !== boundary.status) {
|
|
7473
|
+
if (null !== trackedPostpones$107 && null !== segment)
|
|
7474
|
+
return (
|
|
7475
|
+
"object" === typeof error &&
|
|
7476
|
+
null !== error &&
|
|
7477
|
+
error.$$typeof === REACT_POSTPONE_TYPE
|
|
7478
|
+
? logPostpone(request, error.message, replay)
|
|
7479
|
+
: logRecoverableError(request, error, replay),
|
|
7480
|
+
trackPostpone(request, trackedPostpones$107, task, segment),
|
|
7481
|
+
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
7482
|
+
return abortTask(fallbackTask, request, error);
|
|
7483
|
+
}),
|
|
7484
|
+
boundary.fallbackAbortableTasks.clear(),
|
|
7485
|
+
finishedTask(request, boundary, segment)
|
|
7486
|
+
);
|
|
7487
|
+
boundary.status = 4;
|
|
7488
|
+
if (
|
|
7397
7489
|
"object" === typeof error &&
|
|
7398
7490
|
null !== error &&
|
|
7399
7491
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
(
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7492
|
+
) {
|
|
7493
|
+
logPostpone(request, error.message, replay);
|
|
7494
|
+
if (null !== request.trackedPostpones && null !== segment) {
|
|
7495
|
+
trackPostpone(request, request.trackedPostpones, task, segment);
|
|
7496
|
+
finishedTask(request, task.blockedBoundary, segment);
|
|
7497
|
+
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
7498
|
+
return abortTask(fallbackTask, request, error);
|
|
7499
|
+
});
|
|
7500
|
+
boundary.fallbackAbortableTasks.clear();
|
|
7501
|
+
return;
|
|
7502
|
+
}
|
|
7503
|
+
task = "POSTPONE";
|
|
7504
|
+
} else task = logRecoverableError(request, error, replay);
|
|
7505
|
+
boundary.status = 4;
|
|
7506
|
+
boundary.errorDigest = task;
|
|
7507
|
+
untrackBoundary(request, boundary);
|
|
7508
|
+
boundary.parentFlushed && request.clientRenderedBoundaries.push(boundary);
|
|
7509
|
+
}
|
|
7510
|
+
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
7511
|
+
return abortTask(fallbackTask, request, error);
|
|
7512
|
+
});
|
|
7513
|
+
boundary.fallbackAbortableTasks.clear();
|
|
7514
|
+
}
|
|
7410
7515
|
request.allPendingTasks--;
|
|
7411
7516
|
0 === request.allPendingTasks && completeAll(request);
|
|
7412
7517
|
}
|
|
@@ -7638,65 +7743,83 @@ function performWork(request$jscomp$1) {
|
|
|
7638
7743
|
: 1 === request.status
|
|
7639
7744
|
? request.fatalError
|
|
7640
7745
|
: thrownValue;
|
|
7641
|
-
if (
|
|
7642
|
-
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
|
|
7650
|
-
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
7668
|
-
|
|
7746
|
+
if (1 === request.status && null !== request.trackedPostpones) {
|
|
7747
|
+
var trackedPostpones = request.trackedPostpones,
|
|
7748
|
+
thrownInfo = getThrownInfo(task.componentStack);
|
|
7749
|
+
task.abortSet.delete(task);
|
|
7750
|
+
"object" === typeof x$jscomp$0 &&
|
|
7751
|
+
null !== x$jscomp$0 &&
|
|
7752
|
+
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
7753
|
+
? logPostpone(request, x$jscomp$0.message, thrownInfo)
|
|
7754
|
+
: logRecoverableError(request, x$jscomp$0, thrownInfo);
|
|
7755
|
+
trackPostpone(
|
|
7756
|
+
request,
|
|
7757
|
+
trackedPostpones,
|
|
7758
|
+
task,
|
|
7759
|
+
segment$jscomp$0
|
|
7760
|
+
);
|
|
7761
|
+
finishedTask(request, task.blockedBoundary, segment$jscomp$0);
|
|
7762
|
+
} else {
|
|
7763
|
+
if ("object" === typeof x$jscomp$0 && null !== x$jscomp$0) {
|
|
7764
|
+
if ("function" === typeof x$jscomp$0.then) {
|
|
7765
|
+
segment$jscomp$0.status = 0;
|
|
7766
|
+
task.thenableState = getThenableStateAfterSuspending();
|
|
7767
|
+
var ping$jscomp$0 = task.ping;
|
|
7768
|
+
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
7769
|
+
break a;
|
|
7770
|
+
}
|
|
7771
|
+
if (
|
|
7772
|
+
null !== request.trackedPostpones &&
|
|
7773
|
+
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
7774
|
+
) {
|
|
7775
|
+
var trackedPostpones$111 = request.trackedPostpones;
|
|
7776
|
+
task.abortSet.delete(task);
|
|
7777
|
+
var postponeInfo = getThrownInfo(task.componentStack);
|
|
7778
|
+
logPostpone(request, x$jscomp$0.message, postponeInfo);
|
|
7779
|
+
trackPostpone(
|
|
7780
|
+
request,
|
|
7781
|
+
trackedPostpones$111,
|
|
7782
|
+
task,
|
|
7783
|
+
segment$jscomp$0
|
|
7784
|
+
);
|
|
7785
|
+
finishedTask(
|
|
7786
|
+
request,
|
|
7787
|
+
task.blockedBoundary,
|
|
7788
|
+
segment$jscomp$0
|
|
7789
|
+
);
|
|
7790
|
+
break a;
|
|
7791
|
+
}
|
|
7669
7792
|
}
|
|
7793
|
+
var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
|
|
7794
|
+
task.abortSet.delete(task);
|
|
7795
|
+
segment$jscomp$0.status = 4;
|
|
7796
|
+
var boundary = task.blockedBoundary;
|
|
7797
|
+
"object" === typeof x$jscomp$0 &&
|
|
7798
|
+
null !== x$jscomp$0 &&
|
|
7799
|
+
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
7800
|
+
? (logPostpone(
|
|
7801
|
+
request,
|
|
7802
|
+
x$jscomp$0.message,
|
|
7803
|
+
errorInfo$jscomp$0
|
|
7804
|
+
),
|
|
7805
|
+
(request$jscomp$0 = "POSTPONE"))
|
|
7806
|
+
: (request$jscomp$0 = logRecoverableError(
|
|
7807
|
+
request,
|
|
7808
|
+
x$jscomp$0,
|
|
7809
|
+
errorInfo$jscomp$0
|
|
7810
|
+
));
|
|
7811
|
+
null === boundary
|
|
7812
|
+
? fatalError(request, x$jscomp$0)
|
|
7813
|
+
: (boundary.pendingTasks--,
|
|
7814
|
+
4 !== boundary.status &&
|
|
7815
|
+
((boundary.status = 4),
|
|
7816
|
+
(boundary.errorDigest = request$jscomp$0),
|
|
7817
|
+
untrackBoundary(request, boundary),
|
|
7818
|
+
boundary.parentFlushed &&
|
|
7819
|
+
request.clientRenderedBoundaries.push(boundary)));
|
|
7820
|
+
request.allPendingTasks--;
|
|
7821
|
+
0 === request.allPendingTasks && completeAll(request);
|
|
7670
7822
|
}
|
|
7671
|
-
var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
|
|
7672
|
-
task.abortSet.delete(task);
|
|
7673
|
-
segment$jscomp$0.status = 4;
|
|
7674
|
-
var boundary = task.blockedBoundary;
|
|
7675
|
-
"object" === typeof x$jscomp$0 &&
|
|
7676
|
-
null !== x$jscomp$0 &&
|
|
7677
|
-
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
7678
|
-
? (logPostpone(
|
|
7679
|
-
request,
|
|
7680
|
-
x$jscomp$0.message,
|
|
7681
|
-
errorInfo$jscomp$0
|
|
7682
|
-
),
|
|
7683
|
-
(request$jscomp$0 = "POSTPONE"))
|
|
7684
|
-
: (request$jscomp$0 = logRecoverableError(
|
|
7685
|
-
request,
|
|
7686
|
-
x$jscomp$0,
|
|
7687
|
-
errorInfo$jscomp$0
|
|
7688
|
-
));
|
|
7689
|
-
null === boundary
|
|
7690
|
-
? fatalError(request, x$jscomp$0)
|
|
7691
|
-
: (boundary.pendingTasks--,
|
|
7692
|
-
4 !== boundary.status &&
|
|
7693
|
-
((boundary.status = 4),
|
|
7694
|
-
(boundary.errorDigest = request$jscomp$0),
|
|
7695
|
-
untrackBoundary(request, boundary),
|
|
7696
|
-
boundary.parentFlushed &&
|
|
7697
|
-
request.clientRenderedBoundaries.push(boundary)));
|
|
7698
|
-
request.allPendingTasks--;
|
|
7699
|
-
0 === request.allPendingTasks && completeAll(request);
|
|
7700
7823
|
} finally {
|
|
7701
7824
|
}
|
|
7702
7825
|
}
|
|
@@ -8087,11 +8210,11 @@ function flushCompletedQueues(request, destination) {
|
|
|
8087
8210
|
completedBoundaries.splice(0, i);
|
|
8088
8211
|
var partialBoundaries = request.partialBoundaries;
|
|
8089
8212
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
8090
|
-
var boundary$
|
|
8213
|
+
var boundary$114 = partialBoundaries[i];
|
|
8091
8214
|
a: {
|
|
8092
8215
|
clientRenderedBoundaries = request;
|
|
8093
8216
|
boundary = destination;
|
|
8094
|
-
var completedSegments = boundary$
|
|
8217
|
+
var completedSegments = boundary$114.completedSegments;
|
|
8095
8218
|
for (
|
|
8096
8219
|
JSCompiler_inline_result = 0;
|
|
8097
8220
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -8101,7 +8224,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8101
8224
|
!flushPartiallyCompletedSegment(
|
|
8102
8225
|
clientRenderedBoundaries,
|
|
8103
8226
|
boundary,
|
|
8104
|
-
boundary$
|
|
8227
|
+
boundary$114,
|
|
8105
8228
|
completedSegments[JSCompiler_inline_result]
|
|
8106
8229
|
)
|
|
8107
8230
|
) {
|
|
@@ -8113,7 +8236,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8113
8236
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
8114
8237
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
8115
8238
|
boundary,
|
|
8116
|
-
boundary$
|
|
8239
|
+
boundary$114.contentState,
|
|
8117
8240
|
clientRenderedBoundaries.renderState
|
|
8118
8241
|
);
|
|
8119
8242
|
}
|
|
@@ -8185,8 +8308,8 @@ function abort(request, reason) {
|
|
|
8185
8308
|
}
|
|
8186
8309
|
null !== request.destination &&
|
|
8187
8310
|
flushCompletedQueues(request, request.destination);
|
|
8188
|
-
} catch (error$
|
|
8189
|
-
logRecoverableError(request, error$
|
|
8311
|
+
} catch (error$116) {
|
|
8312
|
+
logRecoverableError(request, error$116, {}), fatalError(request, error$116);
|
|
8190
8313
|
}
|
|
8191
8314
|
}
|
|
8192
8315
|
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
@@ -8308,7 +8431,7 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8308
8431
|
? triggerErrorOnChunk(rowLength, i)
|
|
8309
8432
|
: rowTag.set(
|
|
8310
8433
|
rowID,
|
|
8311
|
-
new
|
|
8434
|
+
new ReactPromise("rejected", null, i, flightResponse)
|
|
8312
8435
|
);
|
|
8313
8436
|
break;
|
|
8314
8437
|
case 84:
|
|
@@ -8318,7 +8441,7 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8318
8441
|
? rowLength.reason.enqueueValue(i)
|
|
8319
8442
|
: rowTag.set(
|
|
8320
8443
|
rowID,
|
|
8321
|
-
new
|
|
8444
|
+
new ReactPromise("fulfilled", i, null, flightResponse)
|
|
8322
8445
|
);
|
|
8323
8446
|
break;
|
|
8324
8447
|
case 68:
|
|
@@ -8354,7 +8477,7 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8354
8477
|
? triggerErrorOnChunk(rowLength, i)
|
|
8355
8478
|
: rowTag.set(
|
|
8356
8479
|
rowID,
|
|
8357
|
-
new
|
|
8480
|
+
new ReactPromise("rejected", null, i, flightResponse)
|
|
8358
8481
|
);
|
|
8359
8482
|
break;
|
|
8360
8483
|
default:
|
|
@@ -8363,7 +8486,12 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8363
8486
|
? resolveModelChunk(rowLength, i)
|
|
8364
8487
|
: rowTag.set(
|
|
8365
8488
|
rowID,
|
|
8366
|
-
new
|
|
8489
|
+
new ReactPromise(
|
|
8490
|
+
"resolved_model",
|
|
8491
|
+
i,
|
|
8492
|
+
null,
|
|
8493
|
+
flightResponse
|
|
8494
|
+
)
|
|
8367
8495
|
);
|
|
8368
8496
|
}
|
|
8369
8497
|
i = lastIdx;
|
|
@@ -8391,6 +8519,7 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8391
8519
|
stashErrorIdx = 1,
|
|
8392
8520
|
stashedErrors = new Map(),
|
|
8393
8521
|
flightRequest = new RequestInstance$1(
|
|
8522
|
+
20,
|
|
8394
8523
|
children,
|
|
8395
8524
|
null,
|
|
8396
8525
|
function (error) {
|
|
@@ -8403,8 +8532,8 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8403
8532
|
void 0,
|
|
8404
8533
|
"Markup",
|
|
8405
8534
|
void 0,
|
|
8406
|
-
|
|
8407
|
-
|
|
8535
|
+
noop$3,
|
|
8536
|
+
noop$3
|
|
8408
8537
|
),
|
|
8409
8538
|
flightResponse = new ResponseInstance(
|
|
8410
8539
|
null,
|
|
@@ -8465,10 +8594,13 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8465
8594
|
}
|
|
8466
8595
|
flightRequest.flushScheduled = null !== flightRequest.destination;
|
|
8467
8596
|
performWork$1(flightRequest);
|
|
8468
|
-
if (
|
|
8469
|
-
(flightRequest.status =
|
|
8597
|
+
if (12 === flightRequest.status)
|
|
8598
|
+
(flightRequest.status = 13),
|
|
8470
8599
|
flightDestination.destroy(flightRequest.fatalError);
|
|
8471
|
-
else if (
|
|
8600
|
+
else if (
|
|
8601
|
+
13 !== flightRequest.status &&
|
|
8602
|
+
null === flightRequest.destination
|
|
8603
|
+
) {
|
|
8472
8604
|
flightRequest.destination = flightDestination;
|
|
8473
8605
|
try {
|
|
8474
8606
|
flushCompletedChunks(flightRequest, flightDestination);
|
|
@@ -8478,9 +8610,13 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8478
8610
|
}
|
|
8479
8611
|
}
|
|
8480
8612
|
fizzRequest.flushScheduled = null !== fizzRequest.destination;
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8613
|
+
null !== fizzRequest.trackedPostpones
|
|
8614
|
+
? performWork(fizzRequest)
|
|
8615
|
+
: (performWork(fizzRequest),
|
|
8616
|
+
safelyEmitEarlyPreloads(
|
|
8617
|
+
fizzRequest,
|
|
8618
|
+
0 === fizzRequest.pendingRootTasks
|
|
8619
|
+
));
|
|
8484
8620
|
startFlowing(fizzRequest, {
|
|
8485
8621
|
push: function (chunk) {
|
|
8486
8622
|
null !== chunk ? (buffer$jscomp$0 += chunk) : resolve(buffer$jscomp$0);
|
|
@@ -8493,4 +8629,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8493
8629
|
});
|
|
8494
8630
|
});
|
|
8495
8631
|
};
|
|
8496
|
-
exports.version = "19.0.0-experimental-
|
|
8632
|
+
exports.version = "19.0.0-experimental-1d989965-20240821";
|