@magda/auth-api-client 3.0.1 → 3.0.2-alpha.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/dist/index.js +308 -164
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -11,6 +11,9 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
11
11
|
return require.apply(this, arguments);
|
|
12
12
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
13
|
});
|
|
14
|
+
var __esm = (fn, res) => function __init() {
|
|
15
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
16
|
+
};
|
|
14
17
|
var __commonJS = (cb, mod) => function __require2() {
|
|
15
18
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
16
19
|
};
|
|
@@ -31,10 +34,23 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
34
|
mod
|
|
32
35
|
));
|
|
33
36
|
|
|
37
|
+
// ../cjs-shim.js
|
|
38
|
+
import { createRequire } from "module";
|
|
39
|
+
import path from "path";
|
|
40
|
+
import url from "url";
|
|
41
|
+
var init_cjs_shim = __esm({
|
|
42
|
+
"../cjs-shim.js"() {
|
|
43
|
+
globalThis.require = createRequire(import.meta.url);
|
|
44
|
+
globalThis.__filename = url.fileURLToPath(import.meta.url);
|
|
45
|
+
globalThis.__dirname = path.dirname(__filename);
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
|
|
34
49
|
// ../../node_modules/cross-fetch/node_modules/webidl-conversions/lib/index.js
|
|
35
50
|
var require_lib = __commonJS({
|
|
36
51
|
"../../node_modules/cross-fetch/node_modules/webidl-conversions/lib/index.js"(exports, module) {
|
|
37
52
|
"use strict";
|
|
53
|
+
init_cjs_shim();
|
|
38
54
|
var conversions = {};
|
|
39
55
|
module.exports = conversions;
|
|
40
56
|
function sign(x) {
|
|
@@ -192,6 +208,7 @@ var require_lib = __commonJS({
|
|
|
192
208
|
var require_utils = __commonJS({
|
|
193
209
|
"../../node_modules/cross-fetch/node_modules/whatwg-url/lib/utils.js"(exports, module) {
|
|
194
210
|
"use strict";
|
|
211
|
+
init_cjs_shim();
|
|
195
212
|
module.exports.mixin = function mixin(target, source) {
|
|
196
213
|
const keys = Object.getOwnPropertyNames(source);
|
|
197
214
|
for (let i = 0; i < keys.length; ++i) {
|
|
@@ -220,6 +237,7 @@ var require_mappingTable = __commonJS({
|
|
|
220
237
|
var require_tr46 = __commonJS({
|
|
221
238
|
"../../node_modules/cross-fetch/node_modules/tr46/index.js"(exports, module) {
|
|
222
239
|
"use strict";
|
|
240
|
+
init_cjs_shim();
|
|
223
241
|
var punycode = __require("punycode");
|
|
224
242
|
var mappingTable = require_mappingTable();
|
|
225
243
|
var PROCESSING_OPTIONS = {
|
|
@@ -382,6 +400,7 @@ var require_tr46 = __commonJS({
|
|
|
382
400
|
var require_url_state_machine = __commonJS({
|
|
383
401
|
"../../node_modules/cross-fetch/node_modules/whatwg-url/lib/url-state-machine.js"(exports, module) {
|
|
384
402
|
"use strict";
|
|
403
|
+
init_cjs_shim();
|
|
385
404
|
var punycode = __require("punycode");
|
|
386
405
|
var tr46 = require_tr46();
|
|
387
406
|
var specialSchemes = {
|
|
@@ -438,8 +457,8 @@ var require_url_state_machine = __commonJS({
|
|
|
438
457
|
function isSpecialScheme(scheme) {
|
|
439
458
|
return specialSchemes[scheme] !== void 0;
|
|
440
459
|
}
|
|
441
|
-
function isSpecial(
|
|
442
|
-
return isSpecialScheme(
|
|
460
|
+
function isSpecial(url2) {
|
|
461
|
+
return isSpecialScheme(url2.scheme);
|
|
443
462
|
}
|
|
444
463
|
function defaultPort(scheme) {
|
|
445
464
|
return specialSchemes[scheme];
|
|
@@ -761,38 +780,38 @@ var require_url_state_machine = __commonJS({
|
|
|
761
780
|
}
|
|
762
781
|
return host;
|
|
763
782
|
}
|
|
764
|
-
function trimControlChars(
|
|
765
|
-
return
|
|
783
|
+
function trimControlChars(url2) {
|
|
784
|
+
return url2.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, "");
|
|
766
785
|
}
|
|
767
|
-
function trimTabAndNewline(
|
|
768
|
-
return
|
|
786
|
+
function trimTabAndNewline(url2) {
|
|
787
|
+
return url2.replace(/\u0009|\u000A|\u000D/g, "");
|
|
769
788
|
}
|
|
770
|
-
function shortenPath(
|
|
771
|
-
const
|
|
772
|
-
if (
|
|
789
|
+
function shortenPath(url2) {
|
|
790
|
+
const path2 = url2.path;
|
|
791
|
+
if (path2.length === 0) {
|
|
773
792
|
return;
|
|
774
793
|
}
|
|
775
|
-
if (
|
|
794
|
+
if (url2.scheme === "file" && path2.length === 1 && isNormalizedWindowsDriveLetter(path2[0])) {
|
|
776
795
|
return;
|
|
777
796
|
}
|
|
778
|
-
|
|
797
|
+
path2.pop();
|
|
779
798
|
}
|
|
780
|
-
function includesCredentials(
|
|
781
|
-
return
|
|
799
|
+
function includesCredentials(url2) {
|
|
800
|
+
return url2.username !== "" || url2.password !== "";
|
|
782
801
|
}
|
|
783
|
-
function cannotHaveAUsernamePasswordPort(
|
|
784
|
-
return
|
|
802
|
+
function cannotHaveAUsernamePasswordPort(url2) {
|
|
803
|
+
return url2.host === null || url2.host === "" || url2.cannotBeABaseURL || url2.scheme === "file";
|
|
785
804
|
}
|
|
786
805
|
function isNormalizedWindowsDriveLetter(string) {
|
|
787
806
|
return /^[A-Za-z]:$/.test(string);
|
|
788
807
|
}
|
|
789
|
-
function URLStateMachine(input, base, encodingOverride,
|
|
808
|
+
function URLStateMachine(input, base, encodingOverride, url2, stateOverride) {
|
|
790
809
|
this.pointer = 0;
|
|
791
810
|
this.input = input;
|
|
792
811
|
this.base = base || null;
|
|
793
812
|
this.encodingOverride = encodingOverride || "utf-8";
|
|
794
813
|
this.stateOverride = stateOverride;
|
|
795
|
-
this.url =
|
|
814
|
+
this.url = url2;
|
|
796
815
|
this.failure = false;
|
|
797
816
|
this.parseError = false;
|
|
798
817
|
if (!this.url) {
|
|
@@ -1345,36 +1364,36 @@ var require_url_state_machine = __commonJS({
|
|
|
1345
1364
|
}
|
|
1346
1365
|
return true;
|
|
1347
1366
|
};
|
|
1348
|
-
function serializeURL(
|
|
1349
|
-
let output =
|
|
1350
|
-
if (
|
|
1367
|
+
function serializeURL(url2, excludeFragment) {
|
|
1368
|
+
let output = url2.scheme + ":";
|
|
1369
|
+
if (url2.host !== null) {
|
|
1351
1370
|
output += "//";
|
|
1352
|
-
if (
|
|
1353
|
-
output +=
|
|
1354
|
-
if (
|
|
1355
|
-
output += ":" +
|
|
1371
|
+
if (url2.username !== "" || url2.password !== "") {
|
|
1372
|
+
output += url2.username;
|
|
1373
|
+
if (url2.password !== "") {
|
|
1374
|
+
output += ":" + url2.password;
|
|
1356
1375
|
}
|
|
1357
1376
|
output += "@";
|
|
1358
1377
|
}
|
|
1359
|
-
output += serializeHost(
|
|
1360
|
-
if (
|
|
1361
|
-
output += ":" +
|
|
1378
|
+
output += serializeHost(url2.host);
|
|
1379
|
+
if (url2.port !== null) {
|
|
1380
|
+
output += ":" + url2.port;
|
|
1362
1381
|
}
|
|
1363
|
-
} else if (
|
|
1382
|
+
} else if (url2.host === null && url2.scheme === "file") {
|
|
1364
1383
|
output += "//";
|
|
1365
1384
|
}
|
|
1366
|
-
if (
|
|
1367
|
-
output +=
|
|
1385
|
+
if (url2.cannotBeABaseURL) {
|
|
1386
|
+
output += url2.path[0];
|
|
1368
1387
|
} else {
|
|
1369
|
-
for (const string of
|
|
1388
|
+
for (const string of url2.path) {
|
|
1370
1389
|
output += "/" + string;
|
|
1371
1390
|
}
|
|
1372
1391
|
}
|
|
1373
|
-
if (
|
|
1374
|
-
output += "?" +
|
|
1392
|
+
if (url2.query !== null) {
|
|
1393
|
+
output += "?" + url2.query;
|
|
1375
1394
|
}
|
|
1376
|
-
if (!excludeFragment &&
|
|
1377
|
-
output += "#" +
|
|
1395
|
+
if (!excludeFragment && url2.fragment !== null) {
|
|
1396
|
+
output += "#" + url2.fragment;
|
|
1378
1397
|
}
|
|
1379
1398
|
return output;
|
|
1380
1399
|
}
|
|
@@ -1387,11 +1406,11 @@ var require_url_state_machine = __commonJS({
|
|
|
1387
1406
|
return result;
|
|
1388
1407
|
}
|
|
1389
1408
|
module.exports.serializeURL = serializeURL;
|
|
1390
|
-
module.exports.serializeURLOrigin = function(
|
|
1391
|
-
switch (
|
|
1409
|
+
module.exports.serializeURLOrigin = function(url2) {
|
|
1410
|
+
switch (url2.scheme) {
|
|
1392
1411
|
case "blob":
|
|
1393
1412
|
try {
|
|
1394
|
-
return module.exports.serializeURLOrigin(module.exports.parseURL(
|
|
1413
|
+
return module.exports.serializeURLOrigin(module.exports.parseURL(url2.path[0]));
|
|
1395
1414
|
} catch (e) {
|
|
1396
1415
|
return "null";
|
|
1397
1416
|
}
|
|
@@ -1402,9 +1421,9 @@ var require_url_state_machine = __commonJS({
|
|
|
1402
1421
|
case "ws":
|
|
1403
1422
|
case "wss":
|
|
1404
1423
|
return serializeOrigin({
|
|
1405
|
-
scheme:
|
|
1406
|
-
host:
|
|
1407
|
-
port:
|
|
1424
|
+
scheme: url2.scheme,
|
|
1425
|
+
host: url2.host,
|
|
1426
|
+
port: url2.port
|
|
1408
1427
|
});
|
|
1409
1428
|
case "file":
|
|
1410
1429
|
return "file://";
|
|
@@ -1422,18 +1441,18 @@ var require_url_state_machine = __commonJS({
|
|
|
1422
1441
|
}
|
|
1423
1442
|
return usm.url;
|
|
1424
1443
|
};
|
|
1425
|
-
module.exports.setTheUsername = function(
|
|
1426
|
-
|
|
1444
|
+
module.exports.setTheUsername = function(url2, username) {
|
|
1445
|
+
url2.username = "";
|
|
1427
1446
|
const decoded = punycode.ucs2.decode(username);
|
|
1428
1447
|
for (let i = 0; i < decoded.length; ++i) {
|
|
1429
|
-
|
|
1448
|
+
url2.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode);
|
|
1430
1449
|
}
|
|
1431
1450
|
};
|
|
1432
|
-
module.exports.setThePassword = function(
|
|
1433
|
-
|
|
1451
|
+
module.exports.setThePassword = function(url2, password) {
|
|
1452
|
+
url2.password = "";
|
|
1434
1453
|
const decoded = punycode.ucs2.decode(password);
|
|
1435
1454
|
for (let i = 0; i < decoded.length; ++i) {
|
|
1436
|
-
|
|
1455
|
+
url2.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode);
|
|
1437
1456
|
}
|
|
1438
1457
|
};
|
|
1439
1458
|
module.exports.serializeHost = serializeHost;
|
|
@@ -1454,10 +1473,11 @@ var require_url_state_machine = __commonJS({
|
|
|
1454
1473
|
var require_URL_impl = __commonJS({
|
|
1455
1474
|
"../../node_modules/cross-fetch/node_modules/whatwg-url/lib/URL-impl.js"(exports) {
|
|
1456
1475
|
"use strict";
|
|
1476
|
+
init_cjs_shim();
|
|
1457
1477
|
var usm = require_url_state_machine();
|
|
1458
1478
|
exports.implementation = class URLImpl {
|
|
1459
1479
|
constructor(constructorArgs) {
|
|
1460
|
-
const
|
|
1480
|
+
const url2 = constructorArgs[0];
|
|
1461
1481
|
const base = constructorArgs[1];
|
|
1462
1482
|
let parsedBase = null;
|
|
1463
1483
|
if (base !== void 0) {
|
|
@@ -1466,7 +1486,7 @@ var require_URL_impl = __commonJS({
|
|
|
1466
1486
|
throw new TypeError("Invalid base URL");
|
|
1467
1487
|
}
|
|
1468
1488
|
}
|
|
1469
|
-
const parsedURL = usm.basicURLParse(
|
|
1489
|
+
const parsedURL = usm.basicURLParse(url2, { baseURL: parsedBase });
|
|
1470
1490
|
if (parsedURL === "failure") {
|
|
1471
1491
|
throw new TypeError("Invalid URL");
|
|
1472
1492
|
}
|
|
@@ -1510,14 +1530,14 @@ var require_URL_impl = __commonJS({
|
|
|
1510
1530
|
usm.setThePassword(this._url, v);
|
|
1511
1531
|
}
|
|
1512
1532
|
get host() {
|
|
1513
|
-
const
|
|
1514
|
-
if (
|
|
1533
|
+
const url2 = this._url;
|
|
1534
|
+
if (url2.host === null) {
|
|
1515
1535
|
return "";
|
|
1516
1536
|
}
|
|
1517
|
-
if (
|
|
1518
|
-
return usm.serializeHost(
|
|
1537
|
+
if (url2.port === null) {
|
|
1538
|
+
return usm.serializeHost(url2.host);
|
|
1519
1539
|
}
|
|
1520
|
-
return usm.serializeHost(
|
|
1540
|
+
return usm.serializeHost(url2.host) + ":" + usm.serializeInteger(url2.port);
|
|
1521
1541
|
}
|
|
1522
1542
|
set host(v) {
|
|
1523
1543
|
if (this._url.cannotBeABaseURL) {
|
|
@@ -1576,14 +1596,14 @@ var require_URL_impl = __commonJS({
|
|
|
1576
1596
|
return "?" + this._url.query;
|
|
1577
1597
|
}
|
|
1578
1598
|
set search(v) {
|
|
1579
|
-
const
|
|
1599
|
+
const url2 = this._url;
|
|
1580
1600
|
if (v === "") {
|
|
1581
|
-
|
|
1601
|
+
url2.query = null;
|
|
1582
1602
|
return;
|
|
1583
1603
|
}
|
|
1584
1604
|
const input = v[0] === "?" ? v.substring(1) : v;
|
|
1585
|
-
|
|
1586
|
-
usm.basicURLParse(input, { url, stateOverride: "query" });
|
|
1605
|
+
url2.query = "";
|
|
1606
|
+
usm.basicURLParse(input, { url: url2, stateOverride: "query" });
|
|
1587
1607
|
}
|
|
1588
1608
|
get hash() {
|
|
1589
1609
|
if (this._url.fragment === null || this._url.fragment === "") {
|
|
@@ -1611,11 +1631,12 @@ var require_URL_impl = __commonJS({
|
|
|
1611
1631
|
var require_URL = __commonJS({
|
|
1612
1632
|
"../../node_modules/cross-fetch/node_modules/whatwg-url/lib/URL.js"(exports, module) {
|
|
1613
1633
|
"use strict";
|
|
1634
|
+
init_cjs_shim();
|
|
1614
1635
|
var conversions = require_lib();
|
|
1615
1636
|
var utils = require_utils();
|
|
1616
1637
|
var Impl = require_URL_impl();
|
|
1617
1638
|
var impl = utils.implSymbol;
|
|
1618
|
-
function URL(
|
|
1639
|
+
function URL(url2) {
|
|
1619
1640
|
if (!this || this[impl] || !(this instanceof URL)) {
|
|
1620
1641
|
throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");
|
|
1621
1642
|
}
|
|
@@ -1794,6 +1815,7 @@ var require_URL = __commonJS({
|
|
|
1794
1815
|
var require_public_api = __commonJS({
|
|
1795
1816
|
"../../node_modules/cross-fetch/node_modules/whatwg-url/lib/public-api.js"(exports) {
|
|
1796
1817
|
"use strict";
|
|
1818
|
+
init_cjs_shim();
|
|
1797
1819
|
exports.URL = require_URL().interface;
|
|
1798
1820
|
exports.serializeURL = require_url_state_machine().serializeURL;
|
|
1799
1821
|
exports.serializeURLOrigin = require_url_state_machine().serializeURLOrigin;
|
|
@@ -1810,6 +1832,7 @@ var require_public_api = __commonJS({
|
|
|
1810
1832
|
var require_safer = __commonJS({
|
|
1811
1833
|
"../../node_modules/safer-buffer/safer.js"(exports, module) {
|
|
1812
1834
|
"use strict";
|
|
1835
|
+
init_cjs_shim();
|
|
1813
1836
|
var buffer = __require("buffer");
|
|
1814
1837
|
var Buffer2 = buffer.Buffer;
|
|
1815
1838
|
var safer = {};
|
|
@@ -1882,6 +1905,7 @@ var require_safer = __commonJS({
|
|
|
1882
1905
|
var require_bom_handling = __commonJS({
|
|
1883
1906
|
"../../node_modules/iconv-lite/lib/bom-handling.js"(exports) {
|
|
1884
1907
|
"use strict";
|
|
1908
|
+
init_cjs_shim();
|
|
1885
1909
|
var BOMChar = "\uFEFF";
|
|
1886
1910
|
exports.PrependBOM = PrependBOMWrapper;
|
|
1887
1911
|
function PrependBOMWrapper(encoder, options) {
|
|
@@ -1926,6 +1950,7 @@ var require_bom_handling = __commonJS({
|
|
|
1926
1950
|
var require_internal = __commonJS({
|
|
1927
1951
|
"../../node_modules/iconv-lite/encodings/internal.js"(exports, module) {
|
|
1928
1952
|
"use strict";
|
|
1953
|
+
init_cjs_shim();
|
|
1929
1954
|
var Buffer2 = require_safer().Buffer;
|
|
1930
1955
|
module.exports = {
|
|
1931
1956
|
// Encodings
|
|
@@ -2070,6 +2095,7 @@ var require_internal = __commonJS({
|
|
|
2070
2095
|
var require_utf16 = __commonJS({
|
|
2071
2096
|
"../../node_modules/iconv-lite/encodings/utf16.js"(exports) {
|
|
2072
2097
|
"use strict";
|
|
2098
|
+
init_cjs_shim();
|
|
2073
2099
|
var Buffer2 = require_safer().Buffer;
|
|
2074
2100
|
exports.utf16be = Utf16BECodec;
|
|
2075
2101
|
function Utf16BECodec() {
|
|
@@ -2188,6 +2214,7 @@ var require_utf16 = __commonJS({
|
|
|
2188
2214
|
var require_utf7 = __commonJS({
|
|
2189
2215
|
"../../node_modules/iconv-lite/encodings/utf7.js"(exports) {
|
|
2190
2216
|
"use strict";
|
|
2217
|
+
init_cjs_shim();
|
|
2191
2218
|
var Buffer2 = require_safer().Buffer;
|
|
2192
2219
|
exports.utf7 = Utf7Codec;
|
|
2193
2220
|
exports.unicode11utf7 = "utf7";
|
|
@@ -2389,6 +2416,7 @@ var require_utf7 = __commonJS({
|
|
|
2389
2416
|
var require_sbcs_codec = __commonJS({
|
|
2390
2417
|
"../../node_modules/iconv-lite/encodings/sbcs-codec.js"(exports) {
|
|
2391
2418
|
"use strict";
|
|
2419
|
+
init_cjs_shim();
|
|
2392
2420
|
var Buffer2 = require_safer().Buffer;
|
|
2393
2421
|
exports._sbcs = SBCSCodec;
|
|
2394
2422
|
function SBCSCodec(codecOptions, iconv) {
|
|
@@ -2445,6 +2473,7 @@ var require_sbcs_codec = __commonJS({
|
|
|
2445
2473
|
var require_sbcs_data = __commonJS({
|
|
2446
2474
|
"../../node_modules/iconv-lite/encodings/sbcs-data.js"(exports, module) {
|
|
2447
2475
|
"use strict";
|
|
2476
|
+
init_cjs_shim();
|
|
2448
2477
|
module.exports = {
|
|
2449
2478
|
// Not supported by iconv, not sure why.
|
|
2450
2479
|
"10029": "maccenteuro",
|
|
@@ -2594,6 +2623,7 @@ var require_sbcs_data = __commonJS({
|
|
|
2594
2623
|
var require_sbcs_data_generated = __commonJS({
|
|
2595
2624
|
"../../node_modules/iconv-lite/encodings/sbcs-data-generated.js"(exports, module) {
|
|
2596
2625
|
"use strict";
|
|
2626
|
+
init_cjs_shim();
|
|
2597
2627
|
module.exports = {
|
|
2598
2628
|
"437": "cp437",
|
|
2599
2629
|
"737": "cp737",
|
|
@@ -3049,6 +3079,7 @@ var require_sbcs_data_generated = __commonJS({
|
|
|
3049
3079
|
var require_dbcs_codec = __commonJS({
|
|
3050
3080
|
"../../node_modules/iconv-lite/encodings/dbcs-codec.js"(exports) {
|
|
3051
3081
|
"use strict";
|
|
3082
|
+
init_cjs_shim();
|
|
3052
3083
|
var Buffer2 = require_safer().Buffer;
|
|
3053
3084
|
exports._dbcs = DBCSCodec;
|
|
3054
3085
|
var UNASSIGNED = -1;
|
|
@@ -4681,6 +4712,7 @@ var require_big5_added = __commonJS({
|
|
|
4681
4712
|
var require_dbcs_data = __commonJS({
|
|
4682
4713
|
"../../node_modules/iconv-lite/encodings/dbcs-data.js"(exports, module) {
|
|
4683
4714
|
"use strict";
|
|
4715
|
+
init_cjs_shim();
|
|
4684
4716
|
module.exports = {
|
|
4685
4717
|
// == Japanese/ShiftJIS ====================================================
|
|
4686
4718
|
// All japanese encodings are based on JIS X set of standards:
|
|
@@ -4856,6 +4888,7 @@ var require_dbcs_data = __commonJS({
|
|
|
4856
4888
|
var require_encodings = __commonJS({
|
|
4857
4889
|
"../../node_modules/iconv-lite/encodings/index.js"(exports, module) {
|
|
4858
4890
|
"use strict";
|
|
4891
|
+
init_cjs_shim();
|
|
4859
4892
|
var modules = [
|
|
4860
4893
|
require_internal(),
|
|
4861
4894
|
require_utf16(),
|
|
@@ -4882,6 +4915,7 @@ var require_encodings = __commonJS({
|
|
|
4882
4915
|
var require_streams = __commonJS({
|
|
4883
4916
|
"../../node_modules/iconv-lite/lib/streams.js"(exports, module) {
|
|
4884
4917
|
"use strict";
|
|
4918
|
+
init_cjs_shim();
|
|
4885
4919
|
var Buffer2 = __require("buffer").Buffer;
|
|
4886
4920
|
var Transform = __require("stream").Transform;
|
|
4887
4921
|
module.exports = function(iconv) {
|
|
@@ -4987,6 +5021,7 @@ var require_streams = __commonJS({
|
|
|
4987
5021
|
var require_extend_node = __commonJS({
|
|
4988
5022
|
"../../node_modules/iconv-lite/lib/extend-node.js"(exports, module) {
|
|
4989
5023
|
"use strict";
|
|
5024
|
+
init_cjs_shim();
|
|
4990
5025
|
var Buffer2 = __require("buffer").Buffer;
|
|
4991
5026
|
module.exports = function(iconv) {
|
|
4992
5027
|
var original = void 0;
|
|
@@ -5156,6 +5191,7 @@ var require_extend_node = __commonJS({
|
|
|
5156
5191
|
var require_lib2 = __commonJS({
|
|
5157
5192
|
"../../node_modules/iconv-lite/lib/index.js"(exports, module) {
|
|
5158
5193
|
"use strict";
|
|
5194
|
+
init_cjs_shim();
|
|
5159
5195
|
var Buffer2 = require_safer().Buffer;
|
|
5160
5196
|
var bomHandling = require_bom_handling();
|
|
5161
5197
|
var iconv = module.exports;
|
|
@@ -5259,6 +5295,7 @@ var require_lib2 = __commonJS({
|
|
|
5259
5295
|
var require_iconv_loader = __commonJS({
|
|
5260
5296
|
"../../node_modules/encoding/lib/iconv-loader.js"(exports, module) {
|
|
5261
5297
|
"use strict";
|
|
5298
|
+
init_cjs_shim();
|
|
5262
5299
|
var iconv_package;
|
|
5263
5300
|
var Iconv;
|
|
5264
5301
|
try {
|
|
@@ -5274,6 +5311,7 @@ var require_iconv_loader = __commonJS({
|
|
|
5274
5311
|
var require_encoding = __commonJS({
|
|
5275
5312
|
"../../node_modules/encoding/lib/encoding.js"(exports, module) {
|
|
5276
5313
|
"use strict";
|
|
5314
|
+
init_cjs_shim();
|
|
5277
5315
|
var iconvLite = require_lib2();
|
|
5278
5316
|
var Iconv = require_iconv_loader();
|
|
5279
5317
|
module.exports.convert = convert;
|
|
@@ -5341,6 +5379,7 @@ var require_encoding = __commonJS({
|
|
|
5341
5379
|
var require_lib3 = __commonJS({
|
|
5342
5380
|
"../../node_modules/cross-fetch/node_modules/node-fetch/lib/index.js"(exports, module) {
|
|
5343
5381
|
"use strict";
|
|
5382
|
+
init_cjs_shim();
|
|
5344
5383
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5345
5384
|
function _interopDefault(ex) {
|
|
5346
5385
|
return ex && typeof ex === "object" && "default" in ex ? ex["default"] : ex;
|
|
@@ -6336,13 +6375,13 @@ var require_lib3 = __commonJS({
|
|
|
6336
6375
|
const dest = new URL$1(destination).protocol;
|
|
6337
6376
|
return orig === dest;
|
|
6338
6377
|
};
|
|
6339
|
-
function fetch2(
|
|
6378
|
+
function fetch2(url2, opts) {
|
|
6340
6379
|
if (!fetch2.Promise) {
|
|
6341
6380
|
throw new Error("native promise missing, set fetch.Promise to your favorite alternative");
|
|
6342
6381
|
}
|
|
6343
6382
|
Body.Promise = fetch2.Promise;
|
|
6344
6383
|
return new fetch2.Promise(function(resolve, reject) {
|
|
6345
|
-
const request = new Request(
|
|
6384
|
+
const request = new Request(url2, opts);
|
|
6346
6385
|
const options = getNodeRequestOptions(request);
|
|
6347
6386
|
const send = (options.protocol === "https:" ? https : http).request;
|
|
6348
6387
|
const signal = request.signal;
|
|
@@ -6587,13 +6626,14 @@ var require_lib3 = __commonJS({
|
|
|
6587
6626
|
// ../../node_modules/cross-fetch/dist/node-ponyfill.js
|
|
6588
6627
|
var require_node_ponyfill = __commonJS({
|
|
6589
6628
|
"../../node_modules/cross-fetch/dist/node-ponyfill.js"(exports, module) {
|
|
6629
|
+
init_cjs_shim();
|
|
6590
6630
|
var nodeFetch = require_lib3();
|
|
6591
6631
|
var realFetch = nodeFetch.default || nodeFetch;
|
|
6592
|
-
var fetch2 = function(
|
|
6593
|
-
if (/^\/\//.test(
|
|
6594
|
-
|
|
6632
|
+
var fetch2 = function(url2, options) {
|
|
6633
|
+
if (/^\/\//.test(url2)) {
|
|
6634
|
+
url2 = "https:" + url2;
|
|
6595
6635
|
}
|
|
6596
|
-
return realFetch.call(this,
|
|
6636
|
+
return realFetch.call(this, url2, options);
|
|
6597
6637
|
};
|
|
6598
6638
|
fetch2.ponyfill = true;
|
|
6599
6639
|
module.exports = exports = fetch2;
|
|
@@ -6608,6 +6648,7 @@ var require_node_ponyfill = __commonJS({
|
|
|
6608
6648
|
// ../../node_modules/lodash/lodash.js
|
|
6609
6649
|
var require_lodash = __commonJS({
|
|
6610
6650
|
"../../node_modules/lodash/lodash.js"(exports, module) {
|
|
6651
|
+
init_cjs_shim();
|
|
6611
6652
|
(function() {
|
|
6612
6653
|
var undefined2;
|
|
6613
6654
|
var VERSION = "4.17.21";
|
|
@@ -7935,11 +7976,11 @@ var require_lodash = __commonJS({
|
|
|
7935
7976
|
return isFunction(object[key]);
|
|
7936
7977
|
});
|
|
7937
7978
|
}
|
|
7938
|
-
function baseGet(object,
|
|
7939
|
-
|
|
7940
|
-
var index = 0, length =
|
|
7979
|
+
function baseGet(object, path2) {
|
|
7980
|
+
path2 = castPath(path2, object);
|
|
7981
|
+
var index = 0, length = path2.length;
|
|
7941
7982
|
while (object != null && index < length) {
|
|
7942
|
-
object = object[toKey(
|
|
7983
|
+
object = object[toKey(path2[index++])];
|
|
7943
7984
|
}
|
|
7944
7985
|
return index && index == length ? object : undefined2;
|
|
7945
7986
|
}
|
|
@@ -8003,10 +8044,10 @@ var require_lodash = __commonJS({
|
|
|
8003
8044
|
});
|
|
8004
8045
|
return accumulator;
|
|
8005
8046
|
}
|
|
8006
|
-
function baseInvoke(object,
|
|
8007
|
-
|
|
8008
|
-
object = parent(object,
|
|
8009
|
-
var func = object == null ? object : object[toKey(last(
|
|
8047
|
+
function baseInvoke(object, path2, args) {
|
|
8048
|
+
path2 = castPath(path2, object);
|
|
8049
|
+
object = parent(object, path2);
|
|
8050
|
+
var func = object == null ? object : object[toKey(last(path2))];
|
|
8010
8051
|
return func == null ? undefined2 : apply(func, object, args);
|
|
8011
8052
|
}
|
|
8012
8053
|
function baseIsArguments(value) {
|
|
@@ -8162,13 +8203,13 @@ var require_lodash = __commonJS({
|
|
|
8162
8203
|
return object === source || baseIsMatch(object, source, matchData);
|
|
8163
8204
|
};
|
|
8164
8205
|
}
|
|
8165
|
-
function baseMatchesProperty(
|
|
8166
|
-
if (isKey(
|
|
8167
|
-
return matchesStrictComparable(toKey(
|
|
8206
|
+
function baseMatchesProperty(path2, srcValue) {
|
|
8207
|
+
if (isKey(path2) && isStrictComparable(srcValue)) {
|
|
8208
|
+
return matchesStrictComparable(toKey(path2), srcValue);
|
|
8168
8209
|
}
|
|
8169
8210
|
return function(object) {
|
|
8170
|
-
var objValue = get(object,
|
|
8171
|
-
return objValue === undefined2 && objValue === srcValue ? hasIn(object,
|
|
8211
|
+
var objValue = get(object, path2);
|
|
8212
|
+
return objValue === undefined2 && objValue === srcValue ? hasIn(object, path2) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
|
8172
8213
|
};
|
|
8173
8214
|
}
|
|
8174
8215
|
function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
@@ -8265,23 +8306,23 @@ var require_lodash = __commonJS({
|
|
|
8265
8306
|
});
|
|
8266
8307
|
}
|
|
8267
8308
|
function basePick(object, paths) {
|
|
8268
|
-
return basePickBy(object, paths, function(value,
|
|
8269
|
-
return hasIn(object,
|
|
8309
|
+
return basePickBy(object, paths, function(value, path2) {
|
|
8310
|
+
return hasIn(object, path2);
|
|
8270
8311
|
});
|
|
8271
8312
|
}
|
|
8272
8313
|
function basePickBy(object, paths, predicate) {
|
|
8273
8314
|
var index = -1, length = paths.length, result2 = {};
|
|
8274
8315
|
while (++index < length) {
|
|
8275
|
-
var
|
|
8276
|
-
if (predicate(value,
|
|
8277
|
-
baseSet(result2, castPath(
|
|
8316
|
+
var path2 = paths[index], value = baseGet(object, path2);
|
|
8317
|
+
if (predicate(value, path2)) {
|
|
8318
|
+
baseSet(result2, castPath(path2, object), value);
|
|
8278
8319
|
}
|
|
8279
8320
|
}
|
|
8280
8321
|
return result2;
|
|
8281
8322
|
}
|
|
8282
|
-
function basePropertyDeep(
|
|
8323
|
+
function basePropertyDeep(path2) {
|
|
8283
8324
|
return function(object) {
|
|
8284
|
-
return baseGet(object,
|
|
8325
|
+
return baseGet(object, path2);
|
|
8285
8326
|
};
|
|
8286
8327
|
}
|
|
8287
8328
|
function basePullAll(array, values2, iteratee2, comparator) {
|
|
@@ -8355,14 +8396,14 @@ var require_lodash = __commonJS({
|
|
|
8355
8396
|
var array = values(collection);
|
|
8356
8397
|
return shuffleSelf(array, baseClamp(n, 0, array.length));
|
|
8357
8398
|
}
|
|
8358
|
-
function baseSet(object,
|
|
8399
|
+
function baseSet(object, path2, value, customizer) {
|
|
8359
8400
|
if (!isObject(object)) {
|
|
8360
8401
|
return object;
|
|
8361
8402
|
}
|
|
8362
|
-
|
|
8363
|
-
var index = -1, length =
|
|
8403
|
+
path2 = castPath(path2, object);
|
|
8404
|
+
var index = -1, length = path2.length, lastIndex = length - 1, nested = object;
|
|
8364
8405
|
while (nested != null && ++index < length) {
|
|
8365
|
-
var key = toKey(
|
|
8406
|
+
var key = toKey(path2[index]), newValue = value;
|
|
8366
8407
|
if (key === "__proto__" || key === "constructor" || key === "prototype") {
|
|
8367
8408
|
return object;
|
|
8368
8409
|
}
|
|
@@ -8370,7 +8411,7 @@ var require_lodash = __commonJS({
|
|
|
8370
8411
|
var objValue = nested[key];
|
|
8371
8412
|
newValue = customizer ? customizer(objValue, key, nested) : undefined2;
|
|
8372
8413
|
if (newValue === undefined2) {
|
|
8373
|
-
newValue = isObject(objValue) ? objValue : isIndex(
|
|
8414
|
+
newValue = isObject(objValue) ? objValue : isIndex(path2[index + 1]) ? [] : {};
|
|
8374
8415
|
}
|
|
8375
8416
|
}
|
|
8376
8417
|
assignValue(nested, key, newValue);
|
|
@@ -8536,13 +8577,13 @@ var require_lodash = __commonJS({
|
|
|
8536
8577
|
}
|
|
8537
8578
|
return result2;
|
|
8538
8579
|
}
|
|
8539
|
-
function baseUnset(object,
|
|
8540
|
-
|
|
8541
|
-
object = parent(object,
|
|
8542
|
-
return object == null || delete object[toKey(last(
|
|
8580
|
+
function baseUnset(object, path2) {
|
|
8581
|
+
path2 = castPath(path2, object);
|
|
8582
|
+
object = parent(object, path2);
|
|
8583
|
+
return object == null || delete object[toKey(last(path2))];
|
|
8543
8584
|
}
|
|
8544
|
-
function baseUpdate(object,
|
|
8545
|
-
return baseSet(object,
|
|
8585
|
+
function baseUpdate(object, path2, updater, customizer) {
|
|
8586
|
+
return baseSet(object, path2, updater(baseGet(object, path2)), customizer);
|
|
8546
8587
|
}
|
|
8547
8588
|
function baseWhile(array, predicate, isDrop, fromRight) {
|
|
8548
8589
|
var length = array.length, index = fromRight ? length : -1;
|
|
@@ -9425,11 +9466,11 @@ var require_lodash = __commonJS({
|
|
|
9425
9466
|
var match = source.match(reWrapDetails);
|
|
9426
9467
|
return match ? match[1].split(reSplitDetails) : [];
|
|
9427
9468
|
}
|
|
9428
|
-
function hasPath(object,
|
|
9429
|
-
|
|
9430
|
-
var index = -1, length =
|
|
9469
|
+
function hasPath(object, path2, hasFunc) {
|
|
9470
|
+
path2 = castPath(path2, object);
|
|
9471
|
+
var index = -1, length = path2.length, result2 = false;
|
|
9431
9472
|
while (++index < length) {
|
|
9432
|
-
var key = toKey(
|
|
9473
|
+
var key = toKey(path2[index]);
|
|
9433
9474
|
if (!(result2 = object != null && hasFunc(object, key))) {
|
|
9434
9475
|
break;
|
|
9435
9476
|
}
|
|
@@ -9631,8 +9672,8 @@ var require_lodash = __commonJS({
|
|
|
9631
9672
|
return apply(func, this, otherArgs);
|
|
9632
9673
|
};
|
|
9633
9674
|
}
|
|
9634
|
-
function parent(object,
|
|
9635
|
-
return
|
|
9675
|
+
function parent(object, path2) {
|
|
9676
|
+
return path2.length < 2 ? object : baseGet(object, baseSlice(path2, 0, -1));
|
|
9636
9677
|
}
|
|
9637
9678
|
function reorder(array, indexes) {
|
|
9638
9679
|
var arrLength = array.length, length = nativeMin(indexes.length, arrLength), oldArray = copyArray(array);
|
|
@@ -10267,10 +10308,10 @@ var require_lodash = __commonJS({
|
|
|
10267
10308
|
}
|
|
10268
10309
|
return isString(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;
|
|
10269
10310
|
}
|
|
10270
|
-
var invokeMap = baseRest(function(collection,
|
|
10271
|
-
var index = -1, isFunc = typeof
|
|
10311
|
+
var invokeMap = baseRest(function(collection, path2, args) {
|
|
10312
|
+
var index = -1, isFunc = typeof path2 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
|
|
10272
10313
|
baseEach(collection, function(value) {
|
|
10273
|
-
result2[++index] = isFunc ? apply(
|
|
10314
|
+
result2[++index] = isFunc ? apply(path2, value, args) : baseInvoke(value, path2, args);
|
|
10274
10315
|
});
|
|
10275
10316
|
return result2;
|
|
10276
10317
|
});
|
|
@@ -10922,15 +10963,15 @@ var require_lodash = __commonJS({
|
|
|
10922
10963
|
function functionsIn(object) {
|
|
10923
10964
|
return object == null ? [] : baseFunctions(object, keysIn(object));
|
|
10924
10965
|
}
|
|
10925
|
-
function get(object,
|
|
10926
|
-
var result2 = object == null ? undefined2 : baseGet(object,
|
|
10966
|
+
function get(object, path2, defaultValue) {
|
|
10967
|
+
var result2 = object == null ? undefined2 : baseGet(object, path2);
|
|
10927
10968
|
return result2 === undefined2 ? defaultValue : result2;
|
|
10928
10969
|
}
|
|
10929
|
-
function has(object,
|
|
10930
|
-
return object != null && hasPath(object,
|
|
10970
|
+
function has(object, path2) {
|
|
10971
|
+
return object != null && hasPath(object, path2, baseHas);
|
|
10931
10972
|
}
|
|
10932
|
-
function hasIn(object,
|
|
10933
|
-
return object != null && hasPath(object,
|
|
10973
|
+
function hasIn(object, path2) {
|
|
10974
|
+
return object != null && hasPath(object, path2, baseHasIn);
|
|
10934
10975
|
}
|
|
10935
10976
|
var invert = createInverter(function(result2, value, key) {
|
|
10936
10977
|
if (value != null && typeof value.toString != "function") {
|
|
@@ -10983,10 +11024,10 @@ var require_lodash = __commonJS({
|
|
|
10983
11024
|
return result2;
|
|
10984
11025
|
}
|
|
10985
11026
|
var isDeep = false;
|
|
10986
|
-
paths = arrayMap(paths, function(
|
|
10987
|
-
|
|
10988
|
-
isDeep || (isDeep =
|
|
10989
|
-
return
|
|
11027
|
+
paths = arrayMap(paths, function(path2) {
|
|
11028
|
+
path2 = castPath(path2, object);
|
|
11029
|
+
isDeep || (isDeep = path2.length > 1);
|
|
11030
|
+
return path2;
|
|
10990
11031
|
});
|
|
10991
11032
|
copyObject(object, getAllKeysIn(object), result2);
|
|
10992
11033
|
if (isDeep) {
|
|
@@ -11012,19 +11053,19 @@ var require_lodash = __commonJS({
|
|
|
11012
11053
|
return [prop];
|
|
11013
11054
|
});
|
|
11014
11055
|
predicate = getIteratee(predicate);
|
|
11015
|
-
return basePickBy(object, props, function(value,
|
|
11016
|
-
return predicate(value,
|
|
11056
|
+
return basePickBy(object, props, function(value, path2) {
|
|
11057
|
+
return predicate(value, path2[0]);
|
|
11017
11058
|
});
|
|
11018
11059
|
}
|
|
11019
|
-
function result(object,
|
|
11020
|
-
|
|
11021
|
-
var index = -1, length =
|
|
11060
|
+
function result(object, path2, defaultValue) {
|
|
11061
|
+
path2 = castPath(path2, object);
|
|
11062
|
+
var index = -1, length = path2.length;
|
|
11022
11063
|
if (!length) {
|
|
11023
11064
|
length = 1;
|
|
11024
11065
|
object = undefined2;
|
|
11025
11066
|
}
|
|
11026
11067
|
while (++index < length) {
|
|
11027
|
-
var value = object == null ? undefined2 : object[toKey(
|
|
11068
|
+
var value = object == null ? undefined2 : object[toKey(path2[index])];
|
|
11028
11069
|
if (value === undefined2) {
|
|
11029
11070
|
index = length;
|
|
11030
11071
|
value = defaultValue;
|
|
@@ -11033,12 +11074,12 @@ var require_lodash = __commonJS({
|
|
|
11033
11074
|
}
|
|
11034
11075
|
return object;
|
|
11035
11076
|
}
|
|
11036
|
-
function set(object,
|
|
11037
|
-
return object == null ? object : baseSet(object,
|
|
11077
|
+
function set(object, path2, value) {
|
|
11078
|
+
return object == null ? object : baseSet(object, path2, value);
|
|
11038
11079
|
}
|
|
11039
|
-
function setWith(object,
|
|
11080
|
+
function setWith(object, path2, value, customizer) {
|
|
11040
11081
|
customizer = typeof customizer == "function" ? customizer : undefined2;
|
|
11041
|
-
return object == null ? object : baseSet(object,
|
|
11082
|
+
return object == null ? object : baseSet(object, path2, value, customizer);
|
|
11042
11083
|
}
|
|
11043
11084
|
var toPairs = createToPairs(keys);
|
|
11044
11085
|
var toPairsIn = createToPairs(keysIn);
|
|
@@ -11060,15 +11101,15 @@ var require_lodash = __commonJS({
|
|
|
11060
11101
|
});
|
|
11061
11102
|
return accumulator;
|
|
11062
11103
|
}
|
|
11063
|
-
function unset(object,
|
|
11064
|
-
return object == null ? true : baseUnset(object,
|
|
11104
|
+
function unset(object, path2) {
|
|
11105
|
+
return object == null ? true : baseUnset(object, path2);
|
|
11065
11106
|
}
|
|
11066
|
-
function update(object,
|
|
11067
|
-
return object == null ? object : baseUpdate(object,
|
|
11107
|
+
function update(object, path2, updater) {
|
|
11108
|
+
return object == null ? object : baseUpdate(object, path2, castFunction(updater));
|
|
11068
11109
|
}
|
|
11069
|
-
function updateWith(object,
|
|
11110
|
+
function updateWith(object, path2, updater, customizer) {
|
|
11070
11111
|
customizer = typeof customizer == "function" ? customizer : undefined2;
|
|
11071
|
-
return object == null ? object : baseUpdate(object,
|
|
11112
|
+
return object == null ? object : baseUpdate(object, path2, castFunction(updater), customizer);
|
|
11072
11113
|
}
|
|
11073
11114
|
function values(object) {
|
|
11074
11115
|
return object == null ? [] : baseValues(object, keys(object));
|
|
@@ -11449,17 +11490,17 @@ var require_lodash = __commonJS({
|
|
|
11449
11490
|
function matches(source) {
|
|
11450
11491
|
return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
|
|
11451
11492
|
}
|
|
11452
|
-
function matchesProperty(
|
|
11453
|
-
return baseMatchesProperty(
|
|
11493
|
+
function matchesProperty(path2, srcValue) {
|
|
11494
|
+
return baseMatchesProperty(path2, baseClone(srcValue, CLONE_DEEP_FLAG));
|
|
11454
11495
|
}
|
|
11455
|
-
var method = baseRest(function(
|
|
11496
|
+
var method = baseRest(function(path2, args) {
|
|
11456
11497
|
return function(object) {
|
|
11457
|
-
return baseInvoke(object,
|
|
11498
|
+
return baseInvoke(object, path2, args);
|
|
11458
11499
|
};
|
|
11459
11500
|
});
|
|
11460
11501
|
var methodOf = baseRest(function(object, args) {
|
|
11461
|
-
return function(
|
|
11462
|
-
return baseInvoke(object,
|
|
11502
|
+
return function(path2) {
|
|
11503
|
+
return baseInvoke(object, path2, args);
|
|
11463
11504
|
};
|
|
11464
11505
|
});
|
|
11465
11506
|
function mixin(object, source, options) {
|
|
@@ -11506,12 +11547,12 @@ var require_lodash = __commonJS({
|
|
|
11506
11547
|
var over = createOver(arrayMap);
|
|
11507
11548
|
var overEvery = createOver(arrayEvery);
|
|
11508
11549
|
var overSome = createOver(arraySome);
|
|
11509
|
-
function property(
|
|
11510
|
-
return isKey(
|
|
11550
|
+
function property(path2) {
|
|
11551
|
+
return isKey(path2) ? baseProperty(toKey(path2)) : basePropertyDeep(path2);
|
|
11511
11552
|
}
|
|
11512
11553
|
function propertyOf(object) {
|
|
11513
|
-
return function(
|
|
11514
|
-
return object == null ? undefined2 : baseGet(object,
|
|
11554
|
+
return function(path2) {
|
|
11555
|
+
return object == null ? undefined2 : baseGet(object, path2);
|
|
11515
11556
|
};
|
|
11516
11557
|
}
|
|
11517
11558
|
var range = createRange();
|
|
@@ -11964,12 +12005,12 @@ var require_lodash = __commonJS({
|
|
|
11964
12005
|
LazyWrapper.prototype.findLast = function(predicate) {
|
|
11965
12006
|
return this.reverse().find(predicate);
|
|
11966
12007
|
};
|
|
11967
|
-
LazyWrapper.prototype.invokeMap = baseRest(function(
|
|
11968
|
-
if (typeof
|
|
12008
|
+
LazyWrapper.prototype.invokeMap = baseRest(function(path2, args) {
|
|
12009
|
+
if (typeof path2 == "function") {
|
|
11969
12010
|
return new LazyWrapper(this);
|
|
11970
12011
|
}
|
|
11971
12012
|
return this.map(function(value) {
|
|
11972
|
-
return baseInvoke(value,
|
|
12013
|
+
return baseInvoke(value, path2, args);
|
|
11973
12014
|
});
|
|
11974
12015
|
});
|
|
11975
12016
|
LazyWrapper.prototype.reject = function(predicate) {
|
|
@@ -12088,6 +12129,7 @@ var require_lodash = __commonJS({
|
|
|
12088
12129
|
// ../../node_modules/safe-buffer/index.js
|
|
12089
12130
|
var require_safe_buffer = __commonJS({
|
|
12090
12131
|
"../../node_modules/safe-buffer/index.js"(exports, module) {
|
|
12132
|
+
init_cjs_shim();
|
|
12091
12133
|
var buffer = __require("buffer");
|
|
12092
12134
|
var Buffer2 = buffer.Buffer;
|
|
12093
12135
|
function copyProps(src, dst) {
|
|
@@ -12146,6 +12188,7 @@ var require_safe_buffer = __commonJS({
|
|
|
12146
12188
|
// ../../node_modules/jws/lib/data-stream.js
|
|
12147
12189
|
var require_data_stream = __commonJS({
|
|
12148
12190
|
"../../node_modules/jws/lib/data-stream.js"(exports, module) {
|
|
12191
|
+
init_cjs_shim();
|
|
12149
12192
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
12150
12193
|
var Stream = __require("stream");
|
|
12151
12194
|
var util = __require("util");
|
|
@@ -12195,6 +12238,7 @@ var require_data_stream = __commonJS({
|
|
|
12195
12238
|
var require_buffer_equal_constant_time = __commonJS({
|
|
12196
12239
|
"../../node_modules/buffer-equal-constant-time/index.js"(exports, module) {
|
|
12197
12240
|
"use strict";
|
|
12241
|
+
init_cjs_shim();
|
|
12198
12242
|
var Buffer2 = __require("buffer").Buffer;
|
|
12199
12243
|
var SlowBuffer = __require("buffer").SlowBuffer;
|
|
12200
12244
|
module.exports = bufferEq;
|
|
@@ -12229,6 +12273,7 @@ var require_buffer_equal_constant_time = __commonJS({
|
|
|
12229
12273
|
var require_param_bytes_for_alg = __commonJS({
|
|
12230
12274
|
"../../node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js"(exports, module) {
|
|
12231
12275
|
"use strict";
|
|
12276
|
+
init_cjs_shim();
|
|
12232
12277
|
function getParamSize(keySize) {
|
|
12233
12278
|
var result = (keySize / 8 | 0) + (keySize % 8 === 0 ? 0 : 1);
|
|
12234
12279
|
return result;
|
|
@@ -12253,6 +12298,7 @@ var require_param_bytes_for_alg = __commonJS({
|
|
|
12253
12298
|
var require_ecdsa_sig_formatter = __commonJS({
|
|
12254
12299
|
"../../node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js"(exports, module) {
|
|
12255
12300
|
"use strict";
|
|
12301
|
+
init_cjs_shim();
|
|
12256
12302
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
12257
12303
|
var getParamBytesForAlg = require_param_bytes_for_alg();
|
|
12258
12304
|
var MAX_OCTET = 128;
|
|
@@ -12392,6 +12438,7 @@ var require_ecdsa_sig_formatter = __commonJS({
|
|
|
12392
12438
|
// ../../node_modules/jwa/index.js
|
|
12393
12439
|
var require_jwa = __commonJS({
|
|
12394
12440
|
"../../node_modules/jwa/index.js"(exports, module) {
|
|
12441
|
+
init_cjs_shim();
|
|
12395
12442
|
var bufferEqual = require_buffer_equal_constant_time();
|
|
12396
12443
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
12397
12444
|
var crypto = __require("crypto");
|
|
@@ -12605,6 +12652,7 @@ var require_jwa = __commonJS({
|
|
|
12605
12652
|
// ../../node_modules/jws/lib/tostring.js
|
|
12606
12653
|
var require_tostring = __commonJS({
|
|
12607
12654
|
"../../node_modules/jws/lib/tostring.js"(exports, module) {
|
|
12655
|
+
init_cjs_shim();
|
|
12608
12656
|
var Buffer2 = __require("buffer").Buffer;
|
|
12609
12657
|
module.exports = function toString(obj) {
|
|
12610
12658
|
if (typeof obj === "string")
|
|
@@ -12619,6 +12667,7 @@ var require_tostring = __commonJS({
|
|
|
12619
12667
|
// ../../node_modules/jws/lib/sign-stream.js
|
|
12620
12668
|
var require_sign_stream = __commonJS({
|
|
12621
12669
|
"../../node_modules/jws/lib/sign-stream.js"(exports, module) {
|
|
12670
|
+
init_cjs_shim();
|
|
12622
12671
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
12623
12672
|
var DataStream = require_data_stream();
|
|
12624
12673
|
var jwa = require_jwa();
|
|
@@ -12689,6 +12738,7 @@ var require_sign_stream = __commonJS({
|
|
|
12689
12738
|
// ../../node_modules/jws/lib/verify-stream.js
|
|
12690
12739
|
var require_verify_stream = __commonJS({
|
|
12691
12740
|
"../../node_modules/jws/lib/verify-stream.js"(exports, module) {
|
|
12741
|
+
init_cjs_shim();
|
|
12692
12742
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
12693
12743
|
var DataStream = require_data_stream();
|
|
12694
12744
|
var jwa = require_jwa();
|
|
@@ -12799,6 +12849,7 @@ var require_verify_stream = __commonJS({
|
|
|
12799
12849
|
// ../../node_modules/jws/index.js
|
|
12800
12850
|
var require_jws = __commonJS({
|
|
12801
12851
|
"../../node_modules/jws/index.js"(exports) {
|
|
12852
|
+
init_cjs_shim();
|
|
12802
12853
|
var SignStream = require_sign_stream();
|
|
12803
12854
|
var VerifyStream = require_verify_stream();
|
|
12804
12855
|
var ALGORITHMS = [
|
|
@@ -12832,6 +12883,7 @@ var require_jws = __commonJS({
|
|
|
12832
12883
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/decode.js
|
|
12833
12884
|
var require_decode = __commonJS({
|
|
12834
12885
|
"../../magda-typescript-common/node_modules/jsonwebtoken/decode.js"(exports, module) {
|
|
12886
|
+
init_cjs_shim();
|
|
12835
12887
|
var jws = require_jws();
|
|
12836
12888
|
module.exports = function(jwt2, options) {
|
|
12837
12889
|
options = options || {};
|
|
@@ -12864,6 +12916,7 @@ var require_decode = __commonJS({
|
|
|
12864
12916
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/JsonWebTokenError.js
|
|
12865
12917
|
var require_JsonWebTokenError = __commonJS({
|
|
12866
12918
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/JsonWebTokenError.js"(exports, module) {
|
|
12919
|
+
init_cjs_shim();
|
|
12867
12920
|
var JsonWebTokenError = function(message, error) {
|
|
12868
12921
|
Error.call(this, message);
|
|
12869
12922
|
if (Error.captureStackTrace) {
|
|
@@ -12883,6 +12936,7 @@ var require_JsonWebTokenError = __commonJS({
|
|
|
12883
12936
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/NotBeforeError.js
|
|
12884
12937
|
var require_NotBeforeError = __commonJS({
|
|
12885
12938
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/NotBeforeError.js"(exports, module) {
|
|
12939
|
+
init_cjs_shim();
|
|
12886
12940
|
var JsonWebTokenError = require_JsonWebTokenError();
|
|
12887
12941
|
var NotBeforeError = function(message, date) {
|
|
12888
12942
|
JsonWebTokenError.call(this, message);
|
|
@@ -12898,6 +12952,7 @@ var require_NotBeforeError = __commonJS({
|
|
|
12898
12952
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/TokenExpiredError.js
|
|
12899
12953
|
var require_TokenExpiredError = __commonJS({
|
|
12900
12954
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/TokenExpiredError.js"(exports, module) {
|
|
12955
|
+
init_cjs_shim();
|
|
12901
12956
|
var JsonWebTokenError = require_JsonWebTokenError();
|
|
12902
12957
|
var TokenExpiredError = function(message, expiredAt) {
|
|
12903
12958
|
JsonWebTokenError.call(this, message);
|
|
@@ -12913,6 +12968,7 @@ var require_TokenExpiredError = __commonJS({
|
|
|
12913
12968
|
// ../../node_modules/ms/index.js
|
|
12914
12969
|
var require_ms = __commonJS({
|
|
12915
12970
|
"../../node_modules/ms/index.js"(exports, module) {
|
|
12971
|
+
init_cjs_shim();
|
|
12916
12972
|
var s = 1e3;
|
|
12917
12973
|
var m = s * 60;
|
|
12918
12974
|
var h = m * 60;
|
|
@@ -13029,6 +13085,7 @@ var require_ms = __commonJS({
|
|
|
13029
13085
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/timespan.js
|
|
13030
13086
|
var require_timespan = __commonJS({
|
|
13031
13087
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/timespan.js"(exports, module) {
|
|
13088
|
+
init_cjs_shim();
|
|
13032
13089
|
var ms = require_ms();
|
|
13033
13090
|
module.exports = function(time, iat) {
|
|
13034
13091
|
var timestamp = iat || Math.floor(Date.now() / 1e3);
|
|
@@ -13050,6 +13107,7 @@ var require_timespan = __commonJS({
|
|
|
13050
13107
|
// ../../magda-typescript-common/node_modules/semver/internal/constants.js
|
|
13051
13108
|
var require_constants = __commonJS({
|
|
13052
13109
|
"../../magda-typescript-common/node_modules/semver/internal/constants.js"(exports, module) {
|
|
13110
|
+
init_cjs_shim();
|
|
13053
13111
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
13054
13112
|
var MAX_LENGTH = 256;
|
|
13055
13113
|
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
@@ -13081,6 +13139,7 @@ var require_constants = __commonJS({
|
|
|
13081
13139
|
// ../../magda-typescript-common/node_modules/semver/internal/debug.js
|
|
13082
13140
|
var require_debug = __commonJS({
|
|
13083
13141
|
"../../magda-typescript-common/node_modules/semver/internal/debug.js"(exports, module) {
|
|
13142
|
+
init_cjs_shim();
|
|
13084
13143
|
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
13085
13144
|
};
|
|
13086
13145
|
module.exports = debug;
|
|
@@ -13090,6 +13149,7 @@ var require_debug = __commonJS({
|
|
|
13090
13149
|
// ../../magda-typescript-common/node_modules/semver/internal/re.js
|
|
13091
13150
|
var require_re = __commonJS({
|
|
13092
13151
|
"../../magda-typescript-common/node_modules/semver/internal/re.js"(exports, module) {
|
|
13152
|
+
init_cjs_shim();
|
|
13093
13153
|
var {
|
|
13094
13154
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
13095
13155
|
MAX_SAFE_BUILD_LENGTH,
|
|
@@ -13172,6 +13232,7 @@ var require_re = __commonJS({
|
|
|
13172
13232
|
// ../../magda-typescript-common/node_modules/semver/internal/parse-options.js
|
|
13173
13233
|
var require_parse_options = __commonJS({
|
|
13174
13234
|
"../../magda-typescript-common/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
13235
|
+
init_cjs_shim();
|
|
13175
13236
|
var looseOption = Object.freeze({ loose: true });
|
|
13176
13237
|
var emptyOpts = Object.freeze({});
|
|
13177
13238
|
var parseOptions = (options) => {
|
|
@@ -13190,6 +13251,7 @@ var require_parse_options = __commonJS({
|
|
|
13190
13251
|
// ../../magda-typescript-common/node_modules/semver/internal/identifiers.js
|
|
13191
13252
|
var require_identifiers = __commonJS({
|
|
13192
13253
|
"../../magda-typescript-common/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
13254
|
+
init_cjs_shim();
|
|
13193
13255
|
var numeric = /^[0-9]+$/;
|
|
13194
13256
|
var compareIdentifiers = (a, b) => {
|
|
13195
13257
|
const anum = numeric.test(a);
|
|
@@ -13211,6 +13273,7 @@ var require_identifiers = __commonJS({
|
|
|
13211
13273
|
// ../../magda-typescript-common/node_modules/semver/classes/semver.js
|
|
13212
13274
|
var require_semver = __commonJS({
|
|
13213
13275
|
"../../magda-typescript-common/node_modules/semver/classes/semver.js"(exports, module) {
|
|
13276
|
+
init_cjs_shim();
|
|
13214
13277
|
var debug = require_debug();
|
|
13215
13278
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
13216
13279
|
var { safeRe: re, t } = require_re();
|
|
@@ -13453,6 +13516,7 @@ var require_semver = __commonJS({
|
|
|
13453
13516
|
// ../../magda-typescript-common/node_modules/semver/functions/parse.js
|
|
13454
13517
|
var require_parse = __commonJS({
|
|
13455
13518
|
"../../magda-typescript-common/node_modules/semver/functions/parse.js"(exports, module) {
|
|
13519
|
+
init_cjs_shim();
|
|
13456
13520
|
var SemVer = require_semver();
|
|
13457
13521
|
var parse = (version, options, throwErrors = false) => {
|
|
13458
13522
|
if (version instanceof SemVer) {
|
|
@@ -13474,6 +13538,7 @@ var require_parse = __commonJS({
|
|
|
13474
13538
|
// ../../magda-typescript-common/node_modules/semver/functions/valid.js
|
|
13475
13539
|
var require_valid = __commonJS({
|
|
13476
13540
|
"../../magda-typescript-common/node_modules/semver/functions/valid.js"(exports, module) {
|
|
13541
|
+
init_cjs_shim();
|
|
13477
13542
|
var parse = require_parse();
|
|
13478
13543
|
var valid = (version, options) => {
|
|
13479
13544
|
const v = parse(version, options);
|
|
@@ -13486,6 +13551,7 @@ var require_valid = __commonJS({
|
|
|
13486
13551
|
// ../../magda-typescript-common/node_modules/semver/functions/clean.js
|
|
13487
13552
|
var require_clean = __commonJS({
|
|
13488
13553
|
"../../magda-typescript-common/node_modules/semver/functions/clean.js"(exports, module) {
|
|
13554
|
+
init_cjs_shim();
|
|
13489
13555
|
var parse = require_parse();
|
|
13490
13556
|
var clean = (version, options) => {
|
|
13491
13557
|
const s = parse(version.trim().replace(/^[=v]+/, ""), options);
|
|
@@ -13498,6 +13564,7 @@ var require_clean = __commonJS({
|
|
|
13498
13564
|
// ../../magda-typescript-common/node_modules/semver/functions/inc.js
|
|
13499
13565
|
var require_inc = __commonJS({
|
|
13500
13566
|
"../../magda-typescript-common/node_modules/semver/functions/inc.js"(exports, module) {
|
|
13567
|
+
init_cjs_shim();
|
|
13501
13568
|
var SemVer = require_semver();
|
|
13502
13569
|
var inc = (version, release, options, identifier, identifierBase) => {
|
|
13503
13570
|
if (typeof options === "string") {
|
|
@@ -13521,6 +13588,7 @@ var require_inc = __commonJS({
|
|
|
13521
13588
|
// ../../magda-typescript-common/node_modules/semver/functions/diff.js
|
|
13522
13589
|
var require_diff = __commonJS({
|
|
13523
13590
|
"../../magda-typescript-common/node_modules/semver/functions/diff.js"(exports, module) {
|
|
13591
|
+
init_cjs_shim();
|
|
13524
13592
|
var parse = require_parse();
|
|
13525
13593
|
var diff = (version1, version2) => {
|
|
13526
13594
|
const v1 = parse(version1, null, true);
|
|
@@ -13565,6 +13633,7 @@ var require_diff = __commonJS({
|
|
|
13565
13633
|
// ../../magda-typescript-common/node_modules/semver/functions/major.js
|
|
13566
13634
|
var require_major = __commonJS({
|
|
13567
13635
|
"../../magda-typescript-common/node_modules/semver/functions/major.js"(exports, module) {
|
|
13636
|
+
init_cjs_shim();
|
|
13568
13637
|
var SemVer = require_semver();
|
|
13569
13638
|
var major = (a, loose) => new SemVer(a, loose).major;
|
|
13570
13639
|
module.exports = major;
|
|
@@ -13574,6 +13643,7 @@ var require_major = __commonJS({
|
|
|
13574
13643
|
// ../../magda-typescript-common/node_modules/semver/functions/minor.js
|
|
13575
13644
|
var require_minor = __commonJS({
|
|
13576
13645
|
"../../magda-typescript-common/node_modules/semver/functions/minor.js"(exports, module) {
|
|
13646
|
+
init_cjs_shim();
|
|
13577
13647
|
var SemVer = require_semver();
|
|
13578
13648
|
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
13579
13649
|
module.exports = minor;
|
|
@@ -13583,6 +13653,7 @@ var require_minor = __commonJS({
|
|
|
13583
13653
|
// ../../magda-typescript-common/node_modules/semver/functions/patch.js
|
|
13584
13654
|
var require_patch = __commonJS({
|
|
13585
13655
|
"../../magda-typescript-common/node_modules/semver/functions/patch.js"(exports, module) {
|
|
13656
|
+
init_cjs_shim();
|
|
13586
13657
|
var SemVer = require_semver();
|
|
13587
13658
|
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
13588
13659
|
module.exports = patch;
|
|
@@ -13592,6 +13663,7 @@ var require_patch = __commonJS({
|
|
|
13592
13663
|
// ../../magda-typescript-common/node_modules/semver/functions/prerelease.js
|
|
13593
13664
|
var require_prerelease = __commonJS({
|
|
13594
13665
|
"../../magda-typescript-common/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
13666
|
+
init_cjs_shim();
|
|
13595
13667
|
var parse = require_parse();
|
|
13596
13668
|
var prerelease = (version, options) => {
|
|
13597
13669
|
const parsed = parse(version, options);
|
|
@@ -13604,6 +13676,7 @@ var require_prerelease = __commonJS({
|
|
|
13604
13676
|
// ../../magda-typescript-common/node_modules/semver/functions/compare.js
|
|
13605
13677
|
var require_compare = __commonJS({
|
|
13606
13678
|
"../../magda-typescript-common/node_modules/semver/functions/compare.js"(exports, module) {
|
|
13679
|
+
init_cjs_shim();
|
|
13607
13680
|
var SemVer = require_semver();
|
|
13608
13681
|
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
13609
13682
|
module.exports = compare;
|
|
@@ -13613,6 +13686,7 @@ var require_compare = __commonJS({
|
|
|
13613
13686
|
// ../../magda-typescript-common/node_modules/semver/functions/rcompare.js
|
|
13614
13687
|
var require_rcompare = __commonJS({
|
|
13615
13688
|
"../../magda-typescript-common/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
13689
|
+
init_cjs_shim();
|
|
13616
13690
|
var compare = require_compare();
|
|
13617
13691
|
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
13618
13692
|
module.exports = rcompare;
|
|
@@ -13622,6 +13696,7 @@ var require_rcompare = __commonJS({
|
|
|
13622
13696
|
// ../../magda-typescript-common/node_modules/semver/functions/compare-loose.js
|
|
13623
13697
|
var require_compare_loose = __commonJS({
|
|
13624
13698
|
"../../magda-typescript-common/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
13699
|
+
init_cjs_shim();
|
|
13625
13700
|
var compare = require_compare();
|
|
13626
13701
|
var compareLoose = (a, b) => compare(a, b, true);
|
|
13627
13702
|
module.exports = compareLoose;
|
|
@@ -13631,6 +13706,7 @@ var require_compare_loose = __commonJS({
|
|
|
13631
13706
|
// ../../magda-typescript-common/node_modules/semver/functions/compare-build.js
|
|
13632
13707
|
var require_compare_build = __commonJS({
|
|
13633
13708
|
"../../magda-typescript-common/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
13709
|
+
init_cjs_shim();
|
|
13634
13710
|
var SemVer = require_semver();
|
|
13635
13711
|
var compareBuild = (a, b, loose) => {
|
|
13636
13712
|
const versionA = new SemVer(a, loose);
|
|
@@ -13644,6 +13720,7 @@ var require_compare_build = __commonJS({
|
|
|
13644
13720
|
// ../../magda-typescript-common/node_modules/semver/functions/sort.js
|
|
13645
13721
|
var require_sort = __commonJS({
|
|
13646
13722
|
"../../magda-typescript-common/node_modules/semver/functions/sort.js"(exports, module) {
|
|
13723
|
+
init_cjs_shim();
|
|
13647
13724
|
var compareBuild = require_compare_build();
|
|
13648
13725
|
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
13649
13726
|
module.exports = sort;
|
|
@@ -13653,6 +13730,7 @@ var require_sort = __commonJS({
|
|
|
13653
13730
|
// ../../magda-typescript-common/node_modules/semver/functions/rsort.js
|
|
13654
13731
|
var require_rsort = __commonJS({
|
|
13655
13732
|
"../../magda-typescript-common/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
13733
|
+
init_cjs_shim();
|
|
13656
13734
|
var compareBuild = require_compare_build();
|
|
13657
13735
|
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
13658
13736
|
module.exports = rsort;
|
|
@@ -13662,6 +13740,7 @@ var require_rsort = __commonJS({
|
|
|
13662
13740
|
// ../../magda-typescript-common/node_modules/semver/functions/gt.js
|
|
13663
13741
|
var require_gt = __commonJS({
|
|
13664
13742
|
"../../magda-typescript-common/node_modules/semver/functions/gt.js"(exports, module) {
|
|
13743
|
+
init_cjs_shim();
|
|
13665
13744
|
var compare = require_compare();
|
|
13666
13745
|
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
13667
13746
|
module.exports = gt;
|
|
@@ -13671,6 +13750,7 @@ var require_gt = __commonJS({
|
|
|
13671
13750
|
// ../../magda-typescript-common/node_modules/semver/functions/lt.js
|
|
13672
13751
|
var require_lt = __commonJS({
|
|
13673
13752
|
"../../magda-typescript-common/node_modules/semver/functions/lt.js"(exports, module) {
|
|
13753
|
+
init_cjs_shim();
|
|
13674
13754
|
var compare = require_compare();
|
|
13675
13755
|
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
13676
13756
|
module.exports = lt;
|
|
@@ -13680,6 +13760,7 @@ var require_lt = __commonJS({
|
|
|
13680
13760
|
// ../../magda-typescript-common/node_modules/semver/functions/eq.js
|
|
13681
13761
|
var require_eq = __commonJS({
|
|
13682
13762
|
"../../magda-typescript-common/node_modules/semver/functions/eq.js"(exports, module) {
|
|
13763
|
+
init_cjs_shim();
|
|
13683
13764
|
var compare = require_compare();
|
|
13684
13765
|
var eq2 = (a, b, loose) => compare(a, b, loose) === 0;
|
|
13685
13766
|
module.exports = eq2;
|
|
@@ -13689,6 +13770,7 @@ var require_eq = __commonJS({
|
|
|
13689
13770
|
// ../../magda-typescript-common/node_modules/semver/functions/neq.js
|
|
13690
13771
|
var require_neq = __commonJS({
|
|
13691
13772
|
"../../magda-typescript-common/node_modules/semver/functions/neq.js"(exports, module) {
|
|
13773
|
+
init_cjs_shim();
|
|
13692
13774
|
var compare = require_compare();
|
|
13693
13775
|
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
13694
13776
|
module.exports = neq;
|
|
@@ -13698,6 +13780,7 @@ var require_neq = __commonJS({
|
|
|
13698
13780
|
// ../../magda-typescript-common/node_modules/semver/functions/gte.js
|
|
13699
13781
|
var require_gte = __commonJS({
|
|
13700
13782
|
"../../magda-typescript-common/node_modules/semver/functions/gte.js"(exports, module) {
|
|
13783
|
+
init_cjs_shim();
|
|
13701
13784
|
var compare = require_compare();
|
|
13702
13785
|
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
13703
13786
|
module.exports = gte;
|
|
@@ -13707,6 +13790,7 @@ var require_gte = __commonJS({
|
|
|
13707
13790
|
// ../../magda-typescript-common/node_modules/semver/functions/lte.js
|
|
13708
13791
|
var require_lte = __commonJS({
|
|
13709
13792
|
"../../magda-typescript-common/node_modules/semver/functions/lte.js"(exports, module) {
|
|
13793
|
+
init_cjs_shim();
|
|
13710
13794
|
var compare = require_compare();
|
|
13711
13795
|
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
13712
13796
|
module.exports = lte;
|
|
@@ -13716,6 +13800,7 @@ var require_lte = __commonJS({
|
|
|
13716
13800
|
// ../../magda-typescript-common/node_modules/semver/functions/cmp.js
|
|
13717
13801
|
var require_cmp = __commonJS({
|
|
13718
13802
|
"../../magda-typescript-common/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
13803
|
+
init_cjs_shim();
|
|
13719
13804
|
var eq2 = require_eq();
|
|
13720
13805
|
var neq = require_neq();
|
|
13721
13806
|
var gt = require_gt();
|
|
@@ -13765,6 +13850,7 @@ var require_cmp = __commonJS({
|
|
|
13765
13850
|
// ../../magda-typescript-common/node_modules/semver/functions/coerce.js
|
|
13766
13851
|
var require_coerce = __commonJS({
|
|
13767
13852
|
"../../magda-typescript-common/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
13853
|
+
init_cjs_shim();
|
|
13768
13854
|
var SemVer = require_semver();
|
|
13769
13855
|
var parse = require_parse();
|
|
13770
13856
|
var { safeRe: re, t } = require_re();
|
|
@@ -13805,6 +13891,7 @@ var require_coerce = __commonJS({
|
|
|
13805
13891
|
var require_iterator = __commonJS({
|
|
13806
13892
|
"../../node_modules/yallist/iterator.js"(exports, module) {
|
|
13807
13893
|
"use strict";
|
|
13894
|
+
init_cjs_shim();
|
|
13808
13895
|
module.exports = function(Yallist) {
|
|
13809
13896
|
Yallist.prototype[Symbol.iterator] = function* () {
|
|
13810
13897
|
for (let walker = this.head; walker; walker = walker.next) {
|
|
@@ -13819,6 +13906,7 @@ var require_iterator = __commonJS({
|
|
|
13819
13906
|
var require_yallist = __commonJS({
|
|
13820
13907
|
"../../node_modules/yallist/yallist.js"(exports, module) {
|
|
13821
13908
|
"use strict";
|
|
13909
|
+
init_cjs_shim();
|
|
13822
13910
|
module.exports = Yallist;
|
|
13823
13911
|
Yallist.Node = Node;
|
|
13824
13912
|
Yallist.create = Yallist;
|
|
@@ -14188,6 +14276,7 @@ var require_yallist = __commonJS({
|
|
|
14188
14276
|
var require_lru_cache = __commonJS({
|
|
14189
14277
|
"../../node_modules/lru-cache/index.js"(exports, module) {
|
|
14190
14278
|
"use strict";
|
|
14279
|
+
init_cjs_shim();
|
|
14191
14280
|
var Yallist = require_yallist();
|
|
14192
14281
|
var MAX = Symbol("max");
|
|
14193
14282
|
var LENGTH = Symbol("length");
|
|
@@ -14457,6 +14546,7 @@ var require_lru_cache = __commonJS({
|
|
|
14457
14546
|
// ../../magda-typescript-common/node_modules/semver/classes/range.js
|
|
14458
14547
|
var require_range = __commonJS({
|
|
14459
14548
|
"../../magda-typescript-common/node_modules/semver/classes/range.js"(exports, module) {
|
|
14549
|
+
init_cjs_shim();
|
|
14460
14550
|
var Range = class _Range {
|
|
14461
14551
|
constructor(range, options) {
|
|
14462
14552
|
options = parseOptions(options);
|
|
@@ -14814,6 +14904,7 @@ var require_range = __commonJS({
|
|
|
14814
14904
|
// ../../magda-typescript-common/node_modules/semver/classes/comparator.js
|
|
14815
14905
|
var require_comparator = __commonJS({
|
|
14816
14906
|
"../../magda-typescript-common/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
14907
|
+
init_cjs_shim();
|
|
14817
14908
|
var ANY = Symbol("SemVer ANY");
|
|
14818
14909
|
var Comparator = class _Comparator {
|
|
14819
14910
|
static get ANY() {
|
|
@@ -14926,6 +15017,7 @@ var require_comparator = __commonJS({
|
|
|
14926
15017
|
// ../../magda-typescript-common/node_modules/semver/functions/satisfies.js
|
|
14927
15018
|
var require_satisfies = __commonJS({
|
|
14928
15019
|
"../../magda-typescript-common/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
15020
|
+
init_cjs_shim();
|
|
14929
15021
|
var Range = require_range();
|
|
14930
15022
|
var satisfies = (version, range, options) => {
|
|
14931
15023
|
try {
|
|
@@ -14942,6 +15034,7 @@ var require_satisfies = __commonJS({
|
|
|
14942
15034
|
// ../../magda-typescript-common/node_modules/semver/ranges/to-comparators.js
|
|
14943
15035
|
var require_to_comparators = __commonJS({
|
|
14944
15036
|
"../../magda-typescript-common/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
15037
|
+
init_cjs_shim();
|
|
14945
15038
|
var Range = require_range();
|
|
14946
15039
|
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
14947
15040
|
module.exports = toComparators;
|
|
@@ -14951,6 +15044,7 @@ var require_to_comparators = __commonJS({
|
|
|
14951
15044
|
// ../../magda-typescript-common/node_modules/semver/ranges/max-satisfying.js
|
|
14952
15045
|
var require_max_satisfying = __commonJS({
|
|
14953
15046
|
"../../magda-typescript-common/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
15047
|
+
init_cjs_shim();
|
|
14954
15048
|
var SemVer = require_semver();
|
|
14955
15049
|
var Range = require_range();
|
|
14956
15050
|
var maxSatisfying = (versions, range, options) => {
|
|
@@ -14979,6 +15073,7 @@ var require_max_satisfying = __commonJS({
|
|
|
14979
15073
|
// ../../magda-typescript-common/node_modules/semver/ranges/min-satisfying.js
|
|
14980
15074
|
var require_min_satisfying = __commonJS({
|
|
14981
15075
|
"../../magda-typescript-common/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
15076
|
+
init_cjs_shim();
|
|
14982
15077
|
var SemVer = require_semver();
|
|
14983
15078
|
var Range = require_range();
|
|
14984
15079
|
var minSatisfying = (versions, range, options) => {
|
|
@@ -15007,6 +15102,7 @@ var require_min_satisfying = __commonJS({
|
|
|
15007
15102
|
// ../../magda-typescript-common/node_modules/semver/ranges/min-version.js
|
|
15008
15103
|
var require_min_version = __commonJS({
|
|
15009
15104
|
"../../magda-typescript-common/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
15105
|
+
init_cjs_shim();
|
|
15010
15106
|
var SemVer = require_semver();
|
|
15011
15107
|
var Range = require_range();
|
|
15012
15108
|
var gt = require_gt();
|
|
@@ -15063,6 +15159,7 @@ var require_min_version = __commonJS({
|
|
|
15063
15159
|
// ../../magda-typescript-common/node_modules/semver/ranges/valid.js
|
|
15064
15160
|
var require_valid2 = __commonJS({
|
|
15065
15161
|
"../../magda-typescript-common/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
15162
|
+
init_cjs_shim();
|
|
15066
15163
|
var Range = require_range();
|
|
15067
15164
|
var validRange = (range, options) => {
|
|
15068
15165
|
try {
|
|
@@ -15078,6 +15175,7 @@ var require_valid2 = __commonJS({
|
|
|
15078
15175
|
// ../../magda-typescript-common/node_modules/semver/ranges/outside.js
|
|
15079
15176
|
var require_outside = __commonJS({
|
|
15080
15177
|
"../../magda-typescript-common/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
15178
|
+
init_cjs_shim();
|
|
15081
15179
|
var SemVer = require_semver();
|
|
15082
15180
|
var Comparator = require_comparator();
|
|
15083
15181
|
var { ANY } = Comparator;
|
|
@@ -15146,6 +15244,7 @@ var require_outside = __commonJS({
|
|
|
15146
15244
|
// ../../magda-typescript-common/node_modules/semver/ranges/gtr.js
|
|
15147
15245
|
var require_gtr = __commonJS({
|
|
15148
15246
|
"../../magda-typescript-common/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
15247
|
+
init_cjs_shim();
|
|
15149
15248
|
var outside = require_outside();
|
|
15150
15249
|
var gtr = (version, range, options) => outside(version, range, ">", options);
|
|
15151
15250
|
module.exports = gtr;
|
|
@@ -15155,6 +15254,7 @@ var require_gtr = __commonJS({
|
|
|
15155
15254
|
// ../../magda-typescript-common/node_modules/semver/ranges/ltr.js
|
|
15156
15255
|
var require_ltr = __commonJS({
|
|
15157
15256
|
"../../magda-typescript-common/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
15257
|
+
init_cjs_shim();
|
|
15158
15258
|
var outside = require_outside();
|
|
15159
15259
|
var ltr = (version, range, options) => outside(version, range, "<", options);
|
|
15160
15260
|
module.exports = ltr;
|
|
@@ -15164,6 +15264,7 @@ var require_ltr = __commonJS({
|
|
|
15164
15264
|
// ../../magda-typescript-common/node_modules/semver/ranges/intersects.js
|
|
15165
15265
|
var require_intersects = __commonJS({
|
|
15166
15266
|
"../../magda-typescript-common/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
15267
|
+
init_cjs_shim();
|
|
15167
15268
|
var Range = require_range();
|
|
15168
15269
|
var intersects = (r1, r2, options) => {
|
|
15169
15270
|
r1 = new Range(r1, options);
|
|
@@ -15177,6 +15278,7 @@ var require_intersects = __commonJS({
|
|
|
15177
15278
|
// ../../magda-typescript-common/node_modules/semver/ranges/simplify.js
|
|
15178
15279
|
var require_simplify = __commonJS({
|
|
15179
15280
|
"../../magda-typescript-common/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
15281
|
+
init_cjs_shim();
|
|
15180
15282
|
var satisfies = require_satisfies();
|
|
15181
15283
|
var compare = require_compare();
|
|
15182
15284
|
module.exports = (versions, range, options) => {
|
|
@@ -15226,6 +15328,7 @@ var require_simplify = __commonJS({
|
|
|
15226
15328
|
// ../../magda-typescript-common/node_modules/semver/ranges/subset.js
|
|
15227
15329
|
var require_subset = __commonJS({
|
|
15228
15330
|
"../../magda-typescript-common/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
15331
|
+
init_cjs_shim();
|
|
15229
15332
|
var Range = require_range();
|
|
15230
15333
|
var Comparator = require_comparator();
|
|
15231
15334
|
var { ANY } = Comparator;
|
|
@@ -15388,6 +15491,7 @@ var require_subset = __commonJS({
|
|
|
15388
15491
|
// ../../magda-typescript-common/node_modules/semver/index.js
|
|
15389
15492
|
var require_semver2 = __commonJS({
|
|
15390
15493
|
"../../magda-typescript-common/node_modules/semver/index.js"(exports, module) {
|
|
15494
|
+
init_cjs_shim();
|
|
15391
15495
|
var internalRe = require_re();
|
|
15392
15496
|
var constants = require_constants();
|
|
15393
15497
|
var SemVer = require_semver();
|
|
@@ -15482,6 +15586,7 @@ var require_semver2 = __commonJS({
|
|
|
15482
15586
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js
|
|
15483
15587
|
var require_asymmetricKeyDetailsSupported = __commonJS({
|
|
15484
15588
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js"(exports, module) {
|
|
15589
|
+
init_cjs_shim();
|
|
15485
15590
|
var semver = require_semver2();
|
|
15486
15591
|
module.exports = semver.satisfies(process.version, ">=15.7.0");
|
|
15487
15592
|
}
|
|
@@ -15490,6 +15595,7 @@ var require_asymmetricKeyDetailsSupported = __commonJS({
|
|
|
15490
15595
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js
|
|
15491
15596
|
var require_rsaPssKeyDetailsSupported = __commonJS({
|
|
15492
15597
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js"(exports, module) {
|
|
15598
|
+
init_cjs_shim();
|
|
15493
15599
|
var semver = require_semver2();
|
|
15494
15600
|
module.exports = semver.satisfies(process.version, ">=16.9.0");
|
|
15495
15601
|
}
|
|
@@ -15498,6 +15604,7 @@ var require_rsaPssKeyDetailsSupported = __commonJS({
|
|
|
15498
15604
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js
|
|
15499
15605
|
var require_validateAsymmetricKey = __commonJS({
|
|
15500
15606
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js"(exports, module) {
|
|
15607
|
+
init_cjs_shim();
|
|
15501
15608
|
var ASYMMETRIC_KEY_DETAILS_SUPPORTED = require_asymmetricKeyDetailsSupported();
|
|
15502
15609
|
var RSA_PSS_KEY_DETAILS_SUPPORTED = require_rsaPssKeyDetailsSupported();
|
|
15503
15610
|
var allowedAlgorithmsForKeys = {
|
|
@@ -15553,6 +15660,7 @@ var require_validateAsymmetricKey = __commonJS({
|
|
|
15553
15660
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/psSupported.js
|
|
15554
15661
|
var require_psSupported = __commonJS({
|
|
15555
15662
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/psSupported.js"(exports, module) {
|
|
15663
|
+
init_cjs_shim();
|
|
15556
15664
|
var semver = require_semver2();
|
|
15557
15665
|
module.exports = semver.satisfies(process.version, "^6.12.0 || >=8.0.0");
|
|
15558
15666
|
}
|
|
@@ -15561,6 +15669,7 @@ var require_psSupported = __commonJS({
|
|
|
15561
15669
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/verify.js
|
|
15562
15670
|
var require_verify = __commonJS({
|
|
15563
15671
|
"../../magda-typescript-common/node_modules/jsonwebtoken/verify.js"(exports, module) {
|
|
15672
|
+
init_cjs_shim();
|
|
15564
15673
|
var JsonWebTokenError = require_JsonWebTokenError();
|
|
15565
15674
|
var NotBeforeError = require_NotBeforeError();
|
|
15566
15675
|
var TokenExpiredError = require_TokenExpiredError();
|
|
@@ -15777,6 +15886,7 @@ var require_verify = __commonJS({
|
|
|
15777
15886
|
// ../../node_modules/lodash.includes/index.js
|
|
15778
15887
|
var require_lodash2 = __commonJS({
|
|
15779
15888
|
"../../node_modules/lodash.includes/index.js"(exports, module) {
|
|
15889
|
+
init_cjs_shim();
|
|
15780
15890
|
var INFINITY = 1 / 0;
|
|
15781
15891
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
15782
15892
|
var MAX_INTEGER = 17976931348623157e292;
|
|
@@ -15961,6 +16071,7 @@ var require_lodash2 = __commonJS({
|
|
|
15961
16071
|
// ../../node_modules/lodash.isboolean/index.js
|
|
15962
16072
|
var require_lodash3 = __commonJS({
|
|
15963
16073
|
"../../node_modules/lodash.isboolean/index.js"(exports, module) {
|
|
16074
|
+
init_cjs_shim();
|
|
15964
16075
|
var boolTag = "[object Boolean]";
|
|
15965
16076
|
var objectProto = Object.prototype;
|
|
15966
16077
|
var objectToString = objectProto.toString;
|
|
@@ -15977,6 +16088,7 @@ var require_lodash3 = __commonJS({
|
|
|
15977
16088
|
// ../../node_modules/lodash.isinteger/index.js
|
|
15978
16089
|
var require_lodash4 = __commonJS({
|
|
15979
16090
|
"../../node_modules/lodash.isinteger/index.js"(exports, module) {
|
|
16091
|
+
init_cjs_shim();
|
|
15980
16092
|
var INFINITY = 1 / 0;
|
|
15981
16093
|
var MAX_INTEGER = 17976931348623157e292;
|
|
15982
16094
|
var NAN = 0 / 0;
|
|
@@ -16041,6 +16153,7 @@ var require_lodash4 = __commonJS({
|
|
|
16041
16153
|
// ../../node_modules/lodash.isnumber/index.js
|
|
16042
16154
|
var require_lodash5 = __commonJS({
|
|
16043
16155
|
"../../node_modules/lodash.isnumber/index.js"(exports, module) {
|
|
16156
|
+
init_cjs_shim();
|
|
16044
16157
|
var numberTag = "[object Number]";
|
|
16045
16158
|
var objectProto = Object.prototype;
|
|
16046
16159
|
var objectToString = objectProto.toString;
|
|
@@ -16057,6 +16170,7 @@ var require_lodash5 = __commonJS({
|
|
|
16057
16170
|
// ../../node_modules/lodash.isplainobject/index.js
|
|
16058
16171
|
var require_lodash6 = __commonJS({
|
|
16059
16172
|
"../../node_modules/lodash.isplainobject/index.js"(exports, module) {
|
|
16173
|
+
init_cjs_shim();
|
|
16060
16174
|
var objectTag = "[object Object]";
|
|
16061
16175
|
function isHostObject(value) {
|
|
16062
16176
|
var result = false;
|
|
@@ -16101,6 +16215,7 @@ var require_lodash6 = __commonJS({
|
|
|
16101
16215
|
// ../../node_modules/lodash.isstring/index.js
|
|
16102
16216
|
var require_lodash7 = __commonJS({
|
|
16103
16217
|
"../../node_modules/lodash.isstring/index.js"(exports, module) {
|
|
16218
|
+
init_cjs_shim();
|
|
16104
16219
|
var stringTag = "[object String]";
|
|
16105
16220
|
var objectProto = Object.prototype;
|
|
16106
16221
|
var objectToString = objectProto.toString;
|
|
@@ -16118,6 +16233,7 @@ var require_lodash7 = __commonJS({
|
|
|
16118
16233
|
// ../../node_modules/lodash.once/index.js
|
|
16119
16234
|
var require_lodash8 = __commonJS({
|
|
16120
16235
|
"../../node_modules/lodash.once/index.js"(exports, module) {
|
|
16236
|
+
init_cjs_shim();
|
|
16121
16237
|
var FUNC_ERROR_TEXT = "Expected a function";
|
|
16122
16238
|
var INFINITY = 1 / 0;
|
|
16123
16239
|
var MAX_INTEGER = 17976931348623157e292;
|
|
@@ -16199,6 +16315,7 @@ var require_lodash8 = __commonJS({
|
|
|
16199
16315
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/sign.js
|
|
16200
16316
|
var require_sign = __commonJS({
|
|
16201
16317
|
"../../magda-typescript-common/node_modules/jsonwebtoken/sign.js"(exports, module) {
|
|
16318
|
+
init_cjs_shim();
|
|
16202
16319
|
var timespan = require_timespan();
|
|
16203
16320
|
var PS_SUPPORTED = require_psSupported();
|
|
16204
16321
|
var validateAsymmetricKey = require_validateAsymmetricKey();
|
|
@@ -16424,6 +16541,7 @@ var require_sign = __commonJS({
|
|
|
16424
16541
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/index.js
|
|
16425
16542
|
var require_jsonwebtoken = __commonJS({
|
|
16426
16543
|
"../../magda-typescript-common/node_modules/jsonwebtoken/index.js"(exports, module) {
|
|
16544
|
+
init_cjs_shim();
|
|
16427
16545
|
module.exports = {
|
|
16428
16546
|
decode: require_decode(),
|
|
16429
16547
|
verify: require_verify(),
|
|
@@ -16438,6 +16556,7 @@ var require_jsonwebtoken = __commonJS({
|
|
|
16438
16556
|
// ../../node_modules/urijs/src/punycode.js
|
|
16439
16557
|
var require_punycode = __commonJS({
|
|
16440
16558
|
"../../node_modules/urijs/src/punycode.js"(exports, module) {
|
|
16559
|
+
init_cjs_shim();
|
|
16441
16560
|
(function(root) {
|
|
16442
16561
|
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
16443
16562
|
var freeModule = typeof module == "object" && module && !module.nodeType && module;
|
|
@@ -16684,6 +16803,7 @@ var require_punycode = __commonJS({
|
|
|
16684
16803
|
// ../../node_modules/urijs/src/IPv6.js
|
|
16685
16804
|
var require_IPv6 = __commonJS({
|
|
16686
16805
|
"../../node_modules/urijs/src/IPv6.js"(exports, module) {
|
|
16806
|
+
init_cjs_shim();
|
|
16687
16807
|
(function(root, factory) {
|
|
16688
16808
|
"use strict";
|
|
16689
16809
|
if (typeof module === "object" && module.exports) {
|
|
@@ -16802,6 +16922,7 @@ var require_IPv6 = __commonJS({
|
|
|
16802
16922
|
// ../../node_modules/urijs/src/SecondLevelDomains.js
|
|
16803
16923
|
var require_SecondLevelDomains = __commonJS({
|
|
16804
16924
|
"../../node_modules/urijs/src/SecondLevelDomains.js"(exports, module) {
|
|
16925
|
+
init_cjs_shim();
|
|
16805
16926
|
(function(root, factory) {
|
|
16806
16927
|
"use strict";
|
|
16807
16928
|
if (typeof module === "object" && module.exports) {
|
|
@@ -17031,6 +17152,7 @@ var require_SecondLevelDomains = __commonJS({
|
|
|
17031
17152
|
// ../../node_modules/urijs/src/URI.js
|
|
17032
17153
|
var require_URI = __commonJS({
|
|
17033
17154
|
"../../node_modules/urijs/src/URI.js"(exports, module) {
|
|
17155
|
+
init_cjs_shim();
|
|
17034
17156
|
(function(root, factory) {
|
|
17035
17157
|
"use strict";
|
|
17036
17158
|
if (typeof module === "object" && module.exports) {
|
|
@@ -17043,34 +17165,34 @@ var require_URI = __commonJS({
|
|
|
17043
17165
|
})(exports, function(punycode, IPv6, SLD, root) {
|
|
17044
17166
|
"use strict";
|
|
17045
17167
|
var _URI = root && root.URI;
|
|
17046
|
-
function URI(
|
|
17168
|
+
function URI(url2, base) {
|
|
17047
17169
|
var _urlSupplied = arguments.length >= 1;
|
|
17048
17170
|
var _baseSupplied = arguments.length >= 2;
|
|
17049
17171
|
if (!(this instanceof URI)) {
|
|
17050
17172
|
if (_urlSupplied) {
|
|
17051
17173
|
if (_baseSupplied) {
|
|
17052
|
-
return new URI(
|
|
17174
|
+
return new URI(url2, base);
|
|
17053
17175
|
}
|
|
17054
|
-
return new URI(
|
|
17176
|
+
return new URI(url2);
|
|
17055
17177
|
}
|
|
17056
17178
|
return new URI();
|
|
17057
17179
|
}
|
|
17058
|
-
if (
|
|
17180
|
+
if (url2 === void 0) {
|
|
17059
17181
|
if (_urlSupplied) {
|
|
17060
17182
|
throw new TypeError("undefined is not a valid argument for URI");
|
|
17061
17183
|
}
|
|
17062
17184
|
if (typeof location !== "undefined") {
|
|
17063
|
-
|
|
17185
|
+
url2 = location.href + "";
|
|
17064
17186
|
} else {
|
|
17065
|
-
|
|
17187
|
+
url2 = "";
|
|
17066
17188
|
}
|
|
17067
17189
|
}
|
|
17068
|
-
if (
|
|
17190
|
+
if (url2 === null) {
|
|
17069
17191
|
if (_urlSupplied) {
|
|
17070
17192
|
throw new TypeError("null is not a valid argument for URI");
|
|
17071
17193
|
}
|
|
17072
17194
|
}
|
|
17073
|
-
this.href(
|
|
17195
|
+
this.href(url2);
|
|
17074
17196
|
if (base !== void 0) {
|
|
17075
17197
|
return this.absoluteTo(base);
|
|
17076
17198
|
}
|
|
@@ -17764,9 +17886,9 @@ var require_URI = __commonJS({
|
|
|
17764
17886
|
var segments = [];
|
|
17765
17887
|
var nonEmptySegments = 0;
|
|
17766
17888
|
for (var i = 0; i < arguments.length; i++) {
|
|
17767
|
-
var
|
|
17768
|
-
input.push(
|
|
17769
|
-
var _segments =
|
|
17889
|
+
var url2 = new URI(arguments[i]);
|
|
17890
|
+
input.push(url2);
|
|
17891
|
+
var _segments = url2.segment();
|
|
17770
17892
|
for (var s = 0; s < _segments.length; s++) {
|
|
17771
17893
|
if (typeof _segments[s] === "string") {
|
|
17772
17894
|
segments.push(_segments[s]);
|
|
@@ -18401,9 +18523,9 @@ var require_URI = __commonJS({
|
|
|
18401
18523
|
};
|
|
18402
18524
|
p.segment = function(segment, v, build) {
|
|
18403
18525
|
var separator = this._parts.urn ? ":" : "/";
|
|
18404
|
-
var
|
|
18405
|
-
var absolute =
|
|
18406
|
-
var segments =
|
|
18526
|
+
var path2 = this.path();
|
|
18527
|
+
var absolute = path2.substring(0, 1) === "/";
|
|
18528
|
+
var segments = path2.split(separator);
|
|
18407
18529
|
if (segment !== void 0 && typeof segment !== "number") {
|
|
18408
18530
|
build = v;
|
|
18409
18531
|
v = segment;
|
|
@@ -18857,10 +18979,21 @@ var require_URI = __commonJS({
|
|
|
18857
18979
|
}
|
|
18858
18980
|
});
|
|
18859
18981
|
|
|
18982
|
+
// src/index.ts
|
|
18983
|
+
init_cjs_shim();
|
|
18984
|
+
|
|
18860
18985
|
// ../../magda-typescript-common/dist/authorization-api/ApiClient.js
|
|
18986
|
+
init_cjs_shim();
|
|
18861
18987
|
var import_cross_fetch = __toESM(require_node_ponyfill(), 1);
|
|
18862
18988
|
|
|
18989
|
+
// ../../node_modules/@magda/tsmonad/dist/index.js
|
|
18990
|
+
init_cjs_shim();
|
|
18991
|
+
|
|
18992
|
+
// ../../node_modules/@magda/tsmonad/dist/either.js
|
|
18993
|
+
init_cjs_shim();
|
|
18994
|
+
|
|
18863
18995
|
// ../../node_modules/@magda/tsmonad/dist/monad.js
|
|
18996
|
+
init_cjs_shim();
|
|
18864
18997
|
function eq(a, b) {
|
|
18865
18998
|
var idx = 0;
|
|
18866
18999
|
if (a === b) {
|
|
@@ -18888,6 +19021,7 @@ var EitherType;
|
|
|
18888
19021
|
})(EitherType || (EitherType = {}));
|
|
18889
19022
|
|
|
18890
19023
|
// ../../node_modules/@magda/tsmonad/dist/maybe.js
|
|
19024
|
+
init_cjs_shim();
|
|
18891
19025
|
var MaybeType;
|
|
18892
19026
|
(function(MaybeType2) {
|
|
18893
19027
|
MaybeType2[MaybeType2["Nothing"] = 0] = "Nothing";
|
|
@@ -18978,24 +19112,29 @@ var Maybe = class _Maybe {
|
|
|
18978
19112
|
}
|
|
18979
19113
|
};
|
|
18980
19114
|
|
|
19115
|
+
// ../../node_modules/@magda/tsmonad/dist/writer.js
|
|
19116
|
+
init_cjs_shim();
|
|
19117
|
+
|
|
18981
19118
|
// ../../magda-typescript-common/dist/authorization-api/ApiClient.js
|
|
18982
19119
|
var import_lodash = __toESM(require_lodash(), 1);
|
|
18983
19120
|
|
|
18984
19121
|
// ../../magda-typescript-common/dist/session/buildJwt.js
|
|
19122
|
+
init_cjs_shim();
|
|
18985
19123
|
var import_jsonwebtoken = __toESM(require_jsonwebtoken(), 1);
|
|
18986
19124
|
function buildJwt(jwtSecret, userId, session = {}) {
|
|
18987
19125
|
return import_jsonwebtoken.default.sign({ userId, session }, jwtSecret);
|
|
18988
19126
|
}
|
|
18989
19127
|
|
|
18990
19128
|
// ../../magda-typescript-common/dist/addTrailingSlash.js
|
|
18991
|
-
|
|
18992
|
-
|
|
18993
|
-
|
|
19129
|
+
init_cjs_shim();
|
|
19130
|
+
function addTrailingSlash(url2) {
|
|
19131
|
+
if (!url2) {
|
|
19132
|
+
return url2;
|
|
18994
19133
|
}
|
|
18995
|
-
if (
|
|
18996
|
-
return
|
|
19134
|
+
if (url2.lastIndexOf("/") !== url2.length - 1) {
|
|
19135
|
+
return url2 + "/";
|
|
18997
19136
|
} else {
|
|
18998
|
-
return
|
|
19137
|
+
return url2;
|
|
18999
19138
|
}
|
|
19000
19139
|
}
|
|
19001
19140
|
|
|
@@ -19003,6 +19142,7 @@ function addTrailingSlash(url) {
|
|
|
19003
19142
|
var import_urijs = __toESM(require_URI(), 1);
|
|
19004
19143
|
|
|
19005
19144
|
// ../../magda-typescript-common/dist/ServerError.js
|
|
19145
|
+
init_cjs_shim();
|
|
19006
19146
|
var ServerError = class extends Error {
|
|
19007
19147
|
statusCode;
|
|
19008
19148
|
constructor(message = "Unknown Error", statusCode = 500) {
|
|
@@ -19019,6 +19159,7 @@ var ServerError = class extends Error {
|
|
|
19019
19159
|
};
|
|
19020
19160
|
|
|
19021
19161
|
// ../../magda-typescript-common/dist/util/isUuid.js
|
|
19162
|
+
init_cjs_shim();
|
|
19022
19163
|
var uuidRegEx = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
19023
19164
|
var isUuid = (id) => typeof id === "string" && uuidRegEx.test(id);
|
|
19024
19165
|
var isUuid_default = isUuid;
|
|
@@ -19361,6 +19502,9 @@ var ApiClient = class {
|
|
|
19361
19502
|
}
|
|
19362
19503
|
};
|
|
19363
19504
|
|
|
19505
|
+
// ../../magda-typescript-common/dist/authorization-api/model.js
|
|
19506
|
+
init_cjs_shim();
|
|
19507
|
+
|
|
19364
19508
|
// src/index.ts
|
|
19365
19509
|
var src_default = ApiClient;
|
|
19366
19510
|
export {
|