extra-game-loop 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/es2015/index.min.mjs +1 -1
- package/dist/es2015/index.min.mjs.map +1 -1
- package/dist/es2015/index.mjs +178 -145
- package/dist/es2015/index.mjs.map +1 -1
- package/dist/es2015/index.umd.js +178 -145
- package/dist/es2015/index.umd.js.map +1 -1
- package/dist/es2015/index.umd.min.js +1 -1
- package/dist/es2015/index.umd.min.js.map +1 -1
- package/dist/es2018/index.min.mjs +1 -1
- package/dist/es2018/index.min.mjs.map +1 -1
- package/dist/es2018/index.mjs +178 -145
- package/dist/es2018/index.mjs.map +1 -1
- package/dist/es2018/index.umd.js +178 -145
- package/dist/es2018/index.umd.js.map +1 -1
- package/dist/es2018/index.umd.min.js +1 -1
- package/dist/es2018/index.umd.min.js.map +1 -1
- package/lib/es2015/game-loop.d.ts +1 -1
- package/lib/es2015/game-loop.js +6 -5
- package/lib/es2015/game-loop.js.map +1 -1
- package/lib/es2018/game-loop.d.ts +1 -1
- package/lib/es2018/game-loop.js +6 -5
- package/lib/es2018/game-loop.js.map +1 -1
- package/package.json +11 -11
package/dist/es2015/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
2
|
|
|
3
|
-
var es2018$
|
|
3
|
+
var es2018$f = {};
|
|
4
4
|
|
|
5
5
|
var box = {};
|
|
6
6
|
|
|
@@ -23,7 +23,7 @@ box.Box = Box;
|
|
|
23
23
|
|
|
24
24
|
var cons = {};
|
|
25
25
|
|
|
26
|
-
var es2018$
|
|
26
|
+
var es2018$e = {};
|
|
27
27
|
|
|
28
28
|
var array$2 = {};
|
|
29
29
|
|
|
@@ -635,10 +635,10 @@ regexp$2.isntRegExp = isntRegExp$2;
|
|
|
635
635
|
__exportStar(url$2, exports);
|
|
636
636
|
__exportStar(regexp$2, exports);
|
|
637
637
|
|
|
638
|
-
} (es2018$
|
|
638
|
+
} (es2018$e));
|
|
639
639
|
|
|
640
640
|
cons.convertArrayToCons = cons.convertConsToArray = void 0;
|
|
641
|
-
const types_1$X = es2018$
|
|
641
|
+
const types_1$X = es2018$e;
|
|
642
642
|
function convertConsToArray([value, next]) {
|
|
643
643
|
if ((0, types_1$X.isNull)(next)) {
|
|
644
644
|
return [value];
|
|
@@ -799,17 +799,17 @@ queue$1.Queue = Queue;
|
|
|
799
799
|
|
|
800
800
|
var lruMap = {};
|
|
801
801
|
|
|
802
|
-
var es2018$
|
|
802
|
+
var es2018$d = {};
|
|
803
803
|
|
|
804
804
|
var customError = {};
|
|
805
805
|
|
|
806
|
-
var es2018$
|
|
806
|
+
var es2018$c = {};
|
|
807
807
|
|
|
808
808
|
var middleware$2 = {};
|
|
809
809
|
|
|
810
810
|
var chunkAsync$4 = {};
|
|
811
811
|
|
|
812
|
-
var es2018$
|
|
812
|
+
var es2018$b = {};
|
|
813
813
|
|
|
814
814
|
var go$1 = {};
|
|
815
815
|
|
|
@@ -838,11 +838,11 @@ goMicrotask$1.goMicrotask = goMicrotask;
|
|
|
838
838
|
|
|
839
839
|
var goMacrotask$1 = {};
|
|
840
840
|
|
|
841
|
-
var es2018$
|
|
841
|
+
var es2018$a = {};
|
|
842
842
|
|
|
843
843
|
var exponentialBackoff = {};
|
|
844
844
|
|
|
845
|
-
var es2018$
|
|
845
|
+
var es2018$9 = {};
|
|
846
846
|
|
|
847
847
|
var random$1 = {};
|
|
848
848
|
|
|
@@ -886,10 +886,10 @@ randomIntInclusive$1.randomIntInclusive = randomIntInclusive;
|
|
|
886
886
|
__exportStar(randomInt$1, exports);
|
|
887
887
|
__exportStar(randomIntInclusive$1, exports);
|
|
888
888
|
|
|
889
|
-
} (es2018$
|
|
889
|
+
} (es2018$9));
|
|
890
890
|
|
|
891
891
|
exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
|
|
892
|
-
const extra_rand_1 = es2018$
|
|
892
|
+
const extra_rand_1 = es2018$9;
|
|
893
893
|
function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
|
|
894
894
|
const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
|
|
895
895
|
if (jitter) {
|
|
@@ -1004,10 +1004,10 @@ setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = setDynamicTimeoutLoop;
|
|
|
1004
1004
|
__exportStar(setTimeoutLoop$1, exports);
|
|
1005
1005
|
__exportStar(setDynamicTimeoutLoop$1, exports);
|
|
1006
1006
|
|
|
1007
|
-
} (es2018$
|
|
1007
|
+
} (es2018$a));
|
|
1008
1008
|
|
|
1009
1009
|
goMacrotask$1.goMacrotask = void 0;
|
|
1010
|
-
const extra_timers_1$2 = es2018$
|
|
1010
|
+
const extra_timers_1$2 = es2018$a;
|
|
1011
1011
|
function goMacrotask(fn) {
|
|
1012
1012
|
return new Promise((resolve, reject) => {
|
|
1013
1013
|
(0, extra_timers_1$2.setImmediate)(async () => {
|
|
@@ -1040,7 +1040,7 @@ goMacrotask$1.goMacrotask = goMacrotask;
|
|
|
1040
1040
|
__exportStar(goMicrotask$1, exports);
|
|
1041
1041
|
__exportStar(goMacrotask$1, exports);
|
|
1042
1042
|
|
|
1043
|
-
} (es2018$
|
|
1043
|
+
} (es2018$b));
|
|
1044
1044
|
|
|
1045
1045
|
var hasRequiredChunkAsync;
|
|
1046
1046
|
|
|
@@ -1048,7 +1048,7 @@ function requireChunkAsync () {
|
|
|
1048
1048
|
if (hasRequiredChunkAsync) return chunkAsync$4;
|
|
1049
1049
|
hasRequiredChunkAsync = 1;
|
|
1050
1050
|
chunkAsync$4.chunkAsync = void 0;
|
|
1051
|
-
const go_1 = es2018$
|
|
1051
|
+
const go_1 = es2018$b;
|
|
1052
1052
|
const errors_1 = requireEs2018();
|
|
1053
1053
|
function chunkAsync(iterable, size) {
|
|
1054
1054
|
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -1074,7 +1074,7 @@ chunkAsync$4.chunkAsync = void 0;
|
|
|
1074
1074
|
var chunkByAsync$5 = {};
|
|
1075
1075
|
|
|
1076
1076
|
chunkByAsync$5.chunkByAsync = void 0;
|
|
1077
|
-
const types_1$W = es2018$
|
|
1077
|
+
const types_1$W = es2018$e;
|
|
1078
1078
|
function chunkByAsync$4(iterable, predicate) {
|
|
1079
1079
|
if ((0, types_1$W.isAsyncIterable)(iterable)) {
|
|
1080
1080
|
return chunkByAsyncIterable$2(iterable, predicate);
|
|
@@ -1140,7 +1140,7 @@ function requireChunk () {
|
|
|
1140
1140
|
if (hasRequiredChunk) return chunk$4;
|
|
1141
1141
|
hasRequiredChunk = 1;
|
|
1142
1142
|
chunk$4.chunk = void 0;
|
|
1143
|
-
const go_1 = es2018$
|
|
1143
|
+
const go_1 = es2018$b;
|
|
1144
1144
|
const errors_1 = requireEs2018();
|
|
1145
1145
|
function chunk(iterable, size) {
|
|
1146
1146
|
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -1166,8 +1166,8 @@ chunk$4.chunk = void 0;
|
|
|
1166
1166
|
var concatAsync$5 = {};
|
|
1167
1167
|
|
|
1168
1168
|
concatAsync$5.concatAsync = void 0;
|
|
1169
|
-
const types_1$V = es2018$
|
|
1170
|
-
const go_1$x = es2018$
|
|
1169
|
+
const types_1$V = es2018$e;
|
|
1170
|
+
const go_1$x = es2018$b;
|
|
1171
1171
|
function concatAsync$4(iterable, ...otherIterables) {
|
|
1172
1172
|
return (0, go_1$x.go)(async function* () {
|
|
1173
1173
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -1189,7 +1189,7 @@ concatAsync$5.concatAsync = concatAsync$4;
|
|
|
1189
1189
|
var concat$9 = {};
|
|
1190
1190
|
|
|
1191
1191
|
concat$9.concat = void 0;
|
|
1192
|
-
const go_1$w = es2018$
|
|
1192
|
+
const go_1$w = es2018$b;
|
|
1193
1193
|
function concat$8(iterable, ...otherIterables) {
|
|
1194
1194
|
return (0, go_1$w.go)(function* () {
|
|
1195
1195
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -1223,7 +1223,7 @@ function requireDropAsync () {
|
|
|
1223
1223
|
if (hasRequiredDropAsync) return dropAsync$4;
|
|
1224
1224
|
hasRequiredDropAsync = 1;
|
|
1225
1225
|
dropAsync$4.dropAsync = void 0;
|
|
1226
|
-
const go_1 = es2018$
|
|
1226
|
+
const go_1 = es2018$b;
|
|
1227
1227
|
const utils_1 = utils$2;
|
|
1228
1228
|
const errors_1 = requireEs2018();
|
|
1229
1229
|
function dropAsync(iterable, count) {
|
|
@@ -1266,7 +1266,7 @@ function requireDropRightAsync () {
|
|
|
1266
1266
|
if (hasRequiredDropRightAsync) return dropRightAsync$4;
|
|
1267
1267
|
hasRequiredDropRightAsync = 1;
|
|
1268
1268
|
dropRightAsync$4.dropRightAsync = void 0;
|
|
1269
|
-
const go_1 = es2018$
|
|
1269
|
+
const go_1 = es2018$b;
|
|
1270
1270
|
const utils_1 = utils$2;
|
|
1271
1271
|
const errors_1 = requireEs2018();
|
|
1272
1272
|
function dropRightAsync(iterable, count) {
|
|
@@ -1302,7 +1302,7 @@ function requireDropRight () {
|
|
|
1302
1302
|
if (hasRequiredDropRight) return dropRight$4;
|
|
1303
1303
|
hasRequiredDropRight = 1;
|
|
1304
1304
|
dropRight$4.dropRight = void 0;
|
|
1305
|
-
const go_1 = es2018$
|
|
1305
|
+
const go_1 = es2018$b;
|
|
1306
1306
|
const utils_1 = utils$2;
|
|
1307
1307
|
const errors_1 = requireEs2018();
|
|
1308
1308
|
function dropRight(iterable, count) {
|
|
@@ -1323,7 +1323,7 @@ dropRight$4.dropRight = void 0;
|
|
|
1323
1323
|
var dropUntilAsync$5 = {};
|
|
1324
1324
|
|
|
1325
1325
|
dropUntilAsync$5.dropUntilAsync = void 0;
|
|
1326
|
-
const types_1$U = es2018$
|
|
1326
|
+
const types_1$U = es2018$e;
|
|
1327
1327
|
function dropUntilAsync$4(iterable, predicate) {
|
|
1328
1328
|
if ((0, types_1$U.isAsyncIterable)(iterable)) {
|
|
1329
1329
|
return dropUntilAsyncIterable$2(iterable, predicate);
|
|
@@ -1410,7 +1410,7 @@ function requireDrop () {
|
|
|
1410
1410
|
if (hasRequiredDrop) return drop$4;
|
|
1411
1411
|
hasRequiredDrop = 1;
|
|
1412
1412
|
drop$4.drop = void 0;
|
|
1413
|
-
const go_1 = es2018$
|
|
1413
|
+
const go_1 = es2018$b;
|
|
1414
1414
|
const utils_1 = utils$2;
|
|
1415
1415
|
const errors_1 = requireEs2018();
|
|
1416
1416
|
function drop(iterable, count) {
|
|
@@ -1448,7 +1448,7 @@ drop$4.drop = void 0;
|
|
|
1448
1448
|
var filterAsync$5 = {};
|
|
1449
1449
|
|
|
1450
1450
|
filterAsync$5.filterAsync = void 0;
|
|
1451
|
-
const types_1$T = es2018$
|
|
1451
|
+
const types_1$T = es2018$e;
|
|
1452
1452
|
function filterAsync$4(iterable, predicate) {
|
|
1453
1453
|
if ((0, types_1$T.isAsyncIterable)(iterable)) {
|
|
1454
1454
|
return filterAsyncIterable$2(iterable, predicate);
|
|
@@ -1495,7 +1495,7 @@ var flattenDeepAsync$4 = {};
|
|
|
1495
1495
|
var flattenByAsync$5 = {};
|
|
1496
1496
|
|
|
1497
1497
|
flattenByAsync$5.flattenByAsync = void 0;
|
|
1498
|
-
const types_1$S = es2018$
|
|
1498
|
+
const types_1$S = es2018$e;
|
|
1499
1499
|
function flattenByAsync$4(iterable, predicate) {
|
|
1500
1500
|
if ((0, types_1$S.isAsyncIterable)(iterable)) {
|
|
1501
1501
|
return flattenByAsyncIterable$2(iterable, predicate);
|
|
@@ -1569,7 +1569,7 @@ flattenAsync$4.flattenAsync = void 0;
|
|
|
1569
1569
|
var flattenBy$5 = {};
|
|
1570
1570
|
|
|
1571
1571
|
flattenBy$5.flattenBy = void 0;
|
|
1572
|
-
const types_1$R = es2018$
|
|
1572
|
+
const types_1$R = es2018$e;
|
|
1573
1573
|
function flattenBy$4(iterable, predicate) {
|
|
1574
1574
|
return flatten$9(iterable, predicate, 1);
|
|
1575
1575
|
}
|
|
@@ -1628,7 +1628,7 @@ flatten$8.flatten = void 0;
|
|
|
1628
1628
|
var mapAsync$5 = {};
|
|
1629
1629
|
|
|
1630
1630
|
mapAsync$5.mapAsync = void 0;
|
|
1631
|
-
const types_1$Q = es2018$
|
|
1631
|
+
const types_1$Q = es2018$e;
|
|
1632
1632
|
function mapAsync$4(iterable, fn) {
|
|
1633
1633
|
if ((0, types_1$Q.isAsyncIterable)(iterable)) {
|
|
1634
1634
|
return mapAsyncIterable$2(iterable, fn);
|
|
@@ -1673,7 +1673,7 @@ function requireRepeatAsync () {
|
|
|
1673
1673
|
if (hasRequiredRepeatAsync) return repeatAsync$4;
|
|
1674
1674
|
hasRequiredRepeatAsync = 1;
|
|
1675
1675
|
repeatAsync$4.repeatAsync = void 0;
|
|
1676
|
-
const go_1 = es2018$
|
|
1676
|
+
const go_1 = es2018$b;
|
|
1677
1677
|
const errors_1 = requireEs2018();
|
|
1678
1678
|
function repeatAsync(iterable, times) {
|
|
1679
1679
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -1716,7 +1716,7 @@ function requireRepeat () {
|
|
|
1716
1716
|
if (hasRequiredRepeat) return repeat$6;
|
|
1717
1717
|
hasRequiredRepeat = 1;
|
|
1718
1718
|
repeat$6.repeat = void 0;
|
|
1719
|
-
const go_1 = es2018$
|
|
1719
|
+
const go_1 = es2018$b;
|
|
1720
1720
|
const errors_1 = requireEs2018();
|
|
1721
1721
|
function repeat(iterable, times) {
|
|
1722
1722
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -1759,7 +1759,7 @@ function requireSliceAsync () {
|
|
|
1759
1759
|
if (hasRequiredSliceAsync) return sliceAsync$4;
|
|
1760
1760
|
hasRequiredSliceAsync = 1;
|
|
1761
1761
|
sliceAsync$4.sliceAsync = void 0;
|
|
1762
|
-
const go_1 = es2018$
|
|
1762
|
+
const go_1 = es2018$b;
|
|
1763
1763
|
const errors_1 = requireEs2018();
|
|
1764
1764
|
function sliceAsync(iterable, start, end = Infinity) {
|
|
1765
1765
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -1790,7 +1790,7 @@ function requireSlice () {
|
|
|
1790
1790
|
if (hasRequiredSlice) return slice$4;
|
|
1791
1791
|
hasRequiredSlice = 1;
|
|
1792
1792
|
slice$4.slice = void 0;
|
|
1793
|
-
const go_1 = es2018$
|
|
1793
|
+
const go_1 = es2018$b;
|
|
1794
1794
|
const errors_1 = requireEs2018();
|
|
1795
1795
|
function slice(iterable, start, end = Infinity) {
|
|
1796
1796
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -1834,7 +1834,7 @@ splitAsync$5.splitAsync = splitAsync$4;
|
|
|
1834
1834
|
var splitByAsync$5 = {};
|
|
1835
1835
|
|
|
1836
1836
|
splitByAsync$5.splitByAsync = void 0;
|
|
1837
|
-
const types_1$P = es2018$
|
|
1837
|
+
const types_1$P = es2018$e;
|
|
1838
1838
|
function splitByAsync$4(iterable, predicate) {
|
|
1839
1839
|
if ((0, types_1$P.isAsyncIterable)(iterable)) {
|
|
1840
1840
|
return splitByAsyncIterable$2(iterable, predicate);
|
|
@@ -1921,7 +1921,7 @@ function requireTakeAsync () {
|
|
|
1921
1921
|
if (hasRequiredTakeAsync) return takeAsync$4;
|
|
1922
1922
|
hasRequiredTakeAsync = 1;
|
|
1923
1923
|
takeAsync$4.takeAsync = void 0;
|
|
1924
|
-
const go_1 = es2018$
|
|
1924
|
+
const go_1 = es2018$b;
|
|
1925
1925
|
const errors_1 = requireEs2018();
|
|
1926
1926
|
function takeAsync(iterable, count) {
|
|
1927
1927
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -1950,7 +1950,7 @@ function requireTakeRightAsync () {
|
|
|
1950
1950
|
if (hasRequiredTakeRightAsync) return takeRightAsync$4;
|
|
1951
1951
|
hasRequiredTakeRightAsync = 1;
|
|
1952
1952
|
takeRightAsync$4.takeRightAsync = void 0;
|
|
1953
|
-
const go_1 = es2018$
|
|
1953
|
+
const go_1 = es2018$b;
|
|
1954
1954
|
const errors_1 = requireEs2018();
|
|
1955
1955
|
function takeRightAsync(iterable, count) {
|
|
1956
1956
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -1988,7 +1988,7 @@ function requireTakeRight () {
|
|
|
1988
1988
|
if (hasRequiredTakeRight) return takeRight$4;
|
|
1989
1989
|
hasRequiredTakeRight = 1;
|
|
1990
1990
|
takeRight$4.takeRight = void 0;
|
|
1991
|
-
const go_1 = es2018$
|
|
1991
|
+
const go_1 = es2018$b;
|
|
1992
1992
|
const errors_1 = requireEs2018();
|
|
1993
1993
|
function takeRight(iterable, count) {
|
|
1994
1994
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -2021,7 +2021,7 @@ takeRight$4.takeRight = void 0;
|
|
|
2021
2021
|
var takeUntilAsync$5 = {};
|
|
2022
2022
|
|
|
2023
2023
|
takeUntilAsync$5.takeUntilAsync = void 0;
|
|
2024
|
-
const types_1$O = es2018$
|
|
2024
|
+
const types_1$O = es2018$e;
|
|
2025
2025
|
function takeUntilAsync$4(iterable, predicate) {
|
|
2026
2026
|
if ((0, types_1$O.isAsyncIterable)(iterable)) {
|
|
2027
2027
|
return takeUntilAsyncIterable$2(iterable, predicate);
|
|
@@ -2072,7 +2072,7 @@ function requireTake () {
|
|
|
2072
2072
|
if (hasRequiredTake) return take$6;
|
|
2073
2073
|
hasRequiredTake = 1;
|
|
2074
2074
|
take$6.take = void 0;
|
|
2075
|
-
const go_1 = es2018$
|
|
2075
|
+
const go_1 = es2018$b;
|
|
2076
2076
|
const errors_1 = requireEs2018();
|
|
2077
2077
|
function take(iterable, count) {
|
|
2078
2078
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -2096,7 +2096,7 @@ take$6.take = void 0;
|
|
|
2096
2096
|
var tapAsync$5 = {};
|
|
2097
2097
|
|
|
2098
2098
|
tapAsync$5.tapAsync = void 0;
|
|
2099
|
-
const types_1$N = es2018$
|
|
2099
|
+
const types_1$N = es2018$e;
|
|
2100
2100
|
function tapAsync$4(iterable, fn) {
|
|
2101
2101
|
if ((0, types_1$N.isAsyncIterable)(iterable)) {
|
|
2102
2102
|
return tapAsyncIterable$2(iterable, fn);
|
|
@@ -2179,7 +2179,7 @@ uniqAsync$5.uniqAsync = uniqAsync$4;
|
|
|
2179
2179
|
var uniqByAsync$5 = {};
|
|
2180
2180
|
|
|
2181
2181
|
uniqByAsync$5.uniqByAsync = void 0;
|
|
2182
|
-
const types_1$M = es2018$
|
|
2182
|
+
const types_1$M = es2018$e;
|
|
2183
2183
|
function uniqByAsync$4(iterable, fn) {
|
|
2184
2184
|
if ((0, types_1$M.isAsyncIterable)(iterable)) {
|
|
2185
2185
|
return uniqByAsyncIterable$2(iterable, fn);
|
|
@@ -2248,7 +2248,7 @@ uniq$5.uniq = uniq$4;
|
|
|
2248
2248
|
var zipAsync$5 = {};
|
|
2249
2249
|
|
|
2250
2250
|
zipAsync$5.zipAsync = void 0;
|
|
2251
|
-
const types_1$L = es2018$
|
|
2251
|
+
const types_1$L = es2018$e;
|
|
2252
2252
|
var Kind$2;
|
|
2253
2253
|
(function (Kind) {
|
|
2254
2254
|
Kind[Kind["Sync"] = 0] = "Sync";
|
|
@@ -2419,7 +2419,7 @@ consume$5.consume = consume$4;
|
|
|
2419
2419
|
var eachAsync$5 = {};
|
|
2420
2420
|
|
|
2421
2421
|
eachAsync$5.eachAsync = void 0;
|
|
2422
|
-
const types_1$K = es2018$
|
|
2422
|
+
const types_1$K = es2018$e;
|
|
2423
2423
|
function eachAsync$4(iterable, fn) {
|
|
2424
2424
|
if ((0, types_1$K.isAsyncIterable)(iterable)) {
|
|
2425
2425
|
return eachAsyncIterable$2(iterable, fn);
|
|
@@ -2459,7 +2459,7 @@ each$5.each = each$4;
|
|
|
2459
2459
|
var everyAsync$5 = {};
|
|
2460
2460
|
|
|
2461
2461
|
everyAsync$5.everyAsync = void 0;
|
|
2462
|
-
const types_1$J = es2018$
|
|
2462
|
+
const types_1$J = es2018$e;
|
|
2463
2463
|
function everyAsync$4(iterable, predicate) {
|
|
2464
2464
|
if ((0, types_1$J.isAsyncIterable)(iterable)) {
|
|
2465
2465
|
return everyAsyncIterable$2(iterable, predicate);
|
|
@@ -2505,7 +2505,7 @@ every$7.every = every$6;
|
|
|
2505
2505
|
var findAsync$5 = {};
|
|
2506
2506
|
|
|
2507
2507
|
findAsync$5.findAsync = void 0;
|
|
2508
|
-
const types_1$I = es2018$
|
|
2508
|
+
const types_1$I = es2018$e;
|
|
2509
2509
|
function findAsync$4(iterable, predicate) {
|
|
2510
2510
|
if ((0, types_1$I.isAsyncIterable)(iterable)) {
|
|
2511
2511
|
return findAsyncIterable$2(iterable, predicate);
|
|
@@ -2629,7 +2629,7 @@ match$5.match = match$4;
|
|
|
2629
2629
|
var reduceAsync$5 = {};
|
|
2630
2630
|
|
|
2631
2631
|
reduceAsync$5.reduceAsync = void 0;
|
|
2632
|
-
const types_1$H = es2018$
|
|
2632
|
+
const types_1$H = es2018$e;
|
|
2633
2633
|
function reduceAsync$4(iterable, fn, initialValue) {
|
|
2634
2634
|
if ((0, types_1$H.isUndefined)(initialValue)) {
|
|
2635
2635
|
return reduceAsyncWithoutInitialValue$2(iterable, fn);
|
|
@@ -2725,7 +2725,7 @@ function reduceAsyncWithoutInitialValue$2(iterable, fn) {
|
|
|
2725
2725
|
var reduce$7 = {};
|
|
2726
2726
|
|
|
2727
2727
|
reduce$7.reduce = void 0;
|
|
2728
|
-
const types_1$G = es2018$
|
|
2728
|
+
const types_1$G = es2018$e;
|
|
2729
2729
|
function reduce$6(iterable, fn, initialValue) {
|
|
2730
2730
|
if ((0, types_1$G.isUndefined)(initialValue)) {
|
|
2731
2731
|
return reduceWithoutInitialValue$2(iterable, fn);
|
|
@@ -2772,7 +2772,7 @@ function reduceWithoutInitialValue$2(iterable, fn) {
|
|
|
2772
2772
|
var someAsync$5 = {};
|
|
2773
2773
|
|
|
2774
2774
|
someAsync$5.someAsync = void 0;
|
|
2775
|
-
const types_1$F = es2018$
|
|
2775
|
+
const types_1$F = es2018$e;
|
|
2776
2776
|
function someAsync$4(iterable, predicate) {
|
|
2777
2777
|
if ((0, types_1$F.isAsyncIterable)(iterable)) {
|
|
2778
2778
|
return someAsyncIterable$2(iterable, predicate);
|
|
@@ -3012,7 +3012,7 @@ groupByAsync$5.groupByAsync = groupByAsync$4;
|
|
|
3012
3012
|
var hasRequiredEs2018$1;
|
|
3013
3013
|
|
|
3014
3014
|
function requireEs2018$1 () {
|
|
3015
|
-
if (hasRequiredEs2018$1) return es2018$
|
|
3015
|
+
if (hasRequiredEs2018$1) return es2018$c;
|
|
3016
3016
|
hasRequiredEs2018$1 = 1;
|
|
3017
3017
|
(function (exports) {
|
|
3018
3018
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -3031,8 +3031,8 @@ function requireEs2018$1 () {
|
|
|
3031
3031
|
};__exportStar(requireMiddleware(), exports);
|
|
3032
3032
|
__exportStar(output$2, exports);
|
|
3033
3033
|
|
|
3034
|
-
} (es2018$
|
|
3035
|
-
return es2018$
|
|
3034
|
+
} (es2018$c));
|
|
3035
|
+
return es2018$c;
|
|
3036
3036
|
}
|
|
3037
3037
|
|
|
3038
3038
|
var getErrorNames$1 = {};
|
|
@@ -3051,7 +3051,7 @@ function* traverseErrorPrototypeChain(err) {
|
|
|
3051
3051
|
traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
|
|
3052
3052
|
|
|
3053
3053
|
getErrorNames$1.getErrorNames = void 0;
|
|
3054
|
-
const types_1$E = es2018$
|
|
3054
|
+
const types_1$E = es2018$e;
|
|
3055
3055
|
const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
|
|
3056
3056
|
function* getErrorNames(err) {
|
|
3057
3057
|
var _a;
|
|
@@ -3072,7 +3072,7 @@ getErrorNames$1.getErrorNames = getErrorNames;
|
|
|
3072
3072
|
var serializableError = {};
|
|
3073
3073
|
|
|
3074
3074
|
serializableError.isSerializableError = void 0;
|
|
3075
|
-
const types_1$D = es2018$
|
|
3075
|
+
const types_1$D = es2018$e;
|
|
3076
3076
|
function isSerializableError(val) {
|
|
3077
3077
|
return (0, types_1$D.isObject)(val)
|
|
3078
3078
|
&& (0, types_1$D.isString)(val.name)
|
|
@@ -3090,7 +3090,7 @@ function requireCustomError () {
|
|
|
3090
3090
|
customError.CustomError = void 0;
|
|
3091
3091
|
const iterable_operator_1 = requireEs2018$1();
|
|
3092
3092
|
const get_error_names_1 = getErrorNames$1;
|
|
3093
|
-
const types_1 = es2018$
|
|
3093
|
+
const types_1 = es2018$e;
|
|
3094
3094
|
const serializable_error_1 = serializableError;
|
|
3095
3095
|
class CustomError extends Error {
|
|
3096
3096
|
get name() {
|
|
@@ -3160,13 +3160,13 @@ normalize.normalize = void 0;
|
|
|
3160
3160
|
|
|
3161
3161
|
var hydrate$1 = {};
|
|
3162
3162
|
|
|
3163
|
-
var es2018$
|
|
3163
|
+
var es2018$8 = {};
|
|
3164
3164
|
|
|
3165
|
-
var pass$
|
|
3165
|
+
var pass$3 = {};
|
|
3166
3166
|
|
|
3167
|
-
pass$
|
|
3168
|
-
function pass() { }
|
|
3169
|
-
pass$
|
|
3167
|
+
pass$3.pass = void 0;
|
|
3168
|
+
function pass$2() { }
|
|
3169
|
+
pass$3.pass = pass$2;
|
|
3170
3170
|
|
|
3171
3171
|
(function (exports) {
|
|
3172
3172
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -3178,12 +3178,12 @@ pass$1.pass = pass;
|
|
|
3178
3178
|
}));
|
|
3179
3179
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3180
3180
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3181
|
-
};__exportStar(pass$
|
|
3181
|
+
};__exportStar(pass$3, exports);
|
|
3182
3182
|
|
|
3183
|
-
} (es2018$
|
|
3183
|
+
} (es2018$8));
|
|
3184
3184
|
|
|
3185
3185
|
hydrate$1.hydrate = void 0;
|
|
3186
|
-
const pass_1 = es2018$
|
|
3186
|
+
const pass_1 = es2018$8;
|
|
3187
3187
|
function hydrate(err) {
|
|
3188
3188
|
var _a;
|
|
3189
3189
|
const errorNames = [err.name, ...err.ancestors]
|
|
@@ -3229,7 +3229,7 @@ assert.assert = void 0;
|
|
|
3229
3229
|
var hasRequiredEs2018;
|
|
3230
3230
|
|
|
3231
3231
|
function requireEs2018 () {
|
|
3232
|
-
if (hasRequiredEs2018) return es2018$
|
|
3232
|
+
if (hasRequiredEs2018) return es2018$d;
|
|
3233
3233
|
hasRequiredEs2018 = 1;
|
|
3234
3234
|
(function (exports) {
|
|
3235
3235
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -3254,18 +3254,18 @@ function requireEs2018 () {
|
|
|
3254
3254
|
__exportStar(getErrorNames$1, exports);
|
|
3255
3255
|
__exportStar(traverseErrorPrototypeChain$1, exports);
|
|
3256
3256
|
|
|
3257
|
-
} (es2018$
|
|
3258
|
-
return es2018$
|
|
3257
|
+
} (es2018$d));
|
|
3258
|
+
return es2018$d;
|
|
3259
3259
|
}
|
|
3260
3260
|
|
|
3261
|
-
var es2018$
|
|
3261
|
+
var es2018$7 = {};
|
|
3262
3262
|
|
|
3263
3263
|
var middleware$1 = {};
|
|
3264
3264
|
|
|
3265
3265
|
var chunkAsync$3 = {};
|
|
3266
3266
|
|
|
3267
3267
|
chunkAsync$3.chunkAsync = void 0;
|
|
3268
|
-
const go_1$v = es2018$
|
|
3268
|
+
const go_1$v = es2018$b;
|
|
3269
3269
|
const errors_1$C = requireEs2018();
|
|
3270
3270
|
function chunkAsync$2(iterable, size) {
|
|
3271
3271
|
(0, errors_1$C.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -3288,7 +3288,7 @@ chunkAsync$3.chunkAsync = chunkAsync$2;
|
|
|
3288
3288
|
var chunkByAsync$3 = {};
|
|
3289
3289
|
|
|
3290
3290
|
chunkByAsync$3.chunkByAsync = void 0;
|
|
3291
|
-
const types_1$C = es2018$
|
|
3291
|
+
const types_1$C = es2018$e;
|
|
3292
3292
|
function chunkByAsync$2(iterable, predicate) {
|
|
3293
3293
|
if ((0, types_1$C.isAsyncIterable)(iterable)) {
|
|
3294
3294
|
return chunkByAsyncIterable$1(iterable, predicate);
|
|
@@ -3349,7 +3349,7 @@ chunkBy$3.chunkBy = chunkBy$2;
|
|
|
3349
3349
|
var chunk$3 = {};
|
|
3350
3350
|
|
|
3351
3351
|
chunk$3.chunk = void 0;
|
|
3352
|
-
const go_1$u = es2018$
|
|
3352
|
+
const go_1$u = es2018$b;
|
|
3353
3353
|
const errors_1$B = requireEs2018();
|
|
3354
3354
|
function chunk$2(iterable, size) {
|
|
3355
3355
|
(0, errors_1$B.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -3372,8 +3372,8 @@ chunk$3.chunk = chunk$2;
|
|
|
3372
3372
|
var concatAsync$3 = {};
|
|
3373
3373
|
|
|
3374
3374
|
concatAsync$3.concatAsync = void 0;
|
|
3375
|
-
const types_1$B = es2018$
|
|
3376
|
-
const go_1$t = es2018$
|
|
3375
|
+
const types_1$B = es2018$e;
|
|
3376
|
+
const go_1$t = es2018$b;
|
|
3377
3377
|
function concatAsync$2(iterable, ...otherIterables) {
|
|
3378
3378
|
return (0, go_1$t.go)(async function* () {
|
|
3379
3379
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3395,7 +3395,7 @@ concatAsync$3.concatAsync = concatAsync$2;
|
|
|
3395
3395
|
var concat$7 = {};
|
|
3396
3396
|
|
|
3397
3397
|
concat$7.concat = void 0;
|
|
3398
|
-
const go_1$s = es2018$
|
|
3398
|
+
const go_1$s = es2018$b;
|
|
3399
3399
|
function concat$6(iterable, ...otherIterables) {
|
|
3400
3400
|
return (0, go_1$s.go)(function* () {
|
|
3401
3401
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3424,7 +3424,7 @@ function* copyIterable$1(iterable) {
|
|
|
3424
3424
|
utils$1.copyIterable = copyIterable$1;
|
|
3425
3425
|
|
|
3426
3426
|
dropAsync$3.dropAsync = void 0;
|
|
3427
|
-
const go_1$r = es2018$
|
|
3427
|
+
const go_1$r = es2018$b;
|
|
3428
3428
|
const utils_1$7 = utils$1;
|
|
3429
3429
|
const errors_1$A = requireEs2018();
|
|
3430
3430
|
function dropAsync$2(iterable, count) {
|
|
@@ -3459,7 +3459,7 @@ dropAsync$3.dropAsync = dropAsync$2;
|
|
|
3459
3459
|
var dropRightAsync$3 = {};
|
|
3460
3460
|
|
|
3461
3461
|
dropRightAsync$3.dropRightAsync = void 0;
|
|
3462
|
-
const go_1$q = es2018$
|
|
3462
|
+
const go_1$q = es2018$b;
|
|
3463
3463
|
const utils_1$6 = utils$1;
|
|
3464
3464
|
const errors_1$z = requireEs2018();
|
|
3465
3465
|
function dropRightAsync$2(iterable, count) {
|
|
@@ -3487,7 +3487,7 @@ async function toArrayAsync$5(iterable) {
|
|
|
3487
3487
|
var dropRight$3 = {};
|
|
3488
3488
|
|
|
3489
3489
|
dropRight$3.dropRight = void 0;
|
|
3490
|
-
const go_1$p = es2018$
|
|
3490
|
+
const go_1$p = es2018$b;
|
|
3491
3491
|
const utils_1$5 = utils$1;
|
|
3492
3492
|
const errors_1$y = requireEs2018();
|
|
3493
3493
|
function dropRight$2(iterable, count) {
|
|
@@ -3505,7 +3505,7 @@ dropRight$3.dropRight = dropRight$2;
|
|
|
3505
3505
|
var dropUntilAsync$3 = {};
|
|
3506
3506
|
|
|
3507
3507
|
dropUntilAsync$3.dropUntilAsync = void 0;
|
|
3508
|
-
const types_1$A = es2018$
|
|
3508
|
+
const types_1$A = es2018$e;
|
|
3509
3509
|
function dropUntilAsync$2(iterable, predicate) {
|
|
3510
3510
|
if ((0, types_1$A.isAsyncIterable)(iterable)) {
|
|
3511
3511
|
return dropUntilAsyncIterable$1(iterable, predicate);
|
|
@@ -3587,7 +3587,7 @@ dropUntil$3.dropUntil = dropUntil$2;
|
|
|
3587
3587
|
var drop$3 = {};
|
|
3588
3588
|
|
|
3589
3589
|
drop$3.drop = void 0;
|
|
3590
|
-
const go_1$o = es2018$
|
|
3590
|
+
const go_1$o = es2018$b;
|
|
3591
3591
|
const utils_1$4 = utils$1;
|
|
3592
3592
|
const errors_1$x = requireEs2018();
|
|
3593
3593
|
function drop$2(iterable, count) {
|
|
@@ -3622,7 +3622,7 @@ drop$3.drop = drop$2;
|
|
|
3622
3622
|
var filterAsync$3 = {};
|
|
3623
3623
|
|
|
3624
3624
|
filterAsync$3.filterAsync = void 0;
|
|
3625
|
-
const types_1$z = es2018$
|
|
3625
|
+
const types_1$z = es2018$e;
|
|
3626
3626
|
function filterAsync$2(iterable, predicate) {
|
|
3627
3627
|
if ((0, types_1$z.isAsyncIterable)(iterable)) {
|
|
3628
3628
|
return filterAsyncIterable$1(iterable, predicate);
|
|
@@ -3669,7 +3669,7 @@ var flattenDeepAsync$3 = {};
|
|
|
3669
3669
|
var flattenByAsync$3 = {};
|
|
3670
3670
|
|
|
3671
3671
|
flattenByAsync$3.flattenByAsync = void 0;
|
|
3672
|
-
const types_1$y = es2018$
|
|
3672
|
+
const types_1$y = es2018$e;
|
|
3673
3673
|
function flattenByAsync$2(iterable, predicate) {
|
|
3674
3674
|
if ((0, types_1$y.isAsyncIterable)(iterable)) {
|
|
3675
3675
|
return flattenByAsyncIterable$1(iterable, predicate);
|
|
@@ -3727,7 +3727,7 @@ flattenAsync$3.flattenAsync = flattenAsync$2;
|
|
|
3727
3727
|
var flattenBy$3 = {};
|
|
3728
3728
|
|
|
3729
3729
|
flattenBy$3.flattenBy = void 0;
|
|
3730
|
-
const types_1$x = es2018$
|
|
3730
|
+
const types_1$x = es2018$e;
|
|
3731
3731
|
function flattenBy$2(iterable, predicate) {
|
|
3732
3732
|
return flatten$6(iterable, predicate, 1);
|
|
3733
3733
|
}
|
|
@@ -3770,7 +3770,7 @@ flatten$5.flatten = flatten$4;
|
|
|
3770
3770
|
var mapAsync$3 = {};
|
|
3771
3771
|
|
|
3772
3772
|
mapAsync$3.mapAsync = void 0;
|
|
3773
|
-
const types_1$w = es2018$
|
|
3773
|
+
const types_1$w = es2018$e;
|
|
3774
3774
|
function mapAsync$2(iterable, fn) {
|
|
3775
3775
|
if ((0, types_1$w.isAsyncIterable)(iterable)) {
|
|
3776
3776
|
return mapAsyncIterable$1(iterable, fn);
|
|
@@ -3810,7 +3810,7 @@ map$5.map = map$4;
|
|
|
3810
3810
|
var repeatAsync$3 = {};
|
|
3811
3811
|
|
|
3812
3812
|
repeatAsync$3.repeatAsync = void 0;
|
|
3813
|
-
const go_1$n = es2018$
|
|
3813
|
+
const go_1$n = es2018$b;
|
|
3814
3814
|
const errors_1$u = requireEs2018();
|
|
3815
3815
|
function repeatAsync$2(iterable, times) {
|
|
3816
3816
|
(0, errors_1$u.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -3845,7 +3845,7 @@ function isProduction$3() {
|
|
|
3845
3845
|
var repeat$5 = {};
|
|
3846
3846
|
|
|
3847
3847
|
repeat$5.repeat = void 0;
|
|
3848
|
-
const go_1$m = es2018$
|
|
3848
|
+
const go_1$m = es2018$b;
|
|
3849
3849
|
const errors_1$t = requireEs2018();
|
|
3850
3850
|
function repeat$4(iterable, times) {
|
|
3851
3851
|
(0, errors_1$t.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -3880,7 +3880,7 @@ function isProduction$2() {
|
|
|
3880
3880
|
var sliceAsync$3 = {};
|
|
3881
3881
|
|
|
3882
3882
|
sliceAsync$3.sliceAsync = void 0;
|
|
3883
|
-
const go_1$l = es2018$
|
|
3883
|
+
const go_1$l = es2018$b;
|
|
3884
3884
|
const errors_1$s = requireEs2018();
|
|
3885
3885
|
function sliceAsync$2(iterable, start, end = Infinity) {
|
|
3886
3886
|
(0, errors_1$s.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -3903,7 +3903,7 @@ sliceAsync$3.sliceAsync = sliceAsync$2;
|
|
|
3903
3903
|
var slice$3 = {};
|
|
3904
3904
|
|
|
3905
3905
|
slice$3.slice = void 0;
|
|
3906
|
-
const go_1$k = es2018$
|
|
3906
|
+
const go_1$k = es2018$b;
|
|
3907
3907
|
const errors_1$r = requireEs2018();
|
|
3908
3908
|
function slice$2(iterable, start, end = Infinity) {
|
|
3909
3909
|
(0, errors_1$r.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -3944,7 +3944,7 @@ splitAsync$3.splitAsync = splitAsync$2;
|
|
|
3944
3944
|
var splitByAsync$3 = {};
|
|
3945
3945
|
|
|
3946
3946
|
splitByAsync$3.splitByAsync = void 0;
|
|
3947
|
-
const types_1$v = es2018$
|
|
3947
|
+
const types_1$v = es2018$e;
|
|
3948
3948
|
function splitByAsync$2(iterable, predicate) {
|
|
3949
3949
|
if ((0, types_1$v.isAsyncIterable)(iterable)) {
|
|
3950
3950
|
return splitByAsyncIterable$1(iterable, predicate);
|
|
@@ -4026,7 +4026,7 @@ split$3.split = split$2;
|
|
|
4026
4026
|
var takeAsync$3 = {};
|
|
4027
4027
|
|
|
4028
4028
|
takeAsync$3.takeAsync = void 0;
|
|
4029
|
-
const go_1$j = es2018$
|
|
4029
|
+
const go_1$j = es2018$b;
|
|
4030
4030
|
const errors_1$q = requireEs2018();
|
|
4031
4031
|
function takeAsync$2(iterable, count) {
|
|
4032
4032
|
(0, errors_1$q.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4047,7 +4047,7 @@ takeAsync$3.takeAsync = takeAsync$2;
|
|
|
4047
4047
|
var takeRightAsync$3 = {};
|
|
4048
4048
|
|
|
4049
4049
|
takeRightAsync$3.takeRightAsync = void 0;
|
|
4050
|
-
const go_1$i = es2018$
|
|
4050
|
+
const go_1$i = es2018$b;
|
|
4051
4051
|
const errors_1$p = requireEs2018();
|
|
4052
4052
|
function takeRightAsync$2(iterable, count) {
|
|
4053
4053
|
(0, errors_1$p.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4077,7 +4077,7 @@ takeRightAsync$3.takeRightAsync = takeRightAsync$2;
|
|
|
4077
4077
|
var takeRight$3 = {};
|
|
4078
4078
|
|
|
4079
4079
|
takeRight$3.takeRight = void 0;
|
|
4080
|
-
const go_1$h = es2018$
|
|
4080
|
+
const go_1$h = es2018$b;
|
|
4081
4081
|
const errors_1$o = requireEs2018();
|
|
4082
4082
|
function takeRight$2(iterable, count) {
|
|
4083
4083
|
(0, errors_1$o.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4107,7 +4107,7 @@ takeRight$3.takeRight = takeRight$2;
|
|
|
4107
4107
|
var takeUntilAsync$3 = {};
|
|
4108
4108
|
|
|
4109
4109
|
takeUntilAsync$3.takeUntilAsync = void 0;
|
|
4110
|
-
const types_1$u = es2018$
|
|
4110
|
+
const types_1$u = es2018$e;
|
|
4111
4111
|
function takeUntilAsync$2(iterable, predicate) {
|
|
4112
4112
|
if ((0, types_1$u.isAsyncIterable)(iterable)) {
|
|
4113
4113
|
return takeUntilAsyncIterable$1(iterable, predicate);
|
|
@@ -4153,7 +4153,7 @@ takeUntil$5.takeUntil = takeUntil$4;
|
|
|
4153
4153
|
var take$5 = {};
|
|
4154
4154
|
|
|
4155
4155
|
take$5.take = void 0;
|
|
4156
|
-
const go_1$g = es2018$
|
|
4156
|
+
const go_1$g = es2018$b;
|
|
4157
4157
|
const errors_1$n = requireEs2018();
|
|
4158
4158
|
function take$4(iterable, count) {
|
|
4159
4159
|
(0, errors_1$n.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4174,7 +4174,7 @@ take$5.take = take$4;
|
|
|
4174
4174
|
var tapAsync$3 = {};
|
|
4175
4175
|
|
|
4176
4176
|
tapAsync$3.tapAsync = void 0;
|
|
4177
|
-
const types_1$t = es2018$
|
|
4177
|
+
const types_1$t = es2018$e;
|
|
4178
4178
|
function tapAsync$2(iterable, fn) {
|
|
4179
4179
|
if ((0, types_1$t.isAsyncIterable)(iterable)) {
|
|
4180
4180
|
return tapAsyncIterable$1(iterable, fn);
|
|
@@ -4257,7 +4257,7 @@ uniqAsync$3.uniqAsync = uniqAsync$2;
|
|
|
4257
4257
|
var uniqByAsync$3 = {};
|
|
4258
4258
|
|
|
4259
4259
|
uniqByAsync$3.uniqByAsync = void 0;
|
|
4260
|
-
const types_1$s = es2018$
|
|
4260
|
+
const types_1$s = es2018$e;
|
|
4261
4261
|
function uniqByAsync$2(iterable, fn) {
|
|
4262
4262
|
if ((0, types_1$s.isAsyncIterable)(iterable)) {
|
|
4263
4263
|
return uniqByAsyncIterable$1(iterable, fn);
|
|
@@ -4326,7 +4326,7 @@ uniq$3.uniq = uniq$2;
|
|
|
4326
4326
|
var zipAsync$3 = {};
|
|
4327
4327
|
|
|
4328
4328
|
zipAsync$3.zipAsync = void 0;
|
|
4329
|
-
const types_1$r = es2018$
|
|
4329
|
+
const types_1$r = es2018$e;
|
|
4330
4330
|
var Kind$1;
|
|
4331
4331
|
(function (Kind) {
|
|
4332
4332
|
Kind[Kind["Sync"] = 0] = "Sync";
|
|
@@ -4490,7 +4490,7 @@ consume$3.consume = consume$2;
|
|
|
4490
4490
|
var eachAsync$3 = {};
|
|
4491
4491
|
|
|
4492
4492
|
eachAsync$3.eachAsync = void 0;
|
|
4493
|
-
const types_1$q = es2018$
|
|
4493
|
+
const types_1$q = es2018$e;
|
|
4494
4494
|
function eachAsync$2(iterable, fn) {
|
|
4495
4495
|
if ((0, types_1$q.isAsyncIterable)(iterable)) {
|
|
4496
4496
|
return eachAsyncIterable$1(iterable, fn);
|
|
@@ -4530,7 +4530,7 @@ each$3.each = each$2;
|
|
|
4530
4530
|
var everyAsync$3 = {};
|
|
4531
4531
|
|
|
4532
4532
|
everyAsync$3.everyAsync = void 0;
|
|
4533
|
-
const types_1$p = es2018$
|
|
4533
|
+
const types_1$p = es2018$e;
|
|
4534
4534
|
function everyAsync$2(iterable, predicate) {
|
|
4535
4535
|
if ((0, types_1$p.isAsyncIterable)(iterable)) {
|
|
4536
4536
|
return everyAsyncIterable$1(iterable, predicate);
|
|
@@ -4576,7 +4576,7 @@ every$5.every = every$4;
|
|
|
4576
4576
|
var findAsync$3 = {};
|
|
4577
4577
|
|
|
4578
4578
|
findAsync$3.findAsync = void 0;
|
|
4579
|
-
const types_1$o = es2018$
|
|
4579
|
+
const types_1$o = es2018$e;
|
|
4580
4580
|
function findAsync$2(iterable, predicate) {
|
|
4581
4581
|
if ((0, types_1$o.isAsyncIterable)(iterable)) {
|
|
4582
4582
|
return findAsyncIterable$1(iterable, predicate);
|
|
@@ -4700,7 +4700,7 @@ match$3.match = match$2;
|
|
|
4700
4700
|
var reduceAsync$3 = {};
|
|
4701
4701
|
|
|
4702
4702
|
reduceAsync$3.reduceAsync = void 0;
|
|
4703
|
-
const types_1$n = es2018$
|
|
4703
|
+
const types_1$n = es2018$e;
|
|
4704
4704
|
function reduceAsync$2(iterable, fn, initialValue) {
|
|
4705
4705
|
if ((0, types_1$n.isUndefined)(initialValue)) {
|
|
4706
4706
|
return reduceAsyncWithoutInitialValue$1(iterable, fn);
|
|
@@ -4796,7 +4796,7 @@ function reduceAsyncWithoutInitialValue$1(iterable, fn) {
|
|
|
4796
4796
|
var reduce$5 = {};
|
|
4797
4797
|
|
|
4798
4798
|
reduce$5.reduce = void 0;
|
|
4799
|
-
const types_1$m = es2018$
|
|
4799
|
+
const types_1$m = es2018$e;
|
|
4800
4800
|
function reduce$4(iterable, fn, initialValue) {
|
|
4801
4801
|
if ((0, types_1$m.isUndefined)(initialValue)) {
|
|
4802
4802
|
return reduceWithoutInitialValue$1(iterable, fn);
|
|
@@ -4843,7 +4843,7 @@ function reduceWithoutInitialValue$1(iterable, fn) {
|
|
|
4843
4843
|
var someAsync$3 = {};
|
|
4844
4844
|
|
|
4845
4845
|
someAsync$3.someAsync = void 0;
|
|
4846
|
-
const types_1$l = es2018$
|
|
4846
|
+
const types_1$l = es2018$e;
|
|
4847
4847
|
function someAsync$2(iterable, predicate) {
|
|
4848
4848
|
if ((0, types_1$l.isAsyncIterable)(iterable)) {
|
|
4849
4849
|
return someAsyncIterable$1(iterable, predicate);
|
|
@@ -5097,11 +5097,11 @@ groupByAsync$3.groupByAsync = groupByAsync$2;
|
|
|
5097
5097
|
};__exportStar(middleware$1, exports);
|
|
5098
5098
|
__exportStar(output$1, exports);
|
|
5099
5099
|
|
|
5100
|
-
} (es2018$
|
|
5100
|
+
} (es2018$7));
|
|
5101
5101
|
|
|
5102
5102
|
lruMap.LRUMap = void 0;
|
|
5103
5103
|
const errors_1$m = requireEs2018();
|
|
5104
|
-
const iterable_operator_1$3 = es2018$
|
|
5104
|
+
const iterable_operator_1$3 = es2018$7;
|
|
5105
5105
|
class LRUMap {
|
|
5106
5106
|
constructor(limit) {
|
|
5107
5107
|
this.map = new Map();
|
|
@@ -5156,7 +5156,7 @@ lruMap.LRUMap = LRUMap;
|
|
|
5156
5156
|
var expirableMap = {};
|
|
5157
5157
|
|
|
5158
5158
|
expirableMap.ExpirableMap = void 0;
|
|
5159
|
-
const extra_timers_1$1 = es2018$
|
|
5159
|
+
const extra_timers_1$1 = es2018$a;
|
|
5160
5160
|
class ExpirableMap {
|
|
5161
5161
|
constructor() {
|
|
5162
5162
|
this.map = new Map();
|
|
@@ -5253,8 +5253,8 @@ var tlruMap = {};
|
|
|
5253
5253
|
|
|
5254
5254
|
tlruMap.TLRUMap = void 0;
|
|
5255
5255
|
const errors_1$l = requireEs2018();
|
|
5256
|
-
const iterable_operator_1$2 = es2018$
|
|
5257
|
-
const extra_timers_1 = es2018$
|
|
5256
|
+
const iterable_operator_1$2 = es2018$7;
|
|
5257
|
+
const extra_timers_1 = es2018$a;
|
|
5258
5258
|
class TLRUMap {
|
|
5259
5259
|
constructor(limit) {
|
|
5260
5260
|
this.map = new Map();
|
|
@@ -5376,8 +5376,8 @@ tlruMap.TLRUMap = TLRUMap;
|
|
|
5376
5376
|
var trieMap = {};
|
|
5377
5377
|
|
|
5378
5378
|
trieMap.TrieMap = void 0;
|
|
5379
|
-
const iterable_operator_1$1 = es2018$
|
|
5380
|
-
const types_1$k = es2018$
|
|
5379
|
+
const iterable_operator_1$1 = es2018$7;
|
|
5380
|
+
const types_1$k = es2018$e;
|
|
5381
5381
|
class TrieNode {
|
|
5382
5382
|
constructor(value) {
|
|
5383
5383
|
this.value = value;
|
|
@@ -12910,7 +12910,7 @@ zipWith$1.zipWith = zipWith;
|
|
|
12910
12910
|
exports.BadEventError = exports.ObservableFiniteStateMachine = void 0;
|
|
12911
12911
|
const finite_state_machine_1 = finiteStateMachine;
|
|
12912
12912
|
const rxjs_1 = cjs;
|
|
12913
|
-
const types_1 = es2018$
|
|
12913
|
+
const types_1 = es2018$e;
|
|
12914
12914
|
class ObservableFiniteStateMachine extends finite_state_machine_1.FiniteStateMachine {
|
|
12915
12915
|
constructor() {
|
|
12916
12916
|
super(...arguments);
|
|
@@ -13329,7 +13329,7 @@ var sortedSet = {};
|
|
|
13329
13329
|
var skipList = {};
|
|
13330
13330
|
|
|
13331
13331
|
skipList.SkipList = skipList.SkipListNode = void 0;
|
|
13332
|
-
const types_1$j = es2018$
|
|
13332
|
+
const types_1$j = es2018$e;
|
|
13333
13333
|
class SkipListNode {
|
|
13334
13334
|
constructor(value) {
|
|
13335
13335
|
this.value = value;
|
|
@@ -13483,7 +13483,7 @@ skipList.SkipList = SkipList;
|
|
|
13483
13483
|
|
|
13484
13484
|
sortedSet.SortedSet = void 0;
|
|
13485
13485
|
const skip_list_1 = skipList;
|
|
13486
|
-
const iterable_operator_1 = es2018$
|
|
13486
|
+
const iterable_operator_1 = es2018$7;
|
|
13487
13487
|
class SortedSet {
|
|
13488
13488
|
constructor(compare) {
|
|
13489
13489
|
this.skipList = new skip_list_1.SkipList(compare);
|
|
@@ -13736,11 +13736,11 @@ typedBitSet.TypedBitSet = TypedBitSet;
|
|
|
13736
13736
|
__exportStar(bitSet, exports);
|
|
13737
13737
|
__exportStar(typedBitSet, exports);
|
|
13738
13738
|
|
|
13739
|
-
} (es2018$
|
|
13739
|
+
} (es2018$f));
|
|
13740
13740
|
|
|
13741
|
-
var es2018$
|
|
13741
|
+
var es2018$6 = {};
|
|
13742
13742
|
|
|
13743
|
-
var es2018$
|
|
13743
|
+
var es2018$5 = {};
|
|
13744
13744
|
|
|
13745
13745
|
var log$1 = {};
|
|
13746
13746
|
|
|
@@ -13767,7 +13767,7 @@ highResolutionTimestamp_browser.elapsed = elapsed;
|
|
|
13767
13767
|
|
|
13768
13768
|
time$1.time = void 0;
|
|
13769
13769
|
const high_resolution_timestamp_1$2 = highResolutionTimestamp_browser;
|
|
13770
|
-
const types_1$i = es2018$
|
|
13770
|
+
const types_1$i = es2018$e;
|
|
13771
13771
|
function time(message, fn) {
|
|
13772
13772
|
const startTime = (0, high_resolution_timestamp_1$2.now)();
|
|
13773
13773
|
const result = fn();
|
|
@@ -13835,9 +13835,9 @@ timeAsyncFunction$1.timeAsyncFunction = timeAsyncFunction;
|
|
|
13835
13835
|
__exportStar(timeFunction$1, exports);
|
|
13836
13836
|
__exportStar(timeAsyncFunction$1, exports);
|
|
13837
13837
|
|
|
13838
|
-
} (es2018$
|
|
13838
|
+
} (es2018$5));
|
|
13839
13839
|
|
|
13840
|
-
var es2018$
|
|
13840
|
+
var es2018$4 = {};
|
|
13841
13841
|
|
|
13842
13842
|
var lazy$1 = {};
|
|
13843
13843
|
|
|
@@ -13949,6 +13949,35 @@ lazyStatic$1.lazyStatic = lazyStatic;
|
|
|
13949
13949
|
__exportStar(lazyAsyncFunction$1, exports);
|
|
13950
13950
|
__exportStar(lazyStatic$1, exports);
|
|
13951
13951
|
|
|
13952
|
+
} (es2018$4));
|
|
13953
|
+
|
|
13954
|
+
var es2018$3 = {};
|
|
13955
|
+
|
|
13956
|
+
var pass$1 = {};
|
|
13957
|
+
|
|
13958
|
+
pass$1.pass = void 0;
|
|
13959
|
+
function pass() { }
|
|
13960
|
+
pass$1.pass = pass;
|
|
13961
|
+
|
|
13962
|
+
var passAsync$1 = {};
|
|
13963
|
+
|
|
13964
|
+
passAsync$1.passAsync = void 0;
|
|
13965
|
+
async function passAsync() { }
|
|
13966
|
+
passAsync$1.passAsync = passAsync;
|
|
13967
|
+
|
|
13968
|
+
(function (exports) {
|
|
13969
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13970
|
+
if (k2 === undefined) k2 = k;
|
|
13971
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
13972
|
+
}) : (function(o, m, k, k2) {
|
|
13973
|
+
if (k2 === undefined) k2 = k;
|
|
13974
|
+
o[k2] = m[k];
|
|
13975
|
+
}));
|
|
13976
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
13977
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13978
|
+
};__exportStar(pass$1, exports);
|
|
13979
|
+
__exportStar(passAsync$1, exports);
|
|
13980
|
+
|
|
13952
13981
|
} (es2018$3));
|
|
13953
13982
|
|
|
13954
13983
|
var es2018$2 = {};
|
|
@@ -13958,7 +13987,7 @@ var middleware = {};
|
|
|
13958
13987
|
var chunkAsync$1 = {};
|
|
13959
13988
|
|
|
13960
13989
|
chunkAsync$1.chunkAsync = void 0;
|
|
13961
|
-
const go_1$f = es2018$
|
|
13990
|
+
const go_1$f = es2018$b;
|
|
13962
13991
|
const errors_1$f = requireEs2018();
|
|
13963
13992
|
function chunkAsync(iterable, size) {
|
|
13964
13993
|
(0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -14415,7 +14444,7 @@ chunkBy$1.chunkBy = chunkBy;
|
|
|
14415
14444
|
var chunk$1 = {};
|
|
14416
14445
|
|
|
14417
14446
|
chunk$1.chunk = void 0;
|
|
14418
|
-
const go_1$e = es2018$
|
|
14447
|
+
const go_1$e = es2018$b;
|
|
14419
14448
|
const errors_1$e = requireEs2018();
|
|
14420
14449
|
function chunk(iterable, size) {
|
|
14421
14450
|
(0, errors_1$e.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -14439,7 +14468,7 @@ var concatAsync$1 = {};
|
|
|
14439
14468
|
|
|
14440
14469
|
concatAsync$1.concatAsync = void 0;
|
|
14441
14470
|
const types_1$g = es2018$1;
|
|
14442
|
-
const go_1$d = es2018$
|
|
14471
|
+
const go_1$d = es2018$b;
|
|
14443
14472
|
function concatAsync(iterable, ...otherIterables) {
|
|
14444
14473
|
return (0, go_1$d.go)(async function* () {
|
|
14445
14474
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -14461,7 +14490,7 @@ concatAsync$1.concatAsync = concatAsync;
|
|
|
14461
14490
|
var concat$1 = {};
|
|
14462
14491
|
|
|
14463
14492
|
concat$1.concat = void 0;
|
|
14464
|
-
const go_1$c = es2018$
|
|
14493
|
+
const go_1$c = es2018$b;
|
|
14465
14494
|
function concat(iterable, ...otherIterables) {
|
|
14466
14495
|
return (0, go_1$c.go)(function* () {
|
|
14467
14496
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -14490,7 +14519,7 @@ function* copyIterable(iterable) {
|
|
|
14490
14519
|
utils.copyIterable = copyIterable;
|
|
14491
14520
|
|
|
14492
14521
|
dropAsync$1.dropAsync = void 0;
|
|
14493
|
-
const go_1$b = es2018$
|
|
14522
|
+
const go_1$b = es2018$b;
|
|
14494
14523
|
const utils_1$3 = utils;
|
|
14495
14524
|
const errors_1$d = requireEs2018();
|
|
14496
14525
|
function dropAsync(iterable, count) {
|
|
@@ -14525,7 +14554,7 @@ dropAsync$1.dropAsync = dropAsync;
|
|
|
14525
14554
|
var dropRightAsync$1 = {};
|
|
14526
14555
|
|
|
14527
14556
|
dropRightAsync$1.dropRightAsync = void 0;
|
|
14528
|
-
const go_1$a = es2018$
|
|
14557
|
+
const go_1$a = es2018$b;
|
|
14529
14558
|
const utils_1$2 = utils;
|
|
14530
14559
|
const errors_1$c = requireEs2018();
|
|
14531
14560
|
function dropRightAsync(iterable, count) {
|
|
@@ -14553,7 +14582,7 @@ async function toArrayAsync$2(iterable) {
|
|
|
14553
14582
|
var dropRight$1 = {};
|
|
14554
14583
|
|
|
14555
14584
|
dropRight$1.dropRight = void 0;
|
|
14556
|
-
const go_1$9 = es2018$
|
|
14585
|
+
const go_1$9 = es2018$b;
|
|
14557
14586
|
const utils_1$1 = utils;
|
|
14558
14587
|
const errors_1$b = requireEs2018();
|
|
14559
14588
|
function dropRight(iterable, count) {
|
|
@@ -14653,7 +14682,7 @@ dropUntil$1.dropUntil = dropUntil;
|
|
|
14653
14682
|
var drop$1 = {};
|
|
14654
14683
|
|
|
14655
14684
|
drop$1.drop = void 0;
|
|
14656
|
-
const go_1$8 = es2018$
|
|
14685
|
+
const go_1$8 = es2018$b;
|
|
14657
14686
|
const utils_1 = utils;
|
|
14658
14687
|
const errors_1$a = requireEs2018();
|
|
14659
14688
|
function drop(iterable, count) {
|
|
@@ -14876,7 +14905,7 @@ map$1.map = map;
|
|
|
14876
14905
|
var repeatAsync$1 = {};
|
|
14877
14906
|
|
|
14878
14907
|
repeatAsync$1.repeatAsync = void 0;
|
|
14879
|
-
const go_1$7 = es2018$
|
|
14908
|
+
const go_1$7 = es2018$b;
|
|
14880
14909
|
const errors_1$7 = requireEs2018();
|
|
14881
14910
|
function repeatAsync(iterable, times) {
|
|
14882
14911
|
(0, errors_1$7.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -14911,7 +14940,7 @@ function isProduction$1() {
|
|
|
14911
14940
|
var repeat$1 = {};
|
|
14912
14941
|
|
|
14913
14942
|
repeat$1.repeat = void 0;
|
|
14914
|
-
const go_1$6 = es2018$
|
|
14943
|
+
const go_1$6 = es2018$b;
|
|
14915
14944
|
const errors_1$6 = requireEs2018();
|
|
14916
14945
|
function repeat(iterable, times) {
|
|
14917
14946
|
(0, errors_1$6.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -14946,7 +14975,7 @@ function isProduction() {
|
|
|
14946
14975
|
var sliceAsync$1 = {};
|
|
14947
14976
|
|
|
14948
14977
|
sliceAsync$1.sliceAsync = void 0;
|
|
14949
|
-
const go_1$5 = es2018$
|
|
14978
|
+
const go_1$5 = es2018$b;
|
|
14950
14979
|
const errors_1$5 = requireEs2018();
|
|
14951
14980
|
function sliceAsync(iterable, start, end = Infinity) {
|
|
14952
14981
|
(0, errors_1$5.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -14969,7 +14998,7 @@ sliceAsync$1.sliceAsync = sliceAsync;
|
|
|
14969
14998
|
var slice$1 = {};
|
|
14970
14999
|
|
|
14971
15000
|
slice$1.slice = void 0;
|
|
14972
|
-
const go_1$4 = es2018$
|
|
15001
|
+
const go_1$4 = es2018$b;
|
|
14973
15002
|
const errors_1$4 = requireEs2018();
|
|
14974
15003
|
function slice(iterable, start, end = Infinity) {
|
|
14975
15004
|
(0, errors_1$4.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -15092,7 +15121,7 @@ split$1.split = split;
|
|
|
15092
15121
|
var takeAsync$1 = {};
|
|
15093
15122
|
|
|
15094
15123
|
takeAsync$1.takeAsync = void 0;
|
|
15095
|
-
const go_1$3 = es2018$
|
|
15124
|
+
const go_1$3 = es2018$b;
|
|
15096
15125
|
const errors_1$3 = requireEs2018();
|
|
15097
15126
|
function takeAsync(iterable, count) {
|
|
15098
15127
|
(0, errors_1$3.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -15113,7 +15142,7 @@ takeAsync$1.takeAsync = takeAsync;
|
|
|
15113
15142
|
var takeRightAsync$1 = {};
|
|
15114
15143
|
|
|
15115
15144
|
takeRightAsync$1.takeRightAsync = void 0;
|
|
15116
|
-
const go_1$2 = es2018$
|
|
15145
|
+
const go_1$2 = es2018$b;
|
|
15117
15146
|
const errors_1$2 = requireEs2018();
|
|
15118
15147
|
function takeRightAsync(iterable, count) {
|
|
15119
15148
|
(0, errors_1$2.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -15143,7 +15172,7 @@ takeRightAsync$1.takeRightAsync = takeRightAsync;
|
|
|
15143
15172
|
var takeRight$1 = {};
|
|
15144
15173
|
|
|
15145
15174
|
takeRight$1.takeRight = void 0;
|
|
15146
|
-
const go_1$1 = es2018$
|
|
15175
|
+
const go_1$1 = es2018$b;
|
|
15147
15176
|
const errors_1$1 = requireEs2018();
|
|
15148
15177
|
function takeRight(iterable, count) {
|
|
15149
15178
|
(0, errors_1$1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -15219,7 +15248,7 @@ takeUntil$1.takeUntil = takeUntil;
|
|
|
15219
15248
|
var take$1 = {};
|
|
15220
15249
|
|
|
15221
15250
|
take$1.take = void 0;
|
|
15222
|
-
const go_1 = es2018$
|
|
15251
|
+
const go_1 = es2018$b;
|
|
15223
15252
|
const errors_1 = requireEs2018();
|
|
15224
15253
|
function take(iterable, count) {
|
|
15225
15254
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -16556,13 +16585,13 @@ exports.isntNumber = exports.isntNull = exports.isntJson = exports.isntIterable
|
|
|
16556
16585
|
exports.isntSymbol = exports.isntRegExp = exports.isntUndefined = exports.isntString = exports.isntPromiseLike = exports.isntPromise = exports.isntPlainObject = exports.isntObject = void 0;
|
|
16557
16586
|
var errors_1 = requireEs2018();
|
|
16558
16587
|
Object.defineProperty(exports, "assert", { enumerable: true, get: function () { return errors_1.assert; } });
|
|
16559
|
-
var go_1 = es2018$
|
|
16588
|
+
var go_1 = es2018$b;
|
|
16560
16589
|
Object.defineProperty(exports, "go", { enumerable: true, get: function () { return go_1.go; } });
|
|
16561
|
-
var log_1 = es2018$
|
|
16590
|
+
var log_1 = es2018$5;
|
|
16562
16591
|
Object.defineProperty(exports, "log", { enumerable: true, get: function () { return log_1.log; } });
|
|
16563
|
-
var extra_lazy_1 = es2018$
|
|
16592
|
+
var extra_lazy_1 = es2018$4;
|
|
16564
16593
|
Object.defineProperty(exports, "lazy", { enumerable: true, get: function () { return extra_lazy_1.lazy; } });
|
|
16565
|
-
var pass_1 = es2018$
|
|
16594
|
+
var pass_1 = es2018$3;
|
|
16566
16595
|
Object.defineProperty(exports, "pass", { enumerable: true, get: function () { return pass_1.pass; } });
|
|
16567
16596
|
var iterable_operator_1 = es2018$2;
|
|
16568
16597
|
Object.defineProperty(exports, "toArray", { enumerable: true, get: function () { return iterable_operator_1.toArray; } });
|
|
@@ -16620,7 +16649,7 @@ exports.isntNumber = exports.isntNull = exports.isntJson = exports.isntIterable
|
|
|
16620
16649
|
Object.defineProperty(exports, "isntRegExp", { enumerable: true, get: function () { return types_1.isntRegExp; } });
|
|
16621
16650
|
Object.defineProperty(exports, "isntSymbol", { enumerable: true, get: function () { return types_1.isntSymbol; } });
|
|
16622
16651
|
|
|
16623
|
-
} (es2018$
|
|
16652
|
+
} (es2018$6));
|
|
16624
16653
|
|
|
16625
16654
|
var State;
|
|
16626
16655
|
(function (State) {
|
|
@@ -16633,10 +16662,14 @@ const schema = {
|
|
|
16633
16662
|
};
|
|
16634
16663
|
class GameLoop {
|
|
16635
16664
|
constructor(options) {
|
|
16636
|
-
this.fsm = new es2018$
|
|
16665
|
+
this.fsm = new es2018$f.FiniteStateMachine(schema, State.Stopped);
|
|
16637
16666
|
this.deltaTimeAccumulator = 0;
|
|
16638
16667
|
this.lastDeltaTime = 0;
|
|
16639
|
-
this.loop = (
|
|
16668
|
+
this.loop = () => {
|
|
16669
|
+
// requestAnimationFrame的实现存在陷阱, 它提供的timestamp参数有时会比`performance.now()`早.
|
|
16670
|
+
// 因此主动调用`performance.now()`来获取时间戳.
|
|
16671
|
+
// https://stackoverflow.com/questions/50895206/exact-time-of-display-requestanimationframe-usage-and-timeline
|
|
16672
|
+
const timestamp = performance.now();
|
|
16640
16673
|
const deltaTime = timestamp - this.lastTimestamp;
|
|
16641
16674
|
this.lastDeltaTime = deltaTime;
|
|
16642
16675
|
this.lastTimestamp = timestamp;
|
|
@@ -16645,16 +16678,15 @@ class GameLoop {
|
|
|
16645
16678
|
};
|
|
16646
16679
|
this.fixedDeltaTime = options.fixedDeltaTime;
|
|
16647
16680
|
this.maximumDeltaTime = options.maximumDeltaTime;
|
|
16648
|
-
es2018$
|
|
16681
|
+
es2018$6.assert(this.maximumDeltaTime >= this.fixedDeltaTime, 'maximumDeltaTime must be greater than or equal to fixedDeltaTime');
|
|
16649
16682
|
this.fixedUpdate = options.fixedUpdate;
|
|
16650
16683
|
this.update = options.update;
|
|
16651
16684
|
this.render = options.render;
|
|
16652
16685
|
}
|
|
16653
16686
|
start() {
|
|
16654
16687
|
this.fsm.send('start');
|
|
16655
|
-
|
|
16656
|
-
this.
|
|
16657
|
-
this.loop(timestamp);
|
|
16688
|
+
this.lastTimestamp = performance.now();
|
|
16689
|
+
this.loop();
|
|
16658
16690
|
}
|
|
16659
16691
|
stop() {
|
|
16660
16692
|
this.fsm.send('stop');
|
|
@@ -16678,7 +16710,7 @@ class GameLoop {
|
|
|
16678
16710
|
* 1. 响应游戏世界从上一帧更新后到这一帧更新之前发生的物理变化.
|
|
16679
16711
|
* 注意, 如果渲染帧率比物理帧率快, 且运行性能良好, 则物理帧不一定会在此帧更新.
|
|
16680
16712
|
* 2. 响应用户输入, 为这一帧的游戏世界做出非物理方面的更新, 例如角色转向, 改变武器瞄准角度等.
|
|
16681
|
-
* 3.
|
|
16713
|
+
* 3. 渲染经过更新后的最新状态, 渲染器可以根据alpha参数执行插值渲染.
|
|
16682
16714
|
*/
|
|
16683
16715
|
nextFrame(deltaTime) {
|
|
16684
16716
|
this.deltaTimeAccumulator = Math.min(this.deltaTimeAccumulator + deltaTime, this.maximumDeltaTime);
|
|
@@ -16687,7 +16719,8 @@ class GameLoop {
|
|
|
16687
16719
|
this.deltaTimeAccumulator -= this.fixedDeltaTime;
|
|
16688
16720
|
}
|
|
16689
16721
|
this.update(deltaTime);
|
|
16690
|
-
this.
|
|
16722
|
+
const alpha = this.deltaTimeAccumulator / this.fixedDeltaTime;
|
|
16723
|
+
this.render(alpha);
|
|
16691
16724
|
}
|
|
16692
16725
|
}
|
|
16693
16726
|
|