@ariestools/toolchain 8.7.0 → 8.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/actions/license.d.ts +4 -0
  2. package/dist/actions/license.d.ts.map +1 -1
  3. package/dist/actions/lint.d.ts +11 -2
  4. package/dist/actions/lint.d.ts.map +1 -1
  5. package/dist/actions/lintNext.d.ts +22 -1
  6. package/dist/actions/lintNext.d.ts.map +1 -1
  7. package/dist/actions/lintNextRun.d.ts +36 -0
  8. package/dist/actions/lintNextRun.d.ts.map +1 -0
  9. package/dist/actions/lintNextWorker.d.ts +70 -3
  10. package/dist/actions/lintNextWorker.d.ts.map +1 -1
  11. package/dist/actions/lintPackageFilter.d.ts +44 -0
  12. package/dist/actions/lintPackageFilter.d.ts.map +1 -0
  13. package/dist/bin/package/build.mjs +296 -83
  14. package/dist/bin/package/build.mjs.map +1 -1
  15. package/dist/bin/package/clean.mjs +214 -47
  16. package/dist/bin/package/clean.mjs.map +1 -1
  17. package/dist/bin/package/compile.mjs +296 -83
  18. package/dist/bin/package/compile.mjs.map +1 -1
  19. package/dist/bin/package/copy-assets-cjs.mjs +214 -47
  20. package/dist/bin/package/copy-assets-cjs.mjs.map +1 -1
  21. package/dist/bin/package/copy-assets-esm.mjs +214 -47
  22. package/dist/bin/package/copy-assets-esm.mjs.map +1 -1
  23. package/dist/bin/package/publint.mjs +224 -50
  24. package/dist/bin/package/publint.mjs.map +1 -1
  25. package/dist/bin/package/recompile.mjs +296 -83
  26. package/dist/bin/package/recompile.mjs.map +1 -1
  27. package/dist/bin/package/sync-layout.mjs +10 -3
  28. package/dist/bin/package/sync-layout.mjs.map +1 -1
  29. package/dist/bin/skills.mjs +135 -91
  30. package/dist/bin/skills.mjs.map +1 -1
  31. package/dist/bin/source-map-explorer.mjs +7 -2
  32. package/dist/bin/source-map-explorer.mjs.map +1 -1
  33. package/dist/bin/xy.mjs +1068 -281
  34. package/dist/bin/xy.mjs.map +1 -1
  35. package/dist/lib/index.d.ts +1 -0
  36. package/dist/lib/index.d.ts.map +1 -1
  37. package/dist/lib/licenseCheck/checkLicenses.d.ts +23 -0
  38. package/dist/lib/licenseCheck/checkLicenses.d.ts.map +1 -0
  39. package/dist/lib/licenseCheck/collectProductionLicenses.d.ts +21 -0
  40. package/dist/lib/licenseCheck/collectProductionLicenses.d.ts.map +1 -0
  41. package/dist/lib/licenseCheck/index.d.ts +4 -0
  42. package/dist/lib/licenseCheck/index.d.ts.map +1 -0
  43. package/dist/lib/licenseCheck/readPackageLicense.d.ts +25 -0
  44. package/dist/lib/licenseCheck/readPackageLicense.d.ts.map +1 -0
  45. package/dist/xy/common/licenseCommand.d.ts.map +1 -1
  46. package/dist/xy/lint/cycleCommand.d.ts.map +1 -1
  47. package/dist/xy/lint/lint/runCommand.d.ts.map +1 -1
  48. package/package.json +7 -8
@@ -548,7 +548,7 @@ function Ut(n, t = {}) {
548
548
  function es(n, t = {}) {
549
549
  return new I$1(n, t).iterate();
550
550
  }
551
- var Gt, ce, ss, fe$1, ue$1, qt, de$1, pe$1, is, rs, ns, os$2, hs, as, ls, cs, fs$5, 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$1, et, v$1, dt, st, C$1, F, T$1, 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;
551
+ var Gt, ce, ss, fe$1, ue$1, qt, de$1, pe$1, is, rs, ns, os$2, hs, as, ls, cs, fs$5, 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;
552
552
  var init_index_min = __esmMin((() => {
553
553
  Gt = (n, t, e) => {
554
554
  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);
@@ -559,10 +559,12 @@ var init_index_min = __esmMin((() => {
559
559
  body: e.slice(r[0] + s.length, r[1]),
560
560
  post: e.slice(r[1] + i.length)
561
561
  };
562
- }, ce = (n, t) => {
562
+ };
563
+ ce = (n, t) => {
563
564
  let e = t.match(n);
564
565
  return e ? e[0] : null;
565
- }, ss = (n, t, e) => {
566
+ };
567
+ ss = (n, t, e) => {
566
568
  let s, i, r, o, h, a = e.indexOf(n), l = e.indexOf(t, a + 1), u = a;
567
569
  if (a >= 0 && l > 0) {
568
570
  if (n === t) return [a, l];
@@ -578,7 +580,22 @@ var init_index_min = __esmMin((() => {
578
580
  }
579
581
  return h;
580
582
  };
581
- fe$1 = "\0SLASH" + Math.random() + "\0", ue$1 = "\0OPEN" + Math.random() + "\0", qt = "\0CLOSE" + Math.random() + "\0", de$1 = "\0COMMA" + Math.random() + "\0", pe$1 = "\0PERIOD" + Math.random() + "\0", is = new RegExp(fe$1, "g"), rs = new RegExp(ue$1, "g"), ns = new RegExp(qt, "g"), os$2 = new RegExp(de$1, "g"), hs = new RegExp(pe$1, "g"), as = /\\\\/g, ls = /\\{/g, cs = /\\}/g, fs$5 = /\\,/g, us = /\\./g, ds = 1e5;
583
+ fe$1 = "\0SLASH" + Math.random() + "\0";
584
+ ue$1 = "\0OPEN" + Math.random() + "\0";
585
+ qt = "\0CLOSE" + Math.random() + "\0";
586
+ de$1 = "\0COMMA" + Math.random() + "\0";
587
+ pe$1 = "\0PERIOD" + Math.random() + "\0";
588
+ is = new RegExp(fe$1, "g");
589
+ rs = new RegExp(ue$1, "g");
590
+ ns = new RegExp(qt, "g");
591
+ os$2 = new RegExp(de$1, "g");
592
+ hs = new RegExp(pe$1, "g");
593
+ as = /\\\\/g;
594
+ ls = /\\{/g;
595
+ cs = /\\}/g;
596
+ fs$5 = /\\,/g;
597
+ us = /\\./g;
598
+ ds = 1e5;
582
599
  at = (n) => {
583
600
  if (typeof n != "string") throw new TypeError("invalid pattern");
584
601
  if (n.length > 65536) throw new TypeError("pattern is too long");
@@ -602,7 +619,11 @@ var init_index_min = __esmMin((() => {
602
619
  "[:upper:]": ["\\p{Lu}", !0],
603
620
  "[:word:]": ["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}", !0],
604
621
  "[:xdigit:]": ["A-Fa-f0-9", !1]
605
- }, lt = (n) => n.replace(/[[\]\\-]/g, "\\$&"), Es = (n) => n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), we$1 = (n) => n.join(""), ye$1 = (n, t) => {
622
+ };
623
+ lt = (n) => n.replace(/[[\]\\-]/g, "\\$&");
624
+ Es = (n) => n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
625
+ we$1 = (n) => n.join("");
626
+ ye$1 = (n, t) => {
606
627
  let e = t;
607
628
  if (n.charAt(e) !== "[") throw new Error("not in a brace expression");
608
629
  let s = [], i = [], r = e + 1, o = !1, h = !1, a = !1, l = !1, u = e, c = "";
@@ -679,7 +700,18 @@ var init_index_min = __esmMin((() => {
679
700
  "+",
680
701
  "*",
681
702
  "@"
682
- ]), be$1 = (n) => xs.has(n), vs = "(?!(?:^|/)\\.\\.?(?:$|/))", Ct = "(?!\\.)", Cs = /* @__PURE__ */ new Set(["[", "."]), Ts = /* @__PURE__ */ new Set(["..", "."]), As = /* @__PURE__ */ new Set("().*{}+?[]^$\\!"), ks = (n) => n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), Kt = "[^/]", Se$1 = Kt + "*?", Ee$1 = Kt + "+?", Q$1 = class n {
703
+ ]);
704
+ be$1 = (n) => xs.has(n);
705
+ vs = "(?!(?:^|/)\\.\\.?(?:$|/))";
706
+ Ct = "(?!\\.)";
707
+ Cs = /* @__PURE__ */ new Set(["[", "."]);
708
+ Ts = /* @__PURE__ */ new Set(["..", "."]);
709
+ As = /* @__PURE__ */ new Set("().*{}+?[]^$\\!");
710
+ ks = (n) => n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
711
+ Kt = "[^/]";
712
+ Se$1 = Kt + "*?";
713
+ Ee$1 = Kt + "+?";
714
+ Q$1 = class n {
683
715
  type;
684
716
  #t;
685
717
  #s;
@@ -920,34 +952,60 @@ var init_index_min = __esmMin((() => {
920
952
  }
921
953
  };
922
954
  tt = (n, { windowsPathsNoEscape: t = !1, magicalBraces: e = !1 } = {}) => e ? t ? n.replace(/[?*()[\]{}]/g, "[$&]") : n.replace(/[?*()[\]\\{}]/g, "\\$&") : t ? n.replace(/[?*()[\]]/g, "[$&]") : n.replace(/[?*()[\]\\]/g, "\\$&");
923
- O$2 = (n, t, e = {}) => (at(t), !e.nocomment && t.charAt(0) === "#" ? !1 : new D(t, e).match(n)), Rs = /^\*+([^+@!?\*\[\(]*)$/, Os = (n) => (t) => !t.startsWith(".") && t.endsWith(n), Fs = (n) => (t) => t.endsWith(n), Ds = (n) => (n = n.toLowerCase(), (t) => !t.startsWith(".") && t.toLowerCase().endsWith(n)), Ms = (n) => (n = n.toLowerCase(), (t) => t.toLowerCase().endsWith(n)), Ns = /^\*+\.\*+$/, _s = (n) => !n.startsWith(".") && n.includes("."), Ls = (n) => n !== "." && n !== ".." && n.includes("."), Ws = /^\.\*+$/, Ps = (n) => n !== "." && n !== ".." && n.startsWith("."), js = /^\*+$/, Is = (n) => n.length !== 0 && !n.startsWith("."), zs = (n) => n.length !== 0 && n !== "." && n !== "..", Bs = /^\?+([^+@!?\*\[\(]*)?$/, Us = ([n, t = ""]) => {
955
+ O$2 = (n, t, e = {}) => (at(t), !e.nocomment && t.charAt(0) === "#" ? !1 : new D(t, e).match(n));
956
+ Rs = /^\*+([^+@!?\*\[\(]*)$/;
957
+ Os = (n) => (t) => !t.startsWith(".") && t.endsWith(n);
958
+ Fs = (n) => (t) => t.endsWith(n);
959
+ Ds = (n) => (n = n.toLowerCase(), (t) => !t.startsWith(".") && t.toLowerCase().endsWith(n));
960
+ Ms = (n) => (n = n.toLowerCase(), (t) => t.toLowerCase().endsWith(n));
961
+ Ns = /^\*+\.\*+$/;
962
+ _s = (n) => !n.startsWith(".") && n.includes(".");
963
+ Ls = (n) => n !== "." && n !== ".." && n.includes(".");
964
+ Ws = /^\.\*+$/;
965
+ Ps = (n) => n !== "." && n !== ".." && n.startsWith(".");
966
+ js = /^\*+$/;
967
+ Is = (n) => n.length !== 0 && !n.startsWith(".");
968
+ zs = (n) => n.length !== 0 && n !== "." && n !== "..";
969
+ Bs = /^\?+([^+@!?\*\[\(]*)?$/;
970
+ Us = ([n, t = ""]) => {
924
971
  let e = Ce$1([n]);
925
972
  return t ? (t = t.toLowerCase(), (s) => e(s) && s.toLowerCase().endsWith(t)) : e;
926
- }, $s = ([n, t = ""]) => {
973
+ };
974
+ $s = ([n, t = ""]) => {
927
975
  let e = Te$1([n]);
928
976
  return t ? (t = t.toLowerCase(), (s) => e(s) && s.toLowerCase().endsWith(t)) : e;
929
- }, Gs = ([n, t = ""]) => {
977
+ };
978
+ Gs = ([n, t = ""]) => {
930
979
  let e = Te$1([n]);
931
980
  return t ? (s) => e(s) && s.endsWith(t) : e;
932
- }, Hs = ([n, t = ""]) => {
981
+ };
982
+ Hs = ([n, t = ""]) => {
933
983
  let e = Ce$1([n]);
934
984
  return t ? (s) => e(s) && s.endsWith(t) : e;
935
- }, Ce$1 = ([n]) => {
985
+ };
986
+ Ce$1 = ([n]) => {
936
987
  let t = n.length;
937
988
  return (e) => e.length === t && !e.startsWith(".");
938
- }, Te$1 = ([n]) => {
989
+ };
990
+ Te$1 = ([n]) => {
939
991
  let t = n.length;
940
992
  return (e) => e.length === t && e !== "." && e !== "..";
941
- }, Ae$1 = typeof process == "object" && process ? typeof process.env == "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix", xe$1 = {
993
+ };
994
+ Ae$1 = typeof process == "object" && process ? typeof process.env == "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix";
995
+ xe$1 = {
942
996
  win32: { sep: "\\" },
943
997
  posix: { sep: "/" }
944
998
  };
945
999
  O$2.sep = Ae$1 === "win32" ? xe$1.win32.sep : xe$1.posix.sep;
946
1000
  A$1 = Symbol("globstar **");
947
1001
  O$2.GLOBSTAR = A$1;
948
- Vs = "[^/]*?", Ys = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?", Xs = "(?:(?!(?:\\/|^)\\.).)*?", Js = (n, t = {}) => (e) => O$2(e, n, t);
1002
+ Vs = "[^/]*?";
1003
+ Ys = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
1004
+ Xs = "(?:(?!(?:\\/|^)\\.).)*?";
1005
+ Js = (n, t = {}) => (e) => O$2(e, n, t);
949
1006
  O$2.filter = Js;
950
- N$1 = (n, t = {}) => Object.assign({}, n, t), Zs = (n) => {
1007
+ N$1 = (n, t = {}) => Object.assign({}, n, t);
1008
+ Zs = (n) => {
951
1009
  if (!n || typeof n != "object" || !Object.keys(n).length) return O$2;
952
1010
  let t = O$2;
953
1011
  return Object.assign((s, i, r = {}) => t(s, i, N$1(n, r)), {
@@ -988,7 +1046,9 @@ var init_index_min = __esmMin((() => {
988
1046
  return n = n.filter((i) => s.match(i)), s.options.nonull && !n.length && n.push(t), n;
989
1047
  };
990
1048
  O$2.match = ti;
991
- ve$1 = /[?*]|[+@!]\(.*?\)|\[|\]/, ei = (n) => n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), D = class {
1049
+ ve$1 = /[?*]|[+@!]\(.*?\)|\[|\]/;
1050
+ ei = (n) => n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
1051
+ D = class {
992
1052
  options;
993
1053
  set;
994
1054
  pattern;
@@ -1272,9 +1332,14 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
1272
1332
  O$2.Minimatch = D;
1273
1333
  O$2.escape = tt;
1274
1334
  O$2.unescape = W;
1275
- si = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, Oe = /* @__PURE__ */ new Set(), Vt = typeof process == "object" && process ? process : {}, Fe$1 = (n, t, e, s) => {
1335
+ si = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date;
1336
+ Oe = /* @__PURE__ */ new Set();
1337
+ Vt = typeof process == "object" && process ? process : {};
1338
+ Fe$1 = (n, t, e, s) => {
1276
1339
  typeof Vt.emitWarning == "function" ? Vt.emitWarning(n, t, e, s) : console.error(`[${e}] ${t}: ${n}`);
1277
- }, At = globalThis.AbortController, Re$1 = globalThis.AbortSignal;
1340
+ };
1341
+ At = globalThis.AbortController;
1342
+ Re$1 = globalThis.AbortSignal;
1278
1343
  if (typeof At > "u") {
1279
1344
  Re$1 = class {
1280
1345
  onabort;
@@ -1302,11 +1367,14 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
1302
1367
  };
1303
1368
  }
1304
1369
  ii = (n) => !Oe.has(n);
1305
- q$1 = (n) => n && n === Math.floor(n) && n > 0 && isFinite(n), De$1 = (n) => q$1(n) ? n <= Math.pow(2, 8) ? Uint8Array : n <= Math.pow(2, 16) ? Uint16Array : n <= Math.pow(2, 32) ? Uint32Array : n <= Number.MAX_SAFE_INTEGER ? Tt : null : null, Tt = class extends Array {
1370
+ q$1 = (n) => n && n === Math.floor(n) && n > 0 && isFinite(n);
1371
+ De$1 = (n) => q$1(n) ? n <= Math.pow(2, 8) ? Uint8Array : n <= Math.pow(2, 16) ? Uint16Array : n <= Math.pow(2, 32) ? Uint32Array : n <= Number.MAX_SAFE_INTEGER ? Tt : null : null;
1372
+ Tt = class extends Array {
1306
1373
  constructor(n) {
1307
1374
  super(n), this.fill(0);
1308
1375
  }
1309
- }, ri = class ct {
1376
+ };
1377
+ ri = class ct {
1310
1378
  heap;
1311
1379
  length;
1312
1380
  static #t = !1;
@@ -1327,7 +1395,8 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
1327
1395
  pop() {
1328
1396
  return this.heap[--this.length];
1329
1397
  }
1330
- }, ft = class Me {
1398
+ };
1399
+ ft = class Me {
1331
1400
  #t;
1332
1401
  #s;
1333
1402
  #n;
@@ -1870,7 +1939,47 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
1870
1939
  Ne$1 = typeof process == "object" && process ? process : {
1871
1940
  stdout: null,
1872
1941
  stderr: null
1873
- }, oi = (n) => !!n && typeof n == "object" && (n instanceof V || n instanceof Pe || hi(n) || ai(n)), hi = (n) => !!n && typeof n == "object" && n instanceof EventEmitter && typeof n.pipe == "function" && n.pipe !== Pe.Writable.prototype.pipe, ai = (n) => !!n && typeof n == "object" && n instanceof EventEmitter && typeof n.write == "function" && typeof n.end == "function", G = Symbol("EOF"), H$1 = Symbol("maybeEmitEnd"), K$1 = Symbol("emittedEnd"), kt = Symbol("emittingEnd"), ut = Symbol("emittedError"), Rt = Symbol("closed"), _e$1 = Symbol("read"), Ot = Symbol("flush"), Le$1 = Symbol("flushChunk"), P$1 = Symbol("encoding"), et = Symbol("decoder"), v$1 = Symbol("flowing"), dt = Symbol("paused"), st = Symbol("resume"), C$1 = Symbol("buffer"), F = Symbol("pipes"), T$1 = Symbol("bufferLength"), Yt = Symbol("bufferPush"), Ft = Symbol("bufferShift"), k = Symbol("objectMode"), x$1 = Symbol("destroyed"), Xt = Symbol("error"), Jt = Symbol("emitData"), We$1 = Symbol("emitEnd"), Zt = Symbol("emitEnd2"), B = Symbol("async"), Qt = Symbol("abort"), Dt = Symbol("aborted"), pt = Symbol("signal"), Y$1 = Symbol("dataListeners"), M = Symbol("discarded"), mt = (n) => Promise.resolve().then(n), li = (n) => n(), ci = (n) => n === "end" || n === "finish" || n === "prefinish", fi = (n) => n instanceof ArrayBuffer || !!n && typeof n == "object" && n.constructor && n.constructor.name === "ArrayBuffer" && n.byteLength >= 0, ui = (n) => !Buffer.isBuffer(n) && ArrayBuffer.isView(n), Mt = class {
1942
+ };
1943
+ oi = (n) => !!n && typeof n == "object" && (n instanceof V || n instanceof Pe || hi(n) || ai(n));
1944
+ hi = (n) => !!n && typeof n == "object" && n instanceof EventEmitter && typeof n.pipe == "function" && n.pipe !== Pe.Writable.prototype.pipe;
1945
+ ai = (n) => !!n && typeof n == "object" && n instanceof EventEmitter && typeof n.write == "function" && typeof n.end == "function";
1946
+ G = Symbol("EOF");
1947
+ H$1 = Symbol("maybeEmitEnd");
1948
+ K$1 = Symbol("emittedEnd");
1949
+ kt = Symbol("emittingEnd");
1950
+ ut = Symbol("emittedError");
1951
+ Rt = Symbol("closed");
1952
+ _e$1 = Symbol("read");
1953
+ Ot = Symbol("flush");
1954
+ Le$1 = Symbol("flushChunk");
1955
+ P = Symbol("encoding");
1956
+ et = Symbol("decoder");
1957
+ v$1 = Symbol("flowing");
1958
+ dt = Symbol("paused");
1959
+ st = Symbol("resume");
1960
+ C$1 = Symbol("buffer");
1961
+ F = Symbol("pipes");
1962
+ T = Symbol("bufferLength");
1963
+ Yt = Symbol("bufferPush");
1964
+ Ft = Symbol("bufferShift");
1965
+ k = Symbol("objectMode");
1966
+ x$1 = Symbol("destroyed");
1967
+ Xt = Symbol("error");
1968
+ Jt = Symbol("emitData");
1969
+ We$1 = Symbol("emitEnd");
1970
+ Zt = Symbol("emitEnd2");
1971
+ B = Symbol("async");
1972
+ Qt = Symbol("abort");
1973
+ Dt = Symbol("aborted");
1974
+ pt = Symbol("signal");
1975
+ Y$1 = Symbol("dataListeners");
1976
+ M = Symbol("discarded");
1977
+ mt = (n) => Promise.resolve().then(n);
1978
+ li = (n) => n();
1979
+ ci = (n) => n === "end" || n === "finish" || n === "prefinish";
1980
+ fi = (n) => n instanceof ArrayBuffer || !!n && typeof n == "object" && n.constructor && n.constructor.name === "ArrayBuffer" && n.byteLength >= 0;
1981
+ ui = (n) => !Buffer.isBuffer(n) && ArrayBuffer.isView(n);
1982
+ Mt = class {
1874
1983
  src;
1875
1984
  dest;
1876
1985
  opts;
@@ -1885,20 +1994,24 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
1885
1994
  end() {
1886
1995
  this.unpipe(), this.opts.end && this.dest.end();
1887
1996
  }
1888
- }, te$1 = class extends Mt {
1997
+ };
1998
+ te$1 = class extends Mt {
1889
1999
  unpipe() {
1890
2000
  this.src.removeListener("error", this.proxyErrors), super.unpipe();
1891
2001
  }
1892
2002
  constructor(t, e, s) {
1893
2003
  super(t, e, s), this.proxyErrors = (i) => this.dest.emit("error", i), t.on("error", this.proxyErrors);
1894
2004
  }
1895
- }, di = (n) => !!n.objectMode, pi = (n) => !n.objectMode && !!n.encoding && n.encoding !== "buffer", V = class extends EventEmitter {
2005
+ };
2006
+ di = (n) => !!n.objectMode;
2007
+ pi = (n) => !n.objectMode && !!n.encoding && n.encoding !== "buffer";
2008
+ V = class extends EventEmitter {
1896
2009
  [v$1] = !1;
1897
2010
  [dt] = !1;
1898
2011
  [F] = [];
1899
2012
  [C$1] = [];
1900
2013
  [k];
1901
- [P$1];
2014
+ [P];
1902
2015
  [B];
1903
2016
  [et];
1904
2017
  [G] = !1;
@@ -1906,7 +2019,7 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
1906
2019
  [kt] = !1;
1907
2020
  [Rt] = !1;
1908
2021
  [ut] = null;
1909
- [T$1] = 0;
2022
+ [T] = 0;
1910
2023
  [x$1] = !1;
1911
2024
  [pt];
1912
2025
  [Dt] = !1;
@@ -1917,15 +2030,15 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
1917
2030
  constructor(...t) {
1918
2031
  let e = t[0] || {};
1919
2032
  if (super(), e.objectMode && typeof e.encoding == "string") throw new TypeError("Encoding and objectMode may not be used together");
1920
- di(e) ? (this[k] = !0, this[P$1] = null) : pi(e) ? (this[P$1] = e.encoding, this[k] = !1) : (this[k] = !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$1] }), e && e.debugExposePipes === !0 && Object.defineProperty(this, "pipes", { get: () => this[F] });
2033
+ 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] });
1921
2034
  let { signal: s } = e;
1922
2035
  s && (this[pt] = s, s.aborted ? this[Qt]() : s.addEventListener("abort", () => this[Qt]()));
1923
2036
  }
1924
2037
  get bufferLength() {
1925
- return this[T$1];
2038
+ return this[T];
1926
2039
  }
1927
2040
  get encoding() {
1928
- return this[P$1];
2041
+ return this[P];
1929
2042
  }
1930
2043
  set encoding(t) {
1931
2044
  throw new Error("Encoding must be set at instantiation time");
@@ -1963,12 +2076,12 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
1963
2076
  else if (fi(t)) t = Buffer.from(t);
1964
2077
  else if (typeof t != "string") throw new Error("Non-contiguous data written to non-objectMode stream");
1965
2078
  }
1966
- return this[k] ? (this[v$1] && this[T$1] !== 0 && this[Ot](!0), this[v$1] ? this.emit("data", t) : this[Yt](t), this[T$1] !== 0 && this.emit("readable"), s && i(s), this[v$1]) : 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$1] && this[T$1] !== 0 && this[Ot](!0), this[v$1] ? this.emit("data", t) : this[Yt](t), this[T$1] !== 0 && this.emit("readable"), s && i(s), this[v$1]) : (this[T$1] !== 0 && this.emit("readable"), s && i(s), this[v$1]);
2079
+ 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]);
1967
2080
  }
1968
2081
  read(t) {
1969
2082
  if (this[x$1]) return null;
1970
- if (this[M] = !1, this[T$1] === 0 || t === 0 || t && t > this[T$1]) return this[H$1](), null;
1971
- this[k] && (t = null), this[C$1].length > 1 && !this[k] && (this[C$1] = [this[P$1] ? this[C$1].join("") : Buffer.concat(this[C$1], this[T$1])]);
2083
+ if (this[M] = !1, this[T] === 0 || t === 0 || t && t > this[T]) return this[H$1](), null;
2084
+ 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])]);
1972
2085
  let e = this[_e$1](t || null, this[C$1][0]);
1973
2086
  return this[H$1](), e;
1974
2087
  }
@@ -1976,7 +2089,7 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
1976
2089
  if (this[k]) this[Ft]();
1977
2090
  else {
1978
2091
  let s = e;
1979
- t === s.length || t === null ? this[Ft]() : typeof s == "string" ? (this[C$1][0] = s.slice(t), e = s.slice(0, t), this[T$1] -= t) : (this[C$1][0] = s.subarray(t), e = s.subarray(0, t), this[T$1] -= t);
2092
+ 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);
1980
2093
  }
1981
2094
  return this.emit("data", e), !this[C$1].length && !this[G] && this.emit("drain"), e;
1982
2095
  }
@@ -2002,10 +2115,10 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
2002
2115
  return this[dt];
2003
2116
  }
2004
2117
  [Yt](t) {
2005
- this[k] ? this[T$1] += 1 : this[T$1] += t.length, this[C$1].push(t);
2118
+ this[k] ? this[T] += 1 : this[T] += t.length, this[C$1].push(t);
2006
2119
  }
2007
2120
  [Ft]() {
2008
- return this[k] ? this[T$1] -= 1 : this[T$1] -= this[C$1][0].length, this[C$1].shift();
2121
+ return this[k] ? this[T] -= 1 : this[T] -= this[C$1][0].length, this[C$1].shift();
2009
2122
  }
2010
2123
  [Ot](t = !1) {
2011
2124
  do ;
@@ -2031,7 +2144,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2031
2144
  on(t, e) {
2032
2145
  let s = super.on(t, e);
2033
2146
  if (t === "data") this[M] = !1, this[Y$1]++, !this[F].length && !this[v$1] && this[st]();
2034
- else if (t === "readable" && this[T$1] !== 0) super.emit("readable");
2147
+ else if (t === "readable" && this[T] !== 0) super.emit("readable");
2035
2148
  else if (ci(t) && this[K$1]) super.emit(t), this.removeAllListeners(t);
2036
2149
  else if (t === "error" && this[ut]) {
2037
2150
  let i = e;
@@ -2110,7 +2223,7 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2110
2223
  async concat() {
2111
2224
  if (this[k]) throw new Error("cannot concat in objectMode");
2112
2225
  let t = await this.collect();
2113
- return this[P$1] ? t.join("") : Buffer.concat(t, t.dataLength);
2226
+ return this[P] ? t.join("") : Buffer.concat(t, t.dataLength);
2114
2227
  }
2115
2228
  async promise() {
2116
2229
  return new Promise((t, e) => {
@@ -2182,14 +2295,15 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2182
2295
  }
2183
2296
  destroy(t) {
2184
2297
  if (this[x$1]) return t ? this.emit("error", t) : this.emit(x$1), this;
2185
- this[x$1] = !0, this[M] = !0, this[C$1].length = 0, this[T$1] = 0;
2298
+ this[x$1] = !0, this[M] = !0, this[C$1].length = 0, this[T] = 0;
2186
2299
  let e = this;
2187
2300
  return typeof e.close == "function" && !this[Rt] && e.close(), t ? this.emit("error", t) : this.emit(x$1), this;
2188
2301
  }
2189
2302
  static get isStream() {
2190
2303
  return oi;
2191
2304
  }
2192
- }, wt = {
2305
+ };
2306
+ wt = {
2193
2307
  lstatSync,
2194
2308
  readdir,
2195
2309
  readdirSync,
@@ -2201,35 +2315,66 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2201
2315
  readlink,
2202
2316
  realpath
2203
2317
  }
2204
- }, Ue$1 = (n) => !n || n === wt || n === xi ? wt : {
2318
+ };
2319
+ Ue$1 = (n) => !n || n === wt || n === xi ? wt : {
2205
2320
  ...wt,
2206
2321
  ...n,
2207
2322
  promises: {
2208
2323
  ...wt.promises,
2209
2324
  ...n.promises || {}
2210
2325
  }
2211
- }, $e$1 = /^\\\\\?\\([a-z]:)\\?$/i, Ri = (n) => n.replace(/\//g, "\\").replace($e$1, "$1\\"), Oi = /[\\\/]/, L = 0, Ge$1 = 1, He$1 = 2, U = 4, qe$1 = 6, Ke$1 = 8, X$1 = 10, Ve$1 = 12, _$1 = 15, gt = ~_$1, se$1 = 16, je$1 = 32, yt = 64, j = 128, Nt = 256, Lt = 512, Ie = yt | j | Lt, Fi = 1023, 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, ze$1 = new ft({ max: 2 ** 12 }), bt = (n) => {
2326
+ };
2327
+ $e$1 = /^\\\\\?\\([a-z]:)\\?$/i;
2328
+ Ri = (n) => n.replace(/\//g, "\\").replace($e$1, "$1\\");
2329
+ Oi = /[\\\/]/;
2330
+ L = 0;
2331
+ Ge$1 = 1;
2332
+ He$1 = 2;
2333
+ U = 4;
2334
+ qe$1 = 6;
2335
+ Ke$1 = 8;
2336
+ X$1 = 10;
2337
+ Ve$1 = 12;
2338
+ _$1 = 15;
2339
+ gt = ~_$1;
2340
+ se$1 = 16;
2341
+ je$1 = 32;
2342
+ yt = 64;
2343
+ j = 128;
2344
+ Nt = 256;
2345
+ Lt = 512;
2346
+ Ie = yt | j | Lt;
2347
+ Fi = 1023;
2348
+ 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;
2349
+ ze$1 = new ft({ max: 2 ** 12 });
2350
+ bt = (n) => {
2212
2351
  let t = ze$1.get(n);
2213
2352
  if (t) return t;
2214
2353
  let e = n.normalize("NFKD");
2215
2354
  return ze$1.set(n, e), e;
2216
- }, Be$1 = new ft({ max: 2 ** 12 }), _t = (n) => {
2355
+ };
2356
+ Be$1 = new ft({ max: 2 ** 12 });
2357
+ _t = (n) => {
2217
2358
  let t = Be$1.get(n);
2218
2359
  if (t) return t;
2219
2360
  let e = bt(n.toLowerCase());
2220
2361
  return Be$1.set(n, e), e;
2221
- }, Wt = class extends ft {
2362
+ };
2363
+ Wt = class extends ft {
2222
2364
  constructor() {
2223
2365
  super({ max: 256 });
2224
2366
  }
2225
- }, ne$1 = class extends ft {
2367
+ };
2368
+ ne$1 = class extends ft {
2226
2369
  constructor(t = 16 * 1024) {
2227
2370
  super({
2228
2371
  maxSize: t,
2229
2372
  sizeCalculation: (e) => e.length + 1
2230
2373
  });
2231
2374
  }
2232
- }, Ye$1 = Symbol("PathScurry setAsCwd"), R$2 = class {
2375
+ };
2376
+ Ye$1 = Symbol("PathScurry setAsCwd");
2377
+ R$2 = class {
2233
2378
  name;
2234
2379
  root;
2235
2380
  roots;
@@ -2642,7 +2787,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2642
2787
  for (; i && i.parent;) e.add(i), i.#x = s.join(this.sep), i.#A = s.join("/"), i = i.parent, s.push("..");
2643
2788
  for (i = t; i && i.parent && !e.has(i);) i.#x = void 0, i.#A = void 0, i = i.parent;
2644
2789
  }
2645
- }, Pt = class n extends R$2 {
2790
+ };
2791
+ Pt = class n extends R$2 {
2646
2792
  sep = "\\";
2647
2793
  splitSep = Oi;
2648
2794
  constructor(t, e = L, s, i, r, o, h) {
@@ -2662,7 +2808,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2662
2808
  sameRoot(t, e = this.root.name) {
2663
2809
  return t = t.toUpperCase().replace(/\//g, "\\").replace($e$1, "$1\\"), t === e;
2664
2810
  }
2665
- }, jt = class n extends R$2 {
2811
+ };
2812
+ jt = class n extends R$2 {
2666
2813
  splitSep = "/";
2667
2814
  sep = "/";
2668
2815
  constructor(t, e = L, s, i, r, o, h) {
@@ -2677,7 +2824,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2677
2824
  newChild(t, e = L, s = {}) {
2678
2825
  return new n(t, e, this.root, this.roots, this.nocase, this.childrenCache(), s);
2679
2826
  }
2680
- }, It = class {
2827
+ };
2828
+ It = class {
2681
2829
  root;
2682
2830
  rootPath;
2683
2831
  roots;
@@ -2921,7 +3069,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2921
3069
  let e = this.cwd;
2922
3070
  this.cwd = typeof t == "string" ? this.cwd.resolve(t) : t, this.cwd[Ye$1](e);
2923
3071
  }
2924
- }, it = class extends It {
3072
+ };
3073
+ it = class extends It {
2925
3074
  sep = "\\";
2926
3075
  constructor(t = process.cwd(), e = {}) {
2927
3076
  let { nocase: s = !0 } = e;
@@ -2940,7 +3089,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2940
3089
  isAbsolute(t) {
2941
3090
  return t.startsWith("/") || t.startsWith("\\") || /^[a-z]:(\/|\\)/i.test(t);
2942
3091
  }
2943
- }, rt = class extends It {
3092
+ };
3093
+ rt = class extends It {
2944
3094
  sep = "/";
2945
3095
  constructor(t = process.cwd(), e = {}) {
2946
3096
  let { nocase: s = !1 } = e;
@@ -2958,7 +3108,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2958
3108
  isAbsolute(t) {
2959
3109
  return t.startsWith("/");
2960
3110
  }
2961
- }, St = class extends rt {
3111
+ };
3112
+ St = class extends rt {
2962
3113
  constructor(t = process.cwd(), e = {}) {
2963
3114
  let { nocase: s = !0 } = e;
2964
3115
  super(t, {
@@ -2969,7 +3120,10 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
2969
3120
  };
2970
3121
  process.platform;
2971
3122
  Xe$1 = process.platform === "win32" ? it : process.platform === "darwin" ? St : rt;
2972
- Di = (n) => n.length >= 1, Mi = (n) => n.length >= 1, Ni = Symbol.for("nodejs.util.inspect.custom"), nt = class n {
3123
+ Di = (n) => n.length >= 1;
3124
+ Mi = (n) => n.length >= 1;
3125
+ Ni = Symbol.for("nodejs.util.inspect.custom");
3126
+ nt = class n {
2973
3127
  #t;
2974
3128
  #s;
2975
3129
  #n;
@@ -3059,7 +3213,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3059
3213
  return this.#n === 0 || !this.isGlobstar() || !this.#u ? !1 : (this.#u = !1, !0);
3060
3214
  }
3061
3215
  };
3062
- _i = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", ot = class {
3216
+ _i = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux";
3217
+ ot = class {
3063
3218
  relative;
3064
3219
  relativeChildren;
3065
3220
  absolute;
@@ -3118,7 +3273,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3118
3273
  let s = t.fullpath(), i = this.store.get(s);
3119
3274
  i ? i.add(e.globString()) : this.store.set(s, /* @__PURE__ */ new Set([e.globString()]));
3120
3275
  }
3121
- }, he$1 = class {
3276
+ };
3277
+ he$1 = class {
3122
3278
  store = /* @__PURE__ */ new Map();
3123
3279
  add(t, e, s) {
3124
3280
  let i = (e ? 2 : 0) | (s ? 1 : 0), r = this.store.get(t);
@@ -3131,7 +3287,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3131
3287
  !!(e & 1)
3132
3288
  ]);
3133
3289
  }
3134
- }, ae$1 = class {
3290
+ };
3291
+ ae$1 = class {
3135
3292
  store = /* @__PURE__ */ new Map();
3136
3293
  add(t, e) {
3137
3294
  if (!t.canReaddir()) return;
@@ -3149,7 +3306,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3149
3306
  keys() {
3150
3307
  return [...this.store.keys()].filter((t) => t.canReaddir());
3151
3308
  }
3152
- }, Et = class n {
3309
+ };
3310
+ Et = class n {
3153
3311
  hasWalkedCache;
3154
3312
  matches = new he$1();
3155
3313
  subwalks = new ae$1();
@@ -3229,7 +3387,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3229
3387
  t.isNamed(e) && (s ? this.subwalks.add(t, s) : this.matches.add(t, i, !1));
3230
3388
  }
3231
3389
  };
3232
- Li = (n, t) => typeof n == "string" ? new ot([n], t) : Array.isArray(n) ? new ot(n, t) : n, zt = class {
3390
+ Li = (n, t) => typeof n == "string" ? new ot([n], t) : Array.isArray(n) ? new ot(n, t) : n;
3391
+ zt = class {
3233
3392
  path;
3234
3393
  patterns;
3235
3394
  opts;
@@ -3385,7 +3544,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3385
3544
  for (let [h, a] of s.subwalks.entries()) r++, this.walkCB2Sync(h, a, s.child(), o);
3386
3545
  o();
3387
3546
  }
3388
- }, xt = class extends zt {
3547
+ };
3548
+ xt = class extends zt {
3389
3549
  matches = /* @__PURE__ */ new Set();
3390
3550
  constructor(t, e, s) {
3391
3551
  super(t, e, s);
@@ -3407,7 +3567,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3407
3567
  if (this.signal?.aborted) throw this.signal.reason;
3408
3568
  }), this.matches;
3409
3569
  }
3410
- }, vt = class extends zt {
3570
+ };
3571
+ vt = class extends zt {
3411
3572
  results;
3412
3573
  constructor(t, e, s) {
3413
3574
  super(t, e, s), this.results = new V({
@@ -3428,7 +3589,8 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3428
3589
  return this.path.isUnknown() && this.path.lstatSync(), this.walkCBSync(this.path, this.patterns, () => this.results.end()), this.results;
3429
3590
  }
3430
3591
  };
3431
- Pi = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", I$1 = class {
3592
+ Pi = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux";
3593
+ I$1 = class {
3432
3594
  absolute;
3433
3595
  cwd;
3434
3596
  root;
@@ -3552,10 +3714,15 @@ while (this[Le$1](this[Ft]()) && this[C$1].length);
3552
3714
  for (let e of n) if (new D(e, t).hasMagic()) return !0;
3553
3715
  return !1;
3554
3716
  };
3555
- ji = Bt, Ii = Object.assign(Qe$1, { sync: Bt }), zi = Ut, Bi = Object.assign(es, { sync: Ut }), Ui = Object.assign(ts$1, {
3717
+ ji = Bt;
3718
+ Ii = Object.assign(Qe$1, { sync: Bt });
3719
+ zi = Ut;
3720
+ Bi = Object.assign(es, { sync: Ut });
3721
+ Ui = Object.assign(ts$1, {
3556
3722
  stream: Bt,
3557
3723
  iterate: Ut
3558
- }), Ze$1 = Object.assign(Je$1, {
3724
+ });
3725
+ Ze$1 = Object.assign(Je$1, {
3559
3726
  glob: Je$1,
3560
3727
  globSync: ts$1,
3561
3728
  sync: Ui,
@@ -4423,7 +4590,9 @@ var require_build = /* @__PURE__ */ __commonJSMin(((exports) => {
4423
4590
  //#endregion
4424
4591
  //#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
4425
4592
  var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4426
- let p = process || {}, argv = p.argv || [], env = p.env || {};
4593
+ let p = process || {};
4594
+ let argv = p.argv || [];
4595
+ let env = p.env || {};
4427
4596
  let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
4428
4597
  let formatter = (open, close, replace = open) => (input) => {
4429
4598
  let string = "" + input, index = string.indexOf(close, open.length);
@@ -7593,7 +7762,8 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7593
7762
  } else throw new YAMLException("code point within a string may not be greater than 0xFFFFFFFF");
7594
7763
  return "\\" + handle + common.repeat("0", length - string.length) + string;
7595
7764
  }
7596
- var QUOTING_TYPE_SINGLE = 1, QUOTING_TYPE_DOUBLE = 2;
7765
+ var QUOTING_TYPE_SINGLE = 1;
7766
+ var QUOTING_TYPE_DOUBLE = 2;
7597
7767
  function State(options) {
7598
7768
  this.schema = options["schema"] || DEFAULT_SCHEMA;
7599
7769
  this.indent = Math.max(1, options["indent"] || 2);
@@ -7674,7 +7844,11 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7674
7844
  function needIndentIndicator(string) {
7675
7845
  return /^\n* /.test(string);
7676
7846
  }
7677
- var STYLE_PLAIN = 1, STYLE_SINGLE = 2, STYLE_LITERAL = 3, STYLE_FOLDED = 4, STYLE_DOUBLE = 5;
7847
+ var STYLE_PLAIN = 1;
7848
+ var STYLE_SINGLE = 2;
7849
+ var STYLE_LITERAL = 3;
7850
+ var STYLE_FOLDED = 4;
7851
+ var STYLE_DOUBLE = 5;
7678
7852
  function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType, quotingType, forceQuotes, inblock) {
7679
7853
  var i;
7680
7854
  var char = 0;
@@ -10554,7 +10728,17 @@ const customEntryOutputName = (entry) => {
10554
10728
  const withoutExtension = PATH.posix.join(parsed.dir, parsed.name);
10555
10729
  const segments = withoutExtension.split("/");
10556
10730
  return segments.length > 1 && platformSourceSegments.has(segments[0]) ? segments.slice(1).join("/") : withoutExtension;
10557
- }, A = (r) => r !== null && typeof r == "object", a = (r, t) => Object.assign(/* @__PURE__ */ new Error(`[${r}]: ${t}`), { code: r }), _ = "ERR_INVALID_PACKAGE_CONFIG", E$1 = "ERR_INVALID_PACKAGE_TARGET", I = "ERR_PACKAGE_PATH_NOT_EXPORTED", R$1 = /^\d+$/, O$1 = /^(\.{1,2}|node_modules)$/i, w = /\/|\\/;
10731
+ };
10732
+ //#endregion
10733
+ //#region ../../node_modules/.pnpm/resolve-pkg-maps@1.0.0/node_modules/resolve-pkg-maps/dist/index.mjs
10734
+ const A = (r) => r !== null && typeof r == "object";
10735
+ const a = (r, t) => Object.assign(/* @__PURE__ */ new Error(`[${r}]: ${t}`), { code: r });
10736
+ const _ = "ERR_INVALID_PACKAGE_CONFIG";
10737
+ const E$1 = "ERR_INVALID_PACKAGE_TARGET";
10738
+ const I = "ERR_PACKAGE_PATH_NOT_EXPORTED";
10739
+ const R$1 = /^\d+$/;
10740
+ const O$1 = /^(\.{1,2}|node_modules)$/i;
10741
+ const w = /\/|\\/;
10558
10742
  var h$1 = ((r) => (r.Export = "exports", r.Import = "imports", r))(h$1 || {});
10559
10743
  const f = (r, t, e, o, c) => {
10560
10744
  if (t == null) return [];
@@ -10572,7 +10756,9 @@ const f = (r, t, e, o, c) => {
10572
10756
  return [];
10573
10757
  }
10574
10758
  throw a(E$1, `Invalid "${r}" target "${t}"`);
10575
- }, s = "*", m = (r, t) => {
10759
+ };
10760
+ const s = "*";
10761
+ const m = (r, t) => {
10576
10762
  const e = r.indexOf(s), o = t.indexOf(s);
10577
10763
  return e === o ? t.length > r.length : o > e;
10578
10764
  };
@@ -10592,7 +10778,9 @@ const p = (r) => Object.keys(r).reduce((t, e) => {
10592
10778
  const o = e === "" || e[0] !== ".";
10593
10779
  if (t === void 0 || t === o) return o;
10594
10780
  throw a(_, "\"exports\" cannot contain some keys starting with \".\" and some not");
10595
- }, void 0), u = /^\w+:/, v = (r, t, e) => {
10781
+ }, void 0);
10782
+ const u = /^\w+:/;
10783
+ const v = (r, t, e) => {
10596
10784
  if (!r) throw new Error("\"exports\" is required");
10597
10785
  t = t === "" ? "." : `./${t}`, (typeof r == "string" || Array.isArray(r) || A(r) && p(r)) && (r = { ".": r });
10598
10786
  const [o, c] = d(r, t), n = f(h$1.Export, r[o], t, e, c);
@@ -10618,7 +10806,11 @@ const K = r((e) => {
10618
10806
  let l = s == null ? void 0 : s.get(o);
10619
10807
  return l === void 0 && (l = Reflect.apply(t, fs, n), s?.set(o, l)), l;
10620
10808
  };
10621
- }, "cacheFs"), x = K("existsSync"), Se = K("readFileSync"), Q = K("statSync"), O = r((e, t, s) => {
10809
+ }, "cacheFs");
10810
+ const x = K("existsSync");
10811
+ const Se = K("readFileSync");
10812
+ const Q = K("statSync");
10813
+ const O = r((e, t, s) => {
10622
10814
  for (;;) {
10623
10815
  const n = PATH.posix.join(e, t);
10624
10816
  if (x(s, n)) return n;
@@ -10626,7 +10818,9 @@ const K = r((e) => {
10626
10818
  if (o === e) return;
10627
10819
  e = o;
10628
10820
  }
10629
- }, "findUp"), C = /^\.{1,2}(\/.*)?$/, H = r((e) => {
10821
+ }, "findUp");
10822
+ const C = /^\.{1,2}(\/.*)?$/;
10823
+ const H = r((e) => {
10630
10824
  const t = h(e);
10631
10825
  return C.test(t) ? t : `./${t}`;
10632
10826
  }, "normalizeRelativePath");
@@ -11044,10 +11238,14 @@ var de;
11044
11238
  (function(e) {
11045
11239
  e[e.InvalidSymbol = 1] = "InvalidSymbol", e[e.InvalidNumberFormat = 2] = "InvalidNumberFormat", e[e.PropertyNameExpected = 3] = "PropertyNameExpected", e[e.ValueExpected = 4] = "ValueExpected", e[e.ColonExpected = 5] = "ColonExpected", e[e.CommaExpected = 6] = "CommaExpected", e[e.CloseBraceExpected = 7] = "CloseBraceExpected", e[e.CloseBracketExpected = 8] = "CloseBracketExpected", e[e.EndOfFileExpected = 9] = "EndOfFileExpected", e[e.InvalidCommentToken = 10] = "InvalidCommentToken", e[e.UnexpectedEndOfComment = 11] = "UnexpectedEndOfComment", e[e.UnexpectedEndOfString = 12] = "UnexpectedEndOfString", e[e.UnexpectedEndOfNumber = 13] = "UnexpectedEndOfNumber", e[e.InvalidUnicode = 14] = "InvalidUnicode", e[e.InvalidEscapeCharacter = 15] = "InvalidEscapeCharacter", e[e.InvalidCharacter = 16] = "InvalidCharacter";
11046
11240
  })(de || (de = {}));
11047
- const we = r((e, t) => Je(Se(t, e, "utf8")), "readJsonc"), ne = Symbol("implicitBaseUrl"), E = "${configDir}", Me = r(() => {
11241
+ const we = r((e, t) => Je(Se(t, e, "utf8")), "readJsonc");
11242
+ const ne = Symbol("implicitBaseUrl");
11243
+ const E = "${configDir}";
11244
+ const Me = r(() => {
11048
11245
  const { findPnpApi: e } = Be;
11049
11246
  return e && e(process.cwd());
11050
- }, "getPnpApi"), te = r((e, t, s, n) => {
11247
+ }, "getPnpApi");
11248
+ const te = r((e, t, s, n) => {
11051
11249
  const o = `resolveFromPackageJsonPath:${e}:${t}:${s}`;
11052
11250
  if (n != null && n.has(o)) return n.get(o);
11053
11251
  const l = we(e, n);
@@ -11061,7 +11259,10 @@ const we = r((e, t) => Je(Se(t, e, "utf8")), "readJsonc"), ne = Symbol("implicit
11061
11259
  }
11062
11260
  else !t && l.tsconfig && (i = l.tsconfig);
11063
11261
  return i = PATH.join(e, "..", i), n?.set(o, i), i;
11064
- }, "resolveFromPackageJsonPath"), se = "package.json", le = "tsconfig.json", Ve = r((e, t, s) => {
11262
+ }, "resolveFromPackageJsonPath");
11263
+ const se = "package.json";
11264
+ const le = "tsconfig.json";
11265
+ const Ve = r((e, t, s) => {
11065
11266
  let n = e;
11066
11267
  if (e === ".." && (n = PATH.join(n, le)), e[0] === "." && (n = PATH.resolve(t, n)), PATH.isAbsolute(n)) {
11067
11268
  if (x(s, n)) {
@@ -11117,18 +11318,23 @@ const we = r((e, t) => Je(Se(t, e, "utf8")), "readJsonc"), ne = Symbol("implicit
11117
11318
  if (x(s, p)) return p;
11118
11319
  } else if (_) return d;
11119
11320
  }
11120
- }, "resolveExtendsPath"), oe = r((e, t) => H(PATH.relative(e, t)), "pathRelative"), be = [
11321
+ }, "resolveExtendsPath");
11322
+ const oe = r((e, t) => H(PATH.relative(e, t)), "pathRelative");
11323
+ const be = [
11121
11324
  "files",
11122
11325
  "include",
11123
11326
  "exclude"
11124
- ], N = r((e, t, s) => {
11327
+ ];
11328
+ const N = r((e, t, s) => {
11125
11329
  const n = PATH.join(t, s);
11126
11330
  return h(PATH.relative(e, n)) || "./";
11127
- }, "resolveAndRelativize"), ze = r((e, t, s) => {
11331
+ }, "resolveAndRelativize");
11332
+ const ze = r((e, t, s) => {
11128
11333
  const n = PATH.relative(e, t);
11129
11334
  if (!n) return s;
11130
11335
  return h(`${n}/${s.startsWith("./") ? s.slice(2) : s}`);
11131
- }, "prefixPattern"), Ge = r((e, t, s, n) => {
11336
+ }, "prefixPattern");
11337
+ const Ge = r((e, t, s, n) => {
11132
11338
  const o = Ve(e, t, n);
11133
11339
  if (!o) throw new Error(`File '${e}' not found.`);
11134
11340
  if (s.has(o)) throw new Error(`Circularity detected while resolving configuration: ${o}`);
@@ -11155,7 +11361,9 @@ const we = r((e, t) => Je(Se(t, e, "utf8")), "readJsonc"), ne = Symbol("implicit
11155
11361
  g && (i[u] = g.map((w) => w.startsWith(E) ? w : ze(t, l, w)));
11156
11362
  }
11157
11363
  return i;
11158
- }, "resolveExtends"), ve = ["outDir", "declarationDir"], pe = r((e, t, s = /* @__PURE__ */ new Set()) => {
11364
+ }, "resolveExtends");
11365
+ const ve = ["outDir", "declarationDir"];
11366
+ const pe = r((e, t, s = /* @__PURE__ */ new Set()) => {
11159
11367
  let n;
11160
11368
  try {
11161
11369
  n = we(e, t) || {};
@@ -11205,16 +11413,19 @@ const we = r((e, t) => Je(Se(t, e, "utf8")), "readJsonc"), ne = Symbol("implicit
11205
11413
  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());
11206
11414
  }
11207
11415
  return n;
11208
- }, "_parseTsconfig"), Y = r((e, t) => {
11416
+ }, "_parseTsconfig");
11417
+ const Y = r((e, t) => {
11209
11418
  if (e.startsWith(E)) return h(PATH.join(t, e.slice(12)));
11210
- }, "interpolateConfigDir"), Qe = [
11419
+ }, "interpolateConfigDir");
11420
+ const Qe = [
11211
11421
  "outDir",
11212
11422
  "declarationDir",
11213
11423
  "outFile",
11214
11424
  "rootDir",
11215
11425
  "baseUrl",
11216
11426
  "tsBuildInfoFile"
11217
- ], He = r((e) => {
11427
+ ];
11428
+ const He = r((e) => {
11218
11429
  if (e.strict) for (const I of [
11219
11430
  "noImplicitAny",
11220
11431
  "noImplicitThis",
@@ -11243,7 +11454,8 @@ const we = r((e, t) => Je(Se(t, e, "utf8")), "readJsonc"), ne = Symbol("implicit
11243
11454
  a === "node" && (a = "node10"), e.moduleResolution = a, (a === "node16" || a === "nodenext" || a === "bundler") && (e.resolvePackageJsonExports ??= !0, e.resolvePackageJsonImports ??= !0), a === "bundler" && (e.allowSyntheticDefaultImports ??= !0, e.resolveJsonModule ??= !0);
11244
11455
  }
11245
11456
  e.jsx && (e.jsx = e.jsx.toLowerCase()), e.moduleDetection && (e.moduleDetection = e.moduleDetection.toLowerCase()), e.importsNotUsedAsValues && (e.importsNotUsedAsValues = e.importsNotUsedAsValues.toLowerCase()), e.newLine && (e.newLine = e.newLine.toLowerCase()), e.esModuleInterop && (e.allowSyntheticDefaultImports ??= !0), e.verbatimModuleSyntax && (e.isolatedModules ??= !0, e.preserveConstEnums ??= !0), e.isolatedModules && (e.preserveConstEnums ??= !0), e.rewriteRelativeImportExtensions && (e.allowImportingTsExtensions ??= !0), e.lib && (e.lib = e.lib.map((a) => a.toLowerCase())), e.checkJs && (e.allowJs ??= !0);
11246
- }, "normalizeCompilerOptions"), ie = r((e, t = /* @__PURE__ */ new Map()) => {
11457
+ }, "normalizeCompilerOptions");
11458
+ const ie = r((e, t = /* @__PURE__ */ new Map()) => {
11247
11459
  const s = PATH.resolve(e), n = pe(s, t), o = PATH.dirname(s), { compilerOptions: l } = n;
11248
11460
  if (l) {
11249
11461
  for (const f of Qe) {
@@ -11276,7 +11488,8 @@ const we = r((e, t) => Je(Se(t, e, "utf8")), "readJsonc"), ne = Symbol("implicit
11276
11488
  }
11277
11489
  return n;
11278
11490
  }, "parseTsconfig");
11279
- var Xe = Object.defineProperty, Z = r((e, t) => Xe(e, "name", {
11491
+ var Xe = Object.defineProperty;
11492
+ var Z = r((e, t) => Xe(e, "name", {
11280
11493
  value: t,
11281
11494
  configurable: !0
11282
11495
  }), "s");