react-markup 0.0.0-experimental-372ec00c-20241209 → 0.0.0-experimental-7130d0c6-20241212
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.
|
@@ -638,19 +638,7 @@ function serializeThenable(request, task, thenable) {
|
|
|
638
638
|
newTask.id
|
|
639
639
|
);
|
|
640
640
|
case "rejected":
|
|
641
|
-
return (
|
|
642
|
-
(task = thenable.reason),
|
|
643
|
-
"object" === typeof task &&
|
|
644
|
-
null !== task &&
|
|
645
|
-
task.$$typeof === REACT_POSTPONE_TYPE
|
|
646
|
-
? (logPostpone$1(request, task.message, newTask),
|
|
647
|
-
emitPostponeChunk(request, newTask.id))
|
|
648
|
-
: ((task = logRecoverableError$1(request, task, null)),
|
|
649
|
-
emitErrorChunk(request, newTask.id, task)),
|
|
650
|
-
(newTask.status = 4),
|
|
651
|
-
request.abortableTasks.delete(newTask),
|
|
652
|
-
newTask.id
|
|
653
|
-
);
|
|
641
|
+
return erroredTask$1(request, newTask, thenable.reason), newTask.id;
|
|
654
642
|
default:
|
|
655
643
|
if (12 === request.status)
|
|
656
644
|
return (
|
|
@@ -683,16 +671,7 @@ function serializeThenable(request, task, thenable) {
|
|
|
683
671
|
},
|
|
684
672
|
function (reason) {
|
|
685
673
|
0 === newTask.status &&
|
|
686
|
-
(
|
|
687
|
-
null !== reason &&
|
|
688
|
-
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
689
|
-
? (logPostpone$1(request, reason.message, newTask),
|
|
690
|
-
emitPostponeChunk(request, newTask.id))
|
|
691
|
-
: ((reason = logRecoverableError$1(request, reason, newTask)),
|
|
692
|
-
emitErrorChunk(request, newTask.id, reason)),
|
|
693
|
-
(newTask.status = 4),
|
|
694
|
-
request.abortableTasks.delete(newTask),
|
|
695
|
-
enqueueFlush(request));
|
|
674
|
+
(erroredTask$1(request, newTask, reason), enqueueFlush(request));
|
|
696
675
|
}
|
|
697
676
|
);
|
|
698
677
|
return newTask.id;
|
|
@@ -713,43 +692,26 @@ function serializeReadableStream(request, task, stream) {
|
|
|
713
692
|
emitChunk(request, streamTask, streamTask.model),
|
|
714
693
|
enqueueFlush(request),
|
|
715
694
|
reader.read().then(progress, error);
|
|
716
|
-
} catch (x$
|
|
717
|
-
error(x$
|
|
695
|
+
} catch (x$9) {
|
|
696
|
+
error(x$9);
|
|
718
697
|
}
|
|
719
698
|
}
|
|
720
699
|
function error(reason) {
|
|
721
|
-
|
|
722
|
-
aborted = !0
|
|
723
|
-
request.abortListeners.delete(abortStream)
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
reader.cancel(reason).then(error, error);
|
|
728
|
-
}
|
|
700
|
+
aborted ||
|
|
701
|
+
((aborted = !0),
|
|
702
|
+
request.abortListeners.delete(abortStream),
|
|
703
|
+
erroredTask$1(request, streamTask, reason),
|
|
704
|
+
enqueueFlush(request),
|
|
705
|
+
reader.cancel(reason).then(error, error));
|
|
729
706
|
}
|
|
730
707
|
function abortStream(reason) {
|
|
731
|
-
|
|
732
|
-
aborted = !0
|
|
733
|
-
request.abortListeners.delete(abortStream)
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
)
|
|
739
|
-
logPostpone$1(request, reason.message, streamTask),
|
|
740
|
-
21 === request.type
|
|
741
|
-
? request.pendingChunks--
|
|
742
|
-
: (emitPostponeChunk(request, streamTask.id),
|
|
743
|
-
enqueueFlush(request));
|
|
744
|
-
else {
|
|
745
|
-
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
746
|
-
21 === request.type
|
|
747
|
-
? request.pendingChunks--
|
|
748
|
-
: (emitErrorChunk(request, streamTask.id, digest),
|
|
749
|
-
enqueueFlush(request));
|
|
750
|
-
}
|
|
751
|
-
reader.cancel(reason).then(error, error);
|
|
752
|
-
}
|
|
708
|
+
aborted ||
|
|
709
|
+
((aborted = !0),
|
|
710
|
+
request.abortListeners.delete(abortStream),
|
|
711
|
+
21 === request.type
|
|
712
|
+
? request.pendingChunks--
|
|
713
|
+
: (erroredTask$1(request, streamTask, reason), enqueueFlush(request)),
|
|
714
|
+
reader.cancel(reason).then(error, error));
|
|
753
715
|
}
|
|
754
716
|
var supportsBYOB = stream.supportsBYOB;
|
|
755
717
|
if (void 0 === supportsBYOB)
|
|
@@ -804,45 +766,28 @@ function serializeAsyncIterable(request, task, iterable, iterator) {
|
|
|
804
766
|
emitChunk(request, streamTask, streamTask.model),
|
|
805
767
|
enqueueFlush(request),
|
|
806
768
|
iterator.next().then(progress, error);
|
|
807
|
-
} catch (x$
|
|
808
|
-
error(x$
|
|
769
|
+
} catch (x$10) {
|
|
770
|
+
error(x$10);
|
|
809
771
|
}
|
|
810
772
|
}
|
|
811
773
|
function error(reason) {
|
|
812
|
-
|
|
813
|
-
aborted = !0
|
|
814
|
-
request.abortListeners.delete(abortIterable)
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
enqueueFlush(request);
|
|
774
|
+
aborted ||
|
|
775
|
+
((aborted = !0),
|
|
776
|
+
request.abortListeners.delete(abortIterable),
|
|
777
|
+
erroredTask$1(request, streamTask, reason),
|
|
778
|
+
enqueueFlush(request),
|
|
818
779
|
"function" === typeof iterator.throw &&
|
|
819
|
-
iterator.throw(reason).then(error, error);
|
|
820
|
-
}
|
|
780
|
+
iterator.throw(reason).then(error, error));
|
|
821
781
|
}
|
|
822
782
|
function abortIterable(reason) {
|
|
823
|
-
|
|
824
|
-
aborted = !0
|
|
825
|
-
request.abortListeners.delete(abortIterable)
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
830
|
-
)
|
|
831
|
-
logPostpone$1(request, reason.message, streamTask),
|
|
832
|
-
21 === request.type
|
|
833
|
-
? request.pendingChunks--
|
|
834
|
-
: (emitPostponeChunk(request, streamTask.id),
|
|
835
|
-
enqueueFlush(request));
|
|
836
|
-
else {
|
|
837
|
-
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
838
|
-
21 === request.type
|
|
839
|
-
? request.pendingChunks--
|
|
840
|
-
: (emitErrorChunk(request, streamTask.id, digest),
|
|
841
|
-
enqueueFlush(request));
|
|
842
|
-
}
|
|
783
|
+
aborted ||
|
|
784
|
+
((aborted = !0),
|
|
785
|
+
request.abortListeners.delete(abortIterable),
|
|
786
|
+
21 === request.type
|
|
787
|
+
? request.pendingChunks--
|
|
788
|
+
: (erroredTask$1(request, streamTask, reason), enqueueFlush(request)),
|
|
843
789
|
"function" === typeof iterator.throw &&
|
|
844
|
-
iterator.throw(reason).then(error, error);
|
|
845
|
-
}
|
|
790
|
+
iterator.throw(reason).then(error, error));
|
|
846
791
|
}
|
|
847
792
|
iterable = iterable === iterator;
|
|
848
793
|
var streamTask = createTask(
|
|
@@ -1035,7 +980,83 @@ function createTask(request, model, keyPath, implicitSlot, abortSet) {
|
|
|
1035
980
|
return pingTask$1(request, task);
|
|
1036
981
|
},
|
|
1037
982
|
toJSON: function (parentPropertyName, value) {
|
|
1038
|
-
|
|
983
|
+
var prevKeyPath = task.keyPath,
|
|
984
|
+
prevImplicitSlot = task.implicitSlot;
|
|
985
|
+
try {
|
|
986
|
+
var JSCompiler_inline_result = renderModelDestructive(
|
|
987
|
+
request,
|
|
988
|
+
task,
|
|
989
|
+
this,
|
|
990
|
+
parentPropertyName,
|
|
991
|
+
value
|
|
992
|
+
);
|
|
993
|
+
} catch (thrownValue) {
|
|
994
|
+
if (
|
|
995
|
+
((parentPropertyName = task.model),
|
|
996
|
+
(parentPropertyName =
|
|
997
|
+
"object" === typeof parentPropertyName &&
|
|
998
|
+
null !== parentPropertyName &&
|
|
999
|
+
(parentPropertyName.$$typeof === REACT_ELEMENT_TYPE ||
|
|
1000
|
+
parentPropertyName.$$typeof === REACT_LAZY_TYPE)),
|
|
1001
|
+
12 === request.status)
|
|
1002
|
+
)
|
|
1003
|
+
(task.status = 3),
|
|
1004
|
+
21 === request.type
|
|
1005
|
+
? ((prevKeyPath = request.nextChunkId++),
|
|
1006
|
+
(prevKeyPath = parentPropertyName
|
|
1007
|
+
? "$L" + prevKeyPath.toString(16)
|
|
1008
|
+
: serializeByValueID$1(prevKeyPath)),
|
|
1009
|
+
(JSCompiler_inline_result = prevKeyPath))
|
|
1010
|
+
: ((prevKeyPath = request.fatalError),
|
|
1011
|
+
(JSCompiler_inline_result = parentPropertyName
|
|
1012
|
+
? "$L" + prevKeyPath.toString(16)
|
|
1013
|
+
: serializeByValueID$1(prevKeyPath)));
|
|
1014
|
+
else if (
|
|
1015
|
+
((value =
|
|
1016
|
+
thrownValue === SuspenseException$1
|
|
1017
|
+
? getSuspendedThenable$1()
|
|
1018
|
+
: thrownValue),
|
|
1019
|
+
"object" === typeof value &&
|
|
1020
|
+
null !== value &&
|
|
1021
|
+
"function" === typeof value.then)
|
|
1022
|
+
) {
|
|
1023
|
+
JSCompiler_inline_result = createTask(
|
|
1024
|
+
request,
|
|
1025
|
+
task.model,
|
|
1026
|
+
task.keyPath,
|
|
1027
|
+
task.implicitSlot,
|
|
1028
|
+
request.abortableTasks
|
|
1029
|
+
);
|
|
1030
|
+
var ping = JSCompiler_inline_result.ping;
|
|
1031
|
+
value.then(ping, ping);
|
|
1032
|
+
JSCompiler_inline_result.thenableState =
|
|
1033
|
+
getThenableStateAfterSuspending$1();
|
|
1034
|
+
task.keyPath = prevKeyPath;
|
|
1035
|
+
task.implicitSlot = prevImplicitSlot;
|
|
1036
|
+
JSCompiler_inline_result = parentPropertyName
|
|
1037
|
+
? "$L" + JSCompiler_inline_result.id.toString(16)
|
|
1038
|
+
: serializeByValueID$1(JSCompiler_inline_result.id);
|
|
1039
|
+
} else
|
|
1040
|
+
(task.keyPath = prevKeyPath),
|
|
1041
|
+
(task.implicitSlot = prevImplicitSlot),
|
|
1042
|
+
request.pendingChunks++,
|
|
1043
|
+
(prevKeyPath = request.nextChunkId++),
|
|
1044
|
+
"object" === typeof value &&
|
|
1045
|
+
null !== value &&
|
|
1046
|
+
value.$$typeof === REACT_POSTPONE_TYPE
|
|
1047
|
+
? (logPostpone$1(request, value.message, task),
|
|
1048
|
+
emitPostponeChunk(request, prevKeyPath))
|
|
1049
|
+
: ((prevImplicitSlot = logRecoverableError$1(
|
|
1050
|
+
request,
|
|
1051
|
+
value,
|
|
1052
|
+
task
|
|
1053
|
+
)),
|
|
1054
|
+
emitErrorChunk(request, prevKeyPath, prevImplicitSlot)),
|
|
1055
|
+
(JSCompiler_inline_result = parentPropertyName
|
|
1056
|
+
? "$L" + prevKeyPath.toString(16)
|
|
1057
|
+
: serializeByValueID$1(prevKeyPath));
|
|
1058
|
+
}
|
|
1059
|
+
return JSCompiler_inline_result;
|
|
1039
1060
|
},
|
|
1040
1061
|
thenableState: null
|
|
1041
1062
|
};
|
|
@@ -1078,37 +1099,21 @@ function serializeBlob(request, blob) {
|
|
|
1078
1099
|
);
|
|
1079
1100
|
}
|
|
1080
1101
|
function error(reason) {
|
|
1081
|
-
|
|
1082
|
-
aborted = !0
|
|
1083
|
-
request.abortListeners.delete(abortBlob)
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
reader.cancel(reason).then(error, error);
|
|
1088
|
-
}
|
|
1102
|
+
aborted ||
|
|
1103
|
+
((aborted = !0),
|
|
1104
|
+
request.abortListeners.delete(abortBlob),
|
|
1105
|
+
erroredTask$1(request, newTask, reason),
|
|
1106
|
+
enqueueFlush(request),
|
|
1107
|
+
reader.cancel(reason).then(error, error));
|
|
1089
1108
|
}
|
|
1090
1109
|
function abortBlob(reason) {
|
|
1091
|
-
|
|
1092
|
-
aborted = !0
|
|
1093
|
-
request.abortListeners.delete(abortBlob)
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
)
|
|
1099
|
-
logPostpone$1(request, reason.message, newTask),
|
|
1100
|
-
21 === request.type
|
|
1101
|
-
? request.pendingChunks--
|
|
1102
|
-
: (emitPostponeChunk(request, newTask.id), enqueueFlush(request));
|
|
1103
|
-
else {
|
|
1104
|
-
var digest = logRecoverableError$1(request, reason, newTask);
|
|
1105
|
-
21 === request.type
|
|
1106
|
-
? request.pendingChunks--
|
|
1107
|
-
: (emitErrorChunk(request, newTask.id, digest),
|
|
1108
|
-
enqueueFlush(request));
|
|
1109
|
-
}
|
|
1110
|
-
reader.cancel(reason).then(error, error);
|
|
1111
|
-
}
|
|
1110
|
+
aborted ||
|
|
1111
|
+
((aborted = !0),
|
|
1112
|
+
request.abortListeners.delete(abortBlob),
|
|
1113
|
+
21 === request.type
|
|
1114
|
+
? request.pendingChunks--
|
|
1115
|
+
: (erroredTask$1(request, newTask, reason), enqueueFlush(request)),
|
|
1116
|
+
reader.cancel(reason).then(error, error));
|
|
1112
1117
|
}
|
|
1113
1118
|
var model = [blob.type],
|
|
1114
1119
|
newTask = createTask(request, model, null, !1, request.abortableTasks),
|
|
@@ -1119,76 +1124,6 @@ function serializeBlob(request, blob) {
|
|
|
1119
1124
|
return "$B" + newTask.id.toString(16);
|
|
1120
1125
|
}
|
|
1121
1126
|
var modelRoot = !1;
|
|
1122
|
-
function renderModel(request, task, parent, key, value) {
|
|
1123
|
-
var prevKeyPath = task.keyPath,
|
|
1124
|
-
prevImplicitSlot = task.implicitSlot;
|
|
1125
|
-
try {
|
|
1126
|
-
return renderModelDestructive(request, task, parent, key, value);
|
|
1127
|
-
} catch (thrownValue) {
|
|
1128
|
-
parent = task.model;
|
|
1129
|
-
parent =
|
|
1130
|
-
"object" === typeof parent &&
|
|
1131
|
-
null !== parent &&
|
|
1132
|
-
(parent.$$typeof === REACT_ELEMENT_TYPE ||
|
|
1133
|
-
parent.$$typeof === REACT_LAZY_TYPE);
|
|
1134
|
-
if (12 === request.status) {
|
|
1135
|
-
task.status = 3;
|
|
1136
|
-
if (21 === request.type)
|
|
1137
|
-
return (
|
|
1138
|
-
(task = request.nextChunkId++),
|
|
1139
|
-
(task = parent
|
|
1140
|
-
? "$L" + task.toString(16)
|
|
1141
|
-
: serializeByValueID$1(task)),
|
|
1142
|
-
task
|
|
1143
|
-
);
|
|
1144
|
-
task = request.fatalError;
|
|
1145
|
-
return parent ? "$L" + task.toString(16) : serializeByValueID$1(task);
|
|
1146
|
-
}
|
|
1147
|
-
key =
|
|
1148
|
-
thrownValue === SuspenseException$1
|
|
1149
|
-
? getSuspendedThenable$1()
|
|
1150
|
-
: thrownValue;
|
|
1151
|
-
if ("object" === typeof key && null !== key) {
|
|
1152
|
-
if ("function" === typeof key.then)
|
|
1153
|
-
return (
|
|
1154
|
-
(request = createTask(
|
|
1155
|
-
request,
|
|
1156
|
-
task.model,
|
|
1157
|
-
task.keyPath,
|
|
1158
|
-
task.implicitSlot,
|
|
1159
|
-
request.abortableTasks
|
|
1160
|
-
)),
|
|
1161
|
-
(value = request.ping),
|
|
1162
|
-
key.then(value, value),
|
|
1163
|
-
(request.thenableState = getThenableStateAfterSuspending$1()),
|
|
1164
|
-
(task.keyPath = prevKeyPath),
|
|
1165
|
-
(task.implicitSlot = prevImplicitSlot),
|
|
1166
|
-
parent
|
|
1167
|
-
? "$L" + request.id.toString(16)
|
|
1168
|
-
: serializeByValueID$1(request.id)
|
|
1169
|
-
);
|
|
1170
|
-
if (key.$$typeof === REACT_POSTPONE_TYPE)
|
|
1171
|
-
return (
|
|
1172
|
-
request.pendingChunks++,
|
|
1173
|
-
(value = request.nextChunkId++),
|
|
1174
|
-
logPostpone$1(request, key.message, task),
|
|
1175
|
-
emitPostponeChunk(request, value),
|
|
1176
|
-
(task.keyPath = prevKeyPath),
|
|
1177
|
-
(task.implicitSlot = prevImplicitSlot),
|
|
1178
|
-
parent ? "$L" + value.toString(16) : serializeByValueID$1(value)
|
|
1179
|
-
);
|
|
1180
|
-
}
|
|
1181
|
-
task.keyPath = prevKeyPath;
|
|
1182
|
-
task.implicitSlot = prevImplicitSlot;
|
|
1183
|
-
request.pendingChunks++;
|
|
1184
|
-
prevKeyPath = request.nextChunkId++;
|
|
1185
|
-
task = logRecoverableError$1(request, key, task);
|
|
1186
|
-
emitErrorChunk(request, prevKeyPath, task);
|
|
1187
|
-
return parent
|
|
1188
|
-
? "$L" + prevKeyPath.toString(16)
|
|
1189
|
-
: serializeByValueID$1(prevKeyPath);
|
|
1190
|
-
}
|
|
1191
|
-
}
|
|
1192
1127
|
function renderModelDestructive(
|
|
1193
1128
|
request,
|
|
1194
1129
|
task,
|
|
@@ -1576,6 +1511,17 @@ function emitChunk(request, task, value) {
|
|
|
1576
1511
|
: ((value = stringify(value, task.toJSON)),
|
|
1577
1512
|
emitModelChunk(request, task.id, value));
|
|
1578
1513
|
}
|
|
1514
|
+
function erroredTask$1(request, task, error) {
|
|
1515
|
+
request.abortableTasks.delete(task);
|
|
1516
|
+
task.status = 4;
|
|
1517
|
+
"object" === typeof error &&
|
|
1518
|
+
null !== error &&
|
|
1519
|
+
error.$$typeof === REACT_POSTPONE_TYPE
|
|
1520
|
+
? (logPostpone$1(request, error.message, task),
|
|
1521
|
+
emitPostponeChunk(request, task.id))
|
|
1522
|
+
: ((error = logRecoverableError$1(request, error, task)),
|
|
1523
|
+
emitErrorChunk(request, task.id, error));
|
|
1524
|
+
}
|
|
1579
1525
|
var emptyRoot = {};
|
|
1580
1526
|
function retryTask$1(request, task) {
|
|
1581
1527
|
if (0 === task.status) {
|
|
@@ -1621,26 +1567,16 @@ function retryTask$1(request, task) {
|
|
|
1621
1567
|
thrownValue === SuspenseException$1
|
|
1622
1568
|
? getSuspendedThenable$1()
|
|
1623
1569
|
: thrownValue;
|
|
1624
|
-
if (
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
task.status = 4;
|
|
1635
|
-
logPostpone$1(request, x.message, task);
|
|
1636
|
-
emitPostponeChunk(request, task.id);
|
|
1637
|
-
return;
|
|
1638
|
-
}
|
|
1639
|
-
}
|
|
1640
|
-
request.abortableTasks.delete(task);
|
|
1641
|
-
task.status = 4;
|
|
1642
|
-
var digest = logRecoverableError$1(request, x, task);
|
|
1643
|
-
emitErrorChunk(request, task.id, digest);
|
|
1570
|
+
if (
|
|
1571
|
+
"object" === typeof x &&
|
|
1572
|
+
null !== x &&
|
|
1573
|
+
"function" === typeof x.then
|
|
1574
|
+
) {
|
|
1575
|
+
task.status = 0;
|
|
1576
|
+
task.thenableState = getThenableStateAfterSuspending$1();
|
|
1577
|
+
var ping = task.ping;
|
|
1578
|
+
x.then(ping, ping);
|
|
1579
|
+
} else erroredTask$1(request, task, x);
|
|
1644
1580
|
}
|
|
1645
1581
|
} finally {
|
|
1646
1582
|
}
|
|
@@ -1740,25 +1676,24 @@ function abort$1(request, reason) {
|
|
|
1740
1676
|
11 >= request.status && (request.status = 12);
|
|
1741
1677
|
var abortableTasks = request.abortableTasks;
|
|
1742
1678
|
if (0 < abortableTasks.size) {
|
|
1743
|
-
if (
|
|
1679
|
+
if (21 === request.type)
|
|
1680
|
+
abortableTasks.forEach(function (task) {
|
|
1681
|
+
5 !== task.status && ((task.status = 3), request.pendingChunks--);
|
|
1682
|
+
});
|
|
1683
|
+
else if (
|
|
1744
1684
|
"object" === typeof reason &&
|
|
1745
1685
|
null !== reason &&
|
|
1746
1686
|
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
1747
|
-
)
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
request
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
abortableTasks.forEach(function (task) {
|
|
1758
|
-
return abortTask$1(task, request, errorId);
|
|
1759
|
-
});
|
|
1760
|
-
}
|
|
1761
|
-
else {
|
|
1687
|
+
) {
|
|
1688
|
+
logPostpone$1(request, reason.message, null);
|
|
1689
|
+
var errorId = request.nextChunkId++;
|
|
1690
|
+
request.fatalError = errorId;
|
|
1691
|
+
request.pendingChunks++;
|
|
1692
|
+
emitPostponeChunk(request, errorId, reason);
|
|
1693
|
+
abortableTasks.forEach(function (task) {
|
|
1694
|
+
return abortTask$1(task, request, errorId);
|
|
1695
|
+
});
|
|
1696
|
+
} else {
|
|
1762
1697
|
var error =
|
|
1763
1698
|
void 0 === reason
|
|
1764
1699
|
? Error("The render was aborted by the server without a reason.")
|
|
@@ -1767,20 +1702,14 @@ function abort$1(request, reason) {
|
|
|
1767
1702
|
"function" === typeof reason.then
|
|
1768
1703
|
? Error("The render was aborted by the server with a promise.")
|
|
1769
1704
|
: reason,
|
|
1770
|
-
digest = logRecoverableError$1(request, error, null)
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
request.pendingChunks++;
|
|
1779
|
-
emitErrorChunk(request, errorId$29, digest, error);
|
|
1780
|
-
abortableTasks.forEach(function (task) {
|
|
1781
|
-
return abortTask$1(task, request, errorId$29);
|
|
1782
|
-
});
|
|
1783
|
-
}
|
|
1705
|
+
digest = logRecoverableError$1(request, error, null),
|
|
1706
|
+
errorId$27 = request.nextChunkId++;
|
|
1707
|
+
request.fatalError = errorId$27;
|
|
1708
|
+
request.pendingChunks++;
|
|
1709
|
+
emitErrorChunk(request, errorId$27, digest, error);
|
|
1710
|
+
abortableTasks.forEach(function (task) {
|
|
1711
|
+
return abortTask$1(task, request, errorId$27);
|
|
1712
|
+
});
|
|
1784
1713
|
}
|
|
1785
1714
|
abortableTasks.clear();
|
|
1786
1715
|
var onAllReady = request.onAllReady;
|
|
@@ -1788,7 +1717,7 @@ function abort$1(request, reason) {
|
|
|
1788
1717
|
}
|
|
1789
1718
|
var abortListeners = request.abortListeners;
|
|
1790
1719
|
if (0 < abortListeners.size) {
|
|
1791
|
-
var error$
|
|
1720
|
+
var error$28 =
|
|
1792
1721
|
"object" === typeof reason &&
|
|
1793
1722
|
null !== reason &&
|
|
1794
1723
|
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
@@ -1801,15 +1730,15 @@ function abort$1(request, reason) {
|
|
|
1801
1730
|
? Error("The render was aborted by the server with a promise.")
|
|
1802
1731
|
: reason;
|
|
1803
1732
|
abortListeners.forEach(function (callback) {
|
|
1804
|
-
return callback(error$
|
|
1733
|
+
return callback(error$28);
|
|
1805
1734
|
});
|
|
1806
1735
|
abortListeners.clear();
|
|
1807
1736
|
}
|
|
1808
1737
|
null !== request.destination &&
|
|
1809
1738
|
flushCompletedChunks(request, request.destination);
|
|
1810
|
-
} catch (error$
|
|
1811
|
-
logRecoverableError$1(request, error$
|
|
1812
|
-
fatalError$1(request, error$
|
|
1739
|
+
} catch (error$29) {
|
|
1740
|
+
logRecoverableError$1(request, error$29, null),
|
|
1741
|
+
fatalError$1(request, error$29);
|
|
1813
1742
|
}
|
|
1814
1743
|
}
|
|
1815
1744
|
var bind$1 = Function.prototype.bind,
|
|
@@ -1916,11 +1845,11 @@ function processReply(
|
|
|
1916
1845
|
0 === pendingParts && resolve(data);
|
|
1917
1846
|
} else
|
|
1918
1847
|
try {
|
|
1919
|
-
var partJSON$
|
|
1920
|
-
data.append(formFieldPrefix + streamId, partJSON$
|
|
1848
|
+
var partJSON$30 = JSON.stringify(entry.value, resolveToJSON);
|
|
1849
|
+
data.append(formFieldPrefix + streamId, partJSON$30);
|
|
1921
1850
|
iterator.next().then(progress, reject);
|
|
1922
|
-
} catch (x$
|
|
1923
|
-
reject(x$
|
|
1851
|
+
} catch (x$31) {
|
|
1852
|
+
reject(x$31);
|
|
1924
1853
|
}
|
|
1925
1854
|
}
|
|
1926
1855
|
null === formData && (formData = new FormData());
|
|
@@ -1965,20 +1894,20 @@ function processReply(
|
|
|
1965
1894
|
"function" === typeof x.then
|
|
1966
1895
|
) {
|
|
1967
1896
|
pendingParts++;
|
|
1968
|
-
var lazyId$
|
|
1897
|
+
var lazyId$32 = nextPartId++;
|
|
1969
1898
|
parentReference = function () {
|
|
1970
1899
|
try {
|
|
1971
|
-
var partJSON$
|
|
1972
|
-
data$
|
|
1973
|
-
data$
|
|
1900
|
+
var partJSON$33 = serializeModel(value, lazyId$32),
|
|
1901
|
+
data$34 = formData;
|
|
1902
|
+
data$34.append(formFieldPrefix + lazyId$32, partJSON$33);
|
|
1974
1903
|
pendingParts--;
|
|
1975
|
-
0 === pendingParts && resolve(data$
|
|
1904
|
+
0 === pendingParts && resolve(data$34);
|
|
1976
1905
|
} catch (reason) {
|
|
1977
1906
|
reject(reason);
|
|
1978
1907
|
}
|
|
1979
1908
|
};
|
|
1980
1909
|
x.then(parentReference, parentReference);
|
|
1981
|
-
return "$" + lazyId$
|
|
1910
|
+
return "$" + lazyId$32.toString(16);
|
|
1982
1911
|
}
|
|
1983
1912
|
reject(x);
|
|
1984
1913
|
return null;
|
|
@@ -1992,9 +1921,9 @@ function processReply(
|
|
|
1992
1921
|
var promiseId = nextPartId++;
|
|
1993
1922
|
value.then(function (partValue) {
|
|
1994
1923
|
try {
|
|
1995
|
-
var partJSON$
|
|
1924
|
+
var partJSON$36 = serializeModel(partValue, promiseId);
|
|
1996
1925
|
partValue = formData;
|
|
1997
|
-
partValue.append(formFieldPrefix + promiseId, partJSON$
|
|
1926
|
+
partValue.append(formFieldPrefix + promiseId, partJSON$36);
|
|
1998
1927
|
pendingParts--;
|
|
1999
1928
|
0 === pendingParts && resolve(partValue);
|
|
2000
1929
|
} catch (reason) {
|
|
@@ -2018,11 +1947,11 @@ function processReply(
|
|
|
2018
1947
|
if (isArrayImpl(value)) return value;
|
|
2019
1948
|
if (value instanceof FormData) {
|
|
2020
1949
|
null === formData && (formData = new FormData());
|
|
2021
|
-
var data$
|
|
1950
|
+
var data$40 = formData;
|
|
2022
1951
|
key = nextPartId++;
|
|
2023
|
-
var prefix$
|
|
1952
|
+
var prefix$41 = formFieldPrefix + key + "_";
|
|
2024
1953
|
value.forEach(function (originalValue, originalKey) {
|
|
2025
|
-
data$
|
|
1954
|
+
data$40.append(prefix$41 + originalKey, originalValue);
|
|
2026
1955
|
});
|
|
2027
1956
|
return "$K" + key.toString(16);
|
|
2028
1957
|
}
|
|
@@ -2881,8 +2810,8 @@ function startReadableStream(response, id, type) {
|
|
|
2881
2810
|
(previousBlockedChunk = chunk));
|
|
2882
2811
|
} else {
|
|
2883
2812
|
chunk = previousBlockedChunk;
|
|
2884
|
-
var chunk$
|
|
2885
|
-
chunk$
|
|
2813
|
+
var chunk$61 = createPendingChunk(response);
|
|
2814
|
+
chunk$61.then(
|
|
2886
2815
|
function (v) {
|
|
2887
2816
|
return controller.enqueue(v);
|
|
2888
2817
|
},
|
|
@@ -2890,10 +2819,10 @@ function startReadableStream(response, id, type) {
|
|
|
2890
2819
|
return controller.error(e);
|
|
2891
2820
|
}
|
|
2892
2821
|
);
|
|
2893
|
-
previousBlockedChunk = chunk$
|
|
2822
|
+
previousBlockedChunk = chunk$61;
|
|
2894
2823
|
chunk.then(function () {
|
|
2895
|
-
previousBlockedChunk === chunk$
|
|
2896
|
-
resolveModelChunk(chunk$
|
|
2824
|
+
previousBlockedChunk === chunk$61 && (previousBlockedChunk = null);
|
|
2825
|
+
resolveModelChunk(chunk$61, json);
|
|
2897
2826
|
});
|
|
2898
2827
|
}
|
|
2899
2828
|
},
|
|
@@ -3778,8 +3707,8 @@ function pushAttribute(target, name, value) {
|
|
|
3778
3707
|
case "symbol":
|
|
3779
3708
|
return;
|
|
3780
3709
|
case "boolean":
|
|
3781
|
-
var prefix$
|
|
3782
|
-
if ("data-" !== prefix$
|
|
3710
|
+
var prefix$71 = name.toLowerCase().slice(0, 5);
|
|
3711
|
+
if ("data-" !== prefix$71 && "aria-" !== prefix$71) return;
|
|
3783
3712
|
}
|
|
3784
3713
|
target.push(" ", name, '="', escapeTextForBrowser(value), '"');
|
|
3785
3714
|
}
|
|
@@ -4514,10 +4443,10 @@ function pushStartInstance$1(
|
|
|
4514
4443
|
styleQueue.sheets.set(href, resource);
|
|
4515
4444
|
hoistableState && hoistableState.stylesheets.add(resource);
|
|
4516
4445
|
} else if (styleQueue) {
|
|
4517
|
-
var resource$
|
|
4518
|
-
resource$
|
|
4446
|
+
var resource$72 = styleQueue.sheets.get(href);
|
|
4447
|
+
resource$72 &&
|
|
4519
4448
|
hoistableState &&
|
|
4520
|
-
hoistableState.stylesheets.add(resource$
|
|
4449
|
+
hoistableState.stylesheets.add(resource$72);
|
|
4521
4450
|
}
|
|
4522
4451
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
|
|
4523
4452
|
JSCompiler_inline_result$jscomp$4 = null;
|
|
@@ -5747,10 +5676,10 @@ function useActionState(action, initialState, permalink) {
|
|
|
5747
5676
|
var nextPostbackStateKey = null,
|
|
5748
5677
|
componentKeyPath = currentlyRenderingKeyPath;
|
|
5749
5678
|
request = request.formState;
|
|
5750
|
-
var isSignatureEqual$
|
|
5751
|
-
if (null !== request && "function" === typeof isSignatureEqual$
|
|
5679
|
+
var isSignatureEqual$75 = action.$$IS_SIGNATURE_EQUAL;
|
|
5680
|
+
if (null !== request && "function" === typeof isSignatureEqual$75) {
|
|
5752
5681
|
var postbackKey = request[1];
|
|
5753
|
-
isSignatureEqual$
|
|
5682
|
+
isSignatureEqual$75.call(action, request[2], request[3]) &&
|
|
5754
5683
|
((nextPostbackStateKey =
|
|
5755
5684
|
void 0 !== permalink
|
|
5756
5685
|
? "p" + permalink
|
|
@@ -5792,11 +5721,11 @@ function useActionState(action, initialState, permalink) {
|
|
|
5792
5721
|
});
|
|
5793
5722
|
return [initialState, action, !1];
|
|
5794
5723
|
}
|
|
5795
|
-
var boundAction$
|
|
5724
|
+
var boundAction$76 = action.bind(null, initialState);
|
|
5796
5725
|
return [
|
|
5797
5726
|
initialState,
|
|
5798
5727
|
function (payload) {
|
|
5799
|
-
boundAction$
|
|
5728
|
+
boundAction$76(payload);
|
|
5800
5729
|
},
|
|
5801
5730
|
!1
|
|
5802
5731
|
];
|
|
@@ -6310,9 +6239,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6310
6239
|
var defaultProps = type.defaultProps;
|
|
6311
6240
|
if (defaultProps) {
|
|
6312
6241
|
newProps === props && (newProps = assign({}, newProps, props));
|
|
6313
|
-
for (var propName$
|
|
6314
|
-
void 0 === newProps[propName$
|
|
6315
|
-
(newProps[propName$
|
|
6242
|
+
for (var propName$85 in defaultProps)
|
|
6243
|
+
void 0 === newProps[propName$85] &&
|
|
6244
|
+
(newProps[propName$85] = defaultProps[propName$85]);
|
|
6316
6245
|
}
|
|
6317
6246
|
props = newProps;
|
|
6318
6247
|
newProps = emptyContextObject;
|
|
@@ -6422,7 +6351,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6422
6351
|
defaultProps = newProps.chunks;
|
|
6423
6352
|
initialState = request.resumableState;
|
|
6424
6353
|
ref = request.renderState;
|
|
6425
|
-
propName$
|
|
6354
|
+
propName$85 = task.hoistableState;
|
|
6426
6355
|
propName = task.formatContext;
|
|
6427
6356
|
var textEmbedded = newProps.lastPushedText,
|
|
6428
6357
|
isFallback = task.isFallback;
|
|
@@ -6446,7 +6375,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6446
6375
|
props,
|
|
6447
6376
|
initialState,
|
|
6448
6377
|
ref,
|
|
6449
|
-
propName$
|
|
6378
|
+
propName$85,
|
|
6450
6379
|
propName,
|
|
6451
6380
|
textEmbedded,
|
|
6452
6381
|
isFallback
|
|
@@ -6543,13 +6472,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6543
6472
|
ref = props.fallback;
|
|
6544
6473
|
props = props.children;
|
|
6545
6474
|
var fallbackAbortSet = new Set();
|
|
6546
|
-
propName$
|
|
6475
|
+
propName$85 = createSuspenseBoundary(request, fallbackAbortSet);
|
|
6547
6476
|
null !== request.trackedPostpones &&
|
|
6548
|
-
(propName$
|
|
6477
|
+
(propName$85.trackedContentKeyPath = keyPath);
|
|
6549
6478
|
propName = createPendingSegment(
|
|
6550
6479
|
request,
|
|
6551
6480
|
contextType.chunks.length,
|
|
6552
|
-
propName$
|
|
6481
|
+
propName$85,
|
|
6553
6482
|
task.formatContext,
|
|
6554
6483
|
!1,
|
|
6555
6484
|
!1
|
|
@@ -6569,7 +6498,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6569
6498
|
newProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
|
|
6570
6499
|
defaultProps = [newProps[1], newProps[2], [], null];
|
|
6571
6500
|
request.trackedPostpones.workingMap.set(newProps, defaultProps);
|
|
6572
|
-
propName$
|
|
6501
|
+
propName$85.trackedFallbackNode = defaultProps;
|
|
6573
6502
|
task.blockedSegment = propName;
|
|
6574
6503
|
task.keyPath = newProps;
|
|
6575
6504
|
propName.status = 6;
|
|
@@ -6587,9 +6516,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6587
6516
|
null,
|
|
6588
6517
|
props,
|
|
6589
6518
|
-1,
|
|
6590
|
-
propName$
|
|
6519
|
+
propName$85,
|
|
6591
6520
|
textEmbedded,
|
|
6592
|
-
propName$
|
|
6521
|
+
propName$85.contentState,
|
|
6593
6522
|
task.abortSet,
|
|
6594
6523
|
keyPath,
|
|
6595
6524
|
task.formatContext,
|
|
@@ -6601,8 +6530,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6601
6530
|
pushComponentStack(task);
|
|
6602
6531
|
request.pingedTasks.push(task);
|
|
6603
6532
|
} else {
|
|
6604
|
-
task.blockedBoundary = propName$
|
|
6605
|
-
task.hoistableState = propName$
|
|
6533
|
+
task.blockedBoundary = propName$85;
|
|
6534
|
+
task.hoistableState = propName$85.contentState;
|
|
6606
6535
|
task.blockedSegment = textEmbedded;
|
|
6607
6536
|
task.keyPath = keyPath;
|
|
6608
6537
|
textEmbedded.status = 6;
|
|
@@ -6610,17 +6539,17 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6610
6539
|
if (
|
|
6611
6540
|
(renderNode(request, task, props, -1),
|
|
6612
6541
|
(textEmbedded.status = 1),
|
|
6613
|
-
queueCompletedSegment(propName$
|
|
6614
|
-
0 === propName$
|
|
6542
|
+
queueCompletedSegment(propName$85, textEmbedded),
|
|
6543
|
+
0 === propName$85.pendingTasks && 0 === propName$85.status)
|
|
6615
6544
|
) {
|
|
6616
|
-
propName$
|
|
6545
|
+
propName$85.status = 1;
|
|
6617
6546
|
break a;
|
|
6618
6547
|
}
|
|
6619
|
-
} catch (thrownValue$
|
|
6620
|
-
(propName$
|
|
6548
|
+
} catch (thrownValue$80) {
|
|
6549
|
+
(propName$85.status = 4),
|
|
6621
6550
|
12 === request.status
|
|
6622
6551
|
? ((textEmbedded.status = 3), (newProps = request.fatalError))
|
|
6623
|
-
: ((textEmbedded.status = 4), (newProps = thrownValue$
|
|
6552
|
+
: ((textEmbedded.status = 4), (newProps = thrownValue$80)),
|
|
6624
6553
|
(defaultProps = getThrownInfo(task.componentStack)),
|
|
6625
6554
|
"object" === typeof newProps &&
|
|
6626
6555
|
null !== newProps &&
|
|
@@ -6632,8 +6561,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6632
6561
|
newProps,
|
|
6633
6562
|
defaultProps
|
|
6634
6563
|
)),
|
|
6635
|
-
(propName$
|
|
6636
|
-
untrackBoundary(request, propName$
|
|
6564
|
+
(propName$85.errorDigest = initialState),
|
|
6565
|
+
untrackBoundary(request, propName$85);
|
|
6637
6566
|
} finally {
|
|
6638
6567
|
(task.blockedBoundary = isFallback),
|
|
6639
6568
|
(task.hoistableState = propValue),
|
|
@@ -6647,7 +6576,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6647
6576
|
-1,
|
|
6648
6577
|
isFallback,
|
|
6649
6578
|
propName,
|
|
6650
|
-
propName$
|
|
6579
|
+
propName$85.fallbackState,
|
|
6651
6580
|
fallbackAbortSet,
|
|
6652
6581
|
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
|
6653
6582
|
task.formatContext,
|
|
@@ -7157,9 +7086,9 @@ function trackPostpone(request, trackedPostpones, task, segment) {
|
|
|
7157
7086
|
addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
|
|
7158
7087
|
return;
|
|
7159
7088
|
}
|
|
7160
|
-
var boundaryNode$
|
|
7161
|
-
void 0 === boundaryNode$
|
|
7162
|
-
? ((boundaryNode$
|
|
7089
|
+
var boundaryNode$95 = trackedPostpones.workingMap.get(boundaryKeyPath);
|
|
7090
|
+
void 0 === boundaryNode$95
|
|
7091
|
+
? ((boundaryNode$95 = [
|
|
7163
7092
|
boundaryKeyPath[1],
|
|
7164
7093
|
boundaryKeyPath[2],
|
|
7165
7094
|
children,
|
|
@@ -7167,13 +7096,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
|
|
|
7167
7096
|
fallbackReplayNode,
|
|
7168
7097
|
boundary.rootSegmentID
|
|
7169
7098
|
]),
|
|
7170
|
-
trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$
|
|
7099
|
+
trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$95),
|
|
7171
7100
|
addToReplayParent(
|
|
7172
|
-
boundaryNode$
|
|
7101
|
+
boundaryNode$95,
|
|
7173
7102
|
boundaryKeyPath[0],
|
|
7174
7103
|
trackedPostpones
|
|
7175
7104
|
))
|
|
7176
|
-
: ((boundaryKeyPath = boundaryNode$
|
|
7105
|
+
: ((boundaryKeyPath = boundaryNode$95),
|
|
7177
7106
|
(boundaryKeyPath[4] = fallbackReplayNode),
|
|
7178
7107
|
(boundaryKeyPath[5] = boundary.rootSegmentID));
|
|
7179
7108
|
}
|
|
@@ -7326,15 +7255,15 @@ function renderNode(request, task, node, childIndex) {
|
|
|
7326
7255
|
chunkLength = segment.chunks.length;
|
|
7327
7256
|
try {
|
|
7328
7257
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
7329
|
-
} catch (thrownValue$
|
|
7258
|
+
} catch (thrownValue$107) {
|
|
7330
7259
|
if (
|
|
7331
7260
|
(resetHooksState(),
|
|
7332
7261
|
(segment.children.length = childrenLength),
|
|
7333
7262
|
(segment.chunks.length = chunkLength),
|
|
7334
7263
|
(childIndex =
|
|
7335
|
-
thrownValue$
|
|
7264
|
+
thrownValue$107 === SuspenseException
|
|
7336
7265
|
? getSuspendedThenable()
|
|
7337
|
-
: thrownValue$
|
|
7266
|
+
: thrownValue$107),
|
|
7338
7267
|
"object" === typeof childIndex && null !== childIndex)
|
|
7339
7268
|
) {
|
|
7340
7269
|
if ("function" === typeof childIndex.then) {
|
|
@@ -7530,16 +7459,16 @@ function abortTask(task, request, error) {
|
|
|
7530
7459
|
}
|
|
7531
7460
|
} else {
|
|
7532
7461
|
boundary.pendingTasks--;
|
|
7533
|
-
var trackedPostpones$
|
|
7462
|
+
var trackedPostpones$110 = request.trackedPostpones;
|
|
7534
7463
|
if (4 !== boundary.status) {
|
|
7535
|
-
if (null !== trackedPostpones$
|
|
7464
|
+
if (null !== trackedPostpones$110 && null !== segment)
|
|
7536
7465
|
return (
|
|
7537
7466
|
"object" === typeof error &&
|
|
7538
7467
|
null !== error &&
|
|
7539
7468
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
7540
7469
|
? logPostpone(request, error.message, errorInfo)
|
|
7541
7470
|
: logRecoverableError(request, error, errorInfo),
|
|
7542
|
-
trackPostpone(request, trackedPostpones$
|
|
7471
|
+
trackPostpone(request, trackedPostpones$110, task, segment),
|
|
7543
7472
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
7544
7473
|
return abortTask(fallbackTask, request, error);
|
|
7545
7474
|
}),
|
|
@@ -7837,13 +7766,13 @@ function performWork(request$jscomp$1) {
|
|
|
7837
7766
|
null !== request.trackedPostpones &&
|
|
7838
7767
|
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
7839
7768
|
) {
|
|
7840
|
-
var trackedPostpones$
|
|
7769
|
+
var trackedPostpones$114 = request.trackedPostpones;
|
|
7841
7770
|
task.abortSet.delete(task);
|
|
7842
7771
|
var postponeInfo = getThrownInfo(task.componentStack);
|
|
7843
7772
|
logPostpone(request, x$jscomp$0.message, postponeInfo);
|
|
7844
7773
|
trackPostpone(
|
|
7845
7774
|
request,
|
|
7846
|
-
trackedPostpones$
|
|
7775
|
+
trackedPostpones$114,
|
|
7847
7776
|
task,
|
|
7848
7777
|
segment$jscomp$0
|
|
7849
7778
|
);
|
|
@@ -8275,11 +8204,11 @@ function flushCompletedQueues(request, destination) {
|
|
|
8275
8204
|
completedBoundaries.splice(0, i);
|
|
8276
8205
|
var partialBoundaries = request.partialBoundaries;
|
|
8277
8206
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
8278
|
-
var boundary$
|
|
8207
|
+
var boundary$117 = partialBoundaries[i];
|
|
8279
8208
|
a: {
|
|
8280
8209
|
clientRenderedBoundaries = request;
|
|
8281
8210
|
boundary = destination;
|
|
8282
|
-
var completedSegments = boundary$
|
|
8211
|
+
var completedSegments = boundary$117.completedSegments;
|
|
8283
8212
|
for (
|
|
8284
8213
|
JSCompiler_inline_result = 0;
|
|
8285
8214
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -8289,7 +8218,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8289
8218
|
!flushPartiallyCompletedSegment(
|
|
8290
8219
|
clientRenderedBoundaries,
|
|
8291
8220
|
boundary,
|
|
8292
|
-
boundary$
|
|
8221
|
+
boundary$117,
|
|
8293
8222
|
completedSegments[JSCompiler_inline_result]
|
|
8294
8223
|
)
|
|
8295
8224
|
) {
|
|
@@ -8301,7 +8230,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8301
8230
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
8302
8231
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
8303
8232
|
boundary,
|
|
8304
|
-
boundary$
|
|
8233
|
+
boundary$117.contentState,
|
|
8305
8234
|
clientRenderedBoundaries.renderState
|
|
8306
8235
|
);
|
|
8307
8236
|
}
|
|
@@ -8373,8 +8302,8 @@ function abort(request, reason) {
|
|
|
8373
8302
|
}
|
|
8374
8303
|
null !== request.destination &&
|
|
8375
8304
|
flushCompletedQueues(request, request.destination);
|
|
8376
|
-
} catch (error$
|
|
8377
|
-
logRecoverableError(request, error$
|
|
8305
|
+
} catch (error$119) {
|
|
8306
|
+
logRecoverableError(request, error$119, {}), fatalError(request, error$119);
|
|
8378
8307
|
}
|
|
8379
8308
|
}
|
|
8380
8309
|
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
@@ -8506,6 +8435,7 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8506
8435
|
new ReactPromise("fulfilled", i, null, flightResponse)
|
|
8507
8436
|
);
|
|
8508
8437
|
break;
|
|
8438
|
+
case 78:
|
|
8509
8439
|
case 68:
|
|
8510
8440
|
case 87:
|
|
8511
8441
|
throw Error(
|
|
@@ -8690,4 +8620,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8690
8620
|
});
|
|
8691
8621
|
});
|
|
8692
8622
|
};
|
|
8693
|
-
exports.version = "19.
|
|
8623
|
+
exports.version = "19.1.0-experimental-7130d0c6-20241212";
|