@blackglory/observe 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es2015/index.min.mjs +1 -1
- package/dist/es2015/index.min.mjs.map +1 -1
- package/dist/es2015/index.mjs +342 -184
- package/dist/es2015/index.mjs.map +1 -1
- package/dist/es2015/index.umd.js +342 -184
- 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 +342 -184
- package/dist/es2018/index.mjs.map +1 -1
- package/dist/es2018/index.umd.js +342 -184
- 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/observe-state-changes.js +4 -2
- package/lib/es2015/observe-state-changes.js.map +1 -1
- package/lib/es2018/observe-state-changes.js +4 -2
- package/lib/es2018/observe-state-changes.js.map +1 -1
- package/package.json +21 -21
- package/CHANGELOG.md +0 -18
package/dist/es2015/index.umd.js
CHANGED
|
@@ -102,10 +102,14 @@
|
|
|
102
102
|
return ar;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
function __spreadArray(to, from) {
|
|
106
|
-
for (var i = 0,
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
function __spreadArray(to, from, pack) {
|
|
106
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
107
|
+
if (ar || !(i in from)) {
|
|
108
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
109
|
+
ar[i] = from[i];
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
109
113
|
}
|
|
110
114
|
|
|
111
115
|
function __await$n(v) {
|
|
@@ -577,16 +581,20 @@
|
|
|
577
581
|
var _this = this;
|
|
578
582
|
promiseCtor = getPromiseCtor(promiseCtor);
|
|
579
583
|
return new promiseCtor(function (resolve, reject) {
|
|
580
|
-
var
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
584
|
+
var subscriber = new SafeSubscriber({
|
|
585
|
+
next: function (value) {
|
|
586
|
+
try {
|
|
587
|
+
next(value);
|
|
588
|
+
}
|
|
589
|
+
catch (err) {
|
|
590
|
+
reject(err);
|
|
591
|
+
subscriber.unsubscribe();
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
error: reject,
|
|
595
|
+
complete: resolve,
|
|
596
|
+
});
|
|
597
|
+
_this.subscribe(subscriber);
|
|
590
598
|
});
|
|
591
599
|
};
|
|
592
600
|
Observable.prototype._subscribe = function (subscriber) {
|
|
@@ -1516,9 +1524,9 @@
|
|
|
1516
1524
|
const go_1$f = es2018$2;
|
|
1517
1525
|
const errors_1$f = es2018$1;
|
|
1518
1526
|
function chunkAsync(iterable, size) {
|
|
1519
|
-
errors_1$f.assert(Number.isInteger(size), 'The parameter size must be an integer');
|
|
1520
|
-
errors_1$f.assert(size > 0, 'The parameter size must be greater than 0');
|
|
1521
|
-
return go_1$f.go(function () {
|
|
1527
|
+
(0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
1528
|
+
(0, errors_1$f.assert)(size > 0, 'The parameter size must be greater than 0');
|
|
1529
|
+
return (0, go_1$f.go)(function () {
|
|
1522
1530
|
return __asyncGenerator$m(this, arguments, function* () {
|
|
1523
1531
|
var e_1, _a;
|
|
1524
1532
|
let buffer = [];
|
|
@@ -1552,7 +1560,7 @@
|
|
|
1552
1560
|
const chunk_async_1$1 = chunkAsync$1;
|
|
1553
1561
|
class ChunkAsyncOperator extends async_iterable_operator_base_1$h.AsyncIterableOperatorBase {
|
|
1554
1562
|
chunkAsync(...args) {
|
|
1555
|
-
return utils_1$19.applyChainingAsync(this.subject, chunk_async_1$1.chunkAsync, args);
|
|
1563
|
+
return (0, utils_1$19.applyChainingAsync)(this.subject, chunk_async_1$1.chunkAsync, args);
|
|
1556
1564
|
}
|
|
1557
1565
|
}
|
|
1558
1566
|
chunkAsync$2.ChunkAsyncOperator = ChunkAsyncOperator;
|
|
@@ -1749,19 +1757,167 @@
|
|
|
1749
1757
|
|
|
1750
1758
|
var object = {};
|
|
1751
1759
|
|
|
1752
|
-
|
|
1760
|
+
/**
|
|
1761
|
+
* lodash (Custom Build) <https://lodash.com/>
|
|
1762
|
+
* Build: `lodash modularize exports="npm" -o ./`
|
|
1763
|
+
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
1764
|
+
* Released under MIT license <https://lodash.com/license>
|
|
1765
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
1766
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
1767
|
+
*/
|
|
1768
|
+
|
|
1769
|
+
/** `Object#toString` result references. */
|
|
1770
|
+
var objectTag = '[object Object]';
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* Checks if `value` is a host object in IE < 9.
|
|
1774
|
+
*
|
|
1775
|
+
* @private
|
|
1776
|
+
* @param {*} value The value to check.
|
|
1777
|
+
* @returns {boolean} Returns `true` if `value` is a host object, else `false`.
|
|
1778
|
+
*/
|
|
1779
|
+
function isHostObject(value) {
|
|
1780
|
+
// Many host objects are `Object` objects that can coerce to strings
|
|
1781
|
+
// despite having improperly defined `toString` methods.
|
|
1782
|
+
var result = false;
|
|
1783
|
+
if (value != null && typeof value.toString != 'function') {
|
|
1784
|
+
try {
|
|
1785
|
+
result = !!(value + '');
|
|
1786
|
+
} catch (e) {}
|
|
1787
|
+
}
|
|
1788
|
+
return result;
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* Creates a unary function that invokes `func` with its argument transformed.
|
|
1793
|
+
*
|
|
1794
|
+
* @private
|
|
1795
|
+
* @param {Function} func The function to wrap.
|
|
1796
|
+
* @param {Function} transform The argument transform.
|
|
1797
|
+
* @returns {Function} Returns the new function.
|
|
1798
|
+
*/
|
|
1799
|
+
function overArg(func, transform) {
|
|
1800
|
+
return function(arg) {
|
|
1801
|
+
return func(transform(arg));
|
|
1802
|
+
};
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
/** Used for built-in method references. */
|
|
1806
|
+
var funcProto = Function.prototype,
|
|
1807
|
+
objectProto = Object.prototype;
|
|
1808
|
+
|
|
1809
|
+
/** Used to resolve the decompiled source of functions. */
|
|
1810
|
+
var funcToString = funcProto.toString;
|
|
1811
|
+
|
|
1812
|
+
/** Used to check objects for own properties. */
|
|
1813
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1814
|
+
|
|
1815
|
+
/** Used to infer the `Object` constructor. */
|
|
1816
|
+
var objectCtorString = funcToString.call(Object);
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* Used to resolve the
|
|
1820
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
1821
|
+
* of values.
|
|
1822
|
+
*/
|
|
1823
|
+
var objectToString = objectProto.toString;
|
|
1824
|
+
|
|
1825
|
+
/** Built-in value references. */
|
|
1826
|
+
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
1830
|
+
* and has a `typeof` result of "object".
|
|
1831
|
+
*
|
|
1832
|
+
* @static
|
|
1833
|
+
* @memberOf _
|
|
1834
|
+
* @since 4.0.0
|
|
1835
|
+
* @category Lang
|
|
1836
|
+
* @param {*} value The value to check.
|
|
1837
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
1838
|
+
* @example
|
|
1839
|
+
*
|
|
1840
|
+
* _.isObjectLike({});
|
|
1841
|
+
* // => true
|
|
1842
|
+
*
|
|
1843
|
+
* _.isObjectLike([1, 2, 3]);
|
|
1844
|
+
* // => true
|
|
1845
|
+
*
|
|
1846
|
+
* _.isObjectLike(_.noop);
|
|
1847
|
+
* // => false
|
|
1848
|
+
*
|
|
1849
|
+
* _.isObjectLike(null);
|
|
1850
|
+
* // => false
|
|
1851
|
+
*/
|
|
1852
|
+
function isObjectLike(value) {
|
|
1853
|
+
return !!value && typeof value == 'object';
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
/**
|
|
1857
|
+
* Checks if `value` is a plain object, that is, an object created by the
|
|
1858
|
+
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
|
1859
|
+
*
|
|
1860
|
+
* @static
|
|
1861
|
+
* @memberOf _
|
|
1862
|
+
* @since 0.8.0
|
|
1863
|
+
* @category Lang
|
|
1864
|
+
* @param {*} value The value to check.
|
|
1865
|
+
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
|
1866
|
+
* @example
|
|
1867
|
+
*
|
|
1868
|
+
* function Foo() {
|
|
1869
|
+
* this.a = 1;
|
|
1870
|
+
* }
|
|
1871
|
+
*
|
|
1872
|
+
* _.isPlainObject(new Foo);
|
|
1873
|
+
* // => false
|
|
1874
|
+
*
|
|
1875
|
+
* _.isPlainObject([1, 2, 3]);
|
|
1876
|
+
* // => false
|
|
1877
|
+
*
|
|
1878
|
+
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
|
1879
|
+
* // => true
|
|
1880
|
+
*
|
|
1881
|
+
* _.isPlainObject(Object.create(null));
|
|
1882
|
+
* // => true
|
|
1883
|
+
*/
|
|
1884
|
+
function isPlainObject$1(value) {
|
|
1885
|
+
if (!isObjectLike(value) ||
|
|
1886
|
+
objectToString.call(value) != objectTag || isHostObject(value)) {
|
|
1887
|
+
return false;
|
|
1888
|
+
}
|
|
1889
|
+
var proto = getPrototype(value);
|
|
1890
|
+
if (proto === null) {
|
|
1891
|
+
return true;
|
|
1892
|
+
}
|
|
1893
|
+
var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
|
|
1894
|
+
return (typeof Ctor == 'function' &&
|
|
1895
|
+
Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString);
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
var lodash_isplainobject = isPlainObject$1;
|
|
1899
|
+
|
|
1900
|
+
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
1901
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1902
|
+
};object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
|
|
1903
|
+
const lodash_isplainobject_1 = __importDefault(lodash_isplainobject);
|
|
1753
1904
|
function isObject(val) {
|
|
1754
|
-
return val !== null
|
|
1905
|
+
return val !== null
|
|
1906
|
+
&& typeof val === 'object';
|
|
1755
1907
|
}
|
|
1756
1908
|
object.isObject = isObject;
|
|
1757
1909
|
function isntObject(val) {
|
|
1758
1910
|
return !isObject(val);
|
|
1759
1911
|
}
|
|
1760
1912
|
object.isntObject = isntObject;
|
|
1761
|
-
function
|
|
1762
|
-
return
|
|
1913
|
+
function isPlainObject(val) {
|
|
1914
|
+
return (0, lodash_isplainobject_1.default)(val);
|
|
1915
|
+
}
|
|
1916
|
+
object.isPlainObject = isPlainObject;
|
|
1917
|
+
function isntPlainObject(val) {
|
|
1918
|
+
return !isPlainObject(val);
|
|
1763
1919
|
}
|
|
1764
|
-
object.
|
|
1920
|
+
object.isntPlainObject = isntPlainObject;
|
|
1765
1921
|
function isEmptyObject(val) {
|
|
1766
1922
|
return Object.keys(val).length === 0;
|
|
1767
1923
|
}
|
|
@@ -1796,7 +1952,7 @@
|
|
|
1796
1952
|
return (0, array_1.isArray)(val) || (0, object_1.isObject)(val);
|
|
1797
1953
|
}
|
|
1798
1954
|
function isJsonRpcNotification(val) {
|
|
1799
|
-
return (0, object_1.
|
|
1955
|
+
return (0, object_1.isPlainObject)(val)
|
|
1800
1956
|
&& (0, string_1.isString)(val.jsonrpc)
|
|
1801
1957
|
&& (0, string_1.isString)(val.method)
|
|
1802
1958
|
&& (0, undefined_1.isUndefined)(val.id)
|
|
@@ -1808,7 +1964,7 @@
|
|
|
1808
1964
|
}
|
|
1809
1965
|
jsonRpc.isntJsonRpcNotification = isntJsonRpcNotification;
|
|
1810
1966
|
function isJsonRpcRequest(val) {
|
|
1811
|
-
return (0, object_1.
|
|
1967
|
+
return (0, object_1.isPlainObject)(val)
|
|
1812
1968
|
&& (0, string_1.isString)(val.jsonrpc)
|
|
1813
1969
|
&& (0, string_1.isString)(val.method)
|
|
1814
1970
|
&& isJsonRpcId(val.id)
|
|
@@ -1820,10 +1976,10 @@
|
|
|
1820
1976
|
}
|
|
1821
1977
|
jsonRpc.isntJsonRpcRequest = isntJsonRpcRequest;
|
|
1822
1978
|
function isJsonRpcSuccess(val) {
|
|
1823
|
-
return (0, object_1.
|
|
1979
|
+
return (0, object_1.isPlainObject)(val)
|
|
1824
1980
|
&& (0, string_1.isString)(val.jsonrpc)
|
|
1825
1981
|
&& (0, string_1.isString)(val.id)
|
|
1826
|
-
&&
|
|
1982
|
+
&& 'result' in val;
|
|
1827
1983
|
}
|
|
1828
1984
|
jsonRpc.isJsonRpcSuccess = isJsonRpcSuccess;
|
|
1829
1985
|
function isntJsonRpcSuccess(val) {
|
|
@@ -1831,7 +1987,7 @@
|
|
|
1831
1987
|
}
|
|
1832
1988
|
jsonRpc.isntJsonRpcSuccess = isntJsonRpcSuccess;
|
|
1833
1989
|
function isJsonRpcError(val) {
|
|
1834
|
-
return (0, object_1.
|
|
1990
|
+
return (0, object_1.isPlainObject)(val)
|
|
1835
1991
|
&& (0, string_1.isString)(val.jsonrpc)
|
|
1836
1992
|
&& isJsonRpcId(val.id)
|
|
1837
1993
|
&& isJsonRpcErrorObject(val.error);
|
|
@@ -1842,7 +1998,7 @@
|
|
|
1842
1998
|
}
|
|
1843
1999
|
jsonRpc.isntJsonRpcError = isntJsonRpcError;
|
|
1844
2000
|
function isJsonRpcErrorObject(val) {
|
|
1845
|
-
return (0, object_1.
|
|
2001
|
+
return (0, object_1.isPlainObject)(val)
|
|
1846
2002
|
&& (0, number_1.isNumber)(val.code)
|
|
1847
2003
|
&& (0, string_1.isString)(val.message)
|
|
1848
2004
|
&& ((0, undefined_1.isUndefined)(val.data) || (0, object_1.isObject)(val.data));
|
|
@@ -1933,7 +2089,7 @@
|
|
|
1933
2089
|
};chunkByAsync$1.chunkByAsync = void 0;
|
|
1934
2090
|
const types_1$h = es2018;
|
|
1935
2091
|
function chunkByAsync(iterable, predicate) {
|
|
1936
|
-
if (types_1$h.isAsyncIterable(iterable)) {
|
|
2092
|
+
if ((0, types_1$h.isAsyncIterable)(iterable)) {
|
|
1937
2093
|
return chunkByAsyncIterable(iterable);
|
|
1938
2094
|
}
|
|
1939
2095
|
else {
|
|
@@ -1991,7 +2147,7 @@
|
|
|
1991
2147
|
const subject_1$h = subject;
|
|
1992
2148
|
class ChunkByAsyncOperator extends subject_1$h.Subject {
|
|
1993
2149
|
chunkByAsync(...args) {
|
|
1994
|
-
return utils_1$18.applyChainingAsync(this.subject, chunk_by_async_1$2.chunkByAsync, args);
|
|
2150
|
+
return (0, utils_1$18.applyChainingAsync)(this.subject, chunk_by_async_1$2.chunkByAsync, args);
|
|
1995
2151
|
}
|
|
1996
2152
|
}
|
|
1997
2153
|
chunkByAsync$2.ChunkByAsyncOperator = ChunkByAsyncOperator;
|
|
@@ -2022,11 +2178,11 @@
|
|
|
2022
2178
|
const types_1$g = es2018;
|
|
2023
2179
|
const go_1$e = es2018$2;
|
|
2024
2180
|
function concatAsync(iterable, ...otherIterables) {
|
|
2025
|
-
return go_1$e.go(function () {
|
|
2181
|
+
return (0, go_1$e.go)(function () {
|
|
2026
2182
|
return __asyncGenerator$k(this, arguments, function* () {
|
|
2027
2183
|
var e_1, _a;
|
|
2028
2184
|
for (const iter of [iterable, ...otherIterables]) {
|
|
2029
|
-
if (types_1$g.isAsyncIterable(iter)) {
|
|
2185
|
+
if ((0, types_1$g.isAsyncIterable)(iter)) {
|
|
2030
2186
|
try {
|
|
2031
2187
|
for (var iter_1 = (e_1 = void 0, __asyncValues$q(iter)), iter_1_1; iter_1_1 = yield __await$k(iter_1.next()), !iter_1_1.done;) {
|
|
2032
2188
|
const element = iter_1_1.value;
|
|
@@ -2058,7 +2214,7 @@
|
|
|
2058
2214
|
const subject_1$g = subject;
|
|
2059
2215
|
class ConcatAsyncOperator extends subject_1$g.Subject {
|
|
2060
2216
|
concatAsync(...args) {
|
|
2061
|
-
return utils_1$17.applyChainingAsync(this.subject, concat_async_1$2.concatAsync, args);
|
|
2217
|
+
return (0, utils_1$17.applyChainingAsync)(this.subject, concat_async_1$2.concatAsync, args);
|
|
2062
2218
|
}
|
|
2063
2219
|
}
|
|
2064
2220
|
concatAsync$2.ConcatAsyncOperator = ConcatAsyncOperator;
|
|
@@ -2130,11 +2286,11 @@
|
|
|
2130
2286
|
const utils_1$16 = utils;
|
|
2131
2287
|
const errors_1$e = es2018$1;
|
|
2132
2288
|
function dropAsync(iterable, count) {
|
|
2133
|
-
errors_1$e.assert(Number.isInteger(count), 'The parameter count must be an integer');
|
|
2134
|
-
errors_1$e.assert(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
2289
|
+
(0, errors_1$e.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
2290
|
+
(0, errors_1$e.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
2135
2291
|
if (count === 0)
|
|
2136
|
-
return utils_1$16.copyAsyncIterable(iterable);
|
|
2137
|
-
return go_1$d.go(function () {
|
|
2292
|
+
return (0, utils_1$16.copyAsyncIterable)(iterable);
|
|
2293
|
+
return (0, go_1$d.go)(function () {
|
|
2138
2294
|
var _a;
|
|
2139
2295
|
return __asyncGenerator$i(this, arguments, function* () {
|
|
2140
2296
|
const iterator = iterable[Symbol.asyncIterator]();
|
|
@@ -2166,7 +2322,7 @@
|
|
|
2166
2322
|
const drop_async_1$1 = dropAsync$1;
|
|
2167
2323
|
class DropAsyncOperator extends async_iterable_operator_base_1$g.AsyncIterableOperatorBase {
|
|
2168
2324
|
dropAsync(...args) {
|
|
2169
|
-
return utils_1$15.applyChainingAsync(this.subject, drop_async_1$1.dropAsync, args);
|
|
2325
|
+
return (0, utils_1$15.applyChainingAsync)(this.subject, drop_async_1$1.dropAsync, args);
|
|
2170
2326
|
}
|
|
2171
2327
|
}
|
|
2172
2328
|
dropAsync$2.DropAsyncOperator = DropAsyncOperator;
|
|
@@ -2207,11 +2363,11 @@
|
|
|
2207
2363
|
const utils_1$14 = utils;
|
|
2208
2364
|
const errors_1$d = es2018$1;
|
|
2209
2365
|
function dropRightAsync(iterable, count) {
|
|
2210
|
-
errors_1$d.assert(Number.isInteger(count), 'The parameter count must be an integer');
|
|
2211
|
-
errors_1$d.assert(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
2366
|
+
(0, errors_1$d.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
2367
|
+
(0, errors_1$d.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
2212
2368
|
if (count === 0)
|
|
2213
|
-
return utils_1$14.copyAsyncIterable(iterable);
|
|
2214
|
-
return go_1$c.go(function () {
|
|
2369
|
+
return (0, utils_1$14.copyAsyncIterable)(iterable);
|
|
2370
|
+
return (0, go_1$c.go)(function () {
|
|
2215
2371
|
return __asyncGenerator$h(this, arguments, function* () {
|
|
2216
2372
|
const arr = yield __await$h(toArrayAsync$3(iterable));
|
|
2217
2373
|
const result = arr.slice(0, -count);
|
|
@@ -2250,7 +2406,7 @@
|
|
|
2250
2406
|
const drop_right_async_1$1 = dropRightAsync$1;
|
|
2251
2407
|
class DropRightAsyncOperator extends async_iterable_operator_base_1$f.AsyncIterableOperatorBase {
|
|
2252
2408
|
dropRightAsync(...args) {
|
|
2253
|
-
return utils_1$13.applyChainingAsync(this.subject, drop_right_async_1$1.dropRightAsync, args);
|
|
2409
|
+
return (0, utils_1$13.applyChainingAsync)(this.subject, drop_right_async_1$1.dropRightAsync, args);
|
|
2254
2410
|
}
|
|
2255
2411
|
}
|
|
2256
2412
|
dropRightAsync$2.DropRightAsyncOperator = DropRightAsyncOperator;
|
|
@@ -2273,7 +2429,7 @@
|
|
|
2273
2429
|
};dropUntilAsync$1.dropUntilAsync = void 0;
|
|
2274
2430
|
const types_1$f = es2018;
|
|
2275
2431
|
function dropUntilAsync(iterable, predicate) {
|
|
2276
|
-
if (types_1$f.isAsyncIterable(iterable)) {
|
|
2432
|
+
if ((0, types_1$f.isAsyncIterable)(iterable)) {
|
|
2277
2433
|
return dropUntilAsyncIterable(iterable);
|
|
2278
2434
|
}
|
|
2279
2435
|
else {
|
|
@@ -2334,7 +2490,7 @@
|
|
|
2334
2490
|
const drop_until_async_1$2 = dropUntilAsync$1;
|
|
2335
2491
|
class DropUntilAsyncOperator extends subject_1$f.Subject {
|
|
2336
2492
|
dropUntilAsync(...args) {
|
|
2337
|
-
return utils_1$12.applyChainingAsync(this.subject, drop_until_async_1$2.dropUntilAsync, args);
|
|
2493
|
+
return (0, utils_1$12.applyChainingAsync)(this.subject, drop_until_async_1$2.dropUntilAsync, args);
|
|
2338
2494
|
}
|
|
2339
2495
|
}
|
|
2340
2496
|
dropUntilAsync$2.DropUntilAsyncOperator = DropUntilAsyncOperator;
|
|
@@ -2364,7 +2520,7 @@
|
|
|
2364
2520
|
};filterAsync$1.filterAsync = void 0;
|
|
2365
2521
|
const types_1$e = es2018;
|
|
2366
2522
|
function filterAsync(iterable, predicate) {
|
|
2367
|
-
if (types_1$e.isAsyncIterable(iterable)) {
|
|
2523
|
+
if ((0, types_1$e.isAsyncIterable)(iterable)) {
|
|
2368
2524
|
return filterAsyncIterable(iterable);
|
|
2369
2525
|
}
|
|
2370
2526
|
else {
|
|
@@ -2410,7 +2566,7 @@
|
|
|
2410
2566
|
const filter_async_1$2 = filterAsync$1;
|
|
2411
2567
|
class FilterAsyncOperator extends subject_1$e.Subject {
|
|
2412
2568
|
filterAsync(...args) {
|
|
2413
|
-
return utils_1$11.applyChainingAsync(this.subject, filter_async_1$2.filterAsync, args);
|
|
2569
|
+
return (0, utils_1$11.applyChainingAsync)(this.subject, filter_async_1$2.filterAsync, args);
|
|
2414
2570
|
}
|
|
2415
2571
|
}
|
|
2416
2572
|
filterAsync$2.FilterAsyncOperator = FilterAsyncOperator;
|
|
@@ -2449,7 +2605,7 @@
|
|
|
2449
2605
|
};flattenByAsync$2.flattenByAsync = void 0;
|
|
2450
2606
|
const types_1$d = es2018;
|
|
2451
2607
|
function flattenByAsync$1(iterable, predicate) {
|
|
2452
|
-
if (types_1$d.isAsyncIterable(iterable)) {
|
|
2608
|
+
if ((0, types_1$d.isAsyncIterable)(iterable)) {
|
|
2453
2609
|
return flattenByAsyncIterable(iterable);
|
|
2454
2610
|
}
|
|
2455
2611
|
else {
|
|
@@ -2497,23 +2653,23 @@
|
|
|
2497
2653
|
}
|
|
2498
2654
|
flattenByAsync$2.flattenByAsync = flattenByAsync$1;
|
|
2499
2655
|
function isFiniteIterable$1(val) {
|
|
2500
|
-
return types_1$d.isIterable(val) && types_1$d.isntChar(val);
|
|
2656
|
+
return (0, types_1$d.isIterable)(val) && (0, types_1$d.isntChar)(val);
|
|
2501
2657
|
}
|
|
2502
2658
|
|
|
2503
2659
|
flattenDeepAsync$2.flattenDeepAsync = void 0;
|
|
2504
2660
|
const flatten_by_async_1$3 = flattenByAsync$2;
|
|
2505
2661
|
const errors_1$c = es2018$1;
|
|
2506
2662
|
function flattenDeepAsync$1(iterable, depth = Infinity) {
|
|
2507
|
-
errors_1$c.assert(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
|
|
2508
|
-
errors_1$c.assert(depth >= 0, 'The parameter depth must be greater than or equal to 0');
|
|
2509
|
-
return flatten_by_async_1$3.flattenByAsync(iterable, (_, level) => level <= depth);
|
|
2663
|
+
(0, errors_1$c.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
|
|
2664
|
+
(0, errors_1$c.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
|
|
2665
|
+
return (0, flatten_by_async_1$3.flattenByAsync)(iterable, (_, level) => level <= depth);
|
|
2510
2666
|
}
|
|
2511
2667
|
flattenDeepAsync$2.flattenDeepAsync = flattenDeepAsync$1;
|
|
2512
2668
|
|
|
2513
2669
|
flattenAsync$1.flattenAsync = void 0;
|
|
2514
2670
|
const flatten_deep_async_1$2 = flattenDeepAsync$2;
|
|
2515
2671
|
function flattenAsync(iterable) {
|
|
2516
|
-
return flatten_deep_async_1$2.flattenDeepAsync(iterable, 1);
|
|
2672
|
+
return (0, flatten_deep_async_1$2.flattenDeepAsync)(iterable, 1);
|
|
2517
2673
|
}
|
|
2518
2674
|
flattenAsync$1.flattenAsync = flattenAsync;
|
|
2519
2675
|
|
|
@@ -2523,7 +2679,7 @@
|
|
|
2523
2679
|
const flatten_async_1$1 = flattenAsync$1;
|
|
2524
2680
|
class FlattenAsyncOperator extends async_iterable_operator_base_1$e.AsyncIterableOperatorBase {
|
|
2525
2681
|
flattenAsync(...args) {
|
|
2526
|
-
return utils_1$10.applyChainingAsync(this.subject, flatten_async_1$1.flattenAsync, args);
|
|
2682
|
+
return (0, utils_1$10.applyChainingAsync)(this.subject, flatten_async_1$1.flattenAsync, args);
|
|
2527
2683
|
}
|
|
2528
2684
|
}
|
|
2529
2685
|
flattenAsync$2.FlattenAsyncOperator = FlattenAsyncOperator;
|
|
@@ -2536,7 +2692,7 @@
|
|
|
2536
2692
|
const flatten_by_async_1$2 = flattenByAsync$2;
|
|
2537
2693
|
class FlattenByAsync extends subject_1$d.Subject {
|
|
2538
2694
|
flattenByAsync(...args) {
|
|
2539
|
-
return utils_1$$.applyChainingAsync(this.subject, flatten_by_async_1$2.flattenByAsync, args);
|
|
2695
|
+
return (0, utils_1$$.applyChainingAsync)(this.subject, flatten_by_async_1$2.flattenByAsync, args);
|
|
2540
2696
|
}
|
|
2541
2697
|
}
|
|
2542
2698
|
flattenByAsync.FlattenByAsync = FlattenByAsync;
|
|
@@ -2549,7 +2705,7 @@
|
|
|
2549
2705
|
const flatten_deep_async_1$1 = flattenDeepAsync$2;
|
|
2550
2706
|
class FlattenDeepAsyncOperator extends async_iterable_operator_base_1$d.AsyncIterableOperatorBase {
|
|
2551
2707
|
flattenDeepAsync(...args) {
|
|
2552
|
-
return utils_1$_.applyChainingAsync(this.subject, flatten_deep_async_1$1.flattenDeepAsync, args);
|
|
2708
|
+
return (0, utils_1$_.applyChainingAsync)(this.subject, flatten_deep_async_1$1.flattenDeepAsync, args);
|
|
2553
2709
|
}
|
|
2554
2710
|
}
|
|
2555
2711
|
flattenDeepAsync.FlattenDeepAsyncOperator = FlattenDeepAsyncOperator;
|
|
@@ -2579,7 +2735,7 @@
|
|
|
2579
2735
|
};mapAsync$1.mapAsync = void 0;
|
|
2580
2736
|
const types_1$c = es2018;
|
|
2581
2737
|
function mapAsync(iterable, fn) {
|
|
2582
|
-
if (types_1$c.isAsyncIterable(iterable)) {
|
|
2738
|
+
if ((0, types_1$c.isAsyncIterable)(iterable)) {
|
|
2583
2739
|
return mapAsyncIterable(iterable);
|
|
2584
2740
|
}
|
|
2585
2741
|
else {
|
|
@@ -2623,7 +2779,7 @@
|
|
|
2623
2779
|
const map_async_1$2 = mapAsync$1;
|
|
2624
2780
|
class MapAsyncOperator extends subject_1$c.Subject {
|
|
2625
2781
|
mapAsync(...args) {
|
|
2626
|
-
return utils_1$Z.applyChainingAsync(this.subject, map_async_1$2.mapAsync, args);
|
|
2782
|
+
return (0, utils_1$Z.applyChainingAsync)(this.subject, map_async_1$2.mapAsync, args);
|
|
2627
2783
|
}
|
|
2628
2784
|
}
|
|
2629
2785
|
mapAsync$2.MapAsyncOperator = MapAsyncOperator;
|
|
@@ -2659,11 +2815,11 @@
|
|
|
2659
2815
|
const go_1$b = es2018$2;
|
|
2660
2816
|
const errors_1$b = es2018$1;
|
|
2661
2817
|
function repeatAsync(iterable, times) {
|
|
2662
|
-
errors_1$b.assert(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
2663
|
-
errors_1$b.assert(times >= 0, 'The parameter times must be greater than or equal to 0');
|
|
2818
|
+
(0, errors_1$b.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
2819
|
+
(0, errors_1$b.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
|
|
2664
2820
|
if (times === Infinity)
|
|
2665
2821
|
warnInfiniteLoop$1();
|
|
2666
|
-
return go_1$b.go(function () {
|
|
2822
|
+
return (0, go_1$b.go)(function () {
|
|
2667
2823
|
return __asyncGenerator$c(this, arguments, function* () {
|
|
2668
2824
|
var e_1, _a;
|
|
2669
2825
|
const cache = [];
|
|
@@ -2707,7 +2863,7 @@
|
|
|
2707
2863
|
const repeat_async_1$1 = repeatAsync$1;
|
|
2708
2864
|
class RepeatAsyncOperator extends async_iterable_operator_base_1$c.AsyncIterableOperatorBase {
|
|
2709
2865
|
repeatAsync(...args) {
|
|
2710
|
-
return utils_1$Y.applyChainingAsync(this.subject, repeat_async_1$1.repeatAsync, args);
|
|
2866
|
+
return (0, utils_1$Y.applyChainingAsync)(this.subject, repeat_async_1$1.repeatAsync, args);
|
|
2711
2867
|
}
|
|
2712
2868
|
}
|
|
2713
2869
|
repeatAsync$2.RepeatAsyncOperator = RepeatAsyncOperator;
|
|
@@ -2738,11 +2894,11 @@
|
|
|
2738
2894
|
const go_1$a = es2018$2;
|
|
2739
2895
|
const errors_1$a = es2018$1;
|
|
2740
2896
|
function sliceAsync(iterable, start, end = Infinity) {
|
|
2741
|
-
errors_1$a.assert(Number.isInteger(start), 'The parameter start must be an integer');
|
|
2742
|
-
errors_1$a.assert(start >= 0, 'The parameter start must be greater than or equal to 0');
|
|
2743
|
-
errors_1$a.assert(Number.isInteger(end), 'The parameter end must be an integer');
|
|
2744
|
-
errors_1$a.assert(end >= start, 'The parameter end must be greater than or equal to start');
|
|
2745
|
-
return go_1$a.go(function () {
|
|
2897
|
+
(0, errors_1$a.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
2898
|
+
(0, errors_1$a.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
|
|
2899
|
+
(0, errors_1$a.assert)(Number.isInteger(end), 'The parameter end must be an integer');
|
|
2900
|
+
(0, errors_1$a.assert)(end >= start, 'The parameter end must be greater than or equal to start');
|
|
2901
|
+
return (0, go_1$a.go)(function () {
|
|
2746
2902
|
return __asyncGenerator$b(this, arguments, function* () {
|
|
2747
2903
|
var e_1, _a;
|
|
2748
2904
|
let index = 0;
|
|
@@ -2774,7 +2930,7 @@
|
|
|
2774
2930
|
const slice_async_1$1 = sliceAsync$1;
|
|
2775
2931
|
class SliceAsyncOperator extends async_iterable_operator_base_1$b.AsyncIterableOperatorBase {
|
|
2776
2932
|
sliceAsync(...args) {
|
|
2777
|
-
return utils_1$X.applyChainingAsync(this.subject, slice_async_1$1.sliceAsync, args);
|
|
2933
|
+
return (0, utils_1$X.applyChainingAsync)(this.subject, slice_async_1$1.sliceAsync, args);
|
|
2778
2934
|
}
|
|
2779
2935
|
}
|
|
2780
2936
|
sliceAsync$2.SliceAsyncOperator = SliceAsyncOperator;
|
|
@@ -2836,7 +2992,7 @@
|
|
|
2836
2992
|
const split_async_1$1 = splitAsync$1;
|
|
2837
2993
|
class SplitAsyncOperator extends async_iterable_operator_base_1$a.AsyncIterableOperatorBase {
|
|
2838
2994
|
splitAsync(...args) {
|
|
2839
|
-
return utils_1$W.applyChainingAsync(this.subject, split_async_1$1.splitAsync, args);
|
|
2995
|
+
return (0, utils_1$W.applyChainingAsync)(this.subject, split_async_1$1.splitAsync, args);
|
|
2840
2996
|
}
|
|
2841
2997
|
}
|
|
2842
2998
|
splitAsync$2.SplitAsyncOperator = SplitAsyncOperator;
|
|
@@ -2866,7 +3022,7 @@
|
|
|
2866
3022
|
};splitByAsync$1.splitByAsync = void 0;
|
|
2867
3023
|
const types_1$b = es2018;
|
|
2868
3024
|
function splitByAsync(iterable, predicate) {
|
|
2869
|
-
if (types_1$b.isAsyncIterable(iterable)) {
|
|
3025
|
+
if ((0, types_1$b.isAsyncIterable)(iterable)) {
|
|
2870
3026
|
return splitByAsyncIterable(iterable);
|
|
2871
3027
|
}
|
|
2872
3028
|
else {
|
|
@@ -2926,7 +3082,7 @@
|
|
|
2926
3082
|
const split_by_async_1$2 = splitByAsync$1;
|
|
2927
3083
|
class SplitByAsyncOperator extends subject_1$b.Subject {
|
|
2928
3084
|
splitByAsync(...args) {
|
|
2929
|
-
return utils_1$V.applyChainingAsync(this.subject, split_by_async_1$2.splitByAsync, args);
|
|
3085
|
+
return (0, utils_1$V.applyChainingAsync)(this.subject, split_by_async_1$2.splitByAsync, args);
|
|
2930
3086
|
}
|
|
2931
3087
|
}
|
|
2932
3088
|
splitByAsync$2.SplitByAsyncOperator = SplitByAsyncOperator;
|
|
@@ -2957,9 +3113,9 @@
|
|
|
2957
3113
|
const go_1$9 = es2018$2;
|
|
2958
3114
|
const errors_1$9 = es2018$1;
|
|
2959
3115
|
function takeAsync(iterable, count) {
|
|
2960
|
-
errors_1$9.assert(Number.isInteger(count), 'The parameter count must be an integer');
|
|
2961
|
-
errors_1$9.assert(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
2962
|
-
return go_1$9.go(function () {
|
|
3116
|
+
(0, errors_1$9.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
3117
|
+
(0, errors_1$9.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
3118
|
+
return (0, go_1$9.go)(function () {
|
|
2963
3119
|
return __asyncGenerator$8(this, arguments, function* () {
|
|
2964
3120
|
var e_1, _a;
|
|
2965
3121
|
if (count === 0)
|
|
@@ -2991,7 +3147,7 @@
|
|
|
2991
3147
|
const take_async_1$1 = takeAsync$1;
|
|
2992
3148
|
class TakeAsyncOperator extends async_iterable_operator_base_1$9.AsyncIterableOperatorBase {
|
|
2993
3149
|
takeAsync(...args) {
|
|
2994
|
-
return utils_1$U.applyChainingAsync(this.subject, take_async_1$1.takeAsync, args);
|
|
3150
|
+
return (0, utils_1$U.applyChainingAsync)(this.subject, take_async_1$1.takeAsync, args);
|
|
2995
3151
|
}
|
|
2996
3152
|
}
|
|
2997
3153
|
takeAsync$2.TakeAsyncOperator = TakeAsyncOperator;
|
|
@@ -3027,9 +3183,9 @@
|
|
|
3027
3183
|
const go_1$8 = es2018$2;
|
|
3028
3184
|
const errors_1$8 = es2018$1;
|
|
3029
3185
|
function takeRightAsync(iterable, count) {
|
|
3030
|
-
errors_1$8.assert(Number.isInteger(count), 'The parameter count must be an integer');
|
|
3031
|
-
errors_1$8.assert(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
3032
|
-
return go_1$8.go(function () {
|
|
3186
|
+
(0, errors_1$8.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
3187
|
+
(0, errors_1$8.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
3188
|
+
return (0, go_1$8.go)(function () {
|
|
3033
3189
|
var _a;
|
|
3034
3190
|
return __asyncGenerator$7(this, arguments, function* () {
|
|
3035
3191
|
const iterator = iterable[Symbol.asyncIterator]();
|
|
@@ -3059,7 +3215,7 @@
|
|
|
3059
3215
|
const take_right_async_1$1 = takeRightAsync$1;
|
|
3060
3216
|
class TakeRightAsyncOperator extends async_iterable_operator_base_1$8.AsyncIterableOperatorBase {
|
|
3061
3217
|
takeRightAsync(...args) {
|
|
3062
|
-
return utils_1$T.applyChainingAsync(this.subject, take_right_async_1$1.takeRightAsync, args);
|
|
3218
|
+
return (0, utils_1$T.applyChainingAsync)(this.subject, take_right_async_1$1.takeRightAsync, args);
|
|
3063
3219
|
}
|
|
3064
3220
|
}
|
|
3065
3221
|
takeRightAsync$2.TakeRightAsyncOperator = TakeRightAsyncOperator;
|
|
@@ -3089,7 +3245,7 @@
|
|
|
3089
3245
|
};takeUntilAsync$1.takeUntilAsync = void 0;
|
|
3090
3246
|
const types_1$a = es2018;
|
|
3091
3247
|
function takeUntilAsync(iterable, predicate) {
|
|
3092
|
-
if (types_1$a.isAsyncIterable(iterable)) {
|
|
3248
|
+
if ((0, types_1$a.isAsyncIterable)(iterable)) {
|
|
3093
3249
|
return takeUntilAsyncIterable(iterable);
|
|
3094
3250
|
}
|
|
3095
3251
|
else {
|
|
@@ -3137,7 +3293,7 @@
|
|
|
3137
3293
|
const take_until_async_1$2 = takeUntilAsync$1;
|
|
3138
3294
|
class TakeUntilAsyncOperator extends subject_1$a.Subject {
|
|
3139
3295
|
takeUntilAsync(...args) {
|
|
3140
|
-
return utils_1$S.applyChainingAsync(this.subject, take_until_async_1$2.takeUntilAsync, args);
|
|
3296
|
+
return (0, utils_1$S.applyChainingAsync)(this.subject, take_until_async_1$2.takeUntilAsync, args);
|
|
3141
3297
|
}
|
|
3142
3298
|
}
|
|
3143
3299
|
takeUntilAsync$2.TakeUntilAsyncOperator = TakeUntilAsyncOperator;
|
|
@@ -3167,7 +3323,7 @@
|
|
|
3167
3323
|
};tapAsync$1.tapAsync = void 0;
|
|
3168
3324
|
const types_1$9 = es2018;
|
|
3169
3325
|
function tapAsync(iterable, fn) {
|
|
3170
|
-
if (types_1$9.isAsyncIterable(iterable)) {
|
|
3326
|
+
if ((0, types_1$9.isAsyncIterable)(iterable)) {
|
|
3171
3327
|
return tapAsyncIterable(iterable);
|
|
3172
3328
|
}
|
|
3173
3329
|
else {
|
|
@@ -3213,7 +3369,7 @@
|
|
|
3213
3369
|
const tap_async_1$2 = tapAsync$1;
|
|
3214
3370
|
class TapAsyncOperator extends subject_1$9.Subject {
|
|
3215
3371
|
tapAsync(...args) {
|
|
3216
|
-
return utils_1$R.applyChainingAsync(this.subject, tap_async_1$2.tapAsync, args);
|
|
3372
|
+
return (0, utils_1$R.applyChainingAsync)(this.subject, tap_async_1$2.tapAsync, args);
|
|
3217
3373
|
}
|
|
3218
3374
|
}
|
|
3219
3375
|
tapAsync$2.TapAsyncOperator = TapAsyncOperator;
|
|
@@ -3259,7 +3415,7 @@
|
|
|
3259
3415
|
const transform_async_1$2 = transformAsync$1;
|
|
3260
3416
|
class TransformAsyncOperator extends subject_1$8.Subject {
|
|
3261
3417
|
transformAsync(...args) {
|
|
3262
|
-
return utils_1$Q.applyChainingAsync(this.subject, transform_async_1$2.transformAsync, args);
|
|
3418
|
+
return (0, utils_1$Q.applyChainingAsync)(this.subject, transform_async_1$2.transformAsync, args);
|
|
3263
3419
|
}
|
|
3264
3420
|
}
|
|
3265
3421
|
transformAsync$2.TransformAsyncOperator = TransformAsyncOperator;
|
|
@@ -3317,7 +3473,7 @@
|
|
|
3317
3473
|
const uniq_async_1$1 = uniqAsync$1;
|
|
3318
3474
|
class UniqAsyncOperator extends async_iterable_operator_base_1$7.AsyncIterableOperatorBase {
|
|
3319
3475
|
uniqAsync(...args) {
|
|
3320
|
-
return utils_1$P.applyChainingAsync(this.subject, uniq_async_1$1.uniqAsync, args);
|
|
3476
|
+
return (0, utils_1$P.applyChainingAsync)(this.subject, uniq_async_1$1.uniqAsync, args);
|
|
3321
3477
|
}
|
|
3322
3478
|
}
|
|
3323
3479
|
uniqAsync$2.UniqAsyncOperator = UniqAsyncOperator;
|
|
@@ -3347,7 +3503,7 @@
|
|
|
3347
3503
|
};uniqByAsync$1.uniqByAsync = void 0;
|
|
3348
3504
|
const types_1$8 = es2018;
|
|
3349
3505
|
function uniqByAsync(iterable, fn) {
|
|
3350
|
-
if (types_1$8.isAsyncIterable(iterable)) {
|
|
3506
|
+
if ((0, types_1$8.isAsyncIterable)(iterable)) {
|
|
3351
3507
|
return uniqByAsyncIterable(iterable);
|
|
3352
3508
|
}
|
|
3353
3509
|
else {
|
|
@@ -3401,7 +3557,7 @@
|
|
|
3401
3557
|
const uniq_by_async_1$2 = uniqByAsync$1;
|
|
3402
3558
|
class UniqByAsyncOperator extends subject_1$7.Subject {
|
|
3403
3559
|
uniqByAsync(...args) {
|
|
3404
|
-
return utils_1$O.applyChainingAsync(this.subject, uniq_by_async_1$2.uniqByAsync, args);
|
|
3560
|
+
return (0, utils_1$O.applyChainingAsync)(this.subject, uniq_by_async_1$2.uniqByAsync, args);
|
|
3405
3561
|
}
|
|
3406
3562
|
}
|
|
3407
3563
|
uniqByAsync$2.UniqByAsyncOperator = UniqByAsyncOperator;
|
|
@@ -3437,7 +3593,7 @@
|
|
|
3437
3593
|
return __asyncGenerator$1(this, arguments, function* zipWithSize_1() {
|
|
3438
3594
|
const length = iterables.length;
|
|
3439
3595
|
const iterators = iterables.map(iterable => {
|
|
3440
|
-
if (types_1$7.isAsyncIterable(iterable)) {
|
|
3596
|
+
if ((0, types_1$7.isAsyncIterable)(iterable)) {
|
|
3441
3597
|
return [Kind.Async, iterable[Symbol.asyncIterator]()];
|
|
3442
3598
|
}
|
|
3443
3599
|
else {
|
|
@@ -3486,7 +3642,7 @@
|
|
|
3486
3642
|
const zip_async_1$2 = zipAsync$1;
|
|
3487
3643
|
class ZipAsyncOperator extends subject_1$6.Subject {
|
|
3488
3644
|
zipAsync(...args) {
|
|
3489
|
-
return utils_1$N.applyChainingAsync(this.subject, zip_async_1$2.zipAsync, args);
|
|
3645
|
+
return (0, utils_1$N.applyChainingAsync)(this.subject, zip_async_1$2.zipAsync, args);
|
|
3490
3646
|
}
|
|
3491
3647
|
}
|
|
3492
3648
|
zipAsync$2.ZipAsyncOperator = ZipAsyncOperator;
|
|
@@ -3507,7 +3663,7 @@
|
|
|
3507
3663
|
const subject_1$5 = subject;
|
|
3508
3664
|
class ConsumeOperator extends subject_1$5.Subject {
|
|
3509
3665
|
consume(...args) {
|
|
3510
|
-
return utils_1$M.applyBinding(this.subject, consume_1$6.consume, args);
|
|
3666
|
+
return (0, utils_1$M.applyBinding)(this.subject, consume_1$6.consume, args);
|
|
3511
3667
|
}
|
|
3512
3668
|
}
|
|
3513
3669
|
consume$2.ConsumeOperator = ConsumeOperator;
|
|
@@ -3534,7 +3690,7 @@
|
|
|
3534
3690
|
};eachAsync$1.eachAsync = void 0;
|
|
3535
3691
|
const types_1$6 = es2018;
|
|
3536
3692
|
function eachAsync(iterable, fn) {
|
|
3537
|
-
if (types_1$6.isAsyncIterable(iterable)) {
|
|
3693
|
+
if ((0, types_1$6.isAsyncIterable)(iterable)) {
|
|
3538
3694
|
return eachAsyncIterable(iterable);
|
|
3539
3695
|
}
|
|
3540
3696
|
else {
|
|
@@ -3579,7 +3735,7 @@
|
|
|
3579
3735
|
const each_async_1$2 = eachAsync$1;
|
|
3580
3736
|
class EachAsyncOperator extends subject_1$4.Subject {
|
|
3581
3737
|
eachAsync(...args) {
|
|
3582
|
-
return utils_1$L.applyBinding(this.subject, each_async_1$2.eachAsync, args);
|
|
3738
|
+
return (0, utils_1$L.applyBinding)(this.subject, each_async_1$2.eachAsync, args);
|
|
3583
3739
|
}
|
|
3584
3740
|
}
|
|
3585
3741
|
eachAsync$2.EachAsyncOperator = EachAsyncOperator;
|
|
@@ -3606,7 +3762,7 @@
|
|
|
3606
3762
|
};everyAsync$1.everyAsync = void 0;
|
|
3607
3763
|
const types_1$5 = es2018;
|
|
3608
3764
|
function everyAsync(iterable, predicate) {
|
|
3609
|
-
if (types_1$5.isAsyncIterable(iterable)) {
|
|
3765
|
+
if ((0, types_1$5.isAsyncIterable)(iterable)) {
|
|
3610
3766
|
return everyAsyncIterable(iterable);
|
|
3611
3767
|
}
|
|
3612
3768
|
else {
|
|
@@ -3655,7 +3811,7 @@
|
|
|
3655
3811
|
const every_async_1$2 = everyAsync$1;
|
|
3656
3812
|
class EveryAsyncOperator extends subject_1$3.Subject {
|
|
3657
3813
|
everyAsync(...args) {
|
|
3658
|
-
return utils_1$K.applyBinding(this.subject, every_async_1$2.everyAsync, args);
|
|
3814
|
+
return (0, utils_1$K.applyBinding)(this.subject, every_async_1$2.everyAsync, args);
|
|
3659
3815
|
}
|
|
3660
3816
|
}
|
|
3661
3817
|
everyAsync$2.EveryAsyncOperator = EveryAsyncOperator;
|
|
@@ -3682,7 +3838,7 @@
|
|
|
3682
3838
|
};findAsync$1.findAsync = void 0;
|
|
3683
3839
|
const types_1$4 = es2018;
|
|
3684
3840
|
function findAsync(iterable, predicate) {
|
|
3685
|
-
if (types_1$4.isAsyncIterable(iterable)) {
|
|
3841
|
+
if ((0, types_1$4.isAsyncIterable)(iterable)) {
|
|
3686
3842
|
return findAsyncIterable(iterable);
|
|
3687
3843
|
}
|
|
3688
3844
|
else {
|
|
@@ -3731,7 +3887,7 @@
|
|
|
3731
3887
|
const find_async_1$2 = findAsync$1;
|
|
3732
3888
|
class FindAsyncOperator extends subject_1$2.Subject {
|
|
3733
3889
|
findAsync(...args) {
|
|
3734
|
-
return utils_1$J.applyBinding(this.subject, find_async_1$2.findAsync, args);
|
|
3890
|
+
return (0, utils_1$J.applyBinding)(this.subject, find_async_1$2.findAsync, args);
|
|
3735
3891
|
}
|
|
3736
3892
|
}
|
|
3737
3893
|
findAsync$2.FindAsyncOperator = FindAsyncOperator;
|
|
@@ -3784,7 +3940,7 @@
|
|
|
3784
3940
|
const first_async_1$1 = firstAsync$1;
|
|
3785
3941
|
class FirstAsyncOperator extends async_iterable_operator_base_1$6.AsyncIterableOperatorBase {
|
|
3786
3942
|
firstAsync(...args) {
|
|
3787
|
-
return utils_1$I.applyBinding(this.subject, first_async_1$1.firstAsync, args);
|
|
3943
|
+
return (0, utils_1$I.applyBinding)(this.subject, first_async_1$1.firstAsync, args);
|
|
3788
3944
|
}
|
|
3789
3945
|
}
|
|
3790
3946
|
firstAsync$2.FirstAsyncOperator = FirstAsyncOperator;
|
|
@@ -3838,7 +3994,7 @@
|
|
|
3838
3994
|
const includes_async_1$1 = includesAsync$1;
|
|
3839
3995
|
class IncludesAsyncOperator extends async_iterable_operator_base_1$5.AsyncIterableOperatorBase {
|
|
3840
3996
|
includesAsync(...args) {
|
|
3841
|
-
return utils_1$H.applyBinding(this.subject, includes_async_1$1.includesAsync, args);
|
|
3997
|
+
return (0, utils_1$H.applyBinding)(this.subject, includes_async_1$1.includesAsync, args);
|
|
3842
3998
|
}
|
|
3843
3999
|
}
|
|
3844
4000
|
includesAsync$2.IncludesAsyncOperator = IncludesAsyncOperator;
|
|
@@ -3896,7 +4052,7 @@
|
|
|
3896
4052
|
const match_async_1$1 = matchAsync$1;
|
|
3897
4053
|
class MatchAsyncOperator extends async_iterable_operator_base_1$4.AsyncIterableOperatorBase {
|
|
3898
4054
|
matchAsync(...args) {
|
|
3899
|
-
return utils_1$G.applyBinding(this.subject, match_async_1$1.matchAsync, args);
|
|
4055
|
+
return (0, utils_1$G.applyBinding)(this.subject, match_async_1$1.matchAsync, args);
|
|
3900
4056
|
}
|
|
3901
4057
|
}
|
|
3902
4058
|
matchAsync$2.MatchAsyncOperator = MatchAsyncOperator;
|
|
@@ -3923,7 +4079,7 @@
|
|
|
3923
4079
|
};reduceAsync$1.reduceAsync = void 0;
|
|
3924
4080
|
const types_1$3 = es2018;
|
|
3925
4081
|
function reduceAsync(iterable, fn, initialValue) {
|
|
3926
|
-
if (types_1$3.isUndefined(initialValue)) {
|
|
4082
|
+
if ((0, types_1$3.isUndefined)(initialValue)) {
|
|
3927
4083
|
return reduceAsyncWithoutInitialValue(iterable, fn);
|
|
3928
4084
|
}
|
|
3929
4085
|
else {
|
|
@@ -3932,7 +4088,7 @@
|
|
|
3932
4088
|
}
|
|
3933
4089
|
reduceAsync$1.reduceAsync = reduceAsync;
|
|
3934
4090
|
function reduceAsyncWithInitialValue(iterable, fn, initialValue) {
|
|
3935
|
-
if (types_1$3.isAsyncIterable(iterable)) {
|
|
4091
|
+
if ((0, types_1$3.isAsyncIterable)(iterable)) {
|
|
3936
4092
|
return reduceAsyncIterable(iterable);
|
|
3937
4093
|
}
|
|
3938
4094
|
else {
|
|
@@ -3970,7 +4126,7 @@
|
|
|
3970
4126
|
}
|
|
3971
4127
|
}
|
|
3972
4128
|
function reduceAsyncWithoutInitialValue(iterable, fn) {
|
|
3973
|
-
if (types_1$3.isAsyncIterable(iterable)) {
|
|
4129
|
+
if ((0, types_1$3.isAsyncIterable)(iterable)) {
|
|
3974
4130
|
return reduceAsyncIterable(iterable);
|
|
3975
4131
|
}
|
|
3976
4132
|
else {
|
|
@@ -4042,7 +4198,7 @@
|
|
|
4042
4198
|
const reduce_async_1$2 = reduceAsync$1;
|
|
4043
4199
|
class ReduceAsyncOperator extends subject_1$1.Subject {
|
|
4044
4200
|
reduceAsync(...args) {
|
|
4045
|
-
return utils_1$F.applyBinding(this.subject, reduce_async_1$2.reduceAsync, args);
|
|
4201
|
+
return (0, utils_1$F.applyBinding)(this.subject, reduce_async_1$2.reduceAsync, args);
|
|
4046
4202
|
}
|
|
4047
4203
|
}
|
|
4048
4204
|
reduceAsync$2.ReduceAsyncOperator = ReduceAsyncOperator;
|
|
@@ -4069,7 +4225,7 @@
|
|
|
4069
4225
|
};someAsync$1.someAsync = void 0;
|
|
4070
4226
|
const types_1$2 = es2018;
|
|
4071
4227
|
function someAsync(iterable, predicate) {
|
|
4072
|
-
if (types_1$2.isAsyncIterable(iterable)) {
|
|
4228
|
+
if ((0, types_1$2.isAsyncIterable)(iterable)) {
|
|
4073
4229
|
return someAsyncIterable(iterable);
|
|
4074
4230
|
}
|
|
4075
4231
|
else {
|
|
@@ -4118,7 +4274,7 @@
|
|
|
4118
4274
|
const some_async_1$2 = someAsync$1;
|
|
4119
4275
|
class SomeAsyncOperator extends subject_1.Subject {
|
|
4120
4276
|
someAsync(...args) {
|
|
4121
|
-
return utils_1$E.applyBinding(this.subject, some_async_1$2.someAsync, args);
|
|
4277
|
+
return (0, utils_1$E.applyBinding)(this.subject, some_async_1$2.someAsync, args);
|
|
4122
4278
|
}
|
|
4123
4279
|
}
|
|
4124
4280
|
someAsync$2.SomeAsyncOperator = SomeAsyncOperator;
|
|
@@ -4163,7 +4319,7 @@
|
|
|
4163
4319
|
const last_async_1$1 = lastAsync$1;
|
|
4164
4320
|
class LastAsyncOperator extends async_iterable_operator_base_1$3.AsyncIterableOperatorBase {
|
|
4165
4321
|
lastAsync(...args) {
|
|
4166
|
-
return utils_1$D.applyBinding(this.subject, last_async_1$1.lastAsync, args);
|
|
4322
|
+
return (0, utils_1$D.applyBinding)(this.subject, last_async_1$1.lastAsync, args);
|
|
4167
4323
|
}
|
|
4168
4324
|
}
|
|
4169
4325
|
lastAsync$2.LastAsyncOperator = LastAsyncOperator;
|
|
@@ -4190,7 +4346,7 @@
|
|
|
4190
4346
|
};toArrayAsync$1.toArrayAsync = void 0;
|
|
4191
4347
|
const consume_1$5 = consume$1;
|
|
4192
4348
|
function toArrayAsync(iterable) {
|
|
4193
|
-
return consume_1$5.consume(iterable, (iterable) => { var iterable_1, iterable_1_1; return __awaiter$1(this, void 0, void 0, function* () {
|
|
4349
|
+
return (0, consume_1$5.consume)(iterable, (iterable) => { var iterable_1, iterable_1_1; return __awaiter$1(this, void 0, void 0, function* () {
|
|
4194
4350
|
var e_1, _a;
|
|
4195
4351
|
const result = [];
|
|
4196
4352
|
try {
|
|
@@ -4217,7 +4373,7 @@
|
|
|
4217
4373
|
const to_array_async_1$1 = toArrayAsync$1;
|
|
4218
4374
|
class ToArrayAsyncOperator extends async_iterable_operator_base_1$2.AsyncIterableOperatorBase {
|
|
4219
4375
|
toArrayAsync(...args) {
|
|
4220
|
-
return utils_1$C.applyBinding(this.subject, to_array_async_1$1.toArrayAsync, args);
|
|
4376
|
+
return (0, utils_1$C.applyBinding)(this.subject, to_array_async_1$1.toArrayAsync, args);
|
|
4221
4377
|
}
|
|
4222
4378
|
}
|
|
4223
4379
|
toArrayAsync$2.ToArrayAsyncOperator = ToArrayAsyncOperator;
|
|
@@ -4244,7 +4400,7 @@
|
|
|
4244
4400
|
};toSetAsync$1.toSetAsync = void 0;
|
|
4245
4401
|
const consume_1$4 = consume$1;
|
|
4246
4402
|
function toSetAsync(iterable) {
|
|
4247
|
-
return consume_1$4.consume(iterable, (iterable) => { var iterable_1, iterable_1_1; return __awaiter(this, void 0, void 0, function* () {
|
|
4403
|
+
return (0, consume_1$4.consume)(iterable, (iterable) => { var iterable_1, iterable_1_1; return __awaiter(this, void 0, void 0, function* () {
|
|
4248
4404
|
var e_1, _a;
|
|
4249
4405
|
const result = new Set();
|
|
4250
4406
|
try {
|
|
@@ -4271,7 +4427,7 @@
|
|
|
4271
4427
|
const to_set_async_1$1 = toSetAsync$1;
|
|
4272
4428
|
class ToSetAsyncOperator extends async_iterable_operator_base_1$1.AsyncIterableOperatorBase {
|
|
4273
4429
|
toSetAsync(...args) {
|
|
4274
|
-
return utils_1$B.applyBinding(this.subject, to_set_async_1$1.toSetAsync, args);
|
|
4430
|
+
return (0, utils_1$B.applyBinding)(this.subject, to_set_async_1$1.toSetAsync, args);
|
|
4275
4431
|
}
|
|
4276
4432
|
}
|
|
4277
4433
|
toSetAsync$2.ToSetAsyncOperator = ToSetAsyncOperator;
|
|
@@ -4317,7 +4473,7 @@
|
|
|
4317
4473
|
class AsyncIterableOperator extends async_iterable_operator_base_1.AsyncIterableOperatorBase {
|
|
4318
4474
|
}
|
|
4319
4475
|
asyncIterableOperator.AsyncIterableOperator = AsyncIterableOperator;
|
|
4320
|
-
mixin_1$1.mixinDecorators(AsyncIterableOperator, [
|
|
4476
|
+
(0, mixin_1$1.mixinDecorators)(AsyncIterableOperator, [
|
|
4321
4477
|
chunk_async_1.ChunkAsyncOperator,
|
|
4322
4478
|
chunk_by_async_1$1.ChunkByAsyncOperator,
|
|
4323
4479
|
concat_async_1$1.ConcatAsyncOperator,
|
|
@@ -4400,7 +4556,7 @@
|
|
|
4400
4556
|
const iterable_operator_base_1$z = iterableOperatorBase;
|
|
4401
4557
|
class ChunkByOperator extends iterable_operator_base_1$z.IterableOperatorBase {
|
|
4402
4558
|
chunkBy(...args) {
|
|
4403
|
-
return utils_1$A.applyChaining(this.subject, chunk_by_1$1.chunkBy, args);
|
|
4559
|
+
return (0, utils_1$A.applyChaining)(this.subject, chunk_by_1$1.chunkBy, args);
|
|
4404
4560
|
}
|
|
4405
4561
|
}
|
|
4406
4562
|
chunkBy$2.ChunkByOperator = ChunkByOperator;
|
|
@@ -4413,9 +4569,9 @@
|
|
|
4413
4569
|
const go_1$7 = es2018$2;
|
|
4414
4570
|
const errors_1$7 = es2018$1;
|
|
4415
4571
|
function chunk(iterable, size) {
|
|
4416
|
-
errors_1$7.assert(Number.isInteger(size), 'The parameter size must be an integer');
|
|
4417
|
-
errors_1$7.assert(size > 0, 'The parameter size must be greater than 0');
|
|
4418
|
-
return go_1$7.go(function* () {
|
|
4572
|
+
(0, errors_1$7.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
4573
|
+
(0, errors_1$7.assert)(size > 0, 'The parameter size must be greater than 0');
|
|
4574
|
+
return (0, go_1$7.go)(function* () {
|
|
4419
4575
|
let buffer = [];
|
|
4420
4576
|
for (const element of iterable) {
|
|
4421
4577
|
buffer.push(element);
|
|
@@ -4436,7 +4592,7 @@
|
|
|
4436
4592
|
const iterable_operator_base_1$y = iterableOperatorBase;
|
|
4437
4593
|
class ChunkOperator extends iterable_operator_base_1$y.IterableOperatorBase {
|
|
4438
4594
|
chunk(...args) {
|
|
4439
|
-
return utils_1$z.applyChaining(this.subject, chunk_1$1.chunk, args);
|
|
4595
|
+
return (0, utils_1$z.applyChaining)(this.subject, chunk_1$1.chunk, args);
|
|
4440
4596
|
}
|
|
4441
4597
|
}
|
|
4442
4598
|
chunk$2.ChunkOperator = ChunkOperator;
|
|
@@ -4448,7 +4604,7 @@
|
|
|
4448
4604
|
concat$1.concat = void 0;
|
|
4449
4605
|
const go_1$6 = es2018$2;
|
|
4450
4606
|
function concat(iterable, ...otherIterables) {
|
|
4451
|
-
return go_1$6.go(function* () {
|
|
4607
|
+
return (0, go_1$6.go)(function* () {
|
|
4452
4608
|
for (const iter of [iterable, ...otherIterables]) {
|
|
4453
4609
|
yield* iter;
|
|
4454
4610
|
}
|
|
@@ -4462,7 +4618,7 @@
|
|
|
4462
4618
|
const iterable_operator_base_1$x = iterableOperatorBase;
|
|
4463
4619
|
class ConcatOperator extends iterable_operator_base_1$x.IterableOperatorBase {
|
|
4464
4620
|
concat(...args) {
|
|
4465
|
-
return utils_1$y.applyChaining(this.subject, concat_1$1.concat, args);
|
|
4621
|
+
return (0, utils_1$y.applyChaining)(this.subject, concat_1$1.concat, args);
|
|
4466
4622
|
}
|
|
4467
4623
|
}
|
|
4468
4624
|
concat$2.ConcatOperator = ConcatOperator;
|
|
@@ -4476,11 +4632,11 @@
|
|
|
4476
4632
|
const utils_1$x = utils;
|
|
4477
4633
|
const errors_1$6 = es2018$1;
|
|
4478
4634
|
function dropRight(iterable, count) {
|
|
4479
|
-
errors_1$6.assert(Number.isInteger(count), 'The parameter count must be an integer');
|
|
4480
|
-
errors_1$6.assert(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
4635
|
+
(0, errors_1$6.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
4636
|
+
(0, errors_1$6.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
4481
4637
|
if (count === 0)
|
|
4482
|
-
return utils_1$x.copyIterable(iterable);
|
|
4483
|
-
return go_1$5.go(function* () {
|
|
4638
|
+
return (0, utils_1$x.copyIterable)(iterable);
|
|
4639
|
+
return (0, go_1$5.go)(function* () {
|
|
4484
4640
|
const arr = Array.from(iterable);
|
|
4485
4641
|
yield* arr.slice(0, -count);
|
|
4486
4642
|
});
|
|
@@ -4493,7 +4649,7 @@
|
|
|
4493
4649
|
const iterable_operator_base_1$w = iterableOperatorBase;
|
|
4494
4650
|
class DropRightOperator extends iterable_operator_base_1$w.IterableOperatorBase {
|
|
4495
4651
|
dropRight(...args) {
|
|
4496
|
-
return utils_1$w.applyChaining(this.subject, drop_right_1$1.dropRight, args);
|
|
4652
|
+
return (0, utils_1$w.applyChaining)(this.subject, drop_right_1$1.dropRight, args);
|
|
4497
4653
|
}
|
|
4498
4654
|
}
|
|
4499
4655
|
dropRight$2.DropRightOperator = DropRightOperator;
|
|
@@ -4532,7 +4688,7 @@
|
|
|
4532
4688
|
const iterable_operator_base_1$v = iterableOperatorBase;
|
|
4533
4689
|
class DropUntilOperator extends iterable_operator_base_1$v.IterableOperatorBase {
|
|
4534
4690
|
dropUntil(...args) {
|
|
4535
|
-
return utils_1$v.applyChaining(this.subject, drop_until_1$1.dropUntil, args);
|
|
4691
|
+
return (0, utils_1$v.applyChaining)(this.subject, drop_until_1$1.dropUntil, args);
|
|
4536
4692
|
}
|
|
4537
4693
|
}
|
|
4538
4694
|
dropUntil$2.DropUntilOperator = DropUntilOperator;
|
|
@@ -4546,11 +4702,11 @@
|
|
|
4546
4702
|
const utils_1$u = utils;
|
|
4547
4703
|
const errors_1$5 = es2018$1;
|
|
4548
4704
|
function drop(iterable, count) {
|
|
4549
|
-
errors_1$5.assert(Number.isInteger(count), 'The parameter count must be an integer');
|
|
4550
|
-
errors_1$5.assert(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
4705
|
+
(0, errors_1$5.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
4706
|
+
(0, errors_1$5.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
4551
4707
|
if (count === 0)
|
|
4552
|
-
return utils_1$u.copyIterable(iterable);
|
|
4553
|
-
return go_1$4.go(function* () {
|
|
4708
|
+
return (0, utils_1$u.copyIterable)(iterable);
|
|
4709
|
+
return (0, go_1$4.go)(function* () {
|
|
4554
4710
|
var _a;
|
|
4555
4711
|
const iterator = iterable[Symbol.iterator]();
|
|
4556
4712
|
let done;
|
|
@@ -4580,7 +4736,7 @@
|
|
|
4580
4736
|
const iterable_operator_base_1$u = iterableOperatorBase;
|
|
4581
4737
|
class DropOperator extends iterable_operator_base_1$u.IterableOperatorBase {
|
|
4582
4738
|
drop(...args) {
|
|
4583
|
-
return utils_1$t.applyChaining(this.subject, drop_1$1.drop, args);
|
|
4739
|
+
return (0, utils_1$t.applyChaining)(this.subject, drop_1$1.drop, args);
|
|
4584
4740
|
}
|
|
4585
4741
|
}
|
|
4586
4742
|
drop$2.DropOperator = DropOperator;
|
|
@@ -4606,7 +4762,7 @@
|
|
|
4606
4762
|
const iterable_operator_base_1$t = iterableOperatorBase;
|
|
4607
4763
|
class FilterOperator extends iterable_operator_base_1$t.IterableOperatorBase {
|
|
4608
4764
|
filter(...args) {
|
|
4609
|
-
return utils_1$s.applyChaining(this.subject, filter_1$1.filter, args);
|
|
4765
|
+
return (0, utils_1$s.applyChaining)(this.subject, filter_1$1.filter, args);
|
|
4610
4766
|
}
|
|
4611
4767
|
}
|
|
4612
4768
|
filter$2.FilterOperator = FilterOperator;
|
|
@@ -4632,7 +4788,7 @@
|
|
|
4632
4788
|
}
|
|
4633
4789
|
flattenBy$1.flattenBy = flattenBy;
|
|
4634
4790
|
function isFiniteIterable(val) {
|
|
4635
|
-
return types_1$1.isIterable(val) && types_1$1.isntChar(val);
|
|
4791
|
+
return (0, types_1$1.isIterable)(val) && (0, types_1$1.isntChar)(val);
|
|
4636
4792
|
}
|
|
4637
4793
|
|
|
4638
4794
|
flattenBy$2.FlattenByOperator = void 0;
|
|
@@ -4641,7 +4797,7 @@
|
|
|
4641
4797
|
const iterable_operator_base_1$s = iterableOperatorBase;
|
|
4642
4798
|
class FlattenByOperator extends iterable_operator_base_1$s.IterableOperatorBase {
|
|
4643
4799
|
flattenBy(...args) {
|
|
4644
|
-
return utils_1$r.applyChaining(this.subject, flatten_by_1$2.flattenBy, args);
|
|
4800
|
+
return (0, utils_1$r.applyChaining)(this.subject, flatten_by_1$2.flattenBy, args);
|
|
4645
4801
|
}
|
|
4646
4802
|
}
|
|
4647
4803
|
flattenBy$2.FlattenByOperator = FlattenByOperator;
|
|
@@ -4654,9 +4810,9 @@
|
|
|
4654
4810
|
const flatten_by_1$1 = flattenBy$1;
|
|
4655
4811
|
const errors_1$4 = es2018$1;
|
|
4656
4812
|
function flattenDeep(iterable, depth = Infinity) {
|
|
4657
|
-
errors_1$4.assert(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
|
|
4658
|
-
errors_1$4.assert(depth >= 0, 'The parameter depth must be greater than or equal to 0');
|
|
4659
|
-
return flatten_by_1$1.flattenBy(iterable, (_, level) => level <= depth);
|
|
4813
|
+
(0, errors_1$4.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
|
|
4814
|
+
(0, errors_1$4.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
|
|
4815
|
+
return (0, flatten_by_1$1.flattenBy)(iterable, (_, level) => level <= depth);
|
|
4660
4816
|
}
|
|
4661
4817
|
flattenDeep$1.flattenDeep = flattenDeep;
|
|
4662
4818
|
|
|
@@ -4666,7 +4822,7 @@
|
|
|
4666
4822
|
const iterable_operator_base_1$r = iterableOperatorBase;
|
|
4667
4823
|
class FlattenDeepOperator extends iterable_operator_base_1$r.IterableOperatorBase {
|
|
4668
4824
|
flattenDeep(...args) {
|
|
4669
|
-
return utils_1$q.applyChaining(this.subject, flatten_deep_1$2.flattenDeep, args);
|
|
4825
|
+
return (0, utils_1$q.applyChaining)(this.subject, flatten_deep_1$2.flattenDeep, args);
|
|
4670
4826
|
}
|
|
4671
4827
|
}
|
|
4672
4828
|
flattenDeep$2.FlattenDeepOperator = FlattenDeepOperator;
|
|
@@ -4678,7 +4834,7 @@
|
|
|
4678
4834
|
flatten$1.flatten = void 0;
|
|
4679
4835
|
const flatten_deep_1$1 = flattenDeep$1;
|
|
4680
4836
|
function flatten(iterable) {
|
|
4681
|
-
return flatten_deep_1$1.flattenDeep(iterable, 1);
|
|
4837
|
+
return (0, flatten_deep_1$1.flattenDeep)(iterable, 1);
|
|
4682
4838
|
}
|
|
4683
4839
|
flatten$1.flatten = flatten;
|
|
4684
4840
|
|
|
@@ -4688,7 +4844,7 @@
|
|
|
4688
4844
|
const iterable_operator_base_1$q = iterableOperatorBase;
|
|
4689
4845
|
class FlattenOperator extends iterable_operator_base_1$q.IterableOperatorBase {
|
|
4690
4846
|
flatten(...args) {
|
|
4691
|
-
return utils_1$p.applyChaining(this.subject, flatten_1$1.flatten, args);
|
|
4847
|
+
return (0, utils_1$p.applyChaining)(this.subject, flatten_1$1.flatten, args);
|
|
4692
4848
|
}
|
|
4693
4849
|
}
|
|
4694
4850
|
flatten$2.FlattenOperator = FlattenOperator;
|
|
@@ -4713,7 +4869,7 @@
|
|
|
4713
4869
|
const iterable_operator_base_1$p = iterableOperatorBase;
|
|
4714
4870
|
class MapOperator extends iterable_operator_base_1$p.IterableOperatorBase {
|
|
4715
4871
|
map(...args) {
|
|
4716
|
-
return utils_1$o.applyChaining(this.subject, map_1$1.map, args);
|
|
4872
|
+
return (0, utils_1$o.applyChaining)(this.subject, map_1$1.map, args);
|
|
4717
4873
|
}
|
|
4718
4874
|
}
|
|
4719
4875
|
map$2.MapOperator = MapOperator;
|
|
@@ -4726,11 +4882,11 @@
|
|
|
4726
4882
|
const go_1$3 = es2018$2;
|
|
4727
4883
|
const errors_1$3 = es2018$1;
|
|
4728
4884
|
function repeat(iterable, times) {
|
|
4729
|
-
errors_1$3.assert(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
4730
|
-
errors_1$3.assert(times >= 0, 'The parameter times must be greater than or equal to 0');
|
|
4885
|
+
(0, errors_1$3.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
4886
|
+
(0, errors_1$3.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
|
|
4731
4887
|
if (times === Infinity)
|
|
4732
4888
|
warnInfiniteLoop();
|
|
4733
|
-
return go_1$3.go(function* () {
|
|
4889
|
+
return (0, go_1$3.go)(function* () {
|
|
4734
4890
|
const cache = [];
|
|
4735
4891
|
if (times > 0) {
|
|
4736
4892
|
for (const element of iterable) {
|
|
@@ -4761,7 +4917,7 @@
|
|
|
4761
4917
|
const iterable_operator_base_1$o = iterableOperatorBase;
|
|
4762
4918
|
class RepeatOperator extends iterable_operator_base_1$o.IterableOperatorBase {
|
|
4763
4919
|
repeat(...args) {
|
|
4764
|
-
return utils_1$n.applyChaining(this.subject, repeat_1$1.repeat, args);
|
|
4920
|
+
return (0, utils_1$n.applyChaining)(this.subject, repeat_1$1.repeat, args);
|
|
4765
4921
|
}
|
|
4766
4922
|
}
|
|
4767
4923
|
repeat$2.RepeatOperator = RepeatOperator;
|
|
@@ -4774,11 +4930,11 @@
|
|
|
4774
4930
|
const go_1$2 = es2018$2;
|
|
4775
4931
|
const errors_1$2 = es2018$1;
|
|
4776
4932
|
function slice(iterable, start, end = Infinity) {
|
|
4777
|
-
errors_1$2.assert(Number.isInteger(start), 'The parameter start must be an integer');
|
|
4778
|
-
errors_1$2.assert(start >= 0, 'The parameter start must be greater than or equal to 0');
|
|
4779
|
-
errors_1$2.assert(Number.isInteger(end), 'The parameter end must be an integer');
|
|
4780
|
-
errors_1$2.assert(end >= start, 'The parameter end must be greater than or equal to start');
|
|
4781
|
-
return go_1$2.go(function* () {
|
|
4933
|
+
(0, errors_1$2.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
4934
|
+
(0, errors_1$2.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
|
|
4935
|
+
(0, errors_1$2.assert)(Number.isInteger(end), 'The parameter end must be an integer');
|
|
4936
|
+
(0, errors_1$2.assert)(end >= start, 'The parameter end must be greater than or equal to start');
|
|
4937
|
+
return (0, go_1$2.go)(function* () {
|
|
4782
4938
|
let index = 0;
|
|
4783
4939
|
for (const element of iterable) {
|
|
4784
4940
|
if (index >= end)
|
|
@@ -4797,7 +4953,7 @@
|
|
|
4797
4953
|
const iterable_operator_base_1$n = iterableOperatorBase;
|
|
4798
4954
|
class SliceOperator extends iterable_operator_base_1$n.IterableOperatorBase {
|
|
4799
4955
|
slice(...args) {
|
|
4800
|
-
return utils_1$m.applyChaining(this.subject, slice_1$1.slice, args);
|
|
4956
|
+
return (0, utils_1$m.applyChaining)(this.subject, slice_1$1.slice, args);
|
|
4801
4957
|
}
|
|
4802
4958
|
}
|
|
4803
4959
|
slice$2.SliceOperator = SliceOperator;
|
|
@@ -4830,7 +4986,7 @@
|
|
|
4830
4986
|
const iterable_operator_base_1$m = iterableOperatorBase;
|
|
4831
4987
|
class SplitByOperator extends iterable_operator_base_1$m.IterableOperatorBase {
|
|
4832
4988
|
splitBy(...args) {
|
|
4833
|
-
return utils_1$l.applyChaining(this.subject, split_by_1$1.splitBy, args);
|
|
4989
|
+
return (0, utils_1$l.applyChaining)(this.subject, split_by_1$1.splitBy, args);
|
|
4834
4990
|
}
|
|
4835
4991
|
}
|
|
4836
4992
|
splitBy$2.SplitByOperator = SplitByOperator;
|
|
@@ -4861,7 +5017,7 @@
|
|
|
4861
5017
|
const iterable_operator_base_1$l = iterableOperatorBase;
|
|
4862
5018
|
class SplitOperator extends iterable_operator_base_1$l.IterableOperatorBase {
|
|
4863
5019
|
split(...args) {
|
|
4864
|
-
return utils_1$k.applyChaining(this.subject, split_1$1.split, args);
|
|
5020
|
+
return (0, utils_1$k.applyChaining)(this.subject, split_1$1.split, args);
|
|
4865
5021
|
}
|
|
4866
5022
|
}
|
|
4867
5023
|
split$2.SplitOperator = SplitOperator;
|
|
@@ -4874,9 +5030,9 @@
|
|
|
4874
5030
|
const go_1$1 = es2018$2;
|
|
4875
5031
|
const errors_1$1 = es2018$1;
|
|
4876
5032
|
function takeRight(iterable, count) {
|
|
4877
|
-
errors_1$1.assert(Number.isInteger(count), 'The parameter count must be an integer');
|
|
4878
|
-
errors_1$1.assert(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
4879
|
-
return go_1$1.go(function* () {
|
|
5033
|
+
(0, errors_1$1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
5034
|
+
(0, errors_1$1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
5035
|
+
return (0, go_1$1.go)(function* () {
|
|
4880
5036
|
var _a;
|
|
4881
5037
|
const iterator = iterable[Symbol.iterator]();
|
|
4882
5038
|
let done;
|
|
@@ -4904,7 +5060,7 @@
|
|
|
4904
5060
|
const iterable_operator_base_1$k = iterableOperatorBase;
|
|
4905
5061
|
class TakeRightOperator extends iterable_operator_base_1$k.IterableOperatorBase {
|
|
4906
5062
|
takeRight(...args) {
|
|
4907
|
-
return utils_1$j.applyChaining(this.subject, take_right_1$1.takeRight, args);
|
|
5063
|
+
return (0, utils_1$j.applyChaining)(this.subject, take_right_1$1.takeRight, args);
|
|
4908
5064
|
}
|
|
4909
5065
|
}
|
|
4910
5066
|
takeRight$2.TakeRightOperator = TakeRightOperator;
|
|
@@ -4931,7 +5087,7 @@
|
|
|
4931
5087
|
const iterable_operator_base_1$j = iterableOperatorBase;
|
|
4932
5088
|
class TakeUntilOperator extends iterable_operator_base_1$j.IterableOperatorBase {
|
|
4933
5089
|
takeUntil(...args) {
|
|
4934
|
-
return utils_1$i.applyChaining(this.subject, take_until_1$1.takeUntil, args);
|
|
5090
|
+
return (0, utils_1$i.applyChaining)(this.subject, take_until_1$1.takeUntil, args);
|
|
4935
5091
|
}
|
|
4936
5092
|
}
|
|
4937
5093
|
takeUntil$2.TakeUntilOperator = TakeUntilOperator;
|
|
@@ -4944,9 +5100,9 @@
|
|
|
4944
5100
|
const go_1 = es2018$2;
|
|
4945
5101
|
const errors_1 = es2018$1;
|
|
4946
5102
|
function take(iterable, count) {
|
|
4947
|
-
errors_1.assert(Number.isInteger(count), 'The parameter count must be an integer');
|
|
4948
|
-
errors_1.assert(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
4949
|
-
return go_1.go(function* () {
|
|
5103
|
+
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
5104
|
+
(0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
5105
|
+
return (0, go_1.go)(function* () {
|
|
4950
5106
|
if (count === 0)
|
|
4951
5107
|
return;
|
|
4952
5108
|
for (const element of iterable) {
|
|
@@ -4965,7 +5121,7 @@
|
|
|
4965
5121
|
const iterable_operator_base_1$i = iterableOperatorBase;
|
|
4966
5122
|
class TakeOperator extends iterable_operator_base_1$i.IterableOperatorBase {
|
|
4967
5123
|
take(...args) {
|
|
4968
|
-
return utils_1$h.applyChaining(this.subject, take_1$1.take, args);
|
|
5124
|
+
return (0, utils_1$h.applyChaining)(this.subject, take_1$1.take, args);
|
|
4969
5125
|
}
|
|
4970
5126
|
}
|
|
4971
5127
|
take$2.TakeOperator = TakeOperator;
|
|
@@ -4991,7 +5147,7 @@
|
|
|
4991
5147
|
const iterable_operator_base_1$h = iterableOperatorBase;
|
|
4992
5148
|
class TapOperator extends iterable_operator_base_1$h.IterableOperatorBase {
|
|
4993
5149
|
tap(...args) {
|
|
4994
|
-
return utils_1$g.applyChaining(this.subject, tap_1$1.tap, args);
|
|
5150
|
+
return (0, utils_1$g.applyChaining)(this.subject, tap_1$1.tap, args);
|
|
4995
5151
|
}
|
|
4996
5152
|
}
|
|
4997
5153
|
tap$2.TapOperator = TapOperator;
|
|
@@ -5027,7 +5183,7 @@
|
|
|
5027
5183
|
const to_async_iterable_1$1 = toAsyncIterable$1;
|
|
5028
5184
|
class ToAsyncIterableOperator extends iterable_operator_base_1$g.IterableOperatorBase {
|
|
5029
5185
|
toAsyncIterable(...args) {
|
|
5030
|
-
return utils_1$f.applyChainingAsync(this.subject, to_async_iterable_1$1.toAsyncIterable, args);
|
|
5186
|
+
return (0, utils_1$f.applyChainingAsync)(this.subject, to_async_iterable_1$1.toAsyncIterable, args);
|
|
5031
5187
|
}
|
|
5032
5188
|
}
|
|
5033
5189
|
toAsyncIterable$2.ToAsyncIterableOperator = ToAsyncIterableOperator;
|
|
@@ -5048,7 +5204,7 @@
|
|
|
5048
5204
|
const iterable_operator_base_1$f = iterableOperatorBase;
|
|
5049
5205
|
class TransformOperator extends iterable_operator_base_1$f.IterableOperatorBase {
|
|
5050
5206
|
transform(...args) {
|
|
5051
|
-
return utils_1$e.applyChaining(this.subject, transform_1$1.transform, args);
|
|
5207
|
+
return (0, utils_1$e.applyChaining)(this.subject, transform_1$1.transform, args);
|
|
5052
5208
|
}
|
|
5053
5209
|
}
|
|
5054
5210
|
transform$2.TransformOperator = TransformOperator;
|
|
@@ -5078,7 +5234,7 @@
|
|
|
5078
5234
|
const iterable_operator_base_1$e = iterableOperatorBase;
|
|
5079
5235
|
class UniqByOperator extends iterable_operator_base_1$e.IterableOperatorBase {
|
|
5080
5236
|
uniqBy(...args) {
|
|
5081
|
-
return utils_1$d.applyChaining(this.subject, uniq_by_1$1.uniqBy, args);
|
|
5237
|
+
return (0, utils_1$d.applyChaining)(this.subject, uniq_by_1$1.uniqBy, args);
|
|
5082
5238
|
}
|
|
5083
5239
|
}
|
|
5084
5240
|
uniqBy$2.UniqByOperator = UniqByOperator;
|
|
@@ -5105,7 +5261,7 @@
|
|
|
5105
5261
|
const iterable_operator_base_1$d = iterableOperatorBase;
|
|
5106
5262
|
class UniqOperator extends iterable_operator_base_1$d.IterableOperatorBase {
|
|
5107
5263
|
uniq(...args) {
|
|
5108
|
-
return utils_1$c.applyChaining(this.subject, uniq_1$1.uniq, args);
|
|
5264
|
+
return (0, utils_1$c.applyChaining)(this.subject, uniq_1$1.uniq, args);
|
|
5109
5265
|
}
|
|
5110
5266
|
}
|
|
5111
5267
|
uniq$2.UniqOperator = UniqOperator;
|
|
@@ -5149,7 +5305,7 @@
|
|
|
5149
5305
|
const iterable_operator_base_1$c = iterableOperatorBase;
|
|
5150
5306
|
class ZipOperator extends iterable_operator_base_1$c.IterableOperatorBase {
|
|
5151
5307
|
zip(...args) {
|
|
5152
|
-
return utils_1$b.applyChaining(this.subject, zip_1$1.zip, args);
|
|
5308
|
+
return (0, utils_1$b.applyChaining)(this.subject, zip_1$1.zip, args);
|
|
5153
5309
|
}
|
|
5154
5310
|
}
|
|
5155
5311
|
zip$2.ZipOperator = ZipOperator;
|
|
@@ -5174,7 +5330,7 @@
|
|
|
5174
5330
|
const iterable_operator_base_1$b = iterableOperatorBase;
|
|
5175
5331
|
class EachOperator extends iterable_operator_base_1$b.IterableOperatorBase {
|
|
5176
5332
|
each(...args) {
|
|
5177
|
-
return utils_1$a.applyBinding(this.subject, each_1$1.each, args);
|
|
5333
|
+
return (0, utils_1$a.applyBinding)(this.subject, each_1$1.each, args);
|
|
5178
5334
|
}
|
|
5179
5335
|
}
|
|
5180
5336
|
each$2.EachOperator = EachOperator;
|
|
@@ -5201,7 +5357,7 @@
|
|
|
5201
5357
|
const iterable_operator_base_1$a = iterableOperatorBase;
|
|
5202
5358
|
class EveryOperator extends iterable_operator_base_1$a.IterableOperatorBase {
|
|
5203
5359
|
every(...args) {
|
|
5204
|
-
return utils_1$9.applyBinding(this.subject, every_1$1.every, args);
|
|
5360
|
+
return (0, utils_1$9.applyBinding)(this.subject, every_1$1.every, args);
|
|
5205
5361
|
}
|
|
5206
5362
|
}
|
|
5207
5363
|
every$2.EveryOperator = EveryOperator;
|
|
@@ -5228,7 +5384,7 @@
|
|
|
5228
5384
|
const iterable_operator_base_1$9 = iterableOperatorBase;
|
|
5229
5385
|
class FindOperator extends iterable_operator_base_1$9.IterableOperatorBase {
|
|
5230
5386
|
find(...args) {
|
|
5231
|
-
return utils_1$8.applyBinding(this.subject, find_1$1.find, args);
|
|
5387
|
+
return (0, utils_1$8.applyBinding)(this.subject, find_1$1.find, args);
|
|
5232
5388
|
}
|
|
5233
5389
|
}
|
|
5234
5390
|
find$2.FindOperator = FindOperator;
|
|
@@ -5252,7 +5408,7 @@
|
|
|
5252
5408
|
const iterable_operator_base_1$8 = iterableOperatorBase;
|
|
5253
5409
|
class FirstOperator extends iterable_operator_base_1$8.IterableOperatorBase {
|
|
5254
5410
|
first(...args) {
|
|
5255
|
-
return utils_1$7.applyBinding(this.subject, first_1$1.first, args);
|
|
5411
|
+
return (0, utils_1$7.applyBinding)(this.subject, first_1$1.first, args);
|
|
5256
5412
|
}
|
|
5257
5413
|
}
|
|
5258
5414
|
first$2.FirstOperator = FirstOperator;
|
|
@@ -5277,7 +5433,7 @@
|
|
|
5277
5433
|
const iterable_operator_base_1$7 = iterableOperatorBase;
|
|
5278
5434
|
class IncludesOperator extends iterable_operator_base_1$7.IterableOperatorBase {
|
|
5279
5435
|
includes(...args) {
|
|
5280
|
-
return utils_1$6.applyBinding(this.subject, includes_1$1.includes, args);
|
|
5436
|
+
return (0, utils_1$6.applyBinding)(this.subject, includes_1$1.includes, args);
|
|
5281
5437
|
}
|
|
5282
5438
|
}
|
|
5283
5439
|
includes$2.IncludesOperator = IncludesOperator;
|
|
@@ -5306,7 +5462,7 @@
|
|
|
5306
5462
|
const iterable_operator_base_1$6 = iterableOperatorBase;
|
|
5307
5463
|
class MatchOperator extends iterable_operator_base_1$6.IterableOperatorBase {
|
|
5308
5464
|
match(...args) {
|
|
5309
|
-
return utils_1$5.applyBinding(this.subject, match_1$1.match, args);
|
|
5465
|
+
return (0, utils_1$5.applyBinding)(this.subject, match_1$1.match, args);
|
|
5310
5466
|
}
|
|
5311
5467
|
}
|
|
5312
5468
|
match$2.MatchOperator = MatchOperator;
|
|
@@ -5318,7 +5474,7 @@
|
|
|
5318
5474
|
reduce$1.reduce = void 0;
|
|
5319
5475
|
const types_1 = es2018;
|
|
5320
5476
|
function reduce(iterable, fn, initialValue) {
|
|
5321
|
-
if (types_1.isUndefined(initialValue)) {
|
|
5477
|
+
if ((0, types_1.isUndefined)(initialValue)) {
|
|
5322
5478
|
return reduceWithoutInitialValue(iterable, fn);
|
|
5323
5479
|
}
|
|
5324
5480
|
else {
|
|
@@ -5366,7 +5522,7 @@
|
|
|
5366
5522
|
const iterable_operator_base_1$5 = iterableOperatorBase;
|
|
5367
5523
|
class ReduceOperator extends iterable_operator_base_1$5.IterableOperatorBase {
|
|
5368
5524
|
reduce(...args) {
|
|
5369
|
-
return utils_1$4.applyBinding(this.subject, reduce_1$1.reduce, args);
|
|
5525
|
+
return (0, utils_1$4.applyBinding)(this.subject, reduce_1$1.reduce, args);
|
|
5370
5526
|
}
|
|
5371
5527
|
}
|
|
5372
5528
|
reduce$2.ReduceOperator = ReduceOperator;
|
|
@@ -5393,7 +5549,7 @@
|
|
|
5393
5549
|
const iterable_operator_base_1$4 = iterableOperatorBase;
|
|
5394
5550
|
class SomeOperator extends iterable_operator_base_1$4.IterableOperatorBase {
|
|
5395
5551
|
some(...args) {
|
|
5396
|
-
return utils_1$3.applyBinding(this.subject, some_1$1.some, args);
|
|
5552
|
+
return (0, utils_1$3.applyBinding)(this.subject, some_1$1.some, args);
|
|
5397
5553
|
}
|
|
5398
5554
|
}
|
|
5399
5555
|
some$2.SomeOperator = SomeOperator;
|
|
@@ -5428,7 +5584,7 @@
|
|
|
5428
5584
|
const iterable_operator_base_1$3 = iterableOperatorBase;
|
|
5429
5585
|
class LastOperator extends iterable_operator_base_1$3.IterableOperatorBase {
|
|
5430
5586
|
last(...args) {
|
|
5431
|
-
return utils_1$2.applyBinding(this.subject, last_1$1.last, args);
|
|
5587
|
+
return (0, utils_1$2.applyBinding)(this.subject, last_1$1.last, args);
|
|
5432
5588
|
}
|
|
5433
5589
|
}
|
|
5434
5590
|
last$2.LastOperator = LastOperator;
|
|
@@ -5440,7 +5596,7 @@
|
|
|
5440
5596
|
toArray$1.toArray = void 0;
|
|
5441
5597
|
const consume_1$2 = consume$1;
|
|
5442
5598
|
function toArray(iterable) {
|
|
5443
|
-
return consume_1$2.consume(iterable, iterable => Array.from(iterable));
|
|
5599
|
+
return (0, consume_1$2.consume)(iterable, iterable => Array.from(iterable));
|
|
5444
5600
|
}
|
|
5445
5601
|
toArray$1.toArray = toArray;
|
|
5446
5602
|
|
|
@@ -5450,7 +5606,7 @@
|
|
|
5450
5606
|
const iterable_operator_base_1$2 = iterableOperatorBase;
|
|
5451
5607
|
class ToArrayOperator extends iterable_operator_base_1$2.IterableOperatorBase {
|
|
5452
5608
|
toArray(...args) {
|
|
5453
|
-
return utils_1$1.applyBinding(this.subject, to_array_1$1.toArray, args);
|
|
5609
|
+
return (0, utils_1$1.applyBinding)(this.subject, to_array_1$1.toArray, args);
|
|
5454
5610
|
}
|
|
5455
5611
|
}
|
|
5456
5612
|
toArray$2.ToArrayOperator = ToArrayOperator;
|
|
@@ -5462,7 +5618,7 @@
|
|
|
5462
5618
|
toSet$1.toSet = void 0;
|
|
5463
5619
|
const consume_1$1 = consume$1;
|
|
5464
5620
|
function toSet(iterable) {
|
|
5465
|
-
return consume_1$1.consume(iterable, iterable => new Set(iterable));
|
|
5621
|
+
return (0, consume_1$1.consume)(iterable, iterable => new Set(iterable));
|
|
5466
5622
|
}
|
|
5467
5623
|
toSet$1.toSet = toSet;
|
|
5468
5624
|
|
|
@@ -5472,7 +5628,7 @@
|
|
|
5472
5628
|
const iterable_operator_base_1$1 = iterableOperatorBase;
|
|
5473
5629
|
class ToSetOperator extends iterable_operator_base_1$1.IterableOperatorBase {
|
|
5474
5630
|
toSet(...args) {
|
|
5475
|
-
return utils_1.applyBinding(this.subject, to_set_1$1.toSet, args);
|
|
5631
|
+
return (0, utils_1.applyBinding)(this.subject, to_set_1$1.toSet, args);
|
|
5476
5632
|
}
|
|
5477
5633
|
}
|
|
5478
5634
|
toSet$2.ToSetOperator = ToSetOperator;
|
|
@@ -5536,7 +5692,7 @@
|
|
|
5536
5692
|
class IterableOperator extends iterable_operator_base_1.IterableOperatorBase {
|
|
5537
5693
|
}
|
|
5538
5694
|
iterableOperator.IterableOperator = IterableOperator;
|
|
5539
|
-
mixin_1.mixinDecorators(IterableOperator, [
|
|
5695
|
+
(0, mixin_1.mixinDecorators)(IterableOperator, [
|
|
5540
5696
|
chunk_1.ChunkOperator,
|
|
5541
5697
|
chunk_by_1.ChunkByOperator,
|
|
5542
5698
|
concat_1.ConcatOperator,
|
|
@@ -5630,16 +5786,18 @@
|
|
|
5630
5786
|
}
|
|
5631
5787
|
function observePushState() {
|
|
5632
5788
|
return new Observable(observer => {
|
|
5633
|
-
if (!pushStateHookRegistered)
|
|
5789
|
+
if (!pushStateHookRegistered) {
|
|
5634
5790
|
registerPushStateHook();
|
|
5791
|
+
}
|
|
5635
5792
|
pushStateHooks.add(observer);
|
|
5636
5793
|
return () => pushStateHooks.delete(observer);
|
|
5637
5794
|
});
|
|
5638
5795
|
}
|
|
5639
5796
|
function observeReplaceState() {
|
|
5640
5797
|
return new Observable(observer => {
|
|
5641
|
-
if (!replaceStateHookRegistered)
|
|
5798
|
+
if (!replaceStateHookRegistered) {
|
|
5642
5799
|
registerReplaceStateHook();
|
|
5800
|
+
}
|
|
5643
5801
|
replaceStateHooks.add(observer);
|
|
5644
5802
|
return () => replaceStateHooks.delete(observer);
|
|
5645
5803
|
});
|