@gisce/ooui 0.22.0 → 0.22.1-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ooui.es.js CHANGED
@@ -107,9 +107,9 @@ const Ci = ({
107
107
  values: e,
108
108
  fields: r
109
109
  }) => {
110
- const u = t.replace(/\(/g, "[").replace(/\)/g, "]").replace(/\'/g, '"').replace(/True/g, "true").replace(/False/g, "false"), f = q(u), _ = JSON.parse(f), b = {};
111
- for (const w of Object.keys(_))
112
- _[w].map((S) => Ci({ entry: S, values: e, fields: r })).every((S) => S === !0) && (b[w] = !0);
110
+ const u = t.replace(/\(/g, "[").replace(/\)/g, "]").replace(/\'/g, '"').replace(/True/g, "true").replace(/False/g, "false"), f = q(u), g = JSON.parse(f), b = {};
111
+ for (const w of Object.keys(g))
112
+ g[w].map((S) => Ci({ entry: S, values: e, fields: r })).every((S) => S === !0) && (b[w] = !0);
113
113
  return b;
114
114
  }, Fi = ({
115
115
  tagAttributes: t,
@@ -999,14 +999,14 @@ const nn = ({
999
999
  for (const u of Object.keys(n))
1000
1000
  if (e.state === u) {
1001
1001
  const f = n[u];
1002
- for (const _ of f) {
1003
- const [b, w] = _;
1002
+ for (const g of f) {
1003
+ const [b, w] = g;
1004
1004
  a[b] || (a[b] = []), a[b].push(w);
1005
1005
  }
1006
1006
  }
1007
1007
  for (const u of Object.keys(a)) {
1008
1008
  const f = a[u];
1009
- s[u] = f.some((_) => _ === !0);
1009
+ s[u] = f.some((g) => g === !0);
1010
1010
  }
1011
1011
  return s;
1012
1012
  }, an = ({
@@ -1043,7 +1043,7 @@ const on = ({
1043
1043
  if (t.trim().length === 0)
1044
1044
  return;
1045
1045
  var i = t.replace(/\"/g, "'").replace(/\s/g, "").replace(/True/g, "true"), n = i.replace(/False/g, "false");
1046
- const w = n.replace(/\{/g, "").replace(/\}/g, "").split(",").map((m) => m.split(":")), g = {};
1046
+ const w = n.replace(/\{/g, "").replace(/\}/g, "").split(",").map((m) => m.split(":")), _ = {};
1047
1047
  return w.forEach((m) => {
1048
1048
  const E = m[1];
1049
1049
  if (m[1].indexOf("'") === -1 && m[1] !== "true" && m[1] !== "false") {
@@ -1052,20 +1052,20 @@ const on = ({
1052
1052
  fields: r,
1053
1053
  fieldName: E === "active_id" ? "id" : E
1054
1054
  });
1055
- g[m[0].replace(/'/g, "")] = S || void 0;
1055
+ _[m[0].replace(/'/g, "")] = S || void 0;
1056
1056
  } else
1057
- m[1] === "true" ? g[m[0].replace(/'/g, "")] = !0 : m[1] === "false" ? g[m[0].replace(/'/g, "")] = !1 : g[m[0].replace(/'/g, "")] = m[1].replace(
1057
+ m[1] === "true" ? _[m[0].replace(/'/g, "")] = !0 : m[1] === "false" ? _[m[0].replace(/'/g, "")] = !1 : _[m[0].replace(/'/g, "")] = m[1].replace(
1058
1058
  /'/g,
1059
1059
  ""
1060
1060
  );
1061
- }), g;
1061
+ }), _;
1062
1062
  } catch {
1063
1063
  return;
1064
1064
  }
1065
1065
  };
1066
1066
  function ln(t) {
1067
1067
  try {
1068
- return JSON.parse(t);
1068
+ return JSON.parse(t.replace(/'/g, '"'));
1069
1069
  } catch {
1070
1070
  return null;
1071
1071
  }
@@ -1082,7 +1082,7 @@ const fn = (t) => {
1082
1082
  };
1083
1083
  function rt(t, e) {
1084
1084
  e = e || {};
1085
- var r = e.pos || 0, i = !!e.keepComments, n = !!e.keepWhitespace, s = "<", a = "<".charCodeAt(0), u = ">", f = ">".charCodeAt(0), _ = "-".charCodeAt(0), b = "/".charCodeAt(0), w = "!".charCodeAt(0), g = "'".charCodeAt(0), m = '"'.charCodeAt(0), E = "[".charCodeAt(0), S = "]".charCodeAt(0);
1085
+ var r = e.pos || 0, i = !!e.keepComments, n = !!e.keepWhitespace, s = "<", a = "<".charCodeAt(0), u = ">", f = ">".charCodeAt(0), g = "-".charCodeAt(0), b = "/".charCodeAt(0), w = "!".charCodeAt(0), _ = "'".charCodeAt(0), m = '"'.charCodeAt(0), E = "[".charCodeAt(0), S = "]".charCodeAt(0);
1086
1086
  function F(A) {
1087
1087
  for (var B = []; t[r]; )
1088
1088
  if (t.charCodeAt(r) == a) {
@@ -1102,9 +1102,9 @@ Char: ` + t[r]
1102
1102
  }
1103
1103
  return r + 1 && (r += 1), B;
1104
1104
  } else if (t.charCodeAt(r + 1) === w) {
1105
- if (t.charCodeAt(r + 2) == _) {
1105
+ if (t.charCodeAt(r + 2) == g) {
1106
1106
  const ee = r;
1107
- for (; r !== -1 && !(t.charCodeAt(r) === f && t.charCodeAt(r - 1) == _ && t.charCodeAt(r - 2) == _ && r != -1); )
1107
+ for (; r !== -1 && !(t.charCodeAt(r) === f && t.charCodeAt(r - 1) == g && t.charCodeAt(r - 2) == g && r != -1); )
1108
1108
  r = t.indexOf(u, r + 1);
1109
1109
  r === -1 && (r = t.length), i && B.push(t.substring(ee, r + 1));
1110
1110
  } else if (t.charCodeAt(r + 2) === E && t.charCodeAt(r + 8) === E && t.substr(r + 3, 5).toLowerCase() === "cdata") {
@@ -1154,9 +1154,9 @@ Char: ` + t[r]
1154
1154
  for (; t.charCodeAt(r) !== f && t[r]; ) {
1155
1155
  var Z = t.charCodeAt(r);
1156
1156
  if (Z > 64 && Z < 91 || Z > 96 && Z < 123) {
1157
- for (var H = R(), j = t.charCodeAt(r); j && j !== g && j !== m && !(j > 64 && j < 91 || j > 96 && j < 123) && j !== f; )
1157
+ for (var H = R(), j = t.charCodeAt(r); j && j !== _ && j !== m && !(j > 64 && j < 91 || j > 96 && j < 123) && j !== f; )
1158
1158
  r++, j = t.charCodeAt(r);
1159
- if (j === g || j === m) {
1159
+ if (j === _ || j === m) {
1160
1160
  var G = W();
1161
1161
  if (r === -1)
1162
1162
  return {
@@ -1299,10 +1299,10 @@ function Pr(t, e) {
1299
1299
  Pr.prototype.run = function() {
1300
1300
  this.fun.apply(null, this.array);
1301
1301
  };
1302
- var _n = "browser", gn = "browser", pn = !0, yn = {}, wn = [], bn = "", mn = {}, vn = {}, En = {};
1303
- function ge() {
1302
+ var gn = "browser", _n = "browser", pn = !0, yn = {}, wn = [], bn = "", mn = {}, vn = {}, En = {};
1303
+ function _e() {
1304
1304
  }
1305
- var xn = ge, Rn = ge, Sn = ge, Tn = ge, Cn = ge, An = ge, Fn = ge;
1305
+ var xn = _e, Rn = _e, Sn = _e, Tn = _e, Cn = _e, An = _e, Fn = _e;
1306
1306
  function On(t) {
1307
1307
  throw new Error("process.binding is not supported");
1308
1308
  }
@@ -1329,7 +1329,7 @@ function Bn() {
1329
1329
  }
1330
1330
  var N = {
1331
1331
  nextTick: dn,
1332
- title: _n,
1332
+ title: gn,
1333
1333
  browser: pn,
1334
1334
  env: yn,
1335
1335
  argv: wn,
@@ -1347,7 +1347,7 @@ var N = {
1347
1347
  chdir: Mn,
1348
1348
  umask: kn,
1349
1349
  hrtime: Nn,
1350
- platform: gn,
1350
+ platform: _n,
1351
1351
  release: vn,
1352
1352
  config: En,
1353
1353
  uptime: Bn
@@ -1409,25 +1409,25 @@ function ir(t) {
1409
1409
  return i === 1 ? (e = t[r - 1], n += te[e >> 2], n += te[e << 4 & 63], n += "==") : i === 2 && (e = (t[r - 2] << 8) + t[r - 1], n += te[e >> 10], n += te[e >> 4 & 63], n += te[e << 2 & 63], n += "="), s.push(n), s.join("");
1410
1410
  }
1411
1411
  function it(t, e, r, i, n) {
1412
- var s, a, u = n * 8 - i - 1, f = (1 << u) - 1, _ = f >> 1, b = -7, w = r ? n - 1 : 0, g = r ? -1 : 1, m = t[e + w];
1413
- for (w += g, s = m & (1 << -b) - 1, m >>= -b, b += u; b > 0; s = s * 256 + t[e + w], w += g, b -= 8)
1412
+ var s, a, u = n * 8 - i - 1, f = (1 << u) - 1, g = f >> 1, b = -7, w = r ? n - 1 : 0, _ = r ? -1 : 1, m = t[e + w];
1413
+ for (w += _, s = m & (1 << -b) - 1, m >>= -b, b += u; b > 0; s = s * 256 + t[e + w], w += _, b -= 8)
1414
1414
  ;
1415
- for (a = s & (1 << -b) - 1, s >>= -b, b += i; b > 0; a = a * 256 + t[e + w], w += g, b -= 8)
1415
+ for (a = s & (1 << -b) - 1, s >>= -b, b += i; b > 0; a = a * 256 + t[e + w], w += _, b -= 8)
1416
1416
  ;
1417
1417
  if (s === 0)
1418
- s = 1 - _;
1418
+ s = 1 - g;
1419
1419
  else {
1420
1420
  if (s === f)
1421
1421
  return a ? NaN : (m ? -1 : 1) * (1 / 0);
1422
- a = a + Math.pow(2, i), s = s - _;
1422
+ a = a + Math.pow(2, i), s = s - g;
1423
1423
  }
1424
1424
  return (m ? -1 : 1) * a * Math.pow(2, s - i);
1425
1425
  }
1426
1426
  function Lr(t, e, r, i, n, s) {
1427
- var a, u, f, _ = s * 8 - n - 1, b = (1 << _) - 1, w = b >> 1, g = n === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, m = i ? 0 : s - 1, E = i ? 1 : -1, S = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
1428
- for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (u = isNaN(e) ? 1 : 0, a = b) : (a = Math.floor(Math.log(e) / Math.LN2), e * (f = Math.pow(2, -a)) < 1 && (a--, f *= 2), a + w >= 1 ? e += g / f : e += g * Math.pow(2, 1 - w), e * f >= 2 && (a++, f /= 2), a + w >= b ? (u = 0, a = b) : a + w >= 1 ? (u = (e * f - 1) * Math.pow(2, n), a = a + w) : (u = e * Math.pow(2, w - 1) * Math.pow(2, n), a = 0)); n >= 8; t[r + m] = u & 255, m += E, u /= 256, n -= 8)
1427
+ var a, u, f, g = s * 8 - n - 1, b = (1 << g) - 1, w = b >> 1, _ = n === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, m = i ? 0 : s - 1, E = i ? 1 : -1, S = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
1428
+ for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (u = isNaN(e) ? 1 : 0, a = b) : (a = Math.floor(Math.log(e) / Math.LN2), e * (f = Math.pow(2, -a)) < 1 && (a--, f *= 2), a + w >= 1 ? e += _ / f : e += _ * Math.pow(2, 1 - w), e * f >= 2 && (a++, f /= 2), a + w >= b ? (u = 0, a = b) : a + w >= 1 ? (u = (e * f - 1) * Math.pow(2, n), a = a + w) : (u = e * Math.pow(2, w - 1) * Math.pow(2, n), a = 0)); n >= 8; t[r + m] = u & 255, m += E, u /= 256, n -= 8)
1429
1429
  ;
1430
- for (a = a << n | u, _ += n; _ > 0; t[r + m] = a & 255, m += E, a /= 256, _ -= 8)
1430
+ for (a = a << n | u, g += n; g > 0; t[r + m] = a & 255, m += E, a /= 256, g -= 8)
1431
1431
  ;
1432
1432
  t[r + m - E] |= S * 128;
1433
1433
  }
@@ -1529,7 +1529,7 @@ function Jn(t, e) {
1529
1529
  }
1530
1530
  if (e) {
1531
1531
  if (typeof ArrayBuffer < "u" && e.buffer instanceof ArrayBuffer || "length" in e)
1532
- return typeof e.length != "number" || ga(e.length) ? se(t, 0) : kt(t, e);
1532
+ return typeof e.length != "number" || _a(e.length) ? se(t, 0) : kt(t, e);
1533
1533
  if (e.type === "Buffer" && Ur(e.data))
1534
1534
  return kt(t, e.data);
1535
1535
  }
@@ -1660,7 +1660,7 @@ function Xn(t, e, r) {
1660
1660
  }
1661
1661
  }
1662
1662
  y.prototype._isBuffer = !0;
1663
- function _e(t, e, r) {
1663
+ function ge(t, e, r) {
1664
1664
  var i = t[e];
1665
1665
  t[e] = t[r], t[r] = i;
1666
1666
  }
@@ -1669,7 +1669,7 @@ y.prototype.swap16 = function() {
1669
1669
  if (e % 2 !== 0)
1670
1670
  throw new RangeError("Buffer size must be a multiple of 16-bits");
1671
1671
  for (var r = 0; r < e; r += 2)
1672
- _e(this, r, r + 1);
1672
+ ge(this, r, r + 1);
1673
1673
  return this;
1674
1674
  };
1675
1675
  y.prototype.swap32 = function() {
@@ -1677,7 +1677,7 @@ y.prototype.swap32 = function() {
1677
1677
  if (e % 4 !== 0)
1678
1678
  throw new RangeError("Buffer size must be a multiple of 32-bits");
1679
1679
  for (var r = 0; r < e; r += 4)
1680
- _e(this, r, r + 3), _e(this, r + 1, r + 2);
1680
+ ge(this, r, r + 3), ge(this, r + 1, r + 2);
1681
1681
  return this;
1682
1682
  };
1683
1683
  y.prototype.swap64 = function() {
@@ -1685,7 +1685,7 @@ y.prototype.swap64 = function() {
1685
1685
  if (e % 8 !== 0)
1686
1686
  throw new RangeError("Buffer size must be a multiple of 64-bits");
1687
1687
  for (var r = 0; r < e; r += 8)
1688
- _e(this, r, r + 7), _e(this, r + 1, r + 6), _e(this, r + 2, r + 5), _e(this, r + 3, r + 4);
1688
+ ge(this, r, r + 7), ge(this, r + 1, r + 6), ge(this, r + 2, r + 5), ge(this, r + 3, r + 4);
1689
1689
  return this;
1690
1690
  };
1691
1691
  y.prototype.toString = function() {
@@ -1714,9 +1714,9 @@ y.prototype.compare = function(e, r, i, n, s) {
1714
1714
  return 1;
1715
1715
  if (r >>>= 0, i >>>= 0, n >>>= 0, s >>>= 0, this === e)
1716
1716
  return 0;
1717
- for (var a = s - n, u = i - r, f = Math.min(a, u), _ = this.slice(n, s), b = e.slice(r, i), w = 0; w < f; ++w)
1718
- if (_[w] !== b[w]) {
1719
- a = _[w], u = b[w];
1717
+ for (var a = s - n, u = i - r, f = Math.min(a, u), g = this.slice(n, s), b = e.slice(r, i), w = 0; w < f; ++w)
1718
+ if (g[w] !== b[w]) {
1719
+ a = g[w], u = b[w];
1720
1720
  break;
1721
1721
  }
1722
1722
  return a < u ? -1 : u < a ? 1 : 0;
@@ -1749,24 +1749,24 @@ function nr(t, e, r, i, n) {
1749
1749
  function f(m, E) {
1750
1750
  return s === 1 ? m[E] : m.readUInt16BE(E * s);
1751
1751
  }
1752
- var _;
1752
+ var g;
1753
1753
  if (n) {
1754
1754
  var b = -1;
1755
- for (_ = r; _ < a; _++)
1756
- if (f(t, _) === f(e, b === -1 ? 0 : _ - b)) {
1757
- if (b === -1 && (b = _), _ - b + 1 === u)
1755
+ for (g = r; g < a; g++)
1756
+ if (f(t, g) === f(e, b === -1 ? 0 : g - b)) {
1757
+ if (b === -1 && (b = g), g - b + 1 === u)
1758
1758
  return b * s;
1759
1759
  } else
1760
- b !== -1 && (_ -= _ - b), b = -1;
1760
+ b !== -1 && (g -= g - b), b = -1;
1761
1761
  } else
1762
- for (r + u > a && (r = a - u), _ = r; _ >= 0; _--) {
1763
- for (var w = !0, g = 0; g < u; g++)
1764
- if (f(t, _ + g) !== f(e, g)) {
1762
+ for (r + u > a && (r = a - u), g = r; g >= 0; g--) {
1763
+ for (var w = !0, _ = 0; _ < u; _++)
1764
+ if (f(t, g + _) !== f(e, _)) {
1765
1765
  w = !1;
1766
1766
  break;
1767
1767
  }
1768
1768
  if (w)
1769
- return _;
1769
+ return g;
1770
1770
  }
1771
1771
  return -1;
1772
1772
  }
@@ -1808,7 +1808,7 @@ function ta(t, e, r, i) {
1808
1808
  return st(Kr(e), t, r, i);
1809
1809
  }
1810
1810
  function ra(t, e, r, i) {
1811
- return st(_a(e, t.length - r), t, r, i);
1811
+ return st(ga(e, t.length - r), t, r, i);
1812
1812
  }
1813
1813
  y.prototype.write = function(e, r, i, n) {
1814
1814
  if (r === void 0)
@@ -1864,7 +1864,7 @@ function $r(t, e, r) {
1864
1864
  for (var i = [], n = e; n < r; ) {
1865
1865
  var s = t[n], a = null, u = s > 239 ? 4 : s > 223 ? 3 : s > 191 ? 2 : 1;
1866
1866
  if (n + u <= r) {
1867
- var f, _, b, w;
1867
+ var f, g, b, w;
1868
1868
  switch (u) {
1869
1869
  case 1:
1870
1870
  s < 128 && (a = s);
@@ -1873,10 +1873,10 @@ function $r(t, e, r) {
1873
1873
  f = t[n + 1], (f & 192) === 128 && (w = (s & 31) << 6 | f & 63, w > 127 && (a = w));
1874
1874
  break;
1875
1875
  case 3:
1876
- f = t[n + 1], _ = t[n + 2], (f & 192) === 128 && (_ & 192) === 128 && (w = (s & 15) << 12 | (f & 63) << 6 | _ & 63, w > 2047 && (w < 55296 || w > 57343) && (a = w));
1876
+ f = t[n + 1], g = t[n + 2], (f & 192) === 128 && (g & 192) === 128 && (w = (s & 15) << 12 | (f & 63) << 6 | g & 63, w > 2047 && (w < 55296 || w > 57343) && (a = w));
1877
1877
  break;
1878
1878
  case 4:
1879
- f = t[n + 1], _ = t[n + 2], b = t[n + 3], (f & 192) === 128 && (_ & 192) === 128 && (b & 192) === 128 && (w = (s & 15) << 18 | (f & 63) << 12 | (_ & 63) << 6 | b & 63, w > 65535 && w < 1114112 && (a = w));
1879
+ f = t[n + 1], g = t[n + 2], b = t[n + 3], (f & 192) === 128 && (g & 192) === 128 && (b & 192) === 128 && (w = (s & 15) << 18 | (f & 63) << 12 | (g & 63) << 6 | b & 63, w > 65535 && w < 1114112 && (a = w));
1880
1880
  }
1881
1881
  }
1882
1882
  a === null ? (a = 65533, u = 1) : a > 65535 && (a -= 65536, i.push(a >>> 10 & 1023 | 55296), a = 56320 | a & 1023), i.push(a), n += u;
@@ -2250,7 +2250,7 @@ function da(t) {
2250
2250
  e.push(t.charCodeAt(r) & 255);
2251
2251
  return e;
2252
2252
  }
2253
- function _a(t, e) {
2253
+ function ga(t, e) {
2254
2254
  for (var r, i, n, s = [], a = 0; a < t.length && !((e -= 2) < 0); ++a)
2255
2255
  r = t.charCodeAt(a), i = r >> 8, n = r % 256, s.push(n), s.push(i);
2256
2256
  return s;
@@ -2263,7 +2263,7 @@ function st(t, e, r, i) {
2263
2263
  e[n + r] = t[n];
2264
2264
  return n;
2265
2265
  }
2266
- function ga(t) {
2266
+ function _a(t) {
2267
2267
  return t !== t;
2268
2268
  }
2269
2269
  function Xr(t) {
@@ -2430,20 +2430,20 @@ function Ze(t, e, r) {
2430
2430
  if (Oe(e))
2431
2431
  return mt(e);
2432
2432
  }
2433
- var f = "", _ = !1, b = ["{", "}"];
2434
- if (Gt(e) && (_ = !0, b = ["[", "]"]), De(e)) {
2433
+ var f = "", g = !1, b = ["{", "}"];
2434
+ if (Gt(e) && (g = !0, b = ["[", "]"]), De(e)) {
2435
2435
  var w = e.name ? ": " + e.name : "";
2436
2436
  f = " [Function" + w + "]";
2437
2437
  }
2438
- if (Fe(e) && (f = " " + RegExp.prototype.toString.call(e)), et(e) && (f = " " + Date.prototype.toUTCString.call(e)), Oe(e) && (f = " " + mt(e)), s.length === 0 && (!_ || e.length == 0))
2438
+ if (Fe(e) && (f = " " + RegExp.prototype.toString.call(e)), et(e) && (f = " " + Date.prototype.toUTCString.call(e)), Oe(e) && (f = " " + mt(e)), s.length === 0 && (!g || e.length == 0))
2439
2439
  return b[0] + f + b[1];
2440
2440
  if (r < 0)
2441
2441
  return Fe(e) ? t.stylize(RegExp.prototype.toString.call(e), "regexp") : t.stylize("[Object]", "special");
2442
2442
  t.seen.push(e);
2443
- var g;
2444
- return _ ? g = xa(t, e, r, a, s) : g = s.map(function(m) {
2445
- return Nt(t, e, r, a, m, _);
2446
- }), t.seen.pop(), Ra(g, f, b);
2443
+ var _;
2444
+ return g ? _ = xa(t, e, r, a, s) : _ = s.map(function(m) {
2445
+ return Nt(t, e, r, a, m, g);
2446
+ }), t.seen.pop(), Ra(_, f, b);
2447
2447
  }
2448
2448
  function Ea(t, e) {
2449
2449
  if (re(e))
@@ -2487,13 +2487,13 @@ function Nt(t, e, r, i, n, s) {
2487
2487
  var a, u, f;
2488
2488
  if (f = Object.getOwnPropertyDescriptor(e, n) || { value: e[n] }, f.get ? f.set ? u = t.stylize("[Getter/Setter]", "special") : u = t.stylize("[Getter]", "special") : f.set && (u = t.stylize("[Setter]", "special")), si(i, n) || (a = "[" + n + "]"), u || (t.seen.indexOf(f.value) < 0 ? (Ne(r) ? u = Ze(t, f.value, null) : u = Ze(t, f.value, r - 1), u.indexOf(`
2489
2489
  `) > -1 && (s ? u = u.split(`
2490
- `).map(function(_) {
2491
- return " " + _;
2490
+ `).map(function(g) {
2491
+ return " " + g;
2492
2492
  }).join(`
2493
2493
  `).substr(2) : u = `
2494
2494
  ` + u.split(`
2495
- `).map(function(_) {
2496
- return " " + _;
2495
+ `).map(function(g) {
2496
+ return " " + g;
2497
2497
  }).join(`
2498
2498
  `))) : u = t.stylize("[Circular]", "special")), re(a)) {
2499
2499
  if (s && n.match(/^\d+$/))
@@ -2651,52 +2651,52 @@ function Fa() {
2651
2651
  if (sr)
2652
2652
  return Et;
2653
2653
  sr = 1;
2654
- function t(g, m) {
2655
- var E = Object.keys(g);
2654
+ function t(_, m) {
2655
+ var E = Object.keys(_);
2656
2656
  if (Object.getOwnPropertySymbols) {
2657
- var S = Object.getOwnPropertySymbols(g);
2657
+ var S = Object.getOwnPropertySymbols(_);
2658
2658
  m && (S = S.filter(function(F) {
2659
- return Object.getOwnPropertyDescriptor(g, F).enumerable;
2659
+ return Object.getOwnPropertyDescriptor(_, F).enumerable;
2660
2660
  })), E.push.apply(E, S);
2661
2661
  }
2662
2662
  return E;
2663
2663
  }
2664
- function e(g) {
2664
+ function e(_) {
2665
2665
  for (var m = 1; m < arguments.length; m++) {
2666
2666
  var E = arguments[m] != null ? arguments[m] : {};
2667
2667
  m % 2 ? t(Object(E), !0).forEach(function(S) {
2668
- r(g, S, E[S]);
2669
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(g, Object.getOwnPropertyDescriptors(E)) : t(Object(E)).forEach(function(S) {
2670
- Object.defineProperty(g, S, Object.getOwnPropertyDescriptor(E, S));
2668
+ r(_, S, E[S]);
2669
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(E)) : t(Object(E)).forEach(function(S) {
2670
+ Object.defineProperty(_, S, Object.getOwnPropertyDescriptor(E, S));
2671
2671
  });
2672
2672
  }
2673
- return g;
2673
+ return _;
2674
2674
  }
2675
- function r(g, m, E) {
2676
- return m in g ? Object.defineProperty(g, m, { value: E, enumerable: !0, configurable: !0, writable: !0 }) : g[m] = E, g;
2675
+ function r(_, m, E) {
2676
+ return m in _ ? Object.defineProperty(_, m, { value: E, enumerable: !0, configurable: !0, writable: !0 }) : _[m] = E, _;
2677
2677
  }
2678
- function i(g, m) {
2679
- if (!(g instanceof m))
2678
+ function i(_, m) {
2679
+ if (!(_ instanceof m))
2680
2680
  throw new TypeError("Cannot call a class as a function");
2681
2681
  }
2682
- function n(g, m) {
2682
+ function n(_, m) {
2683
2683
  for (var E = 0; E < m.length; E++) {
2684
2684
  var S = m[E];
2685
- S.enumerable = S.enumerable || !1, S.configurable = !0, "value" in S && (S.writable = !0), Object.defineProperty(g, S.key, S);
2685
+ S.enumerable = S.enumerable || !1, S.configurable = !0, "value" in S && (S.writable = !0), Object.defineProperty(_, S.key, S);
2686
2686
  }
2687
2687
  }
2688
- function s(g, m, E) {
2689
- return m && n(g.prototype, m), E && n(g, E), g;
2688
+ function s(_, m, E) {
2689
+ return m && n(_.prototype, m), E && n(_, E), _;
2690
2690
  }
2691
- var a = ot, u = a.Buffer, f = oi, _ = f.inspect, b = _ && _.custom || "inspect";
2692
- function w(g, m, E) {
2693
- u.prototype.copy.call(g, m, E);
2691
+ var a = ot, u = a.Buffer, f = oi, g = f.inspect, b = g && g.custom || "inspect";
2692
+ function w(_, m, E) {
2693
+ u.prototype.copy.call(_, m, E);
2694
2694
  }
2695
2695
  return Et = /* @__PURE__ */ function() {
2696
- function g() {
2697
- i(this, g), this.head = null, this.tail = null, this.length = 0;
2696
+ function _() {
2697
+ i(this, _), this.head = null, this.tail = null, this.length = 0;
2698
2698
  }
2699
- return s(g, [{
2699
+ return s(_, [{
2700
2700
  key: "push",
2701
2701
  value: function(E) {
2702
2702
  var S = {
@@ -2787,12 +2787,12 @@ function Fa() {
2787
2787
  }, {
2788
2788
  key: b,
2789
2789
  value: function(E, S) {
2790
- return _(this, e({}, S, {
2790
+ return g(this, e({}, S, {
2791
2791
  depth: 0,
2792
2792
  customInspect: !1
2793
2793
  }));
2794
2794
  }
2795
- }]), g;
2795
+ }]), _;
2796
2796
  }(), Et;
2797
2797
  }
2798
2798
  function Oa(t, e) {
@@ -2833,8 +2833,8 @@ function X(t, e, r) {
2833
2833
  }
2834
2834
  var n = /* @__PURE__ */ function(s) {
2835
2835
  ka(a, s);
2836
- function a(u, f, _) {
2837
- return s.call(this, i(u, f, _)) || this;
2836
+ function a(u, f, g) {
2837
+ return s.call(this, i(u, f, g)) || this;
2838
2838
  }
2839
2839
  return a;
2840
2840
  }(r);
@@ -2958,7 +2958,7 @@ function ci() {
2958
2958
  function t(d) {
2959
2959
  var h = this;
2960
2960
  this.next = null, this.entry = null, this.finish = function() {
2961
- _t(h, d);
2961
+ gt(h, d);
2962
2962
  };
2963
2963
  }
2964
2964
  var e;
@@ -2973,7 +2973,7 @@ function ci() {
2973
2973
  function u(d) {
2974
2974
  return n.isBuffer(d) || d instanceof s;
2975
2975
  }
2976
- var f = li, _ = fi, b = _.getHighWaterMark, w = ye.codes, g = w.ERR_INVALID_ARG_TYPE, m = w.ERR_METHOD_NOT_IMPLEMENTED, E = w.ERR_MULTIPLE_CALLBACK, S = w.ERR_STREAM_CANNOT_PIPE, F = w.ERR_STREAM_DESTROYED, c = w.ERR_STREAM_NULL_VALUES, p = w.ERR_STREAM_WRITE_AFTER_END, R = w.ERR_UNKNOWN_ENCODING, C = f.errorOrDestroy;
2976
+ var f = li, g = fi, b = g.getHighWaterMark, w = ye.codes, _ = w.ERR_INVALID_ARG_TYPE, m = w.ERR_METHOD_NOT_IMPLEMENTED, E = w.ERR_MULTIPLE_CALLBACK, S = w.ERR_STREAM_CANNOT_PIPE, F = w.ERR_STREAM_DESTROYED, c = w.ERR_STREAM_NULL_VALUES, p = w.ERR_STREAM_WRITE_AFTER_END, R = w.ERR_UNKNOWN_ENCODING, C = f.errorOrDestroy;
2977
2977
  fe.exports(M, i);
2978
2978
  function D() {
2979
2979
  }
@@ -3022,7 +3022,7 @@ function ci() {
3022
3022
  }
3023
3023
  function B(d, h, x, O) {
3024
3024
  var P;
3025
- return x === null ? P = new c() : typeof x != "string" && !h.objectMode && (P = new g("chunk", ["string", "Buffer"], x)), P ? (C(d, P), N.nextTick(O, P), !1) : !0;
3025
+ return x === null ? P = new c() : typeof x != "string" && !h.objectMode && (P = new _("chunk", ["string", "Buffer"], x)), P ? (C(d, P), N.nextTick(O, P), !1) : !0;
3026
3026
  }
3027
3027
  M.prototype.write = function(d, h, x) {
3028
3028
  var O = this._writableState, P = !1, o = !O.objectMode && u(d);
@@ -3150,7 +3150,7 @@ function ci() {
3150
3150
  function dt(d, h, x) {
3151
3151
  h.ending = !0, he(d, h), x && (h.finished ? N.nextTick(x) : d.once("finish", x)), h.ended = !0, d.writable = !1;
3152
3152
  }
3153
- function _t(d, h, x) {
3153
+ function gt(d, h, x) {
3154
3154
  var O = d.entry;
3155
3155
  for (d.entry = null; O; ) {
3156
3156
  var P = O.callback;
@@ -3175,9 +3175,9 @@ function Re() {
3175
3175
  if (fr)
3176
3176
  return St;
3177
3177
  fr = 1;
3178
- var t = Object.keys || function(_) {
3178
+ var t = Object.keys || function(g) {
3179
3179
  var b = [];
3180
- for (var w in _)
3180
+ for (var w in g)
3181
3181
  b.push(w);
3182
3182
  return b;
3183
3183
  };
@@ -3188,10 +3188,10 @@ function Re() {
3188
3188
  var s = i[n];
3189
3189
  a.prototype[s] || (a.prototype[s] = r.prototype[s]);
3190
3190
  }
3191
- function a(_) {
3191
+ function a(g) {
3192
3192
  if (!(this instanceof a))
3193
- return new a(_);
3194
- e.call(this, _), r.call(this, _), this.allowHalfOpen = !0, _ && (_.readable === !1 && (this.readable = !1), _.writable === !1 && (this.writable = !1), _.allowHalfOpen === !1 && (this.allowHalfOpen = !1, this.once("end", u)));
3193
+ return new a(g);
3194
+ e.call(this, g), r.call(this, g), this.allowHalfOpen = !0, g && (g.readable === !1 && (this.readable = !1), g.writable === !1 && (this.writable = !1), g.allowHalfOpen === !1 && (this.allowHalfOpen = !1, this.once("end", u)));
3195
3195
  }
3196
3196
  Object.defineProperty(a.prototype, "writableHighWaterMark", {
3197
3197
  enumerable: !1,
@@ -3212,8 +3212,8 @@ function Re() {
3212
3212
  function u() {
3213
3213
  this._writableState.ended || N.nextTick(f, this);
3214
3214
  }
3215
- function f(_) {
3216
- _.end();
3215
+ function f(g) {
3216
+ g.end();
3217
3217
  }
3218
3218
  return Object.defineProperty(a.prototype, "destroyed", {
3219
3219
  enumerable: !1,
@@ -3244,8 +3244,8 @@ function Ya() {
3244
3244
  }, s.alloc = function(a, u, f) {
3245
3245
  if (typeof a != "number")
3246
3246
  throw new TypeError("Argument must be a number");
3247
- var _ = i(a);
3248
- return u !== void 0 ? typeof f == "string" ? _.fill(u, f) : _.fill(u) : _.fill(0), _;
3247
+ var g = i(a);
3248
+ return u !== void 0 ? typeof f == "string" ? g.fill(u, f) : g.fill(u) : g.fill(0), g;
3249
3249
  }, s.allocUnsafe = function(a) {
3250
3250
  if (typeof a != "number")
3251
3251
  throw new TypeError("Argument must be a number");
@@ -3318,7 +3318,7 @@ function dr() {
3318
3318
  var p;
3319
3319
  switch (this.encoding) {
3320
3320
  case "utf16le":
3321
- this.text = w, this.end = g, p = 4;
3321
+ this.text = w, this.end = _, p = 4;
3322
3322
  break;
3323
3323
  case "utf8":
3324
3324
  this.fillLast = f, p = 4;
@@ -3343,7 +3343,7 @@ function dr() {
3343
3343
  } else
3344
3344
  R = 0;
3345
3345
  return R < c.length ? p ? p + this.text(c, R) : this.text(c, R) : p || "";
3346
- }, n.prototype.end = b, n.prototype.text = _, n.prototype.fillLast = function(c) {
3346
+ }, n.prototype.end = b, n.prototype.text = g, n.prototype.fillLast = function(c) {
3347
3347
  if (this.lastNeed <= c.length)
3348
3348
  return c.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
3349
3349
  c.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, c.length), this.lastNeed -= c.length;
@@ -3376,7 +3376,7 @@ function dr() {
3376
3376
  return c.copy(this.lastChar, p, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
3377
3377
  c.copy(this.lastChar, p, 0, c.length), this.lastNeed -= c.length;
3378
3378
  }
3379
- function _(c, p) {
3379
+ function g(c, p) {
3380
3380
  var R = a(this, c, p);
3381
3381
  if (!this.lastNeed)
3382
3382
  return c.toString("utf8", p);
@@ -3400,7 +3400,7 @@ function dr() {
3400
3400
  }
3401
3401
  return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = c[c.length - 1], c.toString("utf16le", p, c.length - 1);
3402
3402
  }
3403
- function g(c) {
3403
+ function _(c) {
3404
3404
  var p = c && c.length ? this.write(c) : "";
3405
3405
  if (this.lastNeed) {
3406
3406
  var R = this.lastTotal - this.lastNeed;
@@ -3424,7 +3424,7 @@ function dr() {
3424
3424
  }
3425
3425
  return Tt;
3426
3426
  }
3427
- var _r = ye.codes.ERR_STREAM_PREMATURE_CLOSE;
3427
+ var gr = ye.codes.ERR_STREAM_PREMATURE_CLOSE;
3428
3428
  function za(t) {
3429
3429
  var e = !1;
3430
3430
  return function() {
@@ -3449,33 +3449,33 @@ function hi(t, e, r) {
3449
3449
  t.writable || u();
3450
3450
  }, a = t._writableState && t._writableState.finished, u = function() {
3451
3451
  n = !1, a = !0, i || r.call(t);
3452
- }, f = t._readableState && t._readableState.endEmitted, _ = function() {
3452
+ }, f = t._readableState && t._readableState.endEmitted, g = function() {
3453
3453
  i = !1, f = !0, n || r.call(t);
3454
3454
  }, b = function(E) {
3455
3455
  r.call(t, E);
3456
3456
  }, w = function() {
3457
3457
  var E;
3458
3458
  if (i && !f)
3459
- return (!t._readableState || !t._readableState.ended) && (E = new _r()), r.call(t, E);
3459
+ return (!t._readableState || !t._readableState.ended) && (E = new gr()), r.call(t, E);
3460
3460
  if (n && !a)
3461
- return (!t._writableState || !t._writableState.ended) && (E = new _r()), r.call(t, E);
3462
- }, g = function() {
3461
+ return (!t._writableState || !t._writableState.ended) && (E = new gr()), r.call(t, E);
3462
+ }, _ = function() {
3463
3463
  t.req.on("finish", u);
3464
3464
  };
3465
- return Va(t) ? (t.on("complete", u), t.on("abort", w), t.req ? g() : t.on("request", g)) : n && !t._writableState && (t.on("end", s), t.on("close", s)), t.on("end", _), t.on("finish", u), e.error !== !1 && t.on("error", b), t.on("close", w), function() {
3466
- t.removeListener("complete", u), t.removeListener("abort", w), t.removeListener("request", g), t.req && t.req.removeListener("finish", u), t.removeListener("end", s), t.removeListener("close", s), t.removeListener("finish", u), t.removeListener("end", _), t.removeListener("error", b), t.removeListener("close", w);
3465
+ return Va(t) ? (t.on("complete", u), t.on("abort", w), t.req ? _() : t.on("request", _)) : n && !t._writableState && (t.on("end", s), t.on("close", s)), t.on("end", g), t.on("finish", u), e.error !== !1 && t.on("error", b), t.on("close", w), function() {
3466
+ t.removeListener("complete", u), t.removeListener("abort", w), t.removeListener("request", _), t.req && t.req.removeListener("finish", u), t.removeListener("end", s), t.removeListener("close", s), t.removeListener("finish", u), t.removeListener("end", g), t.removeListener("error", b), t.removeListener("close", w);
3467
3467
  };
3468
3468
  }
3469
- var Qt = hi, Ct, gr;
3469
+ var Qt = hi, Ct, _r;
3470
3470
  function $a() {
3471
- if (gr)
3471
+ if (_r)
3472
3472
  return Ct;
3473
- gr = 1;
3473
+ _r = 1;
3474
3474
  var t;
3475
3475
  function e(c, p, R) {
3476
3476
  return p in c ? Object.defineProperty(c, p, { value: R, enumerable: !0, configurable: !0, writable: !0 }) : c[p] = R, c;
3477
3477
  }
3478
- var r = Qt, i = Symbol("lastResolve"), n = Symbol("lastReject"), s = Symbol("error"), a = Symbol("ended"), u = Symbol("lastPromise"), f = Symbol("handlePromise"), _ = Symbol("stream");
3478
+ var r = Qt, i = Symbol("lastResolve"), n = Symbol("lastReject"), s = Symbol("error"), a = Symbol("ended"), u = Symbol("lastPromise"), f = Symbol("handlePromise"), g = Symbol("stream");
3479
3479
  function b(c, p) {
3480
3480
  return {
3481
3481
  value: c,
@@ -3485,11 +3485,11 @@ function $a() {
3485
3485
  function w(c) {
3486
3486
  var p = c[i];
3487
3487
  if (p !== null) {
3488
- var R = c[_].read();
3488
+ var R = c[g].read();
3489
3489
  R !== null && (c[u] = null, c[i] = null, c[n] = null, p(b(R, !1)));
3490
3490
  }
3491
3491
  }
3492
- function g(c) {
3492
+ function _(c) {
3493
3493
  N.nextTick(w, c);
3494
3494
  }
3495
3495
  function m(c, p) {
@@ -3506,7 +3506,7 @@ function $a() {
3506
3506
  var E = Object.getPrototypeOf(function() {
3507
3507
  }), S = Object.setPrototypeOf((t = {
3508
3508
  get stream() {
3509
- return this[_];
3509
+ return this[g];
3510
3510
  },
3511
3511
  next: function() {
3512
3512
  var p = this, R = this[s];
@@ -3514,7 +3514,7 @@ function $a() {
3514
3514
  return Promise.reject(R);
3515
3515
  if (this[a])
3516
3516
  return Promise.resolve(b(void 0, !0));
3517
- if (this[_].destroyed)
3517
+ if (this[g].destroyed)
3518
3518
  return new Promise(function(z, M) {
3519
3519
  N.nextTick(function() {
3520
3520
  p[s] ? M(p[s]) : z(b(void 0, !0));
@@ -3524,7 +3524,7 @@ function $a() {
3524
3524
  if (C)
3525
3525
  D = new Promise(m(C, this));
3526
3526
  else {
3527
- var W = this[_].read();
3527
+ var W = this[g].read();
3528
3528
  if (W !== null)
3529
3529
  return Promise.resolve(b(W, !1));
3530
3530
  D = new Promise(this[f]);
@@ -3536,7 +3536,7 @@ function $a() {
3536
3536
  }), e(t, "return", function() {
3537
3537
  var p = this;
3538
3538
  return new Promise(function(R, C) {
3539
- p[_].destroy(null, function(D) {
3539
+ p[g].destroy(null, function(D) {
3540
3540
  if (D) {
3541
3541
  C(D);
3542
3542
  return;
@@ -3545,7 +3545,7 @@ function $a() {
3545
3545
  });
3546
3546
  });
3547
3547
  }), t), E), F = function(p) {
3548
- var R, C = Object.create(S, (R = {}, e(R, _, {
3548
+ var R, C = Object.create(S, (R = {}, e(R, g, {
3549
3549
  value: p,
3550
3550
  writable: !0
3551
3551
  }), e(R, i, {
@@ -3562,7 +3562,7 @@ function $a() {
3562
3562
  writable: !0
3563
3563
  }), e(R, f, {
3564
3564
  value: function(W, z) {
3565
- var M = C[_].read();
3565
+ var M = C[g].read();
3566
3566
  M ? (C[u] = null, C[i] = null, C[n] = null, W(b(M, !1))) : (C[i] = W, C[n] = z);
3567
3567
  },
3568
3568
  writable: !0
@@ -3575,7 +3575,7 @@ function $a() {
3575
3575
  }
3576
3576
  var z = C[i];
3577
3577
  z !== null && (C[u] = null, C[i] = null, C[n] = null, z(b(void 0, !0))), C[a] = !0;
3578
- }), p.on("readable", g.bind(null, C)), C;
3578
+ }), p.on("readable", _.bind(null, C)), C;
3579
3579
  };
3580
3580
  return Ct = F, Ct;
3581
3581
  }
@@ -3605,7 +3605,7 @@ function di() {
3605
3605
  var u = oi, f;
3606
3606
  u && u.debuglog ? f = u.debuglog("stream") : f = function() {
3607
3607
  };
3608
- var _ = Fa(), b = li, w = fi, g = w.getHighWaterMark, m = ye.codes, E = m.ERR_INVALID_ARG_TYPE, S = m.ERR_STREAM_PUSH_AFTER_EOF, F = m.ERR_METHOD_NOT_IMPLEMENTED, c = m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, p, R, C;
3608
+ var g = Fa(), b = li, w = fi, _ = w.getHighWaterMark, m = ye.codes, E = m.ERR_INVALID_ARG_TYPE, S = m.ERR_STREAM_PUSH_AFTER_EOF, F = m.ERR_METHOD_NOT_IMPLEMENTED, c = m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, p, R, C;
3609
3609
  fe.exports(A, r);
3610
3610
  var D = b.errorOrDestroy, W = ["error", "close", "destroy", "pause", "resume"];
3611
3611
  function z(o, l, v) {
@@ -3614,7 +3614,7 @@ function di() {
3614
3614
  !o._events || !o._events[l] ? o.on(l, v) : Array.isArray(o._events[l]) ? o._events[l].unshift(v) : o._events[l] = [v, o._events[l]];
3615
3615
  }
3616
3616
  function M(o, l, v) {
3617
- t = t || Re(), o = o || {}, typeof v != "boolean" && (v = l instanceof t), this.objectMode = !!o.objectMode, v && (this.objectMode = this.objectMode || !!o.readableObjectMode), this.highWaterMark = g(this, o, "readableHighWaterMark", v), this.buffer = new _(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = o.emitClose !== !1, this.autoDestroy = !!o.autoDestroy, this.destroyed = !1, this.defaultEncoding = o.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, o.encoding && (p || (p = dr().StringDecoder), this.decoder = new p(o.encoding), this.encoding = o.encoding);
3617
+ t = t || Re(), o = o || {}, typeof v != "boolean" && (v = l instanceof t), this.objectMode = !!o.objectMode, v && (this.objectMode = this.objectMode || !!o.readableObjectMode), this.highWaterMark = _(this, o, "readableHighWaterMark", v), this.buffer = new g(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = o.emitClose !== !1, this.autoDestroy = !!o.autoDestroy, this.destroyed = !1, this.defaultEncoding = o.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, o.encoding && (p || (p = dr().StringDecoder), this.decoder = new p(o.encoding), this.encoding = o.encoding);
3618
3618
  }
3619
3619
  function A(o) {
3620
3620
  if (t = t || Re(), !(this instanceof A))
@@ -3754,7 +3754,7 @@ function di() {
3754
3754
  o.on("drain", Ue);
3755
3755
  var tr = !1;
3756
3756
  function Si() {
3757
- f("cleanup"), o.removeListener("close", pt), o.removeListener("finish", yt), o.removeListener("drain", Ue), o.removeListener("error", gt), o.removeListener("unpipe", I), v.removeListener("end", we), v.removeListener("end", Ae), v.removeListener("data", rr), tr = !0, T.awaitDrain && (!o._writableState || o._writableState.needDrain) && Ue();
3757
+ f("cleanup"), o.removeListener("close", pt), o.removeListener("finish", yt), o.removeListener("drain", Ue), o.removeListener("error", _t), o.removeListener("unpipe", I), v.removeListener("end", we), v.removeListener("end", Ae), v.removeListener("data", rr), tr = !0, T.awaitDrain && (!o._writableState || o._writableState.needDrain) && Ue();
3758
3758
  }
3759
3759
  v.on("data", rr);
3760
3760
  function rr(be) {
@@ -3762,10 +3762,10 @@ function di() {
3762
3762
  var me = o.write(be);
3763
3763
  f("dest.write", me), me === !1 && ((T.pipesCount === 1 && T.pipes === o || T.pipesCount > 1 && P(T.pipes, o) !== -1) && !tr && (f("false write response, pause", T.awaitDrain), T.awaitDrain++), v.pause());
3764
3764
  }
3765
- function gt(be) {
3766
- f("onerror", be), Ae(), o.removeListener("error", gt), e(o, "error") === 0 && D(o, be);
3765
+ function _t(be) {
3766
+ f("onerror", be), Ae(), o.removeListener("error", _t), e(o, "error") === 0 && D(o, be);
3767
3767
  }
3768
- z(o, "error", gt);
3768
+ z(o, "error", _t);
3769
3769
  function pt() {
3770
3770
  o.removeListener("finish", yt), Ae();
3771
3771
  }
@@ -3826,9 +3826,9 @@ function di() {
3826
3826
  return o.flowing || (f("resume"), o.flowing = !o.readableListening, dt(this, o)), o.paused = !1, this;
3827
3827
  };
3828
3828
  function dt(o, l) {
3829
- l.resumeScheduled || (l.resumeScheduled = !0, N.nextTick(_t, o, l));
3829
+ l.resumeScheduled || (l.resumeScheduled = !0, N.nextTick(gt, o, l));
3830
3830
  }
3831
- function _t(o, l) {
3831
+ function gt(o, l) {
3832
3832
  f("resume", l.reading), l.reading || o.read(0), l.resumeScheduled = !1, o.emit("resume"), d(o), l.flowing && !l.reading && o.read(0);
3833
3833
  }
3834
3834
  A.prototype.pause = function() {
@@ -3917,7 +3917,7 @@ function di() {
3917
3917
  }
3918
3918
  return Ft;
3919
3919
  }
3920
- var _i = oe, ft = ye.codes, Ga = ft.ERR_METHOD_NOT_IMPLEMENTED, Ja = ft.ERR_MULTIPLE_CALLBACK, Ka = ft.ERR_TRANSFORM_ALREADY_TRANSFORMING, Xa = ft.ERR_TRANSFORM_WITH_LENGTH_0, ct = Re();
3920
+ var gi = oe, ft = ye.codes, Ga = ft.ERR_METHOD_NOT_IMPLEMENTED, Ja = ft.ERR_MULTIPLE_CALLBACK, Ka = ft.ERR_TRANSFORM_ALREADY_TRANSFORMING, Xa = ft.ERR_TRANSFORM_WITH_LENGTH_0, ct = Re();
3921
3921
  fe.exports(oe, ct);
3922
3922
  function Qa(t, e) {
3923
3923
  var r = this._transformState;
@@ -3978,12 +3978,12 @@ function wr(t, e, r) {
3978
3978
  throw new Ka();
3979
3979
  return t.push(null);
3980
3980
  }
3981
- var es = ke, gi = _i;
3982
- fe.exports(ke, gi);
3981
+ var es = ke, _i = gi;
3982
+ fe.exports(ke, _i);
3983
3983
  function ke(t) {
3984
3984
  if (!(this instanceof ke))
3985
3985
  return new ke(t);
3986
- gi.call(this, t);
3986
+ _i.call(this, t);
3987
3987
  }
3988
3988
  ke.prototype._transform = function(t, e, r) {
3989
3989
  r(null, t);
@@ -4043,8 +4043,8 @@ function ls() {
4043
4043
  if (Array.isArray(e[0]) && (e = e[0]), e.length < 2)
4044
4044
  throw new rs("streams");
4045
4045
  var n, s = e.map(function(a, u) {
4046
- var f = u < e.length - 1, _ = u > 0;
4047
- return as(a, f, _, function(b) {
4046
+ var f = u < e.length - 1, g = u > 0;
4047
+ return as(a, f, g, function(b) {
4048
4048
  n || (n = b), b && s.forEach(mr), !f && (s.forEach(mr), i(n));
4049
4049
  });
4050
4050
  });
@@ -4052,7 +4052,7 @@ function ls() {
4052
4052
  }
4053
4053
  var us = ls;
4054
4054
  (function(t, e) {
4055
- e = t.exports = di(), e.Stream = e, e.Readable = e, e.Writable = ci(), e.Duplex = Re(), e.Transform = _i, e.PassThrough = es, e.finished = Qt, e.pipeline = us;
4055
+ e = t.exports = di(), e.Stream = e, e.Readable = e, e.Writable = ci(), e.Duplex = Re(), e.Transform = gi, e.PassThrough = es, e.finished = Qt, e.pipeline = us;
4056
4056
  })(Mt, Mt.exports);
4057
4057
  var yi = Mt.exports.Transform, wi = fe.exports;
4058
4058
  function Se(t) {
@@ -4155,10 +4155,10 @@ class cs {
4155
4155
  const n = new jt();
4156
4156
  e.filter((s) => typeof s == "object").forEach((s) => {
4157
4157
  var a, u;
4158
- const { tagName: f, attributes: _, children: b } = s;
4159
- let w = f, g = _;
4158
+ const { tagName: f, attributes: g, children: b } = s;
4159
+ let w = f, _ = g;
4160
4160
  if (f === "field") {
4161
- const { name: R, widget: C } = _;
4161
+ const { name: R, widget: C } = g;
4162
4162
  if (C)
4163
4163
  w = C;
4164
4164
  else if (R) {
@@ -4168,36 +4168,36 @@ class cs {
4168
4168
  );
4169
4169
  w = this._fields[R].type;
4170
4170
  }
4171
- g = {
4171
+ _ = {
4172
4172
  ...this._fields[R],
4173
- ..._,
4173
+ ...g,
4174
4174
  fieldsWidgetType: this._fields[R].type
4175
4175
  };
4176
4176
  }
4177
4177
  const m = Fi({
4178
- tagAttributes: g,
4178
+ tagAttributes: _,
4179
4179
  values: i,
4180
4180
  fields: this._fields
4181
4181
  });
4182
4182
  let E;
4183
- f === "button" && g.states ? E = an({
4184
- states: g.states,
4183
+ f === "button" && _.states ? E = an({
4184
+ states: _.states,
4185
4185
  values: i
4186
4186
  }) : E = nn({
4187
- fieldName: g.name,
4187
+ fieldName: _.name,
4188
4188
  values: i,
4189
4189
  fields: this._fields
4190
4190
  });
4191
4191
  const S = on({
4192
- context: g.context || ((a = this._fields[g.name]) == null ? void 0 : a.context),
4192
+ context: _.context || ((a = this._fields[_.name]) == null ? void 0 : a.context),
4193
4193
  values: i,
4194
4194
  fields: this._fields
4195
4195
  });
4196
- g.on_change && (this._onChangeFields[g.name] = fn(
4197
- g.on_change
4196
+ _.on_change && (this._onChangeFields[_.name] = fn(
4197
+ _.on_change
4198
4198
  ));
4199
4199
  let F;
4200
- vr(g.domain) && (F = g.domain), vr((u = this._fields[g.name]) == null ? void 0 : u.domain) && (F = this._fields[g.name].domain), this._keyIdx = this._keyIdx + 1;
4200
+ vr(_.domain) && (F = _.domain), vr((u = this._fields[_.name]) == null ? void 0 : u.domain) && (F = this._fields[_.name].domain), this._keyIdx = this._keyIdx + 1;
4201
4201
  const c = {
4202
4202
  ...m,
4203
4203
  ...E,
@@ -4252,7 +4252,7 @@ class ks {
4252
4252
  const { tagName: s, attributes: a } = n;
4253
4253
  let u = null;
4254
4254
  if (s === "field") {
4255
- const { name: f, widget: _ } = a;
4255
+ const { name: f, widget: g } = a;
4256
4256
  let b = a;
4257
4257
  if (f) {
4258
4258
  if (!this._fields[f])
@@ -4264,7 +4264,7 @@ class ks {
4264
4264
  fieldsWidgetType: w == null ? void 0 : w.type
4265
4265
  };
4266
4266
  }
4267
- if (_ && (u = _), !b.invisible) {
4267
+ if (g && (u = g), !b.invisible) {
4268
4268
  const w = i.createWidget(u, b);
4269
4269
  this._columns.push(w);
4270
4270
  }
@@ -4334,8 +4334,8 @@ class Ps {
4334
4334
  name: n,
4335
4335
  colspan: 2
4336
4336
  }, { type: f } = u;
4337
- let _ = (a = (s = i.findById(n)) == null ? void 0 : s.type) != null ? a : f;
4338
- return hs[_] === void 0 && (_ = f), r.createWidget(_, u);
4337
+ let g = (a = (s = i.findById(n)) == null ? void 0 : s.type) != null ? a : f;
4338
+ return hs[g] === void 0 && (g = f), r.createWidget(g, u);
4339
4339
  });
4340
4340
  }
4341
4341
  findById(e) {
@@ -4400,10 +4400,10 @@ class bi {
4400
4400
  return this._timerange;
4401
4401
  }
4402
4402
  }
4403
- const _s = (t) => t === 1 || t === "1" || t === !0 || t === "True";
4403
+ const gs = (t) => t === 1 || t === "1" || t === !0 || t === "True";
4404
4404
  class mi extends bi {
4405
4405
  constructor(e, r) {
4406
- super(r), this._color = null, this._icon = null, this._totalDomain = null, this._showPercent = !1, this._suffix = null, this._type = e, this._color = r.attributes.color || null, this._color && (this._color = q(this._color)), this._icon = r.attributes.icon || null, this._icon && (this._icon = q(this._icon)), this._suffix = r.attributes.suffix || null, this._totalDomain = r.attributes.totalDomain || null, this._showPercent = _s(r.attributes.showPercent);
4406
+ super(r), this._color = null, this._icon = null, this._totalDomain = null, this._showPercent = !1, this._suffix = null, this._type = e, this._color = r.attributes.color || null, this._color && (this._color = q(this._color)), this._icon = r.attributes.icon || null, this._icon && (this._icon = q(this._icon)), this._suffix = r.attributes.suffix || null, this._totalDomain = r.attributes.totalDomain || null, this._showPercent = gs(r.attributes.showPercent);
4407
4407
  }
4408
4408
  get color() {
4409
4409
  return this._color;
@@ -4421,7 +4421,7 @@ class mi extends bi {
4421
4421
  return this._suffix;
4422
4422
  }
4423
4423
  }
4424
- class gs extends mi {
4424
+ class _s extends mi {
4425
4425
  constructor(e, r) {
4426
4426
  super(e, r);
4427
4427
  const { children: i } = r;
@@ -4484,7 +4484,7 @@ class Dt extends bi {
4484
4484
  }
4485
4485
  const ys = {
4486
4486
  indicator: mi,
4487
- indicatorField: gs,
4487
+ indicatorField: _s,
4488
4488
  line: Dt,
4489
4489
  bar: Dt,
4490
4490
  pie: Dt
@@ -4584,21 +4584,21 @@ function Es({
4584
4584
  return Object.keys(i).forEach((a) => {
4585
4585
  const u = i[a];
4586
4586
  for (let f = 0; f < u.length; f++) {
4587
- const _ = u[f];
4588
- if (r.push(_), f === u.length - 1)
4587
+ const g = u[f];
4588
+ if (r.push(g), f === u.length - 1)
4589
4589
  return;
4590
- const b = _.x, w = u[f + 1].x;
4590
+ const b = g.x, w = u[f + 1].x;
4591
4591
  if (!Ei([b, w], n)) {
4592
- const g = xs({
4592
+ const _ = xs({
4593
4593
  dates: [b, w],
4594
4594
  timerange: e
4595
4595
  });
4596
4596
  r = r.concat(
4597
- g.map((m) => ({
4597
+ _.map((m) => ({
4598
4598
  x: m,
4599
4599
  value: 0,
4600
- type: _.type,
4601
- stacked: _.stacked
4600
+ type: g.type,
4601
+ stacked: g.stacked
4602
4602
  }))
4603
4603
  );
4604
4604
  }
@@ -4616,8 +4616,8 @@ function xs({
4616
4616
  for (let s = 0; s < n.length - 1; s++) {
4617
4617
  const a = n[s], u = n[s + 1];
4618
4618
  if (!Ei([a, u], i)) {
4619
- let f = Me(a, Ge(i)).add(1, i), _ = Me(u, Ge(i));
4620
- for (; f.isBefore(_); )
4619
+ let f = Me(a, Ge(i)).add(1, i), g = Me(u, Ge(i));
4620
+ for (; f.isBefore(g); )
4621
4621
  r.push(f.format(Ge(i))), f.add(1, i);
4622
4622
  }
4623
4623
  }
@@ -4638,7 +4638,7 @@ function Rs({
4638
4638
  });
4639
4639
  return Object.keys(n).forEach((s) => {
4640
4640
  const a = n[s], u = a[0].operator === "count" ? "+" : a[0].operator, f = tt({
4641
- values: a.map((_) => _.value),
4641
+ values: a.map((g) => g.value),
4642
4642
  operator: u
4643
4643
  });
4644
4644
  i.push({
@@ -4749,12 +4749,12 @@ const As = {
4749
4749
  values: e,
4750
4750
  fields: r
4751
4751
  }), s = [];
4752
- t.y.forEach((g) => {
4752
+ t.y.forEach((_) => {
4753
4753
  Object.keys(n).forEach((m) => {
4754
4754
  const E = n[m].label, S = n[m].entries;
4755
- if (g.label) {
4755
+ if (_.label) {
4756
4756
  const F = Lt({
4757
- fieldName: g.label,
4757
+ fieldName: _.label,
4758
4758
  values: S,
4759
4759
  fields: r
4760
4760
  });
@@ -4762,53 +4762,53 @@ const As = {
4762
4762
  const p = F[c].entries, R = F[c].label, C = Bt({
4763
4763
  entries: p,
4764
4764
  fields: r,
4765
- fieldName: g.name
4765
+ fieldName: _.name
4766
4766
  }), D = tt({
4767
4767
  values: C,
4768
- operator: g.operator
4768
+ operator: _.operator
4769
4769
  });
4770
4770
  s.push({
4771
4771
  x: E || !1,
4772
4772
  value: D,
4773
4773
  type: R,
4774
- operator: g.operator,
4775
- stacked: g.stacked
4774
+ operator: _.operator,
4775
+ stacked: _.stacked
4776
4776
  });
4777
4777
  });
4778
4778
  } else {
4779
4779
  const F = Bt({
4780
4780
  entries: S,
4781
4781
  fields: r,
4782
- fieldName: g.name
4782
+ fieldName: _.name
4783
4783
  }), c = tt({
4784
4784
  values: F,
4785
- operator: g.operator
4785
+ operator: _.operator
4786
4786
  });
4787
4787
  s.push({
4788
4788
  x: E || !1,
4789
4789
  value: c,
4790
4790
  type: Ri({
4791
- yAxis: g,
4791
+ yAxis: _,
4792
4792
  fields: r
4793
4793
  }),
4794
- operator: g.operator,
4795
- stacked: g.stacked
4794
+ operator: _.operator,
4795
+ stacked: _.stacked
4796
4796
  });
4797
4797
  }
4798
4798
  });
4799
4799
  });
4800
- const a = t.y.some((g) => g.label !== void 0), u = t.y.some((g) => g.stacked !== void 0);
4801
- let _ = [...s.sort((g, m) => g.x < m.x ? -1 : g.x > m.x ? 1 : 0)];
4802
- u && t.y.filter((g) => g.stacked !== void 0).length > 1 && (_ = _.map((g) => ({ ...g, type: `${g.type} - ${g.stacked}` })));
4803
- let b = [..._];
4804
- t.type === "pie" && b.some((g) => g.x === !1) ? b = b.map((g) => g.x === !1 ? { ...g, x: (i == null ? void 0 : i.uninformedString) || "Not informed" } : g) : _.some((g) => g.x === !1) && (b = b.filter(
4805
- (g) => g.x !== !1
4800
+ const a = t.y.some((_) => _.label !== void 0), u = t.y.some((_) => _.stacked !== void 0);
4801
+ let g = [...s.sort((_, m) => _.x < m.x ? -1 : _.x > m.x ? 1 : 0)];
4802
+ u && t.y.filter((_) => _.stacked !== void 0).length > 1 && (g = g.map((_) => ({ ..._, type: `${_.type} - ${_.stacked}` })));
4803
+ let b = [...g];
4804
+ t.type === "pie" && b.some((_) => _.x === !1) ? b = b.map((_) => _.x === !1 ? { ..._, x: (i == null ? void 0 : i.uninformedString) || "Not informed" } : _) : g.some((_) => _.x === !1) && (b = b.filter(
4805
+ (_) => _.x !== !1
4806
4806
  ));
4807
4807
  let w = b;
4808
4808
  return t.timerange ? w = vs({
4809
4809
  values: w,
4810
4810
  timerange: t.timerange
4811
- }) : t.type == "pie" && (w = b.sort((g, m) => m.value - g.value)), {
4811
+ }) : t.type == "pie" && (w = b.sort((_, m) => m.value - _.value)), {
4812
4812
  data: w,
4813
4813
  isGroup: u || a,
4814
4814
  isStack: u
@@ -4924,7 +4924,7 @@ export {
4924
4924
  vi as GraphAxis,
4925
4925
  Dt as GraphChart,
4926
4926
  mi as GraphIndicator,
4927
- gs as GraphIndicatorField,
4927
+ _s as GraphIndicatorField,
4928
4928
  bs as GraphXAxis,
4929
4929
  ws as GraphYAxis,
4930
4930
  Mi as Group,