@dereekb/util 13.9.0 → 13.10.1
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 +5 -3
- package/fetch/index.esm.js +5 -3
- package/fetch/package.json +3 -3
- package/index.cjs.js +682 -384
- package/index.esm.js +676 -384
- package/package.json +5 -5
- 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/function/function.d.ts +1 -1
- 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/object/object.filter.pojo.d.ts +10 -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 +13 -1
- 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 +35 -1
- 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/index.cjs.js +1 -0
- package/test/index.esm.js +1 -0
- package/test/package.json +3 -3
package/index.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { symmetricDifference } from 'extra-set';
|
|
2
2
|
import { BaseError } from 'make-error';
|
|
3
3
|
|
|
4
|
-
function _array_like_to_array$
|
|
4
|
+
function _array_like_to_array$B(arr, len) {
|
|
5
5
|
if (len == null || len > arr.length) len = arr.length;
|
|
6
6
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
7
7
|
return arr2;
|
|
8
8
|
}
|
|
9
9
|
function _array_without_holes$n(arr) {
|
|
10
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
10
|
+
if (Array.isArray(arr)) return _array_like_to_array$B(arr);
|
|
11
11
|
}
|
|
12
12
|
function _iterable_to_array$n(iter) {
|
|
13
13
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -16,19 +16,19 @@ function _non_iterable_spread$n() {
|
|
|
16
16
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17
17
|
}
|
|
18
18
|
function _to_consumable_array$n(arr) {
|
|
19
|
-
return _array_without_holes$n(arr) || _iterable_to_array$n(arr) || _unsupported_iterable_to_array$
|
|
19
|
+
return _array_without_holes$n(arr) || _iterable_to_array$n(arr) || _unsupported_iterable_to_array$B(arr) || _non_iterable_spread$n();
|
|
20
20
|
}
|
|
21
21
|
function _type_of$m(obj) {
|
|
22
22
|
"@swc/helpers - typeof";
|
|
23
23
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
24
24
|
}
|
|
25
|
-
function _unsupported_iterable_to_array$
|
|
25
|
+
function _unsupported_iterable_to_array$B(o, minLen) {
|
|
26
26
|
if (!o) return;
|
|
27
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
27
|
+
if (typeof o === "string") return _array_like_to_array$B(o, minLen);
|
|
28
28
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
29
29
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
30
30
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
31
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
31
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$B(o, minLen);
|
|
32
32
|
}
|
|
33
33
|
// MARK: Functions
|
|
34
34
|
/**
|
|
@@ -381,13 +381,13 @@ function _unsupported_iterable_to_array$A(o, minLen) {
|
|
|
381
381
|
return result;
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
-
function _array_like_to_array$
|
|
384
|
+
function _array_like_to_array$A(arr, len) {
|
|
385
385
|
if (len == null || len > arr.length) len = arr.length;
|
|
386
386
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
387
387
|
return arr2;
|
|
388
388
|
}
|
|
389
389
|
function _array_without_holes$m(arr) {
|
|
390
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
390
|
+
if (Array.isArray(arr)) return _array_like_to_array$A(arr);
|
|
391
391
|
}
|
|
392
392
|
function _iterable_to_array$m(iter) {
|
|
393
393
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -396,15 +396,15 @@ function _non_iterable_spread$m() {
|
|
|
396
396
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
397
397
|
}
|
|
398
398
|
function _to_consumable_array$m(arr) {
|
|
399
|
-
return _array_without_holes$m(arr) || _iterable_to_array$m(arr) || _unsupported_iterable_to_array$
|
|
399
|
+
return _array_without_holes$m(arr) || _iterable_to_array$m(arr) || _unsupported_iterable_to_array$A(arr) || _non_iterable_spread$m();
|
|
400
400
|
}
|
|
401
|
-
function _unsupported_iterable_to_array$
|
|
401
|
+
function _unsupported_iterable_to_array$A(o, minLen) {
|
|
402
402
|
if (!o) return;
|
|
403
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
403
|
+
if (typeof o === "string") return _array_like_to_array$A(o, minLen);
|
|
404
404
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
405
405
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
406
406
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
407
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
407
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$A(o, minLen);
|
|
408
408
|
}
|
|
409
409
|
// MARK: Functions
|
|
410
410
|
/**
|
|
@@ -460,7 +460,7 @@ function _unsupported_iterable_to_array$z(o, minLen) {
|
|
|
460
460
|
* @param input - single value or array to retrieve from
|
|
461
461
|
* @returns the last element of the array, or the input value itself
|
|
462
462
|
*/ function lastValue(input) {
|
|
463
|
-
return Array.isArray(input) ? input
|
|
463
|
+
return Array.isArray(input) ? input.at(-1) : input;
|
|
464
464
|
}
|
|
465
465
|
/**
|
|
466
466
|
* Returns a tuple with the first and last value of the input.
|
|
@@ -495,9 +495,7 @@ function _unsupported_iterable_to_array$z(o, minLen) {
|
|
|
495
495
|
for(var _len = arguments.length, arrays = new Array(_len), _key = 0; _key < _len; _key++){
|
|
496
496
|
arrays[_key] = arguments[_key];
|
|
497
497
|
}
|
|
498
|
-
return flattenArray(arrays.filter(
|
|
499
|
-
return Boolean(x);
|
|
500
|
-
}));
|
|
498
|
+
return flattenArray(arrays.filter(Boolean));
|
|
501
499
|
}
|
|
502
500
|
/**
|
|
503
501
|
* Flattens a two-dimensional array into a single-dimensional array. Any null/undefined entries in the outer dimension are filtered out.
|
|
@@ -505,9 +503,7 @@ function _unsupported_iterable_to_array$z(o, minLen) {
|
|
|
505
503
|
* @param array - two-dimensional array to flatten, may contain nullish entries
|
|
506
504
|
* @returns a single-dimensional array with all elements from the non-nullish inner arrays
|
|
507
505
|
*/ function flattenArray(array) {
|
|
508
|
-
var filteredValues = array.filter(
|
|
509
|
-
return Boolean(x);
|
|
510
|
-
});
|
|
506
|
+
var filteredValues = array.filter(Boolean);
|
|
511
507
|
return filteredValues.flat();
|
|
512
508
|
}
|
|
513
509
|
/**
|
|
@@ -526,7 +522,7 @@ function _unsupported_iterable_to_array$z(o, minLen) {
|
|
|
526
522
|
* @param input - array to copy, or nullish
|
|
527
523
|
* @returns a new array with the same elements, or an empty array if input is nullish
|
|
528
524
|
*/ function copyArray(input) {
|
|
529
|
-
return input
|
|
525
|
+
return input == null ? [] : _to_consumable_array$m(input);
|
|
530
526
|
}
|
|
531
527
|
/**
|
|
532
528
|
* Pushes the same element onto the target array a specified number of times.
|
|
@@ -762,13 +758,13 @@ function _unsupported_iterable_to_array$z(o, minLen) {
|
|
|
762
758
|
return readKeysSetFunction(readKey)(values);
|
|
763
759
|
}
|
|
764
760
|
|
|
765
|
-
function _array_like_to_array$
|
|
761
|
+
function _array_like_to_array$z(arr, len) {
|
|
766
762
|
if (len == null || len > arr.length) len = arr.length;
|
|
767
763
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
768
764
|
return arr2;
|
|
769
765
|
}
|
|
770
766
|
function _array_without_holes$l(arr) {
|
|
771
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
767
|
+
if (Array.isArray(arr)) return _array_like_to_array$z(arr);
|
|
772
768
|
}
|
|
773
769
|
function _iterable_to_array$l(iter) {
|
|
774
770
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -777,15 +773,15 @@ function _non_iterable_spread$l() {
|
|
|
777
773
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
778
774
|
}
|
|
779
775
|
function _to_consumable_array$l(arr) {
|
|
780
|
-
return _array_without_holes$l(arr) || _iterable_to_array$l(arr) || _unsupported_iterable_to_array$
|
|
776
|
+
return _array_without_holes$l(arr) || _iterable_to_array$l(arr) || _unsupported_iterable_to_array$z(arr) || _non_iterable_spread$l();
|
|
781
777
|
}
|
|
782
|
-
function _unsupported_iterable_to_array$
|
|
778
|
+
function _unsupported_iterable_to_array$z(o, minLen) {
|
|
783
779
|
if (!o) return;
|
|
784
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
780
|
+
if (typeof o === "string") return _array_like_to_array$z(o, minLen);
|
|
785
781
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
786
782
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
787
783
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
788
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
784
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$z(o, minLen);
|
|
789
785
|
}
|
|
790
786
|
/**
|
|
791
787
|
* Converts an {@link IterableOrValue} into a Set. Strings are treated as single values rather than character iterables.
|
|
@@ -1280,13 +1276,13 @@ function _unsupported_iterable_to_array$y(o, minLen) {
|
|
|
1280
1276
|
return a && b ? a.size === b.size && setContainsAllValues(a, b, true) : a == b;
|
|
1281
1277
|
}
|
|
1282
1278
|
|
|
1283
|
-
function _array_like_to_array$
|
|
1279
|
+
function _array_like_to_array$y(arr, len) {
|
|
1284
1280
|
if (len == null || len > arr.length) len = arr.length;
|
|
1285
1281
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
1286
1282
|
return arr2;
|
|
1287
1283
|
}
|
|
1288
1284
|
function _array_without_holes$k(arr) {
|
|
1289
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
1285
|
+
if (Array.isArray(arr)) return _array_like_to_array$y(arr);
|
|
1290
1286
|
}
|
|
1291
1287
|
function _iterable_to_array$k(iter) {
|
|
1292
1288
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -1295,15 +1291,15 @@ function _non_iterable_spread$k() {
|
|
|
1295
1291
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1296
1292
|
}
|
|
1297
1293
|
function _to_consumable_array$k(arr) {
|
|
1298
|
-
return _array_without_holes$k(arr) || _iterable_to_array$k(arr) || _unsupported_iterable_to_array$
|
|
1294
|
+
return _array_without_holes$k(arr) || _iterable_to_array$k(arr) || _unsupported_iterable_to_array$y(arr) || _non_iterable_spread$k();
|
|
1299
1295
|
}
|
|
1300
|
-
function _unsupported_iterable_to_array$
|
|
1296
|
+
function _unsupported_iterable_to_array$y(o, minLen) {
|
|
1301
1297
|
if (!o) return;
|
|
1302
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
1298
|
+
if (typeof o === "string") return _array_like_to_array$y(o, minLen);
|
|
1303
1299
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1304
1300
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1305
1301
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
1306
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
1302
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$y(o, minLen);
|
|
1307
1303
|
}
|
|
1308
1304
|
/**
|
|
1309
1305
|
* Inverts the output of an arbitrary boolean-returning function.
|
|
@@ -1337,7 +1333,9 @@ function _unsupported_iterable_to_array$x(o, minLen) {
|
|
|
1337
1333
|
*/ function arrayDecisionFunction(decision, mode) {
|
|
1338
1334
|
var findFn = mode === 'all' ? invertBooleanReturnFunction(decision) : decision;
|
|
1339
1335
|
return invertBooleanReturnFunction(function(values) {
|
|
1340
|
-
return values.some(
|
|
1336
|
+
return values.some(function(v, i, arr) {
|
|
1337
|
+
return findFn(v, i, arr);
|
|
1338
|
+
});
|
|
1341
1339
|
}, mode === 'all');
|
|
1342
1340
|
}
|
|
1343
1341
|
/**
|
|
@@ -1581,7 +1579,9 @@ function _type_of$l(obj) {
|
|
|
1581
1579
|
return function(values) {
|
|
1582
1580
|
var result;
|
|
1583
1581
|
if (values != null) {
|
|
1584
|
-
result = values.filter(
|
|
1582
|
+
result = values.filter(function(v, i, arr) {
|
|
1583
|
+
return filterFn(v, i, arr);
|
|
1584
|
+
});
|
|
1585
1585
|
} else {
|
|
1586
1586
|
result = [];
|
|
1587
1587
|
}
|
|
@@ -1793,13 +1793,13 @@ function chainMapFunction(a, b) {
|
|
|
1793
1793
|
} : a;
|
|
1794
1794
|
}
|
|
1795
1795
|
|
|
1796
|
-
function _array_like_to_array$
|
|
1796
|
+
function _array_like_to_array$x(arr, len) {
|
|
1797
1797
|
if (len == null || len > arr.length) len = arr.length;
|
|
1798
1798
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
1799
1799
|
return arr2;
|
|
1800
1800
|
}
|
|
1801
1801
|
function _array_without_holes$j(arr) {
|
|
1802
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
1802
|
+
if (Array.isArray(arr)) return _array_like_to_array$x(arr);
|
|
1803
1803
|
}
|
|
1804
1804
|
function _iterable_to_array$j(iter) {
|
|
1805
1805
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -1808,15 +1808,15 @@ function _non_iterable_spread$j() {
|
|
|
1808
1808
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1809
1809
|
}
|
|
1810
1810
|
function _to_consumable_array$j(arr) {
|
|
1811
|
-
return _array_without_holes$j(arr) || _iterable_to_array$j(arr) || _unsupported_iterable_to_array$
|
|
1811
|
+
return _array_without_holes$j(arr) || _iterable_to_array$j(arr) || _unsupported_iterable_to_array$x(arr) || _non_iterable_spread$j();
|
|
1812
1812
|
}
|
|
1813
|
-
function _unsupported_iterable_to_array$
|
|
1813
|
+
function _unsupported_iterable_to_array$x(o, minLen) {
|
|
1814
1814
|
if (!o) return;
|
|
1815
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
1815
|
+
if (typeof o === "string") return _array_like_to_array$x(o, minLen);
|
|
1816
1816
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1817
1817
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1818
1818
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
1819
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
1819
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$x(o, minLen);
|
|
1820
1820
|
}
|
|
1821
1821
|
/**
|
|
1822
1822
|
* Concatenates multiple arrays and returns only unique values.
|
|
@@ -2227,13 +2227,13 @@ function readModelKey(input) {
|
|
|
2227
2227
|
}
|
|
2228
2228
|
;
|
|
2229
2229
|
|
|
2230
|
-
function _array_like_to_array$
|
|
2230
|
+
function _array_like_to_array$w(arr, len) {
|
|
2231
2231
|
if (len == null || len > arr.length) len = arr.length;
|
|
2232
2232
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
2233
2233
|
return arr2;
|
|
2234
2234
|
}
|
|
2235
2235
|
function _array_without_holes$i(arr) {
|
|
2236
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
2236
|
+
if (Array.isArray(arr)) return _array_like_to_array$w(arr);
|
|
2237
2237
|
}
|
|
2238
2238
|
function _iterable_to_array$i(iter) {
|
|
2239
2239
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -2242,15 +2242,15 @@ function _non_iterable_spread$i() {
|
|
|
2242
2242
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2243
2243
|
}
|
|
2244
2244
|
function _to_consumable_array$i(arr) {
|
|
2245
|
-
return _array_without_holes$i(arr) || _iterable_to_array$i(arr) || _unsupported_iterable_to_array$
|
|
2245
|
+
return _array_without_holes$i(arr) || _iterable_to_array$i(arr) || _unsupported_iterable_to_array$w(arr) || _non_iterable_spread$i();
|
|
2246
2246
|
}
|
|
2247
|
-
function _unsupported_iterable_to_array$
|
|
2247
|
+
function _unsupported_iterable_to_array$w(o, minLen) {
|
|
2248
2248
|
if (!o) return;
|
|
2249
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
2249
|
+
if (typeof o === "string") return _array_like_to_array$w(o, minLen);
|
|
2250
2250
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2251
2251
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2252
2252
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2253
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
2253
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$w(o, minLen);
|
|
2254
2254
|
}
|
|
2255
2255
|
/**
|
|
2256
2256
|
* Wraps a key reading function to ensure that empty string keys are not used in boolean key arrays.
|
|
@@ -2354,16 +2354,16 @@ function _unsupported_iterable_to_array$v(o, minLen) {
|
|
|
2354
2354
|
/**
|
|
2355
2355
|
* Utility for working with boolean string key arrays.
|
|
2356
2356
|
*/ var BooleanStringKeyArrayUtility = booleanKeyArrayUtility(function(x) {
|
|
2357
|
-
return x
|
|
2357
|
+
return x || undefined;
|
|
2358
2358
|
});
|
|
2359
2359
|
|
|
2360
|
-
function _array_like_to_array$
|
|
2360
|
+
function _array_like_to_array$v(arr, len) {
|
|
2361
2361
|
if (len == null || len > arr.length) len = arr.length;
|
|
2362
2362
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
2363
2363
|
return arr2;
|
|
2364
2364
|
}
|
|
2365
2365
|
function _array_without_holes$h(arr) {
|
|
2366
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
2366
|
+
if (Array.isArray(arr)) return _array_like_to_array$v(arr);
|
|
2367
2367
|
}
|
|
2368
2368
|
function _class_call_check$a(instance, Constructor) {
|
|
2369
2369
|
if (!(instance instanceof Constructor)) {
|
|
@@ -2403,15 +2403,15 @@ function _non_iterable_spread$h() {
|
|
|
2403
2403
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2404
2404
|
}
|
|
2405
2405
|
function _to_consumable_array$h(arr) {
|
|
2406
|
-
return _array_without_holes$h(arr) || _iterable_to_array$h(arr) || _unsupported_iterable_to_array$
|
|
2406
|
+
return _array_without_holes$h(arr) || _iterable_to_array$h(arr) || _unsupported_iterable_to_array$v(arr) || _non_iterable_spread$h();
|
|
2407
2407
|
}
|
|
2408
|
-
function _unsupported_iterable_to_array$
|
|
2408
|
+
function _unsupported_iterable_to_array$v(o, minLen) {
|
|
2409
2409
|
if (!o) return;
|
|
2410
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
2410
|
+
if (typeof o === "string") return _array_like_to_array$v(o, minLen);
|
|
2411
2411
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2412
2412
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2413
2413
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2414
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
2414
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$v(o, minLen);
|
|
2415
2415
|
}
|
|
2416
2416
|
/**
|
|
2417
2417
|
* Set that is implemented internally using a Map, and input values have their keys read.
|
|
@@ -2607,13 +2607,13 @@ function _unsupported_iterable_to_array$u(o, minLen) {
|
|
|
2607
2607
|
}
|
|
2608
2608
|
();
|
|
2609
2609
|
|
|
2610
|
-
function _array_like_to_array$
|
|
2610
|
+
function _array_like_to_array$u(arr, len) {
|
|
2611
2611
|
if (len == null || len > arr.length) len = arr.length;
|
|
2612
2612
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
2613
2613
|
return arr2;
|
|
2614
2614
|
}
|
|
2615
2615
|
function _array_without_holes$g(arr) {
|
|
2616
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
2616
|
+
if (Array.isArray(arr)) return _array_like_to_array$u(arr);
|
|
2617
2617
|
}
|
|
2618
2618
|
function _iterable_to_array$g(iter) {
|
|
2619
2619
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -2622,15 +2622,15 @@ function _non_iterable_spread$g() {
|
|
|
2622
2622
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2623
2623
|
}
|
|
2624
2624
|
function _to_consumable_array$g(arr) {
|
|
2625
|
-
return _array_without_holes$g(arr) || _iterable_to_array$g(arr) || _unsupported_iterable_to_array$
|
|
2625
|
+
return _array_without_holes$g(arr) || _iterable_to_array$g(arr) || _unsupported_iterable_to_array$u(arr) || _non_iterable_spread$g();
|
|
2626
2626
|
}
|
|
2627
|
-
function _unsupported_iterable_to_array$
|
|
2627
|
+
function _unsupported_iterable_to_array$u(o, minLen) {
|
|
2628
2628
|
if (!o) return;
|
|
2629
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
2629
|
+
if (typeof o === "string") return _array_like_to_array$u(o, minLen);
|
|
2630
2630
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2631
2631
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2632
2632
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2633
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
2633
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$u(o, minLen);
|
|
2634
2634
|
}
|
|
2635
2635
|
var SORT_VALUE_LESS_THAN = -1;
|
|
2636
2636
|
var SORT_VALUE_GREATER_THAN = 1;
|
|
@@ -2765,21 +2765,21 @@ function reverseCompareFn(compareFn) {
|
|
|
2765
2765
|
};
|
|
2766
2766
|
}
|
|
2767
2767
|
|
|
2768
|
-
function _array_like_to_array$
|
|
2768
|
+
function _array_like_to_array$t(arr, len) {
|
|
2769
2769
|
if (len == null || len > arr.length) len = arr.length;
|
|
2770
2770
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
2771
2771
|
return arr2;
|
|
2772
2772
|
}
|
|
2773
|
-
function _array_with_holes$
|
|
2773
|
+
function _array_with_holes$l(arr) {
|
|
2774
2774
|
if (Array.isArray(arr)) return arr;
|
|
2775
2775
|
}
|
|
2776
2776
|
function _array_without_holes$f(arr) {
|
|
2777
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
2777
|
+
if (Array.isArray(arr)) return _array_like_to_array$t(arr);
|
|
2778
2778
|
}
|
|
2779
2779
|
function _iterable_to_array$f(iter) {
|
|
2780
2780
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
2781
2781
|
}
|
|
2782
|
-
function _iterable_to_array_limit$
|
|
2782
|
+
function _iterable_to_array_limit$l(arr, i) {
|
|
2783
2783
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
2784
2784
|
if (_i == null) return;
|
|
2785
2785
|
var _arr = [];
|
|
@@ -2803,25 +2803,25 @@ function _iterable_to_array_limit$k(arr, i) {
|
|
|
2803
2803
|
}
|
|
2804
2804
|
return _arr;
|
|
2805
2805
|
}
|
|
2806
|
-
function _non_iterable_rest$
|
|
2806
|
+
function _non_iterable_rest$l() {
|
|
2807
2807
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2808
2808
|
}
|
|
2809
2809
|
function _non_iterable_spread$f() {
|
|
2810
2810
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2811
2811
|
}
|
|
2812
|
-
function _sliced_to_array$
|
|
2813
|
-
return _array_with_holes$
|
|
2812
|
+
function _sliced_to_array$l(arr, i) {
|
|
2813
|
+
return _array_with_holes$l(arr) || _iterable_to_array_limit$l(arr, i) || _unsupported_iterable_to_array$t(arr, i) || _non_iterable_rest$l();
|
|
2814
2814
|
}
|
|
2815
2815
|
function _to_consumable_array$f(arr) {
|
|
2816
|
-
return _array_without_holes$f(arr) || _iterable_to_array$f(arr) || _unsupported_iterable_to_array$
|
|
2816
|
+
return _array_without_holes$f(arr) || _iterable_to_array$f(arr) || _unsupported_iterable_to_array$t(arr) || _non_iterable_spread$f();
|
|
2817
2817
|
}
|
|
2818
|
-
function _unsupported_iterable_to_array$
|
|
2818
|
+
function _unsupported_iterable_to_array$t(o, minLen) {
|
|
2819
2819
|
if (!o) return;
|
|
2820
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
2820
|
+
if (typeof o === "string") return _array_like_to_array$t(o, minLen);
|
|
2821
2821
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2822
2822
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2823
2823
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2824
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
2824
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$t(o, minLen);
|
|
2825
2825
|
}
|
|
2826
2826
|
/**
|
|
2827
2827
|
* Splits the input array into batches of a maximum size. Each batch carries its zero-based index as `.i`.
|
|
@@ -2966,7 +2966,7 @@ function _unsupported_iterable_to_array$s(o, minLen) {
|
|
|
2966
2966
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
2967
2967
|
try {
|
|
2968
2968
|
for(var _iterator = pairs.pairs[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
2969
|
-
var _step_value = _sliced_to_array$
|
|
2969
|
+
var _step_value = _sliced_to_array$l(_step.value, 2), aa = _step_value[0], bb = _step_value[1];
|
|
2970
2970
|
// If any item is not the same, break.
|
|
2971
2971
|
if (!isEqual(aa, bb)) {
|
|
2972
2972
|
areDifferent = true;
|
|
@@ -3067,15 +3067,15 @@ function makeValuesGroupMap(values, groupKeyFn) {
|
|
|
3067
3067
|
return map;
|
|
3068
3068
|
}
|
|
3069
3069
|
|
|
3070
|
-
function _array_like_to_array$
|
|
3070
|
+
function _array_like_to_array$s(arr, len) {
|
|
3071
3071
|
if (len == null || len > arr.length) len = arr.length;
|
|
3072
3072
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
3073
3073
|
return arr2;
|
|
3074
3074
|
}
|
|
3075
|
-
function _array_with_holes$
|
|
3075
|
+
function _array_with_holes$k(arr) {
|
|
3076
3076
|
if (Array.isArray(arr)) return arr;
|
|
3077
3077
|
}
|
|
3078
|
-
function _iterable_to_array_limit$
|
|
3078
|
+
function _iterable_to_array_limit$k(arr, i) {
|
|
3079
3079
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
3080
3080
|
if (_i == null) return;
|
|
3081
3081
|
var _arr = [];
|
|
@@ -3099,19 +3099,19 @@ function _iterable_to_array_limit$j(arr, i) {
|
|
|
3099
3099
|
}
|
|
3100
3100
|
return _arr;
|
|
3101
3101
|
}
|
|
3102
|
-
function _non_iterable_rest$
|
|
3102
|
+
function _non_iterable_rest$k() {
|
|
3103
3103
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3104
3104
|
}
|
|
3105
|
-
function _sliced_to_array$
|
|
3106
|
-
return _array_with_holes$
|
|
3105
|
+
function _sliced_to_array$k(arr, i) {
|
|
3106
|
+
return _array_with_holes$k(arr) || _iterable_to_array_limit$k(arr, i) || _unsupported_iterable_to_array$s(arr, i) || _non_iterable_rest$k();
|
|
3107
3107
|
}
|
|
3108
|
-
function _unsupported_iterable_to_array$
|
|
3108
|
+
function _unsupported_iterable_to_array$s(o, minLen) {
|
|
3109
3109
|
if (!o) return;
|
|
3110
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
3110
|
+
if (typeof o === "string") return _array_like_to_array$s(o, minLen);
|
|
3111
3111
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
3112
3112
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
3113
3113
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
3114
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
3114
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$s(o, minLen);
|
|
3115
3115
|
}
|
|
3116
3116
|
/**
|
|
3117
3117
|
* Combines multiple Maps into a single Map. Later maps override earlier values for the same key.
|
|
@@ -3167,7 +3167,7 @@ function _unsupported_iterable_to_array$r(o, minLen) {
|
|
|
3167
3167
|
*/ function expandArrayValueTuples(values) {
|
|
3168
3168
|
var tuples = [];
|
|
3169
3169
|
values.forEach(function(param) {
|
|
3170
|
-
var _param = _sliced_to_array$
|
|
3170
|
+
var _param = _sliced_to_array$k(param, 2), key = _param[0], _$values = _param[1];
|
|
3171
3171
|
useIterableOrValue(_$values, function(value) {
|
|
3172
3172
|
tuples.push([
|
|
3173
3173
|
key,
|
|
@@ -3948,7 +3948,7 @@ function _type_of$h(obj) {
|
|
|
3948
3948
|
return fn;
|
|
3949
3949
|
}
|
|
3950
3950
|
|
|
3951
|
-
var DOLLAR_AMOUNT_STRING_REGEX = /^\$?(
|
|
3951
|
+
var DOLLAR_AMOUNT_STRING_REGEX = /^\$?(\d+)\.?(\d\d)$/;
|
|
3952
3952
|
/**
|
|
3953
3953
|
* Dollar amounts are to two decimal places.
|
|
3954
3954
|
*/ var DOLLAR_AMOUNT_PRECISION = 2;
|
|
@@ -4116,7 +4116,7 @@ var DOLLAR_AMOUNT_STRING_REGEX = /^\$?([0-9]+)\.?([0-9][0-9])$/;
|
|
|
4116
4116
|
* decodeRadix36Number('2s'); // 100
|
|
4117
4117
|
* ```
|
|
4118
4118
|
*/ function decodeRadix36Number(encoded) {
|
|
4119
|
-
return parseInt(encoded, 36);
|
|
4119
|
+
return Number.parseInt(encoded, 36);
|
|
4120
4120
|
}
|
|
4121
4121
|
/**
|
|
4122
4122
|
* Pattern that matches strings containing only hexadecimal characters (0-9, a-f, A-F).
|
|
@@ -4229,7 +4229,9 @@ var DOLLAR_AMOUNT_STRING_REGEX = /^\$?([0-9]+)\.?([0-9][0-9])$/;
|
|
|
4229
4229
|
}
|
|
4230
4230
|
function reduceNumbersFn(reduceFn, emptyArrayValue) {
|
|
4231
4231
|
var rFn = function rFn(array) {
|
|
4232
|
-
return array.reduce(
|
|
4232
|
+
return array.reduce(function(a, b) {
|
|
4233
|
+
return reduceFn(a, b);
|
|
4234
|
+
});
|
|
4233
4235
|
};
|
|
4234
4236
|
return function(array) {
|
|
4235
4237
|
return array.length ? rFn(array) : emptyArrayValue;
|
|
@@ -5091,7 +5093,9 @@ function findNext(array, find) {
|
|
|
5091
5093
|
var wrapAround = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false, steps = arguments.length > 3 ? arguments[3] : void 0;
|
|
5092
5094
|
var result;
|
|
5093
5095
|
if (array) {
|
|
5094
|
-
var index = array.findIndex(
|
|
5096
|
+
var index = array.findIndex(function(v, i, arr) {
|
|
5097
|
+
return find(v, i, arr);
|
|
5098
|
+
});
|
|
5095
5099
|
var nextIndex = getArrayNextIndex(array, index, wrapAround, steps);
|
|
5096
5100
|
if (nextIndex != null) {
|
|
5097
5101
|
result = array[nextIndex];
|
|
@@ -5470,7 +5474,7 @@ function joinStrings(input) {
|
|
|
5470
5474
|
joinStrings: joinStrings,
|
|
5471
5475
|
splitStrings: splitStrings,
|
|
5472
5476
|
splitStringsToSet: function splitStringsToSet(input) {
|
|
5473
|
-
return new Set(input
|
|
5477
|
+
return new Set(input == null ? [] : splitStrings(input));
|
|
5474
5478
|
},
|
|
5475
5479
|
splitJoinRemainder: function splitJoinRemainder1(input, limit) {
|
|
5476
5480
|
return splitJoinRemainder(input, joiner, limit);
|
|
@@ -5501,7 +5505,10 @@ function caseInsensitiveString(input) {
|
|
|
5501
5505
|
* @returns the prefixed string, or undefined if the input is null/undefined
|
|
5502
5506
|
*/ function addPlusPrefixToNumber(value) {
|
|
5503
5507
|
var prefix = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : '+';
|
|
5504
|
-
|
|
5508
|
+
if (value == null) {
|
|
5509
|
+
return undefined;
|
|
5510
|
+
}
|
|
5511
|
+
return value > 0 ? "".concat(prefix).concat(value) : "".concat(value);
|
|
5505
5512
|
}
|
|
5506
5513
|
/**
|
|
5507
5514
|
* Capitalizes the first letter of the input string.
|
|
@@ -5587,7 +5594,7 @@ function caseInsensitiveString(input) {
|
|
|
5587
5594
|
* @param input - string to flatten
|
|
5588
5595
|
* @returns the string with collapsed whitespace
|
|
5589
5596
|
*/ function flattenWhitespace(input) {
|
|
5590
|
-
return input.
|
|
5597
|
+
return input.replaceAll(/[^\S\r\n]+/g, ' ').trim();
|
|
5591
5598
|
}
|
|
5592
5599
|
/**
|
|
5593
5600
|
* Reduces multiple consecutive newlines to a single newline and collapses multiple whitespace characters to a single space.
|
|
@@ -5708,13 +5715,13 @@ function caseInsensitiveString(input) {
|
|
|
5708
5715
|
}
|
|
5709
5716
|
if (config.slice) {
|
|
5710
5717
|
var sliceTransform = sliceStringFunction(config.slice);
|
|
5711
|
-
if (baseTransform
|
|
5718
|
+
if (baseTransform == null) {
|
|
5719
|
+
baseTransform = sliceTransform;
|
|
5720
|
+
} else {
|
|
5712
5721
|
var initialBaseTransform = baseTransform;
|
|
5713
5722
|
baseTransform = function baseTransform(x) {
|
|
5714
5723
|
return initialBaseTransform(sliceTransform(x));
|
|
5715
5724
|
};
|
|
5716
|
-
} else {
|
|
5717
|
-
baseTransform = sliceTransform;
|
|
5718
5725
|
}
|
|
5719
5726
|
}
|
|
5720
5727
|
var transform = baseTransform;
|
|
@@ -6002,7 +6009,7 @@ function _get_prototype_of$4(o) {
|
|
|
6002
6009
|
};
|
|
6003
6010
|
return _get_prototype_of$4(o);
|
|
6004
6011
|
}
|
|
6005
|
-
function _inherits$
|
|
6012
|
+
function _inherits$5(subClass, superClass) {
|
|
6006
6013
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
6007
6014
|
throw new TypeError("Super expression must either be null or a function");
|
|
6008
6015
|
}
|
|
@@ -6013,7 +6020,7 @@ function _inherits$4(subClass, superClass) {
|
|
|
6013
6020
|
configurable: true
|
|
6014
6021
|
}
|
|
6015
6022
|
});
|
|
6016
|
-
if (superClass) _set_prototype_of$
|
|
6023
|
+
if (superClass) _set_prototype_of$5(subClass, superClass);
|
|
6017
6024
|
}
|
|
6018
6025
|
function _possible_constructor_return$4(self, call) {
|
|
6019
6026
|
if (call && (_type_of$g(call) === "object" || typeof call === "function")) {
|
|
@@ -6021,12 +6028,12 @@ function _possible_constructor_return$4(self, call) {
|
|
|
6021
6028
|
}
|
|
6022
6029
|
return _assert_this_initialized$4(self);
|
|
6023
6030
|
}
|
|
6024
|
-
function _set_prototype_of$
|
|
6025
|
-
_set_prototype_of$
|
|
6031
|
+
function _set_prototype_of$5(o, p) {
|
|
6032
|
+
_set_prototype_of$5 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
6026
6033
|
o.__proto__ = p;
|
|
6027
6034
|
return o;
|
|
6028
6035
|
};
|
|
6029
|
-
return _set_prototype_of$
|
|
6036
|
+
return _set_prototype_of$5(o, p);
|
|
6030
6037
|
}
|
|
6031
6038
|
function _type_of$g(obj) {
|
|
6032
6039
|
"@swc/helpers - typeof";
|
|
@@ -6047,7 +6054,7 @@ function _is_native_reflect_construct$4() {
|
|
|
6047
6054
|
* Error thrown when an assertion fails.
|
|
6048
6055
|
* Extends BaseError and implements ReadableError interface.
|
|
6049
6056
|
*/ var AssertionError = /*#__PURE__*/ function(BaseError) {
|
|
6050
|
-
_inherits$
|
|
6057
|
+
_inherits$5(AssertionError, BaseError);
|
|
6051
6058
|
function AssertionError(error, message) {
|
|
6052
6059
|
_class_call_check$9(this, AssertionError);
|
|
6053
6060
|
var _this;
|
|
@@ -6366,15 +6373,15 @@ function _object_spread$e(target) {
|
|
|
6366
6373
|
* @returns The inverted filter function, or the original if invert is false
|
|
6367
6374
|
*/ var invertFilter = invertBooleanReturnFunction;
|
|
6368
6375
|
|
|
6369
|
-
function _array_like_to_array$
|
|
6376
|
+
function _array_like_to_array$r(arr, len) {
|
|
6370
6377
|
if (len == null || len > arr.length) len = arr.length;
|
|
6371
6378
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
6372
6379
|
return arr2;
|
|
6373
6380
|
}
|
|
6374
|
-
function _array_with_holes$
|
|
6381
|
+
function _array_with_holes$j(arr) {
|
|
6375
6382
|
if (Array.isArray(arr)) return arr;
|
|
6376
6383
|
}
|
|
6377
|
-
function _iterable_to_array_limit$
|
|
6384
|
+
function _iterable_to_array_limit$j(arr, i) {
|
|
6378
6385
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
6379
6386
|
if (_i == null) return;
|
|
6380
6387
|
var _arr = [];
|
|
@@ -6398,23 +6405,23 @@ function _iterable_to_array_limit$i(arr, i) {
|
|
|
6398
6405
|
}
|
|
6399
6406
|
return _arr;
|
|
6400
6407
|
}
|
|
6401
|
-
function _non_iterable_rest$
|
|
6408
|
+
function _non_iterable_rest$j() {
|
|
6402
6409
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
6403
6410
|
}
|
|
6404
|
-
function _sliced_to_array$
|
|
6405
|
-
return _array_with_holes$
|
|
6411
|
+
function _sliced_to_array$j(arr, i) {
|
|
6412
|
+
return _array_with_holes$j(arr) || _iterable_to_array_limit$j(arr, i) || _unsupported_iterable_to_array$r(arr, i) || _non_iterable_rest$j();
|
|
6406
6413
|
}
|
|
6407
6414
|
function _type_of$f(obj) {
|
|
6408
6415
|
"@swc/helpers - typeof";
|
|
6409
6416
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
6410
6417
|
}
|
|
6411
|
-
function _unsupported_iterable_to_array$
|
|
6418
|
+
function _unsupported_iterable_to_array$r(o, minLen) {
|
|
6412
6419
|
if (!o) return;
|
|
6413
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
6420
|
+
if (typeof o === "string") return _array_like_to_array$r(o, minLen);
|
|
6414
6421
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
6415
6422
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
6416
6423
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
6417
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
6424
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$r(o, minLen);
|
|
6418
6425
|
}
|
|
6419
6426
|
/**
|
|
6420
6427
|
* Iterates over filtered key/value tuples of an object and invokes a callback for each.
|
|
@@ -6436,7 +6443,9 @@ function _unsupported_iterable_to_array$q(o, minLen) {
|
|
|
6436
6443
|
*/ function forEachKeyValue(obj, param) {
|
|
6437
6444
|
var forEach = param.forEach, filter = param.filter;
|
|
6438
6445
|
var keyValues = filterKeyValueTuples(obj, filter);
|
|
6439
|
-
keyValues.forEach(
|
|
6446
|
+
keyValues.forEach(function(kv, i) {
|
|
6447
|
+
return forEach(kv, i);
|
|
6448
|
+
});
|
|
6440
6449
|
}
|
|
6441
6450
|
/**
|
|
6442
6451
|
* Extracts key/value tuples from an object, optionally filtering them.
|
|
@@ -6472,7 +6481,9 @@ function _unsupported_iterable_to_array$q(o, minLen) {
|
|
|
6472
6481
|
if (filter != null) {
|
|
6473
6482
|
var filterFn = filterKeyValueTupleFunction(filter);
|
|
6474
6483
|
result = function result(obj) {
|
|
6475
|
-
return allKeyValueTuples(obj).filter(
|
|
6484
|
+
return allKeyValueTuples(obj).filter(function(kv, i) {
|
|
6485
|
+
return filterFn(kv, i);
|
|
6486
|
+
});
|
|
6476
6487
|
};
|
|
6477
6488
|
} else {
|
|
6478
6489
|
result = allKeyValueTuples;
|
|
@@ -6556,43 +6567,43 @@ function _unsupported_iterable_to_array$q(o, minLen) {
|
|
|
6556
6567
|
switch(type){
|
|
6557
6568
|
case KeyValueTypleValueFilter.UNDEFINED:
|
|
6558
6569
|
filterFn = function filterFn(param) {
|
|
6559
|
-
var _param = _sliced_to_array$
|
|
6570
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6560
6571
|
return x !== undefined;
|
|
6561
6572
|
};
|
|
6562
6573
|
break;
|
|
6563
6574
|
case KeyValueTypleValueFilter.NULL:
|
|
6564
6575
|
filterFn = function filterFn(param) {
|
|
6565
|
-
var _param = _sliced_to_array$
|
|
6576
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6566
6577
|
return x != null;
|
|
6567
6578
|
};
|
|
6568
6579
|
break;
|
|
6569
6580
|
case KeyValueTypleValueFilter.FALSY:
|
|
6570
6581
|
filterFn = function filterFn(param) {
|
|
6571
|
-
var _param = _sliced_to_array$
|
|
6582
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6572
6583
|
return Boolean(x);
|
|
6573
6584
|
};
|
|
6574
6585
|
break;
|
|
6575
6586
|
case KeyValueTypleValueFilter.EMPTY:
|
|
6576
6587
|
filterFn = function filterFn(param) {
|
|
6577
|
-
var _param = _sliced_to_array$
|
|
6588
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6578
6589
|
return hasValueOrNotEmpty(x);
|
|
6579
6590
|
};
|
|
6580
6591
|
break;
|
|
6581
6592
|
case KeyValueTypleValueFilter.EMPTY_STRICT:
|
|
6582
6593
|
filterFn = function filterFn(param) {
|
|
6583
|
-
var _param = _sliced_to_array$
|
|
6594
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6584
6595
|
return hasValueOrNotEmptyObject(x);
|
|
6585
6596
|
};
|
|
6586
6597
|
break;
|
|
6587
6598
|
case KeyValueTypleValueFilter.FALSY_AND_EMPTY:
|
|
6588
6599
|
filterFn = function filterFn(param) {
|
|
6589
|
-
var _param = _sliced_to_array$
|
|
6600
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6590
6601
|
return Boolean(x) && hasValueOrNotEmpty(x);
|
|
6591
6602
|
};
|
|
6592
6603
|
break;
|
|
6593
6604
|
case KeyValueTypleValueFilter.FALSY_AND_EMPTY_STRICT:
|
|
6594
6605
|
filterFn = function filterFn(param) {
|
|
6595
|
-
var _param = _sliced_to_array$
|
|
6606
|
+
var _param = _sliced_to_array$j(param, 2), x = _param[1];
|
|
6596
6607
|
return Boolean(x) && hasValueOrNotEmptyObject(x);
|
|
6597
6608
|
};
|
|
6598
6609
|
break;
|
|
@@ -6682,12 +6693,12 @@ function cachedGetter(factory) {
|
|
|
6682
6693
|
};
|
|
6683
6694
|
}
|
|
6684
6695
|
|
|
6685
|
-
function _array_like_to_array$
|
|
6696
|
+
function _array_like_to_array$q(arr, len) {
|
|
6686
6697
|
if (len == null || len > arr.length) len = arr.length;
|
|
6687
6698
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
6688
6699
|
return arr2;
|
|
6689
6700
|
}
|
|
6690
|
-
function _array_with_holes$
|
|
6701
|
+
function _array_with_holes$i(arr) {
|
|
6691
6702
|
if (Array.isArray(arr)) return arr;
|
|
6692
6703
|
}
|
|
6693
6704
|
function _define_property$h(obj, key, value) {
|
|
@@ -6703,7 +6714,7 @@ function _define_property$h(obj, key, value) {
|
|
|
6703
6714
|
}
|
|
6704
6715
|
return obj;
|
|
6705
6716
|
}
|
|
6706
|
-
function _iterable_to_array_limit$
|
|
6717
|
+
function _iterable_to_array_limit$i(arr, i) {
|
|
6707
6718
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
6708
6719
|
if (_i == null) return;
|
|
6709
6720
|
var _arr = [];
|
|
@@ -6727,7 +6738,7 @@ function _iterable_to_array_limit$h(arr, i) {
|
|
|
6727
6738
|
}
|
|
6728
6739
|
return _arr;
|
|
6729
6740
|
}
|
|
6730
|
-
function _non_iterable_rest$
|
|
6741
|
+
function _non_iterable_rest$i() {
|
|
6731
6742
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
6732
6743
|
}
|
|
6733
6744
|
function _object_spread$d(target) {
|
|
@@ -6745,20 +6756,41 @@ function _object_spread$d(target) {
|
|
|
6745
6756
|
}
|
|
6746
6757
|
return target;
|
|
6747
6758
|
}
|
|
6748
|
-
function _sliced_to_array$
|
|
6749
|
-
return _array_with_holes$
|
|
6759
|
+
function _sliced_to_array$i(arr, i) {
|
|
6760
|
+
return _array_with_holes$i(arr) || _iterable_to_array_limit$i(arr, i) || _unsupported_iterable_to_array$q(arr, i) || _non_iterable_rest$i();
|
|
6750
6761
|
}
|
|
6751
6762
|
function _type_of$e(obj) {
|
|
6752
6763
|
"@swc/helpers - typeof";
|
|
6753
6764
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
6754
6765
|
}
|
|
6755
|
-
function _unsupported_iterable_to_array$
|
|
6766
|
+
function _unsupported_iterable_to_array$q(o, minLen) {
|
|
6756
6767
|
if (!o) return;
|
|
6757
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
6768
|
+
if (typeof o === "string") return _array_like_to_array$q(o, minLen);
|
|
6758
6769
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
6759
6770
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
6760
6771
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
6761
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
6772
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$q(o, minLen);
|
|
6773
|
+
}
|
|
6774
|
+
/**
|
|
6775
|
+
*
|
|
6776
|
+
* @param input
|
|
6777
|
+
*/ function stripObjectFunction(filter) {
|
|
6778
|
+
var copy = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true;
|
|
6779
|
+
var filterFn = filterFromPOJOFunction({
|
|
6780
|
+
filter: filter,
|
|
6781
|
+
copy: copy
|
|
6782
|
+
});
|
|
6783
|
+
return function(input, copyOverride) {
|
|
6784
|
+
var result;
|
|
6785
|
+
if (input != null) {
|
|
6786
|
+
var filtered = filterFn(input, copyOverride);
|
|
6787
|
+
result = objectHasNoKeys(filtered) ? undefined : filtered;
|
|
6788
|
+
}
|
|
6789
|
+
return result;
|
|
6790
|
+
};
|
|
6791
|
+
}
|
|
6792
|
+
function stripObject(input, copy) {
|
|
6793
|
+
return stripObjectFunction(KeyValueTypleValueFilter.UNDEFINED, copy)(input);
|
|
6762
6794
|
}
|
|
6763
6795
|
// MARK: Object Merging/Overriding
|
|
6764
6796
|
/**
|
|
@@ -7053,7 +7085,7 @@ function _unsupported_iterable_to_array$p(o, minLen) {
|
|
|
7053
7085
|
filter: filter,
|
|
7054
7086
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
7055
7087
|
forEach: function forEach(param, i, obj, context) {
|
|
7056
|
-
var _param = _sliced_to_array$
|
|
7088
|
+
var _param = _sliced_to_array$i(param, 1), key = _param[0];
|
|
7057
7089
|
context.keys.push(key);
|
|
7058
7090
|
}
|
|
7059
7091
|
});
|
|
@@ -7176,7 +7208,7 @@ function _unsupported_iterable_to_array$p(o, minLen) {
|
|
|
7176
7208
|
var forEachFn = forEachKeyValueOnPOJOFunction({
|
|
7177
7209
|
filter: filter,
|
|
7178
7210
|
forEach: function forEach(param, i, object) {
|
|
7179
|
-
var _param = _sliced_to_array$
|
|
7211
|
+
var _param = _sliced_to_array$i(param, 1), key = _param[0];
|
|
7180
7212
|
delete object[key];
|
|
7181
7213
|
}
|
|
7182
7214
|
});
|
|
@@ -7253,7 +7285,7 @@ function _unsupported_iterable_to_array$p(o, minLen) {
|
|
|
7253
7285
|
filter: filter,
|
|
7254
7286
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
7255
7287
|
forEach: function forEach(param, i, object, target) {
|
|
7256
|
-
var _param = _sliced_to_array$
|
|
7288
|
+
var _param = _sliced_to_array$i(param, 2), key = _param[0], value = _param[1];
|
|
7257
7289
|
target[key] = value;
|
|
7258
7290
|
}
|
|
7259
7291
|
});
|
|
@@ -7315,7 +7347,7 @@ function _unsupported_iterable_to_array$p(o, minLen) {
|
|
|
7315
7347
|
filter: filter,
|
|
7316
7348
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
7317
7349
|
forEach: function forEach(param, i, obj, context) {
|
|
7318
|
-
var _param = _sliced_to_array$
|
|
7350
|
+
var _param = _sliced_to_array$i(param, 2), value = _param[1];
|
|
7319
7351
|
context.values.push(value);
|
|
7320
7352
|
}
|
|
7321
7353
|
});
|
|
@@ -7352,7 +7384,7 @@ function _unsupported_iterable_to_array$p(o, minLen) {
|
|
|
7352
7384
|
var invertFilter = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
7353
7385
|
var keysSet = new Set(keysToFilter);
|
|
7354
7386
|
var filterFn = invertBooleanReturnFunction(function(param) {
|
|
7355
|
-
var _param = _sliced_to_array$
|
|
7387
|
+
var _param = _sliced_to_array$i(param, 1), key = _param[0];
|
|
7356
7388
|
return keysSet.has(key);
|
|
7357
7389
|
}, invertFilter);
|
|
7358
7390
|
return filterTuplesOnPOJOFunction(filterFn);
|
|
@@ -7375,7 +7407,9 @@ function _unsupported_iterable_to_array$p(o, minLen) {
|
|
|
7375
7407
|
*/ function filterTuplesOnPOJOFunction(filterTupleOnObject) {
|
|
7376
7408
|
return function(input) {
|
|
7377
7409
|
var result = {};
|
|
7378
|
-
Object.entries(input).filter(
|
|
7410
|
+
Object.entries(input).filter(function(tuple, i, arr) {
|
|
7411
|
+
return filterTupleOnObject(tuple, i, arr);
|
|
7412
|
+
}).forEach(function(tuple) {
|
|
7379
7413
|
result[tuple[0]] = tuple[1];
|
|
7380
7414
|
});
|
|
7381
7415
|
return result;
|
|
@@ -7553,15 +7587,15 @@ function isInSetDecisionFunction(set, inputReadValue) {
|
|
|
7553
7587
|
return input != null ? new Set(asArray(input)) : input;
|
|
7554
7588
|
}
|
|
7555
7589
|
|
|
7556
|
-
function _array_like_to_array$
|
|
7590
|
+
function _array_like_to_array$p(arr, len) {
|
|
7557
7591
|
if (len == null || len > arr.length) len = arr.length;
|
|
7558
7592
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
7559
7593
|
return arr2;
|
|
7560
7594
|
}
|
|
7561
|
-
function _array_with_holes$
|
|
7595
|
+
function _array_with_holes$h(arr) {
|
|
7562
7596
|
if (Array.isArray(arr)) return arr;
|
|
7563
7597
|
}
|
|
7564
|
-
function _iterable_to_array_limit$
|
|
7598
|
+
function _iterable_to_array_limit$h(arr, i) {
|
|
7565
7599
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
7566
7600
|
if (_i == null) return;
|
|
7567
7601
|
var _arr = [];
|
|
@@ -7585,23 +7619,23 @@ function _iterable_to_array_limit$g(arr, i) {
|
|
|
7585
7619
|
}
|
|
7586
7620
|
return _arr;
|
|
7587
7621
|
}
|
|
7588
|
-
function _non_iterable_rest$
|
|
7622
|
+
function _non_iterable_rest$h() {
|
|
7589
7623
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7590
7624
|
}
|
|
7591
|
-
function _sliced_to_array$
|
|
7592
|
-
return _array_with_holes$
|
|
7625
|
+
function _sliced_to_array$h(arr, i) {
|
|
7626
|
+
return _array_with_holes$h(arr) || _iterable_to_array_limit$h(arr, i) || _unsupported_iterable_to_array$p(arr, i) || _non_iterable_rest$h();
|
|
7593
7627
|
}
|
|
7594
7628
|
function _type_of$d(obj) {
|
|
7595
7629
|
"@swc/helpers - typeof";
|
|
7596
7630
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
7597
7631
|
}
|
|
7598
|
-
function _unsupported_iterable_to_array$
|
|
7632
|
+
function _unsupported_iterable_to_array$p(o, minLen) {
|
|
7599
7633
|
if (!o) return;
|
|
7600
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
7634
|
+
if (typeof o === "string") return _array_like_to_array$p(o, minLen);
|
|
7601
7635
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
7602
7636
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
7603
7637
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
7604
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
7638
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$p(o, minLen);
|
|
7605
7639
|
}
|
|
7606
7640
|
var AUTH_ROLE_CLAIMS_DEFAULT_CLAIM_VALUE = 1;
|
|
7607
7641
|
var AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE = null;
|
|
@@ -7692,7 +7726,7 @@ var AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE = null;
|
|
|
7692
7726
|
var claims = {};
|
|
7693
7727
|
// iterate by each claim value to build the claims.
|
|
7694
7728
|
tuples.forEach(function(param) {
|
|
7695
|
-
var _param = _sliced_to_array$
|
|
7729
|
+
var _param = _sliced_to_array$h(param, 2), claimsKey = _param[0], entry = _param[1];
|
|
7696
7730
|
var _entry_encodeValueFromRoles;
|
|
7697
7731
|
var claimsValue = (_entry_encodeValueFromRoles = entry.encodeValueFromRoles(roles)) !== null && _entry_encodeValueFromRoles !== void 0 ? _entry_encodeValueFromRoles : defaultEmptyValue;
|
|
7698
7732
|
claims[claimsKey] = claimsValue;
|
|
@@ -7702,7 +7736,7 @@ var AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE = null;
|
|
|
7702
7736
|
var forEachKeyValueAddToSet = forEachKeyValueOnPOJOFunction({
|
|
7703
7737
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
7704
7738
|
forEach: function forEach(param, i, claims, roles) {
|
|
7705
|
-
var _param = _sliced_to_array$
|
|
7739
|
+
var _param = _sliced_to_array$h(param, 2), claimsKey = _param[0], value = _param[1];
|
|
7706
7740
|
var entry = authRoleMap.get(claimsKey);
|
|
7707
7741
|
if (entry != null) {
|
|
7708
7742
|
var decodedRoles = entry.decodeRolesFromValue(value);
|
|
@@ -7738,21 +7772,21 @@ var AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE = null;
|
|
|
7738
7772
|
});
|
|
7739
7773
|
}
|
|
7740
7774
|
|
|
7741
|
-
function _array_like_to_array$
|
|
7775
|
+
function _array_like_to_array$o(arr, len) {
|
|
7742
7776
|
if (len == null || len > arr.length) len = arr.length;
|
|
7743
7777
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
7744
7778
|
return arr2;
|
|
7745
7779
|
}
|
|
7746
|
-
function _array_with_holes$
|
|
7780
|
+
function _array_with_holes$g(arr) {
|
|
7747
7781
|
if (Array.isArray(arr)) return arr;
|
|
7748
7782
|
}
|
|
7749
7783
|
function _array_without_holes$e(arr) {
|
|
7750
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
7784
|
+
if (Array.isArray(arr)) return _array_like_to_array$o(arr);
|
|
7751
7785
|
}
|
|
7752
7786
|
function _iterable_to_array$e(iter) {
|
|
7753
7787
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
7754
7788
|
}
|
|
7755
|
-
function _iterable_to_array_limit$
|
|
7789
|
+
function _iterable_to_array_limit$g(arr, i) {
|
|
7756
7790
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
7757
7791
|
if (_i == null) return;
|
|
7758
7792
|
var _arr = [];
|
|
@@ -7776,25 +7810,25 @@ function _iterable_to_array_limit$f(arr, i) {
|
|
|
7776
7810
|
}
|
|
7777
7811
|
return _arr;
|
|
7778
7812
|
}
|
|
7779
|
-
function _non_iterable_rest$
|
|
7813
|
+
function _non_iterable_rest$g() {
|
|
7780
7814
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7781
7815
|
}
|
|
7782
7816
|
function _non_iterable_spread$e() {
|
|
7783
7817
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7784
7818
|
}
|
|
7785
|
-
function _sliced_to_array$
|
|
7786
|
-
return _array_with_holes$
|
|
7819
|
+
function _sliced_to_array$g(arr, i) {
|
|
7820
|
+
return _array_with_holes$g(arr) || _iterable_to_array_limit$g(arr, i) || _unsupported_iterable_to_array$o(arr, i) || _non_iterable_rest$g();
|
|
7787
7821
|
}
|
|
7788
7822
|
function _to_consumable_array$e(arr) {
|
|
7789
|
-
return _array_without_holes$e(arr) || _iterable_to_array$e(arr) || _unsupported_iterable_to_array$
|
|
7823
|
+
return _array_without_holes$e(arr) || _iterable_to_array$e(arr) || _unsupported_iterable_to_array$o(arr) || _non_iterable_spread$e();
|
|
7790
7824
|
}
|
|
7791
|
-
function _unsupported_iterable_to_array$
|
|
7825
|
+
function _unsupported_iterable_to_array$o(o, minLen) {
|
|
7792
7826
|
if (!o) return;
|
|
7793
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
7827
|
+
if (typeof o === "string") return _array_like_to_array$o(o, minLen);
|
|
7794
7828
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
7795
7829
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
7796
7830
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
7797
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
7831
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$o(o, minLen);
|
|
7798
7832
|
}
|
|
7799
7833
|
/**
|
|
7800
7834
|
* Finds the first and last occurrence of a single character within the input string.
|
|
@@ -7813,7 +7847,7 @@ function _unsupported_iterable_to_array$n(o, minLen) {
|
|
|
7813
7847
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
7814
7848
|
try {
|
|
7815
7849
|
for(var _iterator = _to_consumable_array$e(input).entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
7816
|
-
var _step_value = _sliced_to_array$
|
|
7850
|
+
var _step_value = _sliced_to_array$g(_step.value, 2), i = _step_value[0], char = _step_value[1];
|
|
7817
7851
|
if (char === find) {
|
|
7818
7852
|
if (first === -1) {
|
|
7819
7853
|
first = i;
|
|
@@ -7900,7 +7934,7 @@ function replaceCharacterAtIndexIf(input, index, replacement, decision) {
|
|
|
7900
7934
|
* @param replacement - string to substitute at the index
|
|
7901
7935
|
* @returns the string with the character at the index replaced
|
|
7902
7936
|
*/ function replaceCharacterAtIndexWith(input, index, replacement) {
|
|
7903
|
-
var _splitStringAtIndex = _sliced_to_array$
|
|
7937
|
+
var _splitStringAtIndex = _sliced_to_array$g(splitStringAtIndex(input, index, false), 2), head = _splitStringAtIndex[0], tail = _splitStringAtIndex[1];
|
|
7904
7938
|
return head + replacement + tail;
|
|
7905
7939
|
}
|
|
7906
7940
|
/**
|
|
@@ -7942,7 +7976,7 @@ function replaceCharacterAtIndexIf(input, index, replacement, decision) {
|
|
|
7942
7976
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
7943
7977
|
try {
|
|
7944
7978
|
for(var _iterator = _to_consumable_array$e(chars).entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
7945
|
-
var _step_value = _sliced_to_array$
|
|
7979
|
+
var _step_value = _sliced_to_array$g(_step.value, 2), i = _step_value[0], char = _step_value[1];
|
|
7946
7980
|
record[char] = i;
|
|
7947
7981
|
}
|
|
7948
7982
|
} catch (err) {
|
|
@@ -7962,18 +7996,19 @@ function replaceCharacterAtIndexIf(input, index, replacement, decision) {
|
|
|
7962
7996
|
return record;
|
|
7963
7997
|
}
|
|
7964
7998
|
|
|
7965
|
-
function _array_like_to_array$
|
|
7999
|
+
function _array_like_to_array$n(arr, len) {
|
|
7966
8000
|
if (len == null || len > arr.length) len = arr.length;
|
|
7967
8001
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
7968
8002
|
return arr2;
|
|
7969
8003
|
}
|
|
7970
|
-
function _array_with_holes$
|
|
8004
|
+
function _array_with_holes$f(arr) {
|
|
7971
8005
|
if (Array.isArray(arr)) return arr;
|
|
7972
8006
|
}
|
|
7973
8007
|
function _array_without_holes$d(arr) {
|
|
7974
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
8008
|
+
if (Array.isArray(arr)) return _array_like_to_array$n(arr);
|
|
7975
8009
|
}
|
|
7976
8010
|
function _instanceof$3(left, right) {
|
|
8011
|
+
"@swc/helpers - instanceof";
|
|
7977
8012
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
7978
8013
|
return !!right[Symbol.hasInstance](left);
|
|
7979
8014
|
} else {
|
|
@@ -7983,7 +8018,7 @@ function _instanceof$3(left, right) {
|
|
|
7983
8018
|
function _iterable_to_array$d(iter) {
|
|
7984
8019
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
7985
8020
|
}
|
|
7986
|
-
function _iterable_to_array_limit$
|
|
8021
|
+
function _iterable_to_array_limit$f(arr, i) {
|
|
7987
8022
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
7988
8023
|
if (_i == null) return;
|
|
7989
8024
|
var _arr = [];
|
|
@@ -8007,25 +8042,25 @@ function _iterable_to_array_limit$e(arr, i) {
|
|
|
8007
8042
|
}
|
|
8008
8043
|
return _arr;
|
|
8009
8044
|
}
|
|
8010
|
-
function _non_iterable_rest$
|
|
8045
|
+
function _non_iterable_rest$f() {
|
|
8011
8046
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8012
8047
|
}
|
|
8013
8048
|
function _non_iterable_spread$d() {
|
|
8014
8049
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8015
8050
|
}
|
|
8016
|
-
function _sliced_to_array$
|
|
8017
|
-
return _array_with_holes$
|
|
8051
|
+
function _sliced_to_array$f(arr, i) {
|
|
8052
|
+
return _array_with_holes$f(arr) || _iterable_to_array_limit$f(arr, i) || _unsupported_iterable_to_array$n(arr, i) || _non_iterable_rest$f();
|
|
8018
8053
|
}
|
|
8019
8054
|
function _to_consumable_array$d(arr) {
|
|
8020
|
-
return _array_without_holes$d(arr) || _iterable_to_array$d(arr) || _unsupported_iterable_to_array$
|
|
8055
|
+
return _array_without_holes$d(arr) || _iterable_to_array$d(arr) || _unsupported_iterable_to_array$n(arr) || _non_iterable_spread$d();
|
|
8021
8056
|
}
|
|
8022
|
-
function _unsupported_iterable_to_array$
|
|
8057
|
+
function _unsupported_iterable_to_array$n(o, minLen) {
|
|
8023
8058
|
if (!o) return;
|
|
8024
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
8059
|
+
if (typeof o === "string") return _array_like_to_array$n(o, minLen);
|
|
8025
8060
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
8026
8061
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
8027
8062
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
8028
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
8063
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$n(o, minLen);
|
|
8029
8064
|
}
|
|
8030
8065
|
/**
|
|
8031
8066
|
* Creates a function that replaces all occurrences of the configured target strings with a replacement value.
|
|
@@ -8143,7 +8178,7 @@ function _unsupported_iterable_to_array$m(o, minLen) {
|
|
|
8143
8178
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
8144
8179
|
try {
|
|
8145
8180
|
for(var _iterator = _to_consumable_array$d(input).entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
8146
|
-
var _step_value = _sliced_to_array$
|
|
8181
|
+
var _step_value = _sliced_to_array$f(_step.value, 2), i = _step_value[0], char = _step_value[1];
|
|
8147
8182
|
if (characterSet.has(char)) {
|
|
8148
8183
|
occurrences.push(i);
|
|
8149
8184
|
// return if at the max number of occurences
|
|
@@ -8372,7 +8407,7 @@ function _unsupported_iterable_to_array$m(o, minLen) {
|
|
|
8372
8407
|
* ```
|
|
8373
8408
|
*/ function tryConvertToE164PhoneNumber(input) {
|
|
8374
8409
|
var defaultCountryCode = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : '1';
|
|
8375
|
-
var stripped = input.
|
|
8410
|
+
var stripped = input.replaceAll(PHONE_NUMBER_FORMATTING_CHARACTERS_REGEX, '');
|
|
8376
8411
|
var result;
|
|
8377
8412
|
if (isE164PhoneNumber(stripped, false)) {
|
|
8378
8413
|
result = stripped;
|
|
@@ -8452,12 +8487,12 @@ function isEqualToValueDecisionFunction(equalityValue) {
|
|
|
8452
8487
|
return equalityValueCheckFunction;
|
|
8453
8488
|
}
|
|
8454
8489
|
|
|
8455
|
-
function _array_like_to_array$
|
|
8490
|
+
function _array_like_to_array$m(arr, len) {
|
|
8456
8491
|
if (len == null || len > arr.length) len = arr.length;
|
|
8457
8492
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
8458
8493
|
return arr2;
|
|
8459
8494
|
}
|
|
8460
|
-
function _array_with_holes$
|
|
8495
|
+
function _array_with_holes$e(arr) {
|
|
8461
8496
|
if (Array.isArray(arr)) return arr;
|
|
8462
8497
|
}
|
|
8463
8498
|
function _define_property$g(obj, key, value) {
|
|
@@ -8473,7 +8508,7 @@ function _define_property$g(obj, key, value) {
|
|
|
8473
8508
|
}
|
|
8474
8509
|
return obj;
|
|
8475
8510
|
}
|
|
8476
|
-
function _iterable_to_array_limit$
|
|
8511
|
+
function _iterable_to_array_limit$e(arr, i) {
|
|
8477
8512
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
8478
8513
|
if (_i == null) return;
|
|
8479
8514
|
var _arr = [];
|
|
@@ -8497,7 +8532,7 @@ function _iterable_to_array_limit$d(arr, i) {
|
|
|
8497
8532
|
}
|
|
8498
8533
|
return _arr;
|
|
8499
8534
|
}
|
|
8500
|
-
function _non_iterable_rest$
|
|
8535
|
+
function _non_iterable_rest$e() {
|
|
8501
8536
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8502
8537
|
}
|
|
8503
8538
|
function _object_spread$c(target) {
|
|
@@ -8515,20 +8550,20 @@ function _object_spread$c(target) {
|
|
|
8515
8550
|
}
|
|
8516
8551
|
return target;
|
|
8517
8552
|
}
|
|
8518
|
-
function _sliced_to_array$
|
|
8519
|
-
return _array_with_holes$
|
|
8553
|
+
function _sliced_to_array$e(arr, i) {
|
|
8554
|
+
return _array_with_holes$e(arr) || _iterable_to_array_limit$e(arr, i) || _unsupported_iterable_to_array$m(arr, i) || _non_iterable_rest$e();
|
|
8520
8555
|
}
|
|
8521
8556
|
function _type_of$c(obj) {
|
|
8522
8557
|
"@swc/helpers - typeof";
|
|
8523
8558
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
8524
8559
|
}
|
|
8525
|
-
function _unsupported_iterable_to_array$
|
|
8560
|
+
function _unsupported_iterable_to_array$m(o, minLen) {
|
|
8526
8561
|
if (!o) return;
|
|
8527
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
8562
|
+
if (typeof o === "string") return _array_like_to_array$m(o, minLen);
|
|
8528
8563
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
8529
8564
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
8530
8565
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
8531
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
8566
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$m(o, minLen);
|
|
8532
8567
|
}
|
|
8533
8568
|
var SLASH_PATH_SEPARATOR = '/';
|
|
8534
8569
|
var SLASH_PATH_FILE_TYPE_SEPARATOR = '.';
|
|
@@ -8555,7 +8590,7 @@ var DEFAULT_SLASH_PATH_ILLEGAL_CHARACTERS = [
|
|
|
8555
8590
|
if (input.length === 0) {
|
|
8556
8591
|
type = 'invalid';
|
|
8557
8592
|
} else {
|
|
8558
|
-
var lastValue = input
|
|
8593
|
+
var lastValue = input.at(-1);
|
|
8559
8594
|
if (lastValue === SLASH_PATH_SEPARATOR) {
|
|
8560
8595
|
type = 'folder';
|
|
8561
8596
|
} else {
|
|
@@ -8621,9 +8656,7 @@ var DEFAULT_SLASH_PATH_ILLEGAL_CHARACTERS = [
|
|
|
8621
8656
|
* @param slashPath - The path to split.
|
|
8622
8657
|
* @returns Array of non-empty path segments.
|
|
8623
8658
|
*/ function slashPathParts(slashPath) {
|
|
8624
|
-
return slashPath.split(SLASH_PATH_SEPARATOR).filter(
|
|
8625
|
-
return Boolean(x);
|
|
8626
|
-
});
|
|
8659
|
+
return slashPath.split(SLASH_PATH_SEPARATOR).filter(Boolean);
|
|
8627
8660
|
}
|
|
8628
8661
|
/**
|
|
8629
8662
|
* Creates a function that enforces the specified start type on a slash path.
|
|
@@ -8701,10 +8734,10 @@ var ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = /\.+/g;
|
|
|
8701
8734
|
path = undefined;
|
|
8702
8735
|
break;
|
|
8703
8736
|
}
|
|
8704
|
-
if (path
|
|
8705
|
-
path = startTypeFactory(path);
|
|
8706
|
-
} else {
|
|
8737
|
+
if (path == null) {
|
|
8707
8738
|
path = invalidPathValue;
|
|
8739
|
+
} else {
|
|
8740
|
+
path = startTypeFactory(path);
|
|
8708
8741
|
}
|
|
8709
8742
|
// must end with a slash to be a proper folder, unless it is a relative folder path ("", empty string)
|
|
8710
8743
|
if (path) {
|
|
@@ -8739,7 +8772,7 @@ var ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = /\.+/g;
|
|
|
8739
8772
|
* @param input - The slash path to fix.
|
|
8740
8773
|
* @returns The path with double slashes collapsed.
|
|
8741
8774
|
*/ function fixMultiSlashesInSlashPath(input) {
|
|
8742
|
-
return input.
|
|
8775
|
+
return input.replaceAll(ALL_DOUBLE_SLASHES_REGEX, SLASH_PATH_SEPARATOR);
|
|
8743
8776
|
}
|
|
8744
8777
|
/**
|
|
8745
8778
|
* Replaces consecutive double slashes with single slashes. Alias for {@link fixMultiSlashesInSlashPath}.
|
|
@@ -8747,7 +8780,7 @@ var ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = /\.+/g;
|
|
|
8747
8780
|
* @param input - The slash path to fix.
|
|
8748
8781
|
* @returns The path with double slashes collapsed.
|
|
8749
8782
|
*/ function replaceMultipleFilePathsInSlashPath(input) {
|
|
8750
|
-
return input.
|
|
8783
|
+
return input.replaceAll(ALL_DOUBLE_SLASHES_REGEX, SLASH_PATH_SEPARATOR);
|
|
8751
8784
|
}
|
|
8752
8785
|
/**
|
|
8753
8786
|
* Removes all trailing slashes from a slash path.
|
|
@@ -8791,7 +8824,7 @@ var ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = /\.+/g;
|
|
|
8791
8824
|
*/ function replaceInvalidFilePathTypeSeparatorsInSlashPathFunction() {
|
|
8792
8825
|
var replaceWith = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : DEFAULT_SLASH_PATH_ILLEGAL_CHARACTER_REPLACEMENT;
|
|
8793
8826
|
return function(input) {
|
|
8794
|
-
var endsOnFileTypeSeparator = input
|
|
8827
|
+
var endsOnFileTypeSeparator = input.at(-1) === SLASH_PATH_FILE_TYPE_SEPARATOR;
|
|
8795
8828
|
var inputToEvaluate = endsOnFileTypeSeparator ? removeTrailingFileTypeSeparators(input) : input;
|
|
8796
8829
|
var _firstAndLastCharacterOccurrence = firstAndLastCharacterOccurrence(inputToEvaluate, SLASH_PATH_FILE_TYPE_SEPARATOR); _firstAndLastCharacterOccurrence.first; var last = _firstAndLastCharacterOccurrence.last, occurences = _firstAndLastCharacterOccurrence.occurences;
|
|
8797
8830
|
var fixedPath;
|
|
@@ -8813,8 +8846,8 @@ var ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = /\.+/g;
|
|
|
8813
8846
|
}
|
|
8814
8847
|
default:
|
|
8815
8848
|
{
|
|
8816
|
-
var _splitStringAtIndex = _sliced_to_array$
|
|
8817
|
-
var headWithReplacedSeparators = head.
|
|
8849
|
+
var _splitStringAtIndex = _sliced_to_array$e(splitStringAtIndex(inputToEvaluate, last, true), 2), head = _splitStringAtIndex[0], tail = _splitStringAtIndex[1];
|
|
8850
|
+
var headWithReplacedSeparators = head.replaceAll(ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX, replaceWith);
|
|
8818
8851
|
fixedPath = headWithReplacedSeparators + tail;
|
|
8819
8852
|
break;
|
|
8820
8853
|
}
|
|
@@ -8946,7 +8979,7 @@ var ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = /\.+/g;
|
|
|
8946
8979
|
if (pathStartsWithSlash) {
|
|
8947
8980
|
folderPath = SLASH_PATH_SEPARATOR + folderPath;
|
|
8948
8981
|
}
|
|
8949
|
-
fileFolder = folderPathParts
|
|
8982
|
+
fileFolder = folderPathParts.at(-1);
|
|
8950
8983
|
} else {
|
|
8951
8984
|
folderPath = path;
|
|
8952
8985
|
fileFolder = undefined;
|
|
@@ -9064,7 +9097,7 @@ var ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = /\.+/g;
|
|
|
9064
9097
|
var _config_matchRemaining, _config_nonMatchingFillValue;
|
|
9065
9098
|
var config = slashPathPathMatcherConfig(input);
|
|
9066
9099
|
var targetPathPartsInput = asArray(config.targetPath);
|
|
9067
|
-
var endComparisonAtIndex = config.maxPartsToCompare
|
|
9100
|
+
var endComparisonAtIndex = config.maxPartsToCompare == null ? Number.MAX_SAFE_INTEGER : config.maxPartsToCompare - 1;
|
|
9068
9101
|
var matchRemaining = typeof config.matchRemaining === 'boolean' ? decisionFunction(config.matchRemaining) : (_config_matchRemaining = config.matchRemaining) !== null && _config_matchRemaining !== void 0 ? _config_matchRemaining : decisionFunction(false);
|
|
9069
9102
|
var nonMatchingFillValue = (_config_nonMatchingFillValue = config.nonMatchingFillValue) !== null && _config_nonMatchingFillValue !== void 0 ? _config_nonMatchingFillValue : false;
|
|
9070
9103
|
var targetPathIndexMatchingDecisionFunctions = expandSlashPathPathMatcherPartToDecisionFunctions(targetPathPartsInput);
|
|
@@ -9139,21 +9172,21 @@ var ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = /\.+/g;
|
|
|
9139
9172
|
};
|
|
9140
9173
|
}
|
|
9141
9174
|
|
|
9142
|
-
function _array_like_to_array$
|
|
9175
|
+
function _array_like_to_array$l(arr, len) {
|
|
9143
9176
|
if (len == null || len > arr.length) len = arr.length;
|
|
9144
9177
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
9145
9178
|
return arr2;
|
|
9146
9179
|
}
|
|
9147
|
-
function _array_with_holes$
|
|
9180
|
+
function _array_with_holes$d(arr) {
|
|
9148
9181
|
if (Array.isArray(arr)) return arr;
|
|
9149
9182
|
}
|
|
9150
9183
|
function _array_without_holes$c(arr) {
|
|
9151
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
9184
|
+
if (Array.isArray(arr)) return _array_like_to_array$l(arr);
|
|
9152
9185
|
}
|
|
9153
9186
|
function _iterable_to_array$c(iter) {
|
|
9154
9187
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
9155
9188
|
}
|
|
9156
|
-
function _iterable_to_array_limit$
|
|
9189
|
+
function _iterable_to_array_limit$d(arr, i) {
|
|
9157
9190
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
9158
9191
|
if (_i == null) return;
|
|
9159
9192
|
var _arr = [];
|
|
@@ -9177,25 +9210,25 @@ function _iterable_to_array_limit$c(arr, i) {
|
|
|
9177
9210
|
}
|
|
9178
9211
|
return _arr;
|
|
9179
9212
|
}
|
|
9180
|
-
function _non_iterable_rest$
|
|
9213
|
+
function _non_iterable_rest$d() {
|
|
9181
9214
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
9182
9215
|
}
|
|
9183
9216
|
function _non_iterable_spread$c() {
|
|
9184
9217
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
9185
9218
|
}
|
|
9186
|
-
function _sliced_to_array$
|
|
9187
|
-
return _array_with_holes$
|
|
9219
|
+
function _sliced_to_array$d(arr, i) {
|
|
9220
|
+
return _array_with_holes$d(arr) || _iterable_to_array_limit$d(arr, i) || _unsupported_iterable_to_array$l(arr, i) || _non_iterable_rest$d();
|
|
9188
9221
|
}
|
|
9189
9222
|
function _to_consumable_array$c(arr) {
|
|
9190
|
-
return _array_without_holes$c(arr) || _iterable_to_array$c(arr) || _unsupported_iterable_to_array$
|
|
9223
|
+
return _array_without_holes$c(arr) || _iterable_to_array$c(arr) || _unsupported_iterable_to_array$l(arr) || _non_iterable_spread$c();
|
|
9191
9224
|
}
|
|
9192
|
-
function _unsupported_iterable_to_array$
|
|
9225
|
+
function _unsupported_iterable_to_array$l(o, minLen) {
|
|
9193
9226
|
if (!o) return;
|
|
9194
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
9227
|
+
if (typeof o === "string") return _array_like_to_array$l(o, minLen);
|
|
9195
9228
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
9196
9229
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
9197
9230
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
9198
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
9231
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$l(o, minLen);
|
|
9199
9232
|
}
|
|
9200
9233
|
/**
|
|
9201
9234
|
* Returns true if the input string is a known HTTP protocol (`"http"` or `"https"`).
|
|
@@ -9206,8 +9239,10 @@ function _unsupported_iterable_to_array$k(o, minLen) {
|
|
|
9206
9239
|
return input === 'http' || input === 'https';
|
|
9207
9240
|
}
|
|
9208
9241
|
/**
|
|
9209
|
-
* Simple website domain regex that looks for a period in the string between the domain and the tld
|
|
9210
|
-
|
|
9242
|
+
* Simple website domain regex that looks for a period in the string between the domain and the tld.
|
|
9243
|
+
*
|
|
9244
|
+
* Anchored character-class form prevents catastrophic backtracking on inputs without a period.
|
|
9245
|
+
*/ var HAS_WEBSITE_DOMAIN_NAME_REGEX = /^[^.]+\.[^.]/;
|
|
9211
9246
|
/**
|
|
9212
9247
|
* Returns true if the input probably contains a website domain (has at least one period separating parts).
|
|
9213
9248
|
*
|
|
@@ -9221,7 +9256,8 @@ function _unsupported_iterable_to_array$k(o, minLen) {
|
|
|
9221
9256
|
* @param input - The string to check for a domain.
|
|
9222
9257
|
* @returns Whether the input appears to contain a website domain.
|
|
9223
9258
|
*/ function hasWebsiteDomain(input) {
|
|
9224
|
-
|
|
9259
|
+
var dotIndex = input.indexOf('.');
|
|
9260
|
+
return dotIndex > 0 && dotIndex < input.length - 1;
|
|
9225
9261
|
}
|
|
9226
9262
|
/**
|
|
9227
9263
|
* This Regex is really only reliable for detecting that the TLD exists, but due to the nature of tld's
|
|
@@ -9307,7 +9343,7 @@ function _unsupported_iterable_to_array$k(o, minLen) {
|
|
|
9307
9343
|
var pathHasWebsiteDomain = hasWebsiteDomain(domain);
|
|
9308
9344
|
var inputHasPortNumber = hasPortNumber(input);
|
|
9309
9345
|
var portNumber = inputHasPortNumber ? (_readPortNumber = readPortNumber(input)) !== null && _readPortNumber !== void 0 ? _readPortNumber : undefined : undefined;
|
|
9310
|
-
var _splitStringAtFirstCharacterOccurence = _sliced_to_array$
|
|
9346
|
+
var _splitStringAtFirstCharacterOccurence = _sliced_to_array$d(splitStringAtFirstCharacterOccurence(splitPair.path, '?'), 2), path = _splitStringAtFirstCharacterOccurence[0], query = _splitStringAtFirstCharacterOccurence[1]; // everything after the query is ignored
|
|
9311
9347
|
var isWebsiteUrl = pathHasWebsiteDomain && (path === '' || isValidSlashPath(path + '/'));
|
|
9312
9348
|
var inputHasHttpPrefix = hasHttpPrefix(input);
|
|
9313
9349
|
var result = {
|
|
@@ -9413,7 +9449,7 @@ function _unsupported_iterable_to_array$k(o, minLen) {
|
|
|
9413
9449
|
* @param inputPath - The path string to split.
|
|
9414
9450
|
* @returns A pair containing the path and optional query string.
|
|
9415
9451
|
*/ function websitePathAndQueryPair(inputPath) {
|
|
9416
|
-
var _inputPath_split = _sliced_to_array$
|
|
9452
|
+
var _inputPath_split = _sliced_to_array$d(inputPath.split('?', 2), 2), path = _inputPath_split[0], rawQuery = _inputPath_split[1];
|
|
9417
9453
|
var query = rawQuery ? fixExtraQueryParameters(rawQuery, true) : undefined;
|
|
9418
9454
|
return {
|
|
9419
9455
|
path: path,
|
|
@@ -9613,7 +9649,7 @@ function _unsupported_iterable_to_array$k(o, minLen) {
|
|
|
9613
9649
|
* @returns The extracted domain
|
|
9614
9650
|
*/ function readEmailDomainFromUrlOrEmailAddress(urlLikeInput) {
|
|
9615
9651
|
var emailSplit = urlLikeInput.split('@');
|
|
9616
|
-
var url = emailSplit
|
|
9652
|
+
var url = emailSplit.at(-1);
|
|
9617
9653
|
var domain;
|
|
9618
9654
|
if (emailSplit.length > 1) {
|
|
9619
9655
|
domain = url;
|
|
@@ -9628,13 +9664,13 @@ function _unsupported_iterable_to_array$k(o, minLen) {
|
|
|
9628
9664
|
return domain;
|
|
9629
9665
|
}
|
|
9630
9666
|
|
|
9631
|
-
function _array_like_to_array$
|
|
9667
|
+
function _array_like_to_array$k(arr, len) {
|
|
9632
9668
|
if (len == null || len > arr.length) len = arr.length;
|
|
9633
9669
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
9634
9670
|
return arr2;
|
|
9635
9671
|
}
|
|
9636
9672
|
function _array_without_holes$b(arr) {
|
|
9637
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
9673
|
+
if (Array.isArray(arr)) return _array_like_to_array$k(arr);
|
|
9638
9674
|
}
|
|
9639
9675
|
function _iterable_to_array$b(iter) {
|
|
9640
9676
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -9643,15 +9679,15 @@ function _non_iterable_spread$b() {
|
|
|
9643
9679
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
9644
9680
|
}
|
|
9645
9681
|
function _to_consumable_array$b(arr) {
|
|
9646
|
-
return _array_without_holes$b(arr) || _iterable_to_array$b(arr) || _unsupported_iterable_to_array$
|
|
9682
|
+
return _array_without_holes$b(arr) || _iterable_to_array$b(arr) || _unsupported_iterable_to_array$k(arr) || _non_iterable_spread$b();
|
|
9647
9683
|
}
|
|
9648
|
-
function _unsupported_iterable_to_array$
|
|
9684
|
+
function _unsupported_iterable_to_array$k(o, minLen) {
|
|
9649
9685
|
if (!o) return;
|
|
9650
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
9686
|
+
if (typeof o === "string") return _array_like_to_array$k(o, minLen);
|
|
9651
9687
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
9652
9688
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
9653
9689
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
9654
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
9690
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$k(o, minLen);
|
|
9655
9691
|
}
|
|
9656
9692
|
/**
|
|
9657
9693
|
* Converts an EmailParticipant object to a formatted string representation.
|
|
@@ -9804,7 +9840,7 @@ function _get_prototype_of$3(o) {
|
|
|
9804
9840
|
};
|
|
9805
9841
|
return _get_prototype_of$3(o);
|
|
9806
9842
|
}
|
|
9807
|
-
function _inherits$
|
|
9843
|
+
function _inherits$4(subClass, superClass) {
|
|
9808
9844
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
9809
9845
|
throw new TypeError("Super expression must either be null or a function");
|
|
9810
9846
|
}
|
|
@@ -9815,7 +9851,7 @@ function _inherits$3(subClass, superClass) {
|
|
|
9815
9851
|
configurable: true
|
|
9816
9852
|
}
|
|
9817
9853
|
});
|
|
9818
|
-
if (superClass) _set_prototype_of$
|
|
9854
|
+
if (superClass) _set_prototype_of$4(subClass, superClass);
|
|
9819
9855
|
}
|
|
9820
9856
|
function _object_spread$b(target) {
|
|
9821
9857
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -9857,12 +9893,12 @@ function _possible_constructor_return$3(self, call) {
|
|
|
9857
9893
|
}
|
|
9858
9894
|
return _assert_this_initialized$3(self);
|
|
9859
9895
|
}
|
|
9860
|
-
function _set_prototype_of$
|
|
9861
|
-
_set_prototype_of$
|
|
9896
|
+
function _set_prototype_of$4(o, p) {
|
|
9897
|
+
_set_prototype_of$4 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
9862
9898
|
o.__proto__ = p;
|
|
9863
9899
|
return o;
|
|
9864
9900
|
};
|
|
9865
|
-
return _set_prototype_of$
|
|
9901
|
+
return _set_prototype_of$4(o, p);
|
|
9866
9902
|
}
|
|
9867
9903
|
function _type_of$b(obj) {
|
|
9868
9904
|
"@swc/helpers - typeof";
|
|
@@ -9922,7 +9958,7 @@ function partialServerError(messageOrError) {
|
|
|
9922
9958
|
/**
|
|
9923
9959
|
* Server error response with a 401 Unauthorized status.
|
|
9924
9960
|
*/ var UnauthorizedServerErrorResponse = /*#__PURE__*/ function(ServerErrorResponse) {
|
|
9925
|
-
_inherits$
|
|
9961
|
+
_inherits$4(UnauthorizedServerErrorResponse, ServerErrorResponse);
|
|
9926
9962
|
function UnauthorizedServerErrorResponse(param) {
|
|
9927
9963
|
var code = param.code, data = param.data, message = param.message;
|
|
9928
9964
|
_class_call_check$7(this, UnauthorizedServerErrorResponse);
|
|
@@ -9953,6 +9989,7 @@ function _define_property$e(obj, key, value) {
|
|
|
9953
9989
|
return obj;
|
|
9954
9990
|
}
|
|
9955
9991
|
function _instanceof$2(left, right) {
|
|
9992
|
+
"@swc/helpers - instanceof";
|
|
9956
9993
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
9957
9994
|
return !!right[Symbol.hasInstance](left);
|
|
9958
9995
|
} else {
|
|
@@ -10102,13 +10139,13 @@ function toReadableError(inputError) {
|
|
|
10102
10139
|
return buffer.includes('/Encrypt');
|
|
10103
10140
|
}
|
|
10104
10141
|
|
|
10105
|
-
function _array_like_to_array$
|
|
10142
|
+
function _array_like_to_array$j(arr, len) {
|
|
10106
10143
|
if (len == null || len > arr.length) len = arr.length;
|
|
10107
10144
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
10108
10145
|
return arr2;
|
|
10109
10146
|
}
|
|
10110
10147
|
function _array_without_holes$a(arr) {
|
|
10111
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
10148
|
+
if (Array.isArray(arr)) return _array_like_to_array$j(arr);
|
|
10112
10149
|
}
|
|
10113
10150
|
function _iterable_to_array$a(iter) {
|
|
10114
10151
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -10117,15 +10154,15 @@ function _non_iterable_spread$a() {
|
|
|
10117
10154
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10118
10155
|
}
|
|
10119
10156
|
function _to_consumable_array$a(arr) {
|
|
10120
|
-
return _array_without_holes$a(arr) || _iterable_to_array$a(arr) || _unsupported_iterable_to_array$
|
|
10157
|
+
return _array_without_holes$a(arr) || _iterable_to_array$a(arr) || _unsupported_iterable_to_array$j(arr) || _non_iterable_spread$a();
|
|
10121
10158
|
}
|
|
10122
|
-
function _unsupported_iterable_to_array$
|
|
10159
|
+
function _unsupported_iterable_to_array$j(o, minLen) {
|
|
10123
10160
|
if (!o) return;
|
|
10124
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
10161
|
+
if (typeof o === "string") return _array_like_to_array$j(o, minLen);
|
|
10125
10162
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10126
10163
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10127
10164
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10128
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
10165
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$j(o, minLen);
|
|
10129
10166
|
}
|
|
10130
10167
|
/*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.
|
|
10131
10168
|
/**
|
|
@@ -10159,19 +10196,13 @@ function _unsupported_iterable_to_array$i(o, minLen) {
|
|
|
10159
10196
|
};
|
|
10160
10197
|
}
|
|
10161
10198
|
|
|
10162
|
-
|
|
10163
|
-
* Identity function that returns the input value unchanged.
|
|
10164
|
-
*
|
|
10165
|
-
* Alias of MAP_IDENTITY, so `isMapIdentityFunction()` will return true for this function.
|
|
10166
|
-
*/ var passThrough = MAP_IDENTITY;
|
|
10167
|
-
|
|
10168
|
-
function _array_like_to_array$h(arr, len) {
|
|
10199
|
+
function _array_like_to_array$i(arr, len) {
|
|
10169
10200
|
if (len == null || len > arr.length) len = arr.length;
|
|
10170
10201
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
10171
10202
|
return arr2;
|
|
10172
10203
|
}
|
|
10173
10204
|
function _array_without_holes$9(arr) {
|
|
10174
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
10205
|
+
if (Array.isArray(arr)) return _array_like_to_array$i(arr);
|
|
10175
10206
|
}
|
|
10176
10207
|
function _iterable_to_array$9(iter) {
|
|
10177
10208
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -10180,15 +10211,15 @@ function _non_iterable_spread$9() {
|
|
|
10180
10211
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10181
10212
|
}
|
|
10182
10213
|
function _to_consumable_array$9(arr) {
|
|
10183
|
-
return _array_without_holes$9(arr) || _iterable_to_array$9(arr) || _unsupported_iterable_to_array$
|
|
10214
|
+
return _array_without_holes$9(arr) || _iterable_to_array$9(arr) || _unsupported_iterable_to_array$i(arr) || _non_iterable_spread$9();
|
|
10184
10215
|
}
|
|
10185
|
-
function _unsupported_iterable_to_array$
|
|
10216
|
+
function _unsupported_iterable_to_array$i(o, minLen) {
|
|
10186
10217
|
if (!o) return;
|
|
10187
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
10218
|
+
if (typeof o === "string") return _array_like_to_array$i(o, minLen);
|
|
10188
10219
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10189
10220
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10190
10221
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10191
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
10222
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$i(o, minLen);
|
|
10192
10223
|
}
|
|
10193
10224
|
/**
|
|
10194
10225
|
* Builds an array from the intersection of an object's keys with the provided keys.
|
|
@@ -10527,13 +10558,13 @@ function performTaskCountLoop(config) {
|
|
|
10527
10558
|
});
|
|
10528
10559
|
}
|
|
10529
10560
|
|
|
10530
|
-
function _array_like_to_array$
|
|
10561
|
+
function _array_like_to_array$h(arr, len) {
|
|
10531
10562
|
if (len == null || len > arr.length) len = arr.length;
|
|
10532
10563
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
10533
10564
|
return arr2;
|
|
10534
10565
|
}
|
|
10535
10566
|
function _array_without_holes$8(arr) {
|
|
10536
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
10567
|
+
if (Array.isArray(arr)) return _array_like_to_array$h(arr);
|
|
10537
10568
|
}
|
|
10538
10569
|
function asyncGeneratorStep$8(gen, resolve, reject, _next, _throw, key, arg) {
|
|
10539
10570
|
try {
|
|
@@ -10571,15 +10602,15 @@ function _non_iterable_spread$8() {
|
|
|
10571
10602
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10572
10603
|
}
|
|
10573
10604
|
function _to_consumable_array$8(arr) {
|
|
10574
|
-
return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$
|
|
10605
|
+
return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$h(arr) || _non_iterable_spread$8();
|
|
10575
10606
|
}
|
|
10576
|
-
function _unsupported_iterable_to_array$
|
|
10607
|
+
function _unsupported_iterable_to_array$h(o, minLen) {
|
|
10577
10608
|
if (!o) return;
|
|
10578
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
10609
|
+
if (typeof o === "string") return _array_like_to_array$h(o, minLen);
|
|
10579
10610
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10580
10611
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10581
10612
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10582
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
10613
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$h(o, minLen);
|
|
10583
10614
|
}
|
|
10584
10615
|
function _ts_generator$8(thisArg, body) {
|
|
10585
10616
|
var f, y, t, _ = {
|
|
@@ -10792,21 +10823,21 @@ function _ts_generator$8(thisArg, body) {
|
|
|
10792
10823
|
};
|
|
10793
10824
|
}
|
|
10794
10825
|
|
|
10795
|
-
function _array_like_to_array$
|
|
10826
|
+
function _array_like_to_array$g(arr, len) {
|
|
10796
10827
|
if (len == null || len > arr.length) len = arr.length;
|
|
10797
10828
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
10798
10829
|
return arr2;
|
|
10799
10830
|
}
|
|
10800
|
-
function _array_with_holes$
|
|
10831
|
+
function _array_with_holes$c(arr) {
|
|
10801
10832
|
if (Array.isArray(arr)) return arr;
|
|
10802
10833
|
}
|
|
10803
10834
|
function _array_without_holes$7(arr) {
|
|
10804
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
10835
|
+
if (Array.isArray(arr)) return _array_like_to_array$g(arr);
|
|
10805
10836
|
}
|
|
10806
10837
|
function _iterable_to_array$7(iter) {
|
|
10807
10838
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
10808
10839
|
}
|
|
10809
|
-
function _iterable_to_array_limit$
|
|
10840
|
+
function _iterable_to_array_limit$c(arr, i) {
|
|
10810
10841
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
10811
10842
|
if (_i == null) return;
|
|
10812
10843
|
var _arr = [];
|
|
@@ -10830,25 +10861,25 @@ function _iterable_to_array_limit$b(arr, i) {
|
|
|
10830
10861
|
}
|
|
10831
10862
|
return _arr;
|
|
10832
10863
|
}
|
|
10833
|
-
function _non_iterable_rest$
|
|
10864
|
+
function _non_iterable_rest$c() {
|
|
10834
10865
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10835
10866
|
}
|
|
10836
10867
|
function _non_iterable_spread$7() {
|
|
10837
10868
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10838
10869
|
}
|
|
10839
|
-
function _sliced_to_array$
|
|
10840
|
-
return _array_with_holes$
|
|
10870
|
+
function _sliced_to_array$c(arr, i) {
|
|
10871
|
+
return _array_with_holes$c(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$g(arr, i) || _non_iterable_rest$c();
|
|
10841
10872
|
}
|
|
10842
10873
|
function _to_consumable_array$7(arr) {
|
|
10843
|
-
return _array_without_holes$7(arr) || _iterable_to_array$7(arr) || _unsupported_iterable_to_array$
|
|
10874
|
+
return _array_without_holes$7(arr) || _iterable_to_array$7(arr) || _unsupported_iterable_to_array$g(arr) || _non_iterable_spread$7();
|
|
10844
10875
|
}
|
|
10845
|
-
function _unsupported_iterable_to_array$
|
|
10876
|
+
function _unsupported_iterable_to_array$g(o, minLen) {
|
|
10846
10877
|
if (!o) return;
|
|
10847
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
10878
|
+
if (typeof o === "string") return _array_like_to_array$g(o, minLen);
|
|
10848
10879
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10849
10880
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10850
10881
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10851
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
10882
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$g(o, minLen);
|
|
10852
10883
|
}
|
|
10853
10884
|
/**
|
|
10854
10885
|
* Creates a bidirectional {@link PrimativeKeyDencoderMap} from the given values,
|
|
@@ -10872,7 +10903,7 @@ function _unsupported_iterable_to_array$f(o, minLen) {
|
|
|
10872
10903
|
valuesArray = values;
|
|
10873
10904
|
}
|
|
10874
10905
|
valuesArray.forEach(function(value) {
|
|
10875
|
-
var _value = _sliced_to_array$
|
|
10906
|
+
var _value = _sliced_to_array$c(value, 2), d = _value[0], e = _value[1];
|
|
10876
10907
|
if (map.has(d) || map.has(e)) {
|
|
10877
10908
|
throw new Error("primativeKeyDencoderMap() encountered a repeat key/value: ".concat(d, "/").concat(e, ". Keys and values must be unique."));
|
|
10878
10909
|
}
|
|
@@ -11080,10 +11111,7 @@ function _unsupported_iterable_to_array$f(o, minLen) {
|
|
|
11080
11111
|
var address;
|
|
11081
11112
|
var lineBreakLine = addLinebreaks ? '\n' : '';
|
|
11082
11113
|
var parts = [];
|
|
11083
|
-
parts.push(name);
|
|
11084
|
-
parts.push(phone);
|
|
11085
|
-
parts.push(line1);
|
|
11086
|
-
parts.push(line2);
|
|
11114
|
+
parts.push(name, phone, line1, line2);
|
|
11087
11115
|
if (city || state || zip) {
|
|
11088
11116
|
if (city && (state || zip)) {
|
|
11089
11117
|
parts.push("".concat(city, ", ").concat(state, " ").concat(zip));
|
|
@@ -11263,12 +11291,12 @@ function _unsupported_iterable_to_array$f(o, minLen) {
|
|
|
11263
11291
|
};
|
|
11264
11292
|
}
|
|
11265
11293
|
|
|
11266
|
-
function _array_like_to_array$
|
|
11294
|
+
function _array_like_to_array$f(arr, len) {
|
|
11267
11295
|
if (len == null || len > arr.length) len = arr.length;
|
|
11268
11296
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
11269
11297
|
return arr2;
|
|
11270
11298
|
}
|
|
11271
|
-
function _array_with_holes$
|
|
11299
|
+
function _array_with_holes$b(arr) {
|
|
11272
11300
|
if (Array.isArray(arr)) return arr;
|
|
11273
11301
|
}
|
|
11274
11302
|
function _define_property$c(obj, key, value) {
|
|
@@ -11284,7 +11312,20 @@ function _define_property$c(obj, key, value) {
|
|
|
11284
11312
|
}
|
|
11285
11313
|
return obj;
|
|
11286
11314
|
}
|
|
11287
|
-
function
|
|
11315
|
+
function _inherits$3(subClass, superClass) {
|
|
11316
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
11317
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
11318
|
+
}
|
|
11319
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
11320
|
+
constructor: {
|
|
11321
|
+
value: subClass,
|
|
11322
|
+
writable: true,
|
|
11323
|
+
configurable: true
|
|
11324
|
+
}
|
|
11325
|
+
});
|
|
11326
|
+
if (superClass) _set_prototype_of$3(subClass, superClass);
|
|
11327
|
+
}
|
|
11328
|
+
function _iterable_to_array_limit$b(arr, i) {
|
|
11288
11329
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
11289
11330
|
if (_i == null) return;
|
|
11290
11331
|
var _arr = [];
|
|
@@ -11308,7 +11349,7 @@ function _iterable_to_array_limit$a(arr, i) {
|
|
|
11308
11349
|
}
|
|
11309
11350
|
return _arr;
|
|
11310
11351
|
}
|
|
11311
|
-
function _non_iterable_rest$
|
|
11352
|
+
function _non_iterable_rest$b() {
|
|
11312
11353
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
11313
11354
|
}
|
|
11314
11355
|
function _object_spread$8(target) {
|
|
@@ -11345,20 +11386,101 @@ function _object_spread_props$4(target, source) {
|
|
|
11345
11386
|
}
|
|
11346
11387
|
return target;
|
|
11347
11388
|
}
|
|
11348
|
-
function
|
|
11349
|
-
|
|
11389
|
+
function _set_prototype_of$3(o, p) {
|
|
11390
|
+
_set_prototype_of$3 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
11391
|
+
o.__proto__ = p;
|
|
11392
|
+
return o;
|
|
11393
|
+
};
|
|
11394
|
+
return _set_prototype_of$3(o, p);
|
|
11395
|
+
}
|
|
11396
|
+
function _sliced_to_array$b(arr, i) {
|
|
11397
|
+
return _array_with_holes$b(arr) || _iterable_to_array_limit$b(arr, i) || _unsupported_iterable_to_array$f(arr, i) || _non_iterable_rest$b();
|
|
11350
11398
|
}
|
|
11351
11399
|
function _type_of$9(obj) {
|
|
11352
11400
|
"@swc/helpers - typeof";
|
|
11353
11401
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
11354
11402
|
}
|
|
11355
|
-
function _unsupported_iterable_to_array$
|
|
11403
|
+
function _unsupported_iterable_to_array$f(o, minLen) {
|
|
11356
11404
|
if (!o) return;
|
|
11357
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
11405
|
+
if (typeof o === "string") return _array_like_to_array$f(o, minLen);
|
|
11358
11406
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
11359
11407
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
11360
11408
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
11361
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
11409
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$f(o, minLen);
|
|
11410
|
+
}
|
|
11411
|
+
function _wrap_reg_exp(re, groups, source) {
|
|
11412
|
+
_wrap_reg_exp = function(re, groups, source) {
|
|
11413
|
+
return new WrappedRegExp(re, undefined, groups, source);
|
|
11414
|
+
};
|
|
11415
|
+
var _super = RegExp.prototype;
|
|
11416
|
+
var _groups = new WeakMap();
|
|
11417
|
+
var _sources = new WeakMap();
|
|
11418
|
+
var _native_source = Object.getOwnPropertyDescriptor(_super, "source").get;
|
|
11419
|
+
function WrappedRegExp(re, flags, groups, source) {
|
|
11420
|
+
var _re = new RegExp(re, flags);
|
|
11421
|
+
_groups.set(_re, groups || _groups.get(re));
|
|
11422
|
+
_sources.set(_re, source !== undefined ? source : _sources.get(re));
|
|
11423
|
+
return _set_prototype_of$3(_re, WrappedRegExp.prototype);
|
|
11424
|
+
}
|
|
11425
|
+
_inherits$3(WrappedRegExp, RegExp);
|
|
11426
|
+
Object.defineProperty(WrappedRegExp.prototype, "source", {
|
|
11427
|
+
configurable: true,
|
|
11428
|
+
get: function() {
|
|
11429
|
+
var source = _sources.get(this);
|
|
11430
|
+
if (source !== undefined) {
|
|
11431
|
+
try {
|
|
11432
|
+
new RegExp(source, this.flags);
|
|
11433
|
+
return source;
|
|
11434
|
+
} catch (_) {}
|
|
11435
|
+
}
|
|
11436
|
+
return _native_source.call(this);
|
|
11437
|
+
}
|
|
11438
|
+
});
|
|
11439
|
+
WrappedRegExp.prototype.exec = function(str) {
|
|
11440
|
+
var result = _super.exec.call(this, str);
|
|
11441
|
+
if (result) {
|
|
11442
|
+
result.groups = buildGroups(result, this);
|
|
11443
|
+
var indices = result.indices;
|
|
11444
|
+
if (indices) indices.groups = buildGroups(indices, this);
|
|
11445
|
+
}
|
|
11446
|
+
return result;
|
|
11447
|
+
};
|
|
11448
|
+
WrappedRegExp.prototype[Symbol.replace] = function(str, substitution) {
|
|
11449
|
+
if (typeof substitution === "string") {
|
|
11450
|
+
var groups = _groups.get(this);
|
|
11451
|
+
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function(_, name) {
|
|
11452
|
+
var group = groups ? groups[name] : undefined;
|
|
11453
|
+
if (group === undefined) return "";
|
|
11454
|
+
return "$" + (Array.isArray(group) ? group.join("$") : group);
|
|
11455
|
+
}));
|
|
11456
|
+
}
|
|
11457
|
+
if (typeof substitution === "function") {
|
|
11458
|
+
var _this = this;
|
|
11459
|
+
return _super[Symbol.replace].call(this, str, function() {
|
|
11460
|
+
var args = arguments;
|
|
11461
|
+
if (typeof args[args.length - 1] !== "object") {
|
|
11462
|
+
args = [].slice.call(args);
|
|
11463
|
+
args.push(buildGroups(args, _this));
|
|
11464
|
+
}
|
|
11465
|
+
return substitution.apply(this, args);
|
|
11466
|
+
});
|
|
11467
|
+
}
|
|
11468
|
+
return _super[Symbol.replace].call(this, str, substitution);
|
|
11469
|
+
};
|
|
11470
|
+
function buildGroups(result, re) {
|
|
11471
|
+
var g = _groups.get(re);
|
|
11472
|
+
return Object.keys(g).reduce(function(groups, name) {
|
|
11473
|
+
var i = g[name];
|
|
11474
|
+
if (typeof i === "number") groups[name] = result[i];
|
|
11475
|
+
else {
|
|
11476
|
+
var k = 0;
|
|
11477
|
+
while(result[i[k]] === undefined && k + 1 < i.length)k++;
|
|
11478
|
+
groups[name] = result[i[k]];
|
|
11479
|
+
}
|
|
11480
|
+
return groups;
|
|
11481
|
+
}, Object.create(null));
|
|
11482
|
+
}
|
|
11483
|
+
return _wrap_reg_exp.apply(this, arguments);
|
|
11362
11484
|
}
|
|
11363
11485
|
/**
|
|
11364
11486
|
* Minimum valid latitude value (-90 degrees).
|
|
@@ -11603,7 +11725,10 @@ function latLngString(lat, lng) {
|
|
|
11603
11725
|
* https://stackoverflow.com/questions/3518504/regular-expression-for-matching-latitude-longitude-coordinates
|
|
11604
11726
|
*
|
|
11605
11727
|
* Has a max precision of 15 because Google Maps returns a 15 decimal places when copying a position.
|
|
11606
|
-
*/ var LAT_LNG_PATTERN =
|
|
11728
|
+
*/ var LAT_LNG_PATTERN = _wrap_reg_exp(/(^[-+]?(?:[1-8]?\d(?:\.\d{0,15})?|90(?:\.0{0,15})?))\s*,\s*([-+]?(?:180(?:\.0{0,15})?|(?:1[0-7]\d|[1-9]?\d)(?:\.\d{0,15})?))$/, {
|
|
11729
|
+
lat: 1,
|
|
11730
|
+
lng: 2
|
|
11731
|
+
}, "(?<lat>^[-+]?(?:[1-8]?\\d(?:\\.\\d{0,15})?|90(?:\\.0{0,15})?))\\s*,\\s*(?<lng>[-+]?(?:180(?:\\.0{0,15})?|(?:1[0-7]\\d|[1-9]?\\d)(?:\\.\\d{0,15})?))$");
|
|
11607
11732
|
/**
|
|
11608
11733
|
* Checks whether the input string matches the expected lat/lng pattern (e.g., `"30.5,-96.3"`).
|
|
11609
11734
|
*
|
|
@@ -11757,7 +11882,7 @@ function latLngString(lat, lng) {
|
|
|
11757
11882
|
* @param latLngString - string in the format `"lat,lng"`
|
|
11758
11883
|
* @returns the parsed point
|
|
11759
11884
|
*/ function latLngPointFromString(latLngString) {
|
|
11760
|
-
var _latLngString_split = _sliced_to_array$
|
|
11885
|
+
var _latLngString_split = _sliced_to_array$b(latLngString.split(','), 2), latString = _latLngString_split[0], lngString = _latLngString_split[1];
|
|
11761
11886
|
var lat = Number(latString) || 0; // default lat and lng to 0 if not valid.
|
|
11762
11887
|
var lng = Number(lngString) || 0;
|
|
11763
11888
|
return {
|
|
@@ -11856,21 +11981,21 @@ function latLngString(lat, lng) {
|
|
|
11856
11981
|
});
|
|
11857
11982
|
}
|
|
11858
11983
|
|
|
11859
|
-
function _array_like_to_array$
|
|
11984
|
+
function _array_like_to_array$e(arr, len) {
|
|
11860
11985
|
if (len == null || len > arr.length) len = arr.length;
|
|
11861
11986
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
11862
11987
|
return arr2;
|
|
11863
11988
|
}
|
|
11864
|
-
function _array_with_holes$
|
|
11989
|
+
function _array_with_holes$a(arr) {
|
|
11865
11990
|
if (Array.isArray(arr)) return arr;
|
|
11866
11991
|
}
|
|
11867
11992
|
function _array_without_holes$6(arr) {
|
|
11868
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
11993
|
+
if (Array.isArray(arr)) return _array_like_to_array$e(arr);
|
|
11869
11994
|
}
|
|
11870
11995
|
function _iterable_to_array$6(iter) {
|
|
11871
11996
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
11872
11997
|
}
|
|
11873
|
-
function _iterable_to_array_limit$
|
|
11998
|
+
function _iterable_to_array_limit$a(arr, i) {
|
|
11874
11999
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
11875
12000
|
if (_i == null) return;
|
|
11876
12001
|
var _arr = [];
|
|
@@ -11894,29 +12019,29 @@ function _iterable_to_array_limit$9(arr, i) {
|
|
|
11894
12019
|
}
|
|
11895
12020
|
return _arr;
|
|
11896
12021
|
}
|
|
11897
|
-
function _non_iterable_rest$
|
|
12022
|
+
function _non_iterable_rest$a() {
|
|
11898
12023
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
11899
12024
|
}
|
|
11900
12025
|
function _non_iterable_spread$6() {
|
|
11901
12026
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
11902
12027
|
}
|
|
11903
|
-
function _sliced_to_array$
|
|
11904
|
-
return _array_with_holes$
|
|
12028
|
+
function _sliced_to_array$a(arr, i) {
|
|
12029
|
+
return _array_with_holes$a(arr) || _iterable_to_array_limit$a(arr, i) || _unsupported_iterable_to_array$e(arr, i) || _non_iterable_rest$a();
|
|
11905
12030
|
}
|
|
11906
12031
|
function _to_consumable_array$6(arr) {
|
|
11907
|
-
return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$
|
|
12032
|
+
return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$e(arr) || _non_iterable_spread$6();
|
|
11908
12033
|
}
|
|
11909
12034
|
function _type_of$8(obj) {
|
|
11910
12035
|
"@swc/helpers - typeof";
|
|
11911
12036
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
11912
12037
|
}
|
|
11913
|
-
function _unsupported_iterable_to_array$
|
|
12038
|
+
function _unsupported_iterable_to_array$e(o, minLen) {
|
|
11914
12039
|
if (!o) return;
|
|
11915
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
12040
|
+
if (typeof o === "string") return _array_like_to_array$e(o, minLen);
|
|
11916
12041
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
11917
12042
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
11918
12043
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
11919
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
12044
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$e(o, minLen);
|
|
11920
12045
|
}
|
|
11921
12046
|
/**
|
|
11922
12047
|
* Type guard that checks whether the input is a {@link LatLngBound} by testing for the presence of `sw` and `ne` properties.
|
|
@@ -12143,7 +12268,7 @@ function _unsupported_iterable_to_array$d(o, minLen) {
|
|
|
12143
12268
|
var bound;
|
|
12144
12269
|
if (Array.isArray(input)) {
|
|
12145
12270
|
if (input.length === 2) {
|
|
12146
|
-
var _input = _sliced_to_array$
|
|
12271
|
+
var _input = _sliced_to_array$a(input, 2), sw = _input[0], ne = _input[1];
|
|
12147
12272
|
bound = {
|
|
12148
12273
|
sw: latLngPoint(sw),
|
|
12149
12274
|
ne: latLngPoint(ne)
|
|
@@ -12454,22 +12579,23 @@ function _unsupported_iterable_to_array$d(o, minLen) {
|
|
|
12454
12579
|
return fn;
|
|
12455
12580
|
}
|
|
12456
12581
|
|
|
12457
|
-
function _array_like_to_array$
|
|
12582
|
+
function _array_like_to_array$d(arr, len) {
|
|
12458
12583
|
if (len == null || len > arr.length) len = arr.length;
|
|
12459
12584
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
12460
12585
|
return arr2;
|
|
12461
12586
|
}
|
|
12462
|
-
function _array_with_holes$
|
|
12587
|
+
function _array_with_holes$9(arr) {
|
|
12463
12588
|
if (Array.isArray(arr)) return arr;
|
|
12464
12589
|
}
|
|
12465
12590
|
function _instanceof$1(left, right) {
|
|
12591
|
+
"@swc/helpers - instanceof";
|
|
12466
12592
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
12467
12593
|
return !!right[Symbol.hasInstance](left);
|
|
12468
12594
|
} else {
|
|
12469
12595
|
return left instanceof right;
|
|
12470
12596
|
}
|
|
12471
12597
|
}
|
|
12472
|
-
function _iterable_to_array_limit$
|
|
12598
|
+
function _iterable_to_array_limit$9(arr, i) {
|
|
12473
12599
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
12474
12600
|
if (_i == null) return;
|
|
12475
12601
|
var _arr = [];
|
|
@@ -12493,23 +12619,23 @@ function _iterable_to_array_limit$8(arr, i) {
|
|
|
12493
12619
|
}
|
|
12494
12620
|
return _arr;
|
|
12495
12621
|
}
|
|
12496
|
-
function _non_iterable_rest$
|
|
12622
|
+
function _non_iterable_rest$9() {
|
|
12497
12623
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
12498
12624
|
}
|
|
12499
|
-
function _sliced_to_array$
|
|
12500
|
-
return _array_with_holes$
|
|
12625
|
+
function _sliced_to_array$9(arr, i) {
|
|
12626
|
+
return _array_with_holes$9(arr) || _iterable_to_array_limit$9(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$9();
|
|
12501
12627
|
}
|
|
12502
12628
|
function _type_of$7(obj) {
|
|
12503
12629
|
"@swc/helpers - typeof";
|
|
12504
12630
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
12505
12631
|
}
|
|
12506
|
-
function _unsupported_iterable_to_array$
|
|
12632
|
+
function _unsupported_iterable_to_array$d(o, minLen) {
|
|
12507
12633
|
if (!o) return;
|
|
12508
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
12634
|
+
if (typeof o === "string") return _array_like_to_array$d(o, minLen);
|
|
12509
12635
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
12510
12636
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
12511
12637
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
12512
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
12638
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
|
|
12513
12639
|
}
|
|
12514
12640
|
/**
|
|
12515
12641
|
* Regular expression for validating ISO8601 date strings.
|
|
@@ -12530,7 +12656,7 @@ function _unsupported_iterable_to_array$c(o, minLen) {
|
|
|
12530
12656
|
* Sat, 03 Feb 2001 04:05:06 GMT
|
|
12531
12657
|
* Tue, 14 Mar 2023 12:34:56 UTC
|
|
12532
12658
|
* Wed, 25 May 2024 20:45:07 EST
|
|
12533
|
-
*/ var UTC_DATE_STRING_REGEX = /^([a-zA-Z]{3},
|
|
12659
|
+
*/ var UTC_DATE_STRING_REGEX = /^([a-zA-Z]{3}, \d{2} [a-zA-Z]{3} \d{4} \d{2}:\d{2}:\d{2} [A-Z]{3})$/;
|
|
12534
12660
|
/**
|
|
12535
12661
|
* Determines if a string is a valid UTC date string.
|
|
12536
12662
|
*
|
|
@@ -12588,7 +12714,7 @@ function isConsideredUtcTimezoneString(timezone) {
|
|
|
12588
12714
|
* @param inputDateString - The ISO8601 day string to parse (e.g., '2022-01-15')
|
|
12589
12715
|
* @returns A Date object set to midnight UTC on the specified day
|
|
12590
12716
|
*/ function parseISO8601DayStringToUTCDate(inputDateString) {
|
|
12591
|
-
var _inputDateString_split = _sliced_to_array$
|
|
12717
|
+
var _inputDateString_split = _sliced_to_array$9(inputDateString.split('-'), 3), yearString = _inputDateString_split[0], monthString = _inputDateString_split[1], dateString = _inputDateString_split[2];
|
|
12592
12718
|
return new Date(Date.UTC(Number(yearString), Number(monthString) - 1, Number(dateString)));
|
|
12593
12719
|
}
|
|
12594
12720
|
/**
|
|
@@ -12626,7 +12752,7 @@ function isConsideredUtcTimezoneString(timezone) {
|
|
|
12626
12752
|
* @param slashDate - The slash date string to convert (e.g., '1/1/20' or '11/15/2022')
|
|
12627
12753
|
* @returns An ISO8601 formatted day string (YYYY-MM-DD)
|
|
12628
12754
|
*/ function monthDaySlashDateToDateString(slashDate) {
|
|
12629
|
-
var _slashDate_split = _sliced_to_array$
|
|
12755
|
+
var _slashDate_split = _sliced_to_array$9(slashDate.split('/'), 3), month = _slashDate_split[0], day = _slashDate_split[1], year = _slashDate_split[2];
|
|
12630
12756
|
if (month.length === 1) {
|
|
12631
12757
|
month = "0".concat(month);
|
|
12632
12758
|
}
|
|
@@ -12655,7 +12781,7 @@ function dateFromDateOrTimeMillisecondsNumber(input) {
|
|
|
12655
12781
|
* @param dateTimeNumber - Unix timestamp number to convert
|
|
12656
12782
|
* @returns Date object if timestamp is valid, null/undefined if timestamp is null/undefined
|
|
12657
12783
|
*/ function unixMillisecondsNumberToDate(dateTimeNumber) {
|
|
12658
|
-
return dateTimeNumber
|
|
12784
|
+
return dateTimeNumber == null ? dateTimeNumber : new Date(dateTimeNumber);
|
|
12659
12785
|
}
|
|
12660
12786
|
/**
|
|
12661
12787
|
* Converts the input DateOrMilliseconds to a Date.
|
|
@@ -13583,7 +13709,7 @@ function _ts_generator$7(thisArg, body) {
|
|
|
13583
13709
|
var dencoder = inputDencoder !== null && inputDencoder !== void 0 ? inputDencoder : NUMBER_STRING_DENCODER_64;
|
|
13584
13710
|
var dencoderNumberValue = numberStringDencoderDecodedNumberValueFunction(dencoder);
|
|
13585
13711
|
var startAtFromCurrentIndex = currentIndex != null ? dencoderNumberValue(currentIndex) + increaseBy : undefined;
|
|
13586
|
-
var startAt = inputStartAt
|
|
13712
|
+
var startAt = inputStartAt == null ? startAtFromCurrentIndex !== null && startAtFromCurrentIndex !== void 0 ? startAtFromCurrentIndex : 0 : dencoderNumberValue(inputStartAt);
|
|
13587
13713
|
var transform = inputTranformFunction !== null && inputTranformFunction !== void 0 ? inputTranformFunction : mapIdentityFunction();
|
|
13588
13714
|
var numberFactory = incrementingNumberFactory({
|
|
13589
13715
|
startAt: startAt,
|
|
@@ -13596,13 +13722,13 @@ function _ts_generator$7(thisArg, body) {
|
|
|
13596
13722
|
};
|
|
13597
13723
|
}
|
|
13598
13724
|
|
|
13599
|
-
function _array_like_to_array$
|
|
13725
|
+
function _array_like_to_array$c(arr, len) {
|
|
13600
13726
|
if (len == null || len > arr.length) len = arr.length;
|
|
13601
13727
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
13602
13728
|
return arr2;
|
|
13603
13729
|
}
|
|
13604
13730
|
function _array_without_holes$5(arr) {
|
|
13605
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
13731
|
+
if (Array.isArray(arr)) return _array_like_to_array$c(arr);
|
|
13606
13732
|
}
|
|
13607
13733
|
function _iterable_to_array$5(iter) {
|
|
13608
13734
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -13611,15 +13737,15 @@ function _non_iterable_spread$5() {
|
|
|
13611
13737
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13612
13738
|
}
|
|
13613
13739
|
function _to_consumable_array$5(arr) {
|
|
13614
|
-
return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$
|
|
13740
|
+
return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$c(arr) || _non_iterable_spread$5();
|
|
13615
13741
|
}
|
|
13616
|
-
function _unsupported_iterable_to_array$
|
|
13742
|
+
function _unsupported_iterable_to_array$c(o, minLen) {
|
|
13617
13743
|
if (!o) return;
|
|
13618
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
13744
|
+
if (typeof o === "string") return _array_like_to_array$c(o, minLen);
|
|
13619
13745
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
13620
13746
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
13621
13747
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
13622
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
13748
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
|
|
13623
13749
|
}
|
|
13624
13750
|
/**
|
|
13625
13751
|
* Creates an {@link ObjectDeltaArrayCompressor} that can compress and expand arrays of objects using delta encoding.
|
|
@@ -13880,7 +14006,7 @@ function dateFromDateOrTimeSecondsNumber(input) {
|
|
|
13880
14006
|
* @returns An ExpirationDetails object that can determine expiration state
|
|
13881
14007
|
*/ function expirationDetails(input) {
|
|
13882
14008
|
var expiresAt = input.expiresAt, expires = input.expires, inputNow = input.now, expiresFromDate = input.expiresFromDate, defaultExpiresFromDateToNow = input.defaultExpiresFromDateToNow, expiresIn = input.expiresIn;
|
|
13883
|
-
var parsedExpiresFromDate = expiresFromDate
|
|
14009
|
+
var parsedExpiresFromDate = expiresFromDate == null ? null : dateFromDateOrTimeMillisecondsNumber(expiresFromDate);
|
|
13884
14010
|
function getNow(nowOverride) {
|
|
13885
14011
|
var _ref;
|
|
13886
14012
|
return (_ref = nowOverride !== null && nowOverride !== void 0 ? nowOverride : inputNow) !== null && _ref !== void 0 ? _ref : new Date();
|
|
@@ -13998,13 +14124,13 @@ function dateFromDateOrTimeSecondsNumber(input) {
|
|
|
13998
14124
|
return firstExpired !== -1;
|
|
13999
14125
|
}
|
|
14000
14126
|
|
|
14001
|
-
function _array_like_to_array$
|
|
14127
|
+
function _array_like_to_array$b(arr, len) {
|
|
14002
14128
|
if (len == null || len > arr.length) len = arr.length;
|
|
14003
14129
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
14004
14130
|
return arr2;
|
|
14005
14131
|
}
|
|
14006
14132
|
function _array_without_holes$4(arr) {
|
|
14007
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
14133
|
+
if (Array.isArray(arr)) return _array_like_to_array$b(arr);
|
|
14008
14134
|
}
|
|
14009
14135
|
function _iterable_to_array$4(iter) {
|
|
14010
14136
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
@@ -14013,15 +14139,15 @@ function _non_iterable_spread$4() {
|
|
|
14013
14139
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14014
14140
|
}
|
|
14015
14141
|
function _to_consumable_array$4(arr) {
|
|
14016
|
-
return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$
|
|
14142
|
+
return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$b(arr) || _non_iterable_spread$4();
|
|
14017
14143
|
}
|
|
14018
|
-
function _unsupported_iterable_to_array$
|
|
14144
|
+
function _unsupported_iterable_to_array$b(o, minLen) {
|
|
14019
14145
|
if (!o) return;
|
|
14020
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
14146
|
+
if (typeof o === "string") return _array_like_to_array$b(o, minLen);
|
|
14021
14147
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
14022
14148
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
14023
14149
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
14024
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
14150
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$b(o, minLen);
|
|
14025
14151
|
}
|
|
14026
14152
|
/**
|
|
14027
14153
|
* Returns the day of the week for the input date.
|
|
@@ -14758,16 +14884,16 @@ var PROMISE_REF_NUMBER = 0;
|
|
|
14758
14884
|
return ref;
|
|
14759
14885
|
}
|
|
14760
14886
|
|
|
14761
|
-
function _array_like_to_array$
|
|
14887
|
+
function _array_like_to_array$a(arr, len) {
|
|
14762
14888
|
if (len == null || len > arr.length) len = arr.length;
|
|
14763
14889
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
14764
14890
|
return arr2;
|
|
14765
14891
|
}
|
|
14766
|
-
function _array_with_holes$
|
|
14892
|
+
function _array_with_holes$8(arr) {
|
|
14767
14893
|
if (Array.isArray(arr)) return arr;
|
|
14768
14894
|
}
|
|
14769
14895
|
function _array_without_holes$3(arr) {
|
|
14770
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
14896
|
+
if (Array.isArray(arr)) return _array_like_to_array$a(arr);
|
|
14771
14897
|
}
|
|
14772
14898
|
function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
14773
14899
|
try {
|
|
@@ -14814,7 +14940,7 @@ function _define_property$9(obj, key, value) {
|
|
|
14814
14940
|
function _iterable_to_array$3(iter) {
|
|
14815
14941
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14816
14942
|
}
|
|
14817
|
-
function _iterable_to_array_limit$
|
|
14943
|
+
function _iterable_to_array_limit$8(arr, i) {
|
|
14818
14944
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
14819
14945
|
if (_i == null) return;
|
|
14820
14946
|
var _arr = [];
|
|
@@ -14838,7 +14964,7 @@ function _iterable_to_array_limit$7(arr, i) {
|
|
|
14838
14964
|
}
|
|
14839
14965
|
return _arr;
|
|
14840
14966
|
}
|
|
14841
|
-
function _non_iterable_rest$
|
|
14967
|
+
function _non_iterable_rest$8() {
|
|
14842
14968
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14843
14969
|
}
|
|
14844
14970
|
function _non_iterable_spread$3() {
|
|
@@ -14878,19 +15004,19 @@ function _object_spread_props$2(target, source) {
|
|
|
14878
15004
|
}
|
|
14879
15005
|
return target;
|
|
14880
15006
|
}
|
|
14881
|
-
function _sliced_to_array$
|
|
14882
|
-
return _array_with_holes$
|
|
15007
|
+
function _sliced_to_array$8(arr, i) {
|
|
15008
|
+
return _array_with_holes$8(arr) || _iterable_to_array_limit$8(arr, i) || _unsupported_iterable_to_array$a(arr, i) || _non_iterable_rest$8();
|
|
14883
15009
|
}
|
|
14884
15010
|
function _to_consumable_array$3(arr) {
|
|
14885
|
-
return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$
|
|
15011
|
+
return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$3();
|
|
14886
15012
|
}
|
|
14887
|
-
function _unsupported_iterable_to_array$
|
|
15013
|
+
function _unsupported_iterable_to_array$a(o, minLen) {
|
|
14888
15014
|
if (!o) return;
|
|
14889
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
15015
|
+
if (typeof o === "string") return _array_like_to_array$a(o, minLen);
|
|
14890
15016
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
14891
15017
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
14892
15018
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
14893
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
15019
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$a(o, minLen);
|
|
14894
15020
|
}
|
|
14895
15021
|
function _ts_generator$4(thisArg, body) {
|
|
14896
15022
|
var f, y, t, _ = {
|
|
@@ -15143,7 +15269,7 @@ function _ts_generator$4(thisArg, body) {
|
|
|
15143
15269
|
}, config)
|
|
15144
15270
|
];
|
|
15145
15271
|
case 1:
|
|
15146
|
-
_ref = _sliced_to_array$
|
|
15272
|
+
_ref = _sliced_to_array$8.apply(void 0, [
|
|
15147
15273
|
_state.sent(),
|
|
15148
15274
|
3
|
|
15149
15275
|
]), value = _ref[1], success = _ref[2];
|
|
@@ -16083,12 +16209,12 @@ function _ts_generator$3(thisArg, body) {
|
|
|
16083
16209
|
};
|
|
16084
16210
|
}
|
|
16085
16211
|
|
|
16086
|
-
function _array_like_to_array$
|
|
16212
|
+
function _array_like_to_array$9(arr, len) {
|
|
16087
16213
|
if (len == null || len > arr.length) len = arr.length;
|
|
16088
16214
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
16089
16215
|
return arr2;
|
|
16090
16216
|
}
|
|
16091
|
-
function _array_with_holes$
|
|
16217
|
+
function _array_with_holes$7(arr) {
|
|
16092
16218
|
if (Array.isArray(arr)) return arr;
|
|
16093
16219
|
}
|
|
16094
16220
|
function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -16133,7 +16259,7 @@ function _define_property$7(obj, key, value) {
|
|
|
16133
16259
|
}
|
|
16134
16260
|
return obj;
|
|
16135
16261
|
}
|
|
16136
|
-
function _iterable_to_array_limit$
|
|
16262
|
+
function _iterable_to_array_limit$7(arr, i) {
|
|
16137
16263
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
16138
16264
|
if (_i == null) return;
|
|
16139
16265
|
var _arr = [];
|
|
@@ -16157,7 +16283,7 @@ function _iterable_to_array_limit$6(arr, i) {
|
|
|
16157
16283
|
}
|
|
16158
16284
|
return _arr;
|
|
16159
16285
|
}
|
|
16160
|
-
function _non_iterable_rest$
|
|
16286
|
+
function _non_iterable_rest$7() {
|
|
16161
16287
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
16162
16288
|
}
|
|
16163
16289
|
function _object_spread$3(target) {
|
|
@@ -16194,16 +16320,16 @@ function _object_spread_props$1(target, source) {
|
|
|
16194
16320
|
}
|
|
16195
16321
|
return target;
|
|
16196
16322
|
}
|
|
16197
|
-
function _sliced_to_array$
|
|
16198
|
-
return _array_with_holes$
|
|
16323
|
+
function _sliced_to_array$7(arr, i) {
|
|
16324
|
+
return _array_with_holes$7(arr) || _iterable_to_array_limit$7(arr, i) || _unsupported_iterable_to_array$9(arr, i) || _non_iterable_rest$7();
|
|
16199
16325
|
}
|
|
16200
|
-
function _unsupported_iterable_to_array$
|
|
16326
|
+
function _unsupported_iterable_to_array$9(o, minLen) {
|
|
16201
16327
|
if (!o) return;
|
|
16202
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
16328
|
+
if (typeof o === "string") return _array_like_to_array$9(o, minLen);
|
|
16203
16329
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
16204
16330
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
16205
16331
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
16206
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
16332
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$9(o, minLen);
|
|
16207
16333
|
}
|
|
16208
16334
|
function _ts_generator$2(thisArg, body) {
|
|
16209
16335
|
var f, y, t, _ = {
|
|
@@ -16321,7 +16447,7 @@ function _ts_generator$2(thisArg, body) {
|
|
|
16321
16447
|
tasks = inputTasks;
|
|
16322
16448
|
} else {
|
|
16323
16449
|
tasks = Object.entries(inputTasks).map(function(param) {
|
|
16324
|
-
var _param = _sliced_to_array$
|
|
16450
|
+
var _param = _sliced_to_array$7(param, 2), name = _param[0], run = _param[1];
|
|
16325
16451
|
var namedTask = {
|
|
16326
16452
|
name: name,
|
|
16327
16453
|
run: run
|
|
@@ -16549,7 +16675,7 @@ function _is_native_reflect_construct$2() {
|
|
|
16549
16675
|
result = 0;
|
|
16550
16676
|
break;
|
|
16551
16677
|
case 'running':
|
|
16552
|
-
result = Math.max(0, currentDuration - (
|
|
16678
|
+
result = Math.max(0, currentDuration - (Date.now() - startedAt.getTime()));
|
|
16553
16679
|
break;
|
|
16554
16680
|
case 'paused':
|
|
16555
16681
|
result = null;
|
|
@@ -16848,22 +16974,23 @@ function dateFromLogicalDate(logicalDate) {
|
|
|
16848
16974
|
return convertTimeDuration(totalMinutes, 'min', toUnit);
|
|
16849
16975
|
}
|
|
16850
16976
|
|
|
16851
|
-
function _array_like_to_array$
|
|
16977
|
+
function _array_like_to_array$8(arr, len) {
|
|
16852
16978
|
if (len == null || len > arr.length) len = arr.length;
|
|
16853
16979
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
16854
16980
|
return arr2;
|
|
16855
16981
|
}
|
|
16856
|
-
function _array_with_holes$
|
|
16982
|
+
function _array_with_holes$6(arr) {
|
|
16857
16983
|
if (Array.isArray(arr)) return arr;
|
|
16858
16984
|
}
|
|
16859
16985
|
function _instanceof(left, right) {
|
|
16986
|
+
"@swc/helpers - instanceof";
|
|
16860
16987
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
16861
16988
|
return !!right[Symbol.hasInstance](left);
|
|
16862
16989
|
} else {
|
|
16863
16990
|
return left instanceof right;
|
|
16864
16991
|
}
|
|
16865
16992
|
}
|
|
16866
|
-
function _iterable_to_array_limit$
|
|
16993
|
+
function _iterable_to_array_limit$6(arr, i) {
|
|
16867
16994
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
16868
16995
|
if (_i == null) return;
|
|
16869
16996
|
var _arr = [];
|
|
@@ -16887,23 +17014,23 @@ function _iterable_to_array_limit$5(arr, i) {
|
|
|
16887
17014
|
}
|
|
16888
17015
|
return _arr;
|
|
16889
17016
|
}
|
|
16890
|
-
function _non_iterable_rest$
|
|
17017
|
+
function _non_iterable_rest$6() {
|
|
16891
17018
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
16892
17019
|
}
|
|
16893
|
-
function _sliced_to_array$
|
|
16894
|
-
return _array_with_holes$
|
|
17020
|
+
function _sliced_to_array$6(arr, i) {
|
|
17021
|
+
return _array_with_holes$6(arr) || _iterable_to_array_limit$6(arr, i) || _unsupported_iterable_to_array$8(arr, i) || _non_iterable_rest$6();
|
|
16895
17022
|
}
|
|
16896
17023
|
function _type_of$3(obj) {
|
|
16897
17024
|
"@swc/helpers - typeof";
|
|
16898
17025
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
16899
17026
|
}
|
|
16900
|
-
function _unsupported_iterable_to_array$
|
|
17027
|
+
function _unsupported_iterable_to_array$8(o, minLen) {
|
|
16901
17028
|
if (!o) return;
|
|
16902
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
17029
|
+
if (typeof o === "string") return _array_like_to_array$8(o, minLen);
|
|
16903
17030
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
16904
17031
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
16905
17032
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
16906
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
17033
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$8(o, minLen);
|
|
16907
17034
|
}
|
|
16908
17035
|
/**
|
|
16909
17036
|
* Performs a deep equality comparison between two values.
|
|
@@ -16982,7 +17109,7 @@ function _compareMaps(a, b, pojoFilter) {
|
|
|
16982
17109
|
return false;
|
|
16983
17110
|
}
|
|
16984
17111
|
var firstInequalityIndex = Array.from(a.entries()).findIndex(function(param) {
|
|
16985
|
-
var _param = _sliced_to_array$
|
|
17112
|
+
var _param = _sliced_to_array$6(param, 2), key = _param[0], aValue = _param[1];
|
|
16986
17113
|
var bValue = b.get(key);
|
|
16987
17114
|
return !areEqualPOJOValuesUsingPojoFilter(aValue, bValue, pojoFilter);
|
|
16988
17115
|
});
|
|
@@ -17101,15 +17228,15 @@ function _compareObjects(a, b, pojoFilter) {
|
|
|
17101
17228
|
});
|
|
17102
17229
|
}
|
|
17103
17230
|
|
|
17104
|
-
function _array_like_to_array$
|
|
17231
|
+
function _array_like_to_array$7(arr, len) {
|
|
17105
17232
|
if (len == null || len > arr.length) len = arr.length;
|
|
17106
17233
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
17107
17234
|
return arr2;
|
|
17108
17235
|
}
|
|
17109
|
-
function _array_with_holes$
|
|
17236
|
+
function _array_with_holes$5(arr) {
|
|
17110
17237
|
if (Array.isArray(arr)) return arr;
|
|
17111
17238
|
}
|
|
17112
|
-
function _iterable_to_array_limit$
|
|
17239
|
+
function _iterable_to_array_limit$5(arr, i) {
|
|
17113
17240
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
17114
17241
|
if (_i == null) return;
|
|
17115
17242
|
var _arr = [];
|
|
@@ -17133,19 +17260,19 @@ function _iterable_to_array_limit$4(arr, i) {
|
|
|
17133
17260
|
}
|
|
17134
17261
|
return _arr;
|
|
17135
17262
|
}
|
|
17136
|
-
function _non_iterable_rest$
|
|
17263
|
+
function _non_iterable_rest$5() {
|
|
17137
17264
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17138
17265
|
}
|
|
17139
|
-
function _sliced_to_array$
|
|
17140
|
-
return _array_with_holes$
|
|
17266
|
+
function _sliced_to_array$5(arr, i) {
|
|
17267
|
+
return _array_with_holes$5(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$7(arr, i) || _non_iterable_rest$5();
|
|
17141
17268
|
}
|
|
17142
|
-
function _unsupported_iterable_to_array$
|
|
17269
|
+
function _unsupported_iterable_to_array$7(o, minLen) {
|
|
17143
17270
|
if (!o) return;
|
|
17144
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
17271
|
+
if (typeof o === "string") return _array_like_to_array$7(o, minLen);
|
|
17145
17272
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
17146
17273
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
17147
17274
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
17148
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
17275
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
|
|
17149
17276
|
}
|
|
17150
17277
|
/**
|
|
17151
17278
|
* Converts an {@link ObjectMap} into a `Map` using `Object.entries`.
|
|
@@ -17199,7 +17326,7 @@ function _unsupported_iterable_to_array$6(o, minLen) {
|
|
|
17199
17326
|
return function(object) {
|
|
17200
17327
|
var target = {};
|
|
17201
17328
|
Object.entries(object).forEach(function(param) {
|
|
17202
|
-
var _param = _sliced_to_array$
|
|
17329
|
+
var _param = _sliced_to_array$5(param, 2), key = _param[0], value = _param[1];
|
|
17203
17330
|
var newKey = mapKeyFn(key, value);
|
|
17204
17331
|
target[newKey] = value;
|
|
17205
17332
|
});
|
|
@@ -17325,15 +17452,15 @@ function _type_of$2(obj) {
|
|
|
17325
17452
|
};
|
|
17326
17453
|
}
|
|
17327
17454
|
|
|
17328
|
-
function _array_like_to_array$
|
|
17455
|
+
function _array_like_to_array$6(arr, len) {
|
|
17329
17456
|
if (len == null || len > arr.length) len = arr.length;
|
|
17330
17457
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
17331
17458
|
return arr2;
|
|
17332
17459
|
}
|
|
17333
|
-
function _array_with_holes$
|
|
17460
|
+
function _array_with_holes$4(arr) {
|
|
17334
17461
|
if (Array.isArray(arr)) return arr;
|
|
17335
17462
|
}
|
|
17336
|
-
function _iterable_to_array_limit$
|
|
17463
|
+
function _iterable_to_array_limit$4(arr, i) {
|
|
17337
17464
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
17338
17465
|
if (_i == null) return;
|
|
17339
17466
|
var _arr = [];
|
|
@@ -17357,19 +17484,19 @@ function _iterable_to_array_limit$3(arr, i) {
|
|
|
17357
17484
|
}
|
|
17358
17485
|
return _arr;
|
|
17359
17486
|
}
|
|
17360
|
-
function _non_iterable_rest$
|
|
17487
|
+
function _non_iterable_rest$4() {
|
|
17361
17488
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17362
17489
|
}
|
|
17363
|
-
function _sliced_to_array$
|
|
17364
|
-
return _array_with_holes$
|
|
17490
|
+
function _sliced_to_array$4(arr, i) {
|
|
17491
|
+
return _array_with_holes$4(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$6(arr, i) || _non_iterable_rest$4();
|
|
17365
17492
|
}
|
|
17366
|
-
function _unsupported_iterable_to_array$
|
|
17493
|
+
function _unsupported_iterable_to_array$6(o, minLen) {
|
|
17367
17494
|
if (!o) return;
|
|
17368
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
17495
|
+
if (typeof o === "string") return _array_like_to_array$6(o, minLen);
|
|
17369
17496
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
17370
17497
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
17371
17498
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
17372
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
17499
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
|
|
17373
17500
|
}
|
|
17374
17501
|
/**
|
|
17375
17502
|
* Creates bidirectional map functions (`from` and `to`) from a set of {@link ModelFieldConversions}.
|
|
@@ -17381,21 +17508,21 @@ function _unsupported_iterable_to_array$5(o, minLen) {
|
|
|
17381
17508
|
*/ function makeModelMapFunctions(fields) {
|
|
17382
17509
|
var keys = filterKeyValueTuples(fields);
|
|
17383
17510
|
var conversionsByKey = keys.map(function(param) {
|
|
17384
|
-
var _param = _sliced_to_array$
|
|
17511
|
+
var _param = _sliced_to_array$4(param, 2), key = _param[0], field = _param[1];
|
|
17385
17512
|
return [
|
|
17386
17513
|
key,
|
|
17387
17514
|
field
|
|
17388
17515
|
];
|
|
17389
17516
|
});
|
|
17390
17517
|
var fromConversions = conversionsByKey.map(function(param) {
|
|
17391
|
-
var _param = _sliced_to_array$
|
|
17518
|
+
var _param = _sliced_to_array$4(param, 2), key = _param[0], configs = _param[1];
|
|
17392
17519
|
return [
|
|
17393
17520
|
key,
|
|
17394
17521
|
configs.from
|
|
17395
17522
|
];
|
|
17396
17523
|
});
|
|
17397
17524
|
var toConversions = conversionsByKey.map(function(param) {
|
|
17398
|
-
var _param = _sliced_to_array$
|
|
17525
|
+
var _param = _sliced_to_array$4(param, 2), key = _param[0], configs = _param[1];
|
|
17399
17526
|
return [
|
|
17400
17527
|
key,
|
|
17401
17528
|
configs.to
|
|
@@ -17431,7 +17558,7 @@ function _unsupported_iterable_to_array$5(o, minLen) {
|
|
|
17431
17558
|
});
|
|
17432
17559
|
}
|
|
17433
17560
|
targetFields.forEach(function(param) {
|
|
17434
|
-
var _param = _sliced_to_array$
|
|
17561
|
+
var _param = _sliced_to_array$4(param, 2), key = _param[0], convert = _param[1];
|
|
17435
17562
|
return target[key] = convert(input[key]);
|
|
17436
17563
|
});
|
|
17437
17564
|
}
|
|
@@ -17686,13 +17813,13 @@ function _object_spread$2(target) {
|
|
|
17686
17813
|
return config ? "".concat(config.host, ":").concat(config.port) : config;
|
|
17687
17814
|
}
|
|
17688
17815
|
|
|
17689
|
-
function _array_like_to_array$
|
|
17816
|
+
function _array_like_to_array$5(arr, len) {
|
|
17690
17817
|
if (len == null || len > arr.length) len = arr.length;
|
|
17691
17818
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
17692
17819
|
return arr2;
|
|
17693
17820
|
}
|
|
17694
17821
|
function _array_without_holes$2(arr) {
|
|
17695
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
17822
|
+
if (Array.isArray(arr)) return _array_like_to_array$5(arr);
|
|
17696
17823
|
}
|
|
17697
17824
|
function _class_call_check$5(instance, Constructor) {
|
|
17698
17825
|
if (!(instance instanceof Constructor)) {
|
|
@@ -17719,15 +17846,15 @@ function _non_iterable_spread$2() {
|
|
|
17719
17846
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17720
17847
|
}
|
|
17721
17848
|
function _to_consumable_array$2(arr) {
|
|
17722
|
-
return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$
|
|
17849
|
+
return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$5(arr) || _non_iterable_spread$2();
|
|
17723
17850
|
}
|
|
17724
|
-
function _unsupported_iterable_to_array$
|
|
17851
|
+
function _unsupported_iterable_to_array$5(o, minLen) {
|
|
17725
17852
|
if (!o) return;
|
|
17726
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
17853
|
+
if (typeof o === "string") return _array_like_to_array$5(o, minLen);
|
|
17727
17854
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
17728
17855
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
17729
17856
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
17730
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
17857
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$5(o, minLen);
|
|
17731
17858
|
}
|
|
17732
17859
|
/**
|
|
17733
17860
|
* Type of relation change to perform on a collection of models.
|
|
@@ -18218,12 +18345,12 @@ function handlerFactory(readKey, options) {
|
|
|
18218
18345
|
};
|
|
18219
18346
|
}
|
|
18220
18347
|
|
|
18221
|
-
function _array_like_to_array$
|
|
18348
|
+
function _array_like_to_array$4(arr, len) {
|
|
18222
18349
|
if (len == null || len > arr.length) len = arr.length;
|
|
18223
18350
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
18224
18351
|
return arr2;
|
|
18225
18352
|
}
|
|
18226
|
-
function _array_with_holes$
|
|
18353
|
+
function _array_with_holes$3(arr) {
|
|
18227
18354
|
if (Array.isArray(arr)) return arr;
|
|
18228
18355
|
}
|
|
18229
18356
|
function _class_call_check$4(instance, Constructor) {
|
|
@@ -18257,7 +18384,7 @@ function _define_property$5(obj, key, value) {
|
|
|
18257
18384
|
}
|
|
18258
18385
|
return obj;
|
|
18259
18386
|
}
|
|
18260
|
-
function _iterable_to_array_limit$
|
|
18387
|
+
function _iterable_to_array_limit$3(arr, i) {
|
|
18261
18388
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
18262
18389
|
if (_i == null) return;
|
|
18263
18390
|
var _arr = [];
|
|
@@ -18281,19 +18408,19 @@ function _iterable_to_array_limit$2(arr, i) {
|
|
|
18281
18408
|
}
|
|
18282
18409
|
return _arr;
|
|
18283
18410
|
}
|
|
18284
|
-
function _non_iterable_rest$
|
|
18411
|
+
function _non_iterable_rest$3() {
|
|
18285
18412
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
18286
18413
|
}
|
|
18287
|
-
function _sliced_to_array$
|
|
18288
|
-
return _array_with_holes$
|
|
18414
|
+
function _sliced_to_array$3(arr, i) {
|
|
18415
|
+
return _array_with_holes$3(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$4(arr, i) || _non_iterable_rest$3();
|
|
18289
18416
|
}
|
|
18290
|
-
function _unsupported_iterable_to_array$
|
|
18417
|
+
function _unsupported_iterable_to_array$4(o, minLen) {
|
|
18291
18418
|
if (!o) return;
|
|
18292
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
18419
|
+
if (typeof o === "string") return _array_like_to_array$4(o, minLen);
|
|
18293
18420
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
18294
18421
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
18295
18422
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
18296
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
18423
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4(o, minLen);
|
|
18297
18424
|
}
|
|
18298
18425
|
/**
|
|
18299
18426
|
* TypedServiceRegistry implementation.
|
|
@@ -18344,7 +18471,7 @@ function _unsupported_iterable_to_array$3(o, minLen) {
|
|
|
18344
18471
|
var instance = new TypedServiceRegistryInstance();
|
|
18345
18472
|
forEachKeyValue(config.services, {
|
|
18346
18473
|
forEach: function forEach(param) {
|
|
18347
|
-
var _param = _sliced_to_array$
|
|
18474
|
+
var _param = _sliced_to_array$3(param, 2), key = _param[0], service = _param[1];
|
|
18348
18475
|
instance.registerServiceForType(key, service);
|
|
18349
18476
|
}
|
|
18350
18477
|
});
|
|
@@ -18741,6 +18868,120 @@ function _is_native_reflect_construct() {
|
|
|
18741
18868
|
}
|
|
18742
18869
|
();
|
|
18743
18870
|
|
|
18871
|
+
function _array_like_to_array$3(arr, len) {
|
|
18872
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
18873
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
18874
|
+
return arr2;
|
|
18875
|
+
}
|
|
18876
|
+
function _array_with_holes$2(arr) {
|
|
18877
|
+
if (Array.isArray(arr)) return arr;
|
|
18878
|
+
}
|
|
18879
|
+
function _iterable_to_array_limit$2(arr, i) {
|
|
18880
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
18881
|
+
if (_i == null) return;
|
|
18882
|
+
var _arr = [];
|
|
18883
|
+
var _n = true;
|
|
18884
|
+
var _d = false;
|
|
18885
|
+
var _s, _e;
|
|
18886
|
+
try {
|
|
18887
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
18888
|
+
_arr.push(_s.value);
|
|
18889
|
+
if (i && _arr.length === i) break;
|
|
18890
|
+
}
|
|
18891
|
+
} catch (err) {
|
|
18892
|
+
_d = true;
|
|
18893
|
+
_e = err;
|
|
18894
|
+
} finally{
|
|
18895
|
+
try {
|
|
18896
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
18897
|
+
} finally{
|
|
18898
|
+
if (_d) throw _e;
|
|
18899
|
+
}
|
|
18900
|
+
}
|
|
18901
|
+
return _arr;
|
|
18902
|
+
}
|
|
18903
|
+
function _non_iterable_rest$2() {
|
|
18904
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
18905
|
+
}
|
|
18906
|
+
function _sliced_to_array$2(arr, i) {
|
|
18907
|
+
return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$3(arr, i) || _non_iterable_rest$2();
|
|
18908
|
+
}
|
|
18909
|
+
function _unsupported_iterable_to_array$3(o, minLen) {
|
|
18910
|
+
if (!o) return;
|
|
18911
|
+
if (typeof o === "string") return _array_like_to_array$3(o, minLen);
|
|
18912
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
18913
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
18914
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
18915
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3(o, minLen);
|
|
18916
|
+
}
|
|
18917
|
+
/**
|
|
18918
|
+
* Pure string-case converters that do not pull in the
|
|
18919
|
+
* {@link change-case-all} dependency.
|
|
18920
|
+
*
|
|
18921
|
+
* Use these for the common SCREAMING_SNAKE ↔ camelCase conversions
|
|
18922
|
+
* (constant-name ↔ symbol-name flips) without paying for the full
|
|
18923
|
+
* change-case bundle. For arbitrary case detection / round-tripping
|
|
18924
|
+
* across mixed inputs, prefer the dedicated package.
|
|
18925
|
+
*/ /**
|
|
18926
|
+
* Converts a SCREAMING_SNAKE_CASE string into camelCase.
|
|
18927
|
+
*
|
|
18928
|
+
* Empty segments (e.g. leading underscores in `_USER_ID`) are skipped.
|
|
18929
|
+
*
|
|
18930
|
+
* @param input The SCREAMING_SNAKE_CASE input.
|
|
18931
|
+
* @returns The camelCase form.
|
|
18932
|
+
*/ function screamingSnakeToCamelCase(input) {
|
|
18933
|
+
var parts = input.split('_').filter(function(p) {
|
|
18934
|
+
return p.length > 0;
|
|
18935
|
+
});
|
|
18936
|
+
var result = '';
|
|
18937
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
18938
|
+
try {
|
|
18939
|
+
for(var _iterator = parts.entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
18940
|
+
var _step_value = _sliced_to_array$2(_step.value, 2), i = _step_value[0], part_ = _step_value[1];
|
|
18941
|
+
var part = part_.toLowerCase();
|
|
18942
|
+
if (i === 0) {
|
|
18943
|
+
result += part;
|
|
18944
|
+
} else {
|
|
18945
|
+
result += part.charAt(0).toUpperCase() + part.slice(1);
|
|
18946
|
+
}
|
|
18947
|
+
}
|
|
18948
|
+
} catch (err) {
|
|
18949
|
+
_didIteratorError = true;
|
|
18950
|
+
_iteratorError = err;
|
|
18951
|
+
} finally{
|
|
18952
|
+
try {
|
|
18953
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
18954
|
+
_iterator.return();
|
|
18955
|
+
}
|
|
18956
|
+
} finally{
|
|
18957
|
+
if (_didIteratorError) {
|
|
18958
|
+
throw _iteratorError;
|
|
18959
|
+
}
|
|
18960
|
+
}
|
|
18961
|
+
}
|
|
18962
|
+
return result;
|
|
18963
|
+
}
|
|
18964
|
+
/**
|
|
18965
|
+
* Converts a camelCase or PascalCase string into SCREAMING_SNAKE_CASE.
|
|
18966
|
+
*
|
|
18967
|
+
* Each upper-case character (other than the first) is preceded by an
|
|
18968
|
+
* underscore, then the whole result is upper-cased.
|
|
18969
|
+
*
|
|
18970
|
+
* @param input The camelCase / PascalCase input.
|
|
18971
|
+
* @returns The SCREAMING_SNAKE_CASE form.
|
|
18972
|
+
*/ function camelOrPascalToScreamingSnake(input) {
|
|
18973
|
+
var out = '';
|
|
18974
|
+
for(var i = 0; i < input.length; i += 1){
|
|
18975
|
+
var ch = input.charAt(i);
|
|
18976
|
+
var isUpper = ch >= 'A' && ch <= 'Z';
|
|
18977
|
+
if (isUpper && i > 0) {
|
|
18978
|
+
out += '_';
|
|
18979
|
+
}
|
|
18980
|
+
out += ch.toUpperCase();
|
|
18981
|
+
}
|
|
18982
|
+
return out;
|
|
18983
|
+
}
|
|
18984
|
+
|
|
18744
18985
|
function _array_like_to_array$2(arr, len) {
|
|
18745
18986
|
if (len == null || len > arr.length) len = arr.length;
|
|
18746
18987
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -19074,6 +19315,55 @@ function mimeTypeForFileExtension(extension) {
|
|
|
19074
19315
|
cleanString: cleanString
|
|
19075
19316
|
};
|
|
19076
19317
|
}
|
|
19318
|
+
/**
|
|
19319
|
+
* Removes the given suffix from the input string when present, or
|
|
19320
|
+
* returns `undefined` when the input does not end with the suffix.
|
|
19321
|
+
*
|
|
19322
|
+
* Use this when callers want to detect whether the suffix was present
|
|
19323
|
+
* (vs. {@link removeFirstMatchingSuffix}, which silently passes the
|
|
19324
|
+
* input through).
|
|
19325
|
+
*
|
|
19326
|
+
* @param input The string to trim.
|
|
19327
|
+
* @param suffix The suffix to remove.
|
|
19328
|
+
* @returns The input without the suffix, or `undefined` when the input
|
|
19329
|
+
* does not end with the suffix.
|
|
19330
|
+
*/ function removeSuffix(input, suffix) {
|
|
19331
|
+
if (!input.endsWith(suffix)) return undefined;
|
|
19332
|
+
return input.slice(0, -suffix.length);
|
|
19333
|
+
}
|
|
19334
|
+
/**
|
|
19335
|
+
* Removes the first matching suffix from the input string. Returns the
|
|
19336
|
+
* input unchanged when none of the suffixes match.
|
|
19337
|
+
*
|
|
19338
|
+
* @param input The string to trim.
|
|
19339
|
+
* @param suffixes The suffixes to try in order.
|
|
19340
|
+
* @returns The input with the first matching suffix removed, or the
|
|
19341
|
+
* input unchanged when no suffix matches.
|
|
19342
|
+
*/ function removeFirstMatchingSuffix(input, suffixes) {
|
|
19343
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
19344
|
+
try {
|
|
19345
|
+
for(var _iterator = suffixes[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
19346
|
+
var suffix = _step.value;
|
|
19347
|
+
if (input.endsWith(suffix)) {
|
|
19348
|
+
return input.slice(0, -suffix.length);
|
|
19349
|
+
}
|
|
19350
|
+
}
|
|
19351
|
+
} catch (err) {
|
|
19352
|
+
_didIteratorError = true;
|
|
19353
|
+
_iteratorError = err;
|
|
19354
|
+
} finally{
|
|
19355
|
+
try {
|
|
19356
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
19357
|
+
_iterator.return();
|
|
19358
|
+
}
|
|
19359
|
+
} finally{
|
|
19360
|
+
if (_didIteratorError) {
|
|
19361
|
+
throw _iteratorError;
|
|
19362
|
+
}
|
|
19363
|
+
}
|
|
19364
|
+
}
|
|
19365
|
+
return input;
|
|
19366
|
+
}
|
|
19077
19367
|
/**
|
|
19078
19368
|
* A pre-configured instance that can be used to add/remove dash prefixes from a string.
|
|
19079
19369
|
*/ var DASH_CHARACTER_PREFIX_INSTANCE = characterPrefixSuffixInstance({
|
|
@@ -19773,7 +20063,9 @@ function invertMaybeBoolean(x) {
|
|
|
19773
20063
|
* ```
|
|
19774
20064
|
*/ function reduceBooleansFn(reduceFn, emptyArrayValue) {
|
|
19775
20065
|
var rFn = function rFn(array) {
|
|
19776
|
-
return Boolean(array.reduce(
|
|
20066
|
+
return Boolean(array.reduce(function(a, b) {
|
|
20067
|
+
return reduceFn(a, b);
|
|
20068
|
+
}));
|
|
19777
20069
|
};
|
|
19778
20070
|
return emptyArrayValue != null ? function(array) {
|
|
19779
20071
|
return array.length ? rFn(array) : emptyArrayValue;
|
|
@@ -20613,4 +20905,4 @@ function _ts_generator(thisArg, body) {
|
|
|
20613
20905
|
return result;
|
|
20614
20906
|
}
|
|
20615
20907
|
|
|
20616
|
-
export { ALL_DOUBLE_SLASHES_REGEX, ALL_SLASHES_REGEX, ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX, ALL_TIME_UNITS, APPLICATION_FILE_EXTENSION_TO_MIME_TYPES_RECORD, APPLICATION_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD, ASSERTION_ERROR_CODE, ASSERTION_HANDLER, AUTH_ADMIN_ROLE, AUTH_ONBOARDED_ROLE, AUTH_ROLE_CLAIMS_DEFAULT_CLAIM_VALUE, AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE, AUTH_TOS_SIGNED_ROLE, AUTH_USER_ROLE, AbstractUniqueModel, Assert, AssertMax, AssertMin, AssertionError, AssertionIssueHandler, BooleanStringKeyArrayUtility, CATCH_ALL_HANDLE_RESULT_KEY, COMMA_JOINER, COMMA_STRING_SPLIT_JOIN, CSV_MIME_TYPE, CUT_VALUE_TO_ZERO_PRECISION, DASH_CHARACTER_PREFIX_INSTANCE, DATE_NOW_VALUE, DAYS_IN_WEEK, DAYS_IN_YEAR, DEFAULT_CUT_STRING_END_TEXT, DEFAULT_ENCRYPTED_FIELD_PREFIX, DEFAULT_LAT_LNG_STRING_VALUE, DEFAULT_RANDOM_EMAIL_FACTORY_CONFIG, DEFAULT_RANDOM_PHONE_NUMBER_FACTORY_CONFIG, DEFAULT_READABLE_ERROR_CODE, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTERS, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTER_REPLACEMENT, DEFAULT_SLASH_PATH_PATH_MATCHER_NON_MATCHING_FILL_VALUE, DEFAULT_UNKNOWN_MODEL_TYPE_STRING, DOCUMENT_FILE_EXTENSION_TO_MIME_TYPES_RECORD, DOCUMENT_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD, DOCX_MIME_TYPE, DOLLAR_AMOUNT_PRECISION, DOLLAR_AMOUNT_STRING_REGEX, DataDoesNotExistError, DataIsExpiredError, Day, DestroyFunctionObject, E164PHONE_NUMBER_REGEX, E164PHONE_NUMBER_WITH_EXTENSION_REGEX, E164PHONE_NUMBER_WITH_OPTIONAL_EXTENSION_REGEX, ExploreTreeVisitNodeDecision, FINAL_PAGE, FIRST_PAGE, FRACTIONAL_HOURS_PRECISION_FUNCTION, FlattenTreeAddNodeDecision, FullStorageObject, GIF_MIME_TYPE, HAS_PORT_NUMBER_REGEX, HAS_WEBSITE_DOMAIN_NAME_REGEX, HEIF_MIME_TYPE, HEX_PATTERN, HOURS_IN_DAY, HTML_MIME_TYPE, HTTP_OR_HTTPS_REGEX, HashSet, IMAGE_FILE_EXTENSION_TO_MIME_TYPES_RECORD, IMAGE_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD, ISO8601_DAY_STRING_REGEX, ISO8601_DAY_STRING_START_REGEX, ISO_8601_DATE_STRING_REGEX, JPEG_MIME_TYPE, JSON_MIME_TYPE, KeyValueTypleValueFilter, LAT_LNG_PATTERN, LAT_LNG_PATTERN_MAX_PRECISION, LAT_LONG_100KM_PRECISION, LAT_LONG_100M_PRECISION, LAT_LONG_10CM_PRECISION, LAT_LONG_10KM_PRECISION, LAT_LONG_10M_PRECISION, LAT_LONG_1CM_PRECISION, LAT_LONG_1KM_PRECISION, LAT_LONG_1MM_PRECISION, LAT_LONG_1M_PRECISION, LAT_LONG_GRAINS_OF_SAND_PRECISION, LEADING_SLASHES_REGEX, MAP_IDENTITY, MARKDOWN_MIME_TYPE, MAX_BITWISE_SET_SIZE, MAX_LATITUDE_VALUE, MAX_LONGITUDE_VALUE, MINUTES_IN_DAY, MINUTES_IN_HOUR, MINUTE_OF_DAY_MAXMIMUM, MINUTE_OF_DAY_MINIUMUM, MIN_LATITUDE_VALUE, MIN_LONGITUDE_VALUE, MONTH_DAY_SLASH_DATE_STRING_REGEX, MS_IN_DAY, MS_IN_HOUR, MS_IN_MINUTE, MS_IN_SECOND, MS_IN_WEEK, MemoryStorageInstance, ModelRelationUtility, NOOP_MODIFIER, NUMBER_STRING_DENCODER_64, NUMBER_STRING_DENCODER_64_DEFAULT_NEGATIVE_PREFIX, NUMBER_STRING_DENCODER_64_DIGITS, PDF_MIME_TYPE, PHONE_EXTENSION_NUMBER_REGEX, PNG_MIME_TYPE, PRIMATIVE_KEY_DENCODER_VALUE, PropertyDescriptorUtility, RAW_MIME_TYPE, REGEX_SPECIAL_CHARACTERS, REGEX_SPECIAL_CHARACTERS_SET, RelationChange, SECONDS_IN_HOUR, SECONDS_IN_MINUTE, SHARED_MEMORY_STORAGE, SLASH_PATH_FILE_TYPE_SEPARATOR, SLASH_PATH_SEPARATOR, SORT_VALUE_EQUAL, SORT_VALUE_GREATER_THAN, SORT_VALUE_LESS_THAN, SPACE_JOINER, SPACE_STRING_SPLIT_JOIN, SPLIT_STRING_TREE_NODE_ROOT_VALUE, SVG_MIME_TYPE, ServerErrorResponse, SetDeltaChange, SimpleStorageObject, SlashPathPathMatcherPartCode, StorageObject, StorageObjectUtility, StoredDataError, SyncState, TIFF_MIME_TYPE, TIME_UNIT_LABEL_MAP, TIME_UNIT_SHORT_LABEL_MAP, TOTAL_LATITUDE_RANGE, TOTAL_LONGITUDE_RANGE, TOTAL_SPAN_OF_LONGITUDE, TRAILING_FILE_TYPE_SEPARATORS_REGEX, TRAILING_SLASHES_REGEX, TXT_MIME_TYPE, TimeAM, TimerCancelledError, TypedServiceRegistryInstance, UNLOADED_PAGE, UNSET_INDEX_NUMBER, US_STATE_CODE_STRING_REGEX, UTC_DATE_STRING_REGEX, UTC_TIMEZONE_STRING, UTF_8_START_CHARACTER, UTF_PRIVATE_USAGE_AREA_START, UnauthorizedServerErrorResponse, WEBP_MIME_TYPE, WEBSITE_TLD_DETECTION_REGEX, WEB_PROTOCOL_PREFIX_REGEX, XLSX_MIME_TYPE, XML_MIME_TYPE, YAML_MIME_TYPE, ZIP_CODE_STRING_REGEX, ZIP_FILE_MIME_TYPE, addHttpToUrl, addLatLngPoints, addMilliseconds, addModifiers, addPlusPrefixToNumber, addPrefix, addPrefixFunction, addSuffix, addSuffixFunction, addToSet, addToSetCopy, addToSplitStringTree, addTrailingSlash, allFalsyOrEmptyKeys, allIndexesInIndexRange, allKeyValueTuples, allMaybeSoKeys, allNonUndefinedKeys, allObjectsAreEqual, allValuesAreMaybeNot, allValuesAreNotMaybe, allowValueOnceFilter, applicationFileExtensionForMimeType, applyBestFit, applySplitStringTreeWithMultipleValues, applyToMultipleFields, approximateTimerEndDate, areEqualContext, areEqualPOJOValues, areEqualPOJOValuesUsingPojoFilter, arrayContainsDuplicateValue, arrayContentsDiffer, arrayDecision, arrayDecisionFunction, arrayFactory, arrayInputFactory, arrayToLowercase, arrayToMap, arrayToObject, arrayToUppercase, asArray, asDecisionFunction, asGetter, asIndexRangeCheckFunctionConfig, asIterable, asMinuteOfDay, asNonEmptyArray, asNumber, asObjectCopyFactory, asPromise, asSet, assignValuesToPOJO, assignValuesToPOJOFunction, authClaims, authRoleClaimsService, authRolesSetHasRoles, baseWebsiteUrl, batch, batchCalc, bitwiseObjectDencoder, bitwiseObjectEncoder, bitwiseObjectdecoder, bitwiseSetDecoder, bitwiseSetDencoder, booleanFactory, booleanKeyArrayUtility, boundNumber, boundNumberFunction, boundToRectangle, breadthFirstExploreTreeTraversalFactoryFunction, bufferHasValidPdfMarkings, build, cachedGetter, calculateExpirationDate, capLatValue, capitalizeFirstLetter, caseInsensitiveFilterByIndexOfDecisionFactory, caseInsensitiveString, catchAllHandlerKey, chainMapFunction, chainMapSameFunctions, characterPrefixSuffixInstance, checkAnyHaveExpired, checkAtleastOneNotExpired, coerceToEmailParticipants, combineMaps, compareEqualityWithValueFromItemsFunction, compareEqualityWithValueFromItemsFunctionFactory, compareFnOrder, compareWithMappedValuesFunction, computeNextFractionalHour, computeNextFreeIndexFunction, computeNextFreeIndexOnSortedValuesFunction, concatArrays, concatArraysUnique, containsAllStringsAnyCase, containsAllValues, containsAnyStringAnyCase, containsAnyValue, containsAnyValueFromSet, containsNoValueFromSet, containsNoneOfValue, containsStringAnyCase, convertEmailParticipantStringToParticipant, convertMaybeToArray, convertMaybeToNonEmptyArray, convertParticipantToEmailParticipantString, convertTimeDuration, convertToArray, copyArray, copyField, copyLatLngBound, copyLatLngPoint, copyObject, copySetAndDo, countAllInNestedArray, countPOJOKeys, countPOJOKeysFunction, cronExpressionRepeatingEveryNMinutes, cssClassesSet, cssTokenVar, cssVariableVar, cutString, cutStringFunction, cutToPrecision, cutValueToInteger, cutValueToPrecision, cutValueToPrecisionFunction, dateFromDateOrTimeMillisecondsNumber, dateFromDateOrTimeSecondsNumber, dateFromLogicalDate, dateFromMinuteOfDay, dateOrMillisecondsToDate, dateToHoursAndMinutes, dateToMinuteOfDay, dayOfWeek, daysOfWeekArray, daysOfWeekFromEnabledDays, daysOfWeekNameFunction, daysOfWeekNameMap, decisionFunction, decodeHashedValues, decodeHashedValuesWithDecodeMap, decodeModelKeyTypePair, decodeRadix36Number, defaultFilterFromPOJOFunctionNoCopy, defaultForwardFunctionFactory, defaultLatLngPoint, defaultLatLngString, dencodeBitwiseSet, depthFirstExploreTreeTraversalFactoryFunction, diffLatLngBoundPoints, diffLatLngPoints, documentFileExtensionForMimeType, dollarAmountString, dollarAmountStringWithUnitFunction, e164PhoneNumberExtensionPair, e164PhoneNumberFromE164PhoneNumberExtensionPair, enabledDaysFromDaysOfWeek, encodeBitwiseSet, encodeModelKeyTypePair, encodeRadix36Number, errorMessageContainsString, errorMessageContainsStringFunction, escapeStringCharactersFunction, escapeStringForRegex, excludeValues, excludeValuesFromArray, excludeValuesFromSet, existsInIterable, expandArrayMapTuples, expandArrayValueTuples, expandFlattenTreeFunction, expandIndexSet, expandSlashPathPathMatcherPartToDecisionFunctions, expandTreeFunction, expandTrees, expirationDetails, exploreTreeFunction, exponentialPromiseRateLimiter, extendLatLngBound, fileExtensionForMimeType, filterAndMapFunction, filterEmptyArrayValues, filterEmptyPojoValues, filterFalsyAndEmptyValues, filterFromIterable, filterFromPOJO, filterFromPOJOFunction, filterKeyValueTupleFunction, filterKeyValueTuples, filterKeyValueTuplesFunction, filterKeyValueTuplesInputToFilter, filterKeysOnPOJOFunction, filterMaybeArrayFunction, filterMaybeArrayValues, filterNullAndUndefinedValues, filterOnlyUndefinedValues, filterTuplesOnPOJOFunction, filterUndefinedValues, filterUniqueByIndex, filterUniqueCaseInsensitiveStrings, filterUniqueFunction, filterUniqueTransform, filterUniqueValues, filterValuesByDistance, filterValuesByDistanceNoOrder, filterValuesToSet, filterValuesUsingSet, filteredPage, findAllCharacterOccurences, findAllCharacterOccurencesFunction, findBest, findBestIndexMatch, findBestIndexMatchFunction, findBestIndexSetPair, findBestSplitStringTreeChildMatch, findBestSplitStringTreeChildMatchPath, findBestSplitStringTreeMatch, findBestSplitStringTreeMatchPath, findFirstCharacterOccurence, findInIterable, findIndexOfFirstDuplicateValue, findItemsByIndex, findNext, findPOJOKeys, findPOJOKeysFunction, findStringsRegexString, findToIndexSet, findValuesFrom, firstAndLastCharacterOccurrence, firstAndLastValue, firstValue, firstValueFromIterable, fitToIndexRangeFunction, fixExtraQueryParameters, fixMultiSlashesInSlashPath, flattenArray, flattenArrayOrValueArray, flattenArrayToSet, flattenArrayUnique, flattenArrayUniqueCaseInsensitiveStrings, flattenObject, flattenTree, flattenTreeToArray, flattenTreeToArrayFunction, flattenWhitespace, forEachInIterable, forEachKeyValue, forEachKeyValueOnPOJOFunction, forEachWithArray, forwardFunction, fractionalHoursToMinutes, generateIfDoesNotExist, getArrayNextIndex, getBaseLog, getDayOffset, getDayTomorrow, getDayYesterday, getDaysOfWeekNames, getFunctionType, getNextDay, getNextPageNumber, getOverlappingRectangle, getPageNumber, getPreviousDay, getValueFromGetter, groupValues, handlerBindAccessor, handlerConfigurerFactory, handlerFactory, handlerMappedSetFunction, handlerMappedSetFunctionFactory, handlerSetFunction, hasDifferentStringsNoCase, hasDifferentValues, hasHttpPrefix, hasNonNullValue, hasPortNumber, hasSameTimezone, hasSameValues, hasValueFunction, hasValueOrNotEmpty, hasValueOrNotEmptyObject, hasWebsiteDomain, hasWebsiteTopLevelDomain, hashSetForIndexed, hourToFractionalHour, hoursAndMinutesToString, hoursAndMinutesToTimeUnit, idBatchFactory, imageFileExtensionForMimeType, incrementingNumberFactory, indexDeltaGroup, indexDeltaGroupFunction, indexRange, indexRangeCheckFunction, indexRangeCheckReaderFunction, indexRangeForArray, indexRangeOverlapsIndexRange, indexRangeOverlapsIndexRangeFunction, indexRangeReaderPairFactory, indexRefMap, indexedValuesArrayAccessorFactory, insertIntoBooleanKeyArray, invertBooleanReturnFunction, invertDecision, invertFilter, invertMaybeBoolean, invertStringRecord, isAllowed, isClassLikeType, isCompleteUnitedStatesAddress, isConsideredUtcTimezoneString, isDate, isDefaultLatLngPoint, isDefaultLatLngPointValue, isDefaultReadableError, isDefinedAndNotFalse, isDollarAmountString, isE164PhoneNumber, isE164PhoneNumberWithExtension, isEmptyIterable, isEqualContext, isEqualDate, isEqualToValueDecisionFunction, isEvenNumber, isFalseBooleanKeyArray, isFinalPage, isGetter, isHex, isHexWithByteLength, isISO8601DateString, isISO8601DayString, isISO8601DayStringStart, isInAllowedDaysOfWeekSet, isInNumberBoundFunction, isInSetDecisionFunction, isIndexNumberInIndexRange, isIndexNumberInIndexRangeFunction, isIndexRangeInIndexRange, isIndexRangeInIndexRangeFunction, isIterable, isKnownHttpWebsiteProtocol, isLatLngBound, isLatLngBoundWithinLatLngBound, isLatLngPoint, isLatLngPointWithinLatLngBound, isLatLngString, isLogicalDateStringCode, isMapIdentityFunction, isMaybeNot, isMaybeNotOrTrue, isMaybeSo, isMinuteOfDay, isModelKey, isMonthDaySlashDate, isNonClassFunction, isNotFalse, isNotNullOrEmptyString, isNumberDivisibleBy, isObjectWithConstructor, isOddNumber, isPast, isPdfPasswordProtected, isPromise, isPromiseLike, isSameLatLngBound, isSameLatLngPoint, isSameNonNullValue, isSameVector, isSelectedDecisionFunctionFactory, isSelectedIndexDecisionFunction, isServerError, isSlashPathFile, isSlashPathFolder, isSlashPathTypedFile, isStandardInternetAccessibleWebsiteUrl, isStringOrTrue, isThrottled, isTrueBooleanKeyArray, isUTCDateString, isUnderThreshold, isUniqueKeyedFunction, isUsStateCodeString, isValidLatLngPoint, isValidLatitude, isValidLongitude, isValidNumberBound, isValidPhoneExtensionNumber, isValidSlashPath, isWebsiteUrl, isWebsiteUrlWithPrefix, isWithinLatLngBoundFunction, isolateSlashPath, isolateSlashPathFunction, isolateWebsitePathFunction, itemCountForBatchIndex, iterableToArray, iterableToMap, iterableToSet, iterablesAreSetEquivalent, iterate, iterateFilteredPages, joinHostAndPort, joinStrings, joinStringsInstance, joinStringsWithCommas, joinStringsWithSpaces, keepCharactersAfterFirstCharacterOccurence, keepCharactersAfterFirstCharacterOccurenceFunction, keepFromSetCopy, keepValuesFromArray, keepValuesFromSet, keyValueMapFactory, labeledValueMap, lastValue, latLngBound, latLngBoundCenterPoint, latLngBoundEastBound, latLngBoundFromInput, latLngBoundFullyWrapsMap, latLngBoundFunction, latLngBoundNorthBound, latLngBoundNorthEastPoint, latLngBoundNorthWestPoint, latLngBoundOverlapsLatLngBound, latLngBoundSouthBound, latLngBoundSouthEastPoint, latLngBoundSouthWestPoint, latLngBoundStrictlyWrapsMap, latLngBoundTuple, latLngBoundTupleFunction, latLngBoundWestBound, latLngBoundWrapsMap, latLngDataPointFunction, latLngPoint, latLngPointFromString, latLngPointFunction, latLngPointPrecisionFunction, latLngString, latLngStringFunction, latLngTuple, latLngTupleFunction, limitArray, lonLatTuple, lowercaseFirstLetter, mailToUrlString, makeBestFit, makeCopyModelFieldFunction, makeDateMonthForMonthOfYear, makeDefaultNonConcurrentTaskKeyFactory, makeGetter, makeHandler, makeHashDecodeMap, makeKeyPairs, makeModelConversionFieldValuesFunction, makeModelMap, makeModelMapFunctions, makeMultiModelKeyMap, makeTimer, makeValuesGroupMap, makeWithFactory, makeWithFactoryInput, mapArrayFunction, mapFunctionOutput, mapFunctionOutputPair, mapGetter, mapGetterFactory, mapIdentityFunction, mapIterable, mapKeysIntersectionObjectToArray, mapMaybeFunction, mapObjectKeysFunction, mapObjectKeysToLowercase, mapObjectMap, mapObjectMapFunction, mapObjectToTargetObject, mapPromiseOrValue, mapToObject, mapToTuples, mapValuesToSet, mappedUseAsyncFunction, mappedUseFunction, mapsHaveSameKeys, maybeMergeModelModifiers, maybeMergeModifiers, maybeModifierMapToFunction, maybeSet, mergeArrays, mergeArraysIntoArray, mergeFilterFunctions, mergeModifiers, mergeObjects, mergeObjectsFunction, mergeSlashPaths, messageFromError, millisecondsToMinutes, millisecondsToMinutesAndSeconds, millisecondsToTimeUnit, mimeTypeForApplicationFileExtension, mimeTypeForDocumentFileExtension, mimeTypeForFileExtension, mimeTypeForImageFileExtension, minAndMaxFunction, minAndMaxIndex, minAndMaxIndexFunction, minAndMaxIndexItemsFunction, minAndMaxNumber, minutesToFractionalHours, minutesToHoursAndMinutes, modelFieldConversions, modelFieldMapFunction, modelFieldMapFunctions, modelTypeDataPairFactory, modifier, modifierMapToFunction, modifyModelMapFunction, modifyModelMapFunctions, monthDaySlashDateToDateString, monthOfYearFromDate, monthOfYearFromDateMonth, monthOfYearFromUTCDate, multiKeyValueMapFactory, multiValueMapBuilder, neMostLatLngPoint, nearestDivisibleValues, numberStringDencoder, numberStringDencoderDecodedNumberValueFunction, numberStringDencoderEncodedStringValueFunction, numberStringDencoderFunction, objectCopyFactory, objectDeltaArrayCompressor, objectFieldEqualityChecker, objectFlatMergeMatrix, objectHasKey, objectHasKeys, objectHasNoKeys, objectIsEmpty, objectKeyEqualityComparatorFunction, objectKeysEqualityComparatorFunction, objectMergeMatrix, objectToMap, overlapsLatLngBoundFunction, overrideInObject, overrideInObjectFunctionFactory, padStartFunction, pairGroupValues, parseISO8601DayStringToUTCDate, partialServerError, passThrough, percentNumberFromDecimal, percentNumberToDecimal, performAsyncTask, performAsyncTasks, performBatchLoop, performMakeLoop, performTaskCountLoop, performTaskLoop, performTasksFromFactoryInParallelFunction, performTasksInParallel, performTasksInParallelFunction, pickOneRandomly, poll, primativeKeyDencoder, primativeKeyDencoderMap, primativeKeyStringDencoder, primativeValuesDelta, promiseReference, protectedFactory, pushArrayItemsIntoArray, pushElementOntoArray, pushItemOrArrayItemsIntoArray, randomArrayFactory, randomArrayIndex, randomBoolean, randomEmailFactory, randomFromArrayFactory, randomLatLngFactory, randomLatLngFromCenterFactory, randomNumber, randomNumberFactory, randomPhoneNumberFactory, randomPickFactory, range, rangedIndexedValuesArrayAccessorFactory, rangedIndexedValuesArrayAccessorInfoFactory, readBooleanKeySafetyWrap, readDomainFromEmailAddress, readDomainsFromEmailAddresses, readEmailDomainFromUrlOrEmailAddress, readIndexNumber, readKeysFrom, readKeysFromFilterUniqueFunctionAdditionalKeys, readKeysFromFilterUniqueFunctionAdditionalKeysInput, readKeysFunction, readKeysSetFrom, readKeysSetFunction, readKeysToMap, readModelKey, readModelKeyFromObject, readModelKeys, readModelKeysFromObjects, readMultipleKeysToMap, readPortNumber, readUniqueModelKey, readWebsiteProtocol, readableError, readableStreamToBase64, readableStreamToBuffer, readableStreamToStringFunction, rectangleOverlapsRectangle, reduceBooleansFn, reduceBooleansWithAnd, reduceBooleansWithAndFn, reduceBooleansWithOr, reduceBooleansWithOrFn, reduceNumbers, reduceNumbersFn, reduceNumbersWithAdd, reduceNumbersWithAddFn, reduceNumbersWithMax, reduceNumbersWithMaxFn, reduceNumbersWithMin, reduceNumbersWithMinFn, removeByKeyFromBooleanKeyArray, removeCharactersAfterFirstCharacterOccurence, removeCharactersAfterFirstCharacterOccurenceFunction, removeExtensionFromPhoneNumber, removeFromBooleanKeyArray, removeFromSet, removeFromSetCopy, removeHttpFromUrl, removeModelsWithKey, removeModelsWithSameKey, removeModifiers, removeTrailingFileTypeSeparators, removeTrailingSlashes, removeValuesAtIndexesFromArrayCopy, removeWebProtocolPrefix, repeatString, replaceCharacterAtIndexIf, replaceCharacterAtIndexWith, replaceInvalidFilePathTypeSeparatorsInSlashPath, replaceInvalidFilePathTypeSeparatorsInSlashPathFunction, replaceLastCharacterIf, replaceLastCharacterIfIsFunction, replaceMultipleFilePathsInSlashPath, replaceStringsFunction, requireModelKey, resetPeriodPromiseRateLimiter, restoreOrder, restoreOrderWithValues, reverseCompareFn, roundNumberToStepFunction, roundNumberUpToStep, roundToPrecision, roundToPrecisionFunction, roundingFunction, runAsyncTaskForValue, runAsyncTasksForValues, runNamedAsyncTasks, runNamedAsyncTasksFunction, safeCompareEquality, safeEqualityComparatorFunction, safeFindBestIndexMatch, searchStringFilterFunction, secondsToMinutesAndSeconds, selectiveFieldEncryptor, separateValues, separateValuesToSets, sequentialIncrementingNumberStringModelIdFactory, serverError, setContainsAllValues, setContainsAnyValue, setContainsNoneOfValue, setDeltaChangeKeys, setDeltaFunction, setHasValueFunction, setIncludes, setIncludesFunction, setKeysOnMap, setWebProtocolPrefix, setsAreEquivalent, simpleSortValuesFunctionWithSortRef, simplifyWhitespace, slashPathDetails, slashPathDirectoryTree, slashPathFactory, slashPathFolder, slashPathFolderFactory, slashPathInvalidError, slashPathName, slashPathParts, slashPathPathMatcher, slashPathPathMatcherConfig, slashPathStartTypeFactory, slashPathSubPathMatcher, slashPathType, slashPathValidationFactory, sliceIndexRangeFunction, sliceStringFunction, sortAscendingIndexNumberRefFunction, sortByIndexAscendingCompareFunction, sortByIndexRangeAscendingCompareFunction, sortByLabelFunction, sortByNumberFunction, sortByStringFunction, sortCompareNumberFunction, sortNumbersAscendingFunction, sortValues, sortValuesFunctionOrMapIdentityWithSortRef, sortValuesFunctionWithSortRef, spaceSeparatedCssClasses, splitCommaSeparatedString, splitCommaSeparatedStringToSet, splitFront, splitJoinNameString, splitJoinRemainder, splitStringAtFirstCharacterOccurence, splitStringAtFirstCharacterOccurenceFunction, splitStringAtIndex, splitStringTreeFactory, startOfDayForSystemDateInUTC, startOfDayForUTCDateInUTC, stepsFromIndex, stepsFromIndexFunction, stringCharactersToIndexRecord, stringContains, stringFactoryFromFactory, stringFromDateFactory, stringFromTimeFactory, stringSplitJoinInstance, stringToBoolean, stringToLowercaseFunction, stringToUppercaseFunction, stringTrimFunction, sumOfIntegersBetween, swMostLatLngPoint, symmetricDifferenceArray, symmetricDifferenceArrayBetweenSets, symmetricDifferenceWithModels, takeFront, takeLast, takeValuesFromIterable, telUrlString, telUrlStringForE164PhoneNumberPair, terminatingFactoryFromArray, throwKeyIsRequired, timeDurationToHoursAndMinutes, timeDurationToMilliseconds, timePeriodCounter, timeUnitToMilliseconds, toAbsoluteSlashPathStartType, toCaseInsensitiveStringArray, toMinuteOfDay, toModelFieldConversions, toModelMapFunctions, toReadableError, toRelativeSlashPathStartType, toggleInSet, toggleInSetCopy, toggleTimerRunning, transformNumberFunction, transformNumberFunctionConfig, transformStringFunction, transformStringFunctionConfig, transformStrings, trimArray, trueOrFalseString, tryConvertToE164PhoneNumber, tryWithPromiseFactoriesFunction, typedServiceRegistry, unique, uniqueCaseInsensitiveStrings, uniqueCaseInsensitiveStringsSet, uniqueKeys, uniqueModels, unitedStatesAddressString, unixDateTimeSecondsNumberForNow, unixDateTimeSecondsNumberFromDate, unixDateTimeSecondsNumberFromDateOrTimeNumber, unixDateTimeSecondsNumberToDate, unixMillisecondsNumberToDate, updateMaybeValue, urlWithoutParameters, useAsync, useCallback, useContextFunction, useIterableOrValue, useModelOrKey, usePromise, useValue, validLatLngPoint, validLatLngPointFunction, valueAtIndex, valuesAreBothNullishOrEquivalent, valuesFromPOJO, valuesFromPOJOFunction, vectorMinimumSizeResizeFunction, vectorsAreEqual, waitForMs, websiteDomainAndPathPair, websiteDomainAndPathPairFromWebsiteUrl, websitePathAndQueryPair, websitePathFromWebsiteDomainAndPath, websitePathFromWebsiteUrl, websiteUrlDetails, websiteUrlFromPaths, wrapIndexRangeFunction, wrapLatLngPoint, wrapLngValue, wrapMapFunctionOutput, wrapNumberFunction, wrapTuples, wrapUseAsyncFunction, wrapUseFunction };
|
|
20908
|
+
export { ALL_DOUBLE_SLASHES_REGEX, ALL_SLASHES_REGEX, ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX, ALL_TIME_UNITS, APPLICATION_FILE_EXTENSION_TO_MIME_TYPES_RECORD, APPLICATION_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD, ASSERTION_ERROR_CODE, ASSERTION_HANDLER, AUTH_ADMIN_ROLE, AUTH_ONBOARDED_ROLE, AUTH_ROLE_CLAIMS_DEFAULT_CLAIM_VALUE, AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE, AUTH_TOS_SIGNED_ROLE, AUTH_USER_ROLE, AbstractUniqueModel, Assert, AssertMax, AssertMin, AssertionError, AssertionIssueHandler, BooleanStringKeyArrayUtility, CATCH_ALL_HANDLE_RESULT_KEY, COMMA_JOINER, COMMA_STRING_SPLIT_JOIN, CSV_MIME_TYPE, CUT_VALUE_TO_ZERO_PRECISION, DASH_CHARACTER_PREFIX_INSTANCE, DATE_NOW_VALUE, DAYS_IN_WEEK, DAYS_IN_YEAR, DEFAULT_CUT_STRING_END_TEXT, DEFAULT_ENCRYPTED_FIELD_PREFIX, DEFAULT_LAT_LNG_STRING_VALUE, DEFAULT_RANDOM_EMAIL_FACTORY_CONFIG, DEFAULT_RANDOM_PHONE_NUMBER_FACTORY_CONFIG, DEFAULT_READABLE_ERROR_CODE, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTERS, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTER_REPLACEMENT, DEFAULT_SLASH_PATH_PATH_MATCHER_NON_MATCHING_FILL_VALUE, DEFAULT_UNKNOWN_MODEL_TYPE_STRING, DOCUMENT_FILE_EXTENSION_TO_MIME_TYPES_RECORD, DOCUMENT_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD, DOCX_MIME_TYPE, DOLLAR_AMOUNT_PRECISION, DOLLAR_AMOUNT_STRING_REGEX, DataDoesNotExistError, DataIsExpiredError, Day, DestroyFunctionObject, E164PHONE_NUMBER_REGEX, E164PHONE_NUMBER_WITH_EXTENSION_REGEX, E164PHONE_NUMBER_WITH_OPTIONAL_EXTENSION_REGEX, ExploreTreeVisitNodeDecision, FINAL_PAGE, FIRST_PAGE, FRACTIONAL_HOURS_PRECISION_FUNCTION, FlattenTreeAddNodeDecision, FullStorageObject, GIF_MIME_TYPE, HAS_PORT_NUMBER_REGEX, HAS_WEBSITE_DOMAIN_NAME_REGEX, HEIF_MIME_TYPE, HEX_PATTERN, HOURS_IN_DAY, HTML_MIME_TYPE, HTTP_OR_HTTPS_REGEX, HashSet, IMAGE_FILE_EXTENSION_TO_MIME_TYPES_RECORD, IMAGE_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD, ISO8601_DAY_STRING_REGEX, ISO8601_DAY_STRING_START_REGEX, ISO_8601_DATE_STRING_REGEX, JPEG_MIME_TYPE, JSON_MIME_TYPE, KeyValueTypleValueFilter, LAT_LNG_PATTERN, LAT_LNG_PATTERN_MAX_PRECISION, LAT_LONG_100KM_PRECISION, LAT_LONG_100M_PRECISION, LAT_LONG_10CM_PRECISION, LAT_LONG_10KM_PRECISION, LAT_LONG_10M_PRECISION, LAT_LONG_1CM_PRECISION, LAT_LONG_1KM_PRECISION, LAT_LONG_1MM_PRECISION, LAT_LONG_1M_PRECISION, LAT_LONG_GRAINS_OF_SAND_PRECISION, LEADING_SLASHES_REGEX, MAP_IDENTITY, MARKDOWN_MIME_TYPE, MAX_BITWISE_SET_SIZE, MAX_LATITUDE_VALUE, MAX_LONGITUDE_VALUE, MINUTES_IN_DAY, MINUTES_IN_HOUR, MINUTE_OF_DAY_MAXMIMUM, MINUTE_OF_DAY_MINIUMUM, MIN_LATITUDE_VALUE, MIN_LONGITUDE_VALUE, MONTH_DAY_SLASH_DATE_STRING_REGEX, MS_IN_DAY, MS_IN_HOUR, MS_IN_MINUTE, MS_IN_SECOND, MS_IN_WEEK, MemoryStorageInstance, ModelRelationUtility, NOOP_MODIFIER, NUMBER_STRING_DENCODER_64, NUMBER_STRING_DENCODER_64_DEFAULT_NEGATIVE_PREFIX, NUMBER_STRING_DENCODER_64_DIGITS, PDF_MIME_TYPE, PHONE_EXTENSION_NUMBER_REGEX, PNG_MIME_TYPE, PRIMATIVE_KEY_DENCODER_VALUE, PropertyDescriptorUtility, RAW_MIME_TYPE, REGEX_SPECIAL_CHARACTERS, REGEX_SPECIAL_CHARACTERS_SET, RelationChange, SECONDS_IN_HOUR, SECONDS_IN_MINUTE, SHARED_MEMORY_STORAGE, SLASH_PATH_FILE_TYPE_SEPARATOR, SLASH_PATH_SEPARATOR, SORT_VALUE_EQUAL, SORT_VALUE_GREATER_THAN, SORT_VALUE_LESS_THAN, SPACE_JOINER, SPACE_STRING_SPLIT_JOIN, SPLIT_STRING_TREE_NODE_ROOT_VALUE, SVG_MIME_TYPE, ServerErrorResponse, SetDeltaChange, SimpleStorageObject, SlashPathPathMatcherPartCode, StorageObject, StorageObjectUtility, StoredDataError, SyncState, TIFF_MIME_TYPE, TIME_UNIT_LABEL_MAP, TIME_UNIT_SHORT_LABEL_MAP, TOTAL_LATITUDE_RANGE, TOTAL_LONGITUDE_RANGE, TOTAL_SPAN_OF_LONGITUDE, TRAILING_FILE_TYPE_SEPARATORS_REGEX, TRAILING_SLASHES_REGEX, TXT_MIME_TYPE, TimeAM, TimerCancelledError, TypedServiceRegistryInstance, UNLOADED_PAGE, UNSET_INDEX_NUMBER, US_STATE_CODE_STRING_REGEX, UTC_DATE_STRING_REGEX, UTC_TIMEZONE_STRING, UTF_8_START_CHARACTER, UTF_PRIVATE_USAGE_AREA_START, UnauthorizedServerErrorResponse, WEBP_MIME_TYPE, WEBSITE_TLD_DETECTION_REGEX, WEB_PROTOCOL_PREFIX_REGEX, XLSX_MIME_TYPE, XML_MIME_TYPE, YAML_MIME_TYPE, ZIP_CODE_STRING_REGEX, ZIP_FILE_MIME_TYPE, addHttpToUrl, addLatLngPoints, addMilliseconds, addModifiers, addPlusPrefixToNumber, addPrefix, addPrefixFunction, addSuffix, addSuffixFunction, addToSet, addToSetCopy, addToSplitStringTree, addTrailingSlash, allFalsyOrEmptyKeys, allIndexesInIndexRange, allKeyValueTuples, allMaybeSoKeys, allNonUndefinedKeys, allObjectsAreEqual, allValuesAreMaybeNot, allValuesAreNotMaybe, allowValueOnceFilter, applicationFileExtensionForMimeType, applyBestFit, applySplitStringTreeWithMultipleValues, applyToMultipleFields, approximateTimerEndDate, areEqualContext, areEqualPOJOValues, areEqualPOJOValuesUsingPojoFilter, arrayContainsDuplicateValue, arrayContentsDiffer, arrayDecision, arrayDecisionFunction, arrayFactory, arrayInputFactory, arrayToLowercase, arrayToMap, arrayToObject, arrayToUppercase, asArray, asDecisionFunction, asGetter, asIndexRangeCheckFunctionConfig, asIterable, asMinuteOfDay, asNonEmptyArray, asNumber, asObjectCopyFactory, asPromise, asSet, assignValuesToPOJO, assignValuesToPOJOFunction, authClaims, authRoleClaimsService, authRolesSetHasRoles, baseWebsiteUrl, batch, batchCalc, bitwiseObjectDencoder, bitwiseObjectEncoder, bitwiseObjectdecoder, bitwiseSetDecoder, bitwiseSetDencoder, booleanFactory, booleanKeyArrayUtility, boundNumber, boundNumberFunction, boundToRectangle, breadthFirstExploreTreeTraversalFactoryFunction, bufferHasValidPdfMarkings, build, cachedGetter, calculateExpirationDate, camelOrPascalToScreamingSnake, capLatValue, capitalizeFirstLetter, caseInsensitiveFilterByIndexOfDecisionFactory, caseInsensitiveString, catchAllHandlerKey, chainMapFunction, chainMapSameFunctions, characterPrefixSuffixInstance, checkAnyHaveExpired, checkAtleastOneNotExpired, coerceToEmailParticipants, combineMaps, compareEqualityWithValueFromItemsFunction, compareEqualityWithValueFromItemsFunctionFactory, compareFnOrder, compareWithMappedValuesFunction, computeNextFractionalHour, computeNextFreeIndexFunction, computeNextFreeIndexOnSortedValuesFunction, concatArrays, concatArraysUnique, containsAllStringsAnyCase, containsAllValues, containsAnyStringAnyCase, containsAnyValue, containsAnyValueFromSet, containsNoValueFromSet, containsNoneOfValue, containsStringAnyCase, convertEmailParticipantStringToParticipant, convertMaybeToArray, convertMaybeToNonEmptyArray, convertParticipantToEmailParticipantString, convertTimeDuration, convertToArray, copyArray, copyField, copyLatLngBound, copyLatLngPoint, copyObject, copySetAndDo, countAllInNestedArray, countPOJOKeys, countPOJOKeysFunction, cronExpressionRepeatingEveryNMinutes, cssClassesSet, cssTokenVar, cssVariableVar, cutString, cutStringFunction, cutToPrecision, cutValueToInteger, cutValueToPrecision, cutValueToPrecisionFunction, dateFromDateOrTimeMillisecondsNumber, dateFromDateOrTimeSecondsNumber, dateFromLogicalDate, dateFromMinuteOfDay, dateOrMillisecondsToDate, dateToHoursAndMinutes, dateToMinuteOfDay, dayOfWeek, daysOfWeekArray, daysOfWeekFromEnabledDays, daysOfWeekNameFunction, daysOfWeekNameMap, decisionFunction, decodeHashedValues, decodeHashedValuesWithDecodeMap, decodeModelKeyTypePair, decodeRadix36Number, defaultFilterFromPOJOFunctionNoCopy, defaultForwardFunctionFactory, defaultLatLngPoint, defaultLatLngString, dencodeBitwiseSet, depthFirstExploreTreeTraversalFactoryFunction, diffLatLngBoundPoints, diffLatLngPoints, documentFileExtensionForMimeType, dollarAmountString, dollarAmountStringWithUnitFunction, e164PhoneNumberExtensionPair, e164PhoneNumberFromE164PhoneNumberExtensionPair, enabledDaysFromDaysOfWeek, encodeBitwiseSet, encodeModelKeyTypePair, encodeRadix36Number, errorMessageContainsString, errorMessageContainsStringFunction, escapeStringCharactersFunction, escapeStringForRegex, excludeValues, excludeValuesFromArray, excludeValuesFromSet, existsInIterable, expandArrayMapTuples, expandArrayValueTuples, expandFlattenTreeFunction, expandIndexSet, expandSlashPathPathMatcherPartToDecisionFunctions, expandTreeFunction, expandTrees, expirationDetails, exploreTreeFunction, exponentialPromiseRateLimiter, extendLatLngBound, fileExtensionForMimeType, filterAndMapFunction, filterEmptyArrayValues, filterEmptyPojoValues, filterFalsyAndEmptyValues, filterFromIterable, filterFromPOJO, filterFromPOJOFunction, filterKeyValueTupleFunction, filterKeyValueTuples, filterKeyValueTuplesFunction, filterKeyValueTuplesInputToFilter, filterKeysOnPOJOFunction, filterMaybeArrayFunction, filterMaybeArrayValues, filterNullAndUndefinedValues, filterOnlyUndefinedValues, filterTuplesOnPOJOFunction, filterUndefinedValues, filterUniqueByIndex, filterUniqueCaseInsensitiveStrings, filterUniqueFunction, filterUniqueTransform, filterUniqueValues, filterValuesByDistance, filterValuesByDistanceNoOrder, filterValuesToSet, filterValuesUsingSet, filteredPage, findAllCharacterOccurences, findAllCharacterOccurencesFunction, findBest, findBestIndexMatch, findBestIndexMatchFunction, findBestIndexSetPair, findBestSplitStringTreeChildMatch, findBestSplitStringTreeChildMatchPath, findBestSplitStringTreeMatch, findBestSplitStringTreeMatchPath, findFirstCharacterOccurence, findInIterable, findIndexOfFirstDuplicateValue, findItemsByIndex, findNext, findPOJOKeys, findPOJOKeysFunction, findStringsRegexString, findToIndexSet, findValuesFrom, firstAndLastCharacterOccurrence, firstAndLastValue, firstValue, firstValueFromIterable, fitToIndexRangeFunction, fixExtraQueryParameters, fixMultiSlashesInSlashPath, flattenArray, flattenArrayOrValueArray, flattenArrayToSet, flattenArrayUnique, flattenArrayUniqueCaseInsensitiveStrings, flattenObject, flattenTree, flattenTreeToArray, flattenTreeToArrayFunction, flattenWhitespace, forEachInIterable, forEachKeyValue, forEachKeyValueOnPOJOFunction, forEachWithArray, forwardFunction, fractionalHoursToMinutes, generateIfDoesNotExist, getArrayNextIndex, getBaseLog, getDayOffset, getDayTomorrow, getDayYesterday, getDaysOfWeekNames, getFunctionType, getNextDay, getNextPageNumber, getOverlappingRectangle, getPageNumber, getPreviousDay, getValueFromGetter, groupValues, handlerBindAccessor, handlerConfigurerFactory, handlerFactory, handlerMappedSetFunction, handlerMappedSetFunctionFactory, handlerSetFunction, hasDifferentStringsNoCase, hasDifferentValues, hasHttpPrefix, hasNonNullValue, hasPortNumber, hasSameTimezone, hasSameValues, hasValueFunction, hasValueOrNotEmpty, hasValueOrNotEmptyObject, hasWebsiteDomain, hasWebsiteTopLevelDomain, hashSetForIndexed, hourToFractionalHour, hoursAndMinutesToString, hoursAndMinutesToTimeUnit, idBatchFactory, imageFileExtensionForMimeType, incrementingNumberFactory, indexDeltaGroup, indexDeltaGroupFunction, indexRange, indexRangeCheckFunction, indexRangeCheckReaderFunction, indexRangeForArray, indexRangeOverlapsIndexRange, indexRangeOverlapsIndexRangeFunction, indexRangeReaderPairFactory, indexRefMap, indexedValuesArrayAccessorFactory, insertIntoBooleanKeyArray, invertBooleanReturnFunction, invertDecision, invertFilter, invertMaybeBoolean, invertStringRecord, isAllowed, isClassLikeType, isCompleteUnitedStatesAddress, isConsideredUtcTimezoneString, isDate, isDefaultLatLngPoint, isDefaultLatLngPointValue, isDefaultReadableError, isDefinedAndNotFalse, isDollarAmountString, isE164PhoneNumber, isE164PhoneNumberWithExtension, isEmptyIterable, isEqualContext, isEqualDate, isEqualToValueDecisionFunction, isEvenNumber, isFalseBooleanKeyArray, isFinalPage, isGetter, isHex, isHexWithByteLength, isISO8601DateString, isISO8601DayString, isISO8601DayStringStart, isInAllowedDaysOfWeekSet, isInNumberBoundFunction, isInSetDecisionFunction, isIndexNumberInIndexRange, isIndexNumberInIndexRangeFunction, isIndexRangeInIndexRange, isIndexRangeInIndexRangeFunction, isIterable, isKnownHttpWebsiteProtocol, isLatLngBound, isLatLngBoundWithinLatLngBound, isLatLngPoint, isLatLngPointWithinLatLngBound, isLatLngString, isLogicalDateStringCode, isMapIdentityFunction, isMaybeNot, isMaybeNotOrTrue, isMaybeSo, isMinuteOfDay, isModelKey, isMonthDaySlashDate, isNonClassFunction, isNotFalse, isNotNullOrEmptyString, isNumberDivisibleBy, isObjectWithConstructor, isOddNumber, isPast, isPdfPasswordProtected, isPromise, isPromiseLike, isSameLatLngBound, isSameLatLngPoint, isSameNonNullValue, isSameVector, isSelectedDecisionFunctionFactory, isSelectedIndexDecisionFunction, isServerError, isSlashPathFile, isSlashPathFolder, isSlashPathTypedFile, isStandardInternetAccessibleWebsiteUrl, isStringOrTrue, isThrottled, isTrueBooleanKeyArray, isUTCDateString, isUnderThreshold, isUniqueKeyedFunction, isUsStateCodeString, isValidLatLngPoint, isValidLatitude, isValidLongitude, isValidNumberBound, isValidPhoneExtensionNumber, isValidSlashPath, isWebsiteUrl, isWebsiteUrlWithPrefix, isWithinLatLngBoundFunction, isolateSlashPath, isolateSlashPathFunction, isolateWebsitePathFunction, itemCountForBatchIndex, iterableToArray, iterableToMap, iterableToSet, iterablesAreSetEquivalent, iterate, iterateFilteredPages, joinHostAndPort, joinStrings, joinStringsInstance, joinStringsWithCommas, joinStringsWithSpaces, keepCharactersAfterFirstCharacterOccurence, keepCharactersAfterFirstCharacterOccurenceFunction, keepFromSetCopy, keepValuesFromArray, keepValuesFromSet, keyValueMapFactory, labeledValueMap, lastValue, latLngBound, latLngBoundCenterPoint, latLngBoundEastBound, latLngBoundFromInput, latLngBoundFullyWrapsMap, latLngBoundFunction, latLngBoundNorthBound, latLngBoundNorthEastPoint, latLngBoundNorthWestPoint, latLngBoundOverlapsLatLngBound, latLngBoundSouthBound, latLngBoundSouthEastPoint, latLngBoundSouthWestPoint, latLngBoundStrictlyWrapsMap, latLngBoundTuple, latLngBoundTupleFunction, latLngBoundWestBound, latLngBoundWrapsMap, latLngDataPointFunction, latLngPoint, latLngPointFromString, latLngPointFunction, latLngPointPrecisionFunction, latLngString, latLngStringFunction, latLngTuple, latLngTupleFunction, limitArray, lonLatTuple, lowercaseFirstLetter, mailToUrlString, makeBestFit, makeCopyModelFieldFunction, makeDateMonthForMonthOfYear, makeDefaultNonConcurrentTaskKeyFactory, makeGetter, makeHandler, makeHashDecodeMap, makeKeyPairs, makeModelConversionFieldValuesFunction, makeModelMap, makeModelMapFunctions, makeMultiModelKeyMap, makeTimer, makeValuesGroupMap, makeWithFactory, makeWithFactoryInput, mapArrayFunction, mapFunctionOutput, mapFunctionOutputPair, mapGetter, mapGetterFactory, mapIdentityFunction, mapIterable, mapKeysIntersectionObjectToArray, mapMaybeFunction, mapObjectKeysFunction, mapObjectKeysToLowercase, mapObjectMap, mapObjectMapFunction, mapObjectToTargetObject, mapPromiseOrValue, mapToObject, mapToTuples, mapValuesToSet, mappedUseAsyncFunction, mappedUseFunction, mapsHaveSameKeys, maybeMergeModelModifiers, maybeMergeModifiers, maybeModifierMapToFunction, maybeSet, mergeArrays, mergeArraysIntoArray, mergeFilterFunctions, mergeModifiers, mergeObjects, mergeObjectsFunction, mergeSlashPaths, messageFromError, millisecondsToMinutes, millisecondsToMinutesAndSeconds, millisecondsToTimeUnit, mimeTypeForApplicationFileExtension, mimeTypeForDocumentFileExtension, mimeTypeForFileExtension, mimeTypeForImageFileExtension, minAndMaxFunction, minAndMaxIndex, minAndMaxIndexFunction, minAndMaxIndexItemsFunction, minAndMaxNumber, minutesToFractionalHours, minutesToHoursAndMinutes, modelFieldConversions, modelFieldMapFunction, modelFieldMapFunctions, modelTypeDataPairFactory, modifier, modifierMapToFunction, modifyModelMapFunction, modifyModelMapFunctions, monthDaySlashDateToDateString, monthOfYearFromDate, monthOfYearFromDateMonth, monthOfYearFromUTCDate, multiKeyValueMapFactory, multiValueMapBuilder, neMostLatLngPoint, nearestDivisibleValues, numberStringDencoder, numberStringDencoderDecodedNumberValueFunction, numberStringDencoderEncodedStringValueFunction, numberStringDencoderFunction, objectCopyFactory, objectDeltaArrayCompressor, objectFieldEqualityChecker, objectFlatMergeMatrix, objectHasKey, objectHasKeys, objectHasNoKeys, objectIsEmpty, objectKeyEqualityComparatorFunction, objectKeysEqualityComparatorFunction, objectMergeMatrix, objectToMap, overlapsLatLngBoundFunction, overrideInObject, overrideInObjectFunctionFactory, padStartFunction, pairGroupValues, parseISO8601DayStringToUTCDate, partialServerError, MAP_IDENTITY as passThrough, percentNumberFromDecimal, percentNumberToDecimal, performAsyncTask, performAsyncTasks, performBatchLoop, performMakeLoop, performTaskCountLoop, performTaskLoop, performTasksFromFactoryInParallelFunction, performTasksInParallel, performTasksInParallelFunction, pickOneRandomly, poll, primativeKeyDencoder, primativeKeyDencoderMap, primativeKeyStringDencoder, primativeValuesDelta, promiseReference, protectedFactory, pushArrayItemsIntoArray, pushElementOntoArray, pushItemOrArrayItemsIntoArray, randomArrayFactory, randomArrayIndex, randomBoolean, randomEmailFactory, randomFromArrayFactory, randomLatLngFactory, randomLatLngFromCenterFactory, randomNumber, randomNumberFactory, randomPhoneNumberFactory, randomPickFactory, range, rangedIndexedValuesArrayAccessorFactory, rangedIndexedValuesArrayAccessorInfoFactory, readBooleanKeySafetyWrap, readDomainFromEmailAddress, readDomainsFromEmailAddresses, readEmailDomainFromUrlOrEmailAddress, readIndexNumber, readKeysFrom, readKeysFromFilterUniqueFunctionAdditionalKeys, readKeysFromFilterUniqueFunctionAdditionalKeysInput, readKeysFunction, readKeysSetFrom, readKeysSetFunction, readKeysToMap, readModelKey, readModelKeyFromObject, readModelKeys, readModelKeysFromObjects, readMultipleKeysToMap, readPortNumber, readUniqueModelKey, readWebsiteProtocol, readableError, readableStreamToBase64, readableStreamToBuffer, readableStreamToStringFunction, rectangleOverlapsRectangle, reduceBooleansFn, reduceBooleansWithAnd, reduceBooleansWithAndFn, reduceBooleansWithOr, reduceBooleansWithOrFn, reduceNumbers, reduceNumbersFn, reduceNumbersWithAdd, reduceNumbersWithAddFn, reduceNumbersWithMax, reduceNumbersWithMaxFn, reduceNumbersWithMin, reduceNumbersWithMinFn, removeByKeyFromBooleanKeyArray, removeCharactersAfterFirstCharacterOccurence, removeCharactersAfterFirstCharacterOccurenceFunction, removeExtensionFromPhoneNumber, removeFirstMatchingSuffix, removeFromBooleanKeyArray, removeFromSet, removeFromSetCopy, removeHttpFromUrl, removeModelsWithKey, removeModelsWithSameKey, removeModifiers, removeSuffix, removeTrailingFileTypeSeparators, removeTrailingSlashes, removeValuesAtIndexesFromArrayCopy, removeWebProtocolPrefix, repeatString, replaceCharacterAtIndexIf, replaceCharacterAtIndexWith, replaceInvalidFilePathTypeSeparatorsInSlashPath, replaceInvalidFilePathTypeSeparatorsInSlashPathFunction, replaceLastCharacterIf, replaceLastCharacterIfIsFunction, replaceMultipleFilePathsInSlashPath, replaceStringsFunction, requireModelKey, resetPeriodPromiseRateLimiter, restoreOrder, restoreOrderWithValues, reverseCompareFn, roundNumberToStepFunction, roundNumberUpToStep, roundToPrecision, roundToPrecisionFunction, roundingFunction, runAsyncTaskForValue, runAsyncTasksForValues, runNamedAsyncTasks, runNamedAsyncTasksFunction, safeCompareEquality, safeEqualityComparatorFunction, safeFindBestIndexMatch, screamingSnakeToCamelCase, searchStringFilterFunction, secondsToMinutesAndSeconds, selectiveFieldEncryptor, separateValues, separateValuesToSets, sequentialIncrementingNumberStringModelIdFactory, serverError, setContainsAllValues, setContainsAnyValue, setContainsNoneOfValue, setDeltaChangeKeys, setDeltaFunction, setHasValueFunction, setIncludes, setIncludesFunction, setKeysOnMap, setWebProtocolPrefix, setsAreEquivalent, simpleSortValuesFunctionWithSortRef, simplifyWhitespace, slashPathDetails, slashPathDirectoryTree, slashPathFactory, slashPathFolder, slashPathFolderFactory, slashPathInvalidError, slashPathName, slashPathParts, slashPathPathMatcher, slashPathPathMatcherConfig, slashPathStartTypeFactory, slashPathSubPathMatcher, slashPathType, slashPathValidationFactory, sliceIndexRangeFunction, sliceStringFunction, sortAscendingIndexNumberRefFunction, sortByIndexAscendingCompareFunction, sortByIndexRangeAscendingCompareFunction, sortByLabelFunction, sortByNumberFunction, sortByStringFunction, sortCompareNumberFunction, sortNumbersAscendingFunction, sortValues, sortValuesFunctionOrMapIdentityWithSortRef, sortValuesFunctionWithSortRef, spaceSeparatedCssClasses, splitCommaSeparatedString, splitCommaSeparatedStringToSet, splitFront, splitJoinNameString, splitJoinRemainder, splitStringAtFirstCharacterOccurence, splitStringAtFirstCharacterOccurenceFunction, splitStringAtIndex, splitStringTreeFactory, startOfDayForSystemDateInUTC, startOfDayForUTCDateInUTC, stepsFromIndex, stepsFromIndexFunction, stringCharactersToIndexRecord, stringContains, stringFactoryFromFactory, stringFromDateFactory, stringFromTimeFactory, stringSplitJoinInstance, stringToBoolean, stringToLowercaseFunction, stringToUppercaseFunction, stringTrimFunction, stripObject, stripObjectFunction, sumOfIntegersBetween, swMostLatLngPoint, symmetricDifferenceArray, symmetricDifferenceArrayBetweenSets, symmetricDifferenceWithModels, takeFront, takeLast, takeValuesFromIterable, telUrlString, telUrlStringForE164PhoneNumberPair, terminatingFactoryFromArray, throwKeyIsRequired, timeDurationToHoursAndMinutes, timeDurationToMilliseconds, timePeriodCounter, timeUnitToMilliseconds, toAbsoluteSlashPathStartType, toCaseInsensitiveStringArray, toMinuteOfDay, toModelFieldConversions, toModelMapFunctions, toReadableError, toRelativeSlashPathStartType, toggleInSet, toggleInSetCopy, toggleTimerRunning, transformNumberFunction, transformNumberFunctionConfig, transformStringFunction, transformStringFunctionConfig, transformStrings, trimArray, trueOrFalseString, tryConvertToE164PhoneNumber, tryWithPromiseFactoriesFunction, typedServiceRegistry, unique, uniqueCaseInsensitiveStrings, uniqueCaseInsensitiveStringsSet, uniqueKeys, uniqueModels, unitedStatesAddressString, unixDateTimeSecondsNumberForNow, unixDateTimeSecondsNumberFromDate, unixDateTimeSecondsNumberFromDateOrTimeNumber, unixDateTimeSecondsNumberToDate, unixMillisecondsNumberToDate, updateMaybeValue, urlWithoutParameters, useAsync, useCallback, useContextFunction, useIterableOrValue, useModelOrKey, usePromise, useValue, validLatLngPoint, validLatLngPointFunction, valueAtIndex, valuesAreBothNullishOrEquivalent, valuesFromPOJO, valuesFromPOJOFunction, vectorMinimumSizeResizeFunction, vectorsAreEqual, waitForMs, websiteDomainAndPathPair, websiteDomainAndPathPairFromWebsiteUrl, websitePathAndQueryPair, websitePathFromWebsiteDomainAndPath, websitePathFromWebsiteUrl, websiteUrlDetails, websiteUrlFromPaths, wrapIndexRangeFunction, wrapLatLngPoint, wrapLngValue, wrapMapFunctionOutput, wrapNumberFunction, wrapTuples, wrapUseAsyncFunction, wrapUseFunction };
|