@stencil/core 4.23.2 → 4.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Compiler v4.23.2 | MIT Licensed | https://stenciljs.com
2
+ Stencil Compiler v4.24.0 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __create = Object.create;
@@ -208077,9 +208077,9 @@ var require_brace_expansion = __commonJS({
208077
208077
  }
208078
208078
  });
208079
208079
 
208080
- // node_modules/picomatch/lib/constants.js
208080
+ // node_modules/@rollup/plugin-commonjs/node_modules/picomatch/lib/constants.js
208081
208081
  var require_constants = __commonJS({
208082
- "node_modules/picomatch/lib/constants.js"(exports2, module2) {
208082
+ "node_modules/@rollup/plugin-commonjs/node_modules/picomatch/lib/constants.js"(exports2, module2) {
208083
208083
  "use strict";
208084
208084
  var path6 = require("path");
208085
208085
  var WIN_SLASH = "\\\\/";
@@ -208274,9 +208274,9 @@ var require_constants = __commonJS({
208274
208274
  }
208275
208275
  });
208276
208276
 
208277
- // node_modules/picomatch/lib/utils.js
208277
+ // node_modules/@rollup/plugin-commonjs/node_modules/picomatch/lib/utils.js
208278
208278
  var require_utils = __commonJS({
208279
- "node_modules/picomatch/lib/utils.js"(exports2) {
208279
+ "node_modules/@rollup/plugin-commonjs/node_modules/picomatch/lib/utils.js"(exports2) {
208280
208280
  "use strict";
208281
208281
  var path6 = require("path");
208282
208282
  var win322 = process.platform === "win32";
@@ -208335,9 +208335,9 @@ var require_utils = __commonJS({
208335
208335
  }
208336
208336
  });
208337
208337
 
208338
- // node_modules/picomatch/lib/scan.js
208338
+ // node_modules/@rollup/plugin-commonjs/node_modules/picomatch/lib/scan.js
208339
208339
  var require_scan = __commonJS({
208340
- "node_modules/picomatch/lib/scan.js"(exports2, module2) {
208340
+ "node_modules/@rollup/plugin-commonjs/node_modules/picomatch/lib/scan.js"(exports2, module2) {
208341
208341
  "use strict";
208342
208342
  var utils = require_utils();
208343
208343
  var {
@@ -208665,9 +208665,9 @@ var require_scan = __commonJS({
208665
208665
  }
208666
208666
  });
208667
208667
 
208668
- // node_modules/picomatch/lib/parse.js
208668
+ // node_modules/@rollup/plugin-commonjs/node_modules/picomatch/lib/parse.js
208669
208669
  var require_parse = __commonJS({
208670
- "node_modules/picomatch/lib/parse.js"(exports2, module2) {
208670
+ "node_modules/@rollup/plugin-commonjs/node_modules/picomatch/lib/parse.js"(exports2, module2) {
208671
208671
  "use strict";
208672
208672
  var constants = require_constants();
208673
208673
  var utils = require_utils();
@@ -209438,9 +209438,9 @@ var require_parse = __commonJS({
209438
209438
  }
209439
209439
  });
209440
209440
 
209441
- // node_modules/picomatch/lib/picomatch.js
209441
+ // node_modules/@rollup/plugin-commonjs/node_modules/picomatch/lib/picomatch.js
209442
209442
  var require_picomatch = __commonJS({
209443
- "node_modules/picomatch/lib/picomatch.js"(exports2, module2) {
209443
+ "node_modules/@rollup/plugin-commonjs/node_modules/picomatch/lib/picomatch.js"(exports2, module2) {
209444
209444
  "use strict";
209445
209445
  var path6 = require("path");
209446
209446
  var scan = require_scan();
@@ -209579,9 +209579,9 @@ var require_picomatch = __commonJS({
209579
209579
  }
209580
209580
  });
209581
209581
 
209582
- // node_modules/picomatch/index.js
209582
+ // node_modules/@rollup/plugin-commonjs/node_modules/picomatch/index.js
209583
209583
  var require_picomatch2 = __commonJS({
209584
- "node_modules/picomatch/index.js"(exports2, module2) {
209584
+ "node_modules/@rollup/plugin-commonjs/node_modules/picomatch/index.js"(exports2, module2) {
209585
209585
  "use strict";
209586
209586
  module2.exports = require_picomatch();
209587
209587
  }
@@ -210033,16 +210033,16 @@ var require_glob = __commonJS({
210033
210033
  function c(t3) {
210034
210034
  return t3.split(r2).join("\\").split(n3).join("{").split(o).join("}").split(h).join(",").split(a).join(".");
210035
210035
  }
210036
- function p(t3) {
210036
+ function d(t3) {
210037
210037
  if (!t3) return [""];
210038
210038
  var e3 = [], s3 = i2("{", "}", t3);
210039
210039
  if (!s3) return t3.split(",");
210040
210040
  var r3 = s3.pre, n4 = s3.body, o2 = s3.post, h2 = r3.split(",");
210041
210041
  h2[h2.length - 1] += "{" + n4 + "}";
210042
- var a2 = p(o2);
210042
+ var a2 = d(o2);
210043
210043
  return o2.length && (h2[h2.length - 1] += a2.shift(), h2.push.apply(h2, a2)), e3.push.apply(e3, h2), e3;
210044
210044
  }
210045
- function d(t3) {
210045
+ function p(t3) {
210046
210046
  return "{" + t3 + "}";
210047
210047
  }
210048
210048
  function u(t3) {
@@ -210066,7 +210066,7 @@ var require_glob = __commonJS({
210066
210066
  var y, w, b = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(r3.body), v = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(r3.body), S = b || v, k = r3.body.indexOf(",") >= 0;
210067
210067
  if (!S && !k) return r3.post.match(/,.*\}/) ? m(t3 = r3.pre + "{" + r3.body + o + r3.post) : [t3];
210068
210068
  if (S) y = r3.body.split(/\.\./);
210069
- else if (1 === (y = p(r3.body)).length && 1 === (y = m(y[0], false).map(d)).length) return h2.map(function(t4) {
210069
+ else if (1 === (y = d(r3.body)).length && 1 === (y = m(y[0], false).map(p)).length) return h2.map(function(t4) {
210070
210070
  return r3.pre + y[0] + t4;
210071
210071
  });
210072
210072
  if (S) {
@@ -210169,9 +210169,9 @@ var require_glob = __commonJS({
210169
210169
  this.scurry = new t4(this.cwd, { nocase: e3.nocase, fs: e3.fs });
210170
210170
  }
210171
210171
  this.nocase = this.scurry.nocase;
210172
- const s3 = "darwin" === this.platform || "win32" === this.platform, h2 = { ...e3, dot: this.dot, matchBase: this.matchBase, nobrace: this.nobrace, nocase: this.nocase, nocaseMagicOnly: s3, nocomment: true, noext: this.noext, nonegate: true, optimizationLevel: 2, platform: this.platform, windowsPathsNoEscape: this.windowsPathsNoEscape, debug: !!this.opts.debug }, l2 = this.pattern.map((t4) => new i2.Minimatch(t4, h2)), [c, p] = l2.reduce((t4, e4) => (t4[0].push(...e4.set), t4[1].push(...e4.globParts), t4), [[], []]);
210172
+ const s3 = "darwin" === this.platform || "win32" === this.platform, h2 = { ...e3, dot: this.dot, matchBase: this.matchBase, nobrace: this.nobrace, nocase: this.nocase, nocaseMagicOnly: s3, nocomment: true, noext: this.noext, nonegate: true, optimizationLevel: 2, platform: this.platform, windowsPathsNoEscape: this.windowsPathsNoEscape, debug: !!this.opts.debug }, l2 = this.pattern.map((t4) => new i2.Minimatch(t4, h2)), [c, d] = l2.reduce((t4, e4) => (t4[0].push(...e4.set), t4[1].push(...e4.globParts), t4), [[], []]);
210173
210173
  this.patterns = c.map((t4, e4) => {
210174
- const s4 = p[e4];
210174
+ const s4 = d[e4];
210175
210175
  if (!s4) throw new Error("invalid pattern object");
210176
210176
  return new o.Pattern(t4, s4, 0, this.platform);
210177
210177
  });
@@ -210271,10 +210271,10 @@ var require_glob = __commonJS({
210271
210271
  function c(t3, e3 = {}) {
210272
210272
  return new r2.Glob(t3, e3).streamSync();
210273
210273
  }
210274
- function p(t3, e3 = {}) {
210274
+ function d(t3, e3 = {}) {
210275
210275
  return new r2.Glob(t3, e3).stream();
210276
210276
  }
210277
- function d(t3, e3 = {}) {
210277
+ function p(t3, e3 = {}) {
210278
210278
  return new r2.Glob(t3, e3).walkSync();
210279
210279
  }
210280
210280
  async function u(t3, e3 = {}) {
@@ -210288,7 +210288,7 @@ var require_glob = __commonJS({
210288
210288
  }
210289
210289
  Object.defineProperty(e2, "Ignore", { enumerable: true, get: function() {
210290
210290
  return l.Ignore;
210291
- } }), e2.globStreamSync = c, e2.globStream = p, e2.globSync = d, e2.globIterateSync = f, e2.globIterate = g, e2.streamSync = c, e2.stream = Object.assign(p, { sync: c }), e2.iterateSync = f, e2.iterate = Object.assign(g, { sync: f }), e2.sync = Object.assign(d, { stream: c, iterate: f }), e2.glob = Object.assign(u, { glob: u, globSync: d, sync: e2.sync, globStream: p, stream: e2.stream, globStreamSync: c, streamSync: e2.streamSync, globIterate: g, iterate: e2.iterate, globIterateSync: f, iterateSync: e2.iterateSync, Glob: r2.Glob, hasMagic: n3.hasMagic, escape: i2.escape, unescape: i2.unescape }), e2.glob.glob = e2.glob;
210291
+ } }), e2.globStreamSync = c, e2.globStream = d, e2.globSync = p, e2.globIterateSync = f, e2.globIterate = g, e2.streamSync = c, e2.stream = Object.assign(d, { sync: c }), e2.iterateSync = f, e2.iterate = Object.assign(g, { sync: f }), e2.sync = Object.assign(p, { stream: c, iterate: f }), e2.glob = Object.assign(u, { glob: u, globSync: p, sync: e2.sync, globStream: d, stream: e2.stream, globStreamSync: c, streamSync: e2.streamSync, globIterate: g, iterate: e2.iterate, globIterateSync: f, iterateSync: e2.iterateSync, Glob: r2.Glob, hasMagic: n3.hasMagic, escape: i2.escape, unescape: i2.unescape }), e2.glob.glob = e2.glob;
210292
210292
  }, 478: (t2, e2, s2) => {
210293
210293
  "use strict";
210294
210294
  var _t, _e, _s, _i, _r, _n, _o, _h, _a, _l;
@@ -210315,8 +210315,8 @@ var require_glob = __commonJS({
210315
210315
  if (this.isUNC()) {
210316
210316
  const [t4, e4, s4, i4, ...r3] = __privateGet(this, _t), [n3, o, h, a, ...l] = __privateGet(this, _e);
210317
210317
  "" === r3[0] && (r3.shift(), l.shift());
210318
- const c = [t4, e4, s4, i4, ""].join("/"), p = [n3, o, h, a, ""].join("/");
210319
- __privateSet(this, _t, [c, ...r3]), __privateSet(this, _e, [p, ...l]), this.length = __privateGet(this, _t).length;
210318
+ const c = [t4, e4, s4, i4, ""].join("/"), d = [n3, o, h, a, ""].join("/");
210319
+ __privateSet(this, _t, [c, ...r3]), __privateSet(this, _e, [d, ...l]), this.length = __privateGet(this, _t).length;
210320
210320
  } else if (this.isDrive() || this.isAbsolute()) {
210321
210321
  const [t4, ...e4] = __privateGet(this, _t), [s4, ...i4] = __privateGet(this, _e);
210322
210322
  "" === e4[0] && (e4.shift(), i4.shift());
@@ -210521,7 +210521,7 @@ var require_glob = __commonJS({
210521
210521
  e2.Processor = h;
210522
210522
  }, 984: (t2, e2, s2) => {
210523
210523
  "use strict";
210524
- var _c, _p, _d, _o_instances, u_fn, f_fn;
210524
+ var _c, _d, _p, _o_instances, u_fn, f_fn;
210525
210525
  Object.defineProperty(e2, "__esModule", { value: true }), e2.GlobStream = e2.GlobWalker = e2.GlobUtil = void 0;
210526
210526
  const i2 = s2(420), r2 = s2(972), n3 = s2(800);
210527
210527
  class o {
@@ -210534,13 +210534,13 @@ var require_glob = __commonJS({
210534
210534
  __publicField(this, "paused", false);
210535
210535
  __publicField(this, "aborted", false);
210536
210536
  __privateAdd(this, _c, []);
210537
- __privateAdd(this, _p);
210538
210537
  __privateAdd(this, _d);
210538
+ __privateAdd(this, _p);
210539
210539
  __publicField(this, "signal");
210540
210540
  __publicField(this, "maxDepth");
210541
210541
  __publicField(this, "includeChildMatches");
210542
210542
  var _a;
210543
- if (this.patterns = t3, this.path = e3, this.opts = s3, __privateSet(this, _d, s3.posix || "win32" !== s3.platform ? "/" : "\\"), this.includeChildMatches = false !== s3.includeChildMatches, (s3.ignore || !this.includeChildMatches) && (__privateSet(this, _p, ((t4, e4) => "string" == typeof t4 ? new r2.Ignore([t4], e4) : Array.isArray(t4) ? new r2.Ignore(t4, e4) : t4)((_a = s3.ignore) != null ? _a : [], s3)), !this.includeChildMatches && "function" != typeof __privateGet(this, _p).add)) {
210543
+ if (this.patterns = t3, this.path = e3, this.opts = s3, __privateSet(this, _p, s3.posix || "win32" !== s3.platform ? "/" : "\\"), this.includeChildMatches = false !== s3.includeChildMatches, (s3.ignore || !this.includeChildMatches) && (__privateSet(this, _d, ((t4, e4) => "string" == typeof t4 ? new r2.Ignore([t4], e4) : Array.isArray(t4) ? new r2.Ignore(t4, e4) : t4)((_a = s3.ignore) != null ? _a : [], s3)), !this.includeChildMatches && "function" != typeof __privateGet(this, _d).add)) {
210544
210544
  throw new Error("cannot ignore child matches, ignore lacks add() method.");
210545
210545
  }
210546
210546
  this.maxDepth = s3.maxDepth || 1 / 0, s3.signal && (this.signal = s3.signal, this.signal.addEventListener("abort", () => {
@@ -210595,19 +210595,19 @@ var require_glob = __commonJS({
210595
210595
  matchFinish(t3, e3) {
210596
210596
  var _a;
210597
210597
  if (__privateMethod(this, _o_instances, u_fn).call(this, t3)) return;
210598
- if (!this.includeChildMatches && ((_a = __privateGet(this, _p)) == null ? void 0 : _a.add)) {
210598
+ if (!this.includeChildMatches && ((_a = __privateGet(this, _d)) == null ? void 0 : _a.add)) {
210599
210599
  const e4 = `${t3.relativePosix()}/**`;
210600
- __privateGet(this, _p).add(e4);
210600
+ __privateGet(this, _d).add(e4);
210601
210601
  }
210602
210602
  const s3 = void 0 === this.opts.absolute ? e3 : this.opts.absolute;
210603
210603
  this.seen.add(t3);
210604
- const i3 = this.opts.mark && t3.isDirectory() ? __privateGet(this, _d) : "";
210604
+ const i3 = this.opts.mark && t3.isDirectory() ? __privateGet(this, _p) : "";
210605
210605
  if (this.opts.withFileTypes) this.matchEmit(t3);
210606
210606
  else if (s3) {
210607
210607
  const e4 = this.opts.posix ? t3.fullpathPosix() : t3.fullpath();
210608
210608
  this.matchEmit(e4 + i3);
210609
210609
  } else {
210610
- const e4 = this.opts.posix ? t3.relativePosix() : t3.relative(), s4 = this.opts.dotRelative && !e4.startsWith(".." + __privateGet(this, _d)) ? "." + __privateGet(this, _d) : "";
210610
+ const e4 = this.opts.posix ? t3.relativePosix() : t3.relative(), s4 = this.opts.dotRelative && !e4.startsWith(".." + __privateGet(this, _p)) ? "." + __privateGet(this, _p) : "";
210611
210611
  this.matchEmit(e4 ? s4 + e4 + i3 : "." + i3);
210612
210612
  }
210613
210613
  }
@@ -210685,16 +210685,16 @@ var require_glob = __commonJS({
210685
210685
  }
210686
210686
  }
210687
210687
  _c = new WeakMap();
210688
- _p = new WeakMap();
210689
210688
  _d = new WeakMap();
210689
+ _p = new WeakMap();
210690
210690
  _o_instances = new WeakSet();
210691
210691
  u_fn = function(t3) {
210692
210692
  var _a, _b;
210693
- return this.seen.has(t3) || !!((_b = (_a = __privateGet(this, _p)) == null ? void 0 : _a.ignored) == null ? void 0 : _b.call(_a, t3));
210693
+ return this.seen.has(t3) || !!((_b = (_a = __privateGet(this, _d)) == null ? void 0 : _a.ignored) == null ? void 0 : _b.call(_a, t3));
210694
210694
  };
210695
210695
  f_fn = function(t3) {
210696
210696
  var _a, _b;
210697
- return !!((_b = (_a = __privateGet(this, _p)) == null ? void 0 : _a.childrenIgnored) == null ? void 0 : _b.call(_a, t3));
210697
+ return !!((_b = (_a = __privateGet(this, _d)) == null ? void 0 : _a.childrenIgnored) == null ? void 0 : _b.call(_a, t3));
210698
210698
  };
210699
210699
  e2.GlobUtil = o;
210700
210700
  e2.GlobWalker = class extends o {
@@ -210744,7 +210744,7 @@ var require_glob = __commonJS({
210744
210744
  };
210745
210745
  }, 96: (t2, e2) => {
210746
210746
  "use strict";
210747
- var _a, _g, _b, _c, _m, _y, _w, _b2, _v, _S, _k, _x, _E, _L, _T, _C, _M, _A, _O, _P, _R, _F, __, _z, _D, _j, _d_instances, q_fn, _V, _Z, _H, _U, $_fn, _J, _Y, _K, I_fn, G_fn, Q_fn, X_fn, N_fn, B_fn, tt_fn, W_fn;
210747
+ var _a, _g, _b, _c, _m, _y, _w, _b2, _v, _S, _k, _x, _E, _L, _T, _C, _M, _A, _O, _P, _R, _F, __, _z, _D, _j, _B, _p_instances, H_fn, _J, _K, _V, _$, q_fn, _Y, _Q, _X, G_fn, U_fn, et_fn, tt_fn, W_fn, N_fn, st_fn, I_fn, Z_fn, it_fn;
210748
210748
  Object.defineProperty(e2, "__esModule", { value: true }), e2.LRUCache = void 0;
210749
210749
  const s2 = "object" == typeof performance && performance && "function" == typeof performance.now ? performance : Date, i2 = /* @__PURE__ */ new Set(), r2 = "object" == typeof process && process ? process : {}, n3 = (t3, e3, s3, i3) => {
210750
210750
  "function" == typeof r2.emitWarning ? r2.emitWarning(t3, e3, s3, i3) : console.error(`[${s3}] ${e3}: ${t3}`);
@@ -210785,18 +210785,18 @@ var require_glob = __commonJS({
210785
210785
  super(t3), this.fill(0);
210786
210786
  }
210787
210787
  }
210788
- const _p = class _p {
210788
+ const _d = class _d {
210789
210789
  heap;
210790
210790
  length;
210791
210791
  static create(t3) {
210792
210792
  const e3 = l(t3);
210793
210793
  if (!e3) return [];
210794
- __privateSet(_p, _g, true);
210795
- const s3 = new _p(t3, e3);
210796
- return __privateSet(_p, _g, false), s3;
210794
+ __privateSet(_d, _g, true);
210795
+ const s3 = new _d(t3, e3);
210796
+ return __privateSet(_d, _g, false), s3;
210797
210797
  }
210798
210798
  constructor(t3, e3) {
210799
- if (!__privateGet(_p, _g)) throw new TypeError("instantiate Stack using Stack.create(n)");
210799
+ if (!__privateGet(_d, _g)) throw new TypeError("instantiate Stack using Stack.create(n)");
210800
210800
  this.heap = new e3(t3), this.length = 0;
210801
210801
  }
210802
210802
  push(t3) {
@@ -210807,16 +210807,17 @@ var require_glob = __commonJS({
210807
210807
  }
210808
210808
  };
210809
210809
  _g = new WeakMap();
210810
- __privateAdd(_p, _g, false);
210811
- let p = _p;
210812
- const _d = class _d {
210810
+ __privateAdd(_d, _g, false);
210811
+ let d = _d;
210812
+ const _p = class _p {
210813
210813
  constructor(t3) {
210814
- __privateAdd(this, _d_instances);
210814
+ __privateAdd(this, _p_instances);
210815
210815
  __privateAdd(this, _m);
210816
210816
  __privateAdd(this, _y);
210817
210817
  __privateAdd(this, _w);
210818
210818
  __privateAdd(this, _b2);
210819
210819
  __privateAdd(this, _v);
210820
+ __privateAdd(this, _S);
210820
210821
  __publicField(this, "ttl");
210821
210822
  __publicField(this, "ttlResolution");
210822
210823
  __publicField(this, "ttlAutopurge");
@@ -210832,7 +210833,6 @@ var require_glob = __commonJS({
210832
210833
  __publicField(this, "allowStaleOnFetchAbort");
210833
210834
  __publicField(this, "allowStaleOnFetchRejection");
210834
210835
  __publicField(this, "ignoreFetchAbort");
210835
- __privateAdd(this, _S);
210836
210836
  __privateAdd(this, _k);
210837
210837
  __privateAdd(this, _x);
210838
210838
  __privateAdd(this, _E);
@@ -210849,72 +210849,74 @@ var require_glob = __commonJS({
210849
210849
  __privateAdd(this, _z);
210850
210850
  __privateAdd(this, _D);
210851
210851
  __privateAdd(this, _j);
210852
- __privateAdd(this, _V, () => {
210852
+ __privateAdd(this, _B);
210853
+ __privateAdd(this, _J, () => {
210853
210854
  });
210854
- __privateAdd(this, _Z, () => {
210855
+ __privateAdd(this, _K, () => {
210855
210856
  });
210856
- __privateAdd(this, _H, () => {
210857
+ __privateAdd(this, _V, () => {
210857
210858
  });
210858
- __privateAdd(this, _U, () => false);
210859
- __privateAdd(this, _J, (t3) => {
210859
+ __privateAdd(this, _$, () => false);
210860
+ __privateAdd(this, _Y, (t3) => {
210860
210861
  });
210861
- __privateAdd(this, _Y, (t3, e3, s3) => {
210862
+ __privateAdd(this, _Q, (t3, e3, s3) => {
210862
210863
  });
210863
- __privateAdd(this, _K, (t3, e3, s3, i3) => {
210864
+ __privateAdd(this, _X, (t3, e3, s3, i3) => {
210864
210865
  if (s3 || i3) throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");
210865
210866
  return 0;
210866
210867
  });
210867
210868
  __publicField(this, _b, "LRUCache");
210868
- const { max: e3 = 0, ttl: s3, ttlResolution: r3 = 1, ttlAutopurge: o2, updateAgeOnGet: h2, updateAgeOnHas: c2, allowStale: u, dispose: f, disposeAfter: g, noDisposeOnSet: m, noUpdateTTL: y, maxSize: w = 0, maxEntrySize: b = 0, sizeCalculation: v, fetchMethod: S, noDeleteOnFetchRejection: k, noDeleteOnStaleGet: x, allowStaleOnFetchRejection: E, allowStaleOnFetchAbort: L, ignoreFetchAbort: T } = t3;
210869
+ const { max: e3 = 0, ttl: s3, ttlResolution: r3 = 1, ttlAutopurge: o2, updateAgeOnGet: h2, updateAgeOnHas: c2, allowStale: u, dispose: f, disposeAfter: g, noDisposeOnSet: m, noUpdateTTL: y, maxSize: w = 0, maxEntrySize: b = 0, sizeCalculation: v, fetchMethod: S, memoMethod: k, noDeleteOnFetchRejection: x, noDeleteOnStaleGet: E, allowStaleOnFetchRejection: L, allowStaleOnFetchAbort: T, ignoreFetchAbort: C2 } = t3;
210869
210870
  if (0 !== e3 && !a(e3)) throw new TypeError("max option must be a nonnegative integer");
210870
- const C2 = e3 ? l(e3) : Array;
210871
- if (!C2) throw new Error("invalid max value: " + e3);
210871
+ const M = e3 ? l(e3) : Array;
210872
+ if (!M) throw new Error("invalid max value: " + e3);
210872
210873
  if (__privateSet(this, _m, e3), __privateSet(this, _y, w), this.maxEntrySize = b || __privateGet(this, _y), this.sizeCalculation = v, this.sizeCalculation) {
210873
210874
  if (!__privateGet(this, _y) && !this.maxEntrySize) throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");
210874
210875
  if ("function" != typeof this.sizeCalculation) throw new TypeError("sizeCalculation set to non-function");
210875
210876
  }
210876
- if (void 0 !== S && "function" != typeof S) throw new TypeError("fetchMethod must be a function if specified");
210877
- if (__privateSet(this, _v, S), __privateSet(this, _D, !!S), __privateSet(this, _x, /* @__PURE__ */ new Map()), __privateSet(this, _E, new Array(e3).fill(void 0)), __privateSet(this, _L, new Array(e3).fill(void 0)), __privateSet(this, _T, new C2(e3)), __privateSet(this, _C, new C2(e3)), __privateSet(this, _M, 0), __privateSet(this, _A, 0), __privateSet(this, _O, p.create(e3)), __privateSet(this, _S, 0), __privateSet(this, _k, 0), "function" == typeof f && __privateSet(this, _w, f), "function" == typeof g ? (__privateSet(this, _b2, g), __privateSet(this, _P, [])) : (__privateSet(this, _b2, void 0), __privateSet(this, _P, void 0)), __privateSet(this, _z, !!__privateGet(this, _w)), __privateSet(this, _j, !!__privateGet(this, _b2)), this.noDisposeOnSet = !!m, this.noUpdateTTL = !!y, this.noDeleteOnFetchRejection = !!k, this.allowStaleOnFetchRejection = !!E, this.allowStaleOnFetchAbort = !!L, this.ignoreFetchAbort = !!T, 0 !== this.maxEntrySize) {
210877
+ if (void 0 !== k && "function" != typeof k) throw new TypeError("memoMethod must be a function if defined");
210878
+ if (__privateSet(this, _S, k), void 0 !== S && "function" != typeof S) throw new TypeError("fetchMethod must be a function if specified");
210879
+ if (__privateSet(this, _v, S), __privateSet(this, _j, !!S), __privateSet(this, _E, /* @__PURE__ */ new Map()), __privateSet(this, _L, new Array(e3).fill(void 0)), __privateSet(this, _T, new Array(e3).fill(void 0)), __privateSet(this, _C, new M(e3)), __privateSet(this, _M, new M(e3)), __privateSet(this, _A, 0), __privateSet(this, _O, 0), __privateSet(this, _P, d.create(e3)), __privateSet(this, _k, 0), __privateSet(this, _x, 0), "function" == typeof f && __privateSet(this, _w, f), "function" == typeof g ? (__privateSet(this, _b2, g), __privateSet(this, _R, [])) : (__privateSet(this, _b2, void 0), __privateSet(this, _R, void 0)), __privateSet(this, _D, !!__privateGet(this, _w)), __privateSet(this, _B, !!__privateGet(this, _b2)), this.noDisposeOnSet = !!m, this.noUpdateTTL = !!y, this.noDeleteOnFetchRejection = !!x, this.allowStaleOnFetchRejection = !!L, this.allowStaleOnFetchAbort = !!T, this.ignoreFetchAbort = !!C2, 0 !== this.maxEntrySize) {
210878
210880
  if (0 !== __privateGet(this, _y) && !a(__privateGet(this, _y))) throw new TypeError("maxSize must be a positive integer if specified");
210879
210881
  if (!a(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
210880
- __privateMethod(this, _d_instances, $_fn).call(this);
210882
+ __privateMethod(this, _p_instances, q_fn).call(this);
210881
210883
  }
210882
- if (this.allowStale = !!u, this.noDeleteOnStaleGet = !!x, this.updateAgeOnGet = !!h2, this.updateAgeOnHas = !!c2, this.ttlResolution = a(r3) || 0 === r3 ? r3 : 1, this.ttlAutopurge = !!o2, this.ttl = s3 || 0, this.ttl) {
210884
+ if (this.allowStale = !!u, this.noDeleteOnStaleGet = !!E, this.updateAgeOnGet = !!h2, this.updateAgeOnHas = !!c2, this.ttlResolution = a(r3) || 0 === r3 ? r3 : 1, this.ttlAutopurge = !!o2, this.ttl = s3 || 0, this.ttl) {
210883
210885
  if (!a(this.ttl)) throw new TypeError("ttl must be a positive integer if specified");
210884
- __privateMethod(this, _d_instances, q_fn).call(this);
210886
+ __privateMethod(this, _p_instances, H_fn).call(this);
210885
210887
  }
210886
210888
  if (0 === __privateGet(this, _m) && 0 === this.ttl && 0 === __privateGet(this, _y)) throw new TypeError("At least one of max, maxSize, or ttl is required");
210887
210889
  if (!this.ttlAutopurge && !__privateGet(this, _m) && !__privateGet(this, _y)) {
210888
210890
  const t4 = "LRU_CACHE_UNBOUNDED";
210889
210891
  if (((t5) => !i2.has(t5))(t4)) {
210890
210892
  i2.add(t4);
210891
- n3("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", t4, _d);
210893
+ n3("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", t4, _p);
210892
210894
  }
210893
210895
  }
210894
210896
  }
210895
210897
  static unsafeExposeInternals(t3) {
210896
- return { starts: __privateGet(t3, _F), ttls: __privateGet(t3, __), sizes: __privateGet(t3, _R), keyMap: __privateGet(t3, _x), keyList: __privateGet(t3, _E), valList: __privateGet(t3, _L), next: __privateGet(t3, _T), prev: __privateGet(t3, _C), get head() {
210897
- return __privateGet(t3, _M);
210898
- }, get tail() {
210898
+ return { starts: __privateGet(t3, __), ttls: __privateGet(t3, _z), sizes: __privateGet(t3, _F), keyMap: __privateGet(t3, _E), keyList: __privateGet(t3, _L), valList: __privateGet(t3, _T), next: __privateGet(t3, _C), prev: __privateGet(t3, _M), get head() {
210899
210899
  return __privateGet(t3, _A);
210900
- }, free: __privateGet(t3, _O), isBackgroundFetch: (e3) => {
210900
+ }, get tail() {
210901
+ return __privateGet(t3, _O);
210902
+ }, free: __privateGet(t3, _P), isBackgroundFetch: (e3) => {
210901
210903
  var _a2;
210902
- return __privateMethod(_a2 = t3, _d_instances, B_fn).call(_a2, e3);
210904
+ return __privateMethod(_a2 = t3, _p_instances, N_fn).call(_a2, e3);
210903
210905
  }, backgroundFetch: (e3, s3, i3, r3) => {
210904
210906
  var _a2;
210905
- return __privateMethod(_a2 = t3, _d_instances, N_fn).call(_a2, e3, s3, i3, r3);
210907
+ return __privateMethod(_a2 = t3, _p_instances, W_fn).call(_a2, e3, s3, i3, r3);
210906
210908
  }, moveToTail: (e3) => {
210907
210909
  var _a2;
210908
- return __privateMethod(_a2 = t3, _d_instances, W_fn).call(_a2, e3);
210910
+ return __privateMethod(_a2 = t3, _p_instances, I_fn).call(_a2, e3);
210909
210911
  }, indexes: (e3) => {
210910
210912
  var _a2;
210911
- return __privateMethod(_a2 = t3, _d_instances, I_fn).call(_a2, e3);
210913
+ return __privateMethod(_a2 = t3, _p_instances, G_fn).call(_a2, e3);
210912
210914
  }, rindexes: (e3) => {
210913
210915
  var _a2;
210914
- return __privateMethod(_a2 = t3, _d_instances, G_fn).call(_a2, e3);
210916
+ return __privateMethod(_a2 = t3, _p_instances, U_fn).call(_a2, e3);
210915
210917
  }, isStale: (e3) => {
210916
210918
  var _a2;
210917
- return __privateGet(_a2 = t3, _U).call(_a2, e3);
210919
+ return __privateGet(_a2 = t3, _$).call(_a2, e3);
210918
210920
  } };
210919
210921
  }
210920
210922
  get max() {
@@ -210924,14 +210926,17 @@ var require_glob = __commonJS({
210924
210926
  return __privateGet(this, _y);
210925
210927
  }
210926
210928
  get calculatedSize() {
210927
- return __privateGet(this, _k);
210929
+ return __privateGet(this, _x);
210928
210930
  }
210929
210931
  get size() {
210930
- return __privateGet(this, _S);
210932
+ return __privateGet(this, _k);
210931
210933
  }
210932
210934
  get fetchMethod() {
210933
210935
  return __privateGet(this, _v);
210934
210936
  }
210937
+ get memoMethod() {
210938
+ return __privateGet(this, _S);
210939
+ }
210935
210940
  get dispose() {
210936
210941
  return __privateGet(this, _w);
210937
210942
  }
@@ -210939,89 +210944,89 @@ var require_glob = __commonJS({
210939
210944
  return __privateGet(this, _b2);
210940
210945
  }
210941
210946
  getRemainingTTL(t3) {
210942
- return __privateGet(this, _x).has(t3) ? 1 / 0 : 0;
210947
+ return __privateGet(this, _E).has(t3) ? 1 / 0 : 0;
210943
210948
  }
210944
210949
  *entries() {
210945
- for (const t3 of __privateMethod(this, _d_instances, I_fn).call(this)) void 0 === __privateGet(this, _L)[t3] || void 0 === __privateGet(this, _E)[t3] || __privateMethod(this, _d_instances, B_fn).call(this, __privateGet(this, _L)[t3]) || (yield [__privateGet(this, _E)[t3], __privateGet(this, _L)[t3]]);
210950
+ for (const t3 of __privateMethod(this, _p_instances, G_fn).call(this)) void 0 === __privateGet(this, _T)[t3] || void 0 === __privateGet(this, _L)[t3] || __privateMethod(this, _p_instances, N_fn).call(this, __privateGet(this, _T)[t3]) || (yield [__privateGet(this, _L)[t3], __privateGet(this, _T)[t3]]);
210946
210951
  }
210947
210952
  *rentries() {
210948
- for (const t3 of __privateMethod(this, _d_instances, G_fn).call(this)) void 0 === __privateGet(this, _L)[t3] || void 0 === __privateGet(this, _E)[t3] || __privateMethod(this, _d_instances, B_fn).call(this, __privateGet(this, _L)[t3]) || (yield [__privateGet(this, _E)[t3], __privateGet(this, _L)[t3]]);
210953
+ for (const t3 of __privateMethod(this, _p_instances, U_fn).call(this)) void 0 === __privateGet(this, _T)[t3] || void 0 === __privateGet(this, _L)[t3] || __privateMethod(this, _p_instances, N_fn).call(this, __privateGet(this, _T)[t3]) || (yield [__privateGet(this, _L)[t3], __privateGet(this, _T)[t3]]);
210949
210954
  }
210950
210955
  *keys() {
210951
- for (const t3 of __privateMethod(this, _d_instances, I_fn).call(this)) {
210952
- const e3 = __privateGet(this, _E)[t3];
210953
- void 0 === e3 || __privateMethod(this, _d_instances, B_fn).call(this, __privateGet(this, _L)[t3]) || (yield e3);
210956
+ for (const t3 of __privateMethod(this, _p_instances, G_fn).call(this)) {
210957
+ const e3 = __privateGet(this, _L)[t3];
210958
+ void 0 === e3 || __privateMethod(this, _p_instances, N_fn).call(this, __privateGet(this, _T)[t3]) || (yield e3);
210954
210959
  }
210955
210960
  }
210956
210961
  *rkeys() {
210957
- for (const t3 of __privateMethod(this, _d_instances, G_fn).call(this)) {
210958
- const e3 = __privateGet(this, _E)[t3];
210959
- void 0 === e3 || __privateMethod(this, _d_instances, B_fn).call(this, __privateGet(this, _L)[t3]) || (yield e3);
210962
+ for (const t3 of __privateMethod(this, _p_instances, U_fn).call(this)) {
210963
+ const e3 = __privateGet(this, _L)[t3];
210964
+ void 0 === e3 || __privateMethod(this, _p_instances, N_fn).call(this, __privateGet(this, _T)[t3]) || (yield e3);
210960
210965
  }
210961
210966
  }
210962
210967
  *values() {
210963
- for (const t3 of __privateMethod(this, _d_instances, I_fn).call(this)) {
210964
- void 0 === __privateGet(this, _L)[t3] || __privateMethod(this, _d_instances, B_fn).call(this, __privateGet(this, _L)[t3]) || (yield __privateGet(this, _L)[t3]);
210968
+ for (const t3 of __privateMethod(this, _p_instances, G_fn).call(this)) {
210969
+ void 0 === __privateGet(this, _T)[t3] || __privateMethod(this, _p_instances, N_fn).call(this, __privateGet(this, _T)[t3]) || (yield __privateGet(this, _T)[t3]);
210965
210970
  }
210966
210971
  }
210967
210972
  *rvalues() {
210968
- for (const t3 of __privateMethod(this, _d_instances, G_fn).call(this)) {
210969
- void 0 === __privateGet(this, _L)[t3] || __privateMethod(this, _d_instances, B_fn).call(this, __privateGet(this, _L)[t3]) || (yield __privateGet(this, _L)[t3]);
210973
+ for (const t3 of __privateMethod(this, _p_instances, U_fn).call(this)) {
210974
+ void 0 === __privateGet(this, _T)[t3] || __privateMethod(this, _p_instances, N_fn).call(this, __privateGet(this, _T)[t3]) || (yield __privateGet(this, _T)[t3]);
210970
210975
  }
210971
210976
  }
210972
210977
  [(_c = Symbol.iterator, _b = Symbol.toStringTag, _c)]() {
210973
210978
  return this.entries();
210974
210979
  }
210975
210980
  find(t3, e3 = {}) {
210976
- for (const s3 of __privateMethod(this, _d_instances, I_fn).call(this)) {
210977
- const i3 = __privateGet(this, _L)[s3], r3 = __privateMethod(this, _d_instances, B_fn).call(this, i3) ? i3.__staleWhileFetching : i3;
210978
- if (void 0 !== r3 && t3(r3, __privateGet(this, _E)[s3], this)) return this.get(__privateGet(this, _E)[s3], e3);
210981
+ for (const s3 of __privateMethod(this, _p_instances, G_fn).call(this)) {
210982
+ const i3 = __privateGet(this, _T)[s3], r3 = __privateMethod(this, _p_instances, N_fn).call(this, i3) ? i3.__staleWhileFetching : i3;
210983
+ if (void 0 !== r3 && t3(r3, __privateGet(this, _L)[s3], this)) return this.get(__privateGet(this, _L)[s3], e3);
210979
210984
  }
210980
210985
  }
210981
210986
  forEach(t3, e3 = this) {
210982
- for (const s3 of __privateMethod(this, _d_instances, I_fn).call(this)) {
210983
- const i3 = __privateGet(this, _L)[s3], r3 = __privateMethod(this, _d_instances, B_fn).call(this, i3) ? i3.__staleWhileFetching : i3;
210984
- void 0 !== r3 && t3.call(e3, r3, __privateGet(this, _E)[s3], this);
210987
+ for (const s3 of __privateMethod(this, _p_instances, G_fn).call(this)) {
210988
+ const i3 = __privateGet(this, _T)[s3], r3 = __privateMethod(this, _p_instances, N_fn).call(this, i3) ? i3.__staleWhileFetching : i3;
210989
+ void 0 !== r3 && t3.call(e3, r3, __privateGet(this, _L)[s3], this);
210985
210990
  }
210986
210991
  }
210987
210992
  rforEach(t3, e3 = this) {
210988
- for (const s3 of __privateMethod(this, _d_instances, G_fn).call(this)) {
210989
- const i3 = __privateGet(this, _L)[s3], r3 = __privateMethod(this, _d_instances, B_fn).call(this, i3) ? i3.__staleWhileFetching : i3;
210990
- void 0 !== r3 && t3.call(e3, r3, __privateGet(this, _E)[s3], this);
210993
+ for (const s3 of __privateMethod(this, _p_instances, U_fn).call(this)) {
210994
+ const i3 = __privateGet(this, _T)[s3], r3 = __privateMethod(this, _p_instances, N_fn).call(this, i3) ? i3.__staleWhileFetching : i3;
210995
+ void 0 !== r3 && t3.call(e3, r3, __privateGet(this, _L)[s3], this);
210991
210996
  }
210992
210997
  }
210993
210998
  purgeStale() {
210994
210999
  let t3 = false;
210995
- for (const e3 of __privateMethod(this, _d_instances, G_fn).call(this, { allowStale: true })) __privateGet(this, _U).call(this, e3) && (this.delete(__privateGet(this, _E)[e3]), t3 = true);
211000
+ for (const e3 of __privateMethod(this, _p_instances, U_fn).call(this, { allowStale: true })) __privateGet(this, _$).call(this, e3) && (__privateMethod(this, _p_instances, Z_fn).call(this, __privateGet(this, _L)[e3], "expire"), t3 = true);
210996
211001
  return t3;
210997
211002
  }
210998
211003
  info(t3) {
210999
- const e3 = __privateGet(this, _x).get(t3);
211004
+ const e3 = __privateGet(this, _E).get(t3);
211000
211005
  if (void 0 === e3) return;
211001
- const i3 = __privateGet(this, _L)[e3], r3 = __privateMethod(this, _d_instances, B_fn).call(this, i3) ? i3.__staleWhileFetching : i3;
211006
+ const i3 = __privateGet(this, _T)[e3], r3 = __privateMethod(this, _p_instances, N_fn).call(this, i3) ? i3.__staleWhileFetching : i3;
211002
211007
  if (void 0 === r3) return;
211003
211008
  const n4 = { value: r3 };
211004
- if (__privateGet(this, __) && __privateGet(this, _F)) {
211005
- const t4 = __privateGet(this, __)[e3], i4 = __privateGet(this, _F)[e3];
211009
+ if (__privateGet(this, _z) && __privateGet(this, __)) {
211010
+ const t4 = __privateGet(this, _z)[e3], i4 = __privateGet(this, __)[e3];
211006
211011
  if (t4 && i4) {
211007
211012
  const e4 = t4 - (s2.now() - i4);
211008
211013
  n4.ttl = e4, n4.start = Date.now();
211009
211014
  }
211010
211015
  }
211011
- return __privateGet(this, _R) && (n4.size = __privateGet(this, _R)[e3]), n4;
211016
+ return __privateGet(this, _F) && (n4.size = __privateGet(this, _F)[e3]), n4;
211012
211017
  }
211013
211018
  dump() {
211014
211019
  const t3 = [];
211015
- for (const e3 of __privateMethod(this, _d_instances, I_fn).call(this, { allowStale: true })) {
211016
- const i3 = __privateGet(this, _E)[e3], r3 = __privateGet(this, _L)[e3], n4 = __privateMethod(this, _d_instances, B_fn).call(this, r3) ? r3.__staleWhileFetching : r3;
211020
+ for (const e3 of __privateMethod(this, _p_instances, G_fn).call(this, { allowStale: true })) {
211021
+ const i3 = __privateGet(this, _L)[e3], r3 = __privateGet(this, _T)[e3], n4 = __privateMethod(this, _p_instances, N_fn).call(this, r3) ? r3.__staleWhileFetching : r3;
211017
211022
  if (void 0 === n4 || void 0 === i3) continue;
211018
211023
  const o2 = { value: n4 };
211019
- if (__privateGet(this, __) && __privateGet(this, _F)) {
211020
- o2.ttl = __privateGet(this, __)[e3];
211021
- const t4 = s2.now() - __privateGet(this, _F)[e3];
211024
+ if (__privateGet(this, _z) && __privateGet(this, __)) {
211025
+ o2.ttl = __privateGet(this, _z)[e3];
211026
+ const t4 = s2.now() - __privateGet(this, __)[e3];
211022
211027
  o2.start = Math.floor(Date.now() - t4);
211023
211028
  }
211024
- __privateGet(this, _R) && (o2.size = __privateGet(this, _R)[e3]), t3.unshift([i3, o2]);
211029
+ __privateGet(this, _F) && (o2.size = __privateGet(this, _F)[e3]), t3.unshift([i3, o2]);
211025
211030
  }
211026
211031
  return t3;
211027
211032
  }
@@ -211040,28 +211045,28 @@ var require_glob = __commonJS({
211040
211045
  if (void 0 === e3) return this.delete(t3), this;
211041
211046
  const { ttl: i3 = this.ttl, start: r3, noDisposeOnSet: n4 = this.noDisposeOnSet, sizeCalculation: o2 = this.sizeCalculation, status: h2 } = s3;
211042
211047
  let { noUpdateTTL: a2 = this.noUpdateTTL } = s3;
211043
- const l2 = __privateGet(this, _K).call(this, t3, e3, s3.size || 0, o2);
211044
- if (this.maxEntrySize && l2 > this.maxEntrySize) return h2 && (h2.set = "miss", h2.maxEntrySizeExceeded = true), this.delete(t3), this;
211045
- let c2 = 0 === __privateGet(this, _S) ? void 0 : __privateGet(this, _x).get(t3);
211046
- if (void 0 === c2) c2 = 0 === __privateGet(this, _S) ? __privateGet(this, _A) : 0 !== __privateGet(this, _O).length ? __privateGet(this, _O).pop() : __privateGet(this, _S) === __privateGet(this, _m) ? __privateMethod(this, _d_instances, X_fn).call(this, false) : __privateGet(this, _S), __privateGet(this, _E)[c2] = t3, __privateGet(this, _L)[c2] = e3, __privateGet(this, _x).set(t3, c2), __privateGet(this, _T)[__privateGet(this, _A)] = c2, __privateGet(this, _C)[c2] = __privateGet(this, _A), __privateSet(this, _A, c2), __privateWrapper(this, _S)._++, __privateGet(this, _Y).call(this, c2, l2, h2), h2 && (h2.set = "add"), a2 = false;
211048
+ const l2 = __privateGet(this, _X).call(this, t3, e3, s3.size || 0, o2);
211049
+ if (this.maxEntrySize && l2 > this.maxEntrySize) return h2 && (h2.set = "miss", h2.maxEntrySizeExceeded = true), __privateMethod(this, _p_instances, Z_fn).call(this, t3, "set"), this;
211050
+ let c2 = 0 === __privateGet(this, _k) ? void 0 : __privateGet(this, _E).get(t3);
211051
+ if (void 0 === c2) c2 = 0 === __privateGet(this, _k) ? __privateGet(this, _O) : 0 !== __privateGet(this, _P).length ? __privateGet(this, _P).pop() : __privateGet(this, _k) === __privateGet(this, _m) ? __privateMethod(this, _p_instances, tt_fn).call(this, false) : __privateGet(this, _k), __privateGet(this, _L)[c2] = t3, __privateGet(this, _T)[c2] = e3, __privateGet(this, _E).set(t3, c2), __privateGet(this, _C)[__privateGet(this, _O)] = c2, __privateGet(this, _M)[c2] = __privateGet(this, _O), __privateSet(this, _O, c2), __privateWrapper(this, _k)._++, __privateGet(this, _Q).call(this, c2, l2, h2), h2 && (h2.set = "add"), a2 = false;
211047
211052
  else {
211048
- __privateMethod(this, _d_instances, W_fn).call(this, c2);
211049
- const s4 = __privateGet(this, _L)[c2];
211053
+ __privateMethod(this, _p_instances, I_fn).call(this, c2);
211054
+ const s4 = __privateGet(this, _T)[c2];
211050
211055
  if (e3 !== s4) {
211051
- if (__privateGet(this, _D) && __privateMethod(this, _d_instances, B_fn).call(this, s4)) {
211056
+ if (__privateGet(this, _j) && __privateMethod(this, _p_instances, N_fn).call(this, s4)) {
211052
211057
  s4.__abortController.abort(new Error("replaced"));
211053
211058
  const { __staleWhileFetching: e4 } = s4;
211054
- void 0 === e4 || n4 || (__privateGet(this, _z) && ((_a2 = __privateGet(this, _w)) == null ? void 0 : _a2.call(this, e4, t3, "set")), __privateGet(this, _j) && ((_b3 = __privateGet(this, _P)) == null ? void 0 : _b3.push([e4, t3, "set"])));
211055
- } else n4 || (__privateGet(this, _z) && ((_c2 = __privateGet(this, _w)) == null ? void 0 : _c2.call(this, s4, t3, "set")), __privateGet(this, _j) && ((_d2 = __privateGet(this, _P)) == null ? void 0 : _d2.push([s4, t3, "set"])));
211056
- if (__privateGet(this, _J).call(this, c2), __privateGet(this, _Y).call(this, c2, l2, h2), __privateGet(this, _L)[c2] = e3, h2) {
211059
+ void 0 === e4 || n4 || (__privateGet(this, _D) && ((_a2 = __privateGet(this, _w)) == null ? void 0 : _a2.call(this, e4, t3, "set")), __privateGet(this, _B) && ((_b3 = __privateGet(this, _R)) == null ? void 0 : _b3.push([e4, t3, "set"])));
211060
+ } else n4 || (__privateGet(this, _D) && ((_c2 = __privateGet(this, _w)) == null ? void 0 : _c2.call(this, s4, t3, "set")), __privateGet(this, _B) && ((_d2 = __privateGet(this, _R)) == null ? void 0 : _d2.push([s4, t3, "set"])));
211061
+ if (__privateGet(this, _Y).call(this, c2), __privateGet(this, _Q).call(this, c2, l2, h2), __privateGet(this, _T)[c2] = e3, h2) {
211057
211062
  h2.set = "replace";
211058
- const t4 = s4 && __privateMethod(this, _d_instances, B_fn).call(this, s4) ? s4.__staleWhileFetching : s4;
211063
+ const t4 = s4 && __privateMethod(this, _p_instances, N_fn).call(this, s4) ? s4.__staleWhileFetching : s4;
211059
211064
  void 0 !== t4 && (h2.oldValue = t4);
211060
211065
  }
211061
211066
  } else h2 && (h2.set = "update");
211062
211067
  }
211063
- if (0 === i3 || __privateGet(this, __) || __privateMethod(this, _d_instances, q_fn).call(this), __privateGet(this, __) && (a2 || __privateGet(this, _H).call(this, c2, i3, r3), h2 && __privateGet(this, _Z).call(this, h2, c2)), !n4 && __privateGet(this, _j) && __privateGet(this, _P)) {
211064
- const t4 = __privateGet(this, _P);
211068
+ if (0 === i3 || __privateGet(this, _z) || __privateMethod(this, _p_instances, H_fn).call(this), __privateGet(this, _z) && (a2 || __privateGet(this, _V).call(this, c2, i3, r3), h2 && __privateGet(this, _K).call(this, h2, c2)), !n4 && __privateGet(this, _B) && __privateGet(this, _R)) {
211069
+ const t4 = __privateGet(this, _R);
211065
211070
  let e4;
211066
211071
  for (; e4 = t4 == null ? void 0 : t4.shift(); ) (_e = __privateGet(this, _b2)) == null ? void 0 : _e.call(this, ...e4);
211067
211072
  }
@@ -211070,108 +211075,84 @@ var require_glob = __commonJS({
211070
211075
  pop() {
211071
211076
  var _a2;
211072
211077
  try {
211073
- for (; __privateGet(this, _S); ) {
211074
- const t3 = __privateGet(this, _L)[__privateGet(this, _M)];
211075
- if (__privateMethod(this, _d_instances, X_fn).call(this, true), __privateMethod(this, _d_instances, B_fn).call(this, t3)) {
211078
+ for (; __privateGet(this, _k); ) {
211079
+ const t3 = __privateGet(this, _T)[__privateGet(this, _A)];
211080
+ if (__privateMethod(this, _p_instances, tt_fn).call(this, true), __privateMethod(this, _p_instances, N_fn).call(this, t3)) {
211076
211081
  if (t3.__staleWhileFetching) return t3.__staleWhileFetching;
211077
211082
  } else if (void 0 !== t3) return t3;
211078
211083
  }
211079
211084
  } finally {
211080
- if (__privateGet(this, _j) && __privateGet(this, _P)) {
211081
- const t3 = __privateGet(this, _P);
211085
+ if (__privateGet(this, _B) && __privateGet(this, _R)) {
211086
+ const t3 = __privateGet(this, _R);
211082
211087
  let e3;
211083
211088
  for (; e3 = t3 == null ? void 0 : t3.shift(); ) (_a2 = __privateGet(this, _b2)) == null ? void 0 : _a2.call(this, ...e3);
211084
211089
  }
211085
211090
  }
211086
211091
  }
211087
211092
  has(t3, e3 = {}) {
211088
- const { updateAgeOnHas: s3 = this.updateAgeOnHas, status: i3 } = e3, r3 = __privateGet(this, _x).get(t3);
211093
+ const { updateAgeOnHas: s3 = this.updateAgeOnHas, status: i3 } = e3, r3 = __privateGet(this, _E).get(t3);
211089
211094
  if (void 0 !== r3) {
211090
- const t4 = __privateGet(this, _L)[r3];
211091
- if (__privateMethod(this, _d_instances, B_fn).call(this, t4) && void 0 === t4.__staleWhileFetching) return false;
211092
- if (!__privateGet(this, _U).call(this, r3)) return s3 && __privateGet(this, _V).call(this, r3), i3 && (i3.has = "hit", __privateGet(this, _Z).call(this, i3, r3)), true;
211093
- i3 && (i3.has = "stale", __privateGet(this, _Z).call(this, i3, r3));
211095
+ const t4 = __privateGet(this, _T)[r3];
211096
+ if (__privateMethod(this, _p_instances, N_fn).call(this, t4) && void 0 === t4.__staleWhileFetching) return false;
211097
+ if (!__privateGet(this, _$).call(this, r3)) return s3 && __privateGet(this, _J).call(this, r3), i3 && (i3.has = "hit", __privateGet(this, _K).call(this, i3, r3)), true;
211098
+ i3 && (i3.has = "stale", __privateGet(this, _K).call(this, i3, r3));
211094
211099
  } else i3 && (i3.has = "miss");
211095
211100
  return false;
211096
211101
  }
211097
211102
  peek(t3, e3 = {}) {
211098
- const { allowStale: s3 = this.allowStale } = e3, i3 = __privateGet(this, _x).get(t3);
211099
- if (void 0 === i3 || !s3 && __privateGet(this, _U).call(this, i3)) return;
211100
- const r3 = __privateGet(this, _L)[i3];
211101
- return __privateMethod(this, _d_instances, B_fn).call(this, r3) ? r3.__staleWhileFetching : r3;
211103
+ const { allowStale: s3 = this.allowStale } = e3, i3 = __privateGet(this, _E).get(t3);
211104
+ if (void 0 === i3 || !s3 && __privateGet(this, _$).call(this, i3)) return;
211105
+ const r3 = __privateGet(this, _T)[i3];
211106
+ return __privateMethod(this, _p_instances, N_fn).call(this, r3) ? r3.__staleWhileFetching : r3;
211102
211107
  }
211103
211108
  async fetch(t3, e3 = {}) {
211104
- const { allowStale: s3 = this.allowStale, updateAgeOnGet: i3 = this.updateAgeOnGet, noDeleteOnStaleGet: r3 = this.noDeleteOnStaleGet, ttl: n4 = this.ttl, noDisposeOnSet: o2 = this.noDisposeOnSet, size: h2 = 0, sizeCalculation: a2 = this.sizeCalculation, noUpdateTTL: l2 = this.noUpdateTTL, noDeleteOnFetchRejection: c2 = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: p2 = this.allowStaleOnFetchRejection, ignoreFetchAbort: d2 = this.ignoreFetchAbort, allowStaleOnFetchAbort: u = this.allowStaleOnFetchAbort, context: f, forceRefresh: g = false, status: m, signal: y } = e3;
211105
- if (!__privateGet(this, _D)) return m && (m.fetch = "get"), this.get(t3, { allowStale: s3, updateAgeOnGet: i3, noDeleteOnStaleGet: r3, status: m });
211106
- const w = { allowStale: s3, updateAgeOnGet: i3, noDeleteOnStaleGet: r3, ttl: n4, noDisposeOnSet: o2, size: h2, sizeCalculation: a2, noUpdateTTL: l2, noDeleteOnFetchRejection: c2, allowStaleOnFetchRejection: p2, allowStaleOnFetchAbort: u, ignoreFetchAbort: d2, status: m, signal: y };
211107
- let b = __privateGet(this, _x).get(t3);
211109
+ const { allowStale: s3 = this.allowStale, updateAgeOnGet: i3 = this.updateAgeOnGet, noDeleteOnStaleGet: r3 = this.noDeleteOnStaleGet, ttl: n4 = this.ttl, noDisposeOnSet: o2 = this.noDisposeOnSet, size: h2 = 0, sizeCalculation: a2 = this.sizeCalculation, noUpdateTTL: l2 = this.noUpdateTTL, noDeleteOnFetchRejection: c2 = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: d2 = this.allowStaleOnFetchRejection, ignoreFetchAbort: p2 = this.ignoreFetchAbort, allowStaleOnFetchAbort: u = this.allowStaleOnFetchAbort, context: f, forceRefresh: g = false, status: m, signal: y } = e3;
211110
+ if (!__privateGet(this, _j)) return m && (m.fetch = "get"), this.get(t3, { allowStale: s3, updateAgeOnGet: i3, noDeleteOnStaleGet: r3, status: m });
211111
+ const w = { allowStale: s3, updateAgeOnGet: i3, noDeleteOnStaleGet: r3, ttl: n4, noDisposeOnSet: o2, size: h2, sizeCalculation: a2, noUpdateTTL: l2, noDeleteOnFetchRejection: c2, allowStaleOnFetchRejection: d2, allowStaleOnFetchAbort: u, ignoreFetchAbort: p2, status: m, signal: y };
211112
+ let b = __privateGet(this, _E).get(t3);
211108
211113
  if (void 0 === b) {
211109
211114
  m && (m.fetch = "miss");
211110
- const e4 = __privateMethod(this, _d_instances, N_fn).call(this, t3, b, w, f);
211115
+ const e4 = __privateMethod(this, _p_instances, W_fn).call(this, t3, b, w, f);
211111
211116
  return e4.__returned = e4;
211112
211117
  }
211113
211118
  {
211114
- const e4 = __privateGet(this, _L)[b];
211115
- if (__privateMethod(this, _d_instances, B_fn).call(this, e4)) {
211119
+ const e4 = __privateGet(this, _T)[b];
211120
+ if (__privateMethod(this, _p_instances, N_fn).call(this, e4)) {
211116
211121
  const t4 = s3 && void 0 !== e4.__staleWhileFetching;
211117
211122
  return m && (m.fetch = "inflight", t4 && (m.returnedStale = true)), t4 ? e4.__staleWhileFetching : e4.__returned = e4;
211118
211123
  }
211119
- const r4 = __privateGet(this, _U).call(this, b);
211120
- if (!g && !r4) return m && (m.fetch = "hit"), __privateMethod(this, _d_instances, W_fn).call(this, b), i3 && __privateGet(this, _V).call(this, b), m && __privateGet(this, _Z).call(this, m, b), e4;
211121
- const n5 = __privateMethod(this, _d_instances, N_fn).call(this, t3, b, w, f), o3 = void 0 !== n5.__staleWhileFetching && s3;
211124
+ const r4 = __privateGet(this, _$).call(this, b);
211125
+ if (!g && !r4) return m && (m.fetch = "hit"), __privateMethod(this, _p_instances, I_fn).call(this, b), i3 && __privateGet(this, _J).call(this, b), m && __privateGet(this, _K).call(this, m, b), e4;
211126
+ const n5 = __privateMethod(this, _p_instances, W_fn).call(this, t3, b, w, f), o3 = void 0 !== n5.__staleWhileFetching && s3;
211122
211127
  return m && (m.fetch = r4 ? "stale" : "refresh", o3 && r4 && (m.returnedStale = true)), o3 ? n5.__staleWhileFetching : n5.__returned = n5;
211123
211128
  }
211124
211129
  }
211130
+ async forceFetch(t3, e3 = {}) {
211131
+ const s3 = await this.fetch(t3, e3);
211132
+ if (void 0 === s3) throw new Error("fetch() returned undefined");
211133
+ return s3;
211134
+ }
211135
+ memo(t3, e3 = {}) {
211136
+ const s3 = __privateGet(this, _S);
211137
+ if (!s3) throw new Error("no memoMethod provided to constructor");
211138
+ const { context: i3, forceRefresh: r3, ...n4 } = e3, o2 = this.get(t3, n4);
211139
+ if (!r3 && void 0 !== o2) return o2;
211140
+ const h2 = s3(t3, o2, { options: n4, context: i3 });
211141
+ return this.set(t3, h2, n4), h2;
211142
+ }
211125
211143
  get(t3, e3 = {}) {
211126
- const { allowStale: s3 = this.allowStale, updateAgeOnGet: i3 = this.updateAgeOnGet, noDeleteOnStaleGet: r3 = this.noDeleteOnStaleGet, status: n4 } = e3, o2 = __privateGet(this, _x).get(t3);
211144
+ const { allowStale: s3 = this.allowStale, updateAgeOnGet: i3 = this.updateAgeOnGet, noDeleteOnStaleGet: r3 = this.noDeleteOnStaleGet, status: n4 } = e3, o2 = __privateGet(this, _E).get(t3);
211127
211145
  if (void 0 !== o2) {
211128
- const e4 = __privateGet(this, _L)[o2], h2 = __privateMethod(this, _d_instances, B_fn).call(this, e4);
211129
- return n4 && __privateGet(this, _Z).call(this, n4, o2), __privateGet(this, _U).call(this, o2) ? (n4 && (n4.get = "stale"), h2 ? (n4 && s3 && void 0 !== e4.__staleWhileFetching && (n4.returnedStale = true), s3 ? e4.__staleWhileFetching : void 0) : (r3 || this.delete(t3), n4 && s3 && (n4.returnedStale = true), s3 ? e4 : void 0)) : (n4 && (n4.get = "hit"), h2 ? e4.__staleWhileFetching : (__privateMethod(this, _d_instances, W_fn).call(this, o2), i3 && __privateGet(this, _V).call(this, o2), e4));
211146
+ const e4 = __privateGet(this, _T)[o2], h2 = __privateMethod(this, _p_instances, N_fn).call(this, e4);
211147
+ return n4 && __privateGet(this, _K).call(this, n4, o2), __privateGet(this, _$).call(this, o2) ? (n4 && (n4.get = "stale"), h2 ? (n4 && s3 && void 0 !== e4.__staleWhileFetching && (n4.returnedStale = true), s3 ? e4.__staleWhileFetching : void 0) : (r3 || __privateMethod(this, _p_instances, Z_fn).call(this, t3, "expire"), n4 && s3 && (n4.returnedStale = true), s3 ? e4 : void 0)) : (n4 && (n4.get = "hit"), h2 ? e4.__staleWhileFetching : (__privateMethod(this, _p_instances, I_fn).call(this, o2), i3 && __privateGet(this, _J).call(this, o2), e4));
211130
211148
  }
211131
211149
  n4 && (n4.get = "miss");
211132
211150
  }
211133
211151
  delete(t3) {
211134
- var _a2, _b3, _c2, _d2;
211135
- let e3 = false;
211136
- if (0 !== __privateGet(this, _S)) {
211137
- const s3 = __privateGet(this, _x).get(t3);
211138
- if (void 0 !== s3) if (e3 = true, 1 === __privateGet(this, _S)) this.clear();
211139
- else {
211140
- __privateGet(this, _J).call(this, s3);
211141
- const e4 = __privateGet(this, _L)[s3];
211142
- if (__privateMethod(this, _d_instances, B_fn).call(this, e4) ? e4.__abortController.abort(new Error("deleted")) : (__privateGet(this, _z) || __privateGet(this, _j)) && (__privateGet(this, _z) && ((_a2 = __privateGet(this, _w)) == null ? void 0 : _a2.call(this, e4, t3, "delete")), __privateGet(this, _j) && ((_b3 = __privateGet(this, _P)) == null ? void 0 : _b3.push([e4, t3, "delete"]))), __privateGet(this, _x).delete(t3), __privateGet(this, _E)[s3] = void 0, __privateGet(this, _L)[s3] = void 0, s3 === __privateGet(this, _A)) __privateSet(this, _A, __privateGet(this, _C)[s3]);
211143
- else if (s3 === __privateGet(this, _M)) __privateSet(this, _M, __privateGet(this, _T)[s3]);
211144
- else {
211145
- const t4 = __privateGet(this, _C)[s3];
211146
- __privateGet(this, _T)[t4] = __privateGet(this, _T)[s3];
211147
- const e5 = __privateGet(this, _T)[s3];
211148
- __privateGet(this, _C)[e5] = __privateGet(this, _C)[s3];
211149
- }
211150
- __privateWrapper(this, _S)._--, __privateGet(this, _O).push(s3);
211151
- }
211152
- }
211153
- if (__privateGet(this, _j) && ((_c2 = __privateGet(this, _P)) == null ? void 0 : _c2.length)) {
211154
- const t4 = __privateGet(this, _P);
211155
- let e4;
211156
- for (; e4 = t4 == null ? void 0 : t4.shift(); ) (_d2 = __privateGet(this, _b2)) == null ? void 0 : _d2.call(this, ...e4);
211157
- }
211158
- return e3;
211152
+ return __privateMethod(this, _p_instances, Z_fn).call(this, t3, "delete");
211159
211153
  }
211160
211154
  clear() {
211161
- var _a2, _b3, _c2;
211162
- for (const t3 of __privateMethod(this, _d_instances, G_fn).call(this, { allowStale: true })) {
211163
- const e3 = __privateGet(this, _L)[t3];
211164
- if (__privateMethod(this, _d_instances, B_fn).call(this, e3)) e3.__abortController.abort(new Error("deleted"));
211165
- else {
211166
- const s3 = __privateGet(this, _E)[t3];
211167
- __privateGet(this, _z) && ((_a2 = __privateGet(this, _w)) == null ? void 0 : _a2.call(this, e3, s3, "delete")), __privateGet(this, _j) && ((_b3 = __privateGet(this, _P)) == null ? void 0 : _b3.push([e3, s3, "delete"]));
211168
- }
211169
- }
211170
- if (__privateGet(this, _x).clear(), __privateGet(this, _L).fill(void 0), __privateGet(this, _E).fill(void 0), __privateGet(this, __) && __privateGet(this, _F) && (__privateGet(this, __).fill(0), __privateGet(this, _F).fill(0)), __privateGet(this, _R) && __privateGet(this, _R).fill(0), __privateSet(this, _M, 0), __privateSet(this, _A, 0), __privateGet(this, _O).length = 0, __privateSet(this, _k, 0), __privateSet(this, _S, 0), __privateGet(this, _j) && __privateGet(this, _P)) {
211171
- const t3 = __privateGet(this, _P);
211172
- let e3;
211173
- for (; e3 = t3 == null ? void 0 : t3.shift(); ) (_c2 = __privateGet(this, _b2)) == null ? void 0 : _c2.call(this, ...e3);
211174
- }
211155
+ return __privateMethod(this, _p_instances, it_fn).call(this, "delete");
211175
211156
  }
211176
211157
  };
211177
211158
  _m = new WeakMap();
@@ -211196,19 +211177,20 @@ var require_glob = __commonJS({
211196
211177
  _z = new WeakMap();
211197
211178
  _D = new WeakMap();
211198
211179
  _j = new WeakMap();
211199
- _d_instances = new WeakSet();
211200
- q_fn = function() {
211180
+ _B = new WeakMap();
211181
+ _p_instances = new WeakSet();
211182
+ H_fn = function() {
211201
211183
  const t3 = new c(__privateGet(this, _m)), e3 = new c(__privateGet(this, _m));
211202
- __privateSet(this, __, t3), __privateSet(this, _F, e3), __privateSet(this, _H, (i4, r4, n4 = s2.now()) => {
211184
+ __privateSet(this, _z, t3), __privateSet(this, __, e3), __privateSet(this, _V, (i4, r4, n4 = s2.now()) => {
211203
211185
  if (e3[i4] = 0 !== r4 ? n4 : 0, t3[i4] = r4, 0 !== r4 && this.ttlAutopurge) {
211204
211186
  const t4 = setTimeout(() => {
211205
- __privateGet(this, _U).call(this, i4) && this.delete(__privateGet(this, _E)[i4]);
211187
+ __privateGet(this, _$).call(this, i4) && __privateMethod(this, _p_instances, Z_fn).call(this, __privateGet(this, _L)[i4], "expire");
211206
211188
  }, r4 + 1);
211207
211189
  t4.unref && t4.unref();
211208
211190
  }
211209
- }), __privateSet(this, _V, (i4) => {
211191
+ }), __privateSet(this, _J, (i4) => {
211210
211192
  e3[i4] = 0 !== t3[i4] ? s2.now() : 0;
211211
- }), __privateSet(this, _Z, (s3, n4) => {
211193
+ }), __privateSet(this, _K, (s3, n4) => {
211212
211194
  if (t3[n4]) {
211213
211195
  const o2 = t3[n4], h2 = e3[n4];
211214
211196
  if (!o2 || !h2) return;
@@ -211228,98 +211210,141 @@ var require_glob = __commonJS({
211228
211210
  return t4;
211229
211211
  };
211230
211212
  this.getRemainingTTL = (s3) => {
211231
- const n4 = __privateGet(this, _x).get(s3);
211213
+ const n4 = __privateGet(this, _E).get(s3);
211232
211214
  if (void 0 === n4) return 0;
211233
211215
  const o2 = t3[n4], h2 = e3[n4];
211234
211216
  if (!o2 || !h2) return 1 / 0;
211235
211217
  return o2 - ((i3 || r3()) - h2);
211236
- }, __privateSet(this, _U, (s3) => {
211218
+ }, __privateSet(this, _$, (s3) => {
211237
211219
  const n4 = e3[s3], o2 = t3[s3];
211238
211220
  return !!o2 && !!n4 && (i3 || r3()) - n4 > o2;
211239
211221
  });
211240
211222
  };
211223
+ _J = new WeakMap();
211224
+ _K = new WeakMap();
211241
211225
  _V = new WeakMap();
211242
- _Z = new WeakMap();
211243
- _H = new WeakMap();
211244
- _U = new WeakMap();
211245
- $_fn = function() {
211226
+ _$ = new WeakMap();
211227
+ q_fn = function() {
211246
211228
  const t3 = new c(__privateGet(this, _m));
211247
- __privateSet(this, _k, 0), __privateSet(this, _R, t3), __privateSet(this, _J, (e3) => {
211248
- __privateSet(this, _k, __privateGet(this, _k) - t3[e3]), t3[e3] = 0;
211249
- }), __privateSet(this, _K, (t4, e3, s3, i3) => {
211250
- if (__privateMethod(this, _d_instances, B_fn).call(this, e3)) return 0;
211229
+ __privateSet(this, _x, 0), __privateSet(this, _F, t3), __privateSet(this, _Y, (e3) => {
211230
+ __privateSet(this, _x, __privateGet(this, _x) - t3[e3]), t3[e3] = 0;
211231
+ }), __privateSet(this, _X, (t4, e3, s3, i3) => {
211232
+ if (__privateMethod(this, _p_instances, N_fn).call(this, e3)) return 0;
211251
211233
  if (!a(s3)) {
211252
211234
  if (!i3) throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");
211253
211235
  if ("function" != typeof i3) throw new TypeError("sizeCalculation must be a function");
211254
211236
  if (s3 = i3(e3, t4), !a(s3)) throw new TypeError("sizeCalculation return invalid (expect positive integer)");
211255
211237
  }
211256
211238
  return s3;
211257
- }), __privateSet(this, _Y, (e3, s3, i3) => {
211239
+ }), __privateSet(this, _Q, (e3, s3, i3) => {
211258
211240
  if (t3[e3] = s3, __privateGet(this, _y)) {
211259
211241
  const s4 = __privateGet(this, _y) - t3[e3];
211260
- for (; __privateGet(this, _k) > s4; ) __privateMethod(this, _d_instances, X_fn).call(this, true);
211242
+ for (; __privateGet(this, _x) > s4; ) __privateMethod(this, _p_instances, tt_fn).call(this, true);
211261
211243
  }
211262
- __privateSet(this, _k, __privateGet(this, _k) + t3[e3]), i3 && (i3.entrySize = s3, i3.totalCalculatedSize = __privateGet(this, _k));
211244
+ __privateSet(this, _x, __privateGet(this, _x) + t3[e3]), i3 && (i3.entrySize = s3, i3.totalCalculatedSize = __privateGet(this, _x));
211263
211245
  });
211264
211246
  };
211265
- _J = new WeakMap();
211266
211247
  _Y = new WeakMap();
211267
- _K = new WeakMap();
211268
- I_fn = function* ({ allowStale: t3 = this.allowStale } = {}) {
211269
- if (__privateGet(this, _S)) for (let e3 = __privateGet(this, _A); __privateMethod(this, _d_instances, Q_fn).call(this, e3) && (!t3 && __privateGet(this, _U).call(this, e3) || (yield e3), e3 !== __privateGet(this, _M)); ) e3 = __privateGet(this, _C)[e3];
211270
- };
211248
+ _Q = new WeakMap();
211249
+ _X = new WeakMap();
211271
211250
  G_fn = function* ({ allowStale: t3 = this.allowStale } = {}) {
211272
- if (__privateGet(this, _S)) for (let e3 = __privateGet(this, _M); __privateMethod(this, _d_instances, Q_fn).call(this, e3) && (!t3 && __privateGet(this, _U).call(this, e3) || (yield e3), e3 !== __privateGet(this, _A)); ) e3 = __privateGet(this, _T)[e3];
211251
+ if (__privateGet(this, _k)) for (let e3 = __privateGet(this, _O); __privateMethod(this, _p_instances, et_fn).call(this, e3) && (!t3 && __privateGet(this, _$).call(this, e3) || (yield e3), e3 !== __privateGet(this, _A)); ) e3 = __privateGet(this, _M)[e3];
211252
+ };
211253
+ U_fn = function* ({ allowStale: t3 = this.allowStale } = {}) {
211254
+ if (__privateGet(this, _k)) for (let e3 = __privateGet(this, _A); __privateMethod(this, _p_instances, et_fn).call(this, e3) && (!t3 && __privateGet(this, _$).call(this, e3) || (yield e3), e3 !== __privateGet(this, _O)); ) e3 = __privateGet(this, _C)[e3];
211273
211255
  };
211274
- Q_fn = function(t3) {
211275
- return void 0 !== t3 && __privateGet(this, _x).get(__privateGet(this, _E)[t3]) === t3;
211256
+ et_fn = function(t3) {
211257
+ return void 0 !== t3 && __privateGet(this, _E).get(__privateGet(this, _L)[t3]) === t3;
211276
211258
  };
211277
- X_fn = function(t3) {
211259
+ tt_fn = function(t3) {
211278
211260
  var _a2, _b3;
211279
- const e3 = __privateGet(this, _M), s3 = __privateGet(this, _E)[e3], i3 = __privateGet(this, _L)[e3];
211280
- return __privateGet(this, _D) && __privateMethod(this, _d_instances, B_fn).call(this, i3) ? i3.__abortController.abort(new Error("evicted")) : (__privateGet(this, _z) || __privateGet(this, _j)) && (__privateGet(this, _z) && ((_a2 = __privateGet(this, _w)) == null ? void 0 : _a2.call(this, i3, s3, "evict")), __privateGet(this, _j) && ((_b3 = __privateGet(this, _P)) == null ? void 0 : _b3.push([i3, s3, "evict"]))), __privateGet(this, _J).call(this, e3), t3 && (__privateGet(this, _E)[e3] = void 0, __privateGet(this, _L)[e3] = void 0, __privateGet(this, _O).push(e3)), 1 === __privateGet(this, _S) ? (__privateSet(this, _M, __privateSet(this, _A, 0)), __privateGet(this, _O).length = 0) : __privateSet(this, _M, __privateGet(this, _T)[e3]), __privateGet(this, _x).delete(s3), __privateWrapper(this, _S)._--, e3;
211261
+ const e3 = __privateGet(this, _A), s3 = __privateGet(this, _L)[e3], i3 = __privateGet(this, _T)[e3];
211262
+ return __privateGet(this, _j) && __privateMethod(this, _p_instances, N_fn).call(this, i3) ? i3.__abortController.abort(new Error("evicted")) : (__privateGet(this, _D) || __privateGet(this, _B)) && (__privateGet(this, _D) && ((_a2 = __privateGet(this, _w)) == null ? void 0 : _a2.call(this, i3, s3, "evict")), __privateGet(this, _B) && ((_b3 = __privateGet(this, _R)) == null ? void 0 : _b3.push([i3, s3, "evict"]))), __privateGet(this, _Y).call(this, e3), t3 && (__privateGet(this, _L)[e3] = void 0, __privateGet(this, _T)[e3] = void 0, __privateGet(this, _P).push(e3)), 1 === __privateGet(this, _k) ? (__privateSet(this, _A, __privateSet(this, _O, 0)), __privateGet(this, _P).length = 0) : __privateSet(this, _A, __privateGet(this, _C)[e3]), __privateGet(this, _E).delete(s3), __privateWrapper(this, _k)._--, e3;
211281
211263
  };
211282
- N_fn = function(t3, e3, s3, i3) {
211283
- const r3 = void 0 === e3 ? void 0 : __privateGet(this, _L)[e3];
211284
- if (__privateMethod(this, _d_instances, B_fn).call(this, r3)) return r3;
211264
+ W_fn = function(t3, e3, s3, i3) {
211265
+ const r3 = void 0 === e3 ? void 0 : __privateGet(this, _T)[e3];
211266
+ if (__privateMethod(this, _p_instances, N_fn).call(this, r3)) return r3;
211285
211267
  const n4 = new o(), { signal: h2 } = s3;
211286
211268
  h2 == null ? void 0 : h2.addEventListener("abort", () => n4.abort(h2.reason), { signal: n4.signal });
211287
211269
  const a2 = { signal: n4.signal, options: s3, context: i3 }, l2 = (i4, r4 = false) => {
211288
211270
  const { aborted: o2 } = n4.signal, h3 = s3.ignoreFetchAbort && void 0 !== i4;
211289
211271
  if (s3.status && (o2 && !r4 ? (s3.status.fetchAborted = true, s3.status.fetchError = n4.signal.reason, h3 && (s3.status.fetchAbortIgnored = true)) : s3.status.fetchResolved = true), o2 && !h3 && !r4) return c2(n4.signal.reason);
211290
- const l3 = p2;
211291
- return __privateGet(this, _L)[e3] === p2 && (void 0 === i4 ? l3.__staleWhileFetching ? __privateGet(this, _L)[e3] = l3.__staleWhileFetching : this.delete(t3) : (s3.status && (s3.status.fetchUpdated = true), this.set(t3, i4, a2.options))), i4;
211272
+ const l3 = d2;
211273
+ return __privateGet(this, _T)[e3] === d2 && (void 0 === i4 ? l3.__staleWhileFetching ? __privateGet(this, _T)[e3] = l3.__staleWhileFetching : __privateMethod(this, _p_instances, Z_fn).call(this, t3, "fetch") : (s3.status && (s3.status.fetchUpdated = true), this.set(t3, i4, a2.options))), i4;
211292
211274
  }, c2 = (i4) => {
211293
- const { aborted: r4 } = n4.signal, o2 = r4 && s3.allowStaleOnFetchAbort, h3 = o2 || s3.allowStaleOnFetchRejection, a3 = h3 || s3.noDeleteOnFetchRejection, l3 = p2;
211294
- if (__privateGet(this, _L)[e3] === p2) {
211295
- !a3 || void 0 === l3.__staleWhileFetching ? this.delete(t3) : o2 || (__privateGet(this, _L)[e3] = l3.__staleWhileFetching);
211275
+ const { aborted: r4 } = n4.signal, o2 = r4 && s3.allowStaleOnFetchAbort, h3 = o2 || s3.allowStaleOnFetchRejection, a3 = h3 || s3.noDeleteOnFetchRejection, l3 = d2;
211276
+ if (__privateGet(this, _T)[e3] === d2) {
211277
+ !a3 || void 0 === l3.__staleWhileFetching ? __privateMethod(this, _p_instances, Z_fn).call(this, t3, "fetch") : o2 || (__privateGet(this, _T)[e3] = l3.__staleWhileFetching);
211296
211278
  }
211297
211279
  if (h3) return s3.status && void 0 !== l3.__staleWhileFetching && (s3.status.returnedStale = true), l3.__staleWhileFetching;
211298
211280
  if (l3.__returned === l3) throw i4;
211299
211281
  };
211300
211282
  s3.status && (s3.status.fetchDispatched = true);
211301
- const p2 = new Promise((e4, i4) => {
211283
+ const d2 = new Promise((e4, i4) => {
211302
211284
  var _a2;
211303
211285
  const o2 = (_a2 = __privateGet(this, _v)) == null ? void 0 : _a2.call(this, t3, r3, a2);
211304
211286
  o2 && o2 instanceof Promise && o2.then((t4) => e4(void 0 === t4 ? void 0 : t4), i4), n4.signal.addEventListener("abort", () => {
211305
211287
  s3.ignoreFetchAbort && !s3.allowStaleOnFetchAbort || (e4(void 0), s3.allowStaleOnFetchAbort && (e4 = (t4) => l2(t4, true)));
211306
211288
  });
211307
- }).then(l2, (t4) => (s3.status && (s3.status.fetchRejected = true, s3.status.fetchError = t4), c2(t4))), d2 = Object.assign(p2, { __abortController: n4, __staleWhileFetching: r3, __returned: void 0 });
211308
- return void 0 === e3 ? (this.set(t3, d2, { ...a2.options, status: void 0 }), e3 = __privateGet(this, _x).get(t3)) : __privateGet(this, _L)[e3] = d2, d2;
211289
+ }).then(l2, (t4) => (s3.status && (s3.status.fetchRejected = true, s3.status.fetchError = t4), c2(t4))), p2 = Object.assign(d2, { __abortController: n4, __staleWhileFetching: r3, __returned: void 0 });
211290
+ return void 0 === e3 ? (this.set(t3, p2, { ...a2.options, status: void 0 }), e3 = __privateGet(this, _E).get(t3)) : __privateGet(this, _T)[e3] = p2, p2;
211309
211291
  };
211310
- B_fn = function(t3) {
211311
- if (!__privateGet(this, _D)) return false;
211292
+ N_fn = function(t3) {
211293
+ if (!__privateGet(this, _j)) return false;
211312
211294
  const e3 = t3;
211313
211295
  return !!e3 && e3 instanceof Promise && e3.hasOwnProperty("__staleWhileFetching") && e3.__abortController instanceof o;
211314
211296
  };
211315
- tt_fn = function(t3, e3) {
211316
- __privateGet(this, _C)[e3] = t3, __privateGet(this, _T)[t3] = e3;
211297
+ st_fn = function(t3, e3) {
211298
+ __privateGet(this, _M)[e3] = t3, __privateGet(this, _C)[t3] = e3;
211317
211299
  };
211318
- W_fn = function(t3) {
211319
- t3 !== __privateGet(this, _A) && (t3 === __privateGet(this, _M) ? __privateSet(this, _M, __privateGet(this, _T)[t3]) : __privateMethod(this, _d_instances, tt_fn).call(this, __privateGet(this, _C)[t3], __privateGet(this, _T)[t3]), __privateMethod(this, _d_instances, tt_fn).call(this, __privateGet(this, _A), t3), __privateSet(this, _A, t3));
211300
+ I_fn = function(t3) {
211301
+ t3 !== __privateGet(this, _O) && (t3 === __privateGet(this, _A) ? __privateSet(this, _A, __privateGet(this, _C)[t3]) : __privateMethod(this, _p_instances, st_fn).call(this, __privateGet(this, _M)[t3], __privateGet(this, _C)[t3]), __privateMethod(this, _p_instances, st_fn).call(this, __privateGet(this, _O), t3), __privateSet(this, _O, t3));
211320
211302
  };
211321
- let d = _d;
211322
- e2.LRUCache = d;
211303
+ Z_fn = function(t3, e3) {
211304
+ var _a2, _b3, _c2, _d2;
211305
+ let s3 = false;
211306
+ if (0 !== __privateGet(this, _k)) {
211307
+ const i3 = __privateGet(this, _E).get(t3);
211308
+ if (void 0 !== i3) if (s3 = true, 1 === __privateGet(this, _k)) __privateMethod(this, _p_instances, it_fn).call(this, e3);
211309
+ else {
211310
+ __privateGet(this, _Y).call(this, i3);
211311
+ const s4 = __privateGet(this, _T)[i3];
211312
+ if (__privateMethod(this, _p_instances, N_fn).call(this, s4) ? s4.__abortController.abort(new Error("deleted")) : (__privateGet(this, _D) || __privateGet(this, _B)) && (__privateGet(this, _D) && ((_a2 = __privateGet(this, _w)) == null ? void 0 : _a2.call(this, s4, t3, e3)), __privateGet(this, _B) && ((_b3 = __privateGet(this, _R)) == null ? void 0 : _b3.push([s4, t3, e3]))), __privateGet(this, _E).delete(t3), __privateGet(this, _L)[i3] = void 0, __privateGet(this, _T)[i3] = void 0, i3 === __privateGet(this, _O)) __privateSet(this, _O, __privateGet(this, _M)[i3]);
211313
+ else if (i3 === __privateGet(this, _A)) __privateSet(this, _A, __privateGet(this, _C)[i3]);
211314
+ else {
211315
+ const t4 = __privateGet(this, _M)[i3];
211316
+ __privateGet(this, _C)[t4] = __privateGet(this, _C)[i3];
211317
+ const e4 = __privateGet(this, _C)[i3];
211318
+ __privateGet(this, _M)[e4] = __privateGet(this, _M)[i3];
211319
+ }
211320
+ __privateWrapper(this, _k)._--, __privateGet(this, _P).push(i3);
211321
+ }
211322
+ }
211323
+ if (__privateGet(this, _B) && ((_c2 = __privateGet(this, _R)) == null ? void 0 : _c2.length)) {
211324
+ const t4 = __privateGet(this, _R);
211325
+ let e4;
211326
+ for (; e4 = t4 == null ? void 0 : t4.shift(); ) (_d2 = __privateGet(this, _b2)) == null ? void 0 : _d2.call(this, ...e4);
211327
+ }
211328
+ return s3;
211329
+ };
211330
+ it_fn = function(t3) {
211331
+ var _a2, _b3, _c2;
211332
+ for (const e3 of __privateMethod(this, _p_instances, U_fn).call(this, { allowStale: true })) {
211333
+ const s3 = __privateGet(this, _T)[e3];
211334
+ if (__privateMethod(this, _p_instances, N_fn).call(this, s3)) s3.__abortController.abort(new Error("deleted"));
211335
+ else {
211336
+ const i3 = __privateGet(this, _L)[e3];
211337
+ __privateGet(this, _D) && ((_a2 = __privateGet(this, _w)) == null ? void 0 : _a2.call(this, s3, i3, t3)), __privateGet(this, _B) && ((_b3 = __privateGet(this, _R)) == null ? void 0 : _b3.push([s3, i3, t3]));
211338
+ }
211339
+ }
211340
+ if (__privateGet(this, _E).clear(), __privateGet(this, _T).fill(void 0), __privateGet(this, _L).fill(void 0), __privateGet(this, _z) && __privateGet(this, __) && (__privateGet(this, _z).fill(0), __privateGet(this, __).fill(0)), __privateGet(this, _F) && __privateGet(this, _F).fill(0), __privateSet(this, _A, 0), __privateSet(this, _O, 0), __privateGet(this, _P).length = 0, __privateSet(this, _x, 0), __privateSet(this, _k, 0), __privateGet(this, _B) && __privateGet(this, _R)) {
211341
+ const t4 = __privateGet(this, _R);
211342
+ let e3;
211343
+ for (; e3 = t4 == null ? void 0 : t4.shift(); ) (_c2 = __privateGet(this, _b2)) == null ? void 0 : _c2.call(this, ...e3);
211344
+ }
211345
+ };
211346
+ let p = _p;
211347
+ e2.LRUCache = p;
211323
211348
  }, 274: (t2, e2) => {
211324
211349
  "use strict";
211325
211350
  Object.defineProperty(e2, "__esModule", { value: true }), e2.assertValidPattern = void 0;
@@ -211329,128 +211354,125 @@ var require_glob = __commonJS({
211329
211354
  };
211330
211355
  }, 674: (t2, e2, s2) => {
211331
211356
  "use strict";
211332
- var _et, _st, _it, _rt, _nt, _ot, _ht, _at, _lt, _ct, _pt, _f_instances, dt_fn, _f_static, ut_fn, gt_fn, ft_fn;
211357
+ var _rt, _nt, _ot, _ht, _at, _lt, _ct, _dt, _pt, _ut, _ft, _f_instances, gt_fn, _f_static, mt_fn, wt_fn, yt_fn;
211333
211358
  Object.defineProperty(e2, "__esModule", { value: true }), e2.AST = void 0;
211334
- const i2 = s2(843), r2 = s2(116), n3 = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]), o = (t3) => n3.has(t3), h = "(?!\\.)", a = /* @__PURE__ */ new Set(["[", "."]), l = /* @__PURE__ */ new Set(["..", "."]), c = new Set("().*{}+?[]^$\\!"), p = "[^/]", d = p + "*?", u = p + "+?";
211359
+ const i2 = s2(843), r2 = s2(116), n3 = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]), o = (t3) => n3.has(t3), h = "(?!\\.)", a = /* @__PURE__ */ new Set(["[", "."]), l = /* @__PURE__ */ new Set(["..", "."]), c = new Set("().*{}+?[]^$\\!"), d = "[^/]", p = d + "*?", u = d + "+?";
211335
211360
  const _f = class _f {
211336
211361
  constructor(t3, e3, s3 = {}) {
211337
211362
  __privateAdd(this, _f_instances);
211338
211363
  __publicField(this, "type");
211339
- __privateAdd(this, _et);
211340
- __privateAdd(this, _st);
211341
- __privateAdd(this, _it, false);
211342
- __privateAdd(this, _rt, []);
211364
+ __privateAdd(this, _rt);
211343
211365
  __privateAdd(this, _nt);
211344
- __privateAdd(this, _ot);
211345
- __privateAdd(this, _ht);
211346
- __privateAdd(this, _at, false);
211366
+ __privateAdd(this, _ot, false);
211367
+ __privateAdd(this, _ht, []);
211368
+ __privateAdd(this, _at);
211347
211369
  __privateAdd(this, _lt);
211348
211370
  __privateAdd(this, _ct);
211349
- __privateAdd(this, _pt, false);
211350
- this.type = t3, t3 && __privateSet(this, _st, true), __privateSet(this, _nt, e3), __privateSet(this, _et, __privateGet(this, _nt) ? __privateGet(__privateGet(this, _nt), _et) : this), __privateSet(this, _lt, __privateGet(this, _et) === this ? s3 : __privateGet(__privateGet(this, _et), _lt)), __privateSet(this, _ht, __privateGet(this, _et) === this ? [] : __privateGet(__privateGet(this, _et), _ht)), "!" !== t3 || __privateGet(__privateGet(this, _et), _at) || __privateGet(this, _ht).push(this), __privateSet(this, _ot, __privateGet(this, _nt) ? __privateGet(__privateGet(this, _nt), _rt).length : 0);
211371
+ __privateAdd(this, _dt, false);
211372
+ __privateAdd(this, _pt);
211373
+ __privateAdd(this, _ut);
211374
+ __privateAdd(this, _ft, false);
211375
+ this.type = t3, t3 && __privateSet(this, _nt, true), __privateSet(this, _at, e3), __privateSet(this, _rt, __privateGet(this, _at) ? __privateGet(__privateGet(this, _at), _rt) : this), __privateSet(this, _pt, __privateGet(this, _rt) === this ? s3 : __privateGet(__privateGet(this, _rt), _pt)), __privateSet(this, _ct, __privateGet(this, _rt) === this ? [] : __privateGet(__privateGet(this, _rt), _ct)), "!" !== t3 || __privateGet(__privateGet(this, _rt), _dt) || __privateGet(this, _ct).push(this), __privateSet(this, _lt, __privateGet(this, _at) ? __privateGet(__privateGet(this, _at), _ht).length : 0);
211351
211376
  }
211352
211377
  get hasMagic() {
211353
- if (void 0 !== __privateGet(this, _st)) return __privateGet(this, _st);
211354
- for (const t3 of __privateGet(this, _rt)) if ("string" != typeof t3 && (t3.type || t3.hasMagic)) return __privateSet(this, _st, true);
211355
- return __privateGet(this, _st);
211378
+ if (void 0 !== __privateGet(this, _nt)) return __privateGet(this, _nt);
211379
+ for (const t3 of __privateGet(this, _ht)) if ("string" != typeof t3 && (t3.type || t3.hasMagic)) return __privateSet(this, _nt, true);
211380
+ return __privateGet(this, _nt);
211356
211381
  }
211357
211382
  toString() {
211358
- return void 0 !== __privateGet(this, _ct) ? __privateGet(this, _ct) : this.type ? __privateSet(this, _ct, this.type + "(" + __privateGet(this, _rt).map((t3) => String(t3)).join("|") + ")") : __privateSet(this, _ct, __privateGet(this, _rt).map((t3) => String(t3)).join(""));
211383
+ return void 0 !== __privateGet(this, _ut) ? __privateGet(this, _ut) : this.type ? __privateSet(this, _ut, this.type + "(" + __privateGet(this, _ht).map((t3) => String(t3)).join("|") + ")") : __privateSet(this, _ut, __privateGet(this, _ht).map((t3) => String(t3)).join(""));
211359
211384
  }
211360
211385
  push(...t3) {
211361
211386
  for (const e3 of t3) if ("" !== e3) {
211362
- if ("string" != typeof e3 && !(e3 instanceof _f && __privateGet(e3, _nt) === this)) throw new Error("invalid part: " + e3);
211363
- __privateGet(this, _rt).push(e3);
211387
+ if ("string" != typeof e3 && !(e3 instanceof _f && __privateGet(e3, _at) === this)) throw new Error("invalid part: " + e3);
211388
+ __privateGet(this, _ht).push(e3);
211364
211389
  }
211365
211390
  }
211366
211391
  toJSON() {
211367
211392
  var _a;
211368
- const t3 = null === this.type ? __privateGet(this, _rt).slice().map((t4) => "string" == typeof t4 ? t4 : t4.toJSON()) : [this.type, ...__privateGet(this, _rt).map((t4) => t4.toJSON())];
211369
- return this.isStart() && !this.type && t3.unshift([]), this.isEnd() && (this === __privateGet(this, _et) || __privateGet(__privateGet(this, _et), _at) && "!" === ((_a = __privateGet(this, _nt)) == null ? void 0 : _a.type)) && t3.push({}), t3;
211393
+ const t3 = null === this.type ? __privateGet(this, _ht).slice().map((t4) => "string" == typeof t4 ? t4 : t4.toJSON()) : [this.type, ...__privateGet(this, _ht).map((t4) => t4.toJSON())];
211394
+ return this.isStart() && !this.type && t3.unshift([]), this.isEnd() && (this === __privateGet(this, _rt) || __privateGet(__privateGet(this, _rt), _dt) && "!" === ((_a = __privateGet(this, _at)) == null ? void 0 : _a.type)) && t3.push({}), t3;
211370
211395
  }
211371
211396
  isStart() {
211372
211397
  var _a;
211373
- if (__privateGet(this, _et) === this) return true;
211374
- if (!((_a = __privateGet(this, _nt)) == null ? void 0 : _a.isStart())) return false;
211375
- if (0 === __privateGet(this, _ot)) return true;
211376
- const t3 = __privateGet(this, _nt);
211377
- for (let e3 = 0; e3 < __privateGet(this, _ot); e3++) {
211378
- const s3 = __privateGet(t3, _rt)[e3];
211398
+ if (__privateGet(this, _rt) === this) return true;
211399
+ if (!((_a = __privateGet(this, _at)) == null ? void 0 : _a.isStart())) return false;
211400
+ if (0 === __privateGet(this, _lt)) return true;
211401
+ const t3 = __privateGet(this, _at);
211402
+ for (let e3 = 0; e3 < __privateGet(this, _lt); e3++) {
211403
+ const s3 = __privateGet(t3, _ht)[e3];
211379
211404
  if (!(s3 instanceof _f && "!" === s3.type)) return false;
211380
211405
  }
211381
211406
  return true;
211382
211407
  }
211383
211408
  isEnd() {
211384
211409
  var _a, _b, _c;
211385
- if (__privateGet(this, _et) === this) return true;
211386
- if ("!" === ((_a = __privateGet(this, _nt)) == null ? void 0 : _a.type)) return true;
211387
- if (!((_b = __privateGet(this, _nt)) == null ? void 0 : _b.isEnd())) return false;
211388
- if (!this.type) return (_c = __privateGet(this, _nt)) == null ? void 0 : _c.isEnd();
211389
- const t3 = __privateGet(this, _nt) ? __privateGet(__privateGet(this, _nt), _rt).length : 0;
211390
- return __privateGet(this, _ot) === t3 - 1;
211410
+ if (__privateGet(this, _rt) === this) return true;
211411
+ if ("!" === ((_a = __privateGet(this, _at)) == null ? void 0 : _a.type)) return true;
211412
+ if (!((_b = __privateGet(this, _at)) == null ? void 0 : _b.isEnd())) return false;
211413
+ if (!this.type) return (_c = __privateGet(this, _at)) == null ? void 0 : _c.isEnd();
211414
+ const t3 = __privateGet(this, _at) ? __privateGet(__privateGet(this, _at), _ht).length : 0;
211415
+ return __privateGet(this, _lt) === t3 - 1;
211391
211416
  }
211392
211417
  copyIn(t3) {
211393
211418
  "string" == typeof t3 ? this.push(t3) : this.push(t3.clone(this));
211394
211419
  }
211395
211420
  clone(t3) {
211396
211421
  const e3 = new _f(this.type, t3);
211397
- for (const t4 of __privateGet(this, _rt)) e3.copyIn(t4);
211422
+ for (const t4 of __privateGet(this, _ht)) e3.copyIn(t4);
211398
211423
  return e3;
211399
211424
  }
211400
211425
  static fromGlob(t3, e3 = {}) {
211401
211426
  var _a;
211402
211427
  const s3 = new _f(null, void 0, e3);
211403
- return __privateMethod(_a = _f, _f_static, ut_fn).call(_a, t3, s3, 0, e3), s3;
211428
+ return __privateMethod(_a = _f, _f_static, mt_fn).call(_a, t3, s3, 0, e3), s3;
211404
211429
  }
211405
211430
  toMMPattern() {
211406
- if (this !== __privateGet(this, _et)) return __privateGet(this, _et).toMMPattern();
211431
+ if (this !== __privateGet(this, _rt)) return __privateGet(this, _rt).toMMPattern();
211407
211432
  const t3 = this.toString(), [e3, s3, i3, r3] = this.toRegExpSource();
211408
- if (!(i3 || __privateGet(this, _st) || __privateGet(this, _lt).nocase && !__privateGet(this, _lt).nocaseMagicOnly && t3.toUpperCase() !== t3.toLowerCase())) return s3;
211409
- const n4 = (__privateGet(this, _lt).nocase ? "i" : "") + (r3 ? "u" : "");
211433
+ if (!(i3 || __privateGet(this, _nt) || __privateGet(this, _pt).nocase && !__privateGet(this, _pt).nocaseMagicOnly && t3.toUpperCase() !== t3.toLowerCase())) return s3;
211434
+ const n4 = (__privateGet(this, _pt).nocase ? "i" : "") + (r3 ? "u" : "");
211410
211435
  return Object.assign(new RegExp(`^${e3}$`, n4), { _src: e3, _glob: t3 });
211411
211436
  }
211412
211437
  get options() {
211413
- return __privateGet(this, _lt);
211438
+ return __privateGet(this, _pt);
211414
211439
  }
211415
211440
  toRegExpSource(t3) {
211416
211441
  var _a;
211417
- const e3 = t3 != null ? t3 : !!__privateGet(this, _lt).dot;
211418
- if (__privateGet(this, _et) === this && __privateMethod(this, _f_instances, dt_fn).call(this), !this.type) {
211419
- const s4 = this.isStart() && this.isEnd(), i4 = __privateGet(this, _rt).map((e4) => {
211442
+ const e3 = t3 != null ? t3 : !!__privateGet(this, _pt).dot;
211443
+ if (__privateGet(this, _rt) === this && __privateMethod(this, _f_instances, gt_fn).call(this), !this.type) {
211444
+ const s4 = this.isStart() && this.isEnd(), i4 = __privateGet(this, _ht).map((e4) => {
211420
211445
  var _a2;
211421
- const [i5, r3, n6, o4] = "string" == typeof e4 ? __privateMethod(_a2 = _f, _f_static, ft_fn).call(_a2, e4, __privateGet(this, _st), s4) : e4.toRegExpSource(t3);
211422
- return __privateSet(this, _st, __privateGet(this, _st) || n6), __privateSet(this, _it, __privateGet(this, _it) || o4), i5;
211446
+ const [i5, r3, n6, o4] = "string" == typeof e4 ? __privateMethod(_a2 = _f, _f_static, yt_fn).call(_a2, e4, __privateGet(this, _nt), s4) : e4.toRegExpSource(t3);
211447
+ return __privateSet(this, _nt, __privateGet(this, _nt) || n6), __privateSet(this, _ot, __privateGet(this, _ot) || o4), i5;
211423
211448
  }).join("");
211424
211449
  let n5 = "";
211425
- if (this.isStart() && "string" == typeof __privateGet(this, _rt)[0]) {
211426
- if (!(1 === __privateGet(this, _rt).length && l.has(__privateGet(this, _rt)[0]))) {
211450
+ if (this.isStart() && "string" == typeof __privateGet(this, _ht)[0]) {
211451
+ if (!(1 === __privateGet(this, _ht).length && l.has(__privateGet(this, _ht)[0]))) {
211427
211452
  const s5 = a, r3 = e3 && s5.has(i4.charAt(0)) || i4.startsWith("\\.") && s5.has(i4.charAt(2)) || i4.startsWith("\\.\\.") && s5.has(i4.charAt(4)), o4 = !e3 && !t3 && s5.has(i4.charAt(0));
211428
211453
  n5 = r3 ? "(?!(?:^|/)\\.\\.?(?:$|/))" : o4 ? h : "";
211429
211454
  }
211430
211455
  }
211431
211456
  let o3 = "";
211432
- this.isEnd() && __privateGet(__privateGet(this, _et), _at) && "!" === ((_a = __privateGet(this, _nt)) == null ? void 0 : _a.type) && (o3 = "(?:$|\\/)");
211433
- return [n5 + i4 + o3, (0, r2.unescape)(i4), __privateSet(this, _st, !!__privateGet(this, _st)), __privateGet(this, _it)];
211457
+ this.isEnd() && __privateGet(__privateGet(this, _rt), _dt) && "!" === ((_a = __privateGet(this, _at)) == null ? void 0 : _a.type) && (o3 = "(?:$|\\/)");
211458
+ return [n5 + i4 + o3, (0, r2.unescape)(i4), __privateSet(this, _nt, !!__privateGet(this, _nt)), __privateGet(this, _ot)];
211434
211459
  }
211435
211460
  const s3 = "*" === this.type || "+" === this.type, i3 = "!" === this.type ? "(?:(?!(?:" : "(?:";
211436
- let n4 = __privateMethod(this, _f_instances, gt_fn).call(this, e3);
211461
+ let n4 = __privateMethod(this, _f_instances, wt_fn).call(this, e3);
211437
211462
  if (this.isStart() && this.isEnd() && !n4 && "!" !== this.type) {
211438
211463
  const t4 = this.toString();
211439
- return __privateSet(this, _rt, [t4]), this.type = null, __privateSet(this, _st, void 0), [t4, (0, r2.unescape)(this.toString()), false, false];
211464
+ return __privateSet(this, _ht, [t4]), this.type = null, __privateSet(this, _nt, void 0), [t4, (0, r2.unescape)(this.toString()), false, false];
211440
211465
  }
211441
- let o2 = !s3 || t3 || e3 ? "" : __privateMethod(this, _f_instances, gt_fn).call(this, true);
211466
+ let o2 = !s3 || t3 || e3 ? "" : __privateMethod(this, _f_instances, wt_fn).call(this, true);
211442
211467
  o2 === n4 && (o2 = ""), o2 && (n4 = `(?:${n4})(?:${o2})*?`);
211443
211468
  let c2 = "";
211444
- if ("!" === this.type && __privateGet(this, _pt)) c2 = (this.isStart() && !e3 ? h : "") + u;
211469
+ if ("!" === this.type && __privateGet(this, _ft)) c2 = (this.isStart() && !e3 ? h : "") + u;
211445
211470
  else {
211446
- c2 = i3 + n4 + ("!" === this.type ? "))" + (!this.isStart() || e3 || t3 ? "" : h) + d + ")" : "@" === this.type ? ")" : "?" === this.type ? ")?" : "+" === this.type && o2 ? ")" : "*" === this.type && o2 ? ")?" : `)${this.type}`);
211471
+ c2 = i3 + n4 + ("!" === this.type ? "))" + (!this.isStart() || e3 || t3 ? "" : h) + p + ")" : "@" === this.type ? ")" : "?" === this.type ? ")?" : "+" === this.type && o2 ? ")" : "*" === this.type && o2 ? ")?" : `)${this.type}`);
211447
211472
  }
211448
- return [c2, (0, r2.unescape)(n4), __privateSet(this, _st, !!__privateGet(this, _st)), __privateGet(this, _it)];
211473
+ return [c2, (0, r2.unescape)(n4), __privateSet(this, _nt, !!__privateGet(this, _nt)), __privateGet(this, _ot)];
211449
211474
  }
211450
211475
  };
211451
- _et = new WeakMap();
211452
- _st = new WeakMap();
211453
- _it = new WeakMap();
211454
211476
  _rt = new WeakMap();
211455
211477
  _nt = new WeakMap();
211456
211478
  _ot = new WeakMap();
@@ -211458,27 +211480,30 @@ var require_glob = __commonJS({
211458
211480
  _at = new WeakMap();
211459
211481
  _lt = new WeakMap();
211460
211482
  _ct = new WeakMap();
211483
+ _dt = new WeakMap();
211461
211484
  _pt = new WeakMap();
211485
+ _ut = new WeakMap();
211486
+ _ft = new WeakMap();
211462
211487
  _f_instances = new WeakSet();
211463
- dt_fn = function() {
211464
- if (this !== __privateGet(this, _et)) throw new Error("should only call on root");
211465
- if (__privateGet(this, _at)) return this;
211488
+ gt_fn = function() {
211489
+ if (this !== __privateGet(this, _rt)) throw new Error("should only call on root");
211490
+ if (__privateGet(this, _dt)) return this;
211466
211491
  let t3;
211467
- for (this.toString(), __privateSet(this, _at, true); t3 = __privateGet(this, _ht).pop(); ) {
211492
+ for (this.toString(), __privateSet(this, _dt, true); t3 = __privateGet(this, _ct).pop(); ) {
211468
211493
  if ("!" !== t3.type) continue;
211469
- let e3 = t3, s3 = __privateGet(e3, _nt);
211494
+ let e3 = t3, s3 = __privateGet(e3, _at);
211470
211495
  for (; s3; ) {
211471
- for (let i3 = __privateGet(e3, _ot) + 1; !s3.type && i3 < __privateGet(s3, _rt).length; i3++) for (const e4 of __privateGet(t3, _rt)) {
211496
+ for (let i3 = __privateGet(e3, _lt) + 1; !s3.type && i3 < __privateGet(s3, _ht).length; i3++) for (const e4 of __privateGet(t3, _ht)) {
211472
211497
  if ("string" == typeof e4) throw new Error("string part in extglob AST??");
211473
- e4.copyIn(__privateGet(s3, _rt)[i3]);
211498
+ e4.copyIn(__privateGet(s3, _ht)[i3]);
211474
211499
  }
211475
- e3 = s3, s3 = __privateGet(e3, _nt);
211500
+ e3 = s3, s3 = __privateGet(e3, _at);
211476
211501
  }
211477
211502
  }
211478
211503
  return this;
211479
211504
  };
211480
211505
  _f_static = new WeakSet();
211481
- ut_fn = function(t3, e3, s3, i3) {
211506
+ mt_fn = function(t3, e3, s3, i3) {
211482
211507
  var _a, _b;
211483
211508
  let r3 = false, n4 = false, h2 = -1, a2 = false;
211484
211509
  if (null === e3.type) {
@@ -211491,39 +211516,39 @@ var require_glob = __commonJS({
211491
211516
  else {
211492
211517
  e3.push(c3), c3 = "";
211493
211518
  const r4 = new _f(s4, e3);
211494
- l3 = __privateMethod(_a = _f, _f_static, ut_fn).call(_a, t3, r4, l3, i3), e3.push(r4);
211519
+ l3 = __privateMethod(_a = _f, _f_static, mt_fn).call(_a, t3, r4, l3, i3), e3.push(r4);
211495
211520
  }
211496
211521
  else n4 = true, h2 = l3, a2 = false, c3 += s4;
211497
211522
  }
211498
211523
  return e3.push(c3), l3;
211499
211524
  }
211500
211525
  let l2 = s3 + 1, c2 = new _f(null, e3);
211501
- const p2 = [];
211502
- let d2 = "";
211526
+ const d2 = [];
211527
+ let p2 = "";
211503
211528
  for (; l2 < t3.length; ) {
211504
211529
  const s4 = t3.charAt(l2++);
211505
- if (r3 || "\\" === s4) r3 = !r3, d2 += s4;
211506
- else if (n4) l2 === h2 + 1 ? "^" !== s4 && "!" !== s4 || (a2 = true) : "]" !== s4 || l2 === h2 + 2 && a2 || (n4 = false), d2 += s4;
211530
+ if (r3 || "\\" === s4) r3 = !r3, p2 += s4;
211531
+ else if (n4) l2 === h2 + 1 ? "^" !== s4 && "!" !== s4 || (a2 = true) : "]" !== s4 || l2 === h2 + 2 && a2 || (n4 = false), p2 += s4;
211507
211532
  else if ("[" !== s4) if (o(s4) && "(" === t3.charAt(l2)) {
211508
- c2.push(d2), d2 = "";
211533
+ c2.push(p2), p2 = "";
211509
211534
  const e4 = new _f(s4, c2);
211510
- c2.push(e4), l2 = __privateMethod(_b = _f, _f_static, ut_fn).call(_b, t3, e4, l2, i3);
211535
+ c2.push(e4), l2 = __privateMethod(_b = _f, _f_static, mt_fn).call(_b, t3, e4, l2, i3);
211511
211536
  } else if ("|" !== s4) {
211512
- if (")" === s4) return "" === d2 && 0 === __privateGet(e3, _rt).length && __privateSet(e3, _pt, true), c2.push(d2), d2 = "", e3.push(...p2, c2), l2;
211513
- d2 += s4;
211514
- } else c2.push(d2), d2 = "", p2.push(c2), c2 = new _f(null, e3);
211515
- else n4 = true, h2 = l2, a2 = false, d2 += s4;
211537
+ if (")" === s4) return "" === p2 && 0 === __privateGet(e3, _ht).length && __privateSet(e3, _ft, true), c2.push(p2), p2 = "", e3.push(...d2, c2), l2;
211538
+ p2 += s4;
211539
+ } else c2.push(p2), p2 = "", d2.push(c2), c2 = new _f(null, e3);
211540
+ else n4 = true, h2 = l2, a2 = false, p2 += s4;
211516
211541
  }
211517
- return e3.type = null, __privateSet(e3, _st, void 0), __privateSet(e3, _rt, [t3.substring(s3 - 1)]), l2;
211542
+ return e3.type = null, __privateSet(e3, _nt, void 0), __privateSet(e3, _ht, [t3.substring(s3 - 1)]), l2;
211518
211543
  };
211519
- gt_fn = function(t3) {
211520
- return __privateGet(this, _rt).map((e3) => {
211544
+ wt_fn = function(t3) {
211545
+ return __privateGet(this, _ht).map((e3) => {
211521
211546
  if ("string" == typeof e3) throw new Error("string type in extglob ast??");
211522
211547
  const [s3, i3, r3, n4] = e3.toRegExpSource(t3);
211523
- return __privateSet(this, _it, __privateGet(this, _it) || n4), s3;
211548
+ return __privateSet(this, _ot, __privateGet(this, _ot) || n4), s3;
211524
211549
  }).filter((t4) => !(this.isStart() && this.isEnd() && !t4)).join("|");
211525
211550
  };
211526
- ft_fn = function(t3, e3, s3 = false) {
211551
+ yt_fn = function(t3, e3, s3 = false) {
211527
211552
  let n4 = false, o2 = "", h2 = false;
211528
211553
  for (let r3 = 0; r3 < t3.length; r3++) {
211529
211554
  const a2 = t3.charAt(r3);
@@ -211536,7 +211561,7 @@ var require_glob = __commonJS({
211536
211561
  continue;
211537
211562
  }
211538
211563
  }
211539
- "*" !== a2 ? "?" !== a2 ? o2 += a2.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&") : (o2 += p, e3 = true) : (o2 += s3 && "*" === t3 ? u : d, e3 = true);
211564
+ "*" !== a2 ? "?" !== a2 ? o2 += a2.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&") : (o2 += d, e3 = true) : (o2 += s3 && "*" === t3 ? u : p, e3 = true);
211540
211565
  } else r3 === t3.length - 1 ? o2 += "\\\\" : n4 = true;
211541
211566
  }
211542
211567
  return [o2, (0, r2.unescape)(t3), !!e3, h2];
@@ -211552,34 +211577,34 @@ var require_glob = __commonJS({
211552
211577
  const n3 = e3;
211553
211578
  if ("[" !== t3.charAt(n3)) throw new Error("not in a brace expression");
211554
211579
  const o = [], h = [];
211555
- let a = n3 + 1, l = false, c = false, p = false, d = false, u = n3, f = "";
211580
+ let a = n3 + 1, l = false, c = false, d = false, p = false, u = n3, f = "";
211556
211581
  t: for (; a < t3.length; ) {
211557
211582
  const e4 = t3.charAt(a);
211558
211583
  if ("!" !== e4 && "^" !== e4 || a !== n3 + 1) {
211559
- if ("]" === e4 && l && !p) {
211584
+ if ("]" === e4 && l && !d) {
211560
211585
  u = a + 1;
211561
211586
  break;
211562
211587
  }
211563
- if (l = true, "\\" !== e4 || p) {
211564
- if ("[" === e4 && !p) {
211588
+ if (l = true, "\\" !== e4 || d) {
211589
+ if ("[" === e4 && !d) {
211565
211590
  for (const [e5, [i3, r3, l2]] of Object.entries(s2)) if (t3.startsWith(e5, a)) {
211566
211591
  if (f) return ["$.", false, t3.length - n3, true];
211567
211592
  a += e5.length, l2 ? h.push(i3) : o.push(i3), c = c || r3;
211568
211593
  continue t;
211569
211594
  }
211570
211595
  }
211571
- p = false, f ? (e4 > f ? o.push(i2(f) + "-" + i2(e4)) : e4 === f && o.push(i2(e4)), f = "", a++) : t3.startsWith("-]", a + 1) ? (o.push(i2(e4 + "-")), a += 2) : t3.startsWith("-", a + 1) ? (f = e4, a += 2) : (o.push(i2(e4)), a++);
211572
- } else p = true, a++;
211573
- } else d = true, a++;
211596
+ d = false, f ? (e4 > f ? o.push(i2(f) + "-" + i2(e4)) : e4 === f && o.push(i2(e4)), f = "", a++) : t3.startsWith("-]", a + 1) ? (o.push(i2(e4 + "-")), a += 2) : t3.startsWith("-", a + 1) ? (f = e4, a += 2) : (o.push(i2(e4)), a++);
211597
+ } else d = true, a++;
211598
+ } else p = true, a++;
211574
211599
  }
211575
211600
  if (u < a) return ["", false, 0, false];
211576
211601
  if (!o.length && !h.length) return ["$.", false, t3.length - n3, true];
211577
- if (0 === h.length && 1 === o.length && /^\\?.$/.test(o[0]) && !d) {
211602
+ if (0 === h.length && 1 === o.length && /^\\?.$/.test(o[0]) && !p) {
211578
211603
  const t4 = 2 === o[0].length ? o[0].slice(-1) : o[0];
211579
211604
  return [(g = t4, g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&")), false, u - n3, false];
211580
211605
  }
211581
211606
  var g;
211582
- const m = "[" + (d ? "^" : "") + r2(o) + "]", y = "[" + (d ? "" : "^") + r2(h) + "]";
211607
+ const m = "[" + (p ? "^" : "") + r2(o) + "]", y = "[" + (p ? "" : "^") + r2(h) + "]";
211583
211608
  return [o.length && h.length ? "(" + m + "|" + y + ")" : o.length ? m : y, c, u - n3, true];
211584
211609
  };
211585
211610
  }, 363: (t2, e2) => {
@@ -211594,7 +211619,7 @@ var require_glob = __commonJS({
211594
211619
  Object.defineProperty(e2, "__esModule", { value: true }), e2.unescape = e2.escape = e2.AST = e2.Minimatch = e2.match = e2.makeRe = e2.braceExpand = e2.defaults = e2.filter = e2.GLOBSTAR = e2.sep = e2.minimatch = void 0;
211595
211620
  const r2 = i2(s2(928)), n3 = s2(274), o = s2(674), h = s2(363), a = s2(116);
211596
211621
  e2.minimatch = (t3, e3, s3 = {}) => ((0, n3.assertValidPattern)(e3), !(!s3.nocomment && "#" === e3.charAt(0)) && new _(e3, s3).match(t3));
211597
- const l = /^\*+([^+@!?\*\[\(]*)$/, c = (t3) => (e3) => !e3.startsWith(".") && e3.endsWith(t3), p = (t3) => (e3) => e3.endsWith(t3), d = (t3) => (t3 = t3.toLowerCase(), (e3) => !e3.startsWith(".") && e3.toLowerCase().endsWith(t3)), u = (t3) => (t3 = t3.toLowerCase(), (e3) => e3.toLowerCase().endsWith(t3)), f = /^\*+\.\*+$/, g = (t3) => !t3.startsWith(".") && t3.includes("."), m = (t3) => "." !== t3 && ".." !== t3 && t3.includes("."), y = /^\.\*+$/, w = (t3) => "." !== t3 && ".." !== t3 && t3.startsWith("."), b = /^\*+$/, v = (t3) => 0 !== t3.length && !t3.startsWith("."), S = (t3) => 0 !== t3.length && "." !== t3 && ".." !== t3, k = /^\?+([^+@!?\*\[\(]*)?$/, x = ([t3, e3 = ""]) => {
211622
+ const l = /^\*+([^+@!?\*\[\(]*)$/, c = (t3) => (e3) => !e3.startsWith(".") && e3.endsWith(t3), d = (t3) => (e3) => e3.endsWith(t3), p = (t3) => (t3 = t3.toLowerCase(), (e3) => !e3.startsWith(".") && e3.toLowerCase().endsWith(t3)), u = (t3) => (t3 = t3.toLowerCase(), (e3) => e3.toLowerCase().endsWith(t3)), f = /^\*+\.\*+$/, g = (t3) => !t3.startsWith(".") && t3.includes("."), m = (t3) => "." !== t3 && ".." !== t3 && t3.includes("."), y = /^\.\*+$/, w = (t3) => "." !== t3 && ".." !== t3 && t3.startsWith("."), b = /^\*+$/, v = (t3) => 0 !== t3.length && !t3.startsWith("."), S = (t3) => 0 !== t3.length && "." !== t3 && ".." !== t3, k = /^\?+([^+@!?\*\[\(]*)?$/, x = ([t3, e3 = ""]) => {
211598
211623
  const s3 = C2([t3]);
211599
211624
  return e3 ? (e3 = e3.toLowerCase(), (t4) => s3(t4) && t4.toLowerCase().endsWith(e3)) : s3;
211600
211625
  }, E = ([t3, e3 = ""]) => {
@@ -211812,28 +211837,28 @@ var require_glob = __commonJS({
211812
211837
  n4 >= 2 && (t3 = this.levelTwoFileOptimize(t3)), this.debug("matchOne", this, { file: t3, pattern: s3 }), this.debug("matchOne", t3.length, s3.length);
211813
211838
  for (var o2 = 0, h2 = 0, a2 = t3.length, l2 = s3.length; o2 < a2 && h2 < l2; o2++, h2++) {
211814
211839
  this.debug("matchOne loop");
211815
- var c2 = s3[h2], p2 = t3[o2];
211816
- if (this.debug(s3, c2, p2), false === c2) return false;
211840
+ var c2 = s3[h2], d2 = t3[o2];
211841
+ if (this.debug(s3, c2, d2), false === c2) return false;
211817
211842
  if (c2 === e2.GLOBSTAR) {
211818
- this.debug("GLOBSTAR", [s3, c2, p2]);
211819
- var d2 = o2, u2 = h2 + 1;
211843
+ this.debug("GLOBSTAR", [s3, c2, d2]);
211844
+ var p2 = o2, u2 = h2 + 1;
211820
211845
  if (u2 === l2) {
211821
211846
  for (this.debug("** at the end"); o2 < a2; o2++) if ("." === t3[o2] || ".." === t3[o2] || !r3.dot && "." === t3[o2].charAt(0)) return false;
211822
211847
  return true;
211823
211848
  }
211824
- for (; d2 < a2; ) {
211825
- var f2 = t3[d2];
211826
- if (this.debug("\nglobstar while", t3, d2, s3, u2, f2), this.matchOne(t3.slice(d2), s3.slice(u2), i3)) return this.debug("globstar found match!", d2, a2, f2), true;
211849
+ for (; p2 < a2; ) {
211850
+ var f2 = t3[p2];
211851
+ if (this.debug("\nglobstar while", t3, p2, s3, u2, f2), this.matchOne(t3.slice(p2), s3.slice(u2), i3)) return this.debug("globstar found match!", p2, a2, f2), true;
211827
211852
  if ("." === f2 || ".." === f2 || !r3.dot && "." === f2.charAt(0)) {
211828
- this.debug("dot detected!", t3, d2, s3, u2);
211853
+ this.debug("dot detected!", t3, p2, s3, u2);
211829
211854
  break;
211830
211855
  }
211831
- this.debug("globstar swallow a segment, and continue"), d2++;
211856
+ this.debug("globstar swallow a segment, and continue"), p2++;
211832
211857
  }
211833
- return !(!i3 || (this.debug("\n>>> no match, partial?", t3, d2, s3, u2), d2 !== a2));
211858
+ return !(!i3 || (this.debug("\n>>> no match, partial?", t3, p2, s3, u2), p2 !== a2));
211834
211859
  }
211835
211860
  let n5;
211836
- if ("string" == typeof c2 ? (n5 = p2 === c2, this.debug("string match", c2, p2, n5)) : (n5 = c2.test(p2), this.debug("pattern match", c2, p2, n5)), !n5) return false;
211861
+ if ("string" == typeof c2 ? (n5 = d2 === c2, this.debug("string match", c2, d2, n5)) : (n5 = c2.test(d2), this.debug("pattern match", c2, d2, n5)), !n5) return false;
211837
211862
  }
211838
211863
  if (o2 === a2 && h2 === l2) return true;
211839
211864
  if (o2 === a2) return i3;
@@ -211849,7 +211874,7 @@ var require_glob = __commonJS({
211849
211874
  if ("**" === t3) return e2.GLOBSTAR;
211850
211875
  if ("" === t3) return "";
211851
211876
  let i3, r3 = null;
211852
- (i3 = t3.match(b)) ? r3 = s3.dot ? S : v : (i3 = t3.match(l)) ? r3 = (s3.nocase ? s3.dot ? u : d : s3.dot ? p : c)(i3[1]) : (i3 = t3.match(k)) ? r3 = (s3.nocase ? s3.dot ? E : x : s3.dot ? L : T)(i3) : (i3 = t3.match(f)) ? r3 = s3.dot ? m : g : (i3 = t3.match(y)) && (r3 = w);
211877
+ (i3 = t3.match(b)) ? r3 = s3.dot ? S : v : (i3 = t3.match(l)) ? r3 = (s3.nocase ? s3.dot ? u : p : s3.dot ? d : c)(i3[1]) : (i3 = t3.match(k)) ? r3 = (s3.nocase ? s3.dot ? E : x : s3.dot ? L : T)(i3) : (i3 = t3.match(f)) ? r3 = s3.dot ? m : g : (i3 = t3.match(y)) && (r3 = w);
211853
211878
  const h2 = o.AST.fromGlob(t3, this.options).toMMPattern();
211854
211879
  return r3 && "object" == typeof h2 && Reflect.defineProperty(h2, "test", { value: r3 }), h2;
211855
211880
  }
@@ -211931,7 +211956,7 @@ var require_glob = __commonJS({
211931
211956
  e2.isStream = (t3) => !!t3 && "object" == typeof t3 && (t3 instanceof U || t3 instanceof o.default || (0, e2.isReadable)(t3) || (0, e2.isWritable)(t3));
211932
211957
  e2.isReadable = (t3) => !!t3 && "object" == typeof t3 && t3 instanceof n3.EventEmitter && "function" == typeof t3.pipe && t3.pipe !== o.default.Writable.prototype.pipe;
211933
211958
  e2.isWritable = (t3) => !!t3 && "object" == typeof t3 && t3 instanceof n3.EventEmitter && "function" == typeof t3.write && "function" == typeof t3.end;
211934
- const a = Symbol("EOF"), l = Symbol("maybeEmitEnd"), c = Symbol("emittedEnd"), p = Symbol("emittingEnd"), d = Symbol("emittedError"), u = Symbol("closed"), f = Symbol("read"), g = Symbol("flush"), m = Symbol("flushChunk"), y = Symbol("encoding"), w = Symbol("decoder"), b = Symbol("flowing"), v = Symbol("paused"), S = Symbol("resume"), k = Symbol("buffer"), x = Symbol("pipes"), E = Symbol("bufferLength"), L = Symbol("bufferPush"), T = Symbol("bufferShift"), C2 = Symbol("objectMode"), M = Symbol("destroyed"), A = Symbol("error"), O2 = Symbol("emitData"), P = Symbol("emitEnd"), R = Symbol("emitEnd2"), F = Symbol("async"), _ = Symbol("abort"), z = Symbol("aborted"), D = Symbol("signal"), j = Symbol("dataListeners"), B = Symbol("discarded"), N = (t3) => Promise.resolve().then(t3), W = (t3) => t3();
211959
+ const a = Symbol("EOF"), l = Symbol("maybeEmitEnd"), c = Symbol("emittedEnd"), d = Symbol("emittingEnd"), p = Symbol("emittedError"), u = Symbol("closed"), f = Symbol("read"), g = Symbol("flush"), m = Symbol("flushChunk"), y = Symbol("encoding"), w = Symbol("decoder"), b = Symbol("flowing"), v = Symbol("paused"), S = Symbol("resume"), k = Symbol("buffer"), x = Symbol("pipes"), E = Symbol("bufferLength"), L = Symbol("bufferPush"), T = Symbol("bufferShift"), C2 = Symbol("objectMode"), M = Symbol("destroyed"), A = Symbol("error"), O2 = Symbol("emitData"), P = Symbol("emitEnd"), R = Symbol("emitEnd2"), F = Symbol("async"), _ = Symbol("abort"), z = Symbol("aborted"), D = Symbol("signal"), j = Symbol("dataListeners"), B = Symbol("discarded"), N = (t3) => Promise.resolve().then(t3), W = (t3) => t3();
211935
211960
  class I {
211936
211961
  src;
211937
211962
  dest;
@@ -211968,9 +211993,9 @@ var require_glob = __commonJS({
211968
211993
  [w];
211969
211994
  [a] = false;
211970
211995
  [c] = false;
211971
- [p] = false;
211996
+ [d] = false;
211972
211997
  [u] = false;
211973
- [d] = null;
211998
+ [p] = null;
211974
211999
  [E] = 0;
211975
212000
  [M] = false;
211976
212001
  [D];
@@ -212102,9 +212127,9 @@ var require_glob = __commonJS({
212102
212127
  if ("data" === t3) this[B] = false, this[j]++, this[x].length || this[b] || this[S]();
212103
212128
  else if ("readable" === t3 && 0 !== this[E]) super.emit("readable");
212104
212129
  else if (/* @__PURE__ */ ((t4) => "end" === t4 || "finish" === t4 || "prefinish" === t4)(t3) && this[c]) super.emit(t3), this.removeAllListeners(t3);
212105
- else if ("error" === t3 && this[d]) {
212130
+ else if ("error" === t3 && this[p]) {
212106
212131
  const t4 = e3;
212107
- this[F] ? N(() => t4.call(this, this[d])) : t4.call(this, this[d]);
212132
+ this[F] ? N(() => t4.call(this, this[p])) : t4.call(this, this[p]);
212108
212133
  }
212109
212134
  return s3;
212110
212135
  }
@@ -212123,7 +212148,7 @@ var require_glob = __commonJS({
212123
212148
  return this[c];
212124
212149
  }
212125
212150
  [l]() {
212126
- this[p] || this[c] || this[M] || 0 !== this[k].length || !this[a] || (this[p] = true, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[u] && this.emit("close"), this[p] = false);
212151
+ this[d] || this[c] || this[M] || 0 !== this[k].length || !this[a] || (this[d] = true, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[u] && this.emit("close"), this[d] = false);
212127
212152
  }
212128
212153
  emit(t3, ...e3) {
212129
212154
  const s3 = e3[0];
@@ -212136,7 +212161,7 @@ var require_glob = __commonJS({
212136
212161
  return this.removeAllListeners("close"), t4;
212137
212162
  }
212138
212163
  if ("error" === t3) {
212139
- this[d] = s3, super.emit(A, s3);
212164
+ this[p] = s3, super.emit(A, s3);
212140
212165
  const t4 = !(this[D] && !this.listeners("error").length) && super.emit("error", s3);
212141
212166
  return this[l](), t4;
212142
212167
  }
@@ -212237,7 +212262,7 @@ var require_glob = __commonJS({
212237
212262
  e2.Minipass = U;
212238
212263
  }, 576: function(t2, e2, s2) {
212239
212264
  "use strict";
212240
- var _mt, _yt, _wt, _bt, _vt, _St, _kt, _xt, _Et, _S, _Lt, _Tt, _Ct, _Mt, _At, _Ot, _Pt, _Rt, _Ft, __t, _zt, _Dt, _jt, _Bt, _Nt, _Wt, _It, _Gt, _Ut, _R_instances, $t_fn, Ht_fn, Vt_fn, Zt_fn, Jt_fn, Kt_fn, Yt_fn, Xt_fn, qt_fn, Qt_fn, ee_fn, te_fn, se_fn, ie_fn, _re, _ne, oe_fn, _he, _ae, _le, _It2, _mt2;
212265
+ var _bt, _vt, _St, _kt, _xt, _Et, _Lt, _Tt, _Ct, _k, _Mt, _At, _Ot, _Pt, _Rt, _Ft, __t, _zt, _Dt, _jt, _Bt, _Nt, _Wt, _It, _Gt, _Ut, _$t, _qt, _Ht, _R_instances, Vt_fn, Jt_fn, Kt_fn, Yt_fn, Xt_fn, Qt_fn, te_fn, ee_fn, Zt_fn, se_fn, re_fn, ie_fn, ne_fn, oe_fn, _he, _ae, le_fn, _ce, _de, _pe, _$t2, _bt2;
212241
212266
  var i2 = this && this.__createBinding || (Object.create ? function(t3, e3, s3, i3) {
212242
212267
  void 0 === i3 && (i3 = s3);
212243
212268
  var r3 = Object.getOwnPropertyDescriptor(e3, s3);
@@ -212257,7 +212282,7 @@ var require_glob = __commonJS({
212257
212282
  return r2(e3, t3), e3;
212258
212283
  };
212259
212284
  Object.defineProperty(e2, "__esModule", { value: true }), e2.PathScurry = e2.Path = e2.PathScurryDarwin = e2.PathScurryPosix = e2.PathScurryWin32 = e2.PathScurryBase = e2.PathPosix = e2.PathWin32 = e2.PathBase = e2.ChildrenCache = e2.ResolveCache = void 0;
212260
- const o = s2(96), h = s2(760), a = s2(136), l = s2(896), c = n3(s2(24)), p = l.realpathSync.native, d = s2(455), u = s2(420), f = { lstatSync: l.lstatSync, readdir: l.readdir, readdirSync: l.readdirSync, readlinkSync: l.readlinkSync, realpathSync: p, promises: { lstat: d.lstat, readdir: d.readdir, readlink: d.readlink, realpath: d.realpath } }, g = (t3) => t3 && t3 !== f && t3 !== c ? { ...f, ...t3, promises: { ...f.promises, ...t3.promises || {} } } : f, m = /^\\\\\?\\([a-z]:)\\?$/i, y = /[\\\/]/, w = 10, b = 15, v = -16, S = 128, k = 256, x = 512, E = (t3) => t3.isFile() ? 8 : t3.isDirectory() ? 4 : t3.isSymbolicLink() ? w : t3.isCharacterDevice() ? 2 : t3.isBlockDevice() ? 6 : t3.isSocket() ? 12 : t3.isFIFO() ? 1 : 0, L = /* @__PURE__ */ new Map(), T = (t3) => {
212285
+ const o = s2(96), h = s2(760), a = s2(136), l = s2(896), c = n3(s2(24)), d = l.realpathSync.native, p = s2(455), u = s2(420), f = { lstatSync: l.lstatSync, readdir: l.readdir, readdirSync: l.readdirSync, readlinkSync: l.readlinkSync, realpathSync: d, promises: { lstat: p.lstat, readdir: p.readdir, readlink: p.readlink, realpath: p.realpath } }, g = (t3) => t3 && t3 !== f && t3 !== c ? { ...f, ...t3, promises: { ...f.promises, ...t3.promises || {} } } : f, m = /^\\\\\?\\([a-z]:)\\?$/i, y = /[\\\/]/, w = 10, b = 15, v = -16, S = 128, k = 256, x = 512, E = (t3) => t3.isFile() ? 8 : t3.isDirectory() ? 4 : t3.isSymbolicLink() ? w : t3.isCharacterDevice() ? 2 : t3.isBlockDevice() ? 6 : t3.isSocket() ? 12 : t3.isFIFO() ? 1 : 0, L = /* @__PURE__ */ new Map(), T = (t3) => {
212261
212286
  const e3 = L.get(t3);
212262
212287
  if (e3) return e3;
212263
212288
  const s3 = t3.normalize("NFKD");
@@ -212290,19 +212315,16 @@ var require_glob = __commonJS({
212290
212315
  __publicField(this, "parent");
212291
212316
  __publicField(this, "nocase");
212292
212317
  __publicField(this, "isCWD", false);
212293
- __privateAdd(this, _mt);
212294
- __privateAdd(this, _yt);
212295
- __privateAdd(this, _wt);
212296
212318
  __privateAdd(this, _bt);
212297
212319
  __privateAdd(this, _vt);
212298
212320
  __privateAdd(this, _St);
212299
212321
  __privateAdd(this, _kt);
212300
212322
  __privateAdd(this, _xt);
212301
212323
  __privateAdd(this, _Et);
212302
- __privateAdd(this, _S);
212303
212324
  __privateAdd(this, _Lt);
212304
212325
  __privateAdd(this, _Tt);
212305
212326
  __privateAdd(this, _Ct);
212327
+ __privateAdd(this, _k);
212306
212328
  __privateAdd(this, _Mt);
212307
212329
  __privateAdd(this, _At);
212308
212330
  __privateAdd(this, _Ot);
@@ -212319,64 +212341,67 @@ var require_glob = __commonJS({
212319
212341
  __privateAdd(this, _It);
212320
212342
  __privateAdd(this, _Gt);
212321
212343
  __privateAdd(this, _Ut);
212322
- __privateAdd(this, _re, []);
212323
- __privateAdd(this, _ne, false);
212324
- __privateAdd(this, _he);
212325
- this.name = t3, __privateSet(this, __t, r3 ? M(t3) : T(t3)), __privateSet(this, _Wt, 1023 & e3), this.nocase = r3, this.roots = i3, this.root = s3 || this, __privateSet(this, _It, n4), __privateSet(this, _Dt, o2.fullpath), __privateSet(this, _Bt, o2.relative), __privateSet(this, _Nt, o2.relativePosix), this.parent = o2.parent, this.parent ? __privateSet(this, _mt, __privateGet(this.parent, _mt)) : __privateSet(this, _mt, g(o2.fs));
212344
+ __privateAdd(this, _$t);
212345
+ __privateAdd(this, _qt);
212346
+ __privateAdd(this, _Ht);
212347
+ __privateAdd(this, _he, []);
212348
+ __privateAdd(this, _ae, false);
212349
+ __privateAdd(this, _ce);
212350
+ this.name = t3, __privateSet(this, _jt, r3 ? M(t3) : T(t3)), __privateSet(this, _Ut, 1023 & e3), this.nocase = r3, this.roots = i3, this.root = s3 || this, __privateSet(this, _$t, n4), __privateSet(this, _Nt, o2.fullpath), __privateSet(this, _It, o2.relative), __privateSet(this, _Gt, o2.relativePosix), this.parent = o2.parent, this.parent ? __privateSet(this, _bt, __privateGet(this.parent, _bt)) : __privateSet(this, _bt, g(o2.fs));
212326
212351
  }
212327
212352
  get dev() {
212328
- return __privateGet(this, _yt);
212353
+ return __privateGet(this, _vt);
212329
212354
  }
212330
212355
  get mode() {
212331
- return __privateGet(this, _wt);
212356
+ return __privateGet(this, _St);
212332
212357
  }
212333
212358
  get nlink() {
212334
- return __privateGet(this, _bt);
212359
+ return __privateGet(this, _kt);
212335
212360
  }
212336
212361
  get uid() {
212337
- return __privateGet(this, _vt);
212362
+ return __privateGet(this, _xt);
212338
212363
  }
212339
212364
  get gid() {
212340
- return __privateGet(this, _St);
212365
+ return __privateGet(this, _Et);
212341
212366
  }
212342
212367
  get rdev() {
212343
- return __privateGet(this, _kt);
212368
+ return __privateGet(this, _Lt);
212344
212369
  }
212345
212370
  get blksize() {
212346
- return __privateGet(this, _xt);
212371
+ return __privateGet(this, _Tt);
212347
212372
  }
212348
212373
  get ino() {
212349
- return __privateGet(this, _Et);
212374
+ return __privateGet(this, _Ct);
212350
212375
  }
212351
212376
  get size() {
212352
- return __privateGet(this, _S);
212377
+ return __privateGet(this, _k);
212353
212378
  }
212354
212379
  get blocks() {
212355
- return __privateGet(this, _Lt);
212380
+ return __privateGet(this, _Mt);
212356
212381
  }
212357
212382
  get atimeMs() {
212358
- return __privateGet(this, _Tt);
212383
+ return __privateGet(this, _At);
212359
212384
  }
212360
212385
  get mtimeMs() {
212361
- return __privateGet(this, _Ct);
212386
+ return __privateGet(this, _Ot);
212362
212387
  }
212363
212388
  get ctimeMs() {
212364
- return __privateGet(this, _Mt);
212389
+ return __privateGet(this, _Pt);
212365
212390
  }
212366
212391
  get birthtimeMs() {
212367
- return __privateGet(this, _At);
212392
+ return __privateGet(this, _Rt);
212368
212393
  }
212369
212394
  get atime() {
212370
- return __privateGet(this, _Ot);
212395
+ return __privateGet(this, _Ft);
212371
212396
  }
212372
212397
  get mtime() {
212373
- return __privateGet(this, _Pt);
212398
+ return __privateGet(this, __t);
212374
212399
  }
212375
212400
  get ctime() {
212376
- return __privateGet(this, _Rt);
212401
+ return __privateGet(this, _zt);
212377
212402
  }
212378
212403
  get birthtime() {
212379
- return __privateGet(this, _Ft);
212404
+ return __privateGet(this, _Dt);
212380
212405
  }
212381
212406
  get parentPath() {
212382
212407
  return (this.parent || this).fullpath();
@@ -212385,67 +212410,67 @@ var require_glob = __commonJS({
212385
212410
  return this.parentPath;
212386
212411
  }
212387
212412
  depth() {
212388
- return void 0 !== __privateGet(this, _zt) ? __privateGet(this, _zt) : this.parent ? __privateSet(this, _zt, this.parent.depth() + 1) : __privateSet(this, _zt, 0);
212413
+ return void 0 !== __privateGet(this, _Bt) ? __privateGet(this, _Bt) : this.parent ? __privateSet(this, _Bt, this.parent.depth() + 1) : __privateSet(this, _Bt, 0);
212389
212414
  }
212390
212415
  childrenCache() {
212391
- return __privateGet(this, _It);
212416
+ return __privateGet(this, _$t);
212392
212417
  }
212393
212418
  resolve(t3) {
212394
212419
  var _a;
212395
212420
  if (!t3) return this;
212396
212421
  const e3 = this.getRootString(t3), s3 = t3.substring(e3.length).split(this.splitSep);
212397
- return e3 ? __privateMethod(_a = this.getRoot(e3), _R_instances, $t_fn).call(_a, s3) : __privateMethod(this, _R_instances, $t_fn).call(this, s3);
212422
+ return e3 ? __privateMethod(_a = this.getRoot(e3), _R_instances, Vt_fn).call(_a, s3) : __privateMethod(this, _R_instances, Vt_fn).call(this, s3);
212398
212423
  }
212399
212424
  children() {
212400
- const t3 = __privateGet(this, _It).get(this);
212425
+ const t3 = __privateGet(this, _$t).get(this);
212401
212426
  if (t3) return t3;
212402
212427
  const e3 = Object.assign([], { provisional: 0 });
212403
- return __privateGet(this, _It).set(this, e3), __privateSet(this, _Wt, __privateGet(this, _Wt) & -17), e3;
212428
+ return __privateGet(this, _$t).set(this, e3), __privateSet(this, _Ut, __privateGet(this, _Ut) & -17), e3;
212404
212429
  }
212405
212430
  child(t3, e3) {
212406
212431
  if ("" === t3 || "." === t3) return this;
212407
212432
  if (".." === t3) return this.parent || this;
212408
212433
  const s3 = this.children(), i3 = this.nocase ? M(t3) : T(t3);
212409
- for (const t4 of s3) if (__privateGet(t4, __t) === i3) return t4;
212410
- const r3 = this.parent ? this.sep : "", n4 = __privateGet(this, _Dt) ? __privateGet(this, _Dt) + r3 + t3 : void 0, o2 = this.newChild(t3, 0, { ...e3, parent: this, fullpath: n4 });
212411
- return this.canReaddir() || __privateSet(o2, _Wt, __privateGet(o2, _Wt) | S), s3.push(o2), o2;
212434
+ for (const t4 of s3) if (__privateGet(t4, _jt) === i3) return t4;
212435
+ const r3 = this.parent ? this.sep : "", n4 = __privateGet(this, _Nt) ? __privateGet(this, _Nt) + r3 + t3 : void 0, o2 = this.newChild(t3, 0, { ...e3, parent: this, fullpath: n4 });
212436
+ return this.canReaddir() || __privateSet(o2, _Ut, __privateGet(o2, _Ut) | S), s3.push(o2), o2;
212412
212437
  }
212413
212438
  relative() {
212414
212439
  if (this.isCWD) return "";
212415
- if (void 0 !== __privateGet(this, _Bt)) return __privateGet(this, _Bt);
212440
+ if (void 0 !== __privateGet(this, _It)) return __privateGet(this, _It);
212416
212441
  const t3 = this.name, e3 = this.parent;
212417
- if (!e3) return __privateSet(this, _Bt, this.name);
212442
+ if (!e3) return __privateSet(this, _It, this.name);
212418
212443
  const s3 = e3.relative();
212419
212444
  return s3 + (s3 && e3.parent ? this.sep : "") + t3;
212420
212445
  }
212421
212446
  relativePosix() {
212422
212447
  if ("/" === this.sep) return this.relative();
212423
212448
  if (this.isCWD) return "";
212424
- if (void 0 !== __privateGet(this, _Nt)) return __privateGet(this, _Nt);
212449
+ if (void 0 !== __privateGet(this, _Gt)) return __privateGet(this, _Gt);
212425
212450
  const t3 = this.name, e3 = this.parent;
212426
- if (!e3) return __privateSet(this, _Nt, this.fullpathPosix());
212451
+ if (!e3) return __privateSet(this, _Gt, this.fullpathPosix());
212427
212452
  const s3 = e3.relativePosix();
212428
212453
  return s3 + (s3 && e3.parent ? "/" : "") + t3;
212429
212454
  }
212430
212455
  fullpath() {
212431
- if (void 0 !== __privateGet(this, _Dt)) return __privateGet(this, _Dt);
212456
+ if (void 0 !== __privateGet(this, _Nt)) return __privateGet(this, _Nt);
212432
212457
  const t3 = this.name, e3 = this.parent;
212433
- if (!e3) return __privateSet(this, _Dt, this.name);
212458
+ if (!e3) return __privateSet(this, _Nt, this.name);
212434
212459
  const s3 = e3.fullpath() + (e3.parent ? this.sep : "") + t3;
212435
- return __privateSet(this, _Dt, s3);
212460
+ return __privateSet(this, _Nt, s3);
212436
212461
  }
212437
212462
  fullpathPosix() {
212438
- if (void 0 !== __privateGet(this, _jt)) return __privateGet(this, _jt);
212439
- if ("/" === this.sep) return __privateSet(this, _jt, this.fullpath());
212463
+ if (void 0 !== __privateGet(this, _Wt)) return __privateGet(this, _Wt);
212464
+ if ("/" === this.sep) return __privateSet(this, _Wt, this.fullpath());
212440
212465
  if (!this.parent) {
212441
212466
  const t4 = this.fullpath().replace(/\\/g, "/");
212442
- return /^[a-z]:\//i.test(t4) ? __privateSet(this, _jt, `//?/${t4}`) : __privateSet(this, _jt, t4);
212467
+ return /^[a-z]:\//i.test(t4) ? __privateSet(this, _Wt, `//?/${t4}`) : __privateSet(this, _Wt, t4);
212443
212468
  }
212444
212469
  const t3 = this.parent, e3 = t3.fullpathPosix(), s3 = e3 + (e3 && t3.parent ? "/" : "") + this.name;
212445
- return __privateSet(this, _jt, s3);
212470
+ return __privateSet(this, _Wt, s3);
212446
212471
  }
212447
212472
  isUnknown() {
212448
- return !(__privateGet(this, _Wt) & b);
212473
+ return !(__privateGet(this, _Ut) & b);
212449
212474
  }
212450
212475
  isType(t3) {
212451
212476
  return this[`is${t3}`]();
@@ -212454,88 +212479,88 @@ var require_glob = __commonJS({
212454
212479
  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";
212455
212480
  }
212456
212481
  isFile() {
212457
- return 8 == (__privateGet(this, _Wt) & b);
212482
+ return 8 == (__privateGet(this, _Ut) & b);
212458
212483
  }
212459
212484
  isDirectory() {
212460
- return 4 == (__privateGet(this, _Wt) & b);
212485
+ return 4 == (__privateGet(this, _Ut) & b);
212461
212486
  }
212462
212487
  isCharacterDevice() {
212463
- return 2 == (__privateGet(this, _Wt) & b);
212488
+ return 2 == (__privateGet(this, _Ut) & b);
212464
212489
  }
212465
212490
  isBlockDevice() {
212466
- return 6 == (__privateGet(this, _Wt) & b);
212491
+ return 6 == (__privateGet(this, _Ut) & b);
212467
212492
  }
212468
212493
  isFIFO() {
212469
- return 1 == (__privateGet(this, _Wt) & b);
212494
+ return 1 == (__privateGet(this, _Ut) & b);
212470
212495
  }
212471
212496
  isSocket() {
212472
- return 12 == (__privateGet(this, _Wt) & b);
212497
+ return 12 == (__privateGet(this, _Ut) & b);
212473
212498
  }
212474
212499
  isSymbolicLink() {
212475
- return (__privateGet(this, _Wt) & w) === w;
212500
+ return (__privateGet(this, _Ut) & w) === w;
212476
212501
  }
212477
212502
  lstatCached() {
212478
- return 32 & __privateGet(this, _Wt) ? this : void 0;
212503
+ return 32 & __privateGet(this, _Ut) ? this : void 0;
212479
212504
  }
212480
212505
  readlinkCached() {
212481
- return __privateGet(this, _Gt);
212506
+ return __privateGet(this, _qt);
212482
212507
  }
212483
212508
  realpathCached() {
212484
- return __privateGet(this, _Ut);
212509
+ return __privateGet(this, _Ht);
212485
212510
  }
212486
212511
  readdirCached() {
212487
212512
  const t3 = this.children();
212488
212513
  return t3.slice(0, t3.provisional);
212489
212514
  }
212490
212515
  canReadlink() {
212491
- if (__privateGet(this, _Gt)) return true;
212516
+ if (__privateGet(this, _qt)) return true;
212492
212517
  if (!this.parent) return false;
212493
- const t3 = __privateGet(this, _Wt) & b;
212494
- return !(0 !== t3 && t3 !== w || __privateGet(this, _Wt) & k || __privateGet(this, _Wt) & S);
212518
+ const t3 = __privateGet(this, _Ut) & b;
212519
+ return !(0 !== t3 && t3 !== w || __privateGet(this, _Ut) & k || __privateGet(this, _Ut) & S);
212495
212520
  }
212496
212521
  calledReaddir() {
212497
- return !!(16 & __privateGet(this, _Wt));
212522
+ return !!(16 & __privateGet(this, _Ut));
212498
212523
  }
212499
212524
  isENOENT() {
212500
- return !!(__privateGet(this, _Wt) & S);
212525
+ return !!(__privateGet(this, _Ut) & S);
212501
212526
  }
212502
212527
  isNamed(t3) {
212503
- return this.nocase ? __privateGet(this, __t) === M(t3) : __privateGet(this, __t) === T(t3);
212528
+ return this.nocase ? __privateGet(this, _jt) === M(t3) : __privateGet(this, _jt) === T(t3);
212504
212529
  }
212505
212530
  async readlink() {
212506
212531
  var _a;
212507
- const t3 = __privateGet(this, _Gt);
212532
+ const t3 = __privateGet(this, _qt);
212508
212533
  if (t3) return t3;
212509
212534
  if (this.canReadlink() && this.parent) try {
212510
- const t4 = await __privateGet(this, _mt).promises.readlink(this.fullpath()), e3 = (_a = await this.parent.realpath()) == null ? void 0 : _a.resolve(t4);
212511
- if (e3) return __privateSet(this, _Gt, e3);
212535
+ const t4 = await __privateGet(this, _bt).promises.readlink(this.fullpath()), e3 = (_a = await this.parent.realpath()) == null ? void 0 : _a.resolve(t4);
212536
+ if (e3) return __privateSet(this, _qt, e3);
212512
212537
  } catch (t4) {
212513
- return void __privateMethod(this, _R_instances, qt_fn).call(this, t4.code);
212538
+ return void __privateMethod(this, _R_instances, Zt_fn).call(this, t4.code);
212514
212539
  }
212515
212540
  }
212516
212541
  readlinkSync() {
212517
212542
  var _a;
212518
- const t3 = __privateGet(this, _Gt);
212543
+ const t3 = __privateGet(this, _qt);
212519
212544
  if (t3) return t3;
212520
212545
  if (this.canReadlink() && this.parent) try {
212521
- const t4 = __privateGet(this, _mt).readlinkSync(this.fullpath()), e3 = (_a = this.parent.realpathSync()) == null ? void 0 : _a.resolve(t4);
212522
- if (e3) return __privateSet(this, _Gt, e3);
212546
+ const t4 = __privateGet(this, _bt).readlinkSync(this.fullpath()), e3 = (_a = this.parent.realpathSync()) == null ? void 0 : _a.resolve(t4);
212547
+ if (e3) return __privateSet(this, _qt, e3);
212523
212548
  } catch (t4) {
212524
- return void __privateMethod(this, _R_instances, qt_fn).call(this, t4.code);
212549
+ return void __privateMethod(this, _R_instances, Zt_fn).call(this, t4.code);
212525
212550
  }
212526
212551
  }
212527
212552
  async lstat() {
212528
- if (!(__privateGet(this, _Wt) & S)) try {
212529
- return __privateMethod(this, _R_instances, ie_fn).call(this, await __privateGet(this, _mt).promises.lstat(this.fullpath())), this;
212553
+ if (!(__privateGet(this, _Ut) & S)) try {
212554
+ return __privateMethod(this, _R_instances, oe_fn).call(this, await __privateGet(this, _bt).promises.lstat(this.fullpath())), this;
212530
212555
  } catch (t3) {
212531
- __privateMethod(this, _R_instances, Xt_fn).call(this, t3.code);
212556
+ __privateMethod(this, _R_instances, ee_fn).call(this, t3.code);
212532
212557
  }
212533
212558
  }
212534
212559
  lstatSync() {
212535
- if (!(__privateGet(this, _Wt) & S)) try {
212536
- return __privateMethod(this, _R_instances, ie_fn).call(this, __privateGet(this, _mt).lstatSync(this.fullpath())), this;
212560
+ if (!(__privateGet(this, _Ut) & S)) try {
212561
+ return __privateMethod(this, _R_instances, oe_fn).call(this, __privateGet(this, _bt).lstatSync(this.fullpath())), this;
212537
212562
  } catch (t3) {
212538
- __privateMethod(this, _R_instances, Xt_fn).call(this, t3.code);
212563
+ __privateMethod(this, _R_instances, ee_fn).call(this, t3.code);
212539
212564
  }
212540
212565
  }
212541
212566
  readdirCB(t3, e3 = false) {
@@ -212545,16 +212570,16 @@ var require_glob = __commonJS({
212545
212570
  const i4 = s3.slice(0, s3.provisional);
212546
212571
  return void (e3 ? t3(null, i4) : queueMicrotask(() => t3(null, i4)));
212547
212572
  }
212548
- if (__privateGet(this, _re).push(t3), __privateGet(this, _ne)) return;
212549
- __privateSet(this, _ne, true);
212573
+ if (__privateGet(this, _he).push(t3), __privateGet(this, _ae)) return;
212574
+ __privateSet(this, _ae, true);
212550
212575
  const i3 = this.fullpath();
212551
- __privateGet(this, _mt).readdir(i3, { withFileTypes: true }, (t4, e4) => {
212552
- if (t4) __privateMethod(this, _R_instances, Yt_fn).call(this, t4.code), s3.provisional = 0;
212576
+ __privateGet(this, _bt).readdir(i3, { withFileTypes: true }, (t4, e4) => {
212577
+ if (t4) __privateMethod(this, _R_instances, te_fn).call(this, t4.code), s3.provisional = 0;
212553
212578
  else {
212554
- for (const t5 of e4) __privateMethod(this, _R_instances, Qt_fn).call(this, t5, s3);
212555
- __privateMethod(this, _R_instances, Ht_fn).call(this, s3);
212579
+ for (const t5 of e4) __privateMethod(this, _R_instances, se_fn).call(this, t5, s3);
212580
+ __privateMethod(this, _R_instances, Jt_fn).call(this, s3);
212556
212581
  }
212557
- __privateMethod(this, _R_instances, oe_fn).call(this, s3.slice(0, s3.provisional));
212582
+ __privateMethod(this, _R_instances, le_fn).call(this, s3.slice(0, s3.provisional));
212558
212583
  });
212559
212584
  }
212560
212585
  async readdir() {
@@ -212562,18 +212587,18 @@ var require_glob = __commonJS({
212562
212587
  const t3 = this.children();
212563
212588
  if (this.calledReaddir()) return t3.slice(0, t3.provisional);
212564
212589
  const e3 = this.fullpath();
212565
- if (__privateGet(this, _he)) await __privateGet(this, _he);
212590
+ if (__privateGet(this, _ce)) await __privateGet(this, _ce);
212566
212591
  else {
212567
212592
  let s3 = () => {
212568
212593
  };
212569
- __privateSet(this, _he, new Promise((t4) => s3 = t4));
212594
+ __privateSet(this, _ce, new Promise((t4) => s3 = t4));
212570
212595
  try {
212571
- for (const s4 of await __privateGet(this, _mt).promises.readdir(e3, { withFileTypes: true })) __privateMethod(this, _R_instances, Qt_fn).call(this, s4, t3);
212572
- __privateMethod(this, _R_instances, Ht_fn).call(this, t3);
212596
+ for (const s4 of await __privateGet(this, _bt).promises.readdir(e3, { withFileTypes: true })) __privateMethod(this, _R_instances, se_fn).call(this, s4, t3);
212597
+ __privateMethod(this, _R_instances, Jt_fn).call(this, t3);
212573
212598
  } catch (e4) {
212574
- __privateMethod(this, _R_instances, Yt_fn).call(this, e4.code), t3.provisional = 0;
212599
+ __privateMethod(this, _R_instances, te_fn).call(this, e4.code), t3.provisional = 0;
212575
212600
  }
212576
- __privateSet(this, _he, void 0), s3();
212601
+ __privateSet(this, _ce, void 0), s3();
212577
212602
  }
212578
212603
  return t3.slice(0, t3.provisional);
212579
212604
  }
@@ -212583,37 +212608,37 @@ var require_glob = __commonJS({
212583
212608
  if (this.calledReaddir()) return t3.slice(0, t3.provisional);
212584
212609
  const e3 = this.fullpath();
212585
212610
  try {
212586
- for (const s3 of __privateGet(this, _mt).readdirSync(e3, { withFileTypes: true })) __privateMethod(this, _R_instances, Qt_fn).call(this, s3, t3);
212587
- __privateMethod(this, _R_instances, Ht_fn).call(this, t3);
212611
+ for (const s3 of __privateGet(this, _bt).readdirSync(e3, { withFileTypes: true })) __privateMethod(this, _R_instances, se_fn).call(this, s3, t3);
212612
+ __privateMethod(this, _R_instances, Jt_fn).call(this, t3);
212588
212613
  } catch (e4) {
212589
- __privateMethod(this, _R_instances, Yt_fn).call(this, e4.code), t3.provisional = 0;
212614
+ __privateMethod(this, _R_instances, te_fn).call(this, e4.code), t3.provisional = 0;
212590
212615
  }
212591
212616
  return t3.slice(0, t3.provisional);
212592
212617
  }
212593
212618
  canReaddir() {
212594
- if (704 & __privateGet(this, _Wt)) return false;
212595
- const t3 = b & __privateGet(this, _Wt);
212619
+ if (704 & __privateGet(this, _Ut)) return false;
212620
+ const t3 = b & __privateGet(this, _Ut);
212596
212621
  return 0 === t3 || 4 === t3 || t3 === w;
212597
212622
  }
212598
212623
  shouldWalk(t3, e3) {
212599
- return !(4 & ~__privateGet(this, _Wt)) && !(704 & __privateGet(this, _Wt)) && !t3.has(this) && (!e3 || e3(this));
212624
+ return !(4 & ~__privateGet(this, _Ut)) && !(704 & __privateGet(this, _Ut)) && !t3.has(this) && (!e3 || e3(this));
212600
212625
  }
212601
212626
  async realpath() {
212602
- if (__privateGet(this, _Ut)) return __privateGet(this, _Ut);
212603
- if (!(896 & __privateGet(this, _Wt))) try {
212604
- const t3 = await __privateGet(this, _mt).promises.realpath(this.fullpath());
212605
- return __privateSet(this, _Ut, this.resolve(t3));
212627
+ if (__privateGet(this, _Ht)) return __privateGet(this, _Ht);
212628
+ if (!(896 & __privateGet(this, _Ut))) try {
212629
+ const t3 = await __privateGet(this, _bt).promises.realpath(this.fullpath());
212630
+ return __privateSet(this, _Ht, this.resolve(t3));
212606
212631
  } catch (t3) {
212607
- __privateMethod(this, _R_instances, Jt_fn).call(this);
212632
+ __privateMethod(this, _R_instances, Xt_fn).call(this);
212608
212633
  }
212609
212634
  }
212610
212635
  realpathSync() {
212611
- if (__privateGet(this, _Ut)) return __privateGet(this, _Ut);
212612
- if (!(896 & __privateGet(this, _Wt))) try {
212613
- const t3 = __privateGet(this, _mt).realpathSync(this.fullpath());
212614
- return __privateSet(this, _Ut, this.resolve(t3));
212636
+ if (__privateGet(this, _Ht)) return __privateGet(this, _Ht);
212637
+ if (!(896 & __privateGet(this, _Ut))) try {
212638
+ const t3 = __privateGet(this, _bt).realpathSync(this.fullpath());
212639
+ return __privateSet(this, _Ht, this.resolve(t3));
212615
212640
  } catch (t3) {
212616
- __privateMethod(this, _R_instances, Jt_fn).call(this);
212641
+ __privateMethod(this, _R_instances, Xt_fn).call(this);
212617
212642
  }
212618
212643
  }
212619
212644
  [P](t3) {
@@ -212621,23 +212646,20 @@ var require_glob = __commonJS({
212621
212646
  t3.isCWD = false, this.isCWD = true;
212622
212647
  const e3 = /* @__PURE__ */ new Set([]);
212623
212648
  let s3 = [], i3 = this;
212624
- for (; i3 && i3.parent; ) e3.add(i3), __privateSet(i3, _Bt, s3.join(this.sep)), __privateSet(i3, _Nt, s3.join("/")), i3 = i3.parent, s3.push("..");
212625
- for (i3 = t3; i3 && i3.parent && !e3.has(i3); ) __privateSet(i3, _Bt, void 0), __privateSet(i3, _Nt, void 0), i3 = i3.parent;
212649
+ for (; i3 && i3.parent; ) e3.add(i3), __privateSet(i3, _It, s3.join(this.sep)), __privateSet(i3, _Gt, s3.join("/")), i3 = i3.parent, s3.push("..");
212650
+ for (i3 = t3; i3 && i3.parent && !e3.has(i3); ) __privateSet(i3, _It, void 0), __privateSet(i3, _Gt, void 0), i3 = i3.parent;
212626
212651
  }
212627
212652
  }
212628
- _mt = new WeakMap();
212629
- _yt = new WeakMap();
212630
- _wt = new WeakMap();
212631
212653
  _bt = new WeakMap();
212632
212654
  _vt = new WeakMap();
212633
212655
  _St = new WeakMap();
212634
212656
  _kt = new WeakMap();
212635
212657
  _xt = new WeakMap();
212636
212658
  _Et = new WeakMap();
212637
- _S = new WeakMap();
212638
212659
  _Lt = new WeakMap();
212639
212660
  _Tt = new WeakMap();
212640
212661
  _Ct = new WeakMap();
212662
+ _k = new WeakMap();
212641
212663
  _Mt = new WeakMap();
212642
212664
  _At = new WeakMap();
212643
212665
  _Ot = new WeakMap();
@@ -212654,82 +212676,85 @@ var require_glob = __commonJS({
212654
212676
  _It = new WeakMap();
212655
212677
  _Gt = new WeakMap();
212656
212678
  _Ut = new WeakMap();
212679
+ _$t = new WeakMap();
212680
+ _qt = new WeakMap();
212681
+ _Ht = new WeakMap();
212657
212682
  _R_instances = new WeakSet();
212658
- $t_fn = function(t3) {
212683
+ Vt_fn = function(t3) {
212659
212684
  let e3 = this;
212660
212685
  for (const s3 of t3) e3 = e3.child(s3);
212661
212686
  return e3;
212662
212687
  };
212663
- Ht_fn = function(t3) {
212688
+ Jt_fn = function(t3) {
212664
212689
  var _a;
212665
- __privateSet(this, _Wt, __privateGet(this, _Wt) | 16);
212690
+ __privateSet(this, _Ut, __privateGet(this, _Ut) | 16);
212666
212691
  for (let e3 = t3.provisional; e3 < t3.length; e3++) {
212667
212692
  const s3 = t3[e3];
212668
- s3 && __privateMethod(_a = s3, _R_instances, Vt_fn).call(_a);
212693
+ s3 && __privateMethod(_a = s3, _R_instances, Kt_fn).call(_a);
212669
212694
  }
212670
212695
  };
212671
- Vt_fn = function() {
212672
- __privateGet(this, _Wt) & S || (__privateSet(this, _Wt, (__privateGet(this, _Wt) | S) & v), __privateMethod(this, _R_instances, Zt_fn).call(this));
212696
+ Kt_fn = function() {
212697
+ __privateGet(this, _Ut) & S || (__privateSet(this, _Ut, (__privateGet(this, _Ut) | S) & v), __privateMethod(this, _R_instances, Yt_fn).call(this));
212673
212698
  };
212674
- Zt_fn = function() {
212699
+ Yt_fn = function() {
212675
212700
  var _a;
212676
212701
  const t3 = this.children();
212677
212702
  t3.provisional = 0;
212678
- for (const e3 of t3) __privateMethod(_a = e3, _R_instances, Vt_fn).call(_a);
212703
+ for (const e3 of t3) __privateMethod(_a = e3, _R_instances, Kt_fn).call(_a);
212679
212704
  };
212680
- Jt_fn = function() {
212681
- __privateSet(this, _Wt, __privateGet(this, _Wt) | x), __privateMethod(this, _R_instances, Kt_fn).call(this);
212705
+ Xt_fn = function() {
212706
+ __privateSet(this, _Ut, __privateGet(this, _Ut) | x), __privateMethod(this, _R_instances, Qt_fn).call(this);
212682
212707
  };
212683
- Kt_fn = function() {
212684
- if (64 & __privateGet(this, _Wt)) return;
212685
- let t3 = __privateGet(this, _Wt);
212686
- 4 == (t3 & b) && (t3 &= v), __privateSet(this, _Wt, 64 | t3), __privateMethod(this, _R_instances, Zt_fn).call(this);
212708
+ Qt_fn = function() {
212709
+ if (64 & __privateGet(this, _Ut)) return;
212710
+ let t3 = __privateGet(this, _Ut);
212711
+ 4 == (t3 & b) && (t3 &= v), __privateSet(this, _Ut, 64 | t3), __privateMethod(this, _R_instances, Yt_fn).call(this);
212687
212712
  };
212688
- Yt_fn = function(t3 = "") {
212689
- "ENOTDIR" === t3 || "EPERM" === t3 ? __privateMethod(this, _R_instances, Kt_fn).call(this) : "ENOENT" === t3 ? __privateMethod(this, _R_instances, Vt_fn).call(this) : this.children().provisional = 0;
212713
+ te_fn = function(t3 = "") {
212714
+ "ENOTDIR" === t3 || "EPERM" === t3 ? __privateMethod(this, _R_instances, Qt_fn).call(this) : "ENOENT" === t3 ? __privateMethod(this, _R_instances, Kt_fn).call(this) : this.children().provisional = 0;
212690
212715
  };
212691
- Xt_fn = function(t3 = "") {
212716
+ ee_fn = function(t3 = "") {
212692
212717
  var _a;
212693
212718
  if ("ENOTDIR" === t3) {
212694
- __privateMethod(_a = this.parent, _R_instances, Kt_fn).call(_a);
212695
- } else "ENOENT" === t3 && __privateMethod(this, _R_instances, Vt_fn).call(this);
212719
+ __privateMethod(_a = this.parent, _R_instances, Qt_fn).call(_a);
212720
+ } else "ENOENT" === t3 && __privateMethod(this, _R_instances, Kt_fn).call(this);
212696
212721
  };
212697
- qt_fn = function(t3 = "") {
212722
+ Zt_fn = function(t3 = "") {
212698
212723
  var _a;
212699
- let e3 = __privateGet(this, _Wt);
212700
- e3 |= k, "ENOENT" === t3 && (e3 |= S), "EINVAL" !== t3 && "UNKNOWN" !== t3 || (e3 &= v), __privateSet(this, _Wt, e3), "ENOTDIR" === t3 && this.parent && __privateMethod(_a = this.parent, _R_instances, Kt_fn).call(_a);
212724
+ let e3 = __privateGet(this, _Ut);
212725
+ e3 |= k, "ENOENT" === t3 && (e3 |= S), "EINVAL" !== t3 && "UNKNOWN" !== t3 || (e3 &= v), __privateSet(this, _Ut, e3), "ENOTDIR" === t3 && this.parent && __privateMethod(_a = this.parent, _R_instances, Qt_fn).call(_a);
212701
212726
  };
212702
- Qt_fn = function(t3, e3) {
212703
- return __privateMethod(this, _R_instances, te_fn).call(this, t3, e3) || __privateMethod(this, _R_instances, ee_fn).call(this, t3, e3);
212727
+ se_fn = function(t3, e3) {
212728
+ return __privateMethod(this, _R_instances, ie_fn).call(this, t3, e3) || __privateMethod(this, _R_instances, re_fn).call(this, t3, e3);
212704
212729
  };
212705
- ee_fn = function(t3, e3) {
212706
- const s3 = E(t3), i3 = this.newChild(t3.name, s3, { parent: this }), r3 = __privateGet(i3, _Wt) & b;
212707
- return 4 !== r3 && r3 !== w && 0 !== r3 && __privateSet(i3, _Wt, __privateGet(i3, _Wt) | 64), e3.unshift(i3), e3.provisional++, i3;
212730
+ re_fn = function(t3, e3) {
212731
+ const s3 = E(t3), i3 = this.newChild(t3.name, s3, { parent: this }), r3 = __privateGet(i3, _Ut) & b;
212732
+ return 4 !== r3 && r3 !== w && 0 !== r3 && __privateSet(i3, _Ut, __privateGet(i3, _Ut) | 64), e3.unshift(i3), e3.provisional++, i3;
212708
212733
  };
212709
- te_fn = function(t3, e3) {
212734
+ ie_fn = function(t3, e3) {
212710
212735
  for (let s3 = e3.provisional; s3 < e3.length; s3++) {
212711
212736
  const i3 = e3[s3];
212712
- if ((this.nocase ? M(t3.name) : T(t3.name)) === __privateGet(i3, __t)) return __privateMethod(this, _R_instances, se_fn).call(this, t3, i3, s3, e3);
212737
+ if ((this.nocase ? M(t3.name) : T(t3.name)) === __privateGet(i3, _jt)) return __privateMethod(this, _R_instances, ne_fn).call(this, t3, i3, s3, e3);
212713
212738
  }
212714
212739
  };
212715
- se_fn = function(t3, e3, s3, i3) {
212740
+ ne_fn = function(t3, e3, s3, i3) {
212716
212741
  const r3 = e3.name;
212717
- return __privateSet(e3, _Wt, __privateGet(e3, _Wt) & v | E(t3)), r3 !== t3.name && (e3.name = t3.name), s3 !== i3.provisional && (s3 === i3.length - 1 ? i3.pop() : i3.splice(s3, 1), i3.unshift(e3)), i3.provisional++, e3;
212718
- };
212719
- ie_fn = function(t3) {
212720
- const { atime: e3, atimeMs: s3, birthtime: i3, birthtimeMs: r3, blksize: n4, blocks: o2, ctime: h2, ctimeMs: a2, dev: l2, gid: c2, ino: p2, mode: d2, mtime: u2, mtimeMs: f2, nlink: g2, rdev: m2, size: y2, uid: b2 } = t3;
212721
- __privateSet(this, _Ot, e3), __privateSet(this, _Tt, s3), __privateSet(this, _Ft, i3), __privateSet(this, _At, r3), __privateSet(this, _xt, n4), __privateSet(this, _Lt, o2), __privateSet(this, _Rt, h2), __privateSet(this, _Mt, a2), __privateSet(this, _yt, l2), __privateSet(this, _St, c2), __privateSet(this, _Et, p2), __privateSet(this, _wt, d2), __privateSet(this, _Pt, u2), __privateSet(this, _Ct, f2), __privateSet(this, _bt, g2), __privateSet(this, _kt, m2), __privateSet(this, _S, y2), __privateSet(this, _vt, b2);
212722
- const S2 = E(t3);
212723
- __privateSet(this, _Wt, __privateGet(this, _Wt) & v | S2 | 32), 0 !== S2 && 4 !== S2 && S2 !== w && __privateSet(this, _Wt, __privateGet(this, _Wt) | 64);
212742
+ return __privateSet(e3, _Ut, __privateGet(e3, _Ut) & v | E(t3)), r3 !== t3.name && (e3.name = t3.name), s3 !== i3.provisional && (s3 === i3.length - 1 ? i3.pop() : i3.splice(s3, 1), i3.unshift(e3)), i3.provisional++, e3;
212724
212743
  };
212725
- _re = new WeakMap();
212726
- _ne = new WeakMap();
212727
212744
  oe_fn = function(t3) {
212728
- __privateSet(this, _ne, false);
212729
- const e3 = __privateGet(this, _re).slice();
212730
- __privateGet(this, _re).length = 0, e3.forEach((e4) => e4(null, t3));
212745
+ const { atime: e3, atimeMs: s3, birthtime: i3, birthtimeMs: r3, blksize: n4, blocks: o2, ctime: h2, ctimeMs: a2, dev: l2, gid: c2, ino: d2, mode: p2, mtime: u2, mtimeMs: f2, nlink: g2, rdev: m2, size: y2, uid: b2 } = t3;
212746
+ __privateSet(this, _Ft, e3), __privateSet(this, _At, s3), __privateSet(this, _Dt, i3), __privateSet(this, _Rt, r3), __privateSet(this, _Tt, n4), __privateSet(this, _Mt, o2), __privateSet(this, _zt, h2), __privateSet(this, _Pt, a2), __privateSet(this, _vt, l2), __privateSet(this, _Et, c2), __privateSet(this, _Ct, d2), __privateSet(this, _St, p2), __privateSet(this, __t, u2), __privateSet(this, _Ot, f2), __privateSet(this, _kt, g2), __privateSet(this, _Lt, m2), __privateSet(this, _k, y2), __privateSet(this, _xt, b2);
212747
+ const S2 = E(t3);
212748
+ __privateSet(this, _Ut, __privateGet(this, _Ut) & v | S2 | 32), 0 !== S2 && 4 !== S2 && S2 !== w && __privateSet(this, _Ut, __privateGet(this, _Ut) | 64);
212731
212749
  };
212732
212750
  _he = new WeakMap();
212751
+ _ae = new WeakMap();
212752
+ le_fn = function(t3) {
212753
+ __privateSet(this, _ae, false);
212754
+ const e3 = __privateGet(this, _he).slice();
212755
+ __privateGet(this, _he).length = 0, e3.forEach((e4) => e4(null, t3));
212756
+ };
212757
+ _ce = new WeakMap();
212733
212758
  e2.PathBase = R;
212734
212759
  class F extends R {
212735
212760
  sep = "\\";
@@ -212776,23 +212801,23 @@ var require_glob = __commonJS({
212776
212801
  __publicField(this, "rootPath");
212777
212802
  __publicField(this, "roots");
212778
212803
  __publicField(this, "cwd");
212779
- __privateAdd(this, _ae);
212780
- __privateAdd(this, _le);
212781
- __privateAdd(this, _It2);
212804
+ __privateAdd(this, _de);
212805
+ __privateAdd(this, _pe);
212806
+ __privateAdd(this, _$t2);
212782
212807
  __publicField(this, "nocase");
212783
- __privateAdd(this, _mt2);
212784
- __privateSet(this, _mt2, g(n4)), (t3 instanceof URL || t3.startsWith("file://")) && (t3 = (0, a.fileURLToPath)(t3));
212808
+ __privateAdd(this, _bt2);
212809
+ __privateSet(this, _bt2, g(n4)), (t3 instanceof URL || t3.startsWith("file://")) && (t3 = (0, a.fileURLToPath)(t3));
212785
212810
  const o2 = e3.resolve(t3);
212786
- this.roots = /* @__PURE__ */ Object.create(null), this.rootPath = this.parseRootPath(o2), __privateSet(this, _ae, new A()), __privateSet(this, _le, new A()), __privateSet(this, _It2, new O2(r3));
212811
+ this.roots = /* @__PURE__ */ Object.create(null), this.rootPath = this.parseRootPath(o2), __privateSet(this, _de, new A()), __privateSet(this, _pe, new A()), __privateSet(this, _$t2, new O2(r3));
212787
212812
  const h2 = o2.substring(this.rootPath.length).split(s3);
212788
212813
  if (1 !== h2.length || h2[0] || h2.pop(), void 0 === i3) throw new TypeError("must provide nocase setting to PathScurryBase ctor");
212789
- this.nocase = i3, this.root = this.newRoot(__privateGet(this, _mt2)), this.roots[this.rootPath] = this.root;
212814
+ this.nocase = i3, this.root = this.newRoot(__privateGet(this, _bt2)), this.roots[this.rootPath] = this.root;
212790
212815
  let l2 = this.root, c2 = h2.length - 1;
212791
- const p2 = e3.sep;
212792
- let d2 = this.rootPath, u2 = false;
212816
+ const d2 = e3.sep;
212817
+ let p2 = this.rootPath, u2 = false;
212793
212818
  for (const t4 of h2) {
212794
212819
  const e4 = c2--;
212795
- l2 = l2.child(t4, { relative: new Array(e4).fill("..").join(p2), relativePosix: new Array(e4).fill("..").join("/"), fullpath: d2 += (u2 ? "" : p2) + t4 }), u2 = true;
212820
+ l2 = l2.child(t4, { relative: new Array(e4).fill("..").join(d2), relativePosix: new Array(e4).fill("..").join("/"), fullpath: p2 += (u2 ? "" : d2) + t4 }), u2 = true;
212796
212821
  }
212797
212822
  this.cwd = l2;
212798
212823
  }
@@ -212800,7 +212825,7 @@ var require_glob = __commonJS({
212800
212825
  return "string" == typeof t3 && (t3 = this.cwd.resolve(t3)), t3.depth();
212801
212826
  }
212802
212827
  childrenCache() {
212803
- return __privateGet(this, _It2);
212828
+ return __privateGet(this, _$t2);
212804
212829
  }
212805
212830
  resolve(...t3) {
212806
212831
  let e3 = "";
@@ -212808,10 +212833,10 @@ var require_glob = __commonJS({
212808
212833
  const i4 = t3[s4];
212809
212834
  if (i4 && "." !== i4 && (e3 = e3 ? `${i4}/${e3}` : i4, this.isAbsolute(i4))) break;
212810
212835
  }
212811
- const s3 = __privateGet(this, _ae).get(e3);
212836
+ const s3 = __privateGet(this, _de).get(e3);
212812
212837
  if (void 0 !== s3) return s3;
212813
212838
  const i3 = this.cwd.resolve(e3).fullpath();
212814
- return __privateGet(this, _ae).set(e3, i3), i3;
212839
+ return __privateGet(this, _de).set(e3, i3), i3;
212815
212840
  }
212816
212841
  resolvePosix(...t3) {
212817
212842
  let e3 = "";
@@ -212819,10 +212844,10 @@ var require_glob = __commonJS({
212819
212844
  const i4 = t3[s4];
212820
212845
  if (i4 && "." !== i4 && (e3 = e3 ? `${i4}/${e3}` : i4, this.isAbsolute(i4))) break;
212821
212846
  }
212822
- const s3 = __privateGet(this, _le).get(e3);
212847
+ const s3 = __privateGet(this, _pe).get(e3);
212823
212848
  if (void 0 !== s3) return s3;
212824
212849
  const i3 = this.cwd.resolve(e3).fullpathPosix();
212825
- return __privateGet(this, _le).set(e3, i3), i3;
212850
+ return __privateGet(this, _pe).set(e3, i3), i3;
212826
212851
  }
212827
212852
  relative(t3 = this.cwd) {
212828
212853
  return "string" == typeof t3 && (t3 = this.cwd.resolve(t3)), t3.relative();
@@ -212885,10 +212910,10 @@ var require_glob = __commonJS({
212885
212910
  if (t5) return e4(t5);
212886
212911
  let c2 = l3.length;
212887
212912
  if (!c2) return e4();
212888
- const p2 = () => {
212913
+ const d2 = () => {
212889
212914
  0 == --c2 && e4();
212890
212915
  };
212891
- for (const t6 of l3) r3 && !r3(t6) || o2.push(s3 ? t6 : t6.fullpath()), i3 && t6.isSymbolicLink() ? t6.realpath().then((t7) => (t7 == null ? void 0 : t7.isUnknown()) ? t7.lstat() : t7).then((t7) => (t7 == null ? void 0 : t7.shouldWalk(h2, n4)) ? a2(t7, p2) : p2()) : t6.shouldWalk(h2, n4) ? a2(t6, p2) : p2();
212916
+ for (const t6 of l3) r3 && !r3(t6) || o2.push(s3 ? t6 : t6.fullpath()), i3 && t6.isSymbolicLink() ? t6.realpath().then((t7) => (t7 == null ? void 0 : t7.isUnknown()) ? t7.lstat() : t7).then((t7) => (t7 == null ? void 0 : t7.shouldWalk(h2, n4)) ? a2(t7, d2) : d2()) : t6.shouldWalk(h2, n4) ? a2(t6, d2) : d2();
212892
212917
  }, true);
212893
212918
  }, l2 = t3;
212894
212919
  return new Promise((t4, e4) => {
@@ -212956,12 +212981,12 @@ var require_glob = __commonJS({
212956
212981
  const e4 = a2.shift();
212957
212982
  if (!e4) return void (0 === l2 && o2.end());
212958
212983
  l2++, h2.add(e4);
212959
- const p2 = (e5, u2, f2 = false) => {
212984
+ const d2 = (e5, u2, f2 = false) => {
212960
212985
  if (e5) return o2.emit("error", e5);
212961
212986
  if (i3 && !f2) {
212962
212987
  const t5 = [];
212963
212988
  for (const e6 of u2) e6.isSymbolicLink() && t5.push(e6.realpath().then((t6) => (t6 == null ? void 0 : t6.isUnknown()) ? t6.lstat() : t6));
212964
- if (t5.length) return void Promise.all(t5).then(() => p2(null, u2, true));
212989
+ if (t5.length) return void Promise.all(t5).then(() => d2(null, u2, true));
212965
212990
  }
212966
212991
  for (const e6 of u2) !e6 || r3 && !r3(e6) || o2.write(s3 ? e6 : e6.fullpath()) || (t4 = true);
212967
212992
  l2--;
@@ -212969,10 +212994,10 @@ var require_glob = __commonJS({
212969
212994
  const e6 = t5.realpathCached() || t5;
212970
212995
  e6.shouldWalk(h2, n4) && a2.push(e6);
212971
212996
  }
212972
- t4 && !o2.flowing ? o2.once("drain", c2) : d2 || c2();
212997
+ t4 && !o2.flowing ? o2.once("drain", c2) : p2 || c2();
212973
212998
  };
212974
- let d2 = true;
212975
- e4.readdirCB(p2, true), d2 = false;
212999
+ let p2 = true;
213000
+ e4.readdirCB(d2, true), p2 = false;
212976
213001
  }
212977
213002
  };
212978
213003
  return c2(), o2;
@@ -213010,10 +213035,10 @@ var require_glob = __commonJS({
213010
213035
  this.cwd = "string" == typeof t3 ? this.cwd.resolve(t3) : t3, this.cwd[P](e3);
213011
213036
  }
213012
213037
  }
213013
- _ae = new WeakMap();
213014
- _le = new WeakMap();
213015
- _It2 = new WeakMap();
213016
- _mt2 = new WeakMap();
213038
+ _de = new WeakMap();
213039
+ _pe = new WeakMap();
213040
+ _$t2 = new WeakMap();
213041
+ _bt2 = new WeakMap();
213017
213042
  e2.PathScurryBase = z;
213018
213043
  class D extends z {
213019
213044
  sep = "\\";
@@ -214946,7 +214971,9 @@ var require_core = __commonJS({
214946
214971
  "node:readline/promises": ">= 17",
214947
214972
  repl: true,
214948
214973
  "node:repl": [">= 14.18 && < 15", ">= 16"],
214974
+ "node:sea": [">= 20.12 && < 21", ">= 21.7"],
214949
214975
  smalloc: ">= 0.11.5 && < 3",
214976
+ "node:sqlite": [">= 22.13 && < 23", ">= 23.4"],
214950
214977
  _stream_duplex: ">= 0.9.4",
214951
214978
  "node:_stream_duplex": [">= 14.18 && < 15", ">= 16"],
214952
214979
  _stream_transform: ">= 0.9.4",
@@ -214973,6 +215000,8 @@ var require_core = __commonJS({
214973
215000
  "node:sys": [">= 14.18 && < 15", ">= 16"],
214974
215001
  "test/reporters": ">= 19.9 && < 20.2",
214975
215002
  "node:test/reporters": [">= 18.17 && < 19", ">= 19.9", ">= 20"],
215003
+ "test/mock_loader": ">= 22.3 && < 22.7",
215004
+ "node:test/mock_loader": ">= 22.3 && < 22.7",
214976
215005
  "node:test": [">= 16.17 && < 17", ">= 18"],
214977
215006
  timers: true,
214978
215007
  "node:timers": [">= 14.18 && < 15", ">= 16"],
@@ -215468,7 +215497,9 @@ var require_core2 = __commonJS({
215468
215497
  "node:readline/promises": ">= 17",
215469
215498
  repl: true,
215470
215499
  "node:repl": [">= 14.18 && < 15", ">= 16"],
215500
+ "node:sea": [">= 20.12 && < 21", ">= 21.7"],
215471
215501
  smalloc: ">= 0.11.5 && < 3",
215502
+ "node:sqlite": ">= 23.4",
215472
215503
  _stream_duplex: ">= 0.9.4",
215473
215504
  "node:_stream_duplex": [">= 14.18 && < 15", ">= 16"],
215474
215505
  _stream_transform: ">= 0.9.4",
@@ -215495,6 +215526,8 @@ var require_core2 = __commonJS({
215495
215526
  "node:sys": [">= 14.18 && < 15", ">= 16"],
215496
215527
  "test/reporters": ">= 19.9 && < 20.2",
215497
215528
  "node:test/reporters": [">= 18.17 && < 19", ">= 19.9", ">= 20"],
215529
+ "test/mock_loader": ">= 22.3 && < 22.7",
215530
+ "node:test/mock_loader": ">= 22.3 && < 22.7",
215498
215531
  "node:test": [">= 16.17 && < 17", ">= 18"],
215499
215532
  timers: true,
215500
215533
  "node:timers": [">= 14.18 && < 15", ">= 16"],
@@ -217235,9 +217268,9 @@ export {${name} as __module}`;
217235
217268
  }
217236
217269
  });
217237
217270
 
217238
- // node_modules/@rollup/pluginutils/node_modules/picomatch/lib/constants.js
217271
+ // node_modules/picomatch/lib/constants.js
217239
217272
  var require_constants2 = __commonJS({
217240
- "node_modules/@rollup/pluginutils/node_modules/picomatch/lib/constants.js"(exports2, module2) {
217273
+ "node_modules/picomatch/lib/constants.js"(exports2, module2) {
217241
217274
  "use strict";
217242
217275
  var WIN_SLASH = "\\\\/";
217243
217276
  var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
@@ -217433,9 +217466,9 @@ var require_constants2 = __commonJS({
217433
217466
  }
217434
217467
  });
217435
217468
 
217436
- // node_modules/@rollup/pluginutils/node_modules/picomatch/lib/utils.js
217469
+ // node_modules/picomatch/lib/utils.js
217437
217470
  var require_utils2 = __commonJS({
217438
- "node_modules/@rollup/pluginutils/node_modules/picomatch/lib/utils.js"(exports2) {
217471
+ "node_modules/picomatch/lib/utils.js"(exports2) {
217439
217472
  "use strict";
217440
217473
  var {
217441
217474
  REGEX_BACKSLASH,
@@ -217486,22 +217519,1661 @@ var require_utils2 = __commonJS({
217486
217519
  }
217487
217520
  return output;
217488
217521
  };
217489
- exports2.basename = (path6, { windows } = {}) => {
217490
- const segs = path6.split(windows ? /[\\/]/ : "/");
217491
- const last = segs[segs.length - 1];
217492
- if (last === "") {
217493
- return segs[segs.length - 2];
217494
- }
217495
- return last;
217496
- };
217522
+ exports2.basename = (path6, { windows } = {}) => {
217523
+ const segs = path6.split(windows ? /[\\/]/ : "/");
217524
+ const last = segs[segs.length - 1];
217525
+ if (last === "") {
217526
+ return segs[segs.length - 2];
217527
+ }
217528
+ return last;
217529
+ };
217530
+ }
217531
+ });
217532
+
217533
+ // node_modules/picomatch/lib/scan.js
217534
+ var require_scan2 = __commonJS({
217535
+ "node_modules/picomatch/lib/scan.js"(exports2, module2) {
217536
+ "use strict";
217537
+ var utils = require_utils2();
217538
+ var {
217539
+ CHAR_ASTERISK,
217540
+ /* * */
217541
+ CHAR_AT,
217542
+ /* @ */
217543
+ CHAR_BACKWARD_SLASH,
217544
+ /* \ */
217545
+ CHAR_COMMA,
217546
+ /* , */
217547
+ CHAR_DOT,
217548
+ /* . */
217549
+ CHAR_EXCLAMATION_MARK,
217550
+ /* ! */
217551
+ CHAR_FORWARD_SLASH,
217552
+ /* / */
217553
+ CHAR_LEFT_CURLY_BRACE,
217554
+ /* { */
217555
+ CHAR_LEFT_PARENTHESES,
217556
+ /* ( */
217557
+ CHAR_LEFT_SQUARE_BRACKET,
217558
+ /* [ */
217559
+ CHAR_PLUS,
217560
+ /* + */
217561
+ CHAR_QUESTION_MARK,
217562
+ /* ? */
217563
+ CHAR_RIGHT_CURLY_BRACE,
217564
+ /* } */
217565
+ CHAR_RIGHT_PARENTHESES,
217566
+ /* ) */
217567
+ CHAR_RIGHT_SQUARE_BRACKET
217568
+ /* ] */
217569
+ } = require_constants2();
217570
+ var isPathSeparator = (code) => {
217571
+ return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
217572
+ };
217573
+ var depth = (token) => {
217574
+ if (token.isPrefix !== true) {
217575
+ token.depth = token.isGlobstar ? Infinity : 1;
217576
+ }
217577
+ };
217578
+ var scan = (input, options) => {
217579
+ const opts = options || {};
217580
+ const length3 = input.length - 1;
217581
+ const scanToEnd = opts.parts === true || opts.scanToEnd === true;
217582
+ const slashes = [];
217583
+ const tokens = [];
217584
+ const parts = [];
217585
+ let str = input;
217586
+ let index2 = -1;
217587
+ let start = 0;
217588
+ let lastIndex = 0;
217589
+ let isBrace = false;
217590
+ let isBracket = false;
217591
+ let isGlob2 = false;
217592
+ let isExtglob = false;
217593
+ let isGlobstar = false;
217594
+ let braceEscaped = false;
217595
+ let backslashes = false;
217596
+ let negated = false;
217597
+ let negatedExtglob = false;
217598
+ let finished = false;
217599
+ let braces = 0;
217600
+ let prev;
217601
+ let code;
217602
+ let token = { value: "", depth: 0, isGlob: false };
217603
+ const eos = () => index2 >= length3;
217604
+ const peek = () => str.charCodeAt(index2 + 1);
217605
+ const advance3 = () => {
217606
+ prev = code;
217607
+ return str.charCodeAt(++index2);
217608
+ };
217609
+ while (index2 < length3) {
217610
+ code = advance3();
217611
+ let next;
217612
+ if (code === CHAR_BACKWARD_SLASH) {
217613
+ backslashes = token.backslashes = true;
217614
+ code = advance3();
217615
+ if (code === CHAR_LEFT_CURLY_BRACE) {
217616
+ braceEscaped = true;
217617
+ }
217618
+ continue;
217619
+ }
217620
+ if (braceEscaped === true || code === CHAR_LEFT_CURLY_BRACE) {
217621
+ braces++;
217622
+ while (eos() !== true && (code = advance3())) {
217623
+ if (code === CHAR_BACKWARD_SLASH) {
217624
+ backslashes = token.backslashes = true;
217625
+ advance3();
217626
+ continue;
217627
+ }
217628
+ if (code === CHAR_LEFT_CURLY_BRACE) {
217629
+ braces++;
217630
+ continue;
217631
+ }
217632
+ if (braceEscaped !== true && code === CHAR_DOT && (code = advance3()) === CHAR_DOT) {
217633
+ isBrace = token.isBrace = true;
217634
+ isGlob2 = token.isGlob = true;
217635
+ finished = true;
217636
+ if (scanToEnd === true) {
217637
+ continue;
217638
+ }
217639
+ break;
217640
+ }
217641
+ if (braceEscaped !== true && code === CHAR_COMMA) {
217642
+ isBrace = token.isBrace = true;
217643
+ isGlob2 = token.isGlob = true;
217644
+ finished = true;
217645
+ if (scanToEnd === true) {
217646
+ continue;
217647
+ }
217648
+ break;
217649
+ }
217650
+ if (code === CHAR_RIGHT_CURLY_BRACE) {
217651
+ braces--;
217652
+ if (braces === 0) {
217653
+ braceEscaped = false;
217654
+ isBrace = token.isBrace = true;
217655
+ finished = true;
217656
+ break;
217657
+ }
217658
+ }
217659
+ }
217660
+ if (scanToEnd === true) {
217661
+ continue;
217662
+ }
217663
+ break;
217664
+ }
217665
+ if (code === CHAR_FORWARD_SLASH) {
217666
+ slashes.push(index2);
217667
+ tokens.push(token);
217668
+ token = { value: "", depth: 0, isGlob: false };
217669
+ if (finished === true) continue;
217670
+ if (prev === CHAR_DOT && index2 === start + 1) {
217671
+ start += 2;
217672
+ continue;
217673
+ }
217674
+ lastIndex = index2 + 1;
217675
+ continue;
217676
+ }
217677
+ if (opts.noext !== true) {
217678
+ const isExtglobChar = code === CHAR_PLUS || code === CHAR_AT || code === CHAR_ASTERISK || code === CHAR_QUESTION_MARK || code === CHAR_EXCLAMATION_MARK;
217679
+ if (isExtglobChar === true && peek() === CHAR_LEFT_PARENTHESES) {
217680
+ isGlob2 = token.isGlob = true;
217681
+ isExtglob = token.isExtglob = true;
217682
+ finished = true;
217683
+ if (code === CHAR_EXCLAMATION_MARK && index2 === start) {
217684
+ negatedExtglob = true;
217685
+ }
217686
+ if (scanToEnd === true) {
217687
+ while (eos() !== true && (code = advance3())) {
217688
+ if (code === CHAR_BACKWARD_SLASH) {
217689
+ backslashes = token.backslashes = true;
217690
+ code = advance3();
217691
+ continue;
217692
+ }
217693
+ if (code === CHAR_RIGHT_PARENTHESES) {
217694
+ isGlob2 = token.isGlob = true;
217695
+ finished = true;
217696
+ break;
217697
+ }
217698
+ }
217699
+ continue;
217700
+ }
217701
+ break;
217702
+ }
217703
+ }
217704
+ if (code === CHAR_ASTERISK) {
217705
+ if (prev === CHAR_ASTERISK) isGlobstar = token.isGlobstar = true;
217706
+ isGlob2 = token.isGlob = true;
217707
+ finished = true;
217708
+ if (scanToEnd === true) {
217709
+ continue;
217710
+ }
217711
+ break;
217712
+ }
217713
+ if (code === CHAR_QUESTION_MARK) {
217714
+ isGlob2 = token.isGlob = true;
217715
+ finished = true;
217716
+ if (scanToEnd === true) {
217717
+ continue;
217718
+ }
217719
+ break;
217720
+ }
217721
+ if (code === CHAR_LEFT_SQUARE_BRACKET) {
217722
+ while (eos() !== true && (next = advance3())) {
217723
+ if (next === CHAR_BACKWARD_SLASH) {
217724
+ backslashes = token.backslashes = true;
217725
+ advance3();
217726
+ continue;
217727
+ }
217728
+ if (next === CHAR_RIGHT_SQUARE_BRACKET) {
217729
+ isBracket = token.isBracket = true;
217730
+ isGlob2 = token.isGlob = true;
217731
+ finished = true;
217732
+ break;
217733
+ }
217734
+ }
217735
+ if (scanToEnd === true) {
217736
+ continue;
217737
+ }
217738
+ break;
217739
+ }
217740
+ if (opts.nonegate !== true && code === CHAR_EXCLAMATION_MARK && index2 === start) {
217741
+ negated = token.negated = true;
217742
+ start++;
217743
+ continue;
217744
+ }
217745
+ if (opts.noparen !== true && code === CHAR_LEFT_PARENTHESES) {
217746
+ isGlob2 = token.isGlob = true;
217747
+ if (scanToEnd === true) {
217748
+ while (eos() !== true && (code = advance3())) {
217749
+ if (code === CHAR_LEFT_PARENTHESES) {
217750
+ backslashes = token.backslashes = true;
217751
+ code = advance3();
217752
+ continue;
217753
+ }
217754
+ if (code === CHAR_RIGHT_PARENTHESES) {
217755
+ finished = true;
217756
+ break;
217757
+ }
217758
+ }
217759
+ continue;
217760
+ }
217761
+ break;
217762
+ }
217763
+ if (isGlob2 === true) {
217764
+ finished = true;
217765
+ if (scanToEnd === true) {
217766
+ continue;
217767
+ }
217768
+ break;
217769
+ }
217770
+ }
217771
+ if (opts.noext === true) {
217772
+ isExtglob = false;
217773
+ isGlob2 = false;
217774
+ }
217775
+ let base2 = str;
217776
+ let prefix = "";
217777
+ let glob = "";
217778
+ if (start > 0) {
217779
+ prefix = str.slice(0, start);
217780
+ str = str.slice(start);
217781
+ lastIndex -= start;
217782
+ }
217783
+ if (base2 && isGlob2 === true && lastIndex > 0) {
217784
+ base2 = str.slice(0, lastIndex);
217785
+ glob = str.slice(lastIndex);
217786
+ } else if (isGlob2 === true) {
217787
+ base2 = "";
217788
+ glob = str;
217789
+ } else {
217790
+ base2 = str;
217791
+ }
217792
+ if (base2 && base2 !== "" && base2 !== "/" && base2 !== str) {
217793
+ if (isPathSeparator(base2.charCodeAt(base2.length - 1))) {
217794
+ base2 = base2.slice(0, -1);
217795
+ }
217796
+ }
217797
+ if (opts.unescape === true) {
217798
+ if (glob) glob = utils.removeBackslashes(glob);
217799
+ if (base2 && backslashes === true) {
217800
+ base2 = utils.removeBackslashes(base2);
217801
+ }
217802
+ }
217803
+ const state = {
217804
+ prefix,
217805
+ input,
217806
+ start,
217807
+ base: base2,
217808
+ glob,
217809
+ isBrace,
217810
+ isBracket,
217811
+ isGlob: isGlob2,
217812
+ isExtglob,
217813
+ isGlobstar,
217814
+ negated,
217815
+ negatedExtglob
217816
+ };
217817
+ if (opts.tokens === true) {
217818
+ state.maxDepth = 0;
217819
+ if (!isPathSeparator(code)) {
217820
+ tokens.push(token);
217821
+ }
217822
+ state.tokens = tokens;
217823
+ }
217824
+ if (opts.parts === true || opts.tokens === true) {
217825
+ let prevIndex;
217826
+ for (let idx = 0; idx < slashes.length; idx++) {
217827
+ const n3 = prevIndex ? prevIndex + 1 : start;
217828
+ const i = slashes[idx];
217829
+ const value = input.slice(n3, i);
217830
+ if (opts.tokens) {
217831
+ if (idx === 0 && start !== 0) {
217832
+ tokens[idx].isPrefix = true;
217833
+ tokens[idx].value = prefix;
217834
+ } else {
217835
+ tokens[idx].value = value;
217836
+ }
217837
+ depth(tokens[idx]);
217838
+ state.maxDepth += tokens[idx].depth;
217839
+ }
217840
+ if (idx !== 0 || value !== "") {
217841
+ parts.push(value);
217842
+ }
217843
+ prevIndex = i;
217844
+ }
217845
+ if (prevIndex && prevIndex + 1 < input.length) {
217846
+ const value = input.slice(prevIndex + 1);
217847
+ parts.push(value);
217848
+ if (opts.tokens) {
217849
+ tokens[tokens.length - 1].value = value;
217850
+ depth(tokens[tokens.length - 1]);
217851
+ state.maxDepth += tokens[tokens.length - 1].depth;
217852
+ }
217853
+ }
217854
+ state.slashes = slashes;
217855
+ state.parts = parts;
217856
+ }
217857
+ return state;
217858
+ };
217859
+ module2.exports = scan;
217860
+ }
217861
+ });
217862
+
217863
+ // node_modules/picomatch/lib/parse.js
217864
+ var require_parse2 = __commonJS({
217865
+ "node_modules/picomatch/lib/parse.js"(exports2, module2) {
217866
+ "use strict";
217867
+ var constants = require_constants2();
217868
+ var utils = require_utils2();
217869
+ var {
217870
+ MAX_LENGTH,
217871
+ POSIX_REGEX_SOURCE,
217872
+ REGEX_NON_SPECIAL_CHARS,
217873
+ REGEX_SPECIAL_CHARS_BACKREF,
217874
+ REPLACEMENTS
217875
+ } = constants;
217876
+ var expandRange = (args, options) => {
217877
+ if (typeof options.expandRange === "function") {
217878
+ return options.expandRange(...args, options);
217879
+ }
217880
+ args.sort();
217881
+ const value = `[${args.join("-")}]`;
217882
+ try {
217883
+ new RegExp(value);
217884
+ } catch (ex) {
217885
+ return args.map((v) => utils.escapeRegex(v)).join("..");
217886
+ }
217887
+ return value;
217888
+ };
217889
+ var syntaxError = (type, char) => {
217890
+ return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
217891
+ };
217892
+ var parse5 = (input, options) => {
217893
+ if (typeof input !== "string") {
217894
+ throw new TypeError("Expected a string");
217895
+ }
217896
+ input = REPLACEMENTS[input] || input;
217897
+ const opts = { ...options };
217898
+ const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
217899
+ let len = input.length;
217900
+ if (len > max) {
217901
+ throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
217902
+ }
217903
+ const bos = { type: "bos", value: "", output: opts.prepend || "" };
217904
+ const tokens = [bos];
217905
+ const capture = opts.capture ? "" : "?:";
217906
+ const PLATFORM_CHARS = constants.globChars(opts.windows);
217907
+ const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
217908
+ const {
217909
+ DOT_LITERAL,
217910
+ PLUS_LITERAL,
217911
+ SLASH_LITERAL,
217912
+ ONE_CHAR,
217913
+ DOTS_SLASH,
217914
+ NO_DOT,
217915
+ NO_DOT_SLASH,
217916
+ NO_DOTS_SLASH,
217917
+ QMARK,
217918
+ QMARK_NO_DOT,
217919
+ STAR,
217920
+ START_ANCHOR
217921
+ } = PLATFORM_CHARS;
217922
+ const globstar = (opts2) => {
217923
+ return `(${capture}(?:(?!${START_ANCHOR}${opts2.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
217924
+ };
217925
+ const nodot = opts.dot ? "" : NO_DOT;
217926
+ const qmarkNoDot = opts.dot ? QMARK : QMARK_NO_DOT;
217927
+ let star3 = opts.bash === true ? globstar(opts) : STAR;
217928
+ if (opts.capture) {
217929
+ star3 = `(${star3})`;
217930
+ }
217931
+ if (typeof opts.noext === "boolean") {
217932
+ opts.noextglob = opts.noext;
217933
+ }
217934
+ const state = {
217935
+ input,
217936
+ index: -1,
217937
+ start: 0,
217938
+ dot: opts.dot === true,
217939
+ consumed: "",
217940
+ output: "",
217941
+ prefix: "",
217942
+ backtrack: false,
217943
+ negated: false,
217944
+ brackets: 0,
217945
+ braces: 0,
217946
+ parens: 0,
217947
+ quotes: 0,
217948
+ globstar: false,
217949
+ tokens
217950
+ };
217951
+ input = utils.removePrefix(input, state);
217952
+ len = input.length;
217953
+ const extglobs = [];
217954
+ const braces = [];
217955
+ const stack = [];
217956
+ let prev = bos;
217957
+ let value;
217958
+ const eos = () => state.index === len - 1;
217959
+ const peek = state.peek = (n3 = 1) => input[state.index + n3];
217960
+ const advance3 = state.advance = () => input[++state.index] || "";
217961
+ const remaining = () => input.slice(state.index + 1);
217962
+ const consume = (value2 = "", num = 0) => {
217963
+ state.consumed += value2;
217964
+ state.index += num;
217965
+ };
217966
+ const append4 = (token) => {
217967
+ state.output += token.output != null ? token.output : token.value;
217968
+ consume(token.value);
217969
+ };
217970
+ const negate = () => {
217971
+ let count = 1;
217972
+ while (peek() === "!" && (peek(2) !== "(" || peek(3) === "?")) {
217973
+ advance3();
217974
+ state.start++;
217975
+ count++;
217976
+ }
217977
+ if (count % 2 === 0) {
217978
+ return false;
217979
+ }
217980
+ state.negated = true;
217981
+ state.start++;
217982
+ return true;
217983
+ };
217984
+ const increment = (type) => {
217985
+ state[type]++;
217986
+ stack.push(type);
217987
+ };
217988
+ const decrement = (type) => {
217989
+ state[type]--;
217990
+ stack.pop();
217991
+ };
217992
+ const push2 = (tok) => {
217993
+ if (prev.type === "globstar") {
217994
+ const isBrace = state.braces > 0 && (tok.type === "comma" || tok.type === "brace");
217995
+ const isExtglob = tok.extglob === true || extglobs.length && (tok.type === "pipe" || tok.type === "paren");
217996
+ if (tok.type !== "slash" && tok.type !== "paren" && !isBrace && !isExtglob) {
217997
+ state.output = state.output.slice(0, -prev.output.length);
217998
+ prev.type = "star";
217999
+ prev.value = "*";
218000
+ prev.output = star3;
218001
+ state.output += prev.output;
218002
+ }
218003
+ }
218004
+ if (extglobs.length && tok.type !== "paren") {
218005
+ extglobs[extglobs.length - 1].inner += tok.value;
218006
+ }
218007
+ if (tok.value || tok.output) append4(tok);
218008
+ if (prev && prev.type === "text" && tok.type === "text") {
218009
+ prev.output = (prev.output || prev.value) + tok.value;
218010
+ prev.value += tok.value;
218011
+ return;
218012
+ }
218013
+ tok.prev = prev;
218014
+ tokens.push(tok);
218015
+ prev = tok;
218016
+ };
218017
+ const extglobOpen = (type, value2) => {
218018
+ const token = { ...EXTGLOB_CHARS[value2], conditions: 1, inner: "" };
218019
+ token.prev = prev;
218020
+ token.parens = state.parens;
218021
+ token.output = state.output;
218022
+ const output = (opts.capture ? "(" : "") + token.open;
218023
+ increment("parens");
218024
+ push2({ type, value: value2, output: state.output ? "" : ONE_CHAR });
218025
+ push2({ type: "paren", extglob: true, value: advance3(), output });
218026
+ extglobs.push(token);
218027
+ };
218028
+ const extglobClose = (token) => {
218029
+ let output = token.close + (opts.capture ? ")" : "");
218030
+ let rest;
218031
+ if (token.type === "negate") {
218032
+ let extglobStar = star3;
218033
+ if (token.inner && token.inner.length > 1 && token.inner.includes("/")) {
218034
+ extglobStar = globstar(opts);
218035
+ }
218036
+ if (extglobStar !== star3 || eos() || /^\)+$/.test(remaining())) {
218037
+ output = token.close = `)$))${extglobStar}`;
218038
+ }
218039
+ if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
218040
+ const expression = parse5(rest, { ...options, fastpaths: false }).output;
218041
+ output = token.close = `)${expression})${extglobStar})`;
218042
+ }
218043
+ if (token.prev.type === "bos") {
218044
+ state.negatedExtglob = true;
218045
+ }
218046
+ }
218047
+ push2({ type: "paren", extglob: true, value, output });
218048
+ decrement("parens");
218049
+ };
218050
+ if (opts.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(input)) {
218051
+ let backslashes = false;
218052
+ let output = input.replace(REGEX_SPECIAL_CHARS_BACKREF, (m, esc, chars3, first, rest, index2) => {
218053
+ if (first === "\\") {
218054
+ backslashes = true;
218055
+ return m;
218056
+ }
218057
+ if (first === "?") {
218058
+ if (esc) {
218059
+ return esc + first + (rest ? QMARK.repeat(rest.length) : "");
218060
+ }
218061
+ if (index2 === 0) {
218062
+ return qmarkNoDot + (rest ? QMARK.repeat(rest.length) : "");
218063
+ }
218064
+ return QMARK.repeat(chars3.length);
218065
+ }
218066
+ if (first === ".") {
218067
+ return DOT_LITERAL.repeat(chars3.length);
218068
+ }
218069
+ if (first === "*") {
218070
+ if (esc) {
218071
+ return esc + first + (rest ? star3 : "");
218072
+ }
218073
+ return star3;
218074
+ }
218075
+ return esc ? m : `\\${m}`;
218076
+ });
218077
+ if (backslashes === true) {
218078
+ if (opts.unescape === true) {
218079
+ output = output.replace(/\\/g, "");
218080
+ } else {
218081
+ output = output.replace(/\\+/g, (m) => {
218082
+ return m.length % 2 === 0 ? "\\\\" : m ? "\\" : "";
218083
+ });
218084
+ }
218085
+ }
218086
+ if (output === input && opts.contains === true) {
218087
+ state.output = input;
218088
+ return state;
218089
+ }
218090
+ state.output = utils.wrapOutput(output, state, options);
218091
+ return state;
218092
+ }
218093
+ while (!eos()) {
218094
+ value = advance3();
218095
+ if (value === "\0") {
218096
+ continue;
218097
+ }
218098
+ if (value === "\\") {
218099
+ const next = peek();
218100
+ if (next === "/" && opts.bash !== true) {
218101
+ continue;
218102
+ }
218103
+ if (next === "." || next === ";") {
218104
+ continue;
218105
+ }
218106
+ if (!next) {
218107
+ value += "\\";
218108
+ push2({ type: "text", value });
218109
+ continue;
218110
+ }
218111
+ const match2 = /^\\+/.exec(remaining());
218112
+ let slashes = 0;
218113
+ if (match2 && match2[0].length > 2) {
218114
+ slashes = match2[0].length;
218115
+ state.index += slashes;
218116
+ if (slashes % 2 !== 0) {
218117
+ value += "\\";
218118
+ }
218119
+ }
218120
+ if (opts.unescape === true) {
218121
+ value = advance3();
218122
+ } else {
218123
+ value += advance3();
218124
+ }
218125
+ if (state.brackets === 0) {
218126
+ push2({ type: "text", value });
218127
+ continue;
218128
+ }
218129
+ }
218130
+ if (state.brackets > 0 && (value !== "]" || prev.value === "[" || prev.value === "[^")) {
218131
+ if (opts.posix !== false && value === ":") {
218132
+ const inner = prev.value.slice(1);
218133
+ if (inner.includes("[")) {
218134
+ prev.posix = true;
218135
+ if (inner.includes(":")) {
218136
+ const idx = prev.value.lastIndexOf("[");
218137
+ const pre = prev.value.slice(0, idx);
218138
+ const rest2 = prev.value.slice(idx + 2);
218139
+ const posix3 = POSIX_REGEX_SOURCE[rest2];
218140
+ if (posix3) {
218141
+ prev.value = pre + posix3;
218142
+ state.backtrack = true;
218143
+ advance3();
218144
+ if (!bos.output && tokens.indexOf(prev) === 1) {
218145
+ bos.output = ONE_CHAR;
218146
+ }
218147
+ continue;
218148
+ }
218149
+ }
218150
+ }
218151
+ }
218152
+ if (value === "[" && peek() !== ":" || value === "-" && peek() === "]") {
218153
+ value = `\\${value}`;
218154
+ }
218155
+ if (value === "]" && (prev.value === "[" || prev.value === "[^")) {
218156
+ value = `\\${value}`;
218157
+ }
218158
+ if (opts.posix === true && value === "!" && prev.value === "[") {
218159
+ value = "^";
218160
+ }
218161
+ prev.value += value;
218162
+ append4({ value });
218163
+ continue;
218164
+ }
218165
+ if (state.quotes === 1 && value !== '"') {
218166
+ value = utils.escapeRegex(value);
218167
+ prev.value += value;
218168
+ append4({ value });
218169
+ continue;
218170
+ }
218171
+ if (value === '"') {
218172
+ state.quotes = state.quotes === 1 ? 0 : 1;
218173
+ if (opts.keepQuotes === true) {
218174
+ push2({ type: "text", value });
218175
+ }
218176
+ continue;
218177
+ }
218178
+ if (value === "(") {
218179
+ increment("parens");
218180
+ push2({ type: "paren", value });
218181
+ continue;
218182
+ }
218183
+ if (value === ")") {
218184
+ if (state.parens === 0 && opts.strictBrackets === true) {
218185
+ throw new SyntaxError(syntaxError("opening", "("));
218186
+ }
218187
+ const extglob = extglobs[extglobs.length - 1];
218188
+ if (extglob && state.parens === extglob.parens + 1) {
218189
+ extglobClose(extglobs.pop());
218190
+ continue;
218191
+ }
218192
+ push2({ type: "paren", value, output: state.parens ? ")" : "\\)" });
218193
+ decrement("parens");
218194
+ continue;
218195
+ }
218196
+ if (value === "[") {
218197
+ if (opts.nobracket === true || !remaining().includes("]")) {
218198
+ if (opts.nobracket !== true && opts.strictBrackets === true) {
218199
+ throw new SyntaxError(syntaxError("closing", "]"));
218200
+ }
218201
+ value = `\\${value}`;
218202
+ } else {
218203
+ increment("brackets");
218204
+ }
218205
+ push2({ type: "bracket", value });
218206
+ continue;
218207
+ }
218208
+ if (value === "]") {
218209
+ if (opts.nobracket === true || prev && prev.type === "bracket" && prev.value.length === 1) {
218210
+ push2({ type: "text", value, output: `\\${value}` });
218211
+ continue;
218212
+ }
218213
+ if (state.brackets === 0) {
218214
+ if (opts.strictBrackets === true) {
218215
+ throw new SyntaxError(syntaxError("opening", "["));
218216
+ }
218217
+ push2({ type: "text", value, output: `\\${value}` });
218218
+ continue;
218219
+ }
218220
+ decrement("brackets");
218221
+ const prevValue = prev.value.slice(1);
218222
+ if (prev.posix !== true && prevValue[0] === "^" && !prevValue.includes("/")) {
218223
+ value = `/${value}`;
218224
+ }
218225
+ prev.value += value;
218226
+ append4({ value });
218227
+ if (opts.literalBrackets === false || utils.hasRegexChars(prevValue)) {
218228
+ continue;
218229
+ }
218230
+ const escaped = utils.escapeRegex(prev.value);
218231
+ state.output = state.output.slice(0, -prev.value.length);
218232
+ if (opts.literalBrackets === true) {
218233
+ state.output += escaped;
218234
+ prev.value = escaped;
218235
+ continue;
218236
+ }
218237
+ prev.value = `(${capture}${escaped}|${prev.value})`;
218238
+ state.output += prev.value;
218239
+ continue;
218240
+ }
218241
+ if (value === "{" && opts.nobrace !== true) {
218242
+ increment("braces");
218243
+ const open = {
218244
+ type: "brace",
218245
+ value,
218246
+ output: "(",
218247
+ outputIndex: state.output.length,
218248
+ tokensIndex: state.tokens.length
218249
+ };
218250
+ braces.push(open);
218251
+ push2(open);
218252
+ continue;
218253
+ }
218254
+ if (value === "}") {
218255
+ const brace = braces[braces.length - 1];
218256
+ if (opts.nobrace === true || !brace) {
218257
+ push2({ type: "text", value, output: value });
218258
+ continue;
218259
+ }
218260
+ let output = ")";
218261
+ if (brace.dots === true) {
218262
+ const arr = tokens.slice();
218263
+ const range = [];
218264
+ for (let i = arr.length - 1; i >= 0; i--) {
218265
+ tokens.pop();
218266
+ if (arr[i].type === "brace") {
218267
+ break;
218268
+ }
218269
+ if (arr[i].type !== "dots") {
218270
+ range.unshift(arr[i].value);
218271
+ }
218272
+ }
218273
+ output = expandRange(range, opts);
218274
+ state.backtrack = true;
218275
+ }
218276
+ if (brace.comma !== true && brace.dots !== true) {
218277
+ const out = state.output.slice(0, brace.outputIndex);
218278
+ const toks = state.tokens.slice(brace.tokensIndex);
218279
+ brace.value = brace.output = "\\{";
218280
+ value = output = "\\}";
218281
+ state.output = out;
218282
+ for (const t of toks) {
218283
+ state.output += t.output || t.value;
218284
+ }
218285
+ }
218286
+ push2({ type: "brace", value, output });
218287
+ decrement("braces");
218288
+ braces.pop();
218289
+ continue;
218290
+ }
218291
+ if (value === "|") {
218292
+ if (extglobs.length > 0) {
218293
+ extglobs[extglobs.length - 1].conditions++;
218294
+ }
218295
+ push2({ type: "text", value });
218296
+ continue;
218297
+ }
218298
+ if (value === ",") {
218299
+ let output = value;
218300
+ const brace = braces[braces.length - 1];
218301
+ if (brace && stack[stack.length - 1] === "braces") {
218302
+ brace.comma = true;
218303
+ output = "|";
218304
+ }
218305
+ push2({ type: "comma", value, output });
218306
+ continue;
218307
+ }
218308
+ if (value === "/") {
218309
+ if (prev.type === "dot" && state.index === state.start + 1) {
218310
+ state.start = state.index + 1;
218311
+ state.consumed = "";
218312
+ state.output = "";
218313
+ tokens.pop();
218314
+ prev = bos;
218315
+ continue;
218316
+ }
218317
+ push2({ type: "slash", value, output: SLASH_LITERAL });
218318
+ continue;
218319
+ }
218320
+ if (value === ".") {
218321
+ if (state.braces > 0 && prev.type === "dot") {
218322
+ if (prev.value === ".") prev.output = DOT_LITERAL;
218323
+ const brace = braces[braces.length - 1];
218324
+ prev.type = "dots";
218325
+ prev.output += value;
218326
+ prev.value += value;
218327
+ brace.dots = true;
218328
+ continue;
218329
+ }
218330
+ if (state.braces + state.parens === 0 && prev.type !== "bos" && prev.type !== "slash") {
218331
+ push2({ type: "text", value, output: DOT_LITERAL });
218332
+ continue;
218333
+ }
218334
+ push2({ type: "dot", value, output: DOT_LITERAL });
218335
+ continue;
218336
+ }
218337
+ if (value === "?") {
218338
+ const isGroup = prev && prev.value === "(";
218339
+ if (!isGroup && opts.noextglob !== true && peek() === "(" && peek(2) !== "?") {
218340
+ extglobOpen("qmark", value);
218341
+ continue;
218342
+ }
218343
+ if (prev && prev.type === "paren") {
218344
+ const next = peek();
218345
+ let output = value;
218346
+ if (prev.value === "(" && !/[!=<:]/.test(next) || next === "<" && !/<([!=]|\w+>)/.test(remaining())) {
218347
+ output = `\\${value}`;
218348
+ }
218349
+ push2({ type: "text", value, output });
218350
+ continue;
218351
+ }
218352
+ if (opts.dot !== true && (prev.type === "slash" || prev.type === "bos")) {
218353
+ push2({ type: "qmark", value, output: QMARK_NO_DOT });
218354
+ continue;
218355
+ }
218356
+ push2({ type: "qmark", value, output: QMARK });
218357
+ continue;
218358
+ }
218359
+ if (value === "!") {
218360
+ if (opts.noextglob !== true && peek() === "(") {
218361
+ if (peek(2) !== "?" || !/[!=<:]/.test(peek(3))) {
218362
+ extglobOpen("negate", value);
218363
+ continue;
218364
+ }
218365
+ }
218366
+ if (opts.nonegate !== true && state.index === 0) {
218367
+ negate();
218368
+ continue;
218369
+ }
218370
+ }
218371
+ if (value === "+") {
218372
+ if (opts.noextglob !== true && peek() === "(" && peek(2) !== "?") {
218373
+ extglobOpen("plus", value);
218374
+ continue;
218375
+ }
218376
+ if (prev && prev.value === "(" || opts.regex === false) {
218377
+ push2({ type: "plus", value, output: PLUS_LITERAL });
218378
+ continue;
218379
+ }
218380
+ if (prev && (prev.type === "bracket" || prev.type === "paren" || prev.type === "brace") || state.parens > 0) {
218381
+ push2({ type: "plus", value });
218382
+ continue;
218383
+ }
218384
+ push2({ type: "plus", value: PLUS_LITERAL });
218385
+ continue;
218386
+ }
218387
+ if (value === "@") {
218388
+ if (opts.noextglob !== true && peek() === "(" && peek(2) !== "?") {
218389
+ push2({ type: "at", extglob: true, value, output: "" });
218390
+ continue;
218391
+ }
218392
+ push2({ type: "text", value });
218393
+ continue;
218394
+ }
218395
+ if (value !== "*") {
218396
+ if (value === "$" || value === "^") {
218397
+ value = `\\${value}`;
218398
+ }
218399
+ const match2 = REGEX_NON_SPECIAL_CHARS.exec(remaining());
218400
+ if (match2) {
218401
+ value += match2[0];
218402
+ state.index += match2[0].length;
218403
+ }
218404
+ push2({ type: "text", value });
218405
+ continue;
218406
+ }
218407
+ if (prev && (prev.type === "globstar" || prev.star === true)) {
218408
+ prev.type = "star";
218409
+ prev.star = true;
218410
+ prev.value += value;
218411
+ prev.output = star3;
218412
+ state.backtrack = true;
218413
+ state.globstar = true;
218414
+ consume(value);
218415
+ continue;
218416
+ }
218417
+ let rest = remaining();
218418
+ if (opts.noextglob !== true && /^\([^?]/.test(rest)) {
218419
+ extglobOpen("star", value);
218420
+ continue;
218421
+ }
218422
+ if (prev.type === "star") {
218423
+ if (opts.noglobstar === true) {
218424
+ consume(value);
218425
+ continue;
218426
+ }
218427
+ const prior = prev.prev;
218428
+ const before = prior.prev;
218429
+ const isStart = prior.type === "slash" || prior.type === "bos";
218430
+ const afterStar = before && (before.type === "star" || before.type === "globstar");
218431
+ if (opts.bash === true && (!isStart || rest[0] && rest[0] !== "/")) {
218432
+ push2({ type: "star", value, output: "" });
218433
+ continue;
218434
+ }
218435
+ const isBrace = state.braces > 0 && (prior.type === "comma" || prior.type === "brace");
218436
+ const isExtglob = extglobs.length && (prior.type === "pipe" || prior.type === "paren");
218437
+ if (!isStart && prior.type !== "paren" && !isBrace && !isExtglob) {
218438
+ push2({ type: "star", value, output: "" });
218439
+ continue;
218440
+ }
218441
+ while (rest.slice(0, 3) === "/**") {
218442
+ const after = input[state.index + 4];
218443
+ if (after && after !== "/") {
218444
+ break;
218445
+ }
218446
+ rest = rest.slice(3);
218447
+ consume("/**", 3);
218448
+ }
218449
+ if (prior.type === "bos" && eos()) {
218450
+ prev.type = "globstar";
218451
+ prev.value += value;
218452
+ prev.output = globstar(opts);
218453
+ state.output = prev.output;
218454
+ state.globstar = true;
218455
+ consume(value);
218456
+ continue;
218457
+ }
218458
+ if (prior.type === "slash" && prior.prev.type !== "bos" && !afterStar && eos()) {
218459
+ state.output = state.output.slice(0, -(prior.output + prev.output).length);
218460
+ prior.output = `(?:${prior.output}`;
218461
+ prev.type = "globstar";
218462
+ prev.output = globstar(opts) + (opts.strictSlashes ? ")" : "|$)");
218463
+ prev.value += value;
218464
+ state.globstar = true;
218465
+ state.output += prior.output + prev.output;
218466
+ consume(value);
218467
+ continue;
218468
+ }
218469
+ if (prior.type === "slash" && prior.prev.type !== "bos" && rest[0] === "/") {
218470
+ const end = rest[1] !== void 0 ? "|$" : "";
218471
+ state.output = state.output.slice(0, -(prior.output + prev.output).length);
218472
+ prior.output = `(?:${prior.output}`;
218473
+ prev.type = "globstar";
218474
+ prev.output = `${globstar(opts)}${SLASH_LITERAL}|${SLASH_LITERAL}${end})`;
218475
+ prev.value += value;
218476
+ state.output += prior.output + prev.output;
218477
+ state.globstar = true;
218478
+ consume(value + advance3());
218479
+ push2({ type: "slash", value: "/", output: "" });
218480
+ continue;
218481
+ }
218482
+ if (prior.type === "bos" && rest[0] === "/") {
218483
+ prev.type = "globstar";
218484
+ prev.value += value;
218485
+ prev.output = `(?:^|${SLASH_LITERAL}|${globstar(opts)}${SLASH_LITERAL})`;
218486
+ state.output = prev.output;
218487
+ state.globstar = true;
218488
+ consume(value + advance3());
218489
+ push2({ type: "slash", value: "/", output: "" });
218490
+ continue;
218491
+ }
218492
+ state.output = state.output.slice(0, -prev.output.length);
218493
+ prev.type = "globstar";
218494
+ prev.output = globstar(opts);
218495
+ prev.value += value;
218496
+ state.output += prev.output;
218497
+ state.globstar = true;
218498
+ consume(value);
218499
+ continue;
218500
+ }
218501
+ const token = { type: "star", value, output: star3 };
218502
+ if (opts.bash === true) {
218503
+ token.output = ".*?";
218504
+ if (prev.type === "bos" || prev.type === "slash") {
218505
+ token.output = nodot + token.output;
218506
+ }
218507
+ push2(token);
218508
+ continue;
218509
+ }
218510
+ if (prev && (prev.type === "bracket" || prev.type === "paren") && opts.regex === true) {
218511
+ token.output = value;
218512
+ push2(token);
218513
+ continue;
218514
+ }
218515
+ if (state.index === state.start || prev.type === "slash" || prev.type === "dot") {
218516
+ if (prev.type === "dot") {
218517
+ state.output += NO_DOT_SLASH;
218518
+ prev.output += NO_DOT_SLASH;
218519
+ } else if (opts.dot === true) {
218520
+ state.output += NO_DOTS_SLASH;
218521
+ prev.output += NO_DOTS_SLASH;
218522
+ } else {
218523
+ state.output += nodot;
218524
+ prev.output += nodot;
218525
+ }
218526
+ if (peek() !== "*") {
218527
+ state.output += ONE_CHAR;
218528
+ prev.output += ONE_CHAR;
218529
+ }
218530
+ }
218531
+ push2(token);
218532
+ }
218533
+ while (state.brackets > 0) {
218534
+ if (opts.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "]"));
218535
+ state.output = utils.escapeLast(state.output, "[");
218536
+ decrement("brackets");
218537
+ }
218538
+ while (state.parens > 0) {
218539
+ if (opts.strictBrackets === true) throw new SyntaxError(syntaxError("closing", ")"));
218540
+ state.output = utils.escapeLast(state.output, "(");
218541
+ decrement("parens");
218542
+ }
218543
+ while (state.braces > 0) {
218544
+ if (opts.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "}"));
218545
+ state.output = utils.escapeLast(state.output, "{");
218546
+ decrement("braces");
218547
+ }
218548
+ if (opts.strictSlashes !== true && (prev.type === "star" || prev.type === "bracket")) {
218549
+ push2({ type: "maybe_slash", value: "", output: `${SLASH_LITERAL}?` });
218550
+ }
218551
+ if (state.backtrack === true) {
218552
+ state.output = "";
218553
+ for (const token of state.tokens) {
218554
+ state.output += token.output != null ? token.output : token.value;
218555
+ if (token.suffix) {
218556
+ state.output += token.suffix;
218557
+ }
218558
+ }
218559
+ }
218560
+ return state;
218561
+ };
218562
+ parse5.fastpaths = (input, options) => {
218563
+ const opts = { ...options };
218564
+ const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
218565
+ const len = input.length;
218566
+ if (len > max) {
218567
+ throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
218568
+ }
218569
+ input = REPLACEMENTS[input] || input;
218570
+ const {
218571
+ DOT_LITERAL,
218572
+ SLASH_LITERAL,
218573
+ ONE_CHAR,
218574
+ DOTS_SLASH,
218575
+ NO_DOT,
218576
+ NO_DOTS,
218577
+ NO_DOTS_SLASH,
218578
+ STAR,
218579
+ START_ANCHOR
218580
+ } = constants.globChars(opts.windows);
218581
+ const nodot = opts.dot ? NO_DOTS : NO_DOT;
218582
+ const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
218583
+ const capture = opts.capture ? "" : "?:";
218584
+ const state = { negated: false, prefix: "" };
218585
+ let star3 = opts.bash === true ? ".*?" : STAR;
218586
+ if (opts.capture) {
218587
+ star3 = `(${star3})`;
218588
+ }
218589
+ const globstar = (opts2) => {
218590
+ if (opts2.noglobstar === true) return star3;
218591
+ return `(${capture}(?:(?!${START_ANCHOR}${opts2.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
218592
+ };
218593
+ const create = (str) => {
218594
+ switch (str) {
218595
+ case "*":
218596
+ return `${nodot}${ONE_CHAR}${star3}`;
218597
+ case ".*":
218598
+ return `${DOT_LITERAL}${ONE_CHAR}${star3}`;
218599
+ case "*.*":
218600
+ return `${nodot}${star3}${DOT_LITERAL}${ONE_CHAR}${star3}`;
218601
+ case "*/*":
218602
+ return `${nodot}${star3}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star3}`;
218603
+ case "**":
218604
+ return nodot + globstar(opts);
218605
+ case "**/*":
218606
+ return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star3}`;
218607
+ case "**/*.*":
218608
+ return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star3}${DOT_LITERAL}${ONE_CHAR}${star3}`;
218609
+ case "**/.*":
218610
+ return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star3}`;
218611
+ default: {
218612
+ const match2 = /^(.*?)\.(\w+)$/.exec(str);
218613
+ if (!match2) return;
218614
+ const source2 = create(match2[1]);
218615
+ if (!source2) return;
218616
+ return source2 + DOT_LITERAL + match2[2];
218617
+ }
218618
+ }
218619
+ };
218620
+ const output = utils.removePrefix(input, state);
218621
+ let source = create(output);
218622
+ if (source && opts.strictSlashes !== true) {
218623
+ source += `${SLASH_LITERAL}?`;
218624
+ }
218625
+ return source;
218626
+ };
218627
+ module2.exports = parse5;
218628
+ }
218629
+ });
218630
+
218631
+ // node_modules/picomatch/lib/picomatch.js
218632
+ var require_picomatch3 = __commonJS({
218633
+ "node_modules/picomatch/lib/picomatch.js"(exports2, module2) {
218634
+ "use strict";
218635
+ var scan = require_scan2();
218636
+ var parse5 = require_parse2();
218637
+ var utils = require_utils2();
218638
+ var constants = require_constants2();
218639
+ var isObject4 = (val) => val && typeof val === "object" && !Array.isArray(val);
218640
+ var picomatch = (glob, options, returnState = false) => {
218641
+ if (Array.isArray(glob)) {
218642
+ const fns = glob.map((input) => picomatch(input, options, returnState));
218643
+ const arrayMatcher = (str) => {
218644
+ for (const isMatch of fns) {
218645
+ const state2 = isMatch(str);
218646
+ if (state2) return state2;
218647
+ }
218648
+ return false;
218649
+ };
218650
+ return arrayMatcher;
218651
+ }
218652
+ const isState = isObject4(glob) && glob.tokens && glob.input;
218653
+ if (glob === "" || typeof glob !== "string" && !isState) {
218654
+ throw new TypeError("Expected pattern to be a non-empty string");
218655
+ }
218656
+ const opts = options || {};
218657
+ const posix3 = opts.windows;
218658
+ const regex = isState ? picomatch.compileRe(glob, options) : picomatch.makeRe(glob, options, false, true);
218659
+ const state = regex.state;
218660
+ delete regex.state;
218661
+ let isIgnored = () => false;
218662
+ if (opts.ignore) {
218663
+ const ignoreOpts = { ...options, ignore: null, onMatch: null, onResult: null };
218664
+ isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
218665
+ }
218666
+ const matcher = (input, returnObject = false) => {
218667
+ const { isMatch, match: match2, output } = picomatch.test(input, regex, options, { glob, posix: posix3 });
218668
+ const result2 = { glob, state, regex, posix: posix3, input, output, match: match2, isMatch };
218669
+ if (typeof opts.onResult === "function") {
218670
+ opts.onResult(result2);
218671
+ }
218672
+ if (isMatch === false) {
218673
+ result2.isMatch = false;
218674
+ return returnObject ? result2 : false;
218675
+ }
218676
+ if (isIgnored(input)) {
218677
+ if (typeof opts.onIgnore === "function") {
218678
+ opts.onIgnore(result2);
218679
+ }
218680
+ result2.isMatch = false;
218681
+ return returnObject ? result2 : false;
218682
+ }
218683
+ if (typeof opts.onMatch === "function") {
218684
+ opts.onMatch(result2);
218685
+ }
218686
+ return returnObject ? result2 : true;
218687
+ };
218688
+ if (returnState) {
218689
+ matcher.state = state;
218690
+ }
218691
+ return matcher;
218692
+ };
218693
+ picomatch.test = (input, regex, options, { glob, posix: posix3 } = {}) => {
218694
+ if (typeof input !== "string") {
218695
+ throw new TypeError("Expected input to be a string");
218696
+ }
218697
+ if (input === "") {
218698
+ return { isMatch: false, output: "" };
218699
+ }
218700
+ const opts = options || {};
218701
+ const format = opts.format || (posix3 ? utils.toPosixSlashes : null);
218702
+ let match2 = input === glob;
218703
+ let output = match2 && format ? format(input) : input;
218704
+ if (match2 === false) {
218705
+ output = format ? format(input) : input;
218706
+ match2 = output === glob;
218707
+ }
218708
+ if (match2 === false || opts.capture === true) {
218709
+ if (opts.matchBase === true || opts.basename === true) {
218710
+ match2 = picomatch.matchBase(input, regex, options, posix3);
218711
+ } else {
218712
+ match2 = regex.exec(output);
218713
+ }
218714
+ }
218715
+ return { isMatch: Boolean(match2), match: match2, output };
218716
+ };
218717
+ picomatch.matchBase = (input, glob, options) => {
218718
+ const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
218719
+ return regex.test(utils.basename(input));
218720
+ };
218721
+ picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
218722
+ picomatch.parse = (pattern, options) => {
218723
+ if (Array.isArray(pattern)) return pattern.map((p) => picomatch.parse(p, options));
218724
+ return parse5(pattern, { ...options, fastpaths: false });
218725
+ };
218726
+ picomatch.scan = (input, options) => scan(input, options);
218727
+ picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
218728
+ if (returnOutput === true) {
218729
+ return state.output;
218730
+ }
218731
+ const opts = options || {};
218732
+ const prepend3 = opts.contains ? "" : "^";
218733
+ const append4 = opts.contains ? "" : "$";
218734
+ let source = `${prepend3}(?:${state.output})${append4}`;
218735
+ if (state && state.negated === true) {
218736
+ source = `^(?!${source}).*$`;
218737
+ }
218738
+ const regex = picomatch.toRegex(source, options);
218739
+ if (returnState === true) {
218740
+ regex.state = state;
218741
+ }
218742
+ return regex;
218743
+ };
218744
+ picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {
218745
+ if (!input || typeof input !== "string") {
218746
+ throw new TypeError("Expected a non-empty string");
218747
+ }
218748
+ let parsed = { negated: false, fastpaths: true };
218749
+ if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
218750
+ parsed.output = parse5.fastpaths(input, options);
218751
+ }
218752
+ if (!parsed.output) {
218753
+ parsed = parse5(input, options);
218754
+ }
218755
+ return picomatch.compileRe(parsed, options, returnOutput, returnState);
218756
+ };
218757
+ picomatch.toRegex = (source, options) => {
218758
+ try {
218759
+ const opts = options || {};
218760
+ return new RegExp(source, opts.flags || (opts.nocase ? "i" : ""));
218761
+ } catch (err2) {
218762
+ if (options && options.debug === true) throw err2;
218763
+ return /$^/;
218764
+ }
218765
+ };
218766
+ picomatch.constants = constants;
218767
+ module2.exports = picomatch;
218768
+ }
218769
+ });
218770
+
218771
+ // node_modules/picomatch/index.js
218772
+ var require_picomatch4 = __commonJS({
218773
+ "node_modules/picomatch/index.js"(exports2, module2) {
218774
+ "use strict";
218775
+ var pico = require_picomatch3();
218776
+ var utils = require_utils2();
218777
+ function picomatch(glob, options, returnState = false) {
218778
+ if (options && (options.windows === null || options.windows === void 0)) {
218779
+ options = { ...options, windows: utils.isWindows() };
218780
+ }
218781
+ return pico(glob, options, returnState);
218782
+ }
218783
+ Object.assign(picomatch, pico);
218784
+ module2.exports = picomatch;
218785
+ }
218786
+ });
218787
+
218788
+ // node_modules/builtin-modules/index.js
218789
+ var require_builtin_modules = __commonJS({
218790
+ "node_modules/builtin-modules/index.js"(exports2, module2) {
218791
+ "use strict";
218792
+ var { builtinModules } = require("module");
218793
+ var ignoreList = [
218794
+ "sys"
218795
+ ];
218796
+ module2.exports = (builtinModules || (process.binding ? Object.keys(process.binding("natives")) : []) || []).filter((x) => !/^_|^(internal|v8|node-inspect)\/|\//.test(x) && !ignoreList.includes(x)).sort();
218797
+ }
218798
+ });
218799
+
218800
+ // node_modules/deepmerge/dist/cjs.js
218801
+ var require_cjs2 = __commonJS({
218802
+ "node_modules/deepmerge/dist/cjs.js"(exports2, module2) {
218803
+ "use strict";
218804
+ var isMergeableObject = function isMergeableObject2(value) {
218805
+ return isNonNullObject(value) && !isSpecial(value);
218806
+ };
218807
+ function isNonNullObject(value) {
218808
+ return !!value && typeof value === "object";
218809
+ }
218810
+ function isSpecial(value) {
218811
+ var stringValue = Object.prototype.toString.call(value);
218812
+ return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value);
218813
+ }
218814
+ var canUseSymbol = typeof Symbol === "function" && Symbol.for;
218815
+ var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
218816
+ function isReactElement(value) {
218817
+ return value.$$typeof === REACT_ELEMENT_TYPE;
218818
+ }
218819
+ function emptyTarget(val) {
218820
+ return Array.isArray(val) ? [] : {};
218821
+ }
218822
+ function cloneUnlessOtherwiseSpecified(value, options) {
218823
+ return options.clone !== false && options.isMergeableObject(value) ? deepmerge(emptyTarget(value), value, options) : value;
218824
+ }
218825
+ function defaultArrayMerge(target, source, options) {
218826
+ return target.concat(source).map(function(element) {
218827
+ return cloneUnlessOtherwiseSpecified(element, options);
218828
+ });
218829
+ }
218830
+ function getMergeFunction(key, options) {
218831
+ if (!options.customMerge) {
218832
+ return deepmerge;
218833
+ }
218834
+ var customMerge = options.customMerge(key);
218835
+ return typeof customMerge === "function" ? customMerge : deepmerge;
218836
+ }
218837
+ function getEnumerableOwnPropertySymbols(target) {
218838
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
218839
+ return Object.propertyIsEnumerable.call(target, symbol);
218840
+ }) : [];
218841
+ }
218842
+ function getKeys(target) {
218843
+ return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
218844
+ }
218845
+ function propertyIsOnObject(object, property2) {
218846
+ try {
218847
+ return property2 in object;
218848
+ } catch (_) {
218849
+ return false;
218850
+ }
218851
+ }
218852
+ function propertyIsUnsafe(target, key) {
218853
+ return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
218854
+ }
218855
+ function mergeObject(target, source, options) {
218856
+ var destination = {};
218857
+ if (options.isMergeableObject(target)) {
218858
+ getKeys(target).forEach(function(key) {
218859
+ destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
218860
+ });
218861
+ }
218862
+ getKeys(source).forEach(function(key) {
218863
+ if (propertyIsUnsafe(target, key)) {
218864
+ return;
218865
+ }
218866
+ if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
218867
+ destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
218868
+ } else {
218869
+ destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
218870
+ }
218871
+ });
218872
+ return destination;
218873
+ }
218874
+ function deepmerge(target, source, options) {
218875
+ options = options || {};
218876
+ options.arrayMerge = options.arrayMerge || defaultArrayMerge;
218877
+ options.isMergeableObject = options.isMergeableObject || isMergeableObject;
218878
+ options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
218879
+ var sourceIsArray = Array.isArray(source);
218880
+ var targetIsArray = Array.isArray(target);
218881
+ var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
218882
+ if (!sourceAndTargetTypesMatch) {
218883
+ return cloneUnlessOtherwiseSpecified(source, options);
218884
+ } else if (sourceIsArray) {
218885
+ return options.arrayMerge(target, source, options);
218886
+ } else {
218887
+ return mergeObject(target, source, options);
218888
+ }
218889
+ }
218890
+ deepmerge.all = function deepmergeAll(array, options) {
218891
+ if (!Array.isArray(array)) {
218892
+ throw new Error("first argument should be an array");
218893
+ }
218894
+ return array.reduce(function(prev, next) {
218895
+ return deepmerge(prev, next, options);
218896
+ }, {});
218897
+ };
218898
+ var deepmerge_1 = deepmerge;
218899
+ module2.exports = deepmerge_1;
218900
+ }
218901
+ });
218902
+
218903
+ // node_modules/is-module/index.js
218904
+ var require_is_module = __commonJS({
218905
+ "node_modules/is-module/index.js"(exports2, module2) {
218906
+ var ES6ImportExportRegExp = /(?:^\s*|[}{\(\);,\n]\s*)(import\s+['"]|(import|module)\s+[^"'\(\)\n;]+\s+from\s+['"]|export\s+(\*|\{|default|function|var|const|let|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*))/;
218907
+ var ES6AliasRegExp = /(?:^\s*|[}{\(\);,\n]\s*)(export\s*\*\s*from\s*(?:'([^']+)'|"([^"]+)"))/;
218908
+ module2.exports = function(sauce) {
218909
+ return ES6ImportExportRegExp.test(sauce) || ES6AliasRegExp.test(sauce);
218910
+ };
218911
+ }
218912
+ });
218913
+
218914
+ // node_modules/@rollup/plugin-node-resolve/node_modules/picomatch/lib/constants.js
218915
+ var require_constants3 = __commonJS({
218916
+ "node_modules/@rollup/plugin-node-resolve/node_modules/picomatch/lib/constants.js"(exports2, module2) {
218917
+ "use strict";
218918
+ var path6 = require("path");
218919
+ var WIN_SLASH = "\\\\/";
218920
+ var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
218921
+ var DOT_LITERAL = "\\.";
218922
+ var PLUS_LITERAL = "\\+";
218923
+ var QMARK_LITERAL = "\\?";
218924
+ var SLASH_LITERAL = "\\/";
218925
+ var ONE_CHAR = "(?=.)";
218926
+ var QMARK = "[^/]";
218927
+ var END_ANCHOR = `(?:${SLASH_LITERAL}|$)`;
218928
+ var START_ANCHOR = `(?:^|${SLASH_LITERAL})`;
218929
+ var DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`;
218930
+ var NO_DOT = `(?!${DOT_LITERAL})`;
218931
+ var NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`;
218932
+ var NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`;
218933
+ var NO_DOTS_SLASH = `(?!${DOTS_SLASH})`;
218934
+ var QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`;
218935
+ var STAR = `${QMARK}*?`;
218936
+ var POSIX_CHARS = {
218937
+ DOT_LITERAL,
218938
+ PLUS_LITERAL,
218939
+ QMARK_LITERAL,
218940
+ SLASH_LITERAL,
218941
+ ONE_CHAR,
218942
+ QMARK,
218943
+ END_ANCHOR,
218944
+ DOTS_SLASH,
218945
+ NO_DOT,
218946
+ NO_DOTS,
218947
+ NO_DOT_SLASH,
218948
+ NO_DOTS_SLASH,
218949
+ QMARK_NO_DOT,
218950
+ STAR,
218951
+ START_ANCHOR
218952
+ };
218953
+ var WINDOWS_CHARS = {
218954
+ ...POSIX_CHARS,
218955
+ SLASH_LITERAL: `[${WIN_SLASH}]`,
218956
+ QMARK: WIN_NO_SLASH,
218957
+ STAR: `${WIN_NO_SLASH}*?`,
218958
+ DOTS_SLASH: `${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`,
218959
+ NO_DOT: `(?!${DOT_LITERAL})`,
218960
+ NO_DOTS: `(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,
218961
+ NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`,
218962
+ NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,
218963
+ QMARK_NO_DOT: `[^.${WIN_SLASH}]`,
218964
+ START_ANCHOR: `(?:^|[${WIN_SLASH}])`,
218965
+ END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
218966
+ };
218967
+ var POSIX_REGEX_SOURCE = {
218968
+ alnum: "a-zA-Z0-9",
218969
+ alpha: "a-zA-Z",
218970
+ ascii: "\\x00-\\x7F",
218971
+ blank: " \\t",
218972
+ cntrl: "\\x00-\\x1F\\x7F",
218973
+ digit: "0-9",
218974
+ graph: "\\x21-\\x7E",
218975
+ lower: "a-z",
218976
+ print: "\\x20-\\x7E ",
218977
+ punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
218978
+ space: " \\t\\r\\n\\v\\f",
218979
+ upper: "A-Z",
218980
+ word: "A-Za-z0-9_",
218981
+ xdigit: "A-Fa-f0-9"
218982
+ };
218983
+ module2.exports = {
218984
+ MAX_LENGTH: 1024 * 64,
218985
+ POSIX_REGEX_SOURCE,
218986
+ // regular expressions
218987
+ REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
218988
+ REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
218989
+ REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
218990
+ REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
218991
+ REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
218992
+ REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
218993
+ // Replace globs with equivalent patterns to reduce parsing time.
218994
+ REPLACEMENTS: {
218995
+ "***": "*",
218996
+ "**/**": "**",
218997
+ "**/**/**": "**"
218998
+ },
218999
+ // Digits
219000
+ CHAR_0: 48,
219001
+ /* 0 */
219002
+ CHAR_9: 57,
219003
+ /* 9 */
219004
+ // Alphabet chars.
219005
+ CHAR_UPPERCASE_A: 65,
219006
+ /* A */
219007
+ CHAR_LOWERCASE_A: 97,
219008
+ /* a */
219009
+ CHAR_UPPERCASE_Z: 90,
219010
+ /* Z */
219011
+ CHAR_LOWERCASE_Z: 122,
219012
+ /* z */
219013
+ CHAR_LEFT_PARENTHESES: 40,
219014
+ /* ( */
219015
+ CHAR_RIGHT_PARENTHESES: 41,
219016
+ /* ) */
219017
+ CHAR_ASTERISK: 42,
219018
+ /* * */
219019
+ // Non-alphabetic chars.
219020
+ CHAR_AMPERSAND: 38,
219021
+ /* & */
219022
+ CHAR_AT: 64,
219023
+ /* @ */
219024
+ CHAR_BACKWARD_SLASH: 92,
219025
+ /* \ */
219026
+ CHAR_CARRIAGE_RETURN: 13,
219027
+ /* \r */
219028
+ CHAR_CIRCUMFLEX_ACCENT: 94,
219029
+ /* ^ */
219030
+ CHAR_COLON: 58,
219031
+ /* : */
219032
+ CHAR_COMMA: 44,
219033
+ /* , */
219034
+ CHAR_DOT: 46,
219035
+ /* . */
219036
+ CHAR_DOUBLE_QUOTE: 34,
219037
+ /* " */
219038
+ CHAR_EQUAL: 61,
219039
+ /* = */
219040
+ CHAR_EXCLAMATION_MARK: 33,
219041
+ /* ! */
219042
+ CHAR_FORM_FEED: 12,
219043
+ /* \f */
219044
+ CHAR_FORWARD_SLASH: 47,
219045
+ /* / */
219046
+ CHAR_GRAVE_ACCENT: 96,
219047
+ /* ` */
219048
+ CHAR_HASH: 35,
219049
+ /* # */
219050
+ CHAR_HYPHEN_MINUS: 45,
219051
+ /* - */
219052
+ CHAR_LEFT_ANGLE_BRACKET: 60,
219053
+ /* < */
219054
+ CHAR_LEFT_CURLY_BRACE: 123,
219055
+ /* { */
219056
+ CHAR_LEFT_SQUARE_BRACKET: 91,
219057
+ /* [ */
219058
+ CHAR_LINE_FEED: 10,
219059
+ /* \n */
219060
+ CHAR_NO_BREAK_SPACE: 160,
219061
+ /* \u00A0 */
219062
+ CHAR_PERCENT: 37,
219063
+ /* % */
219064
+ CHAR_PLUS: 43,
219065
+ /* + */
219066
+ CHAR_QUESTION_MARK: 63,
219067
+ /* ? */
219068
+ CHAR_RIGHT_ANGLE_BRACKET: 62,
219069
+ /* > */
219070
+ CHAR_RIGHT_CURLY_BRACE: 125,
219071
+ /* } */
219072
+ CHAR_RIGHT_SQUARE_BRACKET: 93,
219073
+ /* ] */
219074
+ CHAR_SEMICOLON: 59,
219075
+ /* ; */
219076
+ CHAR_SINGLE_QUOTE: 39,
219077
+ /* ' */
219078
+ CHAR_SPACE: 32,
219079
+ /* */
219080
+ CHAR_TAB: 9,
219081
+ /* \t */
219082
+ CHAR_UNDERSCORE: 95,
219083
+ /* _ */
219084
+ CHAR_VERTICAL_LINE: 124,
219085
+ /* | */
219086
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
219087
+ /* \uFEFF */
219088
+ SEP: path6.sep,
219089
+ /**
219090
+ * Create EXTGLOB_CHARS
219091
+ */
219092
+ extglobChars(chars3) {
219093
+ return {
219094
+ "!": { type: "negate", open: "(?:(?!(?:", close: `))${chars3.STAR})` },
219095
+ "?": { type: "qmark", open: "(?:", close: ")?" },
219096
+ "+": { type: "plus", open: "(?:", close: ")+" },
219097
+ "*": { type: "star", open: "(?:", close: ")*" },
219098
+ "@": { type: "at", open: "(?:", close: ")" }
219099
+ };
219100
+ },
219101
+ /**
219102
+ * Create GLOB_CHARS
219103
+ */
219104
+ globChars(win322) {
219105
+ return win322 === true ? WINDOWS_CHARS : POSIX_CHARS;
219106
+ }
219107
+ };
219108
+ }
219109
+ });
219110
+
219111
+ // node_modules/@rollup/plugin-node-resolve/node_modules/picomatch/lib/utils.js
219112
+ var require_utils3 = __commonJS({
219113
+ "node_modules/@rollup/plugin-node-resolve/node_modules/picomatch/lib/utils.js"(exports2) {
219114
+ "use strict";
219115
+ var path6 = require("path");
219116
+ var win322 = process.platform === "win32";
219117
+ var {
219118
+ REGEX_BACKSLASH,
219119
+ REGEX_REMOVE_BACKSLASH,
219120
+ REGEX_SPECIAL_CHARS,
219121
+ REGEX_SPECIAL_CHARS_GLOBAL
219122
+ } = require_constants3();
219123
+ exports2.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
219124
+ exports2.hasRegexChars = (str) => REGEX_SPECIAL_CHARS.test(str);
219125
+ exports2.isRegexChar = (str) => str.length === 1 && exports2.hasRegexChars(str);
219126
+ exports2.escapeRegex = (str) => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1");
219127
+ exports2.toPosixSlashes = (str) => str.replace(REGEX_BACKSLASH, "/");
219128
+ exports2.removeBackslashes = (str) => {
219129
+ return str.replace(REGEX_REMOVE_BACKSLASH, (match2) => {
219130
+ return match2 === "\\" ? "" : match2;
219131
+ });
219132
+ };
219133
+ exports2.supportsLookbehinds = () => {
219134
+ const segs = process.version.slice(1).split(".").map(Number);
219135
+ if (segs.length === 3 && segs[0] >= 9 || segs[0] === 8 && segs[1] >= 10) {
219136
+ return true;
219137
+ }
219138
+ return false;
219139
+ };
219140
+ exports2.isWindows = (options) => {
219141
+ if (options && typeof options.windows === "boolean") {
219142
+ return options.windows;
219143
+ }
219144
+ return win322 === true || path6.sep === "\\";
219145
+ };
219146
+ exports2.escapeLast = (input, char, lastIdx) => {
219147
+ const idx = input.lastIndexOf(char, lastIdx);
219148
+ if (idx === -1) return input;
219149
+ if (input[idx - 1] === "\\") return exports2.escapeLast(input, char, idx - 1);
219150
+ return `${input.slice(0, idx)}\\${input.slice(idx)}`;
219151
+ };
219152
+ exports2.removePrefix = (input, state = {}) => {
219153
+ let output = input;
219154
+ if (output.startsWith("./")) {
219155
+ output = output.slice(2);
219156
+ state.prefix = "./";
219157
+ }
219158
+ return output;
219159
+ };
219160
+ exports2.wrapOutput = (input, state = {}, options = {}) => {
219161
+ const prepend3 = options.contains ? "" : "^";
219162
+ const append4 = options.contains ? "" : "$";
219163
+ let output = `${prepend3}(?:${input})${append4}`;
219164
+ if (state.negated === true) {
219165
+ output = `(?:^(?!${output}).*$)`;
219166
+ }
219167
+ return output;
219168
+ };
217497
219169
  }
217498
219170
  });
217499
219171
 
217500
- // node_modules/@rollup/pluginutils/node_modules/picomatch/lib/scan.js
217501
- var require_scan2 = __commonJS({
217502
- "node_modules/@rollup/pluginutils/node_modules/picomatch/lib/scan.js"(exports2, module2) {
219172
+ // node_modules/@rollup/plugin-node-resolve/node_modules/picomatch/lib/scan.js
219173
+ var require_scan3 = __commonJS({
219174
+ "node_modules/@rollup/plugin-node-resolve/node_modules/picomatch/lib/scan.js"(exports2, module2) {
217503
219175
  "use strict";
217504
- var utils = require_utils2();
219176
+ var utils = require_utils3();
217505
219177
  var {
217506
219178
  CHAR_ASTERISK,
217507
219179
  /* * */
@@ -217533,7 +219205,7 @@ var require_scan2 = __commonJS({
217533
219205
  /* ) */
217534
219206
  CHAR_RIGHT_SQUARE_BRACKET
217535
219207
  /* ] */
217536
- } = require_constants2();
219208
+ } = require_constants3();
217537
219209
  var isPathSeparator = (code) => {
217538
219210
  return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
217539
219211
  };
@@ -217827,12 +219499,12 @@ var require_scan2 = __commonJS({
217827
219499
  }
217828
219500
  });
217829
219501
 
217830
- // node_modules/@rollup/pluginutils/node_modules/picomatch/lib/parse.js
217831
- var require_parse2 = __commonJS({
217832
- "node_modules/@rollup/pluginutils/node_modules/picomatch/lib/parse.js"(exports2, module2) {
219502
+ // node_modules/@rollup/plugin-node-resolve/node_modules/picomatch/lib/parse.js
219503
+ var require_parse3 = __commonJS({
219504
+ "node_modules/@rollup/plugin-node-resolve/node_modules/picomatch/lib/parse.js"(exports2, module2) {
217833
219505
  "use strict";
217834
- var constants = require_constants2();
217835
- var utils = require_utils2();
219506
+ var constants = require_constants3();
219507
+ var utils = require_utils3();
217836
219508
  var {
217837
219509
  MAX_LENGTH,
217838
219510
  POSIX_REGEX_SOURCE,
@@ -217870,7 +219542,8 @@ var require_parse2 = __commonJS({
217870
219542
  const bos = { type: "bos", value: "", output: opts.prepend || "" };
217871
219543
  const tokens = [bos];
217872
219544
  const capture = opts.capture ? "" : "?:";
217873
- const PLATFORM_CHARS = constants.globChars(opts.windows);
219545
+ const win322 = utils.isWindows(options);
219546
+ const PLATFORM_CHARS = constants.globChars(win322);
217874
219547
  const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
217875
219548
  const {
217876
219549
  DOT_LITERAL,
@@ -217973,8 +219646,8 @@ var require_parse2 = __commonJS({
217973
219646
  }
217974
219647
  if (tok.value || tok.output) append4(tok);
217975
219648
  if (prev && prev.type === "text" && tok.type === "text") {
217976
- prev.output = (prev.output || prev.value) + tok.value;
217977
219649
  prev.value += tok.value;
219650
+ prev.output = (prev.output || "") + tok.value;
217978
219651
  return;
217979
219652
  }
217980
219653
  tok.prev = prev;
@@ -218310,6 +219983,9 @@ var require_parse2 = __commonJS({
218310
219983
  if (prev && prev.type === "paren") {
218311
219984
  const next = peek();
218312
219985
  let output = value;
219986
+ if (next === "<" && !utils.supportsLookbehinds()) {
219987
+ throw new Error("Node.js v10 or higher is required for regex lookbehinds");
219988
+ }
218313
219989
  if (prev.value === "(" && !/[!=<:]/.test(next) || next === "<" && !/<([!=]|\w+>)/.test(remaining())) {
218314
219990
  output = `\\${value}`;
218315
219991
  }
@@ -218534,6 +220210,7 @@ var require_parse2 = __commonJS({
218534
220210
  throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
218535
220211
  }
218536
220212
  input = REPLACEMENTS[input] || input;
220213
+ const win322 = utils.isWindows(options);
218537
220214
  const {
218538
220215
  DOT_LITERAL,
218539
220216
  SLASH_LITERAL,
@@ -218544,7 +220221,7 @@ var require_parse2 = __commonJS({
218544
220221
  NO_DOTS_SLASH,
218545
220222
  STAR,
218546
220223
  START_ANCHOR
218547
- } = constants.globChars(opts.windows);
220224
+ } = constants.globChars(win322);
218548
220225
  const nodot = opts.dot ? NO_DOTS : NO_DOT;
218549
220226
  const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
218550
220227
  const capture = opts.capture ? "" : "?:";
@@ -218595,14 +220272,15 @@ var require_parse2 = __commonJS({
218595
220272
  }
218596
220273
  });
218597
220274
 
218598
- // node_modules/@rollup/pluginutils/node_modules/picomatch/lib/picomatch.js
218599
- var require_picomatch3 = __commonJS({
218600
- "node_modules/@rollup/pluginutils/node_modules/picomatch/lib/picomatch.js"(exports2, module2) {
220275
+ // node_modules/@rollup/plugin-node-resolve/node_modules/picomatch/lib/picomatch.js
220276
+ var require_picomatch5 = __commonJS({
220277
+ "node_modules/@rollup/plugin-node-resolve/node_modules/picomatch/lib/picomatch.js"(exports2, module2) {
218601
220278
  "use strict";
218602
- var scan = require_scan2();
218603
- var parse5 = require_parse2();
218604
- var utils = require_utils2();
218605
- var constants = require_constants2();
220279
+ var path6 = require("path");
220280
+ var scan = require_scan3();
220281
+ var parse5 = require_parse3();
220282
+ var utils = require_utils3();
220283
+ var constants = require_constants3();
218606
220284
  var isObject4 = (val) => val && typeof val === "object" && !Array.isArray(val);
218607
220285
  var picomatch = (glob, options, returnState = false) => {
218608
220286
  if (Array.isArray(glob)) {
@@ -218621,7 +220299,7 @@ var require_picomatch3 = __commonJS({
218621
220299
  throw new TypeError("Expected pattern to be a non-empty string");
218622
220300
  }
218623
220301
  const opts = options || {};
218624
- const posix3 = opts.windows;
220302
+ const posix3 = utils.isWindows(options);
218625
220303
  const regex = isState ? picomatch.compileRe(glob, options) : picomatch.makeRe(glob, options, false, true);
218626
220304
  const state = regex.state;
218627
220305
  delete regex.state;
@@ -218681,9 +220359,9 @@ var require_picomatch3 = __commonJS({
218681
220359
  }
218682
220360
  return { isMatch: Boolean(match2), match: match2, output };
218683
220361
  };
218684
- picomatch.matchBase = (input, glob, options) => {
220362
+ picomatch.matchBase = (input, glob, options, posix3 = utils.isWindows(options)) => {
218685
220363
  const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
218686
- return regex.test(utils.basename(input));
220364
+ return regex.test(path6.basename(input));
218687
220365
  };
218688
220366
  picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
218689
220367
  picomatch.parse = (pattern, options) => {
@@ -218735,146 +220413,11 @@ var require_picomatch3 = __commonJS({
218735
220413
  }
218736
220414
  });
218737
220415
 
218738
- // node_modules/@rollup/pluginutils/node_modules/picomatch/index.js
218739
- var require_picomatch4 = __commonJS({
218740
- "node_modules/@rollup/pluginutils/node_modules/picomatch/index.js"(exports2, module2) {
218741
- "use strict";
218742
- var pico = require_picomatch3();
218743
- var utils = require_utils2();
218744
- function picomatch(glob, options, returnState = false) {
218745
- if (options && (options.windows === null || options.windows === void 0)) {
218746
- options = { ...options, windows: utils.isWindows() };
218747
- }
218748
- return pico(glob, options, returnState);
218749
- }
218750
- Object.assign(picomatch, pico);
218751
- module2.exports = picomatch;
218752
- }
218753
- });
218754
-
218755
- // node_modules/builtin-modules/index.js
218756
- var require_builtin_modules = __commonJS({
218757
- "node_modules/builtin-modules/index.js"(exports2, module2) {
220416
+ // node_modules/@rollup/plugin-node-resolve/node_modules/picomatch/index.js
220417
+ var require_picomatch6 = __commonJS({
220418
+ "node_modules/@rollup/plugin-node-resolve/node_modules/picomatch/index.js"(exports2, module2) {
218758
220419
  "use strict";
218759
- var { builtinModules } = require("module");
218760
- var ignoreList = [
218761
- "sys"
218762
- ];
218763
- module2.exports = (builtinModules || (process.binding ? Object.keys(process.binding("natives")) : []) || []).filter((x) => !/^_|^(internal|v8|node-inspect)\/|\//.test(x) && !ignoreList.includes(x)).sort();
218764
- }
218765
- });
218766
-
218767
- // node_modules/deepmerge/dist/cjs.js
218768
- var require_cjs2 = __commonJS({
218769
- "node_modules/deepmerge/dist/cjs.js"(exports2, module2) {
218770
- "use strict";
218771
- var isMergeableObject = function isMergeableObject2(value) {
218772
- return isNonNullObject(value) && !isSpecial(value);
218773
- };
218774
- function isNonNullObject(value) {
218775
- return !!value && typeof value === "object";
218776
- }
218777
- function isSpecial(value) {
218778
- var stringValue = Object.prototype.toString.call(value);
218779
- return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value);
218780
- }
218781
- var canUseSymbol = typeof Symbol === "function" && Symbol.for;
218782
- var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
218783
- function isReactElement(value) {
218784
- return value.$$typeof === REACT_ELEMENT_TYPE;
218785
- }
218786
- function emptyTarget(val) {
218787
- return Array.isArray(val) ? [] : {};
218788
- }
218789
- function cloneUnlessOtherwiseSpecified(value, options) {
218790
- return options.clone !== false && options.isMergeableObject(value) ? deepmerge(emptyTarget(value), value, options) : value;
218791
- }
218792
- function defaultArrayMerge(target, source, options) {
218793
- return target.concat(source).map(function(element) {
218794
- return cloneUnlessOtherwiseSpecified(element, options);
218795
- });
218796
- }
218797
- function getMergeFunction(key, options) {
218798
- if (!options.customMerge) {
218799
- return deepmerge;
218800
- }
218801
- var customMerge = options.customMerge(key);
218802
- return typeof customMerge === "function" ? customMerge : deepmerge;
218803
- }
218804
- function getEnumerableOwnPropertySymbols(target) {
218805
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
218806
- return Object.propertyIsEnumerable.call(target, symbol);
218807
- }) : [];
218808
- }
218809
- function getKeys(target) {
218810
- return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
218811
- }
218812
- function propertyIsOnObject(object, property2) {
218813
- try {
218814
- return property2 in object;
218815
- } catch (_) {
218816
- return false;
218817
- }
218818
- }
218819
- function propertyIsUnsafe(target, key) {
218820
- return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
218821
- }
218822
- function mergeObject(target, source, options) {
218823
- var destination = {};
218824
- if (options.isMergeableObject(target)) {
218825
- getKeys(target).forEach(function(key) {
218826
- destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
218827
- });
218828
- }
218829
- getKeys(source).forEach(function(key) {
218830
- if (propertyIsUnsafe(target, key)) {
218831
- return;
218832
- }
218833
- if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
218834
- destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
218835
- } else {
218836
- destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
218837
- }
218838
- });
218839
- return destination;
218840
- }
218841
- function deepmerge(target, source, options) {
218842
- options = options || {};
218843
- options.arrayMerge = options.arrayMerge || defaultArrayMerge;
218844
- options.isMergeableObject = options.isMergeableObject || isMergeableObject;
218845
- options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
218846
- var sourceIsArray = Array.isArray(source);
218847
- var targetIsArray = Array.isArray(target);
218848
- var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
218849
- if (!sourceAndTargetTypesMatch) {
218850
- return cloneUnlessOtherwiseSpecified(source, options);
218851
- } else if (sourceIsArray) {
218852
- return options.arrayMerge(target, source, options);
218853
- } else {
218854
- return mergeObject(target, source, options);
218855
- }
218856
- }
218857
- deepmerge.all = function deepmergeAll(array, options) {
218858
- if (!Array.isArray(array)) {
218859
- throw new Error("first argument should be an array");
218860
- }
218861
- return array.reduce(function(prev, next) {
218862
- return deepmerge(prev, next, options);
218863
- }, {});
218864
- };
218865
- var deepmerge_1 = deepmerge;
218866
- module2.exports = deepmerge_1;
218867
- }
218868
- });
218869
-
218870
- // node_modules/is-module/index.js
218871
- var require_is_module = __commonJS({
218872
- "node_modules/is-module/index.js"(exports2, module2) {
218873
- var ES6ImportExportRegExp = /(?:^\s*|[}{\(\);,\n]\s*)(import\s+['"]|(import|module)\s+[^"'\(\)\n;]+\s+from\s+['"]|export\s+(\*|\{|default|function|var|const|let|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*))/;
218874
- var ES6AliasRegExp = /(?:^\s*|[}{\(\);,\n]\s*)(export\s*\*\s*from\s*(?:'([^']+)'|"([^"]+)"))/;
218875
- module2.exports = function(sauce) {
218876
- return ES6ImportExportRegExp.test(sauce) || ES6AliasRegExp.test(sauce);
218877
- };
220420
+ module2.exports = require_picomatch5();
218878
220421
  }
218879
220422
  });
218880
220423
 
@@ -238154,16 +239697,16 @@ module.exports = __toCommonJS(compiler_exports);
238154
239697
  var import_typescript70 = __toESM(require_typescript_5_5_4_bundle_cache_min());
238155
239698
 
238156
239699
  // src/version.ts
238157
- var buildId = "1736548319";
239700
+ var buildId = "1737085023";
238158
239701
  var minfyJsId = "terser5.31.1_7";
238159
- var optimizeCssId = "autoprefixer10.4.19_postcss8.4.38_7";
239702
+ var optimizeCssId = "autoprefixer10.4.19_postcss8.5.1_7";
238160
239703
  var parse5Version = "7.1.2";
238161
239704
  var rollupVersion = "2.56.3";
238162
239705
  var jqueryVersion = "4.0.0-pre";
238163
239706
  var terserVersion = "5.31.1";
238164
239707
  var typescriptVersion = "5.5.4";
238165
- var vermoji = "\u{1F32E}";
238166
- var version = "4.23.2";
239708
+ var vermoji = "\u{1F69C}";
239709
+ var version = "4.24.0";
238167
239710
  var versions = {
238168
239711
  stencil: version,
238169
239712
  parse5: parse5Version,
@@ -242537,7 +244080,7 @@ var import_util = require("util");
242537
244080
 
242538
244081
  // node_modules/@rollup/plugin-node-resolve/node_modules/@rollup/pluginutils/dist/es/index.js
242539
244082
  var import_path9 = require("path");
242540
- var import_picomatch2 = __toESM(require_picomatch2(), 1);
244083
+ var import_picomatch2 = __toESM(require_picomatch6(), 1);
242541
244084
  function isArray2(arg) {
242542
244085
  return Array.isArray(arg);
242543
244086
  }
@@ -243001,6 +244544,41 @@ for (let i = 0; i < chars.length; i++) {
243001
244544
  intToChar[i] = c;
243002
244545
  charToInt[c] = i;
243003
244546
  }
244547
+ function decodeInteger(reader, relative4) {
244548
+ let value = 0;
244549
+ let shift = 0;
244550
+ let integer = 0;
244551
+ do {
244552
+ const c = reader.next();
244553
+ integer = charToInt[c];
244554
+ value |= (integer & 31) << shift;
244555
+ shift += 5;
244556
+ } while (integer & 32);
244557
+ const shouldNegate = value & 1;
244558
+ value >>>= 1;
244559
+ if (shouldNegate) {
244560
+ value = -2147483648 | -value;
244561
+ }
244562
+ return relative4 + value;
244563
+ }
244564
+ function encodeInteger(builder, num, relative4) {
244565
+ let delta = num - relative4;
244566
+ delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
244567
+ do {
244568
+ let clamped = delta & 31;
244569
+ delta >>>= 5;
244570
+ if (delta > 0)
244571
+ clamped |= 32;
244572
+ builder.write(intToChar[clamped]);
244573
+ } while (delta > 0);
244574
+ return num;
244575
+ }
244576
+ function hasMoreVlq(reader, max) {
244577
+ if (reader.pos >= max)
244578
+ return false;
244579
+ return reader.peek() !== comma;
244580
+ }
244581
+ var bufLength = 1024 * 16;
243004
244582
  var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? {
243005
244583
  decode(buf) {
243006
244584
  const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
@@ -243015,72 +244593,86 @@ var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder()
243015
244593
  return out;
243016
244594
  }
243017
244595
  };
244596
+ var StringWriter = class {
244597
+ constructor() {
244598
+ this.pos = 0;
244599
+ this.out = "";
244600
+ this.buffer = new Uint8Array(bufLength);
244601
+ }
244602
+ write(v) {
244603
+ const { buffer } = this;
244604
+ buffer[this.pos++] = v;
244605
+ if (this.pos === bufLength) {
244606
+ this.out += td.decode(buffer);
244607
+ this.pos = 0;
244608
+ }
244609
+ }
244610
+ flush() {
244611
+ const { buffer, out, pos } = this;
244612
+ return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
244613
+ }
244614
+ };
244615
+ var StringReader = class {
244616
+ constructor(buffer) {
244617
+ this.pos = 0;
244618
+ this.buffer = buffer;
244619
+ }
244620
+ next() {
244621
+ return this.buffer.charCodeAt(this.pos++);
244622
+ }
244623
+ peek() {
244624
+ return this.buffer.charCodeAt(this.pos);
244625
+ }
244626
+ indexOf(char) {
244627
+ const { buffer, pos } = this;
244628
+ const idx = buffer.indexOf(char, pos);
244629
+ return idx === -1 ? buffer.length : idx;
244630
+ }
244631
+ };
243018
244632
  function decode(mappings) {
243019
- const state = new Int32Array(5);
244633
+ const { length: length3 } = mappings;
244634
+ const reader = new StringReader(mappings);
243020
244635
  const decoded = [];
243021
- let index2 = 0;
244636
+ let genColumn = 0;
244637
+ let sourcesIndex = 0;
244638
+ let sourceLine = 0;
244639
+ let sourceColumn = 0;
244640
+ let namesIndex = 0;
243022
244641
  do {
243023
- const semi = indexOf(mappings, index2);
244642
+ const semi = reader.indexOf(";");
243024
244643
  const line = [];
243025
244644
  let sorted = true;
243026
244645
  let lastCol = 0;
243027
- state[0] = 0;
243028
- for (let i = index2; i < semi; i++) {
244646
+ genColumn = 0;
244647
+ while (reader.pos < semi) {
243029
244648
  let seg;
243030
- i = decodeInteger(mappings, i, state, 0);
243031
- const col = state[0];
243032
- if (col < lastCol)
244649
+ genColumn = decodeInteger(reader, genColumn);
244650
+ if (genColumn < lastCol)
243033
244651
  sorted = false;
243034
- lastCol = col;
243035
- if (hasMoreVlq(mappings, i, semi)) {
243036
- i = decodeInteger(mappings, i, state, 1);
243037
- i = decodeInteger(mappings, i, state, 2);
243038
- i = decodeInteger(mappings, i, state, 3);
243039
- if (hasMoreVlq(mappings, i, semi)) {
243040
- i = decodeInteger(mappings, i, state, 4);
243041
- seg = [col, state[1], state[2], state[3], state[4]];
244652
+ lastCol = genColumn;
244653
+ if (hasMoreVlq(reader, semi)) {
244654
+ sourcesIndex = decodeInteger(reader, sourcesIndex);
244655
+ sourceLine = decodeInteger(reader, sourceLine);
244656
+ sourceColumn = decodeInteger(reader, sourceColumn);
244657
+ if (hasMoreVlq(reader, semi)) {
244658
+ namesIndex = decodeInteger(reader, namesIndex);
244659
+ seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];
243042
244660
  } else {
243043
- seg = [col, state[1], state[2], state[3]];
244661
+ seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];
243044
244662
  }
243045
244663
  } else {
243046
- seg = [col];
244664
+ seg = [genColumn];
243047
244665
  }
243048
244666
  line.push(seg);
244667
+ reader.pos++;
243049
244668
  }
243050
244669
  if (!sorted)
243051
244670
  sort(line);
243052
244671
  decoded.push(line);
243053
- index2 = semi + 1;
243054
- } while (index2 <= mappings.length);
244672
+ reader.pos = semi + 1;
244673
+ } while (reader.pos <= length3);
243055
244674
  return decoded;
243056
244675
  }
243057
- function indexOf(mappings, index2) {
243058
- const idx = mappings.indexOf(";", index2);
243059
- return idx === -1 ? mappings.length : idx;
243060
- }
243061
- function decodeInteger(mappings, pos, state, j) {
243062
- let value = 0;
243063
- let shift = 0;
243064
- let integer = 0;
243065
- do {
243066
- const c = mappings.charCodeAt(pos++);
243067
- integer = charToInt[c];
243068
- value |= (integer & 31) << shift;
243069
- shift += 5;
243070
- } while (integer & 32);
243071
- const shouldNegate = value & 1;
243072
- value >>>= 1;
243073
- if (shouldNegate) {
243074
- value = -2147483648 | -value;
243075
- }
243076
- state[j] += value;
243077
- return pos;
243078
- }
243079
- function hasMoreVlq(mappings, i, length3) {
243080
- if (i >= length3)
243081
- return false;
243082
- return mappings.charCodeAt(i) !== comma;
243083
- }
243084
244676
  function sort(line) {
243085
244677
  line.sort(sortComparator);
243086
244678
  }
@@ -243088,60 +244680,34 @@ function sortComparator(a, b) {
243088
244680
  return a[0] - b[0];
243089
244681
  }
243090
244682
  function encode(decoded) {
243091
- const state = new Int32Array(5);
243092
- const bufLength = 1024 * 16;
243093
- const subLength = bufLength - 36;
243094
- const buf = new Uint8Array(bufLength);
243095
- const sub = buf.subarray(0, subLength);
243096
- let pos = 0;
243097
- let out = "";
244683
+ const writer = new StringWriter();
244684
+ let sourcesIndex = 0;
244685
+ let sourceLine = 0;
244686
+ let sourceColumn = 0;
244687
+ let namesIndex = 0;
243098
244688
  for (let i = 0; i < decoded.length; i++) {
243099
244689
  const line = decoded[i];
243100
- if (i > 0) {
243101
- if (pos === bufLength) {
243102
- out += td.decode(buf);
243103
- pos = 0;
243104
- }
243105
- buf[pos++] = semicolon;
243106
- }
244690
+ if (i > 0)
244691
+ writer.write(semicolon);
243107
244692
  if (line.length === 0)
243108
244693
  continue;
243109
- state[0] = 0;
244694
+ let genColumn = 0;
243110
244695
  for (let j = 0; j < line.length; j++) {
243111
244696
  const segment = line[j];
243112
- if (pos > subLength) {
243113
- out += td.decode(sub);
243114
- buf.copyWithin(0, subLength, pos);
243115
- pos -= subLength;
243116
- }
243117
244697
  if (j > 0)
243118
- buf[pos++] = comma;
243119
- pos = encodeInteger(buf, pos, state, segment, 0);
244698
+ writer.write(comma);
244699
+ genColumn = encodeInteger(writer, segment[0], genColumn);
243120
244700
  if (segment.length === 1)
243121
244701
  continue;
243122
- pos = encodeInteger(buf, pos, state, segment, 1);
243123
- pos = encodeInteger(buf, pos, state, segment, 2);
243124
- pos = encodeInteger(buf, pos, state, segment, 3);
244702
+ sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
244703
+ sourceLine = encodeInteger(writer, segment[2], sourceLine);
244704
+ sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
243125
244705
  if (segment.length === 4)
243126
244706
  continue;
243127
- pos = encodeInteger(buf, pos, state, segment, 4);
244707
+ namesIndex = encodeInteger(writer, segment[4], namesIndex);
243128
244708
  }
243129
244709
  }
243130
- return out + td.decode(buf.subarray(0, pos));
243131
- }
243132
- function encodeInteger(buf, pos, state, segment, j) {
243133
- const next = segment[j];
243134
- let num = next - state[j];
243135
- state[j] = next;
243136
- num = num < 0 ? -num << 1 | 1 : num << 1;
243137
- do {
243138
- let clamped = num & 31;
243139
- num >>>= 5;
243140
- if (num > 0)
243141
- clamped |= 32;
243142
- buf[pos++] = intToChar[clamped];
243143
- } while (num > 0);
243144
- return pos;
244710
+ return writer.flush();
243145
244711
  }
243146
244712
 
243147
244713
  // node_modules/magic-string/dist/magic-string.es.mjs
@@ -243313,6 +244879,9 @@ var SourceMap = class {
243313
244879
  if (typeof properties.x_google_ignoreList !== "undefined") {
243314
244880
  this.x_google_ignoreList = properties.x_google_ignoreList;
243315
244881
  }
244882
+ if (typeof properties.debugId !== "undefined") {
244883
+ this.debugId = properties.debugId;
244884
+ }
243316
244885
  }
243317
244886
  toString() {
243318
244887
  return JSON.stringify(this);
@@ -243422,22 +244991,6 @@ var Mappings = class {
243422
244991
  let first = true;
243423
244992
  let charInHiresBoundary = false;
243424
244993
  while (originalCharIndex < chunk.end) {
243425
- if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
243426
- const segment = [this.generatedCodeColumn, sourceIndex2, loc.line, loc.column];
243427
- if (this.hires === "boundary") {
243428
- if (wordRegex.test(original[originalCharIndex])) {
243429
- if (!charInHiresBoundary) {
243430
- this.rawSegments.push(segment);
243431
- charInHiresBoundary = true;
243432
- }
243433
- } else {
243434
- this.rawSegments.push(segment);
243435
- charInHiresBoundary = false;
243436
- }
243437
- } else {
243438
- this.rawSegments.push(segment);
243439
- }
243440
- }
243441
244994
  if (original[originalCharIndex] === "\n") {
243442
244995
  loc.line += 1;
243443
244996
  loc.column = 0;
@@ -243445,7 +244998,24 @@ var Mappings = class {
243445
244998
  this.raw[this.generatedCodeLine] = this.rawSegments = [];
243446
244999
  this.generatedCodeColumn = 0;
243447
245000
  first = true;
245001
+ charInHiresBoundary = false;
243448
245002
  } else {
245003
+ if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
245004
+ const segment = [this.generatedCodeColumn, sourceIndex2, loc.line, loc.column];
245005
+ if (this.hires === "boundary") {
245006
+ if (wordRegex.test(original[originalCharIndex])) {
245007
+ if (!charInHiresBoundary) {
245008
+ this.rawSegments.push(segment);
245009
+ charInHiresBoundary = true;
245010
+ }
245011
+ } else {
245012
+ this.rawSegments.push(segment);
245013
+ charInHiresBoundary = false;
245014
+ }
245015
+ } else {
245016
+ this.rawSegments.push(segment);
245017
+ }
245018
+ }
243449
245019
  loc.column += 1;
243450
245020
  this.generatedCodeColumn += 1;
243451
245021
  first = false;
@@ -243490,7 +245060,8 @@ var MagicString = class _MagicString {
243490
245060
  sourcemapLocations: { writable: true, value: new BitSet() },
243491
245061
  storedNames: { writable: true, value: {} },
243492
245062
  indentStr: { writable: true, value: void 0 },
243493
- ignoreList: { writable: true, value: options.ignoreList }
245063
+ ignoreList: { writable: true, value: options.ignoreList },
245064
+ offset: { writable: true, value: options.offset || 0 }
243494
245065
  });
243495
245066
  this.byStart[0] = chunk;
243496
245067
  this.byEnd[string.length] = chunk;
@@ -243504,6 +245075,7 @@ var MagicString = class _MagicString {
243504
245075
  return this;
243505
245076
  }
243506
245077
  appendLeft(index2, content) {
245078
+ index2 = index2 + this.offset;
243507
245079
  if (typeof content !== "string") throw new TypeError("inserted content must be a string");
243508
245080
  this._split(index2);
243509
245081
  const chunk = this.byEnd[index2];
@@ -243515,6 +245087,7 @@ var MagicString = class _MagicString {
243515
245087
  return this;
243516
245088
  }
243517
245089
  appendRight(index2, content) {
245090
+ index2 = index2 + this.offset;
243518
245091
  if (typeof content !== "string") throw new TypeError("inserted content must be a string");
243519
245092
  this._split(index2);
243520
245093
  const chunk = this.byStart[index2];
@@ -243526,7 +245099,7 @@ var MagicString = class _MagicString {
243526
245099
  return this;
243527
245100
  }
243528
245101
  clone() {
243529
- const cloned = new _MagicString(this.original, { filename: this.filename });
245102
+ const cloned = new _MagicString(this.original, { filename: this.filename, offset: this.offset });
243530
245103
  let originalChunk = this.firstChunk;
243531
245104
  let clonedChunk = cloned.firstChunk = cloned.lastSearchedChunk = originalChunk.clone();
243532
245105
  while (originalChunk) {
@@ -243691,6 +245264,9 @@ var MagicString = class _MagicString {
243691
245264
  return this.prependRight(index2, content);
243692
245265
  }
243693
245266
  move(start, end, index2) {
245267
+ start = start + this.offset;
245268
+ end = end + this.offset;
245269
+ index2 = index2 + this.offset;
243694
245270
  if (index2 >= start && index2 <= end) throw new Error("Cannot move a selection inside itself");
243695
245271
  this._split(start);
243696
245272
  this._split(end);
@@ -243722,9 +245298,13 @@ var MagicString = class _MagicString {
243722
245298
  return this.update(start, end, content, { ...options, overwrite: !options.contentOnly });
243723
245299
  }
243724
245300
  update(start, end, content, options) {
245301
+ start = start + this.offset;
245302
+ end = end + this.offset;
243725
245303
  if (typeof content !== "string") throw new TypeError("replacement content must be a string");
243726
- while (start < 0) start += this.original.length;
243727
- while (end < 0) end += this.original.length;
245304
+ if (this.original.length !== 0) {
245305
+ while (start < 0) start += this.original.length;
245306
+ while (end < 0) end += this.original.length;
245307
+ }
243728
245308
  if (end > this.original.length) throw new Error("end is out of bounds");
243729
245309
  if (start === end)
243730
245310
  throw new Error(
@@ -243776,6 +245356,7 @@ var MagicString = class _MagicString {
243776
245356
  return this;
243777
245357
  }
243778
245358
  prependLeft(index2, content) {
245359
+ index2 = index2 + this.offset;
243779
245360
  if (typeof content !== "string") throw new TypeError("inserted content must be a string");
243780
245361
  this._split(index2);
243781
245362
  const chunk = this.byEnd[index2];
@@ -243787,6 +245368,7 @@ var MagicString = class _MagicString {
243787
245368
  return this;
243788
245369
  }
243789
245370
  prependRight(index2, content) {
245371
+ index2 = index2 + this.offset;
243790
245372
  if (typeof content !== "string") throw new TypeError("inserted content must be a string");
243791
245373
  this._split(index2);
243792
245374
  const chunk = this.byStart[index2];
@@ -243798,8 +245380,12 @@ var MagicString = class _MagicString {
243798
245380
  return this;
243799
245381
  }
243800
245382
  remove(start, end) {
243801
- while (start < 0) start += this.original.length;
243802
- while (end < 0) end += this.original.length;
245383
+ start = start + this.offset;
245384
+ end = end + this.offset;
245385
+ if (this.original.length !== 0) {
245386
+ while (start < 0) start += this.original.length;
245387
+ while (end < 0) end += this.original.length;
245388
+ }
243803
245389
  if (start === end) return this;
243804
245390
  if (start < 0 || end > this.original.length) throw new Error("Character is out of bounds");
243805
245391
  if (start > end) throw new Error("end must be greater than start");
@@ -243815,8 +245401,12 @@ var MagicString = class _MagicString {
243815
245401
  return this;
243816
245402
  }
243817
245403
  reset(start, end) {
243818
- while (start < 0) start += this.original.length;
243819
- while (end < 0) end += this.original.length;
245404
+ start = start + this.offset;
245405
+ end = end + this.offset;
245406
+ if (this.original.length !== 0) {
245407
+ while (start < 0) start += this.original.length;
245408
+ while (end < 0) end += this.original.length;
245409
+ }
243820
245410
  if (start === end) return this;
243821
245411
  if (start < 0 || end > this.original.length) throw new Error("Character is out of bounds");
243822
245412
  if (start > end) throw new Error("end must be greater than start");
@@ -243866,9 +245456,13 @@ var MagicString = class _MagicString {
243866
245456
  if (lineIndex !== -1) return this.intro.substr(lineIndex + 1) + lineStr;
243867
245457
  return this.intro + lineStr;
243868
245458
  }
243869
- slice(start = 0, end = this.original.length) {
243870
- while (start < 0) start += this.original.length;
243871
- while (end < 0) end += this.original.length;
245459
+ slice(start = 0, end = this.original.length - this.offset) {
245460
+ start = start + this.offset;
245461
+ end = end + this.offset;
245462
+ if (this.original.length !== 0) {
245463
+ while (start < 0) start += this.original.length;
245464
+ while (end < 0) end += this.original.length;
245465
+ }
243872
245466
  let result2 = "";
243873
245467
  let chunk = this.firstChunk;
243874
245468
  while (chunk && (chunk.start > start || chunk.end <= start)) {
@@ -244041,11 +245635,7 @@ var MagicString = class _MagicString {
244041
245635
  if (match2.index != null) {
244042
245636
  const replacement2 = getReplacement(match2, this.original);
244043
245637
  if (replacement2 !== match2[0]) {
244044
- this.overwrite(
244045
- match2.index,
244046
- match2.index + match2[0].length,
244047
- replacement2
244048
- );
245638
+ this.overwrite(match2.index, match2.index + match2[0].length, replacement2);
244049
245639
  }
244050
245640
  }
244051
245641
  });
@@ -244054,11 +245644,7 @@ var MagicString = class _MagicString {
244054
245644
  if (match2 && match2.index != null) {
244055
245645
  const replacement2 = getReplacement(match2, this.original);
244056
245646
  if (replacement2 !== match2[0]) {
244057
- this.overwrite(
244058
- match2.index,
244059
- match2.index + match2[0].length,
244060
- replacement2
244061
- );
245647
+ this.overwrite(match2.index, match2.index + match2[0].length, replacement2);
244062
245648
  }
244063
245649
  }
244064
245650
  }
@@ -244083,8 +245669,7 @@ var MagicString = class _MagicString {
244083
245669
  const stringLength = string.length;
244084
245670
  for (let index2 = original.indexOf(string); index2 !== -1; index2 = original.indexOf(string, index2 + stringLength)) {
244085
245671
  const previous = original.slice(index2, index2 + stringLength);
244086
- if (previous !== replacement)
244087
- this.overwrite(index2, index2 + stringLength, replacement);
245672
+ if (previous !== replacement) this.overwrite(index2, index2 + stringLength, replacement);
244088
245673
  }
244089
245674
  return this;
244090
245675
  }
@@ -260009,14 +261594,20 @@ var validateTesting = (config, diagnostics) => {
260009
261594
  } else {
260010
261595
  configPathDir = config.rootDir;
260011
261596
  }
260012
- if (typeof config.flags.headless === "boolean" || config.flags.headless === "new") {
261597
+ if (typeof config.flags.headless === "boolean" || config.flags.headless === "shell") {
260013
261598
  testing.browserHeadless = config.flags.headless;
260014
- } else if (typeof testing.browserHeadless !== "boolean" && testing.browserHeadless !== "new") {
260015
- testing.browserHeadless = true;
261599
+ } else if (typeof testing.browserHeadless !== "boolean" && testing.browserHeadless !== "shell") {
261600
+ testing.browserHeadless = "shell";
261601
+ }
261602
+ if (typeof testing.browserHeadless === "boolean" && testing.browserHeadless) {
261603
+ throw new Error(`Setting "browserHeadless" config to \`true\` is not supported anymore, please set it to "shell"!`);
260016
261604
  }
260017
261605
  if (!testing.browserWaitUntil) {
260018
261606
  testing.browserWaitUntil = "load";
260019
261607
  }
261608
+ if (!isString(testing.browserChannel)) {
261609
+ testing.browserChannel = "chrome";
261610
+ }
260020
261611
  testing.browserArgs = testing.browserArgs || [];
260021
261612
  addTestingConfigOption(testing.browserArgs, "--font-render-hinting=medium");
260022
261613
  addTestingConfigOption(testing.browserArgs, "--incognito");
@@ -260024,7 +261615,7 @@ var validateTesting = (config, diagnostics) => {
260024
261615
  addTestingConfigOption(testing.browserArgs, "--no-sandbox");
260025
261616
  addTestingConfigOption(testing.browserArgs, "--disable-setuid-sandbox");
260026
261617
  addTestingConfigOption(testing.browserArgs, "--disable-dev-shm-usage");
260027
- testing.browserHeadless = testing.browserHeadless === "new" ? "new" : true;
261618
+ testing.browserHeadless = "shell";
260028
261619
  } else if (config.flags.devtools || testing.browserDevtools) {
260029
261620
  testing.browserDevtools = true;
260030
261621
  testing.browserHeadless = false;