@dereekb/util 13.8.0 → 13.10.0
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/fetch/index.cjs.js +1 -1
- package/fetch/index.esm.js +1 -1
- package/fetch/package.json +2 -2
- package/index.cjs.js +498 -324
- package/index.esm.js +495 -325
- package/package.json +1 -1
- package/src/lib/array/array.boolean.d.ts +4 -0
- package/src/lib/array/array.number.d.ts +3 -0
- package/src/lib/auth/auth.role.claims.d.ts +5 -0
- package/src/lib/auth/auth.role.d.ts +5 -0
- package/src/lib/boolean.d.ts +4 -0
- package/src/lib/contact/domain.d.ts +5 -0
- package/src/lib/contact/email.d.ts +10 -0
- package/src/lib/contact/phone.d.ts +10 -0
- package/src/lib/date/date.d.ts +77 -0
- package/src/lib/date/date.time.d.ts +4 -0
- package/src/lib/date/date.unix.d.ts +4 -0
- package/src/lib/date/hour.d.ts +8 -0
- package/src/lib/encryption/encryption.object.d.ts +4 -0
- package/src/lib/error/error.d.ts +4 -0
- package/src/lib/file/file.d.ts +4 -0
- package/src/lib/file/xml.d.ts +4 -0
- package/src/lib/getter/getter.cache.d.ts +4 -0
- package/src/lib/hash.d.ts +4 -0
- package/src/lib/model/model.d.ts +20 -0
- package/src/lib/number/bitwise.dencoder.d.ts +8 -0
- package/src/lib/number/dollar.d.ts +31 -0
- package/src/lib/number/encoded.d.ts +8 -0
- package/src/lib/number/number.d.ts +15 -0
- package/src/lib/number/pay.d.ts +8 -0
- package/src/lib/number/round.d.ts +10 -0
- package/src/lib/object/object.d.ts +4 -0
- package/src/lib/page/page.d.ts +5 -0
- package/src/lib/path/path.d.ts +8 -0
- package/src/lib/promise/promise.d.ts +5 -0
- package/src/lib/relation/relation.d.ts +10 -0
- package/src/lib/sort.d.ts +3 -0
- package/src/lib/storage/storage.d.ts +9 -0
- package/src/lib/string/case.d.ts +28 -0
- package/src/lib/string/dencoder.d.ts +12 -0
- package/src/lib/string/html.d.ts +20 -0
- package/src/lib/string/index.d.ts +1 -0
- package/src/lib/string/json.d.ts +4 -0
- package/src/lib/string/mimetype.d.ts +12 -0
- package/src/lib/string/password.d.ts +4 -0
- package/src/lib/string/prefix.d.ts +36 -0
- package/src/lib/string/tree.d.ts +4 -0
- package/src/lib/string/url.d.ts +32 -0
- package/src/lib/value/address.d.ts +35 -0
- package/src/lib/value/cron.d.ts +4 -0
- package/src/lib/value/indexed.d.ts +4 -0
- package/src/lib/value/modifier.d.ts +4 -0
- package/src/lib/value/pixel.d.ts +14 -0
- package/src/lib/value/point.d.ts +11 -0
- package/src/lib/value/zoom.d.ts +4 -0
- package/test/package.json +2 -2
package/index.cjs.js
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var extraSet = require('extra-set');
|
|
4
4
|
var makeError = require('make-error');
|
|
5
5
|
|
|
6
|
-
function _array_like_to_array$
|
|
6
|
+
function _array_like_to_array$B(arr, len) {
|
|
7
7
|
if (len == null || len > arr.length) len = arr.length;
|
|
8
8
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
9
9
|
return arr2;
|
|
10
10
|
}
|
|
11
11
|
function _array_without_holes$n(arr) {
|
|
12
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
12
|
+
if (Array.isArray(arr)) return _array_like_to_array$B(arr);
|
|
13
13
|
}
|
|
14
14
|
function _iterable_to_array$n(iter) {
|
|
15
15
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -18,19 +18,19 @@ function _non_iterable_spread$n() {
|
|
|
18
18
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
19
19
|
}
|
|
20
20
|
function _to_consumable_array$n(arr) {
|
|
21
|
-
return _array_without_holes$n(arr) || _iterable_to_array$n(arr) || _unsupported_iterable_to_array$
|
|
21
|
+
return _array_without_holes$n(arr) || _iterable_to_array$n(arr) || _unsupported_iterable_to_array$B(arr) || _non_iterable_spread$n();
|
|
22
22
|
}
|
|
23
23
|
function _type_of$m(obj) {
|
|
24
24
|
"@swc/helpers - typeof";
|
|
25
25
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
26
26
|
}
|
|
27
|
-
function _unsupported_iterable_to_array$
|
|
27
|
+
function _unsupported_iterable_to_array$B(o, minLen) {
|
|
28
28
|
if (!o) return;
|
|
29
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
29
|
+
if (typeof o === "string") return _array_like_to_array$B(o, minLen);
|
|
30
30
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
31
31
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
32
32
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
33
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
33
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$B(o, minLen);
|
|
34
34
|
}
|
|
35
35
|
// MARK: Functions
|
|
36
36
|
/**
|
|
@@ -383,13 +383,13 @@ function _unsupported_iterable_to_array$A(o, minLen) {
|
|
|
383
383
|
return result;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
function _array_like_to_array$
|
|
386
|
+
function _array_like_to_array$A(arr, len) {
|
|
387
387
|
if (len == null || len > arr.length) len = arr.length;
|
|
388
388
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
389
389
|
return arr2;
|
|
390
390
|
}
|
|
391
391
|
function _array_without_holes$m(arr) {
|
|
392
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
392
|
+
if (Array.isArray(arr)) return _array_like_to_array$A(arr);
|
|
393
393
|
}
|
|
394
394
|
function _iterable_to_array$m(iter) {
|
|
395
395
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -398,15 +398,15 @@ function _non_iterable_spread$m() {
|
|
|
398
398
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
399
399
|
}
|
|
400
400
|
function _to_consumable_array$m(arr) {
|
|
401
|
-
return _array_without_holes$m(arr) || _iterable_to_array$m(arr) || _unsupported_iterable_to_array$
|
|
401
|
+
return _array_without_holes$m(arr) || _iterable_to_array$m(arr) || _unsupported_iterable_to_array$A(arr) || _non_iterable_spread$m();
|
|
402
402
|
}
|
|
403
|
-
function _unsupported_iterable_to_array$
|
|
403
|
+
function _unsupported_iterable_to_array$A(o, minLen) {
|
|
404
404
|
if (!o) return;
|
|
405
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
405
|
+
if (typeof o === "string") return _array_like_to_array$A(o, minLen);
|
|
406
406
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
407
407
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
408
408
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
409
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
409
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$A(o, minLen);
|
|
410
410
|
}
|
|
411
411
|
// MARK: Functions
|
|
412
412
|
/**
|
|
@@ -528,7 +528,7 @@ function _unsupported_iterable_to_array$z(o, minLen) {
|
|
|
528
528
|
* @param input - array to copy, or nullish
|
|
529
529
|
* @returns a new array with the same elements, or an empty array if input is nullish
|
|
530
530
|
*/ function copyArray(input) {
|
|
531
|
-
return input
|
|
531
|
+
return input == null ? [] : _to_consumable_array$m(input);
|
|
532
532
|
}
|
|
533
533
|
/**
|
|
534
534
|
* Pushes the same element onto the target array a specified number of times.
|
|
@@ -764,13 +764,13 @@ function _unsupported_iterable_to_array$z(o, minLen) {
|
|
|
764
764
|
return readKeysSetFunction(readKey)(values);
|
|
765
765
|
}
|
|
766
766
|
|
|
767
|
-
function _array_like_to_array$
|
|
767
|
+
function _array_like_to_array$z(arr, len) {
|
|
768
768
|
if (len == null || len > arr.length) len = arr.length;
|
|
769
769
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
770
770
|
return arr2;
|
|
771
771
|
}
|
|
772
772
|
function _array_without_holes$l(arr) {
|
|
773
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
773
|
+
if (Array.isArray(arr)) return _array_like_to_array$z(arr);
|
|
774
774
|
}
|
|
775
775
|
function _iterable_to_array$l(iter) {
|
|
776
776
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -779,15 +779,15 @@ function _non_iterable_spread$l() {
|
|
|
779
779
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
780
780
|
}
|
|
781
781
|
function _to_consumable_array$l(arr) {
|
|
782
|
-
return _array_without_holes$l(arr) || _iterable_to_array$l(arr) || _unsupported_iterable_to_array$
|
|
782
|
+
return _array_without_holes$l(arr) || _iterable_to_array$l(arr) || _unsupported_iterable_to_array$z(arr) || _non_iterable_spread$l();
|
|
783
783
|
}
|
|
784
|
-
function _unsupported_iterable_to_array$
|
|
784
|
+
function _unsupported_iterable_to_array$z(o, minLen) {
|
|
785
785
|
if (!o) return;
|
|
786
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
786
|
+
if (typeof o === "string") return _array_like_to_array$z(o, minLen);
|
|
787
787
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
788
788
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
789
789
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
790
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
790
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$z(o, minLen);
|
|
791
791
|
}
|
|
792
792
|
/**
|
|
793
793
|
* Converts an {@link IterableOrValue} into a Set. Strings are treated as single values rather than character iterables.
|
|
@@ -1282,13 +1282,13 @@ function _unsupported_iterable_to_array$y(o, minLen) {
|
|
|
1282
1282
|
return a && b ? a.size === b.size && setContainsAllValues(a, b, true) : a == b;
|
|
1283
1283
|
}
|
|
1284
1284
|
|
|
1285
|
-
function _array_like_to_array$
|
|
1285
|
+
function _array_like_to_array$y(arr, len) {
|
|
1286
1286
|
if (len == null || len > arr.length) len = arr.length;
|
|
1287
1287
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
1288
1288
|
return arr2;
|
|
1289
1289
|
}
|
|
1290
1290
|
function _array_without_holes$k(arr) {
|
|
1291
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
1291
|
+
if (Array.isArray(arr)) return _array_like_to_array$y(arr);
|
|
1292
1292
|
}
|
|
1293
1293
|
function _iterable_to_array$k(iter) {
|
|
1294
1294
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -1297,15 +1297,15 @@ function _non_iterable_spread$k() {
|
|
|
1297
1297
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1298
1298
|
}
|
|
1299
1299
|
function _to_consumable_array$k(arr) {
|
|
1300
|
-
return _array_without_holes$k(arr) || _iterable_to_array$k(arr) || _unsupported_iterable_to_array$
|
|
1300
|
+
return _array_without_holes$k(arr) || _iterable_to_array$k(arr) || _unsupported_iterable_to_array$y(arr) || _non_iterable_spread$k();
|
|
1301
1301
|
}
|
|
1302
|
-
function _unsupported_iterable_to_array$
|
|
1302
|
+
function _unsupported_iterable_to_array$y(o, minLen) {
|
|
1303
1303
|
if (!o) return;
|
|
1304
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
1304
|
+
if (typeof o === "string") return _array_like_to_array$y(o, minLen);
|
|
1305
1305
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1306
1306
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1307
1307
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
1308
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
1308
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$y(o, minLen);
|
|
1309
1309
|
}
|
|
1310
1310
|
/**
|
|
1311
1311
|
* Inverts the output of an arbitrary boolean-returning function.
|
|
@@ -1795,13 +1795,13 @@ function chainMapFunction(a, b) {
|
|
|
1795
1795
|
} : a;
|
|
1796
1796
|
}
|
|
1797
1797
|
|
|
1798
|
-
function _array_like_to_array$
|
|
1798
|
+
function _array_like_to_array$x(arr, len) {
|
|
1799
1799
|
if (len == null || len > arr.length) len = arr.length;
|
|
1800
1800
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
1801
1801
|
return arr2;
|
|
1802
1802
|
}
|
|
1803
1803
|
function _array_without_holes$j(arr) {
|
|
1804
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
1804
|
+
if (Array.isArray(arr)) return _array_like_to_array$x(arr);
|
|
1805
1805
|
}
|
|
1806
1806
|
function _iterable_to_array$j(iter) {
|
|
1807
1807
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -1810,15 +1810,15 @@ function _non_iterable_spread$j() {
|
|
|
1810
1810
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1811
1811
|
}
|
|
1812
1812
|
function _to_consumable_array$j(arr) {
|
|
1813
|
-
return _array_without_holes$j(arr) || _iterable_to_array$j(arr) || _unsupported_iterable_to_array$
|
|
1813
|
+
return _array_without_holes$j(arr) || _iterable_to_array$j(arr) || _unsupported_iterable_to_array$x(arr) || _non_iterable_spread$j();
|
|
1814
1814
|
}
|
|
1815
|
-
function _unsupported_iterable_to_array$
|
|
1815
|
+
function _unsupported_iterable_to_array$x(o, minLen) {
|
|
1816
1816
|
if (!o) return;
|
|
1817
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
1817
|
+
if (typeof o === "string") return _array_like_to_array$x(o, minLen);
|
|
1818
1818
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1819
1819
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1820
1820
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
1821
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
1821
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$x(o, minLen);
|
|
1822
1822
|
}
|
|
1823
1823
|
/**
|
|
1824
1824
|
* Concatenates multiple arrays and returns only unique values.
|
|
@@ -2229,13 +2229,13 @@ function readModelKey(input) {
|
|
|
2229
2229
|
}
|
|
2230
2230
|
;
|
|
2231
2231
|
|
|
2232
|
-
function _array_like_to_array$
|
|
2232
|
+
function _array_like_to_array$w(arr, len) {
|
|
2233
2233
|
if (len == null || len > arr.length) len = arr.length;
|
|
2234
2234
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
2235
2235
|
return arr2;
|
|
2236
2236
|
}
|
|
2237
2237
|
function _array_without_holes$i(arr) {
|
|
2238
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
2238
|
+
if (Array.isArray(arr)) return _array_like_to_array$w(arr);
|
|
2239
2239
|
}
|
|
2240
2240
|
function _iterable_to_array$i(iter) {
|
|
2241
2241
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -2244,15 +2244,15 @@ function _non_iterable_spread$i() {
|
|
|
2244
2244
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2245
2245
|
}
|
|
2246
2246
|
function _to_consumable_array$i(arr) {
|
|
2247
|
-
return _array_without_holes$i(arr) || _iterable_to_array$i(arr) || _unsupported_iterable_to_array$
|
|
2247
|
+
return _array_without_holes$i(arr) || _iterable_to_array$i(arr) || _unsupported_iterable_to_array$w(arr) || _non_iterable_spread$i();
|
|
2248
2248
|
}
|
|
2249
|
-
function _unsupported_iterable_to_array$
|
|
2249
|
+
function _unsupported_iterable_to_array$w(o, minLen) {
|
|
2250
2250
|
if (!o) return;
|
|
2251
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
2251
|
+
if (typeof o === "string") return _array_like_to_array$w(o, minLen);
|
|
2252
2252
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2253
2253
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2254
2254
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2255
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
2255
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$w(o, minLen);
|
|
2256
2256
|
}
|
|
2257
2257
|
/**
|
|
2258
2258
|
* Wraps a key reading function to ensure that empty string keys are not used in boolean key arrays.
|
|
@@ -2359,13 +2359,13 @@ function _unsupported_iterable_to_array$v(o, minLen) {
|
|
|
2359
2359
|
return x ? x : undefined;
|
|
2360
2360
|
});
|
|
2361
2361
|
|
|
2362
|
-
function _array_like_to_array$
|
|
2362
|
+
function _array_like_to_array$v(arr, len) {
|
|
2363
2363
|
if (len == null || len > arr.length) len = arr.length;
|
|
2364
2364
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
2365
2365
|
return arr2;
|
|
2366
2366
|
}
|
|
2367
2367
|
function _array_without_holes$h(arr) {
|
|
2368
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
2368
|
+
if (Array.isArray(arr)) return _array_like_to_array$v(arr);
|
|
2369
2369
|
}
|
|
2370
2370
|
function _class_call_check$a(instance, Constructor) {
|
|
2371
2371
|
if (!(instance instanceof Constructor)) {
|
|
@@ -2405,15 +2405,15 @@ function _non_iterable_spread$h() {
|
|
|
2405
2405
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2406
2406
|
}
|
|
2407
2407
|
function _to_consumable_array$h(arr) {
|
|
2408
|
-
return _array_without_holes$h(arr) || _iterable_to_array$h(arr) || _unsupported_iterable_to_array$
|
|
2408
|
+
return _array_without_holes$h(arr) || _iterable_to_array$h(arr) || _unsupported_iterable_to_array$v(arr) || _non_iterable_spread$h();
|
|
2409
2409
|
}
|
|
2410
|
-
function _unsupported_iterable_to_array$
|
|
2410
|
+
function _unsupported_iterable_to_array$v(o, minLen) {
|
|
2411
2411
|
if (!o) return;
|
|
2412
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
2412
|
+
if (typeof o === "string") return _array_like_to_array$v(o, minLen);
|
|
2413
2413
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2414
2414
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2415
2415
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2416
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
2416
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$v(o, minLen);
|
|
2417
2417
|
}
|
|
2418
2418
|
/**
|
|
2419
2419
|
* Set that is implemented internally using a Map, and input values have their keys read.
|
|
@@ -2609,13 +2609,13 @@ function _unsupported_iterable_to_array$u(o, minLen) {
|
|
|
2609
2609
|
}
|
|
2610
2610
|
();
|
|
2611
2611
|
|
|
2612
|
-
function _array_like_to_array$
|
|
2612
|
+
function _array_like_to_array$u(arr, len) {
|
|
2613
2613
|
if (len == null || len > arr.length) len = arr.length;
|
|
2614
2614
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
2615
2615
|
return arr2;
|
|
2616
2616
|
}
|
|
2617
2617
|
function _array_without_holes$g(arr) {
|
|
2618
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
2618
|
+
if (Array.isArray(arr)) return _array_like_to_array$u(arr);
|
|
2619
2619
|
}
|
|
2620
2620
|
function _iterable_to_array$g(iter) {
|
|
2621
2621
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -2624,15 +2624,15 @@ function _non_iterable_spread$g() {
|
|
|
2624
2624
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2625
2625
|
}
|
|
2626
2626
|
function _to_consumable_array$g(arr) {
|
|
2627
|
-
return _array_without_holes$g(arr) || _iterable_to_array$g(arr) || _unsupported_iterable_to_array$
|
|
2627
|
+
return _array_without_holes$g(arr) || _iterable_to_array$g(arr) || _unsupported_iterable_to_array$u(arr) || _non_iterable_spread$g();
|
|
2628
2628
|
}
|
|
2629
|
-
function _unsupported_iterable_to_array$
|
|
2629
|
+
function _unsupported_iterable_to_array$u(o, minLen) {
|
|
2630
2630
|
if (!o) return;
|
|
2631
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
2631
|
+
if (typeof o === "string") return _array_like_to_array$u(o, minLen);
|
|
2632
2632
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2633
2633
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2634
2634
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2635
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
2635
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$u(o, minLen);
|
|
2636
2636
|
}
|
|
2637
2637
|
var SORT_VALUE_LESS_THAN = -1;
|
|
2638
2638
|
var SORT_VALUE_GREATER_THAN = 1;
|
|
@@ -2767,21 +2767,21 @@ function reverseCompareFn(compareFn) {
|
|
|
2767
2767
|
};
|
|
2768
2768
|
}
|
|
2769
2769
|
|
|
2770
|
-
function _array_like_to_array$
|
|
2770
|
+
function _array_like_to_array$t(arr, len) {
|
|
2771
2771
|
if (len == null || len > arr.length) len = arr.length;
|
|
2772
2772
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
2773
2773
|
return arr2;
|
|
2774
2774
|
}
|
|
2775
|
-
function _array_with_holes$
|
|
2775
|
+
function _array_with_holes$l(arr) {
|
|
2776
2776
|
if (Array.isArray(arr)) return arr;
|
|
2777
2777
|
}
|
|
2778
2778
|
function _array_without_holes$f(arr) {
|
|
2779
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
2779
|
+
if (Array.isArray(arr)) return _array_like_to_array$t(arr);
|
|
2780
2780
|
}
|
|
2781
2781
|
function _iterable_to_array$f(iter) {
|
|
2782
2782
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
2783
2783
|
}
|
|
2784
|
-
function _iterable_to_array_limit$
|
|
2784
|
+
function _iterable_to_array_limit$l(arr, i) {
|
|
2785
2785
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
2786
2786
|
if (_i == null) return;
|
|
2787
2787
|
var _arr = [];
|
|
@@ -2805,25 +2805,25 @@ function _iterable_to_array_limit$k(arr, i) {
|
|
|
2805
2805
|
}
|
|
2806
2806
|
return _arr;
|
|
2807
2807
|
}
|
|
2808
|
-
function _non_iterable_rest$
|
|
2808
|
+
function _non_iterable_rest$l() {
|
|
2809
2809
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2810
2810
|
}
|
|
2811
2811
|
function _non_iterable_spread$f() {
|
|
2812
2812
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2813
2813
|
}
|
|
2814
|
-
function _sliced_to_array$
|
|
2815
|
-
return _array_with_holes$
|
|
2814
|
+
function _sliced_to_array$l(arr, i) {
|
|
2815
|
+
return _array_with_holes$l(arr) || _iterable_to_array_limit$l(arr, i) || _unsupported_iterable_to_array$t(arr, i) || _non_iterable_rest$l();
|
|
2816
2816
|
}
|
|
2817
2817
|
function _to_consumable_array$f(arr) {
|
|
2818
|
-
return _array_without_holes$f(arr) || _iterable_to_array$f(arr) || _unsupported_iterable_to_array$
|
|
2818
|
+
return _array_without_holes$f(arr) || _iterable_to_array$f(arr) || _unsupported_iterable_to_array$t(arr) || _non_iterable_spread$f();
|
|
2819
2819
|
}
|
|
2820
|
-
function _unsupported_iterable_to_array$
|
|
2820
|
+
function _unsupported_iterable_to_array$t(o, minLen) {
|
|
2821
2821
|
if (!o) return;
|
|
2822
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
2822
|
+
if (typeof o === "string") return _array_like_to_array$t(o, minLen);
|
|
2823
2823
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2824
2824
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2825
2825
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2826
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
2826
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$t(o, minLen);
|
|
2827
2827
|
}
|
|
2828
2828
|
/**
|
|
2829
2829
|
* Splits the input array into batches of a maximum size. Each batch carries its zero-based index as `.i`.
|
|
@@ -2968,7 +2968,7 @@ function _unsupported_iterable_to_array$s(o, minLen) {
|
|
|
2968
2968
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
2969
2969
|
try {
|
|
2970
2970
|
for(var _iterator = pairs.pairs[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
2971
|
-
var _step_value = _sliced_to_array$
|
|
2971
|
+
var _step_value = _sliced_to_array$l(_step.value, 2), aa = _step_value[0], bb = _step_value[1];
|
|
2972
2972
|
// If any item is not the same, break.
|
|
2973
2973
|
if (!isEqual(aa, bb)) {
|
|
2974
2974
|
areDifferent = true;
|
|
@@ -3069,15 +3069,15 @@ function makeValuesGroupMap(values, groupKeyFn) {
|
|
|
3069
3069
|
return map;
|
|
3070
3070
|
}
|
|
3071
3071
|
|
|
3072
|
-
function _array_like_to_array$
|
|
3072
|
+
function _array_like_to_array$s(arr, len) {
|
|
3073
3073
|
if (len == null || len > arr.length) len = arr.length;
|
|
3074
3074
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
3075
3075
|
return arr2;
|
|
3076
3076
|
}
|
|
3077
|
-
function _array_with_holes$
|
|
3077
|
+
function _array_with_holes$k(arr) {
|
|
3078
3078
|
if (Array.isArray(arr)) return arr;
|
|
3079
3079
|
}
|
|
3080
|
-
function _iterable_to_array_limit$
|
|
3080
|
+
function _iterable_to_array_limit$k(arr, i) {
|
|
3081
3081
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
3082
3082
|
if (_i == null) return;
|
|
3083
3083
|
var _arr = [];
|
|
@@ -3101,19 +3101,19 @@ function _iterable_to_array_limit$j(arr, i) {
|
|
|
3101
3101
|
}
|
|
3102
3102
|
return _arr;
|
|
3103
3103
|
}
|
|
3104
|
-
function _non_iterable_rest$
|
|
3104
|
+
function _non_iterable_rest$k() {
|
|
3105
3105
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3106
3106
|
}
|
|
3107
|
-
function _sliced_to_array$
|
|
3108
|
-
return _array_with_holes$
|
|
3107
|
+
function _sliced_to_array$k(arr, i) {
|
|
3108
|
+
return _array_with_holes$k(arr) || _iterable_to_array_limit$k(arr, i) || _unsupported_iterable_to_array$s(arr, i) || _non_iterable_rest$k();
|
|
3109
3109
|
}
|
|
3110
|
-
function _unsupported_iterable_to_array$
|
|
3110
|
+
function _unsupported_iterable_to_array$s(o, minLen) {
|
|
3111
3111
|
if (!o) return;
|
|
3112
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
3112
|
+
if (typeof o === "string") return _array_like_to_array$s(o, minLen);
|
|
3113
3113
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
3114
3114
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
3115
3115
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
3116
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
3116
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$s(o, minLen);
|
|
3117
3117
|
}
|
|
3118
3118
|
/**
|
|
3119
3119
|
* Combines multiple Maps into a single Map. Later maps override earlier values for the same key.
|
|
@@ -3169,7 +3169,7 @@ function _unsupported_iterable_to_array$r(o, minLen) {
|
|
|
3169
3169
|
*/ function expandArrayValueTuples(values) {
|
|
3170
3170
|
var tuples = [];
|
|
3171
3171
|
values.forEach(function(param) {
|
|
3172
|
-
var _param = _sliced_to_array$
|
|
3172
|
+
var _param = _sliced_to_array$k(param, 2), key = _param[0], _$values = _param[1];
|
|
3173
3173
|
useIterableOrValue(_$values, function(value) {
|
|
3174
3174
|
tuples.push([
|
|
3175
3175
|
key,
|
|
@@ -5472,7 +5472,7 @@ function joinStrings(input) {
|
|
|
5472
5472
|
joinStrings: joinStrings,
|
|
5473
5473
|
splitStrings: splitStrings,
|
|
5474
5474
|
splitStringsToSet: function splitStringsToSet(input) {
|
|
5475
|
-
return new Set(input
|
|
5475
|
+
return new Set(input == null ? [] : splitStrings(input));
|
|
5476
5476
|
},
|
|
5477
5477
|
splitJoinRemainder: function splitJoinRemainder1(input, limit) {
|
|
5478
5478
|
return splitJoinRemainder(input, joiner, limit);
|
|
@@ -5710,13 +5710,13 @@ function caseInsensitiveString(input) {
|
|
|
5710
5710
|
}
|
|
5711
5711
|
if (config.slice) {
|
|
5712
5712
|
var sliceTransform = sliceStringFunction(config.slice);
|
|
5713
|
-
if (baseTransform
|
|
5713
|
+
if (baseTransform == null) {
|
|
5714
|
+
baseTransform = sliceTransform;
|
|
5715
|
+
} else {
|
|
5714
5716
|
var initialBaseTransform = baseTransform;
|
|
5715
5717
|
baseTransform = function baseTransform(x) {
|
|
5716
5718
|
return initialBaseTransform(sliceTransform(x));
|
|
5717
5719
|
};
|
|
5718
|
-
} else {
|
|
5719
|
-
baseTransform = sliceTransform;
|
|
5720
5720
|
}
|
|
5721
5721
|
}
|
|
5722
5722
|
var transform = baseTransform;
|
|
@@ -6368,15 +6368,15 @@ function _object_spread$e(target) {
|
|
|
6368
6368
|
* @returns The inverted filter function, or the original if invert is false
|
|
6369
6369
|
*/ var invertFilter = invertBooleanReturnFunction;
|
|
6370
6370
|
|
|
6371
|
-
function _array_like_to_array$
|
|
6371
|
+
function _array_like_to_array$r(arr, len) {
|
|
6372
6372
|
if (len == null || len > arr.length) len = arr.length;
|
|
6373
6373
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
6374
6374
|
return arr2;
|
|
6375
6375
|
}
|
|
6376
|
-
function _array_with_holes$
|
|
6376
|
+
function _array_with_holes$j(arr) {
|
|
6377
6377
|
if (Array.isArray(arr)) return arr;
|
|
6378
6378
|
}
|
|
6379
|
-
function _iterable_to_array_limit$
|
|
6379
|
+
function _iterable_to_array_limit$j(arr, i) {
|
|
6380
6380
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
6381
6381
|
if (_i == null) return;
|
|
6382
6382
|
var _arr = [];
|
|
@@ -6400,23 +6400,23 @@ function _iterable_to_array_limit$i(arr, i) {
|
|
|
6400
6400
|
}
|
|
6401
6401
|
return _arr;
|
|
6402
6402
|
}
|
|
6403
|
-
function _non_iterable_rest$
|
|
6403
|
+
function _non_iterable_rest$j() {
|
|
6404
6404
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
6405
6405
|
}
|
|
6406
|
-
function _sliced_to_array$
|
|
6407
|
-
return _array_with_holes$
|
|
6406
|
+
function _sliced_to_array$j(arr, i) {
|
|
6407
|
+
return _array_with_holes$j(arr) || _iterable_to_array_limit$j(arr, i) || _unsupported_iterable_to_array$r(arr, i) || _non_iterable_rest$j();
|
|
6408
6408
|
}
|
|
6409
6409
|
function _type_of$f(obj) {
|
|
6410
6410
|
"@swc/helpers - typeof";
|
|
6411
6411
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
6412
6412
|
}
|
|
6413
|
-
function _unsupported_iterable_to_array$
|
|
6413
|
+
function _unsupported_iterable_to_array$r(o, minLen) {
|
|
6414
6414
|
if (!o) return;
|
|
6415
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
6415
|
+
if (typeof o === "string") return _array_like_to_array$r(o, minLen);
|
|
6416
6416
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
6417
6417
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
6418
6418
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
6419
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
6419
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$r(o, minLen);
|
|
6420
6420
|
}
|
|
6421
6421
|
/**
|
|
6422
6422
|
* Iterates over filtered key/value tuples of an object and invokes a callback for each.
|
|
@@ -6558,43 +6558,43 @@ function _unsupported_iterable_to_array$q(o, minLen) {
|
|
|
6558
6558
|
switch(type){
|
|
6559
6559
|
case exports.KeyValueTypleValueFilter.UNDEFINED:
|
|
6560
6560
|
filterFn = function filterFn(param) {
|
|
6561
|
-
var _param = _sliced_to_array$
|
|
6561
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6562
6562
|
return x !== undefined;
|
|
6563
6563
|
};
|
|
6564
6564
|
break;
|
|
6565
6565
|
case exports.KeyValueTypleValueFilter.NULL:
|
|
6566
6566
|
filterFn = function filterFn(param) {
|
|
6567
|
-
var _param = _sliced_to_array$
|
|
6567
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6568
6568
|
return x != null;
|
|
6569
6569
|
};
|
|
6570
6570
|
break;
|
|
6571
6571
|
case exports.KeyValueTypleValueFilter.FALSY:
|
|
6572
6572
|
filterFn = function filterFn(param) {
|
|
6573
|
-
var _param = _sliced_to_array$
|
|
6573
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6574
6574
|
return Boolean(x);
|
|
6575
6575
|
};
|
|
6576
6576
|
break;
|
|
6577
6577
|
case exports.KeyValueTypleValueFilter.EMPTY:
|
|
6578
6578
|
filterFn = function filterFn(param) {
|
|
6579
|
-
var _param = _sliced_to_array$
|
|
6579
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6580
6580
|
return hasValueOrNotEmpty(x);
|
|
6581
6581
|
};
|
|
6582
6582
|
break;
|
|
6583
6583
|
case exports.KeyValueTypleValueFilter.EMPTY_STRICT:
|
|
6584
6584
|
filterFn = function filterFn(param) {
|
|
6585
|
-
var _param = _sliced_to_array$
|
|
6585
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6586
6586
|
return hasValueOrNotEmptyObject(x);
|
|
6587
6587
|
};
|
|
6588
6588
|
break;
|
|
6589
6589
|
case exports.KeyValueTypleValueFilter.FALSY_AND_EMPTY:
|
|
6590
6590
|
filterFn = function filterFn(param) {
|
|
6591
|
-
var _param = _sliced_to_array$
|
|
6591
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6592
6592
|
return Boolean(x) && hasValueOrNotEmpty(x);
|
|
6593
6593
|
};
|
|
6594
6594
|
break;
|
|
6595
6595
|
case exports.KeyValueTypleValueFilter.FALSY_AND_EMPTY_STRICT:
|
|
6596
6596
|
filterFn = function filterFn(param) {
|
|
6597
|
-
var _param = _sliced_to_array$
|
|
6597
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6598
6598
|
return Boolean(x) && hasValueOrNotEmptyObject(x);
|
|
6599
6599
|
};
|
|
6600
6600
|
break;
|
|
@@ -6656,6 +6656,9 @@ function cachedGetter(factory) {
|
|
|
6656
6656
|
return loaded = undefined;
|
|
6657
6657
|
};
|
|
6658
6658
|
result.init = init;
|
|
6659
|
+
result.used = function() {
|
|
6660
|
+
return Boolean(loaded);
|
|
6661
|
+
};
|
|
6659
6662
|
return result;
|
|
6660
6663
|
}
|
|
6661
6664
|
|
|
@@ -6681,12 +6684,12 @@ function cachedGetter(factory) {
|
|
|
6681
6684
|
};
|
|
6682
6685
|
}
|
|
6683
6686
|
|
|
6684
|
-
function _array_like_to_array$
|
|
6687
|
+
function _array_like_to_array$q(arr, len) {
|
|
6685
6688
|
if (len == null || len > arr.length) len = arr.length;
|
|
6686
6689
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
6687
6690
|
return arr2;
|
|
6688
6691
|
}
|
|
6689
|
-
function _array_with_holes$
|
|
6692
|
+
function _array_with_holes$i(arr) {
|
|
6690
6693
|
if (Array.isArray(arr)) return arr;
|
|
6691
6694
|
}
|
|
6692
6695
|
function _define_property$h(obj, key, value) {
|
|
@@ -6702,7 +6705,7 @@ function _define_property$h(obj, key, value) {
|
|
|
6702
6705
|
}
|
|
6703
6706
|
return obj;
|
|
6704
6707
|
}
|
|
6705
|
-
function _iterable_to_array_limit$
|
|
6708
|
+
function _iterable_to_array_limit$i(arr, i) {
|
|
6706
6709
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
6707
6710
|
if (_i == null) return;
|
|
6708
6711
|
var _arr = [];
|
|
@@ -6726,7 +6729,7 @@ function _iterable_to_array_limit$h(arr, i) {
|
|
|
6726
6729
|
}
|
|
6727
6730
|
return _arr;
|
|
6728
6731
|
}
|
|
6729
|
-
function _non_iterable_rest$
|
|
6732
|
+
function _non_iterable_rest$i() {
|
|
6730
6733
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
6731
6734
|
}
|
|
6732
6735
|
function _object_spread$d(target) {
|
|
@@ -6744,20 +6747,20 @@ function _object_spread$d(target) {
|
|
|
6744
6747
|
}
|
|
6745
6748
|
return target;
|
|
6746
6749
|
}
|
|
6747
|
-
function _sliced_to_array$
|
|
6748
|
-
return _array_with_holes$
|
|
6750
|
+
function _sliced_to_array$i(arr, i) {
|
|
6751
|
+
return _array_with_holes$i(arr) || _iterable_to_array_limit$i(arr, i) || _unsupported_iterable_to_array$q(arr, i) || _non_iterable_rest$i();
|
|
6749
6752
|
}
|
|
6750
6753
|
function _type_of$e(obj) {
|
|
6751
6754
|
"@swc/helpers - typeof";
|
|
6752
6755
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
6753
6756
|
}
|
|
6754
|
-
function _unsupported_iterable_to_array$
|
|
6757
|
+
function _unsupported_iterable_to_array$q(o, minLen) {
|
|
6755
6758
|
if (!o) return;
|
|
6756
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
6759
|
+
if (typeof o === "string") return _array_like_to_array$q(o, minLen);
|
|
6757
6760
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
6758
6761
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
6759
6762
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
6760
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
6763
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$q(o, minLen);
|
|
6761
6764
|
}
|
|
6762
6765
|
// MARK: Object Merging/Overriding
|
|
6763
6766
|
/**
|
|
@@ -7052,7 +7055,7 @@ function _unsupported_iterable_to_array$p(o, minLen) {
|
|
|
7052
7055
|
filter: filter,
|
|
7053
7056
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
7054
7057
|
forEach: function forEach(param, i, obj, context) {
|
|
7055
|
-
var _param = _sliced_to_array$
|
|
7058
|
+
var _param = _sliced_to_array$i(param, 1), key = _param[0];
|
|
7056
7059
|
context.keys.push(key);
|
|
7057
7060
|
}
|
|
7058
7061
|
});
|
|
@@ -7175,7 +7178,7 @@ function _unsupported_iterable_to_array$p(o, minLen) {
|
|
|
7175
7178
|
var forEachFn = forEachKeyValueOnPOJOFunction({
|
|
7176
7179
|
filter: filter,
|
|
7177
7180
|
forEach: function forEach(param, i, object) {
|
|
7178
|
-
var _param = _sliced_to_array$
|
|
7181
|
+
var _param = _sliced_to_array$i(param, 1), key = _param[0];
|
|
7179
7182
|
delete object[key];
|
|
7180
7183
|
}
|
|
7181
7184
|
});
|
|
@@ -7252,7 +7255,7 @@ function _unsupported_iterable_to_array$p(o, minLen) {
|
|
|
7252
7255
|
filter: filter,
|
|
7253
7256
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
7254
7257
|
forEach: function forEach(param, i, object, target) {
|
|
7255
|
-
var _param = _sliced_to_array$
|
|
7258
|
+
var _param = _sliced_to_array$i(param, 2), key = _param[0], value = _param[1];
|
|
7256
7259
|
target[key] = value;
|
|
7257
7260
|
}
|
|
7258
7261
|
});
|
|
@@ -7314,7 +7317,7 @@ function _unsupported_iterable_to_array$p(o, minLen) {
|
|
|
7314
7317
|
filter: filter,
|
|
7315
7318
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
7316
7319
|
forEach: function forEach(param, i, obj, context) {
|
|
7317
|
-
var _param = _sliced_to_array$
|
|
7320
|
+
var _param = _sliced_to_array$i(param, 2), value = _param[1];
|
|
7318
7321
|
context.values.push(value);
|
|
7319
7322
|
}
|
|
7320
7323
|
});
|
|
@@ -7351,7 +7354,7 @@ function _unsupported_iterable_to_array$p(o, minLen) {
|
|
|
7351
7354
|
var invertFilter = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
7352
7355
|
var keysSet = new Set(keysToFilter);
|
|
7353
7356
|
var filterFn = invertBooleanReturnFunction(function(param) {
|
|
7354
|
-
var _param = _sliced_to_array$
|
|
7357
|
+
var _param = _sliced_to_array$i(param, 1), key = _param[0];
|
|
7355
7358
|
return keysSet.has(key);
|
|
7356
7359
|
}, invertFilter);
|
|
7357
7360
|
return filterTuplesOnPOJOFunction(filterFn);
|
|
@@ -7552,15 +7555,15 @@ function isInSetDecisionFunction(set, inputReadValue) {
|
|
|
7552
7555
|
return input != null ? new Set(asArray(input)) : input;
|
|
7553
7556
|
}
|
|
7554
7557
|
|
|
7555
|
-
function _array_like_to_array$
|
|
7558
|
+
function _array_like_to_array$p(arr, len) {
|
|
7556
7559
|
if (len == null || len > arr.length) len = arr.length;
|
|
7557
7560
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
7558
7561
|
return arr2;
|
|
7559
7562
|
}
|
|
7560
|
-
function _array_with_holes$
|
|
7563
|
+
function _array_with_holes$h(arr) {
|
|
7561
7564
|
if (Array.isArray(arr)) return arr;
|
|
7562
7565
|
}
|
|
7563
|
-
function _iterable_to_array_limit$
|
|
7566
|
+
function _iterable_to_array_limit$h(arr, i) {
|
|
7564
7567
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
7565
7568
|
if (_i == null) return;
|
|
7566
7569
|
var _arr = [];
|
|
@@ -7584,23 +7587,23 @@ function _iterable_to_array_limit$g(arr, i) {
|
|
|
7584
7587
|
}
|
|
7585
7588
|
return _arr;
|
|
7586
7589
|
}
|
|
7587
|
-
function _non_iterable_rest$
|
|
7590
|
+
function _non_iterable_rest$h() {
|
|
7588
7591
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7589
7592
|
}
|
|
7590
|
-
function _sliced_to_array$
|
|
7591
|
-
return _array_with_holes$
|
|
7593
|
+
function _sliced_to_array$h(arr, i) {
|
|
7594
|
+
return _array_with_holes$h(arr) || _iterable_to_array_limit$h(arr, i) || _unsupported_iterable_to_array$p(arr, i) || _non_iterable_rest$h();
|
|
7592
7595
|
}
|
|
7593
7596
|
function _type_of$d(obj) {
|
|
7594
7597
|
"@swc/helpers - typeof";
|
|
7595
7598
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
7596
7599
|
}
|
|
7597
|
-
function _unsupported_iterable_to_array$
|
|
7600
|
+
function _unsupported_iterable_to_array$p(o, minLen) {
|
|
7598
7601
|
if (!o) return;
|
|
7599
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
7602
|
+
if (typeof o === "string") return _array_like_to_array$p(o, minLen);
|
|
7600
7603
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
7601
7604
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
7602
7605
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
7603
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
7606
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$p(o, minLen);
|
|
7604
7607
|
}
|
|
7605
7608
|
var AUTH_ROLE_CLAIMS_DEFAULT_CLAIM_VALUE = 1;
|
|
7606
7609
|
var AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE = null;
|
|
@@ -7691,7 +7694,7 @@ var AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE = null;
|
|
|
7691
7694
|
var claims = {};
|
|
7692
7695
|
// iterate by each claim value to build the claims.
|
|
7693
7696
|
tuples.forEach(function(param) {
|
|
7694
|
-
var _param = _sliced_to_array$
|
|
7697
|
+
var _param = _sliced_to_array$h(param, 2), claimsKey = _param[0], entry = _param[1];
|
|
7695
7698
|
var _entry_encodeValueFromRoles;
|
|
7696
7699
|
var claimsValue = (_entry_encodeValueFromRoles = entry.encodeValueFromRoles(roles)) !== null && _entry_encodeValueFromRoles !== void 0 ? _entry_encodeValueFromRoles : defaultEmptyValue;
|
|
7697
7700
|
claims[claimsKey] = claimsValue;
|
|
@@ -7701,7 +7704,7 @@ var AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE = null;
|
|
|
7701
7704
|
var forEachKeyValueAddToSet = forEachKeyValueOnPOJOFunction({
|
|
7702
7705
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
7703
7706
|
forEach: function forEach(param, i, claims, roles) {
|
|
7704
|
-
var _param = _sliced_to_array$
|
|
7707
|
+
var _param = _sliced_to_array$h(param, 2), claimsKey = _param[0], value = _param[1];
|
|
7705
7708
|
var entry = authRoleMap.get(claimsKey);
|
|
7706
7709
|
if (entry != null) {
|
|
7707
7710
|
var decodedRoles = entry.decodeRolesFromValue(value);
|
|
@@ -7737,21 +7740,21 @@ var AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE = null;
|
|
|
7737
7740
|
});
|
|
7738
7741
|
}
|
|
7739
7742
|
|
|
7740
|
-
function _array_like_to_array$
|
|
7743
|
+
function _array_like_to_array$o(arr, len) {
|
|
7741
7744
|
if (len == null || len > arr.length) len = arr.length;
|
|
7742
7745
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
7743
7746
|
return arr2;
|
|
7744
7747
|
}
|
|
7745
|
-
function _array_with_holes$
|
|
7748
|
+
function _array_with_holes$g(arr) {
|
|
7746
7749
|
if (Array.isArray(arr)) return arr;
|
|
7747
7750
|
}
|
|
7748
7751
|
function _array_without_holes$e(arr) {
|
|
7749
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
7752
|
+
if (Array.isArray(arr)) return _array_like_to_array$o(arr);
|
|
7750
7753
|
}
|
|
7751
7754
|
function _iterable_to_array$e(iter) {
|
|
7752
7755
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
7753
7756
|
}
|
|
7754
|
-
function _iterable_to_array_limit$
|
|
7757
|
+
function _iterable_to_array_limit$g(arr, i) {
|
|
7755
7758
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
7756
7759
|
if (_i == null) return;
|
|
7757
7760
|
var _arr = [];
|
|
@@ -7775,25 +7778,25 @@ function _iterable_to_array_limit$f(arr, i) {
|
|
|
7775
7778
|
}
|
|
7776
7779
|
return _arr;
|
|
7777
7780
|
}
|
|
7778
|
-
function _non_iterable_rest$
|
|
7781
|
+
function _non_iterable_rest$g() {
|
|
7779
7782
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7780
7783
|
}
|
|
7781
7784
|
function _non_iterable_spread$e() {
|
|
7782
7785
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7783
7786
|
}
|
|
7784
|
-
function _sliced_to_array$
|
|
7785
|
-
return _array_with_holes$
|
|
7787
|
+
function _sliced_to_array$g(arr, i) {
|
|
7788
|
+
return _array_with_holes$g(arr) || _iterable_to_array_limit$g(arr, i) || _unsupported_iterable_to_array$o(arr, i) || _non_iterable_rest$g();
|
|
7786
7789
|
}
|
|
7787
7790
|
function _to_consumable_array$e(arr) {
|
|
7788
|
-
return _array_without_holes$e(arr) || _iterable_to_array$e(arr) || _unsupported_iterable_to_array$
|
|
7791
|
+
return _array_without_holes$e(arr) || _iterable_to_array$e(arr) || _unsupported_iterable_to_array$o(arr) || _non_iterable_spread$e();
|
|
7789
7792
|
}
|
|
7790
|
-
function _unsupported_iterable_to_array$
|
|
7793
|
+
function _unsupported_iterable_to_array$o(o, minLen) {
|
|
7791
7794
|
if (!o) return;
|
|
7792
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
7795
|
+
if (typeof o === "string") return _array_like_to_array$o(o, minLen);
|
|
7793
7796
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
7794
7797
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
7795
7798
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
7796
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
7799
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$o(o, minLen);
|
|
7797
7800
|
}
|
|
7798
7801
|
/**
|
|
7799
7802
|
* Finds the first and last occurrence of a single character within the input string.
|
|
@@ -7812,7 +7815,7 @@ function _unsupported_iterable_to_array$n(o, minLen) {
|
|
|
7812
7815
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
7813
7816
|
try {
|
|
7814
7817
|
for(var _iterator = _to_consumable_array$e(input).entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
7815
|
-
var _step_value = _sliced_to_array$
|
|
7818
|
+
var _step_value = _sliced_to_array$g(_step.value, 2), i = _step_value[0], char = _step_value[1];
|
|
7816
7819
|
if (char === find) {
|
|
7817
7820
|
if (first === -1) {
|
|
7818
7821
|
first = i;
|
|
@@ -7899,7 +7902,7 @@ function replaceCharacterAtIndexIf(input, index, replacement, decision) {
|
|
|
7899
7902
|
* @param replacement - string to substitute at the index
|
|
7900
7903
|
* @returns the string with the character at the index replaced
|
|
7901
7904
|
*/ function replaceCharacterAtIndexWith(input, index, replacement) {
|
|
7902
|
-
var _splitStringAtIndex = _sliced_to_array$
|
|
7905
|
+
var _splitStringAtIndex = _sliced_to_array$g(splitStringAtIndex(input, index, false), 2), head = _splitStringAtIndex[0], tail = _splitStringAtIndex[1];
|
|
7903
7906
|
return head + replacement + tail;
|
|
7904
7907
|
}
|
|
7905
7908
|
/**
|
|
@@ -7941,7 +7944,7 @@ function replaceCharacterAtIndexIf(input, index, replacement, decision) {
|
|
|
7941
7944
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
7942
7945
|
try {
|
|
7943
7946
|
for(var _iterator = _to_consumable_array$e(chars).entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
7944
|
-
var _step_value = _sliced_to_array$
|
|
7947
|
+
var _step_value = _sliced_to_array$g(_step.value, 2), i = _step_value[0], char = _step_value[1];
|
|
7945
7948
|
record[char] = i;
|
|
7946
7949
|
}
|
|
7947
7950
|
} catch (err) {
|
|
@@ -7961,16 +7964,16 @@ function replaceCharacterAtIndexIf(input, index, replacement, decision) {
|
|
|
7961
7964
|
return record;
|
|
7962
7965
|
}
|
|
7963
7966
|
|
|
7964
|
-
function _array_like_to_array$
|
|
7967
|
+
function _array_like_to_array$n(arr, len) {
|
|
7965
7968
|
if (len == null || len > arr.length) len = arr.length;
|
|
7966
7969
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
7967
7970
|
return arr2;
|
|
7968
7971
|
}
|
|
7969
|
-
function _array_with_holes$
|
|
7972
|
+
function _array_with_holes$f(arr) {
|
|
7970
7973
|
if (Array.isArray(arr)) return arr;
|
|
7971
7974
|
}
|
|
7972
7975
|
function _array_without_holes$d(arr) {
|
|
7973
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
7976
|
+
if (Array.isArray(arr)) return _array_like_to_array$n(arr);
|
|
7974
7977
|
}
|
|
7975
7978
|
function _instanceof$3(left, right) {
|
|
7976
7979
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
@@ -7982,7 +7985,7 @@ function _instanceof$3(left, right) {
|
|
|
7982
7985
|
function _iterable_to_array$d(iter) {
|
|
7983
7986
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
7984
7987
|
}
|
|
7985
|
-
function _iterable_to_array_limit$
|
|
7988
|
+
function _iterable_to_array_limit$f(arr, i) {
|
|
7986
7989
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
7987
7990
|
if (_i == null) return;
|
|
7988
7991
|
var _arr = [];
|
|
@@ -8006,25 +8009,25 @@ function _iterable_to_array_limit$e(arr, i) {
|
|
|
8006
8009
|
}
|
|
8007
8010
|
return _arr;
|
|
8008
8011
|
}
|
|
8009
|
-
function _non_iterable_rest$
|
|
8012
|
+
function _non_iterable_rest$f() {
|
|
8010
8013
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8011
8014
|
}
|
|
8012
8015
|
function _non_iterable_spread$d() {
|
|
8013
8016
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8014
8017
|
}
|
|
8015
|
-
function _sliced_to_array$
|
|
8016
|
-
return _array_with_holes$
|
|
8018
|
+
function _sliced_to_array$f(arr, i) {
|
|
8019
|
+
return _array_with_holes$f(arr) || _iterable_to_array_limit$f(arr, i) || _unsupported_iterable_to_array$n(arr, i) || _non_iterable_rest$f();
|
|
8017
8020
|
}
|
|
8018
8021
|
function _to_consumable_array$d(arr) {
|
|
8019
|
-
return _array_without_holes$d(arr) || _iterable_to_array$d(arr) || _unsupported_iterable_to_array$
|
|
8022
|
+
return _array_without_holes$d(arr) || _iterable_to_array$d(arr) || _unsupported_iterable_to_array$n(arr) || _non_iterable_spread$d();
|
|
8020
8023
|
}
|
|
8021
|
-
function _unsupported_iterable_to_array$
|
|
8024
|
+
function _unsupported_iterable_to_array$n(o, minLen) {
|
|
8022
8025
|
if (!o) return;
|
|
8023
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
8026
|
+
if (typeof o === "string") return _array_like_to_array$n(o, minLen);
|
|
8024
8027
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
8025
8028
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
8026
8029
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
8027
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
8030
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$n(o, minLen);
|
|
8028
8031
|
}
|
|
8029
8032
|
/**
|
|
8030
8033
|
* Creates a function that replaces all occurrences of the configured target strings with a replacement value.
|
|
@@ -8142,7 +8145,7 @@ function _unsupported_iterable_to_array$m(o, minLen) {
|
|
|
8142
8145
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
8143
8146
|
try {
|
|
8144
8147
|
for(var _iterator = _to_consumable_array$d(input).entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
8145
|
-
var _step_value = _sliced_to_array$
|
|
8148
|
+
var _step_value = _sliced_to_array$f(_step.value, 2), i = _step_value[0], char = _step_value[1];
|
|
8146
8149
|
if (characterSet.has(char)) {
|
|
8147
8150
|
occurrences.push(i);
|
|
8148
8151
|
// return if at the max number of occurences
|
|
@@ -8451,12 +8454,12 @@ function isEqualToValueDecisionFunction(equalityValue) {
|
|
|
8451
8454
|
return equalityValueCheckFunction;
|
|
8452
8455
|
}
|
|
8453
8456
|
|
|
8454
|
-
function _array_like_to_array$
|
|
8457
|
+
function _array_like_to_array$m(arr, len) {
|
|
8455
8458
|
if (len == null || len > arr.length) len = arr.length;
|
|
8456
8459
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
8457
8460
|
return arr2;
|
|
8458
8461
|
}
|
|
8459
|
-
function _array_with_holes$
|
|
8462
|
+
function _array_with_holes$e(arr) {
|
|
8460
8463
|
if (Array.isArray(arr)) return arr;
|
|
8461
8464
|
}
|
|
8462
8465
|
function _define_property$g(obj, key, value) {
|
|
@@ -8472,7 +8475,7 @@ function _define_property$g(obj, key, value) {
|
|
|
8472
8475
|
}
|
|
8473
8476
|
return obj;
|
|
8474
8477
|
}
|
|
8475
|
-
function _iterable_to_array_limit$
|
|
8478
|
+
function _iterable_to_array_limit$e(arr, i) {
|
|
8476
8479
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
8477
8480
|
if (_i == null) return;
|
|
8478
8481
|
var _arr = [];
|
|
@@ -8496,7 +8499,7 @@ function _iterable_to_array_limit$d(arr, i) {
|
|
|
8496
8499
|
}
|
|
8497
8500
|
return _arr;
|
|
8498
8501
|
}
|
|
8499
|
-
function _non_iterable_rest$
|
|
8502
|
+
function _non_iterable_rest$e() {
|
|
8500
8503
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8501
8504
|
}
|
|
8502
8505
|
function _object_spread$c(target) {
|
|
@@ -8514,20 +8517,20 @@ function _object_spread$c(target) {
|
|
|
8514
8517
|
}
|
|
8515
8518
|
return target;
|
|
8516
8519
|
}
|
|
8517
|
-
function _sliced_to_array$
|
|
8518
|
-
return _array_with_holes$
|
|
8520
|
+
function _sliced_to_array$e(arr, i) {
|
|
8521
|
+
return _array_with_holes$e(arr) || _iterable_to_array_limit$e(arr, i) || _unsupported_iterable_to_array$m(arr, i) || _non_iterable_rest$e();
|
|
8519
8522
|
}
|
|
8520
8523
|
function _type_of$c(obj) {
|
|
8521
8524
|
"@swc/helpers - typeof";
|
|
8522
8525
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
8523
8526
|
}
|
|
8524
|
-
function _unsupported_iterable_to_array$
|
|
8527
|
+
function _unsupported_iterable_to_array$m(o, minLen) {
|
|
8525
8528
|
if (!o) return;
|
|
8526
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
8529
|
+
if (typeof o === "string") return _array_like_to_array$m(o, minLen);
|
|
8527
8530
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
8528
8531
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
8529
8532
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
8530
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
8533
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$m(o, minLen);
|
|
8531
8534
|
}
|
|
8532
8535
|
var SLASH_PATH_SEPARATOR = '/';
|
|
8533
8536
|
var SLASH_PATH_FILE_TYPE_SEPARATOR = '.';
|
|
@@ -8700,10 +8703,10 @@ var ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = /\.+/g;
|
|
|
8700
8703
|
path = undefined;
|
|
8701
8704
|
break;
|
|
8702
8705
|
}
|
|
8703
|
-
if (path
|
|
8704
|
-
path = startTypeFactory(path);
|
|
8705
|
-
} else {
|
|
8706
|
+
if (path == null) {
|
|
8706
8707
|
path = invalidPathValue;
|
|
8708
|
+
} else {
|
|
8709
|
+
path = startTypeFactory(path);
|
|
8707
8710
|
}
|
|
8708
8711
|
// must end with a slash to be a proper folder, unless it is a relative folder path ("", empty string)
|
|
8709
8712
|
if (path) {
|
|
@@ -8812,7 +8815,7 @@ var ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = /\.+/g;
|
|
|
8812
8815
|
}
|
|
8813
8816
|
default:
|
|
8814
8817
|
{
|
|
8815
|
-
var _splitStringAtIndex = _sliced_to_array$
|
|
8818
|
+
var _splitStringAtIndex = _sliced_to_array$e(splitStringAtIndex(inputToEvaluate, last, true), 2), head = _splitStringAtIndex[0], tail = _splitStringAtIndex[1];
|
|
8816
8819
|
var headWithReplacedSeparators = head.replace(ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX, replaceWith);
|
|
8817
8820
|
fixedPath = headWithReplacedSeparators + tail;
|
|
8818
8821
|
break;
|
|
@@ -9063,7 +9066,7 @@ var ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = /\.+/g;
|
|
|
9063
9066
|
var _config_matchRemaining, _config_nonMatchingFillValue;
|
|
9064
9067
|
var config = slashPathPathMatcherConfig(input);
|
|
9065
9068
|
var targetPathPartsInput = asArray(config.targetPath);
|
|
9066
|
-
var endComparisonAtIndex = config.maxPartsToCompare
|
|
9069
|
+
var endComparisonAtIndex = config.maxPartsToCompare == null ? Number.MAX_SAFE_INTEGER : config.maxPartsToCompare - 1;
|
|
9067
9070
|
var matchRemaining = typeof config.matchRemaining === 'boolean' ? decisionFunction(config.matchRemaining) : (_config_matchRemaining = config.matchRemaining) !== null && _config_matchRemaining !== void 0 ? _config_matchRemaining : decisionFunction(false);
|
|
9068
9071
|
var nonMatchingFillValue = (_config_nonMatchingFillValue = config.nonMatchingFillValue) !== null && _config_nonMatchingFillValue !== void 0 ? _config_nonMatchingFillValue : false;
|
|
9069
9072
|
var targetPathIndexMatchingDecisionFunctions = expandSlashPathPathMatcherPartToDecisionFunctions(targetPathPartsInput);
|
|
@@ -9138,21 +9141,21 @@ var ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = /\.+/g;
|
|
|
9138
9141
|
};
|
|
9139
9142
|
}
|
|
9140
9143
|
|
|
9141
|
-
function _array_like_to_array$
|
|
9144
|
+
function _array_like_to_array$l(arr, len) {
|
|
9142
9145
|
if (len == null || len > arr.length) len = arr.length;
|
|
9143
9146
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
9144
9147
|
return arr2;
|
|
9145
9148
|
}
|
|
9146
|
-
function _array_with_holes$
|
|
9149
|
+
function _array_with_holes$d(arr) {
|
|
9147
9150
|
if (Array.isArray(arr)) return arr;
|
|
9148
9151
|
}
|
|
9149
9152
|
function _array_without_holes$c(arr) {
|
|
9150
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
9153
|
+
if (Array.isArray(arr)) return _array_like_to_array$l(arr);
|
|
9151
9154
|
}
|
|
9152
9155
|
function _iterable_to_array$c(iter) {
|
|
9153
9156
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
9154
9157
|
}
|
|
9155
|
-
function _iterable_to_array_limit$
|
|
9158
|
+
function _iterable_to_array_limit$d(arr, i) {
|
|
9156
9159
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
9157
9160
|
if (_i == null) return;
|
|
9158
9161
|
var _arr = [];
|
|
@@ -9176,25 +9179,25 @@ function _iterable_to_array_limit$c(arr, i) {
|
|
|
9176
9179
|
}
|
|
9177
9180
|
return _arr;
|
|
9178
9181
|
}
|
|
9179
|
-
function _non_iterable_rest$
|
|
9182
|
+
function _non_iterable_rest$d() {
|
|
9180
9183
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
9181
9184
|
}
|
|
9182
9185
|
function _non_iterable_spread$c() {
|
|
9183
9186
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
9184
9187
|
}
|
|
9185
|
-
function _sliced_to_array$
|
|
9186
|
-
return _array_with_holes$
|
|
9188
|
+
function _sliced_to_array$d(arr, i) {
|
|
9189
|
+
return _array_with_holes$d(arr) || _iterable_to_array_limit$d(arr, i) || _unsupported_iterable_to_array$l(arr, i) || _non_iterable_rest$d();
|
|
9187
9190
|
}
|
|
9188
9191
|
function _to_consumable_array$c(arr) {
|
|
9189
|
-
return _array_without_holes$c(arr) || _iterable_to_array$c(arr) || _unsupported_iterable_to_array$
|
|
9192
|
+
return _array_without_holes$c(arr) || _iterable_to_array$c(arr) || _unsupported_iterable_to_array$l(arr) || _non_iterable_spread$c();
|
|
9190
9193
|
}
|
|
9191
|
-
function _unsupported_iterable_to_array$
|
|
9194
|
+
function _unsupported_iterable_to_array$l(o, minLen) {
|
|
9192
9195
|
if (!o) return;
|
|
9193
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
9196
|
+
if (typeof o === "string") return _array_like_to_array$l(o, minLen);
|
|
9194
9197
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
9195
9198
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
9196
9199
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
9197
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
9200
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$l(o, minLen);
|
|
9198
9201
|
}
|
|
9199
9202
|
/**
|
|
9200
9203
|
* Returns true if the input string is a known HTTP protocol (`"http"` or `"https"`).
|
|
@@ -9306,7 +9309,7 @@ function _unsupported_iterable_to_array$k(o, minLen) {
|
|
|
9306
9309
|
var pathHasWebsiteDomain = hasWebsiteDomain(domain);
|
|
9307
9310
|
var inputHasPortNumber = hasPortNumber(input);
|
|
9308
9311
|
var portNumber = inputHasPortNumber ? (_readPortNumber = readPortNumber(input)) !== null && _readPortNumber !== void 0 ? _readPortNumber : undefined : undefined;
|
|
9309
|
-
var _splitStringAtFirstCharacterOccurence = _sliced_to_array$
|
|
9312
|
+
var _splitStringAtFirstCharacterOccurence = _sliced_to_array$d(splitStringAtFirstCharacterOccurence(splitPair.path, '?'), 2), path = _splitStringAtFirstCharacterOccurence[0], query = _splitStringAtFirstCharacterOccurence[1]; // everything after the query is ignored
|
|
9310
9313
|
var isWebsiteUrl = pathHasWebsiteDomain && (path === '' || isValidSlashPath(path + '/'));
|
|
9311
9314
|
var inputHasHttpPrefix = hasHttpPrefix(input);
|
|
9312
9315
|
var result = {
|
|
@@ -9412,7 +9415,7 @@ function _unsupported_iterable_to_array$k(o, minLen) {
|
|
|
9412
9415
|
* @param inputPath - The path string to split.
|
|
9413
9416
|
* @returns A pair containing the path and optional query string.
|
|
9414
9417
|
*/ function websitePathAndQueryPair(inputPath) {
|
|
9415
|
-
var _inputPath_split = _sliced_to_array$
|
|
9418
|
+
var _inputPath_split = _sliced_to_array$d(inputPath.split('?', 2), 2), path = _inputPath_split[0], rawQuery = _inputPath_split[1];
|
|
9416
9419
|
var query = rawQuery ? fixExtraQueryParameters(rawQuery, true) : undefined;
|
|
9417
9420
|
return {
|
|
9418
9421
|
path: path,
|
|
@@ -9627,13 +9630,13 @@ function _unsupported_iterable_to_array$k(o, minLen) {
|
|
|
9627
9630
|
return domain;
|
|
9628
9631
|
}
|
|
9629
9632
|
|
|
9630
|
-
function _array_like_to_array$
|
|
9633
|
+
function _array_like_to_array$k(arr, len) {
|
|
9631
9634
|
if (len == null || len > arr.length) len = arr.length;
|
|
9632
9635
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
9633
9636
|
return arr2;
|
|
9634
9637
|
}
|
|
9635
9638
|
function _array_without_holes$b(arr) {
|
|
9636
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
9639
|
+
if (Array.isArray(arr)) return _array_like_to_array$k(arr);
|
|
9637
9640
|
}
|
|
9638
9641
|
function _iterable_to_array$b(iter) {
|
|
9639
9642
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -9642,15 +9645,15 @@ function _non_iterable_spread$b() {
|
|
|
9642
9645
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
9643
9646
|
}
|
|
9644
9647
|
function _to_consumable_array$b(arr) {
|
|
9645
|
-
return _array_without_holes$b(arr) || _iterable_to_array$b(arr) || _unsupported_iterable_to_array$
|
|
9648
|
+
return _array_without_holes$b(arr) || _iterable_to_array$b(arr) || _unsupported_iterable_to_array$k(arr) || _non_iterable_spread$b();
|
|
9646
9649
|
}
|
|
9647
|
-
function _unsupported_iterable_to_array$
|
|
9650
|
+
function _unsupported_iterable_to_array$k(o, minLen) {
|
|
9648
9651
|
if (!o) return;
|
|
9649
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
9652
|
+
if (typeof o === "string") return _array_like_to_array$k(o, minLen);
|
|
9650
9653
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
9651
9654
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
9652
9655
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
9653
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
9656
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$k(o, minLen);
|
|
9654
9657
|
}
|
|
9655
9658
|
/**
|
|
9656
9659
|
* Converts an EmailParticipant object to a formatted string representation.
|
|
@@ -10101,13 +10104,13 @@ function toReadableError(inputError) {
|
|
|
10101
10104
|
return buffer.includes('/Encrypt');
|
|
10102
10105
|
}
|
|
10103
10106
|
|
|
10104
|
-
function _array_like_to_array$
|
|
10107
|
+
function _array_like_to_array$j(arr, len) {
|
|
10105
10108
|
if (len == null || len > arr.length) len = arr.length;
|
|
10106
10109
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
10107
10110
|
return arr2;
|
|
10108
10111
|
}
|
|
10109
10112
|
function _array_without_holes$a(arr) {
|
|
10110
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
10113
|
+
if (Array.isArray(arr)) return _array_like_to_array$j(arr);
|
|
10111
10114
|
}
|
|
10112
10115
|
function _iterable_to_array$a(iter) {
|
|
10113
10116
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -10116,15 +10119,15 @@ function _non_iterable_spread$a() {
|
|
|
10116
10119
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10117
10120
|
}
|
|
10118
10121
|
function _to_consumable_array$a(arr) {
|
|
10119
|
-
return _array_without_holes$a(arr) || _iterable_to_array$a(arr) || _unsupported_iterable_to_array$
|
|
10122
|
+
return _array_without_holes$a(arr) || _iterable_to_array$a(arr) || _unsupported_iterable_to_array$j(arr) || _non_iterable_spread$a();
|
|
10120
10123
|
}
|
|
10121
|
-
function _unsupported_iterable_to_array$
|
|
10124
|
+
function _unsupported_iterable_to_array$j(o, minLen) {
|
|
10122
10125
|
if (!o) return;
|
|
10123
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
10126
|
+
if (typeof o === "string") return _array_like_to_array$j(o, minLen);
|
|
10124
10127
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10125
10128
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10126
10129
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10127
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
10130
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$j(o, minLen);
|
|
10128
10131
|
}
|
|
10129
10132
|
/*eslint @typescript-eslint/no-explicit-any:"off"*/ // any is used with intent here. using unknown can have strange effects in usage of forwardFunction and type capture.
|
|
10130
10133
|
/**
|
|
@@ -10164,13 +10167,13 @@ function _unsupported_iterable_to_array$i(o, minLen) {
|
|
|
10164
10167
|
* Alias of MAP_IDENTITY, so `isMapIdentityFunction()` will return true for this function.
|
|
10165
10168
|
*/ var passThrough = MAP_IDENTITY;
|
|
10166
10169
|
|
|
10167
|
-
function _array_like_to_array$
|
|
10170
|
+
function _array_like_to_array$i(arr, len) {
|
|
10168
10171
|
if (len == null || len > arr.length) len = arr.length;
|
|
10169
10172
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
10170
10173
|
return arr2;
|
|
10171
10174
|
}
|
|
10172
10175
|
function _array_without_holes$9(arr) {
|
|
10173
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
10176
|
+
if (Array.isArray(arr)) return _array_like_to_array$i(arr);
|
|
10174
10177
|
}
|
|
10175
10178
|
function _iterable_to_array$9(iter) {
|
|
10176
10179
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -10179,15 +10182,15 @@ function _non_iterable_spread$9() {
|
|
|
10179
10182
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10180
10183
|
}
|
|
10181
10184
|
function _to_consumable_array$9(arr) {
|
|
10182
|
-
return _array_without_holes$9(arr) || _iterable_to_array$9(arr) || _unsupported_iterable_to_array$
|
|
10185
|
+
return _array_without_holes$9(arr) || _iterable_to_array$9(arr) || _unsupported_iterable_to_array$i(arr) || _non_iterable_spread$9();
|
|
10183
10186
|
}
|
|
10184
|
-
function _unsupported_iterable_to_array$
|
|
10187
|
+
function _unsupported_iterable_to_array$i(o, minLen) {
|
|
10185
10188
|
if (!o) return;
|
|
10186
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
10189
|
+
if (typeof o === "string") return _array_like_to_array$i(o, minLen);
|
|
10187
10190
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10188
10191
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10189
10192
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10190
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
10193
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$i(o, minLen);
|
|
10191
10194
|
}
|
|
10192
10195
|
/**
|
|
10193
10196
|
* Builds an array from the intersection of an object's keys with the provided keys.
|
|
@@ -10526,13 +10529,13 @@ function performTaskCountLoop(config) {
|
|
|
10526
10529
|
});
|
|
10527
10530
|
}
|
|
10528
10531
|
|
|
10529
|
-
function _array_like_to_array$
|
|
10532
|
+
function _array_like_to_array$h(arr, len) {
|
|
10530
10533
|
if (len == null || len > arr.length) len = arr.length;
|
|
10531
10534
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
10532
10535
|
return arr2;
|
|
10533
10536
|
}
|
|
10534
10537
|
function _array_without_holes$8(arr) {
|
|
10535
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
10538
|
+
if (Array.isArray(arr)) return _array_like_to_array$h(arr);
|
|
10536
10539
|
}
|
|
10537
10540
|
function asyncGeneratorStep$8(gen, resolve, reject, _next, _throw, key, arg) {
|
|
10538
10541
|
try {
|
|
@@ -10570,15 +10573,15 @@ function _non_iterable_spread$8() {
|
|
|
10570
10573
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10571
10574
|
}
|
|
10572
10575
|
function _to_consumable_array$8(arr) {
|
|
10573
|
-
return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$
|
|
10576
|
+
return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$h(arr) || _non_iterable_spread$8();
|
|
10574
10577
|
}
|
|
10575
|
-
function _unsupported_iterable_to_array$
|
|
10578
|
+
function _unsupported_iterable_to_array$h(o, minLen) {
|
|
10576
10579
|
if (!o) return;
|
|
10577
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
10580
|
+
if (typeof o === "string") return _array_like_to_array$h(o, minLen);
|
|
10578
10581
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10579
10582
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10580
10583
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10581
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
10584
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$h(o, minLen);
|
|
10582
10585
|
}
|
|
10583
10586
|
function _ts_generator$8(thisArg, body) {
|
|
10584
10587
|
var f, y, t, _ = {
|
|
@@ -10791,21 +10794,21 @@ function _ts_generator$8(thisArg, body) {
|
|
|
10791
10794
|
};
|
|
10792
10795
|
}
|
|
10793
10796
|
|
|
10794
|
-
function _array_like_to_array$
|
|
10797
|
+
function _array_like_to_array$g(arr, len) {
|
|
10795
10798
|
if (len == null || len > arr.length) len = arr.length;
|
|
10796
10799
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
10797
10800
|
return arr2;
|
|
10798
10801
|
}
|
|
10799
|
-
function _array_with_holes$
|
|
10802
|
+
function _array_with_holes$c(arr) {
|
|
10800
10803
|
if (Array.isArray(arr)) return arr;
|
|
10801
10804
|
}
|
|
10802
10805
|
function _array_without_holes$7(arr) {
|
|
10803
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
10806
|
+
if (Array.isArray(arr)) return _array_like_to_array$g(arr);
|
|
10804
10807
|
}
|
|
10805
10808
|
function _iterable_to_array$7(iter) {
|
|
10806
10809
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
10807
10810
|
}
|
|
10808
|
-
function _iterable_to_array_limit$
|
|
10811
|
+
function _iterable_to_array_limit$c(arr, i) {
|
|
10809
10812
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
10810
10813
|
if (_i == null) return;
|
|
10811
10814
|
var _arr = [];
|
|
@@ -10829,25 +10832,25 @@ function _iterable_to_array_limit$b(arr, i) {
|
|
|
10829
10832
|
}
|
|
10830
10833
|
return _arr;
|
|
10831
10834
|
}
|
|
10832
|
-
function _non_iterable_rest$
|
|
10835
|
+
function _non_iterable_rest$c() {
|
|
10833
10836
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10834
10837
|
}
|
|
10835
10838
|
function _non_iterable_spread$7() {
|
|
10836
10839
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10837
10840
|
}
|
|
10838
|
-
function _sliced_to_array$
|
|
10839
|
-
return _array_with_holes$
|
|
10841
|
+
function _sliced_to_array$c(arr, i) {
|
|
10842
|
+
return _array_with_holes$c(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$g(arr, i) || _non_iterable_rest$c();
|
|
10840
10843
|
}
|
|
10841
10844
|
function _to_consumable_array$7(arr) {
|
|
10842
|
-
return _array_without_holes$7(arr) || _iterable_to_array$7(arr) || _unsupported_iterable_to_array$
|
|
10845
|
+
return _array_without_holes$7(arr) || _iterable_to_array$7(arr) || _unsupported_iterable_to_array$g(arr) || _non_iterable_spread$7();
|
|
10843
10846
|
}
|
|
10844
|
-
function _unsupported_iterable_to_array$
|
|
10847
|
+
function _unsupported_iterable_to_array$g(o, minLen) {
|
|
10845
10848
|
if (!o) return;
|
|
10846
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
10849
|
+
if (typeof o === "string") return _array_like_to_array$g(o, minLen);
|
|
10847
10850
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10848
10851
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10849
10852
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10850
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
10853
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$g(o, minLen);
|
|
10851
10854
|
}
|
|
10852
10855
|
/**
|
|
10853
10856
|
* Creates a bidirectional {@link PrimativeKeyDencoderMap} from the given values,
|
|
@@ -10871,7 +10874,7 @@ function _unsupported_iterable_to_array$f(o, minLen) {
|
|
|
10871
10874
|
valuesArray = values;
|
|
10872
10875
|
}
|
|
10873
10876
|
valuesArray.forEach(function(value) {
|
|
10874
|
-
var _value = _sliced_to_array$
|
|
10877
|
+
var _value = _sliced_to_array$c(value, 2), d = _value[0], e = _value[1];
|
|
10875
10878
|
if (map.has(d) || map.has(e)) {
|
|
10876
10879
|
throw new Error("primativeKeyDencoderMap() encountered a repeat key/value: ".concat(d, "/").concat(e, ". Keys and values must be unique."));
|
|
10877
10880
|
}
|
|
@@ -11262,12 +11265,12 @@ function _unsupported_iterable_to_array$f(o, minLen) {
|
|
|
11262
11265
|
};
|
|
11263
11266
|
}
|
|
11264
11267
|
|
|
11265
|
-
function _array_like_to_array$
|
|
11268
|
+
function _array_like_to_array$f(arr, len) {
|
|
11266
11269
|
if (len == null || len > arr.length) len = arr.length;
|
|
11267
11270
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
11268
11271
|
return arr2;
|
|
11269
11272
|
}
|
|
11270
|
-
function _array_with_holes$
|
|
11273
|
+
function _array_with_holes$b(arr) {
|
|
11271
11274
|
if (Array.isArray(arr)) return arr;
|
|
11272
11275
|
}
|
|
11273
11276
|
function _define_property$c(obj, key, value) {
|
|
@@ -11283,7 +11286,7 @@ function _define_property$c(obj, key, value) {
|
|
|
11283
11286
|
}
|
|
11284
11287
|
return obj;
|
|
11285
11288
|
}
|
|
11286
|
-
function _iterable_to_array_limit$
|
|
11289
|
+
function _iterable_to_array_limit$b(arr, i) {
|
|
11287
11290
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
11288
11291
|
if (_i == null) return;
|
|
11289
11292
|
var _arr = [];
|
|
@@ -11307,7 +11310,7 @@ function _iterable_to_array_limit$a(arr, i) {
|
|
|
11307
11310
|
}
|
|
11308
11311
|
return _arr;
|
|
11309
11312
|
}
|
|
11310
|
-
function _non_iterable_rest$
|
|
11313
|
+
function _non_iterable_rest$b() {
|
|
11311
11314
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
11312
11315
|
}
|
|
11313
11316
|
function _object_spread$8(target) {
|
|
@@ -11344,20 +11347,20 @@ function _object_spread_props$4(target, source) {
|
|
|
11344
11347
|
}
|
|
11345
11348
|
return target;
|
|
11346
11349
|
}
|
|
11347
|
-
function _sliced_to_array$
|
|
11348
|
-
return _array_with_holes$
|
|
11350
|
+
function _sliced_to_array$b(arr, i) {
|
|
11351
|
+
return _array_with_holes$b(arr) || _iterable_to_array_limit$b(arr, i) || _unsupported_iterable_to_array$f(arr, i) || _non_iterable_rest$b();
|
|
11349
11352
|
}
|
|
11350
11353
|
function _type_of$9(obj) {
|
|
11351
11354
|
"@swc/helpers - typeof";
|
|
11352
11355
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
11353
11356
|
}
|
|
11354
|
-
function _unsupported_iterable_to_array$
|
|
11357
|
+
function _unsupported_iterable_to_array$f(o, minLen) {
|
|
11355
11358
|
if (!o) return;
|
|
11356
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
11359
|
+
if (typeof o === "string") return _array_like_to_array$f(o, minLen);
|
|
11357
11360
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
11358
11361
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
11359
11362
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
11360
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
11363
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$f(o, minLen);
|
|
11361
11364
|
}
|
|
11362
11365
|
/**
|
|
11363
11366
|
* Minimum valid latitude value (-90 degrees).
|
|
@@ -11756,7 +11759,7 @@ function latLngString(lat, lng) {
|
|
|
11756
11759
|
* @param latLngString - string in the format `"lat,lng"`
|
|
11757
11760
|
* @returns the parsed point
|
|
11758
11761
|
*/ function latLngPointFromString(latLngString) {
|
|
11759
|
-
var _latLngString_split = _sliced_to_array$
|
|
11762
|
+
var _latLngString_split = _sliced_to_array$b(latLngString.split(','), 2), latString = _latLngString_split[0], lngString = _latLngString_split[1];
|
|
11760
11763
|
var lat = Number(latString) || 0; // default lat and lng to 0 if not valid.
|
|
11761
11764
|
var lng = Number(lngString) || 0;
|
|
11762
11765
|
return {
|
|
@@ -11855,21 +11858,21 @@ function latLngString(lat, lng) {
|
|
|
11855
11858
|
});
|
|
11856
11859
|
}
|
|
11857
11860
|
|
|
11858
|
-
function _array_like_to_array$
|
|
11861
|
+
function _array_like_to_array$e(arr, len) {
|
|
11859
11862
|
if (len == null || len > arr.length) len = arr.length;
|
|
11860
11863
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
11861
11864
|
return arr2;
|
|
11862
11865
|
}
|
|
11863
|
-
function _array_with_holes$
|
|
11866
|
+
function _array_with_holes$a(arr) {
|
|
11864
11867
|
if (Array.isArray(arr)) return arr;
|
|
11865
11868
|
}
|
|
11866
11869
|
function _array_without_holes$6(arr) {
|
|
11867
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
11870
|
+
if (Array.isArray(arr)) return _array_like_to_array$e(arr);
|
|
11868
11871
|
}
|
|
11869
11872
|
function _iterable_to_array$6(iter) {
|
|
11870
11873
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
11871
11874
|
}
|
|
11872
|
-
function _iterable_to_array_limit$
|
|
11875
|
+
function _iterable_to_array_limit$a(arr, i) {
|
|
11873
11876
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
11874
11877
|
if (_i == null) return;
|
|
11875
11878
|
var _arr = [];
|
|
@@ -11893,29 +11896,29 @@ function _iterable_to_array_limit$9(arr, i) {
|
|
|
11893
11896
|
}
|
|
11894
11897
|
return _arr;
|
|
11895
11898
|
}
|
|
11896
|
-
function _non_iterable_rest$
|
|
11899
|
+
function _non_iterable_rest$a() {
|
|
11897
11900
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
11898
11901
|
}
|
|
11899
11902
|
function _non_iterable_spread$6() {
|
|
11900
11903
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
11901
11904
|
}
|
|
11902
|
-
function _sliced_to_array$
|
|
11903
|
-
return _array_with_holes$
|
|
11905
|
+
function _sliced_to_array$a(arr, i) {
|
|
11906
|
+
return _array_with_holes$a(arr) || _iterable_to_array_limit$a(arr, i) || _unsupported_iterable_to_array$e(arr, i) || _non_iterable_rest$a();
|
|
11904
11907
|
}
|
|
11905
11908
|
function _to_consumable_array$6(arr) {
|
|
11906
|
-
return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$
|
|
11909
|
+
return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$e(arr) || _non_iterable_spread$6();
|
|
11907
11910
|
}
|
|
11908
11911
|
function _type_of$8(obj) {
|
|
11909
11912
|
"@swc/helpers - typeof";
|
|
11910
11913
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
11911
11914
|
}
|
|
11912
|
-
function _unsupported_iterable_to_array$
|
|
11915
|
+
function _unsupported_iterable_to_array$e(o, minLen) {
|
|
11913
11916
|
if (!o) return;
|
|
11914
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
11917
|
+
if (typeof o === "string") return _array_like_to_array$e(o, minLen);
|
|
11915
11918
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
11916
11919
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
11917
11920
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
11918
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
11921
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$e(o, minLen);
|
|
11919
11922
|
}
|
|
11920
11923
|
/**
|
|
11921
11924
|
* Type guard that checks whether the input is a {@link LatLngBound} by testing for the presence of `sw` and `ne` properties.
|
|
@@ -12142,7 +12145,7 @@ function _unsupported_iterable_to_array$d(o, minLen) {
|
|
|
12142
12145
|
var bound;
|
|
12143
12146
|
if (Array.isArray(input)) {
|
|
12144
12147
|
if (input.length === 2) {
|
|
12145
|
-
var _input = _sliced_to_array$
|
|
12148
|
+
var _input = _sliced_to_array$a(input, 2), sw = _input[0], ne = _input[1];
|
|
12146
12149
|
bound = {
|
|
12147
12150
|
sw: latLngPoint(sw),
|
|
12148
12151
|
ne: latLngPoint(ne)
|
|
@@ -12453,12 +12456,12 @@ function _unsupported_iterable_to_array$d(o, minLen) {
|
|
|
12453
12456
|
return fn;
|
|
12454
12457
|
}
|
|
12455
12458
|
|
|
12456
|
-
function _array_like_to_array$
|
|
12459
|
+
function _array_like_to_array$d(arr, len) {
|
|
12457
12460
|
if (len == null || len > arr.length) len = arr.length;
|
|
12458
12461
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
12459
12462
|
return arr2;
|
|
12460
12463
|
}
|
|
12461
|
-
function _array_with_holes$
|
|
12464
|
+
function _array_with_holes$9(arr) {
|
|
12462
12465
|
if (Array.isArray(arr)) return arr;
|
|
12463
12466
|
}
|
|
12464
12467
|
function _instanceof$1(left, right) {
|
|
@@ -12468,7 +12471,7 @@ function _instanceof$1(left, right) {
|
|
|
12468
12471
|
return left instanceof right;
|
|
12469
12472
|
}
|
|
12470
12473
|
}
|
|
12471
|
-
function _iterable_to_array_limit$
|
|
12474
|
+
function _iterable_to_array_limit$9(arr, i) {
|
|
12472
12475
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
12473
12476
|
if (_i == null) return;
|
|
12474
12477
|
var _arr = [];
|
|
@@ -12492,23 +12495,23 @@ function _iterable_to_array_limit$8(arr, i) {
|
|
|
12492
12495
|
}
|
|
12493
12496
|
return _arr;
|
|
12494
12497
|
}
|
|
12495
|
-
function _non_iterable_rest$
|
|
12498
|
+
function _non_iterable_rest$9() {
|
|
12496
12499
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
12497
12500
|
}
|
|
12498
|
-
function _sliced_to_array$
|
|
12499
|
-
return _array_with_holes$
|
|
12501
|
+
function _sliced_to_array$9(arr, i) {
|
|
12502
|
+
return _array_with_holes$9(arr) || _iterable_to_array_limit$9(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$9();
|
|
12500
12503
|
}
|
|
12501
12504
|
function _type_of$7(obj) {
|
|
12502
12505
|
"@swc/helpers - typeof";
|
|
12503
12506
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
12504
12507
|
}
|
|
12505
|
-
function _unsupported_iterable_to_array$
|
|
12508
|
+
function _unsupported_iterable_to_array$d(o, minLen) {
|
|
12506
12509
|
if (!o) return;
|
|
12507
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
12510
|
+
if (typeof o === "string") return _array_like_to_array$d(o, minLen);
|
|
12508
12511
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
12509
12512
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
12510
12513
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
12511
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
12514
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
|
|
12512
12515
|
}
|
|
12513
12516
|
/**
|
|
12514
12517
|
* Regular expression for validating ISO8601 date strings.
|
|
@@ -12587,7 +12590,7 @@ function isConsideredUtcTimezoneString(timezone) {
|
|
|
12587
12590
|
* @param inputDateString - The ISO8601 day string to parse (e.g., '2022-01-15')
|
|
12588
12591
|
* @returns A Date object set to midnight UTC on the specified day
|
|
12589
12592
|
*/ function parseISO8601DayStringToUTCDate(inputDateString) {
|
|
12590
|
-
var _inputDateString_split = _sliced_to_array$
|
|
12593
|
+
var _inputDateString_split = _sliced_to_array$9(inputDateString.split('-'), 3), yearString = _inputDateString_split[0], monthString = _inputDateString_split[1], dateString = _inputDateString_split[2];
|
|
12591
12594
|
return new Date(Date.UTC(Number(yearString), Number(monthString) - 1, Number(dateString)));
|
|
12592
12595
|
}
|
|
12593
12596
|
/**
|
|
@@ -12625,7 +12628,7 @@ function isConsideredUtcTimezoneString(timezone) {
|
|
|
12625
12628
|
* @param slashDate - The slash date string to convert (e.g., '1/1/20' or '11/15/2022')
|
|
12626
12629
|
* @returns An ISO8601 formatted day string (YYYY-MM-DD)
|
|
12627
12630
|
*/ function monthDaySlashDateToDateString(slashDate) {
|
|
12628
|
-
var _slashDate_split = _sliced_to_array$
|
|
12631
|
+
var _slashDate_split = _sliced_to_array$9(slashDate.split('/'), 3), month = _slashDate_split[0], day = _slashDate_split[1], year = _slashDate_split[2];
|
|
12629
12632
|
if (month.length === 1) {
|
|
12630
12633
|
month = "0".concat(month);
|
|
12631
12634
|
}
|
|
@@ -12654,7 +12657,7 @@ function dateFromDateOrTimeMillisecondsNumber(input) {
|
|
|
12654
12657
|
* @param dateTimeNumber - Unix timestamp number to convert
|
|
12655
12658
|
* @returns Date object if timestamp is valid, null/undefined if timestamp is null/undefined
|
|
12656
12659
|
*/ function unixMillisecondsNumberToDate(dateTimeNumber) {
|
|
12657
|
-
return dateTimeNumber
|
|
12660
|
+
return dateTimeNumber == null ? dateTimeNumber : new Date(dateTimeNumber);
|
|
12658
12661
|
}
|
|
12659
12662
|
/**
|
|
12660
12663
|
* Converts the input DateOrMilliseconds to a Date.
|
|
@@ -13582,7 +13585,7 @@ function _ts_generator$7(thisArg, body) {
|
|
|
13582
13585
|
var dencoder = inputDencoder !== null && inputDencoder !== void 0 ? inputDencoder : NUMBER_STRING_DENCODER_64;
|
|
13583
13586
|
var dencoderNumberValue = numberStringDencoderDecodedNumberValueFunction(dencoder);
|
|
13584
13587
|
var startAtFromCurrentIndex = currentIndex != null ? dencoderNumberValue(currentIndex) + increaseBy : undefined;
|
|
13585
|
-
var startAt = inputStartAt
|
|
13588
|
+
var startAt = inputStartAt == null ? startAtFromCurrentIndex !== null && startAtFromCurrentIndex !== void 0 ? startAtFromCurrentIndex : 0 : dencoderNumberValue(inputStartAt);
|
|
13586
13589
|
var transform = inputTranformFunction !== null && inputTranformFunction !== void 0 ? inputTranformFunction : mapIdentityFunction();
|
|
13587
13590
|
var numberFactory = incrementingNumberFactory({
|
|
13588
13591
|
startAt: startAt,
|
|
@@ -13595,13 +13598,13 @@ function _ts_generator$7(thisArg, body) {
|
|
|
13595
13598
|
};
|
|
13596
13599
|
}
|
|
13597
13600
|
|
|
13598
|
-
function _array_like_to_array$
|
|
13601
|
+
function _array_like_to_array$c(arr, len) {
|
|
13599
13602
|
if (len == null || len > arr.length) len = arr.length;
|
|
13600
13603
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
13601
13604
|
return arr2;
|
|
13602
13605
|
}
|
|
13603
13606
|
function _array_without_holes$5(arr) {
|
|
13604
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
13607
|
+
if (Array.isArray(arr)) return _array_like_to_array$c(arr);
|
|
13605
13608
|
}
|
|
13606
13609
|
function _iterable_to_array$5(iter) {
|
|
13607
13610
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -13610,15 +13613,15 @@ function _non_iterable_spread$5() {
|
|
|
13610
13613
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13611
13614
|
}
|
|
13612
13615
|
function _to_consumable_array$5(arr) {
|
|
13613
|
-
return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$
|
|
13616
|
+
return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$c(arr) || _non_iterable_spread$5();
|
|
13614
13617
|
}
|
|
13615
|
-
function _unsupported_iterable_to_array$
|
|
13618
|
+
function _unsupported_iterable_to_array$c(o, minLen) {
|
|
13616
13619
|
if (!o) return;
|
|
13617
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
13620
|
+
if (typeof o === "string") return _array_like_to_array$c(o, minLen);
|
|
13618
13621
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
13619
13622
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
13620
13623
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
13621
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
13624
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
|
|
13622
13625
|
}
|
|
13623
13626
|
/**
|
|
13624
13627
|
* Creates an {@link ObjectDeltaArrayCompressor} that can compress and expand arrays of objects using delta encoding.
|
|
@@ -13879,7 +13882,7 @@ function dateFromDateOrTimeSecondsNumber(input) {
|
|
|
13879
13882
|
* @returns An ExpirationDetails object that can determine expiration state
|
|
13880
13883
|
*/ function expirationDetails(input) {
|
|
13881
13884
|
var expiresAt = input.expiresAt, expires = input.expires, inputNow = input.now, expiresFromDate = input.expiresFromDate, defaultExpiresFromDateToNow = input.defaultExpiresFromDateToNow, expiresIn = input.expiresIn;
|
|
13882
|
-
var parsedExpiresFromDate = expiresFromDate
|
|
13885
|
+
var parsedExpiresFromDate = expiresFromDate == null ? null : dateFromDateOrTimeMillisecondsNumber(expiresFromDate);
|
|
13883
13886
|
function getNow(nowOverride) {
|
|
13884
13887
|
var _ref;
|
|
13885
13888
|
return (_ref = nowOverride !== null && nowOverride !== void 0 ? nowOverride : inputNow) !== null && _ref !== void 0 ? _ref : new Date();
|
|
@@ -13997,13 +14000,13 @@ function dateFromDateOrTimeSecondsNumber(input) {
|
|
|
13997
14000
|
return firstExpired !== -1;
|
|
13998
14001
|
}
|
|
13999
14002
|
|
|
14000
|
-
function _array_like_to_array$
|
|
14003
|
+
function _array_like_to_array$b(arr, len) {
|
|
14001
14004
|
if (len == null || len > arr.length) len = arr.length;
|
|
14002
14005
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
14003
14006
|
return arr2;
|
|
14004
14007
|
}
|
|
14005
14008
|
function _array_without_holes$4(arr) {
|
|
14006
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
14009
|
+
if (Array.isArray(arr)) return _array_like_to_array$b(arr);
|
|
14007
14010
|
}
|
|
14008
14011
|
function _iterable_to_array$4(iter) {
|
|
14009
14012
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -14012,15 +14015,15 @@ function _non_iterable_spread$4() {
|
|
|
14012
14015
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14013
14016
|
}
|
|
14014
14017
|
function _to_consumable_array$4(arr) {
|
|
14015
|
-
return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$
|
|
14018
|
+
return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$b(arr) || _non_iterable_spread$4();
|
|
14016
14019
|
}
|
|
14017
|
-
function _unsupported_iterable_to_array$
|
|
14020
|
+
function _unsupported_iterable_to_array$b(o, minLen) {
|
|
14018
14021
|
if (!o) return;
|
|
14019
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
14022
|
+
if (typeof o === "string") return _array_like_to_array$b(o, minLen);
|
|
14020
14023
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
14021
14024
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
14022
14025
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
14023
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
14026
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$b(o, minLen);
|
|
14024
14027
|
}
|
|
14025
14028
|
/**
|
|
14026
14029
|
* Returns the day of the week for the input date.
|
|
@@ -14757,16 +14760,16 @@ var PROMISE_REF_NUMBER = 0;
|
|
|
14757
14760
|
return ref;
|
|
14758
14761
|
}
|
|
14759
14762
|
|
|
14760
|
-
function _array_like_to_array$
|
|
14763
|
+
function _array_like_to_array$a(arr, len) {
|
|
14761
14764
|
if (len == null || len > arr.length) len = arr.length;
|
|
14762
14765
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
14763
14766
|
return arr2;
|
|
14764
14767
|
}
|
|
14765
|
-
function _array_with_holes$
|
|
14768
|
+
function _array_with_holes$8(arr) {
|
|
14766
14769
|
if (Array.isArray(arr)) return arr;
|
|
14767
14770
|
}
|
|
14768
14771
|
function _array_without_holes$3(arr) {
|
|
14769
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
14772
|
+
if (Array.isArray(arr)) return _array_like_to_array$a(arr);
|
|
14770
14773
|
}
|
|
14771
14774
|
function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
14772
14775
|
try {
|
|
@@ -14813,7 +14816,7 @@ function _define_property$9(obj, key, value) {
|
|
|
14813
14816
|
function _iterable_to_array$3(iter) {
|
|
14814
14817
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14815
14818
|
}
|
|
14816
|
-
function _iterable_to_array_limit$
|
|
14819
|
+
function _iterable_to_array_limit$8(arr, i) {
|
|
14817
14820
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
14818
14821
|
if (_i == null) return;
|
|
14819
14822
|
var _arr = [];
|
|
@@ -14837,7 +14840,7 @@ function _iterable_to_array_limit$7(arr, i) {
|
|
|
14837
14840
|
}
|
|
14838
14841
|
return _arr;
|
|
14839
14842
|
}
|
|
14840
|
-
function _non_iterable_rest$
|
|
14843
|
+
function _non_iterable_rest$8() {
|
|
14841
14844
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14842
14845
|
}
|
|
14843
14846
|
function _non_iterable_spread$3() {
|
|
@@ -14877,19 +14880,19 @@ function _object_spread_props$2(target, source) {
|
|
|
14877
14880
|
}
|
|
14878
14881
|
return target;
|
|
14879
14882
|
}
|
|
14880
|
-
function _sliced_to_array$
|
|
14881
|
-
return _array_with_holes$
|
|
14883
|
+
function _sliced_to_array$8(arr, i) {
|
|
14884
|
+
return _array_with_holes$8(arr) || _iterable_to_array_limit$8(arr, i) || _unsupported_iterable_to_array$a(arr, i) || _non_iterable_rest$8();
|
|
14882
14885
|
}
|
|
14883
14886
|
function _to_consumable_array$3(arr) {
|
|
14884
|
-
return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$
|
|
14887
|
+
return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$3();
|
|
14885
14888
|
}
|
|
14886
|
-
function _unsupported_iterable_to_array$
|
|
14889
|
+
function _unsupported_iterable_to_array$a(o, minLen) {
|
|
14887
14890
|
if (!o) return;
|
|
14888
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
14891
|
+
if (typeof o === "string") return _array_like_to_array$a(o, minLen);
|
|
14889
14892
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
14890
14893
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
14891
14894
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
14892
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
14895
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$a(o, minLen);
|
|
14893
14896
|
}
|
|
14894
14897
|
function _ts_generator$4(thisArg, body) {
|
|
14895
14898
|
var f, y, t, _ = {
|
|
@@ -15142,7 +15145,7 @@ function _ts_generator$4(thisArg, body) {
|
|
|
15142
15145
|
}, config)
|
|
15143
15146
|
];
|
|
15144
15147
|
case 1:
|
|
15145
|
-
_ref = _sliced_to_array$
|
|
15148
|
+
_ref = _sliced_to_array$8.apply(void 0, [
|
|
15146
15149
|
_state.sent(),
|
|
15147
15150
|
3
|
|
15148
15151
|
]), value = _ref[1], success = _ref[2];
|
|
@@ -16082,12 +16085,12 @@ function _ts_generator$3(thisArg, body) {
|
|
|
16082
16085
|
};
|
|
16083
16086
|
}
|
|
16084
16087
|
|
|
16085
|
-
function _array_like_to_array$
|
|
16088
|
+
function _array_like_to_array$9(arr, len) {
|
|
16086
16089
|
if (len == null || len > arr.length) len = arr.length;
|
|
16087
16090
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
16088
16091
|
return arr2;
|
|
16089
16092
|
}
|
|
16090
|
-
function _array_with_holes$
|
|
16093
|
+
function _array_with_holes$7(arr) {
|
|
16091
16094
|
if (Array.isArray(arr)) return arr;
|
|
16092
16095
|
}
|
|
16093
16096
|
function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -16132,7 +16135,7 @@ function _define_property$7(obj, key, value) {
|
|
|
16132
16135
|
}
|
|
16133
16136
|
return obj;
|
|
16134
16137
|
}
|
|
16135
|
-
function _iterable_to_array_limit$
|
|
16138
|
+
function _iterable_to_array_limit$7(arr, i) {
|
|
16136
16139
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
16137
16140
|
if (_i == null) return;
|
|
16138
16141
|
var _arr = [];
|
|
@@ -16156,7 +16159,7 @@ function _iterable_to_array_limit$6(arr, i) {
|
|
|
16156
16159
|
}
|
|
16157
16160
|
return _arr;
|
|
16158
16161
|
}
|
|
16159
|
-
function _non_iterable_rest$
|
|
16162
|
+
function _non_iterable_rest$7() {
|
|
16160
16163
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
16161
16164
|
}
|
|
16162
16165
|
function _object_spread$3(target) {
|
|
@@ -16193,16 +16196,16 @@ function _object_spread_props$1(target, source) {
|
|
|
16193
16196
|
}
|
|
16194
16197
|
return target;
|
|
16195
16198
|
}
|
|
16196
|
-
function _sliced_to_array$
|
|
16197
|
-
return _array_with_holes$
|
|
16199
|
+
function _sliced_to_array$7(arr, i) {
|
|
16200
|
+
return _array_with_holes$7(arr) || _iterable_to_array_limit$7(arr, i) || _unsupported_iterable_to_array$9(arr, i) || _non_iterable_rest$7();
|
|
16198
16201
|
}
|
|
16199
|
-
function _unsupported_iterable_to_array$
|
|
16202
|
+
function _unsupported_iterable_to_array$9(o, minLen) {
|
|
16200
16203
|
if (!o) return;
|
|
16201
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
16204
|
+
if (typeof o === "string") return _array_like_to_array$9(o, minLen);
|
|
16202
16205
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
16203
16206
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
16204
16207
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
16205
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
16208
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$9(o, minLen);
|
|
16206
16209
|
}
|
|
16207
16210
|
function _ts_generator$2(thisArg, body) {
|
|
16208
16211
|
var f, y, t, _ = {
|
|
@@ -16320,7 +16323,7 @@ function _ts_generator$2(thisArg, body) {
|
|
|
16320
16323
|
tasks = inputTasks;
|
|
16321
16324
|
} else {
|
|
16322
16325
|
tasks = Object.entries(inputTasks).map(function(param) {
|
|
16323
|
-
var _param = _sliced_to_array$
|
|
16326
|
+
var _param = _sliced_to_array$7(param, 2), name = _param[0], run = _param[1];
|
|
16324
16327
|
var namedTask = {
|
|
16325
16328
|
name: name,
|
|
16326
16329
|
run: run
|
|
@@ -16847,12 +16850,12 @@ function dateFromLogicalDate(logicalDate) {
|
|
|
16847
16850
|
return convertTimeDuration(totalMinutes, 'min', toUnit);
|
|
16848
16851
|
}
|
|
16849
16852
|
|
|
16850
|
-
function _array_like_to_array$
|
|
16853
|
+
function _array_like_to_array$8(arr, len) {
|
|
16851
16854
|
if (len == null || len > arr.length) len = arr.length;
|
|
16852
16855
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
16853
16856
|
return arr2;
|
|
16854
16857
|
}
|
|
16855
|
-
function _array_with_holes$
|
|
16858
|
+
function _array_with_holes$6(arr) {
|
|
16856
16859
|
if (Array.isArray(arr)) return arr;
|
|
16857
16860
|
}
|
|
16858
16861
|
function _instanceof(left, right) {
|
|
@@ -16862,7 +16865,7 @@ function _instanceof(left, right) {
|
|
|
16862
16865
|
return left instanceof right;
|
|
16863
16866
|
}
|
|
16864
16867
|
}
|
|
16865
|
-
function _iterable_to_array_limit$
|
|
16868
|
+
function _iterable_to_array_limit$6(arr, i) {
|
|
16866
16869
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
16867
16870
|
if (_i == null) return;
|
|
16868
16871
|
var _arr = [];
|
|
@@ -16886,23 +16889,23 @@ function _iterable_to_array_limit$5(arr, i) {
|
|
|
16886
16889
|
}
|
|
16887
16890
|
return _arr;
|
|
16888
16891
|
}
|
|
16889
|
-
function _non_iterable_rest$
|
|
16892
|
+
function _non_iterable_rest$6() {
|
|
16890
16893
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
16891
16894
|
}
|
|
16892
|
-
function _sliced_to_array$
|
|
16893
|
-
return _array_with_holes$
|
|
16895
|
+
function _sliced_to_array$6(arr, i) {
|
|
16896
|
+
return _array_with_holes$6(arr) || _iterable_to_array_limit$6(arr, i) || _unsupported_iterable_to_array$8(arr, i) || _non_iterable_rest$6();
|
|
16894
16897
|
}
|
|
16895
16898
|
function _type_of$3(obj) {
|
|
16896
16899
|
"@swc/helpers - typeof";
|
|
16897
16900
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
16898
16901
|
}
|
|
16899
|
-
function _unsupported_iterable_to_array$
|
|
16902
|
+
function _unsupported_iterable_to_array$8(o, minLen) {
|
|
16900
16903
|
if (!o) return;
|
|
16901
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
16904
|
+
if (typeof o === "string") return _array_like_to_array$8(o, minLen);
|
|
16902
16905
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
16903
16906
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
16904
16907
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
16905
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
16908
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$8(o, minLen);
|
|
16906
16909
|
}
|
|
16907
16910
|
/**
|
|
16908
16911
|
* Performs a deep equality comparison between two values.
|
|
@@ -16929,6 +16932,10 @@ function _unsupported_iterable_to_array$7(o, minLen) {
|
|
|
16929
16932
|
// check self
|
|
16930
16933
|
if (a === b) {
|
|
16931
16934
|
result = true;
|
|
16935
|
+
} else if (isDate(a) || isDate(b)) {
|
|
16936
|
+
// Check Date before applying the pojoFilter — the spread copy in
|
|
16937
|
+
// filterFromPOJOFunction destroys Date instances (producing {}).
|
|
16938
|
+
result = isDate(a) && isDate(b) && isEqualDate(a, b);
|
|
16932
16939
|
} else {
|
|
16933
16940
|
// run pojo filter before comparison
|
|
16934
16941
|
a = pojoFilter(a, true);
|
|
@@ -16977,7 +16984,7 @@ function _compareMaps(a, b, pojoFilter) {
|
|
|
16977
16984
|
return false;
|
|
16978
16985
|
}
|
|
16979
16986
|
var firstInequalityIndex = Array.from(a.entries()).findIndex(function(param) {
|
|
16980
|
-
var _param = _sliced_to_array$
|
|
16987
|
+
var _param = _sliced_to_array$6(param, 2), key = _param[0], aValue = _param[1];
|
|
16981
16988
|
var bValue = b.get(key);
|
|
16982
16989
|
return !areEqualPOJOValuesUsingPojoFilter(aValue, bValue, pojoFilter);
|
|
16983
16990
|
});
|
|
@@ -17096,15 +17103,15 @@ function _compareObjects(a, b, pojoFilter) {
|
|
|
17096
17103
|
});
|
|
17097
17104
|
}
|
|
17098
17105
|
|
|
17099
|
-
function _array_like_to_array$
|
|
17106
|
+
function _array_like_to_array$7(arr, len) {
|
|
17100
17107
|
if (len == null || len > arr.length) len = arr.length;
|
|
17101
17108
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
17102
17109
|
return arr2;
|
|
17103
17110
|
}
|
|
17104
|
-
function _array_with_holes$
|
|
17111
|
+
function _array_with_holes$5(arr) {
|
|
17105
17112
|
if (Array.isArray(arr)) return arr;
|
|
17106
17113
|
}
|
|
17107
|
-
function _iterable_to_array_limit$
|
|
17114
|
+
function _iterable_to_array_limit$5(arr, i) {
|
|
17108
17115
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
17109
17116
|
if (_i == null) return;
|
|
17110
17117
|
var _arr = [];
|
|
@@ -17128,19 +17135,19 @@ function _iterable_to_array_limit$4(arr, i) {
|
|
|
17128
17135
|
}
|
|
17129
17136
|
return _arr;
|
|
17130
17137
|
}
|
|
17131
|
-
function _non_iterable_rest$
|
|
17138
|
+
function _non_iterable_rest$5() {
|
|
17132
17139
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17133
17140
|
}
|
|
17134
|
-
function _sliced_to_array$
|
|
17135
|
-
return _array_with_holes$
|
|
17141
|
+
function _sliced_to_array$5(arr, i) {
|
|
17142
|
+
return _array_with_holes$5(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$7(arr, i) || _non_iterable_rest$5();
|
|
17136
17143
|
}
|
|
17137
|
-
function _unsupported_iterable_to_array$
|
|
17144
|
+
function _unsupported_iterable_to_array$7(o, minLen) {
|
|
17138
17145
|
if (!o) return;
|
|
17139
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
17146
|
+
if (typeof o === "string") return _array_like_to_array$7(o, minLen);
|
|
17140
17147
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
17141
17148
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
17142
17149
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
17143
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
17150
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
|
|
17144
17151
|
}
|
|
17145
17152
|
/**
|
|
17146
17153
|
* Converts an {@link ObjectMap} into a `Map` using `Object.entries`.
|
|
@@ -17194,7 +17201,7 @@ function _unsupported_iterable_to_array$6(o, minLen) {
|
|
|
17194
17201
|
return function(object) {
|
|
17195
17202
|
var target = {};
|
|
17196
17203
|
Object.entries(object).forEach(function(param) {
|
|
17197
|
-
var _param = _sliced_to_array$
|
|
17204
|
+
var _param = _sliced_to_array$5(param, 2), key = _param[0], value = _param[1];
|
|
17198
17205
|
var newKey = mapKeyFn(key, value);
|
|
17199
17206
|
target[newKey] = value;
|
|
17200
17207
|
});
|
|
@@ -17320,15 +17327,15 @@ function _type_of$2(obj) {
|
|
|
17320
17327
|
};
|
|
17321
17328
|
}
|
|
17322
17329
|
|
|
17323
|
-
function _array_like_to_array$
|
|
17330
|
+
function _array_like_to_array$6(arr, len) {
|
|
17324
17331
|
if (len == null || len > arr.length) len = arr.length;
|
|
17325
17332
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
17326
17333
|
return arr2;
|
|
17327
17334
|
}
|
|
17328
|
-
function _array_with_holes$
|
|
17335
|
+
function _array_with_holes$4(arr) {
|
|
17329
17336
|
if (Array.isArray(arr)) return arr;
|
|
17330
17337
|
}
|
|
17331
|
-
function _iterable_to_array_limit$
|
|
17338
|
+
function _iterable_to_array_limit$4(arr, i) {
|
|
17332
17339
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
17333
17340
|
if (_i == null) return;
|
|
17334
17341
|
var _arr = [];
|
|
@@ -17352,19 +17359,19 @@ function _iterable_to_array_limit$3(arr, i) {
|
|
|
17352
17359
|
}
|
|
17353
17360
|
return _arr;
|
|
17354
17361
|
}
|
|
17355
|
-
function _non_iterable_rest$
|
|
17362
|
+
function _non_iterable_rest$4() {
|
|
17356
17363
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17357
17364
|
}
|
|
17358
|
-
function _sliced_to_array$
|
|
17359
|
-
return _array_with_holes$
|
|
17365
|
+
function _sliced_to_array$4(arr, i) {
|
|
17366
|
+
return _array_with_holes$4(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$6(arr, i) || _non_iterable_rest$4();
|
|
17360
17367
|
}
|
|
17361
|
-
function _unsupported_iterable_to_array$
|
|
17368
|
+
function _unsupported_iterable_to_array$6(o, minLen) {
|
|
17362
17369
|
if (!o) return;
|
|
17363
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
17370
|
+
if (typeof o === "string") return _array_like_to_array$6(o, minLen);
|
|
17364
17371
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
17365
17372
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
17366
17373
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
17367
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
17374
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
|
|
17368
17375
|
}
|
|
17369
17376
|
/**
|
|
17370
17377
|
* Creates bidirectional map functions (`from` and `to`) from a set of {@link ModelFieldConversions}.
|
|
@@ -17376,21 +17383,21 @@ function _unsupported_iterable_to_array$5(o, minLen) {
|
|
|
17376
17383
|
*/ function makeModelMapFunctions(fields) {
|
|
17377
17384
|
var keys = filterKeyValueTuples(fields);
|
|
17378
17385
|
var conversionsByKey = keys.map(function(param) {
|
|
17379
|
-
var _param = _sliced_to_array$
|
|
17386
|
+
var _param = _sliced_to_array$4(param, 2), key = _param[0], field = _param[1];
|
|
17380
17387
|
return [
|
|
17381
17388
|
key,
|
|
17382
17389
|
field
|
|
17383
17390
|
];
|
|
17384
17391
|
});
|
|
17385
17392
|
var fromConversions = conversionsByKey.map(function(param) {
|
|
17386
|
-
var _param = _sliced_to_array$
|
|
17393
|
+
var _param = _sliced_to_array$4(param, 2), key = _param[0], configs = _param[1];
|
|
17387
17394
|
return [
|
|
17388
17395
|
key,
|
|
17389
17396
|
configs.from
|
|
17390
17397
|
];
|
|
17391
17398
|
});
|
|
17392
17399
|
var toConversions = conversionsByKey.map(function(param) {
|
|
17393
|
-
var _param = _sliced_to_array$
|
|
17400
|
+
var _param = _sliced_to_array$4(param, 2), key = _param[0], configs = _param[1];
|
|
17394
17401
|
return [
|
|
17395
17402
|
key,
|
|
17396
17403
|
configs.to
|
|
@@ -17426,7 +17433,7 @@ function _unsupported_iterable_to_array$5(o, minLen) {
|
|
|
17426
17433
|
});
|
|
17427
17434
|
}
|
|
17428
17435
|
targetFields.forEach(function(param) {
|
|
17429
|
-
var _param = _sliced_to_array$
|
|
17436
|
+
var _param = _sliced_to_array$4(param, 2), key = _param[0], convert = _param[1];
|
|
17430
17437
|
return target[key] = convert(input[key]);
|
|
17431
17438
|
});
|
|
17432
17439
|
}
|
|
@@ -17681,13 +17688,13 @@ function _object_spread$2(target) {
|
|
|
17681
17688
|
return config ? "".concat(config.host, ":").concat(config.port) : config;
|
|
17682
17689
|
}
|
|
17683
17690
|
|
|
17684
|
-
function _array_like_to_array$
|
|
17691
|
+
function _array_like_to_array$5(arr, len) {
|
|
17685
17692
|
if (len == null || len > arr.length) len = arr.length;
|
|
17686
17693
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
17687
17694
|
return arr2;
|
|
17688
17695
|
}
|
|
17689
17696
|
function _array_without_holes$2(arr) {
|
|
17690
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
17697
|
+
if (Array.isArray(arr)) return _array_like_to_array$5(arr);
|
|
17691
17698
|
}
|
|
17692
17699
|
function _class_call_check$5(instance, Constructor) {
|
|
17693
17700
|
if (!(instance instanceof Constructor)) {
|
|
@@ -17714,15 +17721,15 @@ function _non_iterable_spread$2() {
|
|
|
17714
17721
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17715
17722
|
}
|
|
17716
17723
|
function _to_consumable_array$2(arr) {
|
|
17717
|
-
return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$
|
|
17724
|
+
return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$5(arr) || _non_iterable_spread$2();
|
|
17718
17725
|
}
|
|
17719
|
-
function _unsupported_iterable_to_array$
|
|
17726
|
+
function _unsupported_iterable_to_array$5(o, minLen) {
|
|
17720
17727
|
if (!o) return;
|
|
17721
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
17728
|
+
if (typeof o === "string") return _array_like_to_array$5(o, minLen);
|
|
17722
17729
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
17723
17730
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
17724
17731
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
17725
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
17732
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$5(o, minLen);
|
|
17726
17733
|
}
|
|
17727
17734
|
/**
|
|
17728
17735
|
* Type of relation change to perform on a collection of models.
|
|
@@ -18213,12 +18220,12 @@ function handlerFactory(readKey, options) {
|
|
|
18213
18220
|
};
|
|
18214
18221
|
}
|
|
18215
18222
|
|
|
18216
|
-
function _array_like_to_array$
|
|
18223
|
+
function _array_like_to_array$4(arr, len) {
|
|
18217
18224
|
if (len == null || len > arr.length) len = arr.length;
|
|
18218
18225
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
18219
18226
|
return arr2;
|
|
18220
18227
|
}
|
|
18221
|
-
function _array_with_holes$
|
|
18228
|
+
function _array_with_holes$3(arr) {
|
|
18222
18229
|
if (Array.isArray(arr)) return arr;
|
|
18223
18230
|
}
|
|
18224
18231
|
function _class_call_check$4(instance, Constructor) {
|
|
@@ -18252,7 +18259,7 @@ function _define_property$5(obj, key, value) {
|
|
|
18252
18259
|
}
|
|
18253
18260
|
return obj;
|
|
18254
18261
|
}
|
|
18255
|
-
function _iterable_to_array_limit$
|
|
18262
|
+
function _iterable_to_array_limit$3(arr, i) {
|
|
18256
18263
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
18257
18264
|
if (_i == null) return;
|
|
18258
18265
|
var _arr = [];
|
|
@@ -18276,19 +18283,19 @@ function _iterable_to_array_limit$2(arr, i) {
|
|
|
18276
18283
|
}
|
|
18277
18284
|
return _arr;
|
|
18278
18285
|
}
|
|
18279
|
-
function _non_iterable_rest$
|
|
18286
|
+
function _non_iterable_rest$3() {
|
|
18280
18287
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
18281
18288
|
}
|
|
18282
|
-
function _sliced_to_array$
|
|
18283
|
-
return _array_with_holes$
|
|
18289
|
+
function _sliced_to_array$3(arr, i) {
|
|
18290
|
+
return _array_with_holes$3(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$4(arr, i) || _non_iterable_rest$3();
|
|
18284
18291
|
}
|
|
18285
|
-
function _unsupported_iterable_to_array$
|
|
18292
|
+
function _unsupported_iterable_to_array$4(o, minLen) {
|
|
18286
18293
|
if (!o) return;
|
|
18287
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
18294
|
+
if (typeof o === "string") return _array_like_to_array$4(o, minLen);
|
|
18288
18295
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
18289
18296
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
18290
18297
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
18291
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
18298
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4(o, minLen);
|
|
18292
18299
|
}
|
|
18293
18300
|
/**
|
|
18294
18301
|
* TypedServiceRegistry implementation.
|
|
@@ -18339,7 +18346,7 @@ function _unsupported_iterable_to_array$3(o, minLen) {
|
|
|
18339
18346
|
var instance = new TypedServiceRegistryInstance();
|
|
18340
18347
|
forEachKeyValue(config.services, {
|
|
18341
18348
|
forEach: function forEach(param) {
|
|
18342
|
-
var _param = _sliced_to_array$
|
|
18349
|
+
var _param = _sliced_to_array$3(param, 2), key = _param[0], service = _param[1];
|
|
18343
18350
|
instance.registerServiceForType(key, service);
|
|
18344
18351
|
}
|
|
18345
18352
|
});
|
|
@@ -18736,6 +18743,120 @@ function _is_native_reflect_construct() {
|
|
|
18736
18743
|
}
|
|
18737
18744
|
();
|
|
18738
18745
|
|
|
18746
|
+
function _array_like_to_array$3(arr, len) {
|
|
18747
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
18748
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
18749
|
+
return arr2;
|
|
18750
|
+
}
|
|
18751
|
+
function _array_with_holes$2(arr) {
|
|
18752
|
+
if (Array.isArray(arr)) return arr;
|
|
18753
|
+
}
|
|
18754
|
+
function _iterable_to_array_limit$2(arr, i) {
|
|
18755
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
18756
|
+
if (_i == null) return;
|
|
18757
|
+
var _arr = [];
|
|
18758
|
+
var _n = true;
|
|
18759
|
+
var _d = false;
|
|
18760
|
+
var _s, _e;
|
|
18761
|
+
try {
|
|
18762
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
18763
|
+
_arr.push(_s.value);
|
|
18764
|
+
if (i && _arr.length === i) break;
|
|
18765
|
+
}
|
|
18766
|
+
} catch (err) {
|
|
18767
|
+
_d = true;
|
|
18768
|
+
_e = err;
|
|
18769
|
+
} finally{
|
|
18770
|
+
try {
|
|
18771
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
18772
|
+
} finally{
|
|
18773
|
+
if (_d) throw _e;
|
|
18774
|
+
}
|
|
18775
|
+
}
|
|
18776
|
+
return _arr;
|
|
18777
|
+
}
|
|
18778
|
+
function _non_iterable_rest$2() {
|
|
18779
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
18780
|
+
}
|
|
18781
|
+
function _sliced_to_array$2(arr, i) {
|
|
18782
|
+
return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$3(arr, i) || _non_iterable_rest$2();
|
|
18783
|
+
}
|
|
18784
|
+
function _unsupported_iterable_to_array$3(o, minLen) {
|
|
18785
|
+
if (!o) return;
|
|
18786
|
+
if (typeof o === "string") return _array_like_to_array$3(o, minLen);
|
|
18787
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
18788
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
18789
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
18790
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3(o, minLen);
|
|
18791
|
+
}
|
|
18792
|
+
/**
|
|
18793
|
+
* Pure string-case converters that do not pull in the
|
|
18794
|
+
* {@link change-case-all} dependency.
|
|
18795
|
+
*
|
|
18796
|
+
* Use these for the common SCREAMING_SNAKE ↔ camelCase conversions
|
|
18797
|
+
* (constant-name ↔ symbol-name flips) without paying for the full
|
|
18798
|
+
* change-case bundle. For arbitrary case detection / round-tripping
|
|
18799
|
+
* across mixed inputs, prefer the dedicated package.
|
|
18800
|
+
*/ /**
|
|
18801
|
+
* Converts a SCREAMING_SNAKE_CASE string into camelCase.
|
|
18802
|
+
*
|
|
18803
|
+
* Empty segments (e.g. leading underscores in `_USER_ID`) are skipped.
|
|
18804
|
+
*
|
|
18805
|
+
* @param input The SCREAMING_SNAKE_CASE input.
|
|
18806
|
+
* @returns The camelCase form.
|
|
18807
|
+
*/ function screamingSnakeToCamelCase(input) {
|
|
18808
|
+
var parts = input.split('_').filter(function(p) {
|
|
18809
|
+
return p.length > 0;
|
|
18810
|
+
});
|
|
18811
|
+
var result = '';
|
|
18812
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
18813
|
+
try {
|
|
18814
|
+
for(var _iterator = parts.entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
18815
|
+
var _step_value = _sliced_to_array$2(_step.value, 2), i = _step_value[0], part_ = _step_value[1];
|
|
18816
|
+
var part = part_.toLowerCase();
|
|
18817
|
+
if (i === 0) {
|
|
18818
|
+
result += part;
|
|
18819
|
+
} else {
|
|
18820
|
+
result += part.charAt(0).toUpperCase() + part.slice(1);
|
|
18821
|
+
}
|
|
18822
|
+
}
|
|
18823
|
+
} catch (err) {
|
|
18824
|
+
_didIteratorError = true;
|
|
18825
|
+
_iteratorError = err;
|
|
18826
|
+
} finally{
|
|
18827
|
+
try {
|
|
18828
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
18829
|
+
_iterator.return();
|
|
18830
|
+
}
|
|
18831
|
+
} finally{
|
|
18832
|
+
if (_didIteratorError) {
|
|
18833
|
+
throw _iteratorError;
|
|
18834
|
+
}
|
|
18835
|
+
}
|
|
18836
|
+
}
|
|
18837
|
+
return result;
|
|
18838
|
+
}
|
|
18839
|
+
/**
|
|
18840
|
+
* Converts a camelCase or PascalCase string into SCREAMING_SNAKE_CASE.
|
|
18841
|
+
*
|
|
18842
|
+
* Each upper-case character (other than the first) is preceded by an
|
|
18843
|
+
* underscore, then the whole result is upper-cased.
|
|
18844
|
+
*
|
|
18845
|
+
* @param input The camelCase / PascalCase input.
|
|
18846
|
+
* @returns The SCREAMING_SNAKE_CASE form.
|
|
18847
|
+
*/ function camelOrPascalToScreamingSnake(input) {
|
|
18848
|
+
var out = '';
|
|
18849
|
+
for(var i = 0; i < input.length; i += 1){
|
|
18850
|
+
var ch = input.charAt(i);
|
|
18851
|
+
var isUpper = ch >= 'A' && ch <= 'Z';
|
|
18852
|
+
if (isUpper && i > 0) {
|
|
18853
|
+
out += '_';
|
|
18854
|
+
}
|
|
18855
|
+
out += ch.toUpperCase();
|
|
18856
|
+
}
|
|
18857
|
+
return out;
|
|
18858
|
+
}
|
|
18859
|
+
|
|
18739
18860
|
function _array_like_to_array$2(arr, len) {
|
|
18740
18861
|
if (len == null || len > arr.length) len = arr.length;
|
|
18741
18862
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -19069,6 +19190,55 @@ function mimeTypeForFileExtension(extension) {
|
|
|
19069
19190
|
cleanString: cleanString
|
|
19070
19191
|
};
|
|
19071
19192
|
}
|
|
19193
|
+
/**
|
|
19194
|
+
* Removes the given suffix from the input string when present, or
|
|
19195
|
+
* returns `undefined` when the input does not end with the suffix.
|
|
19196
|
+
*
|
|
19197
|
+
* Use this when callers want to detect whether the suffix was present
|
|
19198
|
+
* (vs. {@link removeFirstMatchingSuffix}, which silently passes the
|
|
19199
|
+
* input through).
|
|
19200
|
+
*
|
|
19201
|
+
* @param input The string to trim.
|
|
19202
|
+
* @param suffix The suffix to remove.
|
|
19203
|
+
* @returns The input without the suffix, or `undefined` when the input
|
|
19204
|
+
* does not end with the suffix.
|
|
19205
|
+
*/ function removeSuffix(input, suffix) {
|
|
19206
|
+
if (!input.endsWith(suffix)) return undefined;
|
|
19207
|
+
return input.slice(0, -suffix.length);
|
|
19208
|
+
}
|
|
19209
|
+
/**
|
|
19210
|
+
* Removes the first matching suffix from the input string. Returns the
|
|
19211
|
+
* input unchanged when none of the suffixes match.
|
|
19212
|
+
*
|
|
19213
|
+
* @param input The string to trim.
|
|
19214
|
+
* @param suffixes The suffixes to try in order.
|
|
19215
|
+
* @returns The input with the first matching suffix removed, or the
|
|
19216
|
+
* input unchanged when no suffix matches.
|
|
19217
|
+
*/ function removeFirstMatchingSuffix(input, suffixes) {
|
|
19218
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
19219
|
+
try {
|
|
19220
|
+
for(var _iterator = suffixes[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
19221
|
+
var suffix = _step.value;
|
|
19222
|
+
if (input.endsWith(suffix)) {
|
|
19223
|
+
return input.slice(0, -suffix.length);
|
|
19224
|
+
}
|
|
19225
|
+
}
|
|
19226
|
+
} catch (err) {
|
|
19227
|
+
_didIteratorError = true;
|
|
19228
|
+
_iteratorError = err;
|
|
19229
|
+
} finally{
|
|
19230
|
+
try {
|
|
19231
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
19232
|
+
_iterator.return();
|
|
19233
|
+
}
|
|
19234
|
+
} finally{
|
|
19235
|
+
if (_didIteratorError) {
|
|
19236
|
+
throw _iteratorError;
|
|
19237
|
+
}
|
|
19238
|
+
}
|
|
19239
|
+
}
|
|
19240
|
+
return input;
|
|
19241
|
+
}
|
|
19072
19242
|
/**
|
|
19073
19243
|
* A pre-configured instance that can be used to add/remove dash prefixes from a string.
|
|
19074
19244
|
*/ var DASH_CHARACTER_PREFIX_INSTANCE = characterPrefixSuffixInstance({
|
|
@@ -20844,6 +21014,7 @@ exports.bufferHasValidPdfMarkings = bufferHasValidPdfMarkings;
|
|
|
20844
21014
|
exports.build = build;
|
|
20845
21015
|
exports.cachedGetter = cachedGetter;
|
|
20846
21016
|
exports.calculateExpirationDate = calculateExpirationDate;
|
|
21017
|
+
exports.camelOrPascalToScreamingSnake = camelOrPascalToScreamingSnake;
|
|
20847
21018
|
exports.capLatValue = capLatValue;
|
|
20848
21019
|
exports.capitalizeFirstLetter = capitalizeFirstLetter;
|
|
20849
21020
|
exports.caseInsensitiveFilterByIndexOfDecisionFactory = caseInsensitiveFilterByIndexOfDecisionFactory;
|
|
@@ -21399,6 +21570,7 @@ exports.removeByKeyFromBooleanKeyArray = removeByKeyFromBooleanKeyArray;
|
|
|
21399
21570
|
exports.removeCharactersAfterFirstCharacterOccurence = removeCharactersAfterFirstCharacterOccurence;
|
|
21400
21571
|
exports.removeCharactersAfterFirstCharacterOccurenceFunction = removeCharactersAfterFirstCharacterOccurenceFunction;
|
|
21401
21572
|
exports.removeExtensionFromPhoneNumber = removeExtensionFromPhoneNumber;
|
|
21573
|
+
exports.removeFirstMatchingSuffix = removeFirstMatchingSuffix;
|
|
21402
21574
|
exports.removeFromBooleanKeyArray = removeFromBooleanKeyArray;
|
|
21403
21575
|
exports.removeFromSet = removeFromSet;
|
|
21404
21576
|
exports.removeFromSetCopy = removeFromSetCopy;
|
|
@@ -21406,6 +21578,7 @@ exports.removeHttpFromUrl = removeHttpFromUrl;
|
|
|
21406
21578
|
exports.removeModelsWithKey = removeModelsWithKey;
|
|
21407
21579
|
exports.removeModelsWithSameKey = removeModelsWithSameKey;
|
|
21408
21580
|
exports.removeModifiers = removeModifiers;
|
|
21581
|
+
exports.removeSuffix = removeSuffix;
|
|
21409
21582
|
exports.removeTrailingFileTypeSeparators = removeTrailingFileTypeSeparators;
|
|
21410
21583
|
exports.removeTrailingSlashes = removeTrailingSlashes;
|
|
21411
21584
|
exports.removeValuesAtIndexesFromArrayCopy = removeValuesAtIndexesFromArrayCopy;
|
|
@@ -21436,6 +21609,7 @@ exports.runNamedAsyncTasksFunction = runNamedAsyncTasksFunction;
|
|
|
21436
21609
|
exports.safeCompareEquality = safeCompareEquality;
|
|
21437
21610
|
exports.safeEqualityComparatorFunction = safeEqualityComparatorFunction;
|
|
21438
21611
|
exports.safeFindBestIndexMatch = safeFindBestIndexMatch;
|
|
21612
|
+
exports.screamingSnakeToCamelCase = screamingSnakeToCamelCase;
|
|
21439
21613
|
exports.searchStringFilterFunction = searchStringFilterFunction;
|
|
21440
21614
|
exports.secondsToMinutesAndSeconds = secondsToMinutesAndSeconds;
|
|
21441
21615
|
exports.selectiveFieldEncryptor = selectiveFieldEncryptor;
|