@php-wasm/xdebug-bridge 3.0.22 → 3.0.30

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.
@@ -649,8 +649,8 @@ class Gs {
649
649
  const { width: l } = t[o], E = this.negatePadding(t[o]);
650
650
  let m = r;
651
651
  if (E > Tt.stringWidth(r) && (m += " ".repeat(E - Tt.stringWidth(r))), t[o].align && t[o].align !== "left" && this.wrap) {
652
- const y = qs[t[o].align];
653
- m = y(m, E), Tt.stringWidth(m) < E && (m += " ".repeat((l || 0) - Tt.stringWidth(m) - 1));
652
+ const b = qs[t[o].align];
653
+ m = b(m, E), Tt.stringWidth(m) < E && (m += " ".repeat((l || 0) - Tt.stringWidth(m) - 1));
654
654
  }
655
655
  const p = t[o].padding || [0, 0, 0, 0];
656
656
  p[Re] && (i += " ".repeat(p[Re])), i += wr(t[o], m, "| "), i += m, i += wr(t[o], m, " |"), p[Be] && (i += " ".repeat(p[Be])), s === 0 && e.length > 0 && (i = this.renderInline(i, e[e.length - 1]));
@@ -857,7 +857,7 @@ class no {
857
857
  "strip-aliased": !1,
858
858
  "strip-dashed": !1,
859
859
  "unknown-options-as-args": !1
860
- }, n.configuration), l = Object.assign(/* @__PURE__ */ Object.create(null), n.default), E = n.configObjects || [], m = n.envPrefix, p = o["populate--"], y = p ? "--" : "_", w = /* @__PURE__ */ Object.create(null), D = /* @__PURE__ */ Object.create(null), _ = n.__ || Xt.format, I = {
860
+ }, n.configuration), l = Object.assign(/* @__PURE__ */ Object.create(null), n.default), E = n.configObjects || [], m = n.envPrefix, p = o["populate--"], b = p ? "--" : "_", w = /* @__PURE__ */ Object.create(null), D = /* @__PURE__ */ Object.create(null), _ = n.__ || Xt.format, I = {
861
861
  aliases: /* @__PURE__ */ Object.create(null),
862
862
  arrays: /* @__PURE__ */ Object.create(null),
863
863
  bools: /* @__PURE__ */ Object.create(null),
@@ -908,8 +908,8 @@ class no {
908
908
  const M = Object.assign(/* @__PURE__ */ Object.create(null), { _: [] }), X = {};
909
909
  for (let A = 0; A < s.length; A++) {
910
910
  const f = s[A], u = f.replace(/^-{3,}/, "---");
911
- let c, h, N, L, F, Z;
912
- if (f !== "--" && /^-/.test(f) && b(f))
911
+ let c, h, N, L, j, Z;
912
+ if (f !== "--" && /^-/.test(f) && y(f))
913
913
  W(f);
914
914
  else if (u.match(/^---+(=|$)/)) {
915
915
  W(f);
@@ -919,33 +919,33 @@ class no {
919
919
  else if (f.match(C) && o["boolean-negation"])
920
920
  L = f.match(C), L !== null && Array.isArray(L) && L.length >= 2 && (h = L[1], B(h, K(h, I.arrays) ? [!1] : !1));
921
921
  else if (f.match(/^--.+/) || !o["short-option-groups"] && f.match(/^-[^-]+/))
922
- L = f.match(/^--?(.+)/), L !== null && Array.isArray(L) && L.length >= 2 && (h = L[1], K(h, I.arrays) ? A = d(A, h, s) : K(h, I.nargs) !== !1 ? A = U(A, h, s) : (F = s[A + 1], F !== void 0 && (!F.match(/^-/) || F.match(T)) && !K(h, I.bools) && !K(h, I.counts) || /^(true|false)$/.test(F) ? (B(h, F), A++) : B(h, P(h))));
922
+ L = f.match(/^--?(.+)/), L !== null && Array.isArray(L) && L.length >= 2 && (h = L[1], K(h, I.arrays) ? A = d(A, h, s) : K(h, I.nargs) !== !1 ? A = U(A, h, s) : (j = s[A + 1], j !== void 0 && (!j.match(/^-/) || j.match(T)) && !K(h, I.bools) && !K(h, I.counts) || /^(true|false)$/.test(j) ? (B(h, j), A++) : B(h, P(h))));
923
923
  else if (f.match(/^-.\..+=/))
924
924
  L = f.match(/^-([^=]+)=([\s\S]*)$/), L !== null && Array.isArray(L) && L.length >= 3 && B(L[1], L[2]);
925
925
  else if (f.match(/^-.\..+/) && !f.match(T))
926
- F = s[A + 1], L = f.match(/^-(.\..+)/), L !== null && Array.isArray(L) && L.length >= 2 && (h = L[1], F !== void 0 && !F.match(/^-/) && !K(h, I.bools) && !K(h, I.counts) ? (B(h, F), A++) : B(h, P(h)));
926
+ j = s[A + 1], L = f.match(/^-(.\..+)/), L !== null && Array.isArray(L) && L.length >= 2 && (h = L[1], j !== void 0 && !j.match(/^-/) && !K(h, I.bools) && !K(h, I.counts) ? (B(h, j), A++) : B(h, P(h)));
927
927
  else if (f.match(/^-[^-]+/) && !f.match(T)) {
928
928
  N = f.slice(1, -1).split(""), c = !1;
929
929
  for (let nt = 0; nt < N.length; nt++) {
930
- if (F = f.slice(nt + 2), N[nt + 1] && N[nt + 1] === "=") {
930
+ if (j = f.slice(nt + 2), N[nt + 1] && N[nt + 1] === "=") {
931
931
  Z = f.slice(nt + 3), h = N[nt], K(h, I.arrays) ? A = d(A, h, s, Z) : K(h, I.nargs) !== !1 ? A = U(A, h, s, Z) : B(h, Z), c = !0;
932
932
  break;
933
933
  }
934
- if (F === "-") {
935
- B(N[nt], F);
934
+ if (j === "-") {
935
+ B(N[nt], j);
936
936
  continue;
937
937
  }
938
- if (/[A-Za-z]/.test(N[nt]) && /^-?\d+(\.\d*)?(e-?\d+)?$/.test(F) && K(F, I.bools) === !1) {
939
- B(N[nt], F), c = !0;
938
+ if (/[A-Za-z]/.test(N[nt]) && /^-?\d+(\.\d*)?(e-?\d+)?$/.test(j) && K(j, I.bools) === !1) {
939
+ B(N[nt], j), c = !0;
940
940
  break;
941
941
  }
942
942
  if (N[nt + 1] && N[nt + 1].match(/\W/)) {
943
- B(N[nt], F), c = !0;
943
+ B(N[nt], j), c = !0;
944
944
  break;
945
945
  } else
946
946
  B(N[nt], P(N[nt]));
947
947
  }
948
- h = f.slice(-1)[0], !c && h !== "-" && (K(h, I.arrays) ? A = d(A, h, s) : K(h, I.nargs) !== !1 ? A = U(A, h, s) : (F = s[A + 1], F !== void 0 && (!/^(-|--)[^-]/.test(F) || F.match(T)) && !K(h, I.bools) && !K(h, I.counts) || /^(true|false)$/.test(F) ? (B(h, F), A++) : B(h, P(h))));
948
+ h = f.slice(-1)[0], !c && h !== "-" && (K(h, I.arrays) ? A = d(A, h, s) : K(h, I.nargs) !== !1 ? A = U(A, h, s) : (j = s[A + 1], j !== void 0 && (!/^(-|--)[^-]/.test(j) || j.match(T)) && !K(h, I.bools) && !K(h, I.counts) || /^(true|false)$/.test(j) ? (B(h, j), A++) : B(h, P(h))));
949
949
  } else if (f.match(/^-[0-9]$/) && f.match(T) && K(f.slice(1), I.bools))
950
950
  h = f.slice(1), B(h, P(h));
951
951
  else if (f === "--") {
@@ -958,9 +958,9 @@ class no {
958
958
  W(f);
959
959
  }
960
960
  V(M, !0), V(M, !1), q(M), k(), at(M, I.aliases, l, !0), ft(M), o["set-placeholder-key"] && Ot(M), Object.keys(I.counts).forEach(function(A) {
961
- st(M, A.split(".")) || B(A, 0);
962
- }), p && v.length && (M[y] = []), v.forEach(function(A) {
963
- M[y].push(A);
961
+ ot(M, A.split(".")) || B(A, 0);
962
+ }), p && v.length && (M[b] = []), v.forEach(function(A) {
963
+ M[b].push(A);
964
964
  }), o["camel-case-expansion"] && o["strip-dashed"] && Object.keys(M).filter((A) => A !== "--" && A.includes("-")).forEach((A) => {
965
965
  delete M[A];
966
966
  }), o["strip-aliased"] && [].concat(...Object.keys(r).map((A) => r[A])).forEach((A) => {
@@ -978,29 +978,29 @@ class no {
978
978
  if (o["nargs-eats-options"])
979
979
  u.length - (A + 1) + L < N && (g = Error(_("Not enough arguments following: %s", f))), L = N;
980
980
  else {
981
- for (h = A + 1; h < u.length && (!u[h].match(/^-[^0-9]/) || u[h].match(T) || b(u[h])); h++)
981
+ for (h = A + 1; h < u.length && (!u[h].match(/^-[^0-9]/) || u[h].match(T) || y(u[h])); h++)
982
982
  L++;
983
983
  L < N && (g = Error(_("Not enough arguments following: %s", f)));
984
984
  }
985
- let F = Math.min(L, N);
986
- for (!rt(c) && F > 0 && (B(f, c), F--), h = A + 1; h < F + A + 1; h++)
985
+ let j = Math.min(L, N);
986
+ for (!rt(c) && j > 0 && (B(f, c), j--), h = A + 1; h < j + A + 1; h++)
987
987
  B(f, u[h]);
988
- return A + F;
988
+ return A + j;
989
989
  }
990
990
  function d(A, f, u, c) {
991
991
  let h = [], N = c || u[A + 1];
992
992
  const L = K(f, I.nargs);
993
993
  if (K(f, I.bools) && !/^(true|false)$/.test(N))
994
994
  h.push(!0);
995
- else if (rt(N) || rt(c) && /^-/.test(N) && !T.test(N) && !b(N)) {
995
+ else if (rt(N) || rt(c) && /^-/.test(N) && !T.test(N) && !y(N)) {
996
996
  if (l[f] !== void 0) {
997
- const F = l[f];
998
- h = Array.isArray(F) ? F : [F];
997
+ const j = l[f];
998
+ h = Array.isArray(j) ? j : [j];
999
999
  }
1000
1000
  } else {
1001
1001
  rt(c) || h.push(R(f, c, !0));
1002
- for (let F = A + 1; F < u.length && !(!o["greedy-arrays"] && h.length > 0 || L && typeof L == "number" && h.length >= L || (N = u[F], /^-/.test(N) && !T.test(N) && !b(N))); F++)
1003
- A = F, h.push(R(f, N, i));
1002
+ for (let j = A + 1; j < u.length && !(!o["greedy-arrays"] && h.length > 0 || L && typeof L == "number" && h.length >= L || (N = u[j], /^-/.test(N) && !T.test(N) && !y(N))); j++)
1003
+ A = j, h.push(R(f, N, i));
1004
1004
  }
1005
1005
  return typeof L == "number" && (L && h.length < L || isNaN(L) && h.length === 0) && (g = Error(_("Not enough arguments following: %s", f))), B(f, h), A;
1006
1006
  }
@@ -1017,16 +1017,16 @@ class no {
1017
1017
  ut(M, L, c);
1018
1018
  }), h.length > 1 && o["dot-notation"] && (I.aliases[h[0]] || []).forEach(function(N) {
1019
1019
  let L = N.split(".");
1020
- const F = [].concat(h);
1021
- F.shift(), L = L.concat(F), (I.aliases[A] || []).includes(L.join(".")) || ut(M, L, c);
1020
+ const j = [].concat(h);
1021
+ j.shift(), L = L.concat(j), (I.aliases[A] || []).includes(L.join(".")) || ut(M, L, c);
1022
1022
  }), K(A, I.normalize) && !K(A, I.arrays) && [A].concat(I.aliases[A] || []).forEach(function(L) {
1023
1023
  Object.defineProperty(X, L, {
1024
1024
  enumerable: !0,
1025
1025
  get() {
1026
1026
  return f;
1027
1027
  },
1028
- set(F) {
1029
- f = typeof F == "string" ? Xt.normalize(F) : F;
1028
+ set(j) {
1029
+ f = typeof j == "string" ? Xt.normalize(j) : j;
1030
1030
  }
1031
1031
  });
1032
1032
  });
@@ -1055,8 +1055,8 @@ class no {
1055
1055
  if (typeof L == "function") {
1056
1056
  try {
1057
1057
  h = L(N);
1058
- } catch (F) {
1059
- h = F;
1058
+ } catch (j) {
1059
+ h = j;
1060
1060
  }
1061
1061
  if (h instanceof Error) {
1062
1062
  g = h;
@@ -1073,7 +1073,7 @@ class no {
1073
1073
  function z(A, f) {
1074
1074
  Object.keys(A).forEach(function(u) {
1075
1075
  const c = A[u], h = f ? f + "." + u : u;
1076
- typeof c == "object" && c !== null && !Array.isArray(c) && o["dot-notation"] ? z(c, h) : (!st(M, h.split(".")) || K(h, I.arrays) && o["combine-arrays"]) && B(h, c);
1076
+ typeof c == "object" && c !== null && !Array.isArray(c) && o["dot-notation"] ? z(c, h) : (!ot(M, h.split(".")) || K(h, I.arrays) && o["combine-arrays"]) && B(h, c);
1077
1077
  });
1078
1078
  }
1079
1079
  function k() {
@@ -1087,10 +1087,10 @@ class no {
1087
1087
  const u = typeof m == "string" ? m : "", c = Xt.env();
1088
1088
  Object.keys(c).forEach(function(h) {
1089
1089
  if (u === "" || h.lastIndexOf(u, 0) === 0) {
1090
- const N = h.split("__").map(function(L, F) {
1091
- return F === 0 && (L = L.substring(u.length)), de(L);
1090
+ const N = h.split("__").map(function(L, j) {
1091
+ return j === 0 && (L = L.substring(u.length)), de(L);
1092
1092
  });
1093
- (f && I.configs[N.join(".")] || !f) && !st(A, N) && B(N.join("."), c[h]);
1093
+ (f && I.configs[N.join(".")] || !f) && !ot(A, N) && B(N.join("."), c[h]);
1094
1094
  }
1095
1095
  });
1096
1096
  }
@@ -1116,12 +1116,12 @@ class no {
1116
1116
  }
1117
1117
  function at(A, f, u, c = !1) {
1118
1118
  Object.keys(u).forEach(function(h) {
1119
- st(A, h.split(".")) || (ut(A, h.split("."), u[h]), c && (D[h] = !0), (f[h] || []).forEach(function(N) {
1120
- st(A, N.split(".")) || ut(A, N.split("."), u[h]);
1119
+ ot(A, h.split(".")) || (ut(A, h.split("."), u[h]), c && (D[h] = !0), (f[h] || []).forEach(function(N) {
1120
+ ot(A, N.split(".")) || ut(A, N.split("."), u[h]);
1121
1121
  }));
1122
1122
  });
1123
1123
  }
1124
- function st(A, f) {
1124
+ function ot(A, f) {
1125
1125
  let u = A;
1126
1126
  o["dot-notation"] || (f = [f.join(".")]), f.slice(0, -1).forEach(function(h) {
1127
1127
  u = u[h] || {};
@@ -1135,8 +1135,8 @@ class no {
1135
1135
  Z = Er(Z), typeof c == "object" && c[Z] === void 0 && (c[Z] = {}), typeof c[Z] != "object" || Array.isArray(c[Z]) ? (Array.isArray(c[Z]) ? c[Z].push({}) : c[Z] = [c[Z], {}], c = c[Z][c[Z].length - 1]) : c = c[Z];
1136
1136
  });
1137
1137
  const h = Er(f[f.length - 1]), N = K(f.join("."), I.arrays), L = Array.isArray(u);
1138
- let F = o["duplicate-arguments-array"];
1139
- !F && K(h, I.nargs) && (F = !0, (!rt(c[h]) && I.nargs[h] === 1 || Array.isArray(c[h]) && c[h].length === I.nargs[h]) && (c[h] = void 0)), u === Ve() ? c[h] = Ve(c[h]) : Array.isArray(c[h]) ? F && N && L ? c[h] = o["flatten-duplicate-arrays"] ? c[h].concat(u) : (Array.isArray(c[h][0]) ? c[h] : [c[h]]).concat([u]) : !F && !!N == !!L ? c[h] = u : c[h] = c[h].concat([u]) : c[h] === void 0 && N ? c[h] = L ? u : [u] : F && !(c[h] === void 0 || K(h, I.counts) || K(h, I.bools)) ? c[h] = [c[h], u] : c[h] = u;
1138
+ let j = o["duplicate-arguments-array"];
1139
+ !j && K(h, I.nargs) && (j = !0, (!rt(c[h]) && I.nargs[h] === 1 || Array.isArray(c[h]) && c[h].length === I.nargs[h]) && (c[h] = void 0)), u === Ve() ? c[h] = Ve(c[h]) : Array.isArray(c[h]) ? j && N && L ? c[h] = o["flatten-duplicate-arrays"] ? c[h].concat(u) : (Array.isArray(c[h][0]) ? c[h] : [c[h]]).concat([u]) : !j && !!N == !!L ? c[h] = u : c[h] = c[h].concat([u]) : c[h] === void 0 && N ? c[h] = L ? u : [u] : j && !(c[h] === void 0 || K(h, I.counts) || K(h, I.bools)) ? c[h] = [c[h], u] : c[h] = u;
1140
1140
  }
1141
1141
  function vt(...A) {
1142
1142
  A.forEach(function(f) {
@@ -1163,7 +1163,7 @@ class no {
1163
1163
  const u = [].concat(I.aliases[A] || [], A), c = Object.keys(f), h = u.find((N) => c.includes(N));
1164
1164
  return h ? f[h] : !1;
1165
1165
  }
1166
- function Ut(A) {
1166
+ function Bt(A) {
1167
1167
  const f = Object.keys(I);
1168
1168
  return [].concat(f.map((c) => I[c])).some(function(c) {
1169
1169
  return Array.isArray(c) ? c.includes(A) : c[A];
@@ -1172,7 +1172,7 @@ class no {
1172
1172
  function Q(A, ...f) {
1173
1173
  return [].concat(...f).some(function(c) {
1174
1174
  const h = A.match(c);
1175
- return h && Ut(h[1]);
1175
+ return h && Bt(h[1]);
1176
1176
  });
1177
1177
  }
1178
1178
  function x(A) {
@@ -1181,7 +1181,7 @@ class no {
1181
1181
  let f = !0, u;
1182
1182
  const c = A.slice(1).split("");
1183
1183
  for (let h = 0; h < c.length; h++) {
1184
- if (u = A.slice(h + 2), !Ut(c[h])) {
1184
+ if (u = A.slice(h + 2), !Bt(c[h])) {
1185
1185
  f = !1;
1186
1186
  break;
1187
1187
  }
@@ -1190,14 +1190,14 @@ class no {
1190
1190
  }
1191
1191
  return f;
1192
1192
  }
1193
- function b(A) {
1194
- return o["unknown-options-as-args"] && j(A);
1193
+ function y(A) {
1194
+ return o["unknown-options-as-args"] && F(A);
1195
1195
  }
1196
- function j(A) {
1196
+ function F(A) {
1197
1197
  return A = A.replace(/^-{3,}/, "--"), A.match(T) || x(A) ? !1 : !Q(A, /^-+([^=]+?)=[\s\S]*$/, C, /^-+([^=]+?)$/, /^-+([^=]+?)-$/, /^-+([^=]+?\d+)$/, /^-+([^=]+?)\W+.*$/);
1198
1198
  }
1199
1199
  function P(A) {
1200
- return !K(A, I.bools) && !K(A, I.counts) && `${A}` in l ? l[A] : J(ot(A));
1200
+ return !K(A, I.bools) && !K(A, I.counts) && `${A}` in l ? l[A] : J(st(A));
1201
1201
  }
1202
1202
  function J(A) {
1203
1203
  return {
@@ -1207,7 +1207,7 @@ class no {
1207
1207
  [Ft.ARRAY]: []
1208
1208
  }[A];
1209
1209
  }
1210
- function ot(A) {
1210
+ function st(A) {
1211
1211
  let f = Ft.BOOLEAN;
1212
1212
  return K(A, I.strings) ? f = Ft.STRING : K(A, I.numbers) ? f = Ft.NUMBER : K(A, I.bools) ? f = Ft.BOOLEAN : K(A, I.arrays) && (f = Ft.ARRAY), f;
1213
1213
  }
@@ -1534,12 +1534,12 @@ function G(a, t, e) {
1534
1534
  if (E > m)
1535
1535
  throw new gt(`Too many arguments provided. Expected max ${m} but received ${E}.`);
1536
1536
  i.demanded.forEach((p) => {
1537
- const y = l.shift(), w = Dr(y);
1537
+ const b = l.shift(), w = Dr(b);
1538
1538
  p.cmd.filter((_) => _ === w || _ === "*").length === 0 && Tr(w, p.cmd, s), s += 1;
1539
1539
  }), i.optional.forEach((p) => {
1540
1540
  if (l.length === 0)
1541
1541
  return;
1542
- const y = l.shift(), w = Dr(y);
1542
+ const b = l.shift(), w = Dr(b);
1543
1543
  p.cmd.filter((_) => _ === w || _ === "*").length === 0 && Tr(w, p.cmd, s), s += 1;
1544
1544
  });
1545
1545
  } catch (s) {
@@ -1671,11 +1671,11 @@ class Io {
1671
1671
  }
1672
1672
  if (typeof t == "string") {
1673
1673
  const E = ye(t);
1674
- o = o.map((y) => ye(y).cmd);
1674
+ o = o.map((b) => ye(b).cmd);
1675
1675
  let m = !1;
1676
- const p = [E.cmd].concat(o).filter((y) => ie.test(y) ? (m = !0, !1) : !0);
1677
- p.length === 0 && m && p.push("$0"), m && (E.cmd = p[0], o = p.slice(1), t = t.replace(ie, E.cmd)), o.forEach((y) => {
1678
- this.aliasMap[y] = E.cmd;
1676
+ const p = [E.cmd].concat(o).filter((b) => ie.test(b) ? (m = !0, !1) : !0);
1677
+ p.length === 0 && m && p.push("$0"), m && (E.cmd = p[0], o = p.slice(1), t = t.replace(ie, E.cmd)), o.forEach((b) => {
1678
+ this.aliasMap[b] = E.cmd;
1679
1679
  }), e !== !1 && this.usage.command(t, e, m, o, r), this.handlers[E.cmd] = {
1680
1680
  original: t,
1681
1681
  description: e,
@@ -1701,7 +1701,7 @@ class Io {
1701
1701
  const o = this.handlers[t] || this.handlers[this.aliasMap[t]] || this.defaultCommand, l = e.getInternalMethods().getContext(), E = l.commands.slice(), m = !t;
1702
1702
  t && (l.commands.push(t), l.fullCommands.push(o.original));
1703
1703
  const p = this.applyBuilderUpdateUsageAndParse(m, o, e, n.aliases, E, s, i, r);
1704
- return yt(p) ? p.then((y) => this.applyMiddlewareAndGetResult(m, o, y.innerArgv, l, i, y.aliases, e)) : this.applyMiddlewareAndGetResult(m, o, p.innerArgv, l, i, p.aliases, e);
1704
+ return yt(p) ? p.then((b) => this.applyMiddlewareAndGetResult(m, o, b.innerArgv, l, i, b.aliases, e)) : this.applyMiddlewareAndGetResult(m, o, p.innerArgv, l, i, p.aliases, e);
1705
1705
  }
1706
1706
  applyBuilderUpdateUsageAndParse(t, e, n, s, i, r, o, l) {
1707
1707
  const E = e.builder;
@@ -1710,7 +1710,7 @@ class Io {
1710
1710
  n.getInternalMethods().getUsageInstance().freeze();
1711
1711
  const p = E(n.getInternalMethods().reset(s), l);
1712
1712
  if (yt(p))
1713
- return p.then((y) => (m = qo(y) ? y : n, this.parseAndUpdateUsage(t, e, m, i, r, o)));
1713
+ return p.then((b) => (m = qo(b) ? b : n, this.parseAndUpdateUsage(t, e, m, i, r, o)));
1714
1714
  } else To(E) && (n.getInternalMethods().getUsageInstance().freeze(), m = n.getInternalMethods().reset(s), Object.keys(e.builder).forEach((p) => {
1715
1715
  m.option(p, E[p]);
1716
1716
  }));
@@ -1957,10 +1957,10 @@ function No(a, t) {
1957
1957
  n.example = (S, R) => {
1958
1958
  p.push([S, R || ""]);
1959
1959
  };
1960
- let y = [];
1960
+ let b = [];
1961
1961
  n.command = function(R, $, q, z, k = !1) {
1962
- q && (y = y.map((V) => (V[2] = !1, V))), y.push([R, $ || "", q, z, k]);
1963
- }, n.getCommands = () => y;
1962
+ q && (b = b.map((V) => (V[2] = !1, V))), b.push([R, $ || "", q, z, k]);
1963
+ }, n.getCommands = () => b;
1964
1964
  let w = {};
1965
1965
  n.describe = function(R, $) {
1966
1966
  Array.isArray(R) ? R.forEach((q) => {
@@ -1994,71 +1994,71 @@ function No(a, t) {
1994
1994
  E.forEach((Q) => {
1995
1995
  at.div({ text: `${Q[0].replace(/\$0/g, R)}` }), Q[1] && at.div({ text: `${Q[1]}`, padding: [1, 0, 0, 0] });
1996
1996
  }), at.div();
1997
- else if (y.length) {
1997
+ else if (b.length) {
1998
1998
  let Q = null;
1999
1999
  q._ ? Q = `${R} <${e("command")}>
2000
2000
  ` : Q = `${R} [${e("command")}]
2001
2001
  `, at.div(`${Q}`);
2002
2002
  }
2003
2003
  }
2004
- if (y.length > 1 || y.length === 1 && !y[0][2]) {
2004
+ if (b.length > 1 || b.length === 1 && !b[0][2]) {
2005
2005
  at.div(e("Commands:"));
2006
2006
  const Q = a.getInternalMethods().getContext(), x = Q.commands.length ? `${Q.commands.join(" ")} ` : "";
2007
- a.getInternalMethods().getParserConfiguration()["sort-commands"] === !0 && (y = y.sort((j, P) => j[0].localeCompare(P[0])));
2008
- const b = R ? `${R} ` : "";
2009
- y.forEach((j) => {
2010
- const P = `${b}${x}${j[0].replace(/^\$0 ?/, "")}`;
2007
+ a.getInternalMethods().getParserConfiguration()["sort-commands"] === !0 && (b = b.sort((F, P) => F[0].localeCompare(P[0])));
2008
+ const y = R ? `${R} ` : "";
2009
+ b.forEach((F) => {
2010
+ const P = `${y}${x}${F[0].replace(/^\$0 ?/, "")}`;
2011
2011
  at.span({
2012
2012
  text: P,
2013
2013
  padding: [0, 2, 0, 2],
2014
- width: C(y, Ot, `${R}${x}`) + 4
2015
- }, { text: j[1] });
2014
+ width: C(b, Ot, `${R}${x}`) + 4
2015
+ }, { text: F[1] });
2016
2016
  const J = [];
2017
- j[2] && J.push(`[${e("default")}]`), j[3] && j[3].length && J.push(`[${e("aliases:")} ${j[3].join(", ")}]`), j[4] && (typeof j[4] == "string" ? J.push(`[${e("deprecated: %s", j[4])}]`) : J.push(`[${e("deprecated")}]`)), J.length ? at.div({
2017
+ F[2] && J.push(`[${e("default")}]`), F[3] && F[3].length && J.push(`[${e("aliases:")} ${F[3].join(", ")}]`), F[4] && (typeof F[4] == "string" ? J.push(`[${e("deprecated: %s", F[4])}]`) : J.push(`[${e("deprecated")}]`)), J.length ? at.div({
2018
2018
  text: J.join(" "),
2019
2019
  padding: [0, 0, 0, 2],
2020
2020
  align: "right"
2021
2021
  }) : at.div();
2022
2022
  }), at.div();
2023
2023
  }
2024
- const st = (Object.keys(V.alias) || []).concat(Object.keys(a.parsed.newAliases) || []);
2025
- ft = ft.filter((Q) => !a.parsed.newAliases[Q] && st.every((x) => (V.alias[x] || []).indexOf(Q) === -1));
2024
+ const ot = (Object.keys(V.alias) || []).concat(Object.keys(a.parsed.newAliases) || []);
2025
+ ft = ft.filter((Q) => !a.parsed.newAliases[Q] && ot.every((x) => (V.alias[x] || []).indexOf(Q) === -1));
2026
2026
  const ut = e("Options:");
2027
2027
  k[ut] || (k[ut] = []), M(ft, V.alias, k, ut);
2028
2028
  const vt = (Q) => /^--/.test(Ce(Q)), K = Object.keys(k).filter((Q) => k[Q].length > 0).map((Q) => {
2029
- const x = k[Q].filter(X).map((b) => {
2030
- if (st.includes(b))
2031
- return b;
2032
- for (let j = 0, P; (P = st[j]) !== void 0; j++)
2033
- if ((V.alias[P] || []).includes(b))
2029
+ const x = k[Q].filter(X).map((y) => {
2030
+ if (ot.includes(y))
2031
+ return y;
2032
+ for (let F = 0, P; (P = ot[F]) !== void 0; F++)
2033
+ if ((V.alias[P] || []).includes(y))
2034
2034
  return P;
2035
- return b;
2035
+ return y;
2036
2036
  });
2037
2037
  return { groupName: Q, normalizedKeys: x };
2038
2038
  }).filter(({ normalizedKeys: Q }) => Q.length > 0).map(({ groupName: Q, normalizedKeys: x }) => {
2039
- const b = x.reduce((j, P) => (j[P] = [P].concat(V.alias[P] || []).map((J) => Q === n.getPositionalGroupName() ? J : (/^[0-9]$/.test(J) ? V.boolean.includes(P) ? "-" : "--" : J.length > 1 ? "--" : "-") + J).sort((J, ot) => vt(J) === vt(ot) ? 0 : vt(J) ? 1 : -1).join(", "), j), {});
2040
- return { groupName: Q, normalizedKeys: x, switches: b };
2039
+ const y = x.reduce((F, P) => (F[P] = [P].concat(V.alias[P] || []).map((J) => Q === n.getPositionalGroupName() ? J : (/^[0-9]$/.test(J) ? V.boolean.includes(P) ? "-" : "--" : J.length > 1 ? "--" : "-") + J).sort((J, st) => vt(J) === vt(st) ? 0 : vt(J) ? 1 : -1).join(", "), F), {});
2040
+ return { groupName: Q, normalizedKeys: x, switches: y };
2041
2041
  });
2042
- if (K.filter(({ groupName: Q }) => Q !== n.getPositionalGroupName()).some(({ normalizedKeys: Q, switches: x }) => !Q.every((b) => vt(x[b]))) && K.filter(({ groupName: Q }) => Q !== n.getPositionalGroupName()).forEach(({ normalizedKeys: Q, switches: x }) => {
2043
- Q.forEach((b) => {
2044
- vt(x[b]) && (x[b] = Ao(x[b], 4));
2042
+ if (K.filter(({ groupName: Q }) => Q !== n.getPositionalGroupName()).some(({ normalizedKeys: Q, switches: x }) => !Q.every((y) => vt(x[y]))) && K.filter(({ groupName: Q }) => Q !== n.getPositionalGroupName()).forEach(({ normalizedKeys: Q, switches: x }) => {
2043
+ Q.forEach((y) => {
2044
+ vt(x[y]) && (x[y] = Ao(x[y], 4));
2045
2045
  });
2046
- }), K.forEach(({ groupName: Q, normalizedKeys: x, switches: b }) => {
2047
- at.div(Q), x.forEach((j) => {
2048
- const P = b[j];
2049
- let J = w[j] || "", ot = null;
2050
- J.includes(T) && (J = e(J.substring(T.length))), V.boolean.includes(j) && (ot = `[${e("boolean")}]`), V.count.includes(j) && (ot = `[${e("count")}]`), V.string.includes(j) && (ot = `[${e("string")}]`), V.normalize.includes(j) && (ot = `[${e("string")}]`), V.array.includes(j) && (ot = `[${e("array")}]`), V.number.includes(j) && (ot = `[${e("number")}]`);
2046
+ }), K.forEach(({ groupName: Q, normalizedKeys: x, switches: y }) => {
2047
+ at.div(Q), x.forEach((F) => {
2048
+ const P = y[F];
2049
+ let J = w[F] || "", st = null;
2050
+ J.includes(T) && (J = e(J.substring(T.length))), V.boolean.includes(F) && (st = `[${e("boolean")}]`), V.count.includes(F) && (st = `[${e("count")}]`), V.string.includes(F) && (st = `[${e("string")}]`), V.normalize.includes(F) && (st = `[${e("string")}]`), V.array.includes(F) && (st = `[${e("array")}]`), V.number.includes(F) && (st = `[${e("number")}]`);
2051
2051
  const rt = (f) => typeof f == "string" ? `[${e("deprecated: %s", f)}]` : `[${e("deprecated")}]`, ht = [
2052
- j in z ? rt(z[j]) : null,
2053
- ot,
2054
- j in $ ? `[${e("required")}]` : null,
2055
- V.choices && V.choices[j] ? `[${e("choices:")} ${n.stringifiedValues(V.choices[j])}]` : null,
2056
- W(V.default[j], V.defaultDescription[j])
2052
+ F in z ? rt(z[F]) : null,
2053
+ st,
2054
+ F in $ ? `[${e("required")}]` : null,
2055
+ V.choices && V.choices[F] ? `[${e("choices:")} ${n.stringifiedValues(V.choices[F])}]` : null,
2056
+ W(V.default[F], V.defaultDescription[F])
2057
2057
  ].filter(Boolean).join(" ");
2058
2058
  at.span({
2059
2059
  text: Ce(P),
2060
2060
  padding: [0, 2, 0, 2 + _r(P)],
2061
- width: C(b, Ot) + 4
2061
+ width: C(y, Ot) + 4
2062
2062
  }, J);
2063
2063
  const A = a.getInternalMethods().getUsageConfiguration()["hide-types"] === !0;
2064
2064
  ht && !A ? at.div({ text: ht, padding: [0, 0, 0, 2], align: "right" }) : at.div();
@@ -2156,7 +2156,7 @@ function No(a, t) {
2156
2156
  const R = a.getInternalMethods().getLoggerInstance();
2157
2157
  S || (S = "error"), (typeof S == "function" ? S : R[S])(d);
2158
2158
  }, n.reset = function(R) {
2159
- return i = null, l = !1, E = [], m = !1, D = [], p = [], y = [], w = xe(w, ($) => !R[$]), n;
2159
+ return i = null, l = !1, E = [], m = !1, D = [], p = [], b = [], w = xe(w, ($) => !R[$]), n;
2160
2160
  };
2161
2161
  const B = [];
2162
2162
  return n.freeze = function() {
@@ -2167,19 +2167,19 @@ function No(a, t) {
2167
2167
  usageDisabled: m,
2168
2168
  epilogs: D,
2169
2169
  examples: p,
2170
- commands: y,
2170
+ commands: b,
2171
2171
  descriptions: w
2172
2172
  });
2173
2173
  }, n.unfreeze = function(R = !1) {
2174
2174
  const $ = B.pop();
2175
- $ && (R ? (w = { ...$.descriptions, ...w }, y = [...$.commands, ...y], E = [...$.usages, ...E], p = [...$.examples, ...p], D = [...$.epilogs, ...D]) : {
2175
+ $ && (R ? (w = { ...$.descriptions, ...w }, b = [...$.commands, ...b], E = [...$.usages, ...E], p = [...$.examples, ...p], D = [...$.epilogs, ...D]) : {
2176
2176
  failMessage: i,
2177
2177
  failureOutput: l,
2178
2178
  usages: E,
2179
2179
  usageDisabled: m,
2180
2180
  epilogs: D,
2181
2181
  examples: p,
2182
- commands: y,
2182
+ commands: b,
2183
2183
  descriptions: w
2184
2184
  } = $);
2185
2185
  }, n;
@@ -2345,8 +2345,8 @@ class Lo {
2345
2345
  }), _ = D ? w[D] : void 0, I = (l = (o = w[t]) !== null && o !== void 0 ? o : _) !== null && l !== void 0 ? l : "";
2346
2346
  E = `${t.replace(/:/g, "\\:")}:${I.replace("__yargsString__:", "").replace(/(\r\n|\n|\r)/gm, " ")}`;
2347
2347
  }
2348
- const m = (w) => /^--/.test(w), p = (w) => /^[^0-9]$/.test(w), y = !m(n) && p(t) ? "-" : "--";
2349
- e.push(y + E), s && e.push(y + "no-" + E);
2348
+ const m = (w) => /^--/.test(w), p = (w) => /^[^0-9]$/.test(w), b = !m(n) && p(t) ? "-" : "--";
2349
+ e.push(b + E), s && e.push(b + "no-" + E);
2350
2350
  }
2351
2351
  customCompletion(t, e, n, s) {
2352
2352
  if (jt(this.customCompletionFunction, null, this.shim), Fo(this.customCompletionFunction)) {
@@ -2412,14 +2412,14 @@ const Nr = ["$0", "--", "_"];
2412
2412
  function Ro(a, t, e) {
2413
2413
  const n = e.y18n.__, s = e.y18n.__n, i = {};
2414
2414
  i.nonOptionCount = function(p) {
2415
- const y = a.getDemandedCommands(), D = p._.length + (p["--"] ? p["--"].length : 0) - a.getInternalMethods().getContext().commands.length;
2416
- y._ && (D < y._.min || D > y._.max) && (D < y._.min ? y._.minMsg !== void 0 ? t.fail(y._.minMsg ? y._.minMsg.replace(/\$0/g, D.toString()).replace(/\$1/, y._.min.toString()) : null) : t.fail(s("Not enough non-option arguments: got %s, need at least %s", "Not enough non-option arguments: got %s, need at least %s", D, D.toString(), y._.min.toString())) : D > y._.max && (y._.maxMsg !== void 0 ? t.fail(y._.maxMsg ? y._.maxMsg.replace(/\$0/g, D.toString()).replace(/\$1/, y._.max.toString()) : null) : t.fail(s("Too many non-option arguments: got %s, maximum of %s", "Too many non-option arguments: got %s, maximum of %s", D, D.toString(), y._.max.toString()))));
2417
- }, i.positionalCount = function(p, y) {
2418
- y < p && t.fail(s("Not enough non-option arguments: got %s, need at least %s", "Not enough non-option arguments: got %s, need at least %s", y, y + "", p + ""));
2419
- }, i.requiredArguments = function(p, y) {
2415
+ const b = a.getDemandedCommands(), D = p._.length + (p["--"] ? p["--"].length : 0) - a.getInternalMethods().getContext().commands.length;
2416
+ b._ && (D < b._.min || D > b._.max) && (D < b._.min ? b._.minMsg !== void 0 ? t.fail(b._.minMsg ? b._.minMsg.replace(/\$0/g, D.toString()).replace(/\$1/, b._.min.toString()) : null) : t.fail(s("Not enough non-option arguments: got %s, need at least %s", "Not enough non-option arguments: got %s, need at least %s", D, D.toString(), b._.min.toString())) : D > b._.max && (b._.maxMsg !== void 0 ? t.fail(b._.maxMsg ? b._.maxMsg.replace(/\$0/g, D.toString()).replace(/\$1/, b._.max.toString()) : null) : t.fail(s("Too many non-option arguments: got %s, maximum of %s", "Too many non-option arguments: got %s, maximum of %s", D, D.toString(), b._.max.toString()))));
2417
+ }, i.positionalCount = function(p, b) {
2418
+ b < p && t.fail(s("Not enough non-option arguments: got %s, need at least %s", "Not enough non-option arguments: got %s, need at least %s", b, b + "", p + ""));
2419
+ }, i.requiredArguments = function(p, b) {
2420
2420
  let w = null;
2421
- for (const D of Object.keys(y))
2422
- (!Object.prototype.hasOwnProperty.call(p, D) || typeof p[D] > "u") && (w = w || {}, w[D] = y[D]);
2421
+ for (const D of Object.keys(b))
2422
+ (!Object.prototype.hasOwnProperty.call(p, D) || typeof p[D] > "u") && (w = w || {}, w[D] = b[D]);
2423
2423
  if (w) {
2424
2424
  const D = [];
2425
2425
  for (const I of Object.keys(w)) {
@@ -2431,11 +2431,11 @@ ${D.join(`
2431
2431
  `)}` : "";
2432
2432
  t.fail(s("Missing required argument: %s", "Missing required arguments: %s", Object.keys(w).length, Object.keys(w).join(", ") + _));
2433
2433
  }
2434
- }, i.unknownArguments = function(p, y, w, D, _ = !0) {
2434
+ }, i.unknownArguments = function(p, b, w, D, _ = !0) {
2435
2435
  var I;
2436
2436
  const T = a.getInternalMethods().getCommandInstance().getCommands(), C = [], g = a.getInternalMethods().getContext();
2437
2437
  if (Object.keys(p).forEach((v) => {
2438
- !Nr.includes(v) && !Object.prototype.hasOwnProperty.call(w, v) && !Object.prototype.hasOwnProperty.call(a.getInternalMethods().getParseContext(), v) && !i.isValidAndSomeAliasIsNotNew(v, y) && C.push(v);
2438
+ !Nr.includes(v) && !Object.prototype.hasOwnProperty.call(w, v) && !Object.prototype.hasOwnProperty.call(a.getInternalMethods().getParseContext(), v) && !i.isValidAndSomeAliasIsNotNew(v, b) && C.push(v);
2439
2439
  }), _ && (g.commands.length > 0 || T.length > 0 || D) && p._.slice(g.commands.length).forEach((v) => {
2440
2440
  T.includes("" + v) || C.push("" + v);
2441
2441
  }), _) {
@@ -2446,22 +2446,22 @@ ${D.join(`
2446
2446
  }
2447
2447
  C.length && t.fail(s("Unknown argument: %s", "Unknown arguments: %s", C.length, C.map((v) => v.trim() ? v : `"${v}"`).join(", ")));
2448
2448
  }, i.unknownCommands = function(p) {
2449
- const y = a.getInternalMethods().getCommandInstance().getCommands(), w = [], D = a.getInternalMethods().getContext();
2450
- return (D.commands.length > 0 || y.length > 0) && p._.slice(D.commands.length).forEach((_) => {
2451
- y.includes("" + _) || w.push("" + _);
2449
+ const b = a.getInternalMethods().getCommandInstance().getCommands(), w = [], D = a.getInternalMethods().getContext();
2450
+ return (D.commands.length > 0 || b.length > 0) && p._.slice(D.commands.length).forEach((_) => {
2451
+ b.includes("" + _) || w.push("" + _);
2452
2452
  }), w.length > 0 ? (t.fail(s("Unknown command: %s", "Unknown commands: %s", w.length, w.join(", "))), !0) : !1;
2453
- }, i.isValidAndSomeAliasIsNotNew = function(p, y) {
2454
- if (!Object.prototype.hasOwnProperty.call(y, p))
2453
+ }, i.isValidAndSomeAliasIsNotNew = function(p, b) {
2454
+ if (!Object.prototype.hasOwnProperty.call(b, p))
2455
2455
  return !1;
2456
2456
  const w = a.parsed.newAliases;
2457
- return [p, ...y[p]].some((D) => !Object.prototype.hasOwnProperty.call(w, D) || !w[p]);
2457
+ return [p, ...b[p]].some((D) => !Object.prototype.hasOwnProperty.call(w, D) || !w[p]);
2458
2458
  }, i.limitedChoices = function(p) {
2459
- const y = a.getOptions(), w = {};
2460
- if (!Object.keys(y.choices).length)
2459
+ const b = a.getOptions(), w = {};
2460
+ if (!Object.keys(b.choices).length)
2461
2461
  return;
2462
2462
  Object.keys(p).forEach((I) => {
2463
- Nr.indexOf(I) === -1 && Object.prototype.hasOwnProperty.call(y.choices, I) && [].concat(p[I]).forEach((T) => {
2464
- y.choices[I].indexOf(T) === -1 && T !== void 0 && (w[I] = (w[I] || []).concat(T));
2463
+ Nr.indexOf(I) === -1 && Object.prototype.hasOwnProperty.call(b.choices, I) && [].concat(p[I]).forEach((T) => {
2464
+ b.choices[I].indexOf(T) === -1 && T !== void 0 && (w[I] = (w[I] || []).concat(T));
2465
2465
  });
2466
2466
  });
2467
2467
  const D = Object.keys(w);
@@ -2470,63 +2470,63 @@ ${D.join(`
2470
2470
  let _ = n("Invalid values:");
2471
2471
  D.forEach((I) => {
2472
2472
  _ += `
2473
- ${n("Argument: %s, Given: %s, Choices: %s", I, t.stringifiedValues(w[I]), t.stringifiedValues(y.choices[I]))}`;
2473
+ ${n("Argument: %s, Given: %s, Choices: %s", I, t.stringifiedValues(w[I]), t.stringifiedValues(b.choices[I]))}`;
2474
2474
  }), t.fail(_);
2475
2475
  };
2476
2476
  let r = {};
2477
- i.implies = function(p, y) {
2478
- G("<string|object> [array|number|string]", [p, y], arguments.length), typeof p == "object" ? Object.keys(p).forEach((w) => {
2477
+ i.implies = function(p, b) {
2478
+ G("<string|object> [array|number|string]", [p, b], arguments.length), typeof p == "object" ? Object.keys(p).forEach((w) => {
2479
2479
  i.implies(w, p[w]);
2480
- }) : (a.global(p), r[p] || (r[p] = []), Array.isArray(y) ? y.forEach((w) => i.implies(p, w)) : (jt(y, void 0, e), r[p].push(y)));
2480
+ }) : (a.global(p), r[p] || (r[p] = []), Array.isArray(b) ? b.forEach((w) => i.implies(p, w)) : (jt(b, void 0, e), r[p].push(b)));
2481
2481
  }, i.getImplied = function() {
2482
2482
  return r;
2483
2483
  };
2484
2484
  function o(m, p) {
2485
- const y = Number(p);
2486
- return p = isNaN(y) ? p : y, typeof p == "number" ? p = m._.length >= p : p.match(/^--no-.+/) ? (p = p.match(/^--no-(.+)/)[1], p = !Object.prototype.hasOwnProperty.call(m, p)) : p = Object.prototype.hasOwnProperty.call(m, p), p;
2485
+ const b = Number(p);
2486
+ return p = isNaN(b) ? p : b, typeof p == "number" ? p = m._.length >= p : p.match(/^--no-.+/) ? (p = p.match(/^--no-(.+)/)[1], p = !Object.prototype.hasOwnProperty.call(m, p)) : p = Object.prototype.hasOwnProperty.call(m, p), p;
2487
2487
  }
2488
2488
  i.implications = function(p) {
2489
- const y = [];
2489
+ const b = [];
2490
2490
  if (Object.keys(r).forEach((w) => {
2491
2491
  const D = w;
2492
2492
  (r[w] || []).forEach((_) => {
2493
2493
  let I = D;
2494
2494
  const T = _;
2495
- I = o(p, I), _ = o(p, _), I && !_ && y.push(` ${D} -> ${T}`);
2495
+ I = o(p, I), _ = o(p, _), I && !_ && b.push(` ${D} -> ${T}`);
2496
2496
  });
2497
- }), y.length) {
2497
+ }), b.length) {
2498
2498
  let w = `${n("Implications failed:")}
2499
2499
  `;
2500
- y.forEach((D) => {
2500
+ b.forEach((D) => {
2501
2501
  w += D;
2502
2502
  }), t.fail(w);
2503
2503
  }
2504
2504
  };
2505
2505
  let l = {};
2506
- i.conflicts = function(p, y) {
2507
- G("<string|object> [array|string]", [p, y], arguments.length), typeof p == "object" ? Object.keys(p).forEach((w) => {
2506
+ i.conflicts = function(p, b) {
2507
+ G("<string|object> [array|string]", [p, b], arguments.length), typeof p == "object" ? Object.keys(p).forEach((w) => {
2508
2508
  i.conflicts(w, p[w]);
2509
- }) : (a.global(p), l[p] || (l[p] = []), Array.isArray(y) ? y.forEach((w) => i.conflicts(p, w)) : l[p].push(y));
2509
+ }) : (a.global(p), l[p] || (l[p] = []), Array.isArray(b) ? b.forEach((w) => i.conflicts(p, w)) : l[p].push(b));
2510
2510
  }, i.getConflicting = () => l, i.conflicting = function(p) {
2511
- Object.keys(p).forEach((y) => {
2512
- l[y] && l[y].forEach((w) => {
2513
- w && p[y] !== void 0 && p[w] !== void 0 && t.fail(n("Arguments %s and %s are mutually exclusive", y, w));
2511
+ Object.keys(p).forEach((b) => {
2512
+ l[b] && l[b].forEach((w) => {
2513
+ w && p[b] !== void 0 && p[w] !== void 0 && t.fail(n("Arguments %s and %s are mutually exclusive", b, w));
2514
2514
  });
2515
- }), a.getInternalMethods().getParserConfiguration()["strip-dashed"] && Object.keys(l).forEach((y) => {
2516
- l[y].forEach((w) => {
2517
- w && p[e.Parser.camelCase(y)] !== void 0 && p[e.Parser.camelCase(w)] !== void 0 && t.fail(n("Arguments %s and %s are mutually exclusive", y, w));
2515
+ }), a.getInternalMethods().getParserConfiguration()["strip-dashed"] && Object.keys(l).forEach((b) => {
2516
+ l[b].forEach((w) => {
2517
+ w && p[e.Parser.camelCase(b)] !== void 0 && p[e.Parser.camelCase(w)] !== void 0 && t.fail(n("Arguments %s and %s are mutually exclusive", b, w));
2518
2518
  });
2519
2519
  });
2520
- }, i.recommendCommands = function(p, y) {
2521
- y = y.sort((I, T) => T.length - I.length);
2520
+ }, i.recommendCommands = function(p, b) {
2521
+ b = b.sort((I, T) => T.length - I.length);
2522
2522
  let D = null, _ = 1 / 0;
2523
- for (let I = 0, T; (T = y[I]) !== void 0; I++) {
2523
+ for (let I = 0, T; (T = b[I]) !== void 0; I++) {
2524
2524
  const C = Bo(p, T);
2525
2525
  C <= 3 && C < _ && (_ = C, D = T);
2526
2526
  }
2527
2527
  D && t.fail(n("Did you mean %s?", D));
2528
2528
  }, i.reset = function(p) {
2529
- return r = xe(r, (y) => !p[y]), l = xe(l, (y) => !p[y]), i;
2529
+ return r = xe(r, (b) => !p[b]), l = xe(l, (b) => !p[b]), i;
2530
2530
  };
2531
2531
  const E = [];
2532
2532
  return i.freeze = function() {
@@ -2586,7 +2586,7 @@ var H = function(a, t, e, n, s) {
2586
2586
  if (e === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
2587
2587
  if (typeof t == "function" ? a !== t || !n : !t.has(a)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
2588
2588
  return e === "m" ? n : e === "a" ? n.call(a) : n ? n.value : t.get(a);
2589
- }, mt, zt, fe, _t, It, De, Vt, Yt, Te, Nt, ve, At, Bt, Ct, Mt, _e, se, wt, Y, Ne, Ae, Dt, kt, oe, Kt, Ht, Me, tt, Qt, Jt, Zt, et, Pe, Rt, dt;
2589
+ }, mt, zt, fe, _t, It, De, Vt, Yt, Te, Nt, ve, At, Rt, Ct, Mt, _e, se, wt, Y, Ne, Ae, Dt, kt, oe, Kt, Ht, Me, tt, Qt, Jt, Zt, et, Pe, Ut, dt;
2590
2590
  function $o(a) {
2591
2591
  return (t = [], e = a.process.cwd(), n) => {
2592
2592
  const s = new Wo(t, e, n, a);
@@ -2599,7 +2599,7 @@ function $o(a) {
2599
2599
  const Ar = Symbol("copyDoubleDash"), Mr = Symbol("copyDoubleDash"), Ye = Symbol("deleteFromParserHintObject"), Pr = Symbol("emitWarning"), Lr = Symbol("freeze"), Sr = Symbol("getDollarZero"), te = Symbol("getParserConfiguration"), Fr = Symbol("getUsageConfiguration"), ke = Symbol("guessLocale"), jr = Symbol("guessVersion"), Br = Symbol("parsePositionalNumbers"), Ke = Symbol("pkgUp"), Gt = Symbol("populateParserHintArray"), ae = Symbol("populateParserHintSingleValueDictionary"), Qe = Symbol("populateParserHintArrayDictionary"), Je = Symbol("populateParserHintDictionary"), Ze = Symbol("sanitizeKey"), tn = Symbol("setKey"), en = Symbol("unfreeze"), Rr = Symbol("validateAsync"), Ur = Symbol("getCommandInstance"), Xr = Symbol("getContext"), $r = Symbol("getHasOutput"), Wr = Symbol("getLoggerInstance"), qr = Symbol("getParseContext"), Vr = Symbol("getUsageInstance"), Hr = Symbol("getValidationInstance"), Le = Symbol("hasParseCallback"), Gr = Symbol("isGlobalContext"), ee = Symbol("postProcess"), zr = Symbol("rebase"), nn = Symbol("reset"), he = Symbol("runYargsParserAndExecuteCommands"), rn = Symbol("runValidation"), Yr = Symbol("setHasOutput"), ne = Symbol("kTrackManuallySetKeys");
2600
2600
  class Wo {
2601
2601
  constructor(t = [], e, n, s) {
2602
- this.customScriptName = !1, this.parsed = !1, mt.set(this, void 0), zt.set(this, void 0), fe.set(this, { commands: [], fullCommands: [] }), _t.set(this, null), It.set(this, null), De.set(this, "show-hidden"), Vt.set(this, null), Yt.set(this, !0), Te.set(this, {}), Nt.set(this, !0), ve.set(this, []), At.set(this, void 0), Bt.set(this, {}), Ct.set(this, !1), Mt.set(this, null), _e.set(this, !0), se.set(this, void 0), wt.set(this, ""), Y.set(this, void 0), Ne.set(this, void 0), Ae.set(this, {}), Dt.set(this, null), kt.set(this, null), oe.set(this, {}), Kt.set(this, {}), Ht.set(this, void 0), Me.set(this, !1), tt.set(this, void 0), Qt.set(this, !1), Jt.set(this, !1), Zt.set(this, !1), et.set(this, void 0), Pe.set(this, {}), Rt.set(this, null), dt.set(this, void 0), H(this, tt, s, "f"), H(this, Ht, t, "f"), H(this, zt, e, "f"), H(this, Ne, n, "f"), H(this, At, new wo(this), "f"), this.$0 = this[Sr](), this[nn](), H(this, mt, O(this, mt, "f"), "f"), H(this, et, O(this, et, "f"), "f"), H(this, dt, O(this, dt, "f"), "f"), H(this, Y, O(this, Y, "f"), "f"), O(this, Y, "f").showHiddenOpt = O(this, De, "f"), H(this, se, this[Mr](), "f");
2602
+ this.customScriptName = !1, this.parsed = !1, mt.set(this, void 0), zt.set(this, void 0), fe.set(this, { commands: [], fullCommands: [] }), _t.set(this, null), It.set(this, null), De.set(this, "show-hidden"), Vt.set(this, null), Yt.set(this, !0), Te.set(this, {}), Nt.set(this, !0), ve.set(this, []), At.set(this, void 0), Rt.set(this, {}), Ct.set(this, !1), Mt.set(this, null), _e.set(this, !0), se.set(this, void 0), wt.set(this, ""), Y.set(this, void 0), Ne.set(this, void 0), Ae.set(this, {}), Dt.set(this, null), kt.set(this, null), oe.set(this, {}), Kt.set(this, {}), Ht.set(this, void 0), Me.set(this, !1), tt.set(this, void 0), Qt.set(this, !1), Jt.set(this, !1), Zt.set(this, !1), et.set(this, void 0), Pe.set(this, {}), Ut.set(this, null), dt.set(this, void 0), H(this, tt, s, "f"), H(this, Ht, t, "f"), H(this, zt, e, "f"), H(this, Ne, n, "f"), H(this, At, new wo(this), "f"), this.$0 = this[Sr](), this[nn](), H(this, mt, O(this, mt, "f"), "f"), H(this, et, O(this, et, "f"), "f"), H(this, dt, O(this, dt, "f"), "f"), H(this, Y, O(this, Y, "f"), "f"), O(this, Y, "f").showHiddenOpt = O(this, De, "f"), H(this, se, this[Mr](), "f");
2603
2603
  }
2604
2604
  addHelpOpt(t, e) {
2605
2605
  const n = "help";
@@ -2767,7 +2767,7 @@ class Wo {
2767
2767
  return O(this, Nt, "f");
2768
2768
  }
2769
2769
  getGroups() {
2770
- return Object.assign({}, O(this, Bt, "f"), O(this, Kt, "f"));
2770
+ return Object.assign({}, O(this, Rt, "f"), O(this, Kt, "f"));
2771
2771
  }
2772
2772
  getHelp() {
2773
2773
  if (H(this, Ct, !0, "f"), !O(this, et, "f").hasCachedHelpMessage()) {
@@ -2801,10 +2801,10 @@ class Wo {
2801
2801
  }
2802
2802
  group(t, e) {
2803
2803
  G("<string|array> <string>", [t, e], arguments.length);
2804
- const n = O(this, Kt, "f")[e] || O(this, Bt, "f")[e];
2804
+ const n = O(this, Kt, "f")[e] || O(this, Rt, "f")[e];
2805
2805
  O(this, Kt, "f")[e] && delete O(this, Kt, "f")[e];
2806
2806
  const s = {};
2807
- return O(this, Bt, "f")[e] = (n || []).concat(t).filter((i) => s[i] ? !1 : s[i] = !0), this;
2807
+ return O(this, Rt, "f")[e] = (n || []).concat(t).filter((i) => s[i] ? !1 : s[i] = !0), this;
2808
2808
  }
2809
2809
  hide(t) {
2810
2810
  return G("<string>", [t], arguments.length), O(this, Y, "f").hiddenOptions.push(t), this;
@@ -2833,7 +2833,7 @@ class Wo {
2833
2833
  this.options(n, t[n]);
2834
2834
  });
2835
2835
  else {
2836
- typeof e != "object" && (e = {}), this[ne](t), O(this, Rt, "f") && (t === "version" || e?.alias === "version") && this[Pr]([
2836
+ typeof e != "object" && (e = {}), this[ne](t), O(this, Ut, "f") && (t === "version" || e?.alias === "version") && this[Pr]([
2837
2837
  '"version" is a reserved word.',
2838
2838
  "Please do one of the following:",
2839
2839
  '- Disable version with `yargs.version(false)` if using "version" as an option',
@@ -2988,19 +2988,19 @@ class Wo {
2988
2988
  }
2989
2989
  version(t, e, n) {
2990
2990
  const s = "version";
2991
- if (G("[boolean|string] [string] [string]", [t, e, n], arguments.length), O(this, Rt, "f") && (this[Ye](O(this, Rt, "f")), O(this, et, "f").version(void 0), H(this, Rt, null, "f")), arguments.length === 0)
2991
+ if (G("[boolean|string] [string] [string]", [t, e, n], arguments.length), O(this, Ut, "f") && (this[Ye](O(this, Ut, "f")), O(this, et, "f").version(void 0), H(this, Ut, null, "f")), arguments.length === 0)
2992
2992
  n = this[jr](), t = s;
2993
2993
  else if (arguments.length === 1) {
2994
2994
  if (t === !1)
2995
2995
  return this;
2996
2996
  n = t, t = s;
2997
2997
  } else arguments.length === 2 && (n = e, e = void 0);
2998
- return H(this, Rt, typeof t == "string" ? t : s, "f"), e = e || O(this, et, "f").deferY18nLookup("Show version number"), O(this, et, "f").version(n || void 0), this.boolean(O(this, Rt, "f")), this.describe(O(this, Rt, "f"), e), this;
2998
+ return H(this, Ut, typeof t == "string" ? t : s, "f"), e = e || O(this, et, "f").deferY18nLookup("Show version number"), O(this, et, "f").version(n || void 0), this.boolean(O(this, Ut, "f")), this.describe(O(this, Ut, "f"), e), this;
2999
2999
  }
3000
3000
  wrap(t) {
3001
3001
  return G("<number|null|undefined>", [t], arguments.length), O(this, et, "f").wrap(t), this;
3002
3002
  }
3003
- [(mt = /* @__PURE__ */ new WeakMap(), zt = /* @__PURE__ */ new WeakMap(), fe = /* @__PURE__ */ new WeakMap(), _t = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), De = /* @__PURE__ */ new WeakMap(), Vt = /* @__PURE__ */ new WeakMap(), Yt = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakMap(), Nt = /* @__PURE__ */ new WeakMap(), ve = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), Bt = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), _e = /* @__PURE__ */ new WeakMap(), se = /* @__PURE__ */ new WeakMap(), wt = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), Ne = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakMap(), Dt = /* @__PURE__ */ new WeakMap(), kt = /* @__PURE__ */ new WeakMap(), oe = /* @__PURE__ */ new WeakMap(), Kt = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), tt = /* @__PURE__ */ new WeakMap(), Qt = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Zt = /* @__PURE__ */ new WeakMap(), et = /* @__PURE__ */ new WeakMap(), Pe = /* @__PURE__ */ new WeakMap(), Rt = /* @__PURE__ */ new WeakMap(), dt = /* @__PURE__ */ new WeakMap(), Ar)](t) {
3003
+ [(mt = /* @__PURE__ */ new WeakMap(), zt = /* @__PURE__ */ new WeakMap(), fe = /* @__PURE__ */ new WeakMap(), _t = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), De = /* @__PURE__ */ new WeakMap(), Vt = /* @__PURE__ */ new WeakMap(), Yt = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakMap(), Nt = /* @__PURE__ */ new WeakMap(), ve = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), Rt = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), _e = /* @__PURE__ */ new WeakMap(), se = /* @__PURE__ */ new WeakMap(), wt = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), Ne = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakMap(), Dt = /* @__PURE__ */ new WeakMap(), kt = /* @__PURE__ */ new WeakMap(), oe = /* @__PURE__ */ new WeakMap(), Kt = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), tt = /* @__PURE__ */ new WeakMap(), Qt = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Zt = /* @__PURE__ */ new WeakMap(), et = /* @__PURE__ */ new WeakMap(), Pe = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap(), dt = /* @__PURE__ */ new WeakMap(), Ar)](t) {
3004
3004
  if (!t._ || !t["--"])
3005
3005
  return t;
3006
3006
  t._.push.apply(t._, t["--"]);
@@ -3038,7 +3038,7 @@ class Wo {
3038
3038
  options: O(this, Y, "f"),
3039
3039
  configObjects: O(this, Y, "f").configObjects.slice(0),
3040
3040
  exitProcess: O(this, Nt, "f"),
3041
- groups: O(this, Bt, "f"),
3041
+ groups: O(this, Rt, "f"),
3042
3042
  strict: O(this, Qt, "f"),
3043
3043
  strictCommands: O(this, Jt, "f"),
3044
3044
  strictOptions: O(this, Zt, "f"),
@@ -3129,11 +3129,11 @@ class Wo {
3129
3129
  return this[ae](this[tn].bind(this), "key", t, e), this;
3130
3130
  }
3131
3131
  [en]() {
3132
- var t, e, n, s, i, r, o, l, E, m, p, y;
3132
+ var t, e, n, s, i, r, o, l, E, m, p, b;
3133
3133
  const w = O(this, ve, "f").pop();
3134
3134
  jt(w, void 0, O(this, tt, "f"));
3135
3135
  let D;
3136
- t = this, e = this, n = this, s = this, i = this, r = this, o = this, l = this, E = this, m = this, p = this, y = this, {
3136
+ t = this, e = this, n = this, s = this, i = this, r = this, o = this, l = this, E = this, m = this, p = this, b = this, {
3137
3137
  options: { set value(_) {
3138
3138
  H(t, Y, _, "f");
3139
3139
  } }.value,
@@ -3142,7 +3142,7 @@ class Wo {
3142
3142
  H(e, Nt, _, "f");
3143
3143
  } }.value,
3144
3144
  groups: { set value(_) {
3145
- H(n, Bt, _, "f");
3145
+ H(n, Rt, _, "f");
3146
3146
  } }.value,
3147
3147
  output: { set value(_) {
3148
3148
  H(s, wt, _, "f");
@@ -3170,7 +3170,7 @@ class Wo {
3170
3170
  H(p, Dt, _, "f");
3171
3171
  } }.value,
3172
3172
  parseContext: { set value(_) {
3173
- H(y, kt, _, "f");
3173
+ H(b, kt, _, "f");
3174
3174
  } }.value
3175
3175
  } = w, O(this, Y, "f").configObjects = D, O(this, et, "f").unfreeze(), O(this, dt, "f").unfreeze(), O(this, mt, "f").unfreeze(), O(this, At, "f").unfreeze();
3176
3176
  }
@@ -3236,10 +3236,10 @@ class Wo {
3236
3236
  n[r] = !0, (t[r] || []).forEach((o) => {
3237
3237
  n[o] = !0;
3238
3238
  });
3239
- }), Object.assign(O(this, Kt, "f"), Object.keys(O(this, Bt, "f")).reduce((r, o) => {
3240
- const l = O(this, Bt, "f")[o].filter((E) => !(E in n));
3239
+ }), Object.assign(O(this, Kt, "f"), Object.keys(O(this, Rt, "f")).reduce((r, o) => {
3240
+ const l = O(this, Rt, "f")[o].filter((E) => !(E in n));
3241
3241
  return l.length > 0 && (r[o] = l), r;
3242
- }, {})), H(this, Bt, {}, "f");
3242
+ }, {})), H(this, Rt, {}, "f");
3243
3243
  const s = [
3244
3244
  "array",
3245
3245
  "boolean",
@@ -3279,15 +3279,15 @@ class Wo {
3279
3279
  configuration: { "parse-positional-numbers": !1, ...l }
3280
3280
  })), m = Object.assign(E.argv, O(this, kt, "f"));
3281
3281
  let p;
3282
- const y = E.aliases;
3282
+ const b = E.aliases;
3283
3283
  let w = !1, D = !1;
3284
3284
  Object.keys(m).forEach((_) => {
3285
- _ === O(this, Mt, "f") && m[_] ? w = !0 : _ === O(this, Rt, "f") && m[_] && (D = !0);
3285
+ _ === O(this, Mt, "f") && m[_] ? w = !0 : _ === O(this, Ut, "f") && m[_] && (D = !0);
3286
3286
  }), m.$0 = this.$0, this.parsed = E, s === 0 && O(this, et, "f").clearCachedHelpMessage();
3287
3287
  try {
3288
3288
  if (this[ke](), e)
3289
3289
  return this[ee](m, o, !!n, !1);
3290
- O(this, Mt, "f") && [O(this, Mt, "f")].concat(y[O(this, Mt, "f")] || []).filter((g) => g.length > 1).includes("" + m._[m._.length - 1]) && (m._.pop(), w = !0), H(this, _e, !1, "f");
3290
+ O(this, Mt, "f") && [O(this, Mt, "f")].concat(b[O(this, Mt, "f")] || []).filter((g) => g.length > 1).includes("" + m._[m._.length - 1]) && (m._.pop(), w = !0), H(this, _e, !1, "f");
3291
3291
  const _ = O(this, mt, "f").getCommands(), I = O(this, _t, "f").completionKey in m, T = w || I || i;
3292
3292
  if (m._.length) {
3293
3293
  if (_.length) {
@@ -3323,7 +3323,7 @@ class Wo {
3323
3323
  if (E.error)
3324
3324
  throw new gt(E.error.message);
3325
3325
  if (!I) {
3326
- const C = this[rn](y, {}, E.error);
3326
+ const C = this[rn](b, {}, E.error);
3327
3327
  n || (p = be(m, this, O(this, At, "f").getMiddleware(), !0)), p = this[Rr](C, p ?? m), yt(p) && !n && (p = p.then(() => be(m, this, O(this, At, "f").getMiddleware(), !1)));
3328
3328
  }
3329
3329
  }
@@ -3439,14 +3439,14 @@ function qt() {
3439
3439
  return Kr || (Kr = 1, function() {
3440
3440
  var a, t, e, n, s, i, r, o = [].slice, l = {}.hasOwnProperty;
3441
3441
  a = function() {
3442
- var E, m, p, y, w, D;
3442
+ var E, m, p, b, w, D;
3443
3443
  if (D = arguments[0], w = 2 <= arguments.length ? o.call(arguments, 1) : [], s(Object.assign))
3444
3444
  Object.assign.apply(null, arguments);
3445
3445
  else
3446
3446
  for (E = 0, p = w.length; E < p; E++)
3447
- if (y = w[E], y != null)
3448
- for (m in y)
3449
- l.call(y, m) && (D[m] = y[m]);
3447
+ if (b = w[E], b != null)
3448
+ for (m in b)
3449
+ l.call(b, m) && (D[m] = b[m]);
3450
3450
  return D;
3451
3451
  }, s = function(E) {
3452
3452
  return !!E && Object.prototype.toString.call(E) === "[object Function]";
@@ -3676,8 +3676,8 @@ var ii;
3676
3676
  function tr() {
3677
3677
  return ii || (ii = 1, function() {
3678
3678
  var a, t, e, n, s, i, r, o, l = function(m, p) {
3679
- for (var y in p)
3680
- E.call(p, y) && (m[y] = p[y]);
3679
+ for (var b in p)
3680
+ E.call(p, b) && (m[b] = p[b]);
3681
3681
  function w() {
3682
3682
  this.constructor = m;
3683
3683
  }
@@ -3685,12 +3685,12 @@ function tr() {
3685
3685
  }, E = {}.hasOwnProperty;
3686
3686
  o = qt(), r = o.isObject, i = o.isFunction, s = o.getValue, n = Lt(), a = bt(), t = as(), e = Zn(), pn.exports = function(m) {
3687
3687
  l(p, m);
3688
- function p(y, w, D) {
3688
+ function p(b, w, D) {
3689
3689
  var _, I, T, C;
3690
- if (p.__super__.constructor.call(this, y), w == null)
3690
+ if (p.__super__.constructor.call(this, b), w == null)
3691
3691
  throw new Error("Missing element name. " + this.debugInfo());
3692
- if (this.name = this.stringify.name(w), this.type = a.Element, this.attribs = {}, this.schemaTypeInfo = null, D != null && this.attribute(D), y.type === a.Document && (this.isRoot = !0, this.documentObject = y, y.rootObject = this, y.children)) {
3693
- for (C = y.children, I = 0, T = C.length; I < T; I++)
3692
+ if (this.name = this.stringify.name(w), this.type = a.Element, this.attribs = {}, this.schemaTypeInfo = null, D != null && this.attribute(D), b.type === a.Document && (this.isRoot = !0, this.documentObject = b, b.rootObject = this, b.children)) {
3693
+ for (C = b.children, I = 0, T = C.length; I < T; I++)
3694
3694
  if (_ = C[I], _.type === a.DocType) {
3695
3695
  _.name = this.name;
3696
3696
  break;
@@ -3730,84 +3730,84 @@ function tr() {
3730
3730
  return (!this.attributeMap || !this.attributeMap.nodes) && (this.attributeMap = new e(this.attribs)), this.attributeMap;
3731
3731
  }
3732
3732
  }), p.prototype.clone = function() {
3733
- var y, w, D, _;
3733
+ var b, w, D, _;
3734
3734
  D = Object.create(this), D.isRoot && (D.documentObject = null), D.attribs = {}, _ = this.attribs;
3735
3735
  for (w in _)
3736
- E.call(_, w) && (y = _[w], D.attribs[w] = y.clone());
3736
+ E.call(_, w) && (b = _[w], D.attribs[w] = b.clone());
3737
3737
  return D.children = [], this.children.forEach(function(I) {
3738
3738
  var T;
3739
3739
  return T = I.clone(), T.parent = D, D.children.push(T);
3740
3740
  }), D;
3741
- }, p.prototype.attribute = function(y, w) {
3741
+ }, p.prototype.attribute = function(b, w) {
3742
3742
  var D, _;
3743
- if (y != null && (y = s(y)), r(y))
3744
- for (D in y)
3745
- E.call(y, D) && (_ = y[D], this.attribute(D, _));
3743
+ if (b != null && (b = s(b)), r(b))
3744
+ for (D in b)
3745
+ E.call(b, D) && (_ = b[D], this.attribute(D, _));
3746
3746
  else
3747
- i(w) && (w = w.apply()), this.options.keepNullAttributes && w == null ? this.attribs[y] = new t(this, y, "") : w != null && (this.attribs[y] = new t(this, y, w));
3747
+ i(w) && (w = w.apply()), this.options.keepNullAttributes && w == null ? this.attribs[b] = new t(this, b, "") : w != null && (this.attribs[b] = new t(this, b, w));
3748
3748
  return this;
3749
- }, p.prototype.removeAttribute = function(y) {
3749
+ }, p.prototype.removeAttribute = function(b) {
3750
3750
  var w, D, _;
3751
- if (y == null)
3751
+ if (b == null)
3752
3752
  throw new Error("Missing attribute name. " + this.debugInfo());
3753
- if (y = s(y), Array.isArray(y))
3754
- for (D = 0, _ = y.length; D < _; D++)
3755
- w = y[D], delete this.attribs[w];
3753
+ if (b = s(b), Array.isArray(b))
3754
+ for (D = 0, _ = b.length; D < _; D++)
3755
+ w = b[D], delete this.attribs[w];
3756
3756
  else
3757
- delete this.attribs[y];
3757
+ delete this.attribs[b];
3758
3758
  return this;
3759
- }, p.prototype.toString = function(y) {
3760
- return this.options.writer.element(this, this.options.writer.filterOptions(y));
3761
- }, p.prototype.att = function(y, w) {
3762
- return this.attribute(y, w);
3763
- }, p.prototype.a = function(y, w) {
3764
- return this.attribute(y, w);
3765
- }, p.prototype.getAttribute = function(y) {
3766
- return this.attribs.hasOwnProperty(y) ? this.attribs[y].value : null;
3767
- }, p.prototype.setAttribute = function(y, w) {
3759
+ }, p.prototype.toString = function(b) {
3760
+ return this.options.writer.element(this, this.options.writer.filterOptions(b));
3761
+ }, p.prototype.att = function(b, w) {
3762
+ return this.attribute(b, w);
3763
+ }, p.prototype.a = function(b, w) {
3764
+ return this.attribute(b, w);
3765
+ }, p.prototype.getAttribute = function(b) {
3766
+ return this.attribs.hasOwnProperty(b) ? this.attribs[b].value : null;
3767
+ }, p.prototype.setAttribute = function(b, w) {
3768
3768
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3769
- }, p.prototype.getAttributeNode = function(y) {
3770
- return this.attribs.hasOwnProperty(y) ? this.attribs[y] : null;
3771
- }, p.prototype.setAttributeNode = function(y) {
3769
+ }, p.prototype.getAttributeNode = function(b) {
3770
+ return this.attribs.hasOwnProperty(b) ? this.attribs[b] : null;
3771
+ }, p.prototype.setAttributeNode = function(b) {
3772
3772
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3773
- }, p.prototype.removeAttributeNode = function(y) {
3773
+ }, p.prototype.removeAttributeNode = function(b) {
3774
3774
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3775
- }, p.prototype.getElementsByTagName = function(y) {
3775
+ }, p.prototype.getElementsByTagName = function(b) {
3776
3776
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3777
- }, p.prototype.getAttributeNS = function(y, w) {
3777
+ }, p.prototype.getAttributeNS = function(b, w) {
3778
3778
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3779
- }, p.prototype.setAttributeNS = function(y, w, D) {
3779
+ }, p.prototype.setAttributeNS = function(b, w, D) {
3780
3780
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3781
- }, p.prototype.removeAttributeNS = function(y, w) {
3781
+ }, p.prototype.removeAttributeNS = function(b, w) {
3782
3782
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3783
- }, p.prototype.getAttributeNodeNS = function(y, w) {
3783
+ }, p.prototype.getAttributeNodeNS = function(b, w) {
3784
3784
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3785
- }, p.prototype.setAttributeNodeNS = function(y) {
3785
+ }, p.prototype.setAttributeNodeNS = function(b) {
3786
3786
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3787
- }, p.prototype.getElementsByTagNameNS = function(y, w) {
3787
+ }, p.prototype.getElementsByTagNameNS = function(b, w) {
3788
3788
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3789
- }, p.prototype.hasAttribute = function(y) {
3790
- return this.attribs.hasOwnProperty(y);
3791
- }, p.prototype.hasAttributeNS = function(y, w) {
3789
+ }, p.prototype.hasAttribute = function(b) {
3790
+ return this.attribs.hasOwnProperty(b);
3791
+ }, p.prototype.hasAttributeNS = function(b, w) {
3792
3792
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3793
- }, p.prototype.setIdAttribute = function(y, w) {
3794
- return this.attribs.hasOwnProperty(y) ? this.attribs[y].isId : w;
3795
- }, p.prototype.setIdAttributeNS = function(y, w, D) {
3793
+ }, p.prototype.setIdAttribute = function(b, w) {
3794
+ return this.attribs.hasOwnProperty(b) ? this.attribs[b].isId : w;
3795
+ }, p.prototype.setIdAttributeNS = function(b, w, D) {
3796
3796
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3797
- }, p.prototype.setIdAttributeNode = function(y, w) {
3797
+ }, p.prototype.setIdAttributeNode = function(b, w) {
3798
3798
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3799
- }, p.prototype.getElementsByTagName = function(y) {
3799
+ }, p.prototype.getElementsByTagName = function(b) {
3800
3800
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3801
- }, p.prototype.getElementsByTagNameNS = function(y, w) {
3801
+ }, p.prototype.getElementsByTagNameNS = function(b, w) {
3802
3802
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3803
- }, p.prototype.getElementsByClassName = function(y) {
3803
+ }, p.prototype.getElementsByClassName = function(b) {
3804
3804
  throw new Error("This DOM method is not implemented." + this.debugInfo());
3805
- }, p.prototype.isEqualNode = function(y) {
3805
+ }, p.prototype.isEqualNode = function(b) {
3806
3806
  var w, D, _;
3807
- if (!p.__super__.isEqualNode.apply(this, arguments).isEqualNode(y) || y.namespaceURI !== this.namespaceURI || y.prefix !== this.prefix || y.localName !== this.localName || y.attribs.length !== this.attribs.length)
3807
+ if (!p.__super__.isEqualNode.apply(this, arguments).isEqualNode(b) || b.namespaceURI !== this.namespaceURI || b.prefix !== this.prefix || b.localName !== this.localName || b.attribs.length !== this.attribs.length)
3808
3808
  return !1;
3809
3809
  for (w = D = 0, _ = this.attribs.length - 1; 0 <= _ ? D <= _ : D >= _; w = 0 <= _ ? ++D : --D)
3810
- if (!this.attribs[w].isEqualNode(y.attribs[w]))
3810
+ if (!this.attribs[w].isEqualNode(b.attribs[w]))
3811
3811
  return !1;
3812
3812
  return !0;
3813
3813
  }, p;
@@ -4096,8 +4096,8 @@ var pi;
4096
4096
  function ur() {
4097
4097
  return pi || (pi = 1, function() {
4098
4098
  var a, t, e, n, s, i, r, o, l = function(m, p) {
4099
- for (var y in p)
4100
- E.call(p, y) && (m[y] = p[y]);
4099
+ for (var b in p)
4100
+ E.call(p, b) && (m[b] = p[b]);
4101
4101
  function w() {
4102
4102
  this.constructor = m;
4103
4103
  }
@@ -4105,29 +4105,29 @@ function ur() {
4105
4105
  }, E = {}.hasOwnProperty;
4106
4106
  o = qt().isObject, r = Lt(), a = bt(), t = ir(), n = sr(), e = or(), s = ar(), i = Zn(), xn.exports = function(m) {
4107
4107
  l(p, m);
4108
- function p(y, w, D) {
4108
+ function p(b, w, D) {
4109
4109
  var _, I, T, C, g, v;
4110
- if (p.__super__.constructor.call(this, y), this.type = a.DocType, y.children) {
4111
- for (C = y.children, I = 0, T = C.length; I < T; I++)
4110
+ if (p.__super__.constructor.call(this, b), this.type = a.DocType, b.children) {
4111
+ for (C = b.children, I = 0, T = C.length; I < T; I++)
4112
4112
  if (_ = C[I], _.type === a.Element) {
4113
4113
  this.name = _.name;
4114
4114
  break;
4115
4115
  }
4116
4116
  }
4117
- this.documentObject = y, o(w) && (g = w, w = g.pubID, D = g.sysID), D == null && (v = [w, D], D = v[0], w = v[1]), w != null && (this.pubID = this.stringify.dtdPubID(w)), D != null && (this.sysID = this.stringify.dtdSysID(D));
4117
+ this.documentObject = b, o(w) && (g = w, w = g.pubID, D = g.sysID), D == null && (v = [w, D], D = v[0], w = v[1]), w != null && (this.pubID = this.stringify.dtdPubID(w)), D != null && (this.sysID = this.stringify.dtdSysID(D));
4118
4118
  }
4119
4119
  return Object.defineProperty(p.prototype, "entities", {
4120
4120
  get: function() {
4121
- var y, w, D, _, I;
4121
+ var b, w, D, _, I;
4122
4122
  for (_ = {}, I = this.children, w = 0, D = I.length; w < D; w++)
4123
- y = I[w], y.type === a.EntityDeclaration && !y.pe && (_[y.name] = y);
4123
+ b = I[w], b.type === a.EntityDeclaration && !b.pe && (_[b.name] = b);
4124
4124
  return new i(_);
4125
4125
  }
4126
4126
  }), Object.defineProperty(p.prototype, "notations", {
4127
4127
  get: function() {
4128
- var y, w, D, _, I;
4128
+ var b, w, D, _, I;
4129
4129
  for (_ = {}, I = this.children, w = 0, D = I.length; w < D; w++)
4130
- y = I[w], y.type === a.NotationDeclaration && (_[y.name] = y);
4130
+ b = I[w], b.type === a.NotationDeclaration && (_[b.name] = b);
4131
4131
  return new i(_);
4132
4132
  }
4133
4133
  }), Object.defineProperty(p.prototype, "publicId", {
@@ -4142,37 +4142,37 @@ function ur() {
4142
4142
  get: function() {
4143
4143
  throw new Error("This DOM method is not implemented." + this.debugInfo());
4144
4144
  }
4145
- }), p.prototype.element = function(y, w) {
4145
+ }), p.prototype.element = function(b, w) {
4146
4146
  var D;
4147
- return D = new e(this, y, w), this.children.push(D), this;
4148
- }, p.prototype.attList = function(y, w, D, _, I) {
4147
+ return D = new e(this, b, w), this.children.push(D), this;
4148
+ }, p.prototype.attList = function(b, w, D, _, I) {
4149
4149
  var T;
4150
- return T = new t(this, y, w, D, _, I), this.children.push(T), this;
4151
- }, p.prototype.entity = function(y, w) {
4150
+ return T = new t(this, b, w, D, _, I), this.children.push(T), this;
4151
+ }, p.prototype.entity = function(b, w) {
4152
4152
  var D;
4153
- return D = new n(this, !1, y, w), this.children.push(D), this;
4154
- }, p.prototype.pEntity = function(y, w) {
4153
+ return D = new n(this, !1, b, w), this.children.push(D), this;
4154
+ }, p.prototype.pEntity = function(b, w) {
4155
4155
  var D;
4156
- return D = new n(this, !0, y, w), this.children.push(D), this;
4157
- }, p.prototype.notation = function(y, w) {
4156
+ return D = new n(this, !0, b, w), this.children.push(D), this;
4157
+ }, p.prototype.notation = function(b, w) {
4158
4158
  var D;
4159
- return D = new s(this, y, w), this.children.push(D), this;
4160
- }, p.prototype.toString = function(y) {
4161
- return this.options.writer.docType(this, this.options.writer.filterOptions(y));
4162
- }, p.prototype.ele = function(y, w) {
4163
- return this.element(y, w);
4164
- }, p.prototype.att = function(y, w, D, _, I) {
4165
- return this.attList(y, w, D, _, I);
4166
- }, p.prototype.ent = function(y, w) {
4167
- return this.entity(y, w);
4168
- }, p.prototype.pent = function(y, w) {
4169
- return this.pEntity(y, w);
4170
- }, p.prototype.not = function(y, w) {
4171
- return this.notation(y, w);
4159
+ return D = new s(this, b, w), this.children.push(D), this;
4160
+ }, p.prototype.toString = function(b) {
4161
+ return this.options.writer.docType(this, this.options.writer.filterOptions(b));
4162
+ }, p.prototype.ele = function(b, w) {
4163
+ return this.element(b, w);
4164
+ }, p.prototype.att = function(b, w, D, _, I) {
4165
+ return this.attList(b, w, D, _, I);
4166
+ }, p.prototype.ent = function(b, w) {
4167
+ return this.entity(b, w);
4168
+ }, p.prototype.pent = function(b, w) {
4169
+ return this.pEntity(b, w);
4170
+ }, p.prototype.not = function(b, w) {
4171
+ return this.notation(b, w);
4172
4172
  }, p.prototype.up = function() {
4173
4173
  return this.root() || this.documentObject;
4174
- }, p.prototype.isEqualNode = function(y) {
4175
- return !(!p.__super__.isEqualNode.apply(this, arguments).isEqualNode(y) || y.name !== this.name || y.publicId !== this.publicId || y.systemId !== this.systemId);
4174
+ }, p.prototype.isEqualNode = function(b) {
4175
+ return !(!p.__super__.isEqualNode.apply(this, arguments).isEqualNode(b) || b.name !== this.name || b.publicId !== this.publicId || b.systemId !== this.systemId);
4176
4176
  }, p;
4177
4177
  }(r);
4178
4178
  }.call(it)), xn.exports;
@@ -4333,8 +4333,8 @@ function ko() {
4333
4333
  var Ei;
4334
4334
  function Lt() {
4335
4335
  return Ei || (Ei = 1, function() {
4336
- var a, t, e, n, s, i, r, o, l, E, m, p, y, w, D, _, I, T = {}.hasOwnProperty;
4337
- I = qt(), _ = I.isObject, D = I.isFunction, w = I.isEmpty, y = I.getValue, o = null, e = null, n = null, s = null, i = null, m = null, p = null, E = null, r = null, t = null, l = null, a = null, hn.exports = function() {
4336
+ var a, t, e, n, s, i, r, o, l, E, m, p, b, w, D, _, I, T = {}.hasOwnProperty;
4337
+ I = qt(), _ = I.isObject, D = I.isFunction, w = I.isEmpty, b = I.getValue, o = null, e = null, n = null, s = null, i = null, m = null, p = null, E = null, r = null, t = null, l = null, a = null, hn.exports = function() {
4338
4338
  function C(g) {
4339
4339
  this.parent = g, this.parent && (this.options = this.parent.options, this.stringify = this.parent.stringify), this.value = null, this.children = [], this.baseURI = null, o || (o = tr(), e = er(), n = nr(), s = rr(), i = ur(), m = cr(), p = lr(), E = fr(), r = us(), t = bt(), l = Yo(), Zn(), a = ko());
4340
4340
  }
@@ -4400,7 +4400,7 @@ function Lt() {
4400
4400
  return U;
4401
4401
  }, C.prototype.element = function(g, v, M) {
4402
4402
  var X, W, U, d, B, S, R, $, q, z, k;
4403
- if (S = null, v === null && M == null && (q = [{}, null], v = q[0], M = q[1]), v == null && (v = {}), v = y(v), _(v) || (z = [v, M], M = z[0], v = z[1]), g != null && (g = y(g)), Array.isArray(g))
4403
+ if (S = null, v === null && M == null && (q = [{}, null], v = q[0], M = q[1]), v == null && (v = {}), v = b(v), _(v) || (z = [v, M], M = z[0], v = z[1]), g != null && (g = b(g)), Array.isArray(g))
4404
4404
  for (U = 0, R = g.length; U < R; U++)
4405
4405
  W = g[U], S = this.element(W);
4406
4406
  else if (D(g))
@@ -4443,7 +4443,7 @@ function Lt() {
4443
4443
  return g = this.parent.children.indexOf(this), [].splice.apply(this.parent.children, [g, g - g + 1].concat([])), this.parent;
4444
4444
  }, C.prototype.node = function(g, v, M) {
4445
4445
  var X, W;
4446
- return g != null && (g = y(g)), v || (v = {}), v = y(v), _(v) || (W = [v, M], M = W[0], v = W[1]), X = new o(this, g, v), M != null && X.text(M), this.children.push(X), X;
4446
+ return g != null && (g = b(g)), v || (v = {}), v = b(v), _(v) || (W = [v, M], M = W[0], v = W[1]), X = new o(this, g, v), M != null && X.text(M), this.children.push(X), X;
4447
4447
  }, C.prototype.text = function(g) {
4448
4448
  var v;
4449
4449
  return _(g) && this.element(g), v = new p(this, g), this.children.push(v), this;
@@ -4467,7 +4467,7 @@ function Lt() {
4467
4467
  return g = new r(this), g;
4468
4468
  }, C.prototype.instruction = function(g, v) {
4469
4469
  var M, X, W, U, d;
4470
- if (g != null && (g = y(g)), v != null && (v = y(v)), Array.isArray(g))
4470
+ if (g != null && (g = b(g)), v != null && (v = b(v)), Array.isArray(g))
4471
4471
  for (U = 0, d = g.length; U < d; U++)
4472
4472
  M = g[U], this.instruction(M);
4473
4473
  else if (_(g))
@@ -4759,11 +4759,11 @@ function ls() {
4759
4759
  n.call(o, r) && (l = o[r], this["_" + r] = this[r], this[r] = l);
4760
4760
  }
4761
4761
  return s.prototype.filterOptions = function(i) {
4762
- var r, o, l, E, m, p, y, w;
4762
+ var r, o, l, E, m, p, b, w;
4763
4763
  return i || (i = {}), i = e({}, this.options, i), r = {
4764
4764
  writer: this
4765
4765
  }, r.pretty = i.pretty || !1, r.allowEmpty = i.allowEmpty || !1, r.indent = (o = i.indent) != null ? o : " ", r.newline = (l = i.newline) != null ? l : `
4766
- `, r.offset = (E = i.offset) != null ? E : 0, r.dontPrettyTextNodes = (m = (p = i.dontPrettyTextNodes) != null ? p : i.dontprettytextnodes) != null ? m : 0, r.spaceBeforeSlash = (y = (w = i.spaceBeforeSlash) != null ? w : i.spacebeforeslash) != null ? y : "", r.spaceBeforeSlash === !0 && (r.spaceBeforeSlash = " "), r.suppressPrettyCount = 0, r.user = {}, r.state = t.None, r;
4766
+ `, r.offset = (E = i.offset) != null ? E : 0, r.dontPrettyTextNodes = (m = (p = i.dontPrettyTextNodes) != null ? p : i.dontprettytextnodes) != null ? m : 0, r.spaceBeforeSlash = (b = (w = i.spaceBeforeSlash) != null ? w : i.spacebeforeslash) != null ? b : "", r.spaceBeforeSlash === !0 && (r.spaceBeforeSlash = " "), r.suppressPrettyCount = 0, r.user = {}, r.state = t.None, r;
4767
4767
  }, s.prototype.indent = function(i, r, o) {
4768
4768
  var l;
4769
4769
  return !r.pretty || r.suppressPrettyCount ? "" : r.pretty && (l = (o || 0) + r.offset + 1, l > 0) ? new Array(l).join(r.indent) : "";
@@ -4782,15 +4782,15 @@ function ls() {
4782
4782
  var l;
4783
4783
  return this.openNode(i, r, o), r.state = t.OpenTag, l = this.indent(i, r, o) + "<?xml", r.state = t.InsideTag, l += ' version="' + i.version + '"', i.encoding != null && (l += ' encoding="' + i.encoding + '"'), i.standalone != null && (l += ' standalone="' + i.standalone + '"'), r.state = t.CloseTag, l += r.spaceBeforeSlash + "?>", l += this.endline(i, r, o), r.state = t.None, this.closeNode(i, r, o), l;
4784
4784
  }, s.prototype.docType = function(i, r, o) {
4785
- var l, E, m, p, y;
4785
+ var l, E, m, p, b;
4786
4786
  if (o || (o = 0), this.openNode(i, r, o), r.state = t.OpenTag, p = this.indent(i, r, o), p += "<!DOCTYPE " + i.root().name, i.pubID && i.sysID ? p += ' PUBLIC "' + i.pubID + '" "' + i.sysID + '"' : i.sysID && (p += ' SYSTEM "' + i.sysID + '"'), i.children.length > 0) {
4787
- for (p += " [", p += this.endline(i, r, o), r.state = t.InsideTag, y = i.children, E = 0, m = y.length; E < m; E++)
4788
- l = y[E], p += this.writeChildNode(l, r, o + 1);
4787
+ for (p += " [", p += this.endline(i, r, o), r.state = t.InsideTag, b = i.children, E = 0, m = b.length; E < m; E++)
4788
+ l = b[E], p += this.writeChildNode(l, r, o + 1);
4789
4789
  r.state = t.CloseTag, p += "]";
4790
4790
  }
4791
4791
  return r.state = t.CloseTag, p += r.spaceBeforeSlash + ">", p += this.endline(i, r, o), r.state = t.None, this.closeNode(i, r, o), p;
4792
4792
  }, s.prototype.element = function(i, r, o) {
4793
- var l, E, m, p, y, w, D, _, I, T, C, g, v, M;
4793
+ var l, E, m, p, b, w, D, _, I, T, C, g, v, M;
4794
4794
  o || (o = 0), T = !1, C = "", this.openNode(i, r, o), r.state = t.OpenTag, C += this.indent(i, r, o) + "<" + i.name, g = i.attribs;
4795
4795
  for (I in g)
4796
4796
  n.call(g, I) && (l = g[I], C += this.attribute(l, r, o));
@@ -4802,8 +4802,8 @@ function ls() {
4802
4802
  C += ">", r.state = t.InsideTag, r.suppressPrettyCount++, T = !0, C += this.writeChildNode(p, r, o + 1), r.suppressPrettyCount--, T = !1, r.state = t.CloseTag, C += "</" + i.name + ">" + this.endline(i, r, o);
4803
4803
  else {
4804
4804
  if (r.dontPrettyTextNodes) {
4805
- for (v = i.children, y = 0, D = v.length; y < D; y++)
4806
- if (E = v[y], (E.type === a.Text || E.type === a.Raw) && E.value != null) {
4805
+ for (v = i.children, b = 0, D = v.length; b < D; b++)
4806
+ if (E = v[b], (E.type === a.Text || E.type === a.Raw) && E.value != null) {
4807
4807
  r.suppressPrettyCount++, T = !0;
4808
4808
  break;
4809
4809
  }
@@ -4904,10 +4904,10 @@ function fs() {
4904
4904
  var a, t, e, n, s, i, r, o = function(E, m) {
4905
4905
  for (var p in m)
4906
4906
  l.call(m, p) && (E[p] = m[p]);
4907
- function y() {
4907
+ function b() {
4908
4908
  this.constructor = E;
4909
4909
  }
4910
- return y.prototype = m.prototype, E.prototype = new y(), E.__super__ = m.prototype, E;
4910
+ return b.prototype = m.prototype, E.prototype = new b(), E.__super__ = m.prototype, E;
4911
4911
  }, l = {}.hasOwnProperty;
4912
4912
  r = qt().isPlainObject, e = os(), t = zo(), n = Lt(), a = bt(), i = cs(), s = hr(), un.exports = function(E) {
4913
4913
  o(m, E);
@@ -4918,9 +4918,9 @@ function fs() {
4918
4918
  value: new e()
4919
4919
  }), Object.defineProperty(m.prototype, "doctype", {
4920
4920
  get: function() {
4921
- var p, y, w, D;
4922
- for (D = this.children, y = 0, w = D.length; y < w; y++)
4923
- if (p = D[y], p.type === a.DocType)
4921
+ var p, b, w, D;
4922
+ for (D = this.children, b = 0, w = D.length; b < w; b++)
4923
+ if (p = D[b], p.type === a.DocType)
4924
4924
  return p;
4925
4925
  return null;
4926
4926
  }
@@ -4969,8 +4969,8 @@ function fs() {
4969
4969
  return null;
4970
4970
  }
4971
4971
  }), m.prototype.end = function(p) {
4972
- var y;
4973
- return y = {}, p ? r(p) && (y = p, p = this.options.writer) : p = this.options.writer, p.document(this, p.filterOptions(y));
4972
+ var b;
4973
+ return b = {}, p ? r(p) && (b = p, p = this.options.writer) : p = this.options.writer, p.document(this, p.filterOptions(b));
4974
4974
  }, m.prototype.toString = function(p) {
4975
4975
  return this.options.writer.document(this, this.options.writer.filterOptions(p));
4976
4976
  }, m.prototype.createElement = function(p) {
@@ -4983,7 +4983,7 @@ function fs() {
4983
4983
  throw new Error("This DOM method is not implemented." + this.debugInfo());
4984
4984
  }, m.prototype.createCDATASection = function(p) {
4985
4985
  throw new Error("This DOM method is not implemented." + this.debugInfo());
4986
- }, m.prototype.createProcessingInstruction = function(p, y) {
4986
+ }, m.prototype.createProcessingInstruction = function(p, b) {
4987
4987
  throw new Error("This DOM method is not implemented." + this.debugInfo());
4988
4988
  }, m.prototype.createAttribute = function(p) {
4989
4989
  throw new Error("This DOM method is not implemented." + this.debugInfo());
@@ -4991,13 +4991,13 @@ function fs() {
4991
4991
  throw new Error("This DOM method is not implemented." + this.debugInfo());
4992
4992
  }, m.prototype.getElementsByTagName = function(p) {
4993
4993
  throw new Error("This DOM method is not implemented." + this.debugInfo());
4994
- }, m.prototype.importNode = function(p, y) {
4994
+ }, m.prototype.importNode = function(p, b) {
4995
4995
  throw new Error("This DOM method is not implemented." + this.debugInfo());
4996
- }, m.prototype.createElementNS = function(p, y) {
4996
+ }, m.prototype.createElementNS = function(p, b) {
4997
4997
  throw new Error("This DOM method is not implemented." + this.debugInfo());
4998
- }, m.prototype.createAttributeNS = function(p, y) {
4998
+ }, m.prototype.createAttributeNS = function(p, b) {
4999
4999
  throw new Error("This DOM method is not implemented." + this.debugInfo());
5000
- }, m.prototype.getElementsByTagNameNS = function(p, y) {
5000
+ }, m.prototype.getElementsByTagNameNS = function(p, b) {
5001
5001
  throw new Error("This DOM method is not implemented." + this.debugInfo());
5002
5002
  }, m.prototype.getElementById = function(p) {
5003
5003
  throw new Error("This DOM method is not implemented." + this.debugInfo());
@@ -5005,7 +5005,7 @@ function fs() {
5005
5005
  throw new Error("This DOM method is not implemented." + this.debugInfo());
5006
5006
  }, m.prototype.normalizeDocument = function() {
5007
5007
  throw new Error("This DOM method is not implemented." + this.debugInfo());
5008
- }, m.prototype.renameNode = function(p, y, w) {
5008
+ }, m.prototype.renameNode = function(p, b, w) {
5009
5009
  throw new Error("This DOM method is not implemented." + this.debugInfo());
5010
5010
  }, m.prototype.getElementsByClassName = function(p) {
5011
5011
  throw new Error("This DOM method is not implemented." + this.debugInfo());
@@ -5013,9 +5013,9 @@ function fs() {
5013
5013
  throw new Error("This DOM method is not implemented." + this.debugInfo());
5014
5014
  }, m.prototype.createRange = function() {
5015
5015
  throw new Error("This DOM method is not implemented." + this.debugInfo());
5016
- }, m.prototype.createNodeIterator = function(p, y, w) {
5016
+ }, m.prototype.createNodeIterator = function(p, b, w) {
5017
5017
  throw new Error("This DOM method is not implemented." + this.debugInfo());
5018
- }, m.prototype.createTreeWalker = function(p, y, w) {
5018
+ }, m.prototype.createTreeWalker = function(p, b, w) {
5019
5019
  throw new Error("This DOM method is not implemented." + this.debugInfo());
5020
5020
  }, m;
5021
5021
  }(n);
@@ -5024,8 +5024,8 @@ function fs() {
5024
5024
  var jn = { exports: {} }, Ti;
5025
5025
  function Ko() {
5026
5026
  return Ti || (Ti = 1, function() {
5027
- var a, t, e, n, s, i, r, o, l, E, m, p, y, w, D, _, I, T, C, g, v, M, X, W = {}.hasOwnProperty;
5028
- X = qt(), v = X.isObject, g = X.isFunction, M = X.isPlainObject, C = X.getValue, a = bt(), p = fs(), y = tr(), n = er(), s = nr(), D = cr(), T = lr(), w = fr(), E = rr(), m = ur(), i = ir(), o = sr(), r = or(), l = ar(), e = as(), I = cs(), _ = hr(), t = qe(), jn.exports = function() {
5027
+ var a, t, e, n, s, i, r, o, l, E, m, p, b, w, D, _, I, T, C, g, v, M, X, W = {}.hasOwnProperty;
5028
+ X = qt(), v = X.isObject, g = X.isFunction, M = X.isPlainObject, C = X.getValue, a = bt(), p = fs(), b = tr(), n = er(), s = nr(), D = cr(), T = lr(), w = fr(), E = rr(), m = ur(), i = ir(), o = sr(), r = or(), l = ar(), e = as(), I = cs(), _ = hr(), t = qe(), jn.exports = function() {
5029
5029
  function U(d, B, S) {
5030
5030
  var R;
5031
5031
  this.name = "?xml", this.type = a.Document, d || (d = {}), R = {}, d.writer ? M(d.writer) && (R = d.writer, d.writer = new _()) : d.writer = new _(), this.options = d, this.writer = d.writer, this.writerOptions = this.writer.filterOptions(R), this.stringify = new I(d), this.onDataCallback = B || function() {
@@ -5073,7 +5073,7 @@ function Ko() {
5073
5073
  throw new Error("Missing node name.");
5074
5074
  if (this.root && this.currentLevel === -1)
5075
5075
  throw new Error("Document can only have one root node. " + this.debugInfo(d));
5076
- return this.openCurrent(), d = C(d), B == null && (B = {}), B = C(B), v(B) || (R = [B, S], S = R[0], B = R[1]), this.currentNode = new y(this, d, B), this.currentNode.children = !1, this.currentLevel++, this.openTags[this.currentLevel] = this.currentNode, S != null && this.text(S), this;
5076
+ return this.openCurrent(), d = C(d), B == null && (B = {}), B = C(B), v(B) || (R = [B, S], S = R[0], B = R[1]), this.currentNode = new b(this, d, B), this.currentNode.children = !1, this.currentLevel++, this.openTags[this.currentLevel] = this.currentNode, S != null && this.text(S), this;
5077
5077
  }, U.prototype.element = function(d, B, S) {
5078
5078
  var R, $, q, z, k, V;
5079
5079
  if (this.currentNode && this.currentNode.type === a.DocType)
@@ -5239,11 +5239,11 @@ function Qo() {
5239
5239
  return r.prototype.endline = function(o, l, E) {
5240
5240
  return o.isLastRootNode && l.state === t.CloseTag ? "" : r.__super__.endline.call(this, o, l, E);
5241
5241
  }, r.prototype.document = function(o, l) {
5242
- var E, m, p, y, w, D, _, I, T;
5242
+ var E, m, p, b, w, D, _, I, T;
5243
5243
  for (_ = o.children, m = p = 0, w = _.length; p < w; m = ++p)
5244
5244
  E = _[m], E.isLastRootNode = m === o.children.length - 1;
5245
- for (l = this.filterOptions(l), I = o.children, T = [], y = 0, D = I.length; y < D; y++)
5246
- E = I[y], T.push(this.writeChildNode(E, l, 0));
5245
+ for (l = this.filterOptions(l), I = o.children, T = [], b = 0, D = I.length; b < D; b++)
5246
+ E = I[b], T.push(this.writeChildNode(E, l, 0));
5247
5247
  return T;
5248
5248
  }, r.prototype.attribute = function(o, l, E) {
5249
5249
  return this.stream.write(r.__super__.attribute.call(this, o, l, E));
@@ -5254,23 +5254,23 @@ function Qo() {
5254
5254
  }, r.prototype.declaration = function(o, l, E) {
5255
5255
  return this.stream.write(r.__super__.declaration.call(this, o, l, E));
5256
5256
  }, r.prototype.docType = function(o, l, E) {
5257
- var m, p, y, w;
5257
+ var m, p, b, w;
5258
5258
  if (E || (E = 0), this.openNode(o, l, E), l.state = t.OpenTag, this.stream.write(this.indent(o, l, E)), this.stream.write("<!DOCTYPE " + o.root().name), o.pubID && o.sysID ? this.stream.write(' PUBLIC "' + o.pubID + '" "' + o.sysID + '"') : o.sysID && this.stream.write(' SYSTEM "' + o.sysID + '"'), o.children.length > 0) {
5259
- for (this.stream.write(" ["), this.stream.write(this.endline(o, l, E)), l.state = t.InsideTag, w = o.children, p = 0, y = w.length; p < y; p++)
5259
+ for (this.stream.write(" ["), this.stream.write(this.endline(o, l, E)), l.state = t.InsideTag, w = o.children, p = 0, b = w.length; p < b; p++)
5260
5260
  m = w[p], this.writeChildNode(m, l, E + 1);
5261
5261
  l.state = t.CloseTag, this.stream.write("]");
5262
5262
  }
5263
5263
  return l.state = t.CloseTag, this.stream.write(l.spaceBeforeSlash + ">"), this.stream.write(this.endline(o, l, E)), l.state = t.None, this.closeNode(o, l, E);
5264
5264
  }, r.prototype.element = function(o, l, E) {
5265
- var m, p, y, w, D, _, I, T, C;
5265
+ var m, p, b, w, D, _, I, T, C;
5266
5266
  E || (E = 0), this.openNode(o, l, E), l.state = t.OpenTag, this.stream.write(this.indent(o, l, E) + "<" + o.name), T = o.attribs;
5267
5267
  for (I in T)
5268
5268
  s.call(T, I) && (m = T[I], this.attribute(m, l, E));
5269
- if (y = o.children.length, w = y === 0 ? null : o.children[0], y === 0 || o.children.every(function(g) {
5269
+ if (b = o.children.length, w = b === 0 ? null : o.children[0], b === 0 || o.children.every(function(g) {
5270
5270
  return (g.type === a.Text || g.type === a.Raw) && g.value === "";
5271
5271
  }))
5272
5272
  l.allowEmpty ? (this.stream.write(">"), l.state = t.CloseTag, this.stream.write("</" + o.name + ">")) : (l.state = t.CloseTag, this.stream.write(l.spaceBeforeSlash + "/>"));
5273
- else if (l.pretty && y === 1 && (w.type === a.Text || w.type === a.Raw) && w.value != null)
5273
+ else if (l.pretty && b === 1 && (w.type === a.Text || w.type === a.Raw) && w.value != null)
5274
5274
  this.stream.write(">"), l.state = t.InsideTag, l.suppressPrettyCount++, this.writeChildNode(w, l, E + 1), l.suppressPrettyCount--, l.state = t.CloseTag, this.stream.write("</" + o.name + ">");
5275
5275
  else {
5276
5276
  for (this.stream.write(">" + this.endline(o, l, E)), l.state = t.InsideTag, C = o.children, D = 0, _ = C.length; D < _; D++)
@@ -5300,14 +5300,14 @@ var _i;
5300
5300
  function Jo() {
5301
5301
  return _i || (_i = 1, function() {
5302
5302
  var a, t, e, n, s, i, r, o, l, E;
5303
- E = qt(), o = E.assign, l = E.isFunction, e = os(), n = fs(), s = Ko(), r = hr(), i = Qo(), a = bt(), t = qe(), $t.create = function(m, p, y, w) {
5303
+ E = qt(), o = E.assign, l = E.isFunction, e = os(), n = fs(), s = Ko(), r = hr(), i = Qo(), a = bt(), t = qe(), $t.create = function(m, p, b, w) {
5304
5304
  var D, _;
5305
5305
  if (m == null)
5306
5306
  throw new Error("Root element needs a name.");
5307
- return w = o({}, p, y, w), D = new n(w), _ = D.element(m), w.headless || (D.declaration(w), (w.pubID != null || w.sysID != null) && D.dtd(w)), _;
5308
- }, $t.begin = function(m, p, y) {
5307
+ return w = o({}, p, b, w), D = new n(w), _ = D.element(m), w.headless || (D.declaration(w), (w.pubID != null || w.sysID != null) && D.dtd(w)), _;
5308
+ }, $t.begin = function(m, p, b) {
5309
5309
  var w;
5310
- return l(m) && (w = [m, p], p = w[0], y = w[1], m = {}), p ? new s(m, p, y) : new n(m);
5310
+ return l(m) && (w = [m, p], p = w[0], b = w[1], m = {}), p ? new s(m, p, b) : new n(m);
5311
5311
  }, $t.stringWriter = function(m) {
5312
5312
  return new r(m);
5313
5313
  }, $t.streamWriter = function(m, p) {
@@ -5335,8 +5335,8 @@ function Zo() {
5335
5335
  i.call(o, l) && (m = o[l], this.options[l] = m);
5336
5336
  }
5337
5337
  return r.prototype.buildObject = function(o) {
5338
- var l, E, m, p, y;
5339
- return l = this.options.attrkey, E = this.options.charkey, Object.keys(o).length === 1 && this.options.rootName === t["0.2"].rootName ? (y = Object.keys(o)[0], o = o[y]) : y = this.options.rootName, m = /* @__PURE__ */ function(w) {
5338
+ var l, E, m, p, b;
5339
+ return l = this.options.attrkey, E = this.options.charkey, Object.keys(o).length === 1 && this.options.rootName === t["0.2"].rootName ? (b = Object.keys(o)[0], o = o[b]) : b = this.options.rootName, m = /* @__PURE__ */ function(w) {
5340
5340
  return function(D, _) {
5341
5341
  var I, T, C, g, v, M;
5342
5342
  if (typeof _ != "object")
@@ -5363,7 +5363,7 @@ function Zo() {
5363
5363
  else typeof T == "object" ? D = m(D.ele(v), T).up() : typeof T == "string" && w.options.cdata && n(T) ? D = D.ele(v).raw(s(T)).up() : (T == null && (T = ""), D = D.ele(v, T.toString()).up());
5364
5364
  return D;
5365
5365
  };
5366
- }(this), p = a.create(y, this.options.xmldec, this.options.doctype, {
5366
+ }(this), p = a.create(b, this.options.xmldec, this.options.doctype, {
5367
5367
  headless: this.options.headless,
5368
5368
  allowSurrogateChars: this.options.allowSurrogateChars
5369
5369
  }), m(p, o).end(this.options.renderOpts);
@@ -5374,7 +5374,7 @@ function Zo() {
5374
5374
  var Rn = {}, Un = {}, Xn = {}, Se = { exports: {} }, $n = {}, pe = {}, Ai;
5375
5375
  function ta() {
5376
5376
  if (Ai) return pe;
5377
- Ai = 1, pe.byteLength = o, pe.toByteArray = E, pe.fromByteArray = y;
5377
+ Ai = 1, pe.byteLength = o, pe.toByteArray = E, pe.fromByteArray = b;
5378
5378
  for (var a = [], t = [], e = typeof Uint8Array < "u" ? Uint8Array : Array, n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", s = 0, i = n.length; s < i; ++s)
5379
5379
  a[s] = n[s], t[n.charCodeAt(s)] = s;
5380
5380
  t[45] = 62, t[95] = 63;
@@ -5408,7 +5408,7 @@ function ta() {
5408
5408
  I = (w[C] << 16 & 16711680) + (w[C + 1] << 8 & 65280) + (w[C + 2] & 255), T.push(m(I));
5409
5409
  return T.join("");
5410
5410
  }
5411
- function y(w) {
5411
+ function b(w) {
5412
5412
  for (var D, _ = w.length, I = _ % 3, T = [], C = 16383, g = 0, v = _ - I; g < v; g += C)
5413
5413
  T.push(p(w, g, g + C > v ? v : g + C));
5414
5414
  return I === 1 ? (D = w[_ - 1], T.push(
@@ -5424,10 +5424,10 @@ var Fe = {};
5424
5424
  var Mi;
5425
5425
  function ea() {
5426
5426
  return Mi || (Mi = 1, Fe.read = function(a, t, e, n, s) {
5427
- var i, r, o = s * 8 - n - 1, l = (1 << o) - 1, E = l >> 1, m = -7, p = e ? s - 1 : 0, y = e ? -1 : 1, w = a[t + p];
5428
- for (p += y, i = w & (1 << -m) - 1, w >>= -m, m += o; m > 0; i = i * 256 + a[t + p], p += y, m -= 8)
5427
+ var i, r, o = s * 8 - n - 1, l = (1 << o) - 1, E = l >> 1, m = -7, p = e ? s - 1 : 0, b = e ? -1 : 1, w = a[t + p];
5428
+ for (p += b, i = w & (1 << -m) - 1, w >>= -m, m += o; m > 0; i = i * 256 + a[t + p], p += b, m -= 8)
5429
5429
  ;
5430
- for (r = i & (1 << -m) - 1, i >>= -m, m += n; m > 0; r = r * 256 + a[t + p], p += y, m -= 8)
5430
+ for (r = i & (1 << -m) - 1, i >>= -m, m += n; m > 0; r = r * 256 + a[t + p], p += b, m -= 8)
5431
5431
  ;
5432
5432
  if (i === 0)
5433
5433
  i = 1 - E;
@@ -5438,8 +5438,8 @@ function ea() {
5438
5438
  }
5439
5439
  return (w ? -1 : 1) * r * Math.pow(2, i - n);
5440
5440
  }, Fe.write = function(a, t, e, n, s, i) {
5441
- var r, o, l, E = i * 8 - s - 1, m = (1 << E) - 1, p = m >> 1, y = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, w = n ? 0 : i - 1, D = n ? 1 : -1, _ = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
5442
- for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (o = isNaN(t) ? 1 : 0, r = m) : (r = Math.floor(Math.log(t) / Math.LN2), t * (l = Math.pow(2, -r)) < 1 && (r--, l *= 2), r + p >= 1 ? t += y / l : t += y * Math.pow(2, 1 - p), t * l >= 2 && (r++, l /= 2), r + p >= m ? (o = 0, r = m) : r + p >= 1 ? (o = (t * l - 1) * Math.pow(2, s), r = r + p) : (o = t * Math.pow(2, p - 1) * Math.pow(2, s), r = 0)); s >= 8; a[e + w] = o & 255, w += D, o /= 256, s -= 8)
5441
+ var r, o, l, E = i * 8 - s - 1, m = (1 << E) - 1, p = m >> 1, b = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, w = n ? 0 : i - 1, D = n ? 1 : -1, _ = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
5442
+ for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (o = isNaN(t) ? 1 : 0, r = m) : (r = Math.floor(Math.log(t) / Math.LN2), t * (l = Math.pow(2, -r)) < 1 && (r--, l *= 2), r + p >= 1 ? t += b / l : t += b * Math.pow(2, 1 - p), t * l >= 2 && (r++, l /= 2), r + p >= m ? (o = 0, r = m) : r + p >= 1 ? (o = (t * l - 1) * Math.pow(2, s), r = r + p) : (o = t * Math.pow(2, p - 1) * Math.pow(2, s), r = 0)); s >= 8; a[e + w] = o & 255, w += D, o /= 256, s -= 8)
5443
5443
  ;
5444
5444
  for (r = r << s | o, E += s; E > 0; a[e + w] = r & 255, w += D, r /= 256, E -= 8)
5445
5445
  ;
@@ -5503,7 +5503,7 @@ function na() {
5503
5503
  o.poolSize = 8192;
5504
5504
  function l(f, u, c) {
5505
5505
  if (typeof f == "string")
5506
- return y(f, u);
5506
+ return b(f, u);
5507
5507
  if (ArrayBuffer.isView(f))
5508
5508
  return D(f);
5509
5509
  if (f == null)
@@ -5554,7 +5554,7 @@ function na() {
5554
5554
  }, o.allocUnsafeSlow = function(f) {
5555
5555
  return p(f);
5556
5556
  };
5557
- function y(f, u) {
5557
+ function b(f, u) {
5558
5558
  if ((typeof u != "string" || u === "") && (u = "utf8"), !o.isEncoding(u))
5559
5559
  throw new TypeError("Unknown encoding: " + u);
5560
5560
  var c = g(f, u) | 0, h = r(c), N = h.write(f, u);
@@ -5606,7 +5606,7 @@ function na() {
5606
5606
  'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
5607
5607
  );
5608
5608
  if (u === c) return 0;
5609
- for (var h = u.length, N = c.length, L = 0, F = Math.min(h, N); L < F; ++L)
5609
+ for (var h = u.length, N = c.length, L = 0, j = Math.min(h, N); L < j; ++L)
5610
5610
  if (u[L] !== c[L]) {
5611
5611
  h = u[L], N = c[L];
5612
5612
  break;
@@ -5640,18 +5640,18 @@ function na() {
5640
5640
  c += u[h].length;
5641
5641
  var N = o.allocUnsafe(c), L = 0;
5642
5642
  for (h = 0; h < u.length; ++h) {
5643
- var F = u[h];
5644
- if (rt(F, Uint8Array))
5645
- L + F.length > N.length ? o.from(F).copy(N, L) : Uint8Array.prototype.set.call(
5643
+ var j = u[h];
5644
+ if (rt(j, Uint8Array))
5645
+ L + j.length > N.length ? o.from(j).copy(N, L) : Uint8Array.prototype.set.call(
5646
5646
  N,
5647
- F,
5647
+ j,
5648
5648
  L
5649
5649
  );
5650
- else if (o.isBuffer(F))
5651
- F.copy(N, L);
5650
+ else if (o.isBuffer(j))
5651
+ j.copy(N, L);
5652
5652
  else
5653
5653
  throw new TypeError('"list" argument must be an Array of Buffers');
5654
- L += F.length;
5654
+ L += j.length;
5655
5655
  }
5656
5656
  return N;
5657
5657
  };
@@ -5674,7 +5674,7 @@ function na() {
5674
5674
  return c;
5675
5675
  case "utf8":
5676
5676
  case "utf-8":
5677
- return b(f).length;
5677
+ return y(f).length;
5678
5678
  case "ucs2":
5679
5679
  case "ucs-2":
5680
5680
  case "utf16le":
@@ -5686,7 +5686,7 @@ function na() {
5686
5686
  return J(f).length;
5687
5687
  default:
5688
5688
  if (N)
5689
- return h ? -1 : b(f).length;
5689
+ return h ? -1 : y(f).length;
5690
5690
  u = ("" + u).toLowerCase(), N = !0;
5691
5691
  }
5692
5692
  }
@@ -5768,12 +5768,12 @@ function na() {
5768
5768
  if (c >= h)
5769
5769
  return 1;
5770
5770
  if (c >>>= 0, h >>>= 0, N >>>= 0, L >>>= 0, this === u) return 0;
5771
- for (var F = L - N, Z = h - c, nt = Math.min(F, Z), lt = this.slice(N, L), Et = u.slice(c, h), pt = 0; pt < nt; ++pt)
5771
+ for (var j = L - N, Z = h - c, nt = Math.min(j, Z), lt = this.slice(N, L), Et = u.slice(c, h), pt = 0; pt < nt; ++pt)
5772
5772
  if (lt[pt] !== Et[pt]) {
5773
- F = lt[pt], Z = Et[pt];
5773
+ j = lt[pt], Z = Et[pt];
5774
5774
  break;
5775
5775
  }
5776
- return F < Z ? -1 : Z < F ? 1 : 0;
5776
+ return j < Z ? -1 : Z < j ? 1 : 0;
5777
5777
  };
5778
5778
  function X(f, u, c, h, N) {
5779
5779
  if (f.length === 0) return -1;
@@ -5790,11 +5790,11 @@ function na() {
5790
5790
  throw new TypeError("val must be string, number or Buffer");
5791
5791
  }
5792
5792
  function W(f, u, c, h, N) {
5793
- var L = 1, F = f.length, Z = u.length;
5793
+ var L = 1, j = f.length, Z = u.length;
5794
5794
  if (h !== void 0 && (h = String(h).toLowerCase(), h === "ucs2" || h === "ucs-2" || h === "utf16le" || h === "utf-16le")) {
5795
5795
  if (f.length < 2 || u.length < 2)
5796
5796
  return -1;
5797
- L = 2, F /= 2, Z /= 2, c /= 2;
5797
+ L = 2, j /= 2, Z /= 2, c /= 2;
5798
5798
  }
5799
5799
  function nt(pr, dr) {
5800
5800
  return L === 1 ? pr[dr] : pr.readUInt16BE(dr * L);
@@ -5802,13 +5802,13 @@ function na() {
5802
5802
  var lt;
5803
5803
  if (N) {
5804
5804
  var Et = -1;
5805
- for (lt = c; lt < F; lt++)
5805
+ for (lt = c; lt < j; lt++)
5806
5806
  if (nt(f, lt) === nt(u, Et === -1 ? 0 : lt - Et)) {
5807
5807
  if (Et === -1 && (Et = lt), lt - Et + 1 === Z) return Et * L;
5808
5808
  } else
5809
5809
  Et !== -1 && (lt -= lt - Et), Et = -1;
5810
5810
  } else
5811
- for (c + Z > F && (c = F - Z), lt = c; lt >= 0; lt--) {
5811
+ for (c + Z > j && (c = j - Z), lt = c; lt >= 0; lt--) {
5812
5812
  for (var pt = !0, Ie = 0; Ie < Z; Ie++)
5813
5813
  if (nt(f, lt + Ie) !== nt(u, Ie)) {
5814
5814
  pt = !1;
@@ -5831,24 +5831,24 @@ function na() {
5831
5831
  h ? (h = Number(h), h > N && (h = N)) : h = N;
5832
5832
  var L = u.length;
5833
5833
  h > L / 2 && (h = L / 2);
5834
- for (var F = 0; F < h; ++F) {
5835
- var Z = parseInt(u.substr(F * 2, 2), 16);
5836
- if (ht(Z)) return F;
5837
- f[c + F] = Z;
5834
+ for (var j = 0; j < h; ++j) {
5835
+ var Z = parseInt(u.substr(j * 2, 2), 16);
5836
+ if (ht(Z)) return j;
5837
+ f[c + j] = Z;
5838
5838
  }
5839
- return F;
5839
+ return j;
5840
5840
  }
5841
5841
  function d(f, u, c, h) {
5842
- return ot(b(u, f.length - c), f, c, h);
5842
+ return st(y(u, f.length - c), f, c, h);
5843
5843
  }
5844
5844
  function B(f, u, c, h) {
5845
- return ot(j(u), f, c, h);
5845
+ return st(F(u), f, c, h);
5846
5846
  }
5847
5847
  function S(f, u, c, h) {
5848
- return ot(J(u), f, c, h);
5848
+ return st(J(u), f, c, h);
5849
5849
  }
5850
5850
  function R(f, u, c, h) {
5851
- return ot(P(u, f.length - c), f, c, h);
5851
+ return st(P(u, f.length - c), f, c, h);
5852
5852
  }
5853
5853
  o.prototype.write = function(u, c, h, N) {
5854
5854
  if (c === void 0)
@@ -5865,7 +5865,7 @@ function na() {
5865
5865
  if ((h === void 0 || h > L) && (h = L), u.length > 0 && (h < 0 || c < 0) || c > this.length)
5866
5866
  throw new RangeError("Attempt to write outside buffer bounds");
5867
5867
  N || (N = "utf8");
5868
- for (var F = !1; ; )
5868
+ for (var j = !1; ; )
5869
5869
  switch (N) {
5870
5870
  case "hex":
5871
5871
  return U(this, u, c, h);
@@ -5884,8 +5884,8 @@ function na() {
5884
5884
  case "utf-16le":
5885
5885
  return R(this, u, c, h);
5886
5886
  default:
5887
- if (F) throw new TypeError("Unknown encoding: " + N);
5888
- N = ("" + N).toLowerCase(), F = !0;
5887
+ if (j) throw new TypeError("Unknown encoding: " + N);
5888
+ N = ("" + N).toLowerCase(), j = !0;
5889
5889
  }
5890
5890
  }, o.prototype.toJSON = function() {
5891
5891
  return {
@@ -5899,24 +5899,24 @@ function na() {
5899
5899
  function q(f, u, c) {
5900
5900
  c = Math.min(f.length, c);
5901
5901
  for (var h = [], N = u; N < c; ) {
5902
- var L = f[N], F = null, Z = L > 239 ? 4 : L > 223 ? 3 : L > 191 ? 2 : 1;
5902
+ var L = f[N], j = null, Z = L > 239 ? 4 : L > 223 ? 3 : L > 191 ? 2 : 1;
5903
5903
  if (N + Z <= c) {
5904
5904
  var nt, lt, Et, pt;
5905
5905
  switch (Z) {
5906
5906
  case 1:
5907
- L < 128 && (F = L);
5907
+ L < 128 && (j = L);
5908
5908
  break;
5909
5909
  case 2:
5910
- nt = f[N + 1], (nt & 192) === 128 && (pt = (L & 31) << 6 | nt & 63, pt > 127 && (F = pt));
5910
+ nt = f[N + 1], (nt & 192) === 128 && (pt = (L & 31) << 6 | nt & 63, pt > 127 && (j = pt));
5911
5911
  break;
5912
5912
  case 3:
5913
- nt = f[N + 1], lt = f[N + 2], (nt & 192) === 128 && (lt & 192) === 128 && (pt = (L & 15) << 12 | (nt & 63) << 6 | lt & 63, pt > 2047 && (pt < 55296 || pt > 57343) && (F = pt));
5913
+ nt = f[N + 1], lt = f[N + 2], (nt & 192) === 128 && (lt & 192) === 128 && (pt = (L & 15) << 12 | (nt & 63) << 6 | lt & 63, pt > 2047 && (pt < 55296 || pt > 57343) && (j = pt));
5914
5914
  break;
5915
5915
  case 4:
5916
- nt = f[N + 1], lt = f[N + 2], Et = f[N + 3], (nt & 192) === 128 && (lt & 192) === 128 && (Et & 192) === 128 && (pt = (L & 15) << 18 | (nt & 63) << 12 | (lt & 63) << 6 | Et & 63, pt > 65535 && pt < 1114112 && (F = pt));
5916
+ nt = f[N + 1], lt = f[N + 2], Et = f[N + 3], (nt & 192) === 128 && (lt & 192) === 128 && (Et & 192) === 128 && (pt = (L & 15) << 18 | (nt & 63) << 12 | (lt & 63) << 6 | Et & 63, pt > 65535 && pt < 1114112 && (j = pt));
5917
5917
  }
5918
5918
  }
5919
- F === null ? (F = 65533, Z = 1) : F > 65535 && (F -= 65536, h.push(F >>> 10 & 1023 | 55296), F = 56320 | F & 1023), h.push(F), N += Z;
5919
+ j === null ? (j = 65533, Z = 1) : j > 65535 && (j -= 65536, h.push(j >>> 10 & 1023 | 55296), j = 56320 | j & 1023), h.push(j), N += Z;
5920
5920
  }
5921
5921
  return k(h);
5922
5922
  }
@@ -5964,62 +5964,62 @@ function na() {
5964
5964
  var N = this.subarray(u, c);
5965
5965
  return Object.setPrototypeOf(N, o.prototype), N;
5966
5966
  };
5967
- function st(f, u, c) {
5967
+ function ot(f, u, c) {
5968
5968
  if (f % 1 !== 0 || f < 0) throw new RangeError("offset is not uint");
5969
5969
  if (f + u > c) throw new RangeError("Trying to access beyond buffer length");
5970
5970
  }
5971
5971
  o.prototype.readUintLE = o.prototype.readUIntLE = function(u, c, h) {
5972
- u = u >>> 0, c = c >>> 0, h || st(u, c, this.length);
5973
- for (var N = this[u], L = 1, F = 0; ++F < c && (L *= 256); )
5974
- N += this[u + F] * L;
5972
+ u = u >>> 0, c = c >>> 0, h || ot(u, c, this.length);
5973
+ for (var N = this[u], L = 1, j = 0; ++j < c && (L *= 256); )
5974
+ N += this[u + j] * L;
5975
5975
  return N;
5976
5976
  }, o.prototype.readUintBE = o.prototype.readUIntBE = function(u, c, h) {
5977
- u = u >>> 0, c = c >>> 0, h || st(u, c, this.length);
5977
+ u = u >>> 0, c = c >>> 0, h || ot(u, c, this.length);
5978
5978
  for (var N = this[u + --c], L = 1; c > 0 && (L *= 256); )
5979
5979
  N += this[u + --c] * L;
5980
5980
  return N;
5981
5981
  }, o.prototype.readUint8 = o.prototype.readUInt8 = function(u, c) {
5982
- return u = u >>> 0, c || st(u, 1, this.length), this[u];
5982
+ return u = u >>> 0, c || ot(u, 1, this.length), this[u];
5983
5983
  }, o.prototype.readUint16LE = o.prototype.readUInt16LE = function(u, c) {
5984
- return u = u >>> 0, c || st(u, 2, this.length), this[u] | this[u + 1] << 8;
5984
+ return u = u >>> 0, c || ot(u, 2, this.length), this[u] | this[u + 1] << 8;
5985
5985
  }, o.prototype.readUint16BE = o.prototype.readUInt16BE = function(u, c) {
5986
- return u = u >>> 0, c || st(u, 2, this.length), this[u] << 8 | this[u + 1];
5986
+ return u = u >>> 0, c || ot(u, 2, this.length), this[u] << 8 | this[u + 1];
5987
5987
  }, o.prototype.readUint32LE = o.prototype.readUInt32LE = function(u, c) {
5988
- return u = u >>> 0, c || st(u, 4, this.length), (this[u] | this[u + 1] << 8 | this[u + 2] << 16) + this[u + 3] * 16777216;
5988
+ return u = u >>> 0, c || ot(u, 4, this.length), (this[u] | this[u + 1] << 8 | this[u + 2] << 16) + this[u + 3] * 16777216;
5989
5989
  }, o.prototype.readUint32BE = o.prototype.readUInt32BE = function(u, c) {
5990
- return u = u >>> 0, c || st(u, 4, this.length), this[u] * 16777216 + (this[u + 1] << 16 | this[u + 2] << 8 | this[u + 3]);
5990
+ return u = u >>> 0, c || ot(u, 4, this.length), this[u] * 16777216 + (this[u + 1] << 16 | this[u + 2] << 8 | this[u + 3]);
5991
5991
  }, o.prototype.readIntLE = function(u, c, h) {
5992
- u = u >>> 0, c = c >>> 0, h || st(u, c, this.length);
5993
- for (var N = this[u], L = 1, F = 0; ++F < c && (L *= 256); )
5994
- N += this[u + F] * L;
5992
+ u = u >>> 0, c = c >>> 0, h || ot(u, c, this.length);
5993
+ for (var N = this[u], L = 1, j = 0; ++j < c && (L *= 256); )
5994
+ N += this[u + j] * L;
5995
5995
  return L *= 128, N >= L && (N -= Math.pow(2, 8 * c)), N;
5996
5996
  }, o.prototype.readIntBE = function(u, c, h) {
5997
- u = u >>> 0, c = c >>> 0, h || st(u, c, this.length);
5998
- for (var N = c, L = 1, F = this[u + --N]; N > 0 && (L *= 256); )
5999
- F += this[u + --N] * L;
6000
- return L *= 128, F >= L && (F -= Math.pow(2, 8 * c)), F;
5997
+ u = u >>> 0, c = c >>> 0, h || ot(u, c, this.length);
5998
+ for (var N = c, L = 1, j = this[u + --N]; N > 0 && (L *= 256); )
5999
+ j += this[u + --N] * L;
6000
+ return L *= 128, j >= L && (j -= Math.pow(2, 8 * c)), j;
6001
6001
  }, o.prototype.readInt8 = function(u, c) {
6002
- return u = u >>> 0, c || st(u, 1, this.length), this[u] & 128 ? (255 - this[u] + 1) * -1 : this[u];
6002
+ return u = u >>> 0, c || ot(u, 1, this.length), this[u] & 128 ? (255 - this[u] + 1) * -1 : this[u];
6003
6003
  }, o.prototype.readInt16LE = function(u, c) {
6004
- u = u >>> 0, c || st(u, 2, this.length);
6004
+ u = u >>> 0, c || ot(u, 2, this.length);
6005
6005
  var h = this[u] | this[u + 1] << 8;
6006
6006
  return h & 32768 ? h | 4294901760 : h;
6007
6007
  }, o.prototype.readInt16BE = function(u, c) {
6008
- u = u >>> 0, c || st(u, 2, this.length);
6008
+ u = u >>> 0, c || ot(u, 2, this.length);
6009
6009
  var h = this[u + 1] | this[u] << 8;
6010
6010
  return h & 32768 ? h | 4294901760 : h;
6011
6011
  }, o.prototype.readInt32LE = function(u, c) {
6012
- return u = u >>> 0, c || st(u, 4, this.length), this[u] | this[u + 1] << 8 | this[u + 2] << 16 | this[u + 3] << 24;
6012
+ return u = u >>> 0, c || ot(u, 4, this.length), this[u] | this[u + 1] << 8 | this[u + 2] << 16 | this[u + 3] << 24;
6013
6013
  }, o.prototype.readInt32BE = function(u, c) {
6014
- return u = u >>> 0, c || st(u, 4, this.length), this[u] << 24 | this[u + 1] << 16 | this[u + 2] << 8 | this[u + 3];
6014
+ return u = u >>> 0, c || ot(u, 4, this.length), this[u] << 24 | this[u + 1] << 16 | this[u + 2] << 8 | this[u + 3];
6015
6015
  }, o.prototype.readFloatLE = function(u, c) {
6016
- return u = u >>> 0, c || st(u, 4, this.length), e.read(this, u, !0, 23, 4);
6016
+ return u = u >>> 0, c || ot(u, 4, this.length), e.read(this, u, !0, 23, 4);
6017
6017
  }, o.prototype.readFloatBE = function(u, c) {
6018
- return u = u >>> 0, c || st(u, 4, this.length), e.read(this, u, !1, 23, 4);
6018
+ return u = u >>> 0, c || ot(u, 4, this.length), e.read(this, u, !1, 23, 4);
6019
6019
  }, o.prototype.readDoubleLE = function(u, c) {
6020
- return u = u >>> 0, c || st(u, 8, this.length), e.read(this, u, !0, 52, 8);
6020
+ return u = u >>> 0, c || ot(u, 8, this.length), e.read(this, u, !0, 52, 8);
6021
6021
  }, o.prototype.readDoubleBE = function(u, c) {
6022
- return u = u >>> 0, c || st(u, 8, this.length), e.read(this, u, !1, 52, 8);
6022
+ return u = u >>> 0, c || ot(u, 8, this.length), e.read(this, u, !1, 52, 8);
6023
6023
  };
6024
6024
  function ut(f, u, c, h, N, L) {
6025
6025
  if (!o.isBuffer(f)) throw new TypeError('"buffer" argument must be a Buffer instance');
@@ -6031,18 +6031,18 @@ function na() {
6031
6031
  var L = Math.pow(2, 8 * h) - 1;
6032
6032
  ut(this, u, c, h, L, 0);
6033
6033
  }
6034
- var F = 1, Z = 0;
6035
- for (this[c] = u & 255; ++Z < h && (F *= 256); )
6036
- this[c + Z] = u / F & 255;
6034
+ var j = 1, Z = 0;
6035
+ for (this[c] = u & 255; ++Z < h && (j *= 256); )
6036
+ this[c + Z] = u / j & 255;
6037
6037
  return c + h;
6038
6038
  }, o.prototype.writeUintBE = o.prototype.writeUIntBE = function(u, c, h, N) {
6039
6039
  if (u = +u, c = c >>> 0, h = h >>> 0, !N) {
6040
6040
  var L = Math.pow(2, 8 * h) - 1;
6041
6041
  ut(this, u, c, h, L, 0);
6042
6042
  }
6043
- var F = h - 1, Z = 1;
6044
- for (this[c + F] = u & 255; --F >= 0 && (Z *= 256); )
6045
- this[c + F] = u / Z & 255;
6043
+ var j = h - 1, Z = 1;
6044
+ for (this[c + j] = u & 255; --j >= 0 && (Z *= 256); )
6045
+ this[c + j] = u / Z & 255;
6046
6046
  return c + h;
6047
6047
  }, o.prototype.writeUint8 = o.prototype.writeUInt8 = function(u, c, h) {
6048
6048
  return u = +u, c = c >>> 0, h || ut(this, u, c, 1, 255, 0), this[c] = u & 255, c + 1;
@@ -6059,18 +6059,18 @@ function na() {
6059
6059
  var L = Math.pow(2, 8 * h - 1);
6060
6060
  ut(this, u, c, h, L - 1, -L);
6061
6061
  }
6062
- var F = 0, Z = 1, nt = 0;
6063
- for (this[c] = u & 255; ++F < h && (Z *= 256); )
6064
- u < 0 && nt === 0 && this[c + F - 1] !== 0 && (nt = 1), this[c + F] = (u / Z >> 0) - nt & 255;
6062
+ var j = 0, Z = 1, nt = 0;
6063
+ for (this[c] = u & 255; ++j < h && (Z *= 256); )
6064
+ u < 0 && nt === 0 && this[c + j - 1] !== 0 && (nt = 1), this[c + j] = (u / Z >> 0) - nt & 255;
6065
6065
  return c + h;
6066
6066
  }, o.prototype.writeIntBE = function(u, c, h, N) {
6067
6067
  if (u = +u, c = c >>> 0, !N) {
6068
6068
  var L = Math.pow(2, 8 * h - 1);
6069
6069
  ut(this, u, c, h, L - 1, -L);
6070
6070
  }
6071
- var F = h - 1, Z = 1, nt = 0;
6072
- for (this[c + F] = u & 255; --F >= 0 && (Z *= 256); )
6073
- u < 0 && nt === 0 && this[c + F + 1] !== 0 && (nt = 1), this[c + F] = (u / Z >> 0) - nt & 255;
6071
+ var j = h - 1, Z = 1, nt = 0;
6072
+ for (this[c + j] = u & 255; --j >= 0 && (Z *= 256); )
6073
+ u < 0 && nt === 0 && this[c + j + 1] !== 0 && (nt = 1), this[c + j] = (u / Z >> 0) - nt & 255;
6074
6074
  return c + h;
6075
6075
  }, o.prototype.writeInt8 = function(u, c, h) {
6076
6076
  return u = +u, c = c >>> 0, h || ut(this, u, c, 1, 127, -128), u < 0 && (u = 255 + u + 1), this[c] = u & 255, c + 1;
@@ -6095,13 +6095,13 @@ function na() {
6095
6095
  }, o.prototype.writeFloatBE = function(u, c, h) {
6096
6096
  return K(this, u, c, !1, h);
6097
6097
  };
6098
- function Ut(f, u, c, h, N) {
6098
+ function Bt(f, u, c, h, N) {
6099
6099
  return u = +u, c = c >>> 0, N || vt(f, u, c, 8), e.write(f, u, c, h, 52, 8), c + 8;
6100
6100
  }
6101
6101
  o.prototype.writeDoubleLE = function(u, c, h) {
6102
- return Ut(this, u, c, !0, h);
6102
+ return Bt(this, u, c, !0, h);
6103
6103
  }, o.prototype.writeDoubleBE = function(u, c, h) {
6104
- return Ut(this, u, c, !1, h);
6104
+ return Bt(this, u, c, !1, h);
6105
6105
  }, o.prototype.copy = function(u, c, h, N) {
6106
6106
  if (!o.isBuffer(u)) throw new TypeError("argument should be a Buffer");
6107
6107
  if (h || (h = 0), !N && N !== 0 && (N = this.length), c >= u.length && (c = u.length), c || (c = 0), N > 0 && N < h && (N = h), N === h || u.length === 0 || this.length === 0) return 0;
@@ -6132,16 +6132,16 @@ function na() {
6132
6132
  if (h <= c)
6133
6133
  return this;
6134
6134
  c = c >>> 0, h = h === void 0 ? this.length : h >>> 0, u || (u = 0);
6135
- var F;
6135
+ var j;
6136
6136
  if (typeof u == "number")
6137
- for (F = c; F < h; ++F)
6138
- this[F] = u;
6137
+ for (j = c; j < h; ++j)
6138
+ this[j] = u;
6139
6139
  else {
6140
6140
  var Z = o.isBuffer(u) ? u : o.from(u, N), nt = Z.length;
6141
6141
  if (nt === 0)
6142
6142
  throw new TypeError('The value "' + u + '" is invalid for argument "value"');
6143
- for (F = 0; F < h - c; ++F)
6144
- this[F + c] = Z[F % nt];
6143
+ for (j = 0; j < h - c; ++j)
6144
+ this[j + c] = Z[j % nt];
6145
6145
  }
6146
6146
  return this;
6147
6147
  };
@@ -6152,15 +6152,15 @@ function na() {
6152
6152
  f = f + "=";
6153
6153
  return f;
6154
6154
  }
6155
- function b(f, u) {
6155
+ function y(f, u) {
6156
6156
  u = u || 1 / 0;
6157
- for (var c, h = f.length, N = null, L = [], F = 0; F < h; ++F) {
6158
- if (c = f.charCodeAt(F), c > 55295 && c < 57344) {
6157
+ for (var c, h = f.length, N = null, L = [], j = 0; j < h; ++j) {
6158
+ if (c = f.charCodeAt(j), c > 55295 && c < 57344) {
6159
6159
  if (!N) {
6160
6160
  if (c > 56319) {
6161
6161
  (u -= 3) > -1 && L.push(239, 191, 189);
6162
6162
  continue;
6163
- } else if (F + 1 === h) {
6163
+ } else if (j + 1 === h) {
6164
6164
  (u -= 3) > -1 && L.push(239, 191, 189);
6165
6165
  continue;
6166
6166
  }
@@ -6202,20 +6202,20 @@ function na() {
6202
6202
  }
6203
6203
  return L;
6204
6204
  }
6205
- function j(f) {
6205
+ function F(f) {
6206
6206
  for (var u = [], c = 0; c < f.length; ++c)
6207
6207
  u.push(f.charCodeAt(c) & 255);
6208
6208
  return u;
6209
6209
  }
6210
6210
  function P(f, u) {
6211
- for (var c, h, N, L = [], F = 0; F < f.length && !((u -= 2) < 0); ++F)
6212
- c = f.charCodeAt(F), h = c >> 8, N = c % 256, L.push(N), L.push(h);
6211
+ for (var c, h, N, L = [], j = 0; j < f.length && !((u -= 2) < 0); ++j)
6212
+ c = f.charCodeAt(j), h = c >> 8, N = c % 256, L.push(N), L.push(h);
6213
6213
  return L;
6214
6214
  }
6215
6215
  function J(f) {
6216
6216
  return t.toByteArray(x(f));
6217
6217
  }
6218
- function ot(f, u, c, h) {
6218
+ function st(f, u, c, h) {
6219
6219
  for (var N = 0; N < h && !(N + c >= u.length || N >= f.length); ++N)
6220
6220
  u[N + c] = f[N];
6221
6221
  return N;
@@ -6324,7 +6324,7 @@ function ia() {
6324
6324
  var C;
6325
6325
  switch (this.encoding) {
6326
6326
  case "utf16le":
6327
- this.text = p, this.end = y, C = 4;
6327
+ this.text = p, this.end = b, C = 4;
6328
6328
  break;
6329
6329
  case "utf8":
6330
6330
  this.fillLast = l, C = 4;
@@ -6401,7 +6401,7 @@ function ia() {
6401
6401
  }
6402
6402
  return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = T[T.length - 1], T.toString("utf16le", C, T.length - 1);
6403
6403
  }
6404
- function y(T) {
6404
+ function b(T) {
6405
6405
  var C = T && T.length ? this.write(T) : "";
6406
6406
  if (this.lastNeed) {
6407
6407
  var g = this.lastTotal - this.lastNeed;
@@ -6429,8 +6429,8 @@ var Fi;
6429
6429
  function sa() {
6430
6430
  return Fi || (Fi = 1, function(a) {
6431
6431
  (function(t) {
6432
- t.parser = function(x, b) {
6433
- return new n(x, b);
6432
+ t.parser = function(x, y) {
6433
+ return new n(x, y);
6434
6434
  }, t.SAXParser = n, t.SAXStream = m, t.createStream = E, t.MAX_BUFFER_LENGTH = 64 * 1024;
6435
6435
  var e = [
6436
6436
  "comment",
@@ -6466,27 +6466,27 @@ function sa() {
6466
6466
  "opennamespace",
6467
6467
  "closenamespace"
6468
6468
  ];
6469
- function n(x, b) {
6469
+ function n(x, y) {
6470
6470
  if (!(this instanceof n))
6471
- return new n(x, b);
6472
- var j = this;
6473
- i(j), j.q = j.c = "", j.bufferCheckPosition = t.MAX_BUFFER_LENGTH, j.opt = b || {}, j.opt.lowercase = j.opt.lowercase || j.opt.lowercasetags, j.looseCase = j.opt.lowercase ? "toLowerCase" : "toUpperCase", j.tags = [], j.closed = j.closedRoot = j.sawRoot = !1, j.tag = j.error = null, j.strict = !!x, j.noscript = !!(x || j.opt.noscript), j.state = d.BEGIN, j.strictEntities = j.opt.strictEntities, j.ENTITIES = j.strictEntities ? Object.create(t.XML_ENTITIES) : Object.create(t.ENTITIES), j.attribList = [], j.opt.xmlns && (j.ns = Object.create(_)), j.opt.unquotedAttributeValues === void 0 && (j.opt.unquotedAttributeValues = !x), j.trackPosition = j.opt.position !== !1, j.trackPosition && (j.position = j.line = j.column = 0), S(j, "onready");
6471
+ return new n(x, y);
6472
+ var F = this;
6473
+ i(F), F.q = F.c = "", F.bufferCheckPosition = t.MAX_BUFFER_LENGTH, F.opt = y || {}, F.opt.lowercase = F.opt.lowercase || F.opt.lowercasetags, F.looseCase = F.opt.lowercase ? "toLowerCase" : "toUpperCase", F.tags = [], F.closed = F.closedRoot = F.sawRoot = !1, F.tag = F.error = null, F.strict = !!x, F.noscript = !!(x || F.opt.noscript), F.state = d.BEGIN, F.strictEntities = F.opt.strictEntities, F.ENTITIES = F.strictEntities ? Object.create(t.XML_ENTITIES) : Object.create(t.ENTITIES), F.attribList = [], F.opt.xmlns && (F.ns = Object.create(_)), F.opt.unquotedAttributeValues === void 0 && (F.opt.unquotedAttributeValues = !x), F.trackPosition = F.opt.position !== !1, F.trackPosition && (F.position = F.line = F.column = 0), S(F, "onready");
6474
6474
  }
6475
6475
  Object.create || (Object.create = function(x) {
6476
- function b() {
6476
+ function y() {
6477
6477
  }
6478
- b.prototype = x;
6479
- var j = new b();
6480
- return j;
6478
+ y.prototype = x;
6479
+ var F = new y();
6480
+ return F;
6481
6481
  }), Object.keys || (Object.keys = function(x) {
6482
- var b = [];
6483
- for (var j in x) x.hasOwnProperty(j) && b.push(j);
6484
- return b;
6482
+ var y = [];
6483
+ for (var F in x) x.hasOwnProperty(F) && y.push(F);
6484
+ return y;
6485
6485
  });
6486
6486
  function s(x) {
6487
- for (var b = Math.max(t.MAX_BUFFER_LENGTH, 10), j = 0, P = 0, J = e.length; P < J; P++) {
6488
- var ot = x[e[P]].length;
6489
- if (ot > b)
6487
+ for (var y = Math.max(t.MAX_BUFFER_LENGTH, 10), F = 0, P = 0, J = e.length; P < J; P++) {
6488
+ var st = x[e[P]].length;
6489
+ if (st > y)
6490
6490
  switch (e[P]) {
6491
6491
  case "textNode":
6492
6492
  $(x);
@@ -6500,14 +6500,14 @@ function sa() {
6500
6500
  default:
6501
6501
  z(x, "Max buffer length exceeded: " + e[P]);
6502
6502
  }
6503
- j = Math.max(j, ot);
6503
+ F = Math.max(F, st);
6504
6504
  }
6505
- var rt = t.MAX_BUFFER_LENGTH - j;
6505
+ var rt = t.MAX_BUFFER_LENGTH - F;
6506
6506
  x.bufferCheckPosition = rt + x.position;
6507
6507
  }
6508
6508
  function i(x) {
6509
- for (var b = 0, j = e.length; b < j; b++)
6510
- x[e[b]] = "";
6509
+ for (var y = 0, F = e.length; y < F; y++)
6510
+ x[e[y]] = "";
6511
6511
  }
6512
6512
  function r(x) {
6513
6513
  $(x), x.cdata !== "" && (R(x, "oncdata", x.cdata), x.cdata = ""), x.script !== "" && (R(x, "onscript", x.script), x.script = "");
@@ -6539,27 +6539,27 @@ function sa() {
6539
6539
  var l = t.EVENTS.filter(function(x) {
6540
6540
  return x !== "error" && x !== "end";
6541
6541
  });
6542
- function E(x, b) {
6543
- return new m(x, b);
6542
+ function E(x, y) {
6543
+ return new m(x, y);
6544
6544
  }
6545
- function m(x, b) {
6545
+ function m(x, y) {
6546
6546
  if (!(this instanceof m))
6547
- return new m(x, b);
6548
- o.apply(this), this._parser = new n(x, b), this.writable = !0, this.readable = !0;
6549
- var j = this;
6547
+ return new m(x, y);
6548
+ o.apply(this), this._parser = new n(x, y), this.writable = !0, this.readable = !0;
6549
+ var F = this;
6550
6550
  this._parser.onend = function() {
6551
- j.emit("end");
6551
+ F.emit("end");
6552
6552
  }, this._parser.onerror = function(P) {
6553
- j.emit("error", P), j._parser.error = null;
6553
+ F.emit("error", P), F._parser.error = null;
6554
6554
  }, this._decoder = null, l.forEach(function(P) {
6555
- Object.defineProperty(j, "on" + P, {
6555
+ Object.defineProperty(F, "on" + P, {
6556
6556
  get: function() {
6557
- return j._parser["on" + P];
6557
+ return F._parser["on" + P];
6558
6558
  },
6559
6559
  set: function(J) {
6560
6560
  if (!J)
6561
- return j.removeAllListeners(P), j._parser["on" + P] = J, J;
6562
- j.on(P, J);
6561
+ return F.removeAllListeners(P), F._parser["on" + P] = J, J;
6562
+ F.on(P, J);
6563
6563
  },
6564
6564
  enumerable: !0,
6565
6565
  configurable: !1
@@ -6573,22 +6573,22 @@ function sa() {
6573
6573
  }), m.prototype.write = function(x) {
6574
6574
  if (typeof Buffer == "function" && typeof Buffer.isBuffer == "function" && Buffer.isBuffer(x)) {
6575
6575
  if (!this._decoder) {
6576
- var b = ia().StringDecoder;
6577
- this._decoder = new b("utf8");
6576
+ var y = ia().StringDecoder;
6577
+ this._decoder = new y("utf8");
6578
6578
  }
6579
6579
  x = this._decoder.write(x);
6580
6580
  }
6581
6581
  return this._parser.write(x.toString()), this.emit("data", x), !0;
6582
6582
  }, m.prototype.end = function(x) {
6583
6583
  return x && x.length && this.write(x), this._parser.end(), !0;
6584
- }, m.prototype.on = function(x, b) {
6585
- var j = this;
6586
- return !j._parser["on" + x] && l.indexOf(x) !== -1 && (j._parser["on" + x] = function() {
6584
+ }, m.prototype.on = function(x, y) {
6585
+ var F = this;
6586
+ return !F._parser["on" + x] && l.indexOf(x) !== -1 && (F._parser["on" + x] = function() {
6587
6587
  var P = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
6588
- P.splice(0, 0, x), j.emit.apply(j, P);
6589
- }), o.prototype.on.call(j, x, b);
6588
+ P.splice(0, 0, x), F.emit.apply(F, P);
6589
+ }), o.prototype.on.call(F, x, y);
6590
6590
  };
6591
- var p = "[CDATA[", y = "DOCTYPE", w = "http://www.w3.org/XML/1998/namespace", D = "http://www.w3.org/2000/xmlns/", _ = { xml: w, xmlns: D }, I = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, T = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, C = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, g = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;
6591
+ var p = "[CDATA[", b = "DOCTYPE", w = "http://www.w3.org/XML/1998/namespace", D = "http://www.w3.org/2000/xmlns/", _ = { xml: w, xmlns: D }, I = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, T = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, C = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, g = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;
6592
6592
  function v(x) {
6593
6593
  return x === " " || x === `
6594
6594
  ` || x === "\r" || x === " ";
@@ -6599,11 +6599,11 @@ function sa() {
6599
6599
  function X(x) {
6600
6600
  return x === ">" || v(x);
6601
6601
  }
6602
- function W(x, b) {
6603
- return x.test(b);
6602
+ function W(x, y) {
6603
+ return x.test(y);
6604
6604
  }
6605
- function U(x, b) {
6606
- return !W(x, b);
6605
+ function U(x, y) {
6606
+ return !W(x, y);
6607
6607
  }
6608
6608
  var d = 0;
6609
6609
  t.STATE = {
@@ -6940,46 +6940,46 @@ function sa() {
6940
6940
  hearts: 9829,
6941
6941
  diams: 9830
6942
6942
  }, Object.keys(t.ENTITIES).forEach(function(x) {
6943
- var b = t.ENTITIES[x], j = typeof b == "number" ? String.fromCharCode(b) : b;
6944
- t.ENTITIES[x] = j;
6943
+ var y = t.ENTITIES[x], F = typeof y == "number" ? String.fromCharCode(y) : y;
6944
+ t.ENTITIES[x] = F;
6945
6945
  });
6946
6946
  for (var B in t.STATE)
6947
6947
  t.STATE[t.STATE[B]] = B;
6948
6948
  d = t.STATE;
6949
- function S(x, b, j) {
6950
- x[b] && x[b](j);
6949
+ function S(x, y, F) {
6950
+ x[y] && x[y](F);
6951
6951
  }
6952
- function R(x, b, j) {
6953
- x.textNode && $(x), S(x, b, j);
6952
+ function R(x, y, F) {
6953
+ x.textNode && $(x), S(x, y, F);
6954
6954
  }
6955
6955
  function $(x) {
6956
6956
  x.textNode = q(x.opt, x.textNode), x.textNode && S(x, "ontext", x.textNode), x.textNode = "";
6957
6957
  }
6958
- function q(x, b) {
6959
- return x.trim && (b = b.trim()), x.normalize && (b = b.replace(/\s+/g, " ")), b;
6958
+ function q(x, y) {
6959
+ return x.trim && (y = y.trim()), x.normalize && (y = y.replace(/\s+/g, " ")), y;
6960
6960
  }
6961
- function z(x, b) {
6962
- return $(x), x.trackPosition && (b += `
6961
+ function z(x, y) {
6962
+ return $(x), x.trackPosition && (y += `
6963
6963
  Line: ` + x.line + `
6964
6964
  Column: ` + x.column + `
6965
- Char: ` + x.c), b = new Error(b), x.error = b, S(x, "onerror", b), x;
6965
+ Char: ` + x.c), y = new Error(y), x.error = y, S(x, "onerror", y), x;
6966
6966
  }
6967
6967
  function k(x) {
6968
6968
  return x.sawRoot && !x.closedRoot && V(x, "Unclosed root tag"), x.state !== d.BEGIN && x.state !== d.BEGIN_WHITESPACE && x.state !== d.TEXT && z(x, "Unexpected end"), $(x), x.c = "", x.closed = !0, S(x, "onend"), n.call(x, x.strict, x.opt), x;
6969
6969
  }
6970
- function V(x, b) {
6970
+ function V(x, y) {
6971
6971
  if (typeof x != "object" || !(x instanceof n))
6972
6972
  throw new Error("bad call to strictFail");
6973
- x.strict && z(x, b);
6973
+ x.strict && z(x, y);
6974
6974
  }
6975
6975
  function ft(x) {
6976
6976
  x.strict || (x.tagName = x.tagName[x.looseCase]());
6977
- var b = x.tags[x.tags.length - 1] || x, j = x.tag = { name: x.tagName, attributes: {} };
6978
- x.opt.xmlns && (j.ns = b.ns), x.attribList.length = 0, R(x, "onopentagstart", j);
6977
+ var y = x.tags[x.tags.length - 1] || x, F = x.tag = { name: x.tagName, attributes: {} };
6978
+ x.opt.xmlns && (F.ns = y.ns), x.attribList.length = 0, R(x, "onopentagstart", F);
6979
6979
  }
6980
- function Ot(x, b) {
6981
- var j = x.indexOf(":"), P = j < 0 ? ["", x] : x.split(":"), J = P[0], ot = P[1];
6982
- return b && x === "xmlns" && (J = "xmlns", ot = ""), { prefix: J, local: ot };
6980
+ function Ot(x, y) {
6981
+ var F = x.indexOf(":"), P = F < 0 ? ["", x] : x.split(":"), J = P[0], st = P[1];
6982
+ return y && x === "xmlns" && (J = "xmlns", st = ""), { prefix: J, local: st };
6983
6983
  }
6984
6984
  function at(x) {
6985
6985
  if (x.strict || (x.attribName = x.attribName[x.looseCase]()), x.attribList.indexOf(x.attribName) !== -1 || x.tag.attributes.hasOwnProperty(x.attribName)) {
@@ -6987,8 +6987,8 @@ Char: ` + x.c), b = new Error(b), x.error = b, S(x, "onerror", b), x;
6987
6987
  return;
6988
6988
  }
6989
6989
  if (x.opt.xmlns) {
6990
- var b = Ot(x.attribName, !0), j = b.prefix, P = b.local;
6991
- if (j === "xmlns")
6990
+ var y = Ot(x.attribName, !0), F = y.prefix, P = y.local;
6991
+ if (F === "xmlns")
6992
6992
  if (P === "xml" && x.attribValue !== w)
6993
6993
  V(
6994
6994
  x,
@@ -7002,8 +7002,8 @@ Actual: ` + x.attribValue
7002
7002
  Actual: ` + x.attribValue
7003
7003
  );
7004
7004
  else {
7005
- var J = x.tag, ot = x.tags[x.tags.length - 1] || x;
7006
- J.ns === ot.ns && (J.ns = Object.create(ot.ns)), J.ns[P] = x.attribValue;
7005
+ var J = x.tag, st = x.tags[x.tags.length - 1] || x;
7006
+ J.ns === st.ns && (J.ns = Object.create(st.ns)), J.ns[P] = x.attribValue;
7007
7007
  }
7008
7008
  x.attribList.push([x.attribName, x.attribValue]);
7009
7009
  } else
@@ -7013,30 +7013,36 @@ Actual: ` + x.attribValue
7013
7013
  });
7014
7014
  x.attribName = x.attribValue = "";
7015
7015
  }
7016
- function st(x, b) {
7016
+ function ot(x, y) {
7017
7017
  if (x.opt.xmlns) {
7018
- var j = x.tag, P = Ot(x.tagName);
7019
- j.prefix = P.prefix, j.local = P.local, j.uri = j.ns[P.prefix] || "", j.prefix && !j.uri && (V(x, "Unbound namespace prefix: " + JSON.stringify(x.tagName)), j.uri = P.prefix);
7018
+ var F = x.tag, P = Ot(x.tagName);
7019
+ F.prefix = P.prefix, F.local = P.local, F.uri = F.ns[P.prefix] || "", F.prefix && !F.uri && (V(
7020
+ x,
7021
+ "Unbound namespace prefix: " + JSON.stringify(x.tagName)
7022
+ ), F.uri = P.prefix);
7020
7023
  var J = x.tags[x.tags.length - 1] || x;
7021
- j.ns && J.ns !== j.ns && Object.keys(j.ns).forEach(function(F) {
7024
+ F.ns && J.ns !== F.ns && Object.keys(F.ns).forEach(function(j) {
7022
7025
  R(x, "onopennamespace", {
7023
- prefix: F,
7024
- uri: j.ns[F]
7026
+ prefix: j,
7027
+ uri: F.ns[j]
7025
7028
  });
7026
7029
  });
7027
- for (var ot = 0, rt = x.attribList.length; ot < rt; ot++) {
7028
- var ht = x.attribList[ot], A = ht[0], f = ht[1], u = Ot(A, !0), c = u.prefix, h = u.local, N = c === "" ? "" : j.ns[c] || "", L = {
7030
+ for (var st = 0, rt = x.attribList.length; st < rt; st++) {
7031
+ var ht = x.attribList[st], A = ht[0], f = ht[1], u = Ot(A, !0), c = u.prefix, h = u.local, N = c === "" ? "" : F.ns[c] || "", L = {
7029
7032
  name: A,
7030
7033
  value: f,
7031
7034
  prefix: c,
7032
7035
  local: h,
7033
7036
  uri: N
7034
7037
  };
7035
- c && c !== "xmlns" && !N && (V(x, "Unbound namespace prefix: " + JSON.stringify(c)), L.uri = c), x.tag.attributes[A] = L, R(x, "onattribute", L);
7038
+ c && c !== "xmlns" && !N && (V(
7039
+ x,
7040
+ "Unbound namespace prefix: " + JSON.stringify(c)
7041
+ ), L.uri = c), x.tag.attributes[A] = L, R(x, "onattribute", L);
7036
7042
  }
7037
7043
  x.attribList.length = 0;
7038
7044
  }
7039
- x.tag.isSelfClosing = !!b, x.sawRoot = !0, x.tags.push(x.tag), R(x, "onopentag", x.tag), b || (!x.noscript && x.tagName.toLowerCase() === "script" ? x.state = d.SCRIPT : x.state = d.TEXT, x.tag = null, x.tagName = ""), x.attribName = x.attribValue = "", x.attribList.length = 0;
7045
+ x.tag.isSelfClosing = !!y, x.sawRoot = !0, x.tags.push(x.tag), R(x, "onopentag", x.tag), y || (!x.noscript && x.tagName.toLowerCase() === "script" ? x.state = d.SCRIPT : x.state = d.TEXT, x.tag = null, x.tagName = ""), x.attribName = x.attribValue = "", x.attribList.length = 0;
7040
7046
  }
7041
7047
  function ut(x) {
7042
7048
  if (!x.tagName) {
@@ -7050,21 +7056,21 @@ Actual: ` + x.attribValue
7050
7056
  }
7051
7057
  R(x, "onscript", x.script), x.script = "";
7052
7058
  }
7053
- var b = x.tags.length, j = x.tagName;
7054
- x.strict || (j = j[x.looseCase]());
7055
- for (var P = j; b--; ) {
7056
- var J = x.tags[b];
7059
+ var y = x.tags.length, F = x.tagName;
7060
+ x.strict || (F = F[x.looseCase]());
7061
+ for (var P = F; y--; ) {
7062
+ var J = x.tags[y];
7057
7063
  if (J.name !== P)
7058
7064
  V(x, "Unexpected close tag");
7059
7065
  else
7060
7066
  break;
7061
7067
  }
7062
- if (b < 0) {
7068
+ if (y < 0) {
7063
7069
  V(x, "Unmatched closing tag: " + x.tagName), x.textNode += "</" + x.tagName + ">", x.state = d.TEXT;
7064
7070
  return;
7065
7071
  }
7066
- x.tagName = j;
7067
- for (var ot = x.tags.length; ot-- > b; ) {
7072
+ x.tagName = F;
7073
+ for (var st = x.tags.length; st-- > y; ) {
7068
7074
  var rt = x.tag = x.tags.pop();
7069
7075
  x.tagName = x.tag.name, R(x, "onclosetag", x.tagName);
7070
7076
  var ht = {};
@@ -7076,198 +7082,204 @@ Actual: ` + x.attribValue
7076
7082
  R(x, "onclosenamespace", { prefix: u, uri: c });
7077
7083
  });
7078
7084
  }
7079
- b === 0 && (x.closedRoot = !0), x.tagName = x.attribValue = x.attribName = "", x.attribList.length = 0, x.state = d.TEXT;
7085
+ y === 0 && (x.closedRoot = !0), x.tagName = x.attribValue = x.attribName = "", x.attribList.length = 0, x.state = d.TEXT;
7080
7086
  }
7081
7087
  function vt(x) {
7082
- var b = x.entity, j = b.toLowerCase(), P, J = "";
7083
- return x.ENTITIES[b] ? x.ENTITIES[b] : x.ENTITIES[j] ? x.ENTITIES[j] : (b = j, b.charAt(0) === "#" && (b.charAt(1) === "x" ? (b = b.slice(2), P = parseInt(b, 16), J = P.toString(16)) : (b = b.slice(1), P = parseInt(b, 10), J = P.toString(10))), b = b.replace(/^0+/, ""), isNaN(P) || J.toLowerCase() !== b ? (V(x, "Invalid character entity"), "&" + x.entity + ";") : String.fromCodePoint(P));
7088
+ var y = x.entity, F = y.toLowerCase(), P, J = "";
7089
+ return x.ENTITIES[y] ? x.ENTITIES[y] : x.ENTITIES[F] ? x.ENTITIES[F] : (y = F, y.charAt(0) === "#" && (y.charAt(1) === "x" ? (y = y.slice(2), P = parseInt(y, 16), J = P.toString(16)) : (y = y.slice(1), P = parseInt(y, 10), J = P.toString(10))), y = y.replace(/^0+/, ""), isNaN(P) || J.toLowerCase() !== y || P < 0 || P > 1114111 ? (V(x, "Invalid character entity"), "&" + x.entity + ";") : String.fromCodePoint(P));
7084
7090
  }
7085
- function K(x, b) {
7086
- b === "<" ? (x.state = d.OPEN_WAKA, x.startTagPosition = x.position) : v(b) || (V(x, "Non-whitespace before first tag."), x.textNode = b, x.state = d.TEXT);
7091
+ function K(x, y) {
7092
+ y === "<" ? (x.state = d.OPEN_WAKA, x.startTagPosition = x.position) : v(y) || (V(x, "Non-whitespace before first tag."), x.textNode = y, x.state = d.TEXT);
7087
7093
  }
7088
- function Ut(x, b) {
7089
- var j = "";
7090
- return b < x.length && (j = x.charAt(b)), j;
7094
+ function Bt(x, y) {
7095
+ var F = "";
7096
+ return y < x.length && (F = x.charAt(y)), F;
7091
7097
  }
7092
7098
  function Q(x) {
7093
- var b = this;
7099
+ var y = this;
7094
7100
  if (this.error)
7095
7101
  throw this.error;
7096
- if (b.closed)
7102
+ if (y.closed)
7097
7103
  return z(
7098
- b,
7104
+ y,
7099
7105
  "Cannot write after close. Assign an onready handler."
7100
7106
  );
7101
7107
  if (x === null)
7102
- return k(b);
7108
+ return k(y);
7103
7109
  typeof x == "object" && (x = x.toString());
7104
- for (var j = 0, P = ""; P = Ut(x, j++), b.c = P, !!P; )
7105
- switch (b.trackPosition && (b.position++, P === `
7106
- ` ? (b.line++, b.column = 0) : b.column++), b.state) {
7110
+ for (var F = 0, P = ""; P = Bt(x, F++), y.c = P, !!P; )
7111
+ switch (y.trackPosition && (y.position++, P === `
7112
+ ` ? (y.line++, y.column = 0) : y.column++), y.state) {
7107
7113
  case d.BEGIN:
7108
- if (b.state = d.BEGIN_WHITESPACE, P === "\uFEFF")
7114
+ if (y.state = d.BEGIN_WHITESPACE, P === "\uFEFF")
7109
7115
  continue;
7110
- K(b, P);
7116
+ K(y, P);
7111
7117
  continue;
7112
7118
  case d.BEGIN_WHITESPACE:
7113
- K(b, P);
7119
+ K(y, P);
7114
7120
  continue;
7115
7121
  case d.TEXT:
7116
- if (b.sawRoot && !b.closedRoot) {
7117
- for (var J = j - 1; P && P !== "<" && P !== "&"; )
7118
- P = Ut(x, j++), P && b.trackPosition && (b.position++, P === `
7119
- ` ? (b.line++, b.column = 0) : b.column++);
7120
- b.textNode += x.substring(J, j - 1);
7122
+ if (y.sawRoot && !y.closedRoot) {
7123
+ for (var st = F - 1; P && P !== "<" && P !== "&"; )
7124
+ P = Bt(x, F++), P && y.trackPosition && (y.position++, P === `
7125
+ ` ? (y.line++, y.column = 0) : y.column++);
7126
+ y.textNode += x.substring(st, F - 1);
7121
7127
  }
7122
- P === "<" && !(b.sawRoot && b.closedRoot && !b.strict) ? (b.state = d.OPEN_WAKA, b.startTagPosition = b.position) : (!v(P) && (!b.sawRoot || b.closedRoot) && V(b, "Text data outside of root node."), P === "&" ? b.state = d.TEXT_ENTITY : b.textNode += P);
7128
+ P === "<" && !(y.sawRoot && y.closedRoot && !y.strict) ? (y.state = d.OPEN_WAKA, y.startTagPosition = y.position) : (!v(P) && (!y.sawRoot || y.closedRoot) && V(y, "Text data outside of root node."), P === "&" ? y.state = d.TEXT_ENTITY : y.textNode += P);
7123
7129
  continue;
7124
7130
  case d.SCRIPT:
7125
- P === "<" ? b.state = d.SCRIPT_ENDING : b.script += P;
7131
+ P === "<" ? y.state = d.SCRIPT_ENDING : y.script += P;
7126
7132
  continue;
7127
7133
  case d.SCRIPT_ENDING:
7128
- P === "/" ? b.state = d.CLOSE_TAG : (b.script += "<" + P, b.state = d.SCRIPT);
7134
+ P === "/" ? y.state = d.CLOSE_TAG : (y.script += "<" + P, y.state = d.SCRIPT);
7129
7135
  continue;
7130
7136
  case d.OPEN_WAKA:
7131
7137
  if (P === "!")
7132
- b.state = d.SGML_DECL, b.sgmlDecl = "";
7138
+ y.state = d.SGML_DECL, y.sgmlDecl = "";
7133
7139
  else if (!v(P)) if (W(I, P))
7134
- b.state = d.OPEN_TAG, b.tagName = P;
7140
+ y.state = d.OPEN_TAG, y.tagName = P;
7135
7141
  else if (P === "/")
7136
- b.state = d.CLOSE_TAG, b.tagName = "";
7142
+ y.state = d.CLOSE_TAG, y.tagName = "";
7137
7143
  else if (P === "?")
7138
- b.state = d.PROC_INST, b.procInstName = b.procInstBody = "";
7144
+ y.state = d.PROC_INST, y.procInstName = y.procInstBody = "";
7139
7145
  else {
7140
- if (V(b, "Unencoded <"), b.startTagPosition + 1 < b.position) {
7141
- var ot = b.position - b.startTagPosition;
7142
- P = new Array(ot).join(" ") + P;
7146
+ if (V(y, "Unencoded <"), y.startTagPosition + 1 < y.position) {
7147
+ var J = y.position - y.startTagPosition;
7148
+ P = new Array(J).join(" ") + P;
7143
7149
  }
7144
- b.textNode += "<" + P, b.state = d.TEXT;
7150
+ y.textNode += "<" + P, y.state = d.TEXT;
7145
7151
  }
7146
7152
  continue;
7147
7153
  case d.SGML_DECL:
7148
- if (b.sgmlDecl + P === "--") {
7149
- b.state = d.COMMENT, b.comment = "", b.sgmlDecl = "";
7154
+ if (y.sgmlDecl + P === "--") {
7155
+ y.state = d.COMMENT, y.comment = "", y.sgmlDecl = "";
7150
7156
  continue;
7151
7157
  }
7152
- b.doctype && b.doctype !== !0 && b.sgmlDecl ? (b.state = d.DOCTYPE_DTD, b.doctype += "<!" + b.sgmlDecl + P, b.sgmlDecl = "") : (b.sgmlDecl + P).toUpperCase() === p ? (R(b, "onopencdata"), b.state = d.CDATA, b.sgmlDecl = "", b.cdata = "") : (b.sgmlDecl + P).toUpperCase() === y ? (b.state = d.DOCTYPE, (b.doctype || b.sawRoot) && V(
7153
- b,
7158
+ y.doctype && y.doctype !== !0 && y.sgmlDecl ? (y.state = d.DOCTYPE_DTD, y.doctype += "<!" + y.sgmlDecl + P, y.sgmlDecl = "") : (y.sgmlDecl + P).toUpperCase() === p ? (R(y, "onopencdata"), y.state = d.CDATA, y.sgmlDecl = "", y.cdata = "") : (y.sgmlDecl + P).toUpperCase() === b ? (y.state = d.DOCTYPE, (y.doctype || y.sawRoot) && V(
7159
+ y,
7154
7160
  "Inappropriately located doctype declaration"
7155
- ), b.doctype = "", b.sgmlDecl = "") : P === ">" ? (R(b, "onsgmldeclaration", b.sgmlDecl), b.sgmlDecl = "", b.state = d.TEXT) : (M(P) && (b.state = d.SGML_DECL_QUOTED), b.sgmlDecl += P);
7161
+ ), y.doctype = "", y.sgmlDecl = "") : P === ">" ? (R(y, "onsgmldeclaration", y.sgmlDecl), y.sgmlDecl = "", y.state = d.TEXT) : (M(P) && (y.state = d.SGML_DECL_QUOTED), y.sgmlDecl += P);
7156
7162
  continue;
7157
7163
  case d.SGML_DECL_QUOTED:
7158
- P === b.q && (b.state = d.SGML_DECL, b.q = ""), b.sgmlDecl += P;
7164
+ P === y.q && (y.state = d.SGML_DECL, y.q = ""), y.sgmlDecl += P;
7159
7165
  continue;
7160
7166
  case d.DOCTYPE:
7161
- P === ">" ? (b.state = d.TEXT, R(b, "ondoctype", b.doctype), b.doctype = !0) : (b.doctype += P, P === "[" ? b.state = d.DOCTYPE_DTD : M(P) && (b.state = d.DOCTYPE_QUOTED, b.q = P));
7167
+ P === ">" ? (y.state = d.TEXT, R(y, "ondoctype", y.doctype), y.doctype = !0) : (y.doctype += P, P === "[" ? y.state = d.DOCTYPE_DTD : M(P) && (y.state = d.DOCTYPE_QUOTED, y.q = P));
7162
7168
  continue;
7163
7169
  case d.DOCTYPE_QUOTED:
7164
- b.doctype += P, P === b.q && (b.q = "", b.state = d.DOCTYPE);
7170
+ y.doctype += P, P === y.q && (y.q = "", y.state = d.DOCTYPE);
7165
7171
  continue;
7166
7172
  case d.DOCTYPE_DTD:
7167
- P === "]" ? (b.doctype += P, b.state = d.DOCTYPE) : P === "<" ? (b.state = d.OPEN_WAKA, b.startTagPosition = b.position) : M(P) ? (b.doctype += P, b.state = d.DOCTYPE_DTD_QUOTED, b.q = P) : b.doctype += P;
7173
+ P === "]" ? (y.doctype += P, y.state = d.DOCTYPE) : P === "<" ? (y.state = d.OPEN_WAKA, y.startTagPosition = y.position) : M(P) ? (y.doctype += P, y.state = d.DOCTYPE_DTD_QUOTED, y.q = P) : y.doctype += P;
7168
7174
  continue;
7169
7175
  case d.DOCTYPE_DTD_QUOTED:
7170
- b.doctype += P, P === b.q && (b.state = d.DOCTYPE_DTD, b.q = "");
7176
+ y.doctype += P, P === y.q && (y.state = d.DOCTYPE_DTD, y.q = "");
7171
7177
  continue;
7172
7178
  case d.COMMENT:
7173
- P === "-" ? b.state = d.COMMENT_ENDING : b.comment += P;
7179
+ P === "-" ? y.state = d.COMMENT_ENDING : y.comment += P;
7174
7180
  continue;
7175
7181
  case d.COMMENT_ENDING:
7176
- P === "-" ? (b.state = d.COMMENT_ENDED, b.comment = q(b.opt, b.comment), b.comment && R(b, "oncomment", b.comment), b.comment = "") : (b.comment += "-" + P, b.state = d.COMMENT);
7182
+ P === "-" ? (y.state = d.COMMENT_ENDED, y.comment = q(y.opt, y.comment), y.comment && R(y, "oncomment", y.comment), y.comment = "") : (y.comment += "-" + P, y.state = d.COMMENT);
7177
7183
  continue;
7178
7184
  case d.COMMENT_ENDED:
7179
- P !== ">" ? (V(b, "Malformed comment"), b.comment += "--" + P, b.state = d.COMMENT) : b.doctype && b.doctype !== !0 ? b.state = d.DOCTYPE_DTD : b.state = d.TEXT;
7185
+ P !== ">" ? (V(y, "Malformed comment"), y.comment += "--" + P, y.state = d.COMMENT) : y.doctype && y.doctype !== !0 ? y.state = d.DOCTYPE_DTD : y.state = d.TEXT;
7180
7186
  continue;
7181
7187
  case d.CDATA:
7182
- P === "]" ? b.state = d.CDATA_ENDING : b.cdata += P;
7188
+ for (var st = F - 1; P && P !== "]"; )
7189
+ P = Bt(x, F++), P && y.trackPosition && (y.position++, P === `
7190
+ ` ? (y.line++, y.column = 0) : y.column++);
7191
+ y.cdata += x.substring(st, F - 1), P === "]" && (y.state = d.CDATA_ENDING);
7183
7192
  continue;
7184
7193
  case d.CDATA_ENDING:
7185
- P === "]" ? b.state = d.CDATA_ENDING_2 : (b.cdata += "]" + P, b.state = d.CDATA);
7194
+ P === "]" ? y.state = d.CDATA_ENDING_2 : (y.cdata += "]" + P, y.state = d.CDATA);
7186
7195
  continue;
7187
7196
  case d.CDATA_ENDING_2:
7188
- P === ">" ? (b.cdata && R(b, "oncdata", b.cdata), R(b, "onclosecdata"), b.cdata = "", b.state = d.TEXT) : P === "]" ? b.cdata += "]" : (b.cdata += "]]" + P, b.state = d.CDATA);
7197
+ P === ">" ? (y.cdata && R(y, "oncdata", y.cdata), R(y, "onclosecdata"), y.cdata = "", y.state = d.TEXT) : P === "]" ? y.cdata += "]" : (y.cdata += "]]" + P, y.state = d.CDATA);
7189
7198
  continue;
7190
7199
  case d.PROC_INST:
7191
- P === "?" ? b.state = d.PROC_INST_ENDING : v(P) ? b.state = d.PROC_INST_BODY : b.procInstName += P;
7200
+ P === "?" ? y.state = d.PROC_INST_ENDING : v(P) ? y.state = d.PROC_INST_BODY : y.procInstName += P;
7192
7201
  continue;
7193
7202
  case d.PROC_INST_BODY:
7194
- if (!b.procInstBody && v(P))
7203
+ if (!y.procInstBody && v(P))
7195
7204
  continue;
7196
- P === "?" ? b.state = d.PROC_INST_ENDING : b.procInstBody += P;
7205
+ P === "?" ? y.state = d.PROC_INST_ENDING : y.procInstBody += P;
7197
7206
  continue;
7198
7207
  case d.PROC_INST_ENDING:
7199
- P === ">" ? (R(b, "onprocessinginstruction", {
7200
- name: b.procInstName,
7201
- body: b.procInstBody
7202
- }), b.procInstName = b.procInstBody = "", b.state = d.TEXT) : (b.procInstBody += "?" + P, b.state = d.PROC_INST_BODY);
7208
+ P === ">" ? (R(y, "onprocessinginstruction", {
7209
+ name: y.procInstName,
7210
+ body: y.procInstBody
7211
+ }), y.procInstName = y.procInstBody = "", y.state = d.TEXT) : (y.procInstBody += "?" + P, y.state = d.PROC_INST_BODY);
7203
7212
  continue;
7204
7213
  case d.OPEN_TAG:
7205
- W(T, P) ? b.tagName += P : (ft(b), P === ">" ? st(b) : P === "/" ? b.state = d.OPEN_TAG_SLASH : (v(P) || V(b, "Invalid character in tag name"), b.state = d.ATTRIB));
7214
+ W(T, P) ? y.tagName += P : (ft(y), P === ">" ? ot(y) : P === "/" ? y.state = d.OPEN_TAG_SLASH : (v(P) || V(y, "Invalid character in tag name"), y.state = d.ATTRIB));
7206
7215
  continue;
7207
7216
  case d.OPEN_TAG_SLASH:
7208
- P === ">" ? (st(b, !0), ut(b)) : (V(b, "Forward-slash in opening tag not followed by >"), b.state = d.ATTRIB);
7217
+ P === ">" ? (ot(y, !0), ut(y)) : (V(
7218
+ y,
7219
+ "Forward-slash in opening tag not followed by >"
7220
+ ), y.state = d.ATTRIB);
7209
7221
  continue;
7210
7222
  case d.ATTRIB:
7211
7223
  if (v(P))
7212
7224
  continue;
7213
- P === ">" ? st(b) : P === "/" ? b.state = d.OPEN_TAG_SLASH : W(I, P) ? (b.attribName = P, b.attribValue = "", b.state = d.ATTRIB_NAME) : V(b, "Invalid attribute name");
7225
+ P === ">" ? ot(y) : P === "/" ? y.state = d.OPEN_TAG_SLASH : W(I, P) ? (y.attribName = P, y.attribValue = "", y.state = d.ATTRIB_NAME) : V(y, "Invalid attribute name");
7214
7226
  continue;
7215
7227
  case d.ATTRIB_NAME:
7216
- P === "=" ? b.state = d.ATTRIB_VALUE : P === ">" ? (V(b, "Attribute without value"), b.attribValue = b.attribName, at(b), st(b)) : v(P) ? b.state = d.ATTRIB_NAME_SAW_WHITE : W(T, P) ? b.attribName += P : V(b, "Invalid attribute name");
7228
+ P === "=" ? y.state = d.ATTRIB_VALUE : P === ">" ? (V(y, "Attribute without value"), y.attribValue = y.attribName, at(y), ot(y)) : v(P) ? y.state = d.ATTRIB_NAME_SAW_WHITE : W(T, P) ? y.attribName += P : V(y, "Invalid attribute name");
7217
7229
  continue;
7218
7230
  case d.ATTRIB_NAME_SAW_WHITE:
7219
7231
  if (P === "=")
7220
- b.state = d.ATTRIB_VALUE;
7232
+ y.state = d.ATTRIB_VALUE;
7221
7233
  else {
7222
7234
  if (v(P))
7223
7235
  continue;
7224
- V(b, "Attribute without value"), b.tag.attributes[b.attribName] = "", b.attribValue = "", R(b, "onattribute", {
7225
- name: b.attribName,
7236
+ V(y, "Attribute without value"), y.tag.attributes[y.attribName] = "", y.attribValue = "", R(y, "onattribute", {
7237
+ name: y.attribName,
7226
7238
  value: ""
7227
- }), b.attribName = "", P === ">" ? st(b) : W(I, P) ? (b.attribName = P, b.state = d.ATTRIB_NAME) : (V(b, "Invalid attribute name"), b.state = d.ATTRIB);
7239
+ }), y.attribName = "", P === ">" ? ot(y) : W(I, P) ? (y.attribName = P, y.state = d.ATTRIB_NAME) : (V(y, "Invalid attribute name"), y.state = d.ATTRIB);
7228
7240
  }
7229
7241
  continue;
7230
7242
  case d.ATTRIB_VALUE:
7231
7243
  if (v(P))
7232
7244
  continue;
7233
- M(P) ? (b.q = P, b.state = d.ATTRIB_VALUE_QUOTED) : (b.opt.unquotedAttributeValues || z(b, "Unquoted attribute value"), b.state = d.ATTRIB_VALUE_UNQUOTED, b.attribValue = P);
7245
+ M(P) ? (y.q = P, y.state = d.ATTRIB_VALUE_QUOTED) : (y.opt.unquotedAttributeValues || z(y, "Unquoted attribute value"), y.state = d.ATTRIB_VALUE_UNQUOTED, y.attribValue = P);
7234
7246
  continue;
7235
7247
  case d.ATTRIB_VALUE_QUOTED:
7236
- if (P !== b.q) {
7237
- P === "&" ? b.state = d.ATTRIB_VALUE_ENTITY_Q : b.attribValue += P;
7248
+ if (P !== y.q) {
7249
+ P === "&" ? y.state = d.ATTRIB_VALUE_ENTITY_Q : y.attribValue += P;
7238
7250
  continue;
7239
7251
  }
7240
- at(b), b.q = "", b.state = d.ATTRIB_VALUE_CLOSED;
7252
+ at(y), y.q = "", y.state = d.ATTRIB_VALUE_CLOSED;
7241
7253
  continue;
7242
7254
  case d.ATTRIB_VALUE_CLOSED:
7243
- v(P) ? b.state = d.ATTRIB : P === ">" ? st(b) : P === "/" ? b.state = d.OPEN_TAG_SLASH : W(I, P) ? (V(b, "No whitespace between attributes"), b.attribName = P, b.attribValue = "", b.state = d.ATTRIB_NAME) : V(b, "Invalid attribute name");
7255
+ v(P) ? y.state = d.ATTRIB : P === ">" ? ot(y) : P === "/" ? y.state = d.OPEN_TAG_SLASH : W(I, P) ? (V(y, "No whitespace between attributes"), y.attribName = P, y.attribValue = "", y.state = d.ATTRIB_NAME) : V(y, "Invalid attribute name");
7244
7256
  continue;
7245
7257
  case d.ATTRIB_VALUE_UNQUOTED:
7246
7258
  if (!X(P)) {
7247
- P === "&" ? b.state = d.ATTRIB_VALUE_ENTITY_U : b.attribValue += P;
7259
+ P === "&" ? y.state = d.ATTRIB_VALUE_ENTITY_U : y.attribValue += P;
7248
7260
  continue;
7249
7261
  }
7250
- at(b), P === ">" ? st(b) : b.state = d.ATTRIB;
7262
+ at(y), P === ">" ? ot(y) : y.state = d.ATTRIB;
7251
7263
  continue;
7252
7264
  case d.CLOSE_TAG:
7253
- if (b.tagName)
7254
- P === ">" ? ut(b) : W(T, P) ? b.tagName += P : b.script ? (b.script += "</" + b.tagName, b.tagName = "", b.state = d.SCRIPT) : (v(P) || V(b, "Invalid tagname in closing tag"), b.state = d.CLOSE_TAG_SAW_WHITE);
7265
+ if (y.tagName)
7266
+ P === ">" ? ut(y) : W(T, P) ? y.tagName += P : y.script ? (y.script += "</" + y.tagName, y.tagName = "", y.state = d.SCRIPT) : (v(P) || V(y, "Invalid tagname in closing tag"), y.state = d.CLOSE_TAG_SAW_WHITE);
7255
7267
  else {
7256
7268
  if (v(P))
7257
7269
  continue;
7258
- U(I, P) ? b.script ? (b.script += "</" + P, b.state = d.SCRIPT) : V(b, "Invalid tagname in closing tag.") : b.tagName = P;
7270
+ U(I, P) ? y.script ? (y.script += "</" + P, y.state = d.SCRIPT) : V(y, "Invalid tagname in closing tag.") : y.tagName = P;
7259
7271
  }
7260
7272
  continue;
7261
7273
  case d.CLOSE_TAG_SAW_WHITE:
7262
7274
  if (v(P))
7263
7275
  continue;
7264
- P === ">" ? ut(b) : V(b, "Invalid characters in closing tag");
7276
+ P === ">" ? ut(y) : V(y, "Invalid characters in closing tag");
7265
7277
  continue;
7266
7278
  case d.TEXT_ENTITY:
7267
7279
  case d.ATTRIB_VALUE_ENTITY_Q:
7268
7280
  case d.ATTRIB_VALUE_ENTITY_U:
7269
7281
  var rt, ht;
7270
- switch (b.state) {
7282
+ switch (y.state) {
7271
7283
  case d.TEXT_ENTITY:
7272
7284
  rt = d.TEXT, ht = "textNode";
7273
7285
  break;
@@ -7279,19 +7291,19 @@ Actual: ` + x.attribValue
7279
7291
  break;
7280
7292
  }
7281
7293
  if (P === ";") {
7282
- var A = vt(b);
7283
- b.opt.unparsedEntities && !Object.values(t.XML_ENTITIES).includes(A) ? (b.entity = "", b.state = rt, b.write(A)) : (b[ht] += A, b.entity = "", b.state = rt);
7284
- } else W(b.entity.length ? g : C, P) ? b.entity += P : (V(b, "Invalid character in entity name"), b[ht] += "&" + b.entity + P, b.entity = "", b.state = rt);
7294
+ var A = vt(y);
7295
+ y.opt.unparsedEntities && !Object.values(t.XML_ENTITIES).includes(A) ? (y.entity = "", y.state = rt, y.write(A)) : (y[ht] += A, y.entity = "", y.state = rt);
7296
+ } else W(y.entity.length ? g : C, P) ? y.entity += P : (V(y, "Invalid character in entity name"), y[ht] += "&" + y.entity + P, y.entity = "", y.state = rt);
7285
7297
  continue;
7286
7298
  default:
7287
- throw new Error(b, "Unknown state: " + b.state);
7299
+ throw new Error(y, "Unknown state: " + y.state);
7288
7300
  }
7289
- return b.position >= b.bufferCheckPosition && s(b), b;
7301
+ return y.position >= y.bufferCheckPosition && s(y), y;
7290
7302
  }
7291
7303
  /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
7292
7304
  String.fromCodePoint || function() {
7293
- var x = String.fromCharCode, b = Math.floor, j = function() {
7294
- var P = 16384, J = [], ot, rt, ht = -1, A = arguments.length;
7305
+ var x = String.fromCharCode, y = Math.floor, F = function() {
7306
+ var P = 16384, J = [], st, rt, ht = -1, A = arguments.length;
7295
7307
  if (!A)
7296
7308
  return "";
7297
7309
  for (var f = ""; ++ht < A; ) {
@@ -7299,17 +7311,17 @@ Actual: ` + x.attribValue
7299
7311
  if (!isFinite(u) || // `NaN`, `+Infinity`, or `-Infinity`
7300
7312
  u < 0 || // not a valid Unicode code point
7301
7313
  u > 1114111 || // not a valid Unicode code point
7302
- b(u) !== u)
7314
+ y(u) !== u)
7303
7315
  throw RangeError("Invalid code point: " + u);
7304
- u <= 65535 ? J.push(u) : (u -= 65536, ot = (u >> 10) + 55296, rt = u % 1024 + 56320, J.push(ot, rt)), (ht + 1 === A || J.length > P) && (f += x.apply(null, J), J.length = 0);
7316
+ u <= 65535 ? J.push(u) : (u -= 65536, st = (u >> 10) + 55296, rt = u % 1024 + 56320, J.push(st, rt)), (ht + 1 === A || J.length > P) && (f += x.apply(null, J), J.length = 0);
7305
7317
  }
7306
7318
  return f;
7307
7319
  };
7308
7320
  Object.defineProperty ? Object.defineProperty(String, "fromCodePoint", {
7309
- value: j,
7321
+ value: F,
7310
7322
  configurable: !0,
7311
7323
  writable: !0
7312
- }) : String.fromCodePoint = j;
7324
+ }) : String.fromCodePoint = F;
7313
7325
  }();
7314
7326
  })(a);
7315
7327
  }(Un)), Un;
@@ -7349,12 +7361,12 @@ function aa() {
7349
7361
  };
7350
7362
  }, p = function(w, D) {
7351
7363
  for (var _ in D)
7352
- y.call(D, _) && (w[_] = D[_]);
7364
+ b.call(D, _) && (w[_] = D[_]);
7353
7365
  function I() {
7354
7366
  this.constructor = w;
7355
7367
  }
7356
7368
  return I.prototype = D.prototype, w.prototype = new I(), w.__super__ = D.prototype, w;
7357
- }, y = {}.hasOwnProperty;
7369
+ }, b = {}.hasOwnProperty;
7358
7370
  l = sa(), s = Kn, t = oa(), o = hs(), E = _s.setImmediate, e = Jn().defaults, i = function(w) {
7359
7371
  return typeof w == "object" && w != null && Object.keys(w).length === 0;
7360
7372
  }, r = function(w, D, _) {
@@ -7374,9 +7386,9 @@ function aa() {
7374
7386
  return new a.Parser(_);
7375
7387
  this.options = {}, T = e["0.2"];
7376
7388
  for (I in T)
7377
- y.call(T, I) && (C = T[I], this.options[I] = C);
7389
+ b.call(T, I) && (C = T[I], this.options[I] = C);
7378
7390
  for (I in _)
7379
- y.call(_, I) && (C = _[I], this.options[I] = C);
7391
+ b.call(_, I) && (C = _[I], this.options[I] = C);
7380
7392
  this.options.xmlns && (this.options.xmlnskey = this.options.attrkey + "ns"), this.options.normalizeTags && (this.options.tagNameProcessors || (this.options.tagNameProcessors = []), this.options.tagNameProcessors.unshift(o.normalize)), this.reset();
7381
7393
  }
7382
7394
  return D.prototype.processAsync = function() {
@@ -7411,7 +7423,7 @@ function aa() {
7411
7423
  if (W = {}, W[I] = "", !g.options.ignoreAttrs) {
7412
7424
  d = v.attributes;
7413
7425
  for (M in d)
7414
- y.call(d, M) && (!(_ in W) && !g.options.mergeAttrs && (W[_] = {}), X = g.options.attrValueProcessors ? r(g.options.attrValueProcessors, v.attributes[M], M) : v.attributes[M], U = g.options.attrNameProcessors ? r(g.options.attrNameProcessors, M) : M, g.options.mergeAttrs ? g.assignOrPush(W, U, X) : n(W[_], U, X));
7426
+ b.call(d, M) && (!(_ in W) && !g.options.mergeAttrs && (W[_] = {}), X = g.options.attrValueProcessors ? r(g.options.attrValueProcessors, v.attributes[M], M) : v.attributes[M], U = g.options.attrNameProcessors ? r(g.options.attrNameProcessors, M) : M, g.options.mergeAttrs ? g.assignOrPush(W, U, X) : n(W[_], U, X));
7415
7427
  }
7416
7428
  return W["#name"] = g.options.tagNameProcessors ? r(g.options.tagNameProcessors, v.name) : v.name, g.options.xmlns && (W[g.options.xmlnskey] = {
7417
7429
  uri: v.uri,
@@ -7439,7 +7451,7 @@ function aa() {
7439
7451
  else if (R) {
7440
7452
  R[g.options.childkey] = R[g.options.childkey] || [], B = {};
7441
7453
  for (X in d)
7442
- y.call(d, X) && n(B, X, d[X]);
7454
+ b.call(d, X) && n(B, X, d[X]);
7443
7455
  R[g.options.childkey].push(B), delete d["#name"], Object.keys(d).length === 1 && I in d && !g.EXPLICIT_CHARKEY && (d = d[I]);
7444
7456
  }
7445
7457
  }
@@ -7602,7 +7614,7 @@ class ua {
7602
7614
  const n = this.uriFromBridgeToCDPSyntaxHighlight(t), s = this.uriFromBridgeToCDP(t);
7603
7615
  try {
7604
7616
  const i = await this.readPHPFile(t), r = i.split(`
7605
- `), o = r.map((p, y) => y === 0 ? "AAAA" : "AACA").join(";"), l = {
7617
+ `), o = r.map((p, b) => b === 0 ? "AAAA" : "AACA").join(";"), l = {
7606
7618
  version: 3,
7607
7619
  // File uri has to match the script parsed url
7608
7620
  // While the sources url has to match the syntax
@@ -7672,7 +7684,7 @@ class ua {
7672
7684
  r = !1;
7673
7685
  break;
7674
7686
  }
7675
- const E = this.uriFromCDPToBridge(o), m = this.uriFromBridgeToDBGP(E), p = (typeof l == "number" ? l : 0) + 1, y = String(this.breakpoints.size + 1);
7687
+ const E = this.uriFromCDPToBridge(o), m = this.uriFromBridgeToDBGP(E), p = (typeof l == "number" ? l : 0) + 1, b = String(this.breakpoints.size + 1);
7676
7688
  if (this.xdebugConnected) {
7677
7689
  const w = `breakpoint_set -t line -f ${this.formatPropertyFullName(
7678
7690
  m
@@ -7681,19 +7693,19 @@ class ua {
7681
7693
  cdpId: e,
7682
7694
  cdpMethod: n,
7683
7695
  params: {
7684
- breakpointId: y,
7696
+ breakpointId: b,
7685
7697
  fileUri: E,
7686
7698
  lineNumber: p
7687
7699
  }
7688
7700
  }), r = !1;
7689
7701
  } else
7690
- this.breakpoints.set(y, {
7691
- cdpId: y,
7702
+ this.breakpoints.set(b, {
7703
+ cdpId: b,
7692
7704
  xdebugId: null,
7693
7705
  fileUri: E,
7694
7706
  lineNumber: p
7695
7707
  }), i = {
7696
- breakpointId: y,
7708
+ breakpointId: b,
7697
7709
  locations: [
7698
7710
  {
7699
7711
  scriptId: this.getOrCreateScriptId(E),
@@ -7780,18 +7792,18 @@ class ua {
7780
7792
  const { objectId: o } = s, l = this.objectHandles.get(o);
7781
7793
  if (l && this.xdebugConnected)
7782
7794
  if (l.type === "context") {
7783
- const E = l.contextId ?? 0, p = `context_get -d ${l.depth} -c ${E} -p 0 -m 32`, y = this.sendDbgpCommand(p), w = {
7795
+ const E = l.contextId ?? 0, p = `context_get -d ${l.depth} -c ${E} -p 0 -m 32`, b = this.sendDbgpCommand(p), w = {
7784
7796
  ...l,
7785
7797
  currentPage: 0,
7786
7798
  aggregatedProps: []
7787
7799
  };
7788
- this.objectHandles.set(o, w), this.pendingCommands.set(y, {
7800
+ this.objectHandles.set(o, w), this.pendingCommands.set(b, {
7789
7801
  cdpId: e,
7790
7802
  cdpMethod: n,
7791
7803
  params: { objectId: o }
7792
7804
  }), r = !1;
7793
7805
  } else if (l.type === "property") {
7794
- const E = l.depth, m = l.fullname, p = this.formatPropertyFullName(m), y = `property_get -d ${E} -n ${p} -p 0 -m 32`, w = this.sendDbgpCommand(y), D = {
7806
+ const E = l.depth, m = l.fullname, p = this.formatPropertyFullName(m), b = `property_get -d ${E} -n ${p} -p 0 -m 32`, w = this.sendDbgpCommand(b), D = {
7795
7807
  ...l,
7796
7808
  currentPage: 0,
7797
7809
  aggregatedProps: []
@@ -7897,11 +7909,11 @@ class ua {
7897
7909
  fileUri: m,
7898
7910
  lineNumber: p
7899
7911
  });
7900
- const y = this.getOrCreateScriptId(m), w = {
7912
+ const b = this.getOrCreateScriptId(m), w = {
7901
7913
  breakpointId: E,
7902
7914
  locations: [
7903
7915
  {
7904
- scriptId: y,
7916
+ scriptId: b,
7905
7917
  lineNumber: p - 1,
7906
7918
  columnNumber: 0
7907
7919
  }
@@ -7947,23 +7959,23 @@ class ua {
7947
7959
  let o;
7948
7960
  if (e.property) {
7949
7961
  const E = e.property, m = E.$.type, p = E.$.encoding;
7950
- let y = null;
7962
+ let b = null;
7951
7963
  if (Object.prototype.hasOwnProperty.call(
7952
7964
  E,
7953
7965
  "_"
7954
- ) ? y = E._ : typeof E.$value < "u" && (y = E.$value), p === "base64" && y !== null)
7966
+ ) ? b = E._ : typeof E.$value < "u" && (b = E.$value), p === "base64" && b !== null)
7955
7967
  try {
7956
- y = Buffer.from(y, "base64").toString();
7968
+ b = Buffer.from(b, "base64").toString();
7957
7969
  } catch {
7958
7970
  }
7959
7971
  if (m === "string")
7960
7972
  o = {
7961
7973
  type: "string",
7962
- value: y ?? ""
7974
+ value: b ?? ""
7963
7975
  };
7964
7976
  else if (m === "int" || m === "float" || m === "bool" || m === "boolen" || m === "integer" || m === "double") {
7965
- let w = y;
7966
- m.startsWith("int") || m === "integer" ? w = parseInt(y || "0", 10) : m === "float" || m === "double" ? w = parseFloat(y || "0") : m.startsWith("bool") && (w = y === "1" || y === "true"), o = { type: "number", value: w };
7977
+ let w = b;
7978
+ m.startsWith("int") || m === "integer" ? w = parseInt(b || "0", 10) : m === "float" || m === "double" ? w = parseFloat(b || "0") : m.startsWith("bool") && (w = b === "1" || b === "true"), o = { type: "number", value: w };
7967
7979
  } else if (m === "array" || m === "object") {
7968
7980
  const w = E.$.classname || (m === "array" ? "Array" : "Object"), D = String(this.nextObjectId++), _ = E.$.fullname || "";
7969
7981
  this.objectHandles.set(D, {
@@ -8001,12 +8013,12 @@ class ua {
8001
8013
  const o = r.params?.objectId || r.params?.parentObjectId, l = o ? this.objectHandles.get(o) : null, E = e.property?.property ?? e.property, m = [];
8002
8014
  if (E) {
8003
8015
  const p = Array.isArray(E) ? E : [E];
8004
- for (const y of p) {
8005
- const w = y.$.name || y.$.fullname || "";
8006
- let D = y.$.type || "undefined";
8007
- const _ = y.$.children === "1", I = y.$.encoding;
8016
+ for (const b of p) {
8017
+ const w = b.$.name || b.$.fullname || "";
8018
+ let D = b.$.type || "undefined";
8019
+ const _ = b.$.children === "1", I = b.$.encoding;
8008
8020
  let T = null;
8009
- if (typeof y._ < "u" && (T = y._), I === "base64" && T !== null)
8021
+ if (typeof b._ < "u" && (T = b._), I === "base64" && T !== null)
8010
8022
  try {
8011
8023
  T = Buffer.from(
8012
8024
  T,
@@ -8015,7 +8027,7 @@ class ua {
8015
8027
  } catch {
8016
8028
  }
8017
8029
  if (_) {
8018
- const C = y.$.classname || (D === "array" ? "Array" : "Object"), g = String(
8030
+ const C = b.$.classname || (D === "array" ? "Array" : "Object"), g = String(
8019
8031
  this.nextObjectId++
8020
8032
  ), v = r.cdpMethod === "Runtime.getProperties" && r.params?.parentObjectId && this.objectHandles.get(
8021
8033
  r.params.parentObjectId
@@ -8026,9 +8038,9 @@ class ua {
8026
8038
  type: "property",
8027
8039
  depth: M,
8028
8040
  contextId: v,
8029
- fullname: y.$.fullname || w
8041
+ fullname: b.$.fullname || w
8030
8042
  }), m.push({
8031
- name: y.$.key || w,
8043
+ name: b.$.key || w,
8032
8044
  value: {
8033
8045
  type: "object",
8034
8046
  className: C,
@@ -8046,7 +8058,7 @@ class ua {
8046
8058
  type: D === "integer" ? "number" : D
8047
8059
  };
8048
8060
  g && (v.subtype = g), v.value = C, m.push({
8049
- name: y.$.key || w,
8061
+ name: b.$.key || w,
8050
8062
  value: v,
8051
8063
  writable: !1,
8052
8064
  configurable: !1,
@@ -8056,8 +8068,8 @@ class ua {
8056
8068
  }
8057
8069
  }
8058
8070
  if (l) {
8059
- const p = (l.aggregatedProps || []).concat(m), y = 32;
8060
- if (m.length === y) {
8071
+ const p = (l.aggregatedProps || []).concat(m), b = 32;
8072
+ if (m.length === b) {
8061
8073
  const D = (l.currentPage || 0) + 1, _ = {
8062
8074
  ...l,
8063
8075
  currentPage: D,
@@ -8070,10 +8082,10 @@ class ua {
8070
8082
  let I;
8071
8083
  if (s === "context_get") {
8072
8084
  const C = l.contextId ?? 0;
8073
- I = `context_get -d ${l.depth} -c ${C} -p ${D} -m ${y}`;
8085
+ I = `context_get -d ${l.depth} -c ${C} -p ${D} -m ${b}`;
8074
8086
  } else {
8075
8087
  const C = l.depth, g = l.fullname, v = this.formatPropertyFullName(g);
8076
- I = `property_get -d ${C} -n ${v} -p ${D} -m ${y}`;
8088
+ I = `property_get -d ${C} -n ${v} -p ${D} -m ${b}`;
8077
8089
  }
8078
8090
  const T = this.sendDbgpCommand(I);
8079
8091
  this.pendingCommands.set(T, {
@@ -8103,11 +8115,11 @@ class ua {
8103
8115
  for (const m of o) {
8104
8116
  const p = this.uriFromDBGPToBridge(
8105
8117
  m.$.filename
8106
- ), y = this.getOrCreateScriptId(p);
8107
- this.scriptIdByUrl.has(p) || (this.scriptIdByUrl.set(p, y), await this.sendScriptToCDP(p, y));
8118
+ ), b = this.getOrCreateScriptId(p);
8119
+ this.scriptIdByUrl.has(p) || (this.scriptIdByUrl.set(p, b), await this.sendScriptToCDP(p, b));
8108
8120
  }
8109
8121
  for (const m of o) {
8110
- const p = parseInt(m.$.level, 10), y = this.uriFromDBGPToBridge(
8122
+ const p = parseInt(m.$.level, 10), b = this.uriFromDBGPToBridge(
8111
8123
  m.$.filename
8112
8124
  ), w = parseInt(m.$.lineno, 10), D = m.$.where && m.$.where !== "{main}" ? m.$.where : "(anonymous)", _ = `frame:${p}`;
8113
8125
  this.callFramesMap.set(_, p);
@@ -8140,7 +8152,7 @@ class ua {
8140
8152
  callFrameId: _,
8141
8153
  functionName: D,
8142
8154
  location: {
8143
- scriptId: this.getOrCreateScriptId(y),
8155
+ scriptId: this.getOrCreateScriptId(b),
8144
8156
  lineNumber: w - 1,
8145
8157
  columnNumber: 0
8146
8158
  },
@@ -8159,12 +8171,12 @@ class ua {
8159
8171
  if (m.$.filename && m.$.lineno) {
8160
8172
  const p = this.uriFromDBGPToBridge(
8161
8173
  m.$.filename
8162
- ), y = parseInt(
8174
+ ), b = parseInt(
8163
8175
  m.$.lineno,
8164
8176
  10
8165
8177
  );
8166
8178
  for (const w of this.breakpoints.values())
8167
- if (w.fileUri === p && w.lineNumber === y) {
8179
+ if (w.fileUri === p && w.lineNumber === b) {
8168
8180
  E = "breakpoint";
8169
8181
  break;
8170
8182
  }
@@ -8216,15 +8228,15 @@ async function ca(a) {
8216
8228
  const o = new Ws(e);
8217
8229
  Pt.log(`XDebug receiver running on port ${e}`), Pt.log("Running a PHP script with Xdebug enabled...");
8218
8230
  async function l(p) {
8219
- const y = [], w = a.phpInstance ? await a.phpInstance.listFiles(p) : $i(p);
8231
+ const b = [], w = a.phpInstance ? await a.phpInstance.listFiles(p) : $i(p);
8220
8232
  for (const D of w) {
8221
8233
  const _ = Ui.join(p, D);
8222
8234
  try {
8223
- (a.phpInstance ? await a.phpInstance.isDir(_) : Os(_).isDirectory()) ? y.push(...await l(_)) : D.endsWith(".php") && y.push(_);
8235
+ (a.phpInstance ? await a.phpInstance.isDir(_) : Os(_).isDirectory()) ? b.push(...await l(_)) : D.endsWith(".php") && b.push(_);
8224
8236
  } catch {
8225
8237
  }
8226
8238
  }
8227
- return y;
8239
+ return b;
8228
8240
  }
8229
8241
  const E = a.phpInstance ? (p) => a.phpInstance.readFileAsText(p) : a.getPHPFile ? a.getPHPFile : (p) => Xe(p, "utf-8"), m = await l(s);
8230
8242
  return new ua(o, r, {
@@ -8273,7 +8285,7 @@ Examples:
8273
8285
  xdebug-bridge --port 9000 --verbosity debug # Custom port with debug logs
8274
8286
  xdebug-bridge --php-root /path/to/php/files # Specify PHP root directory
8275
8287
  `
8276
- ).wrap(null).parseSync();
8288
+ ).wrap(null).strict().parseSync();
8277
8289
  }
8278
8290
  async function Ea() {
8279
8291
  const a = la();