@gudhub/core 1.2.4-beta.43 → 1.2.4-beta.44
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/.parcel-cache/83e7562660f7cc15-BundleGraph +0 -0
- package/.parcel-cache/d3a1b9507cb44047-AssetGraph +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/dc1da35000e13623-RequestGraph +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/.parcel-cache/snapshot-dc1da35000e13623.txt +10 -10
- package/GUDHUB/GHConstructor/createAngularModuleInstance.js +16 -19
- package/dist/gudhub.es.js +258 -260
- package/dist/gudhub.umd.js +9 -9
- package/package.json +1 -1
package/dist/gudhub.es.js
CHANGED
|
@@ -1302,21 +1302,21 @@ function requireObjectInspect() {
|
|
|
1302
1302
|
var n = typeof Map == "function" && Map.prototype, e = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, t = n && e && typeof e.get == "function" ? e.get : null, r = n && Map.prototype.forEach, i = typeof Set == "function" && Set.prototype, a = Object.getOwnPropertyDescriptor && i ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, s = i && a && typeof a.get == "function" ? a.get : null, l = i && Set.prototype.forEach, u = typeof WeakMap == "function" && WeakMap.prototype, o = u ? WeakMap.prototype.has : null, f = typeof WeakSet == "function" && WeakSet.prototype, d = f ? WeakSet.prototype.has : null, h = typeof WeakRef == "function" && WeakRef.prototype, y = h ? WeakRef.prototype.deref : null, m = Boolean.prototype.valueOf, v = Object.prototype.toString, p = Function.prototype.toString, E = String.prototype.match, S = String.prototype.slice, w = String.prototype.replace, g = String.prototype.toUpperCase, b = String.prototype.toLowerCase, A = RegExp.prototype.test, q = Array.prototype.concat, x = Array.prototype.join, D = Array.prototype.slice, j = Math.floor, F = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, N = Object.getOwnPropertySymbols, B = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, U = typeof Symbol == "function" && typeof Symbol.iterator == "object", H = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === U || !0) ? Symbol.toStringTag : null, z = Object.prototype.propertyIsEnumerable, K = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
|
|
1303
1303
|
return O.__proto__;
|
|
1304
1304
|
} : null);
|
|
1305
|
-
function W(O,
|
|
1306
|
-
if (O === 1 / 0 || O === -1 / 0 || O !== O || O && O > -1e3 && O < 1e3 || A.call(/e/,
|
|
1307
|
-
return
|
|
1305
|
+
function W(O, P) {
|
|
1306
|
+
if (O === 1 / 0 || O === -1 / 0 || O !== O || O && O > -1e3 && O < 1e3 || A.call(/e/, P))
|
|
1307
|
+
return P;
|
|
1308
1308
|
var G = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
1309
1309
|
if (typeof O == "number") {
|
|
1310
1310
|
var re = O < 0 ? -j(-O) : j(O);
|
|
1311
1311
|
if (re !== O) {
|
|
1312
|
-
var fe = String(re), ae = S.call(
|
|
1312
|
+
var fe = String(re), ae = S.call(P, fe.length + 1);
|
|
1313
1313
|
return w.call(fe, G, "$&_") + "." + w.call(w.call(ae, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
1314
1314
|
}
|
|
1315
1315
|
}
|
|
1316
|
-
return w.call(
|
|
1316
|
+
return w.call(P, G, "$&_");
|
|
1317
1317
|
}
|
|
1318
1318
|
var te = require$$0, Z = te.custom, V = le(Z) ? Z : null;
|
|
1319
|
-
objectInspect = function O(
|
|
1319
|
+
objectInspect = function O(P, G, re, fe) {
|
|
1320
1320
|
var ae = G || {};
|
|
1321
1321
|
if (Se(ae, "quoteStyle") && ae.quoteStyle !== "single" && ae.quoteStyle !== "double")
|
|
1322
1322
|
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
@@ -1330,31 +1330,31 @@ function requireObjectInspect() {
|
|
|
1330
1330
|
if (Se(ae, "numericSeparator") && typeof ae.numericSeparator != "boolean")
|
|
1331
1331
|
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
1332
1332
|
var Ne = ae.numericSeparator;
|
|
1333
|
-
if (typeof
|
|
1333
|
+
if (typeof P > "u")
|
|
1334
1334
|
return "undefined";
|
|
1335
|
-
if (
|
|
1335
|
+
if (P === null)
|
|
1336
1336
|
return "null";
|
|
1337
|
-
if (typeof
|
|
1338
|
-
return
|
|
1339
|
-
if (typeof
|
|
1340
|
-
return Oe(
|
|
1341
|
-
if (typeof
|
|
1342
|
-
if (
|
|
1343
|
-
return 1 / 0 /
|
|
1344
|
-
var Ee = String(
|
|
1345
|
-
return Ne ? W(
|
|
1346
|
-
}
|
|
1347
|
-
if (typeof
|
|
1348
|
-
var
|
|
1349
|
-
return Ne ? W(
|
|
1337
|
+
if (typeof P == "boolean")
|
|
1338
|
+
return P ? "true" : "false";
|
|
1339
|
+
if (typeof P == "string")
|
|
1340
|
+
return Oe(P, ae);
|
|
1341
|
+
if (typeof P == "number") {
|
|
1342
|
+
if (P === 0)
|
|
1343
|
+
return 1 / 0 / P > 0 ? "0" : "-0";
|
|
1344
|
+
var Ee = String(P);
|
|
1345
|
+
return Ne ? W(P, Ee) : Ee;
|
|
1346
|
+
}
|
|
1347
|
+
if (typeof P == "bigint") {
|
|
1348
|
+
var Re = String(P) + "n";
|
|
1349
|
+
return Ne ? W(P, Re) : Re;
|
|
1350
1350
|
}
|
|
1351
1351
|
var He = typeof ae.depth > "u" ? 5 : ae.depth;
|
|
1352
|
-
if (typeof re > "u" && (re = 0), re >= He && He > 0 && typeof
|
|
1353
|
-
return k(
|
|
1352
|
+
if (typeof re > "u" && (re = 0), re >= He && He > 0 && typeof P == "object")
|
|
1353
|
+
return k(P) ? "[Array]" : "[Object]";
|
|
1354
1354
|
var $e = J(ae, re);
|
|
1355
1355
|
if (typeof fe > "u")
|
|
1356
1356
|
fe = [];
|
|
1357
|
-
else if (ye(fe,
|
|
1357
|
+
else if (ye(fe, P) >= 0)
|
|
1358
1358
|
return "[Circular]";
|
|
1359
1359
|
function xe(ke, Ke, at) {
|
|
1360
1360
|
if (Ke && (fe = D.call(fe), fe.push(Ke)), at) {
|
|
@@ -1365,75 +1365,75 @@ function requireObjectInspect() {
|
|
|
1365
1365
|
}
|
|
1366
1366
|
return O(ke, ae, re + 1, fe);
|
|
1367
1367
|
}
|
|
1368
|
-
if (typeof
|
|
1369
|
-
var Je = Te(
|
|
1368
|
+
if (typeof P == "function" && !Y(P)) {
|
|
1369
|
+
var Je = Te(P), Ye = M(P, xe);
|
|
1370
1370
|
return "[Function" + (Je ? ": " + Je : " (anonymous)") + "]" + (Ye.length > 0 ? " { " + x.call(Ye, ", ") + " }" : "");
|
|
1371
1371
|
}
|
|
1372
|
-
if (le(
|
|
1373
|
-
var Xe = U ? w.call(String(
|
|
1374
|
-
return typeof
|
|
1372
|
+
if (le(P)) {
|
|
1373
|
+
var Xe = U ? w.call(String(P), /^(Symbol\(.*\))_[^)]*$/, "$1") : B.call(P);
|
|
1374
|
+
return typeof P == "object" && !U ? Ie(Xe) : Xe;
|
|
1375
1375
|
}
|
|
1376
|
-
if (Me(
|
|
1377
|
-
for (var Ue = "<" + b.call(String(
|
|
1376
|
+
if (Me(P)) {
|
|
1377
|
+
for (var Ue = "<" + b.call(String(P.nodeName)), Qe = P.attributes || [], Ge = 0; Ge < Qe.length; Ge++)
|
|
1378
1378
|
Ue += " " + Qe[Ge].name + "=" + pe(C(Qe[Ge].value), "double", ae);
|
|
1379
|
-
return Ue += ">",
|
|
1379
|
+
return Ue += ">", P.childNodes && P.childNodes.length && (Ue += "..."), Ue += "</" + b.call(String(P.nodeName)) + ">", Ue;
|
|
1380
1380
|
}
|
|
1381
|
-
if (k(
|
|
1382
|
-
if (
|
|
1381
|
+
if (k(P)) {
|
|
1382
|
+
if (P.length === 0)
|
|
1383
1383
|
return "[]";
|
|
1384
|
-
var
|
|
1385
|
-
return $e && !we(
|
|
1384
|
+
var Pe = M(P, xe);
|
|
1385
|
+
return $e && !we(Pe) ? "[" + Q(Pe, $e) + "]" : "[ " + x.call(Pe, ", ") + " ]";
|
|
1386
1386
|
}
|
|
1387
|
-
if (se(
|
|
1388
|
-
var Ve = M(
|
|
1389
|
-
return !("cause" in Error.prototype) && "cause" in
|
|
1387
|
+
if (se(P)) {
|
|
1388
|
+
var Ve = M(P, xe);
|
|
1389
|
+
return !("cause" in Error.prototype) && "cause" in P && !z.call(P, "cause") ? "{ [" + String(P) + "] " + x.call(q.call("[cause]: " + xe(P.cause), Ve), ", ") + " }" : Ve.length === 0 ? "[" + String(P) + "]" : "{ [" + String(P) + "] " + x.call(Ve, ", ") + " }";
|
|
1390
1390
|
}
|
|
1391
|
-
if (typeof
|
|
1392
|
-
if (V && typeof
|
|
1393
|
-
return te(
|
|
1391
|
+
if (typeof P == "object" && qe) {
|
|
1392
|
+
if (V && typeof P[V] == "function" && te)
|
|
1393
|
+
return te(P, {
|
|
1394
1394
|
depth: He - re
|
|
1395
1395
|
});
|
|
1396
|
-
if (qe !== "symbol" && typeof
|
|
1397
|
-
return
|
|
1396
|
+
if (qe !== "symbol" && typeof P.inspect == "function")
|
|
1397
|
+
return P.inspect();
|
|
1398
1398
|
}
|
|
1399
|
-
if (Fe(
|
|
1399
|
+
if (Fe(P)) {
|
|
1400
1400
|
var rt = [];
|
|
1401
|
-
return r && r.call(
|
|
1402
|
-
rt.push(xe(Ke,
|
|
1403
|
-
}), ce("Map", t.call(
|
|
1401
|
+
return r && r.call(P, function(ke, Ke) {
|
|
1402
|
+
rt.push(xe(Ke, P, !0) + " => " + xe(ke, P));
|
|
1403
|
+
}), ce("Map", t.call(P), rt, $e);
|
|
1404
1404
|
}
|
|
1405
|
-
if (Be(
|
|
1405
|
+
if (Be(P)) {
|
|
1406
1406
|
var nt = [];
|
|
1407
|
-
return l && l.call(
|
|
1408
|
-
nt.push(xe(ke,
|
|
1409
|
-
}), ce("Set", s.call(
|
|
1407
|
+
return l && l.call(P, function(ke) {
|
|
1408
|
+
nt.push(xe(ke, P));
|
|
1409
|
+
}), ce("Set", s.call(P), nt, $e);
|
|
1410
1410
|
}
|
|
1411
|
-
if (ze(
|
|
1411
|
+
if (ze(P))
|
|
1412
1412
|
return ee("WeakMap");
|
|
1413
|
-
if (ie(
|
|
1413
|
+
if (ie(P))
|
|
1414
1414
|
return ee("WeakSet");
|
|
1415
|
-
if (je(
|
|
1415
|
+
if (je(P))
|
|
1416
1416
|
return ee("WeakRef");
|
|
1417
|
-
if (ne(
|
|
1418
|
-
return Ie(xe(Number(
|
|
1419
|
-
if (me(
|
|
1420
|
-
return Ie(xe(F.call(
|
|
1421
|
-
if (ue(
|
|
1422
|
-
return Ie(m.call(
|
|
1423
|
-
if (X(
|
|
1424
|
-
return Ie(xe(String(
|
|
1425
|
-
if (typeof window < "u" &&
|
|
1417
|
+
if (ne(P))
|
|
1418
|
+
return Ie(xe(Number(P)));
|
|
1419
|
+
if (me(P))
|
|
1420
|
+
return Ie(xe(F.call(P)));
|
|
1421
|
+
if (ue(P))
|
|
1422
|
+
return Ie(m.call(P));
|
|
1423
|
+
if (X(P))
|
|
1424
|
+
return Ie(xe(String(P)));
|
|
1425
|
+
if (typeof window < "u" && P === window)
|
|
1426
1426
|
return "{ [object Window] }";
|
|
1427
|
-
if (
|
|
1427
|
+
if (P === commonjsGlobal)
|
|
1428
1428
|
return "{ [object globalThis] }";
|
|
1429
|
-
if (!$(
|
|
1430
|
-
var Ae = M(
|
|
1429
|
+
if (!$(P) && !Y(P)) {
|
|
1430
|
+
var Ae = M(P, xe), he = K ? K(P) === Object.prototype : P instanceof Object || P.constructor === Object, Ze = P instanceof Object ? "" : "null prototype", We = !he && H && Object(P) === P && H in P ? S.call(be(P), 8, -1) : Ze ? "Object" : "", Ce = he || typeof P.constructor != "function" ? "" : P.constructor.name ? P.constructor.name + " " : "", et = Ce + (We || Ze ? "[" + x.call(q.call([], We || [], Ze || []), ": ") + "] " : "");
|
|
1431
1431
|
return Ae.length === 0 ? et + "{}" : $e ? et + "{" + Q(Ae, $e) + "}" : et + "{ " + x.call(Ae, ", ") + " }";
|
|
1432
1432
|
}
|
|
1433
|
-
return String(
|
|
1433
|
+
return String(P);
|
|
1434
1434
|
};
|
|
1435
|
-
function pe(O,
|
|
1436
|
-
var re = (G.quoteStyle ||
|
|
1435
|
+
function pe(O, P, G) {
|
|
1436
|
+
var re = (G.quoteStyle || P) === "double" ? '"' : "'";
|
|
1437
1437
|
return re + O + re;
|
|
1438
1438
|
}
|
|
1439
1439
|
function C(O) {
|
|
@@ -1485,8 +1485,8 @@ function requireObjectInspect() {
|
|
|
1485
1485
|
var ve = Object.prototype.hasOwnProperty || function(O) {
|
|
1486
1486
|
return O in this;
|
|
1487
1487
|
};
|
|
1488
|
-
function Se(O,
|
|
1489
|
-
return ve.call(O,
|
|
1488
|
+
function Se(O, P) {
|
|
1489
|
+
return ve.call(O, P);
|
|
1490
1490
|
}
|
|
1491
1491
|
function be(O) {
|
|
1492
1492
|
return v.call(O);
|
|
@@ -1494,14 +1494,14 @@ function requireObjectInspect() {
|
|
|
1494
1494
|
function Te(O) {
|
|
1495
1495
|
if (O.name)
|
|
1496
1496
|
return O.name;
|
|
1497
|
-
var
|
|
1498
|
-
return
|
|
1497
|
+
var P = E.call(p.call(O), /^function\s*([\w$]+)/);
|
|
1498
|
+
return P ? P[1] : null;
|
|
1499
1499
|
}
|
|
1500
|
-
function ye(O,
|
|
1500
|
+
function ye(O, P) {
|
|
1501
1501
|
if (O.indexOf)
|
|
1502
|
-
return O.indexOf(
|
|
1502
|
+
return O.indexOf(P);
|
|
1503
1503
|
for (var G = 0, re = O.length; G < re; G++)
|
|
1504
|
-
if (O[G] ===
|
|
1504
|
+
if (O[G] === P)
|
|
1505
1505
|
return G;
|
|
1506
1506
|
return -1;
|
|
1507
1507
|
}
|
|
@@ -1577,23 +1577,23 @@ function requireObjectInspect() {
|
|
|
1577
1577
|
function Me(O) {
|
|
1578
1578
|
return !O || typeof O != "object" ? !1 : typeof HTMLElement < "u" && O instanceof HTMLElement ? !0 : typeof O.nodeName == "string" && typeof O.getAttribute == "function";
|
|
1579
1579
|
}
|
|
1580
|
-
function Oe(O,
|
|
1581
|
-
if (O.length >
|
|
1582
|
-
var G = O.length -
|
|
1583
|
-
return Oe(S.call(O, 0,
|
|
1580
|
+
function Oe(O, P) {
|
|
1581
|
+
if (O.length > P.maxStringLength) {
|
|
1582
|
+
var G = O.length - P.maxStringLength, re = "... " + G + " more character" + (G > 1 ? "s" : "");
|
|
1583
|
+
return Oe(S.call(O, 0, P.maxStringLength), P) + re;
|
|
1584
1584
|
}
|
|
1585
1585
|
var fe = w.call(w.call(O, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, Le);
|
|
1586
|
-
return pe(fe, "single",
|
|
1586
|
+
return pe(fe, "single", P);
|
|
1587
1587
|
}
|
|
1588
1588
|
function Le(O) {
|
|
1589
|
-
var
|
|
1589
|
+
var P = O.charCodeAt(0), G = {
|
|
1590
1590
|
8: "b",
|
|
1591
1591
|
9: "t",
|
|
1592
1592
|
10: "n",
|
|
1593
1593
|
12: "f",
|
|
1594
1594
|
13: "r"
|
|
1595
|
-
}[
|
|
1596
|
-
return G ? "\\" + G : "\\x" + (
|
|
1595
|
+
}[P];
|
|
1596
|
+
return G ? "\\" + G : "\\x" + (P < 16 ? "0" : "") + g.call(P.toString(16));
|
|
1597
1597
|
}
|
|
1598
1598
|
function Ie(O) {
|
|
1599
1599
|
return "Object(" + O + ")";
|
|
@@ -1601,18 +1601,18 @@ function requireObjectInspect() {
|
|
|
1601
1601
|
function ee(O) {
|
|
1602
1602
|
return O + " { ? }";
|
|
1603
1603
|
}
|
|
1604
|
-
function ce(O,
|
|
1604
|
+
function ce(O, P, G, re) {
|
|
1605
1605
|
var fe = re ? Q(G, re) : x.call(G, ", ");
|
|
1606
|
-
return O + " (" +
|
|
1606
|
+
return O + " (" + P + ") {" + fe + "}";
|
|
1607
1607
|
}
|
|
1608
1608
|
function we(O) {
|
|
1609
|
-
for (var
|
|
1610
|
-
if (ye(O[
|
|
1609
|
+
for (var P = 0; P < O.length; P++)
|
|
1610
|
+
if (ye(O[P], `
|
|
1611
1611
|
`) >= 0)
|
|
1612
1612
|
return !1;
|
|
1613
1613
|
return !0;
|
|
1614
1614
|
}
|
|
1615
|
-
function J(O,
|
|
1615
|
+
function J(O, P) {
|
|
1616
1616
|
var G;
|
|
1617
1617
|
if (O.indent === " ")
|
|
1618
1618
|
G = " ";
|
|
@@ -1622,23 +1622,23 @@ function requireObjectInspect() {
|
|
|
1622
1622
|
return null;
|
|
1623
1623
|
return {
|
|
1624
1624
|
base: G,
|
|
1625
|
-
prev: x.call(Array(
|
|
1625
|
+
prev: x.call(Array(P + 1), G)
|
|
1626
1626
|
};
|
|
1627
1627
|
}
|
|
1628
|
-
function Q(O,
|
|
1628
|
+
function Q(O, P) {
|
|
1629
1629
|
if (O.length === 0)
|
|
1630
1630
|
return "";
|
|
1631
1631
|
var G = `
|
|
1632
|
-
` +
|
|
1632
|
+
` + P.prev + P.base;
|
|
1633
1633
|
return G + x.call(O, "," + G) + `
|
|
1634
|
-
` +
|
|
1634
|
+
` + P.prev;
|
|
1635
1635
|
}
|
|
1636
|
-
function M(O,
|
|
1636
|
+
function M(O, P) {
|
|
1637
1637
|
var G = k(O), re = [];
|
|
1638
1638
|
if (G) {
|
|
1639
1639
|
re.length = O.length;
|
|
1640
1640
|
for (var fe = 0; fe < O.length; fe++)
|
|
1641
|
-
re[fe] = Se(O, fe) ?
|
|
1641
|
+
re[fe] = Se(O, fe) ? P(O[fe], O) : "";
|
|
1642
1642
|
}
|
|
1643
1643
|
var ae = typeof N == "function" ? N(O) : [], qe;
|
|
1644
1644
|
if (U) {
|
|
@@ -1647,10 +1647,10 @@ function requireObjectInspect() {
|
|
|
1647
1647
|
qe["$" + ae[Ne]] = ae[Ne];
|
|
1648
1648
|
}
|
|
1649
1649
|
for (var Ee in O)
|
|
1650
|
-
Se(O, Ee) && (G && String(Number(Ee)) === Ee && Ee < O.length || U && qe["$" + Ee] instanceof Symbol || (A.call(/[^\w$]/, Ee) ? re.push(
|
|
1650
|
+
Se(O, Ee) && (G && String(Number(Ee)) === Ee && Ee < O.length || U && qe["$" + Ee] instanceof Symbol || (A.call(/[^\w$]/, Ee) ? re.push(P(Ee, O) + ": " + P(O[Ee], O)) : re.push(Ee + ": " + P(O[Ee], O))));
|
|
1651
1651
|
if (typeof N == "function")
|
|
1652
|
-
for (var
|
|
1653
|
-
z.call(O, ae[
|
|
1652
|
+
for (var Re = 0; Re < ae.length; Re++)
|
|
1653
|
+
z.call(O, ae[Re]) && re.push("[" + P(ae[Re]) + "]: " + P(O[ae[Re]], O));
|
|
1654
1654
|
return re;
|
|
1655
1655
|
}
|
|
1656
1656
|
return objectInspect;
|
|
@@ -3419,8 +3419,8 @@ function requireEs_symbol_constructor() {
|
|
|
3419
3419
|
if (hasRequiredEs_symbol_constructor) return es_symbol_constructor;
|
|
3420
3420
|
hasRequiredEs_symbol_constructor = 1;
|
|
3421
3421
|
var n = /* @__PURE__ */ require_export(), e = /* @__PURE__ */ requireGlobalThis(), t = /* @__PURE__ */ requireFunctionCall(), r = /* @__PURE__ */ requireFunctionUncurryThis(), i = /* @__PURE__ */ requireIsPure(), a = /* @__PURE__ */ requireDescriptors(), s = /* @__PURE__ */ requireSymbolConstructorDetection(), l = /* @__PURE__ */ requireFails(), u = /* @__PURE__ */ requireHasOwnProperty(), o = /* @__PURE__ */ requireObjectIsPrototypeOf(), f = /* @__PURE__ */ requireAnObject(), d = /* @__PURE__ */ requireToIndexedObject(), h = /* @__PURE__ */ requireToPropertyKey(), y = /* @__PURE__ */ requireToString(), m = /* @__PURE__ */ requireCreatePropertyDescriptor(), v = /* @__PURE__ */ requireObjectCreate(), p = /* @__PURE__ */ requireObjectKeys(), E = /* @__PURE__ */ requireObjectGetOwnPropertyNames(), S = /* @__PURE__ */ requireObjectGetOwnPropertyNamesExternal(), w = /* @__PURE__ */ requireObjectGetOwnPropertySymbols(), g = /* @__PURE__ */ requireObjectGetOwnPropertyDescriptor(), b = /* @__PURE__ */ requireObjectDefineProperty(), A = /* @__PURE__ */ requireObjectDefineProperties(), q = /* @__PURE__ */ requireObjectPropertyIsEnumerable(), x = /* @__PURE__ */ requireDefineBuiltIn(), D = /* @__PURE__ */ requireDefineBuiltInAccessor(), j = /* @__PURE__ */ requireShared(), F = /* @__PURE__ */ requireSharedKey(), N = /* @__PURE__ */ requireHiddenKeys(), B = /* @__PURE__ */ requireUid(), U = /* @__PURE__ */ requireWellKnownSymbol(), H = /* @__PURE__ */ requireWellKnownSymbolWrapped(), z = /* @__PURE__ */ requireWellKnownSymbolDefine(), K = /* @__PURE__ */ requireSymbolDefineToPrimitive(), W = /* @__PURE__ */ requireSetToStringTag(), te = /* @__PURE__ */ requireInternalState(), Z = requireArrayIteration().forEach, V = F("hidden"), pe = "Symbol", C = "prototype", k = te.set, $ = te.getterFor(pe), Y = Object[C], se = e.Symbol, X = se && se[C], ne = e.RangeError, ue = e.TypeError, le = e.QObject, me = g.f, ve = b.f, Se = S.f, be = q.f, Te = r([].push), ye = j("symbols"), Fe = j("op-symbols"), ze = j("wks"), je = !le || !le[C] || !le[C].findChild, Be = function(Q, M, O) {
|
|
3422
|
-
var
|
|
3423
|
-
|
|
3422
|
+
var P = me(Y, M);
|
|
3423
|
+
P && delete Y[M], ve(Q, M, O), P && Q !== Y && ve(Y, M, P);
|
|
3424
3424
|
}, ie = a && l(function() {
|
|
3425
3425
|
return v(ve({}, "a", {
|
|
3426
3426
|
get: function() {
|
|
@@ -3436,45 +3436,45 @@ function requireEs_symbol_constructor() {
|
|
|
3436
3436
|
tag: Q,
|
|
3437
3437
|
description: M
|
|
3438
3438
|
}), a || (O.description = M), O;
|
|
3439
|
-
}, Oe = function(M, O,
|
|
3440
|
-
M === Y && Oe(Fe, O,
|
|
3439
|
+
}, Oe = function(M, O, P) {
|
|
3440
|
+
M === Y && Oe(Fe, O, P), f(M);
|
|
3441
3441
|
var G = h(O);
|
|
3442
|
-
return f(
|
|
3442
|
+
return f(P), u(ye, G) ? (P.enumerable ? (u(M, V) && M[V][G] && (M[V][G] = !1), P = v(P, {
|
|
3443
3443
|
enumerable: m(0, !1)
|
|
3444
|
-
})) : (u(M, V) || ve(M, V, m(1, v(null))), M[V][G] = !0), ie(M, G,
|
|
3444
|
+
})) : (u(M, V) || ve(M, V, m(1, v(null))), M[V][G] = !0), ie(M, G, P)) : ve(M, G, P);
|
|
3445
3445
|
}, Le = function(M, O) {
|
|
3446
3446
|
f(M);
|
|
3447
|
-
var
|
|
3447
|
+
var P = d(O), G = p(P).concat(J(P));
|
|
3448
3448
|
return Z(G, function(re) {
|
|
3449
|
-
(!a || t(ee,
|
|
3449
|
+
(!a || t(ee, P, re)) && Oe(M, re, P[re]);
|
|
3450
3450
|
}), M;
|
|
3451
3451
|
}, Ie = function(M, O) {
|
|
3452
3452
|
return O === void 0 ? v(M) : Le(v(M), O);
|
|
3453
3453
|
}, ee = function(M) {
|
|
3454
|
-
var O = h(M),
|
|
3455
|
-
return this === Y && u(ye, O) && !u(Fe, O) ? !1 :
|
|
3454
|
+
var O = h(M), P = t(be, this, O);
|
|
3455
|
+
return this === Y && u(ye, O) && !u(Fe, O) ? !1 : P || !u(this, O) || !u(ye, O) || u(this, V) && this[V][O] ? P : !0;
|
|
3456
3456
|
}, ce = function(M, O) {
|
|
3457
|
-
var
|
|
3458
|
-
if (!(
|
|
3459
|
-
var re = me(
|
|
3460
|
-
return re && u(ye, G) && !(u(
|
|
3457
|
+
var P = d(M), G = h(O);
|
|
3458
|
+
if (!(P === Y && u(ye, G) && !u(Fe, G))) {
|
|
3459
|
+
var re = me(P, G);
|
|
3460
|
+
return re && u(ye, G) && !(u(P, V) && P[V][G]) && (re.enumerable = !0), re;
|
|
3461
3461
|
}
|
|
3462
3462
|
}, we = function(M) {
|
|
3463
|
-
var O = Se(d(M)),
|
|
3463
|
+
var O = Se(d(M)), P = [];
|
|
3464
3464
|
return Z(O, function(G) {
|
|
3465
|
-
!u(ye, G) && !u(N, G) && Te(
|
|
3466
|
-
}),
|
|
3465
|
+
!u(ye, G) && !u(N, G) && Te(P, G);
|
|
3466
|
+
}), P;
|
|
3467
3467
|
}, J = function(Q) {
|
|
3468
|
-
var M = Q === Y, O = Se(M ? Fe : d(Q)),
|
|
3468
|
+
var M = Q === Y, O = Se(M ? Fe : d(Q)), P = [];
|
|
3469
3469
|
return Z(O, function(G) {
|
|
3470
|
-
u(ye, G) && (!M || u(Y, G)) && Te(
|
|
3471
|
-
}),
|
|
3470
|
+
u(ye, G) && (!M || u(Y, G)) && Te(P, ye[G]);
|
|
3471
|
+
}), P;
|
|
3472
3472
|
};
|
|
3473
3473
|
return s || (se = function() {
|
|
3474
3474
|
if (o(X, this)) throw new ue("Symbol is not a constructor");
|
|
3475
|
-
var M = !arguments.length || arguments[0] === void 0 ? void 0 : y(arguments[0]), O = B(M),
|
|
3475
|
+
var M = !arguments.length || arguments[0] === void 0 ? void 0 : y(arguments[0]), O = B(M), P = function(G) {
|
|
3476
3476
|
var re = this === void 0 ? e : this;
|
|
3477
|
-
re === Y && t(
|
|
3477
|
+
re === Y && t(P, Fe, G), u(re, V) && u(re[V], O) && (re[V][O] = !1);
|
|
3478
3478
|
var fe = m(1, G);
|
|
3479
3479
|
try {
|
|
3480
3480
|
ie(re, O, fe);
|
|
@@ -3485,7 +3485,7 @@ function requireEs_symbol_constructor() {
|
|
|
3485
3485
|
};
|
|
3486
3486
|
return a && je && ie(Y, O, {
|
|
3487
3487
|
configurable: !0,
|
|
3488
|
-
set:
|
|
3488
|
+
set: P
|
|
3489
3489
|
}), Me(O, M);
|
|
3490
3490
|
}, X = se[C], x(X, "toString", function() {
|
|
3491
3491
|
return $(this).tag;
|
|
@@ -8263,26 +8263,26 @@ function requireJsonpath() {
|
|
|
8263
8263
|
return !1;
|
|
8264
8264
|
}
|
|
8265
8265
|
}
|
|
8266
|
-
function Z(c, _, I,
|
|
8266
|
+
function Z(c, _, I, R, T) {
|
|
8267
8267
|
var L;
|
|
8268
8268
|
x(typeof I == "number", "Comment must have valid position"), !(A.lastCommentStart >= I) && (A.lastCommentStart = I, L = {
|
|
8269
8269
|
type: c,
|
|
8270
8270
|
value: _
|
|
8271
|
-
}, q.range && (L.range = [I,
|
|
8271
|
+
}, q.range && (L.range = [I, R]), q.loc && (L.loc = T), q.comments.push(L), q.attachComment && (q.leadingComments.push(L), q.trailingComments.push(L)));
|
|
8272
8272
|
}
|
|
8273
8273
|
function V(c) {
|
|
8274
|
-
var _, I,
|
|
8274
|
+
var _, I, R, T;
|
|
8275
8275
|
for (_ = p - c, I = {
|
|
8276
8276
|
start: {
|
|
8277
8277
|
line: E,
|
|
8278
8278
|
column: p - S - c
|
|
8279
8279
|
}
|
|
8280
8280
|
}; p < w; )
|
|
8281
|
-
if (
|
|
8281
|
+
if (R = m.charCodeAt(p), ++p, B(R)) {
|
|
8282
8282
|
q.comments && (T = m.slice(_ + c, p - 1), I.end = {
|
|
8283
8283
|
line: E,
|
|
8284
8284
|
column: p - S - 1
|
|
8285
|
-
}, Z("Line", T, _, p - 1, I)),
|
|
8285
|
+
}, Z("Line", T, _, p - 1, I)), R === 13 && m.charCodeAt(p) === 10 && ++p, ++E, S = p;
|
|
8286
8286
|
return;
|
|
8287
8287
|
}
|
|
8288
8288
|
q.comments && (T = m.slice(_ + c, p), I.end = {
|
|
@@ -8291,7 +8291,7 @@ function requireJsonpath() {
|
|
|
8291
8291
|
}, Z("Line", T, _, p, I));
|
|
8292
8292
|
}
|
|
8293
8293
|
function pe() {
|
|
8294
|
-
var c, _, I,
|
|
8294
|
+
var c, _, I, R;
|
|
8295
8295
|
for (q.comments && (c = p - 2, _ = {
|
|
8296
8296
|
start: {
|
|
8297
8297
|
line: E,
|
|
@@ -8302,10 +8302,10 @@ function requireJsonpath() {
|
|
|
8302
8302
|
I === 13 && m.charCodeAt(p + 1) === 10 && ++p, ++E, ++p, S = p, p >= w && ee({}, d.UnexpectedToken, "ILLEGAL");
|
|
8303
8303
|
else if (I === 42) {
|
|
8304
8304
|
if (m.charCodeAt(p + 1) === 47) {
|
|
8305
|
-
++p, ++p, q.comments && (
|
|
8305
|
+
++p, ++p, q.comments && (R = m.slice(c + 2, p - 2), _.end = {
|
|
8306
8306
|
line: E,
|
|
8307
8307
|
column: p - S
|
|
8308
|
-
}, Z("Block",
|
|
8308
|
+
}, Z("Block", R, c, p, _));
|
|
8309
8309
|
return;
|
|
8310
8310
|
}
|
|
8311
8311
|
++p;
|
|
@@ -8341,10 +8341,10 @@ function requireJsonpath() {
|
|
|
8341
8341
|
break;
|
|
8342
8342
|
}
|
|
8343
8343
|
function k(c) {
|
|
8344
|
-
var _, I,
|
|
8344
|
+
var _, I, R, T = 0;
|
|
8345
8345
|
for (I = c === "u" ? 4 : 2, _ = 0; _ < I; ++_)
|
|
8346
8346
|
if (p < w && j(m[p]))
|
|
8347
|
-
|
|
8347
|
+
R = m[p++], T = T * 16 + "0123456789abcdef".indexOf(R.toLowerCase());
|
|
8348
8348
|
else
|
|
8349
8349
|
return "";
|
|
8350
8350
|
return String.fromCharCode(T);
|
|
@@ -8379,7 +8379,7 @@ function requireJsonpath() {
|
|
|
8379
8379
|
};
|
|
8380
8380
|
}
|
|
8381
8381
|
function X() {
|
|
8382
|
-
var c = p, _ = m.charCodeAt(p), I,
|
|
8382
|
+
var c = p, _ = m.charCodeAt(p), I, R = m[p], T, L, oe;
|
|
8383
8383
|
switch (_) {
|
|
8384
8384
|
// Check for most common single-character punctuators.
|
|
8385
8385
|
case 46:
|
|
@@ -8474,7 +8474,7 @@ function requireJsonpath() {
|
|
|
8474
8474
|
start: c,
|
|
8475
8475
|
end: p
|
|
8476
8476
|
};
|
|
8477
|
-
if (T = L.substr(0, 2),
|
|
8477
|
+
if (T = L.substr(0, 2), R === T[1] && "+-<>&|".indexOf(R) >= 0 || T === "=>")
|
|
8478
8478
|
return p += 2, {
|
|
8479
8479
|
type: s.Punctuator,
|
|
8480
8480
|
value: T,
|
|
@@ -8483,10 +8483,10 @@ function requireJsonpath() {
|
|
|
8483
8483
|
start: c,
|
|
8484
8484
|
end: p
|
|
8485
8485
|
};
|
|
8486
|
-
if ("<>=!+-*%&|^/".indexOf(
|
|
8486
|
+
if ("<>=!+-*%&|^/".indexOf(R) >= 0)
|
|
8487
8487
|
return ++p, {
|
|
8488
8488
|
type: s.Punctuator,
|
|
8489
|
-
value:
|
|
8489
|
+
value: R,
|
|
8490
8490
|
lineNumber: E,
|
|
8491
8491
|
lineStart: S,
|
|
8492
8492
|
start: c,
|
|
@@ -8554,17 +8554,17 @@ function requireJsonpath() {
|
|
|
8554
8554
|
};
|
|
8555
8555
|
}
|
|
8556
8556
|
function me() {
|
|
8557
|
-
var c = "", _, I,
|
|
8557
|
+
var c = "", _, I, R, T, L, oe, de = !1, _e, ge;
|
|
8558
8558
|
for (_e = E, ge = S, _ = m[p], x(_ === "'" || _ === '"', "String literal must starts with a quote"), I = p, ++p; p < w; )
|
|
8559
|
-
if (
|
|
8559
|
+
if (R = m[p++], R === _) {
|
|
8560
8560
|
_ = "";
|
|
8561
8561
|
break;
|
|
8562
|
-
} else if (
|
|
8563
|
-
if (
|
|
8564
|
-
switch (
|
|
8562
|
+
} else if (R === "\\")
|
|
8563
|
+
if (R = m[p++], !R || !B(R.charCodeAt(0)))
|
|
8564
|
+
switch (R) {
|
|
8565
8565
|
case "u":
|
|
8566
8566
|
case "x":
|
|
8567
|
-
oe = p, L = k(
|
|
8567
|
+
oe = p, L = k(R), L ? c += L : (p = oe, c += R);
|
|
8568
8568
|
break;
|
|
8569
8569
|
case "n":
|
|
8570
8570
|
c += `
|
|
@@ -8586,16 +8586,16 @@ function requireJsonpath() {
|
|
|
8586
8586
|
c += "\v";
|
|
8587
8587
|
break;
|
|
8588
8588
|
default:
|
|
8589
|
-
F(
|
|
8589
|
+
F(R) ? (T = "01234567".indexOf(R), T !== 0 && (de = !0), p < w && F(m[p]) && (de = !0, T = T * 8 + "01234567".indexOf(m[p++]), "0123".indexOf(R) >= 0 && p < w && F(m[p]) && (T = T * 8 + "01234567".indexOf(m[p++]))), c += String.fromCharCode(T)) : c += R;
|
|
8590
8590
|
break;
|
|
8591
8591
|
}
|
|
8592
8592
|
else
|
|
8593
|
-
++E,
|
|
8593
|
+
++E, R === "\r" && m[p] === `
|
|
8594
8594
|
` && ++p, S = p;
|
|
8595
8595
|
else {
|
|
8596
|
-
if (B(
|
|
8596
|
+
if (B(R.charCodeAt(0)))
|
|
8597
8597
|
break;
|
|
8598
|
-
c +=
|
|
8598
|
+
c += R;
|
|
8599
8599
|
}
|
|
8600
8600
|
return _ !== "" && ee({}, d.UnexpectedToken, "ILLEGAL"), {
|
|
8601
8601
|
type: s.StringLiteral,
|
|
@@ -8619,8 +8619,8 @@ function requireJsonpath() {
|
|
|
8619
8619
|
return I;
|
|
8620
8620
|
}
|
|
8621
8621
|
function Se() {
|
|
8622
|
-
var c, _, I,
|
|
8623
|
-
for (c = m[p], x(c === "/", "Regular expression literal must start with a slash"), _ = m[p++], I = !1,
|
|
8622
|
+
var c, _, I, R, T;
|
|
8623
|
+
for (c = m[p], x(c === "/", "Regular expression literal must start with a slash"), _ = m[p++], I = !1, R = !1; p < w; )
|
|
8624
8624
|
if (c = m[p++], _ += c, c === "\\")
|
|
8625
8625
|
c = m[p++], B(c.charCodeAt(0)) && ee({}, d.UnterminatedRegExp), _ += c;
|
|
8626
8626
|
else if (B(c.charCodeAt(0)))
|
|
@@ -8628,24 +8628,24 @@ function requireJsonpath() {
|
|
|
8628
8628
|
else if (I)
|
|
8629
8629
|
c === "]" && (I = !1);
|
|
8630
8630
|
else if (c === "/") {
|
|
8631
|
-
|
|
8631
|
+
R = !0;
|
|
8632
8632
|
break;
|
|
8633
8633
|
} else c === "[" && (I = !0);
|
|
8634
|
-
return
|
|
8634
|
+
return R || ee({}, d.UnterminatedRegExp), T = _.substr(1, _.length - 2), {
|
|
8635
8635
|
value: T,
|
|
8636
8636
|
literal: _
|
|
8637
8637
|
};
|
|
8638
8638
|
}
|
|
8639
8639
|
function be() {
|
|
8640
|
-
var c, _, I,
|
|
8640
|
+
var c, _, I, R;
|
|
8641
8641
|
for (_ = "", I = ""; p < w && (c = m[p], !!H(c.charCodeAt(0))); )
|
|
8642
8642
|
if (++p, c === "\\" && p < w)
|
|
8643
8643
|
if (c = m[p], c === "u") {
|
|
8644
|
-
if (++p,
|
|
8645
|
-
for (I += c, _ += "\\u";
|
|
8646
|
-
_ += m[
|
|
8644
|
+
if (++p, R = p, c = k("u"), c)
|
|
8645
|
+
for (I += c, _ += "\\u"; R < p; ++R)
|
|
8646
|
+
_ += m[R];
|
|
8647
8647
|
else
|
|
8648
|
-
p =
|
|
8648
|
+
p = R, I += "u", _ += "\\u";
|
|
8649
8649
|
ce({}, d.UnexpectedToken, "ILLEGAL");
|
|
8650
8650
|
} else
|
|
8651
8651
|
_ += "\\", ce({}, d.UnexpectedToken, "ILLEGAL");
|
|
@@ -8657,23 +8657,23 @@ function requireJsonpath() {
|
|
|
8657
8657
|
};
|
|
8658
8658
|
}
|
|
8659
8659
|
function Te() {
|
|
8660
|
-
var c, _, I,
|
|
8661
|
-
return b = null, C(), c = p, _ = Se(), I = be(),
|
|
8660
|
+
var c, _, I, R;
|
|
8661
|
+
return b = null, C(), c = p, _ = Se(), I = be(), R = ve(_.value, I.value), q.tokenize ? {
|
|
8662
8662
|
type: s.RegularExpression,
|
|
8663
|
-
value:
|
|
8663
|
+
value: R,
|
|
8664
8664
|
lineNumber: E,
|
|
8665
8665
|
lineStart: S,
|
|
8666
8666
|
start: c,
|
|
8667
8667
|
end: p
|
|
8668
8668
|
} : {
|
|
8669
8669
|
literal: _.literal + I.literal,
|
|
8670
|
-
value:
|
|
8670
|
+
value: R,
|
|
8671
8671
|
start: c,
|
|
8672
8672
|
end: p
|
|
8673
8673
|
};
|
|
8674
8674
|
}
|
|
8675
8675
|
function ye() {
|
|
8676
|
-
var c, _, I,
|
|
8676
|
+
var c, _, I, R;
|
|
8677
8677
|
return C(), c = p, _ = {
|
|
8678
8678
|
start: {
|
|
8679
8679
|
line: E,
|
|
@@ -8682,7 +8682,7 @@ function requireJsonpath() {
|
|
|
8682
8682
|
}, I = Te(), _.end = {
|
|
8683
8683
|
line: E,
|
|
8684
8684
|
column: p - S
|
|
8685
|
-
}, q.tokenize || (q.tokens.length > 0 && (
|
|
8685
|
+
}, q.tokenize || (q.tokens.length > 0 && (R = q.tokens[q.tokens.length - 1], R.range[0] === c && R.type === "Punctuator" && (R.value === "/" || R.value === "/=") && q.tokens.pop()), q.tokens.push({
|
|
8686
8686
|
type: "RegularExpression",
|
|
8687
8687
|
value: I.literal,
|
|
8688
8688
|
range: [c, p],
|
|
@@ -8754,8 +8754,8 @@ function requireJsonpath() {
|
|
|
8754
8754
|
function Oe(c, _) {
|
|
8755
8755
|
this.line = c, this.column = _;
|
|
8756
8756
|
}
|
|
8757
|
-
function Le(c, _, I,
|
|
8758
|
-
this.start = new Oe(c, _), this.end = new Oe(I,
|
|
8757
|
+
function Le(c, _, I, R) {
|
|
8758
|
+
this.start = new Oe(c, _), this.end = new Oe(I, R);
|
|
8759
8759
|
}
|
|
8760
8760
|
y = {
|
|
8761
8761
|
name: "SyntaxTree",
|
|
@@ -8788,9 +8788,9 @@ function requireJsonpath() {
|
|
|
8788
8788
|
};
|
|
8789
8789
|
},
|
|
8790
8790
|
createBinaryExpression: function(c, _, I) {
|
|
8791
|
-
var
|
|
8791
|
+
var R = c === "||" || c === "&&" ? o.LogicalExpression : o.BinaryExpression;
|
|
8792
8792
|
return {
|
|
8793
|
-
type:
|
|
8793
|
+
type: R,
|
|
8794
8794
|
operator: c,
|
|
8795
8795
|
left: _,
|
|
8796
8796
|
right: I
|
|
@@ -8859,13 +8859,13 @@ function requireJsonpath() {
|
|
|
8859
8859
|
expression: c
|
|
8860
8860
|
};
|
|
8861
8861
|
},
|
|
8862
|
-
createForStatement: function(c, _, I,
|
|
8862
|
+
createForStatement: function(c, _, I, R) {
|
|
8863
8863
|
return {
|
|
8864
8864
|
type: o.ForStatement,
|
|
8865
8865
|
init: c,
|
|
8866
8866
|
test: _,
|
|
8867
8867
|
update: I,
|
|
8868
|
-
body:
|
|
8868
|
+
body: R
|
|
8869
8869
|
};
|
|
8870
8870
|
},
|
|
8871
8871
|
createForInStatement: function(c, _, I) {
|
|
@@ -8877,25 +8877,25 @@ function requireJsonpath() {
|
|
|
8877
8877
|
each: !1
|
|
8878
8878
|
};
|
|
8879
8879
|
},
|
|
8880
|
-
createFunctionDeclaration: function(c, _, I,
|
|
8880
|
+
createFunctionDeclaration: function(c, _, I, R) {
|
|
8881
8881
|
return {
|
|
8882
8882
|
type: o.FunctionDeclaration,
|
|
8883
8883
|
id: c,
|
|
8884
8884
|
params: _,
|
|
8885
8885
|
defaults: I,
|
|
8886
|
-
body:
|
|
8886
|
+
body: R,
|
|
8887
8887
|
rest: null,
|
|
8888
8888
|
generator: !1,
|
|
8889
8889
|
expression: !1
|
|
8890
8890
|
};
|
|
8891
8891
|
},
|
|
8892
|
-
createFunctionExpression: function(c, _, I,
|
|
8892
|
+
createFunctionExpression: function(c, _, I, R) {
|
|
8893
8893
|
return {
|
|
8894
8894
|
type: o.FunctionExpression,
|
|
8895
8895
|
id: c,
|
|
8896
8896
|
params: _,
|
|
8897
8897
|
defaults: I,
|
|
8898
|
-
body:
|
|
8898
|
+
body: R,
|
|
8899
8899
|
rest: null,
|
|
8900
8900
|
generator: !1,
|
|
8901
8901
|
expression: !1
|
|
@@ -9009,13 +9009,13 @@ function requireJsonpath() {
|
|
|
9009
9009
|
argument: c
|
|
9010
9010
|
};
|
|
9011
9011
|
},
|
|
9012
|
-
createTryStatement: function(c, _, I,
|
|
9012
|
+
createTryStatement: function(c, _, I, R) {
|
|
9013
9013
|
return {
|
|
9014
9014
|
type: o.TryStatement,
|
|
9015
9015
|
block: c,
|
|
9016
9016
|
guardedHandlers: _,
|
|
9017
9017
|
handlers: I,
|
|
9018
|
-
finalizer:
|
|
9018
|
+
finalizer: R
|
|
9019
9019
|
};
|
|
9020
9020
|
},
|
|
9021
9021
|
createUnaryExpression: function(c, _) {
|
|
@@ -9061,12 +9061,12 @@ function requireJsonpath() {
|
|
|
9061
9061
|
}
|
|
9062
9062
|
};
|
|
9063
9063
|
function Ie() {
|
|
9064
|
-
var c, _, I,
|
|
9065
|
-
return c = p, _ = E, I = S, C(),
|
|
9064
|
+
var c, _, I, R;
|
|
9065
|
+
return c = p, _ = E, I = S, C(), R = E !== _, p = c, E = _, S = I, R;
|
|
9066
9066
|
}
|
|
9067
9067
|
function ee(c, _) {
|
|
9068
|
-
var I,
|
|
9069
|
-
return x(oe <
|
|
9068
|
+
var I, R = Array.prototype.slice.call(arguments, 2), T = _.replace(/%(\d)/g, function(L, oe) {
|
|
9069
|
+
return x(oe < R.length, "Message reference must be in range"), R[oe];
|
|
9070
9070
|
});
|
|
9071
9071
|
throw typeof c.lineNumber == "number" ? (I = new Error("Line " + c.lineNumber + ": " + T), I.index = c.start, I.lineNumber = c.lineNumber, I.column = c.start - S + 1) : (I = new Error("Line " + E + ": " + T), I.index = p, I.lineNumber = E, I.column = p - S + 1), I.description = T, I;
|
|
9072
9072
|
}
|
|
@@ -9106,7 +9106,7 @@ function requireJsonpath() {
|
|
|
9106
9106
|
function O(c) {
|
|
9107
9107
|
return b.type === s.Keyword && b.value === c;
|
|
9108
9108
|
}
|
|
9109
|
-
function
|
|
9109
|
+
function P() {
|
|
9110
9110
|
var c;
|
|
9111
9111
|
return b.type !== s.Punctuator ? !1 : (c = b.value, c === "=" || c === "*=" || c === "/=" || c === "%=" || c === "+=" || c === "-=" || c === "<<=" || c === ">>=" || c === ">>>=" || c === "&=" || c === "^=" || c === "|=");
|
|
9112
9112
|
}
|
|
@@ -9128,41 +9128,41 @@ function requireJsonpath() {
|
|
|
9128
9128
|
return ie(), g.markEnd(g.createArrayExpression(c), _);
|
|
9129
9129
|
}
|
|
9130
9130
|
function ae(c, _) {
|
|
9131
|
-
var I,
|
|
9132
|
-
return I = v, T = b,
|
|
9131
|
+
var I, R, T;
|
|
9132
|
+
return I = v, T = b, R = st(), _ && v && W(c[0].name) && ce(_, d.StrictParamName), v = I, g.markEnd(g.createFunctionExpression(null, c, [], R), T);
|
|
9133
9133
|
}
|
|
9134
9134
|
function qe() {
|
|
9135
9135
|
var c, _;
|
|
9136
9136
|
return _ = b, c = ie(), c.type === s.StringLiteral || c.type === s.NumericLiteral ? (v && c.octal && ce(c, d.StrictOctalLiteral), g.markEnd(g.createLiteral(c), _)) : g.markEnd(g.createIdentifier(c.value), _);
|
|
9137
9137
|
}
|
|
9138
9138
|
function Ne() {
|
|
9139
|
-
var c, _, I,
|
|
9139
|
+
var c, _, I, R, T, L;
|
|
9140
9140
|
if (c = b, L = b, c.type === s.Identifier)
|
|
9141
|
-
return I = qe(), c.value === "get" && !M(":") ? (_ = qe(), J("("), J(")"),
|
|
9141
|
+
return I = qe(), c.value === "get" && !M(":") ? (_ = qe(), J("("), J(")"), R = ae([]), g.markEnd(g.createProperty("get", _, R), L)) : c.value === "set" && !M(":") ? (_ = qe(), J("("), c = b, c.type !== s.Identifier ? (J(")"), ce(c, d.UnexpectedToken, c.value), R = ae([])) : (T = [Ce()], J(")"), R = ae(T, c)), g.markEnd(g.createProperty("set", _, R), L)) : (J(":"), R = Ae(), g.markEnd(g.createProperty("init", I, R), L));
|
|
9142
9142
|
if (c.type === s.EOF || c.type === s.Punctuator)
|
|
9143
9143
|
we(c);
|
|
9144
9144
|
else
|
|
9145
|
-
return _ = qe(), J(":"),
|
|
9145
|
+
return _ = qe(), J(":"), R = Ae(), g.markEnd(g.createProperty("init", _, R), L);
|
|
9146
9146
|
}
|
|
9147
9147
|
function Ee() {
|
|
9148
|
-
var c = [], _, I,
|
|
9148
|
+
var c = [], _, I, R, T, L = {}, oe = String, de;
|
|
9149
9149
|
for (de = b, J("{"); !M("}"); )
|
|
9150
|
-
_ = Ne(), _.key.type === o.Identifier ? I = _.key.name : I = oe(_.key.value), T = _.kind === "init" ? f.Data : _.kind === "get" ? f.Get : f.Set,
|
|
9150
|
+
_ = Ne(), _.key.type === o.Identifier ? I = _.key.name : I = oe(_.key.value), T = _.kind === "init" ? f.Data : _.kind === "get" ? f.Get : f.Set, R = "$" + I, Object.prototype.hasOwnProperty.call(L, R) ? (L[R] === f.Data ? v && T === f.Data ? ce({}, d.StrictDuplicateProperty) : T !== f.Data && ce({}, d.AccessorDataProperty) : T === f.Data ? ce({}, d.AccessorDataProperty) : L[R] & T && ce({}, d.AccessorGetSet), L[R] |= T) : L[R] = T, c.push(_), M("}") || J(",");
|
|
9151
9151
|
return J("}"), g.markEnd(g.createObjectExpression(c), de);
|
|
9152
9152
|
}
|
|
9153
|
-
function
|
|
9153
|
+
function Re() {
|
|
9154
9154
|
var c;
|
|
9155
9155
|
return J("("), c = he(), J(")"), c;
|
|
9156
9156
|
}
|
|
9157
9157
|
function He() {
|
|
9158
|
-
var c, _, I,
|
|
9158
|
+
var c, _, I, R;
|
|
9159
9159
|
if (M("("))
|
|
9160
|
-
return
|
|
9160
|
+
return Re();
|
|
9161
9161
|
if (M("["))
|
|
9162
9162
|
return fe();
|
|
9163
9163
|
if (M("{"))
|
|
9164
9164
|
return Ee();
|
|
9165
|
-
if (c = b.type,
|
|
9165
|
+
if (c = b.type, R = b, c === s.Identifier)
|
|
9166
9166
|
I = g.createIdentifier(ie().value);
|
|
9167
9167
|
else if (c === s.StringLiteral || c === s.NumericLiteral)
|
|
9168
9168
|
v && b.octal && ce(b, d.StrictOctalLiteral), I = g.createLiteral(ie());
|
|
@@ -9171,7 +9171,7 @@ function requireJsonpath() {
|
|
|
9171
9171
|
return qt();
|
|
9172
9172
|
O("this") ? (ie(), I = g.createThisExpression()) : we(ie());
|
|
9173
9173
|
} else c === s.BooleanLiteral ? (_ = ie(), _.value = _.value === "true", I = g.createLiteral(_)) : c === s.NullLiteral ? (_ = ie(), _.value = null, I = g.createLiteral(_)) : M("/") || M("/=") ? (typeof q.tokens < "u" ? I = g.createLiteral(ye()) : I = g.createLiteral(Te()), Me()) : we(ie());
|
|
9174
|
-
return g.markEnd(I,
|
|
9174
|
+
return g.markEnd(I, R);
|
|
9175
9175
|
}
|
|
9176
9176
|
function $e() {
|
|
9177
9177
|
var c = [];
|
|
@@ -9196,14 +9196,14 @@ function requireJsonpath() {
|
|
|
9196
9196
|
return I = b, Q("new"), c = Qe(), _ = M("(") ? $e() : [], g.markEnd(g.createNewExpression(c, _), I);
|
|
9197
9197
|
}
|
|
9198
9198
|
function Ue() {
|
|
9199
|
-
var c, _, I,
|
|
9199
|
+
var c, _, I, R, T;
|
|
9200
9200
|
for (T = b, c = A.allowIn, A.allowIn = !0, _ = O("new") ? Xe() : He(), A.allowIn = c; ; ) {
|
|
9201
9201
|
if (M("."))
|
|
9202
|
-
|
|
9202
|
+
R = Je(), _ = g.createMemberExpression(".", _, R);
|
|
9203
9203
|
else if (M("("))
|
|
9204
9204
|
I = $e(), _ = g.createCallExpression(_, I);
|
|
9205
9205
|
else if (M("["))
|
|
9206
|
-
|
|
9206
|
+
R = Ye(), _ = g.createMemberExpression("[", _, R);
|
|
9207
9207
|
else
|
|
9208
9208
|
break;
|
|
9209
9209
|
g.markEnd(_, T);
|
|
@@ -9211,18 +9211,18 @@ function requireJsonpath() {
|
|
|
9211
9211
|
return _;
|
|
9212
9212
|
}
|
|
9213
9213
|
function Qe() {
|
|
9214
|
-
var c, _, I,
|
|
9215
|
-
for (
|
|
9216
|
-
M("[") ? (I = Ye(), _ = g.createMemberExpression("[", _, I)) : (I = Je(), _ = g.createMemberExpression(".", _, I)), g.markEnd(_,
|
|
9214
|
+
var c, _, I, R;
|
|
9215
|
+
for (R = b, c = A.allowIn, _ = O("new") ? Xe() : He(), A.allowIn = c; M(".") || M("["); )
|
|
9216
|
+
M("[") ? (I = Ye(), _ = g.createMemberExpression("[", _, I)) : (I = Je(), _ = g.createMemberExpression(".", _, I)), g.markEnd(_, R);
|
|
9217
9217
|
return _;
|
|
9218
9218
|
}
|
|
9219
9219
|
function Ge() {
|
|
9220
9220
|
var c, _, I = b;
|
|
9221
9221
|
return c = Ue(), b.type === s.Punctuator && (M("++") || M("--")) && !Ie() && (v && c.type === o.Identifier && W(c.name) && ce({}, d.StrictLHSPostfix), re(c) || ce({}, d.InvalidLHSInAssignment), _ = ie(), c = g.markEnd(g.createPostfixExpression(_.value, c), I)), c;
|
|
9222
9222
|
}
|
|
9223
|
-
function
|
|
9223
|
+
function Pe() {
|
|
9224
9224
|
var c, _, I;
|
|
9225
|
-
return b.type !== s.Punctuator && b.type !== s.Keyword ? _ = Ge() : M("++") || M("--") ? (I = b, c = ie(), _ =
|
|
9225
|
+
return b.type !== s.Punctuator && b.type !== s.Keyword ? _ = Ge() : M("++") || M("--") ? (I = b, c = ie(), _ = Pe(), v && _.type === o.Identifier && W(_.name) && ce({}, d.StrictLHSPrefix), re(_) || ce({}, d.InvalidLHSInAssignment), _ = g.createUnaryExpression(c.value, _), _ = g.markEnd(_, I)) : M("+") || M("-") || M("~") || M("!") ? (I = b, c = ie(), _ = Pe(), _ = g.createUnaryExpression(c.value, _), _ = g.markEnd(_, I)) : O("delete") || O("void") || O("typeof") ? (I = b, c = ie(), _ = Pe(), _ = g.createUnaryExpression(c.value, _), _ = g.markEnd(_, I), v && _.operator === "delete" && _.argument.type === o.Identifier && ce({}, d.StrictDelete)) : _ = Ge(), _;
|
|
9226
9226
|
}
|
|
9227
9227
|
function Ve(c, _) {
|
|
9228
9228
|
var I = 0;
|
|
@@ -9278,25 +9278,25 @@ function requireJsonpath() {
|
|
|
9278
9278
|
return I;
|
|
9279
9279
|
}
|
|
9280
9280
|
function rt() {
|
|
9281
|
-
var c, _, I,
|
|
9282
|
-
if (c = b, _e =
|
|
9281
|
+
var c, _, I, R, T, L, oe, de, _e, ge;
|
|
9282
|
+
if (c = b, _e = Pe(), R = b, T = Ve(R, A.allowIn), T === 0)
|
|
9283
9283
|
return _e;
|
|
9284
|
-
for (
|
|
9284
|
+
for (R.prec = T, ie(), _ = [c, b], oe = Pe(), L = [_e, R, oe]; (T = Ve(b, A.allowIn)) > 0; ) {
|
|
9285
9285
|
for (; L.length > 2 && T <= L[L.length - 2].prec; )
|
|
9286
9286
|
oe = L.pop(), de = L.pop().value, _e = L.pop(), I = g.createBinaryExpression(de, _e, oe), _.pop(), c = _[_.length - 1], g.markEnd(I, c), L.push(I);
|
|
9287
|
-
|
|
9287
|
+
R = ie(), R.prec = T, L.push(R), _.push(b), I = Pe(), L.push(I);
|
|
9288
9288
|
}
|
|
9289
9289
|
for (ge = L.length - 1, I = L[ge], _.pop(); ge > 1; )
|
|
9290
9290
|
I = g.createBinaryExpression(L[ge - 1].value, L[ge - 2], I), ge -= 2, c = _.pop(), g.markEnd(I, c);
|
|
9291
9291
|
return I;
|
|
9292
9292
|
}
|
|
9293
9293
|
function nt() {
|
|
9294
|
-
var c, _, I,
|
|
9295
|
-
return T = b, c = rt(), M("?") && (ie(), _ = A.allowIn, A.allowIn = !0, I = Ae(), A.allowIn = _, J(":"),
|
|
9294
|
+
var c, _, I, R, T;
|
|
9295
|
+
return T = b, c = rt(), M("?") && (ie(), _ = A.allowIn, A.allowIn = !0, I = Ae(), A.allowIn = _, J(":"), R = Ae(), c = g.createConditionalExpression(c, I, R), g.markEnd(c, T)), c;
|
|
9296
9296
|
}
|
|
9297
9297
|
function Ae() {
|
|
9298
|
-
var c, _, I,
|
|
9299
|
-
return c = b, T = b,
|
|
9298
|
+
var c, _, I, R, T;
|
|
9299
|
+
return c = b, T = b, R = _ = nt(), P() && (re(_) || ce({}, d.InvalidLHSInAssignment), v && _.type === o.Identifier && W(_.name) && ce(c, d.StrictLHSAssignment), c = ie(), I = Ae(), R = g.markEnd(g.createAssignmentExpression(c.value, _, I), T)), R;
|
|
9300
9300
|
}
|
|
9301
9301
|
function he() {
|
|
9302
9302
|
var c, _ = b;
|
|
@@ -9321,8 +9321,8 @@ function requireJsonpath() {
|
|
|
9321
9321
|
return _ = b, c = ie(), c.type !== s.Identifier && we(c), g.markEnd(g.createIdentifier(c.value), _);
|
|
9322
9322
|
}
|
|
9323
9323
|
function et(c) {
|
|
9324
|
-
var _ = null, I,
|
|
9325
|
-
return
|
|
9324
|
+
var _ = null, I, R;
|
|
9325
|
+
return R = b, I = Ce(), v && W(I.name) && ce({}, d.StrictVarName), c === "const" ? (J("="), _ = Ae()) : M("=") && (ie(), _ = Ae()), g.markEnd(g.createVariableDeclarator(I, _), R);
|
|
9326
9326
|
}
|
|
9327
9327
|
function ke(c) {
|
|
9328
9328
|
var _ = [];
|
|
@@ -9365,8 +9365,8 @@ function requireJsonpath() {
|
|
|
9365
9365
|
return I = b, c = ie(), _ = ke(), g.markEnd(g.createVariableDeclaration(_, c.value), I);
|
|
9366
9366
|
}
|
|
9367
9367
|
function mt() {
|
|
9368
|
-
var c, _, I,
|
|
9369
|
-
return c = _ = I = null, Q("for"), J("("), M(";") ? ie() : (O("var") || O("let") ? (A.allowIn = !1, c = ht(), A.allowIn = !0, c.declarations.length === 1 && O("in") && (ie(),
|
|
9368
|
+
var c, _, I, R, T, L, oe;
|
|
9369
|
+
return c = _ = I = null, Q("for"), J("("), M(";") ? ie() : (O("var") || O("let") ? (A.allowIn = !1, c = ht(), A.allowIn = !0, c.declarations.length === 1 && O("in") && (ie(), R = c, T = he(), c = null)) : (A.allowIn = !1, c = he(), A.allowIn = !0, O("in") && (re(c) || ce({}, d.InvalidLHSInForIn), ie(), R = c, T = he(), c = null)), typeof R > "u" && J(";")), typeof R > "u" && (M(";") || (_ = he()), J(";"), M(")") || (I = he())), J(")"), oe = A.inIteration, A.inIteration = !0, L = De(), A.inIteration = oe, typeof R > "u" ? g.createForStatement(c, _, I, L) : g.createForInStatement(R, T, L);
|
|
9370
9370
|
}
|
|
9371
9371
|
function yt() {
|
|
9372
9372
|
var c = null, _;
|
|
@@ -9385,18 +9385,18 @@ function requireJsonpath() {
|
|
|
9385
9385
|
return v && (C(), ce({}, d.StrictModeWith)), Q("with"), J("("), c = he(), J(")"), _ = De(), g.createWithStatement(c, _);
|
|
9386
9386
|
}
|
|
9387
9387
|
function bt() {
|
|
9388
|
-
var c, _ = [], I,
|
|
9389
|
-
for (
|
|
9388
|
+
var c, _ = [], I, R;
|
|
9389
|
+
for (R = b, O("default") ? (ie(), c = null) : (Q("case"), c = he()), J(":"); p < w && !(M("}") || O("default") || O("case")); )
|
|
9390
9390
|
I = De(), _.push(I);
|
|
9391
|
-
return g.markEnd(g.createSwitchCase(c, _),
|
|
9391
|
+
return g.markEnd(g.createSwitchCase(c, _), R);
|
|
9392
9392
|
}
|
|
9393
9393
|
function St() {
|
|
9394
|
-
var c, _, I,
|
|
9394
|
+
var c, _, I, R, T;
|
|
9395
9395
|
if (Q("switch"), J("("), c = he(), J(")"), J("{"), _ = [], M("}"))
|
|
9396
9396
|
return ie(), g.createSwitchStatement(c, _);
|
|
9397
|
-
for (
|
|
9397
|
+
for (R = A.inSwitch, A.inSwitch = !0, T = !1; p < w && !M("}"); )
|
|
9398
9398
|
I = bt(), I.test === null && (T && ee({}, d.MultipleDefaultsInSwitch), T = !0), _.push(I);
|
|
9399
|
-
return A.inSwitch =
|
|
9399
|
+
return A.inSwitch = R, J("}"), g.createSwitchStatement(c, _);
|
|
9400
9400
|
}
|
|
9401
9401
|
function wt() {
|
|
9402
9402
|
var c;
|
|
@@ -9414,7 +9414,7 @@ function requireJsonpath() {
|
|
|
9414
9414
|
return Q("debugger"), G(), g.createDebuggerStatement();
|
|
9415
9415
|
}
|
|
9416
9416
|
function De() {
|
|
9417
|
-
var c = b.type, _, I,
|
|
9417
|
+
var c = b.type, _, I, R, T;
|
|
9418
9418
|
if (c === s.EOF && we(b), c === s.Punctuator && b.value === "{")
|
|
9419
9419
|
return We();
|
|
9420
9420
|
if (T = b, c === s.Punctuator)
|
|
@@ -9455,20 +9455,20 @@ function requireJsonpath() {
|
|
|
9455
9455
|
case "with":
|
|
9456
9456
|
return g.markEnd(vt(), T);
|
|
9457
9457
|
}
|
|
9458
|
-
return _ = he(), _.type === o.Identifier && M(":") ? (ie(),
|
|
9458
|
+
return _ = he(), _.type === o.Identifier && M(":") ? (ie(), R = "$" + _.name, Object.prototype.hasOwnProperty.call(A.labelSet, R) && ee({}, d.Redeclaration, "Label", _.name), A.labelSet[R] = !0, I = De(), delete A.labelSet[R], g.markEnd(g.createLabeledStatement(_, I), T)) : (G(), g.markEnd(g.createExpressionStatement(_), T));
|
|
9459
9459
|
}
|
|
9460
9460
|
function st() {
|
|
9461
|
-
var c, _ = [], I,
|
|
9461
|
+
var c, _ = [], I, R, T, L, oe, de, _e, ge;
|
|
9462
9462
|
for (ge = b, J("{"); p < w && !(b.type !== s.StringLiteral || (I = b, c = tt(), _.push(c), c.expression.type !== o.Literal)); )
|
|
9463
|
-
|
|
9463
|
+
R = m.slice(I.start + 1, I.end - 1), R === "use strict" ? (v = !0, T && ce(T, d.StrictOctalLiteral)) : !T && I.octal && (T = I);
|
|
9464
9464
|
for (L = A.labelSet, oe = A.inIteration, de = A.inSwitch, _e = A.inFunctionBody, A.labelSet = {}, A.inIteration = !1, A.inSwitch = !1, A.inFunctionBody = !0; p < w && !(M("}") || (c = tt(), typeof c > "u")); )
|
|
9465
9465
|
_.push(c);
|
|
9466
9466
|
return J("}"), A.labelSet = L, A.inIteration = oe, A.inSwitch = de, A.inFunctionBody = _e, g.markEnd(g.createBlockStatement(_), ge);
|
|
9467
9467
|
}
|
|
9468
9468
|
function ot(c) {
|
|
9469
|
-
var _, I = [],
|
|
9469
|
+
var _, I = [], R, T, L, oe, de;
|
|
9470
9470
|
if (J("("), !M(")"))
|
|
9471
|
-
for (L = {}; p < w && (
|
|
9471
|
+
for (L = {}; p < w && (R = b, _ = Ce(), oe = "$" + R.value, v ? (W(R.value) && (T = R, de = d.StrictParamName), Object.prototype.hasOwnProperty.call(L, oe) && (T = R, de = d.StrictParamDupe)) : c || (W(R.value) ? (c = R, de = d.StrictParamName) : K(R.value) ? (c = R, de = d.StrictReservedWord) : Object.prototype.hasOwnProperty.call(L, oe) && (c = R, de = d.StrictParamDupe)), I.push(_), L[oe] = !0, !M(")")); )
|
|
9472
9472
|
J(",");
|
|
9473
9473
|
return J(")"), {
|
|
9474
9474
|
params: I,
|
|
@@ -9478,12 +9478,12 @@ function requireJsonpath() {
|
|
|
9478
9478
|
};
|
|
9479
9479
|
}
|
|
9480
9480
|
function ut() {
|
|
9481
|
-
var c, _ = [], I,
|
|
9482
|
-
return ge = b, Q("function"),
|
|
9481
|
+
var c, _ = [], I, R, T, L, oe, de, _e, ge;
|
|
9482
|
+
return ge = b, Q("function"), R = b, c = Ce(), v ? W(R.value) && ce(R, d.StrictFunctionName) : W(R.value) ? (oe = R, de = d.StrictFunctionName) : K(R.value) && (oe = R, de = d.StrictReservedWord), L = ot(oe), _ = L.params, T = L.stricted, oe = L.firstRestricted, L.message && (de = L.message), _e = v, I = st(), v && oe && ee(oe, de), v && T && ce(T, de), v = _e, g.markEnd(g.createFunctionDeclaration(c, _, [], I), ge);
|
|
9483
9483
|
}
|
|
9484
9484
|
function qt() {
|
|
9485
|
-
var c, _ = null, I,
|
|
9486
|
-
return ge = b, Q("function"), M("(") || (c = b, _ = Ce(), v ? W(c.value) && ce(c, d.StrictFunctionName) : W(c.value) ? (
|
|
9485
|
+
var c, _ = null, I, R, T, L, oe = [], de, _e, ge;
|
|
9486
|
+
return ge = b, Q("function"), M("(") || (c = b, _ = Ce(), v ? W(c.value) && ce(c, d.StrictFunctionName) : W(c.value) ? (R = c, T = d.StrictFunctionName) : K(c.value) && (R = c, T = d.StrictReservedWord)), L = ot(R), oe = L.params, I = L.stricted, R = L.firstRestricted, L.message && (T = L.message), _e = v, de = st(), v && R && ee(R, T), v && I && ce(I, T), v = _e, g.markEnd(g.createFunctionExpression(_, oe, [], de), ge);
|
|
9487
9487
|
}
|
|
9488
9488
|
function tt() {
|
|
9489
9489
|
if (b.type === s.Keyword)
|
|
@@ -9500,8 +9500,8 @@ function requireJsonpath() {
|
|
|
9500
9500
|
return De();
|
|
9501
9501
|
}
|
|
9502
9502
|
function xt() {
|
|
9503
|
-
for (var c, _ = [], I,
|
|
9504
|
-
|
|
9503
|
+
for (var c, _ = [], I, R, T; p < w && (I = b, !(I.type !== s.StringLiteral || (c = tt(), _.push(c), c.expression.type !== o.Literal))); )
|
|
9504
|
+
R = m.slice(I.start + 1, I.end - 1), R === "use strict" ? (v = !0, T && ce(T, d.StrictOctalLiteral)) : !T && I.octal && (T = I);
|
|
9505
9505
|
for (; p < w && (c = tt(), !(typeof c > "u")); )
|
|
9506
9506
|
_.push(c);
|
|
9507
9507
|
return _;
|
|
@@ -9511,16 +9511,16 @@ function requireJsonpath() {
|
|
|
9511
9511
|
return C(), Me(), _ = b, v = !1, c = xt(), g.markEnd(g.createProgram(c), _);
|
|
9512
9512
|
}
|
|
9513
9513
|
function lt() {
|
|
9514
|
-
var c, _, I,
|
|
9514
|
+
var c, _, I, R = [];
|
|
9515
9515
|
for (c = 0; c < q.tokens.length; ++c)
|
|
9516
9516
|
_ = q.tokens[c], I = {
|
|
9517
9517
|
type: _.type,
|
|
9518
9518
|
value: _.value
|
|
9519
|
-
}, q.range && (I.range = _.range), q.loc && (I.loc = _.loc),
|
|
9520
|
-
q.tokens =
|
|
9519
|
+
}, q.range && (I.range = _.range), q.loc && (I.loc = _.loc), R.push(I);
|
|
9520
|
+
q.tokens = R;
|
|
9521
9521
|
}
|
|
9522
|
-
function
|
|
9523
|
-
var I,
|
|
9522
|
+
function Rt(c, _) {
|
|
9523
|
+
var I, R, T;
|
|
9524
9524
|
I = String, typeof c != "string" && !(c instanceof String) && (c = I(c)), g = y, m = c, p = 0, E = m.length > 0 ? 1 : 0, S = 0, w = m.length, b = null, A = {
|
|
9525
9525
|
allowIn: !0,
|
|
9526
9526
|
labelSet: {},
|
|
@@ -9532,11 +9532,11 @@ function requireJsonpath() {
|
|
|
9532
9532
|
try {
|
|
9533
9533
|
if (Me(), b.type === s.EOF)
|
|
9534
9534
|
return q.tokens;
|
|
9535
|
-
for (
|
|
9535
|
+
for (R = ie(); b.type !== s.EOF; )
|
|
9536
9536
|
try {
|
|
9537
|
-
|
|
9537
|
+
R = ie();
|
|
9538
9538
|
} catch (L) {
|
|
9539
|
-
if (
|
|
9539
|
+
if (R = b, q.errors) {
|
|
9540
9540
|
q.errors.push(L);
|
|
9541
9541
|
break;
|
|
9542
9542
|
} else
|
|
@@ -9550,16 +9550,16 @@ function requireJsonpath() {
|
|
|
9550
9550
|
}
|
|
9551
9551
|
return T;
|
|
9552
9552
|
}
|
|
9553
|
-
function
|
|
9554
|
-
var I,
|
|
9555
|
-
|
|
9553
|
+
function Pt(c, _) {
|
|
9554
|
+
var I, R;
|
|
9555
|
+
R = String, typeof c != "string" && !(c instanceof String) && (c = R(c)), g = y, m = c, p = 0, E = m.length > 0 ? 1 : 0, S = 0, w = m.length, b = null, A = {
|
|
9556
9556
|
allowIn: !0,
|
|
9557
9557
|
labelSet: {},
|
|
9558
9558
|
inFunctionBody: !1,
|
|
9559
9559
|
inIteration: !1,
|
|
9560
9560
|
inSwitch: !1,
|
|
9561
9561
|
lastCommentStart: -1
|
|
9562
|
-
}, q = {}, typeof _ < "u" && (q.range = typeof _.range == "boolean" && _.range, q.loc = typeof _.loc == "boolean" && _.loc, q.attachComment = typeof _.attachComment == "boolean" && _.attachComment, q.loc && _.source !== null && _.source !== void 0 && (q.source =
|
|
9562
|
+
}, q = {}, typeof _ < "u" && (q.range = typeof _.range == "boolean" && _.range, q.loc = typeof _.loc == "boolean" && _.loc, q.attachComment = typeof _.attachComment == "boolean" && _.attachComment, q.loc && _.source !== null && _.source !== void 0 && (q.source = R(_.source)), typeof _.tokens == "boolean" && _.tokens && (q.tokens = []), typeof _.comment == "boolean" && _.comment && (q.comments = []), typeof _.tolerant == "boolean" && _.tolerant && (q.errors = []), q.attachComment && (q.range = !0, q.comments = [], q.bottomRightStack = [], q.trailingComments = [], q.leadingComments = []));
|
|
9563
9563
|
try {
|
|
9564
9564
|
I = Ot(), typeof q.comments < "u" && (I.comments = q.comments), typeof q.tokens < "u" && (lt(), I.tokens = q.tokens), typeof q.errors < "u" && (I.errors = q.errors);
|
|
9565
9565
|
} catch (T) {
|
|
@@ -9569,7 +9569,7 @@ function requireJsonpath() {
|
|
|
9569
9569
|
}
|
|
9570
9570
|
return I;
|
|
9571
9571
|
}
|
|
9572
|
-
a.version = "1.2.2", a.tokenize =
|
|
9572
|
+
a.version = "1.2.2", a.tokenize = Rt, a.parse = Pt, a.Syntax = function() {
|
|
9573
9573
|
var c, _ = {};
|
|
9574
9574
|
typeof Object.create == "function" && (_ = /* @__PURE__ */ Object.create(null));
|
|
9575
9575
|
for (c in o)
|
|
@@ -13253,48 +13253,46 @@ let $q = {
|
|
|
13253
13253
|
}
|
|
13254
13254
|
}, factoryReturns = {};
|
|
13255
13255
|
class AngularClass {
|
|
13256
|
-
}
|
|
13257
|
-
let angular = new AngularClass();
|
|
13258
|
-
Object.defineProperties(angular, {
|
|
13259
13256
|
module() {
|
|
13260
13257
|
return angular;
|
|
13261
|
-
}
|
|
13258
|
+
}
|
|
13262
13259
|
directive() {
|
|
13263
13260
|
return angular;
|
|
13264
|
-
}
|
|
13265
|
-
factory(
|
|
13261
|
+
}
|
|
13262
|
+
factory(e, t) {
|
|
13266
13263
|
try {
|
|
13267
|
-
typeof
|
|
13268
|
-
} catch (
|
|
13269
|
-
console.log("Errror in data type: ",
|
|
13264
|
+
typeof t == "object" ? factoryReturns[e] = t[t.length - 1]($q) : factoryReturns[e] = t($q);
|
|
13265
|
+
} catch (r) {
|
|
13266
|
+
console.log("Errror in data type: ", e), console.log(r);
|
|
13270
13267
|
}
|
|
13271
13268
|
return angular;
|
|
13272
|
-
}
|
|
13269
|
+
}
|
|
13273
13270
|
service() {
|
|
13274
13271
|
return angular;
|
|
13275
|
-
}
|
|
13272
|
+
}
|
|
13276
13273
|
run() {
|
|
13277
13274
|
return angular;
|
|
13278
|
-
}
|
|
13275
|
+
}
|
|
13279
13276
|
filter() {
|
|
13280
13277
|
return angular;
|
|
13281
|
-
}
|
|
13278
|
+
}
|
|
13282
13279
|
controller() {
|
|
13283
13280
|
return angular;
|
|
13284
|
-
}
|
|
13281
|
+
}
|
|
13285
13282
|
value() {
|
|
13286
13283
|
return angular;
|
|
13287
|
-
}
|
|
13284
|
+
}
|
|
13288
13285
|
element() {
|
|
13289
13286
|
return angular;
|
|
13290
|
-
}
|
|
13287
|
+
}
|
|
13291
13288
|
injector() {
|
|
13292
13289
|
return angular;
|
|
13293
|
-
}
|
|
13290
|
+
}
|
|
13294
13291
|
invoke() {
|
|
13295
13292
|
return angular;
|
|
13296
13293
|
}
|
|
13297
|
-
}
|
|
13294
|
+
}
|
|
13295
|
+
let angular = new AngularClass();
|
|
13298
13296
|
async function createAngularModuleInstance(gudhub, module_id, module_url, angularInjector, nodeWindow) {
|
|
13299
13297
|
try {
|
|
13300
13298
|
let angularModule, importedClass;
|
|
@@ -15418,7 +15416,7 @@ class IndexedDBChunkService extends ChunkDataService$1 {
|
|
|
15418
15416
|
// }
|
|
15419
15417
|
}
|
|
15420
15418
|
const jsContent = `(function(){"use strict";(()=>{let Dt,qt,Or,jr;var oe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{};function G(n){return n&&n.__esModule?n.default:n}function Tr(n,e,t,r){Object.defineProperty(n,e,{get:t,set:r,enumerable:!0,configurable:!0})}var Bt={},_t={},A=oe.parcelRequire94c2;A==null&&((A=function(n){if(n in Bt)return Bt[n].exports;if(n in _t){var e=_t[n];delete _t[n];var t={id:n,exports:{}};return Bt[n]=t,e.call(t.exports,t,t.exports),t.exports}var r=Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r}).register=function(n,e){_t[n]=e},oe.parcelRequire94c2=A);var L=A.register;L("1ufAB",function(n,e){var t=A("iEaqd"),r=A("iNZzY"),a=A("2VbXH"),i=A("6Mx50");function l(u){var o=new a(u),p=r(a.prototype.request,o);return t.extend(p,a.prototype,o),t.extend(p,o),p}var s=l(A("bM4se"));s.Axios=a,s.create=function(u){return l(i(s.defaults,u))},s.Cancel=A("g2liO"),s.CancelToken=A("14PRn"),s.isCancel=A("8kGOw"),s.all=function(u){return Promise.all(u)},s.spread=A("i3hBo"),s.isAxiosError=A("dhYWP"),n.exports=s,n.exports.default=s}),L("iEaqd",function(n,e){var t=A("iNZzY"),r=Object.prototype.toString;function a(I){return r.call(I)==="[object Array]"}function i(I){return I===void 0}function l(I){return I!==null&&!i(I)&&I.constructor!==null&&!i(I.constructor)&&typeof I.constructor.isBuffer=="function"&&I.constructor.isBuffer(I)}function s(I){return r.call(I)==="[object ArrayBuffer]"}function u(I){return typeof FormData<"u"&&I instanceof FormData}function o(I){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(I):I&&I.buffer&&I.buffer instanceof ArrayBuffer}function p(I){return typeof I=="string"}function m(I){return typeof I=="number"}function d(I){return I!==null&&typeof I=="object"}function y(I){if(r.call(I)!=="[object Object]")return!1;var F=Object.getPrototypeOf(I);return F===null||F===Object.prototype}function f(I){return r.call(I)==="[object Date]"}function S(I){return r.call(I)==="[object File]"}function v(I){return r.call(I)==="[object Blob]"}function w(I){return r.call(I)==="[object Function]"}function g(I){return d(I)&&w(I.pipe)}function _(I){return typeof URLSearchParams<"u"&&I instanceof URLSearchParams}function $(I){return I.trim?I.trim():I.replace(/^\\s+|\\s+$/g,"")}function x(){return(typeof navigator>"u"||navigator.product!=="ReactNative"&&navigator.product!=="NativeScript"&&navigator.product!=="NS")&&typeof window<"u"&&typeof document<"u"}function T(I,F){if(I!=null)if(typeof I!="object"&&(I=[I]),a(I))for(var C=0,B=I.length;C<B;C++)F.call(null,I[C],C,I);else for(var V in I)Object.prototype.hasOwnProperty.call(I,V)&&F.call(null,I[V],V,I)}function P(){var I={};function F(V,X){y(I[X])&&y(V)?I[X]=P(I[X],V):y(V)?I[X]=P({},V):a(V)?I[X]=V.slice():I[X]=V}for(var C=0,B=arguments.length;C<B;C++)T(arguments[C],F);return I}function D(I,F,C){return T(F,function(B,V){C&&typeof B=="function"?I[V]=t(B,C):I[V]=B}),I}function R(I){return I.charCodeAt(0)===65279&&(I=I.slice(1)),I}n.exports={isArray:a,isArrayBuffer:s,isBuffer:l,isFormData:u,isArrayBufferView:o,isString:p,isNumber:m,isObject:d,isPlainObject:y,isUndefined:i,isDate:f,isFile:S,isBlob:v,isFunction:w,isStream:g,isURLSearchParams:_,isStandardBrowserEnv:x,forEach:T,merge:P,extend:D,trim:$,stripBOM:R}}),L("iNZzY",function(n,e){n.exports=function(t,r){return function(){for(var a=Array(arguments.length),i=0;i<a.length;i++)a[i]=arguments[i];return t.apply(r,a)}}}),L("2VbXH",function(n,e){var t=A("iEaqd"),r=A("gWG2h"),a=A("4m3Da"),i=A("d4try"),l=A("6Mx50"),s=A("hiYAY"),u=s.validators;function o(p){this.defaults=p,this.interceptors={request:new a,response:new a}}o.prototype.request=function(p){typeof p=="string"?(p=arguments[1]||{},p.url=arguments[0]):p=p||{},(p=l(this.defaults,p)).method?p.method=p.method.toLowerCase():this.defaults.method?p.method=this.defaults.method.toLowerCase():p.method="get";var m,d=p.transitional;d!==void 0&&s.assertOptions(d,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var y=[],f=!0;this.interceptors.request.forEach(function($){(typeof $.runWhen!="function"||$.runWhen(p)!==!1)&&(f=f&&$.synchronous,y.unshift($.fulfilled,$.rejected))});var S=[];if(this.interceptors.response.forEach(function($){S.push($.fulfilled,$.rejected)}),!f){var v=[i,void 0];for(Array.prototype.unshift.apply(v,y),v=v.concat(S),m=Promise.resolve(p);v.length;)m=m.then(v.shift(),v.shift());return m}for(var w=p;y.length;){var g=y.shift(),_=y.shift();try{w=g(w)}catch($){_($);break}}try{m=i(w)}catch($){return Promise.reject($)}for(;S.length;)m=m.then(S.shift(),S.shift());return m},o.prototype.getUri=function(p){return r((p=l(this.defaults,p)).url,p.params,p.paramsSerializer).replace(/^\\?/,"")},t.forEach(["delete","get","head","options"],function(p){o.prototype[p]=function(m,d){return this.request(l(d||{},{method:p,url:m,data:(d||{}).data}))}}),t.forEach(["post","put","patch"],function(p){o.prototype[p]=function(m,d,y){return this.request(l(y||{},{method:p,url:m,data:d}))}}),n.exports=o}),L("gWG2h",function(n,e){var t=A("iEaqd");function r(a){return encodeURIComponent(a).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}n.exports=function(a,i,l){if(!i)return a;if(l)s=l(i);else if(t.isURLSearchParams(i))s=i.toString();else{var s,u=[];t.forEach(i,function(p,m){p!=null&&(t.isArray(p)?m+="[]":p=[p],t.forEach(p,function(d){t.isDate(d)?d=d.toISOString():t.isObject(d)&&(d=JSON.stringify(d)),u.push(r(m)+"="+r(d))}))}),s=u.join("&")}if(s){var o=a.indexOf("#");o!==-1&&(a=a.slice(0,o)),a+=(a.indexOf("?")===-1?"?":"&")+s}return a}}),L("4m3Da",function(n,e){var t=A("iEaqd");function r(){this.handlers=[]}r.prototype.use=function(a,i,l){return this.handlers.push({fulfilled:a,rejected:i,synchronous:!!l&&l.synchronous,runWhen:l?l.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(a){this.handlers[a]&&(this.handlers[a]=null)},r.prototype.forEach=function(a){t.forEach(this.handlers,function(i){i!==null&&a(i)})},n.exports=r}),L("d4try",function(n,e){var t=A("iEaqd"),r=A("gu59S"),a=A("8kGOw"),i=A("bM4se");function l(s){s.cancelToken&&s.cancelToken.throwIfRequested()}n.exports=function(s){return l(s),s.headers=s.headers||{},s.data=r.call(s,s.data,s.headers,s.transformRequest),s.headers=t.merge(s.headers.common||{},s.headers[s.method]||{},s.headers),t.forEach(["delete","get","head","post","put","patch","common"],function(u){delete s.headers[u]}),(s.adapter||i.adapter)(s).then(function(u){return l(s),u.data=r.call(s,u.data,u.headers,s.transformResponse),u},function(u){return!a(u)&&(l(s),u&&u.response&&(u.response.data=r.call(s,u.response.data,u.response.headers,s.transformResponse))),Promise.reject(u)})}}),L("gu59S",function(n,e){var t=A("iEaqd"),r=A("bM4se");n.exports=function(a,i,l){var s=this||r;return t.forEach(l,function(u){a=u.call(s,a,i)}),a}}),L("bM4se",function(n,e){var t=A("2dKjk"),r=A("iEaqd"),a=A("4xE2z"),i=A("9na6w"),l={"Content-Type":"application/x-www-form-urlencoded"};function s(p,m){!r.isUndefined(p)&&r.isUndefined(p["Content-Type"])&&(p["Content-Type"]=m)}function u(p,m,d){if(r.isString(p))try{return(m||JSON.parse)(p),r.trim(p)}catch(y){if(y.name!=="SyntaxError")throw y}return(0,JSON.stringify)(p)}var o={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:function(){var p;return(typeof XMLHttpRequest<"u"||t!==void 0&&Object.prototype.toString.call(t)==="[object process]")&&(p=A("kHaX1")),p}(),transformRequest:[function(p,m){return a(m,"Accept"),a(m,"Content-Type"),r.isFormData(p)||r.isArrayBuffer(p)||r.isBuffer(p)||r.isStream(p)||r.isFile(p)||r.isBlob(p)?p:r.isArrayBufferView(p)?p.buffer:r.isURLSearchParams(p)?(s(m,"application/x-www-form-urlencoded;charset=utf-8"),p.toString()):r.isObject(p)||m&&m["Content-Type"]==="application/json"?(s(m,"application/json"),u(p)):p}],transformResponse:[function(p){var m=this.transitional,d=m&&m.silentJSONParsing,y=m&&m.forcedJSONParsing,f=!d&&this.responseType==="json";if(f||y&&r.isString(p)&&p.length)try{return JSON.parse(p)}catch(S){if(f)throw S.name==="SyntaxError"?i(S,this,"E_JSON_PARSE"):S}return p}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(p){return p>=200&&p<300}};o.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(p){o.headers[p]={}}),r.forEach(["post","put","patch"],function(p){o.headers[p]=r.merge(l)}),n.exports=o}),L("2dKjk",function(n,e){var t,r,a,i=n.exports={};function l(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function u(w){if(t===setTimeout)return setTimeout(w,0);if((t===l||!t)&&setTimeout)return t=setTimeout,setTimeout(w,0);try{return t(w,0)}catch{try{return t.call(null,w,0)}catch{return t.call(this,w,0)}}}function o(w){if(r===clearTimeout)return clearTimeout(w);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(w);try{return r(w)}catch{try{return r.call(null,w)}catch{return r.call(this,w)}}}(function(){try{t=typeof setTimeout=="function"?setTimeout:l}catch{t=l}try{r=typeof clearTimeout=="function"?clearTimeout:s}catch{r=s}})();var p=[],m=!1,d=-1;function y(){m&&a&&(m=!1,a.length?p=a.concat(p):d=-1,p.length&&f())}function f(){if(!m){var w=u(y);m=!0;for(var g=p.length;g;){for(a=p,p=[];++d<g;)a&&a[d].run();d=-1,g=p.length}a=null,m=!1,o(w)}}function S(w,g){this.fun=w,this.array=g}function v(){}i.nextTick=function(w){var g=Array(arguments.length-1);if(arguments.length>1)for(var _=1;_<arguments.length;_++)g[_-1]=arguments[_];p.push(new S(w,g)),p.length!==1||m||u(f)},S.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(w){return[]},i.binding=function(w){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(w){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}),L("4xE2z",function(n,e){var t=A("iEaqd");n.exports=function(r,a){t.forEach(r,function(i,l){l!==a&&l.toUpperCase()===a.toUpperCase()&&(r[a]=i,delete r[l])})}}),L("9na6w",function(n,e){n.exports=function(t,r,a,i,l){return t.config=r,a&&(t.code=a),t.request=i,t.response=l,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}}),L("kHaX1",function(n,e){var t=A("iEaqd"),r=A("hAgIk"),a=A("gIEx2"),i=A("gWG2h"),l=A("e3Yo9"),s=A("lo19V"),u=A("eg6xZ"),o=A("iUqaj");n.exports=function(p){return new Promise(function(m,d){var y=p.data,f=p.headers,S=p.responseType;t.isFormData(y)&&delete f["Content-Type"];var v=new XMLHttpRequest;if(p.auth){var w=p.auth.username||"",g=p.auth.password?unescape(encodeURIComponent(p.auth.password)):"";f.Authorization="Basic "+btoa(w+":"+g)}var _=l(p.baseURL,p.url);function $(){if(v){var T="getAllResponseHeaders"in v?s(v.getAllResponseHeaders()):null,P=S&&S!=="text"&&S!=="json"?v.response:v.responseText,D={data:P,status:v.status,statusText:v.statusText,headers:T,config:p,request:v};r(m,d,D),v=null}}if(v.open(p.method.toUpperCase(),i(_,p.params,p.paramsSerializer),!0),v.timeout=p.timeout,"onloadend"in v?v.onloadend=$:v.onreadystatechange=function(){v&&v.readyState===4&&(v.status!==0||v.responseURL&&v.responseURL.indexOf("file:")===0)&&setTimeout($)},v.onabort=function(){v&&(d(o("Request aborted",p,"ECONNABORTED",v)),v=null)},v.onerror=function(){d(o("Network Error",p,null,v)),v=null},v.ontimeout=function(){var T="timeout of "+p.timeout+"ms exceeded";p.timeoutErrorMessage&&(T=p.timeoutErrorMessage),d(o(T,p,p.transitional&&p.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},t.isStandardBrowserEnv()){var x=(p.withCredentials||u(_))&&p.xsrfCookieName?a.read(p.xsrfCookieName):void 0;x&&(f[p.xsrfHeaderName]=x)}"setRequestHeader"in v&&t.forEach(f,function(T,P){y===void 0&&P.toLowerCase()==="content-type"?delete f[P]:v.setRequestHeader(P,T)}),t.isUndefined(p.withCredentials)||(v.withCredentials=!!p.withCredentials),S&&S!=="json"&&(v.responseType=p.responseType),typeof p.onDownloadProgress=="function"&&v.addEventListener("progress",p.onDownloadProgress),typeof p.onUploadProgress=="function"&&v.upload&&v.upload.addEventListener("progress",p.onUploadProgress),p.cancelToken&&p.cancelToken.promise.then(function(T){v&&(v.abort(),d(T),v=null)}),y||(y=null),v.send(y)})}}),L("hAgIk",function(n,e){var t=A("iUqaj");n.exports=function(r,a,i){var l=i.config.validateStatus;!i.status||!l||l(i.status)?r(i):a(t("Request failed with status code "+i.status,i.config,null,i.request,i))}}),L("iUqaj",function(n,e){var t=A("9na6w");n.exports=function(r,a,i,l,s){return t(Error(r),a,i,l,s)}}),L("gIEx2",function(n,e){var t=A("iEaqd");n.exports=t.isStandardBrowserEnv()?function(){return{write:function(r,a,i,l,s,u){var o=[];o.push(r+"="+encodeURIComponent(a)),t.isNumber(i)&&o.push("expires="+new Date(i).toGMTString()),t.isString(l)&&o.push("path="+l),t.isString(s)&&o.push("domain="+s),u===!0&&o.push("secure"),document.cookie=o.join("; ")},read:function(r){var a=document.cookie.match(RegExp("(^|;\\\\s*)("+r+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()}),L("e3Yo9",function(n,e){var t=A("2rjk0"),r=A("5nGHC");n.exports=function(a,i){return a&&!t(i)?r(a,i):i}}),L("2rjk0",function(n,e){n.exports=function(t){return/^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(t)}}),L("5nGHC",function(n,e){n.exports=function(t,r){return r?t.replace(/\\/+$/,"")+"/"+r.replace(/^\\/+/,""):t}}),L("lo19V",function(n,e){var t=A("iEaqd"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];n.exports=function(a){var i,l,s,u={};return a&&t.forEach(a.split(\`
|
|
15421
|
-
\`),function(o){s=o.indexOf(":"),i=t.trim(o.substr(0,s)).toLowerCase(),l=t.trim(o.substr(s+1)),i&&!(u[i]&&r.indexOf(i)>=0)&&(i==="set-cookie"?u[i]=(u[i]?u[i]:[]).concat([l]):u[i]=u[i]?u[i]+", "+l:l)}),u}}),L("eg6xZ",function(n,e){var t=A("iEaqd");n.exports=t.isStandardBrowserEnv()?function(){var r,a=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function l(s){var u=s;return a&&(i.setAttribute("href",u),u=i.href),i.setAttribute("href",u),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return r=l(window.location.href),function(s){var u=t.isString(s)?l(s):s;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}()}),L("8kGOw",function(n,e){n.exports=function(t){return!!(t&&t.__CANCEL__)}}),L("6Mx50",function(n,e){var t=A("iEaqd");n.exports=function(r,a){a=a||{};var i={},l=["url","method","data"],s=["headers","auth","proxy","params"],u=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],o=["validateStatus"];function p(f,S){return t.isPlainObject(f)&&t.isPlainObject(S)?t.merge(f,S):t.isPlainObject(S)?t.merge({},S):t.isArray(S)?S.slice():S}function m(f){t.isUndefined(a[f])?t.isUndefined(r[f])||(i[f]=p(void 0,r[f])):i[f]=p(r[f],a[f])}t.forEach(l,function(f){t.isUndefined(a[f])||(i[f]=p(void 0,a[f]))}),t.forEach(s,m),t.forEach(u,function(f){t.isUndefined(a[f])?t.isUndefined(r[f])||(i[f]=p(void 0,r[f])):i[f]=p(void 0,a[f])}),t.forEach(o,function(f){f in a?i[f]=p(r[f],a[f]):f in r&&(i[f]=p(void 0,r[f]))});var d=l.concat(s).concat(u).concat(o),y=Object.keys(r).concat(Object.keys(a)).filter(function(f){return d.indexOf(f)===-1});return t.forEach(y,m),i}}),L("hiYAY",function(n,e){var t=A("bTAft"),r={};["object","boolean","number","function","string","symbol"].forEach(function(u,o){r[u]=function(p){return typeof p===u||"a"+(o<1?"n ":" ")+u}});var a={},i=t.version.split(".");function l(u,o){for(var p=o?o.split("."):i,m=u.split("."),d=0;d<3;d++){if(p[d]>m[d])return!0;if(p[d]<m[d])break}return!1}function s(u,o,p){if(typeof u!="object")throw TypeError("options must be an object");for(var m=Object.keys(u),d=m.length;d-- >0;){var y=m[d],f=o[y];if(f){var S=u[y],v=S===void 0||f(S,y,u);if(v!==!0)throw TypeError("option "+y+" must be "+v);continue}if(p!==!0)throw Error("Unknown option "+y)}}r.transitional=function(u,o,p){var m=o&&l(o);function d(y,f){return"[Axios v"+t.version+"] Transitional option '"+y+"'"+f+(p?". "+p:"")}return function(y,f,S){if(u===!1)throw Error(d(f," has been removed in "+o));return m&&!a[f]&&(a[f]=!0,console.warn(d(f," has been deprecated since v"+o+" and will be removed in the near future"))),!u||u(y,f,S)}},n.exports={isOlderVersion:l,assertOptions:s,validators:r}}),L("bTAft",function(n,e){n.exports=JSON.parse('{"_args":[["axios@0.21.4","/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}),L("g2liO",function(n,e){function t(r){this.message=r}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,n.exports=t}),L("14PRn",function(n,e){var t=A("g2liO");function r(a){if(typeof a!="function")throw TypeError("executor must be a function.");this.promise=new Promise(function(s){i=s});var i,l=this;a(function(s){l.reason||(l.reason=new t(s),i(l.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var a;return{token:new r(function(i){a=i}),cancel:a}},n.exports=r}),L("i3hBo",function(n,e){n.exports=function(t){return function(r){return t.apply(null,r)}}}),L("dhYWP",function(n,e){n.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}}),L("kfIQl",function(n,e){var t=typeof Symbol<"u"&&Symbol,r=A("lyEFc");n.exports=function(){return typeof t=="function"&&typeof Symbol=="function"&&typeof t("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&r()}}),L("lyEFc",function(n,e){n.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),a=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var i=42;for(r in t[r]=i,t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var l=Object.getOwnPropertySymbols(t);if(l.length!==1||l[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0}}),L("bJ3CN",function(n,e){var t={__proto__:null,foo:{}},r=Object;n.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof r)}}),L("9cNUg",function(n,e){var t=A("hGGZx"),r=function(){return!!t};r.hasArrayLengthDefineBug=function(){if(!t)return null;try{return t([],"length",{value:1}).length!==1}catch{return!0}},n.exports=r}),L("hGGZx",function(n,e){var t=A("hMrGw")("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}n.exports=t}),L("hMrGw",function(n,e){var t=A("dUpie"),r=A("48xLS"),a=A("4Vqmv"),i=A("7x6DQ"),l=A("kPNod"),s=A("b9GfH"),u=A("8DBKi"),o=Function,p=function(H){try{return o('"use strict"; return ('+H+").constructor;")()}catch{}},m=Object.getOwnPropertyDescriptor;if(m)try{m({},"")}catch{m=null}var d=function(){throw new s},y=m?function(){try{return arguments.callee,d}catch{try{return m(arguments,"callee").get}catch{return d}}}():d,f=A("kfIQl")(),S=A("bJ3CN")(),v=Object.getPrototypeOf||(S?function(H){return H.__proto__}:null),w={},g=typeof Uint8Array<"u"&&v?v(Uint8Array):void 0,_={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":f&&v?v([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":w,"%AsyncGenerator%":w,"%AsyncGeneratorFunction%":w,"%AsyncIteratorPrototype%":w,"%Atomics%":typeof Atomics>"u"?void 0:Atomics,"%BigInt%":typeof BigInt>"u"?void 0:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?void 0:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":r,"%Float32Array%":typeof Float32Array>"u"?void 0:Float32Array,"%Float64Array%":typeof Float64Array>"u"?void 0:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?void 0:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":w,"%Int8Array%":typeof Int8Array>"u"?void 0:Int8Array,"%Int16Array%":typeof Int16Array>"u"?void 0:Int16Array,"%Int32Array%":typeof Int32Array>"u"?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&v?v(v([][Symbol.iterator]())):void 0,"%JSON%":typeof JSON=="object"?JSON:void 0,"%Map%":typeof Map>"u"?void 0:Map,"%MapIteratorPrototype%":typeof Map<"u"&&f&&v?v(new Map()[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?void 0:Promise,"%Proxy%":typeof Proxy>"u"?void 0:Proxy,"%RangeError%":a,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?void 0:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?void 0:Set,"%SetIteratorPrototype%":typeof Set<"u"&&f&&v?v(new Set()[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&v?v(""[Symbol.iterator]()):void 0,"%Symbol%":f?Symbol:void 0,"%SyntaxError%":l,"%ThrowTypeError%":y,"%TypedArray%":g,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?void 0:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?void 0:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?void 0:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?void 0:WeakMap,"%WeakRef%":typeof WeakRef>"u"?void 0:WeakRef,"%WeakSet%":typeof WeakSet>"u"?void 0:WeakSet};if(v)try{null.error}catch(H){var $=v(v(H));_["%Error.prototype%"]=$}var x=function H(ie){var ee;if(ie==="%AsyncFunction%")ee=p("async function () {}");else if(ie==="%GeneratorFunction%")ee=p("function* () {}");else if(ie==="%AsyncGeneratorFunction%")ee=p("async function* () {}");else if(ie==="%AsyncGenerator%"){var k=H("%AsyncGeneratorFunction%");k&&(ee=k.prototype)}else if(ie==="%AsyncIteratorPrototype%"){var O=H("%AsyncGenerator%");O&&v&&(ee=v(O.prototype))}return _[ie]=ee,ee},T={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=A("hweMw"),D=A("23C6u"),R=P.call(Function.call,Array.prototype.concat),I=P.call(Function.apply,Array.prototype.splice),F=P.call(Function.call,String.prototype.replace),C=P.call(Function.call,String.prototype.slice),B=P.call(Function.call,RegExp.prototype.exec),V=/[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g,X=/\\\\(\\\\)?/g,le=function(H){var ie=C(H,0,1),ee=C(H,-1);if(ie==="%"&&ee!=="%")throw new l("invalid intrinsic syntax, expected closing \`%\`");if(ee==="%"&&ie!=="%")throw new l("invalid intrinsic syntax, expected opening \`%\`");var k=[];return F(H,V,function(O,N,K,se){k[k.length]=K?F(se,X,"$1"):N||O}),k},ve=function(H,ie){var ee,k=H;if(D(T,k)&&(k="%"+(ee=T[k])[0]+"%"),D(_,k)){var O=_[k];if(O===w&&(O=x(k)),O===void 0&&!ie)throw new s("intrinsic "+H+" exists, but is not available. Please file an issue!");return{alias:ee,name:k,value:O}}throw new l("intrinsic "+H+" does not exist!")};n.exports=function(H,ie){if(typeof H!="string"||H.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ie!="boolean")throw new s('"allowMissing" argument must be a boolean');if(B(/^%?[^%]*%?$/,H)===null)throw new l("\`%\` may not be present anywhere but at the beginning and end of the intrinsic name");var ee=le(H),k=ee.length>0?ee[0]:"",O=ve("%"+k+"%",ie),N=O.name,K=O.value,se=!1,te=O.alias;te&&(k=te[0],I(ee,R([0,1],te)));for(var J=1,ce=!0;J<ee.length;J+=1){var re=ee[J],fe=C(re,0,1),ke=C(re,-1);if((fe==='"'||fe==="'"||fe==="\`"||ke==='"'||ke==="'"||ke==="\`")&&fe!==ke)throw new l("property names with quotes must have matching quotes");if(re!=="constructor"&&ce||(se=!0),k+="."+re,D(_,N="%"+k+"%"))K=_[N];else if(K!=null){if(!(re in K)){if(!ie)throw new s("base intrinsic for "+H+" exists, but the property is not available.");return}if(m&&J+1>=ee.length){var Ae=m(K,re);K=(ce=!!Ae)&&"get"in Ae&&!("originalValue"in Ae.get)?Ae.get:K[re]}else ce=D(K,re),K=K[re];ce&&!se&&(_[N]=K)}}return K}}),L("dUpie",function(n,e){n.exports=Error}),L("48xLS",function(n,e){n.exports=EvalError}),L("4Vqmv",function(n,e){n.exports=RangeError}),L("7x6DQ",function(n,e){n.exports=ReferenceError}),L("kPNod",function(n,e){n.exports=SyntaxError}),L("b9GfH",function(n,e){n.exports=TypeError}),L("8DBKi",function(n,e){n.exports=URIError}),L("hweMw",function(n,e){var t=A("2Eytq");n.exports=Function.prototype.bind||t}),L("2Eytq",function(n,e){var t="Function.prototype.bind called on incompatible ",r=Object.prototype.toString,a=Math.max,i="[object Function]",l=function(o,p){for(var m=[],d=0;d<o.length;d+=1)m[d]=o[d];for(var y=0;y<p.length;y+=1)m[y+o.length]=p[y];return m},s=function(o,p){for(var m=[],d=p,y=0;d<o.length;d+=1,y+=1)m[y]=o[d];return m},u=function(o,p){for(var m="",d=0;d<o.length;d+=1)m+=o[d],d+1<o.length&&(m+=p);return m};n.exports=function(o){var p,m=this;if(typeof m!="function"||r.apply(m)!==i)throw TypeError(t+m);for(var d=s(arguments,1),y=function(){if(this instanceof p){var g=m.apply(this,l(d,arguments));return Object(g)===g?g:this}return m.apply(o,l(d,arguments))},f=a(0,m.length-d.length),S=[],v=0;v<f;v++)S[v]="$"+v;if(p=Function("binder","return function ("+u(S,",")+"){ return binder.apply(this,arguments); }")(y),m.prototype){var w=function(){};w.prototype=m.prototype,p.prototype=new w,w.prototype=null}return p}}),L("23C6u",function(n,e){var t=Function.prototype.call,r=Object.prototype.hasOwnProperty,a=A("hweMw");n.exports=a.call(t,r)}),L("5ZWAZ",function(n,e){function t(r){return n.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n.exports.__esModule=!0,n.exports.default=n.exports,t(r)}n.exports=t,n.exports.__esModule=!0,n.exports.default=n.exports}),L("fgq5y",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=l;var r=t(A("a9VQw")),a=t(A("glRwo")),i=t(A("ayR3G"));function l(s,u){(0,i.default)(2,arguments);var o=(0,a.default)(s),p=(0,r.default)(u);return isNaN(p)?new Date(NaN):(p&&o.setDate(o.getDate()+p),o)}n.exports=n.exports.default}),L("f3Ywx",function(n,e){function t(r){return r&&r.__esModule?r:{default:r}}n.exports=t,n.exports.__esModule=!0,n.exports.default=n.exports}),L("a9VQw",function(n,e){function t(r){if(r===null||r===!0||r===!1)return NaN;var a=Number(r);return isNaN(a)?a:a<0?Math.ceil(a):Math.floor(a)}Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=t,n.exports=n.exports.default}),L("glRwo",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=i;var r=t(A("5ZWAZ")),a=t(A("ayR3G"));function i(l){(0,a.default)(1,arguments);var s=Object.prototype.toString.call(l);return l instanceof Date||(0,r.default)(l)==="object"&&s==="[object Date]"?new Date(l.getTime()):typeof l=="number"||s==="[object Number]"?new Date(l):((typeof l=="string"||s==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use \`parseISO\` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}n.exports=n.exports.default}),L("ayR3G",function(n,e){function t(r,a){if(a.length<r)throw TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+a.length+" present")}Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=t,n.exports=n.exports.default}),L("byyO9",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=l;var r=t(A("a9VQw")),a=t(A("glRwo")),i=t(A("ayR3G"));function l(s,u){(0,i.default)(2,arguments);var o=(0,a.default)(s),p=(0,r.default)(u);if(isNaN(p))return new Date(NaN);if(!p)return o;var m=o.getDate(),d=new Date(o.getTime());return d.setMonth(o.getMonth()+p+1,0),m>=d.getDate()?d:(o.setFullYear(d.getFullYear(),d.getMonth(),m),o)}n.exports=n.exports.default}),L("hLz6R",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=s;var r=t(A("glRwo")),a=t(A("a9VQw")),i=t(A("ayR3G")),l=A("lmyOi");function s(u,o){(0,i.default)(1,arguments);var p,m,d,y,f,S,v,w,g=(0,l.getDefaultOptions)(),_=(0,a.default)((p=(m=(d=(y=o==null?void 0:o.weekStartsOn)!==null&&y!==void 0?y:o==null||(f=o.locale)===null||f===void 0||(S=f.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&d!==void 0?d:g.weekStartsOn)!==null&&m!==void 0?m:(v=g.locale)===null||v===void 0||(w=v.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&p!==void 0?p:0);if(!(_>=0&&_<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var $=(0,r.default)(u),x=$.getDay(),T=(x<_?7:0)+x-_;return $.setDate($.getDate()-T),$.setHours(0,0,0,0),$}n.exports=n.exports.default}),L("lmyOi",function(n,e){Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.getDefaultOptions=r,n.exports.setDefaultOptions=a;var t={};function r(){return t}function a(i){t=i}}),L("kmcAT",function(n,e){A("akXK4"),A("5xozB");let t={when:function(l){return new Promise(s=>{s(l)})}},r={};class a{}let i=new a;Object.defineProperties(i,{module:()=>i,directive:()=>i,factory(l,s){try{typeof s=="object"?r[l]=s[s.length-1](t):r[l]=s(t)}catch(u){console.log("Errror in data type: ",l),console.log(u)}return i},service:()=>i,run:()=>i,filter:()=>i,controller:()=>i,value:()=>i,element:()=>i,injector:()=>i,invoke:()=>i})}),L("akXK4",function(n,e){n.exports=A("1ufAB")}),L("5xozB",function(n,e){Tr(n.exports,"IS_BROWSER_MAIN_THREAD",()=>r),Tr(n.exports,"IS_BROWSER",()=>i);var t=A("2dKjk");let r=![typeof window,typeof document].includes("undefined"),a=typeof self=="object"&&typeof WorkerGlobalScope<"u",i=r||a;t!==void 0&&t.versions!=null&&t.versions.node});let ia="https://gudhub.com/GudHub_Test",sa="wss://gudhub.com/GudHub/ws/app/",oa="https://gudhub.com/api/services/prod",la="build/latest/async_modules_node/",ca="build/latest/automation_modules/",ua="https://gudhub.com",pa=!0,da=!0;var Ee=A("5xozB");class Pr{}class Ut extends Pr{constructor(e,t,r){super(),this.chunkDataService=new qt(e,jr,r),this.gudhub=r}isWithCache(){return!1}async processRequestedApp(e,t){if(!this.isWithCache()){let r=await this.chunkDataService.getMergedChunkForIDList(e,t.chunks);return r&&(t.items_list=await this.gudhub.util.mergeChunks([r,t])),t}throw Error()}}class Cr extends Pr{getMergedChunkForIDList(e){}isWithCache(){return!1}}class fa{constructor(e){this.req=e}async getApp(e){return this.req.get({url:"/api/app/get",params:{app_id:e}})}}let Nr=(n,...e)=>{for(let t of e)if(t)for(let r of Object.keys(t)){let a=Object.getOwnPropertyDescriptor(t,r);a.enumerable&&Object.defineProperty(n,r,a)}};class bt{}class Qe extends Ut{constructor(e,t,r){super(e,t,r),this.appApi=new fa(e),Nr(this,new bt(t))}async getApp(e){let t=await this.appApi.getApp(e);return this.processRequestedApp(e,t)}async getAppWithoutProcessing(e){return this.appApi.getApp(e)}async putApp(e,t){}static[Symbol.hasInstance](e){try{return e instanceof Qe||e instanceof bt}catch{return!1}}}let vt={store:"apps"},Mr={store:"chunks"},ha="gudhub",wt={store:"chunksMergeCache"};class Gt{constructor(e){this.store=e.store,this.dbName=e.dbName,this.dbVersion=e.dbVersion,this.requestCache=new Map}}class We{constructor(e,t){if(We.dbNameToInstanceMap||(We.dbNameToInstanceMap=new Map),We.dbNameToInstanceMap.has(e))return We.dbNameToInstanceMap.get(e);this.db=null,this.dbName=e,this.storeNameList=t,We.dbNameToInstanceMap.set(e,this),this.db=null}async checkAndCreateStore(e){let t=(await indexedDB.databases()).find(i=>i.name===this.dbName),r=!1,a=this;return t&&(r=await new Promise((i,l)=>{let s=indexedDB.open(a.dbName);s.onsuccess=function(u){let o=u.target.result,p=o.objectStoreNames.contains(e);o.close(),i(p)},s.onerror=function(u){l(u.target.error)}})),!!r||new Promise((i,l)=>{let s=indexedDB.open(a.dbName,t?t.version+1:1);s.onupgradeneeded=function(u){let o=u.target.result;o.objectStoreNames.contains(e)||o.createObjectStore(e)},s.onsuccess=function(u){u.target.result.close(),i()},s.onerror=l})}async openDB(){let e,t;if(this.db)return this.db;let r=new Promise((l,s)=>{e=l,t=s});for(let l of this.storeNameList)await this.checkAndCreateStore(l);let a=this,i=indexedDB.open(this.dbName);return i.onsuccess=l=>{a.db=l.target.result,e(this.db)},i.onerror=t,r}async executeOperation(e,t){let r=await this.openDB();return new Promise((a,i)=>{let l=r.transaction(e,"readwrite"),s=l.objectStore(e);l.oncomplete=()=>a(),l.onerror=u=>i(\`Transaction failed: \${u.target.error}\`);try{t(s)}catch(u){i(\`Operation failed: \${u.message}\`)}})}async enqueueOperation(e,t){if(this.queue.push({storeName:e,operation:t}),!this.isProcessing){for(this.isProcessing=!0;this.queue.length>0;){let{storeName:r,operation:a}=this.queue.shift();try{await this.executeOperation(r,a)}catch(i){console.error("Operation failed:",i)}}this.isProcessing=!1}}async ensureStoreExists(e){}async createObjectStore(e){}}let Rr=new We(ha,[vt.store,Mr.store,wt.store]);class ma{constructor(e){this.req=e}async getChunk(e,t){return this.req.get({url:\`\${this.req.root}/api/get-items-chunk/\${e}/\${t}\`,method:"GET"})}async getLastChunk(e){return this.req.axiosRequest({url:\`\${this.req.root}/api/get-last-items-chunk/\${e}\`,method:"GET"})}}class $t extends Cr{constructor(e,t){super(),this.chunkApi=new ma(e),Nr(this,new bt(t))}async getChunk(e,t){return this.chunkApi.getChunk(e,t)}async getChunksForId(e){return[]}getCachedMergedChunk(e,t){}getMergedChunkForIDList(e,t){}putChunk(){}static[Symbol.hasInstance](e){try{return e instanceof $t||e instanceof bt}catch{return!1}}}class Fr{constructor(e,t){this.dbManager=e,this.storeName=t}async addItem(e,t){return new Promise(async(r,a)=>{this.dbManager.executeOperation(this.storeName,i=>{let l=i.add(t,e);l.onsuccess=r,l.onerror=a})})}async putItem(e,t){return new Promise(async(r,a)=>{this.dbManager.executeOperation(this.storeName,i=>{let l=i.put(t,e);l.onsuccess=r,l.onerror=a})})}async hasItem(e){try{return!!await this.getItem(e)}catch{return!1}return new Promise(async(t,r)=>{this.dbManager.executeOperation(this.storeName,a=>{let i=a.get(e);i.onsuccess=()=>{t(i.result)},i.onerror=r})})}async getItem(e){return new Promise(async(t,r)=>{this.dbManager.executeOperation(this.storeName,a=>{let i=a.get(e);i.onsuccess=()=>{t(i.result)},i.onerror=r})})}async updateItem(e,t){return new Promise(async(r,a)=>{this.dbManager.executeOperation(this.storeName,i=>{let l=i.get(e);l.onsuccess=()=>{let s=l.result;Object.assign(s,t),i.put(s,e),r()},l.onerror=a})})}async deleteItem(e){return new Promise(async(t,r)=>{this.dbManager.executeOperation(this.storeName,a=>{let i=a.delete(e);i.onsuccess=t,i.onerror=r})})}}class Lr extends Fr{constructor(){super(Rr,vt.store)}async getApp(e){return this.getItem(e)}async addApp(e,t){return this.addItem(e,t)}async putApp(e,t){return this.putItem(e,t)}async hasApp(e){return this.hasItem(e)}async deleteApp(e){return this.deleteItem(e)}}class ga extends Fr{constructor(){super(Rr,wt.store)}async get(e){return this.getItem(e)}async add(e,t){return this.addItem(e,t)}async put(e,t){return this.putItem(e,t)}async delete(e){return this.deleteItem(e)}}class at extends Cr{constructor(e,t,r){super(e,t),this.dataService=new $t(e),this.requestCache=new Map,this.gudhub=r,this.storeManager=new ga}static[Symbol.hasInstance](e){try{return e instanceof at||e instanceof Gt}catch{return!1}}async getCachedMergedChunk(e,t){try{return(await this.storeManager.get(e)).mergedData}catch{let a=t.map(s=>this.dataService.getChunk(e,s)),i=await Promise.all(a),l=await this.gudhub.util.mergeChunks(i);return this.putMergedChunks(e,{hashes:t,mergedData:{items_list:l}}),{items_list:l}}}isWithCache(){return!0}async getMergedChunkForApp(e){}async getMergedChunkForIDList(e,t){try{let r,a=!0,i=await this.storeManager.get(e);try{if(t.length<i.hashes.length)throw Error();for(let u of i.hashes)t.indexOf(u)!=i.hashes.indexOf(u)&&(a=!1)}catch{a=!1}let l=[],s=[];if(t.length>i.hashes.length&&(l=t.slice(i.hashes.length)),a||(l=t),l.length>0){let u=l.map(o=>this.dataService.getChunk(e,o));s=await Promise.all(u)}return a||(r=await this.gudhub.util.mergeChunks([...s])),a&&(r=await this.gudhub.util.mergeChunks([i.mergedData,...s])),l.length>0&&this.putMergedChunks(e,{hashes:t,mergedData:{items_list:r}}),{items_list:r}}catch{let a=t.map(s=>this.dataService.getChunk(e,s)),i=await Promise.all(a),l=await this.gudhub.util.mergeChunks(i);return this.putMergedChunks(e,{hashes:t,mergedData:{items_list:l}}),{items_list:l}}}async putMergedChunks(e,t){return this.storeManager.put(e,t)}async putChunk(e,t){return this.storeManager.putChunk(e,t)}async getChunk(e,t){if(this.requestCache.has(t))return this.requestCache.get(t);try{let r=this.storeManager.getChunk(t);return self.requestCache.set(t,r),await r,r}catch{let a=this.dataService.getChunk(e,t);this.requestCache.set(t,a);let i=await a;return this.putChunk(t,i),a}}}class Wt extends Ut{constructor(e,t,r){super(e,t,r),this.dataService=new Qe(e,t,r),this.requestCache=new Map,this.gudhub=r,this.chunkDataService=new at(e,wt,r),this.storeManager=new Lr}static[Symbol.hasInstance](e){try{return e instanceof Wt||e instanceof Gt}catch{return!1}}isWithCache(){return!1}async getAppWithoutProcessing(e){let t=await this.dataService.getAppWithoutProcessing(e);return await this.putApp(e,t),t}async getApp(e){let t=this,r=await this.dataService.getAppWithoutProcessing(e);return await t.processRequestedApp(e,r)}async getCached(e){return this.storeManager.getApp(e)}async putApp(e,t){return this.storeManager.putApp(e,t)}}class Ht extends Ut{constructor(e,t,r){super(e,t,r),this.dataService=new Qe(e,t,r),this.requestCache=new Map,this.gudhub=r,this.resolveFnMap=new Map,this.appRequestAndProcessWorker=new AppRequestWorkerScript,this.appRequestAndProcessWorker.postMessage({type:"init",gudhubSerialized:this.gudhub.serialized});let a=this;this.appRequestAndProcessWorker.onerror=function(i){},this.appRequestAndProcessWorker.onmessage=function(i){i.data.type=="requestApp"&&a.resolveFnMap.has(i.data.id)&&a.resolveFnMap.get(i.data.id)(i.data.data),i.data.type=="processData"&&(a.gudhub.itemProcessor.handleDiff(i.data.id,i.data.compareRes),(i.data.viewListChanged||i.data.fieldListChanged)&&a.gudhub.appProcessor.updateAppFieldsAndViews(i.data.newVersion))},this.storeManager=new Lr}static[Symbol.hasInstance](e){try{return e instanceof Ht||e instanceof Gt}catch{return!1}}isWithCache(){return!1}async getApp(e){if(this.requestCache.has(e))return this.requestCache.get(e);let t=this;await this.has(e);{let r=new Promise((a,i)=>{t.resolveFnMap.set(e,a)});return this.requestCache.set(e,r),this.appRequestAndProcessWorker.postMessage({type:"requestApp",id:e}),r}}async getCached(e){return this.storeManager.getApp(e)}async has(e){try{return this.storeManager.hasApp(e)}catch{}}async putApp(e,t){return this.storeManager.putApp(e,t)}}A("5xozB"),Ee.IS_BROWSER&&pa?(qt=at,jr=Mr):qt=$t,Ee.IS_BROWSER&&da?(Dt=Ht,Or=vt):Dt=Qe;var Ee=A("5xozB");class Dr{constructor(e,t,r,a,i,l,s){this.storage=e,this.pipeService=t,this.req=r,this.ws=a,this.applistReceived=!1,this.activateSW=l,this.util=i,this.appListeners(),this.dataService=s,this.appRequestCache=new Map}async createNewAppApi(e){try{let t=await this.req.post({url:"/api/app/create",form:{app:JSON.stringify(e)}});return t.from_apps_list=!0,t}catch(t){return console.log(t),null}}async updateAppApi(e){try{return await this.req.post({url:"/api/app/update",form:{app:JSON.stringify(e)}})}catch(t){return console.log(t),null}}async deleteAppApi(e){try{return await this.req.post({url:"/api/app/delete",form:{app_id:e}})}catch(t){return console.log(t),null}}async getAppListApi(){try{return(await this.req.get({url:"/api/applist/get"})).apps_list.map(e=>(e.from_apps_list=!0,e))}catch(e){return console.log(e),null}}getAppListFromStorage(){return this.storage.getAppsList()}getAppFromStorage(e){let t=this.storage.getApp(e);return t&&t.field_list.length?t:null}addNewAppToStorage(e){return this.storage.getAppsList().push(e)}saveAppInStorage(e){e.items_object={};for(let r=0;r<e.items_list.length;r++){e.items_object[e.items_list[r].item_id]={};for(let a=0;a<e.items_list[r].fields.length;a++)e.items_object[e.items_list[r].item_id][e.items_list[r].fields[a].field_id]=e.items_list[r].fields[a]}let t=this.storage.getApp(e.app_id);return t?(e.from_apps_list=t.from_apps_list,e.permission=t.permission,this.storage.updateApp(e)):(e.from_apps_list=!1,this.addNewAppToStorage(e)),this.getAppFromStorage(e.app_id)}updateAppFieldsAndViews(e){let t=this.getAppFromStorage(e.app_id);e.items_list=t.items_list,e.file_list=t.file_list,e.from_apps_list=t.from_apps_list,e.items_object=t.items_object,this.storage.updateApp(e),this.pipeService.emit("gh_app_views_update",{app_id:e.app_id},e.views_list),e.field_list.forEach(r=>{this.pipeService.emit("gh_model_update",{app_id:e.app_id,field_id:r.field_id},r)})}updateAppInStorage(e){this.storage.getApp(e.app_id)?(this.storage.updateApp(e),this.pipeService.emit("gh_app_update",{app_id:e.app_id},e),this.pipeService.emit("gh_items_update",{app_id:e.app_id},e.items_list)):this.addNewAppToStorage(e)}deletingAppFromStorage(e){let t=this.storage.getAppsList();return t.forEach((r,a)=>{r.app_id==e&&t.splice(a)}),t}updateAppsListInStorage(e=[]){for(let t of e){let r=this.storage.getApp(t.app_id);r?(r.from_apps_list=t.from_apps_list,r.permission=t.permission):this.addNewAppToStorage(t)}}async refreshApps(e=[]){for(let t of e)if(t!=null)try{let r=await this.dataService.getApp(t);if(r){r.items_object={};for(let a=0;a<r.items_list.length;a++){r.items_object[r.items_list[a].item_id]={};for(let i=0;i<r.items_list[a].fields.length;i++)r.items_object[r.items_list[a].item_id][r.items_list[a].fields[i].field_id]=r.items_list[a].fields[i]}this.updateAppInStorage(r),this.pipeService.emit("gh_app_views_update",{app_id:r.app_id},r.views_list)}}catch(r){console.log(r)}console.log("Apps refreshed: ",JSON.stringify(e))}async refreshAppsList(){let e=this.getAppListFromStorage(),t=(await this.getAppListApi()).map(r=>({...r,...e.find(a=>a.app_id===r.app_id)}));this.updateAppsListInStorage(t),this.pipeService.emit("gh_apps_list_refreshed",{})}async getAppsList(){let e=this.getAppListFromStorage();if(!this.applistReceived){let t=await this.getAppListApi();if(!t)return null;this.updateAppsListInStorage(t),this.applistReceived=!0,e=t}return e}async getAppInfo(e){let t=await this.getAppsList();return t?t.find(r=>r.app_id==e):null}async deleteApp(e){return await this.deleteAppApi(e),this.deletingAppFromStorage(e)}async getApp(e,t=!1){if(!e)return null;let r=this.getAppFromStorage(e);if(r)return r;if(this.appRequestCache.has(e))return this.appRequestCache.get(e);let a=this,i=new Promise(async(l,s)=>{try{let u=await a.dataService.getApp(e);u||s();let o=t?u:{...u,items_list:u.items_list.filter(p=>!p.trash)};o=t?o:{...o,field_list:o.field_list.filter(p=>!p.trash)},l(o),a.saveAppInStorage(o),a.ws.addSubscription(e)}catch{s()}});return a.appRequestCache.set(e,i),i}async updateApp(e){if(!e.views_list||!e.views_list.length||!e.show){let r=await this.getApp(e.app_id);e.views_list&&e.views_list.length||(e.views_list=r.views_list),e.show===void 0&&(e.show=r.show)}let t=await this.updateAppApi(e);return this.updateAppFieldsAndViews(t),t}async updateAppInfo(e={}){return this.pipeService.emit("gh_app_info_update",{app_id:e.app_id},e),this.updateApp(e)}async createNewApp(e){let t=await this.createNewAppApi(e);return t.items_object={},this.addNewAppToStorage(t),t}async getAppViews(e){if(e)return(await this.getApp(e)).views_list}async handleAppChange(e,t,r){let a=this.util.areViewListsEqual(t.views_list,r.views_list),i=this.util.areFieldListsEqual(t.field_list,r.field_list);(a||i)&&this.updateAppFieldsAndViews({id:e,views_list:r.views_list,field_list:r.field_list})}clearAppProcessor(){this.getAppListPromises=null,this.getAppPromises={},this.applistReceived=!1}appListeners(){this.pipeService.onRoot("gh_app_get",{},async(e,t)=>{if(t&&t.app_id){let r=await this.getApp(t.app_id);this.pipeService.emit("gh_app_get",t,r)}}),this.pipeService.onRoot("gh_apps_list_get",{},async(e,t)=>{let r=await this.getAppsList();this.pipeService.emit("gh_apps_list_get",t,r)}),this.pipeService.onRoot("gh_delete_app",{},async(e,t)=>{let r=await this.deleteApp(t.app_id);this.pipeService.emit("gh_apps_list_update",{recipient:"all"},r)}),this.pipeService.onRoot("gh_app_update",{},async(e,t)=>{t.app.items_list=[],t.app.file_list=[];let r=await this.updateApp(t.app);this.pipeService.emit("gh_app_views_update",{app_id:r.app_id},r.views_list);let a=await this.getAppsList();this.pipeService.emit("gh_apps_list_update",{recipient:"all"},a),r.field_list.forEach(i=>{this.pipeService.emit("gh_model_update",{app_id:r.app_id,field_id:i.field_id},i)})}),this.pipeService.onRoot("gh_app_view_get",{},async(e,t)=>{if(t&&t.app_id){let r=await this.getApp(t.app_id);r.views_list.forEach((a,i)=>{a.view_id==t.view_id&&this.pipeService.emit("gh_app_view_get",t,r.views_list[i])})}}),this.pipeService.onRoot("gh_app_info_get",{},async(e,t)=>{let r=await this.getAppInfo(t.app_id);r&&this.pipeService.emit("gh_app_info_get",t,r)}),this.pipeService.onRoot("gh_app_info_update",{},async(e,t)=>{if(t&&t.app){let r=await this.updateAppInfo(t.app);this.pipeService.emit("gh_app_info_update",{app_id:t.app.app_id},r)}}),this.pipeService.onRoot("gh_app_create",{},async(e,t)=>{await this.createNewApp(t.app);let r=await this.getAppsList();this.pipeService.emit("gh_apps_list_update",{recipient:"all"},r)}),Ee.IS_BROWSER_MAIN_THREAD&&this.activateSW&&navigator.serviceWorker.addEventListener("message",async e=>{if(e.data.type==="refresh app"){let t=await this.getApp(e.data.payload.app_id);t&&this.util.compareAppsItemsLists(t.items_list,e.data.payload.items_list.filter(r=>!r.trash),({diff_fields_items:r,diff_fields_items_Ids:a,diff_items:i,newItems:l,deletedItems:s})=>{(i.length||l.length||s.length)&&(this.pipeService.emit("gh_items_update",{app_id:e.data.payload.app_id},e.data.payload.items_list.filter(u=>!u.trash)),i.forEach(u=>this.pipeService.emit("gh_item_update",{app_id:e.data.payload.app_id,item_id:u.item_id},u))),a.forEach(u=>{let o=r[u];o&&o.forEach(p=>{this.pipeService.emit("gh_value_update",{app_id:e.data.payload.app_id,item_id:u,field_id:p.field_id},p.field_value)})})}),e.data.payload.items_list=await this.util.mergeChunks([t,e.data.payload]),this.saveAppInStorage(e.data.payload)}})}}var ht=A("akXK4");function qr(n=[]){return n.filter(e=>e.field_value!=null)}function ya(n={}){let e=Object.entries(n);return e.length?\`&\${e.map(([t,r])=>\`\${t}=\${r}\`).join("&")}\`:""}var St={},Br={},zt={},be=A("hMrGw"),He={},be=A("hMrGw"),it={},Vt=A("hweMw"),be=A("hMrGw"),Ur={},be=A("hMrGw"),Jt={},ot=A("hGGZx"),_a=A("kPNod"),we=A("b9GfH"),st={},be=A("hMrGw"),xt=be("%Object.getOwnPropertyDescriptor%",!0);if(xt)try{xt([],"length")}catch{xt=null}st=xt,Jt=function(n,e,t){if(!n||typeof n!="object"&&typeof n!="function")throw new we("\`obj\` must be an object or a function\`");if(typeof e!="string"&&typeof e!="symbol")throw new we("\`property\` must be a string or a symbol\`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new we("\`nonEnumerable\`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new we("\`nonWritable\`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new we("\`nonConfigurable\`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new we("\`loose\`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!st&&st(n,e);if(ot)ot(n,e,{configurable:i===null&&s?s.configurable:!i,enumerable:r===null&&s?s.enumerable:!r,value:t,writable:a===null&&s?s.writable:!a});else{if(!l&&(r||a||i))throw new _a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");n[e]=t}};var ba=A("9cNUg")(),we=A("b9GfH"),va=be("%Math.floor%");Ur=function(n,e){if(typeof n!="function")throw new we("\`fn\` is not a function");if(typeof e!="number"||e<0||e>4294967295||va(e)!==e)throw new we("\`length\` must be a positive 32-bit integer");var t=arguments.length>2&&!!arguments[2],r=!0,a=!0;if("length"in n&&st){var i=st(n,"length");i&&!i.configurable&&(r=!1),i&&!i.writable&&(a=!1)}return(r||a||!t)&&(ba?Jt(n,"length",e,!0,!0):Jt(n,"length",e)),n};var we=A("b9GfH"),Gr=be("%Function.prototype.apply%"),Wr=be("%Function.prototype.call%"),Hr=be("%Reflect.apply%",!0)||Vt.call(Wr,Gr),ot=A("hGGZx"),wa=be("%Math.max%");it=function(n){if(typeof n!="function")throw new we("a function is required");var e=Hr(Vt,Wr,arguments);return Ur(e,1+wa(0,n.length-(arguments.length-1)),!0)};var zr=function(){return Hr(Vt,Gr,arguments)};ot?ot(it,"apply",{value:zr}):it.apply=zr;var $a=it(be("String.prototype.indexOf"));He=function(n,e){var t=be(n,!!e);return typeof t=="function"&&$a(n,".prototype.")>-1?it(t):t};var Vr={},Yt=typeof Map=="function"&&Map.prototype,Qt=Object.getOwnPropertyDescriptor&&Yt?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Et=Yt&&Qt&&typeof Qt.get=="function"?Qt.get:null,Jr=Yt&&Map.prototype.forEach,Xt=typeof Set=="function"&&Set.prototype,Kt=Object.getOwnPropertyDescriptor&&Xt?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,kt=Xt&&Kt&&typeof Kt.get=="function"?Kt.get:null,Yr=Xt&&Set.prototype.forEach,Sa=typeof WeakMap=="function"&&WeakMap.prototype,lt=Sa?WeakMap.prototype.has:null,xa=typeof WeakSet=="function"&&WeakSet.prototype,ct=xa?WeakSet.prototype.has:null,Ea=typeof WeakRef=="function"&&WeakRef.prototype,Qr=Ea?WeakRef.prototype.deref:null,ka=Boolean.prototype.valueOf,Aa=Object.prototype.toString,Ia=Function.prototype.toString,Oa=String.prototype.match,Zt=String.prototype.slice,Fe=String.prototype.replace,ja=String.prototype.toUpperCase,Xr=String.prototype.toLowerCase,Kr=RegExp.prototype.test,Zr=Array.prototype.concat,Oe=Array.prototype.join,Ta=Array.prototype.slice,en=Math.floor,er=typeof BigInt=="function"?BigInt.prototype.valueOf:null,tr=Object.getOwnPropertySymbols,rr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Xe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ge=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Xe||!0)?Symbol.toStringTag:null,tn=Object.prototype.propertyIsEnumerable,rn=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function nn(n,e){if(n===1/0||n===-1/0||n!=n||n&&n>-1e3&&n<1e3||Kr.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var r=n<0?-en(-n):en(n);if(r!==n){var a=String(r),i=Zt.call(e,a.length+1);return Fe.call(a,t,"$&_")+"."+Fe.call(Fe.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Fe.call(e,t,"$&_")}var nr={},an=nr.custom,sn=cn(an)?an:null;function on(n,e,t){var r=(t.quoteStyle||e)==="double"?'"':"'";return r+n+r}function Pa(n){return Fe.call(String(n),/"/g,""")}function ar(n){return De(n)==="[object Array]"&&(!ge||!(typeof n=="object"&&ge in n))}function Ca(n){return De(n)==="[object Date]"&&(!ge||!(typeof n=="object"&&ge in n))}function ln(n){return De(n)==="[object RegExp]"&&(!ge||!(typeof n=="object"&&ge in n))}function Na(n){return De(n)==="[object Error]"&&(!ge||!(typeof n=="object"&&ge in n))}function Ma(n){return De(n)==="[object String]"&&(!ge||!(typeof n=="object"&&ge in n))}function Ra(n){return De(n)==="[object Number]"&&(!ge||!(typeof n=="object"&&ge in n))}function Fa(n){return De(n)==="[object Boolean]"&&(!ge||!(typeof n=="object"&&ge in n))}function cn(n){if(Xe)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!rr)return!1;try{return rr.call(n),!0}catch{}return!1}function La(n){if(!n||typeof n!="object"||!er)return!1;try{return er.call(n),!0}catch{}return!1}Vr=function n(e,t,r,a){var i=t||{};if(Le(i,"quoteStyle")&&i.quoteStyle!=="single"&&i.quoteStyle!=="double")throw TypeError('option "quoteStyle" must be "single" or "double"');if(Le(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or \`null\`');var l=!Le(i,"customInspect")||i.customInspect;if(typeof l!="boolean"&&l!=="symbol")throw TypeError("option \\"customInspect\\", if provided, must be \`true\`, \`false\`, or \`'symbol'\`");if(Le(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw TypeError('option "indent" must be "\\\\t", an integer > 0, or \`null\`');if(Le(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw TypeError('option "numericSeparator", if provided, must be \`true\` or \`false\`');var s=i.numericSeparator;if(e===void 0)return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return pn(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return s?nn(e,u):u}if(typeof e=="bigint"){var o=String(e)+"n";return s?nn(e,o):o}var p=i.depth===void 0?5:i.depth;if(r===void 0&&(r=0),r>=p&&p>0&&typeof e=="object")return ar(e)?"[Array]":"[Object]";var m=Ya(i,r);if(a===void 0)a=[];else if(un(a,e)>=0)return"[Circular]";function d(C,B,V){if(B&&(a=Ta.call(a)).push(B),V){var X={depth:i.depth};return Le(i,"quoteStyle")&&(X.quoteStyle=i.quoteStyle),n(C,X,r+1,a)}return n(C,i,r+1,a)}if(typeof e=="function"&&!ln(e)){var y=qa(e),f=At(e,d);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(f.length>0?" { "+Oe.call(f,", ")+" }":"")}if(cn(e)){var S=Xe?Fe.call(String(e),/^(Symbol\\(.*\\))_[^)]*$/,"$1"):rr.call(e);return typeof e!="object"||Xe?S:ut(S)}if(za(e)){for(var v="<"+Xr.call(String(e.nodeName)),w=e.attributes||[],g=0;g<w.length;g++)v+=" "+w[g].name+"="+on(Pa(w[g].value),"double",i);return v+=">",e.childNodes&&e.childNodes.length&&(v+="..."),v+="</"+Xr.call(String(e.nodeName))+">"}if(ar(e)){if(e.length===0)return"[]";var _=At(e,d);return m&&!Ja(_)?"["+sr(_,m)+"]":"[ "+Oe.call(_,", ")+" ]"}if(Na(e)){var $=At(e,d);return"cause"in Error.prototype||!("cause"in e)||tn.call(e,"cause")?$.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Oe.call($,", ")+" }":"{ ["+String(e)+"] "+Oe.call(Zr.call("[cause]: "+d(e.cause),$),", ")+" }"}if(typeof e=="object"&&l){if(sn&&typeof e[sn]=="function"&&nr)return nr(e,{depth:p-r});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Ba(e)){var x=[];return Jr&&Jr.call(e,function(C,B){x.push(d(B,e,!0)+" => "+d(C,e))}),dn("Map",Et.call(e),x,m)}if(Wa(e)){var T=[];return Yr&&Yr.call(e,function(C){T.push(d(C,e))}),dn("Set",kt.call(e),T,m)}if(Ua(e))return ir("WeakMap");if(Ha(e))return ir("WeakSet");if(Ga(e))return ir("WeakRef");if(Ra(e))return ut(d(Number(e)));if(La(e))return ut(d(er.call(e)));if(Fa(e))return ut(ka.call(e));if(Ma(e))return ut(d(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===oe)return"{ [object globalThis] }";if(!Ca(e)&&!ln(e)){var P=At(e,d),D=rn?rn(e)===Object.prototype:e instanceof Object||e.constructor===Object,R=e instanceof Object?"":"null prototype",I=!D&&ge&&Object(e)===e&&ge in e?Zt.call(De(e),8,-1):R?"Object":"",F=(D||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"")+(I||R?"["+Oe.call(Zr.call([],I||[],R||[]),": ")+"] ":"");return P.length===0?F+"{}":m?F+"{"+sr(P,m)+"}":F+"{ "+Oe.call(P,", ")+" }"}return String(e)};var Da=Object.prototype.hasOwnProperty||function(n){return n in this};function Le(n,e){return Da.call(n,e)}function De(n){return Aa.call(n)}function qa(n){if(n.name)return n.name;var e=Oa.call(Ia.call(n),/^function\\s*([\\w$]+)/);return e?e[1]:null}function un(n,e){if(n.indexOf)return n.indexOf(e);for(var t=0,r=n.length;t<r;t++)if(n[t]===e)return t;return-1}function Ba(n){if(!Et||!n||typeof n!="object")return!1;try{Et.call(n);try{kt.call(n)}catch{return!0}return n instanceof Map}catch{}return!1}function Ua(n){if(!lt||!n||typeof n!="object")return!1;try{lt.call(n,lt);try{ct.call(n,ct)}catch{return!0}return n instanceof WeakMap}catch{}return!1}function Ga(n){if(!Qr||!n||typeof n!="object")return!1;try{return Qr.call(n),!0}catch{}return!1}function Wa(n){if(!kt||!n||typeof n!="object")return!1;try{kt.call(n);try{Et.call(n)}catch{return!0}return n instanceof Set}catch{}return!1}function Ha(n){if(!ct||!n||typeof n!="object")return!1;try{ct.call(n,ct);try{lt.call(n,lt)}catch{return!0}return n instanceof WeakSet}catch{}return!1}function za(n){return!!n&&typeof n=="object"&&(typeof HTMLElement<"u"&&n instanceof HTMLElement||typeof n.nodeName=="string"&&typeof n.getAttribute=="function")}function pn(n,e){if(n.length>e.maxStringLength){var t=n.length-e.maxStringLength,r="... "+t+" more character"+(t>1?"s":"");return pn(Zt.call(n,0,e.maxStringLength),e)+r}return on(Fe.call(Fe.call(n,/(['\\\\])/g,"\\\\$1"),/[\\x00-\\x1f]/g,Va),"single",e)}function Va(n){var e=n.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\\\"+t:"\\\\x"+(e<16?"0":"")+ja.call(e.toString(16))}function ut(n){return"Object("+n+")"}function ir(n){return n+" { ? }"}function dn(n,e,t,r){return n+" ("+e+") {"+(r?sr(t,r):Oe.call(t,", "))+"}"}function Ja(n){for(var e=0;e<n.length;e++)if(un(n[e],\`
|
|
15419
|
+
\`),function(o){s=o.indexOf(":"),i=t.trim(o.substr(0,s)).toLowerCase(),l=t.trim(o.substr(s+1)),i&&!(u[i]&&r.indexOf(i)>=0)&&(i==="set-cookie"?u[i]=(u[i]?u[i]:[]).concat([l]):u[i]=u[i]?u[i]+", "+l:l)}),u}}),L("eg6xZ",function(n,e){var t=A("iEaqd");n.exports=t.isStandardBrowserEnv()?function(){var r,a=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function l(s){var u=s;return a&&(i.setAttribute("href",u),u=i.href),i.setAttribute("href",u),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return r=l(window.location.href),function(s){var u=t.isString(s)?l(s):s;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}()}),L("8kGOw",function(n,e){n.exports=function(t){return!!(t&&t.__CANCEL__)}}),L("6Mx50",function(n,e){var t=A("iEaqd");n.exports=function(r,a){a=a||{};var i={},l=["url","method","data"],s=["headers","auth","proxy","params"],u=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],o=["validateStatus"];function p(f,S){return t.isPlainObject(f)&&t.isPlainObject(S)?t.merge(f,S):t.isPlainObject(S)?t.merge({},S):t.isArray(S)?S.slice():S}function m(f){t.isUndefined(a[f])?t.isUndefined(r[f])||(i[f]=p(void 0,r[f])):i[f]=p(r[f],a[f])}t.forEach(l,function(f){t.isUndefined(a[f])||(i[f]=p(void 0,a[f]))}),t.forEach(s,m),t.forEach(u,function(f){t.isUndefined(a[f])?t.isUndefined(r[f])||(i[f]=p(void 0,r[f])):i[f]=p(void 0,a[f])}),t.forEach(o,function(f){f in a?i[f]=p(r[f],a[f]):f in r&&(i[f]=p(void 0,r[f]))});var d=l.concat(s).concat(u).concat(o),y=Object.keys(r).concat(Object.keys(a)).filter(function(f){return d.indexOf(f)===-1});return t.forEach(y,m),i}}),L("hiYAY",function(n,e){var t=A("bTAft"),r={};["object","boolean","number","function","string","symbol"].forEach(function(u,o){r[u]=function(p){return typeof p===u||"a"+(o<1?"n ":" ")+u}});var a={},i=t.version.split(".");function l(u,o){for(var p=o?o.split("."):i,m=u.split("."),d=0;d<3;d++){if(p[d]>m[d])return!0;if(p[d]<m[d])break}return!1}function s(u,o,p){if(typeof u!="object")throw TypeError("options must be an object");for(var m=Object.keys(u),d=m.length;d-- >0;){var y=m[d],f=o[y];if(f){var S=u[y],v=S===void 0||f(S,y,u);if(v!==!0)throw TypeError("option "+y+" must be "+v);continue}if(p!==!0)throw Error("Unknown option "+y)}}r.transitional=function(u,o,p){var m=o&&l(o);function d(y,f){return"[Axios v"+t.version+"] Transitional option '"+y+"'"+f+(p?". "+p:"")}return function(y,f,S){if(u===!1)throw Error(d(f," has been removed in "+o));return m&&!a[f]&&(a[f]=!0,console.warn(d(f," has been deprecated since v"+o+" and will be removed in the near future"))),!u||u(y,f,S)}},n.exports={isOlderVersion:l,assertOptions:s,validators:r}}),L("bTAft",function(n,e){n.exports=JSON.parse('{"_args":[["axios@0.21.4","/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}),L("g2liO",function(n,e){function t(r){this.message=r}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,n.exports=t}),L("14PRn",function(n,e){var t=A("g2liO");function r(a){if(typeof a!="function")throw TypeError("executor must be a function.");this.promise=new Promise(function(s){i=s});var i,l=this;a(function(s){l.reason||(l.reason=new t(s),i(l.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var a;return{token:new r(function(i){a=i}),cancel:a}},n.exports=r}),L("i3hBo",function(n,e){n.exports=function(t){return function(r){return t.apply(null,r)}}}),L("dhYWP",function(n,e){n.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}}),L("kfIQl",function(n,e){var t=typeof Symbol<"u"&&Symbol,r=A("lyEFc");n.exports=function(){return typeof t=="function"&&typeof Symbol=="function"&&typeof t("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&r()}}),L("lyEFc",function(n,e){n.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),a=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var i=42;for(r in t[r]=i,t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var l=Object.getOwnPropertySymbols(t);if(l.length!==1||l[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0}}),L("bJ3CN",function(n,e){var t={__proto__:null,foo:{}},r=Object;n.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof r)}}),L("9cNUg",function(n,e){var t=A("hGGZx"),r=function(){return!!t};r.hasArrayLengthDefineBug=function(){if(!t)return null;try{return t([],"length",{value:1}).length!==1}catch{return!0}},n.exports=r}),L("hGGZx",function(n,e){var t=A("hMrGw")("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}n.exports=t}),L("hMrGw",function(n,e){var t=A("dUpie"),r=A("48xLS"),a=A("4Vqmv"),i=A("7x6DQ"),l=A("kPNod"),s=A("b9GfH"),u=A("8DBKi"),o=Function,p=function(H){try{return o('"use strict"; return ('+H+").constructor;")()}catch{}},m=Object.getOwnPropertyDescriptor;if(m)try{m({},"")}catch{m=null}var d=function(){throw new s},y=m?function(){try{return arguments.callee,d}catch{try{return m(arguments,"callee").get}catch{return d}}}():d,f=A("kfIQl")(),S=A("bJ3CN")(),v=Object.getPrototypeOf||(S?function(H){return H.__proto__}:null),w={},g=typeof Uint8Array<"u"&&v?v(Uint8Array):void 0,_={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":f&&v?v([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":w,"%AsyncGenerator%":w,"%AsyncGeneratorFunction%":w,"%AsyncIteratorPrototype%":w,"%Atomics%":typeof Atomics>"u"?void 0:Atomics,"%BigInt%":typeof BigInt>"u"?void 0:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?void 0:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":r,"%Float32Array%":typeof Float32Array>"u"?void 0:Float32Array,"%Float64Array%":typeof Float64Array>"u"?void 0:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?void 0:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":w,"%Int8Array%":typeof Int8Array>"u"?void 0:Int8Array,"%Int16Array%":typeof Int16Array>"u"?void 0:Int16Array,"%Int32Array%":typeof Int32Array>"u"?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&v?v(v([][Symbol.iterator]())):void 0,"%JSON%":typeof JSON=="object"?JSON:void 0,"%Map%":typeof Map>"u"?void 0:Map,"%MapIteratorPrototype%":typeof Map<"u"&&f&&v?v(new Map()[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?void 0:Promise,"%Proxy%":typeof Proxy>"u"?void 0:Proxy,"%RangeError%":a,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?void 0:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?void 0:Set,"%SetIteratorPrototype%":typeof Set<"u"&&f&&v?v(new Set()[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&v?v(""[Symbol.iterator]()):void 0,"%Symbol%":f?Symbol:void 0,"%SyntaxError%":l,"%ThrowTypeError%":y,"%TypedArray%":g,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?void 0:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?void 0:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?void 0:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?void 0:WeakMap,"%WeakRef%":typeof WeakRef>"u"?void 0:WeakRef,"%WeakSet%":typeof WeakSet>"u"?void 0:WeakSet};if(v)try{null.error}catch(H){var $=v(v(H));_["%Error.prototype%"]=$}var x=function H(ie){var ee;if(ie==="%AsyncFunction%")ee=p("async function () {}");else if(ie==="%GeneratorFunction%")ee=p("function* () {}");else if(ie==="%AsyncGeneratorFunction%")ee=p("async function* () {}");else if(ie==="%AsyncGenerator%"){var k=H("%AsyncGeneratorFunction%");k&&(ee=k.prototype)}else if(ie==="%AsyncIteratorPrototype%"){var O=H("%AsyncGenerator%");O&&v&&(ee=v(O.prototype))}return _[ie]=ee,ee},T={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=A("hweMw"),D=A("23C6u"),R=P.call(Function.call,Array.prototype.concat),I=P.call(Function.apply,Array.prototype.splice),F=P.call(Function.call,String.prototype.replace),C=P.call(Function.call,String.prototype.slice),B=P.call(Function.call,RegExp.prototype.exec),V=/[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g,X=/\\\\(\\\\)?/g,le=function(H){var ie=C(H,0,1),ee=C(H,-1);if(ie==="%"&&ee!=="%")throw new l("invalid intrinsic syntax, expected closing \`%\`");if(ee==="%"&&ie!=="%")throw new l("invalid intrinsic syntax, expected opening \`%\`");var k=[];return F(H,V,function(O,N,K,se){k[k.length]=K?F(se,X,"$1"):N||O}),k},ve=function(H,ie){var ee,k=H;if(D(T,k)&&(k="%"+(ee=T[k])[0]+"%"),D(_,k)){var O=_[k];if(O===w&&(O=x(k)),O===void 0&&!ie)throw new s("intrinsic "+H+" exists, but is not available. Please file an issue!");return{alias:ee,name:k,value:O}}throw new l("intrinsic "+H+" does not exist!")};n.exports=function(H,ie){if(typeof H!="string"||H.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ie!="boolean")throw new s('"allowMissing" argument must be a boolean');if(B(/^%?[^%]*%?$/,H)===null)throw new l("\`%\` may not be present anywhere but at the beginning and end of the intrinsic name");var ee=le(H),k=ee.length>0?ee[0]:"",O=ve("%"+k+"%",ie),N=O.name,K=O.value,se=!1,te=O.alias;te&&(k=te[0],I(ee,R([0,1],te)));for(var J=1,ce=!0;J<ee.length;J+=1){var re=ee[J],fe=C(re,0,1),ke=C(re,-1);if((fe==='"'||fe==="'"||fe==="\`"||ke==='"'||ke==="'"||ke==="\`")&&fe!==ke)throw new l("property names with quotes must have matching quotes");if(re!=="constructor"&&ce||(se=!0),k+="."+re,D(_,N="%"+k+"%"))K=_[N];else if(K!=null){if(!(re in K)){if(!ie)throw new s("base intrinsic for "+H+" exists, but the property is not available.");return}if(m&&J+1>=ee.length){var Ae=m(K,re);K=(ce=!!Ae)&&"get"in Ae&&!("originalValue"in Ae.get)?Ae.get:K[re]}else ce=D(K,re),K=K[re];ce&&!se&&(_[N]=K)}}return K}}),L("dUpie",function(n,e){n.exports=Error}),L("48xLS",function(n,e){n.exports=EvalError}),L("4Vqmv",function(n,e){n.exports=RangeError}),L("7x6DQ",function(n,e){n.exports=ReferenceError}),L("kPNod",function(n,e){n.exports=SyntaxError}),L("b9GfH",function(n,e){n.exports=TypeError}),L("8DBKi",function(n,e){n.exports=URIError}),L("hweMw",function(n,e){var t=A("2Eytq");n.exports=Function.prototype.bind||t}),L("2Eytq",function(n,e){var t="Function.prototype.bind called on incompatible ",r=Object.prototype.toString,a=Math.max,i="[object Function]",l=function(o,p){for(var m=[],d=0;d<o.length;d+=1)m[d]=o[d];for(var y=0;y<p.length;y+=1)m[y+o.length]=p[y];return m},s=function(o,p){for(var m=[],d=p,y=0;d<o.length;d+=1,y+=1)m[y]=o[d];return m},u=function(o,p){for(var m="",d=0;d<o.length;d+=1)m+=o[d],d+1<o.length&&(m+=p);return m};n.exports=function(o){var p,m=this;if(typeof m!="function"||r.apply(m)!==i)throw TypeError(t+m);for(var d=s(arguments,1),y=function(){if(this instanceof p){var g=m.apply(this,l(d,arguments));return Object(g)===g?g:this}return m.apply(o,l(d,arguments))},f=a(0,m.length-d.length),S=[],v=0;v<f;v++)S[v]="$"+v;if(p=Function("binder","return function ("+u(S,",")+"){ return binder.apply(this,arguments); }")(y),m.prototype){var w=function(){};w.prototype=m.prototype,p.prototype=new w,w.prototype=null}return p}}),L("23C6u",function(n,e){var t=Function.prototype.call,r=Object.prototype.hasOwnProperty,a=A("hweMw");n.exports=a.call(t,r)}),L("5ZWAZ",function(n,e){function t(r){return n.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n.exports.__esModule=!0,n.exports.default=n.exports,t(r)}n.exports=t,n.exports.__esModule=!0,n.exports.default=n.exports}),L("fgq5y",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=l;var r=t(A("a9VQw")),a=t(A("glRwo")),i=t(A("ayR3G"));function l(s,u){(0,i.default)(2,arguments);var o=(0,a.default)(s),p=(0,r.default)(u);return isNaN(p)?new Date(NaN):(p&&o.setDate(o.getDate()+p),o)}n.exports=n.exports.default}),L("f3Ywx",function(n,e){function t(r){return r&&r.__esModule?r:{default:r}}n.exports=t,n.exports.__esModule=!0,n.exports.default=n.exports}),L("a9VQw",function(n,e){function t(r){if(r===null||r===!0||r===!1)return NaN;var a=Number(r);return isNaN(a)?a:a<0?Math.ceil(a):Math.floor(a)}Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=t,n.exports=n.exports.default}),L("glRwo",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=i;var r=t(A("5ZWAZ")),a=t(A("ayR3G"));function i(l){(0,a.default)(1,arguments);var s=Object.prototype.toString.call(l);return l instanceof Date||(0,r.default)(l)==="object"&&s==="[object Date]"?new Date(l.getTime()):typeof l=="number"||s==="[object Number]"?new Date(l):((typeof l=="string"||s==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use \`parseISO\` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}n.exports=n.exports.default}),L("ayR3G",function(n,e){function t(r,a){if(a.length<r)throw TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+a.length+" present")}Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=t,n.exports=n.exports.default}),L("byyO9",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=l;var r=t(A("a9VQw")),a=t(A("glRwo")),i=t(A("ayR3G"));function l(s,u){(0,i.default)(2,arguments);var o=(0,a.default)(s),p=(0,r.default)(u);if(isNaN(p))return new Date(NaN);if(!p)return o;var m=o.getDate(),d=new Date(o.getTime());return d.setMonth(o.getMonth()+p+1,0),m>=d.getDate()?d:(o.setFullYear(d.getFullYear(),d.getMonth(),m),o)}n.exports=n.exports.default}),L("hLz6R",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=s;var r=t(A("glRwo")),a=t(A("a9VQw")),i=t(A("ayR3G")),l=A("lmyOi");function s(u,o){(0,i.default)(1,arguments);var p,m,d,y,f,S,v,w,g=(0,l.getDefaultOptions)(),_=(0,a.default)((p=(m=(d=(y=o==null?void 0:o.weekStartsOn)!==null&&y!==void 0?y:o==null||(f=o.locale)===null||f===void 0||(S=f.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&d!==void 0?d:g.weekStartsOn)!==null&&m!==void 0?m:(v=g.locale)===null||v===void 0||(w=v.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&p!==void 0?p:0);if(!(_>=0&&_<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var $=(0,r.default)(u),x=$.getDay(),T=(x<_?7:0)+x-_;return $.setDate($.getDate()-T),$.setHours(0,0,0,0),$}n.exports=n.exports.default}),L("lmyOi",function(n,e){Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.getDefaultOptions=r,n.exports.setDefaultOptions=a;var t={};function r(){return t}function a(i){t=i}}),L("kmcAT",function(n,e){A("akXK4"),A("5xozB")}),L("akXK4",function(n,e){n.exports=A("1ufAB")}),L("5xozB",function(n,e){Tr(n.exports,"IS_BROWSER_MAIN_THREAD",()=>r),Tr(n.exports,"IS_BROWSER",()=>i);var t=A("2dKjk");let r=![typeof window,typeof document].includes("undefined"),a=typeof self=="object"&&typeof WorkerGlobalScope<"u",i=r||a;t!==void 0&&t.versions!=null&&t.versions.node});let ia="https://gudhub.com/GudHub_Test",sa="wss://gudhub.com/GudHub/ws/app/",oa="https://gudhub.com/api/services/prod",la="build/latest/async_modules_node/",ca="build/latest/automation_modules/",ua="https://gudhub.com",pa=!0,da=!0;var Ee=A("5xozB");class Pr{}class Ut extends Pr{constructor(e,t,r){super(),this.chunkDataService=new qt(e,jr,r),this.gudhub=r}isWithCache(){return!1}async processRequestedApp(e,t){if(!this.isWithCache()){let r=await this.chunkDataService.getMergedChunkForIDList(e,t.chunks);return r&&(t.items_list=await this.gudhub.util.mergeChunks([r,t])),t}throw Error()}}class Cr extends Pr{getMergedChunkForIDList(e){}isWithCache(){return!1}}class fa{constructor(e){this.req=e}async getApp(e){return this.req.get({url:"/api/app/get",params:{app_id:e}})}}let Nr=(n,...e)=>{for(let t of e)if(t)for(let r of Object.keys(t)){let a=Object.getOwnPropertyDescriptor(t,r);a.enumerable&&Object.defineProperty(n,r,a)}};class bt{}class Qe extends Ut{constructor(e,t,r){super(e,t,r),this.appApi=new fa(e),Nr(this,new bt(t))}async getApp(e){let t=await this.appApi.getApp(e);return this.processRequestedApp(e,t)}async getAppWithoutProcessing(e){return this.appApi.getApp(e)}async putApp(e,t){}static[Symbol.hasInstance](e){try{return e instanceof Qe||e instanceof bt}catch{return!1}}}let vt={store:"apps"},Mr={store:"chunks"},ha="gudhub",wt={store:"chunksMergeCache"};class Gt{constructor(e){this.store=e.store,this.dbName=e.dbName,this.dbVersion=e.dbVersion,this.requestCache=new Map}}class We{constructor(e,t){if(We.dbNameToInstanceMap||(We.dbNameToInstanceMap=new Map),We.dbNameToInstanceMap.has(e))return We.dbNameToInstanceMap.get(e);this.db=null,this.dbName=e,this.storeNameList=t,We.dbNameToInstanceMap.set(e,this),this.db=null}async checkAndCreateStore(e){let t=(await indexedDB.databases()).find(i=>i.name===this.dbName),r=!1,a=this;return t&&(r=await new Promise((i,l)=>{let s=indexedDB.open(a.dbName);s.onsuccess=function(u){let o=u.target.result,p=o.objectStoreNames.contains(e);o.close(),i(p)},s.onerror=function(u){l(u.target.error)}})),!!r||new Promise((i,l)=>{let s=indexedDB.open(a.dbName,t?t.version+1:1);s.onupgradeneeded=function(u){let o=u.target.result;o.objectStoreNames.contains(e)||o.createObjectStore(e)},s.onsuccess=function(u){u.target.result.close(),i()},s.onerror=l})}async openDB(){let e,t;if(this.db)return this.db;let r=new Promise((l,s)=>{e=l,t=s});for(let l of this.storeNameList)await this.checkAndCreateStore(l);let a=this,i=indexedDB.open(this.dbName);return i.onsuccess=l=>{a.db=l.target.result,e(this.db)},i.onerror=t,r}async executeOperation(e,t){let r=await this.openDB();return new Promise((a,i)=>{let l=r.transaction(e,"readwrite"),s=l.objectStore(e);l.oncomplete=()=>a(),l.onerror=u=>i(\`Transaction failed: \${u.target.error}\`);try{t(s)}catch(u){i(\`Operation failed: \${u.message}\`)}})}async enqueueOperation(e,t){if(this.queue.push({storeName:e,operation:t}),!this.isProcessing){for(this.isProcessing=!0;this.queue.length>0;){let{storeName:r,operation:a}=this.queue.shift();try{await this.executeOperation(r,a)}catch(i){console.error("Operation failed:",i)}}this.isProcessing=!1}}async ensureStoreExists(e){}async createObjectStore(e){}}let Rr=new We(ha,[vt.store,Mr.store,wt.store]);class ma{constructor(e){this.req=e}async getChunk(e,t){return this.req.get({url:\`\${this.req.root}/api/get-items-chunk/\${e}/\${t}\`,method:"GET"})}async getLastChunk(e){return this.req.axiosRequest({url:\`\${this.req.root}/api/get-last-items-chunk/\${e}\`,method:"GET"})}}class $t extends Cr{constructor(e,t){super(),this.chunkApi=new ma(e),Nr(this,new bt(t))}async getChunk(e,t){return this.chunkApi.getChunk(e,t)}async getChunksForId(e){return[]}getCachedMergedChunk(e,t){}getMergedChunkForIDList(e,t){}putChunk(){}static[Symbol.hasInstance](e){try{return e instanceof $t||e instanceof bt}catch{return!1}}}class Fr{constructor(e,t){this.dbManager=e,this.storeName=t}async addItem(e,t){return new Promise(async(r,a)=>{this.dbManager.executeOperation(this.storeName,i=>{let l=i.add(t,e);l.onsuccess=r,l.onerror=a})})}async putItem(e,t){return new Promise(async(r,a)=>{this.dbManager.executeOperation(this.storeName,i=>{let l=i.put(t,e);l.onsuccess=r,l.onerror=a})})}async hasItem(e){try{return!!await this.getItem(e)}catch{return!1}return new Promise(async(t,r)=>{this.dbManager.executeOperation(this.storeName,a=>{let i=a.get(e);i.onsuccess=()=>{t(i.result)},i.onerror=r})})}async getItem(e){return new Promise(async(t,r)=>{this.dbManager.executeOperation(this.storeName,a=>{let i=a.get(e);i.onsuccess=()=>{t(i.result)},i.onerror=r})})}async updateItem(e,t){return new Promise(async(r,a)=>{this.dbManager.executeOperation(this.storeName,i=>{let l=i.get(e);l.onsuccess=()=>{let s=l.result;Object.assign(s,t),i.put(s,e),r()},l.onerror=a})})}async deleteItem(e){return new Promise(async(t,r)=>{this.dbManager.executeOperation(this.storeName,a=>{let i=a.delete(e);i.onsuccess=t,i.onerror=r})})}}class Lr extends Fr{constructor(){super(Rr,vt.store)}async getApp(e){return this.getItem(e)}async addApp(e,t){return this.addItem(e,t)}async putApp(e,t){return this.putItem(e,t)}async hasApp(e){return this.hasItem(e)}async deleteApp(e){return this.deleteItem(e)}}class ga extends Fr{constructor(){super(Rr,wt.store)}async get(e){return this.getItem(e)}async add(e,t){return this.addItem(e,t)}async put(e,t){return this.putItem(e,t)}async delete(e){return this.deleteItem(e)}}class at extends Cr{constructor(e,t,r){super(e,t),this.dataService=new $t(e),this.requestCache=new Map,this.gudhub=r,this.storeManager=new ga}static[Symbol.hasInstance](e){try{return e instanceof at||e instanceof Gt}catch{return!1}}async getCachedMergedChunk(e,t){try{return(await this.storeManager.get(e)).mergedData}catch{let a=t.map(s=>this.dataService.getChunk(e,s)),i=await Promise.all(a),l=await this.gudhub.util.mergeChunks(i);return this.putMergedChunks(e,{hashes:t,mergedData:{items_list:l}}),{items_list:l}}}isWithCache(){return!0}async getMergedChunkForApp(e){}async getMergedChunkForIDList(e,t){try{let r,a=!0,i=await this.storeManager.get(e);try{if(t.length<i.hashes.length)throw Error();for(let u of i.hashes)t.indexOf(u)!=i.hashes.indexOf(u)&&(a=!1)}catch{a=!1}let l=[],s=[];if(t.length>i.hashes.length&&(l=t.slice(i.hashes.length)),a||(l=t),l.length>0){let u=l.map(o=>this.dataService.getChunk(e,o));s=await Promise.all(u)}return a||(r=await this.gudhub.util.mergeChunks([...s])),a&&(r=await this.gudhub.util.mergeChunks([i.mergedData,...s])),l.length>0&&this.putMergedChunks(e,{hashes:t,mergedData:{items_list:r}}),{items_list:r}}catch{let a=t.map(s=>this.dataService.getChunk(e,s)),i=await Promise.all(a),l=await this.gudhub.util.mergeChunks(i);return this.putMergedChunks(e,{hashes:t,mergedData:{items_list:l}}),{items_list:l}}}async putMergedChunks(e,t){return this.storeManager.put(e,t)}async putChunk(e,t){return this.storeManager.putChunk(e,t)}async getChunk(e,t){if(this.requestCache.has(t))return this.requestCache.get(t);try{let r=this.storeManager.getChunk(t);return self.requestCache.set(t,r),await r,r}catch{let a=this.dataService.getChunk(e,t);this.requestCache.set(t,a);let i=await a;return this.putChunk(t,i),a}}}class Wt extends Ut{constructor(e,t,r){super(e,t,r),this.dataService=new Qe(e,t,r),this.requestCache=new Map,this.gudhub=r,this.chunkDataService=new at(e,wt,r),this.storeManager=new Lr}static[Symbol.hasInstance](e){try{return e instanceof Wt||e instanceof Gt}catch{return!1}}isWithCache(){return!1}async getAppWithoutProcessing(e){let t=await this.dataService.getAppWithoutProcessing(e);return await this.putApp(e,t),t}async getApp(e){let t=this,r=await this.dataService.getAppWithoutProcessing(e);return await t.processRequestedApp(e,r)}async getCached(e){return this.storeManager.getApp(e)}async putApp(e,t){return this.storeManager.putApp(e,t)}}class Ht extends Ut{constructor(e,t,r){super(e,t,r),this.dataService=new Qe(e,t,r),this.requestCache=new Map,this.gudhub=r,this.resolveFnMap=new Map,this.appRequestAndProcessWorker=new AppRequestWorkerScript,this.appRequestAndProcessWorker.postMessage({type:"init",gudhubSerialized:this.gudhub.serialized});let a=this;this.appRequestAndProcessWorker.onerror=function(i){},this.appRequestAndProcessWorker.onmessage=function(i){i.data.type=="requestApp"&&a.resolveFnMap.has(i.data.id)&&a.resolveFnMap.get(i.data.id)(i.data.data),i.data.type=="processData"&&(a.gudhub.itemProcessor.handleDiff(i.data.id,i.data.compareRes),(i.data.viewListChanged||i.data.fieldListChanged)&&a.gudhub.appProcessor.updateAppFieldsAndViews(i.data.newVersion))},this.storeManager=new Lr}static[Symbol.hasInstance](e){try{return e instanceof Ht||e instanceof Gt}catch{return!1}}isWithCache(){return!1}async getApp(e){if(this.requestCache.has(e))return this.requestCache.get(e);let t=this;await this.has(e);{let r=new Promise((a,i)=>{t.resolveFnMap.set(e,a)});return this.requestCache.set(e,r),this.appRequestAndProcessWorker.postMessage({type:"requestApp",id:e}),r}}async getCached(e){return this.storeManager.getApp(e)}async has(e){try{return this.storeManager.hasApp(e)}catch{}}async putApp(e,t){return this.storeManager.putApp(e,t)}}A("5xozB"),Ee.IS_BROWSER&&pa?(qt=at,jr=Mr):qt=$t,Ee.IS_BROWSER&&da?(Dt=Ht,Or=vt):Dt=Qe;var Ee=A("5xozB");class Dr{constructor(e,t,r,a,i,l,s){this.storage=e,this.pipeService=t,this.req=r,this.ws=a,this.applistReceived=!1,this.activateSW=l,this.util=i,this.appListeners(),this.dataService=s,this.appRequestCache=new Map}async createNewAppApi(e){try{let t=await this.req.post({url:"/api/app/create",form:{app:JSON.stringify(e)}});return t.from_apps_list=!0,t}catch(t){return console.log(t),null}}async updateAppApi(e){try{return await this.req.post({url:"/api/app/update",form:{app:JSON.stringify(e)}})}catch(t){return console.log(t),null}}async deleteAppApi(e){try{return await this.req.post({url:"/api/app/delete",form:{app_id:e}})}catch(t){return console.log(t),null}}async getAppListApi(){try{return(await this.req.get({url:"/api/applist/get"})).apps_list.map(e=>(e.from_apps_list=!0,e))}catch(e){return console.log(e),null}}getAppListFromStorage(){return this.storage.getAppsList()}getAppFromStorage(e){let t=this.storage.getApp(e);return t&&t.field_list.length?t:null}addNewAppToStorage(e){return this.storage.getAppsList().push(e)}saveAppInStorage(e){e.items_object={};for(let r=0;r<e.items_list.length;r++){e.items_object[e.items_list[r].item_id]={};for(let a=0;a<e.items_list[r].fields.length;a++)e.items_object[e.items_list[r].item_id][e.items_list[r].fields[a].field_id]=e.items_list[r].fields[a]}let t=this.storage.getApp(e.app_id);return t?(e.from_apps_list=t.from_apps_list,e.permission=t.permission,this.storage.updateApp(e)):(e.from_apps_list=!1,this.addNewAppToStorage(e)),this.getAppFromStorage(e.app_id)}updateAppFieldsAndViews(e){let t=this.getAppFromStorage(e.app_id);e.items_list=t.items_list,e.file_list=t.file_list,e.from_apps_list=t.from_apps_list,e.items_object=t.items_object,this.storage.updateApp(e),this.pipeService.emit("gh_app_views_update",{app_id:e.app_id},e.views_list),e.field_list.forEach(r=>{this.pipeService.emit("gh_model_update",{app_id:e.app_id,field_id:r.field_id},r)})}updateAppInStorage(e){this.storage.getApp(e.app_id)?(this.storage.updateApp(e),this.pipeService.emit("gh_app_update",{app_id:e.app_id},e),this.pipeService.emit("gh_items_update",{app_id:e.app_id},e.items_list)):this.addNewAppToStorage(e)}deletingAppFromStorage(e){let t=this.storage.getAppsList();return t.forEach((r,a)=>{r.app_id==e&&t.splice(a)}),t}updateAppsListInStorage(e=[]){for(let t of e){let r=this.storage.getApp(t.app_id);r?(r.from_apps_list=t.from_apps_list,r.permission=t.permission):this.addNewAppToStorage(t)}}async refreshApps(e=[]){for(let t of e)if(t!=null)try{let r=await this.dataService.getApp(t);if(r){r.items_object={};for(let a=0;a<r.items_list.length;a++){r.items_object[r.items_list[a].item_id]={};for(let i=0;i<r.items_list[a].fields.length;i++)r.items_object[r.items_list[a].item_id][r.items_list[a].fields[i].field_id]=r.items_list[a].fields[i]}this.updateAppInStorage(r),this.pipeService.emit("gh_app_views_update",{app_id:r.app_id},r.views_list)}}catch(r){console.log(r)}console.log("Apps refreshed: ",JSON.stringify(e))}async refreshAppsList(){let e=this.getAppListFromStorage(),t=(await this.getAppListApi()).map(r=>({...r,...e.find(a=>a.app_id===r.app_id)}));this.updateAppsListInStorage(t),this.pipeService.emit("gh_apps_list_refreshed",{})}async getAppsList(){let e=this.getAppListFromStorage();if(!this.applistReceived){let t=await this.getAppListApi();if(!t)return null;this.updateAppsListInStorage(t),this.applistReceived=!0,e=t}return e}async getAppInfo(e){let t=await this.getAppsList();return t?t.find(r=>r.app_id==e):null}async deleteApp(e){return await this.deleteAppApi(e),this.deletingAppFromStorage(e)}async getApp(e,t=!1){if(!e)return null;let r=this.getAppFromStorage(e);if(r)return r;if(this.appRequestCache.has(e))return this.appRequestCache.get(e);let a=this,i=new Promise(async(l,s)=>{try{let u=await a.dataService.getApp(e);u||s();let o=t?u:{...u,items_list:u.items_list.filter(p=>!p.trash)};o=t?o:{...o,field_list:o.field_list.filter(p=>!p.trash)},l(o),a.saveAppInStorage(o),a.ws.addSubscription(e)}catch{s()}});return a.appRequestCache.set(e,i),i}async updateApp(e){if(!e.views_list||!e.views_list.length||!e.show){let r=await this.getApp(e.app_id);e.views_list&&e.views_list.length||(e.views_list=r.views_list),e.show===void 0&&(e.show=r.show)}let t=await this.updateAppApi(e);return this.updateAppFieldsAndViews(t),t}async updateAppInfo(e={}){return this.pipeService.emit("gh_app_info_update",{app_id:e.app_id},e),this.updateApp(e)}async createNewApp(e){let t=await this.createNewAppApi(e);return t.items_object={},this.addNewAppToStorage(t),t}async getAppViews(e){if(e)return(await this.getApp(e)).views_list}async handleAppChange(e,t,r){let a=this.util.areViewListsEqual(t.views_list,r.views_list),i=this.util.areFieldListsEqual(t.field_list,r.field_list);(a||i)&&this.updateAppFieldsAndViews({id:e,views_list:r.views_list,field_list:r.field_list})}clearAppProcessor(){this.getAppListPromises=null,this.getAppPromises={},this.applistReceived=!1}appListeners(){this.pipeService.onRoot("gh_app_get",{},async(e,t)=>{if(t&&t.app_id){let r=await this.getApp(t.app_id);this.pipeService.emit("gh_app_get",t,r)}}),this.pipeService.onRoot("gh_apps_list_get",{},async(e,t)=>{let r=await this.getAppsList();this.pipeService.emit("gh_apps_list_get",t,r)}),this.pipeService.onRoot("gh_delete_app",{},async(e,t)=>{let r=await this.deleteApp(t.app_id);this.pipeService.emit("gh_apps_list_update",{recipient:"all"},r)}),this.pipeService.onRoot("gh_app_update",{},async(e,t)=>{t.app.items_list=[],t.app.file_list=[];let r=await this.updateApp(t.app);this.pipeService.emit("gh_app_views_update",{app_id:r.app_id},r.views_list);let a=await this.getAppsList();this.pipeService.emit("gh_apps_list_update",{recipient:"all"},a),r.field_list.forEach(i=>{this.pipeService.emit("gh_model_update",{app_id:r.app_id,field_id:i.field_id},i)})}),this.pipeService.onRoot("gh_app_view_get",{},async(e,t)=>{if(t&&t.app_id){let r=await this.getApp(t.app_id);r.views_list.forEach((a,i)=>{a.view_id==t.view_id&&this.pipeService.emit("gh_app_view_get",t,r.views_list[i])})}}),this.pipeService.onRoot("gh_app_info_get",{},async(e,t)=>{let r=await this.getAppInfo(t.app_id);r&&this.pipeService.emit("gh_app_info_get",t,r)}),this.pipeService.onRoot("gh_app_info_update",{},async(e,t)=>{if(t&&t.app){let r=await this.updateAppInfo(t.app);this.pipeService.emit("gh_app_info_update",{app_id:t.app.app_id},r)}}),this.pipeService.onRoot("gh_app_create",{},async(e,t)=>{await this.createNewApp(t.app);let r=await this.getAppsList();this.pipeService.emit("gh_apps_list_update",{recipient:"all"},r)}),Ee.IS_BROWSER_MAIN_THREAD&&this.activateSW&&navigator.serviceWorker.addEventListener("message",async e=>{if(e.data.type==="refresh app"){let t=await this.getApp(e.data.payload.app_id);t&&this.util.compareAppsItemsLists(t.items_list,e.data.payload.items_list.filter(r=>!r.trash),({diff_fields_items:r,diff_fields_items_Ids:a,diff_items:i,newItems:l,deletedItems:s})=>{(i.length||l.length||s.length)&&(this.pipeService.emit("gh_items_update",{app_id:e.data.payload.app_id},e.data.payload.items_list.filter(u=>!u.trash)),i.forEach(u=>this.pipeService.emit("gh_item_update",{app_id:e.data.payload.app_id,item_id:u.item_id},u))),a.forEach(u=>{let o=r[u];o&&o.forEach(p=>{this.pipeService.emit("gh_value_update",{app_id:e.data.payload.app_id,item_id:u,field_id:p.field_id},p.field_value)})})}),e.data.payload.items_list=await this.util.mergeChunks([t,e.data.payload]),this.saveAppInStorage(e.data.payload)}})}}var ht=A("akXK4");function qr(n=[]){return n.filter(e=>e.field_value!=null)}function ya(n={}){let e=Object.entries(n);return e.length?\`&\${e.map(([t,r])=>\`\${t}=\${r}\`).join("&")}\`:""}var St={},Br={},zt={},be=A("hMrGw"),He={},be=A("hMrGw"),it={},Vt=A("hweMw"),be=A("hMrGw"),Ur={},be=A("hMrGw"),Jt={},ot=A("hGGZx"),_a=A("kPNod"),we=A("b9GfH"),st={},be=A("hMrGw"),xt=be("%Object.getOwnPropertyDescriptor%",!0);if(xt)try{xt([],"length")}catch{xt=null}st=xt,Jt=function(n,e,t){if(!n||typeof n!="object"&&typeof n!="function")throw new we("\`obj\` must be an object or a function\`");if(typeof e!="string"&&typeof e!="symbol")throw new we("\`property\` must be a string or a symbol\`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new we("\`nonEnumerable\`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new we("\`nonWritable\`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new we("\`nonConfigurable\`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new we("\`loose\`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!st&&st(n,e);if(ot)ot(n,e,{configurable:i===null&&s?s.configurable:!i,enumerable:r===null&&s?s.enumerable:!r,value:t,writable:a===null&&s?s.writable:!a});else{if(!l&&(r||a||i))throw new _a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");n[e]=t}};var ba=A("9cNUg")(),we=A("b9GfH"),va=be("%Math.floor%");Ur=function(n,e){if(typeof n!="function")throw new we("\`fn\` is not a function");if(typeof e!="number"||e<0||e>4294967295||va(e)!==e)throw new we("\`length\` must be a positive 32-bit integer");var t=arguments.length>2&&!!arguments[2],r=!0,a=!0;if("length"in n&&st){var i=st(n,"length");i&&!i.configurable&&(r=!1),i&&!i.writable&&(a=!1)}return(r||a||!t)&&(ba?Jt(n,"length",e,!0,!0):Jt(n,"length",e)),n};var we=A("b9GfH"),Gr=be("%Function.prototype.apply%"),Wr=be("%Function.prototype.call%"),Hr=be("%Reflect.apply%",!0)||Vt.call(Wr,Gr),ot=A("hGGZx"),wa=be("%Math.max%");it=function(n){if(typeof n!="function")throw new we("a function is required");var e=Hr(Vt,Wr,arguments);return Ur(e,1+wa(0,n.length-(arguments.length-1)),!0)};var zr=function(){return Hr(Vt,Gr,arguments)};ot?ot(it,"apply",{value:zr}):it.apply=zr;var $a=it(be("String.prototype.indexOf"));He=function(n,e){var t=be(n,!!e);return typeof t=="function"&&$a(n,".prototype.")>-1?it(t):t};var Vr={},Yt=typeof Map=="function"&&Map.prototype,Qt=Object.getOwnPropertyDescriptor&&Yt?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Et=Yt&&Qt&&typeof Qt.get=="function"?Qt.get:null,Jr=Yt&&Map.prototype.forEach,Xt=typeof Set=="function"&&Set.prototype,Kt=Object.getOwnPropertyDescriptor&&Xt?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,kt=Xt&&Kt&&typeof Kt.get=="function"?Kt.get:null,Yr=Xt&&Set.prototype.forEach,Sa=typeof WeakMap=="function"&&WeakMap.prototype,lt=Sa?WeakMap.prototype.has:null,xa=typeof WeakSet=="function"&&WeakSet.prototype,ct=xa?WeakSet.prototype.has:null,Ea=typeof WeakRef=="function"&&WeakRef.prototype,Qr=Ea?WeakRef.prototype.deref:null,ka=Boolean.prototype.valueOf,Aa=Object.prototype.toString,Ia=Function.prototype.toString,Oa=String.prototype.match,Zt=String.prototype.slice,Fe=String.prototype.replace,ja=String.prototype.toUpperCase,Xr=String.prototype.toLowerCase,Kr=RegExp.prototype.test,Zr=Array.prototype.concat,Oe=Array.prototype.join,Ta=Array.prototype.slice,en=Math.floor,er=typeof BigInt=="function"?BigInt.prototype.valueOf:null,tr=Object.getOwnPropertySymbols,rr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Xe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ge=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Xe||!0)?Symbol.toStringTag:null,tn=Object.prototype.propertyIsEnumerable,rn=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function nn(n,e){if(n===1/0||n===-1/0||n!=n||n&&n>-1e3&&n<1e3||Kr.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var r=n<0?-en(-n):en(n);if(r!==n){var a=String(r),i=Zt.call(e,a.length+1);return Fe.call(a,t,"$&_")+"."+Fe.call(Fe.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Fe.call(e,t,"$&_")}var nr={},an=nr.custom,sn=cn(an)?an:null;function on(n,e,t){var r=(t.quoteStyle||e)==="double"?'"':"'";return r+n+r}function Pa(n){return Fe.call(String(n),/"/g,""")}function ar(n){return De(n)==="[object Array]"&&(!ge||!(typeof n=="object"&&ge in n))}function Ca(n){return De(n)==="[object Date]"&&(!ge||!(typeof n=="object"&&ge in n))}function ln(n){return De(n)==="[object RegExp]"&&(!ge||!(typeof n=="object"&&ge in n))}function Na(n){return De(n)==="[object Error]"&&(!ge||!(typeof n=="object"&&ge in n))}function Ma(n){return De(n)==="[object String]"&&(!ge||!(typeof n=="object"&&ge in n))}function Ra(n){return De(n)==="[object Number]"&&(!ge||!(typeof n=="object"&&ge in n))}function Fa(n){return De(n)==="[object Boolean]"&&(!ge||!(typeof n=="object"&&ge in n))}function cn(n){if(Xe)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!rr)return!1;try{return rr.call(n),!0}catch{}return!1}function La(n){if(!n||typeof n!="object"||!er)return!1;try{return er.call(n),!0}catch{}return!1}Vr=function n(e,t,r,a){var i=t||{};if(Le(i,"quoteStyle")&&i.quoteStyle!=="single"&&i.quoteStyle!=="double")throw TypeError('option "quoteStyle" must be "single" or "double"');if(Le(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or \`null\`');var l=!Le(i,"customInspect")||i.customInspect;if(typeof l!="boolean"&&l!=="symbol")throw TypeError("option \\"customInspect\\", if provided, must be \`true\`, \`false\`, or \`'symbol'\`");if(Le(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw TypeError('option "indent" must be "\\\\t", an integer > 0, or \`null\`');if(Le(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw TypeError('option "numericSeparator", if provided, must be \`true\` or \`false\`');var s=i.numericSeparator;if(e===void 0)return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return pn(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return s?nn(e,u):u}if(typeof e=="bigint"){var o=String(e)+"n";return s?nn(e,o):o}var p=i.depth===void 0?5:i.depth;if(r===void 0&&(r=0),r>=p&&p>0&&typeof e=="object")return ar(e)?"[Array]":"[Object]";var m=Ya(i,r);if(a===void 0)a=[];else if(un(a,e)>=0)return"[Circular]";function d(C,B,V){if(B&&(a=Ta.call(a)).push(B),V){var X={depth:i.depth};return Le(i,"quoteStyle")&&(X.quoteStyle=i.quoteStyle),n(C,X,r+1,a)}return n(C,i,r+1,a)}if(typeof e=="function"&&!ln(e)){var y=qa(e),f=At(e,d);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(f.length>0?" { "+Oe.call(f,", ")+" }":"")}if(cn(e)){var S=Xe?Fe.call(String(e),/^(Symbol\\(.*\\))_[^)]*$/,"$1"):rr.call(e);return typeof e!="object"||Xe?S:ut(S)}if(za(e)){for(var v="<"+Xr.call(String(e.nodeName)),w=e.attributes||[],g=0;g<w.length;g++)v+=" "+w[g].name+"="+on(Pa(w[g].value),"double",i);return v+=">",e.childNodes&&e.childNodes.length&&(v+="..."),v+="</"+Xr.call(String(e.nodeName))+">"}if(ar(e)){if(e.length===0)return"[]";var _=At(e,d);return m&&!Ja(_)?"["+sr(_,m)+"]":"[ "+Oe.call(_,", ")+" ]"}if(Na(e)){var $=At(e,d);return"cause"in Error.prototype||!("cause"in e)||tn.call(e,"cause")?$.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Oe.call($,", ")+" }":"{ ["+String(e)+"] "+Oe.call(Zr.call("[cause]: "+d(e.cause),$),", ")+" }"}if(typeof e=="object"&&l){if(sn&&typeof e[sn]=="function"&&nr)return nr(e,{depth:p-r});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Ba(e)){var x=[];return Jr&&Jr.call(e,function(C,B){x.push(d(B,e,!0)+" => "+d(C,e))}),dn("Map",Et.call(e),x,m)}if(Wa(e)){var T=[];return Yr&&Yr.call(e,function(C){T.push(d(C,e))}),dn("Set",kt.call(e),T,m)}if(Ua(e))return ir("WeakMap");if(Ha(e))return ir("WeakSet");if(Ga(e))return ir("WeakRef");if(Ra(e))return ut(d(Number(e)));if(La(e))return ut(d(er.call(e)));if(Fa(e))return ut(ka.call(e));if(Ma(e))return ut(d(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===oe)return"{ [object globalThis] }";if(!Ca(e)&&!ln(e)){var P=At(e,d),D=rn?rn(e)===Object.prototype:e instanceof Object||e.constructor===Object,R=e instanceof Object?"":"null prototype",I=!D&&ge&&Object(e)===e&&ge in e?Zt.call(De(e),8,-1):R?"Object":"",F=(D||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"")+(I||R?"["+Oe.call(Zr.call([],I||[],R||[]),": ")+"] ":"");return P.length===0?F+"{}":m?F+"{"+sr(P,m)+"}":F+"{ "+Oe.call(P,", ")+" }"}return String(e)};var Da=Object.prototype.hasOwnProperty||function(n){return n in this};function Le(n,e){return Da.call(n,e)}function De(n){return Aa.call(n)}function qa(n){if(n.name)return n.name;var e=Oa.call(Ia.call(n),/^function\\s*([\\w$]+)/);return e?e[1]:null}function un(n,e){if(n.indexOf)return n.indexOf(e);for(var t=0,r=n.length;t<r;t++)if(n[t]===e)return t;return-1}function Ba(n){if(!Et||!n||typeof n!="object")return!1;try{Et.call(n);try{kt.call(n)}catch{return!0}return n instanceof Map}catch{}return!1}function Ua(n){if(!lt||!n||typeof n!="object")return!1;try{lt.call(n,lt);try{ct.call(n,ct)}catch{return!0}return n instanceof WeakMap}catch{}return!1}function Ga(n){if(!Qr||!n||typeof n!="object")return!1;try{return Qr.call(n),!0}catch{}return!1}function Wa(n){if(!kt||!n||typeof n!="object")return!1;try{kt.call(n);try{Et.call(n)}catch{return!0}return n instanceof Set}catch{}return!1}function Ha(n){if(!ct||!n||typeof n!="object")return!1;try{ct.call(n,ct);try{lt.call(n,lt)}catch{return!0}return n instanceof WeakSet}catch{}return!1}function za(n){return!!n&&typeof n=="object"&&(typeof HTMLElement<"u"&&n instanceof HTMLElement||typeof n.nodeName=="string"&&typeof n.getAttribute=="function")}function pn(n,e){if(n.length>e.maxStringLength){var t=n.length-e.maxStringLength,r="... "+t+" more character"+(t>1?"s":"");return pn(Zt.call(n,0,e.maxStringLength),e)+r}return on(Fe.call(Fe.call(n,/(['\\\\])/g,"\\\\$1"),/[\\x00-\\x1f]/g,Va),"single",e)}function Va(n){var e=n.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\\\"+t:"\\\\x"+(e<16?"0":"")+ja.call(e.toString(16))}function ut(n){return"Object("+n+")"}function ir(n){return n+" { ? }"}function dn(n,e,t,r){return n+" ("+e+") {"+(r?sr(t,r):Oe.call(t,", "))+"}"}function Ja(n){for(var e=0;e<n.length;e++)if(un(n[e],\`
|
|
15422
15420
|
\`)>=0)return!1;return!0}function Ya(n,e){var t;if(n.indent===" ")t=" ";else{if(typeof n.indent!="number"||!(n.indent>0))return null;t=Oe.call(Array(n.indent+1)," ")}return{base:t,prev:Oe.call(Array(e+1),t)}}function sr(n,e){if(n.length===0)return"";var t=\`
|
|
15423
15421
|
\`+e.prev+e.base;return t+Oe.call(n,","+t)+\`
|
|
15424
15422
|
\`+e.prev}function At(n,e){var t,r=ar(n),a=[];if(r){a.length=n.length;for(var i=0;i<n.length;i++)a[i]=Le(n,i)?e(n[i],n):""}var l=typeof tr=="function"?tr(n):[];if(Xe){t={};for(var s=0;s<l.length;s++)t["$"+l[s]]=l[s]}for(var u in n)if(Le(n,u)&&(!r||String(Number(u))!==u||!(u<n.length))){if(Xe&&t["$"+u]instanceof Symbol)continue;Kr.call(/[^\\w$]/,u)?a.push(e(u,n)+": "+e(n[u],n)):a.push(u+": "+e(n[u],n))}if(typeof tr=="function")for(var o=0;o<l.length;o++)tn.call(n,l[o])&&a.push("["+e(l[o])+"]: "+e(n[l[o]],n));return a}var we=A("b9GfH"),It=be("%WeakMap%",!0),Ot=be("%Map%",!0),Qa=He("WeakMap.prototype.get",!0),Xa=He("WeakMap.prototype.set",!0),Ka=He("WeakMap.prototype.has",!0),Za=He("Map.prototype.get",!0),ei=He("Map.prototype.set",!0),ti=He("Map.prototype.has",!0),or=function(n,e){for(var t,r=n;(t=r.next)!==null;r=t)if(t.key===e)return r.next=t.next,t.next=n.next,n.next=t,t},ri=function(n,e){var t=or(n,e);return t&&t.value},ni=function(n,e,t){var r=or(n,e);r?r.value=t:n.next={key:e,next:n.next,value:t}},ai=function(n,e){return!!or(n,e)};zt=function(){var n,e,t,r={assert:function(a){if(!r.has(a))throw new we("Side channel does not contain "+Vr(a))},get:function(a){if(It&&a&&(typeof a=="object"||typeof a=="function")){if(n)return Qa(n,a)}else if(Ot){if(e)return Za(e,a)}else if(t)return ri(t,a)},has:function(a){if(It&&a&&(typeof a=="object"||typeof a=="function")){if(n)return Ka(n,a)}else if(Ot){if(e)return ti(e,a)}else if(t)return ai(t,a);return!1},set:function(a,i){It&&a&&(typeof a=="object"||typeof a=="function")?(n||(n=new It),Xa(n,a,i)):Ot?(e||(e=new Ot),ei(e,a,i)):(t||(t={key:{},next:null}),ni(t,a,i))}};return r};var Se={},qe={},ii=String.prototype.replace,si=/%20/g,lr={RFC1738:"RFC1738",RFC3986:"RFC3986"};qe={default:lr.RFC3986,formatters:{RFC1738:function(n){return ii.call(n,si,"+")},RFC3986:function(n){return String(n)}},RFC1738:lr.RFC1738,RFC3986:lr.RFC3986};var cr=Object.prototype.hasOwnProperty,ze=Array.isArray,je=function(){for(var n=[],e=0;e<256;++e)n.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return n}(),oi=function(n){for(;n.length>1;){var e=n.pop(),t=e.obj[e.prop];if(ze(t)){for(var r=[],a=0;a<t.length;++a)t[a]!==void 0&&r.push(t[a]);e.obj[e.prop]=r}}},fn=function(n,e){for(var t=e&&e.plainObjects?Object.create(null):{},r=0;r<n.length;++r)n[r]!==void 0&&(t[r]=n[r]);return t},li=function n(e,t,r){if(!t)return e;if(typeof t!="object"){if(ze(e))e.push(t);else{if(!e||typeof e!="object")return[e,t];(r&&(r.plainObjects||r.allowPrototypes)||!cr.call(Object.prototype,t))&&(e[t]=!0)}return e}if(!e||typeof e!="object")return[e].concat(t);var a=e;return ze(e)&&!ze(t)&&(a=fn(e,r)),ze(e)&&ze(t)?(t.forEach(function(i,l){if(cr.call(e,l)){var s=e[l];s&&typeof s=="object"&&i&&typeof i=="object"?e[l]=n(s,i,r):e.push(i)}else e[l]=i}),e):Object.keys(t).reduce(function(i,l){var s=t[l];return cr.call(i,l)?i[l]=n(i[l],s,r):i[l]=s,i},a)},ci=function(n,e){return Object.keys(e).reduce(function(t,r){return t[r]=e[r],t},n)},ui=function(n,e,t){var r=n.replace(/\\+/g," ");if(t==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},pi=function(n,e,t,r,a){if(n.length===0)return n;var i=n;if(typeof n=="symbol"?i=Symbol.prototype.toString.call(n):typeof n!="string"&&(i=String(n)),t==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(o){return"%26%23"+parseInt(o.slice(2),16)+"%3B"});for(var l="",s=0;s<i.length;++s){var u=i.charCodeAt(s);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===qe.RFC1738&&(u===40||u===41)){l+=i.charAt(s);continue}if(u<128){l+=je[u];continue}if(u<2048){l+=je[192|u>>6]+je[128|63&u];continue}if(u<55296||u>=57344){l+=je[224|u>>12]+je[128|u>>6&63]+je[128|63&u];continue}s+=1,l+=je[240|(u=65536+((1023&u)<<10|1023&i.charCodeAt(s)))>>18]+je[128|u>>12&63]+je[128|u>>6&63]+je[128|63&u]}return l},di=function(n){for(var e=[{obj:{o:n},prop:"o"}],t=[],r=0;r<e.length;++r)for(var a=e[r],i=a.obj[a.prop],l=Object.keys(i),s=0;s<l.length;++s){var u=l[s],o=i[u];typeof o=="object"&&o!==null&&t.indexOf(o)===-1&&(e.push({obj:i,prop:u}),t.push(o))}return oi(e),n},fi=function(n){return Object.prototype.toString.call(n)==="[object RegExp]"},hi=function(n){return!!n&&typeof n=="object"&&!!(n.constructor&&n.constructor.isBuffer&&n.constructor.isBuffer(n))},mi=function(n,e){return[].concat(n,e)},gi=function(n,e){if(ze(n)){for(var t=[],r=0;r<n.length;r+=1)t.push(e(n[r]));return t}return e(n)};Se={arrayToObject:fn,assign:ci,combine:mi,compact:di,decode:ui,encode:pi,isBuffer:hi,isRegExp:fi,maybeMap:gi,merge:li};var yi=Object.prototype.hasOwnProperty,hn={brackets:function(n){return n+"[]"},comma:"comma",indices:function(n,e){return n+"["+e+"]"},repeat:function(n){return n}},Me=Array.isArray,_i=Array.prototype.push,mn=function(n,e){_i.apply(n,Me(e)?e:[e])},bi=Date.prototype.toISOString,gn=qe.default,ye={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Se.encode,encodeValuesOnly:!1,format:gn,formatter:qe.formatters[gn],indices:!1,serializeDate:function(n){return bi.call(n)},skipNulls:!1,strictNullHandling:!1},vi=function(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"||typeof n=="symbol"||typeof n=="bigint"},ur={},wi=function n(e,t,r,a,i,l,s,u,o,p,m,d,y,f,S,v){for(var w,g=e,_=v,$=0,x=!1;(_=_.get(ur))!==void 0&&!x;){var T=_.get(e);if($+=1,T!==void 0){if(T===$)throw RangeError("Cyclic object value");x=!0}_.get(ur)===void 0&&($=0)}if(typeof u=="function"?g=u(t,g):g instanceof Date?g=m(g):r==="comma"&&Me(g)&&(g=Se.maybeMap(g,function(X){return X instanceof Date?m(X):X})),g===null){if(i)return s&&!f?s(t,ye.encoder,S,"key",d):t;g=""}if(vi(g)||Se.isBuffer(g))return s?[y(f?t:s(t,ye.encoder,S,"key",d))+"="+y(s(g,ye.encoder,S,"value",d))]:[y(t)+"="+y(String(g))];var P=[];if(g===void 0)return P;if(r==="comma"&&Me(g))f&&s&&(g=Se.maybeMap(g,s)),w=[{value:g.length>0?g.join(",")||null:void 0}];else if(Me(u))w=u;else{var D=Object.keys(g);w=o?D.sort(o):D}for(var R=a&&Me(g)&&g.length===1?t+"[]":t,I=0;I<w.length;++I){var F=w[I],C=typeof F=="object"&&F.value!==void 0?F.value:g[F];if(!l||C!==null){var B=Me(g)?typeof r=="function"?r(R,F):R:R+(p?"."+F:"["+F+"]");v.set(e,$);var V=zt();V.set(ur,v),mn(P,n(C,B,r,a,i,l,r==="comma"&&f&&Me(g)?null:s,u,o,p,m,d,y,f,S,V))}}return P},$i=function(n){if(!n)return ye;if(n.encoder!==null&&n.encoder!==void 0&&typeof n.encoder!="function")throw TypeError("Encoder has to be a function.");var e=n.charset||ye.charset;if(n.charset!==void 0&&n.charset!=="utf-8"&&n.charset!=="iso-8859-1")throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=qe.default;if(n.format!==void 0){if(!yi.call(qe.formatters,n.format))throw TypeError("Unknown format option provided.");t=n.format}var r=qe.formatters[t],a=ye.filter;return(typeof n.filter=="function"||Me(n.filter))&&(a=n.filter),{addQueryPrefix:typeof n.addQueryPrefix=="boolean"?n.addQueryPrefix:ye.addQueryPrefix,allowDots:n.allowDots===void 0?ye.allowDots:!!n.allowDots,charset:e,charsetSentinel:typeof n.charsetSentinel=="boolean"?n.charsetSentinel:ye.charsetSentinel,delimiter:n.delimiter===void 0?ye.delimiter:n.delimiter,encode:typeof n.encode=="boolean"?n.encode:ye.encode,encoder:typeof n.encoder=="function"?n.encoder:ye.encoder,encodeValuesOnly:typeof n.encodeValuesOnly=="boolean"?n.encodeValuesOnly:ye.encodeValuesOnly,filter:a,format:t,formatter:r,serializeDate:typeof n.serializeDate=="function"?n.serializeDate:ye.serializeDate,skipNulls:typeof n.skipNulls=="boolean"?n.skipNulls:ye.skipNulls,sort:typeof n.sort=="function"?n.sort:null,strictNullHandling:typeof n.strictNullHandling=="boolean"?n.strictNullHandling:ye.strictNullHandling}};Br=function(n,e){var t,r,a=n,i=$i(e);typeof i.filter=="function"?a=i.filter("",a):Me(i.filter)&&(t=i.filter);var l=[];if(typeof a!="object"||a===null)return"";r=e&&e.arrayFormat in hn?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var s=hn[r];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw TypeError("\`commaRoundTrip\` must be a boolean, or absent");var u=s==="comma"&&e&&e.commaRoundTrip;t||(t=Object.keys(a)),i.sort&&t.sort(i.sort);for(var o=zt(),p=0;p<t.length;++p){var m=t[p];i.skipNulls&&a[m]===null||mn(l,wi(a[m],m,s,u,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,o))}var d=l.join(i.delimiter),y=i.addQueryPrefix===!0?"?":"";return i.charsetSentinel&&(i.charset==="iso-8859-1"?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),d.length>0?y+d:""};var yn={},pr=Object.prototype.hasOwnProperty,Si=Array.isArray,de={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Se.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},xi=function(n){return n.replace(/&#(\\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},_n=function(n,e){return n&&typeof n=="string"&&e.comma&&n.indexOf(",")>-1?n.split(","):n},Ei="utf8=%26%2310003%3B",ki="utf8=%E2%9C%93",Ai=function(n,e){var t={__proto__:null},r=e.ignoreQueryPrefix?n.replace(/^\\?/,""):n,a=e.parameterLimit===1/0?void 0:e.parameterLimit,i=r.split(e.delimiter,a),l=-1,s=e.charset;if(e.charsetSentinel)for(u=0;u<i.length;++u)i[u].indexOf("utf8=")===0&&(i[u]===ki?s="utf-8":i[u]===Ei&&(s="iso-8859-1"),l=u,u=i.length);for(u=0;u<i.length;++u)if(u!==l){var u,o,p,m=i[u],d=m.indexOf("]="),y=d===-1?m.indexOf("="):d+1;y===-1?(o=e.decoder(m,de.decoder,s,"key"),p=e.strictNullHandling?null:""):(o=e.decoder(m.slice(0,y),de.decoder,s,"key"),p=Se.maybeMap(_n(m.slice(y+1),e),function(f){return e.decoder(f,de.decoder,s,"value")})),p&&e.interpretNumericEntities&&s==="iso-8859-1"&&(p=xi(p)),m.indexOf("[]=")>-1&&(p=Si(p)?[p]:p),pr.call(t,o)?t[o]=Se.combine(t[o],p):t[o]=p}return t},Ii=function(n,e,t,r){for(var a=r?e:_n(e,t),i=n.length-1;i>=0;--i){var l,s=n[i];if(s==="[]"&&t.parseArrays)l=[].concat(a);else{l=t.plainObjects?Object.create(null):{};var u=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,o=parseInt(u,10);t.parseArrays||u!==""?!isNaN(o)&&s!==u&&String(o)===u&&o>=0&&t.parseArrays&&o<=t.arrayLimit?(l=[])[o]=a:u!=="__proto__"&&(l[u]=a):l={0:a}}a=l}return a},Oi=function(n,e,t,r){if(n){var a=t.allowDots?n.replace(/\\.([^.[]+)/g,"[$1]"):n,i=/(\\[[^[\\]]*])/,l=/(\\[[^[\\]]*])/g,s=t.depth>0&&i.exec(a),u=s?a.slice(0,s.index):a,o=[];if(u){if(!t.plainObjects&&pr.call(Object.prototype,u)&&!t.allowPrototypes)return;o.push(u)}for(var p=0;t.depth>0&&(s=l.exec(a))!==null&&p<t.depth;){if(p+=1,!t.plainObjects&&pr.call(Object.prototype,s[1].slice(1,-1))&&!t.allowPrototypes)return;o.push(s[1])}return s&&o.push("["+a.slice(s.index)+"]"),Ii(o,e,t,r)}},ji=function(n){if(!n)return de;if(n.decoder!==null&&n.decoder!==void 0&&typeof n.decoder!="function")throw TypeError("Decoder has to be a function.");if(n.charset!==void 0&&n.charset!=="utf-8"&&n.charset!=="iso-8859-1")throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=n.charset===void 0?de.charset:n.charset;return{allowDots:n.allowDots===void 0?de.allowDots:!!n.allowDots,allowPrototypes:typeof n.allowPrototypes=="boolean"?n.allowPrototypes:de.allowPrototypes,allowSparse:typeof n.allowSparse=="boolean"?n.allowSparse:de.allowSparse,arrayLimit:typeof n.arrayLimit=="number"?n.arrayLimit:de.arrayLimit,charset:e,charsetSentinel:typeof n.charsetSentinel=="boolean"?n.charsetSentinel:de.charsetSentinel,comma:typeof n.comma=="boolean"?n.comma:de.comma,decoder:typeof n.decoder=="function"?n.decoder:de.decoder,delimiter:typeof n.delimiter=="string"||Se.isRegExp(n.delimiter)?n.delimiter:de.delimiter,depth:typeof n.depth=="number"||n.depth===!1?+n.depth:de.depth,ignoreQueryPrefix:n.ignoreQueryPrefix===!0,interpretNumericEntities:typeof n.interpretNumericEntities=="boolean"?n.interpretNumericEntities:de.interpretNumericEntities,parameterLimit:typeof n.parameterLimit=="number"?n.parameterLimit:de.parameterLimit,parseArrays:n.parseArrays!==!1,plainObjects:typeof n.plainObjects=="boolean"?n.plainObjects:de.plainObjects,strictNullHandling:typeof n.strictNullHandling=="boolean"?n.strictNullHandling:de.strictNullHandling}};yn=function(n,e){var t=ji(e);if(n===""||n==null)return t.plainObjects?Object.create(null):{};for(var r=typeof n=="string"?Ai(n,t):n,a=t.plainObjects?Object.create(null):{},i=Object.keys(r),l=0;l<i.length;++l){var s=i[l],u=Oi(s,r[s],t,typeof n=="string");a=Se.merge(a,u,t)}return t.allowSparse===!0?a:Se.compact(a)},St={formats:qe,parse:yn,stringify:Br};class Ti{constructor(e){this.root=e,this.requestPromises=[]}init(e){this.getToken=e}async get(e){let t=await this.getToken(),r=this.getHashCode(e);if(this.requestPromises[r])return this.requestPromises[r].promise;let a=new Promise((i,l)=>{let s;e.externalResource?s=e.url:(s=this.root+e.url,s=\`\${s}\${/\\?/.test(s)?"&":"?"}token=\${t}\${ya(e.params)}\`),G(ht).get(s,{validateStatus:function(u){return u<400}}).then(function(u){u.status!=200&&console.error(\`GUDHUB HTTP SERVICE: GET ERROR: \${u.status}\`,u),i(u.data)}).catch(function(u){console.error(\`GUDHUB HTTP SERVICE: GET ERROR: \${u.response.status}
|