@ariestools/toolchain 8.7.19 → 8.7.21

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.
Files changed (45) hide show
  1. package/dist/actions/analyze.d.ts +28 -1
  2. package/dist/actions/analyze.d.ts.map +1 -1
  3. package/dist/actions/work/github.d.ts +60 -0
  4. package/dist/actions/work/github.d.ts.map +1 -0
  5. package/dist/actions/work/index.d.ts +21 -19
  6. package/dist/actions/work/index.d.ts.map +1 -1
  7. package/dist/actions/work/render.d.ts +5 -0
  8. package/dist/actions/work/render.d.ts.map +1 -0
  9. package/dist/actions/work/result.d.ts +12 -0
  10. package/dist/actions/work/result.d.ts.map +1 -0
  11. package/dist/actions/work/schema.d.ts.map +1 -1
  12. package/dist/actions/work/sync.d.ts +34 -0
  13. package/dist/actions/work/sync.d.ts.map +1 -0
  14. package/dist/bin/package/build.mjs +1256 -699
  15. package/dist/bin/package/build.mjs.map +1 -1
  16. package/dist/bin/package/clean.mjs +633 -432
  17. package/dist/bin/package/clean.mjs.map +1 -1
  18. package/dist/bin/package/compile.mjs +632 -431
  19. package/dist/bin/package/compile.mjs.map +1 -1
  20. package/dist/bin/package/copy-assets-cjs.mjs +1 -1
  21. package/dist/bin/package/copy-assets-esm.mjs +1 -1
  22. package/dist/bin/package/fix.mjs +17 -12
  23. package/dist/bin/package/fix.mjs.map +1 -1
  24. package/dist/bin/package/lint-verbose.mjs +17 -12
  25. package/dist/bin/package/lint-verbose.mjs.map +1 -1
  26. package/dist/bin/package/lint.mjs +17 -12
  27. package/dist/bin/package/lint.mjs.map +1 -1
  28. package/dist/bin/package/publint.mjs +1161 -609
  29. package/dist/bin/package/publint.mjs.map +1 -1
  30. package/dist/bin/package/recompile.mjs +632 -431
  31. package/dist/bin/package/recompile.mjs.map +1 -1
  32. package/dist/bin/package/relint.mjs +17 -12
  33. package/dist/bin/package/relint.mjs.map +1 -1
  34. package/dist/bin/package/sync-layout.mjs +615 -419
  35. package/dist/bin/package/sync-layout.mjs.map +1 -1
  36. package/dist/bin/xy.mjs +2067 -737
  37. package/dist/bin/xy.mjs.map +1 -1
  38. package/dist/xy/common/work/index.d.ts.map +1 -1
  39. package/dist/xy/common/work/listCommand.d.ts.map +1 -1
  40. package/dist/xy/common/work/syncCommand.d.ts +3 -0
  41. package/dist/xy/common/work/syncCommand.d.ts.map +1 -0
  42. package/dist/xy/react/analyzeCommand.d.ts.map +1 -1
  43. package/package.json +5 -5
  44. package/dist/bin/source-map-explorer.mjs +0 -27268
  45. package/dist/bin/source-map-explorer.mjs.map +0 -1
@@ -4,21 +4,23 @@ import process$1, { cwd } from "node:process";
4
4
  import os from "node:os";
5
5
  import tty from "node:tty";
6
6
  import * as xi from "node:fs";
7
- import fs, { existsSync, promises, readFileSync } from "node:fs";
8
- import PATH, { posix, win32 } from "node:path";
7
+ import fs, { closeSync, existsSync, openSync, promises, readFileSync, readSync, statSync } from "node:fs";
8
+ import PATH, { basename, delimiter, dirname, normalize, posix, resolve, win32 } from "node:path";
9
9
  import { fileURLToPath } from "node:url";
10
10
  import $e, { lstatSync, readdir, readdirSync, readlinkSync, realpathSync } from "fs";
11
11
  import fs$1, { lstat, readdir as readdir$1, readlink, realpath } from "node:fs/promises";
12
12
  import { EventEmitter } from "node:events";
13
- import Pe from "node:stream";
13
+ import Pe, { PassThrough } from "node:stream";
14
14
  import { StringDecoder } from "node:string_decoder";
15
15
  import Re from "path";
16
- import cp from "node:child_process";
16
+ import { spawn } from "node:child_process";
17
+ import u from "node:readline";
17
18
  import ts, { formatDiagnosticsWithColorAndContext, sys } from "typescript";
18
19
  import Ue from "os";
19
20
  import { TypeScriptLoader } from "cosmiconfig-typescript-loader";
20
21
  import util from "node:util";
21
22
  import { build } from "esbuild";
23
+ import { pipeline } from "node:stream/promises";
22
24
  import zlib from "node:zlib";
23
25
  //#region \0rolldown/runtime.js
24
26
  var __create = Object.create;
@@ -543,24 +545,24 @@ function ht(n, t, e) {
543
545
  return s;
544
546
  }
545
547
  function Bt(n, t = {}) {
546
- return new I$1(n, t).streamSync();
548
+ return new I$2(n, t).streamSync();
547
549
  }
548
550
  function Qe$1(n, t = {}) {
549
- return new I$1(n, t).stream();
551
+ return new I$2(n, t).stream();
550
552
  }
551
553
  function ts$1(n, t = {}) {
552
- return new I$1(n, t).walkSync();
554
+ return new I$2(n, t).walkSync();
553
555
  }
554
556
  async function Je$1(n, t = {}) {
555
- return new I$1(n, t).walk();
557
+ return new I$2(n, t).walk();
556
558
  }
557
559
  function Ut(n, t = {}) {
558
- return new I$1(n, t).iterateSync();
560
+ return new I$2(n, t).iterateSync();
559
561
  }
560
562
  function es(n, t = {}) {
561
- return new I$1(n, t).iterate();
563
+ return new I$2(n, t).iterate();
562
564
  }
563
- var Gt, ce, ss, fe$1, ue$1, qt, de$1, pe$1, is, rs, ns, os$2, hs, as, ls, cs, fs$6, us, ds, at, Ss, lt, Es, we$1, ye$1, W, xs, be$1, vs, Ct, Cs, Ts, As, ks, Kt, Se$1, Ee$1, Q$1, tt, O$2, Rs, Os, Fs, Ds, Ms, Ns, _s, Ls, Ws, Ps, js, Is, zs, Bs, Us, $s, Gs, Hs, Ce$1, Te$1, Ae$1, xe$1, A$1, Vs, Ys, Xs, Js, N$1, Zs, ke$1, Qs, ti, ve$1, ei, D, si, Oe, Vt, Fe$1, At, Re$1, ii, q$1, De$1, Tt, ri, ft, Ne$1, oi, hi, ai, G, H$1, K$1, kt, ut, Rt, _e$1, Ot, Le$1, P, et, v$1, dt, st, C$1, F, T, Yt, Ft, k, x$1, Xt, Jt, We$1, Zt, B, Qt, Dt, pt, Y$1, M, mt, li, ci, fi, ui, Mt, te$1, di, pi, V, wt, Ue$1, $e$1, Ri, Oi, L, Ge$1, He$1, U, qe$1, Ke$1, X$1, Ve$1, _$1, gt, se$1, je$1, yt, j, Nt, Lt, Ie, Fi, ie$1, ze$1, bt, Be$1, _t, Wt, ne$1, Ye$1, R$2, Pt, jt, It, it, rt, St, Xe$1, Di, Mi, Ni, nt, _i, ot, oe$1, he$1, ae$1, Et, Li, zt, xt, vt, Pi, I$1, le$1, ji, Ii, zi, Bi, Ui, Ze$1;
565
+ var Gt, ce, ss, fe$1, ue$1, qt, de$1, pe$1, is, rs, ns, os$2, hs, as, ls, cs, fs$6, us, ds, at, Ss, lt, Es, we$1, ye$1, W, xs, be$1, vs, Ct, Cs, Ts, As, ks, Kt, Se$1, Ee$1, Q$1, tt, O$3, Rs, Os, Fs, Ds, Ms, Ns, _s, Ls, Ws, Ps, js, Is, zs, Bs, Us, $s, Gs, Hs, Ce$1, Te$1, Ae$1, xe$1, A$1, Vs, Ys, Xs, Js, N$2, Zs, ke$1, Qs, ti, ve$1, ei, D$1, si, Oe, Vt, Fe$1, At, Re$1, ii, q$1, De$1, Tt, ri, ft, Ne$1, oi, hi, ai, G, H$1, K$1, kt, ut, Rt, _e$1, Ot, Le$1, P$1, et, v$2, dt, st, C$2, F$1, T$1, Yt, Ft, k$1, x$2, Xt, Jt, We$1, Zt, B, Qt, Dt, pt, Y$1, M, mt, li, ci, fi, ui, Mt, te$1, di, pi, V, wt, Ue$1, $e$1, Ri, Oi, L, Ge$1, He$1, U, qe$1, Ke$1, X$1, Ve$1, _$2, gt, se$1, je$1, yt, j$1, Nt, Lt, Ie, Fi, ie$1, ze$1, bt, Be$1, _t, Wt, ne$1, Ye$1, R$3, Pt, jt, It, it, rt, St, Xe$1, Di, Mi, Ni, nt, _i, ot, oe$1, he$1, ae$1, Et, Li, zt, xt, vt, Pi, I$2, le$1, ji, Ii, zi, Bi, Ui, Ze$1;
564
566
  var init_index_min = __esmMin((() => {
565
567
  Gt = (n, t, e) => {
566
568
  let s = n instanceof RegExp ? ce(n, e) : n, i = t instanceof RegExp ? ce(t, e) : t, r = s !== null && i != null && ss(s, i, e);
@@ -964,7 +966,7 @@ var init_index_min = __esmMin((() => {
964
966
  }
965
967
  };
966
968
  tt = (n, { windowsPathsNoEscape: t = !1, magicalBraces: e = !1 } = {}) => e ? t ? n.replace(/[?*()[\]{}]/g, "[$&]") : n.replace(/[?*()[\]\\{}]/g, "\\$&") : t ? n.replace(/[?*()[\]]/g, "[$&]") : n.replace(/[?*()[\]\\]/g, "\\$&");
967
- O$2 = (n, t, e = {}) => (at(t), !e.nocomment && t.charAt(0) === "#" ? !1 : new D(t, e).match(n));
969
+ O$3 = (n, t, e = {}) => (at(t), !e.nocomment && t.charAt(0) === "#" ? !1 : new D$1(t, e).match(n));
968
970
  Rs = /^\*+([^+@!?\*\[\(]*)$/;
969
971
  Os = (n) => (t) => !t.startsWith(".") && t.endsWith(n);
970
972
  Fs = (n) => (t) => t.endsWith(n);
@@ -1008,59 +1010,59 @@ var init_index_min = __esmMin((() => {
1008
1010
  win32: { sep: "\\" },
1009
1011
  posix: { sep: "/" }
1010
1012
  };
1011
- O$2.sep = Ae$1 === "win32" ? xe$1.win32.sep : xe$1.posix.sep;
1013
+ O$3.sep = Ae$1 === "win32" ? xe$1.win32.sep : xe$1.posix.sep;
1012
1014
  A$1 = Symbol("globstar **");
1013
- O$2.GLOBSTAR = A$1;
1015
+ O$3.GLOBSTAR = A$1;
1014
1016
  Vs = "[^/]*?";
1015
1017
  Ys = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
1016
1018
  Xs = "(?:(?!(?:\\/|^)\\.).)*?";
1017
- Js = (n, t = {}) => (e) => O$2(e, n, t);
1018
- O$2.filter = Js;
1019
- N$1 = (n, t = {}) => Object.assign({}, n, t);
1019
+ Js = (n, t = {}) => (e) => O$3(e, n, t);
1020
+ O$3.filter = Js;
1021
+ N$2 = (n, t = {}) => Object.assign({}, n, t);
1020
1022
  Zs = (n) => {
1021
- if (!n || typeof n != "object" || !Object.keys(n).length) return O$2;
1022
- let t = O$2;
1023
- return Object.assign((s, i, r = {}) => t(s, i, N$1(n, r)), {
1023
+ if (!n || typeof n != "object" || !Object.keys(n).length) return O$3;
1024
+ let t = O$3;
1025
+ return Object.assign((s, i, r = {}) => t(s, i, N$2(n, r)), {
1024
1026
  Minimatch: class extends t.Minimatch {
1025
1027
  constructor(i, r = {}) {
1026
- super(i, N$1(n, r));
1028
+ super(i, N$2(n, r));
1027
1029
  }
1028
1030
  static defaults(i) {
1029
- return t.defaults(N$1(n, i)).Minimatch;
1031
+ return t.defaults(N$2(n, i)).Minimatch;
1030
1032
  }
1031
1033
  },
1032
1034
  AST: class extends t.AST {
1033
1035
  constructor(i, r, o = {}) {
1034
- super(i, r, N$1(n, o));
1036
+ super(i, r, N$2(n, o));
1035
1037
  }
1036
1038
  static fromGlob(i, r = {}) {
1037
- return t.AST.fromGlob(i, N$1(n, r));
1039
+ return t.AST.fromGlob(i, N$2(n, r));
1038
1040
  }
1039
1041
  },
1040
- unescape: (s, i = {}) => t.unescape(s, N$1(n, i)),
1041
- escape: (s, i = {}) => t.escape(s, N$1(n, i)),
1042
- filter: (s, i = {}) => t.filter(s, N$1(n, i)),
1043
- defaults: (s) => t.defaults(N$1(n, s)),
1044
- makeRe: (s, i = {}) => t.makeRe(s, N$1(n, i)),
1045
- braceExpand: (s, i = {}) => t.braceExpand(s, N$1(n, i)),
1046
- match: (s, i, r = {}) => t.match(s, i, N$1(n, r)),
1042
+ unescape: (s, i = {}) => t.unescape(s, N$2(n, i)),
1043
+ escape: (s, i = {}) => t.escape(s, N$2(n, i)),
1044
+ filter: (s, i = {}) => t.filter(s, N$2(n, i)),
1045
+ defaults: (s) => t.defaults(N$2(n, s)),
1046
+ makeRe: (s, i = {}) => t.makeRe(s, N$2(n, i)),
1047
+ braceExpand: (s, i = {}) => t.braceExpand(s, N$2(n, i)),
1048
+ match: (s, i, r = {}) => t.match(s, i, N$2(n, r)),
1047
1049
  sep: t.sep,
1048
1050
  GLOBSTAR: A$1
1049
1051
  });
1050
1052
  };
1051
- O$2.defaults = Zs;
1053
+ O$3.defaults = Zs;
1052
1054
  ke$1 = (n, t = {}) => (at(n), t.nobrace || !/\{(?:(?!\{).)*\}/.test(n) ? [n] : ge$1(n, { max: t.braceExpandMax }));
1053
- O$2.braceExpand = ke$1;
1054
- Qs = (n, t = {}) => new D(n, t).makeRe();
1055
- O$2.makeRe = Qs;
1055
+ O$3.braceExpand = ke$1;
1056
+ Qs = (n, t = {}) => new D$1(n, t).makeRe();
1057
+ O$3.makeRe = Qs;
1056
1058
  ti = (n, t, e = {}) => {
1057
- let s = new D(t, e);
1059
+ let s = new D$1(t, e);
1058
1060
  return n = n.filter((i) => s.match(i)), s.options.nonull && !n.length && n.push(t), n;
1059
1061
  };
1060
- O$2.match = ti;
1062
+ O$3.match = ti;
1061
1063
  ve$1 = /[?*]|[+@!]\(.*?\)|\[|\]/;
1062
1064
  ei = (n) => n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
1063
- D = class {
1065
+ D$1 = class {
1064
1066
  options;
1065
1067
  set;
1066
1068
  pattern;
@@ -1337,13 +1339,13 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
1337
1339
  return s.flipNegate ? !1 : this.negate;
1338
1340
  }
1339
1341
  static defaults(t) {
1340
- return O$2.defaults(t).Minimatch;
1342
+ return O$3.defaults(t).Minimatch;
1341
1343
  }
1342
1344
  };
1343
- O$2.AST = Q$1;
1344
- O$2.Minimatch = D;
1345
- O$2.escape = tt;
1346
- O$2.unescape = W;
1345
+ O$3.AST = Q$1;
1346
+ O$3.Minimatch = D$1;
1347
+ O$3.escape = tt;
1348
+ O$3.unescape = W;
1347
1349
  si = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date;
1348
1350
  Oe = /* @__PURE__ */ new Set();
1349
1351
  Vt = typeof process == "object" && process ? process : {};
@@ -1964,18 +1966,18 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
1964
1966
  _e$1 = Symbol("read");
1965
1967
  Ot = Symbol("flush");
1966
1968
  Le$1 = Symbol("flushChunk");
1967
- P = Symbol("encoding");
1969
+ P$1 = Symbol("encoding");
1968
1970
  et = Symbol("decoder");
1969
- v$1 = Symbol("flowing");
1971
+ v$2 = Symbol("flowing");
1970
1972
  dt = Symbol("paused");
1971
1973
  st = Symbol("resume");
1972
- C$1 = Symbol("buffer");
1973
- F = Symbol("pipes");
1974
- T = Symbol("bufferLength");
1974
+ C$2 = Symbol("buffer");
1975
+ F$1 = Symbol("pipes");
1976
+ T$1 = Symbol("bufferLength");
1975
1977
  Yt = Symbol("bufferPush");
1976
1978
  Ft = Symbol("bufferShift");
1977
- k = Symbol("objectMode");
1978
- x$1 = Symbol("destroyed");
1979
+ k$1 = Symbol("objectMode");
1980
+ x$2 = Symbol("destroyed");
1979
1981
  Xt = Symbol("error");
1980
1982
  Jt = Symbol("emitData");
1981
1983
  We$1 = Symbol("emitEnd");
@@ -2018,12 +2020,12 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
2018
2020
  di = (n) => !!n.objectMode;
2019
2021
  pi = (n) => !n.objectMode && !!n.encoding && n.encoding !== "buffer";
2020
2022
  V = class extends EventEmitter {
2021
- [v$1] = !1;
2023
+ [v$2] = !1;
2022
2024
  [dt] = !1;
2023
- [F] = [];
2024
- [C$1] = [];
2025
- [k];
2026
- [P];
2025
+ [F$1] = [];
2026
+ [C$2] = [];
2027
+ [k$1];
2028
+ [P$1];
2027
2029
  [B];
2028
2030
  [et];
2029
2031
  [G] = !1;
@@ -2031,8 +2033,8 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
2031
2033
  [kt] = !1;
2032
2034
  [Rt] = !1;
2033
2035
  [ut] = null;
2034
- [T] = 0;
2035
- [x$1] = !1;
2036
+ [T$1] = 0;
2037
+ [x$2] = !1;
2036
2038
  [pt];
2037
2039
  [Dt] = !1;
2038
2040
  [Y$1] = 0;
@@ -2042,15 +2044,15 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
2042
2044
  constructor(...t) {
2043
2045
  let e = t[0] || {};
2044
2046
  if (super(), e.objectMode && typeof e.encoding == "string") throw new TypeError("Encoding and objectMode may not be used together");
2045
- di(e) ? (this[k] = !0, this[P] = null) : pi(e) ? (this[P] = e.encoding, this[k] = !1) : (this[k] = !1, this[P] = null), this[B] = !!e.async, this[et] = this[P] ? new StringDecoder(this[P]) : null, e && e.debugExposeBuffer === !0 && Object.defineProperty(this, "buffer", { get: () => this[C$1] }), e && e.debugExposePipes === !0 && Object.defineProperty(this, "pipes", { get: () => this[F] });
2047
+ di(e) ? (this[k$1] = !0, this[P$1] = null) : pi(e) ? (this[P$1] = e.encoding, this[k$1] = !1) : (this[k$1] = !1, this[P$1] = null), this[B] = !!e.async, this[et] = this[P$1] ? new StringDecoder(this[P$1]) : null, e && e.debugExposeBuffer === !0 && Object.defineProperty(this, "buffer", { get: () => this[C$2] }), e && e.debugExposePipes === !0 && Object.defineProperty(this, "pipes", { get: () => this[F$1] });
2046
2048
  let { signal: s } = e;
2047
2049
  s && (this[pt] = s, s.aborted ? this[Qt]() : s.addEventListener("abort", () => this[Qt]()));
2048
2050
  }
2049
2051
  get bufferLength() {
2050
- return this[T];
2052
+ return this[T$1];
2051
2053
  }
2052
2054
  get encoding() {
2053
- return this[P];
2055
+ return this[P$1];
2054
2056
  }
2055
2057
  set encoding(t) {
2056
2058
  throw new Error("Encoding must be set at instantiation time");
@@ -2059,7 +2061,7 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
2059
2061
  throw new Error("Encoding must be set at instantiation time");
2060
2062
  }
2061
2063
  get objectMode() {
2062
- return this[k];
2064
+ return this[k$1];
2063
2065
  }
2064
2066
  set objectMode(t) {
2065
2067
  throw new Error("objectMode must be set at instantiation time");
@@ -2080,83 +2082,83 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
2080
2082
  write(t, e, s) {
2081
2083
  if (this[Dt]) return !1;
2082
2084
  if (this[G]) throw new Error("write after end");
2083
- if (this[x$1]) return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), !0;
2085
+ if (this[x$2]) return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), !0;
2084
2086
  typeof e == "function" && (s = e, e = "utf8"), e || (e = "utf8");
2085
2087
  let i = this[B] ? mt : li;
2086
- if (!this[k] && !Buffer.isBuffer(t)) {
2088
+ if (!this[k$1] && !Buffer.isBuffer(t)) {
2087
2089
  if (ui(t)) t = Buffer.from(t.buffer, t.byteOffset, t.byteLength);
2088
2090
  else if (fi(t)) t = Buffer.from(t);
2089
2091
  else if (typeof t != "string") throw new Error("Non-contiguous data written to non-objectMode stream");
2090
2092
  }
2091
- return this[k] ? (this[v$1] && this[T] !== 0 && this[Ot](!0), this[v$1] ? this.emit("data", t) : this[Yt](t), this[T] !== 0 && this.emit("readable"), s && i(s), this[v$1]) : t.length ? (typeof t == "string" && !(e === this[P] && !this[et]?.lastNeed) && (t = Buffer.from(t, e)), Buffer.isBuffer(t) && this[P] && (t = this[et].write(t)), this[v$1] && this[T] !== 0 && this[Ot](!0), this[v$1] ? this.emit("data", t) : this[Yt](t), this[T] !== 0 && this.emit("readable"), s && i(s), this[v$1]) : (this[T] !== 0 && this.emit("readable"), s && i(s), this[v$1]);
2093
+ return this[k$1] ? (this[v$2] && this[T$1] !== 0 && this[Ot](!0), this[v$2] ? this.emit("data", t) : this[Yt](t), this[T$1] !== 0 && this.emit("readable"), s && i(s), this[v$2]) : t.length ? (typeof t == "string" && !(e === this[P$1] && !this[et]?.lastNeed) && (t = Buffer.from(t, e)), Buffer.isBuffer(t) && this[P$1] && (t = this[et].write(t)), this[v$2] && this[T$1] !== 0 && this[Ot](!0), this[v$2] ? this.emit("data", t) : this[Yt](t), this[T$1] !== 0 && this.emit("readable"), s && i(s), this[v$2]) : (this[T$1] !== 0 && this.emit("readable"), s && i(s), this[v$2]);
2092
2094
  }
2093
2095
  read(t) {
2094
- if (this[x$1]) return null;
2095
- if (this[M] = !1, this[T] === 0 || t === 0 || t && t > this[T]) return this[H$1](), null;
2096
- this[k] && (t = null), this[C$1].length > 1 && !this[k] && (this[C$1] = [this[P] ? this[C$1].join("") : Buffer.concat(this[C$1], this[T])]);
2097
- let e = this[_e$1](t || null, this[C$1][0]);
2096
+ if (this[x$2]) return null;
2097
+ if (this[M] = !1, this[T$1] === 0 || t === 0 || t && t > this[T$1]) return this[H$1](), null;
2098
+ this[k$1] && (t = null), this[C$2].length > 1 && !this[k$1] && (this[C$2] = [this[P$1] ? this[C$2].join("") : Buffer.concat(this[C$2], this[T$1])]);
2099
+ let e = this[_e$1](t || null, this[C$2][0]);
2098
2100
  return this[H$1](), e;
2099
2101
  }
2100
2102
  [_e$1](t, e) {
2101
- if (this[k]) this[Ft]();
2103
+ if (this[k$1]) this[Ft]();
2102
2104
  else {
2103
2105
  let s = e;
2104
- t === s.length || t === null ? this[Ft]() : typeof s == "string" ? (this[C$1][0] = s.slice(t), e = s.slice(0, t), this[T] -= t) : (this[C$1][0] = s.subarray(t), e = s.subarray(0, t), this[T] -= t);
2106
+ t === s.length || t === null ? this[Ft]() : typeof s == "string" ? (this[C$2][0] = s.slice(t), e = s.slice(0, t), this[T$1] -= t) : (this[C$2][0] = s.subarray(t), e = s.subarray(0, t), this[T$1] -= t);
2105
2107
  }
2106
- return this.emit("data", e), !this[C$1].length && !this[G] && this.emit("drain"), e;
2108
+ return this.emit("data", e), !this[C$2].length && !this[G] && this.emit("drain"), e;
2107
2109
  }
2108
2110
  end(t, e, s) {
2109
- return typeof t == "function" && (s = t, t = void 0), typeof e == "function" && (s = e, e = "utf8"), t !== void 0 && this.write(t, e), s && this.once("end", s), this[G] = !0, this.writable = !1, (this[v$1] || !this[dt]) && this[H$1](), this;
2111
+ return typeof t == "function" && (s = t, t = void 0), typeof e == "function" && (s = e, e = "utf8"), t !== void 0 && this.write(t, e), s && this.once("end", s), this[G] = !0, this.writable = !1, (this[v$2] || !this[dt]) && this[H$1](), this;
2110
2112
  }
2111
2113
  [st]() {
2112
- this[x$1] || (!this[Y$1] && !this[F].length && (this[M] = !0), this[dt] = !1, this[v$1] = !0, this.emit("resume"), this[C$1].length ? this[Ot]() : this[G] ? this[H$1]() : this.emit("drain"));
2114
+ this[x$2] || (!this[Y$1] && !this[F$1].length && (this[M] = !0), this[dt] = !1, this[v$2] = !0, this.emit("resume"), this[C$2].length ? this[Ot]() : this[G] ? this[H$1]() : this.emit("drain"));
2113
2115
  }
2114
2116
  resume() {
2115
2117
  return this[st]();
2116
2118
  }
2117
2119
  pause() {
2118
- this[v$1] = !1, this[dt] = !0, this[M] = !1;
2120
+ this[v$2] = !1, this[dt] = !0, this[M] = !1;
2119
2121
  }
2120
2122
  get destroyed() {
2121
- return this[x$1];
2123
+ return this[x$2];
2122
2124
  }
2123
2125
  get flowing() {
2124
- return this[v$1];
2126
+ return this[v$2];
2125
2127
  }
2126
2128
  get paused() {
2127
2129
  return this[dt];
2128
2130
  }
2129
2131
  [Yt](t) {
2130
- this[k] ? this[T] += 1 : this[T] += t.length, this[C$1].push(t);
2132
+ this[k$1] ? this[T$1] += 1 : this[T$1] += t.length, this[C$2].push(t);
2131
2133
  }
2132
2134
  [Ft]() {
2133
- return this[k] ? this[T] -= 1 : this[T] -= this[C$1][0].length, this[C$1].shift();
2135
+ return this[k$1] ? this[T$1] -= 1 : this[T$1] -= this[C$2][0].length, this[C$2].shift();
2134
2136
  }
2135
2137
  [Ot](t = !1) {
2136
2138
  do ;
2137
- while (this[Le$1](this[Ft]()) && this[C$1].length);
2138
- !t && !this[C$1].length && !this[G] && this.emit("drain");
2139
+ while (this[Le$1](this[Ft]()) && this[C$2].length);
2140
+ !t && !this[C$2].length && !this[G] && this.emit("drain");
2139
2141
  }
2140
2142
  [Le$1](t) {
2141
- return this.emit("data", t), this[v$1];
2143
+ return this.emit("data", t), this[v$2];
2142
2144
  }
2143
2145
  pipe(t, e) {
2144
- if (this[x$1]) return t;
2146
+ if (this[x$2]) return t;
2145
2147
  this[M] = !1;
2146
2148
  let s = this[K$1];
2147
- return e = e || {}, t === Ne$1.stdout || t === Ne$1.stderr ? e.end = !1 : e.end = e.end !== !1, e.proxyErrors = !!e.proxyErrors, s ? e.end && t.end() : (this[F].push(e.proxyErrors ? new te$1(this, t, e) : new Mt(this, t, e)), this[B] ? mt(() => this[st]()) : this[st]()), t;
2149
+ return e = e || {}, t === Ne$1.stdout || t === Ne$1.stderr ? e.end = !1 : e.end = e.end !== !1, e.proxyErrors = !!e.proxyErrors, s ? e.end && t.end() : (this[F$1].push(e.proxyErrors ? new te$1(this, t, e) : new Mt(this, t, e)), this[B] ? mt(() => this[st]()) : this[st]()), t;
2148
2150
  }
2149
2151
  unpipe(t) {
2150
- let e = this[F].find((s) => s.dest === t);
2151
- e && (this[F].length === 1 ? (this[v$1] && this[Y$1] === 0 && (this[v$1] = !1), this[F] = []) : this[F].splice(this[F].indexOf(e), 1), e.unpipe());
2152
+ let e = this[F$1].find((s) => s.dest === t);
2153
+ e && (this[F$1].length === 1 ? (this[v$2] && this[Y$1] === 0 && (this[v$2] = !1), this[F$1] = []) : this[F$1].splice(this[F$1].indexOf(e), 1), e.unpipe());
2152
2154
  }
2153
2155
  addListener(t, e) {
2154
2156
  return this.on(t, e);
2155
2157
  }
2156
2158
  on(t, e) {
2157
2159
  let s = super.on(t, e);
2158
- if (t === "data") this[M] = !1, this[Y$1]++, !this[F].length && !this[v$1] && this[st]();
2159
- else if (t === "readable" && this[T] !== 0) super.emit("readable");
2160
+ if (t === "data") this[M] = !1, this[Y$1]++, !this[F$1].length && !this[v$2] && this[st]();
2161
+ else if (t === "readable" && this[T$1] !== 0) super.emit("readable");
2160
2162
  else if (ci(t) && this[K$1]) super.emit(t), this.removeAllListeners(t);
2161
2163
  else if (t === "error" && this[ut]) {
2162
2164
  let i = e;
@@ -2169,25 +2171,25 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2169
2171
  }
2170
2172
  off(t, e) {
2171
2173
  let s = super.off(t, e);
2172
- return t === "data" && (this[Y$1] = this.listeners("data").length, this[Y$1] === 0 && !this[M] && !this[F].length && (this[v$1] = !1)), s;
2174
+ return t === "data" && (this[Y$1] = this.listeners("data").length, this[Y$1] === 0 && !this[M] && !this[F$1].length && (this[v$2] = !1)), s;
2173
2175
  }
2174
2176
  removeAllListeners(t) {
2175
2177
  let e = super.removeAllListeners(t);
2176
- return (t === "data" || t === void 0) && (this[Y$1] = 0, !this[M] && !this[F].length && (this[v$1] = !1)), e;
2178
+ return (t === "data" || t === void 0) && (this[Y$1] = 0, !this[M] && !this[F$1].length && (this[v$2] = !1)), e;
2177
2179
  }
2178
2180
  get emittedEnd() {
2179
2181
  return this[K$1];
2180
2182
  }
2181
2183
  [H$1]() {
2182
- !this[kt] && !this[K$1] && !this[x$1] && this[C$1].length === 0 && this[G] && (this[kt] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[Rt] && this.emit("close"), this[kt] = !1);
2184
+ !this[kt] && !this[K$1] && !this[x$2] && this[C$2].length === 0 && this[G] && (this[kt] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[Rt] && this.emit("close"), this[kt] = !1);
2183
2185
  }
2184
2186
  emit(t, ...e) {
2185
2187
  let s = e[0];
2186
- if (t !== "error" && t !== "close" && t !== x$1 && this[x$1]) return !1;
2187
- if (t === "data") return !this[k] && !s ? !1 : this[B] ? (mt(() => this[Jt](s)), !0) : this[Jt](s);
2188
+ if (t !== "error" && t !== "close" && t !== x$2 && this[x$2]) return !1;
2189
+ if (t === "data") return !this[k$1] && !s ? !1 : this[B] ? (mt(() => this[Jt](s)), !0) : this[Jt](s);
2188
2190
  if (t === "end") return this[We$1]();
2189
2191
  if (t === "close") {
2190
- if (this[Rt] = !0, !this[K$1] && !this[x$1]) return !1;
2192
+ if (this[Rt] = !0, !this[K$1] && !this[x$2]) return !1;
2191
2193
  let r = super.emit("close");
2192
2194
  return this.removeAllListeners("close"), r;
2193
2195
  } else if (t === "error") {
@@ -2205,7 +2207,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2205
2207
  return this[H$1](), i;
2206
2208
  }
2207
2209
  [Jt](t) {
2208
- for (let s of this[F]) s.dest.write(t) === !1 && this.pause();
2210
+ for (let s of this[F$1]) s.dest.write(t) === !1 && this.pause();
2209
2211
  let e = this[M] ? !1 : super.emit("data", t);
2210
2212
  return this[H$1](), e;
2211
2213
  }
@@ -2216,30 +2218,30 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2216
2218
  if (this[et]) {
2217
2219
  let e = this[et].end();
2218
2220
  if (e) {
2219
- for (let s of this[F]) s.dest.write(e);
2221
+ for (let s of this[F$1]) s.dest.write(e);
2220
2222
  this[M] || super.emit("data", e);
2221
2223
  }
2222
2224
  }
2223
- for (let e of this[F]) e.end();
2225
+ for (let e of this[F$1]) e.end();
2224
2226
  let t = super.emit("end");
2225
2227
  return this.removeAllListeners("end"), t;
2226
2228
  }
2227
2229
  async collect() {
2228
2230
  let t = Object.assign([], { dataLength: 0 });
2229
- this[k] || (t.dataLength = 0);
2231
+ this[k$1] || (t.dataLength = 0);
2230
2232
  let e = this.promise();
2231
2233
  return this.on("data", (s) => {
2232
- t.push(s), this[k] || (t.dataLength += s.length);
2234
+ t.push(s), this[k$1] || (t.dataLength += s.length);
2233
2235
  }), await e, t;
2234
2236
  }
2235
2237
  async concat() {
2236
- if (this[k]) throw new Error("cannot concat in objectMode");
2238
+ if (this[k$1]) throw new Error("cannot concat in objectMode");
2237
2239
  let t = await this.collect();
2238
- return this[P] ? t.join("") : Buffer.concat(t, t.dataLength);
2240
+ return this[P$1] ? t.join("") : Buffer.concat(t, t.dataLength);
2239
2241
  }
2240
2242
  async promise() {
2241
2243
  return new Promise((t, e) => {
2242
- this.on(x$1, () => e(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (s) => e(s)), this.on("end", () => t());
2244
+ this.on(x$2, () => e(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (s) => e(s)), this.on("end", () => t());
2243
2245
  });
2244
2246
  }
2245
2247
  [Symbol.asyncIterator]() {
@@ -2258,20 +2260,20 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2258
2260
  });
2259
2261
  if (this[G]) return e();
2260
2262
  let r, o, h = (c) => {
2261
- this.off("data", a), this.off("end", l), this.off(x$1, u), e(), o(c);
2263
+ this.off("data", a), this.off("end", l), this.off(x$2, u), e(), o(c);
2262
2264
  }, a = (c) => {
2263
- this.off("error", h), this.off("end", l), this.off(x$1, u), this.pause(), r({
2265
+ this.off("error", h), this.off("end", l), this.off(x$2, u), this.pause(), r({
2264
2266
  value: c,
2265
2267
  done: !!this[G]
2266
2268
  });
2267
2269
  }, l = () => {
2268
- this.off("error", h), this.off("data", a), this.off(x$1, u), e(), r({
2270
+ this.off("error", h), this.off("data", a), this.off(x$2, u), e(), r({
2269
2271
  done: !0,
2270
2272
  value: void 0
2271
2273
  });
2272
2274
  }, u = () => h(/* @__PURE__ */ new Error("stream destroyed"));
2273
2275
  return new Promise((c, d) => {
2274
- o = d, r = c, this.once(x$1, u), this.once("error", h), this.once("end", l), this.once("data", a);
2276
+ o = d, r = c, this.once(x$2, u), this.once("error", h), this.once("end", l), this.once("data", a);
2275
2277
  });
2276
2278
  },
2277
2279
  throw: e,
@@ -2284,7 +2286,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2284
2286
  }
2285
2287
  [Symbol.iterator]() {
2286
2288
  this[M] = !1;
2287
- let t = !1, e = () => (this.pause(), this.off(Xt, e), this.off(x$1, e), this.off("end", e), t = !0, {
2289
+ let t = !1, e = () => (this.pause(), this.off(Xt, e), this.off(x$2, e), this.off("end", e), t = !0, {
2288
2290
  done: !0,
2289
2291
  value: void 0
2290
2292
  }), s = () => {
@@ -2295,7 +2297,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2295
2297
  value: i
2296
2298
  };
2297
2299
  };
2298
- return this.once("end", e), this.once(Xt, e), this.once(x$1, e), {
2300
+ return this.once("end", e), this.once(Xt, e), this.once(x$2, e), {
2299
2301
  next: s,
2300
2302
  throw: e,
2301
2303
  return: e,
@@ -2306,10 +2308,10 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2306
2308
  };
2307
2309
  }
2308
2310
  destroy(t) {
2309
- if (this[x$1]) return t ? this.emit("error", t) : this.emit(x$1), this;
2310
- this[x$1] = !0, this[M] = !0, this[C$1].length = 0, this[T] = 0;
2311
+ if (this[x$2]) return t ? this.emit("error", t) : this.emit(x$2), this;
2312
+ this[x$2] = !0, this[M] = !0, this[C$2].length = 0, this[T$1] = 0;
2311
2313
  let e = this;
2312
- return typeof e.close == "function" && !this[Rt] && e.close(), t ? this.emit("error", t) : this.emit(x$1), this;
2314
+ return typeof e.close == "function" && !this[Rt] && e.close(), t ? this.emit("error", t) : this.emit(x$2), this;
2313
2315
  }
2314
2316
  static get isStream() {
2315
2317
  return oi;
@@ -2347,15 +2349,15 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2347
2349
  Ke$1 = 8;
2348
2350
  X$1 = 10;
2349
2351
  Ve$1 = 12;
2350
- _$1 = 15;
2351
- gt = ~_$1;
2352
+ _$2 = 15;
2353
+ gt = ~_$2;
2352
2354
  se$1 = 16;
2353
2355
  je$1 = 32;
2354
2356
  yt = 64;
2355
- j = 128;
2357
+ j$1 = 128;
2356
2358
  Nt = 256;
2357
2359
  Lt = 512;
2358
- Ie = yt | j | Lt;
2360
+ Ie = yt | j$1 | Lt;
2359
2361
  Fi = 1023;
2360
2362
  ie$1 = (n) => n.isFile() ? Ke$1 : n.isDirectory() ? U : n.isSymbolicLink() ? X$1 : n.isCharacterDevice() ? He$1 : n.isBlockDevice() ? qe$1 : n.isSocket() ? Ve$1 : n.isFIFO() ? Ge$1 : L;
2361
2363
  ze$1 = new ft({ max: 2 ** 12 });
@@ -2386,7 +2388,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2386
2388
  }
2387
2389
  };
2388
2390
  Ye$1 = Symbol("PathScurry setAsCwd");
2389
- R$2 = class {
2391
+ R$3 = class {
2390
2392
  name;
2391
2393
  root;
2392
2394
  roots;
@@ -2517,7 +2519,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2517
2519
  parent: this,
2518
2520
  fullpath: o
2519
2521
  });
2520
- return this.canReaddir() || (h.#e |= j), s.push(h), h;
2522
+ return this.canReaddir() || (h.#e |= j$1), s.push(h), h;
2521
2523
  }
2522
2524
  relative() {
2523
2525
  if (this.isCWD) return "";
@@ -2554,7 +2556,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2554
2556
  return this.#y = s;
2555
2557
  }
2556
2558
  isUnknown() {
2557
- return (this.#e & _$1) === L;
2559
+ return (this.#e & _$2) === L;
2558
2560
  }
2559
2561
  isType(t) {
2560
2562
  return this[`is${t}`]();
@@ -2563,22 +2565,22 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2563
2565
  return this.isUnknown() ? "Unknown" : this.isDirectory() ? "Directory" : this.isFile() ? "File" : this.isSymbolicLink() ? "SymbolicLink" : this.isFIFO() ? "FIFO" : this.isCharacterDevice() ? "CharacterDevice" : this.isBlockDevice() ? "BlockDevice" : this.isSocket() ? "Socket" : "Unknown";
2564
2566
  }
2565
2567
  isFile() {
2566
- return (this.#e & _$1) === Ke$1;
2568
+ return (this.#e & _$2) === Ke$1;
2567
2569
  }
2568
2570
  isDirectory() {
2569
- return (this.#e & _$1) === U;
2571
+ return (this.#e & _$2) === U;
2570
2572
  }
2571
2573
  isCharacterDevice() {
2572
- return (this.#e & _$1) === He$1;
2574
+ return (this.#e & _$2) === He$1;
2573
2575
  }
2574
2576
  isBlockDevice() {
2575
- return (this.#e & _$1) === qe$1;
2577
+ return (this.#e & _$2) === qe$1;
2576
2578
  }
2577
2579
  isFIFO() {
2578
- return (this.#e & _$1) === Ge$1;
2580
+ return (this.#e & _$2) === Ge$1;
2579
2581
  }
2580
2582
  isSocket() {
2581
- return (this.#e & _$1) === Ve$1;
2583
+ return (this.#e & _$2) === Ve$1;
2582
2584
  }
2583
2585
  isSymbolicLink() {
2584
2586
  return (this.#e & X$1) === X$1;
@@ -2599,14 +2601,14 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2599
2601
  canReadlink() {
2600
2602
  if (this.#M) return !0;
2601
2603
  if (!this.parent) return !1;
2602
- let t = this.#e & _$1;
2603
- return !(t !== L && t !== X$1 || this.#e & Nt || this.#e & j);
2604
+ let t = this.#e & _$2;
2605
+ return !(t !== L && t !== X$1 || this.#e & Nt || this.#e & j$1);
2604
2606
  }
2605
2607
  calledReaddir() {
2606
2608
  return !!(this.#e & se$1);
2607
2609
  }
2608
2610
  isENOENT() {
2609
- return !!(this.#e & j);
2611
+ return !!(this.#e & j$1);
2610
2612
  }
2611
2613
  isNamed(t) {
2612
2614
  return this.nocase ? this.#C === _t(t) : this.#C === bt(t);
@@ -2641,7 +2643,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2641
2643
  }
2642
2644
  }
2643
2645
  #v() {
2644
- this.#e & j || (this.#e = (this.#e | j) & gt, this.#G());
2646
+ this.#e & j$1 || (this.#e = (this.#e | j$1) & gt, this.#G());
2645
2647
  }
2646
2648
  #G() {
2647
2649
  let t = this.children();
@@ -2654,7 +2656,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2654
2656
  #L() {
2655
2657
  if (this.#e & yt) return;
2656
2658
  let t = this.#e;
2657
- (t & _$1) === U && (t &= gt), this.#e = t | yt, this.#G();
2659
+ (t & _$2) === U && (t &= gt), this.#e = t | yt, this.#G();
2658
2660
  }
2659
2661
  #I(t = "") {
2660
2662
  t === "ENOTDIR" || t === "EPERM" ? this.#L() : t === "ENOENT" ? this.#v() : this.children().provisional = 0;
@@ -2664,13 +2666,13 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2664
2666
  }
2665
2667
  #D(t = "") {
2666
2668
  let e = this.#e;
2667
- e |= Nt, t === "ENOENT" && (e |= j), (t === "EINVAL" || t === "UNKNOWN") && (e &= gt), this.#e = e, t === "ENOTDIR" && this.parent && this.parent.#L();
2669
+ e |= Nt, t === "ENOENT" && (e |= j$1), (t === "EINVAL" || t === "UNKNOWN") && (e &= gt), this.#e = e, t === "ENOTDIR" && this.parent && this.parent.#L();
2668
2670
  }
2669
2671
  #z(t, e) {
2670
2672
  return this.#U(t, e) || this.#B(t, e);
2671
2673
  }
2672
2674
  #B(t, e) {
2673
- let s = ie$1(t), i = this.newChild(t.name, s, { parent: this }), r = i.#e & _$1;
2675
+ let s = ie$1(t), i = this.newChild(t.name, s, { parent: this }), r = i.#e & _$2;
2674
2676
  return r !== U && r !== X$1 && r !== L && (i.#e |= yt), e.unshift(i), e.provisional++, i;
2675
2677
  }
2676
2678
  #U(t, e) {
@@ -2684,14 +2686,14 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2684
2686
  return e.#e = e.#e & gt | ie$1(t), r !== t.name && (e.name = t.name), s !== i.provisional && (s === i.length - 1 ? i.pop() : i.splice(s, 1), i.unshift(e)), i.provisional++, e;
2685
2687
  }
2686
2688
  async lstat() {
2687
- if ((this.#e & j) === 0) try {
2689
+ if ((this.#e & j$1) === 0) try {
2688
2690
  return this.#$(await this.#t.promises.lstat(this.fullpath())), this;
2689
2691
  } catch (t) {
2690
2692
  this.#F(t.code);
2691
2693
  }
2692
2694
  }
2693
2695
  lstatSync() {
2694
- if ((this.#e & j) === 0) try {
2696
+ if ((this.#e & j$1) === 0) try {
2695
2697
  return this.#$(this.#t.lstatSync(this.fullpath())), this;
2696
2698
  } catch (t) {
2697
2699
  this.#F(t.code);
@@ -2768,7 +2770,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2768
2770
  }
2769
2771
  canReaddir() {
2770
2772
  if (this.#e & Ie) return !1;
2771
- let t = _$1 & this.#e;
2773
+ let t = _$2 & this.#e;
2772
2774
  return t === L || t === U || t === X$1;
2773
2775
  }
2774
2776
  shouldWalk(t, e) {
@@ -2776,7 +2778,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2776
2778
  }
2777
2779
  async realpath() {
2778
2780
  if (this.#k) return this.#k;
2779
- if (!((Lt | Nt | j) & this.#e)) try {
2781
+ if (!((Lt | Nt | j$1) & this.#e)) try {
2780
2782
  let t = await this.#t.promises.realpath(this.fullpath());
2781
2783
  return this.#k = this.resolve(t);
2782
2784
  } catch {
@@ -2785,7 +2787,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2785
2787
  }
2786
2788
  realpathSync() {
2787
2789
  if (this.#k) return this.#k;
2788
- if (!((Lt | Nt | j) & this.#e)) try {
2790
+ if (!((Lt | Nt | j$1) & this.#e)) try {
2789
2791
  let t = this.#t.realpathSync(this.fullpath());
2790
2792
  return this.#k = this.resolve(t);
2791
2793
  } catch {
@@ -2800,7 +2802,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2800
2802
  for (i = t; i && i.parent && !e.has(i);) i.#x = void 0, i.#A = void 0, i = i.parent;
2801
2803
  }
2802
2804
  };
2803
- Pt = class n extends R$2 {
2805
+ Pt = class n extends R$3 {
2804
2806
  sep = "\\";
2805
2807
  splitSep = Oi;
2806
2808
  constructor(t, e = L, s, i, r, o, h) {
@@ -2821,7 +2823,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2821
2823
  return t = t.toUpperCase().replace(/\//g, "\\").replace($e$1, "$1\\"), t === e;
2822
2824
  }
2823
2825
  };
2824
- jt = class n extends R$2 {
2826
+ jt = class n extends R$3 {
2825
2827
  splitSep = "/";
2826
2828
  sep = "/";
2827
2829
  constructor(t, e = L, s, i, r, o, h) {
@@ -2906,7 +2908,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2906
2908
  return typeof t == "string" && (t = this.cwd.resolve(t)), (t.parent || t).fullpath();
2907
2909
  }
2908
2910
  async readdir(t = this.cwd, e = { withFileTypes: !0 }) {
2909
- typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$2 || (e = t, t = this.cwd);
2911
+ typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$3 || (e = t, t = this.cwd);
2910
2912
  let { withFileTypes: s } = e;
2911
2913
  if (t.canReaddir()) {
2912
2914
  let i = await t.readdir();
@@ -2914,7 +2916,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2914
2916
  } else return [];
2915
2917
  }
2916
2918
  readdirSync(t = this.cwd, e = { withFileTypes: !0 }) {
2917
- typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$2 || (e = t, t = this.cwd);
2919
+ typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$3 || (e = t, t = this.cwd);
2918
2920
  let { withFileTypes: s = !0 } = e;
2919
2921
  return t.canReaddir() ? s ? t.readdirSync() : t.readdirSync().map((i) => i.name) : [];
2920
2922
  }
@@ -2925,27 +2927,27 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2925
2927
  return typeof t == "string" && (t = this.cwd.resolve(t)), t.lstatSync();
2926
2928
  }
2927
2929
  async readlink(t = this.cwd, { withFileTypes: e } = { withFileTypes: !1 }) {
2928
- typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$2 || (e = t.withFileTypes, t = this.cwd);
2930
+ typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$3 || (e = t.withFileTypes, t = this.cwd);
2929
2931
  let s = await t.readlink();
2930
2932
  return e ? s : s?.fullpath();
2931
2933
  }
2932
2934
  readlinkSync(t = this.cwd, { withFileTypes: e } = { withFileTypes: !1 }) {
2933
- typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$2 || (e = t.withFileTypes, t = this.cwd);
2935
+ typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$3 || (e = t.withFileTypes, t = this.cwd);
2934
2936
  let s = t.readlinkSync();
2935
2937
  return e ? s : s?.fullpath();
2936
2938
  }
2937
2939
  async realpath(t = this.cwd, { withFileTypes: e } = { withFileTypes: !1 }) {
2938
- typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$2 || (e = t.withFileTypes, t = this.cwd);
2940
+ typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$3 || (e = t.withFileTypes, t = this.cwd);
2939
2941
  let s = await t.realpath();
2940
2942
  return e ? s : s?.fullpath();
2941
2943
  }
2942
2944
  realpathSync(t = this.cwd, { withFileTypes: e } = { withFileTypes: !1 }) {
2943
- typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$2 || (e = t.withFileTypes, t = this.cwd);
2945
+ typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$3 || (e = t.withFileTypes, t = this.cwd);
2944
2946
  let s = t.realpathSync();
2945
2947
  return e ? s : s?.fullpath();
2946
2948
  }
2947
2949
  async walk(t = this.cwd, e = {}) {
2948
- typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$2 || (e = t, t = this.cwd);
2950
+ typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$3 || (e = t, t = this.cwd);
2949
2951
  let { withFileTypes: s = !0, follow: i = !1, filter: r, walkFilter: o } = e, h = [];
2950
2952
  (!r || r(t)) && h.push(s ? t : t.fullpath());
2951
2953
  let a = /* @__PURE__ */ new Set(), l = (c, d) => {
@@ -2967,7 +2969,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2967
2969
  });
2968
2970
  }
2969
2971
  walkSync(t = this.cwd, e = {}) {
2970
- typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$2 || (e = t, t = this.cwd);
2972
+ typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$3 || (e = t, t = this.cwd);
2971
2973
  let { withFileTypes: s = !0, follow: i = !1, filter: r, walkFilter: o } = e, h = [];
2972
2974
  (!r || r(t)) && h.push(s ? t : t.fullpath());
2973
2975
  let a = /* @__PURE__ */ new Set([t]);
@@ -2989,13 +2991,13 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2989
2991
  return this.iterate();
2990
2992
  }
2991
2993
  iterate(t = this.cwd, e = {}) {
2992
- return typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$2 || (e = t, t = this.cwd), this.stream(t, e)[Symbol.asyncIterator]();
2994
+ return typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$3 || (e = t, t = this.cwd), this.stream(t, e)[Symbol.asyncIterator]();
2993
2995
  }
2994
2996
  [Symbol.iterator]() {
2995
2997
  return this.iterateSync();
2996
2998
  }
2997
2999
  *iterateSync(t = this.cwd, e = {}) {
2998
- typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$2 || (e = t, t = this.cwd);
3000
+ typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$3 || (e = t, t = this.cwd);
2999
3001
  let { withFileTypes: s = !0, follow: i = !1, filter: r, walkFilter: o } = e;
3000
3002
  (!r || r(t)) && (yield s ? t : t.fullpath());
3001
3003
  let h = /* @__PURE__ */ new Set([t]);
@@ -3013,7 +3015,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3013
3015
  }
3014
3016
  }
3015
3017
  stream(t = this.cwd, e = {}) {
3016
- typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$2 || (e = t, t = this.cwd);
3018
+ typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$3 || (e = t, t = this.cwd);
3017
3019
  let { withFileTypes: s = !0, follow: i = !1, filter: r, walkFilter: o } = e, h = new V({ objectMode: !0 });
3018
3020
  (!r || r(t)) && h.write(s ? t : t.fullpath());
3019
3021
  let a = /* @__PURE__ */ new Set(), l = [t], u = 0, c = () => {
@@ -3049,7 +3051,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3049
3051
  return c(), h;
3050
3052
  }
3051
3053
  streamSync(t = this.cwd, e = {}) {
3052
- typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$2 || (e = t, t = this.cwd);
3054
+ typeof t == "string" ? t = this.cwd.resolve(t) : t instanceof R$3 || (e = t, t = this.cwd);
3053
3055
  let { withFileTypes: s = !0, follow: i = !1, filter: r, walkFilter: o } = e, h = new V({ objectMode: !0 }), a = /* @__PURE__ */ new Set();
3054
3056
  (!r || r(t)) && h.write(s ? t : t.fullpath());
3055
3057
  let l = [t], u = 0, c = () => {
@@ -3248,12 +3250,12 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3248
3250
  for (let h of t) this.add(h);
3249
3251
  }
3250
3252
  add(t) {
3251
- let e = new D(t, this.mmopts);
3253
+ let e = new D$1(t, this.mmopts);
3252
3254
  for (let s = 0; s < e.set.length; s++) {
3253
3255
  let i = e.set[s], r = e.globParts[s];
3254
3256
  if (!i || !r) throw new Error("invalid pattern object");
3255
3257
  for (; i[0] === "." && r[0] === ".";) i.shift(), r.shift();
3256
- let o = new nt(i, r, 0, this.platform), h = new D(o.globString(), this.mmopts), a = r[r.length - 1] === "**", l = o.isAbsolute();
3258
+ let o = new nt(i, r, 0, this.platform), h = new D$1(o.globString(), this.mmopts), a = r[r.length - 1] === "**", l = o.isAbsolute();
3257
3259
  l ? this.absolute.push(h) : this.relative.push(h), a && (l ? this.absoluteChildren.push(h) : this.relativeChildren.push(h));
3258
3260
  }
3259
3261
  }
@@ -3602,7 +3604,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3602
3604
  }
3603
3605
  };
3604
3606
  Pi = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux";
3605
- I$1 = class {
3607
+ I$2 = class {
3606
3608
  absolute;
3607
3609
  cwd;
3608
3610
  root;
@@ -3665,7 +3667,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3665
3667
  platform: this.platform,
3666
3668
  windowsPathsNoEscape: this.windowsPathsNoEscape,
3667
3669
  debug: !!this.opts.debug
3668
- }, [o, h] = this.pattern.map((a) => new D(a, i)).reduce((a, l) => (a[0].push(...l.set), a[1].push(...l.globParts), a), [[], []]);
3670
+ }, [o, h] = this.pattern.map((a) => new D$1(a, i)).reduce((a, l) => (a[0].push(...l.set), a[1].push(...l.globParts), a), [[], []]);
3669
3671
  this.patterns = o.map((a, l) => {
3670
3672
  let u = h[l];
3671
3673
  if (!u) throw new Error("invalid pattern object");
@@ -3723,7 +3725,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3723
3725
  };
3724
3726
  le$1 = (n, t = {}) => {
3725
3727
  Array.isArray(n) || (n = [n]);
3726
- for (let e of n) if (new D(e, t).hasMagic()) return !0;
3728
+ for (let e of n) if (new D$1(e, t).hasMagic()) return !0;
3727
3729
  return !1;
3728
3730
  };
3729
3731
  ji = Bt;
@@ -3746,7 +3748,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3746
3748
  iterate: Bi,
3747
3749
  globIterateSync: Ut,
3748
3750
  iterateSync: zi,
3749
- Glob: I$1,
3751
+ Glob: I$2,
3750
3752
  hasMagic: le$1,
3751
3753
  escape: tt,
3752
3754
  unescape: W
@@ -4129,18 +4131,18 @@ var require_enoent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4129
4131
  //#endregion
4130
4132
  //#region src/lib/crossSpawn.ts
4131
4133
  var import_cross_spawn = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
4132
- const cp$1 = __require("child_process");
4134
+ const cp = __require("child_process");
4133
4135
  const parse = require_parse();
4134
4136
  const enoent = require_enoent();
4135
4137
  function spawn(command, args, options) {
4136
4138
  const parsed = parse(command, args, options);
4137
- const spawned = cp$1.spawn(parsed.command, parsed.args, parsed.options);
4139
+ const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
4138
4140
  enoent.hookChildProcess(spawned, parsed);
4139
4141
  return spawned;
4140
4142
  }
4141
4143
  function spawnSync(command, args, options) {
4142
4144
  const parsed = parse(command, args, options);
4143
- const result = cp$1.spawnSync(parsed.command, parsed.args, parsed.options);
4145
+ const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);
4144
4146
  result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
4145
4147
  return result;
4146
4148
  }
@@ -6878,7 +6880,7 @@ var require_parse_json = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6878
6880
  module.exports = parseJson;
6879
6881
  }));
6880
6882
  //#endregion
6881
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/common.js
6883
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/common.js
6882
6884
  var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6883
6885
  function isNothing(subject) {
6884
6886
  return typeof subject === "undefined" || subject === null;
@@ -6892,19 +6894,18 @@ var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6892
6894
  return [sequence];
6893
6895
  }
6894
6896
  function extend(target, source) {
6895
- var index, length, key, sourceKeys;
6896
6897
  if (source) {
6897
- sourceKeys = Object.keys(source);
6898
- for (index = 0, length = sourceKeys.length; index < length; index += 1) {
6899
- key = sourceKeys[index];
6898
+ const sourceKeys = Object.keys(source);
6899
+ for (let index = 0, length = sourceKeys.length; index < length; index += 1) {
6900
+ const key = sourceKeys[index];
6900
6901
  target[key] = source[key];
6901
6902
  }
6902
6903
  }
6903
6904
  return target;
6904
6905
  }
6905
6906
  function repeat(string, count) {
6906
- var result = "", cycle;
6907
- for (cycle = 0; cycle < count; cycle += 1) result += string;
6907
+ let result = "";
6908
+ for (let cycle = 0; cycle < count; cycle += 1) result += string;
6908
6909
  return result;
6909
6910
  }
6910
6911
  function isNegativeZero(number) {
@@ -6918,10 +6919,11 @@ var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6918
6919
  module.exports.extend = extend;
6919
6920
  }));
6920
6921
  //#endregion
6921
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/exception.js
6922
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/exception.js
6922
6923
  var require_exception = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6923
6924
  function formatError(exception, compact) {
6924
- var where = "", message = exception.reason || "(unknown reason)";
6925
+ let where = "";
6926
+ const message = exception.reason || "(unknown reason)";
6925
6927
  if (!exception.mark) return message;
6926
6928
  if (exception.mark.name) where += "in \"" + exception.mark.name + "\" ";
6927
6929
  where += "(" + (exception.mark.line + 1) + ":" + (exception.mark.column + 1) + ")";
@@ -6945,13 +6947,13 @@ var require_exception = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6945
6947
  module.exports = YAMLException;
6946
6948
  }));
6947
6949
  //#endregion
6948
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/snippet.js
6950
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/snippet.js
6949
6951
  var require_snippet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6950
- var common = require_common();
6952
+ const common = require_common();
6951
6953
  function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
6952
- var head = "";
6953
- var tail = "";
6954
- var maxHalfLength = Math.floor(maxLineLength / 2) - 1;
6954
+ let head = "";
6955
+ let tail = "";
6956
+ const maxHalfLength = Math.floor(maxLineLength / 2) - 1;
6955
6957
  if (position - lineStart > maxHalfLength) {
6956
6958
  head = " ... ";
6957
6959
  lineStart = position - maxHalfLength + head.length;
@@ -6975,31 +6977,31 @@ var require_snippet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6975
6977
  if (typeof options.indent !== "number") options.indent = 1;
6976
6978
  if (typeof options.linesBefore !== "number") options.linesBefore = 3;
6977
6979
  if (typeof options.linesAfter !== "number") options.linesAfter = 2;
6978
- var re = /\r?\n|\r|\0/g;
6979
- var lineStarts = [0];
6980
- var lineEnds = [];
6981
- var match;
6982
- var foundLineNo = -1;
6980
+ const re = /\r?\n|\r|\0/g;
6981
+ const lineStarts = [0];
6982
+ const lineEnds = [];
6983
+ let match;
6984
+ let foundLineNo = -1;
6983
6985
  while (match = re.exec(mark.buffer)) {
6984
6986
  lineEnds.push(match.index);
6985
6987
  lineStarts.push(match.index + match[0].length);
6986
6988
  if (mark.position <= match.index && foundLineNo < 0) foundLineNo = lineStarts.length - 2;
6987
6989
  }
6988
6990
  if (foundLineNo < 0) foundLineNo = lineStarts.length - 1;
6989
- var result = "", i, line;
6990
- var lineNoLength = Math.min(mark.line + options.linesAfter, lineEnds.length).toString().length;
6991
- var maxLineLength = options.maxLength - (options.indent + lineNoLength + 3);
6992
- for (i = 1; i <= options.linesBefore; i++) {
6991
+ let result = "";
6992
+ const lineNoLength = Math.min(mark.line + options.linesAfter, lineEnds.length).toString().length;
6993
+ const maxLineLength = options.maxLength - (options.indent + lineNoLength + 3);
6994
+ for (let i = 1; i <= options.linesBefore; i++) {
6993
6995
  if (foundLineNo - i < 0) break;
6994
- line = getLine(mark.buffer, lineStarts[foundLineNo - i], lineEnds[foundLineNo - i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]), maxLineLength);
6996
+ const line = getLine(mark.buffer, lineStarts[foundLineNo - i], lineEnds[foundLineNo - i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]), maxLineLength);
6995
6997
  result = common.repeat(" ", options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + " | " + line.str + "\n" + result;
6996
6998
  }
6997
- line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);
6999
+ const line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);
6998
7000
  result += common.repeat(" ", options.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line.str + "\n";
6999
7001
  result += common.repeat("-", options.indent + lineNoLength + 3 + line.pos) + "^\n";
7000
- for (i = 1; i <= options.linesAfter; i++) {
7002
+ for (let i = 1; i <= options.linesAfter; i++) {
7001
7003
  if (foundLineNo + i >= lineEnds.length) break;
7002
- line = getLine(mark.buffer, lineStarts[foundLineNo + i], lineEnds[foundLineNo + i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]), maxLineLength);
7004
+ const line = getLine(mark.buffer, lineStarts[foundLineNo + i], lineEnds[foundLineNo + i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]), maxLineLength);
7003
7005
  result += common.repeat(" ", options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + " | " + line.str + "\n";
7004
7006
  }
7005
7007
  return result.replace(/\n$/, "");
@@ -7007,10 +7009,10 @@ var require_snippet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7007
7009
  module.exports = makeSnippet;
7008
7010
  }));
7009
7011
  //#endregion
7010
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type.js
7012
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type.js
7011
7013
  var require_type = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7012
- var YAMLException = require_exception();
7013
- var TYPE_CONSTRUCTOR_OPTIONS = [
7014
+ const YAMLException = require_exception();
7015
+ const TYPE_CONSTRUCTOR_OPTIONS = [
7014
7016
  "kind",
7015
7017
  "multi",
7016
7018
  "resolve",
@@ -7022,13 +7024,13 @@ var require_type = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7022
7024
  "defaultStyle",
7023
7025
  "styleAliases"
7024
7026
  ];
7025
- var YAML_NODE_KINDS = [
7027
+ const YAML_NODE_KINDS = [
7026
7028
  "scalar",
7027
7029
  "sequence",
7028
7030
  "mapping"
7029
7031
  ];
7030
7032
  function compileStyleAliases(map) {
7031
- var result = {};
7033
+ const result = {};
7032
7034
  if (map !== null) Object.keys(map).forEach(function(style) {
7033
7035
  map[style].forEach(function(alias) {
7034
7036
  result[String(alias)] = style;
@@ -7062,14 +7064,14 @@ var require_type = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7062
7064
  module.exports = Type;
7063
7065
  }));
7064
7066
  //#endregion
7065
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema.js
7067
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/schema.js
7066
7068
  var require_schema = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7067
- var YAMLException = require_exception();
7068
- var Type = require_type();
7069
+ const YAMLException = require_exception();
7070
+ const Type = require_type();
7069
7071
  function compileList(schema, name) {
7070
- var result = [];
7072
+ const result = [];
7071
7073
  schema[name].forEach(function(currentType) {
7072
- var newIndex = result.length;
7074
+ let newIndex = result.length;
7073
7075
  result.forEach(function(previousType, previousIndex) {
7074
7076
  if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) newIndex = previousIndex;
7075
7077
  });
@@ -7078,7 +7080,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7078
7080
  return result;
7079
7081
  }
7080
7082
  function compileMap() {
7081
- var result = {
7083
+ const result = {
7082
7084
  scalar: {},
7083
7085
  sequence: {},
7084
7086
  mapping: {},
@@ -7089,22 +7091,22 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7089
7091
  mapping: [],
7090
7092
  fallback: []
7091
7093
  }
7092
- }, index, length;
7094
+ };
7093
7095
  function collectType(type) {
7094
7096
  if (type.multi) {
7095
7097
  result.multi[type.kind].push(type);
7096
7098
  result.multi["fallback"].push(type);
7097
7099
  } else result[type.kind][type.tag] = result["fallback"][type.tag] = type;
7098
7100
  }
7099
- for (index = 0, length = arguments.length; index < length; index += 1) arguments[index].forEach(collectType);
7101
+ for (let index = 0, length = arguments.length; index < length; index += 1) arguments[index].forEach(collectType);
7100
7102
  return result;
7101
7103
  }
7102
7104
  function Schema(definition) {
7103
7105
  return this.extend(definition);
7104
7106
  }
7105
7107
  Schema.prototype.extend = function extend(definition) {
7106
- var implicit = [];
7107
- var explicit = [];
7108
+ let implicit = [];
7109
+ let explicit = [];
7108
7110
  if (definition instanceof Type) explicit.push(definition);
7109
7111
  else if (Array.isArray(definition)) explicit = explicit.concat(definition);
7110
7112
  else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {
@@ -7119,7 +7121,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7119
7121
  explicit.forEach(function(type) {
7120
7122
  if (!(type instanceof Type)) throw new YAMLException("Specified list of YAML types (or a single Type object) contains a non-Type object.");
7121
7123
  });
7122
- var result = Object.create(Schema.prototype);
7124
+ const result = Object.create(Schema.prototype);
7123
7125
  result.implicit = (this.implicit || []).concat(implicit);
7124
7126
  result.explicit = (this.explicit || []).concat(explicit);
7125
7127
  result.compiledImplicit = compileList(result, "implicit");
@@ -7130,7 +7132,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7130
7132
  module.exports = Schema;
7131
7133
  }));
7132
7134
  //#endregion
7133
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/str.js
7135
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/str.js
7134
7136
  var require_str = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7135
7137
  module.exports = new (require_type())("tag:yaml.org,2002:str", {
7136
7138
  kind: "scalar",
@@ -7140,7 +7142,7 @@ var require_str = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7140
7142
  });
7141
7143
  }));
7142
7144
  //#endregion
7143
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/seq.js
7145
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/seq.js
7144
7146
  var require_seq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7145
7147
  module.exports = new (require_type())("tag:yaml.org,2002:seq", {
7146
7148
  kind: "sequence",
@@ -7150,7 +7152,7 @@ var require_seq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7150
7152
  });
7151
7153
  }));
7152
7154
  //#endregion
7153
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/map.js
7155
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/map.js
7154
7156
  var require_map = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7155
7157
  module.exports = new (require_type())("tag:yaml.org,2002:map", {
7156
7158
  kind: "mapping",
@@ -7160,7 +7162,7 @@ var require_map = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7160
7162
  });
7161
7163
  }));
7162
7164
  //#endregion
7163
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema/failsafe.js
7165
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/schema/failsafe.js
7164
7166
  var require_failsafe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7165
7167
  module.exports = new (require_schema())({ explicit: [
7166
7168
  require_str(),
@@ -7169,12 +7171,12 @@ var require_failsafe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7169
7171
  ] });
7170
7172
  }));
7171
7173
  //#endregion
7172
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/null.js
7174
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/null.js
7173
7175
  var require_null = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7174
- var Type = require_type();
7176
+ const Type = require_type();
7175
7177
  function resolveYamlNull(data) {
7176
7178
  if (data === null) return true;
7177
- var max = data.length;
7179
+ const max = data.length;
7178
7180
  return max === 1 && data === "~" || max === 4 && (data === "null" || data === "Null" || data === "NULL");
7179
7181
  }
7180
7182
  function constructYamlNull() {
@@ -7209,12 +7211,12 @@ var require_null = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7209
7211
  });
7210
7212
  }));
7211
7213
  //#endregion
7212
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/bool.js
7214
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/bool.js
7213
7215
  var require_bool = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7214
- var Type = require_type();
7216
+ const Type = require_type();
7215
7217
  function resolveYamlBoolean(data) {
7216
7218
  if (data === null) return false;
7217
- var max = data.length;
7219
+ const max = data.length;
7218
7220
  return max === 4 && (data === "true" || data === "True" || data === "TRUE") || max === 5 && (data === "false" || data === "False" || data === "FALSE");
7219
7221
  }
7220
7222
  function constructYamlBoolean(data) {
@@ -7243,24 +7245,26 @@ var require_bool = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7243
7245
  });
7244
7246
  }));
7245
7247
  //#endregion
7246
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/int.js
7248
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/int.js
7247
7249
  var require_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7248
- var common = require_common();
7249
- var Type = require_type();
7250
+ const common = require_common();
7251
+ const Type = require_type();
7250
7252
  function isHexCode(c) {
7251
- return 48 <= c && c <= 57 || 65 <= c && c <= 70 || 97 <= c && c <= 102;
7253
+ return c >= 48 && c <= 57 || c >= 65 && c <= 70 || c >= 97 && c <= 102;
7252
7254
  }
7253
7255
  function isOctCode(c) {
7254
- return 48 <= c && c <= 55;
7256
+ return c >= 48 && c <= 55;
7255
7257
  }
7256
7258
  function isDecCode(c) {
7257
- return 48 <= c && c <= 57;
7259
+ return c >= 48 && c <= 57;
7258
7260
  }
7259
7261
  function resolveYamlInteger(data) {
7260
7262
  if (data === null) return false;
7261
- var max = data.length, index = 0, hasDigits = false, ch;
7263
+ const max = data.length;
7264
+ let index = 0;
7265
+ let hasDigits = false;
7262
7266
  if (!max) return false;
7263
- ch = data[index];
7267
+ let ch = data[index];
7264
7268
  if (ch === "-" || ch === "+") ch = data[++index];
7265
7269
  if (ch === "0") {
7266
7270
  if (index + 1 === max) return true;
@@ -7269,47 +7273,39 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7269
7273
  index++;
7270
7274
  for (; index < max; index++) {
7271
7275
  ch = data[index];
7272
- if (ch === "_") continue;
7273
7276
  if (ch !== "0" && ch !== "1") return false;
7274
7277
  hasDigits = true;
7275
7278
  }
7276
- return hasDigits && ch !== "_";
7279
+ return hasDigits && isFinite(parseYamlInteger(data));
7277
7280
  }
7278
7281
  if (ch === "x") {
7279
7282
  index++;
7280
7283
  for (; index < max; index++) {
7281
- ch = data[index];
7282
- if (ch === "_") continue;
7283
7284
  if (!isHexCode(data.charCodeAt(index))) return false;
7284
7285
  hasDigits = true;
7285
7286
  }
7286
- return hasDigits && ch !== "_";
7287
+ return hasDigits && isFinite(parseYamlInteger(data));
7287
7288
  }
7288
7289
  if (ch === "o") {
7289
7290
  index++;
7290
7291
  for (; index < max; index++) {
7291
- ch = data[index];
7292
- if (ch === "_") continue;
7293
7292
  if (!isOctCode(data.charCodeAt(index))) return false;
7294
7293
  hasDigits = true;
7295
7294
  }
7296
- return hasDigits && ch !== "_";
7295
+ return hasDigits && isFinite(parseYamlInteger(data));
7297
7296
  }
7298
7297
  }
7299
- if (ch === "_") return false;
7300
7298
  for (; index < max; index++) {
7301
- ch = data[index];
7302
- if (ch === "_") continue;
7303
7299
  if (!isDecCode(data.charCodeAt(index))) return false;
7304
7300
  hasDigits = true;
7305
7301
  }
7306
- if (!hasDigits || ch === "_") return false;
7307
- return true;
7302
+ if (!hasDigits) return false;
7303
+ return isFinite(parseYamlInteger(data));
7308
7304
  }
7309
- function constructYamlInteger(data) {
7310
- var value = data, sign = 1, ch;
7311
- if (value.indexOf("_") !== -1) value = value.replace(/_/g, "");
7312
- ch = value[0];
7305
+ function parseYamlInteger(data) {
7306
+ let value = data;
7307
+ let sign = 1;
7308
+ let ch = value[0];
7313
7309
  if (ch === "-" || ch === "+") {
7314
7310
  if (ch === "-") sign = -1;
7315
7311
  value = value.slice(1);
@@ -7323,6 +7319,9 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7323
7319
  }
7324
7320
  return sign * parseInt(value, 10);
7325
7321
  }
7322
+ function constructYamlInteger(data) {
7323
+ return parseYamlInteger(data);
7324
+ }
7326
7325
  function isInteger(object) {
7327
7326
  return Object.prototype.toString.call(object) === "[object Number]" && object % 1 === 0 && !common.isNegativeZero(object);
7328
7327
  }
@@ -7355,26 +7354,28 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7355
7354
  });
7356
7355
  }));
7357
7356
  //#endregion
7358
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/float.js
7357
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/float.js
7359
7358
  var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7360
- var common = require_common();
7361
- var Type = require_type();
7362
- var YAML_FLOAT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
7359
+ const common = require_common();
7360
+ const Type = require_type();
7361
+ const YAML_FLOAT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
7362
+ const YAML_FLOAT_SPECIAL_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
7363
7363
  function resolveYamlFloat(data) {
7364
7364
  if (data === null) return false;
7365
- if (!YAML_FLOAT_PATTERN.test(data) || data[data.length - 1] === "_") return false;
7366
- return true;
7365
+ if (!YAML_FLOAT_PATTERN.test(data)) return false;
7366
+ if (isFinite(parseFloat(data, 10))) return true;
7367
+ return YAML_FLOAT_SPECIAL_PATTERN.test(data);
7367
7368
  }
7368
7369
  function constructYamlFloat(data) {
7369
- var value = data.replace(/_/g, "").toLowerCase(), sign = value[0] === "-" ? -1 : 1;
7370
+ let value = data.toLowerCase();
7371
+ const sign = value[0] === "-" ? -1 : 1;
7370
7372
  if ("+-".indexOf(value[0]) >= 0) value = value.slice(1);
7371
7373
  if (value === ".inf") return sign === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
7372
7374
  else if (value === ".nan") return NaN;
7373
7375
  return sign * parseFloat(value, 10);
7374
7376
  }
7375
- var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
7377
+ const SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
7376
7378
  function representYamlFloat(object, style) {
7377
- var res;
7378
7379
  if (isNaN(object)) switch (style) {
7379
7380
  case "lowercase": return ".nan";
7380
7381
  case "uppercase": return ".NAN";
@@ -7391,7 +7392,7 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7391
7392
  case "camelcase": return "-.Inf";
7392
7393
  }
7393
7394
  else if (common.isNegativeZero(object)) return "-0.0";
7394
- res = object.toString(10);
7395
+ const res = object.toString(10);
7395
7396
  return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace("e", ".e") : res;
7396
7397
  }
7397
7398
  function isFloat(object) {
@@ -7407,7 +7408,7 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7407
7408
  });
7408
7409
  }));
7409
7410
  //#endregion
7410
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema/json.js
7411
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/schema/json.js
7411
7412
  var require_json = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7412
7413
  module.exports = require_failsafe().extend({ implicit: [
7413
7414
  require_null(),
@@ -7417,16 +7418,16 @@ var require_json = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7417
7418
  ] });
7418
7419
  }));
7419
7420
  //#endregion
7420
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema/core.js
7421
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/schema/core.js
7421
7422
  var require_core = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7422
7423
  module.exports = require_json();
7423
7424
  }));
7424
7425
  //#endregion
7425
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/timestamp.js
7426
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/timestamp.js
7426
7427
  var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7427
- var Type = require_type();
7428
- var YAML_DATE_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
7429
- var YAML_TIMESTAMP_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
7428
+ const Type = require_type();
7429
+ const YAML_DATE_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
7430
+ const YAML_TIMESTAMP_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
7430
7431
  function resolveYamlTimestamp(data) {
7431
7432
  if (data === null) return false;
7432
7433
  if (YAML_DATE_REGEXP.exec(data) !== null) return true;
@@ -7434,29 +7435,30 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7434
7435
  return false;
7435
7436
  }
7436
7437
  function constructYamlTimestamp(data) {
7437
- var match, year, month, day, hour, minute, second, fraction = 0, delta = null, tz_hour, tz_minute, date;
7438
- match = YAML_DATE_REGEXP.exec(data);
7438
+ let fraction = 0;
7439
+ let delta = null;
7440
+ let match = YAML_DATE_REGEXP.exec(data);
7439
7441
  if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);
7440
7442
  if (match === null) throw new Error("Date resolve error");
7441
- year = +match[1];
7442
- month = +match[2] - 1;
7443
- day = +match[3];
7443
+ const year = +match[1];
7444
+ const month = +match[2] - 1;
7445
+ const day = +match[3];
7444
7446
  if (!match[4]) return new Date(Date.UTC(year, month, day));
7445
- hour = +match[4];
7446
- minute = +match[5];
7447
- second = +match[6];
7447
+ const hour = +match[4];
7448
+ const minute = +match[5];
7449
+ const second = +match[6];
7448
7450
  if (match[7]) {
7449
7451
  fraction = match[7].slice(0, 3);
7450
7452
  while (fraction.length < 3) fraction += "0";
7451
7453
  fraction = +fraction;
7452
7454
  }
7453
7455
  if (match[9]) {
7454
- tz_hour = +match[10];
7455
- tz_minute = +(match[11] || 0);
7456
- delta = (tz_hour * 60 + tz_minute) * 6e4;
7456
+ const tzHour = +match[10];
7457
+ const tzMinute = +(match[11] || 0);
7458
+ delta = (tzHour * 60 + tzMinute) * 6e4;
7457
7459
  if (match[9] === "-") delta = -delta;
7458
7460
  }
7459
- date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));
7461
+ const date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));
7460
7462
  if (delta) date.setTime(date.getTime() - delta);
7461
7463
  return date;
7462
7464
  }
@@ -7472,9 +7474,9 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7472
7474
  });
7473
7475
  }));
7474
7476
  //#endregion
7475
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/merge.js
7477
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/merge.js
7476
7478
  var require_merge$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7477
- var Type = require_type();
7479
+ const Type = require_type();
7478
7480
  function resolveYamlMerge(data) {
7479
7481
  return data === "<<" || data === null;
7480
7482
  }
@@ -7484,15 +7486,17 @@ var require_merge$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7484
7486
  });
7485
7487
  }));
7486
7488
  //#endregion
7487
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/binary.js
7489
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/binary.js
7488
7490
  var require_binary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7489
- var Type = require_type();
7490
- var BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
7491
+ const Type = require_type();
7492
+ const BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
7491
7493
  function resolveYamlBinary(data) {
7492
7494
  if (data === null) return false;
7493
- var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP;
7494
- for (idx = 0; idx < max; idx++) {
7495
- code = map.indexOf(data.charAt(idx));
7495
+ let bitlen = 0;
7496
+ const max = data.length;
7497
+ const map = BASE64_MAP;
7498
+ for (let idx = 0; idx < max; idx++) {
7499
+ const code = map.indexOf(data.charAt(idx));
7496
7500
  if (code > 64) continue;
7497
7501
  if (code < 0) return false;
7498
7502
  bitlen += 6;
@@ -7500,8 +7504,12 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7500
7504
  return bitlen % 8 === 0;
7501
7505
  }
7502
7506
  function constructYamlBinary(data) {
7503
- var idx, tailbits, input = data.replace(/[\r\n=]/g, ""), max = input.length, map = BASE64_MAP, bits = 0, result = [];
7504
- for (idx = 0; idx < max; idx++) {
7507
+ const input = data.replace(/[\r\n=]/g, "");
7508
+ const max = input.length;
7509
+ const map = BASE64_MAP;
7510
+ let bits = 0;
7511
+ const result = [];
7512
+ for (let idx = 0; idx < max; idx++) {
7505
7513
  if (idx % 4 === 0 && idx) {
7506
7514
  result.push(bits >> 16 & 255);
7507
7515
  result.push(bits >> 8 & 255);
@@ -7509,7 +7517,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7509
7517
  }
7510
7518
  bits = bits << 6 | map.indexOf(input.charAt(idx));
7511
7519
  }
7512
- tailbits = max % 4 * 6;
7520
+ const tailbits = max % 4 * 6;
7513
7521
  if (tailbits === 0) {
7514
7522
  result.push(bits >> 16 & 255);
7515
7523
  result.push(bits >> 8 & 255);
@@ -7521,8 +7529,11 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7521
7529
  return new Uint8Array(result);
7522
7530
  }
7523
7531
  function representYamlBinary(object) {
7524
- var result = "", bits = 0, idx, tail, max = object.length, map = BASE64_MAP;
7525
- for (idx = 0; idx < max; idx++) {
7532
+ let result = "";
7533
+ let bits = 0;
7534
+ const max = object.length;
7535
+ const map = BASE64_MAP;
7536
+ for (let idx = 0; idx < max; idx++) {
7526
7537
  if (idx % 3 === 0 && idx) {
7527
7538
  result += map[bits >> 18 & 63];
7528
7539
  result += map[bits >> 12 & 63];
@@ -7531,7 +7542,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7531
7542
  }
7532
7543
  bits = (bits << 8) + object[idx];
7533
7544
  }
7534
- tail = max % 3;
7545
+ const tail = max % 3;
7535
7546
  if (tail === 0) {
7536
7547
  result += map[bits >> 18 & 63];
7537
7548
  result += map[bits >> 12 & 63];
@@ -7562,18 +7573,20 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7562
7573
  });
7563
7574
  }));
7564
7575
  //#endregion
7565
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/omap.js
7576
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/omap.js
7566
7577
  var require_omap = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7567
- var Type = require_type();
7568
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
7569
- var _toString = Object.prototype.toString;
7578
+ const Type = require_type();
7579
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
7580
+ const _toString = Object.prototype.toString;
7570
7581
  function resolveYamlOmap(data) {
7571
7582
  if (data === null) return true;
7572
- var objectKeys = [], index, length, pair, pairKey, pairHasKey, object = data;
7573
- for (index = 0, length = object.length; index < length; index += 1) {
7574
- pair = object[index];
7575
- pairHasKey = false;
7583
+ const objectKeys = [];
7584
+ const object = data;
7585
+ for (let index = 0, length = object.length; index < length; index += 1) {
7586
+ const pair = object[index];
7587
+ let pairHasKey = false;
7576
7588
  if (_toString.call(pair) !== "[object Object]") return false;
7589
+ let pairKey;
7577
7590
  for (pairKey in pair) if (_hasOwnProperty.call(pair, pairKey)) if (!pairHasKey) pairHasKey = true;
7578
7591
  else return false;
7579
7592
  if (!pairHasKey) return false;
@@ -7592,18 +7605,18 @@ var require_omap = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7592
7605
  });
7593
7606
  }));
7594
7607
  //#endregion
7595
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/pairs.js
7608
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/pairs.js
7596
7609
  var require_pairs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7597
- var Type = require_type();
7598
- var _toString = Object.prototype.toString;
7610
+ const Type = require_type();
7611
+ const _toString = Object.prototype.toString;
7599
7612
  function resolveYamlPairs(data) {
7600
7613
  if (data === null) return true;
7601
- var index, length, pair, keys, result, object = data;
7602
- result = new Array(object.length);
7603
- for (index = 0, length = object.length; index < length; index += 1) {
7604
- pair = object[index];
7614
+ const object = data;
7615
+ const result = new Array(object.length);
7616
+ for (let index = 0, length = object.length; index < length; index += 1) {
7617
+ const pair = object[index];
7605
7618
  if (_toString.call(pair) !== "[object Object]") return false;
7606
- keys = Object.keys(pair);
7619
+ const keys = Object.keys(pair);
7607
7620
  if (keys.length !== 1) return false;
7608
7621
  result[index] = [keys[0], pair[keys[0]]];
7609
7622
  }
@@ -7611,11 +7624,11 @@ var require_pairs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7611
7624
  }
7612
7625
  function constructYamlPairs(data) {
7613
7626
  if (data === null) return [];
7614
- var index, length, pair, keys, result, object = data;
7615
- result = new Array(object.length);
7616
- for (index = 0, length = object.length; index < length; index += 1) {
7617
- pair = object[index];
7618
- keys = Object.keys(pair);
7627
+ const object = data;
7628
+ const result = new Array(object.length);
7629
+ for (let index = 0, length = object.length; index < length; index += 1) {
7630
+ const pair = object[index];
7631
+ const keys = Object.keys(pair);
7619
7632
  result[index] = [keys[0], pair[keys[0]]];
7620
7633
  }
7621
7634
  return result;
@@ -7627,14 +7640,14 @@ var require_pairs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7627
7640
  });
7628
7641
  }));
7629
7642
  //#endregion
7630
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/set.js
7643
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/type/set.js
7631
7644
  var require_set = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7632
- var Type = require_type();
7633
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
7645
+ const Type = require_type();
7646
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
7634
7647
  function resolveYamlSet(data) {
7635
7648
  if (data === null) return true;
7636
- var key, object = data;
7637
- for (key in object) if (_hasOwnProperty.call(object, key)) {
7649
+ const object = data;
7650
+ for (const key in object) if (_hasOwnProperty.call(object, key)) {
7638
7651
  if (object[key] !== null) return false;
7639
7652
  }
7640
7653
  return true;
@@ -7649,7 +7662,7 @@ var require_set = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7649
7662
  });
7650
7663
  }));
7651
7664
  //#endregion
7652
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema/default.js
7665
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/schema/default.js
7653
7666
  var require_default = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7654
7667
  module.exports = require_core().extend({
7655
7668
  implicit: [require_timestamp(), require_merge$1()],
@@ -7662,45 +7675,44 @@ var require_default = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7662
7675
  });
7663
7676
  }));
7664
7677
  //#endregion
7665
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/loader.js
7678
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/loader.js
7666
7679
  var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7667
- var common = require_common();
7668
- var YAMLException = require_exception();
7669
- var makeSnippet = require_snippet();
7670
- var DEFAULT_SCHEMA = require_default();
7671
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
7672
- var CONTEXT_FLOW_IN = 1;
7673
- var CONTEXT_FLOW_OUT = 2;
7674
- var CONTEXT_BLOCK_IN = 3;
7675
- var CONTEXT_BLOCK_OUT = 4;
7676
- var CHOMPING_CLIP = 1;
7677
- var CHOMPING_STRIP = 2;
7678
- var CHOMPING_KEEP = 3;
7679
- var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
7680
- var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
7681
- var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
7682
- var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
7683
- var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
7680
+ const common = require_common();
7681
+ const YAMLException = require_exception();
7682
+ const makeSnippet = require_snippet();
7683
+ const DEFAULT_SCHEMA = require_default();
7684
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
7685
+ const CONTEXT_FLOW_IN = 1;
7686
+ const CONTEXT_FLOW_OUT = 2;
7687
+ const CONTEXT_BLOCK_IN = 3;
7688
+ const CONTEXT_BLOCK_OUT = 4;
7689
+ const CHOMPING_CLIP = 1;
7690
+ const CHOMPING_STRIP = 2;
7691
+ const CHOMPING_KEEP = 3;
7692
+ const PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
7693
+ const PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
7694
+ const PATTERN_FLOW_INDICATORS = /[,\[\]{}]/;
7695
+ const PATTERN_TAG_HANDLE = /^(?:!|!!|![0-9A-Za-z-]+!)$/;
7696
+ const PATTERN_TAG_URI = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
7684
7697
  function _class(obj) {
7685
7698
  return Object.prototype.toString.call(obj);
7686
7699
  }
7687
- function is_EOL(c) {
7700
+ function isEol(c) {
7688
7701
  return c === 10 || c === 13;
7689
7702
  }
7690
- function is_WHITE_SPACE(c) {
7703
+ function isWhiteSpace(c) {
7691
7704
  return c === 9 || c === 32;
7692
7705
  }
7693
- function is_WS_OR_EOL(c) {
7706
+ function isWsOrEol(c) {
7694
7707
  return c === 9 || c === 32 || c === 10 || c === 13;
7695
7708
  }
7696
- function is_FLOW_INDICATOR(c) {
7709
+ function isFlowIndicator(c) {
7697
7710
  return c === 44 || c === 91 || c === 93 || c === 123 || c === 125;
7698
7711
  }
7699
7712
  function fromHexCode(c) {
7700
- var lc;
7701
- if (48 <= c && c <= 57) return c - 48;
7702
- lc = c | 32;
7703
- if (97 <= lc && lc <= 102) return lc - 97 + 10;
7713
+ if (c >= 48 && c <= 57) return c - 48;
7714
+ const lc = c | 32;
7715
+ if (lc >= 97 && lc <= 102) return lc - 97 + 10;
7704
7716
  return -1;
7705
7717
  }
7706
7718
  function escapedHexLen(c) {
@@ -7710,11 +7722,31 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7710
7722
  return 0;
7711
7723
  }
7712
7724
  function fromDecimalCode(c) {
7713
- if (48 <= c && c <= 57) return c - 48;
7725
+ if (c >= 48 && c <= 57) return c - 48;
7714
7726
  return -1;
7715
7727
  }
7716
7728
  function simpleEscapeSequence(c) {
7717
- return c === 48 ? "\0" : c === 97 ? "\x07" : c === 98 ? "\b" : c === 116 ? " " : c === 9 ? " " : c === 110 ? "\n" : c === 118 ? "\v" : c === 102 ? "\f" : c === 114 ? "\r" : c === 101 ? "\x1B" : c === 32 ? " " : c === 34 ? "\"" : c === 47 ? "/" : c === 92 ? "\\" : c === 78 ? "…" : c === 95 ? "\xA0" : c === 76 ? "\u2028" : c === 80 ? "\u2029" : "";
7729
+ switch (c) {
7730
+ case 48: return "\0";
7731
+ case 97: return "\x07";
7732
+ case 98: return "\b";
7733
+ case 116: return " ";
7734
+ case 9: return " ";
7735
+ case 110: return "\n";
7736
+ case 118: return "\v";
7737
+ case 102: return "\f";
7738
+ case 114: return "\r";
7739
+ case 101: return "\x1B";
7740
+ case 32: return " ";
7741
+ case 34: return "\"";
7742
+ case 47: return "/";
7743
+ case 92: return "\\";
7744
+ case 78: return "…";
7745
+ case 95: return "\xA0";
7746
+ case 76: return "\u2028";
7747
+ case 80: return "\u2029";
7748
+ default: return "";
7749
+ }
7718
7750
  }
7719
7751
  function charFromCodepoint(c) {
7720
7752
  if (c <= 65535) return String.fromCharCode(c);
@@ -7729,9 +7761,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7729
7761
  });
7730
7762
  else object[key] = value;
7731
7763
  }
7732
- var simpleEscapeCheck = new Array(256);
7733
- var simpleEscapeMap = new Array(256);
7734
- for (var i = 0; i < 256; i++) {
7764
+ const simpleEscapeCheck = new Array(256);
7765
+ const simpleEscapeMap = new Array(256);
7766
+ for (let i = 0; i < 256; i++) {
7735
7767
  simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
7736
7768
  simpleEscapeMap[i] = simpleEscapeSequence(i);
7737
7769
  }
@@ -7743,6 +7775,8 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7743
7775
  this.legacy = options["legacy"] || false;
7744
7776
  this.json = options["json"] || false;
7745
7777
  this.listener = options["listener"] || null;
7778
+ this.maxDepth = typeof options["maxDepth"] === "number" ? options["maxDepth"] : 100;
7779
+ this.maxTotalMergeKeys = typeof options["maxTotalMergeKeys"] === "number" ? options["maxTotalMergeKeys"] : 1e4;
7746
7780
  this.implicitTypes = this.schema.compiledImplicit;
7747
7781
  this.typeMap = this.schema.compiledTypeMap;
7748
7782
  this.length = input.length;
@@ -7750,11 +7784,14 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7750
7784
  this.line = 0;
7751
7785
  this.lineStart = 0;
7752
7786
  this.lineIndent = 0;
7787
+ this.depth = 0;
7788
+ this.totalMergeKeys = 0;
7753
7789
  this.firstTabInLine = -1;
7754
7790
  this.documents = [];
7791
+ this.anchorMapTransactions = [];
7755
7792
  }
7756
7793
  function generateError(state, message) {
7757
- var mark = {
7794
+ const mark = {
7758
7795
  name: state.filename,
7759
7796
  buffer: state.input.slice(0, -1),
7760
7797
  position: state.position,
@@ -7770,24 +7807,81 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7770
7807
  function throwWarning(state, message) {
7771
7808
  if (state.onWarning) state.onWarning.call(null, generateError(state, message));
7772
7809
  }
7773
- var directiveHandlers = {
7810
+ function storeAnchor(state, name, value) {
7811
+ const transactions = state.anchorMapTransactions;
7812
+ if (transactions.length !== 0) {
7813
+ const transaction = transactions[transactions.length - 1];
7814
+ if (!_hasOwnProperty.call(transaction, name)) transaction[name] = {
7815
+ existed: _hasOwnProperty.call(state.anchorMap, name),
7816
+ value: state.anchorMap[name]
7817
+ };
7818
+ }
7819
+ state.anchorMap[name] = value;
7820
+ }
7821
+ function beginAnchorTransaction(state) {
7822
+ state.anchorMapTransactions.push(Object.create(null));
7823
+ }
7824
+ function commitAnchorTransaction(state) {
7825
+ const transaction = state.anchorMapTransactions.pop();
7826
+ const transactions = state.anchorMapTransactions;
7827
+ if (transactions.length === 0) return;
7828
+ const parent = transactions[transactions.length - 1];
7829
+ const names = Object.keys(transaction);
7830
+ for (let index = 0, length = names.length; index < length; index += 1) {
7831
+ const name = names[index];
7832
+ if (!_hasOwnProperty.call(parent, name)) parent[name] = transaction[name];
7833
+ }
7834
+ }
7835
+ function rollbackAnchorTransaction(state) {
7836
+ const transaction = state.anchorMapTransactions.pop();
7837
+ const names = Object.keys(transaction);
7838
+ for (let index = names.length - 1; index >= 0; index -= 1) {
7839
+ const entry = transaction[names[index]];
7840
+ if (entry.existed) state.anchorMap[names[index]] = entry.value;
7841
+ else delete state.anchorMap[names[index]];
7842
+ }
7843
+ }
7844
+ function snapshotState(state) {
7845
+ return {
7846
+ position: state.position,
7847
+ line: state.line,
7848
+ lineStart: state.lineStart,
7849
+ lineIndent: state.lineIndent,
7850
+ firstTabInLine: state.firstTabInLine,
7851
+ tag: state.tag,
7852
+ anchor: state.anchor,
7853
+ kind: state.kind,
7854
+ result: state.result
7855
+ };
7856
+ }
7857
+ function restoreState(state, snapshot) {
7858
+ state.position = snapshot.position;
7859
+ state.line = snapshot.line;
7860
+ state.lineStart = snapshot.lineStart;
7861
+ state.lineIndent = snapshot.lineIndent;
7862
+ state.firstTabInLine = snapshot.firstTabInLine;
7863
+ state.tag = snapshot.tag;
7864
+ state.anchor = snapshot.anchor;
7865
+ state.kind = snapshot.kind;
7866
+ state.result = snapshot.result;
7867
+ }
7868
+ const directiveHandlers = {
7774
7869
  YAML: function handleYamlDirective(state, name, args) {
7775
- var match, major, minor;
7776
7870
  if (state.version !== null) throwError(state, "duplication of %YAML directive");
7777
7871
  if (args.length !== 1) throwError(state, "YAML directive accepts exactly one argument");
7778
- match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
7872
+ const match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
7779
7873
  if (match === null) throwError(state, "ill-formed argument of the YAML directive");
7780
- major = parseInt(match[1], 10);
7781
- minor = parseInt(match[2], 10);
7874
+ const major = parseInt(match[1], 10);
7875
+ const minor = parseInt(match[2], 10);
7782
7876
  if (major !== 1) throwError(state, "unacceptable YAML version of the document");
7783
7877
  state.version = args[0];
7784
7878
  state.checkLineBreaks = minor < 2;
7785
7879
  if (minor !== 1 && minor !== 2) throwWarning(state, "unsupported YAML version of the document");
7786
7880
  },
7787
7881
  TAG: function handleTagDirective(state, name, args) {
7788
- var handle, prefix;
7882
+ let prefix;
7789
7883
  if (args.length !== 2) throwError(state, "TAG directive accepts exactly two arguments");
7790
- handle = args[0];
7884
+ const handle = args[0];
7791
7885
  prefix = args[1];
7792
7886
  if (!PATTERN_TAG_HANDLE.test(handle)) throwError(state, "ill-formed tag handle (first argument) of the TAG directive");
7793
7887
  if (_hasOwnProperty.call(state.tagMap, handle)) throwError(state, "there is a previously declared suffix for \"" + handle + "\" tag handle");
@@ -7801,23 +7895,22 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7801
7895
  }
7802
7896
  };
7803
7897
  function captureSegment(state, start, end, checkJson) {
7804
- var _position, _length, _character, _result;
7805
7898
  if (start < end) {
7806
- _result = state.input.slice(start, end);
7807
- if (checkJson) for (_position = 0, _length = _result.length; _position < _length; _position += 1) {
7808
- _character = _result.charCodeAt(_position);
7809
- if (!(_character === 9 || 32 <= _character && _character <= 1114111)) throwError(state, "expected valid JSON character");
7899
+ const _result = state.input.slice(start, end);
7900
+ if (checkJson) for (let _position = 0, _length = _result.length; _position < _length; _position += 1) {
7901
+ const _character = _result.charCodeAt(_position);
7902
+ if (!(_character === 9 || _character >= 32 && _character <= 1114111)) throwError(state, "expected valid JSON character");
7810
7903
  }
7811
7904
  else if (PATTERN_NON_PRINTABLE.test(_result)) throwError(state, "the stream contains non-printable characters");
7812
7905
  state.result += _result;
7813
7906
  }
7814
7907
  }
7815
7908
  function mergeMappings(state, destination, source, overridableKeys) {
7816
- var sourceKeys, key, index, quantity;
7817
7909
  if (!common.isObject(source)) throwError(state, "cannot merge mappings; the provided source object is unacceptable");
7818
- sourceKeys = Object.keys(source);
7819
- for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
7820
- key = sourceKeys[index];
7910
+ const sourceKeys = Object.keys(source);
7911
+ for (let index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
7912
+ const key = sourceKeys[index];
7913
+ if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
7821
7914
  if (!_hasOwnProperty.call(destination, key)) {
7822
7915
  setProperty(destination, key, source[key]);
7823
7916
  overridableKeys[key] = true;
@@ -7825,10 +7918,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7825
7918
  }
7826
7919
  }
7827
7920
  function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startLineStart, startPos) {
7828
- var index, quantity;
7829
7921
  if (Array.isArray(keyNode)) {
7830
7922
  keyNode = Array.prototype.slice.call(keyNode);
7831
- for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {
7923
+ for (let index = 0, quantity = keyNode.length; index < quantity; index += 1) {
7832
7924
  if (Array.isArray(keyNode[index])) throwError(state, "nested arrays are not supported inside keys");
7833
7925
  if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]") keyNode[index] = "[object Object]";
7834
7926
  }
@@ -7836,7 +7928,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7836
7928
  if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") keyNode = "[object Object]";
7837
7929
  keyNode = String(keyNode);
7838
7930
  if (_result === null) _result = {};
7839
- if (keyTag === "tag:yaml.org,2002:merge") if (Array.isArray(valueNode)) for (index = 0, quantity = valueNode.length; index < quantity; index += 1) mergeMappings(state, _result, valueNode[index], overridableKeys);
7931
+ if (keyTag === "tag:yaml.org,2002:merge") if (Array.isArray(valueNode)) for (let index = 0, quantity = valueNode.length; index < quantity; index += 1) mergeMappings(state, _result, valueNode[index], overridableKeys);
7840
7932
  else mergeMappings(state, _result, valueNode, overridableKeys);
7841
7933
  else {
7842
7934
  if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) {
@@ -7851,7 +7943,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7851
7943
  return _result;
7852
7944
  }
7853
7945
  function readLineBreak(state) {
7854
- var ch = state.input.charCodeAt(state.position);
7946
+ const ch = state.input.charCodeAt(state.position);
7855
7947
  if (ch === 10) state.position++;
7856
7948
  else if (ch === 13) {
7857
7949
  state.position++;
@@ -7862,16 +7954,17 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7862
7954
  state.firstTabInLine = -1;
7863
7955
  }
7864
7956
  function skipSeparationSpace(state, allowComments, checkIndent) {
7865
- var lineBreaks = 0, ch = state.input.charCodeAt(state.position);
7957
+ let lineBreaks = 0;
7958
+ let ch = state.input.charCodeAt(state.position);
7866
7959
  while (ch !== 0) {
7867
- while (is_WHITE_SPACE(ch)) {
7960
+ while (isWhiteSpace(ch)) {
7868
7961
  if (ch === 9 && state.firstTabInLine === -1) state.firstTabInLine = state.position;
7869
7962
  ch = state.input.charCodeAt(++state.position);
7870
7963
  }
7871
7964
  if (allowComments && ch === 35) do
7872
7965
  ch = state.input.charCodeAt(++state.position);
7873
7966
  while (ch !== 10 && ch !== 13 && ch !== 0);
7874
- if (is_EOL(ch)) {
7967
+ if (isEol(ch)) {
7875
7968
  readLineBreak(state);
7876
7969
  ch = state.input.charCodeAt(state.position);
7877
7970
  lineBreaks++;
@@ -7886,11 +7979,12 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7886
7979
  return lineBreaks;
7887
7980
  }
7888
7981
  function testDocumentSeparator(state) {
7889
- var _position = state.position, ch = state.input.charCodeAt(_position);
7982
+ let _position = state.position;
7983
+ let ch = state.input.charCodeAt(_position);
7890
7984
  if ((ch === 45 || ch === 46) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) {
7891
7985
  _position += 3;
7892
7986
  ch = state.input.charCodeAt(_position);
7893
- if (ch === 0 || is_WS_OR_EOL(ch)) return true;
7987
+ if (ch === 0 || isWsOrEol(ch)) return true;
7894
7988
  }
7895
7989
  return false;
7896
7990
  }
@@ -7899,11 +7993,19 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7899
7993
  else if (count > 1) state.result += common.repeat("\n", count - 1);
7900
7994
  }
7901
7995
  function readPlainScalar(state, nodeIndent, withinFlowCollection) {
7902
- var preceding, following, captureStart, captureEnd, hasPendingContent, _line, _lineStart, _lineIndent, _kind = state.kind, _result = state.result, ch = state.input.charCodeAt(state.position);
7903
- if (is_WS_OR_EOL(ch) || is_FLOW_INDICATOR(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96) return false;
7996
+ let captureStart;
7997
+ let captureEnd;
7998
+ let hasPendingContent;
7999
+ let _line;
8000
+ let _lineStart;
8001
+ let _lineIndent;
8002
+ const _kind = state.kind;
8003
+ const _result = state.result;
8004
+ let ch = state.input.charCodeAt(state.position);
8005
+ if (isWsOrEol(ch) || isFlowIndicator(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96) return false;
7904
8006
  if (ch === 63 || ch === 45) {
7905
- following = state.input.charCodeAt(state.position + 1);
7906
- if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) return false;
8007
+ const following = state.input.charCodeAt(state.position + 1);
8008
+ if (isWsOrEol(following) || withinFlowCollection && isFlowIndicator(following)) return false;
7907
8009
  }
7908
8010
  state.kind = "scalar";
7909
8011
  state.result = "";
@@ -7911,13 +8013,12 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7911
8013
  hasPendingContent = false;
7912
8014
  while (ch !== 0) {
7913
8015
  if (ch === 58) {
7914
- following = state.input.charCodeAt(state.position + 1);
7915
- if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) break;
8016
+ const following = state.input.charCodeAt(state.position + 1);
8017
+ if (isWsOrEol(following) || withinFlowCollection && isFlowIndicator(following)) break;
7916
8018
  } else if (ch === 35) {
7917
- preceding = state.input.charCodeAt(state.position - 1);
7918
- if (is_WS_OR_EOL(preceding)) break;
7919
- } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && is_FLOW_INDICATOR(ch)) break;
7920
- else if (is_EOL(ch)) {
8019
+ if (isWsOrEol(state.input.charCodeAt(state.position - 1))) break;
8020
+ } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && isFlowIndicator(ch)) break;
8021
+ else if (isEol(ch)) {
7921
8022
  _line = state.line;
7922
8023
  _lineStart = state.lineStart;
7923
8024
  _lineIndent = state.lineIndent;
@@ -7940,7 +8041,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7940
8041
  captureStart = captureEnd = state.position;
7941
8042
  hasPendingContent = false;
7942
8043
  }
7943
- if (!is_WHITE_SPACE(ch)) captureEnd = state.position + 1;
8044
+ if (!isWhiteSpace(ch)) captureEnd = state.position + 1;
7944
8045
  ch = state.input.charCodeAt(++state.position);
7945
8046
  }
7946
8047
  captureSegment(state, captureStart, captureEnd, false);
@@ -7950,7 +8051,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7950
8051
  return false;
7951
8052
  }
7952
8053
  function readSingleQuotedScalar(state, nodeIndent) {
7953
- var ch = state.input.charCodeAt(state.position), captureStart, captureEnd;
8054
+ let captureStart;
8055
+ let captureEnd;
8056
+ let ch = state.input.charCodeAt(state.position);
7954
8057
  if (ch !== 39) return false;
7955
8058
  state.kind = "scalar";
7956
8059
  state.result = "";
@@ -7964,19 +8067,22 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7964
8067
  state.position++;
7965
8068
  captureEnd = state.position;
7966
8069
  } else return true;
7967
- } else if (is_EOL(ch)) {
8070
+ } else if (isEol(ch)) {
7968
8071
  captureSegment(state, captureStart, captureEnd, true);
7969
8072
  writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
7970
8073
  captureStart = captureEnd = state.position;
7971
8074
  } else if (state.position === state.lineStart && testDocumentSeparator(state)) throwError(state, "unexpected end of the document within a single quoted scalar");
7972
8075
  else {
7973
8076
  state.position++;
7974
- captureEnd = state.position;
8077
+ if (!isWhiteSpace(ch)) captureEnd = state.position;
7975
8078
  }
7976
8079
  throwError(state, "unexpected end of the stream within a single quoted scalar");
7977
8080
  }
7978
8081
  function readDoubleQuotedScalar(state, nodeIndent) {
7979
- var captureStart, captureEnd, hexLength, hexResult, tmp, ch = state.input.charCodeAt(state.position);
8082
+ let captureStart;
8083
+ let captureEnd;
8084
+ let tmp;
8085
+ let ch = state.input.charCodeAt(state.position);
7980
8086
  if (ch !== 34) return false;
7981
8087
  state.kind = "scalar";
7982
8088
  state.result = "";
@@ -7989,13 +8095,13 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7989
8095
  } else if (ch === 92) {
7990
8096
  captureSegment(state, captureStart, state.position, true);
7991
8097
  ch = state.input.charCodeAt(++state.position);
7992
- if (is_EOL(ch)) skipSeparationSpace(state, false, nodeIndent);
8098
+ if (isEol(ch)) skipSeparationSpace(state, false, nodeIndent);
7993
8099
  else if (ch < 256 && simpleEscapeCheck[ch]) {
7994
8100
  state.result += simpleEscapeMap[ch];
7995
8101
  state.position++;
7996
8102
  } else if ((tmp = escapedHexLen(ch)) > 0) {
7997
- hexLength = tmp;
7998
- hexResult = 0;
8103
+ let hexLength = tmp;
8104
+ let hexResult = 0;
7999
8105
  for (; hexLength > 0; hexLength--) {
8000
8106
  ch = state.input.charCodeAt(++state.position);
8001
8107
  if ((tmp = fromHexCode(ch)) >= 0) hexResult = (hexResult << 4) + tmp;
@@ -8005,19 +8111,34 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8005
8111
  state.position++;
8006
8112
  } else throwError(state, "unknown escape sequence");
8007
8113
  captureStart = captureEnd = state.position;
8008
- } else if (is_EOL(ch)) {
8114
+ } else if (isEol(ch)) {
8009
8115
  captureSegment(state, captureStart, captureEnd, true);
8010
8116
  writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
8011
8117
  captureStart = captureEnd = state.position;
8012
8118
  } else if (state.position === state.lineStart && testDocumentSeparator(state)) throwError(state, "unexpected end of the document within a double quoted scalar");
8013
8119
  else {
8014
8120
  state.position++;
8015
- captureEnd = state.position;
8121
+ if (!isWhiteSpace(ch)) captureEnd = state.position;
8016
8122
  }
8017
8123
  throwError(state, "unexpected end of the stream within a double quoted scalar");
8018
8124
  }
8019
8125
  function readFlowCollection(state, nodeIndent) {
8020
- var readNext = true, _line, _lineStart, _pos, _tag = state.tag, _result, _anchor = state.anchor, following, terminator, isPair, isExplicitPair, isMapping, overridableKeys = Object.create(null), keyNode, keyTag, valueNode, ch = state.input.charCodeAt(state.position);
8126
+ let readNext = true;
8127
+ let _line;
8128
+ let _lineStart;
8129
+ let _pos;
8130
+ const _tag = state.tag;
8131
+ let _result;
8132
+ const _anchor = state.anchor;
8133
+ let terminator;
8134
+ let isPair;
8135
+ let isExplicitPair;
8136
+ let isMapping;
8137
+ const overridableKeys = Object.create(null);
8138
+ let keyNode;
8139
+ let keyTag;
8140
+ let valueNode;
8141
+ let ch = state.input.charCodeAt(state.position);
8021
8142
  if (ch === 91) {
8022
8143
  terminator = 93;
8023
8144
  isMapping = false;
@@ -8027,7 +8148,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8027
8148
  isMapping = true;
8028
8149
  _result = {};
8029
8150
  } else return false;
8030
- if (state.anchor !== null) state.anchorMap[state.anchor] = _result;
8151
+ if (state.anchor !== null) storeAnchor(state, state.anchor, _result);
8031
8152
  ch = state.input.charCodeAt(++state.position);
8032
8153
  while (ch !== 0) {
8033
8154
  skipSeparationSpace(state, true, nodeIndent);
@@ -8044,8 +8165,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8044
8165
  keyTag = keyNode = valueNode = null;
8045
8166
  isPair = isExplicitPair = false;
8046
8167
  if (ch === 63) {
8047
- following = state.input.charCodeAt(state.position + 1);
8048
- if (is_WS_OR_EOL(following)) {
8168
+ if (isWsOrEol(state.input.charCodeAt(state.position + 1))) {
8049
8169
  isPair = isExplicitPair = true;
8050
8170
  state.position++;
8051
8171
  skipSeparationSpace(state, true, nodeIndent);
@@ -8079,7 +8199,15 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8079
8199
  throwError(state, "unexpected end of the stream within a flow collection");
8080
8200
  }
8081
8201
  function readBlockScalar(state, nodeIndent) {
8082
- var captureStart, folding, chomping = CHOMPING_CLIP, didReadContent = false, detectedIndent = false, textIndent = nodeIndent, emptyLines = 0, atMoreIndented = false, tmp, ch = state.input.charCodeAt(state.position);
8202
+ let folding;
8203
+ let chomping = CHOMPING_CLIP;
8204
+ let didReadContent = false;
8205
+ let detectedIndent = false;
8206
+ let textIndent = nodeIndent;
8207
+ let emptyLines = 0;
8208
+ let atMoreIndented = false;
8209
+ let tmp;
8210
+ let ch = state.input.charCodeAt(state.position);
8083
8211
  if (ch === 124) folding = false;
8084
8212
  else if (ch === 62) folding = true;
8085
8213
  else return false;
@@ -8096,13 +8224,13 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8096
8224
  } else throwError(state, "repeat of an indentation width identifier");
8097
8225
  else break;
8098
8226
  }
8099
- if (is_WHITE_SPACE(ch)) {
8227
+ if (isWhiteSpace(ch)) {
8100
8228
  do
8101
8229
  ch = state.input.charCodeAt(++state.position);
8102
- while (is_WHITE_SPACE(ch));
8230
+ while (isWhiteSpace(ch));
8103
8231
  if (ch === 35) do
8104
8232
  ch = state.input.charCodeAt(++state.position);
8105
- while (!is_EOL(ch) && ch !== 0);
8233
+ while (!isEol(ch) && ch !== 0);
8106
8234
  }
8107
8235
  while (ch !== 0) {
8108
8236
  readLineBreak(state);
@@ -8113,10 +8241,11 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8113
8241
  ch = state.input.charCodeAt(++state.position);
8114
8242
  }
8115
8243
  if (!detectedIndent && state.lineIndent > textIndent) textIndent = state.lineIndent;
8116
- if (is_EOL(ch)) {
8244
+ if (isEol(ch)) {
8117
8245
  emptyLines++;
8118
8246
  continue;
8119
8247
  }
8248
+ if (!detectedIndent && textIndent === 0) throwError(state, "missing indentation for block scalar");
8120
8249
  if (state.lineIndent < textIndent) {
8121
8250
  if (chomping === CHOMPING_KEEP) state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
8122
8251
  else if (chomping === CHOMPING_CLIP) {
@@ -8124,7 +8253,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8124
8253
  }
8125
8254
  break;
8126
8255
  }
8127
- if (folding) if (is_WHITE_SPACE(ch)) {
8256
+ if (folding) if (isWhiteSpace(ch)) {
8128
8257
  atMoreIndented = true;
8129
8258
  state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
8130
8259
  } else if (atMoreIndented) {
@@ -8137,25 +8266,27 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8137
8266
  didReadContent = true;
8138
8267
  detectedIndent = true;
8139
8268
  emptyLines = 0;
8140
- captureStart = state.position;
8141
- while (!is_EOL(ch) && ch !== 0) ch = state.input.charCodeAt(++state.position);
8269
+ const captureStart = state.position;
8270
+ while (!isEol(ch) && ch !== 0) ch = state.input.charCodeAt(++state.position);
8142
8271
  captureSegment(state, captureStart, state.position, false);
8143
8272
  }
8144
8273
  return true;
8145
8274
  }
8146
8275
  function readBlockSequence(state, nodeIndent) {
8147
- var _line, _tag = state.tag, _anchor = state.anchor, _result = [], following, detected = false, ch;
8276
+ const _tag = state.tag;
8277
+ const _anchor = state.anchor;
8278
+ const _result = [];
8279
+ let detected = false;
8148
8280
  if (state.firstTabInLine !== -1) return false;
8149
- if (state.anchor !== null) state.anchorMap[state.anchor] = _result;
8150
- ch = state.input.charCodeAt(state.position);
8281
+ if (state.anchor !== null) storeAnchor(state, state.anchor, _result);
8282
+ let ch = state.input.charCodeAt(state.position);
8151
8283
  while (ch !== 0) {
8152
8284
  if (state.firstTabInLine !== -1) {
8153
8285
  state.position = state.firstTabInLine;
8154
8286
  throwError(state, "tab characters must not be used in indentation");
8155
8287
  }
8156
8288
  if (ch !== 45) break;
8157
- following = state.input.charCodeAt(state.position + 1);
8158
- if (!is_WS_OR_EOL(following)) break;
8289
+ if (!isWsOrEol(state.input.charCodeAt(state.position + 1))) break;
8159
8290
  detected = true;
8160
8291
  state.position++;
8161
8292
  if (skipSeparationSpace(state, true, -1)) {
@@ -8165,7 +8296,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8165
8296
  continue;
8166
8297
  }
8167
8298
  }
8168
- _line = state.line;
8299
+ const _line = state.line;
8169
8300
  composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
8170
8301
  _result.push(state.result);
8171
8302
  skipSeparationSpace(state, true, -1);
@@ -8183,18 +8314,30 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8183
8314
  return false;
8184
8315
  }
8185
8316
  function readBlockMapping(state, nodeIndent, flowIndent) {
8186
- var following, allowCompact, _line, _keyLine, _keyLineStart, _keyPos, _tag = state.tag, _anchor = state.anchor, _result = {}, overridableKeys = Object.create(null), keyTag = null, keyNode = null, valueNode = null, atExplicitKey = false, detected = false, ch;
8317
+ let allowCompact;
8318
+ let _keyLine;
8319
+ let _keyLineStart;
8320
+ let _keyPos;
8321
+ const _tag = state.tag;
8322
+ const _anchor = state.anchor;
8323
+ const _result = {};
8324
+ const overridableKeys = Object.create(null);
8325
+ let keyTag = null;
8326
+ let keyNode = null;
8327
+ let valueNode = null;
8328
+ let atExplicitKey = false;
8329
+ let detected = false;
8187
8330
  if (state.firstTabInLine !== -1) return false;
8188
- if (state.anchor !== null) state.anchorMap[state.anchor] = _result;
8189
- ch = state.input.charCodeAt(state.position);
8331
+ if (state.anchor !== null) storeAnchor(state, state.anchor, _result);
8332
+ let ch = state.input.charCodeAt(state.position);
8190
8333
  while (ch !== 0) {
8191
8334
  if (!atExplicitKey && state.firstTabInLine !== -1) {
8192
8335
  state.position = state.firstTabInLine;
8193
8336
  throwError(state, "tab characters must not be used in indentation");
8194
8337
  }
8195
- following = state.input.charCodeAt(state.position + 1);
8196
- _line = state.line;
8197
- if ((ch === 63 || ch === 58) && is_WS_OR_EOL(following)) {
8338
+ const following = state.input.charCodeAt(state.position + 1);
8339
+ const _line = state.line;
8340
+ if ((ch === 63 || ch === 58) && isWsOrEol(following)) {
8198
8341
  if (ch === 63) {
8199
8342
  if (atExplicitKey) {
8200
8343
  storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
@@ -8216,10 +8359,10 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8216
8359
  if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) break;
8217
8360
  if (state.line === _line) {
8218
8361
  ch = state.input.charCodeAt(state.position);
8219
- while (is_WHITE_SPACE(ch)) ch = state.input.charCodeAt(++state.position);
8362
+ while (isWhiteSpace(ch)) ch = state.input.charCodeAt(++state.position);
8220
8363
  if (ch === 58) {
8221
8364
  ch = state.input.charCodeAt(++state.position);
8222
- if (!is_WS_OR_EOL(ch)) throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
8365
+ if (!isWsOrEol(ch)) throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
8223
8366
  if (atExplicitKey) {
8224
8367
  storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
8225
8368
  keyTag = keyNode = valueNode = null;
@@ -8270,7 +8413,11 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8270
8413
  return detected;
8271
8414
  }
8272
8415
  function readTagProperty(state) {
8273
- var _position, isVerbatim = false, isNamed = false, tagHandle, tagName, ch = state.input.charCodeAt(state.position);
8416
+ let isVerbatim = false;
8417
+ let isNamed = false;
8418
+ let tagHandle;
8419
+ let tagName;
8420
+ let ch = state.input.charCodeAt(state.position);
8274
8421
  if (ch !== 33) return false;
8275
8422
  if (state.tag !== null) throwError(state, "duplication of a tag property");
8276
8423
  ch = state.input.charCodeAt(++state.position);
@@ -8282,7 +8429,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8282
8429
  tagHandle = "!!";
8283
8430
  ch = state.input.charCodeAt(++state.position);
8284
8431
  } else tagHandle = "!";
8285
- _position = state.position;
8432
+ let _position = state.position;
8286
8433
  if (isVerbatim) {
8287
8434
  do
8288
8435
  ch = state.input.charCodeAt(++state.position);
@@ -8292,7 +8439,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8292
8439
  ch = state.input.charCodeAt(++state.position);
8293
8440
  } else throwError(state, "unexpected end of the stream within a verbatim tag");
8294
8441
  } else {
8295
- while (ch !== 0 && !is_WS_OR_EOL(ch)) {
8442
+ while (ch !== 0 && !isWsOrEol(ch)) {
8296
8443
  if (ch === 33) if (!isNamed) {
8297
8444
  tagHandle = state.input.slice(_position - 1, state.position + 1);
8298
8445
  if (!PATTERN_TAG_HANDLE.test(tagHandle)) throwError(state, "named tag handle cannot contain such characters");
@@ -8318,37 +8465,63 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8318
8465
  return true;
8319
8466
  }
8320
8467
  function readAnchorProperty(state) {
8321
- var _position, ch = state.input.charCodeAt(state.position);
8468
+ let ch = state.input.charCodeAt(state.position);
8322
8469
  if (ch !== 38) return false;
8323
8470
  if (state.anchor !== null) throwError(state, "duplication of an anchor property");
8324
8471
  ch = state.input.charCodeAt(++state.position);
8325
- _position = state.position;
8326
- while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) ch = state.input.charCodeAt(++state.position);
8472
+ const _position = state.position;
8473
+ while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch)) ch = state.input.charCodeAt(++state.position);
8327
8474
  if (state.position === _position) throwError(state, "name of an anchor node must contain at least one character");
8328
8475
  state.anchor = state.input.slice(_position, state.position);
8329
8476
  return true;
8330
8477
  }
8331
8478
  function readAlias(state) {
8332
- var _position, alias, ch = state.input.charCodeAt(state.position);
8479
+ let ch = state.input.charCodeAt(state.position);
8333
8480
  if (ch !== 42) return false;
8334
8481
  ch = state.input.charCodeAt(++state.position);
8335
- _position = state.position;
8336
- while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) ch = state.input.charCodeAt(++state.position);
8482
+ const _position = state.position;
8483
+ while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch)) ch = state.input.charCodeAt(++state.position);
8337
8484
  if (state.position === _position) throwError(state, "name of an alias node must contain at least one character");
8338
- alias = state.input.slice(_position, state.position);
8485
+ const alias = state.input.slice(_position, state.position);
8339
8486
  if (!_hasOwnProperty.call(state.anchorMap, alias)) throwError(state, "unidentified alias \"" + alias + "\"");
8340
8487
  state.result = state.anchorMap[alias];
8341
8488
  skipSeparationSpace(state, true, -1);
8342
8489
  return true;
8343
8490
  }
8491
+ function tryReadBlockMappingFromProperty(state, propertyStart, nodeIndent, flowIndent) {
8492
+ const fallbackState = snapshotState(state);
8493
+ beginAnchorTransaction(state);
8494
+ restoreState(state, propertyStart);
8495
+ state.tag = null;
8496
+ state.anchor = null;
8497
+ state.kind = null;
8498
+ state.result = null;
8499
+ if (readBlockMapping(state, nodeIndent, flowIndent) && state.kind === "mapping") {
8500
+ commitAnchorTransaction(state);
8501
+ return true;
8502
+ }
8503
+ rollbackAnchorTransaction(state);
8504
+ restoreState(state, fallbackState);
8505
+ return false;
8506
+ }
8344
8507
  function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
8345
- var allowBlockStyles, allowBlockScalars, allowBlockCollections, indentStatus = 1, atNewLine = false, hasContent = false, typeIndex, typeQuantity, typeList, type, flowIndent, blockIndent;
8508
+ let allowBlockScalars;
8509
+ let allowBlockCollections;
8510
+ let indentStatus = 1;
8511
+ let atNewLine = false;
8512
+ let hasContent = false;
8513
+ let propertyStart = null;
8514
+ let type;
8515
+ let flowIndent;
8516
+ let blockIndent;
8517
+ if (state.depth >= state.maxDepth) throwError(state, "nesting exceeded maxDepth (" + state.maxDepth + ")");
8518
+ state.depth += 1;
8346
8519
  if (state.listener !== null) state.listener("open", state);
8347
8520
  state.tag = null;
8348
8521
  state.anchor = null;
8349
8522
  state.kind = null;
8350
8523
  state.result = null;
8351
- allowBlockStyles = allowBlockScalars = allowBlockCollections = CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext;
8524
+ const allowBlockStyles = allowBlockScalars = allowBlockCollections = CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext;
8352
8525
  if (allowToSeek) {
8353
8526
  if (skipSeparationSpace(state, true, -1)) {
8354
8527
  atNewLine = true;
@@ -8357,13 +8530,20 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8357
8530
  else if (state.lineIndent < parentIndent) indentStatus = -1;
8358
8531
  }
8359
8532
  }
8360
- if (indentStatus === 1) while (readTagProperty(state) || readAnchorProperty(state)) if (skipSeparationSpace(state, true, -1)) {
8361
- atNewLine = true;
8362
- allowBlockCollections = allowBlockStyles;
8363
- if (state.lineIndent > parentIndent) indentStatus = 1;
8364
- else if (state.lineIndent === parentIndent) indentStatus = 0;
8365
- else if (state.lineIndent < parentIndent) indentStatus = -1;
8366
- } else allowBlockCollections = false;
8533
+ if (indentStatus === 1) while (true) {
8534
+ const ch = state.input.charCodeAt(state.position);
8535
+ const propertyState = snapshotState(state);
8536
+ if (atNewLine && (ch === 33 && state.tag !== null || ch === 38 && state.anchor !== null)) break;
8537
+ if (!readTagProperty(state) && !readAnchorProperty(state)) break;
8538
+ if (propertyStart === null) propertyStart = propertyState;
8539
+ if (skipSeparationSpace(state, true, -1)) {
8540
+ atNewLine = true;
8541
+ allowBlockCollections = allowBlockStyles;
8542
+ if (state.lineIndent > parentIndent) indentStatus = 1;
8543
+ else if (state.lineIndent === parentIndent) indentStatus = 0;
8544
+ else if (state.lineIndent < parentIndent) indentStatus = -1;
8545
+ } else allowBlockCollections = false;
8546
+ }
8367
8547
  if (allowBlockCollections) allowBlockCollections = atNewLine || allowCompact;
8368
8548
  if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
8369
8549
  if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) flowIndent = parentIndent;
@@ -8371,7 +8551,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8371
8551
  blockIndent = state.position - state.lineStart;
8372
8552
  if (indentStatus === 1) if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) hasContent = true;
8373
8553
  else {
8374
- if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) hasContent = true;
8554
+ const ch = state.input.charCodeAt(state.position);
8555
+ if (propertyStart !== null && allowBlockStyles && !allowBlockCollections && ch !== 124 && ch !== 62 && tryReadBlockMappingFromProperty(state, propertyStart, propertyStart.position - propertyStart.lineStart, flowIndent)) hasContent = true;
8556
+ else if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) hasContent = true;
8375
8557
  else if (readAlias(state)) {
8376
8558
  hasContent = true;
8377
8559
  if (state.tag !== null || state.anchor !== null) throwError(state, "alias node should not have any properties");
@@ -8379,20 +8561,20 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8379
8561
  hasContent = true;
8380
8562
  if (state.tag === null) state.tag = "?";
8381
8563
  }
8382
- if (state.anchor !== null) state.anchorMap[state.anchor] = state.result;
8564
+ if (state.anchor !== null) storeAnchor(state, state.anchor, state.result);
8383
8565
  }
8384
8566
  else if (indentStatus === 0) hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
8385
8567
  }
8386
8568
  if (state.tag === null) {
8387
- if (state.anchor !== null) state.anchorMap[state.anchor] = state.result;
8569
+ if (state.anchor !== null) storeAnchor(state, state.anchor, state.result);
8388
8570
  } else if (state.tag === "?") {
8389
8571
  if (state.result !== null && state.kind !== "scalar") throwError(state, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + state.kind + "\"");
8390
- for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
8572
+ for (let typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
8391
8573
  type = state.implicitTypes[typeIndex];
8392
8574
  if (type.resolve(state.result)) {
8393
8575
  state.result = type.construct(state.result);
8394
8576
  state.tag = type.tag;
8395
- if (state.anchor !== null) state.anchorMap[state.anchor] = state.result;
8577
+ if (state.anchor !== null) storeAnchor(state, state.anchor, state.result);
8396
8578
  break;
8397
8579
  }
8398
8580
  }
@@ -8400,8 +8582,8 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8400
8582
  if (_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag)) type = state.typeMap[state.kind || "fallback"][state.tag];
8401
8583
  else {
8402
8584
  type = null;
8403
- typeList = state.typeMap.multi[state.kind || "fallback"];
8404
- for (typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {
8585
+ const typeList = state.typeMap.multi[state.kind || "fallback"];
8586
+ for (let typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {
8405
8587
  type = typeList[typeIndex];
8406
8588
  break;
8407
8589
  }
@@ -8411,14 +8593,17 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8411
8593
  if (!type.resolve(state.result, state.tag)) throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag");
8412
8594
  else {
8413
8595
  state.result = type.construct(state.result, state.tag);
8414
- if (state.anchor !== null) state.anchorMap[state.anchor] = state.result;
8596
+ if (state.anchor !== null) storeAnchor(state, state.anchor, state.result);
8415
8597
  }
8416
8598
  }
8417
8599
  if (state.listener !== null) state.listener("close", state);
8600
+ state.depth -= 1;
8418
8601
  return state.tag !== null || state.anchor !== null || hasContent;
8419
8602
  }
8420
8603
  function readDocument(state) {
8421
- var documentStart = state.position, _position, directiveName, directiveArgs, hasDirectives = false, ch;
8604
+ const documentStart = state.position;
8605
+ let hasDirectives = false;
8606
+ let ch;
8422
8607
  state.version = null;
8423
8608
  state.checkLineBreaks = state.legacy;
8424
8609
  state.tagMap = Object.create(null);
@@ -8429,22 +8614,22 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8429
8614
  if (state.lineIndent > 0 || ch !== 37) break;
8430
8615
  hasDirectives = true;
8431
8616
  ch = state.input.charCodeAt(++state.position);
8432
- _position = state.position;
8433
- while (ch !== 0 && !is_WS_OR_EOL(ch)) ch = state.input.charCodeAt(++state.position);
8434
- directiveName = state.input.slice(_position, state.position);
8435
- directiveArgs = [];
8617
+ let _position = state.position;
8618
+ while (ch !== 0 && !isWsOrEol(ch)) ch = state.input.charCodeAt(++state.position);
8619
+ const directiveName = state.input.slice(_position, state.position);
8620
+ const directiveArgs = [];
8436
8621
  if (directiveName.length < 1) throwError(state, "directive name must not be less than one character in length");
8437
8622
  while (ch !== 0) {
8438
- while (is_WHITE_SPACE(ch)) ch = state.input.charCodeAt(++state.position);
8623
+ while (isWhiteSpace(ch)) ch = state.input.charCodeAt(++state.position);
8439
8624
  if (ch === 35) {
8440
8625
  do
8441
8626
  ch = state.input.charCodeAt(++state.position);
8442
- while (ch !== 0 && !is_EOL(ch));
8627
+ while (ch !== 0 && !isEol(ch));
8443
8628
  break;
8444
8629
  }
8445
- if (is_EOL(ch)) break;
8630
+ if (isEol(ch)) break;
8446
8631
  _position = state.position;
8447
- while (ch !== 0 && !is_WS_OR_EOL(ch)) ch = state.input.charCodeAt(++state.position);
8632
+ while (ch !== 0 && !isWsOrEol(ch)) ch = state.input.charCodeAt(++state.position);
8448
8633
  directiveArgs.push(state.input.slice(_position, state.position));
8449
8634
  }
8450
8635
  if (ch !== 0) readLineBreak(state);
@@ -8468,7 +8653,6 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8468
8653
  return;
8469
8654
  }
8470
8655
  if (state.position < state.length - 1) throwError(state, "end of the stream or a document separator is expected");
8471
- else return;
8472
8656
  }
8473
8657
  function loadDocuments(input, options) {
8474
8658
  input = String(input);
@@ -8477,8 +8661,8 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8477
8661
  if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13) input += "\n";
8478
8662
  if (input.charCodeAt(0) === 65279) input = input.slice(1);
8479
8663
  }
8480
- var state = new State(input, options);
8481
- var nullpos = input.indexOf("\0");
8664
+ const state = new State(input, options);
8665
+ const nullpos = input.indexOf("\0");
8482
8666
  if (nullpos !== -1) {
8483
8667
  state.position = nullpos;
8484
8668
  throwError(state, "null byte is not allowed in input");
@@ -8496,12 +8680,12 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8496
8680
  options = iterator;
8497
8681
  iterator = null;
8498
8682
  }
8499
- var documents = loadDocuments(input, options);
8683
+ const documents = loadDocuments(input, options);
8500
8684
  if (typeof iterator !== "function") return documents;
8501
- for (var index = 0, length = documents.length; index < length; index += 1) iterator(documents[index]);
8685
+ for (let index = 0, length = documents.length; index < length; index += 1) iterator(documents[index]);
8502
8686
  }
8503
8687
  function load(input, options) {
8504
- var documents = loadDocuments(input, options);
8688
+ const documents = loadDocuments(input, options);
8505
8689
  if (documents.length === 0) return;
8506
8690
  else if (documents.length === 1) return documents[0];
8507
8691
  throw new YAMLException("expected a single document in the stream, but found more");
@@ -8510,39 +8694,39 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8510
8694
  module.exports.load = load;
8511
8695
  }));
8512
8696
  //#endregion
8513
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/dumper.js
8697
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/dumper.js
8514
8698
  var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8515
- var common = require_common();
8516
- var YAMLException = require_exception();
8517
- var DEFAULT_SCHEMA = require_default();
8518
- var _toString = Object.prototype.toString;
8519
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
8520
- var CHAR_BOM = 65279;
8521
- var CHAR_TAB = 9;
8522
- var CHAR_LINE_FEED = 10;
8523
- var CHAR_CARRIAGE_RETURN = 13;
8524
- var CHAR_SPACE = 32;
8525
- var CHAR_EXCLAMATION = 33;
8526
- var CHAR_DOUBLE_QUOTE = 34;
8527
- var CHAR_SHARP = 35;
8528
- var CHAR_PERCENT = 37;
8529
- var CHAR_AMPERSAND = 38;
8530
- var CHAR_SINGLE_QUOTE = 39;
8531
- var CHAR_ASTERISK = 42;
8532
- var CHAR_COMMA = 44;
8533
- var CHAR_MINUS = 45;
8534
- var CHAR_COLON = 58;
8535
- var CHAR_EQUALS = 61;
8536
- var CHAR_GREATER_THAN = 62;
8537
- var CHAR_QUESTION = 63;
8538
- var CHAR_COMMERCIAL_AT = 64;
8539
- var CHAR_LEFT_SQUARE_BRACKET = 91;
8540
- var CHAR_RIGHT_SQUARE_BRACKET = 93;
8541
- var CHAR_GRAVE_ACCENT = 96;
8542
- var CHAR_LEFT_CURLY_BRACKET = 123;
8543
- var CHAR_VERTICAL_LINE = 124;
8544
- var CHAR_RIGHT_CURLY_BRACKET = 125;
8545
- var ESCAPE_SEQUENCES = {};
8699
+ const common = require_common();
8700
+ const YAMLException = require_exception();
8701
+ const DEFAULT_SCHEMA = require_default();
8702
+ const _toString = Object.prototype.toString;
8703
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
8704
+ const CHAR_BOM = 65279;
8705
+ const CHAR_TAB = 9;
8706
+ const CHAR_LINE_FEED = 10;
8707
+ const CHAR_CARRIAGE_RETURN = 13;
8708
+ const CHAR_SPACE = 32;
8709
+ const CHAR_EXCLAMATION = 33;
8710
+ const CHAR_DOUBLE_QUOTE = 34;
8711
+ const CHAR_SHARP = 35;
8712
+ const CHAR_PERCENT = 37;
8713
+ const CHAR_AMPERSAND = 38;
8714
+ const CHAR_SINGLE_QUOTE = 39;
8715
+ const CHAR_ASTERISK = 42;
8716
+ const CHAR_COMMA = 44;
8717
+ const CHAR_MINUS = 45;
8718
+ const CHAR_COLON = 58;
8719
+ const CHAR_EQUALS = 61;
8720
+ const CHAR_GREATER_THAN = 62;
8721
+ const CHAR_QUESTION = 63;
8722
+ const CHAR_COMMERCIAL_AT = 64;
8723
+ const CHAR_LEFT_SQUARE_BRACKET = 91;
8724
+ const CHAR_RIGHT_SQUARE_BRACKET = 93;
8725
+ const CHAR_GRAVE_ACCENT = 96;
8726
+ const CHAR_LEFT_CURLY_BRACKET = 123;
8727
+ const CHAR_VERTICAL_LINE = 124;
8728
+ const CHAR_RIGHT_CURLY_BRACKET = 125;
8729
+ const ESCAPE_SEQUENCES = {};
8546
8730
  ESCAPE_SEQUENCES[0] = "\\0";
8547
8731
  ESCAPE_SEQUENCES[7] = "\\a";
8548
8732
  ESCAPE_SEQUENCES[8] = "\\b";
@@ -8558,7 +8742,7 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8558
8742
  ESCAPE_SEQUENCES[160] = "\\_";
8559
8743
  ESCAPE_SEQUENCES[8232] = "\\L";
8560
8744
  ESCAPE_SEQUENCES[8233] = "\\P";
8561
- var DEPRECATED_BOOLEANS_SYNTAX = [
8745
+ const DEPRECATED_BOOLEANS_SYNTAX = [
8562
8746
  "y",
8563
8747
  "Y",
8564
8748
  "yes",
@@ -8576,24 +8760,25 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8576
8760
  "Off",
8577
8761
  "OFF"
8578
8762
  ];
8579
- var DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
8763
+ const DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
8580
8764
  function compileStyleMap(schema, map) {
8581
- var result, keys, index, length, tag, style, type;
8582
8765
  if (map === null) return {};
8583
- result = {};
8584
- keys = Object.keys(map);
8585
- for (index = 0, length = keys.length; index < length; index += 1) {
8586
- tag = keys[index];
8587
- style = String(map[tag]);
8766
+ const result = {};
8767
+ const keys = Object.keys(map);
8768
+ for (let index = 0, length = keys.length; index < length; index += 1) {
8769
+ let tag = keys[index];
8770
+ let style = String(map[tag]);
8588
8771
  if (tag.slice(0, 2) === "!!") tag = "tag:yaml.org,2002:" + tag.slice(2);
8589
- type = schema.compiledTypeMap["fallback"][tag];
8772
+ const type = schema.compiledTypeMap["fallback"][tag];
8590
8773
  if (type && _hasOwnProperty.call(type.styleAliases, style)) style = type.styleAliases[style];
8591
8774
  result[tag] = style;
8592
8775
  }
8593
8776
  return result;
8594
8777
  }
8595
8778
  function encodeHex(character) {
8596
- var string = character.toString(16).toUpperCase(), handle, length;
8779
+ let handle;
8780
+ let length;
8781
+ const string = character.toString(16).toUpperCase();
8597
8782
  if (character <= 255) {
8598
8783
  handle = "x";
8599
8784
  length = 2;
@@ -8606,8 +8791,8 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8606
8791
  } else throw new YAMLException("code point within a string may not be greater than 0xFFFFFFFF");
8607
8792
  return "\\" + handle + common.repeat("0", length - string.length) + string;
8608
8793
  }
8609
- var QUOTING_TYPE_SINGLE = 1;
8610
- var QUOTING_TYPE_DOUBLE = 2;
8794
+ const QUOTING_TYPE_SINGLE = 1;
8795
+ const QUOTING_TYPE_DOUBLE = 2;
8611
8796
  function State(options) {
8612
8797
  this.schema = options["schema"] || DEFAULT_SCHEMA;
8613
8798
  this.indent = Math.max(1, options["indent"] || 2);
@@ -8631,9 +8816,13 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8631
8816
  this.usedDuplicates = null;
8632
8817
  }
8633
8818
  function indentString(string, spaces) {
8634
- var ind = common.repeat(" ", spaces), position = 0, next = -1, result = "", line, length = string.length;
8819
+ const ind = common.repeat(" ", spaces);
8820
+ let position = 0;
8821
+ let result = "";
8822
+ const length = string.length;
8635
8823
  while (position < length) {
8636
- next = string.indexOf("\n", position);
8824
+ let line;
8825
+ const next = string.indexOf("\n", position);
8637
8826
  if (next === -1) {
8638
8827
  line = string.slice(position);
8639
8828
  position = length;
@@ -8650,25 +8839,21 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8650
8839
  return "\n" + common.repeat(" ", state.indent * level);
8651
8840
  }
8652
8841
  function testImplicitResolving(state, str) {
8653
- var index, length, type;
8654
- for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {
8655
- type = state.implicitTypes[index];
8656
- if (type.resolve(str)) return true;
8657
- }
8842
+ for (let index = 0, length = state.implicitTypes.length; index < length; index += 1) if (state.implicitTypes[index].resolve(str)) return true;
8658
8843
  return false;
8659
8844
  }
8660
8845
  function isWhitespace(c) {
8661
8846
  return c === CHAR_SPACE || c === CHAR_TAB;
8662
8847
  }
8663
8848
  function isPrintable(c) {
8664
- return 32 <= c && c <= 126 || 161 <= c && c <= 55295 && c !== 8232 && c !== 8233 || 57344 <= c && c <= 65533 && c !== CHAR_BOM || 65536 <= c && c <= 1114111;
8849
+ return c >= 32 && c <= 126 || c >= 161 && c <= 55295 && c !== 8232 && c !== 8233 || c >= 57344 && c <= 65533 && c !== CHAR_BOM || c >= 65536 && c <= 1114111;
8665
8850
  }
8666
8851
  function isNsCharOrWhitespace(c) {
8667
8852
  return isPrintable(c) && c !== CHAR_BOM && c !== CHAR_CARRIAGE_RETURN && c !== CHAR_LINE_FEED;
8668
8853
  }
8669
8854
  function isPlainSafe(c, prev, inblock) {
8670
- var cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);
8671
- var cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);
8855
+ const cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);
8856
+ const cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);
8672
8857
  return (inblock ? cIsNsCharOrWhitespace : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar;
8673
8858
  }
8674
8859
  function isPlainSafeFirst(c) {
@@ -8678,7 +8863,8 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8678
8863
  return !isWhitespace(c) && c !== CHAR_COLON;
8679
8864
  }
8680
8865
  function codePointAt(string, pos) {
8681
- var first = string.charCodeAt(pos), second;
8866
+ const first = string.charCodeAt(pos);
8867
+ let second;
8682
8868
  if (first >= 55296 && first <= 56319 && pos + 1 < string.length) {
8683
8869
  second = string.charCodeAt(pos + 1);
8684
8870
  if (second >= 56320 && second <= 57343) return (first - 55296) * 1024 + second - 56320 + 65536;
@@ -8688,20 +8874,20 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8688
8874
  function needIndentIndicator(string) {
8689
8875
  return /^\n* /.test(string);
8690
8876
  }
8691
- var STYLE_PLAIN = 1;
8692
- var STYLE_SINGLE = 2;
8693
- var STYLE_LITERAL = 3;
8694
- var STYLE_FOLDED = 4;
8695
- var STYLE_DOUBLE = 5;
8877
+ const STYLE_PLAIN = 1;
8878
+ const STYLE_SINGLE = 2;
8879
+ const STYLE_LITERAL = 3;
8880
+ const STYLE_FOLDED = 4;
8881
+ const STYLE_DOUBLE = 5;
8696
8882
  function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType, quotingType, forceQuotes, inblock) {
8697
- var i;
8698
- var char = 0;
8699
- var prevChar = null;
8700
- var hasLineBreak = false;
8701
- var hasFoldableLine = false;
8702
- var shouldTrackWidth = lineWidth !== -1;
8703
- var previousLineBreak = -1;
8704
- var plain = isPlainSafeFirst(codePointAt(string, 0)) && isPlainSafeLast(codePointAt(string, string.length - 1));
8883
+ let i;
8884
+ let char = 0;
8885
+ let prevChar = null;
8886
+ let hasLineBreak = false;
8887
+ let hasFoldableLine = false;
8888
+ const shouldTrackWidth = lineWidth !== -1;
8889
+ let previousLineBreak = -1;
8890
+ let plain = isPlainSafeFirst(codePointAt(string, 0)) && isPlainSafeLast(codePointAt(string, string.length - 1));
8705
8891
  if (singleLineOnly || forceQuotes) for (i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
8706
8892
  char = codePointAt(string, i);
8707
8893
  if (!isPrintable(char)) return STYLE_DOUBLE;
@@ -8737,9 +8923,9 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8737
8923
  if (!state.noCompatMode) {
8738
8924
  if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) return state.quotingType === QUOTING_TYPE_DOUBLE ? "\"" + string + "\"" : "'" + string + "'";
8739
8925
  }
8740
- var indent = state.indent * Math.max(1, level);
8741
- var lineWidth = state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);
8742
- var singleLineOnly = iskey || state.flowLevel > -1 && level >= state.flowLevel;
8926
+ const indent = state.indent * Math.max(1, level);
8927
+ const lineWidth = state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);
8928
+ const singleLineOnly = iskey || state.flowLevel > -1 && level >= state.flowLevel;
8743
8929
  function testAmbiguity(string) {
8744
8930
  return testImplicitResolving(state, string);
8745
8931
  }
@@ -8754,26 +8940,27 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8754
8940
  }();
8755
8941
  }
8756
8942
  function blockHeader(string, indentPerLevel) {
8757
- var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : "";
8758
- var clip = string[string.length - 1] === "\n";
8943
+ const indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : "";
8944
+ const clip = string[string.length - 1] === "\n";
8759
8945
  return indentIndicator + (clip && (string[string.length - 2] === "\n" || string === "\n") ? "+" : clip ? "" : "-") + "\n";
8760
8946
  }
8761
8947
  function dropEndingNewline(string) {
8762
8948
  return string[string.length - 1] === "\n" ? string.slice(0, -1) : string;
8763
8949
  }
8764
8950
  function foldString(string, width) {
8765
- var lineRe = /(\n+)([^\n]*)/g;
8766
- var result = function() {
8767
- var nextLF = string.indexOf("\n");
8951
+ const lineRe = /(\n+)([^\n]*)/g;
8952
+ let result = function() {
8953
+ let nextLF = string.indexOf("\n");
8768
8954
  nextLF = nextLF !== -1 ? nextLF : string.length;
8769
8955
  lineRe.lastIndex = nextLF;
8770
8956
  return foldLine(string.slice(0, nextLF), width);
8771
8957
  }();
8772
- var prevMoreIndented = string[0] === "\n" || string[0] === " ";
8773
- var moreIndented;
8774
- var match;
8958
+ let prevMoreIndented = string[0] === "\n" || string[0] === " ";
8959
+ let moreIndented;
8960
+ let match;
8775
8961
  while (match = lineRe.exec(string)) {
8776
- var prefix = match[1], line = match[2];
8962
+ const prefix = match[1];
8963
+ const line = match[2];
8777
8964
  moreIndented = line[0] === " ";
8778
8965
  result += prefix + (!prevMoreIndented && !moreIndented && line !== "" ? "\n" : "") + foldLine(line, width);
8779
8966
  prevMoreIndented = moreIndented;
@@ -8782,10 +8969,13 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8782
8969
  }
8783
8970
  function foldLine(line, width) {
8784
8971
  if (line === "" || line[0] === " ") return line;
8785
- var breakRe = / [^ ]/g;
8786
- var match;
8787
- var start = 0, end, curr = 0, next = 0;
8788
- var result = "";
8972
+ const breakRe = / [^ ]/g;
8973
+ let match;
8974
+ let start = 0;
8975
+ let end;
8976
+ let curr = 0;
8977
+ let next = 0;
8978
+ let result = "";
8789
8979
  while (match = breakRe.exec(line)) {
8790
8980
  next = match.index;
8791
8981
  if (next - start > width) {
@@ -8801,12 +8991,11 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8801
8991
  return result.slice(1);
8802
8992
  }
8803
8993
  function escapeString(string) {
8804
- var result = "";
8805
- var char = 0;
8806
- var escapeSeq;
8807
- for (var i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
8994
+ let result = "";
8995
+ let char = 0;
8996
+ for (let i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
8808
8997
  char = codePointAt(string, i);
8809
- escapeSeq = ESCAPE_SEQUENCES[char];
8998
+ const escapeSeq = ESCAPE_SEQUENCES[char];
8810
8999
  if (!escapeSeq && isPrintable(char)) {
8811
9000
  result += string[i];
8812
9001
  if (char >= 65536) result += string[i + 1];
@@ -8815,9 +9004,10 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8815
9004
  return result;
8816
9005
  }
8817
9006
  function writeFlowSequence(state, level, object) {
8818
- var _result = "", _tag = state.tag, index, length, value;
8819
- for (index = 0, length = object.length; index < length; index += 1) {
8820
- value = object[index];
9007
+ let _result = "";
9008
+ const _tag = state.tag;
9009
+ for (let index = 0, length = object.length; index < length; index += 1) {
9010
+ let value = object[index];
8821
9011
  if (state.replacer) value = state.replacer.call(object, String(index), value);
8822
9012
  if (writeNode(state, level, value, false, false) || typeof value === "undefined" && writeNode(state, level, null, false, false)) {
8823
9013
  if (_result !== "") _result += "," + (!state.condenseFlow ? " " : "");
@@ -8828,9 +9018,10 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8828
9018
  state.dump = "[" + _result + "]";
8829
9019
  }
8830
9020
  function writeBlockSequence(state, level, object, compact) {
8831
- var _result = "", _tag = state.tag, index, length, value;
8832
- for (index = 0, length = object.length; index < length; index += 1) {
8833
- value = object[index];
9021
+ let _result = "";
9022
+ const _tag = state.tag;
9023
+ for (let index = 0, length = object.length; index < length; index += 1) {
9024
+ let value = object[index];
8834
9025
  if (state.replacer) value = state.replacer.call(object, String(index), value);
8835
9026
  if (writeNode(state, level + 1, value, true, true, false, true) || typeof value === "undefined" && writeNode(state, level + 1, null, true, true, false, true)) {
8836
9027
  if (!compact || _result !== "") _result += generateNextLine(state, level);
@@ -8843,13 +9034,15 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8843
9034
  state.dump = _result || "[]";
8844
9035
  }
8845
9036
  function writeFlowMapping(state, level, object) {
8846
- var _result = "", _tag = state.tag, objectKeyList = Object.keys(object), index, length, objectKey, objectValue, pairBuffer;
8847
- for (index = 0, length = objectKeyList.length; index < length; index += 1) {
8848
- pairBuffer = "";
9037
+ let _result = "";
9038
+ const _tag = state.tag;
9039
+ const objectKeyList = Object.keys(object);
9040
+ for (let index = 0, length = objectKeyList.length; index < length; index += 1) {
9041
+ let pairBuffer = "";
8849
9042
  if (_result !== "") pairBuffer += ", ";
8850
9043
  if (state.condenseFlow) pairBuffer += "\"";
8851
- objectKey = objectKeyList[index];
8852
- objectValue = object[objectKey];
9044
+ const objectKey = objectKeyList[index];
9045
+ let objectValue = object[objectKey];
8853
9046
  if (state.replacer) objectValue = state.replacer.call(object, objectKey, objectValue);
8854
9047
  if (!writeNode(state, level, objectKey, false, false)) continue;
8855
9048
  if (state.dump.length > 1024) pairBuffer += "? ";
@@ -8862,18 +9055,20 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8862
9055
  state.dump = "{" + _result + "}";
8863
9056
  }
8864
9057
  function writeBlockMapping(state, level, object, compact) {
8865
- var _result = "", _tag = state.tag, objectKeyList = Object.keys(object), index, length, objectKey, objectValue, explicitPair, pairBuffer;
9058
+ let _result = "";
9059
+ const _tag = state.tag;
9060
+ const objectKeyList = Object.keys(object);
8866
9061
  if (state.sortKeys === true) objectKeyList.sort();
8867
9062
  else if (typeof state.sortKeys === "function") objectKeyList.sort(state.sortKeys);
8868
9063
  else if (state.sortKeys) throw new YAMLException("sortKeys must be a boolean or a function");
8869
- for (index = 0, length = objectKeyList.length; index < length; index += 1) {
8870
- pairBuffer = "";
9064
+ for (let index = 0, length = objectKeyList.length; index < length; index += 1) {
9065
+ let pairBuffer = "";
8871
9066
  if (!compact || _result !== "") pairBuffer += generateNextLine(state, level);
8872
- objectKey = objectKeyList[index];
8873
- objectValue = object[objectKey];
9067
+ const objectKey = objectKeyList[index];
9068
+ let objectValue = object[objectKey];
8874
9069
  if (state.replacer) objectValue = state.replacer.call(object, objectKey, objectValue);
8875
9070
  if (!writeNode(state, level + 1, objectKey, true, true, true)) continue;
8876
- explicitPair = state.tag !== null && state.tag !== "?" || state.dump && state.dump.length > 1024;
9071
+ const explicitPair = state.tag !== null && state.tag !== "?" || state.dump && state.dump.length > 1024;
8877
9072
  if (explicitPair) if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) pairBuffer += "?";
8878
9073
  else pairBuffer += "? ";
8879
9074
  pairBuffer += state.dump;
@@ -8888,15 +9083,16 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8888
9083
  state.dump = _result || "{}";
8889
9084
  }
8890
9085
  function detectType(state, object, explicit) {
8891
- var _result, typeList = explicit ? state.explicitTypes : state.implicitTypes, index, length, type, style;
8892
- for (index = 0, length = typeList.length; index < length; index += 1) {
8893
- type = typeList[index];
9086
+ const typeList = explicit ? state.explicitTypes : state.implicitTypes;
9087
+ for (let index = 0, length = typeList.length; index < length; index += 1) {
9088
+ const type = typeList[index];
8894
9089
  if ((type.instanceOf || type.predicate) && (!type.instanceOf || typeof object === "object" && object instanceof type.instanceOf) && (!type.predicate || type.predicate(object))) {
8895
9090
  if (explicit) if (type.multi && type.representName) state.tag = type.representName(object);
8896
9091
  else state.tag = type.tag;
8897
9092
  else state.tag = "?";
8898
9093
  if (type.represent) {
8899
- style = state.styleMap[type.tag] || type.defaultStyle;
9094
+ const style = state.styleMap[type.tag] || type.defaultStyle;
9095
+ let _result;
8900
9096
  if (_toString.call(type.represent) === "[object Function]") _result = type.represent(object, style);
8901
9097
  else if (_hasOwnProperty.call(type.represent, style)) _result = type.represent[style](object, style);
8902
9098
  else throw new YAMLException("!<" + type.tag + "> tag resolver accepts not \"" + style + "\" style");
@@ -8911,11 +9107,12 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8911
9107
  state.tag = null;
8912
9108
  state.dump = object;
8913
9109
  if (!detectType(state, object, false)) detectType(state, object, true);
8914
- var type = _toString.call(state.dump);
8915
- var inblock = block;
8916
- var tagStr;
9110
+ const type = _toString.call(state.dump);
9111
+ const inblock = block;
8917
9112
  if (block) block = state.flowLevel < 0 || state.flowLevel > level;
8918
- var objectOrArray = type === "[object Object]" || type === "[object Array]", duplicateIndex, duplicate;
9113
+ const objectOrArray = type === "[object Object]" || type === "[object Array]";
9114
+ let duplicateIndex;
9115
+ let duplicate;
8919
9116
  if (objectOrArray) {
8920
9117
  duplicateIndex = state.duplicates.indexOf(object);
8921
9118
  duplicate = duplicateIndex !== -1;
@@ -8947,7 +9144,7 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8947
9144
  throw new YAMLException("unacceptable kind of an object to dump " + type);
8948
9145
  }
8949
9146
  if (state.tag !== null && state.tag !== "?") {
8950
- tagStr = encodeURI(state.tag[0] === "!" ? state.tag.slice(1) : state.tag).replace(/!/g, "%21");
9147
+ let tagStr = encodeURI(state.tag[0] === "!" ? state.tag.slice(1) : state.tag).replace(/!/g, "%21");
8951
9148
  if (state.tag[0] === "!") tagStr = "!" + tagStr;
8952
9149
  else if (tagStr.slice(0, 18) === "tag:yaml.org,2002:") tagStr = "!!" + tagStr.slice(18);
8953
9150
  else tagStr = "!<" + tagStr + ">";
@@ -8957,32 +9154,33 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8957
9154
  return true;
8958
9155
  }
8959
9156
  function getDuplicateReferences(object, state) {
8960
- var objects = [], duplicatesIndexes = [], index, length;
9157
+ const objects = [];
9158
+ const duplicatesIndexes = [];
8961
9159
  inspectNode(object, objects, duplicatesIndexes);
8962
- for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) state.duplicates.push(objects[duplicatesIndexes[index]]);
9160
+ const length = duplicatesIndexes.length;
9161
+ for (let index = 0; index < length; index += 1) state.duplicates.push(objects[duplicatesIndexes[index]]);
8963
9162
  state.usedDuplicates = new Array(length);
8964
9163
  }
8965
9164
  function inspectNode(object, objects, duplicatesIndexes) {
8966
- var objectKeyList, index, length;
8967
9165
  if (object !== null && typeof object === "object") {
8968
- index = objects.indexOf(object);
9166
+ const index = objects.indexOf(object);
8969
9167
  if (index !== -1) {
8970
9168
  if (duplicatesIndexes.indexOf(index) === -1) duplicatesIndexes.push(index);
8971
9169
  } else {
8972
9170
  objects.push(object);
8973
- if (Array.isArray(object)) for (index = 0, length = object.length; index < length; index += 1) inspectNode(object[index], objects, duplicatesIndexes);
9171
+ if (Array.isArray(object)) for (let i = 0, length = object.length; i < length; i += 1) inspectNode(object[i], objects, duplicatesIndexes);
8974
9172
  else {
8975
- objectKeyList = Object.keys(object);
8976
- for (index = 0, length = objectKeyList.length; index < length; index += 1) inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);
9173
+ const objectKeyList = Object.keys(object);
9174
+ for (let i = 0, length = objectKeyList.length; i < length; i += 1) inspectNode(object[objectKeyList[i]], objects, duplicatesIndexes);
8977
9175
  }
8978
9176
  }
8979
9177
  }
8980
9178
  }
8981
9179
  function dump(input, options) {
8982
9180
  options = options || {};
8983
- var state = new State(options);
9181
+ const state = new State(options);
8984
9182
  if (!state.noRefs) getDuplicateReferences(input, state);
8985
- var value = input;
9183
+ let value = input;
8986
9184
  if (state.replacer) value = state.replacer.call({ "": value }, "", value);
8987
9185
  if (writeNode(state, 0, value, true, true)) return state.dump + "\n";
8988
9186
  return "";
@@ -8990,10 +9188,10 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8990
9188
  module.exports.dump = dump;
8991
9189
  }));
8992
9190
  //#endregion
8993
- //#region ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/index.js
9191
+ //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/index.js
8994
9192
  var require_js_yaml = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8995
- var loader = require_loader();
8996
- var dumper = require_dumper();
9193
+ const loader = require_loader();
9194
+ const dumper = require_dumper();
8997
9195
  function renamed(from, to) {
8998
9196
  return function() {
8999
9197
  throw new Error("Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default.");
@@ -10269,7 +10467,7 @@ const range = (a, b, str) => {
10269
10467
  return result;
10270
10468
  };
10271
10469
  //#endregion
10272
- //#region ../../node_modules/.pnpm/brace-expansion@5.0.6/node_modules/brace-expansion/dist/esm/index.js
10470
+ //#region ../../node_modules/.pnpm/brace-expansion@5.0.7/node_modules/brace-expansion/dist/esm/index.js
10273
10471
  const escSlash = "\0SLASH" + Math.random() + "\0";
10274
10472
  const escOpen = "\0OPEN" + Math.random() + "\0";
10275
10473
  const escClose = "\0CLOSE" + Math.random() + "\0";
@@ -10337,15 +10535,18 @@ function gte(i, y) {
10337
10535
  function expand_(str, max, isTop) {
10338
10536
  /** @type {string[]} */
10339
10537
  const expansions = [];
10340
- const m = balanced("{", "}", str);
10341
- if (!m) return [str];
10342
- const pre = m.pre;
10343
- const post = m.post.length ? expand_(m.post, max, false) : [""];
10344
- if (/\$$/.test(m.pre)) for (let k = 0; k < post.length && k < max; k++) {
10345
- const expansion = pre + "{" + m.body + "}" + post[k];
10346
- expansions.push(expansion);
10347
- }
10348
- else {
10538
+ for (;;) {
10539
+ const m = balanced("{", "}", str);
10540
+ if (!m) return [str];
10541
+ const pre = m.pre;
10542
+ if (/\$$/.test(m.pre)) {
10543
+ const post = m.post.length ? expand_(m.post, max, false) : [""];
10544
+ for (let k = 0; k < post.length && k < max; k++) {
10545
+ const expansion = pre + "{" + m.body + "}" + post[k];
10546
+ expansions.push(expansion);
10547
+ }
10548
+ return expansions;
10549
+ }
10349
10550
  const isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
10350
10551
  const isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
10351
10552
  const isSequence = isNumericSequence || isAlphaSequence;
@@ -10353,10 +10554,12 @@ function expand_(str, max, isTop) {
10353
10554
  if (!isSequence && !isOptions) {
10354
10555
  if (m.post.match(/,(?!,).*\}/)) {
10355
10556
  str = m.pre + "{" + m.body + escClose + m.post;
10356
- return expand_(str, max, true);
10557
+ isTop = true;
10558
+ continue;
10357
10559
  }
10358
10560
  return [str];
10359
10561
  }
10562
+ const post = m.post.length ? expand_(m.post, max, false) : [""];
10360
10563
  let n;
10361
10564
  if (isSequence) n = m.body.split(/\.\./);
10362
10565
  else {
@@ -10406,8 +10609,8 @@ function expand_(str, max, isTop) {
10406
10609
  const expansion = pre + N[j] + post[k];
10407
10610
  if (!isTop || isSequence || expansion) expansions.push(expansion);
10408
10611
  }
10612
+ return expansions;
10409
10613
  }
10410
- return expansions;
10411
10614
  }
10412
10615
  //#endregion
10413
10616
  //#region ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/assert-valid-pattern.js
@@ -12575,29 +12778,29 @@ const entryOutputBasename = (entry, entryMode) => {
12575
12778
  //#region ../../node_modules/.pnpm/resolve-pkg-maps@1.0.0/node_modules/resolve-pkg-maps/dist/index.mjs
12576
12779
  const A = (r) => r !== null && typeof r == "object";
12577
12780
  const a = (r, t) => Object.assign(/* @__PURE__ */ new Error(`[${r}]: ${t}`), { code: r });
12578
- const _ = "ERR_INVALID_PACKAGE_CONFIG";
12579
- const E$1 = "ERR_INVALID_PACKAGE_TARGET";
12580
- const I = "ERR_PACKAGE_PATH_NOT_EXPORTED";
12581
- const R$1 = /^\d+$/;
12582
- const O$1 = /^(\.{1,2}|node_modules)$/i;
12583
- const w = /\/|\\/;
12584
- var h$1 = ((r) => (r.Export = "exports", r.Import = "imports", r))(h$1 || {});
12781
+ const _$1 = "ERR_INVALID_PACKAGE_CONFIG";
12782
+ const E$2 = "ERR_INVALID_PACKAGE_TARGET";
12783
+ const I$1 = "ERR_PACKAGE_PATH_NOT_EXPORTED";
12784
+ const R$2 = /^\d+$/;
12785
+ const O$2 = /^(\.{1,2}|node_modules)$/i;
12786
+ const w$1 = /\/|\\/;
12787
+ var h$2 = ((r) => (r.Export = "exports", r.Import = "imports", r))(h$2 || {});
12585
12788
  const f = (r, t, e, o, c) => {
12586
12789
  if (t == null) return [];
12587
12790
  if (typeof t == "string") {
12588
- const [n, ...i] = t.split(w);
12589
- if (n === ".." || i.some((l) => O$1.test(l))) throw a(E$1, `Invalid "${r}" target "${t}" defined in the package config`);
12791
+ const [n, ...i] = t.split(w$1);
12792
+ if (n === ".." || i.some((l) => O$2.test(l))) throw a(E$2, `Invalid "${r}" target "${t}" defined in the package config`);
12590
12793
  return [c ? t.replace(/\*/g, c) : t];
12591
12794
  }
12592
12795
  if (Array.isArray(t)) return t.flatMap((n) => f(r, n, e, o, c));
12593
12796
  if (A(t)) {
12594
12797
  for (const n of Object.keys(t)) {
12595
- if (R$1.test(n)) throw a(_, "Cannot contain numeric property keys");
12798
+ if (R$2.test(n)) throw a(_$1, "Cannot contain numeric property keys");
12596
12799
  if (n === "default" || o.includes(n)) return f(r, t[n], e, o, c);
12597
12800
  }
12598
12801
  return [];
12599
12802
  }
12600
- throw a(E$1, `Invalid "${r}" target "${t}"`);
12803
+ throw a(E$2, `Invalid "${r}" target "${t}"`);
12601
12804
  };
12602
12805
  const s = "*";
12603
12806
  const m = (r, t) => {
@@ -12619,15 +12822,15 @@ function d(r, t) {
12619
12822
  const p = (r) => Object.keys(r).reduce((t, e) => {
12620
12823
  const o = e === "" || e[0] !== ".";
12621
12824
  if (t === void 0 || t === o) return o;
12622
- throw a(_, "\"exports\" cannot contain some keys starting with \".\" and some not");
12825
+ throw a(_$1, "\"exports\" cannot contain some keys starting with \".\" and some not");
12623
12826
  }, void 0);
12624
- const u = /^\w+:/;
12625
- const v = (r, t, e) => {
12827
+ const u$1 = /^\w+:/;
12828
+ const v$1 = (r, t, e) => {
12626
12829
  if (!r) throw new Error("\"exports\" is required");
12627
12830
  t = t === "" ? "." : `./${t}`, (typeof r == "string" || Array.isArray(r) || A(r) && p(r)) && (r = { ".": r });
12628
- const [o, c] = d(r, t), n = f(h$1.Export, r[o], t, e, c);
12629
- if (n.length === 0) throw a(I, t === "." ? "No \"exports\" main defined" : `Package subpath '${t}' is not defined by "exports"`);
12630
- for (const i of n) if (!i.startsWith("./") && !u.test(i)) throw a(E$1, `Invalid "exports" target "${i}" defined in the package config`);
12831
+ const [o, c] = d(r, t), n = f(h$2.Export, r[o], t, e, c);
12832
+ if (n.length === 0) throw a(I$1, t === "." ? "No \"exports\" main defined" : `Package subpath '${t}' is not defined by "exports"`);
12833
+ for (const i of n) if (!i.startsWith("./") && !u$1.test(i)) throw a(E$2, `Invalid "exports" target "${i}" defined in the package config`);
12631
12834
  return n;
12632
12835
  };
12633
12836
  //#endregion
@@ -12637,10 +12840,10 @@ var r = (e, t) => xe(e, "name", {
12637
12840
  value: t,
12638
12841
  configurable: !0
12639
12842
  });
12640
- function h(e) {
12843
+ function h$1(e) {
12641
12844
  return e.startsWith("\\\\?\\") ? e : e.replace(/\\/g, "/");
12642
12845
  }
12643
- r(h, "slash");
12846
+ r(h$1, "slash");
12644
12847
  const K = r((e) => {
12645
12848
  const t = fs[e];
12646
12849
  return (s, ...n) => {
@@ -12649,22 +12852,22 @@ const K = r((e) => {
12649
12852
  return l === void 0 && (l = Reflect.apply(t, fs, n), s?.set(o, l)), l;
12650
12853
  };
12651
12854
  }, "cacheFs");
12652
- const x = K("existsSync");
12855
+ const x$1 = K("existsSync");
12653
12856
  const Se = K("readFileSync");
12654
12857
  const Q = K("statSync");
12655
- const O = r((e, t, s) => {
12858
+ const O$1 = r((e, t, s) => {
12656
12859
  for (;;) {
12657
12860
  const n = PATH.posix.join(e, t);
12658
- if (x(s, n)) return n;
12861
+ if (x$1(s, n)) return n;
12659
12862
  const o = PATH.dirname(e);
12660
12863
  if (o === e) return;
12661
12864
  e = o;
12662
12865
  }
12663
12866
  }, "findUp");
12664
- const C = /^\.{1,2}(\/.*)?$/;
12867
+ const C$1 = /^\.{1,2}(\/.*)?$/;
12665
12868
  const H = r((e) => {
12666
- const t = h(e);
12667
- return C.test(t) ? t : `./${t}`;
12869
+ const t = h$1(e);
12870
+ return C$1.test(t) ? t : `./${t}`;
12668
12871
  }, "normalizeRelativePath");
12669
12872
  function Ne(e, t = !1) {
12670
12873
  const s = e.length;
@@ -12689,12 +12892,12 @@ function Ne(e, t = !1) {
12689
12892
  function p() {
12690
12893
  let c = n;
12691
12894
  if (e.charCodeAt(n) === 48) n++;
12692
- else for (n++; n < e.length && R(e.charCodeAt(n));) n++;
12693
- if (n < e.length && e.charCodeAt(n) === 46) if (n++, n < e.length && R(e.charCodeAt(n))) for (n++; n < e.length && R(e.charCodeAt(n));) n++;
12895
+ else for (n++; n < e.length && R$1(e.charCodeAt(n));) n++;
12896
+ if (n < e.length && e.charCodeAt(n) === 46) if (n++, n < e.length && R$1(e.charCodeAt(n))) for (n++; n < e.length && R$1(e.charCodeAt(n));) n++;
12694
12897
  else return d = 3, e.substring(c, n);
12695
12898
  let j = n;
12696
- if (n < e.length && (e.charCodeAt(n) === 69 || e.charCodeAt(n) === 101)) if (n++, (n < e.length && e.charCodeAt(n) === 43 || e.charCodeAt(n) === 45) && n++, n < e.length && R(e.charCodeAt(n))) {
12697
- for (n++; n < e.length && R(e.charCodeAt(n));) n++;
12899
+ if (n < e.length && (e.charCodeAt(n) === 69 || e.charCodeAt(n) === 101)) if (n++, (n < e.length && e.charCodeAt(n) === 43 || e.charCodeAt(n) === 45) && n++, n < e.length && R$1(e.charCodeAt(n))) {
12900
+ for (n++; n < e.length && R$1(e.charCodeAt(n));) n++;
12698
12901
  j = n;
12699
12902
  } else d = 3;
12700
12903
  return e.substring(c, j);
@@ -12801,7 +13004,7 @@ function Ne(e, t = !1) {
12801
13004
  return T || (n++, d = 1), o = e.substring(j, n), i = 13;
12802
13005
  }
12803
13006
  return o += String.fromCharCode(c), n++, i = 16;
12804
- case 45: if (o += String.fromCharCode(c), n++, n === s || !R(e.charCodeAt(n))) return i = 16;
13007
+ case 45: if (o += String.fromCharCode(c), n++, n === s || !R$1(e.charCodeAt(n))) return i = 16;
12805
13008
  case 48:
12806
13009
  case 49:
12807
13010
  case 50:
@@ -12870,19 +13073,19 @@ function J(e) {
12870
13073
  return e === 10 || e === 13;
12871
13074
  }
12872
13075
  r(J, "isLineBreak");
12873
- function R(e) {
13076
+ function R$1(e) {
12874
13077
  return e >= 48 && e <= 57;
12875
13078
  }
12876
- r(R, "isDigit");
13079
+ r(R$1, "isDigit");
12877
13080
  var ge;
12878
13081
  (function(e) {
12879
13082
  e[e.lineFeed = 10] = "lineFeed", e[e.carriageReturn = 13] = "carriageReturn", e[e.space = 32] = "space", e[e._0 = 48] = "_0", e[e._1 = 49] = "_1", e[e._2 = 50] = "_2", e[e._3 = 51] = "_3", e[e._4 = 52] = "_4", e[e._5 = 53] = "_5", e[e._6 = 54] = "_6", e[e._7 = 55] = "_7", e[e._8 = 56] = "_8", e[e._9 = 57] = "_9", e[e.a = 97] = "a", e[e.b = 98] = "b", e[e.c = 99] = "c", e[e.d = 100] = "d", e[e.e = 101] = "e", e[e.f = 102] = "f", e[e.g = 103] = "g", e[e.h = 104] = "h", e[e.i = 105] = "i", e[e.j = 106] = "j", e[e.k = 107] = "k", e[e.l = 108] = "l", e[e.m = 109] = "m", e[e.n = 110] = "n", e[e.o = 111] = "o", e[e.p = 112] = "p", e[e.q = 113] = "q", e[e.r = 114] = "r", e[e.s = 115] = "s", e[e.t = 116] = "t", e[e.u = 117] = "u", e[e.v = 118] = "v", e[e.w = 119] = "w", e[e.x = 120] = "x", e[e.y = 121] = "y", e[e.z = 122] = "z", e[e.A = 65] = "A", e[e.B = 66] = "B", e[e.C = 67] = "C", e[e.D = 68] = "D", e[e.E = 69] = "E", e[e.F = 70] = "F", e[e.G = 71] = "G", e[e.H = 72] = "H", e[e.I = 73] = "I", e[e.J = 74] = "J", e[e.K = 75] = "K", e[e.L = 76] = "L", e[e.M = 77] = "M", e[e.N = 78] = "N", e[e.O = 79] = "O", e[e.P = 80] = "P", e[e.Q = 81] = "Q", e[e.R = 82] = "R", e[e.S = 83] = "S", e[e.T = 84] = "T", e[e.U = 85] = "U", e[e.V = 86] = "V", e[e.W = 87] = "W", e[e.X = 88] = "X", e[e.Y = 89] = "Y", e[e.Z = 90] = "Z", e[e.asterisk = 42] = "asterisk", e[e.backslash = 92] = "backslash", e[e.closeBrace = 125] = "closeBrace", e[e.closeBracket = 93] = "closeBracket", e[e.colon = 58] = "colon", e[e.comma = 44] = "comma", e[e.dot = 46] = "dot", e[e.doubleQuote = 34] = "doubleQuote", e[e.minus = 45] = "minus", e[e.openBrace = 123] = "openBrace", e[e.openBracket = 91] = "openBracket", e[e.plus = 43] = "plus", e[e.slash = 47] = "slash", e[e.formFeed = 12] = "formFeed", e[e.tab = 9] = "tab";
12880
13083
  })(ge || (ge = {})), new Array(20).fill(0).map((e, t) => " ".repeat(t));
12881
- const S = 200;
12882
- new Array(S).fill(0).map((e, t) => `
12883
- ` + " ".repeat(t)), new Array(S).fill(0).map((e, t) => "\r" + " ".repeat(t)), new Array(S).fill(0).map((e, t) => `\r
12884
- ` + " ".repeat(t)), new Array(S).fill(0).map((e, t) => `
12885
- ` + " ".repeat(t)), new Array(S).fill(0).map((e, t) => "\r" + " ".repeat(t)), new Array(S).fill(0).map((e, t) => `\r
13084
+ const S$1 = 200;
13085
+ new Array(S$1).fill(0).map((e, t) => `
13086
+ ` + " ".repeat(t)), new Array(S$1).fill(0).map((e, t) => "\r" + " ".repeat(t)), new Array(S$1).fill(0).map((e, t) => `\r
13087
+ ` + " ".repeat(t)), new Array(S$1).fill(0).map((e, t) => `
13088
+ ` + " ".repeat(t)), new Array(S$1).fill(0).map((e, t) => "\r" + " ".repeat(t)), new Array(S$1).fill(0).map((e, t) => `\r
12886
13089
  ` + " ".repeat(t));
12887
13090
  var X;
12888
13091
  (function(e) {
@@ -13082,7 +13285,7 @@ var de;
13082
13285
  })(de || (de = {}));
13083
13286
  const we = r((e, t) => Je(Se(t, e, "utf8")), "readJsonc");
13084
13287
  const ne = Symbol("implicitBaseUrl");
13085
- const E = "${configDir}";
13288
+ const E$1 = "${configDir}";
13086
13289
  const Me = r(() => {
13087
13290
  const { findPnpApi: e } = Be;
13088
13291
  return e && e(process.cwd());
@@ -13094,7 +13297,7 @@ const te = r((e, t, s, n) => {
13094
13297
  if (!l) return;
13095
13298
  let i = t || "tsconfig.json";
13096
13299
  if (!s && l.exports) try {
13097
- const [f] = v(l.exports, t, ["require", "types"]);
13300
+ const [f] = v$1(l.exports, t, ["require", "types"]);
13098
13301
  i = f;
13099
13302
  } catch {
13100
13303
  return !1;
@@ -13107,11 +13310,11 @@ const le = "tsconfig.json";
13107
13310
  const Ve = r((e, t, s) => {
13108
13311
  let n = e;
13109
13312
  if (e === ".." && (n = PATH.join(n, le)), e[0] === "." && (n = PATH.resolve(t, n)), PATH.isAbsolute(n)) {
13110
- if (x(s, n)) {
13313
+ if (x$1(s, n)) {
13111
13314
  if (Q(s, n).isFile()) return n;
13112
13315
  } else if (!n.endsWith(".json")) {
13113
13316
  const v = `${n}.json`;
13114
- if (x(s, v)) return v;
13317
+ if (x$1(s, v)) return v;
13115
13318
  }
13116
13319
  return;
13117
13320
  }
@@ -13123,7 +13326,7 @@ const Ve = r((e, t, s) => {
13123
13326
  const p = v(PATH.join(i, se), t);
13124
13327
  if (p) {
13125
13328
  const L = te(p, f, !1, s);
13126
- if (L && x(s, L)) return L;
13329
+ if (L && x$1(s, L)) return L;
13127
13330
  }
13128
13331
  } else {
13129
13332
  let p;
@@ -13136,28 +13339,28 @@ const Ve = r((e, t, s) => {
13136
13339
  }
13137
13340
  } catch {}
13138
13341
  }
13139
- const g = O(PATH.resolve(t), PATH.join("node_modules", i), s);
13342
+ const g = O$1(PATH.resolve(t), PATH.join("node_modules", i), s);
13140
13343
  if (!g || !Q(s, g).isDirectory()) return;
13141
13344
  const w = PATH.join(g, se);
13142
- if (x(s, w)) {
13345
+ if (x$1(s, w)) {
13143
13346
  const v = te(w, f, !1, s);
13144
13347
  if (v === !1) return;
13145
- if (v && x(s, v) && Q(s, v).isFile()) return v;
13348
+ if (v && x$1(s, v) && Q(s, v).isFile()) return v;
13146
13349
  }
13147
13350
  const d = PATH.join(g, f), _ = d.endsWith(".json");
13148
13351
  if (!_) {
13149
13352
  const v = `${d}.json`;
13150
- if (x(s, v)) return v;
13353
+ if (x$1(s, v)) return v;
13151
13354
  }
13152
- if (x(s, d)) {
13355
+ if (x$1(s, d)) {
13153
13356
  if (Q(s, d).isDirectory()) {
13154
13357
  const v = PATH.join(d, se);
13155
- if (x(s, v)) {
13358
+ if (x$1(s, v)) {
13156
13359
  const L = te(v, "", !0, s);
13157
- if (L && x(s, L)) return L;
13360
+ if (L && x$1(s, L)) return L;
13158
13361
  }
13159
13362
  const p = PATH.join(d, le);
13160
- if (x(s, p)) return p;
13363
+ if (x$1(s, p)) return p;
13161
13364
  } else if (_) return d;
13162
13365
  }
13163
13366
  }, "resolveExtendsPath");
@@ -13167,14 +13370,14 @@ const be = [
13167
13370
  "include",
13168
13371
  "exclude"
13169
13372
  ];
13170
- const N = r((e, t, s) => {
13373
+ const N$1 = r((e, t, s) => {
13171
13374
  const n = PATH.join(t, s);
13172
- return h(PATH.relative(e, n)) || "./";
13375
+ return h$1(PATH.relative(e, n)) || "./";
13173
13376
  }, "resolveAndRelativize");
13174
13377
  const ze = r((e, t, s) => {
13175
13378
  const n = PATH.relative(e, t);
13176
13379
  if (!n) return s;
13177
- return h(`${n}/${s.startsWith("./") ? s.slice(2) : s}`);
13380
+ return h$1(`${n}/${s.startsWith("./") ? s.slice(2) : s}`);
13178
13381
  }, "prefixPattern");
13179
13382
  const Ge = r((e, t, s, n) => {
13180
13383
  const o = Ve(e, t, n);
@@ -13186,21 +13389,21 @@ const Ge = r((e, t, s, n) => {
13186
13389
  const { compilerOptions: f } = i;
13187
13390
  if (f) {
13188
13391
  const { baseUrl: u } = f;
13189
- u && !u.startsWith(E) && (f.baseUrl = N(t, l, u));
13392
+ u && !u.startsWith(E$1) && (f.baseUrl = N$1(t, l, u));
13190
13393
  const { outDir: g } = f;
13191
- g && !g.startsWith(E) && (f.outDir = N(t, l, g));
13394
+ g && !g.startsWith(E$1) && (f.outDir = N$1(t, l, g));
13192
13395
  const { declarationDir: w } = f;
13193
- w && !w.startsWith(E) && (f.declarationDir = N(t, l, w));
13396
+ w && !w.startsWith(E$1) && (f.declarationDir = N$1(t, l, w));
13194
13397
  const { rootDir: d } = f;
13195
- d && !d.startsWith(E) && (f.rootDir = N(t, l, d));
13398
+ d && !d.startsWith(E$1) && (f.rootDir = N$1(t, l, d));
13196
13399
  const { rootDirs: _ } = f;
13197
- _ && (f.rootDirs = _.map((p) => p.startsWith(E) ? p : N(t, l, p)));
13400
+ _ && (f.rootDirs = _.map((p) => p.startsWith(E$1) ? p : N$1(t, l, p)));
13198
13401
  const { typeRoots: v } = f;
13199
- v && (f.typeRoots = v.map((p) => p.startsWith(E) ? p : N(t, l, p)));
13402
+ v && (f.typeRoots = v.map((p) => p.startsWith(E$1) ? p : N$1(t, l, p)));
13200
13403
  }
13201
13404
  for (const u of be) {
13202
13405
  const g = i[u];
13203
- g && (i[u] = g.map((w) => w.startsWith(E) ? w : ze(t, l, w)));
13406
+ g && (i[u] = g.map((w) => w.startsWith(E$1) ? w : ze(t, l, w)));
13204
13407
  }
13205
13408
  return i;
13206
13409
  }, "resolveExtends");
@@ -13240,24 +13443,24 @@ const pe = r((e, t, s = /* @__PURE__ */ new Set()) => {
13240
13443
  const { compilerOptions: l } = n;
13241
13444
  for (const f of ["baseUrl", "rootDir"]) {
13242
13445
  const u = l[f];
13243
- if (u && !u.startsWith(E)) {
13446
+ if (u && !u.startsWith(E$1)) {
13244
13447
  const g = PATH.resolve(o, u);
13245
13448
  l[f] = oe(o, g);
13246
13449
  }
13247
13450
  }
13248
13451
  for (const f of ve) {
13249
13452
  let u = l[f];
13250
- u && (Array.isArray(n.exclude) || (n.exclude = ve.map((g) => l[g]).filter(Boolean)), u.startsWith(E) || (u = H(u)), l[f] = u);
13453
+ u && (Array.isArray(n.exclude) || (n.exclude = ve.map((g) => l[g]).filter(Boolean)), u.startsWith(E$1) || (u = H(u)), l[f] = u);
13251
13454
  }
13252
13455
  } else n.compilerOptions = {};
13253
- if (n.include && (n.include = n.include.map(h)), n.files && (n.files = n.files.map((l) => l.startsWith(E) ? l : H(l))), n.watchOptions) {
13456
+ if (n.include && (n.include = n.include.map(h$1)), n.files && (n.files = n.files.map((l) => l.startsWith(E$1) ? l : H(l))), n.watchOptions) {
13254
13457
  const { watchOptions: l } = n;
13255
- l.excludeDirectories && (l.excludeDirectories = l.excludeDirectories.map((i) => h(PATH.resolve(o, i)))), l.excludeFiles && (l.excludeFiles = l.excludeFiles.map((i) => h(PATH.resolve(o, i)))), l.watchFile && (l.watchFile = l.watchFile.toLowerCase()), l.watchDirectory && (l.watchDirectory = l.watchDirectory.toLowerCase()), l.fallbackPolling && (l.fallbackPolling = l.fallbackPolling.toLowerCase());
13458
+ l.excludeDirectories && (l.excludeDirectories = l.excludeDirectories.map((i) => h$1(PATH.resolve(o, i)))), l.excludeFiles && (l.excludeFiles = l.excludeFiles.map((i) => h$1(PATH.resolve(o, i)))), l.watchFile && (l.watchFile = l.watchFile.toLowerCase()), l.watchDirectory && (l.watchDirectory = l.watchDirectory.toLowerCase()), l.fallbackPolling && (l.fallbackPolling = l.fallbackPolling.toLowerCase());
13256
13459
  }
13257
13460
  return n;
13258
13461
  }, "_parseTsconfig");
13259
13462
  const Y = r((e, t) => {
13260
- if (e.startsWith(E)) return h(PATH.join(t, e.slice(12)));
13463
+ if (e.startsWith(E$1)) return h$1(PATH.join(t, e.slice(12)));
13261
13464
  }, "interpolateConfigDir");
13262
13465
  const Qe = [
13263
13466
  "outDir",
@@ -13391,7 +13594,7 @@ const Te = Z((e) => {
13391
13594
  ].join("|")})(/|$))`, Ce = /(?:^|\/)[^.*?]+$/, je = "**/*", q = "[^/]", ae = "[^./]", Fe = process.platform === "win32", De = r(({ config: e, path: t }, s = Ze()) => {
13392
13595
  if ("extends" in e) throw new Error("tsconfig#extends must be resolved. Use getTsconfig or parseTsconfig to resolve it.");
13393
13596
  if (!PATH.isAbsolute(t)) throw new Error("The tsconfig path must be absolute");
13394
- Fe && (t = h(t));
13597
+ Fe && (t = h$1(t));
13395
13598
  const n = PATH.dirname(t), { files: o, include: l, exclude: i, compilerOptions: f } = e, u = r((A) => PATH.isAbsolute(A) ? A : _e(n, A), "resolvePattern"), g = o == null ? void 0 : o.map(u), w = qe(f), d = s ? "" : "i", v = (i || Ke(f)).map((A) => {
13396
13599
  const D = u(A), B = ye(D).replaceAll(String.raw`\*\*/`, "(.+/)?").replaceAll(String.raw`\*`, `${q}*`).replaceAll(String.raw`\?`, q);
13397
13600
  return new RegExp(`^${B}($|/)`, d);
@@ -13409,17 +13612,17 @@ const Te = Z((e) => {
13409
13612
  }) : void 0;
13410
13613
  return (A) => {
13411
13614
  if (!PATH.isAbsolute(A)) throw new Error("filePath must be absolute");
13412
- if (Fe && (A = h(A)), g != null && g.includes(A)) return e;
13615
+ if (Fe && (A = h$1(A)), g != null && g.includes(A)) return e;
13413
13616
  if (!(!w.some((D) => A.endsWith(D)) || v.some((D) => D.test(A))) && L && L.some((D) => D.test(A))) return e;
13414
13617
  };
13415
13618
  }, "createFilesMatcher"), Le = r((e, t, s) => {
13416
13619
  const n = PATH.resolve(e);
13417
- let o = h(e);
13620
+ let o = h$1(e);
13418
13621
  for (;;) {
13419
- const l = O(o, t, s);
13622
+ const l = O$1(o, t, s);
13420
13623
  if (!l) return;
13421
13624
  const i = PATH.resolve(l), f = ie(i, s), u = {
13422
- path: h(i),
13625
+ path: h$1(i),
13423
13626
  config: f
13424
13627
  };
13425
13628
  if (De(u)(n)) return u;
@@ -13429,7 +13632,7 @@ const Te = Z((e) => {
13429
13632
  }
13430
13633
  }, "findConfigApplicable"), he = r((e = process.cwd(), t = "tsconfig.json", s = /* @__PURE__ */ new Map(), n = !1) => {
13431
13634
  var o;
13432
- return n ? (o = Le(e, t, s)) == null ? void 0 : o.path : O(h(e), t, s);
13635
+ return n ? (o = Le(e, t, s)) == null ? void 0 : o.path : O$1(h$1(e), t, s);
13433
13636
  }, "findTsconfig"), en = r((e = process.cwd(), t = "tsconfig.json", s = /* @__PURE__ */ new Map(), n = !1) => {
13434
13637
  var o;
13435
13638
  if (!n) {
@@ -13456,7 +13659,7 @@ const Te = Z((e) => {
13456
13659
  }, "parsePattern"), sn = r(({ prefix: e, suffix: t }, s) => s.startsWith(e) && s.endsWith(t), "isPatternMatch"), ln = r((e, t, s) => Object.entries(e).map(([n, o]) => (Ee(n, `Pattern '${n}' can have at most one '*' character.`), {
13457
13660
  pattern: tn(n),
13458
13661
  substitutions: o.map((l) => {
13459
- if (Ee(l, `Substitution '${l}' in pattern '${n}' can have at most one '*' character.`), !t && !C.test(l) && !PATH.isAbsolute(l)) throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");
13662
+ if (Ee(l, `Substitution '${l}' in pattern '${n}' can have at most one '*' character.`), !t && !C$1.test(l) && !PATH.isAbsolute(l)) throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");
13460
13663
  return PATH.resolve(s, l);
13461
13664
  })
13462
13665
  })), "parsePaths");
@@ -13467,17 +13670,17 @@ r((e) => {
13467
13670
  if (!s && !n) return null;
13468
13671
  const o = ne in t && t[ne], l = PATH.resolve(PATH.dirname(e.path), s || o || "."), i = n ? ln(n, s, l) : [];
13469
13672
  return (f) => {
13470
- if (C.test(f)) return [];
13673
+ if (C$1.test(f)) return [];
13471
13674
  const u = [];
13472
13675
  for (const _ of i) {
13473
- if (_.pattern === f) return _.substitutions.map(h);
13676
+ if (_.pattern === f) return _.substitutions.map(h$1);
13474
13677
  typeof _.pattern != "string" && u.push(_);
13475
13678
  }
13476
13679
  let g, w = -1;
13477
13680
  for (const _ of u) sn(_.pattern, f) && _.pattern.prefix.length > w && (w = _.pattern.prefix.length, g = _);
13478
- if (!g) return s ? [h(PATH.join(l, f))] : [];
13681
+ if (!g) return s ? [h$1(PATH.join(l, f))] : [];
13479
13682
  const d = f.slice(g.pattern.prefix.length, f.length - g.pattern.suffix.length);
13480
- return g.substitutions.map((_) => h(_.replace("*", d)));
13683
+ return g.substitutions.map((_) => h$1(_.replace("*", d)));
13481
13684
  };
13482
13685
  }, "createPathsMatcher");
13483
13686
  //#endregion
@@ -16521,34 +16724,386 @@ function cloneResolvedPublintRules(rules) {
16521
16724
  };
16522
16725
  }
16523
16726
  //#endregion
16524
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.4/node_modules/@publint/pack/src/node/pack.js
16727
+ //#region ../../node_modules/.pnpm/tinyexec@1.2.4/node_modules/tinyexec/dist/main.mjs
16728
+ function _(e) {
16729
+ for (const t in e) {
16730
+ if (!Object.prototype.hasOwnProperty.call(e, t) || !h.test(t)) continue;
16731
+ const n = e[t];
16732
+ if (!n) return g;
16733
+ return {
16734
+ key: t,
16735
+ value: n
16736
+ };
16737
+ }
16738
+ return g;
16739
+ }
16740
+ function v(e, t) {
16741
+ const n = t.value.split(delimiter);
16742
+ const r = [];
16743
+ let o = e;
16744
+ let c;
16745
+ do {
16746
+ r.push(resolve(o, "node_modules", ".bin"));
16747
+ c = o;
16748
+ o = dirname(o);
16749
+ } while (o !== c);
16750
+ r.push(dirname(process.execPath));
16751
+ const l = r.concat(n).join(delimiter);
16752
+ return {
16753
+ key: t.key,
16754
+ value: l
16755
+ };
16756
+ }
16757
+ function y(e, t, n = true) {
16758
+ const r = {
16759
+ ...process.env,
16760
+ ...t
16761
+ };
16762
+ if (!n) return r;
16763
+ const i = v(e, _(r));
16764
+ r[i.key] = i.value;
16765
+ return r;
16766
+ }
16767
+ /**
16768
+ * Normalizes the command and arguments to work cross-platform.
16769
+ * On Windows, this basically handles things like shebangs, calling
16770
+ * `node_modules/.bin` commands, and escaping meta characters.
16771
+ * On other platforms, it just returns the command and arguments as-is.
16772
+ */
16773
+ function D(e, t = [], n = {}) {
16774
+ if (n.shell === true || !T) return {
16775
+ command: e,
16776
+ args: t,
16777
+ options: n
16778
+ };
16779
+ let i = O(e, n);
16780
+ let a = null;
16781
+ if (i !== null) {
16782
+ const e = 150;
16783
+ const t = Buffer.alloc(e);
16784
+ let n = null;
16785
+ try {
16786
+ n = openSync(i, "r");
16787
+ readSync(n, t, 0, e, 0);
16788
+ } catch {} finally {
16789
+ if (n !== null) closeSync(n);
16790
+ }
16791
+ const o = t.toString().match(S);
16792
+ if (o !== null) {
16793
+ const e = o[1].trim();
16794
+ const t = e.indexOf(" ");
16795
+ const n = t !== -1 ? e.slice(0, t) : e;
16796
+ const i = t !== -1 ? e.slice(t + 1) : "";
16797
+ const s = basename(n);
16798
+ a = s === "env" ? i || null : s;
16799
+ }
16800
+ }
16801
+ if (a !== null && i !== null) {
16802
+ t = [i, ...t];
16803
+ e = a;
16804
+ i = O(e, n);
16805
+ }
16806
+ if (i === null || !C.test(i)) {
16807
+ const r = i !== null && w.test(i);
16808
+ e = normalize(e);
16809
+ e = e.replace(x, "^$1");
16810
+ t = t.map((e) => {
16811
+ e = e.replace(/(?=(\\+?)?)\1"/g, "$1$1\\\"");
16812
+ e = e.replace(/(?=(\\+?)?)\1$/, "$1$1");
16813
+ e = `"${e}"`;
16814
+ e = e.replace(x, "^$1");
16815
+ if (r) e = e.replace(x, "^$1");
16816
+ return e;
16817
+ });
16818
+ t = [
16819
+ "/d",
16820
+ "/s",
16821
+ "/c",
16822
+ `"${[e, ...t].join(" ")}"`
16823
+ ];
16824
+ e = n.env?.comspec ?? "cmd.exe";
16825
+ n = {
16826
+ ...n,
16827
+ windowsVerbatimArguments: true
16828
+ };
16829
+ }
16830
+ return {
16831
+ command: e,
16832
+ args: t,
16833
+ options: n
16834
+ };
16835
+ }
16836
+ /**
16837
+ * Resolves the command to an absolute path if possible.
16838
+ * Handles things like traversing PATH and adding extensions from PATHEXT
16839
+ */
16840
+ function O(e, t) {
16841
+ const r = (t.cwd ?? cwd()).toString();
16842
+ const a = t.env ?? process.env;
16843
+ const o = _(a).value;
16844
+ const c = e.includes("/") || e.includes("\\") ? [""] : [r, ...o.split(delimiter)];
16845
+ const l = a.PATHEXT ? a.PATHEXT.split(delimiter) : E;
16846
+ if (e.includes(".") && l[0] !== "") l.unshift("");
16847
+ for (const t of c) {
16848
+ const n = resolve(r, t.startsWith("\"") && t.endsWith("\"") && t.length > 1 ? t.slice(1, -1) : t, e);
16849
+ for (const e of l) {
16850
+ const t = n + e;
16851
+ try {
16852
+ if (statSync(t).isFile()) return t;
16853
+ } catch {}
16854
+ }
16855
+ }
16856
+ return null;
16857
+ }
16858
+ function P(e) {
16859
+ const t = new AbortController();
16860
+ for (const n of e) {
16861
+ if (n.aborted) {
16862
+ t.abort();
16863
+ return n;
16864
+ }
16865
+ const e = () => {
16866
+ t.abort(n.reason);
16867
+ };
16868
+ n.addEventListener("abort", e, { signal: t.signal });
16869
+ }
16870
+ return t.signal;
16871
+ }
16872
+ async function F(e) {
16873
+ let t = "";
16874
+ try {
16875
+ for await (const n of e) t += n.toString();
16876
+ } catch {}
16877
+ return t;
16878
+ }
16879
+ var h, g, b, x, S, C, w, T, E, k, j, N, I, R, z;
16880
+ var init_main = __esmMin((() => {
16881
+ h = /^path$/i;
16882
+ g = {
16883
+ key: "PATH",
16884
+ value: ""
16885
+ };
16886
+ b = (e) => {
16887
+ let t = e.length;
16888
+ const n = new PassThrough();
16889
+ const r = () => {
16890
+ if (--t === 0) n.end();
16891
+ };
16892
+ for (const t of e) pipeline(t, n, { end: false }).then(r).catch(r);
16893
+ return n;
16894
+ };
16895
+ x = /([()\][%!^"`<>&|;, *?])/g;
16896
+ S = /^#!\s*(.+)/;
16897
+ C = /\.(?:com|exe)$/i;
16898
+ w = /node_modules[\\/]\.bin[\\/][^\\/]+\.cmd$/i;
16899
+ T = process.platform === "win32";
16900
+ E = [
16901
+ ".EXE",
16902
+ ".CMD",
16903
+ ".BAT",
16904
+ ".COM"
16905
+ ];
16906
+ k = class extends Error {
16907
+ result;
16908
+ output;
16909
+ get exitCode() {
16910
+ if (this.result.exitCode !== null) return this.result.exitCode;
16911
+ }
16912
+ constructor(e, t) {
16913
+ super(`Process exited with non-zero status (${e.exitCode})`);
16914
+ this.result = e;
16915
+ this.output = t;
16916
+ }
16917
+ };
16918
+ j = {
16919
+ timeout: void 0,
16920
+ persist: false
16921
+ };
16922
+ N = { windowsHide: true };
16923
+ I = class {
16924
+ _process;
16925
+ _aborted = false;
16926
+ _options;
16927
+ _command;
16928
+ _args;
16929
+ _resolveClose;
16930
+ _processClosed;
16931
+ _thrownError;
16932
+ get process() {
16933
+ return this._process;
16934
+ }
16935
+ get pid() {
16936
+ return this._process?.pid;
16937
+ }
16938
+ get exitCode() {
16939
+ if (this._process && this._process.exitCode !== null) return this._process.exitCode;
16940
+ }
16941
+ constructor(e, t, n) {
16942
+ this._options = {
16943
+ ...j,
16944
+ ...n
16945
+ };
16946
+ this._command = e;
16947
+ this._args = t ?? [];
16948
+ this._processClosed = new Promise((e) => {
16949
+ this._resolveClose = e;
16950
+ });
16951
+ }
16952
+ kill(e) {
16953
+ return this._process?.kill(e) === true;
16954
+ }
16955
+ get aborted() {
16956
+ return this._aborted;
16957
+ }
16958
+ get killed() {
16959
+ return this._process?.killed === true;
16960
+ }
16961
+ pipe(e, t, n) {
16962
+ return z(e, t, {
16963
+ ...n,
16964
+ stdin: this
16965
+ });
16966
+ }
16967
+ async *[Symbol.asyncIterator]() {
16968
+ const e = this._process;
16969
+ if (!e) return;
16970
+ const t = [];
16971
+ if (this._streamErr) t.push(this._streamErr);
16972
+ if (this._streamOut) t.push(this._streamOut);
16973
+ const n = b(t);
16974
+ const r = u.createInterface({ input: n });
16975
+ for await (const e of r) yield e.toString();
16976
+ await this._processClosed;
16977
+ e.removeAllListeners();
16978
+ if (this._thrownError) throw this._thrownError;
16979
+ if (this._options?.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new k(this);
16980
+ }
16981
+ async _waitForOutput() {
16982
+ const e = this._process;
16983
+ if (!e) throw new Error("No process was started");
16984
+ const [t, n] = await Promise.all([this._streamOut ? F(this._streamOut) : "", this._streamErr ? F(this._streamErr) : ""]);
16985
+ await this._processClosed;
16986
+ const { stdin: r } = this._options;
16987
+ if (r && typeof r !== "string") await r;
16988
+ e.removeAllListeners();
16989
+ if (this._thrownError) throw this._thrownError;
16990
+ const i = {
16991
+ stderr: n,
16992
+ stdout: t,
16993
+ exitCode: this.exitCode
16994
+ };
16995
+ if (this._options.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new k(this, i);
16996
+ return i;
16997
+ }
16998
+ then(e, t) {
16999
+ return this._waitForOutput().then(e, t);
17000
+ }
17001
+ _streamOut;
17002
+ _streamErr;
17003
+ spawn() {
17004
+ const t = cwd();
17005
+ const r = this._options;
17006
+ const i = {
17007
+ ...N,
17008
+ ...r.nodeOptions
17009
+ };
17010
+ const a = [];
17011
+ this._resetState();
17012
+ if (r.timeout !== void 0) a.push(AbortSignal.timeout(r.timeout));
17013
+ if (r.signal !== void 0) a.push(r.signal);
17014
+ if (r.persist === true) i.detached = true;
17015
+ if (a.length > 0) i.signal = P(a);
17016
+ i.env = y(t, i.env, r.nodePath);
17017
+ const o = D(this._command, this._args, i);
17018
+ const s = spawn(o.command, o.args, o.options);
17019
+ if (s.stderr) this._streamErr = s.stderr;
17020
+ if (s.stdout) this._streamOut = s.stdout;
17021
+ this._process = s;
17022
+ s.once("error", this._onError);
17023
+ s.once("close", this._onClose);
17024
+ if (s.stdin) {
17025
+ const { stdin: e } = r;
17026
+ if (typeof e === "string") s.stdin.end(e);
17027
+ else e?.process?.stdout?.pipe(s.stdin);
17028
+ }
17029
+ }
17030
+ _resetState() {
17031
+ this._aborted = false;
17032
+ this._processClosed = new Promise((e) => {
17033
+ this._resolveClose = e;
17034
+ });
17035
+ this._thrownError = void 0;
17036
+ }
17037
+ _onError = (e) => {
17038
+ if (e.name === "AbortError" && (!(e.cause instanceof Error) || e.cause.name !== "TimeoutError")) {
17039
+ this._aborted = true;
17040
+ return;
17041
+ }
17042
+ this._thrownError = e;
17043
+ };
17044
+ _onClose = () => {
17045
+ if (this._resolveClose) this._resolveClose();
17046
+ };
17047
+ };
17048
+ R = (e, t, n) => {
17049
+ const r = new I(e, t, n);
17050
+ r.spawn();
17051
+ return r;
17052
+ };
17053
+ z = R;
17054
+ }));
17055
+ //#endregion
17056
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/node/utils.js
17057
+ /**
17058
+ * @param {string} packageManager
17059
+ * @returns {string[]}
17060
+ */
17061
+ function resolvePackageManagerCommand(packageManager) {
17062
+ if (![
17063
+ "npm",
17064
+ "yarn",
17065
+ "pnpm",
17066
+ "bun"
17067
+ ].includes(packageManager)) throw new Error(`Unsupported package manager: ${packageManager}`);
17068
+ const command = [packageManager];
17069
+ if (packageManager === "bun") command.push("pm");
17070
+ return command;
17071
+ }
17072
+ async function getTempPackDir() {
17073
+ const tempDir = os.tmpdir() + PATH.sep;
17074
+ const tempPackDir = await fs$1.mkdtemp(tempDir + "publint-pack-");
17075
+ return await fs$1.realpath(tempPackDir);
17076
+ }
17077
+ var init_utils$2 = __esmMin((() => {}));
17078
+ //#endregion
17079
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/node/pack.js
16525
17080
  /** @type {import('../index.d.ts').pack} */
16526
17081
  async function pack(dir, opts) {
16527
17082
  const packageManager = opts?.packageManager ?? "npm";
16528
- let command = `${packageManager} pack`;
16529
- if (packageManager === "bun") command = command.replace("bun", "bun pm");
17083
+ const command = resolvePackageManagerCommand(packageManager);
17084
+ command.push("pack");
16530
17085
  const packDestination = opts?.destination ?? dir;
16531
17086
  if (opts?.destination) switch (packageManager) {
16532
17087
  case "yarn":
16533
- command += ` --out \"${PATH.join(packDestination, "package.tgz")}\"`;
17088
+ command.push("--out", PATH.join(packDestination, "package.tgz"));
16534
17089
  break;
16535
17090
  case "bun":
16536
- command += ` --destination \"${packDestination}\"`;
17091
+ command.push("--destination", packDestination);
16537
17092
  break;
16538
17093
  default:
16539
- command += ` --pack-destination \"${packDestination}\"`;
17094
+ command.push("--pack-destination", packDestination);
16540
17095
  break;
16541
17096
  }
16542
17097
  if (opts?.ignoreScripts) switch (packageManager) {
16543
17098
  case "pnpm":
16544
- command += " --config.ignore-scripts=true";
17099
+ command.push("--config.ignore-scripts=true");
16545
17100
  break;
16546
17101
  case "yarn": break;
16547
17102
  default:
16548
- command += " --ignore-scripts";
17103
+ command.push("--ignore-scripts");
16549
17104
  break;
16550
17105
  }
16551
- const output = await util.promisify(cp.exec)(command, { cwd: dir });
17106
+ const output = await z(command[0], command.slice(1), { nodeOptions: { cwd: dir } });
16552
17107
  const tarballFile = await fs$1.readdir(packDestination).then((files) => {
16553
17108
  return files.find((file) => file.endsWith(".tgz") && output.stdout.includes(file));
16554
17109
  });
@@ -16556,40 +17111,36 @@ async function pack(dir, opts) {
16556
17111
  else throw new Error(`Failed to find packed tarball file in ${packDestination}. Command output:\n${JSON.stringify(output, null, 2)}`);
16557
17112
  return PATH.join(packDestination, tarballFile);
16558
17113
  }
16559
- var init_pack = __esmMin((() => {}));
16560
- //#endregion
16561
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.4/node_modules/@publint/pack/src/node/utils.js
16562
- async function getTempPackDir() {
16563
- const tempDir = os.tmpdir() + PATH.sep;
16564
- const tempPackDir = await fs$1.mkdtemp(tempDir + "publint-pack-");
16565
- return await fs$1.realpath(tempPackDir);
16566
- }
16567
- var init_utils$2 = __esmMin((() => {}));
17114
+ var init_pack = __esmMin((() => {
17115
+ init_main();
17116
+ init_utils$2();
17117
+ }));
16568
17118
  //#endregion
16569
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.4/node_modules/@publint/pack/src/node/pack-as-json.js
17119
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/node/pack-as-json.js
16570
17120
  /** @type {import('../index.d.ts').packAsJson} */
16571
17121
  async function packAsJson(dir, opts) {
16572
17122
  const packageManager = opts?.packageManager ?? "npm";
16573
17123
  if (packageManager === "bun") throw new Error("`packAsJson` is not supported for `bun`");
16574
- let command = `${packageManager} pack --json`;
17124
+ const command = resolvePackageManagerCommand(packageManager);
17125
+ command.push("pack", "--json");
16575
17126
  const supportsDryRun = packageManager === "npm" || packageManager === "yarn";
16576
17127
  /** @type {string | undefined} */
16577
17128
  let packDestination;
16578
- if (supportsDryRun) command += " --dry-run";
17129
+ if (supportsDryRun) command.push("--dry-run");
16579
17130
  else {
16580
17131
  packDestination = await getTempPackDir();
16581
- command += ` --pack-destination ${packDestination}`;
17132
+ command.push("--pack-destination", packDestination);
16582
17133
  }
16583
17134
  if (opts?.ignoreScripts) switch (packageManager) {
16584
17135
  case "pnpm":
16585
- command += " --config.ignore-scripts=true";
17136
+ command.push("--config.ignore-scripts=true");
16586
17137
  break;
16587
17138
  case "yarn": break;
16588
17139
  default:
16589
- command += " --ignore-scripts";
17140
+ command.push("--ignore-scripts");
16590
17141
  break;
16591
17142
  }
16592
- let { stdout } = await util.promisify(cp.exec)(command, { cwd: dir });
17143
+ let { stdout } = await z(command[0], command.slice(1), { nodeOptions: { cwd: dir } });
16593
17144
  try {
16594
17145
  stdout = stdout.trim();
16595
17146
  if (packageManager === "pnpm") stdout = fixPnpmStdout(stdout);
@@ -16622,10 +17173,11 @@ function fixYarnStdout(stdout) {
16622
17173
  return fixedStdout;
16623
17174
  }
16624
17175
  var init_pack_as_json = __esmMin((() => {
17176
+ init_main();
16625
17177
  init_utils$2();
16626
17178
  }));
16627
17179
  //#endregion
16628
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.4/node_modules/@publint/pack/src/shared/buffer-stream.js
17180
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/shared/buffer-stream.js
16629
17181
  /**
16630
17182
  * @param {ReadableStream<Uint8Array>} readableStream
16631
17183
  * @returns {Promise<ArrayBuffer>}
@@ -16635,7 +17187,7 @@ async function readableStreamToArrayBuffer(readableStream) {
16635
17187
  }
16636
17188
  var init_buffer_stream = __esmMin((() => {}));
16637
17189
  //#endregion
16638
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.4/node_modules/@publint/pack/src/shared/parse-tar.js
17190
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/shared/parse-tar.js
16639
17191
  /**
16640
17192
  * @param {ArrayBuffer} buffer
16641
17193
  * @returns {import('../index.d.ts').TarballFile[]}
@@ -16679,7 +17231,7 @@ function getFilesRootDir(files) {
16679
17231
  }
16680
17232
  var init_parse_tar = __esmMin((() => {}));
16681
17233
  //#endregion
16682
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.4/node_modules/@publint/pack/src/node/unpack.js
17234
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/node/unpack.js
16683
17235
  /** @type {import('../index.d.ts').unpack} */
16684
17236
  async function unpack(tarball) {
16685
17237
  /** @type {ArrayBuffer} */
@@ -16700,7 +17252,7 @@ var init_unpack = __esmMin((() => {
16700
17252
  init_parse_tar();
16701
17253
  }));
16702
17254
  //#endregion
16703
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.4/node_modules/@publint/pack/src/node/pack-as-list.js
17255
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/node/pack-as-list.js
16704
17256
  /** @type {import('../index.d.ts').packAsList} */
16705
17257
  async function packAsList(dir, opts) {
16706
17258
  const packageManager = opts?.packageManager ?? "npm";
@@ -16783,7 +17335,7 @@ var init_pack_as_list = __esmMin((() => {
16783
17335
  init_utils$2();
16784
17336
  }));
16785
17337
  //#endregion
16786
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.4/node_modules/@publint/pack/src/node/get-pack-directory.js
17338
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/node/get-pack-directory.js
16787
17339
  /** @type {import('../index.d.ts').getPackDirectory} */
16788
17340
  async function getPackDirectory(dir, packageManager) {
16789
17341
  if (packageManager === "pnpm") try {
@@ -16795,7 +17347,7 @@ async function getPackDirectory(dir, packageManager) {
16795
17347
  }
16796
17348
  var init_get_pack_directory = __esmMin((() => {}));
16797
17349
  //#endregion
16798
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.4/node_modules/@publint/pack/src/index-node.js
17350
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/index-node.js
16799
17351
  var init_index_node$1 = __esmMin((() => {
16800
17352
  init_pack();
16801
17353
  init_pack_as_list();
@@ -18203,7 +18755,7 @@ function createTarballVfs(files) {
18203
18755
  }
18204
18756
  var init_vfs_tarball = __esmMin((() => {}));
18205
18757
  //#endregion
18206
- //#region ../../node_modules/.pnpm/package-manager-detector@1.6.0/node_modules/package-manager-detector/dist/constants.mjs
18758
+ //#region ../../node_modules/.pnpm/package-manager-detector@1.7.0/node_modules/package-manager-detector/dist/constants.mjs
18207
18759
  var AGENTS, LOCKS, INSTALL_METADATA;
18208
18760
  var init_constants = __esmMin((() => {
18209
18761
  AGENTS = [
@@ -18213,9 +18765,13 @@ var init_constants = __esmMin((() => {
18213
18765
  "pnpm",
18214
18766
  "pnpm@6",
18215
18767
  "bun",
18216
- "deno"
18768
+ "deno",
18769
+ "nub",
18770
+ "aube"
18217
18771
  ];
18218
18772
  LOCKS = {
18773
+ "aube-lock.yaml": "aube",
18774
+ "aube-workspace.yaml": "aube",
18219
18775
  "bun.lock": "bun",
18220
18776
  "bun.lockb": "bun",
18221
18777
  "deno.lock": "deno",
@@ -18226,6 +18782,7 @@ var init_constants = __esmMin((() => {
18226
18782
  "npm-shrinkwrap.json": "npm"
18227
18783
  };
18228
18784
  INSTALL_METADATA = {
18785
+ "node_modules/.aube/": "aube",
18229
18786
  "node_modules/.deno/": "deno",
18230
18787
  "node_modules/.pnpm/": "pnpm",
18231
18788
  "node_modules/.yarn-state.yml": "yarn",
@@ -18238,7 +18795,7 @@ var init_constants = __esmMin((() => {
18238
18795
  };
18239
18796
  }));
18240
18797
  //#endregion
18241
- //#region ../../node_modules/.pnpm/package-manager-detector@1.6.0/node_modules/package-manager-detector/dist/detect.mjs
18798
+ //#region ../../node_modules/.pnpm/package-manager-detector@1.7.0/node_modules/package-manager-detector/dist/detect.mjs
18242
18799
  var detect_exports = /* @__PURE__ */ __exportAll({
18243
18800
  detect: () => detect,
18244
18801
  getUserAgent: () => getUserAgent