@gisce/ooui 0.19.1-rc.0 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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 = $(u), _ = JSON.parse(f), b = {};
111
- for (const w of Object.keys(_))
112
- _[w].map((T) => Ci({ entry: T, values: e, fields: r })).every((T) => T === !0) && (b[w] = !0);
110
+ const u = t.replace(/\(/g, "[").replace(/\)/g, "]").replace(/\'/g, '"').replace(/True/g, "true").replace(/False/g, "false"), f = $(u), g = JSON.parse(f), b = {};
111
+ for (const w of Object.keys(g))
112
+ g[w].map((T) => Ci({ entry: T, values: e, fields: r })).every((T) => T === !0) && (b[w] = !0);
113
113
  return b;
114
114
  }, Fi = ({
115
115
  tagAttributes: t,
@@ -380,7 +380,13 @@ class Di extends Ce {
380
380
  }
381
381
  class Oi extends Ce {
382
382
  constructor(e) {
383
- super(e);
383
+ super(e), this._icon = null, e && e.icon && (this._icon = e.icon);
384
+ }
385
+ get icon() {
386
+ return this._icon;
387
+ }
388
+ set icon(e) {
389
+ this._icon = e;
384
390
  }
385
391
  }
386
392
  class Mi extends W {
@@ -711,12 +717,6 @@ class $i extends Sr {
711
717
  set summaryField(e) {
712
718
  this._summaryField = e;
713
719
  }
714
- get iconField() {
715
- return this.parsedWidgetProps.iconField;
716
- }
717
- get colorField() {
718
- return this.parsedWidgetProps.colorField;
719
- }
720
720
  }
721
721
  class Hi extends Pe {
722
722
  constructor(e) {
@@ -971,14 +971,14 @@ const en = ({
971
971
  for (const u of Object.keys(n))
972
972
  if (e.state === u) {
973
973
  const f = n[u];
974
- for (const _ of f) {
975
- const [b, w] = _;
974
+ for (const g of f) {
975
+ const [b, w] = g;
976
976
  a[b] || (a[b] = []), a[b].push(w);
977
977
  }
978
978
  }
979
979
  for (const u of Object.keys(a)) {
980
980
  const f = a[u];
981
- s[u] = f.some((_) => _ === !0);
981
+ s[u] = f.some((g) => g === !0);
982
982
  }
983
983
  return s;
984
984
  }, tn = ({
@@ -1008,18 +1008,18 @@ const nn = ({
1008
1008
  if (!t || t.trim().length === 0)
1009
1009
  return;
1010
1010
  var i = t.replace(/\"/g, "'").replace(/\s/g, "").replace(/True/g, "true"), n = i.replace(/False/g, "false");
1011
- const b = n.replace(/\{/g, "").replace(/\}/g, "").split(",").map((g) => g.split(":")), w = {};
1012
- return b.forEach((g) => {
1013
- const E = g[1];
1014
- if (g[1].indexOf("'") === -1 && g[1] !== "true" && g[1] !== "false") {
1011
+ const b = n.replace(/\{/g, "").replace(/\}/g, "").split(",").map((_) => _.split(":")), w = {};
1012
+ return b.forEach((_) => {
1013
+ const E = _[1];
1014
+ if (_[1].indexOf("'") === -1 && _[1] !== "true" && _[1] !== "false") {
1015
1015
  const v = rn({
1016
1016
  values: e,
1017
1017
  fields: r,
1018
1018
  fieldName: E === "active_id" ? "id" : E
1019
1019
  });
1020
- w[g[0].replace(/'/g, "")] = v || void 0;
1020
+ w[_[0].replace(/'/g, "")] = v || void 0;
1021
1021
  } else
1022
- g[1] === "true" ? w[g[0].replace(/'/g, "")] = !0 : g[1] === "false" ? w[g[0].replace(/'/g, "")] = !1 : w[g[0].replace(/'/g, "")] = g[1].replace(
1022
+ _[1] === "true" ? w[_[0].replace(/'/g, "")] = !0 : _[1] === "false" ? w[_[0].replace(/'/g, "")] = !1 : w[_[0].replace(/'/g, "")] = _[1].replace(
1023
1023
  /'/g,
1024
1024
  ""
1025
1025
  );
@@ -1036,7 +1036,7 @@ const nn = ({
1036
1036
  };
1037
1037
  function rt(t, e) {
1038
1038
  e = e || {};
1039
- 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), E = '"'.charCodeAt(0), v = "[".charCodeAt(0), T = "]".charCodeAt(0);
1039
+ 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), E = '"'.charCodeAt(0), v = "[".charCodeAt(0), T = "]".charCodeAt(0);
1040
1040
  function F(A) {
1041
1041
  for (var B = []; t[r]; )
1042
1042
  if (t.charCodeAt(r) == a) {
@@ -1056,9 +1056,9 @@ Char: ` + t[r]
1056
1056
  }
1057
1057
  return r + 1 && (r += 1), B;
1058
1058
  } else if (t.charCodeAt(r + 1) === w) {
1059
- if (t.charCodeAt(r + 2) == _) {
1059
+ if (t.charCodeAt(r + 2) == g) {
1060
1060
  const ee = r;
1061
- for (; r !== -1 && !(t.charCodeAt(r) === f && t.charCodeAt(r - 1) == _ && t.charCodeAt(r - 2) == _ && r != -1); )
1061
+ for (; r !== -1 && !(t.charCodeAt(r) === f && t.charCodeAt(r - 1) == g && t.charCodeAt(r - 2) == g && r != -1); )
1062
1062
  r = t.indexOf(u, r + 1);
1063
1063
  r === -1 && (r = t.length), i && B.push(t.substring(ee, r + 1));
1064
1064
  } else if (t.charCodeAt(r + 2) === v && t.charCodeAt(r + 8) === v && t.substr(r + 3, 5).toLowerCase() === "cdata") {
@@ -1108,9 +1108,9 @@ Char: ` + t[r]
1108
1108
  for (; t.charCodeAt(r) !== f && t[r]; ) {
1109
1109
  var Z = t.charCodeAt(r);
1110
1110
  if (Z > 64 && Z < 91 || Z > 96 && Z < 123) {
1111
- for (var H = R(), j = t.charCodeAt(r); j && j !== g && j !== E && !(j > 64 && j < 91 || j > 96 && j < 123) && j !== f; )
1111
+ for (var H = R(), j = t.charCodeAt(r); j && j !== _ && j !== E && !(j > 64 && j < 91 || j > 96 && j < 123) && j !== f; )
1112
1112
  r++, j = t.charCodeAt(r);
1113
- if (j === g || j === E) {
1113
+ if (j === _ || j === E) {
1114
1114
  var G = U();
1115
1115
  if (r === -1)
1116
1116
  return {
@@ -1253,10 +1253,10 @@ function Pr(t, e) {
1253
1253
  Pr.prototype.run = function() {
1254
1254
  this.fun.apply(null, this.array);
1255
1255
  };
1256
- var un = "browser", fn = "browser", cn = !0, hn = {}, dn = [], gn = "", _n = {}, pn = {}, yn = {};
1257
- function _e() {
1256
+ var un = "browser", fn = "browser", cn = !0, hn = {}, dn = [], _n = "", gn = {}, pn = {}, yn = {};
1257
+ function ge() {
1258
1258
  }
1259
- var wn = _e, bn = _e, mn = _e, vn = _e, En = _e, xn = _e, Rn = _e;
1259
+ var wn = ge, bn = ge, mn = ge, vn = ge, En = ge, xn = ge, Rn = ge;
1260
1260
  function Tn(t) {
1261
1261
  throw new Error("process.binding is not supported");
1262
1262
  }
@@ -1287,8 +1287,8 @@ var N = {
1287
1287
  browser: cn,
1288
1288
  env: hn,
1289
1289
  argv: dn,
1290
- version: gn,
1291
- versions: _n,
1290
+ version: _n,
1291
+ versions: gn,
1292
1292
  on: wn,
1293
1293
  addListener: bn,
1294
1294
  once: mn,
@@ -1363,25 +1363,25 @@ function rr(t) {
1363
1363
  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("");
1364
1364
  }
1365
1365
  function it(t, e, r, i, n) {
1366
- 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, E = t[e + w];
1367
- for (w += g, s = E & (1 << -b) - 1, E >>= -b, b += u; b > 0; s = s * 256 + t[e + w], w += g, b -= 8)
1366
+ 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, E = t[e + w];
1367
+ for (w += _, s = E & (1 << -b) - 1, E >>= -b, b += u; b > 0; s = s * 256 + t[e + w], w += _, b -= 8)
1368
1368
  ;
1369
- for (a = s & (1 << -b) - 1, s >>= -b, b += i; b > 0; a = a * 256 + t[e + w], w += g, b -= 8)
1369
+ for (a = s & (1 << -b) - 1, s >>= -b, b += i; b > 0; a = a * 256 + t[e + w], w += _, b -= 8)
1370
1370
  ;
1371
1371
  if (s === 0)
1372
- s = 1 - _;
1372
+ s = 1 - g;
1373
1373
  else {
1374
1374
  if (s === f)
1375
1375
  return a ? NaN : (E ? -1 : 1) * (1 / 0);
1376
- a = a + Math.pow(2, i), s = s - _;
1376
+ a = a + Math.pow(2, i), s = s - g;
1377
1377
  }
1378
1378
  return (E ? -1 : 1) * a * Math.pow(2, s - i);
1379
1379
  }
1380
1380
  function Lr(t, e, r, i, n, s) {
1381
- 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, E = i ? 0 : s - 1, v = i ? 1 : -1, T = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
1382
- 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 + E] = u & 255, E += v, u /= 256, n -= 8)
1381
+ 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, E = i ? 0 : s - 1, v = i ? 1 : -1, T = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
1382
+ 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 + E] = u & 255, E += v, u /= 256, n -= 8)
1383
1383
  ;
1384
- for (a = a << n | u, _ += n; _ > 0; t[r + E] = a & 255, E += v, a /= 256, _ -= 8)
1384
+ for (a = a << n | u, g += n; g > 0; t[r + E] = a & 255, E += v, a /= 256, g -= 8)
1385
1385
  ;
1386
1386
  t[r + E - v] |= T * 128;
1387
1387
  }
@@ -1614,7 +1614,7 @@ function $n(t, e, r) {
1614
1614
  }
1615
1615
  }
1616
1616
  y.prototype._isBuffer = !0;
1617
- function ge(t, e, r) {
1617
+ function _e(t, e, r) {
1618
1618
  var i = t[e];
1619
1619
  t[e] = t[r], t[r] = i;
1620
1620
  }
@@ -1623,7 +1623,7 @@ y.prototype.swap16 = function() {
1623
1623
  if (e % 2 !== 0)
1624
1624
  throw new RangeError("Buffer size must be a multiple of 16-bits");
1625
1625
  for (var r = 0; r < e; r += 2)
1626
- ge(this, r, r + 1);
1626
+ _e(this, r, r + 1);
1627
1627
  return this;
1628
1628
  };
1629
1629
  y.prototype.swap32 = function() {
@@ -1631,7 +1631,7 @@ y.prototype.swap32 = function() {
1631
1631
  if (e % 4 !== 0)
1632
1632
  throw new RangeError("Buffer size must be a multiple of 32-bits");
1633
1633
  for (var r = 0; r < e; r += 4)
1634
- ge(this, r, r + 3), ge(this, r + 1, r + 2);
1634
+ _e(this, r, r + 3), _e(this, r + 1, r + 2);
1635
1635
  return this;
1636
1636
  };
1637
1637
  y.prototype.swap64 = function() {
@@ -1639,7 +1639,7 @@ y.prototype.swap64 = function() {
1639
1639
  if (e % 8 !== 0)
1640
1640
  throw new RangeError("Buffer size must be a multiple of 64-bits");
1641
1641
  for (var r = 0; r < e; r += 8)
1642
- ge(this, r, r + 7), ge(this, r + 1, r + 6), ge(this, r + 2, r + 5), ge(this, r + 3, r + 4);
1642
+ _e(this, r, r + 7), _e(this, r + 1, r + 6), _e(this, r + 2, r + 5), _e(this, r + 3, r + 4);
1643
1643
  return this;
1644
1644
  };
1645
1645
  y.prototype.toString = function() {
@@ -1668,9 +1668,9 @@ y.prototype.compare = function(e, r, i, n, s) {
1668
1668
  return 1;
1669
1669
  if (r >>>= 0, i >>>= 0, n >>>= 0, s >>>= 0, this === e)
1670
1670
  return 0;
1671
- 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)
1672
- if (_[w] !== b[w]) {
1673
- a = _[w], u = b[w];
1671
+ 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)
1672
+ if (g[w] !== b[w]) {
1673
+ a = g[w], u = b[w];
1674
1674
  break;
1675
1675
  }
1676
1676
  return a < u ? -1 : u < a ? 1 : 0;
@@ -1703,24 +1703,24 @@ function ir(t, e, r, i, n) {
1703
1703
  function f(E, v) {
1704
1704
  return s === 1 ? E[v] : E.readUInt16BE(v * s);
1705
1705
  }
1706
- var _;
1706
+ var g;
1707
1707
  if (n) {
1708
1708
  var b = -1;
1709
- for (_ = r; _ < a; _++)
1710
- if (f(t, _) === f(e, b === -1 ? 0 : _ - b)) {
1711
- if (b === -1 && (b = _), _ - b + 1 === u)
1709
+ for (g = r; g < a; g++)
1710
+ if (f(t, g) === f(e, b === -1 ? 0 : g - b)) {
1711
+ if (b === -1 && (b = g), g - b + 1 === u)
1712
1712
  return b * s;
1713
1713
  } else
1714
- b !== -1 && (_ -= _ - b), b = -1;
1714
+ b !== -1 && (g -= g - b), b = -1;
1715
1715
  } else
1716
- for (r + u > a && (r = a - u), _ = r; _ >= 0; _--) {
1717
- for (var w = !0, g = 0; g < u; g++)
1718
- if (f(t, _ + g) !== f(e, g)) {
1716
+ for (r + u > a && (r = a - u), g = r; g >= 0; g--) {
1717
+ for (var w = !0, _ = 0; _ < u; _++)
1718
+ if (f(t, g + _) !== f(e, _)) {
1719
1719
  w = !1;
1720
1720
  break;
1721
1721
  }
1722
1722
  if (w)
1723
- return _;
1723
+ return g;
1724
1724
  }
1725
1725
  return -1;
1726
1726
  }
@@ -1818,7 +1818,7 @@ function $r(t, e, r) {
1818
1818
  for (var i = [], n = e; n < r; ) {
1819
1819
  var s = t[n], a = null, u = s > 239 ? 4 : s > 223 ? 3 : s > 191 ? 2 : 1;
1820
1820
  if (n + u <= r) {
1821
- var f, _, b, w;
1821
+ var f, g, b, w;
1822
1822
  switch (u) {
1823
1823
  case 1:
1824
1824
  s < 128 && (a = s);
@@ -1827,10 +1827,10 @@ function $r(t, e, r) {
1827
1827
  f = t[n + 1], (f & 192) === 128 && (w = (s & 31) << 6 | f & 63, w > 127 && (a = w));
1828
1828
  break;
1829
1829
  case 3:
1830
- 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));
1830
+ 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));
1831
1831
  break;
1832
1832
  case 4:
1833
- 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));
1833
+ 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));
1834
1834
  }
1835
1835
  }
1836
1836
  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;
@@ -2319,9 +2319,9 @@ function ei(t) {
2319
2319
  function ie(t, e) {
2320
2320
  var r = {
2321
2321
  seen: [],
2322
- stylize: _a
2322
+ stylize: ga
2323
2323
  };
2324
- return arguments.length >= 3 && (r.depth = arguments[2]), arguments.length >= 4 && (r.colors = arguments[3]), ut(e) ? r.showHidden = e : e && Xt(r, e), re(r.showHidden) && (r.showHidden = !1), re(r.depth) && (r.depth = 2), re(r.colors) && (r.colors = !1), re(r.customInspect) && (r.customInspect = !0), r.colors && (r.stylize = ga), Ze(r, t, r.depth);
2324
+ return arguments.length >= 3 && (r.depth = arguments[2]), arguments.length >= 4 && (r.colors = arguments[3]), ut(e) ? r.showHidden = e : e && Xt(r, e), re(r.showHidden) && (r.showHidden = !1), re(r.depth) && (r.depth = 2), re(r.colors) && (r.colors = !1), re(r.customInspect) && (r.customInspect = !0), r.colors && (r.stylize = _a), Ze(r, t, r.depth);
2325
2325
  }
2326
2326
  ie.colors = {
2327
2327
  bold: [1, 22],
@@ -2348,11 +2348,11 @@ ie.styles = {
2348
2348
  date: "magenta",
2349
2349
  regexp: "red"
2350
2350
  };
2351
- function ga(t, e) {
2351
+ function _a(t, e) {
2352
2352
  var r = ie.styles[e];
2353
2353
  return r ? "\x1B[" + ie.colors[r][0] + "m" + t + "\x1B[" + ie.colors[r][1] + "m" : t;
2354
2354
  }
2355
- function _a(t, e) {
2355
+ function ga(t, e) {
2356
2356
  return t;
2357
2357
  }
2358
2358
  function pa(t) {
@@ -2384,20 +2384,20 @@ function Ze(t, e, r) {
2384
2384
  if (De(e))
2385
2385
  return mt(e);
2386
2386
  }
2387
- var f = "", _ = !1, b = ["{", "}"];
2388
- if (Ht(e) && (_ = !0, b = ["[", "]"]), Oe(e)) {
2387
+ var f = "", g = !1, b = ["{", "}"];
2388
+ if (Ht(e) && (g = !0, b = ["[", "]"]), Oe(e)) {
2389
2389
  var w = e.name ? ": " + e.name : "";
2390
2390
  f = " [Function" + w + "]";
2391
2391
  }
2392
- if (Fe(e) && (f = " " + RegExp.prototype.toString.call(e)), et(e) && (f = " " + Date.prototype.toUTCString.call(e)), De(e) && (f = " " + mt(e)), s.length === 0 && (!_ || e.length == 0))
2392
+ if (Fe(e) && (f = " " + RegExp.prototype.toString.call(e)), et(e) && (f = " " + Date.prototype.toUTCString.call(e)), De(e) && (f = " " + mt(e)), s.length === 0 && (!g || e.length == 0))
2393
2393
  return b[0] + f + b[1];
2394
2394
  if (r < 0)
2395
2395
  return Fe(e) ? t.stylize(RegExp.prototype.toString.call(e), "regexp") : t.stylize("[Object]", "special");
2396
2396
  t.seen.push(e);
2397
- var g;
2398
- return _ ? g = wa(t, e, r, a, s) : g = s.map(function(E) {
2399
- return Nt(t, e, r, a, E, _);
2400
- }), t.seen.pop(), ba(g, f, b);
2397
+ var _;
2398
+ return g ? _ = wa(t, e, r, a, s) : _ = s.map(function(E) {
2399
+ return Nt(t, e, r, a, E, g);
2400
+ }), t.seen.pop(), ba(_, f, b);
2401
2401
  }
2402
2402
  function ya(t, e) {
2403
2403
  if (re(e))
@@ -2441,13 +2441,13 @@ function Nt(t, e, r, i, n, s) {
2441
2441
  var a, u, f;
2442
2442
  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(`
2443
2443
  `) > -1 && (s ? u = u.split(`
2444
- `).map(function(_) {
2445
- return " " + _;
2444
+ `).map(function(g) {
2445
+ return " " + g;
2446
2446
  }).join(`
2447
2447
  `).substr(2) : u = `
2448
2448
  ` + u.split(`
2449
- `).map(function(_) {
2450
- return " " + _;
2449
+ `).map(function(g) {
2450
+ return " " + g;
2451
2451
  }).join(`
2452
2452
  `))) : u = t.stylize("[Circular]", "special")), re(a)) {
2453
2453
  if (s && n.match(/^\d+$/))
@@ -2605,52 +2605,52 @@ function Ra() {
2605
2605
  if (ar)
2606
2606
  return Et;
2607
2607
  ar = 1;
2608
- function t(g, E) {
2609
- var v = Object.keys(g);
2608
+ function t(_, E) {
2609
+ var v = Object.keys(_);
2610
2610
  if (Object.getOwnPropertySymbols) {
2611
- var T = Object.getOwnPropertySymbols(g);
2611
+ var T = Object.getOwnPropertySymbols(_);
2612
2612
  E && (T = T.filter(function(F) {
2613
- return Object.getOwnPropertyDescriptor(g, F).enumerable;
2613
+ return Object.getOwnPropertyDescriptor(_, F).enumerable;
2614
2614
  })), v.push.apply(v, T);
2615
2615
  }
2616
2616
  return v;
2617
2617
  }
2618
- function e(g) {
2618
+ function e(_) {
2619
2619
  for (var E = 1; E < arguments.length; E++) {
2620
2620
  var v = arguments[E] != null ? arguments[E] : {};
2621
2621
  E % 2 ? t(Object(v), !0).forEach(function(T) {
2622
- r(g, T, v[T]);
2623
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(g, Object.getOwnPropertyDescriptors(v)) : t(Object(v)).forEach(function(T) {
2624
- Object.defineProperty(g, T, Object.getOwnPropertyDescriptor(v, T));
2622
+ r(_, T, v[T]);
2623
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(v)) : t(Object(v)).forEach(function(T) {
2624
+ Object.defineProperty(_, T, Object.getOwnPropertyDescriptor(v, T));
2625
2625
  });
2626
2626
  }
2627
- return g;
2627
+ return _;
2628
2628
  }
2629
- function r(g, E, v) {
2630
- return E in g ? Object.defineProperty(g, E, { value: v, enumerable: !0, configurable: !0, writable: !0 }) : g[E] = v, g;
2629
+ function r(_, E, v) {
2630
+ return E in _ ? Object.defineProperty(_, E, { value: v, enumerable: !0, configurable: !0, writable: !0 }) : _[E] = v, _;
2631
2631
  }
2632
- function i(g, E) {
2633
- if (!(g instanceof E))
2632
+ function i(_, E) {
2633
+ if (!(_ instanceof E))
2634
2634
  throw new TypeError("Cannot call a class as a function");
2635
2635
  }
2636
- function n(g, E) {
2636
+ function n(_, E) {
2637
2637
  for (var v = 0; v < E.length; v++) {
2638
2638
  var T = E[v];
2639
- T.enumerable = T.enumerable || !1, T.configurable = !0, "value" in T && (T.writable = !0), Object.defineProperty(g, T.key, T);
2639
+ T.enumerable = T.enumerable || !1, T.configurable = !0, "value" in T && (T.writable = !0), Object.defineProperty(_, T.key, T);
2640
2640
  }
2641
2641
  }
2642
- function s(g, E, v) {
2643
- return E && n(g.prototype, E), v && n(g, v), g;
2642
+ function s(_, E, v) {
2643
+ return E && n(_.prototype, E), v && n(_, v), _;
2644
2644
  }
2645
- var a = ot, u = a.Buffer, f = oi, _ = f.inspect, b = _ && _.custom || "inspect";
2646
- function w(g, E, v) {
2647
- u.prototype.copy.call(g, E, v);
2645
+ var a = ot, u = a.Buffer, f = oi, g = f.inspect, b = g && g.custom || "inspect";
2646
+ function w(_, E, v) {
2647
+ u.prototype.copy.call(_, E, v);
2648
2648
  }
2649
2649
  return Et = /* @__PURE__ */ function() {
2650
- function g() {
2651
- i(this, g), this.head = null, this.tail = null, this.length = 0;
2650
+ function _() {
2651
+ i(this, _), this.head = null, this.tail = null, this.length = 0;
2652
2652
  }
2653
- return s(g, [{
2653
+ return s(_, [{
2654
2654
  key: "push",
2655
2655
  value: function(v) {
2656
2656
  var T = {
@@ -2741,12 +2741,12 @@ function Ra() {
2741
2741
  }, {
2742
2742
  key: b,
2743
2743
  value: function(v, T) {
2744
- return _(this, e({}, T, {
2744
+ return g(this, e({}, T, {
2745
2745
  depth: 0,
2746
2746
  customInspect: !1
2747
2747
  }));
2748
2748
  }
2749
- }]), g;
2749
+ }]), _;
2750
2750
  }(), Et;
2751
2751
  }
2752
2752
  function Ta(t, e) {
@@ -2787,8 +2787,8 @@ function J(t, e, r) {
2787
2787
  }
2788
2788
  var n = /* @__PURE__ */ function(s) {
2789
2789
  Aa(a, s);
2790
- function a(u, f, _) {
2791
- return s.call(this, i(u, f, _)) || this;
2790
+ function a(u, f, g) {
2791
+ return s.call(this, i(u, f, g)) || this;
2792
2792
  }
2793
2793
  return a;
2794
2794
  }(r);
@@ -2912,7 +2912,7 @@ function ci() {
2912
2912
  function t(d) {
2913
2913
  var h = this;
2914
2914
  this.next = null, this.entry = null, this.finish = function() {
2915
- gt(h, d);
2915
+ _t(h, d);
2916
2916
  };
2917
2917
  }
2918
2918
  var e;
@@ -2927,7 +2927,7 @@ function ci() {
2927
2927
  function u(d) {
2928
2928
  return n.isBuffer(d) || d instanceof s;
2929
2929
  }
2930
- var f = li, _ = fi, b = _.getHighWaterMark, w = ye.codes, g = w.ERR_INVALID_ARG_TYPE, E = w.ERR_METHOD_NOT_IMPLEMENTED, v = w.ERR_MULTIPLE_CALLBACK, T = 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;
2930
+ var f = li, g = fi, b = g.getHighWaterMark, w = ye.codes, _ = w.ERR_INVALID_ARG_TYPE, E = w.ERR_METHOD_NOT_IMPLEMENTED, v = w.ERR_MULTIPLE_CALLBACK, T = 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;
2931
2931
  fe.exports(M, i);
2932
2932
  function O() {
2933
2933
  }
@@ -2976,7 +2976,7 @@ function ci() {
2976
2976
  }
2977
2977
  function B(d, h, x, D) {
2978
2978
  var P;
2979
- return x === null ? P = new c() : typeof x != "string" && !h.objectMode && (P = new g("chunk", ["string", "Buffer"], x)), P ? (C(d, P), N.nextTick(D, P), !1) : !0;
2979
+ return x === null ? P = new c() : typeof x != "string" && !h.objectMode && (P = new _("chunk", ["string", "Buffer"], x)), P ? (C(d, P), N.nextTick(D, P), !1) : !0;
2980
2980
  }
2981
2981
  M.prototype.write = function(d, h, x) {
2982
2982
  var D = this._writableState, P = !1, o = !D.objectMode && u(d);
@@ -3104,7 +3104,7 @@ function ci() {
3104
3104
  function dt(d, h, x) {
3105
3105
  h.ending = !0, he(d, h), x && (h.finished ? N.nextTick(x) : d.once("finish", x)), h.ended = !0, d.writable = !1;
3106
3106
  }
3107
- function gt(d, h, x) {
3107
+ function _t(d, h, x) {
3108
3108
  var D = d.entry;
3109
3109
  for (d.entry = null; D; ) {
3110
3110
  var P = D.callback;
@@ -3129,9 +3129,9 @@ function Re() {
3129
3129
  if (ur)
3130
3130
  return Tt;
3131
3131
  ur = 1;
3132
- var t = Object.keys || function(_) {
3132
+ var t = Object.keys || function(g) {
3133
3133
  var b = [];
3134
- for (var w in _)
3134
+ for (var w in g)
3135
3135
  b.push(w);
3136
3136
  return b;
3137
3137
  };
@@ -3142,10 +3142,10 @@ function Re() {
3142
3142
  var s = i[n];
3143
3143
  a.prototype[s] || (a.prototype[s] = r.prototype[s]);
3144
3144
  }
3145
- function a(_) {
3145
+ function a(g) {
3146
3146
  if (!(this instanceof a))
3147
- return new a(_);
3148
- 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)));
3147
+ return new a(g);
3148
+ 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)));
3149
3149
  }
3150
3150
  Object.defineProperty(a.prototype, "writableHighWaterMark", {
3151
3151
  enumerable: !1,
@@ -3166,8 +3166,8 @@ function Re() {
3166
3166
  function u() {
3167
3167
  this._writableState.ended || N.nextTick(f, this);
3168
3168
  }
3169
- function f(_) {
3170
- _.end();
3169
+ function f(g) {
3170
+ g.end();
3171
3171
  }
3172
3172
  return Object.defineProperty(a.prototype, "destroyed", {
3173
3173
  enumerable: !1,
@@ -3198,8 +3198,8 @@ function Ba() {
3198
3198
  }, s.alloc = function(a, u, f) {
3199
3199
  if (typeof a != "number")
3200
3200
  throw new TypeError("Argument must be a number");
3201
- var _ = i(a);
3202
- return u !== void 0 ? typeof f == "string" ? _.fill(u, f) : _.fill(u) : _.fill(0), _;
3201
+ var g = i(a);
3202
+ return u !== void 0 ? typeof f == "string" ? g.fill(u, f) : g.fill(u) : g.fill(0), g;
3203
3203
  }, s.allocUnsafe = function(a) {
3204
3204
  if (typeof a != "number")
3205
3205
  throw new TypeError("Argument must be a number");
@@ -3272,7 +3272,7 @@ function hr() {
3272
3272
  var p;
3273
3273
  switch (this.encoding) {
3274
3274
  case "utf16le":
3275
- this.text = w, this.end = g, p = 4;
3275
+ this.text = w, this.end = _, p = 4;
3276
3276
  break;
3277
3277
  case "utf8":
3278
3278
  this.fillLast = f, p = 4;
@@ -3297,7 +3297,7 @@ function hr() {
3297
3297
  } else
3298
3298
  R = 0;
3299
3299
  return R < c.length ? p ? p + this.text(c, R) : this.text(c, R) : p || "";
3300
- }, n.prototype.end = b, n.prototype.text = _, n.prototype.fillLast = function(c) {
3300
+ }, n.prototype.end = b, n.prototype.text = g, n.prototype.fillLast = function(c) {
3301
3301
  if (this.lastNeed <= c.length)
3302
3302
  return c.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
3303
3303
  c.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, c.length), this.lastNeed -= c.length;
@@ -3330,7 +3330,7 @@ function hr() {
3330
3330
  return c.copy(this.lastChar, p, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
3331
3331
  c.copy(this.lastChar, p, 0, c.length), this.lastNeed -= c.length;
3332
3332
  }
3333
- function _(c, p) {
3333
+ function g(c, p) {
3334
3334
  var R = a(this, c, p);
3335
3335
  if (!this.lastNeed)
3336
3336
  return c.toString("utf8", p);
@@ -3354,7 +3354,7 @@ function hr() {
3354
3354
  }
3355
3355
  return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = c[c.length - 1], c.toString("utf16le", p, c.length - 1);
3356
3356
  }
3357
- function g(c) {
3357
+ function _(c) {
3358
3358
  var p = c && c.length ? this.write(c) : "";
3359
3359
  if (this.lastNeed) {
3360
3360
  var R = this.lastTotal - this.lastNeed;
@@ -3403,7 +3403,7 @@ function hi(t, e, r) {
3403
3403
  t.writable || u();
3404
3404
  }, a = t._writableState && t._writableState.finished, u = function() {
3405
3405
  n = !1, a = !0, i || r.call(t);
3406
- }, f = t._readableState && t._readableState.endEmitted, _ = function() {
3406
+ }, f = t._readableState && t._readableState.endEmitted, g = function() {
3407
3407
  i = !1, f = !0, n || r.call(t);
3408
3408
  }, b = function(v) {
3409
3409
  r.call(t, v);
@@ -3413,23 +3413,23 @@ function hi(t, e, r) {
3413
3413
  return (!t._readableState || !t._readableState.ended) && (v = new dr()), r.call(t, v);
3414
3414
  if (n && !a)
3415
3415
  return (!t._writableState || !t._writableState.ended) && (v = new dr()), r.call(t, v);
3416
- }, g = function() {
3416
+ }, _ = function() {
3417
3417
  t.req.on("finish", u);
3418
3418
  };
3419
- return Wa(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() {
3420
- 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);
3419
+ return Wa(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() {
3420
+ 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);
3421
3421
  };
3422
3422
  }
3423
- var Jt = hi, Ct, gr;
3423
+ var Jt = hi, Ct, _r;
3424
3424
  function ja() {
3425
- if (gr)
3425
+ if (_r)
3426
3426
  return Ct;
3427
- gr = 1;
3427
+ _r = 1;
3428
3428
  var t;
3429
3429
  function e(c, p, R) {
3430
3430
  return p in c ? Object.defineProperty(c, p, { value: R, enumerable: !0, configurable: !0, writable: !0 }) : c[p] = R, c;
3431
3431
  }
3432
- var r = Jt, i = Symbol("lastResolve"), n = Symbol("lastReject"), s = Symbol("error"), a = Symbol("ended"), u = Symbol("lastPromise"), f = Symbol("handlePromise"), _ = Symbol("stream");
3432
+ var r = Jt, i = Symbol("lastResolve"), n = Symbol("lastReject"), s = Symbol("error"), a = Symbol("ended"), u = Symbol("lastPromise"), f = Symbol("handlePromise"), g = Symbol("stream");
3433
3433
  function b(c, p) {
3434
3434
  return {
3435
3435
  value: c,
@@ -3439,11 +3439,11 @@ function ja() {
3439
3439
  function w(c) {
3440
3440
  var p = c[i];
3441
3441
  if (p !== null) {
3442
- var R = c[_].read();
3442
+ var R = c[g].read();
3443
3443
  R !== null && (c[u] = null, c[i] = null, c[n] = null, p(b(R, !1)));
3444
3444
  }
3445
3445
  }
3446
- function g(c) {
3446
+ function _(c) {
3447
3447
  N.nextTick(w, c);
3448
3448
  }
3449
3449
  function E(c, p) {
@@ -3460,7 +3460,7 @@ function ja() {
3460
3460
  var v = Object.getPrototypeOf(function() {
3461
3461
  }), T = Object.setPrototypeOf((t = {
3462
3462
  get stream() {
3463
- return this[_];
3463
+ return this[g];
3464
3464
  },
3465
3465
  next: function() {
3466
3466
  var p = this, R = this[s];
@@ -3468,7 +3468,7 @@ function ja() {
3468
3468
  return Promise.reject(R);
3469
3469
  if (this[a])
3470
3470
  return Promise.resolve(b(void 0, !0));
3471
- if (this[_].destroyed)
3471
+ if (this[g].destroyed)
3472
3472
  return new Promise(function(z, M) {
3473
3473
  N.nextTick(function() {
3474
3474
  p[s] ? M(p[s]) : z(b(void 0, !0));
@@ -3478,7 +3478,7 @@ function ja() {
3478
3478
  if (C)
3479
3479
  O = new Promise(E(C, this));
3480
3480
  else {
3481
- var U = this[_].read();
3481
+ var U = this[g].read();
3482
3482
  if (U !== null)
3483
3483
  return Promise.resolve(b(U, !1));
3484
3484
  O = new Promise(this[f]);
@@ -3490,7 +3490,7 @@ function ja() {
3490
3490
  }), e(t, "return", function() {
3491
3491
  var p = this;
3492
3492
  return new Promise(function(R, C) {
3493
- p[_].destroy(null, function(O) {
3493
+ p[g].destroy(null, function(O) {
3494
3494
  if (O) {
3495
3495
  C(O);
3496
3496
  return;
@@ -3499,7 +3499,7 @@ function ja() {
3499
3499
  });
3500
3500
  });
3501
3501
  }), t), v), F = function(p) {
3502
- var R, C = Object.create(T, (R = {}, e(R, _, {
3502
+ var R, C = Object.create(T, (R = {}, e(R, g, {
3503
3503
  value: p,
3504
3504
  writable: !0
3505
3505
  }), e(R, i, {
@@ -3516,7 +3516,7 @@ function ja() {
3516
3516
  writable: !0
3517
3517
  }), e(R, f, {
3518
3518
  value: function(U, z) {
3519
- var M = C[_].read();
3519
+ var M = C[g].read();
3520
3520
  M ? (C[u] = null, C[i] = null, C[n] = null, U(b(M, !1))) : (C[i] = U, C[n] = z);
3521
3521
  },
3522
3522
  writable: !0
@@ -3529,13 +3529,13 @@ function ja() {
3529
3529
  }
3530
3530
  var z = C[i];
3531
3531
  z !== null && (C[u] = null, C[i] = null, C[n] = null, z(b(void 0, !0))), C[a] = !0;
3532
- }), p.on("readable", g.bind(null, C)), C;
3532
+ }), p.on("readable", _.bind(null, C)), C;
3533
3533
  };
3534
3534
  return Ct = F, Ct;
3535
3535
  }
3536
- var At, _r;
3536
+ var At, gr;
3537
3537
  function Ya() {
3538
- return _r || (_r = 1, At = function() {
3538
+ return gr || (gr = 1, At = function() {
3539
3539
  throw new Error("Readable.from is not available in the browser");
3540
3540
  }), At;
3541
3541
  }
@@ -3559,7 +3559,7 @@ function di() {
3559
3559
  var u = oi, f;
3560
3560
  u && u.debuglog ? f = u.debuglog("stream") : f = function() {
3561
3561
  };
3562
- var _ = Ra(), b = li, w = fi, g = w.getHighWaterMark, E = ye.codes, v = E.ERR_INVALID_ARG_TYPE, T = E.ERR_STREAM_PUSH_AFTER_EOF, F = E.ERR_METHOD_NOT_IMPLEMENTED, c = E.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, p, R, C;
3562
+ var g = Ra(), b = li, w = fi, _ = w.getHighWaterMark, E = ye.codes, v = E.ERR_INVALID_ARG_TYPE, T = E.ERR_STREAM_PUSH_AFTER_EOF, F = E.ERR_METHOD_NOT_IMPLEMENTED, c = E.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, p, R, C;
3563
3563
  fe.exports(A, r);
3564
3564
  var O = b.errorOrDestroy, U = ["error", "close", "destroy", "pause", "resume"];
3565
3565
  function z(o, l, m) {
@@ -3568,7 +3568,7 @@ function di() {
3568
3568
  !o._events || !o._events[l] ? o.on(l, m) : Array.isArray(o._events[l]) ? o._events[l].unshift(m) : o._events[l] = [m, o._events[l]];
3569
3569
  }
3570
3570
  function M(o, l, m) {
3571
- t = t || Re(), o = o || {}, typeof m != "boolean" && (m = l instanceof t), this.objectMode = !!o.objectMode, m && (this.objectMode = this.objectMode || !!o.readableObjectMode), this.highWaterMark = g(this, o, "readableHighWaterMark", m), 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 = hr().StringDecoder), this.decoder = new p(o.encoding), this.encoding = o.encoding);
3571
+ t = t || Re(), o = o || {}, typeof m != "boolean" && (m = l instanceof t), this.objectMode = !!o.objectMode, m && (this.objectMode = this.objectMode || !!o.readableObjectMode), this.highWaterMark = _(this, o, "readableHighWaterMark", m), 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 = hr().StringDecoder), this.decoder = new p(o.encoding), this.encoding = o.encoding);
3572
3572
  }
3573
3573
  function A(o) {
3574
3574
  if (t = t || Re(), !(this instanceof A))
@@ -3708,7 +3708,7 @@ function di() {
3708
3708
  o.on("drain", Ue);
3709
3709
  var er = !1;
3710
3710
  function Ti() {
3711
- f("cleanup"), o.removeListener("close", pt), o.removeListener("finish", yt), o.removeListener("drain", Ue), o.removeListener("error", _t), o.removeListener("unpipe", I), m.removeListener("end", we), m.removeListener("end", Ae), m.removeListener("data", tr), er = !0, S.awaitDrain && (!o._writableState || o._writableState.needDrain) && Ue();
3711
+ f("cleanup"), o.removeListener("close", pt), o.removeListener("finish", yt), o.removeListener("drain", Ue), o.removeListener("error", gt), o.removeListener("unpipe", I), m.removeListener("end", we), m.removeListener("end", Ae), m.removeListener("data", tr), er = !0, S.awaitDrain && (!o._writableState || o._writableState.needDrain) && Ue();
3712
3712
  }
3713
3713
  m.on("data", tr);
3714
3714
  function tr(be) {
@@ -3716,10 +3716,10 @@ function di() {
3716
3716
  var me = o.write(be);
3717
3717
  f("dest.write", me), me === !1 && ((S.pipesCount === 1 && S.pipes === o || S.pipesCount > 1 && P(S.pipes, o) !== -1) && !er && (f("false write response, pause", S.awaitDrain), S.awaitDrain++), m.pause());
3718
3718
  }
3719
- function _t(be) {
3720
- f("onerror", be), Ae(), o.removeListener("error", _t), e(o, "error") === 0 && O(o, be);
3719
+ function gt(be) {
3720
+ f("onerror", be), Ae(), o.removeListener("error", gt), e(o, "error") === 0 && O(o, be);
3721
3721
  }
3722
- z(o, "error", _t);
3722
+ z(o, "error", gt);
3723
3723
  function pt() {
3724
3724
  o.removeListener("finish", yt), Ae();
3725
3725
  }
@@ -3780,9 +3780,9 @@ function di() {
3780
3780
  return o.flowing || (f("resume"), o.flowing = !o.readableListening, dt(this, o)), o.paused = !1, this;
3781
3781
  };
3782
3782
  function dt(o, l) {
3783
- l.resumeScheduled || (l.resumeScheduled = !0, N.nextTick(gt, o, l));
3783
+ l.resumeScheduled || (l.resumeScheduled = !0, N.nextTick(_t, o, l));
3784
3784
  }
3785
- function gt(o, l) {
3785
+ function _t(o, l) {
3786
3786
  f("resume", l.reading), l.reading || o.read(0), l.resumeScheduled = !1, o.emit("resume"), d(o), l.flowing && !l.reading && o.read(0);
3787
3787
  }
3788
3788
  A.prototype.pause = function() {
@@ -3871,7 +3871,7 @@ function di() {
3871
3871
  }
3872
3872
  return Ft;
3873
3873
  }
3874
- var gi = oe, ft = ye.codes, za = ft.ERR_METHOD_NOT_IMPLEMENTED, qa = ft.ERR_MULTIPLE_CALLBACK, Va = ft.ERR_TRANSFORM_ALREADY_TRANSFORMING, $a = ft.ERR_TRANSFORM_WITH_LENGTH_0, ct = Re();
3874
+ var _i = oe, ft = ye.codes, za = ft.ERR_METHOD_NOT_IMPLEMENTED, qa = ft.ERR_MULTIPLE_CALLBACK, Va = ft.ERR_TRANSFORM_ALREADY_TRANSFORMING, $a = ft.ERR_TRANSFORM_WITH_LENGTH_0, ct = Re();
3875
3875
  fe.exports(oe, ct);
3876
3876
  function Ha(t, e) {
3877
3877
  var r = this._transformState;
@@ -3932,12 +3932,12 @@ function yr(t, e, r) {
3932
3932
  throw new Va();
3933
3933
  return t.push(null);
3934
3934
  }
3935
- var Ka = ke, _i = gi;
3936
- fe.exports(ke, _i);
3935
+ var Ka = ke, gi = _i;
3936
+ fe.exports(ke, gi);
3937
3937
  function ke(t) {
3938
3938
  if (!(this instanceof ke))
3939
3939
  return new ke(t);
3940
- _i.call(this, t);
3940
+ gi.call(this, t);
3941
3941
  }
3942
3942
  ke.prototype._transform = function(t, e, r) {
3943
3943
  r(null, t);
@@ -3997,8 +3997,8 @@ function is() {
3997
3997
  if (Array.isArray(e[0]) && (e = e[0]), e.length < 2)
3998
3998
  throw new Ja("streams");
3999
3999
  var n, s = e.map(function(a, u) {
4000
- var f = u < e.length - 1, _ = u > 0;
4001
- return es(a, f, _, function(b) {
4000
+ var f = u < e.length - 1, g = u > 0;
4001
+ return es(a, f, g, function(b) {
4002
4002
  n || (n = b), b && s.forEach(br), !f && (s.forEach(br), i(n));
4003
4003
  });
4004
4004
  });
@@ -4006,7 +4006,7 @@ function is() {
4006
4006
  }
4007
4007
  var ns = is;
4008
4008
  (function(t, e) {
4009
- e = t.exports = di(), e.Stream = e, e.Readable = e, e.Writable = ci(), e.Duplex = Re(), e.Transform = gi, e.PassThrough = Ka, e.finished = Jt, e.pipeline = ns;
4009
+ e = t.exports = di(), e.Stream = e, e.Readable = e, e.Writable = ci(), e.Duplex = Re(), e.Transform = _i, e.PassThrough = Ka, e.finished = Jt, e.pipeline = ns;
4010
4010
  })(Mt, Mt.exports);
4011
4011
  var yi = Mt.exports.Transform, wi = fe.exports;
4012
4012
  function Te(t) {
@@ -4109,10 +4109,10 @@ class ss {
4109
4109
  const n = new Wt();
4110
4110
  e.filter((s) => typeof s == "object").forEach((s) => {
4111
4111
  var a, u;
4112
- const { tagName: f, attributes: _, children: b } = s;
4113
- let w = f, g = _;
4112
+ const { tagName: f, attributes: g, children: b } = s;
4113
+ let w = f, _ = g;
4114
4114
  if (f === "field") {
4115
- const { name: R, widget: C } = _;
4115
+ const { name: R, widget: C } = g;
4116
4116
  if (C)
4117
4117
  w = C;
4118
4118
  else if (R) {
@@ -4122,36 +4122,36 @@ class ss {
4122
4122
  );
4123
4123
  w = this._fields[R].type;
4124
4124
  }
4125
- g = {
4125
+ _ = {
4126
4126
  ...this._fields[R],
4127
- ..._,
4127
+ ...g,
4128
4128
  fieldsWidgetType: this._fields[R].type
4129
4129
  };
4130
4130
  }
4131
4131
  const E = Fi({
4132
- tagAttributes: g,
4132
+ tagAttributes: _,
4133
4133
  values: i,
4134
4134
  fields: this._fields
4135
4135
  });
4136
4136
  let v;
4137
- f === "button" && g.states ? v = tn({
4138
- states: g.states,
4137
+ f === "button" && _.states ? v = tn({
4138
+ states: _.states,
4139
4139
  values: i
4140
4140
  }) : v = en({
4141
- fieldName: g.name,
4141
+ fieldName: _.name,
4142
4142
  values: i,
4143
4143
  fields: this._fields
4144
4144
  });
4145
4145
  const T = nn({
4146
- context: g.context || ((a = this._fields[g.name]) == null ? void 0 : a.context),
4146
+ context: _.context || ((a = this._fields[_.name]) == null ? void 0 : a.context),
4147
4147
  values: i,
4148
4148
  fields: this._fields
4149
4149
  });
4150
- g.on_change && (this._onChangeFields[g.name] = an(
4151
- g.on_change
4150
+ _.on_change && (this._onChangeFields[_.name] = an(
4151
+ _.on_change
4152
4152
  ));
4153
4153
  let F;
4154
- mr(g.domain) && (F = g.domain), mr((u = this._fields[g.name]) == null ? void 0 : u.domain) && (F = this._fields[g.name].domain), this._keyIdx = this._keyIdx + 1;
4154
+ mr(_.domain) && (F = _.domain), mr((u = this._fields[_.name]) == null ? void 0 : u.domain) && (F = this._fields[_.name].domain), this._keyIdx = this._keyIdx + 1;
4155
4155
  const c = {
4156
4156
  ...E,
4157
4157
  ...v,
@@ -4203,7 +4203,7 @@ class Cs {
4203
4203
  const { tagName: s, attributes: a } = n;
4204
4204
  let u = null;
4205
4205
  if (s === "field") {
4206
- const { name: f, widget: _ } = a;
4206
+ const { name: f, widget: g } = a;
4207
4207
  let b = a;
4208
4208
  if (f) {
4209
4209
  if (!this._fields[f])
@@ -4215,7 +4215,7 @@ class Cs {
4215
4215
  fieldsWidgetType: w == null ? void 0 : w.type
4216
4216
  };
4217
4217
  }
4218
- if (_ && (u = _), !b.invisible) {
4218
+ if (g && (u = g), !b.invisible) {
4219
4219
  const w = i.createWidget(u, b);
4220
4220
  this._columns.push(w);
4221
4221
  }
@@ -4271,8 +4271,8 @@ class As {
4271
4271
  ...this.fields[n],
4272
4272
  name: n,
4273
4273
  colspan: 2
4274
- }, { type: f } = u, _ = (a = (s = i.findById(n)) == null ? void 0 : s.type) != null ? a : f;
4275
- return r.createWidget(_, u);
4274
+ }, { type: f } = u, g = (a = (s = i.findById(n)) == null ? void 0 : s.type) != null ? a : f;
4275
+ return r.createWidget(g, u);
4276
4276
  });
4277
4277
  }
4278
4278
  findById(e) {
@@ -4469,7 +4469,7 @@ class ds extends vi {
4469
4469
  super({ name: e, axis: "x" });
4470
4470
  }
4471
4471
  }
4472
- const gs = ({ ooui: t }) => {
4472
+ const _s = ({ ooui: t }) => {
4473
4473
  const r = [t.x.name];
4474
4474
  return t.y ? (t.y.forEach((i) => {
4475
4475
  i.operator !== "count" && !r.includes(i.name) && r.push(i.name), i.label && !r.includes(i.label) && r.push(i.label);
@@ -4493,10 +4493,10 @@ function Zt({
4493
4493
  }
4494
4494
  const Ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4495
4495
  __proto__: null,
4496
- getFieldsToRetrieve: gs,
4496
+ getFieldsToRetrieve: _s,
4497
4497
  getValueAndLabelForField: Zt
4498
4498
  }, Symbol.toStringTag, { value: "Module" }));
4499
- function _s({
4499
+ function gs({
4500
4500
  values: t,
4501
4501
  timerange: e
4502
4502
  }) {
@@ -4521,21 +4521,21 @@ function ps({
4521
4521
  return Object.keys(i).forEach((a) => {
4522
4522
  const u = i[a];
4523
4523
  for (let f = 0; f < u.length; f++) {
4524
- const _ = u[f];
4525
- if (r.push(_), f === u.length - 1)
4524
+ const g = u[f];
4525
+ if (r.push(g), f === u.length - 1)
4526
4526
  return;
4527
- const b = _.x, w = u[f + 1].x;
4527
+ const b = g.x, w = u[f + 1].x;
4528
4528
  if (!Ei([b, w], n)) {
4529
- const g = ys({
4529
+ const _ = ys({
4530
4530
  dates: [b, w],
4531
4531
  timerange: e
4532
4532
  });
4533
4533
  r = r.concat(
4534
- g.map((E) => ({
4534
+ _.map((E) => ({
4535
4535
  x: E,
4536
4536
  value: 0,
4537
- type: _.type,
4538
- stacked: _.stacked
4537
+ type: g.type,
4538
+ stacked: g.stacked
4539
4539
  }))
4540
4540
  );
4541
4541
  }
@@ -4553,8 +4553,8 @@ function ys({
4553
4553
  for (let s = 0; s < n.length - 1; s++) {
4554
4554
  const a = n[s], u = n[s + 1];
4555
4555
  if (!Ei([a, u], i)) {
4556
- let f = Me(a, Ge(i)).add(1, i), _ = Me(u, Ge(i));
4557
- for (; f.isBefore(_); )
4556
+ let f = Me(a, Ge(i)).add(1, i), g = Me(u, Ge(i));
4557
+ for (; f.isBefore(g); )
4558
4558
  r.push(f.format(Ge(i))), f.add(1, i);
4559
4559
  }
4560
4560
  }
@@ -4575,7 +4575,7 @@ function ws({
4575
4575
  });
4576
4576
  return Object.keys(n).forEach((s) => {
4577
4577
  const a = n[s], u = a[0].operator === "count" ? "+" : a[0].operator, f = tt({
4578
- values: a.map((_) => _.value),
4578
+ values: a.map((g) => g.value),
4579
4579
  operator: u
4580
4580
  });
4581
4581
  i.push({
@@ -4686,12 +4686,12 @@ const Es = {
4686
4686
  values: e,
4687
4687
  fields: r
4688
4688
  }), s = [];
4689
- t.y.forEach((g) => {
4689
+ t.y.forEach((_) => {
4690
4690
  Object.keys(n).forEach((E) => {
4691
4691
  const v = n[E].label, T = n[E].entries;
4692
- if (g.label) {
4692
+ if (_.label) {
4693
4693
  const F = Lt({
4694
- fieldName: g.label,
4694
+ fieldName: _.label,
4695
4695
  values: T,
4696
4696
  fields: r
4697
4697
  });
@@ -4699,53 +4699,53 @@ const Es = {
4699
4699
  const p = F[c].entries, R = F[c].label, C = Bt({
4700
4700
  entries: p,
4701
4701
  fields: r,
4702
- fieldName: g.name
4702
+ fieldName: _.name
4703
4703
  }), O = tt({
4704
4704
  values: C,
4705
- operator: g.operator
4705
+ operator: _.operator
4706
4706
  });
4707
4707
  s.push({
4708
4708
  x: v || !1,
4709
4709
  value: O,
4710
4710
  type: R,
4711
- operator: g.operator,
4712
- stacked: g.stacked
4711
+ operator: _.operator,
4712
+ stacked: _.stacked
4713
4713
  });
4714
4714
  });
4715
4715
  } else {
4716
4716
  const F = Bt({
4717
4717
  entries: T,
4718
4718
  fields: r,
4719
- fieldName: g.name
4719
+ fieldName: _.name
4720
4720
  }), c = tt({
4721
4721
  values: F,
4722
- operator: g.operator
4722
+ operator: _.operator
4723
4723
  });
4724
4724
  s.push({
4725
4725
  x: v || !1,
4726
4726
  value: c,
4727
4727
  type: Ri({
4728
- yAxis: g,
4728
+ yAxis: _,
4729
4729
  fields: r
4730
4730
  }),
4731
- operator: g.operator,
4732
- stacked: g.stacked
4731
+ operator: _.operator,
4732
+ stacked: _.stacked
4733
4733
  });
4734
4734
  }
4735
4735
  });
4736
4736
  });
4737
- const a = t.y.some((g) => g.label !== void 0), u = t.y.some((g) => g.stacked !== void 0);
4738
- let _ = [...s.sort((g, E) => g.x < E.x ? -1 : g.x > E.x ? 1 : 0)];
4739
- u && t.y.filter((g) => g.stacked !== void 0).length > 1 && (_ = _.map((g) => ({ ...g, type: `${g.type} - ${g.stacked}` })));
4740
- let b = [..._];
4741
- 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(
4742
- (g) => g.x !== !1
4737
+ const a = t.y.some((_) => _.label !== void 0), u = t.y.some((_) => _.stacked !== void 0);
4738
+ let g = [...s.sort((_, E) => _.x < E.x ? -1 : _.x > E.x ? 1 : 0)];
4739
+ u && t.y.filter((_) => _.stacked !== void 0).length > 1 && (g = g.map((_) => ({ ..._, type: `${_.type} - ${_.stacked}` })));
4740
+ let b = [...g];
4741
+ 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(
4742
+ (_) => _.x !== !1
4743
4743
  ));
4744
4744
  let w = b;
4745
- return t.timerange ? w = _s({
4745
+ return t.timerange ? w = gs({
4746
4746
  values: w,
4747
4747
  timerange: t.timerange
4748
- }) : t.type == "pie" && (w = b.sort((g, E) => E.value - g.value)), {
4748
+ }) : t.type == "pie" && (w = b.sort((_, E) => E.value - _.value)), {
4749
4749
  data: w,
4750
4750
  isGroup: u || a,
4751
4751
  isStack: u