@storm-software/workspace-tools 1.226.3 → 1.227.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.
@@ -1587,8 +1587,8 @@ var require_universalify = __commonJS({
1587
1587
  return Object.defineProperty(function(...args) {
1588
1588
  if (typeof args[args.length - 1] === "function") fn2.apply(this, args);
1589
1589
  else {
1590
- return new Promise((resolve3, reject) => {
1591
- args.push((err, res) => err != null ? reject(err) : resolve3(res));
1590
+ return new Promise((resolve4, reject) => {
1591
+ args.push((err, res) => err != null ? reject(err) : resolve4(res));
1592
1592
  fn2.apply(this, args);
1593
1593
  });
1594
1594
  }
@@ -1612,12 +1612,12 @@ var require_polyfills = __commonJS({
1612
1612
  "node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js"(exports2, module2) {
1613
1613
  var constants3 = require("constants");
1614
1614
  var origCwd = process.cwd;
1615
- var cwd2 = null;
1615
+ var cwd3 = null;
1616
1616
  var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform;
1617
1617
  process.cwd = function() {
1618
- if (!cwd2)
1619
- cwd2 = origCwd.call(process);
1620
- return cwd2;
1618
+ if (!cwd3)
1619
+ cwd3 = origCwd.call(process);
1620
+ return cwd3;
1621
1621
  };
1622
1622
  try {
1623
1623
  process.cwd();
@@ -1626,7 +1626,7 @@ var require_polyfills = __commonJS({
1626
1626
  if (typeof process.chdir === "function") {
1627
1627
  chdir = process.chdir;
1628
1628
  process.chdir = function(d4) {
1629
- cwd2 = null;
1629
+ cwd3 = null;
1630
1630
  chdir.call(process, d4);
1631
1631
  };
1632
1632
  if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, chdir);
@@ -2436,18 +2436,18 @@ var require_fs = __commonJS({
2436
2436
  if (typeof callback === "function") {
2437
2437
  return fs2.exists(filename, callback);
2438
2438
  }
2439
- return new Promise((resolve3) => {
2440
- return fs2.exists(filename, resolve3);
2439
+ return new Promise((resolve4) => {
2440
+ return fs2.exists(filename, resolve4);
2441
2441
  });
2442
2442
  };
2443
2443
  exports2.read = function(fd, buffer, offset2, length, position, callback) {
2444
2444
  if (typeof callback === "function") {
2445
2445
  return fs2.read(fd, buffer, offset2, length, position, callback);
2446
2446
  }
2447
- return new Promise((resolve3, reject) => {
2447
+ return new Promise((resolve4, reject) => {
2448
2448
  fs2.read(fd, buffer, offset2, length, position, (err, bytesRead, buffer2) => {
2449
2449
  if (err) return reject(err);
2450
- resolve3({ bytesRead, buffer: buffer2 });
2450
+ resolve4({ bytesRead, buffer: buffer2 });
2451
2451
  });
2452
2452
  });
2453
2453
  };
@@ -2455,10 +2455,10 @@ var require_fs = __commonJS({
2455
2455
  if (typeof args[args.length - 1] === "function") {
2456
2456
  return fs2.write(fd, buffer, ...args);
2457
2457
  }
2458
- return new Promise((resolve3, reject) => {
2458
+ return new Promise((resolve4, reject) => {
2459
2459
  fs2.write(fd, buffer, ...args, (err, bytesWritten, buffer2) => {
2460
2460
  if (err) return reject(err);
2461
- resolve3({ bytesWritten, buffer: buffer2 });
2461
+ resolve4({ bytesWritten, buffer: buffer2 });
2462
2462
  });
2463
2463
  });
2464
2464
  };
@@ -2466,10 +2466,10 @@ var require_fs = __commonJS({
2466
2466
  if (typeof args[args.length - 1] === "function") {
2467
2467
  return fs2.readv(fd, buffers, ...args);
2468
2468
  }
2469
- return new Promise((resolve3, reject) => {
2469
+ return new Promise((resolve4, reject) => {
2470
2470
  fs2.readv(fd, buffers, ...args, (err, bytesRead, buffers2) => {
2471
2471
  if (err) return reject(err);
2472
- resolve3({ bytesRead, buffers: buffers2 });
2472
+ resolve4({ bytesRead, buffers: buffers2 });
2473
2473
  });
2474
2474
  });
2475
2475
  };
@@ -2477,10 +2477,10 @@ var require_fs = __commonJS({
2477
2477
  if (typeof args[args.length - 1] === "function") {
2478
2478
  return fs2.writev(fd, buffers, ...args);
2479
2479
  }
2480
- return new Promise((resolve3, reject) => {
2480
+ return new Promise((resolve4, reject) => {
2481
2481
  fs2.writev(fd, buffers, ...args, (err, bytesWritten, buffers2) => {
2482
2482
  if (err) return reject(err);
2483
- resolve3({ bytesWritten, buffers: buffers2 });
2483
+ resolve4({ bytesWritten, buffers: buffers2 });
2484
2484
  });
2485
2485
  });
2486
2486
  };
@@ -3311,9 +3311,9 @@ var require_symlink = __commonJS({
3311
3311
  ]);
3312
3312
  if (areIdentical(srcStat, dstStat)) return;
3313
3313
  }
3314
- const relative2 = await symlinkPaths(srcpath, dstpath);
3315
- srcpath = relative2.toDst;
3316
- const toType = await symlinkType(relative2.toCwd, type);
3314
+ const relative3 = await symlinkPaths(srcpath, dstpath);
3315
+ srcpath = relative3.toDst;
3316
+ const toType = await symlinkType(relative3.toCwd, type);
3317
3317
  const dir = path6.dirname(dstpath);
3318
3318
  if (!await pathExists2(dir)) {
3319
3319
  await mkdirs(dir);
@@ -3331,9 +3331,9 @@ var require_symlink = __commonJS({
3331
3331
  const dstStat = fs2.statSync(dstpath);
3332
3332
  if (areIdentical(srcStat, dstStat)) return;
3333
3333
  }
3334
- const relative2 = symlinkPathsSync(srcpath, dstpath);
3335
- srcpath = relative2.toDst;
3336
- type = symlinkTypeSync(relative2.toCwd, type);
3334
+ const relative3 = symlinkPathsSync(srcpath, dstpath);
3335
+ srcpath = relative3.toDst;
3336
+ type = symlinkTypeSync(relative3.toCwd, type);
3337
3337
  const dir = path6.dirname(dstpath);
3338
3338
  const exists = fs2.existsSync(dir);
3339
3339
  if (exists) return fs2.symlinkSync(srcpath, dstpath, type);
@@ -6166,29 +6166,29 @@ var require_jiti = __commonJS({
6166
6166
  }
6167
6167
  Symbol.for("ufo:protocolRelative");
6168
6168
  Object.defineProperty;
6169
- const _DRIVE_LETTER_START_RE2 = /^[A-Za-z]:\//;
6170
- function normalizeWindowsPath2(input = "") {
6171
- return input ? input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE2, (r4) => r4.toUpperCase()) : input;
6169
+ const _DRIVE_LETTER_START_RE3 = /^[A-Za-z]:\//;
6170
+ function normalizeWindowsPath3(input = "") {
6171
+ return input ? input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE3, (r4) => r4.toUpperCase()) : input;
6172
6172
  }
6173
- const _UNC_REGEX2 = /^[/\\]{2}/, _IS_ABSOLUTE_RE2 = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, _DRIVE_LETTER_RE2 = /^[A-Za-z]:$/, pathe_ff20891b_normalize = function(path6) {
6173
+ const _UNC_REGEX3 = /^[/\\]{2}/, _IS_ABSOLUTE_RE3 = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, _DRIVE_LETTER_RE3 = /^[A-Za-z]:$/, pathe_ff20891b_normalize = function(path6) {
6174
6174
  if (0 === path6.length) return ".";
6175
- const isUNCPath = (path6 = normalizeWindowsPath2(path6)).match(_UNC_REGEX2), isPathAbsolute = isAbsolute2(path6), trailingSeparator = "/" === path6[path6.length - 1];
6176
- return 0 === (path6 = normalizeString2(path6, !isPathAbsolute)).length ? isPathAbsolute ? "/" : trailingSeparator ? "./" : "." : (trailingSeparator && (path6 += "/"), _DRIVE_LETTER_RE2.test(path6) && (path6 += "/"), isUNCPath ? isPathAbsolute ? `//${path6}` : `//./${path6}` : isPathAbsolute && !isAbsolute2(path6) ? `/${path6}` : path6);
6177
- }, join4 = function(...arguments_) {
6175
+ const isUNCPath = (path6 = normalizeWindowsPath3(path6)).match(_UNC_REGEX3), isPathAbsolute = isAbsolute3(path6), trailingSeparator = "/" === path6[path6.length - 1];
6176
+ return 0 === (path6 = normalizeString3(path6, !isPathAbsolute)).length ? isPathAbsolute ? "/" : trailingSeparator ? "./" : "." : (trailingSeparator && (path6 += "/"), _DRIVE_LETTER_RE3.test(path6) && (path6 += "/"), isUNCPath ? isPathAbsolute ? `//${path6}` : `//./${path6}` : isPathAbsolute && !isAbsolute3(path6) ? `/${path6}` : path6);
6177
+ }, join5 = function(...arguments_) {
6178
6178
  if (0 === arguments_.length) return ".";
6179
6179
  let joined;
6180
6180
  for (const argument of arguments_) argument && argument.length > 0 && (void 0 === joined ? joined = argument : joined += `/${argument}`);
6181
6181
  return void 0 === joined ? "." : pathe_ff20891b_normalize(joined.replace(/\/\/+/g, "/"));
6182
6182
  };
6183
- const resolve3 = function(...arguments_) {
6183
+ const resolve4 = function(...arguments_) {
6184
6184
  let resolvedPath = "", resolvedAbsolute = false;
6185
- for (let index = (arguments_ = arguments_.map((argument) => normalizeWindowsPath2(argument))).length - 1; index >= -1 && !resolvedAbsolute; index--) {
6185
+ for (let index = (arguments_ = arguments_.map((argument) => normalizeWindowsPath3(argument))).length - 1; index >= -1 && !resolvedAbsolute; index--) {
6186
6186
  const path6 = index >= 0 ? arguments_[index] : "undefined" != typeof process && "function" == typeof process.cwd ? process.cwd().replace(/\\/g, "/") : "/";
6187
- path6 && 0 !== path6.length && (resolvedPath = `${path6}/${resolvedPath}`, resolvedAbsolute = isAbsolute2(path6));
6187
+ path6 && 0 !== path6.length && (resolvedPath = `${path6}/${resolvedPath}`, resolvedAbsolute = isAbsolute3(path6));
6188
6188
  }
6189
- return resolvedPath = normalizeString2(resolvedPath, !resolvedAbsolute), resolvedAbsolute && !isAbsolute2(resolvedPath) ? `/${resolvedPath}` : resolvedPath.length > 0 ? resolvedPath : ".";
6189
+ return resolvedPath = normalizeString3(resolvedPath, !resolvedAbsolute), resolvedAbsolute && !isAbsolute3(resolvedPath) ? `/${resolvedPath}` : resolvedPath.length > 0 ? resolvedPath : ".";
6190
6190
  };
6191
- function normalizeString2(path6, allowAboveRoot) {
6191
+ function normalizeString3(path6, allowAboveRoot) {
6192
6192
  let res = "", lastSegmentLength = 0, lastSlash = -1, dots = 0, char = null;
6193
6193
  for (let index = 0; index <= path6.length; ++index) {
6194
6194
  if (index < path6.length) char = path6[index];
@@ -6217,16 +6217,16 @@ var require_jiti = __commonJS({
6217
6217
  }
6218
6218
  return res;
6219
6219
  }
6220
- const isAbsolute2 = function(p2) {
6221
- return _IS_ABSOLUTE_RE2.test(p2);
6222
- }, _EXTNAME_RE2 = /.(\.[^./]+)$/, extname3 = function(p2) {
6223
- const match2 = _EXTNAME_RE2.exec(normalizeWindowsPath2(p2));
6220
+ const isAbsolute3 = function(p2) {
6221
+ return _IS_ABSOLUTE_RE3.test(p2);
6222
+ }, _EXTNAME_RE2 = /.(\.[^./]+)$/, extname4 = function(p2) {
6223
+ const match2 = _EXTNAME_RE2.exec(normalizeWindowsPath3(p2));
6224
6224
  return match2 && match2[1] || "";
6225
6225
  }, pathe_ff20891b_dirname = function(p2) {
6226
- const segments = normalizeWindowsPath2(p2).replace(/\/$/, "").split("/").slice(0, -1);
6227
- return 1 === segments.length && _DRIVE_LETTER_RE2.test(segments[0]) && (segments[0] += "/"), segments.join("/") || (isAbsolute2(p2) ? "/" : ".");
6228
- }, basename3 = function(p2, extension) {
6229
- const lastSegment = normalizeWindowsPath2(p2).split("/").pop();
6226
+ const segments = normalizeWindowsPath3(p2).replace(/\/$/, "").split("/").slice(0, -1);
6227
+ return 1 === segments.length && _DRIVE_LETTER_RE3.test(segments[0]) && (segments[0] += "/"), segments.join("/") || (isAbsolute3(p2) ? "/" : ".");
6228
+ }, basename4 = function(p2, extension) {
6229
+ const lastSegment = normalizeWindowsPath3(p2).split("/").pop();
6230
6230
  return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
6231
6231
  }, external_node_url_namespaceObject = require("node:url"), external_node_assert_namespaceObject = require("node:assert"), external_node_process_namespaceObject = require("node:process"), external_node_path_namespaceObject = require("node:path"), external_node_v8_namespaceObject = require("node:v8"), external_node_util_namespaceObject = require("node:util"), BUILTIN_MODULES2 = new Set(external_node_module_namespaceObject.builtinModules);
6232
6232
  function normalizeSlash2(path6) {
@@ -6369,8 +6369,8 @@ var require_jiti = __commonJS({
6369
6369
  const packageType = getPackageType2(url);
6370
6370
  return "none" === packageType || "commonjs" === packageType ? "commonjs" : "module";
6371
6371
  }
6372
- const format3 = extensionFormatMap2[value2];
6373
- if (format3) return format3;
6372
+ const format4 = extensionFormatMap2[value2];
6373
+ if (format4) return format4;
6374
6374
  if (ignoreErrors) return;
6375
6375
  const filepath = (0, external_node_url_namespaceObject.fileURLToPath)(url);
6376
6376
  throw new ERR_UNKNOWN_FILE_EXTENSION2(value2, filepath);
@@ -6385,11 +6385,11 @@ var require_jiti = __commonJS({
6385
6385
  }
6386
6386
  function emitLegacyIndexDeprecation2(url, packageJsonUrl, base, main) {
6387
6387
  if (external_node_process_namespaceObject.noDeprecation) return;
6388
- const format3 = function(url2, context) {
6388
+ const format4 = function(url2, context) {
6389
6389
  const protocol = url2.protocol;
6390
6390
  return dist_hasOwnProperty.call(protocolHandlers2, protocol) && protocolHandlers2[protocol](url2, context, true) || null;
6391
6391
  }(url, { parentURL: base.href });
6392
- if ("module" !== format3) return;
6392
+ if ("module" !== format4) return;
6393
6393
  const urlPath = (0, external_node_url_namespaceObject.fileURLToPath)(url.href), packagePath = (0, external_node_url_namespaceObject.fileURLToPath)(new external_node_url_namespaceObject.URL(".", packageJsonUrl)), basePath = (0, external_node_url_namespaceObject.fileURLToPath)(base);
6394
6394
  main ? external_node_path_namespaceObject.resolve(packagePath, main) !== urlPath && external_node_process_namespaceObject.emitWarning(`Package ${packagePath} has a "main" field set to "${main}", excluding the full filename and extension to the resolved file at "${urlPath.slice(packagePath.length)}", imported from ${basePath}.
6395
6395
  Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151") : external_node_process_namespaceObject.emitWarning(`No "main" or "exports" field defined in the package.json for ${packagePath} resolving the main entry point "${urlPath.slice(packagePath.length)}", imported from ${basePath}.
@@ -6686,7 +6686,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6686
6686
  }
6687
6687
  if (/(node|data|http|https):/.test(id)) return id;
6688
6688
  if (BUILTIN_MODULES2.has(id)) return "node:" + id;
6689
- if (id.startsWith("file://") && (id = fileURLToPath5(id)), isAbsolute2(id)) try {
6689
+ if (id.startsWith("file://") && (id = fileURLToPath5(id)), isAbsolute3(id)) try {
6690
6690
  if ((0, external_node_fs_namespaceObject.statSync)(id).isFile()) return pathToFileURL2(id);
6691
6691
  } catch (error) {
6692
6692
  if ("ENOENT" !== error?.code) throw error;
@@ -6790,8 +6790,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6790
6790
  const debugMap = { true: green("true"), false: yellow("false"), "[esm]": blue("[esm]"), "[cjs]": green("[cjs]"), "[import]": blue("[import]"), "[require]": green("[require]"), "[native]": cyan("[native]"), "[transpile]": yellow("[transpile]"), "[fallback]": red("[fallback]"), "[unknown]": red("[unknown]"), "[hit]": green("[hit]"), "[miss]": yellow("[miss]"), "[json]": green("[json]"), "[data]": green("[data]") };
6791
6791
  function debug2(ctx, ...args) {
6792
6792
  if (!ctx.opts.debug) return;
6793
- const cwd2 = process.cwd();
6794
- console.log(gray(["[jiti]", ...args.map((arg) => arg in debugMap ? debugMap[arg] : "string" != typeof arg ? JSON.stringify(arg) : arg.replace(cwd2, "."))].join(" ")));
6793
+ const cwd3 = process.cwd();
6794
+ console.log(gray(["[jiti]", ...args.map((arg) => arg in debugMap ? debugMap[arg] : "string" != typeof arg ? JSON.stringify(arg) : arg.replace(cwd3, "."))].join(" ")));
6795
6795
  }
6796
6796
  function jitiInteropDefault(ctx, mod) {
6797
6797
  return ctx.opts.interopDefault ? function(mod2) {
@@ -6829,17 +6829,17 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6829
6829
  let resolved, lastError;
6830
6830
  if (ctx.isNativeRe.test(id)) return id;
6831
6831
  ctx.alias && (id = function(path6, aliases2) {
6832
- const _path = normalizeWindowsPath2(path6);
6832
+ const _path = normalizeWindowsPath3(path6);
6833
6833
  aliases2 = normalizeAliases(aliases2);
6834
6834
  for (const [alias, to] of Object.entries(aliases2)) {
6835
6835
  if (!_path.startsWith(alias)) continue;
6836
6836
  const _alias = utils_hasTrailingSlash(alias) ? alias.slice(0, -1) : alias;
6837
- if (utils_hasTrailingSlash(_path[_alias.length])) return join4(to, _path.slice(alias.length));
6837
+ if (utils_hasTrailingSlash(_path[_alias.length])) return join5(to, _path.slice(alias.length));
6838
6838
  }
6839
6839
  return _path;
6840
6840
  }(id, ctx.alias));
6841
6841
  let parentURL = options?.parentURL || ctx.url;
6842
- isDir(parentURL) && (parentURL = join4(parentURL, "_index.js"));
6842
+ isDir(parentURL) && (parentURL = join5(parentURL, "_index.js"));
6843
6843
  const conditionSets = (options?.async ? [options?.conditions, ["node", "import"], ["node", "require"]] : [options?.conditions, ["node", "require"], ["node", "import"]]).filter(Boolean);
6844
6844
  for (const conditions of conditionSets) {
6845
6845
  try {
@@ -6889,7 +6889,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6889
6889
  }
6890
6890
  const filename = jitiResolve(ctx, id, opts);
6891
6891
  if (!filename && opts.try) return;
6892
- const ext2 = extname3(filename);
6892
+ const ext2 = extname4(filename);
6893
6893
  if (".json" === ext2) {
6894
6894
  debug2(ctx, "[json]", filename);
6895
6895
  const jsonModule = ctx.nativeRequire(filename);
@@ -6907,7 +6907,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6907
6907
  }
6908
6908
  function nativeImportOrRequire(ctx, id, async) {
6909
6909
  return async && ctx.nativeImport ? ctx.nativeImport(function(id2) {
6910
- return _5 && isAbsolute2(id2) ? pathToFileURL2(id2) : id2;
6910
+ return _5 && isAbsolute3(id2) ? pathToFileURL2(id2) : id2;
6911
6911
  }(id)).then((m3) => jitiInteropDefault(ctx, m3)) : jitiInteropDefault(ctx, ctx.nativeRequire(id));
6912
6912
  }
6913
6913
  const CACHE_VERSION = "9";
@@ -6915,11 +6915,11 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6915
6915
  if (!ctx.opts.fsCache || !topts.filename) return get();
6916
6916
  const sourceHash = ` /* v${CACHE_VERSION}-${md5(topts.source, 16)} */
6917
6917
  `;
6918
- let cacheName = `${basename3(pathe_ff20891b_dirname(topts.filename))}-${function(path6) {
6918
+ let cacheName = `${basename4(pathe_ff20891b_dirname(topts.filename))}-${function(path6) {
6919
6919
  return path6.match(FILENAME_RE)?.[2];
6920
6920
  }(topts.filename)}` + (ctx.opts.sourceMaps ? "+map" : "") + (topts.interopDefault ? ".i" : "") + `.${md5(topts.filename)}` + (topts.async ? ".mjs" : ".cjs");
6921
6921
  topts.jsx && topts.filename.endsWith("x") && (cacheName += "x");
6922
- const cacheDir = ctx.opts.fsCache, cacheFilePath = join4(cacheDir, cacheName);
6922
+ const cacheDir = ctx.opts.fsCache, cacheFilePath = join5(cacheDir, cacheName);
6923
6923
  if ((0, external_node_fs_namespaceObject.existsSync)(cacheFilePath)) {
6924
6924
  const cacheSource = (0, external_node_fs_namespaceObject.readFileSync)(cacheFilePath, "utf8");
6925
6925
  if (cacheSource.endsWith(sourceHash)) return debug2(ctx, "[cache]", "[hit]", topts.filename, "~>", cacheFilePath), cacheSource;
@@ -6930,14 +6930,14 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6930
6930
  }
6931
6931
  function prepareCacheDir(ctx) {
6932
6932
  if (true === ctx.opts.fsCache && (ctx.opts.fsCache = function(ctx2) {
6933
- const nmDir = ctx2.filename && resolve3(ctx2.filename, "../node_modules");
6934
- if (nmDir && (0, external_node_fs_namespaceObject.existsSync)(nmDir)) return join4(nmDir, ".cache/jiti");
6933
+ const nmDir = ctx2.filename && resolve4(ctx2.filename, "../node_modules");
6934
+ if (nmDir && (0, external_node_fs_namespaceObject.existsSync)(nmDir)) return join5(nmDir, ".cache/jiti");
6935
6935
  let _tmpDir = (0, external_node_os_namespaceObject.tmpdir)();
6936
6936
  if (process.env.TMPDIR && _tmpDir === process.cwd() && !process.env.JITI_RESPECT_TMPDIR_ENV) {
6937
6937
  const _env = process.env.TMPDIR;
6938
6938
  delete process.env.TMPDIR, _tmpDir = (0, external_node_os_namespaceObject.tmpdir)(), process.env.TMPDIR = _env;
6939
6939
  }
6940
- return join4(_tmpDir, "jiti");
6940
+ return join5(_tmpDir, "jiti");
6941
6941
  }(ctx)), ctx.opts.fsCache) try {
6942
6942
  if ((0, external_node_fs_namespaceObject.mkdirSync)(ctx.opts.fsCache, { recursive: true }), !function(filename) {
6943
6943
  try {
@@ -6958,11 +6958,11 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6958
6958
  return code.startsWith("#!") && (code = "// " + code), code;
6959
6959
  }
6960
6960
  function eval_evalModule(ctx, source, evalOptions = {}) {
6961
- const id = evalOptions.id || (evalOptions.filename ? basename3(evalOptions.filename) : `_jitiEval.${evalOptions.ext || (evalOptions.async ? "mjs" : "js")}`), filename = evalOptions.filename || jitiResolve(ctx, id, { async: evalOptions.async }), ext2 = evalOptions.ext || extname3(filename), cache3 = evalOptions.cache || ctx.parentCache || {}, isTypescript = /\.[cm]?tsx?$/.test(ext2), isESM = ".mjs" === ext2 || ".js" === ext2 && "module" === function(path6) {
6961
+ const id = evalOptions.id || (evalOptions.filename ? basename4(evalOptions.filename) : `_jitiEval.${evalOptions.ext || (evalOptions.async ? "mjs" : "js")}`), filename = evalOptions.filename || jitiResolve(ctx, id, { async: evalOptions.async }), ext2 = evalOptions.ext || extname4(filename), cache3 = evalOptions.cache || ctx.parentCache || {}, isTypescript = /\.[cm]?tsx?$/.test(ext2), isESM = ".mjs" === ext2 || ".js" === ext2 && "module" === function(path6) {
6962
6962
  for (; path6 && "." !== path6 && "/" !== path6; ) {
6963
- path6 = join4(path6, "..");
6963
+ path6 = join5(path6, "..");
6964
6964
  try {
6965
- const pkg = (0, external_node_fs_namespaceObject.readFileSync)(join4(path6, "package.json"), "utf8");
6965
+ const pkg = (0, external_node_fs_namespaceObject.readFileSync)(join5(path6, "package.json"), "utf8");
6966
6966
  try {
6967
6967
  return JSON.parse(pkg);
6968
6968
  } catch {
@@ -7026,7 +7026,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
7026
7026
  const deprecatOverrides = {};
7027
7027
  return void 0 !== userOptions2.cache && (deprecatOverrides.fsCache = userOptions2.cache), void 0 !== userOptions2.requireCache && (deprecatOverrides.moduleCache = userOptions2.requireCache), { ...jitiDefaults, ...deprecatOverrides, ...userOptions2 };
7028
7028
  }(userOptions), alias = opts.alias && Object.keys(opts.alias).length > 0 ? normalizeAliases(opts.alias || {}) : void 0, nativeModules = ["typescript", "jiti", ...opts.nativeModules || []], isNativeRe = new RegExp(`node_modules/(${nativeModules.map((m3) => escapeStringRegexp(m3)).join("|")})/`), transformModules = [...opts.transformModules || []], isTransformRe = new RegExp(`node_modules/(${transformModules.map((m3) => escapeStringRegexp(m3)).join("|")})/`);
7029
- filename || (filename = process.cwd()), !isNested && isDir(filename) && (filename = join4(filename, "_index.js"));
7029
+ filename || (filename = process.cwd()), !isNested && isDir(filename) && (filename = join5(filename, "_index.js"));
7030
7030
  const url = pathToFileURL2(filename), additionalExts = [...opts.extensions].filter((ext2) => ".js" !== ext2), nativeRequire = parentContext.createRequire(isWindows ? filename.replace(/\//g, "\\") : filename), ctx = { filename, url, opts, alias, nativeModules, transformModules, isNativeRe, isTransformRe, additionalExts, nativeRequire, onError: parentContext.onError, parentModule: parentContext.parentModule, parentCache: parentContext.parentCache, nativeImport: parentContext.nativeImport, createRequire: parentContext.createRequire };
7031
7031
  isNested || debug2(ctx, "[init]", ...[["version:", package_namespaceObject.rE], ["module-cache:", opts.moduleCache], ["fs-cache:", opts.fsCache], ["interop-defaults:", opts.interopDefault]].flat()), isNested || prepareCacheDir(ctx);
7032
7032
  const jiti = Object.assign(function(id) {
@@ -7300,7 +7300,7 @@ Did you specify these with the most recent transformation maps first?`);
7300
7300
  for (let i2 = 1; i2 < pointer; i2++) path6 += "/" + pieces[i2];
7301
7301
  (!path6 || addTrailingSlash && !path6.endsWith("/..")) && (path6 += "/"), url.path = path6;
7302
7302
  }
7303
- function resolve3(input, base) {
7303
+ function resolve4(input, base) {
7304
7304
  if (!input && !base) return "";
7305
7305
  const url = parseUrl(input);
7306
7306
  let inputType = url.type;
@@ -7337,7 +7337,7 @@ Did you specify these with the most recent transformation maps first?`);
7337
7337
  return url.scheme + "//" + url.user + url.host + url.port + url.path + queryHash;
7338
7338
  }
7339
7339
  }
7340
- return resolve3;
7340
+ return resolve4;
7341
7341
  }();
7342
7342
  }, "./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js": function(__unused_webpack_module, exports3) {
7343
7343
  !function(exports4) {
@@ -7383,17 +7383,17 @@ Did you specify these with the most recent transformation maps first?`);
7383
7383
  const c = chars.charCodeAt(i2);
7384
7384
  intToChar[i2] = c, charToInt[c] = i2;
7385
7385
  }
7386
- function decodeInteger(reader, relative2) {
7386
+ function decodeInteger(reader, relative3) {
7387
7387
  let value2 = 0, shift = 0, integer = 0;
7388
7388
  do {
7389
7389
  const c = reader.next();
7390
7390
  integer = charToInt[c], value2 |= (31 & integer) << shift, shift += 5;
7391
7391
  } while (32 & integer);
7392
7392
  const shouldNegate = 1 & value2;
7393
- return value2 >>>= 1, shouldNegate && (value2 = -2147483648 | -value2), relative2 + value2;
7393
+ return value2 >>>= 1, shouldNegate && (value2 = -2147483648 | -value2), relative3 + value2;
7394
7394
  }
7395
- function encodeInteger(builder, num, relative2) {
7396
- let delta = num - relative2;
7395
+ function encodeInteger(builder, num, relative3) {
7396
+ let delta = num - relative3;
7397
7397
  delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
7398
7398
  do {
7399
7399
  let clamped = 31 & delta;
@@ -7601,7 +7601,7 @@ Did you specify these with the most recent transformation maps first?`);
7601
7601
  }, "./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js": function(__unused_webpack_module, exports3, __webpack_require__2) {
7602
7602
  !function(exports4, sourcemapCodec, resolveUri) {
7603
7603
  "use strict";
7604
- function resolve3(input, base) {
7604
+ function resolve4(input, base) {
7605
7605
  return base && !base.endsWith("/") && (base += "/"), resolveUri(input, base);
7606
7606
  }
7607
7607
  function stripFilename(path6) {
@@ -7682,12 +7682,12 @@ Did you specify these with the most recent transformation maps first?`);
7682
7682
  return { __proto__: null };
7683
7683
  }
7684
7684
  const AnyMap = function(map, mapUrl) {
7685
- const parsed = parse6(map);
7685
+ const parsed = parse7(map);
7686
7686
  if (!("sections" in parsed)) return new TraceMap(parsed, mapUrl);
7687
7687
  const mappings = [], sources = [], sourcesContent = [], names = [], ignoreList = [];
7688
7688
  return recurse(parsed, mapUrl, mappings, sources, sourcesContent, names, ignoreList, 0, 0, 1 / 0, 1 / 0), presortedDecodedMap({ version: 3, file: parsed.file, names, sources, sourcesContent, mappings, ignoreList });
7689
7689
  };
7690
- function parse6(map) {
7690
+ function parse7(map) {
7691
7691
  return "string" == typeof map ? JSON.parse(map) : map;
7692
7692
  }
7693
7693
  function recurse(input, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset, columnOffset, stopLine, stopColumn) {
@@ -7703,7 +7703,7 @@ Did you specify these with the most recent transformation maps first?`);
7703
7703
  }
7704
7704
  }
7705
7705
  function addSection(input, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset, columnOffset, stopLine, stopColumn) {
7706
- const parsed = parse6(input);
7706
+ const parsed = parse7(input);
7707
7707
  if ("sections" in parsed) return recurse(...arguments);
7708
7708
  const map = new TraceMap(parsed, mapUrl), sourcesOffset = sources.length, namesOffset = names.length, decoded = decodedMappings(map), { resolvedSources, sourcesContent: contents, ignoreList: ignores } = map;
7709
7709
  if (append(sources, resolvedSources), append(names, map.names), contents) append(sourcesContent, contents);
@@ -7739,8 +7739,8 @@ Did you specify these with the most recent transformation maps first?`);
7739
7739
  if (!isString && map._decodedMemo) return map;
7740
7740
  const parsed = isString ? JSON.parse(map) : map, { version: version2, file, names, sourceRoot, sources, sourcesContent } = parsed;
7741
7741
  this.version = version2, this.file = file, this.names = names || [], this.sourceRoot = sourceRoot, this.sources = sources, this.sourcesContent = sourcesContent, this.ignoreList = parsed.ignoreList || parsed.x_google_ignoreList || void 0;
7742
- const from = resolve3(sourceRoot || "", stripFilename(mapUrl));
7743
- this.resolvedSources = sources.map((s2) => resolve3(s2 || "", from));
7742
+ const from = resolve4(sourceRoot || "", stripFilename(mapUrl));
7743
+ this.resolvedSources = sources.map((s2) => resolve4(s2 || "", from));
7744
7744
  const { mappings } = parsed;
7745
7745
  "string" == typeof mappings ? (this._encoded = mappings, this._decoded = void 0) : (this._encoded = void 0, this._decoded = maybeSort(mappings, isString)), this._decodedMemo = memoizedState(), this._bySources = void 0, this._bySourceMemos = void 0;
7746
7746
  }
@@ -8157,10 +8157,10 @@ Did you specify these with the most recent transformation maps first?`);
8157
8157
  const self2 = debug2, curr = Number(/* @__PURE__ */ new Date()), ms = curr - (prevTime || curr);
8158
8158
  self2.diff = ms, self2.prev = prevTime, self2.curr = curr, prevTime = curr, args[0] = createDebug.coerce(args[0]), "string" != typeof args[0] && args.unshift("%O");
8159
8159
  let index = 0;
8160
- args[0] = args[0].replace(/%([a-zA-Z%])/g, (match2, format3) => {
8160
+ args[0] = args[0].replace(/%([a-zA-Z%])/g, (match2, format4) => {
8161
8161
  if ("%%" === match2) return "%";
8162
8162
  index++;
8163
- const formatter = createDebug.formatters[format3];
8163
+ const formatter = createDebug.formatters[format4];
8164
8164
  if ("function" == typeof formatter) {
8165
8165
  const val = args[index];
8166
8166
  match2 = formatter.call(self2, val), args.splice(index, 1), index--;
@@ -8290,7 +8290,7 @@ Did you specify these with the most recent transformation maps first?`);
8290
8290
  for (; !({ value: value2 } = gen.next()).done; ) assertStart(value2, gen);
8291
8291
  return value2;
8292
8292
  }
8293
- function evaluateAsync(gen, resolve3, reject) {
8293
+ function evaluateAsync(gen, resolve4, reject) {
8294
8294
  !function step() {
8295
8295
  try {
8296
8296
  let value2;
@@ -8302,7 +8302,7 @@ Did you specify these with the most recent transformation maps first?`);
8302
8302
  });
8303
8303
  if (sync2 = false, assertSuspend(out, gen), !didSyncResume) return;
8304
8304
  }
8305
- return resolve3(value2);
8305
+ return resolve4(value2);
8306
8306
  } catch (err) {
8307
8307
  return reject(err);
8308
8308
  }
@@ -8339,10 +8339,10 @@ Did you specify these with the most recent transformation maps first?`);
8339
8339
  "number" != typeof arity && (arity = sync2.length);
8340
8340
  return buildOperation({ name, arity, sync: function(args) {
8341
8341
  return sync2.apply(this, args);
8342
- }, async: function(args, resolve3, reject) {
8343
- async ? async.apply(this, args).then(resolve3, reject) : errback ? errback.call(this, ...args, (err, value2) => {
8344
- null == err ? resolve3(value2) : reject(err);
8345
- }) : resolve3(sync2.apply(this, args));
8342
+ }, async: function(args, resolve4, reject) {
8343
+ async ? async.apply(this, args).then(resolve4, reject) : errback ? errback.call(this, ...args, (err, value2) => {
8344
+ null == err ? resolve4(value2) : reject(err);
8345
+ }) : resolve4(sync2.apply(this, args));
8346
8346
  } });
8347
8347
  }(optsOrFn) : function(genFn2) {
8348
8348
  return setFunctionMetadata(genFn2.name, genFn2.length, function(...args) {
@@ -8352,8 +8352,8 @@ Did you specify these with the most recent transformation maps first?`);
8352
8352
  const fns = { sync: function(...args) {
8353
8353
  return evaluateSync(genFn2.apply(this, args));
8354
8354
  }, async: function(...args) {
8355
- return new Promise((resolve3, reject) => {
8356
- evaluateAsync(genFn2.apply(this, args), resolve3, reject);
8355
+ return new Promise((resolve4, reject) => {
8356
+ evaluateAsync(genFn2.apply(this, args), resolve4, reject);
8357
8357
  });
8358
8358
  }, errback: function(...args) {
8359
8359
  const cb = args.pop();
@@ -8370,25 +8370,25 @@ Did you specify these with the most recent transformation maps first?`);
8370
8370
  }(genFn));
8371
8371
  }, { all: buildOperation({ name: "all", arity: 1, sync: function(args) {
8372
8372
  return Array.from(args[0]).map((item) => evaluateSync(item));
8373
- }, async: function(args, resolve3, reject) {
8373
+ }, async: function(args, resolve4, reject) {
8374
8374
  const items = Array.from(args[0]);
8375
- if (0 === items.length) return void Promise.resolve().then(() => resolve3([]));
8375
+ if (0 === items.length) return void Promise.resolve().then(() => resolve4([]));
8376
8376
  let count = 0;
8377
8377
  const results = items.map(() => {
8378
8378
  });
8379
8379
  items.forEach((item, i2) => {
8380
8380
  evaluateAsync(item, (val) => {
8381
- results[i2] = val, count += 1, count === results.length && resolve3(results);
8381
+ results[i2] = val, count += 1, count === results.length && resolve4(results);
8382
8382
  }, reject);
8383
8383
  });
8384
8384
  } }), race: buildOperation({ name: "race", arity: 1, sync: function(args) {
8385
8385
  const items = Array.from(args[0]);
8386
8386
  if (0 === items.length) throw makeError2("Must race at least 1 item", "GENSYNC_RACE_NONEMPTY");
8387
8387
  return evaluateSync(items[0]);
8388
- }, async: function(args, resolve3, reject) {
8388
+ }, async: function(args, resolve4, reject) {
8389
8389
  const items = Array.from(args[0]);
8390
8390
  if (0 === items.length) throw makeError2("Must race at least 1 item", "GENSYNC_RACE_NONEMPTY");
8391
- for (const item of items) evaluateAsync(item, resolve3, reject);
8391
+ for (const item of items) evaluateAsync(item, resolve4, reject);
8392
8392
  } }) });
8393
8393
  }, "./node_modules/.pnpm/globals@11.12.0/node_modules/globals/index.js": (module3, __unused_webpack_exports, __webpack_require__2) => {
8394
8394
  "use strict";
@@ -8570,7 +8570,7 @@ Did you specify these with the most recent transformation maps first?`);
8570
8570
  tok("CARET"), src[t2.CARET] = "^" + src[t2.LONECARET] + src[t2.XRANGEPLAIN] + "$", tok("CARETLOOSE"), src[t2.CARETLOOSE] = "^" + src[t2.LONECARET] + src[t2.XRANGEPLAINLOOSE] + "$", tok("COMPARATORLOOSE"), src[t2.COMPARATORLOOSE] = "^" + src[t2.GTLT] + "\\s*(" + src[t2.LOOSEPLAIN] + ")$|^$", tok("COMPARATOR"), src[t2.COMPARATOR] = "^" + src[t2.GTLT] + "\\s*(" + src[t2.FULLPLAIN] + ")$|^$", tok("COMPARATORTRIM"), src[t2.COMPARATORTRIM] = "(\\s*)" + src[t2.GTLT] + "\\s*(" + src[t2.LOOSEPLAIN] + "|" + src[t2.XRANGEPLAIN] + ")", re3[t2.COMPARATORTRIM] = new RegExp(src[t2.COMPARATORTRIM], "g"), safeRe[t2.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t2.COMPARATORTRIM]), "g");
8571
8571
  tok("HYPHENRANGE"), src[t2.HYPHENRANGE] = "^\\s*(" + src[t2.XRANGEPLAIN] + ")\\s+-\\s+(" + src[t2.XRANGEPLAIN] + ")\\s*$", tok("HYPHENRANGELOOSE"), src[t2.HYPHENRANGELOOSE] = "^\\s*(" + src[t2.XRANGEPLAINLOOSE] + ")\\s+-\\s+(" + src[t2.XRANGEPLAINLOOSE] + ")\\s*$", tok("STAR"), src[t2.STAR] = "(<|>)?=?\\s*\\*";
8572
8572
  for (var i2 = 0; i2 < R3; i2++) debug2(i2, src[i2]), re3[i2] || (re3[i2] = new RegExp(src[i2]), safeRe[i2] = new RegExp(makeSafeRe(src[i2])));
8573
- function parse6(version2, options) {
8573
+ function parse7(version2, options) {
8574
8574
  if (options && "object" == typeof options || (options = { loose: !!options, includePrerelease: false }), version2 instanceof SemVer) return version2;
8575
8575
  if ("string" != typeof version2) return null;
8576
8576
  if (version2.length > MAX_LENGTH) return null;
@@ -8602,11 +8602,11 @@ Did you specify these with the most recent transformation maps first?`);
8602
8602
  return id;
8603
8603
  }) : this.prerelease = [], this.build = m3[5] ? m3[5].split(".") : [], this.format();
8604
8604
  }
8605
- exports3.parse = parse6, exports3.valid = function(version2, options) {
8606
- var v4 = parse6(version2, options);
8605
+ exports3.parse = parse7, exports3.valid = function(version2, options) {
8606
+ var v4 = parse7(version2, options);
8607
8607
  return v4 ? v4.version : null;
8608
8608
  }, exports3.clean = function(version2, options) {
8609
- var s2 = parse6(version2.trim().replace(/^[=v]+/, ""), options);
8609
+ var s2 = parse7(version2.trim().replace(/^[=v]+/, ""), options);
8610
8610
  return s2 ? s2.version : null;
8611
8611
  }, exports3.SemVer = SemVer, SemVer.prototype.format = function() {
8612
8612
  return this.version = this.major + "." + this.minor + "." + this.patch, this.prerelease.length && (this.version += "-" + this.prerelease.join(".")), this.version;
@@ -8682,7 +8682,7 @@ Did you specify these with the most recent transformation maps first?`);
8682
8682
  }
8683
8683
  }, exports3.diff = function(version1, version2) {
8684
8684
  if (eq(version1, version2)) return null;
8685
- var v1 = parse6(version1), v22 = parse6(version2), prefix = "";
8685
+ var v1 = parse7(version1), v22 = parse7(version2), prefix = "";
8686
8686
  if (v1.prerelease.length || v22.prerelease.length) {
8687
8687
  prefix = "pre";
8688
8688
  var defaultResult = "prerelease";
@@ -8996,7 +8996,7 @@ Did you specify these with the most recent transformation maps first?`);
8996
8996
  }, exports3.gtr = function(version2, range, options) {
8997
8997
  return outside(version2, range, ">", options);
8998
8998
  }, exports3.outside = outside, exports3.prerelease = function(version2, options) {
8999
- var parsed = parse6(version2, options);
8999
+ var parsed = parse7(version2, options);
9000
9000
  return parsed && parsed.prerelease.length ? parsed.prerelease : null;
9001
9001
  }, exports3.intersects = function(r1, r22, options) {
9002
9002
  return r1 = new Range(r1, options), r22 = new Range(r22, options), r1.intersects(r22);
@@ -9010,7 +9010,7 @@ Did you specify these with the most recent transformation maps first?`);
9010
9010
  safeRe[t2.COERCERTL].lastIndex = -1;
9011
9011
  } else match2 = version2.match(safeRe[t2.COERCE]);
9012
9012
  if (null === match2) return null;
9013
- return parse6(match2[2] + "." + (match2[3] || "0") + "." + (match2[4] || "0"), options);
9013
+ return parse7(match2[2] + "." + (match2[3] || "0") + "." + (match2[4] || "0"), options);
9014
9014
  };
9015
9015
  }, "./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js": (module3, __unused_webpack_exports, __webpack_require__2) => {
9016
9016
  "use strict";
@@ -9204,8 +9204,8 @@ Did you specify these with the most recent transformation maps first?`);
9204
9204
  }
9205
9205
  class Lock {
9206
9206
  constructor() {
9207
- this.released = false, this.promise = void 0, this._resolve = void 0, this.promise = new Promise((resolve3) => {
9208
- this._resolve = resolve3;
9207
+ this.released = false, this.promise = void 0, this._resolve = void 0, this.promise = new Promise((resolve4) => {
9208
+ this._resolve = resolve4;
9209
9209
  });
9210
9210
  }
9211
9211
  release(value2) {
@@ -9287,54 +9287,54 @@ Did you specify these with the most recent transformation maps first?`);
9287
9287
  return null == chain || chain.files.add(input.filepath), chain;
9288
9288
  }
9289
9289
  const loadFileDescriptors = (0, _caching.makeWeakCacheSync)((file) => buildRootDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors)), loadFileEnvDescriptors = (0, _caching.makeWeakCacheSync)((file) => (0, _caching.makeStrongCacheSync)((envName) => buildEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, envName))), loadFileOverridesDescriptors = (0, _caching.makeWeakCacheSync)((file) => (0, _caching.makeStrongCacheSync)((index) => buildOverrideDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index))), loadFileOverridesEnvDescriptors = (0, _caching.makeWeakCacheSync)((file) => (0, _caching.makeStrongCacheSync)((index) => (0, _caching.makeStrongCacheSync)((envName) => buildOverrideEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index, envName))));
9290
- function buildRootDescriptors({ dirname: dirname3, options }, alias, descriptors2) {
9291
- return descriptors2(dirname3, options, alias);
9290
+ function buildRootDescriptors({ dirname: dirname4, options }, alias, descriptors2) {
9291
+ return descriptors2(dirname4, options, alias);
9292
9292
  }
9293
- function buildEnvDescriptors({ dirname: dirname3, options }, alias, descriptors2, envName) {
9293
+ function buildEnvDescriptors({ dirname: dirname4, options }, alias, descriptors2, envName) {
9294
9294
  var _options$env;
9295
9295
  const opts = null == (_options$env = options.env) ? void 0 : _options$env[envName];
9296
- return opts ? descriptors2(dirname3, opts, `${alias}.env["${envName}"]`) : null;
9296
+ return opts ? descriptors2(dirname4, opts, `${alias}.env["${envName}"]`) : null;
9297
9297
  }
9298
- function buildOverrideDescriptors({ dirname: dirname3, options }, alias, descriptors2, index) {
9298
+ function buildOverrideDescriptors({ dirname: dirname4, options }, alias, descriptors2, index) {
9299
9299
  var _options$overrides;
9300
9300
  const opts = null == (_options$overrides = options.overrides) ? void 0 : _options$overrides[index];
9301
9301
  if (!opts) throw new Error("Assertion failure - missing override");
9302
- return descriptors2(dirname3, opts, `${alias}.overrides[${index}]`);
9302
+ return descriptors2(dirname4, opts, `${alias}.overrides[${index}]`);
9303
9303
  }
9304
- function buildOverrideEnvDescriptors({ dirname: dirname3, options }, alias, descriptors2, index, envName) {
9304
+ function buildOverrideEnvDescriptors({ dirname: dirname4, options }, alias, descriptors2, index, envName) {
9305
9305
  var _options$overrides2, _override$env;
9306
9306
  const override = null == (_options$overrides2 = options.overrides) ? void 0 : _options$overrides2[index];
9307
9307
  if (!override) throw new Error("Assertion failure - missing override");
9308
9308
  const opts = null == (_override$env = override.env) ? void 0 : _override$env[envName];
9309
- return opts ? descriptors2(dirname3, opts, `${alias}.overrides[${index}].env["${envName}"]`) : null;
9309
+ return opts ? descriptors2(dirname4, opts, `${alias}.overrides[${index}].env["${envName}"]`) : null;
9310
9310
  }
9311
9311
  function makeChainWalker({ root, env, overrides, overridesEnv, createLogger }) {
9312
9312
  return function* (input, context, files = /* @__PURE__ */ new Set(), baseLogger) {
9313
- const { dirname: dirname3 } = input, flattenedConfigs = [], rootOpts = root(input);
9314
- if (configIsApplicable(rootOpts, dirname3, context, input.filepath)) {
9313
+ const { dirname: dirname4 } = input, flattenedConfigs = [], rootOpts = root(input);
9314
+ if (configIsApplicable(rootOpts, dirname4, context, input.filepath)) {
9315
9315
  flattenedConfigs.push({ config: rootOpts, envName: void 0, index: void 0 });
9316
9316
  const envOpts = env(input, context.envName);
9317
- envOpts && configIsApplicable(envOpts, dirname3, context, input.filepath) && flattenedConfigs.push({ config: envOpts, envName: context.envName, index: void 0 }), (rootOpts.options.overrides || []).forEach((_5, index) => {
9317
+ envOpts && configIsApplicable(envOpts, dirname4, context, input.filepath) && flattenedConfigs.push({ config: envOpts, envName: context.envName, index: void 0 }), (rootOpts.options.overrides || []).forEach((_5, index) => {
9318
9318
  const overrideOps = overrides(input, index);
9319
- if (configIsApplicable(overrideOps, dirname3, context, input.filepath)) {
9319
+ if (configIsApplicable(overrideOps, dirname4, context, input.filepath)) {
9320
9320
  flattenedConfigs.push({ config: overrideOps, index, envName: void 0 });
9321
9321
  const overrideEnvOpts = overridesEnv(input, index, context.envName);
9322
- overrideEnvOpts && configIsApplicable(overrideEnvOpts, dirname3, context, input.filepath) && flattenedConfigs.push({ config: overrideEnvOpts, index, envName: context.envName });
9322
+ overrideEnvOpts && configIsApplicable(overrideEnvOpts, dirname4, context, input.filepath) && flattenedConfigs.push({ config: overrideEnvOpts, index, envName: context.envName });
9323
9323
  }
9324
9324
  });
9325
9325
  }
9326
- if (flattenedConfigs.some(({ config: { options: { ignore, only } } }) => shouldIgnore(context, ignore, only, dirname3))) return null;
9326
+ if (flattenedConfigs.some(({ config: { options: { ignore, only } } }) => shouldIgnore(context, ignore, only, dirname4))) return null;
9327
9327
  const chain = emptyChain(), logger = createLogger(input, context, baseLogger);
9328
9328
  for (const { config, index, envName } of flattenedConfigs) {
9329
- if (!(yield* mergeExtendsChain(chain, config.options, dirname3, context, files, baseLogger))) return null;
9329
+ if (!(yield* mergeExtendsChain(chain, config.options, dirname4, context, files, baseLogger))) return null;
9330
9330
  logger(config, index, envName), yield* mergeChainOpts(chain, config);
9331
9331
  }
9332
9332
  return chain;
9333
9333
  };
9334
9334
  }
9335
- function* mergeExtendsChain(chain, opts, dirname3, context, files, baseLogger) {
9335
+ function* mergeExtendsChain(chain, opts, dirname4, context, files, baseLogger) {
9336
9336
  if (void 0 === opts.extends) return true;
9337
- const file = yield* (0, _index.loadConfig)(opts.extends, dirname3, context.envName, context.caller);
9337
+ const file = yield* (0, _index.loadConfig)(opts.extends, dirname4, context.envName, context.caller);
9338
9338
  if (files.has(file)) throw new Error(`Configuration cycle detected loading ${file.filepath}.
9339
9339
  File already loaded following the config chain:
9340
9340
  ` + Array.from(files, (file2) => ` - ${file2.filepath}`).join("\n"));
@@ -9368,35 +9368,35 @@ File already loaded following the config chain:
9368
9368
  } else descriptors2.push({ value: item });
9369
9369
  return descriptors2.reduce((acc, desc) => (acc.push(desc.value), acc), []);
9370
9370
  }
9371
- function configIsApplicable({ options }, dirname3, context, configName) {
9372
- return (void 0 === options.test || configFieldIsApplicable(context, options.test, dirname3, configName)) && (void 0 === options.include || configFieldIsApplicable(context, options.include, dirname3, configName)) && (void 0 === options.exclude || !configFieldIsApplicable(context, options.exclude, dirname3, configName));
9371
+ function configIsApplicable({ options }, dirname4, context, configName) {
9372
+ return (void 0 === options.test || configFieldIsApplicable(context, options.test, dirname4, configName)) && (void 0 === options.include || configFieldIsApplicable(context, options.include, dirname4, configName)) && (void 0 === options.exclude || !configFieldIsApplicable(context, options.exclude, dirname4, configName));
9373
9373
  }
9374
- function configFieldIsApplicable(context, test, dirname3, configName) {
9375
- return matchesPatterns(context, Array.isArray(test) ? test : [test], dirname3, configName);
9374
+ function configFieldIsApplicable(context, test, dirname4, configName) {
9375
+ return matchesPatterns(context, Array.isArray(test) ? test : [test], dirname4, configName);
9376
9376
  }
9377
9377
  function ignoreListReplacer(_key, value2) {
9378
9378
  return value2 instanceof RegExp ? String(value2) : value2;
9379
9379
  }
9380
- function shouldIgnore(context, ignore, only, dirname3) {
9381
- if (ignore && matchesPatterns(context, ignore, dirname3)) {
9380
+ function shouldIgnore(context, ignore, only, dirname4) {
9381
+ if (ignore && matchesPatterns(context, ignore, dirname4)) {
9382
9382
  var _context$filename;
9383
- const message = `No config is applied to "${null != (_context$filename = context.filename) ? _context$filename : "(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(ignore, ignoreListReplacer)}\` from "${dirname3}"`;
9383
+ const message = `No config is applied to "${null != (_context$filename = context.filename) ? _context$filename : "(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(ignore, ignoreListReplacer)}\` from "${dirname4}"`;
9384
9384
  return debug2(message), context.showConfig && console.log(message), true;
9385
9385
  }
9386
- if (only && !matchesPatterns(context, only, dirname3)) {
9386
+ if (only && !matchesPatterns(context, only, dirname4)) {
9387
9387
  var _context$filename2;
9388
- const message = `No config is applied to "${null != (_context$filename2 = context.filename) ? _context$filename2 : "(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(only, ignoreListReplacer)}\` from "${dirname3}"`;
9388
+ const message = `No config is applied to "${null != (_context$filename2 = context.filename) ? _context$filename2 : "(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(only, ignoreListReplacer)}\` from "${dirname4}"`;
9389
9389
  return debug2(message), context.showConfig && console.log(message), true;
9390
9390
  }
9391
9391
  return false;
9392
9392
  }
9393
- function matchesPatterns(context, patterns, dirname3, configName) {
9394
- return patterns.some((pattern) => matchPattern(pattern, dirname3, context.filename, context, configName));
9393
+ function matchesPatterns(context, patterns, dirname4, configName) {
9394
+ return patterns.some((pattern) => matchPattern(pattern, dirname4, context.filename, context, configName));
9395
9395
  }
9396
- function matchPattern(pattern, dirname3, pathToTest, context, configName) {
9397
- if ("function" == typeof pattern) return !!(0, _rewriteStackTrace.endHiddenCallStack)(pattern)(pathToTest, { dirname: dirname3, envName: context.envName, caller: context.caller });
9396
+ function matchPattern(pattern, dirname4, pathToTest, context, configName) {
9397
+ if ("function" == typeof pattern) return !!(0, _rewriteStackTrace.endHiddenCallStack)(pattern)(pathToTest, { dirname: dirname4, envName: context.envName, caller: context.caller });
9398
9398
  if ("string" != typeof pathToTest) throw new _configError.default("Configuration contains string/RegExp pattern, but no filename was passed to Babel", configName);
9399
- return "string" == typeof pattern && (pattern = (0, _patternToRegex.default)(pattern, dirname3)), pattern.test(pathToTest);
9399
+ return "string" == typeof pattern && (pattern = (0, _patternToRegex.default)(pattern, dirname4)), pattern.test(pathToTest);
9400
9400
  }
9401
9401
  }, "./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/config-descriptors.js": (__unused_webpack_module, exports3, __webpack_require__2) => {
9402
9402
  "use strict";
@@ -9406,28 +9406,28 @@ File already loaded following the config chain:
9406
9406
  return data2;
9407
9407
  }, data2;
9408
9408
  }
9409
- Object.defineProperty(exports3, "__esModule", { value: true }), exports3.createCachedDescriptors = function(dirname3, options, alias) {
9409
+ Object.defineProperty(exports3, "__esModule", { value: true }), exports3.createCachedDescriptors = function(dirname4, options, alias) {
9410
9410
  const { plugins, presets, passPerPreset } = options;
9411
- return { options: optionsWithResolvedBrowserslistConfigFile(options, dirname3), plugins: plugins ? () => createCachedPluginDescriptors(plugins, dirname3)(alias) : () => handlerOf([]), presets: presets ? () => createCachedPresetDescriptors(presets, dirname3)(alias)(!!passPerPreset) : () => handlerOf([]) };
9412
- }, exports3.createDescriptor = createDescriptor, exports3.createUncachedDescriptors = function(dirname3, options, alias) {
9413
- return { options: optionsWithResolvedBrowserslistConfigFile(options, dirname3), plugins: (0, _functional.once)(() => createPluginDescriptors(options.plugins || [], dirname3, alias)), presets: (0, _functional.once)(() => createPresetDescriptors(options.presets || [], dirname3, alias, !!options.passPerPreset)) };
9411
+ return { options: optionsWithResolvedBrowserslistConfigFile(options, dirname4), plugins: plugins ? () => createCachedPluginDescriptors(plugins, dirname4)(alias) : () => handlerOf([]), presets: presets ? () => createCachedPresetDescriptors(presets, dirname4)(alias)(!!passPerPreset) : () => handlerOf([]) };
9412
+ }, exports3.createDescriptor = createDescriptor, exports3.createUncachedDescriptors = function(dirname4, options, alias) {
9413
+ return { options: optionsWithResolvedBrowserslistConfigFile(options, dirname4), plugins: (0, _functional.once)(() => createPluginDescriptors(options.plugins || [], dirname4, alias)), presets: (0, _functional.once)(() => createPresetDescriptors(options.presets || [], dirname4, alias, !!options.passPerPreset)) };
9414
9414
  };
9415
9415
  var _functional = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/functional.js"), _index = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/index.js"), _item = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/item.js"), _caching = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/caching.js"), _resolveTargets = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/resolve-targets.js");
9416
9416
  function* handlerOf(value2) {
9417
9417
  return value2;
9418
9418
  }
9419
- function optionsWithResolvedBrowserslistConfigFile(options, dirname3) {
9420
- return "string" == typeof options.browserslistConfigFile && (options.browserslistConfigFile = (0, _resolveTargets.resolveBrowserslistConfigFile)(options.browserslistConfigFile, dirname3)), options;
9419
+ function optionsWithResolvedBrowserslistConfigFile(options, dirname4) {
9420
+ return "string" == typeof options.browserslistConfigFile && (options.browserslistConfigFile = (0, _resolveTargets.resolveBrowserslistConfigFile)(options.browserslistConfigFile, dirname4)), options;
9421
9421
  }
9422
9422
  const PRESET_DESCRIPTOR_CACHE = /* @__PURE__ */ new WeakMap(), createCachedPresetDescriptors = (0, _caching.makeWeakCacheSync)((items, cache2) => {
9423
- const dirname3 = cache2.using((dir) => dir);
9423
+ const dirname4 = cache2.using((dir) => dir);
9424
9424
  return (0, _caching.makeStrongCacheSync)((alias) => (0, _caching.makeStrongCache)(function* (passPerPreset) {
9425
- return (yield* createPresetDescriptors(items, dirname3, alias, passPerPreset)).map((desc) => loadCachedDescriptor(PRESET_DESCRIPTOR_CACHE, desc));
9425
+ return (yield* createPresetDescriptors(items, dirname4, alias, passPerPreset)).map((desc) => loadCachedDescriptor(PRESET_DESCRIPTOR_CACHE, desc));
9426
9426
  }));
9427
9427
  }), PLUGIN_DESCRIPTOR_CACHE = /* @__PURE__ */ new WeakMap(), createCachedPluginDescriptors = (0, _caching.makeWeakCacheSync)((items, cache2) => {
9428
- const dirname3 = cache2.using((dir) => dir);
9428
+ const dirname4 = cache2.using((dir) => dir);
9429
9429
  return (0, _caching.makeStrongCache)(function* (alias) {
9430
- return (yield* createPluginDescriptors(items, dirname3, alias)).map((desc) => loadCachedDescriptor(PLUGIN_DESCRIPTOR_CACHE, desc));
9430
+ return (yield* createPluginDescriptors(items, dirname4, alias)).map((desc) => loadCachedDescriptor(PLUGIN_DESCRIPTOR_CACHE, desc));
9431
9431
  });
9432
9432
  }), DEFAULT_OPTIONS = {};
9433
9433
  function loadCachedDescriptor(cache2, desc) {
@@ -9446,14 +9446,14 @@ File already loaded following the config chain:
9446
9446
  }
9447
9447
  return desc;
9448
9448
  }
9449
- function* createPresetDescriptors(items, dirname3, alias, passPerPreset) {
9450
- return yield* createDescriptors("preset", items, dirname3, alias, passPerPreset);
9449
+ function* createPresetDescriptors(items, dirname4, alias, passPerPreset) {
9450
+ return yield* createDescriptors("preset", items, dirname4, alias, passPerPreset);
9451
9451
  }
9452
- function* createPluginDescriptors(items, dirname3, alias) {
9453
- return yield* createDescriptors("plugin", items, dirname3, alias);
9452
+ function* createPluginDescriptors(items, dirname4, alias) {
9453
+ return yield* createDescriptors("plugin", items, dirname4, alias);
9454
9454
  }
9455
- function* createDescriptors(type, items, dirname3, alias, ownPass) {
9456
- const descriptors2 = yield* _gensync().all(items.map((item, index) => createDescriptor(item, dirname3, { type, alias: `${alias}$${index}`, ownPass: !!ownPass })));
9455
+ function* createDescriptors(type, items, dirname4, alias, ownPass) {
9456
+ const descriptors2 = yield* _gensync().all(items.map((item, index) => createDescriptor(item, dirname4, { type, alias: `${alias}$${index}`, ownPass: !!ownPass })));
9457
9457
  return function(items2) {
9458
9458
  const map = /* @__PURE__ */ new Map();
9459
9459
  for (const item of items2) {
@@ -9467,7 +9467,7 @@ File already loaded following the config chain:
9467
9467
  }
9468
9468
  }(descriptors2), descriptors2;
9469
9469
  }
9470
- function* createDescriptor(pair, dirname3, { type, alias, ownPass }) {
9470
+ function* createDescriptor(pair, dirname4, { type, alias, ownPass }) {
9471
9471
  const desc = (0, _item.getItemDescriptor)(pair);
9472
9472
  if (desc) return desc;
9473
9473
  let name, options, file, value2 = pair;
@@ -9476,7 +9476,7 @@ File already loaded following the config chain:
9476
9476
  if ("string" == typeof value2) {
9477
9477
  if ("string" != typeof type) throw new Error("To resolve a string-based item, the type of item must be given");
9478
9478
  const resolver = "plugin" === type ? _index.loadPlugin : _index.loadPreset, request = value2;
9479
- ({ filepath, value: value2 } = yield* resolver(value2, dirname3)), file = { request, resolved: filepath };
9479
+ ({ filepath, value: value2 } = yield* resolver(value2, dirname4)), file = { request, resolved: filepath };
9480
9480
  }
9481
9481
  if (!value2) throw new Error(`Unexpected falsy value: ${String(value2)}`);
9482
9482
  if ("object" == typeof value2 && value2.__esModule) {
@@ -9485,7 +9485,7 @@ File already loaded following the config chain:
9485
9485
  }
9486
9486
  if ("object" != typeof value2 && "function" != typeof value2) throw new Error(`Unsupported format: ${typeof value2}. Expected an object or a function.`);
9487
9487
  if (null !== filepath && "object" == typeof value2 && value2) throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${filepath}`);
9488
- return { name, alias: filepath || alias, value: value2, options, dirname: dirname3, ownPass, file };
9488
+ return { name, alias: filepath || alias, value: value2, options, dirname: dirname4, ownPass, file };
9489
9489
  }
9490
9490
  }, "./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/configuration.js": (__unused_webpack_module, exports3, __webpack_require__2) => {
9491
9491
  "use strict";
@@ -9520,41 +9520,41 @@ File already loaded following the config chain:
9520
9520
  }, data2;
9521
9521
  }
9522
9522
  Object.defineProperty(exports3, "__esModule", { value: true }), exports3.ROOT_CONFIG_FILENAMES = void 0, exports3.findConfigUpwards = function(rootDir) {
9523
- let dirname3 = rootDir;
9523
+ let dirname4 = rootDir;
9524
9524
  for (; ; ) {
9525
- for (const filename of ROOT_CONFIG_FILENAMES) if (_fs().existsSync(_path().join(dirname3, filename))) return dirname3;
9526
- const nextDir = _path().dirname(dirname3);
9527
- if (dirname3 === nextDir) break;
9528
- dirname3 = nextDir;
9525
+ for (const filename of ROOT_CONFIG_FILENAMES) if (_fs().existsSync(_path().join(dirname4, filename))) return dirname4;
9526
+ const nextDir = _path().dirname(dirname4);
9527
+ if (dirname4 === nextDir) break;
9528
+ dirname4 = nextDir;
9529
9529
  }
9530
9530
  return null;
9531
9531
  }, exports3.findRelativeConfig = function* (packageData, envName, caller) {
9532
9532
  let config = null, ignore = null;
9533
- const dirname3 = _path().dirname(packageData.filepath);
9533
+ const dirname4 = _path().dirname(packageData.filepath);
9534
9534
  for (const loc of packageData.directories) {
9535
9535
  var _packageData$pkg;
9536
9536
  if (!config) config = yield* loadOneConfig(RELATIVE_CONFIG_FILENAMES, loc, envName, caller, (null == (_packageData$pkg = packageData.pkg) ? void 0 : _packageData$pkg.dirname) === loc ? packageToBabelConfig(packageData.pkg) : null);
9537
9537
  if (!ignore) {
9538
9538
  const ignoreLoc = _path().join(loc, BABELIGNORE_FILENAME);
9539
- ignore = yield* readIgnoreConfig(ignoreLoc), ignore && debug2("Found ignore %o from %o.", ignore.filepath, dirname3);
9539
+ ignore = yield* readIgnoreConfig(ignoreLoc), ignore && debug2("Found ignore %o from %o.", ignore.filepath, dirname4);
9540
9540
  }
9541
9541
  }
9542
9542
  return { config, ignore };
9543
- }, exports3.findRootConfig = function(dirname3, envName, caller) {
9544
- return loadOneConfig(ROOT_CONFIG_FILENAMES, dirname3, envName, caller);
9545
- }, exports3.loadConfig = function* (name, dirname3, envName, caller) {
9543
+ }, exports3.findRootConfig = function(dirname4, envName, caller) {
9544
+ return loadOneConfig(ROOT_CONFIG_FILENAMES, dirname4, envName, caller);
9545
+ }, exports3.loadConfig = function* (name, dirname4, envName, caller) {
9546
9546
  const filepath = (v4 = process.versions.node, w5 = "8.9", v4 = v4.split("."), w5 = w5.split("."), +v4[0] > +w5[0] || v4[0] == w5[0] && +v4[1] >= +w5[1] ? __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").resolve : (r4, { paths: [b6] }, M4 = __webpack_require__2("module")) => {
9547
9547
  let f2 = M4._findPath(r4, M4._nodeModulePaths(b6).concat(b6));
9548
9548
  if (f2) return f2;
9549
9549
  throw f2 = new Error(`Cannot resolve module '${r4}'`), f2.code = "MODULE_NOT_FOUND", f2;
9550
- })(name, { paths: [dirname3] }), conf = yield* readConfig(filepath, envName, caller);
9550
+ })(name, { paths: [dirname4] }), conf = yield* readConfig(filepath, envName, caller);
9551
9551
  var v4, w5;
9552
9552
  if (!conf) throw new _configError.default("Config file contains no configuration data", filepath);
9553
- return debug2("Loaded config %o from %o.", name, dirname3), conf;
9554
- }, exports3.resolveShowConfigPath = function* (dirname3) {
9553
+ return debug2("Loaded config %o from %o.", name, dirname4), conf;
9554
+ }, exports3.resolveShowConfigPath = function* (dirname4) {
9555
9555
  const targetPath = process.env.BABEL_SHOW_CONFIG_FOR;
9556
9556
  if (null != targetPath) {
9557
- const absolutePath = _path().resolve(dirname3, targetPath);
9557
+ const absolutePath = _path().resolve(dirname4, targetPath);
9558
9558
  if (!(yield* fs2.stat(absolutePath)).isFile()) throw new Error(`${absolutePath}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);
9559
9559
  return absolutePath;
9560
9560
  }
@@ -9634,15 +9634,15 @@ module.exports = function(api) {
9634
9634
  for (const pattern of ignorePatterns) if ("!" === pattern[0]) throw new _configError.default("Negation of file paths is not supported.", filepath);
9635
9635
  return { filepath, dirname: _path().dirname(filepath), ignore: ignorePatterns.map((pattern) => (0, _patternToRegex.default)(pattern, ignoreDir)) };
9636
9636
  });
9637
- function* loadOneConfig(names, dirname3, envName, caller, previousConfig = null) {
9638
- const config = (yield* _gensync().all(names.map((filename) => readConfig(_path().join(dirname3, filename), envName, caller)))).reduce((previousConfig2, config2) => {
9637
+ function* loadOneConfig(names, dirname4, envName, caller, previousConfig = null) {
9638
+ const config = (yield* _gensync().all(names.map((filename) => readConfig(_path().join(dirname4, filename), envName, caller)))).reduce((previousConfig2, config2) => {
9639
9639
  if (config2 && previousConfig2) throw new _configError.default(`Multiple configuration files found. Please remove one:
9640
9640
  - ${_path().basename(previousConfig2.filepath)}
9641
9641
  - ${config2.filepath}
9642
- from ${dirname3}`);
9642
+ from ${dirname4}`);
9643
9643
  return config2 || previousConfig2;
9644
9644
  }, previousConfig);
9645
- return config && debug2("Found configuration %o from %o.", config.filepath, dirname3), config;
9645
+ return config && debug2("Found configuration %o from %o.", config.filepath, dirname4), config;
9646
9646
  }
9647
9647
  function readConfig(filepath, envName, caller) {
9648
9648
  switch (_path().extname(filepath)) {
@@ -9838,15 +9838,15 @@ packageExtensions:
9838
9838
  Object.defineProperty(exports3, "__esModule", { value: true }), exports3.findPackageData = function* (filepath) {
9839
9839
  let pkg = null;
9840
9840
  const directories = [];
9841
- let isPackage = true, dirname3 = _path().dirname(filepath);
9842
- for (; !pkg && "node_modules" !== _path().basename(dirname3); ) {
9843
- directories.push(dirname3), pkg = yield* readConfigPackage(_path().join(dirname3, PACKAGE_FILENAME));
9844
- const nextLoc = _path().dirname(dirname3);
9845
- if (dirname3 === nextLoc) {
9841
+ let isPackage = true, dirname4 = _path().dirname(filepath);
9842
+ for (; !pkg && "node_modules" !== _path().basename(dirname4); ) {
9843
+ directories.push(dirname4), pkg = yield* readConfigPackage(_path().join(dirname4, PACKAGE_FILENAME));
9844
+ const nextLoc = _path().dirname(dirname4);
9845
+ if (dirname4 === nextLoc) {
9846
9846
  isPackage = false;
9847
9847
  break;
9848
9848
  }
9849
- dirname3 = nextLoc;
9849
+ dirname4 = nextLoc;
9850
9850
  }
9851
9851
  return { filepath, directories, pkg, isPackage };
9852
9852
  };
@@ -9877,12 +9877,12 @@ packageExtensions:
9877
9877
  return data2;
9878
9878
  }, data2;
9879
9879
  }
9880
- Object.defineProperty(exports3, "__esModule", { value: true }), exports3.loadPlugin = function* (name, dirname3) {
9881
- const { filepath, loader } = resolvePlugin(name, dirname3, yield* (0, _async.isAsync)()), value2 = yield* requireModule("plugin", loader, filepath);
9882
- return debug2("Loaded plugin %o from %o.", name, dirname3), { filepath, value: value2 };
9883
- }, exports3.loadPreset = function* (name, dirname3) {
9884
- const { filepath, loader } = resolvePreset(name, dirname3, yield* (0, _async.isAsync)()), value2 = yield* requireModule("preset", loader, filepath);
9885
- return debug2("Loaded preset %o from %o.", name, dirname3), { filepath, value: value2 };
9880
+ Object.defineProperty(exports3, "__esModule", { value: true }), exports3.loadPlugin = function* (name, dirname4) {
9881
+ const { filepath, loader } = resolvePlugin(name, dirname4, yield* (0, _async.isAsync)()), value2 = yield* requireModule("plugin", loader, filepath);
9882
+ return debug2("Loaded plugin %o from %o.", name, dirname4), { filepath, value: value2 };
9883
+ }, exports3.loadPreset = function* (name, dirname4) {
9884
+ const { filepath, loader } = resolvePreset(name, dirname4, yield* (0, _async.isAsync)()), value2 = yield* requireModule("preset", loader, filepath);
9885
+ return debug2("Loaded preset %o from %o.", name, dirname4), { filepath, value: value2 };
9886
9886
  }, exports3.resolvePreset = exports3.resolvePlugin = void 0;
9887
9887
  var _async = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/async.js"), _moduleTypes = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/module-types.js");
9888
9888
  function _url() {
@@ -9920,13 +9920,13 @@ packageExtensions:
9920
9920
  }
9921
9921
  throw error.message += "\n\nMake sure that all the Babel plugins and presets you are using\nare defined as dependencies or devDependencies in your package.json\nfile. It's possible that the missing plugin is loaded by a preset\nyou are using that forgot to add the plugin to its dependencies: you\ncan workaround this problem by explicitly adding the missing package\nto your top-level package.json.\n", error;
9922
9922
  }
9923
- function tryRequireResolve(id, dirname3) {
9923
+ function tryRequireResolve(id, dirname4) {
9924
9924
  try {
9925
- return dirname3 ? { error: null, value: (v4 = process.versions.node, w5 = "8.9", v4 = v4.split("."), w5 = w5.split("."), +v4[0] > +w5[0] || v4[0] == w5[0] && +v4[1] >= +w5[1] ? __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").resolve : (r4, { paths: [b6] }, M4 = __webpack_require__2("module")) => {
9925
+ return dirname4 ? { error: null, value: (v4 = process.versions.node, w5 = "8.9", v4 = v4.split("."), w5 = w5.split("."), +v4[0] > +w5[0] || v4[0] == w5[0] && +v4[1] >= +w5[1] ? __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").resolve : (r4, { paths: [b6] }, M4 = __webpack_require__2("module")) => {
9926
9926
  let f2 = M4._findPath(r4, M4._nodeModulePaths(b6).concat(b6));
9927
9927
  if (f2) return f2;
9928
9928
  throw f2 = new Error(`Cannot resolve module '${r4}'`), f2.code = "MODULE_NOT_FOUND", f2;
9929
- })(id, { paths: [dirname3] }) } : { error: null, value: __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").resolve(id) };
9929
+ })(id, { paths: [dirname4] }) } : { error: null, value: __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").resolve(id) };
9930
9930
  } catch (error) {
9931
9931
  return { error, value: null };
9932
9932
  }
@@ -9939,26 +9939,26 @@ packageExtensions:
9939
9939
  return { error, value: null };
9940
9940
  }
9941
9941
  }
9942
- function resolveStandardizedNameForRequire(type, name, dirname3) {
9942
+ function resolveStandardizedNameForRequire(type, name, dirname4) {
9943
9943
  const it = resolveAlternativesHelper(type, name);
9944
9944
  let res = it.next();
9945
- for (; !res.done; ) res = it.next(tryRequireResolve(res.value, dirname3));
9945
+ for (; !res.done; ) res = it.next(tryRequireResolve(res.value, dirname4));
9946
9946
  return { loader: "require", filepath: res.value };
9947
9947
  }
9948
- function resolveStandardizedName(type, name, dirname3, allowAsync) {
9949
- if (!_moduleTypes.supportsESM || !allowAsync) return resolveStandardizedNameForRequire(type, name, dirname3);
9948
+ function resolveStandardizedName(type, name, dirname4, allowAsync) {
9949
+ if (!_moduleTypes.supportsESM || !allowAsync) return resolveStandardizedNameForRequire(type, name, dirname4);
9950
9950
  try {
9951
- const resolved = function(type2, name2, dirname4) {
9952
- const parentUrl = (0, _url().pathToFileURL)(_path().join(dirname4, "./babel-virtual-resolve-base.js")).href, it = resolveAlternativesHelper(type2, name2);
9951
+ const resolved = function(type2, name2, dirname5) {
9952
+ const parentUrl = (0, _url().pathToFileURL)(_path().join(dirname5, "./babel-virtual-resolve-base.js")).href, it = resolveAlternativesHelper(type2, name2);
9953
9953
  let res = it.next();
9954
9954
  for (; !res.done; ) res = it.next(tryImportMetaResolve(res.value, parentUrl));
9955
9955
  return { loader: "auto", filepath: (0, _url().fileURLToPath)(res.value) };
9956
- }(type, name, dirname3);
9957
- if (!(0, _fs().existsSync)(resolved.filepath)) throw Object.assign(new Error(`Could not resolve "${name}" in file ${dirname3}.`), { type: "MODULE_NOT_FOUND" });
9956
+ }(type, name, dirname4);
9957
+ if (!(0, _fs().existsSync)(resolved.filepath)) throw Object.assign(new Error(`Could not resolve "${name}" in file ${dirname4}.`), { type: "MODULE_NOT_FOUND" });
9958
9958
  return resolved;
9959
9959
  } catch (e2) {
9960
9960
  try {
9961
- return resolveStandardizedNameForRequire(type, name, dirname3);
9961
+ return resolveStandardizedNameForRequire(type, name, dirname4);
9962
9962
  } catch (e22) {
9963
9963
  if ("MODULE_NOT_FOUND" === e2.type) throw e2;
9964
9964
  if ("MODULE_NOT_FOUND" === e22.type) throw e22;
@@ -10088,7 +10088,7 @@ packageExtensions:
10088
10088
  }
10089
10089
  };
10090
10090
  }
10091
- const makeDescriptorLoader = (apiFactory) => (0, _caching.makeWeakCache)(function* ({ value: value2, options, dirname: dirname3, alias }, cache2) {
10091
+ const makeDescriptorLoader = (apiFactory) => (0, _caching.makeWeakCache)(function* ({ value: value2, options, dirname: dirname4, alias }, cache2) {
10092
10092
  if (false === options) throw new Error("Assertion failure");
10093
10093
  options = options || {};
10094
10094
  const externalDependencies = [];
@@ -10096,7 +10096,7 @@ packageExtensions:
10096
10096
  if ("function" == typeof value2) {
10097
10097
  const factory = (0, _async.maybeAsync)(value2, "You appear to be using an async plugin/preset, but Babel has been called synchronously"), api = Object.assign({}, context, apiFactory(cache2, externalDependencies));
10098
10098
  try {
10099
- item = yield* factory(api, options, dirname3);
10099
+ item = yield* factory(api, options, dirname4);
10100
10100
  } catch (e2) {
10101
10101
  throw alias && (e2.message += ` (While processing: ${JSON.stringify(alias)})`), e2;
10102
10102
  }
@@ -10108,11 +10108,11 @@ packageExtensions:
10108
10108
  throw cache2.configured() ? error += " has been configured to never be invalidated. " : error += "has not been configured to be invalidated when the external dependencies change. ", error += `Plugins/presets should configure their cache to be invalidated when the external dependencies change, for example using \`api.cache.invalidate(() => statSync(filepath).mtimeMs)\` or \`api.cache.never()\`
10109
10109
  (While processing: ${JSON.stringify(alias)})`, new Error(error);
10110
10110
  }
10111
- return { value: item, options, dirname: dirname3, alias, externalDependencies: (0, _deepArray.finalize)(externalDependencies) };
10112
- }), pluginDescriptorLoader = makeDescriptorLoader(_configApi.makePluginAPI), presetDescriptorLoader = makeDescriptorLoader(_configApi.makePresetAPI), instantiatePlugin = (0, _caching.makeWeakCache)(function* ({ value: value2, options, dirname: dirname3, alias, externalDependencies }, cache2) {
10111
+ return { value: item, options, dirname: dirname4, alias, externalDependencies: (0, _deepArray.finalize)(externalDependencies) };
10112
+ }), pluginDescriptorLoader = makeDescriptorLoader(_configApi.makePluginAPI), presetDescriptorLoader = makeDescriptorLoader(_configApi.makePresetAPI), instantiatePlugin = (0, _caching.makeWeakCache)(function* ({ value: value2, options, dirname: dirname4, alias, externalDependencies }, cache2) {
10113
10113
  const pluginObj = (0, _plugins.validatePluginObject)(value2), plugin = Object.assign({}, pluginObj);
10114
10114
  if (plugin.visitor && (plugin.visitor = _traverse().default.explode(Object.assign({}, plugin.visitor))), plugin.inherits) {
10115
- const inheritsDescriptor = { name: void 0, alias: `${alias}$inherits`, value: plugin.inherits, options, dirname: dirname3 }, inherits = yield* (0, _async.forwardAsync)(loadPluginDescriptor, (run) => cache2.invalidate((data2) => run(inheritsDescriptor, data2)));
10115
+ const inheritsDescriptor = { name: void 0, alias: `${alias}$inherits`, value: plugin.inherits, options, dirname: dirname4 }, inherits = yield* (0, _async.forwardAsync)(loadPluginDescriptor, (run) => cache2.invalidate((data2) => run(inheritsDescriptor, data2)));
10116
10116
  plugin.pre = chainMaybeAsync(inherits.pre, plugin.pre), plugin.post = chainMaybeAsync(inherits.post, plugin.post), plugin.manipulateOptions = chainMaybeAsync(inherits.manipulateOptions, plugin.manipulateOptions), plugin.visitor = _traverse().default.visitors.merge([inherits.visitor || {}, plugin.visitor || {}]), inherits.externalDependencies.length > 0 && (externalDependencies = 0 === externalDependencies.length ? inherits.externalDependencies : (0, _deepArray.finalize)([externalDependencies, inherits.externalDependencies]));
10117
10117
  }
10118
10118
  return new _plugin.default(plugin, options, alias, externalDependencies);
@@ -10135,7 +10135,7 @@ packageExtensions:
10135
10135
  const { options } = preset;
10136
10136
  validateIfOptionNeedsFilename(options, descriptor), null == (_options$overrides = options.overrides) || _options$overrides.forEach((overrideOptions) => validateIfOptionNeedsFilename(overrideOptions, descriptor));
10137
10137
  }
10138
- }, instantiatePreset = (0, _caching.makeWeakCacheSync)(({ value: value2, dirname: dirname3, alias, externalDependencies }) => ({ options: (0, _options.validate)("preset", value2), alias, dirname: dirname3, externalDependencies }));
10138
+ }, instantiatePreset = (0, _caching.makeWeakCacheSync)(({ value: value2, dirname: dirname4, alias, externalDependencies }) => ({ options: (0, _options.validate)("preset", value2), alias, dirname: dirname4, externalDependencies }));
10139
10139
  function* loadPresetDescriptor(descriptor, context2) {
10140
10140
  const preset = instantiatePreset(yield* presetDescriptorLoader(descriptor, context2));
10141
10141
  return validatePreset(preset, context2, descriptor), { chain: yield* (0, _configChain.buildPresetChain)(preset, context2), externalDependencies: preset.externalDependencies };
@@ -10255,8 +10255,8 @@ packageExtensions:
10255
10255
  return data2;
10256
10256
  }, data2;
10257
10257
  }
10258
- Object.defineProperty(exports3, "__esModule", { value: true }), exports3.createConfigItem = function* (value2, { dirname: dirname3 = ".", type } = {}) {
10259
- return createItemFromDescriptor(yield* (0, _configDescriptors.createDescriptor)(value2, _path().resolve(dirname3), { type, alias: "programmatic item" }));
10258
+ Object.defineProperty(exports3, "__esModule", { value: true }), exports3.createConfigItem = function* (value2, { dirname: dirname4 = ".", type } = {}) {
10259
+ return createItemFromDescriptor(yield* (0, _configDescriptors.createDescriptor)(value2, _path().resolve(dirname4), { type, alias: "programmatic item" }));
10260
10260
  }, exports3.createItemFromDescriptor = createItemFromDescriptor, exports3.getItemDescriptor = function(item) {
10261
10261
  if (null != item && item[CONFIG_ITEM_BRAND]) return item._descriptor;
10262
10262
  return;
@@ -10306,7 +10306,7 @@ packageExtensions:
10306
10306
  const _excluded = ["showIgnoredFiles"];
10307
10307
  function* loadPrivatePartialConfig(inputOpts) {
10308
10308
  if (null != inputOpts && ("object" != typeof inputOpts || Array.isArray(inputOpts))) throw new Error("Babel options must be an object, null, or undefined");
10309
- const args = inputOpts ? (0, _options.validate)("arguments", inputOpts) : {}, { envName = (0, _environment.getEnv)(), cwd: cwd2 = ".", root: rootDir = ".", rootMode = "root", caller, cloneInputAst = true } = args, absoluteCwd = _path().resolve(cwd2), absoluteRootDir = function(rootDir2, rootMode2) {
10309
+ const args = inputOpts ? (0, _options.validate)("arguments", inputOpts) : {}, { envName = (0, _environment.getEnv)(), cwd: cwd3 = ".", root: rootDir = ".", rootMode = "root", caller, cloneInputAst = true } = args, absoluteCwd = _path().resolve(cwd3), absoluteRootDir = function(rootDir2, rootMode2) {
10310
10310
  switch (rootMode2) {
10311
10311
  case "root":
10312
10312
  return rootDir2;
@@ -10323,7 +10323,7 @@ One of the following config files must be in the directory tree: "${_index.ROOT_
10323
10323
  default:
10324
10324
  throw new Error("Assertion failure - unknown rootMode value.");
10325
10325
  }
10326
- }(_path().resolve(absoluteCwd, rootDir), rootMode), filename = "string" == typeof args.filename ? _path().resolve(cwd2, args.filename) : void 0, context = { filename, cwd: absoluteCwd, root: absoluteRootDir, envName, caller, showConfig: (yield* (0, _index.resolveShowConfigPath)(absoluteCwd)) === filename }, configChain = yield* (0, _configChain.buildRootChain)(args, context);
10326
+ }(_path().resolve(absoluteCwd, rootDir), rootMode), filename = "string" == typeof args.filename ? _path().resolve(cwd3, args.filename) : void 0, context = { filename, cwd: absoluteCwd, root: absoluteRootDir, envName, caller, showConfig: (yield* (0, _index.resolveShowConfigPath)(absoluteCwd)) === filename }, configChain = yield* (0, _configChain.buildRootChain)(args, context);
10327
10327
  if (!configChain) return null;
10328
10328
  const merged = { assumptions: {} };
10329
10329
  configChain.options.forEach((opts) => {
@@ -10348,14 +10348,14 @@ One of the following config files must be in the directory tree: "${_index.ROOT_
10348
10348
  return data2;
10349
10349
  }, data2;
10350
10350
  }
10351
- Object.defineProperty(exports3, "__esModule", { value: true }), exports3.default = function(pattern, dirname3) {
10352
- const parts = _path().resolve(dirname3, pattern).split(_path().sep);
10351
+ Object.defineProperty(exports3, "__esModule", { value: true }), exports3.default = function(pattern, dirname4) {
10352
+ const parts = _path().resolve(dirname4, pattern).split(_path().sep);
10353
10353
  return new RegExp(["^", ...parts.map((part, i2) => {
10354
10354
  const last = i2 === parts.length - 1;
10355
- return "**" === part ? last ? starStarPatLast : starStarPat : "*" === part ? last ? starPatLast : starPat : 0 === part.indexOf("*.") ? substitution + escapeRegExp(part.slice(1)) + (last ? endSep : sep3) : escapeRegExp(part) + (last ? endSep : sep3);
10355
+ return "**" === part ? last ? starStarPatLast : starStarPat : "*" === part ? last ? starPatLast : starPat : 0 === part.indexOf("*.") ? substitution + escapeRegExp(part.slice(1)) + (last ? endSep : sep4) : escapeRegExp(part) + (last ? endSep : sep4);
10356
10356
  })].join(""));
10357
10357
  };
10358
- const sep3 = `\\${_path().sep}`, endSep = `(?:${sep3}|$)`, substitution = `[^${sep3}]+`, starPat = `(?:${substitution}${sep3})`, starPatLast = `(?:${substitution}${endSep})`, starStarPat = `${starPat}*?`, starStarPatLast = `${starPat}*?${starPatLast}?`;
10358
+ const sep4 = `\\${_path().sep}`, endSep = `(?:${sep4}|$)`, substitution = `[^${sep4}]+`, starPat = `(?:${substitution}${sep4})`, starPatLast = `(?:${substitution}${endSep})`, starStarPat = `${starPat}*?`, starStarPatLast = `${starPat}*?${starPatLast}?`;
10359
10359
  function escapeRegExp(string) {
10360
10360
  return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&");
10361
10361
  }
@@ -10882,12 +10882,12 @@ To be a valid ${type}, its name and options should be wrapped in a pair of brack
10882
10882
  if (!result) {
10883
10883
  if (resultP) return promiseReferenced = true, yield* (0, _async.waitFor)(resultP);
10884
10884
  if (yield* (0, _async.isAsync)()) {
10885
- let resolve3, reject;
10885
+ let resolve4, reject;
10886
10886
  resultP = new Promise((res, rej) => {
10887
- resolve3 = res, reject = rej;
10887
+ resolve4 = res, reject = rej;
10888
10888
  });
10889
10889
  try {
10890
- result = { ok: true, value: yield* fn2() }, resultP = null, promiseReferenced && resolve3(result.value);
10890
+ result = { ok: true, value: yield* fn2() }, resultP = null, promiseReferenced && resolve4(result.value);
10891
10891
  } catch (error) {
10892
10892
  result = { ok: false, value: error }, resultP = null, promiseReferenced && reject(error);
10893
10893
  }
@@ -10990,8 +10990,8 @@ To be a valid ${type}, its name and options should be wrapped in a pair of brack
10990
10990
  var _index2 = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/index.js"), _transform = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform.js"), _transformFile = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform-file.js"), _transformAst = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform-ast.js"), _parse = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/parse.js");
10991
10991
  __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");
10992
10992
  exports3.version = "7.26.0";
10993
- exports3.resolvePlugin = (name, dirname3) => resolvers.resolvePlugin(name, dirname3, false).filepath;
10994
- exports3.resolvePreset = (name, dirname3) => resolvers.resolvePreset(name, dirname3, false).filepath;
10993
+ exports3.resolvePlugin = (name, dirname4) => resolvers.resolvePlugin(name, dirname4, false).filepath;
10994
+ exports3.resolvePreset = (name, dirname4) => resolvers.resolvePreset(name, dirname4, false).filepath;
10995
10995
  exports3.DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]);
10996
10996
  exports3.OptionManager = class {
10997
10997
  init(opts) {
@@ -11603,7 +11603,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
11603
11603
  }, data2;
11604
11604
  }
11605
11605
  Object.defineProperty(exports3, "__esModule", { value: true }), exports3.default = function(config) {
11606
- const { filename, cwd: cwd2, filenameRelative = "string" == typeof filename ? _path().relative(cwd2, filename) : "unknown", sourceType = "module", inputSourceMap, sourceMaps = !!inputSourceMap, sourceRoot = config.options.moduleRoot, sourceFileName = _path().basename(filenameRelative), comments = true, compact = "auto" } = config.options, opts = config.options, options = Object.assign({}, opts, { parserOpts: Object.assign({ sourceType: ".mjs" === _path().extname(filenameRelative) ? "module" : sourceType, sourceFileName: filename, plugins: [] }, opts.parserOpts), generatorOpts: Object.assign({ filename, auxiliaryCommentBefore: opts.auxiliaryCommentBefore, auxiliaryCommentAfter: opts.auxiliaryCommentAfter, retainLines: opts.retainLines, comments, shouldPrintComment: opts.shouldPrintComment, compact, minified: opts.minified, sourceMaps, sourceRoot, sourceFileName }, opts.generatorOpts) });
11606
+ const { filename, cwd: cwd3, filenameRelative = "string" == typeof filename ? _path().relative(cwd3, filename) : "unknown", sourceType = "module", inputSourceMap, sourceMaps = !!inputSourceMap, sourceRoot = config.options.moduleRoot, sourceFileName = _path().basename(filenameRelative), comments = true, compact = "auto" } = config.options, opts = config.options, options = Object.assign({}, opts, { parserOpts: Object.assign({ sourceType: ".mjs" === _path().extname(filenameRelative) ? "module" : sourceType, sourceFileName: filename, plugins: [] }, opts.parserOpts), generatorOpts: Object.assign({ filename, auxiliaryCommentBefore: opts.auxiliaryCommentBefore, auxiliaryCommentAfter: opts.auxiliaryCommentAfter, retainLines: opts.retainLines, comments, shouldPrintComment: opts.shouldPrintComment, compact, minified: opts.minified, sourceMaps, sourceRoot, sourceFileName }, opts.generatorOpts) });
11607
11607
  for (const plugins of config.passes) for (const plugin of plugins) plugin.manipulateOptions && plugin.manipulateOptions(options, options.parserOpts);
11608
11608
  return options;
11609
11609
  };
@@ -11915,8 +11915,8 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
11915
11915
  const packageType = getPackageType2(url);
11916
11916
  return "none" === packageType || "commonjs" === packageType ? "commonjs" : "module";
11917
11917
  }
11918
- const format3 = extensionFormatMap2[value2];
11919
- if (format3) return format3;
11918
+ const format4 = extensionFormatMap2[value2];
11919
+ if (format4) return format4;
11920
11920
  if (ignoreErrors) return;
11921
11921
  const filepath = (0, _url().fileURLToPath)(url);
11922
11922
  throw new ERR_UNKNOWN_FILE_EXTENSION2(value2, filepath);
@@ -13252,11 +13252,11 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
13252
13252
  function maybePrintTrailingCommaOrSemicolon(printer, node) {
13253
13253
  printer.tokenMap && node.start && node.end ? printer.tokenMap.endMatches(node, ",") ? printer.token(",") : printer.tokenMap.endMatches(node, ";") && printer.semicolon() : printer.semicolon();
13254
13254
  }
13255
- function tsPrintUnionOrIntersectionType(printer, node, sep3) {
13255
+ function tsPrintUnionOrIntersectionType(printer, node, sep4) {
13256
13256
  var _printer$tokenMap;
13257
13257
  let hasLeadingToken = 0;
13258
- null != (_printer$tokenMap = printer.tokenMap) && _printer$tokenMap.startMatches(node, sep3) && (hasLeadingToken = 1, printer.token(sep3)), printer.printJoin(node.types, void 0, void 0, function(i2) {
13259
- this.space(), this.token(sep3, null, i2 + hasLeadingToken), this.space();
13258
+ null != (_printer$tokenMap = printer.tokenMap) && _printer$tokenMap.startMatches(node, sep4) && (hasLeadingToken = 1, printer.token(sep4)), printer.printJoin(node.types, void 0, void 0, function(i2) {
13259
+ this.space(), this.token(sep4, null, i2 + hasLeadingToken), this.space();
13260
13260
  });
13261
13261
  }
13262
13262
  function tokenIfPlusMinus(self2, tok) {
@@ -13476,8 +13476,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
13476
13476
  }, "./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/index.js": (__unused_webpack_module, exports3, __webpack_require__2) => {
13477
13477
  "use strict";
13478
13478
  Object.defineProperty(exports3, "__esModule", { value: true }), exports3.default = function(ast, opts = {}, code) {
13479
- const format3 = normalizeOptions(code, opts, ast), map = opts.sourceMaps ? new _sourceMap.default(opts, code) : null;
13480
- return new _printer.default(format3, map, ast.tokens, "string" == typeof code ? code : null).generate(ast);
13479
+ const format4 = normalizeOptions(code, opts, ast), map = opts.sourceMaps ? new _sourceMap.default(opts, code) : null;
13480
+ return new _printer.default(format4, map, ast.tokens, "string" == typeof code ? code : null).generate(ast);
13481
13481
  };
13482
13482
  var _sourceMap = __webpack_require__2("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/source-map.js"), _printer = __webpack_require__2("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/printer.js");
13483
13483
  function normalizeOptions(code, opts, ast) {
@@ -13489,11 +13489,11 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
13489
13489
  if (opts.jsescOption) throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");
13490
13490
  if (!Array.isArray(ast.tokens)) throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.");
13491
13491
  }
13492
- const format3 = { auxiliaryCommentBefore: opts.auxiliaryCommentBefore, auxiliaryCommentAfter: opts.auxiliaryCommentAfter, shouldPrintComment: opts.shouldPrintComment, preserveFormat: opts.experimental_preserveFormat, retainLines: opts.retainLines, retainFunctionParens: opts.retainFunctionParens, comments: null == opts.comments || opts.comments, compact: opts.compact, minified: opts.minified, concise: opts.concise, indent: { adjustMultilineComment: true, style: " " }, jsescOption: Object.assign({ quotes: "double", wrap: true, minimal: false }, opts.jsescOption), topicToken: opts.topicToken, importAttributesKeyword: opts.importAttributesKeyword };
13492
+ const format4 = { auxiliaryCommentBefore: opts.auxiliaryCommentBefore, auxiliaryCommentAfter: opts.auxiliaryCommentAfter, shouldPrintComment: opts.shouldPrintComment, preserveFormat: opts.experimental_preserveFormat, retainLines: opts.retainLines, retainFunctionParens: opts.retainFunctionParens, comments: null == opts.comments || opts.comments, compact: opts.compact, minified: opts.minified, concise: opts.concise, indent: { adjustMultilineComment: true, style: " " }, jsescOption: Object.assign({ quotes: "double", wrap: true, minimal: false }, opts.jsescOption), topicToken: opts.topicToken, importAttributesKeyword: opts.importAttributesKeyword };
13493
13493
  var _opts$recordAndTupleS;
13494
- format3.decoratorsBeforeExport = opts.decoratorsBeforeExport, format3.jsescOption.json = opts.jsonCompatibleStrings, format3.recordAndTupleSyntaxType = null != (_opts$recordAndTupleS = opts.recordAndTupleSyntaxType) ? _opts$recordAndTupleS : "hash", format3.minified ? (format3.compact = true, format3.shouldPrintComment = format3.shouldPrintComment || (() => format3.comments)) : format3.shouldPrintComment = format3.shouldPrintComment || ((value2) => format3.comments || value2.includes("@license") || value2.includes("@preserve")), "auto" === format3.compact && (format3.compact = "string" == typeof code && code.length > 5e5, format3.compact && console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${opts.filename} as it exceeds the max of 500KB.`)), (format3.compact || format3.preserveFormat) && (format3.indent.adjustMultilineComment = false);
13495
- const { auxiliaryCommentBefore, auxiliaryCommentAfter, shouldPrintComment } = format3;
13496
- return auxiliaryCommentBefore && !shouldPrintComment(auxiliaryCommentBefore) && (format3.auxiliaryCommentBefore = void 0), auxiliaryCommentAfter && !shouldPrintComment(auxiliaryCommentAfter) && (format3.auxiliaryCommentAfter = void 0), format3;
13494
+ format4.decoratorsBeforeExport = opts.decoratorsBeforeExport, format4.jsescOption.json = opts.jsonCompatibleStrings, format4.recordAndTupleSyntaxType = null != (_opts$recordAndTupleS = opts.recordAndTupleSyntaxType) ? _opts$recordAndTupleS : "hash", format4.minified ? (format4.compact = true, format4.shouldPrintComment = format4.shouldPrintComment || (() => format4.comments)) : format4.shouldPrintComment = format4.shouldPrintComment || ((value2) => format4.comments || value2.includes("@license") || value2.includes("@preserve")), "auto" === format4.compact && (format4.compact = "string" == typeof code && code.length > 5e5, format4.compact && console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${opts.filename} as it exceeds the max of 500KB.`)), (format4.compact || format4.preserveFormat) && (format4.indent.adjustMultilineComment = false);
13495
+ const { auxiliaryCommentBefore, auxiliaryCommentAfter, shouldPrintComment } = format4;
13496
+ return auxiliaryCommentBefore && !shouldPrintComment(auxiliaryCommentBefore) && (format4.auxiliaryCommentBefore = void 0), auxiliaryCommentAfter && !shouldPrintComment(auxiliaryCommentAfter) && (format4.auxiliaryCommentAfter = void 0), format4;
13497
13497
  }
13498
13498
  exports3.CodeGenerator = class {
13499
13499
  constructor(ast, opts = {}, code) {
@@ -13749,8 +13749,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
13749
13749
  }
13750
13750
  const { needsParens } = n;
13751
13751
  class Printer {
13752
- constructor(format3, map, tokens, originalCode) {
13753
- this.inForStatementInit = false, this.tokenContext = 0, this._tokens = null, this._originalCode = null, this._currentNode = null, this._indent = 0, this._indentRepeat = 0, this._insideAux = false, this._noLineTerminator = false, this._noLineTerminatorAfterNode = null, this._printAuxAfterOnNextUserNode = false, this._printedComments = /* @__PURE__ */ new Set(), this._endsWithInteger = false, this._endsWithWord = false, this._endsWithDiv = false, this._lastCommentLine = 0, this._endsWithInnerRaw = false, this._indentInnerComments = true, this.tokenMap = null, this._boundGetRawIdentifier = this._getRawIdentifier.bind(this), this._printSemicolonBeforeNextNode = -1, this._printSemicolonBeforeNextToken = -1, this.format = format3, this._tokens = tokens, this._originalCode = originalCode, this._indentRepeat = format3.indent.style.length, this._inputMap = null == map ? void 0 : map._inputMap, this._buf = new _buffer.default(map, format3.indent.style[0]);
13752
+ constructor(format4, map, tokens, originalCode) {
13753
+ this.inForStatementInit = false, this.tokenContext = 0, this._tokens = null, this._originalCode = null, this._currentNode = null, this._indent = 0, this._indentRepeat = 0, this._insideAux = false, this._noLineTerminator = false, this._noLineTerminatorAfterNode = null, this._printAuxAfterOnNextUserNode = false, this._printedComments = /* @__PURE__ */ new Set(), this._endsWithInteger = false, this._endsWithWord = false, this._endsWithDiv = false, this._lastCommentLine = 0, this._endsWithInnerRaw = false, this._indentInnerComments = true, this.tokenMap = null, this._boundGetRawIdentifier = this._getRawIdentifier.bind(this), this._printSemicolonBeforeNextNode = -1, this._printSemicolonBeforeNextToken = -1, this.format = format4, this._tokens = tokens, this._originalCode = originalCode, this._indentRepeat = format4.indent.style.length, this._inputMap = null == map ? void 0 : map._inputMap, this._buf = new _buffer.default(map, format4.indent.style[0]);
13754
13754
  }
13755
13755
  enterForStatementInit() {
13756
13756
  return this.inForStatementInit ? () => {
@@ -13769,12 +13769,12 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
13769
13769
  return this.format.preserveFormat && (this.tokenMap = new _tokenMap.TokenMap(ast, this._tokens, this._originalCode)), this.print(ast), this._maybeAddAuxComment(), this._buf.get();
13770
13770
  }
13771
13771
  indent() {
13772
- const { format: format3 } = this;
13773
- format3.preserveFormat || format3.compact || format3.concise || this._indent++;
13772
+ const { format: format4 } = this;
13773
+ format4.preserveFormat || format4.compact || format4.concise || this._indent++;
13774
13774
  }
13775
13775
  dedent() {
13776
- const { format: format3 } = this;
13777
- format3.preserveFormat || format3.compact || format3.concise || this._indent--;
13776
+ const { format: format4 } = this;
13777
+ format4.preserveFormat || format4.compact || format4.concise || this._indent--;
13778
13778
  }
13779
13779
  semicolon(force = false) {
13780
13780
  if (this._maybeAddAuxComment(), force) return this._appendChar(59), void (this._noLineTerminator = false);
@@ -13795,8 +13795,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
13795
13795
  this.sourceWithOffset("end", node.loc, -1), this.tokenChar(41);
13796
13796
  }
13797
13797
  space(force = false) {
13798
- const { format: format3 } = this;
13799
- if (!format3.compact && !format3.preserveFormat) {
13798
+ const { format: format4 } = this;
13799
+ if (!format4.compact && !format4.preserveFormat) {
13800
13800
  if (force) this._space();
13801
13801
  else if (this._buf.hasContent()) {
13802
13802
  const lastCp = this.getLastChar();
@@ -13895,8 +13895,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
13895
13895
  for (let i2 = 0; i2 < count; i2++) this._newline();
13896
13896
  }
13897
13897
  _catchUp(prop, loc) {
13898
- const { format: format3 } = this;
13899
- if (!format3.preserveFormat) return void (format3.retainLines && null != loc && loc[prop] && this.catchUp(loc[prop].line));
13898
+ const { format: format4 } = this;
13899
+ if (!format4.preserveFormat) return void (format4.retainLines && null != loc && loc[prop] && this.catchUp(loc[prop].line));
13900
13900
  const pos = null == loc ? void 0 : loc[prop];
13901
13901
  null != pos && this._catchUpTo(pos);
13902
13902
  }
@@ -13920,8 +13920,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
13920
13920
  var _node$extra, _node$leadingComments, _node$leadingComments2;
13921
13921
  if (!node) return;
13922
13922
  this._endsWithInnerRaw = false;
13923
- const nodeType = node.type, format3 = this.format, oldConcise = format3.concise;
13924
- node._compact && (format3.concise = true);
13923
+ const nodeType = node.type, format4 = this.format, oldConcise = format4.concise;
13924
+ node._compact && (format4.concise = true);
13925
13925
  const printMethod = this[nodeType];
13926
13926
  if (void 0 === printMethod) throw new ReferenceError(`unknown node of type ${JSON.stringify(nodeType)} with constructor ${JSON.stringify(node.constructor.name)}`);
13927
13927
  const parent = this._currentNode;
@@ -13929,7 +13929,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
13929
13929
  const oldInAux = this._insideAux;
13930
13930
  this._insideAux = null == node.loc, this._maybeAddAuxComment(this._insideAux && !oldInAux);
13931
13931
  const parenthesized = null == (_node$extra = node.extra) ? void 0 : _node$extra.parenthesized;
13932
- let shouldPrintParens = parenthesized && format3.preserveFormat || parenthesized && format3.retainFunctionParens && "FunctionExpression" === nodeType || needsParens(node, parent, this.tokenContext, this.inForStatementInit, format3.preserveFormat ? this._boundGetRawIdentifier : void 0);
13932
+ let shouldPrintParens = parenthesized && format4.preserveFormat || parenthesized && format4.retainFunctionParens && "FunctionExpression" === nodeType || needsParens(node, parent, this.tokenContext, this.inForStatementInit, format4.preserveFormat ? this._boundGetRawIdentifier : void 0);
13933
13933
  if (!shouldPrintParens && parenthesized && null != (_node$leadingComments = node.leadingComments) && _node$leadingComments.length && "CommentBlock" === node.leadingComments[0].type) {
13934
13934
  switch (null == parent ? void 0 : parent.type) {
13935
13935
  case "ExpressionStatement":
@@ -13950,7 +13950,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
13950
13950
  (!shouldPrintParens && this._noLineTerminator && (null != (_node$leadingComments2 = node.leadingComments) && _node$leadingComments2.some(commentIsNewline) || this.format.retainLines && node.loc && node.loc.start.line > this._buf.getCurrentLine()) && (shouldPrintParens = true, indentParenthesized = true), shouldPrintParens) || (noLineTerminatorAfter || (noLineTerminatorAfter = parent && this._noLineTerminatorAfterNode === parent && n.isLastChild(parent, node)), noLineTerminatorAfter && (null != (_node$trailingComment = node.trailingComments) && _node$trailingComment.some(commentIsNewline) ? isExpression(node) && (shouldPrintParens = true) : (oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode, this._noLineTerminatorAfterNode = node)));
13951
13951
  shouldPrintParens && (this.tokenChar(40), indentParenthesized && this.indent(), this._endsWithInnerRaw = false, this.inForStatementInit && (oldInForStatementInitWasTrue = true, this.inForStatementInit = false), oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode, this._noLineTerminatorAfterNode = null), this._lastCommentLine = 0, this._printLeadingComments(node, parent);
13952
13952
  const loc = "Program" === nodeType || "File" === nodeType ? null : node.loc;
13953
- this.exactSource(loc, printMethod.bind(this, node, parent)), shouldPrintParens ? (this._printTrailingComments(node, parent), indentParenthesized && (this.dedent(), this.newline()), this.tokenChar(41), this._noLineTerminator = noLineTerminatorAfter, oldInForStatementInitWasTrue && (this.inForStatementInit = true)) : noLineTerminatorAfter && !this._noLineTerminator ? (this._noLineTerminator = true, this._printTrailingComments(node, parent)) : this._printTrailingComments(node, parent, trailingCommentsLineOffset), this._currentNode = parent, format3.concise = oldConcise, this._insideAux = oldInAux, void 0 !== oldNoLineTerminatorAfterNode && (this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode), this._endsWithInnerRaw = false;
13953
+ this.exactSource(loc, printMethod.bind(this, node, parent)), shouldPrintParens ? (this._printTrailingComments(node, parent), indentParenthesized && (this.dedent(), this.newline()), this.tokenChar(41), this._noLineTerminator = noLineTerminatorAfter, oldInForStatementInitWasTrue && (this.inForStatementInit = true)) : noLineTerminatorAfter && !this._noLineTerminator ? (this._noLineTerminator = true, this._printTrailingComments(node, parent)) : this._printTrailingComments(node, parent, trailingCommentsLineOffset), this._currentNode = parent, format4.concise = oldConcise, this._insideAux = oldInAux, void 0 !== oldNoLineTerminatorAfterNode && (this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode), this._endsWithInnerRaw = false;
13954
13954
  }
13955
13955
  _maybeAddAuxComment(enteredPositionlessNode) {
13956
13956
  enteredPositionlessNode && this._printAuxBeforeComment(), this._insideAux || this._printAuxAfterComment();
@@ -14036,9 +14036,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
14036
14036
  return listEndIndex <= 0 ? null : this.tokenMap.matchesOriginal(this._tokens[listEndIndex - 1], ",");
14037
14037
  }
14038
14038
  _printNewline(newLine, opts) {
14039
- const format3 = this.format;
14040
- if (format3.retainLines || format3.compact) return;
14041
- if (format3.concise) return void this.space();
14039
+ const format4 = this.format;
14040
+ if (format4.retainLines || format4.compact) return;
14041
+ if (format4.concise) return void this.space();
14042
14042
  if (!newLine) return;
14043
14043
  const startLine = opts.nextNodeStartLine, lastCommentLine = this._lastCommentLine;
14044
14044
  if (startLine > 0 && lastCommentLine > 0) {
@@ -16523,13 +16523,13 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
16523
16523
  }(range, api.version);
16524
16524
  } };
16525
16525
  function declare(builder) {
16526
- return (api, options, dirname3) => {
16526
+ return (api, options, dirname4) => {
16527
16527
  var _clonedApi2;
16528
16528
  let clonedApi;
16529
16529
  for (const name of Object.keys(apiPolyfills)) {
16530
16530
  api[name] || (null != clonedApi || (clonedApi = copyApiObject(api)), clonedApi[name] = apiPolyfills[name](clonedApi));
16531
16531
  }
16532
- return builder(null != (_clonedApi2 = clonedApi) ? _clonedApi2 : api, options || {}, dirname3);
16532
+ return builder(null != (_clonedApi2 = clonedApi) ? _clonedApi2 : api, options || {}, dirname4);
16533
16533
  };
16534
16534
  }
16535
16535
  Object.assign(apiPolyfills, { targets: () => () => ({}), assumption: () => () => {
@@ -19739,9 +19739,9 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
19739
19739
  var _node$extra;
19740
19740
  this.toAssignableList(node.params, null == (_node$extra = node.extra) ? void 0 : _node$extra.trailingCommaLoc, false), this.scope.enter(6), super.checkParams(node, false, true), this.scope.exit();
19741
19741
  }
19742
- forwardNoArrowParamsConversionAt(node, parse6) {
19742
+ forwardNoArrowParamsConversionAt(node, parse7) {
19743
19743
  let result;
19744
- return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(node.start)) ? (this.state.noArrowParamsConversionAt.push(this.state.start), result = parse6(), this.state.noArrowParamsConversionAt.pop()) : result = parse6(), result;
19744
+ return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(node.start)) ? (this.state.noArrowParamsConversionAt.push(this.state.start), result = parse7(), this.state.noArrowParamsConversionAt.pop()) : result = parse7(), result;
19745
19745
  }
19746
19746
  parseParenItem(node, startLoc) {
19747
19747
  const newNode = super.parseParenItem(node, startLoc);
@@ -26949,8 +26949,8 @@ ${str}
26949
26949
  }
26950
26950
  }
26951
26951
  dump() {
26952
- const sep3 = "-".repeat(60);
26953
- console.log(sep3);
26952
+ const sep4 = "-".repeat(60);
26953
+ console.log(sep4);
26954
26954
  let scope = this;
26955
26955
  do {
26956
26956
  console.log("#", scope.block.type);
@@ -26959,7 +26959,7 @@ ${str}
26959
26959
  console.log(" -", name, { constant: binding.constant, references: binding.references, violations: binding.constantViolations.length, kind: binding.kind });
26960
26960
  }
26961
26961
  } while (scope = scope.parent);
26962
- console.log(sep3);
26962
+ console.log(sep4);
26963
26963
  }
26964
26964
  hasLabel(name) {
26965
26965
  return !!this.getLabel(name);
@@ -33173,16 +33173,16 @@ ${trace}`);
33173
33173
  } } };
33174
33174
  }
33175
33175
  var template_lib = __webpack_require__("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/index.js");
33176
- const _DRIVE_LETTER_START_RE2 = /^[A-Za-z]:\//;
33177
- function normalizeWindowsPath2(input = "") {
33178
- return input ? input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE2, (r4) => r4.toUpperCase()) : input;
33176
+ const _DRIVE_LETTER_START_RE3 = /^[A-Za-z]:\//;
33177
+ function normalizeWindowsPath3(input = "") {
33178
+ return input ? input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE3, (r4) => r4.toUpperCase()) : input;
33179
33179
  }
33180
- const _IS_ABSOLUTE_RE2 = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, _DRIVE_LETTER_RE2 = /^[A-Za-z]:$/;
33180
+ const _IS_ABSOLUTE_RE3 = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, _DRIVE_LETTER_RE3 = /^[A-Za-z]:$/;
33181
33181
  const pathe_ff20891b_isAbsolute = function(p2) {
33182
- return _IS_ABSOLUTE_RE2.test(p2);
33182
+ return _IS_ABSOLUTE_RE3.test(p2);
33183
33183
  }, pathe_ff20891b_dirname = function(p2) {
33184
- const segments = normalizeWindowsPath2(p2).replace(/\/$/, "").split("/").slice(0, -1);
33185
- return 1 === segments.length && _DRIVE_LETTER_RE2.test(segments[0]) && (segments[0] += "/"), segments.join("/") || (pathe_ff20891b_isAbsolute(p2) ? "/" : ".");
33184
+ const segments = normalizeWindowsPath3(p2).replace(/\/$/, "").split("/").slice(0, -1);
33185
+ return 1 === segments.length && _DRIVE_LETTER_RE3.test(segments[0]) && (segments[0] += "/"), segments.join("/") || (pathe_ff20891b_isAbsolute(p2) ? "/" : ".");
33186
33186
  };
33187
33187
  var astralIdentifierCodes2 = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], astralIdentifierStartCodes2 = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], nonASCIIidentifierStartChars2 = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC", reservedWords2 = { 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile", 5: "class enum extends super const export import", 6: "enum", strict: "implements interface let package private protected public static yield", strictBind: "eval arguments" }, ecma5AndLessKeywords2 = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", keywords$12 = { 5: ecma5AndLessKeywords2, "5module": ecma5AndLessKeywords2 + " export import", 6: ecma5AndLessKeywords2 + " const class extends export import super" }, keywordRelationalOperator2 = /^in(stanceof)?$/, nonASCIIidentifierStart2 = new RegExp("[" + nonASCIIidentifierStartChars2 + "]"), nonASCIIidentifier2 = new RegExp("[" + nonASCIIidentifierStartChars2 + "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");
33188
33188
  function isInAstralSet2(code, set) {
@@ -41017,6 +41017,174 @@ var init_dist2 = __esm({
41017
41017
  }
41018
41018
  });
41019
41019
 
41020
+ // node_modules/.pnpm/pathe@2.0.1/node_modules/pathe/dist/shared/pathe.BLwDEnA5.mjs
41021
+ function normalizeWindowsPath2(input = "") {
41022
+ if (!input) {
41023
+ return input;
41024
+ }
41025
+ return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE2, (r4) => r4.toUpperCase());
41026
+ }
41027
+ function cwd2() {
41028
+ if (typeof process !== "undefined" && typeof process.cwd === "function") {
41029
+ return process.cwd().replace(/\\/g, "/");
41030
+ }
41031
+ return "/";
41032
+ }
41033
+ function normalizeString2(path6, allowAboveRoot) {
41034
+ let res = "";
41035
+ let lastSegmentLength = 0;
41036
+ let lastSlash = -1;
41037
+ let dots = 0;
41038
+ let char = null;
41039
+ for (let index = 0; index <= path6.length; ++index) {
41040
+ if (index < path6.length) {
41041
+ char = path6[index];
41042
+ } else if (char === "/") {
41043
+ break;
41044
+ } else {
41045
+ char = "/";
41046
+ }
41047
+ if (char === "/") {
41048
+ if (lastSlash === index - 1 || dots === 1) ;
41049
+ else if (dots === 2) {
41050
+ if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
41051
+ if (res.length > 2) {
41052
+ const lastSlashIndex = res.lastIndexOf("/");
41053
+ if (lastSlashIndex === -1) {
41054
+ res = "";
41055
+ lastSegmentLength = 0;
41056
+ } else {
41057
+ res = res.slice(0, lastSlashIndex);
41058
+ lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
41059
+ }
41060
+ lastSlash = index;
41061
+ dots = 0;
41062
+ continue;
41063
+ } else if (res.length > 0) {
41064
+ res = "";
41065
+ lastSegmentLength = 0;
41066
+ lastSlash = index;
41067
+ dots = 0;
41068
+ continue;
41069
+ }
41070
+ }
41071
+ if (allowAboveRoot) {
41072
+ res += res.length > 0 ? "/.." : "..";
41073
+ lastSegmentLength = 2;
41074
+ }
41075
+ } else {
41076
+ if (res.length > 0) {
41077
+ res += `/${path6.slice(lastSlash + 1, index)}`;
41078
+ } else {
41079
+ res = path6.slice(lastSlash + 1, index);
41080
+ }
41081
+ lastSegmentLength = index - lastSlash - 1;
41082
+ }
41083
+ lastSlash = index;
41084
+ dots = 0;
41085
+ } else if (char === "." && dots !== -1) {
41086
+ ++dots;
41087
+ } else {
41088
+ dots = -1;
41089
+ }
41090
+ }
41091
+ return res;
41092
+ }
41093
+ var _DRIVE_LETTER_START_RE2, _UNC_REGEX2, _IS_ABSOLUTE_RE2, _DRIVE_LETTER_RE2, normalize3, join4, resolve2, isAbsolute2, dirname2;
41094
+ var init_pathe_BLwDEnA5 = __esm({
41095
+ "node_modules/.pnpm/pathe@2.0.1/node_modules/pathe/dist/shared/pathe.BLwDEnA5.mjs"() {
41096
+ _DRIVE_LETTER_START_RE2 = /^[A-Za-z]:\//;
41097
+ _UNC_REGEX2 = /^[/\\]{2}/;
41098
+ _IS_ABSOLUTE_RE2 = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
41099
+ _DRIVE_LETTER_RE2 = /^[A-Za-z]:$/;
41100
+ normalize3 = function(path6) {
41101
+ if (path6.length === 0) {
41102
+ return ".";
41103
+ }
41104
+ path6 = normalizeWindowsPath2(path6);
41105
+ const isUNCPath = path6.match(_UNC_REGEX2);
41106
+ const isPathAbsolute = isAbsolute2(path6);
41107
+ const trailingSeparator = path6[path6.length - 1] === "/";
41108
+ path6 = normalizeString2(path6, !isPathAbsolute);
41109
+ if (path6.length === 0) {
41110
+ if (isPathAbsolute) {
41111
+ return "/";
41112
+ }
41113
+ return trailingSeparator ? "./" : ".";
41114
+ }
41115
+ if (trailingSeparator) {
41116
+ path6 += "/";
41117
+ }
41118
+ if (_DRIVE_LETTER_RE2.test(path6)) {
41119
+ path6 += "/";
41120
+ }
41121
+ if (isUNCPath) {
41122
+ if (!isPathAbsolute) {
41123
+ return `//./${path6}`;
41124
+ }
41125
+ return `//${path6}`;
41126
+ }
41127
+ return isPathAbsolute && !isAbsolute2(path6) ? `/${path6}` : path6;
41128
+ };
41129
+ join4 = function(...segments) {
41130
+ let path6 = "";
41131
+ for (const seg of segments) {
41132
+ if (!seg) {
41133
+ continue;
41134
+ }
41135
+ if (path6.length > 0) {
41136
+ const pathTrailing = path6[path6.length - 1] === "/";
41137
+ const segLeading = seg[0] === "/";
41138
+ const both = pathTrailing && segLeading;
41139
+ if (both) {
41140
+ path6 += seg.slice(1);
41141
+ } else {
41142
+ path6 += pathTrailing || segLeading ? seg : `/${seg}`;
41143
+ }
41144
+ } else {
41145
+ path6 += seg;
41146
+ }
41147
+ }
41148
+ return normalize3(path6);
41149
+ };
41150
+ resolve2 = function(...arguments_) {
41151
+ arguments_ = arguments_.map((argument) => normalizeWindowsPath2(argument));
41152
+ let resolvedPath = "";
41153
+ let resolvedAbsolute = false;
41154
+ for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
41155
+ const path6 = index >= 0 ? arguments_[index] : cwd2();
41156
+ if (!path6 || path6.length === 0) {
41157
+ continue;
41158
+ }
41159
+ resolvedPath = `${path6}/${resolvedPath}`;
41160
+ resolvedAbsolute = isAbsolute2(path6);
41161
+ }
41162
+ resolvedPath = normalizeString2(resolvedPath, !resolvedAbsolute);
41163
+ if (resolvedAbsolute && !isAbsolute2(resolvedPath)) {
41164
+ return `/${resolvedPath}`;
41165
+ }
41166
+ return resolvedPath.length > 0 ? resolvedPath : ".";
41167
+ };
41168
+ isAbsolute2 = function(p2) {
41169
+ return _IS_ABSOLUTE_RE2.test(p2);
41170
+ };
41171
+ dirname2 = function(p2) {
41172
+ const segments = normalizeWindowsPath2(p2).replace(/\/$/, "").split("/").slice(0, -1);
41173
+ if (segments.length === 1 && _DRIVE_LETTER_RE2.test(segments[0])) {
41174
+ segments[0] += "/";
41175
+ }
41176
+ return segments.join("/") || (isAbsolute2(p2) ? "/" : ".");
41177
+ };
41178
+ }
41179
+ });
41180
+
41181
+ // node_modules/.pnpm/pathe@2.0.1/node_modules/pathe/dist/index.mjs
41182
+ var init_dist3 = __esm({
41183
+ "node_modules/.pnpm/pathe@2.0.1/node_modules/pathe/dist/index.mjs"() {
41184
+ init_pathe_BLwDEnA5();
41185
+ }
41186
+ });
41187
+
41020
41188
  // node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/shared/confbox.9388d834.mjs
41021
41189
  function g(e2, t2) {
41022
41190
  const n = /* @__PURE__ */ new Map();
@@ -43650,17 +43818,17 @@ ${f2}`, i2);
43650
43818
  });
43651
43819
 
43652
43820
  // node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/index.mjs
43653
- var init_dist3 = __esm({
43821
+ var init_dist4 = __esm({
43654
43822
  "node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/index.mjs"() {
43655
43823
  init_confbox_f9f03f05();
43656
43824
  }
43657
43825
  });
43658
43826
 
43659
- // node_modules/.pnpm/pkg-types@1.3.0/node_modules/pkg-types/dist/index.mjs
43827
+ // node_modules/.pnpm/pkg-types@1.3.1/node_modules/pkg-types/dist/index.mjs
43660
43828
  async function findFile(filename, _options = {}) {
43661
43829
  const filenames = Array.isArray(filename) ? filename : [filename];
43662
43830
  const options = { ...defaultFindOptions, ..._options };
43663
- const basePath = resolve(options.startingFrom);
43831
+ const basePath = resolve2(options.startingFrom);
43664
43832
  const leadingSlash = basePath[0] === "/";
43665
43833
  const segments = basePath.split("/").filter(Boolean);
43666
43834
  if (leadingSlash) {
@@ -43673,7 +43841,7 @@ async function findFile(filename, _options = {}) {
43673
43841
  if (options.reverse) {
43674
43842
  for (let index = root + 1; index <= segments.length; index++) {
43675
43843
  for (const filename2 of filenames) {
43676
- const filePath = join3(...segments.slice(0, index), filename2);
43844
+ const filePath = join4(...segments.slice(0, index), filename2);
43677
43845
  if (await options.test(filePath)) {
43678
43846
  return filePath;
43679
43847
  }
@@ -43682,7 +43850,7 @@ async function findFile(filename, _options = {}) {
43682
43850
  } else {
43683
43851
  for (let index = segments.length; index > root; index--) {
43684
43852
  for (const filename2 of filenames) {
43685
- const filePath = join3(...segments.slice(0, index), filename2);
43853
+ const filePath = join4(...segments.slice(0, index), filename2);
43686
43854
  if (await options.test(filePath)) {
43687
43855
  return filePath;
43688
43856
  }
@@ -43713,14 +43881,14 @@ async function readPackageJSON(id, options = {}) {
43713
43881
  return parsed;
43714
43882
  }
43715
43883
  async function resolvePackageJSON(id = process.cwd(), options = {}) {
43716
- const resolvedPath = isAbsolute(id) ? id : await resolvePath(id, options);
43884
+ const resolvedPath = isAbsolute2(id) ? id : await resolvePath(id, options);
43717
43885
  return findNearestFile("package.json", {
43718
43886
  startingFrom: resolvedPath,
43719
43887
  ...options
43720
43888
  });
43721
43889
  }
43722
43890
  async function resolveLockfile(id = process.cwd(), options = {}) {
43723
- const resolvedPath = isAbsolute(id) ? id : await resolvePath(id, options);
43891
+ const resolvedPath = isAbsolute2(id) ? id : await resolvePath(id, options);
43724
43892
  const _options = { startingFrom: resolvedPath, ...options };
43725
43893
  try {
43726
43894
  return await findNearestFile(lockFiles, _options);
@@ -43729,11 +43897,11 @@ async function resolveLockfile(id = process.cwd(), options = {}) {
43729
43897
  throw new Error("No lockfile found from " + id);
43730
43898
  }
43731
43899
  async function findWorkspaceDir(id = process.cwd(), options = {}) {
43732
- const resolvedPath = isAbsolute(id) ? id : await resolvePath(id, options);
43900
+ const resolvedPath = isAbsolute2(id) ? id : await resolvePath(id, options);
43733
43901
  const _options = { startingFrom: resolvedPath, ...options };
43734
43902
  try {
43735
43903
  const r4 = await findNearestFile(".git/config", _options);
43736
- return resolve(r4, "../..");
43904
+ return resolve2(r4, "../..");
43737
43905
  } catch {
43738
43906
  }
43739
43907
  try {
@@ -43741,23 +43909,23 @@ async function findWorkspaceDir(id = process.cwd(), options = {}) {
43741
43909
  ..._options,
43742
43910
  reverse: true
43743
43911
  });
43744
- return dirname(r4);
43912
+ return dirname2(r4);
43745
43913
  } catch {
43746
43914
  }
43747
43915
  try {
43748
43916
  const r4 = await findFile(resolvedPath, _options);
43749
- return dirname(r4);
43917
+ return dirname2(r4);
43750
43918
  } catch {
43751
43919
  }
43752
43920
  throw new Error("Cannot detect workspace root from " + id);
43753
43921
  }
43754
43922
  var import_node_fs3, defaultFindOptions, FileCache, lockFiles;
43755
- var init_dist4 = __esm({
43756
- "node_modules/.pnpm/pkg-types@1.3.0/node_modules/pkg-types/dist/index.mjs"() {
43923
+ var init_dist5 = __esm({
43924
+ "node_modules/.pnpm/pkg-types@1.3.1/node_modules/pkg-types/dist/index.mjs"() {
43757
43925
  import_node_fs3 = require("node:fs");
43758
- init_dist();
43759
- init_dist5();
43760
43926
  init_dist3();
43927
+ init_dist6();
43928
+ init_dist4();
43761
43929
  defaultFindOptions = {
43762
43930
  startingFrom: ".",
43763
43931
  rootPattern: /^node_modules$/,
@@ -43777,12 +43945,13 @@ var init_dist4 = __esm({
43777
43945
  "package-lock.json",
43778
43946
  "pnpm-lock.yaml",
43779
43947
  "npm-shrinkwrap.json",
43780
- "bun.lockb"
43948
+ "bun.lockb",
43949
+ "bun.lock"
43781
43950
  ];
43782
43951
  }
43783
43952
  });
43784
43953
 
43785
- // node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist/index.mjs
43954
+ // node_modules/.pnpm/mlly@1.7.4/node_modules/mlly/dist/index.mjs
43786
43955
  function normalizeSlash(path6) {
43787
43956
  return path6.replace(/\\/g, "/");
43788
43957
  }
@@ -43989,7 +44158,7 @@ function getDataProtocolModuleFormat(parsed) {
43989
44158
  ) || [null, null, null];
43990
44159
  return mimeToFormat(mime);
43991
44160
  }
43992
- function extname2(url) {
44161
+ function extname3(url) {
43993
44162
  const pathname = url.pathname;
43994
44163
  let index = pathname.length;
43995
44164
  while (index--) {
@@ -44004,7 +44173,7 @@ function extname2(url) {
44004
44173
  return "";
44005
44174
  }
44006
44175
  function getFileProtocolModuleFormat(url, _context, ignoreErrors) {
44007
- const value2 = extname2(url);
44176
+ const value2 = extname3(url);
44008
44177
  if (value2 === ".js") {
44009
44178
  const packageType = getPackageType(url);
44010
44179
  if (packageType !== "none") {
@@ -44019,8 +44188,8 @@ function getFileProtocolModuleFormat(url, _context, ignoreErrors) {
44019
44188
  }
44020
44189
  return "module";
44021
44190
  }
44022
- const format3 = extensionFormatMap[value2];
44023
- if (format3) return format3;
44191
+ const format4 = extensionFormatMap[value2];
44192
+ if (format4) return format4;
44024
44193
  if (ignoreErrors) {
44025
44194
  return void 0;
44026
44195
  }
@@ -44052,8 +44221,8 @@ function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) {
44052
44221
  if (import_node_process.default.noDeprecation) {
44053
44222
  return;
44054
44223
  }
44055
- const format3 = defaultGetFormatWithoutErrors(url, { parentURL: base.href });
44056
- if (format3 !== "module") return;
44224
+ const format4 = defaultGetFormatWithoutErrors(url, { parentURL: base.href });
44225
+ if (format4 !== "module") return;
44057
44226
  const urlPath = (0, import_node_url3.fileURLToPath)(url.href);
44058
44227
  const packagePath = (0, import_node_url3.fileURLToPath)(new import_node_url3.URL(".", packageJsonUrl));
44059
44228
  const basePath = (0, import_node_url3.fileURLToPath)(base);
@@ -44170,7 +44339,7 @@ function finalizeResolution(resolved, base, preserveSymlinks) {
44170
44339
  error.url = String(resolved);
44171
44340
  throw error;
44172
44341
  }
44173
- if (!preserveSymlinks) {
44342
+ {
44174
44343
  const real = (0, import_node_fs4.realpathSync)(filePath);
44175
44344
  const { search, hash: hash2 } = resolved;
44176
44345
  resolved = (0, import_node_url3.pathToFileURL)(real + (filePath.endsWith(import_node_path4.default.sep) ? "/" : ""));
@@ -44717,7 +44886,7 @@ function moduleResolve(specifier, base, conditions, preserveSymlinks) {
44717
44886
  if (resolved.protocol !== "file:") {
44718
44887
  return resolved;
44719
44888
  }
44720
- return finalizeResolution(resolved, base, preserveSymlinks);
44889
+ return finalizeResolution(resolved, base);
44721
44890
  }
44722
44891
  function fileURLToPath3(id) {
44723
44892
  if (typeof id === "string" && !id.startsWith("file://")) {
@@ -44766,7 +44935,7 @@ function _resolve(id, options = {}) {
44766
44935
  if (id.startsWith("file://")) {
44767
44936
  id = fileURLToPath3(id);
44768
44937
  }
44769
- if (isAbsolute(id)) {
44938
+ if (isAbsolute2(id)) {
44770
44939
  try {
44771
44940
  const stat = (0, import_node_fs4.statSync)(id);
44772
44941
  if (stat.isFile()) {
@@ -44843,13 +45012,13 @@ function resolvePath(id, options) {
44843
45012
  }
44844
45013
  }
44845
45014
  var import_node_module2, import_node_fs4, import_node_url3, import_node_assert, import_node_process, import_node_path4, import_node_v8, import_node_util, BUILTIN_MODULES, own$1, classRegExp, kTypes, codes, messages, nodeInternalPrefix, userStackTraceLimit, captureLargerStackTrace, hasOwnProperty$1, ERR_INVALID_PACKAGE_CONFIG$1, cache, ERR_UNKNOWN_FILE_EXTENSION, hasOwnProperty3, extensionFormatMap, protocolHandlers, RegExpPrototypeSymbolReplace, ERR_NETWORK_IMPORT_DISALLOWED, ERR_INVALID_MODULE_SPECIFIER, ERR_INVALID_PACKAGE_CONFIG, ERR_INVALID_PACKAGE_TARGET, ERR_MODULE_NOT_FOUND, ERR_PACKAGE_IMPORT_NOT_DEFINED, ERR_PACKAGE_PATH_NOT_EXPORTED, ERR_UNSUPPORTED_DIR_IMPORT, ERR_UNSUPPORTED_RESOLVE_REQUEST, own, invalidSegmentRegEx, deprecatedInvalidSegmentRegEx, invalidPackageNameRegEx, patternRegEx, encodedSeparatorRegEx, emittedPackageWarnings, doubleSlashRegEx, DEFAULT_CONDITIONS_SET, DEFAULT_EXTENSIONS, NOT_FOUND_ERRORS;
44846
- var init_dist5 = __esm({
44847
- "node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist/index.mjs"() {
45015
+ var init_dist6 = __esm({
45016
+ "node_modules/.pnpm/mlly@1.7.4/node_modules/mlly/dist/index.mjs"() {
44848
45017
  init_acorn();
44849
45018
  import_node_module2 = require("node:module");
44850
45019
  import_node_fs4 = __toESM(require("node:fs"), 1);
44851
45020
  init_dist2();
44852
- init_dist();
45021
+ init_dist3();
44853
45022
  import_node_url3 = require("node:url");
44854
45023
  import_node_assert = __toESM(require("node:assert"), 1);
44855
45024
  import_node_process = __toESM(require("node:process"), 1);
@@ -45222,7 +45391,7 @@ var require_main = __commonJS({
45222
45391
  var packageJson = require_package();
45223
45392
  var version2 = packageJson.version;
45224
45393
  var LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;
45225
- function parse6(src) {
45394
+ function parse7(src) {
45226
45395
  const obj = {};
45227
45396
  let lines = src.toString();
45228
45397
  lines = lines.replace(/\r\n?/mg, "\n");
@@ -45465,7 +45634,7 @@ var require_main = __commonJS({
45465
45634
  _parseVault,
45466
45635
  config,
45467
45636
  decrypt,
45468
- parse: parse6,
45637
+ parse: parse7,
45469
45638
  populate
45470
45639
  };
45471
45640
  module2.exports.configDotenv = DotenvModule.configDotenv;
@@ -45949,10 +46118,10 @@ var require_minipass = __commonJS({
45949
46118
  }
45950
46119
  // stream.promise().then(() => done, er => emitted error)
45951
46120
  promise() {
45952
- return new Promise((resolve3, reject) => {
46121
+ return new Promise((resolve4, reject) => {
45953
46122
  this.on(DESTROYED2, () => reject(new Error("stream destroyed")));
45954
46123
  this.on("error", (er2) => reject(er2));
45955
- this.on("end", () => resolve3());
46124
+ this.on("end", () => resolve4());
45956
46125
  });
45957
46126
  }
45958
46127
  // for await (let chunk of stream)
@@ -45968,7 +46137,7 @@ var require_minipass = __commonJS({
45968
46137
  const res = this.read();
45969
46138
  if (res !== null) return Promise.resolve({ done: false, value: res });
45970
46139
  if (this[EOF2]) return stop();
45971
- let resolve3 = null;
46140
+ let resolve4 = null;
45972
46141
  let reject = null;
45973
46142
  const onerr = (er2) => {
45974
46143
  this.removeListener("data", ondata);
@@ -45982,19 +46151,19 @@ var require_minipass = __commonJS({
45982
46151
  this.removeListener("end", onend);
45983
46152
  this.removeListener(DESTROYED2, ondestroy);
45984
46153
  this.pause();
45985
- resolve3({ value: value2, done: !!this[EOF2] });
46154
+ resolve4({ value: value2, done: !!this[EOF2] });
45986
46155
  };
45987
46156
  const onend = () => {
45988
46157
  this.removeListener("error", onerr);
45989
46158
  this.removeListener("data", ondata);
45990
46159
  this.removeListener(DESTROYED2, ondestroy);
45991
46160
  stop();
45992
- resolve3({ done: true });
46161
+ resolve4({ done: true });
45993
46162
  };
45994
46163
  const ondestroy = () => onerr(new Error("stream destroyed"));
45995
46164
  return new Promise((res2, rej) => {
45996
46165
  reject = rej;
45997
- resolve3 = res2;
46166
+ resolve4 = res2;
45998
46167
  this.once(DESTROYED2, ondestroy);
45999
46168
  this.once("error", onerr);
46000
46169
  this.once("end", onend);
@@ -46622,10 +46791,10 @@ var require_minipass2 = __commonJS({
46622
46791
  }
46623
46792
  // stream.promise().then(() => done, er => emitted error)
46624
46793
  promise() {
46625
- return new Promise((resolve3, reject) => {
46794
+ return new Promise((resolve4, reject) => {
46626
46795
  this.on(DESTROYED2, () => reject(new Error("stream destroyed")));
46627
46796
  this.on("error", (er2) => reject(er2));
46628
- this.on("end", () => resolve3());
46797
+ this.on("end", () => resolve4());
46629
46798
  });
46630
46799
  }
46631
46800
  // for await (let chunk of stream)
@@ -46636,7 +46805,7 @@ var require_minipass2 = __commonJS({
46636
46805
  return Promise.resolve({ done: false, value: res });
46637
46806
  if (this[EOF2])
46638
46807
  return Promise.resolve({ done: true });
46639
- let resolve3 = null;
46808
+ let resolve4 = null;
46640
46809
  let reject = null;
46641
46810
  const onerr = (er2) => {
46642
46811
  this.removeListener("data", ondata);
@@ -46647,17 +46816,17 @@ var require_minipass2 = __commonJS({
46647
46816
  this.removeListener("error", onerr);
46648
46817
  this.removeListener("end", onend);
46649
46818
  this.pause();
46650
- resolve3({ value: value2, done: !!this[EOF2] });
46819
+ resolve4({ value: value2, done: !!this[EOF2] });
46651
46820
  };
46652
46821
  const onend = () => {
46653
46822
  this.removeListener("error", onerr);
46654
46823
  this.removeListener("data", ondata);
46655
- resolve3({ done: true });
46824
+ resolve4({ done: true });
46656
46825
  };
46657
46826
  const ondestroy = () => onerr(new Error("stream destroyed"));
46658
46827
  return new Promise((res2, rej) => {
46659
46828
  reject = rej;
46660
- resolve3 = res2;
46829
+ resolve4 = res2;
46661
46830
  this.once(DESTROYED2, ondestroy);
46662
46831
  this.once("error", onerr);
46663
46832
  this.once("end", onend);
@@ -47155,7 +47324,7 @@ var require_large_numbers = __commonJS({
47155
47324
  }
47156
47325
  }
47157
47326
  };
47158
- var parse6 = (buf) => {
47327
+ var parse7 = (buf) => {
47159
47328
  const pre = buf[0];
47160
47329
  const value2 = pre === 128 ? pos(buf.slice(1, buf.length)) : pre === 255 ? twos(buf) : null;
47161
47330
  if (value2 === null) {
@@ -47202,7 +47371,7 @@ var require_large_numbers = __commonJS({
47202
47371
  var twosComp = (byte) => (255 ^ byte) + 1 & 255;
47203
47372
  module2.exports = {
47204
47373
  encode,
47205
- parse: parse6
47374
+ parse: parse7
47206
47375
  };
47207
47376
  }
47208
47377
  });
@@ -47597,15 +47766,15 @@ var require_winchars = __commonJS({
47597
47766
  // node_modules/.pnpm/tar@6.2.1/node_modules/tar/lib/strip-absolute-path.js
47598
47767
  var require_strip_absolute_path = __commonJS({
47599
47768
  "node_modules/.pnpm/tar@6.2.1/node_modules/tar/lib/strip-absolute-path.js"(exports2, module2) {
47600
- var { isAbsolute: isAbsolute2, parse: parse6 } = require("path").win32;
47769
+ var { isAbsolute: isAbsolute3, parse: parse7 } = require("path").win32;
47601
47770
  module2.exports = (path6) => {
47602
47771
  let r4 = "";
47603
- let parsed = parse6(path6);
47604
- while (isAbsolute2(path6) || parsed.root) {
47772
+ let parsed = parse7(path6);
47773
+ while (isAbsolute3(path6) || parsed.root) {
47605
47774
  const root = path6.charAt(0) === "/" && path6.slice(0, 4) !== "//?/" ? "/" : parsed.root;
47606
47775
  path6 = path6.slice(root.length);
47607
47776
  r4 += root;
47608
- parsed = parse6(path6);
47777
+ parsed = parse7(path6);
47609
47778
  }
47610
47779
  return [r4, path6];
47611
47780
  };
@@ -49744,12 +49913,12 @@ var require_list = __commonJS({
49744
49913
  }
49745
49914
  };
49746
49915
  var listFile = (opt, cb) => {
49747
- const parse6 = new Parser3(opt);
49916
+ const parse7 = new Parser3(opt);
49748
49917
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
49749
49918
  const file = opt.file;
49750
- const p2 = new Promise((resolve3, reject) => {
49751
- parse6.on("error", reject);
49752
- parse6.on("end", resolve3);
49919
+ const p2 = new Promise((resolve4, reject) => {
49920
+ parse7.on("error", reject);
49921
+ parse7.on("end", resolve4);
49753
49922
  fs2.stat(file, (er2, stat) => {
49754
49923
  if (er2) {
49755
49924
  reject(er2);
@@ -49759,7 +49928,7 @@ var require_list = __commonJS({
49759
49928
  size: stat.size
49760
49929
  });
49761
49930
  stream2.on("error", reject);
49762
- stream2.pipe(parse6);
49931
+ stream2.pipe(parse7);
49763
49932
  }
49764
49933
  });
49765
49934
  });
@@ -50011,7 +50180,7 @@ var require_replace = __commonJS({
50011
50180
  };
50012
50181
  fs2.read(fd, headBuf, 0, 512, position, onread);
50013
50182
  };
50014
- const promise = new Promise((resolve3, reject) => {
50183
+ const promise = new Promise((resolve4, reject) => {
50015
50184
  p2.on("error", reject);
50016
50185
  let flag = "r+";
50017
50186
  const onopen = (er2, fd) => {
@@ -50036,7 +50205,7 @@ var require_replace = __commonJS({
50036
50205
  });
50037
50206
  p2.pipe(stream2);
50038
50207
  stream2.on("error", reject);
50039
- stream2.on("close", resolve3);
50208
+ stream2.on("close", resolve4);
50040
50209
  addFilesAsync(p2, files);
50041
50210
  });
50042
50211
  });
@@ -50141,7 +50310,7 @@ var require_opts_arg = __commonJS({
50141
50310
  var require_path_arg = __commonJS({
50142
50311
  "node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/path-arg.js"(exports2, module2) {
50143
50312
  var platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;
50144
- var { resolve: resolve3, parse: parse6 } = require("path");
50313
+ var { resolve: resolve4, parse: parse7 } = require("path");
50145
50314
  var pathArg = (path6) => {
50146
50315
  if (/\0/.test(path6)) {
50147
50316
  throw Object.assign(
@@ -50152,10 +50321,10 @@ var require_path_arg = __commonJS({
50152
50321
  }
50153
50322
  );
50154
50323
  }
50155
- path6 = resolve3(path6);
50324
+ path6 = resolve4(path6);
50156
50325
  if (platform === "win32") {
50157
50326
  const badWinChars = /[*|"<>?:]/;
50158
- const { root } = parse6(path6);
50327
+ const { root } = parse7(path6);
50159
50328
  if (badWinChars.test(path6.substr(root.length))) {
50160
50329
  throw Object.assign(new Error("Illegal characters in path."), {
50161
50330
  path: path6,
@@ -50172,14 +50341,14 @@ var require_path_arg = __commonJS({
50172
50341
  // node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/find-made.js
50173
50342
  var require_find_made = __commonJS({
50174
50343
  "node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/find-made.js"(exports2, module2) {
50175
- var { dirname: dirname3 } = require("path");
50344
+ var { dirname: dirname4 } = require("path");
50176
50345
  var findMade = (opts, parent, path6 = void 0) => {
50177
50346
  if (path6 === parent)
50178
50347
  return Promise.resolve();
50179
50348
  return opts.statAsync(parent).then(
50180
50349
  (st) => st.isDirectory() ? path6 : void 0,
50181
50350
  // will fail later
50182
- (er2) => er2.code === "ENOENT" ? findMade(opts, dirname3(parent), parent) : void 0
50351
+ (er2) => er2.code === "ENOENT" ? findMade(opts, dirname4(parent), parent) : void 0
50183
50352
  );
50184
50353
  };
50185
50354
  var findMadeSync = (opts, parent, path6 = void 0) => {
@@ -50188,7 +50357,7 @@ var require_find_made = __commonJS({
50188
50357
  try {
50189
50358
  return opts.statSync(parent).isDirectory() ? path6 : void 0;
50190
50359
  } catch (er2) {
50191
- return er2.code === "ENOENT" ? findMadeSync(opts, dirname3(parent), parent) : void 0;
50360
+ return er2.code === "ENOENT" ? findMadeSync(opts, dirname4(parent), parent) : void 0;
50192
50361
  }
50193
50362
  };
50194
50363
  module2.exports = { findMade, findMadeSync };
@@ -50198,10 +50367,10 @@ var require_find_made = __commonJS({
50198
50367
  // node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/mkdirp-manual.js
50199
50368
  var require_mkdirp_manual = __commonJS({
50200
50369
  "node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/mkdirp-manual.js"(exports2, module2) {
50201
- var { dirname: dirname3 } = require("path");
50370
+ var { dirname: dirname4 } = require("path");
50202
50371
  var mkdirpManual = (path6, opts, made) => {
50203
50372
  opts.recursive = false;
50204
- const parent = dirname3(path6);
50373
+ const parent = dirname4(path6);
50205
50374
  if (parent === path6) {
50206
50375
  return opts.mkdirAsync(path6, opts).catch((er2) => {
50207
50376
  if (er2.code !== "EISDIR")
@@ -50224,7 +50393,7 @@ var require_mkdirp_manual = __commonJS({
50224
50393
  });
50225
50394
  };
50226
50395
  var mkdirpManualSync = (path6, opts, made) => {
50227
- const parent = dirname3(path6);
50396
+ const parent = dirname4(path6);
50228
50397
  opts.recursive = false;
50229
50398
  if (parent === path6) {
50230
50399
  try {
@@ -50259,12 +50428,12 @@ var require_mkdirp_manual = __commonJS({
50259
50428
  // node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/mkdirp-native.js
50260
50429
  var require_mkdirp_native = __commonJS({
50261
50430
  "node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/mkdirp-native.js"(exports2, module2) {
50262
- var { dirname: dirname3 } = require("path");
50431
+ var { dirname: dirname4 } = require("path");
50263
50432
  var { findMade, findMadeSync } = require_find_made();
50264
50433
  var { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
50265
50434
  var mkdirpNative = (path6, opts) => {
50266
50435
  opts.recursive = true;
50267
- const parent = dirname3(path6);
50436
+ const parent = dirname4(path6);
50268
50437
  if (parent === path6)
50269
50438
  return opts.mkdirAsync(path6, opts);
50270
50439
  return findMade(opts, path6).then((made) => opts.mkdirAsync(path6, opts).then(() => made).catch((er2) => {
@@ -50276,7 +50445,7 @@ var require_mkdirp_native = __commonJS({
50276
50445
  };
50277
50446
  var mkdirpNativeSync = (path6, opts) => {
50278
50447
  opts.recursive = true;
50279
- const parent = dirname3(path6);
50448
+ const parent = dirname4(path6);
50280
50449
  if (parent === path6)
50281
50450
  return opts.mkdirSync(path6, opts);
50282
50451
  const made = findMadeSync(opts, path6);
@@ -50515,7 +50684,7 @@ var require_mkdir = __commonJS({
50515
50684
  const preserve = opt.preserve;
50516
50685
  const unlink = opt.unlink;
50517
50686
  const cache2 = opt.cache;
50518
- const cwd2 = normPath(opt.cwd);
50687
+ const cwd3 = normPath(opt.cwd);
50519
50688
  const done = (er2, created) => {
50520
50689
  if (er2) {
50521
50690
  cb(er2);
@@ -50533,41 +50702,41 @@ var require_mkdir = __commonJS({
50533
50702
  if (cache2 && cGet(cache2, dir) === true) {
50534
50703
  return done();
50535
50704
  }
50536
- if (dir === cwd2) {
50705
+ if (dir === cwd3) {
50537
50706
  return checkCwd(dir, done);
50538
50707
  }
50539
50708
  if (preserve) {
50540
50709
  return mkdirp(dir, { mode }).then((made) => done(null, made), done);
50541
50710
  }
50542
- const sub = normPath(path6.relative(cwd2, dir));
50711
+ const sub = normPath(path6.relative(cwd3, dir));
50543
50712
  const parts = sub.split("/");
50544
- mkdir_(cwd2, parts, mode, cache2, unlink, cwd2, null, done);
50713
+ mkdir_(cwd3, parts, mode, cache2, unlink, cwd3, null, done);
50545
50714
  };
50546
- var mkdir_ = (base, parts, mode, cache2, unlink, cwd2, created, cb) => {
50715
+ var mkdir_ = (base, parts, mode, cache2, unlink, cwd3, created, cb) => {
50547
50716
  if (!parts.length) {
50548
50717
  return cb(null, created);
50549
50718
  }
50550
50719
  const p2 = parts.shift();
50551
50720
  const part = normPath(path6.resolve(base + "/" + p2));
50552
50721
  if (cGet(cache2, part)) {
50553
- return mkdir_(part, parts, mode, cache2, unlink, cwd2, created, cb);
50722
+ return mkdir_(part, parts, mode, cache2, unlink, cwd3, created, cb);
50554
50723
  }
50555
- fs2.mkdir(part, mode, onmkdir(part, parts, mode, cache2, unlink, cwd2, created, cb));
50724
+ fs2.mkdir(part, mode, onmkdir(part, parts, mode, cache2, unlink, cwd3, created, cb));
50556
50725
  };
50557
- var onmkdir = (part, parts, mode, cache2, unlink, cwd2, created, cb) => (er2) => {
50726
+ var onmkdir = (part, parts, mode, cache2, unlink, cwd3, created, cb) => (er2) => {
50558
50727
  if (er2) {
50559
50728
  fs2.lstat(part, (statEr, st) => {
50560
50729
  if (statEr) {
50561
50730
  statEr.path = statEr.path && normPath(statEr.path);
50562
50731
  cb(statEr);
50563
50732
  } else if (st.isDirectory()) {
50564
- mkdir_(part, parts, mode, cache2, unlink, cwd2, created, cb);
50733
+ mkdir_(part, parts, mode, cache2, unlink, cwd3, created, cb);
50565
50734
  } else if (unlink) {
50566
50735
  fs2.unlink(part, (er3) => {
50567
50736
  if (er3) {
50568
50737
  return cb(er3);
50569
50738
  }
50570
- fs2.mkdir(part, mode, onmkdir(part, parts, mode, cache2, unlink, cwd2, created, cb));
50739
+ fs2.mkdir(part, mode, onmkdir(part, parts, mode, cache2, unlink, cwd3, created, cb));
50571
50740
  });
50572
50741
  } else if (st.isSymbolicLink()) {
50573
50742
  return cb(new SymlinkError(part, part + "/" + parts.join("/")));
@@ -50577,7 +50746,7 @@ var require_mkdir = __commonJS({
50577
50746
  });
50578
50747
  } else {
50579
50748
  created = created || part;
50580
- mkdir_(part, parts, mode, cache2, unlink, cwd2, created, cb);
50749
+ mkdir_(part, parts, mode, cache2, unlink, cwd3, created, cb);
50581
50750
  }
50582
50751
  };
50583
50752
  var checkCwdSync = (dir) => {
@@ -50604,7 +50773,7 @@ var require_mkdir = __commonJS({
50604
50773
  const preserve = opt.preserve;
50605
50774
  const unlink = opt.unlink;
50606
50775
  const cache2 = opt.cache;
50607
- const cwd2 = normPath(opt.cwd);
50776
+ const cwd3 = normPath(opt.cwd);
50608
50777
  const done = (created2) => {
50609
50778
  cSet(cache2, dir, true);
50610
50779
  if (created2 && doChown) {
@@ -50617,17 +50786,17 @@ var require_mkdir = __commonJS({
50617
50786
  if (cache2 && cGet(cache2, dir) === true) {
50618
50787
  return done();
50619
50788
  }
50620
- if (dir === cwd2) {
50621
- checkCwdSync(cwd2);
50789
+ if (dir === cwd3) {
50790
+ checkCwdSync(cwd3);
50622
50791
  return done();
50623
50792
  }
50624
50793
  if (preserve) {
50625
50794
  return done(mkdirp.sync(dir, mode));
50626
50795
  }
50627
- const sub = normPath(path6.relative(cwd2, dir));
50796
+ const sub = normPath(path6.relative(cwd3, dir));
50628
50797
  const parts = sub.split("/");
50629
50798
  let created = null;
50630
- for (let p2 = parts.shift(), part = cwd2; p2 && (part += "/" + p2); p2 = parts.shift()) {
50799
+ for (let p2 = parts.shift(), part = cwd3; p2 && (part += "/" + p2); p2 = parts.shift()) {
50631
50800
  part = normPath(path6.resolve(part));
50632
50801
  if (cGet(cache2, part)) {
50633
50802
  continue;
@@ -50675,9 +50844,9 @@ var require_normalize_unicode = __commonJS({
50675
50844
  var require_path_reservations = __commonJS({
50676
50845
  "node_modules/.pnpm/tar@6.2.1/node_modules/tar/lib/path-reservations.js"(exports2, module2) {
50677
50846
  var assert2 = require("assert");
50678
- var normalize3 = require_normalize_unicode();
50847
+ var normalize4 = require_normalize_unicode();
50679
50848
  var stripSlashes = require_strip_trailing_slashes();
50680
- var { join: join4 } = require("path");
50849
+ var { join: join5 } = require("path");
50681
50850
  var platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
50682
50851
  var isWindows = platform === "win32";
50683
50852
  module2.exports = () => {
@@ -50686,7 +50855,7 @@ var require_path_reservations = __commonJS({
50686
50855
  const getDirs = (path6) => {
50687
50856
  const dirs = path6.split("/").slice(0, -1).reduce((set, path7) => {
50688
50857
  if (set.length) {
50689
- path7 = join4(set[set.length - 1], path7);
50858
+ path7 = join5(set[set.length - 1], path7);
50690
50859
  }
50691
50860
  set.push(path7 || "/");
50692
50861
  return set;
@@ -50754,7 +50923,7 @@ var require_path_reservations = __commonJS({
50754
50923
  };
50755
50924
  const reserve = (paths, fn2) => {
50756
50925
  paths = isWindows ? ["win32 parallelization disabled"] : paths.map((p2) => {
50757
- return stripSlashes(join4(normalize3(p2))).toLowerCase();
50926
+ return stripSlashes(join5(normalize4(p2))).toLowerCase();
50758
50927
  });
50759
50928
  const dirs = new Set(
50760
50929
  paths.map((path6) => getDirs(path6)).reduce((a2, b6) => a2.concat(b6))
@@ -50814,7 +50983,7 @@ var require_unpack = __commonJS({
50814
50983
  var stripAbsolutePath = require_strip_absolute_path();
50815
50984
  var normPath = require_normalize_windows_path();
50816
50985
  var stripSlash = require_strip_trailing_slashes();
50817
- var normalize3 = require_normalize_unicode();
50986
+ var normalize4 = require_normalize_unicode();
50818
50987
  var ONENTRY = Symbol("onEntry");
50819
50988
  var CHECKFS = Symbol("checkFs");
50820
50989
  var CHECKFS2 = Symbol("checkFs2");
@@ -50866,7 +51035,7 @@ var require_unpack = __commonJS({
50866
51035
  fs2.unlinkSync(name);
50867
51036
  };
50868
51037
  var uint32 = (a2, b6, c) => a2 === a2 >>> 0 ? a2 : b6 === b6 >>> 0 ? b6 : c;
50869
- var cacheKeyNormalize = (path7) => stripSlash(normPath(normalize3(path7))).toLowerCase();
51038
+ var cacheKeyNormalize = (path7) => stripSlash(normPath(normalize4(path7))).toLowerCase();
50870
51039
  var pruneCache = (cache2, abs) => {
50871
51040
  abs = cacheKeyNormalize(abs);
50872
51041
  for (const path7 of cache2.keys()) {
@@ -51555,9 +51724,9 @@ var require_extract = __commonJS({
51555
51724
  const u3 = new Unpack(opt);
51556
51725
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
51557
51726
  const file = opt.file;
51558
- const p2 = new Promise((resolve3, reject) => {
51727
+ const p2 = new Promise((resolve4, reject) => {
51559
51728
  u3.on("error", reject);
51560
- u3.on("close", resolve3);
51729
+ u3.on("close", resolve4);
51561
51730
  fs2.stat(file, (er2, stat) => {
51562
51731
  if (er2) {
51563
51732
  reject(er2);
@@ -51692,12 +51861,12 @@ var require_isexe = __commonJS({
51692
51861
  if (typeof Promise !== "function") {
51693
51862
  throw new TypeError("callback not provided");
51694
51863
  }
51695
- return new Promise(function(resolve3, reject) {
51864
+ return new Promise(function(resolve4, reject) {
51696
51865
  isexe(path6, options || {}, function(er2, is) {
51697
51866
  if (er2) {
51698
51867
  reject(er2);
51699
51868
  } else {
51700
- resolve3(is);
51869
+ resolve4(is);
51701
51870
  }
51702
51871
  });
51703
51872
  });
@@ -51763,27 +51932,27 @@ var require_which = __commonJS({
51763
51932
  opt = {};
51764
51933
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
51765
51934
  const found = [];
51766
- const step = (i2) => new Promise((resolve3, reject) => {
51935
+ const step = (i2) => new Promise((resolve4, reject) => {
51767
51936
  if (i2 === pathEnv.length)
51768
- return opt.all && found.length ? resolve3(found) : reject(getNotFoundError(cmd));
51937
+ return opt.all && found.length ? resolve4(found) : reject(getNotFoundError(cmd));
51769
51938
  const ppRaw = pathEnv[i2];
51770
51939
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
51771
51940
  const pCmd = path6.join(pathPart, cmd);
51772
51941
  const p2 = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
51773
- resolve3(subStep(p2, i2, 0));
51942
+ resolve4(subStep(p2, i2, 0));
51774
51943
  });
51775
- const subStep = (p2, i2, ii2) => new Promise((resolve3, reject) => {
51944
+ const subStep = (p2, i2, ii2) => new Promise((resolve4, reject) => {
51776
51945
  if (ii2 === pathExt.length)
51777
- return resolve3(step(i2 + 1));
51946
+ return resolve4(step(i2 + 1));
51778
51947
  const ext2 = pathExt[ii2];
51779
51948
  isexe(p2 + ext2, { pathExt: pathExtExe }, (er2, is) => {
51780
51949
  if (!er2 && is) {
51781
51950
  if (opt.all)
51782
51951
  found.push(p2 + ext2);
51783
51952
  else
51784
- return resolve3(p2 + ext2);
51953
+ return resolve4(p2 + ext2);
51785
51954
  }
51786
- return resolve3(subStep(p2, i2, ii2 + 1));
51955
+ return resolve4(subStep(p2, i2, ii2 + 1));
51787
51956
  });
51788
51957
  });
51789
51958
  return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
@@ -51848,7 +52017,7 @@ var require_resolveCommand = __commonJS({
51848
52017
  var getPathKey = require_path_key();
51849
52018
  function resolveCommandAttempt(parsed, withoutPathExt) {
51850
52019
  const env = parsed.options.env || process.env;
51851
- const cwd2 = process.cwd();
52020
+ const cwd3 = process.cwd();
51852
52021
  const hasCustomCwd = parsed.options.cwd != null;
51853
52022
  const shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
51854
52023
  if (shouldSwitchCwd) {
@@ -51866,7 +52035,7 @@ var require_resolveCommand = __commonJS({
51866
52035
  } catch (e2) {
51867
52036
  } finally {
51868
52037
  if (shouldSwitchCwd) {
51869
- process.chdir(cwd2);
52038
+ process.chdir(cwd3);
51870
52039
  }
51871
52040
  }
51872
52041
  if (resolved) {
@@ -51995,7 +52164,7 @@ var require_parse2 = __commonJS({
51995
52164
  }
51996
52165
  return parsed;
51997
52166
  }
51998
- function parse6(command, args, options) {
52167
+ function parse7(command, args, options) {
51999
52168
  if (args && !Array.isArray(args)) {
52000
52169
  options = args;
52001
52170
  args = null;
@@ -52014,7 +52183,7 @@ var require_parse2 = __commonJS({
52014
52183
  };
52015
52184
  return options.shell ? parsed : parseNonShell(parsed);
52016
52185
  }
52017
- module2.exports = parse6;
52186
+ module2.exports = parse7;
52018
52187
  }
52019
52188
  });
52020
52189
 
@@ -52073,16 +52242,16 @@ var require_cross_spawn = __commonJS({
52073
52242
  "node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports2, module2) {
52074
52243
  "use strict";
52075
52244
  var cp = require("child_process");
52076
- var parse6 = require_parse2();
52245
+ var parse7 = require_parse2();
52077
52246
  var enoent = require_enoent();
52078
52247
  function spawn(command, args, options) {
52079
- const parsed = parse6(command, args, options);
52248
+ const parsed = parse7(command, args, options);
52080
52249
  const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
52081
52250
  enoent.hookChildProcess(spawned, parsed);
52082
52251
  return spawned;
52083
52252
  }
52084
52253
  function spawnSync2(command, args, options) {
52085
- const parsed = parse6(command, args, options);
52254
+ const parsed = parse7(command, args, options);
52086
52255
  const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);
52087
52256
  result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
52088
52257
  return result;
@@ -52090,7 +52259,7 @@ var require_cross_spawn = __commonJS({
52090
52259
  module2.exports = spawn;
52091
52260
  module2.exports.spawn = spawn;
52092
52261
  module2.exports.sync = spawnSync2;
52093
- module2.exports._parse = parse6;
52262
+ module2.exports._parse = parse7;
52094
52263
  module2.exports._enoent = enoent;
52095
52264
  }
52096
52265
  });
@@ -52137,13 +52306,13 @@ var init_npm_run_path = __esm({
52137
52306
  import_node_url4 = require("node:url");
52138
52307
  init_path_key();
52139
52308
  npmRunPath = ({
52140
- cwd: cwd2 = import_node_process2.default.cwd(),
52309
+ cwd: cwd3 = import_node_process2.default.cwd(),
52141
52310
  path: pathOption = import_node_process2.default.env[pathKey()],
52142
52311
  preferLocal = true,
52143
52312
  execPath = import_node_process2.default.execPath,
52144
52313
  addExecPath = true
52145
52314
  } = {}) => {
52146
- const cwdString = cwd2 instanceof URL ? (0, import_node_url4.fileURLToPath)(cwd2) : cwd2;
52315
+ const cwdString = cwd3 instanceof URL ? (0, import_node_url4.fileURLToPath)(cwd3) : cwd3;
52147
52316
  const cwdPath = import_node_path6.default.resolve(cwdString);
52148
52317
  const result = [];
52149
52318
  if (preferLocal) {
@@ -52686,7 +52855,7 @@ var init_error = __esm({
52686
52855
  timedOut,
52687
52856
  isCanceled,
52688
52857
  killed,
52689
- parsed: { options: { timeout, cwd: cwd2 = import_node_process3.default.cwd() } }
52858
+ parsed: { options: { timeout, cwd: cwd3 = import_node_process3.default.cwd() } }
52690
52859
  }) => {
52691
52860
  exitCode = exitCode === null ? void 0 : exitCode;
52692
52861
  signal = signal === null ? void 0 : signal;
@@ -52712,7 +52881,7 @@ ${error.message}` : execaMessage;
52712
52881
  error.signalDescription = signalDescription;
52713
52882
  error.stdout = stdout;
52714
52883
  error.stderr = stderr;
52715
- error.cwd = cwd2;
52884
+ error.cwd = cwd3;
52716
52885
  if (all !== void 0) {
52717
52886
  error.all = all;
52718
52887
  }
@@ -53088,7 +53257,7 @@ var init_kill = __esm({
53088
53257
  return spawnedPromise;
53089
53258
  }
53090
53259
  let timeoutId;
53091
- const timeoutPromise = new Promise((resolve3, reject) => {
53260
+ const timeoutPromise = new Promise((resolve4, reject) => {
53092
53261
  timeoutId = setTimeout(() => {
53093
53262
  timeoutKill(spawned, killSignal, reject);
53094
53263
  }, timeout);
@@ -53561,9 +53730,9 @@ var init_promise = __esm({
53561
53730
  Reflect.defineProperty(spawned, property, { ...descriptor, value: value2 });
53562
53731
  }
53563
53732
  };
53564
- getSpawnedPromise = (spawned) => new Promise((resolve3, reject) => {
53733
+ getSpawnedPromise = (spawned) => new Promise((resolve4, reject) => {
53565
53734
  spawned.on("exit", (exitCode, signal) => {
53566
- resolve3({ exitCode, signal });
53735
+ resolve4({ exitCode, signal });
53567
53736
  });
53568
53737
  spawned.on("error", (error) => {
53569
53738
  reject(error);
@@ -53958,8 +54127,8 @@ var init_execa = __esm({
53958
54127
  });
53959
54128
 
53960
54129
  // node_modules/.pnpm/nypm@0.3.12/node_modules/nypm/dist/index.mjs
53961
- async function findup(cwd2, match2, options = {}) {
53962
- const segments = normalize2(cwd2).split("/");
54130
+ async function findup(cwd3, match2, options = {}) {
54131
+ const segments = normalize2(cwd3).split("/");
53963
54132
  while (segments.length > 0) {
53964
54133
  const path6 = segments.join("/") || "/";
53965
54134
  const result = await match2(path6);
@@ -53990,13 +54159,13 @@ async function executeCommand(command, args, options = {}) {
53990
54159
  });
53991
54160
  }
53992
54161
  async function resolveOperationOptions(options = {}) {
53993
- const cwd2 = options.cwd || process.cwd();
54162
+ const cwd3 = options.cwd || process.cwd();
53994
54163
  const packageManager = (typeof options.packageManager === "string" ? packageManagers.find((pm) => pm.name === options.packageManager) : options.packageManager) || await detectPackageManager(options.cwd || process.cwd());
53995
54164
  if (!packageManager) {
53996
54165
  throw new Error(NO_PACKAGE_MANAGER_DETECTED_ERROR_MSG);
53997
54166
  }
53998
54167
  return {
53999
- cwd: cwd2,
54168
+ cwd: cwd3,
54000
54169
  silent: options.silent ?? false,
54001
54170
  packageManager,
54002
54171
  dev: options.dev ?? false,
@@ -54004,9 +54173,9 @@ async function resolveOperationOptions(options = {}) {
54004
54173
  global: options.global ?? false
54005
54174
  };
54006
54175
  }
54007
- async function detectPackageManager(cwd2, options = {}) {
54176
+ async function detectPackageManager(cwd3, options = {}) {
54008
54177
  const detected = await findup(
54009
- resolve(cwd2 || "."),
54178
+ resolve(cwd3 || "."),
54010
54179
  async (path6) => {
54011
54180
  if (!options.ignorePackageJSON) {
54012
54181
  const packageJSONPath = join3(path6, "package.json");
@@ -54076,7 +54245,7 @@ async function installDependencies(options = {}) {
54076
54245
  });
54077
54246
  }
54078
54247
  var import_node_fs8, import_promises3, importExeca, hasCorepack, NO_PACKAGE_MANAGER_DETECTED_ERROR_MSG, packageManagers;
54079
- var init_dist6 = __esm({
54248
+ var init_dist7 = __esm({
54080
54249
  "node_modules/.pnpm/nypm@0.3.12/node_modules/nypm/dist/index.mjs"() {
54081
54250
  import_node_fs8 = require("node:fs");
54082
54251
  import_promises3 = require("node:fs/promises");
@@ -64202,10 +64371,10 @@ ${f2.toString(16)}\r
64202
64371
  return Q5(U5, "getHeadersList"), util$3 = { isCTLExcludingHtab: t2, validateCookieName: r4, validateCookiePath: o, validateCookieValue: n, toIMFDate: c, stringify: y3, getHeadersList: U5 }, util$3;
64203
64372
  }
64204
64373
  Q5(requireUtil$2, "requireUtil$2");
64205
- var parse6;
64374
+ var parse7;
64206
64375
  var hasRequiredParse;
64207
64376
  function requireParse() {
64208
- if (hasRequiredParse) return parse6;
64377
+ if (hasRequiredParse) return parse7;
64209
64378
  hasRequiredParse = 1;
64210
64379
  const { maxNameValuePairSize: e2, maxAttributeValueSize: A2 } = requireConstants$1(), { isCTLExcludingHtab: t2 } = requireUtil$2(), { collectASequenceOfCodePointsFast: r4 } = requireDataUrl(), n = require$$0__default;
64211
64380
  function o(l2) {
@@ -64258,7 +64427,7 @@ ${f2.toString(16)}\r
64258
64427
  } else C4.unparsed ?? (C4.unparsed = []), C4.unparsed.push(`${c}=${I4}`);
64259
64428
  return B3(l2, C4);
64260
64429
  }
64261
- return Q5(B3, "parseUnparsedAttributes"), parse6 = { parseSetCookie: o, parseUnparsedAttributes: B3 }, parse6;
64430
+ return Q5(B3, "parseUnparsedAttributes"), parse7 = { parseSetCookie: o, parseUnparsedAttributes: B3 }, parse7;
64262
64431
  }
64263
64432
  Q5(requireParse, "requireParse");
64264
64433
  var cookies;
@@ -65943,14 +66112,14 @@ function currentShell() {
65943
66112
  }
65944
66113
  return "/bin/bash";
65945
66114
  }
65946
- function startShell(cwd2) {
65947
- cwd2 = resolve(cwd2);
66115
+ function startShell(cwd3) {
66116
+ cwd3 = resolve(cwd3);
65948
66117
  const shell = currentShell();
65949
66118
  console.info(
65950
- `(experimental) Opening shell in ${relative(process.cwd(), cwd2)}...`
66119
+ `(experimental) Opening shell in ${relative(process.cwd(), cwd3)}...`
65951
66120
  );
65952
66121
  (0, import_node_child_process4.spawnSync)(shell, [], {
65953
- cwd: cwd2,
66122
+ cwd: cwd3,
65954
66123
  shell: true,
65955
66124
  stdio: "inherit"
65956
66125
  });
@@ -66025,8 +66194,8 @@ async function downloadTemplate(input, options = {}) {
66025
66194
  `Tarball not found: ${tarPath} (offline: ${options.offline})`
66026
66195
  );
66027
66196
  }
66028
- const cwd2 = resolve(options.cwd || ".");
66029
- const extractPath = resolve(cwd2, options.dir || template.defaultDir);
66197
+ const cwd3 = resolve(options.cwd || ".");
66198
+ const extractPath = resolve(cwd3, options.dir || template.defaultDir);
66030
66199
  if (options.forceClean) {
66031
66200
  await (0, import_promises4.rm)(extractPath, { recursive: true, force: true });
66032
66201
  }
@@ -66065,14 +66234,14 @@ async function downloadTemplate(input, options = {}) {
66065
66234
  };
66066
66235
  }
66067
66236
  var import_promises4, import_node_fs9, import_tar, import_defu2, import_node_stream2, import_node_child_process4, import_node_os5, import_node_util3, import_proxy, inputRegex, http, _httpJSON, github, gitlab, bitbucket, sourcehut, providers, DEFAULT_REGISTRY, registryProvider, sourceProtoRe;
66068
- var init_dist7 = __esm({
66237
+ var init_dist8 = __esm({
66069
66238
  "node_modules/.pnpm/giget@1.2.3/node_modules/giget/dist/index.mjs"() {
66070
66239
  import_promises4 = require("node:fs/promises");
66071
66240
  import_node_fs9 = require("node:fs");
66072
66241
  import_tar = __toESM(require_tar(), 1);
66073
66242
  init_dist();
66074
66243
  import_defu2 = require("defu");
66075
- init_dist6();
66244
+ init_dist7();
66076
66245
  import_node_stream2 = require("node:stream");
66077
66246
  import_node_child_process4 = require("node:child_process");
66078
66247
  import_node_os5 = require("node:os");
@@ -66686,7 +66855,7 @@ var require_fill_range = __commonJS({
66686
66855
  let padded = zeros(startString) || zeros(endString) || zeros(stepString);
66687
66856
  let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0;
66688
66857
  let toNumber = padded === false && stringify(start, end, options) === false;
66689
- let format3 = options.transform || transform2(toNumber);
66858
+ let format4 = options.transform || transform2(toNumber);
66690
66859
  if (options.toRegex && step === 1) {
66691
66860
  return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), true, options);
66692
66861
  }
@@ -66698,7 +66867,7 @@ var require_fill_range = __commonJS({
66698
66867
  if (options.toRegex === true && step > 1) {
66699
66868
  push(a2);
66700
66869
  } else {
66701
- range.push(pad(format3(a2, index), maxLen, toNumber));
66870
+ range.push(pad(format4(a2, index), maxLen, toNumber));
66702
66871
  }
66703
66872
  a2 = descending ? a2 - step : a2 + step;
66704
66873
  index++;
@@ -66712,7 +66881,7 @@ var require_fill_range = __commonJS({
66712
66881
  if (!isNumber(start) && start.length > 1 || !isNumber(end) && end.length > 1) {
66713
66882
  return invalidRange(start, end, options);
66714
66883
  }
66715
- let format3 = options.transform || ((val) => String.fromCharCode(val));
66884
+ let format4 = options.transform || ((val) => String.fromCharCode(val));
66716
66885
  let a2 = `${start}`.charCodeAt(0);
66717
66886
  let b6 = `${end}`.charCodeAt(0);
66718
66887
  let descending = a2 > b6;
@@ -66724,7 +66893,7 @@ var require_fill_range = __commonJS({
66724
66893
  let range = [];
66725
66894
  let index = 0;
66726
66895
  while (descending ? a2 >= b6 : a2 <= b6) {
66727
- range.push(format3(a2, index));
66896
+ range.push(format4(a2, index));
66728
66897
  a2 = descending ? a2 - step : a2 + step;
66729
66898
  index++;
66730
66899
  }
@@ -67043,7 +67212,7 @@ var require_parse3 = __commonJS({
67043
67212
  CHAR_NO_BREAK_SPACE,
67044
67213
  CHAR_ZERO_WIDTH_NOBREAK_SPACE
67045
67214
  } = require_constants2();
67046
- var parse6 = (input, options = {}) => {
67215
+ var parse7 = (input, options = {}) => {
67047
67216
  if (typeof input !== "string") {
67048
67217
  throw new TypeError("Expected a string");
67049
67218
  }
@@ -67243,7 +67412,7 @@ var require_parse3 = __commonJS({
67243
67412
  push({ type: "eos" });
67244
67413
  return ast;
67245
67414
  };
67246
- module2.exports = parse6;
67415
+ module2.exports = parse7;
67247
67416
  }
67248
67417
  });
67249
67418
 
@@ -67254,7 +67423,7 @@ var require_braces = __commonJS({
67254
67423
  var stringify = require_stringify();
67255
67424
  var compile = require_compile();
67256
67425
  var expand2 = require_expand();
67257
- var parse6 = require_parse3();
67426
+ var parse7 = require_parse3();
67258
67427
  var braces = (input, options = {}) => {
67259
67428
  let output = [];
67260
67429
  if (Array.isArray(input)) {
@@ -67274,7 +67443,7 @@ var require_braces = __commonJS({
67274
67443
  }
67275
67444
  return output;
67276
67445
  };
67277
- braces.parse = (input, options = {}) => parse6(input, options);
67446
+ braces.parse = (input, options = {}) => parse7(input, options);
67278
67447
  braces.stringify = (input, options = {}) => {
67279
67448
  if (typeof input === "string") {
67280
67449
  return stringify(braces.parse(input, options), options);
@@ -67927,7 +68096,7 @@ var require_parse4 = __commonJS({
67927
68096
  var syntaxError = (type, char) => {
67928
68097
  return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
67929
68098
  };
67930
- var parse6 = (input, options) => {
68099
+ var parse7 = (input, options) => {
67931
68100
  if (typeof input !== "string") {
67932
68101
  throw new TypeError("Expected a string");
67933
68102
  }
@@ -68076,7 +68245,7 @@ var require_parse4 = __commonJS({
68076
68245
  output = token.close = `)$))${extglobStar}`;
68077
68246
  }
68078
68247
  if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
68079
- const expression = parse6(rest, { ...options, fastpaths: false }).output;
68248
+ const expression = parse7(rest, { ...options, fastpaths: false }).output;
68080
68249
  output = token.close = `)${expression})${extglobStar})`;
68081
68250
  }
68082
68251
  if (token.prev.type === "bos") {
@@ -68601,7 +68770,7 @@ var require_parse4 = __commonJS({
68601
68770
  }
68602
68771
  return state;
68603
68772
  };
68604
- parse6.fastpaths = (input, options) => {
68773
+ parse7.fastpaths = (input, options) => {
68605
68774
  const opts = { ...options };
68606
68775
  const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
68607
68776
  const len = input.length;
@@ -68667,7 +68836,7 @@ var require_parse4 = __commonJS({
68667
68836
  }
68668
68837
  return source;
68669
68838
  };
68670
- module2.exports = parse6;
68839
+ module2.exports = parse7;
68671
68840
  }
68672
68841
  });
68673
68842
 
@@ -68677,7 +68846,7 @@ var require_picomatch = __commonJS({
68677
68846
  "use strict";
68678
68847
  var path6 = require("path");
68679
68848
  var scan = require_scan();
68680
- var parse6 = require_parse4();
68849
+ var parse7 = require_parse4();
68681
68850
  var utils = require_utils4();
68682
68851
  var constants3 = require_constants3();
68683
68852
  var isObject2 = (val) => val && typeof val === "object" && !Array.isArray(val);
@@ -68742,11 +68911,11 @@ var require_picomatch = __commonJS({
68742
68911
  return { isMatch: false, output: "" };
68743
68912
  }
68744
68913
  const opts = options || {};
68745
- const format3 = opts.format || (posix2 ? utils.toPosixSlashes : null);
68914
+ const format4 = opts.format || (posix2 ? utils.toPosixSlashes : null);
68746
68915
  let match2 = input === glob2;
68747
- let output = match2 && format3 ? format3(input) : input;
68916
+ let output = match2 && format4 ? format4(input) : input;
68748
68917
  if (match2 === false) {
68749
- output = format3 ? format3(input) : input;
68918
+ output = format4 ? format4(input) : input;
68750
68919
  match2 = output === glob2;
68751
68920
  }
68752
68921
  if (match2 === false || opts.capture === true) {
@@ -68765,7 +68934,7 @@ var require_picomatch = __commonJS({
68765
68934
  picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
68766
68935
  picomatch.parse = (pattern, options) => {
68767
68936
  if (Array.isArray(pattern)) return pattern.map((p2) => picomatch.parse(p2, options));
68768
- return parse6(pattern, { ...options, fastpaths: false });
68937
+ return parse7(pattern, { ...options, fastpaths: false });
68769
68938
  };
68770
68939
  picomatch.scan = (input, options) => scan(input, options);
68771
68940
  picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
@@ -68791,10 +68960,10 @@ var require_picomatch = __commonJS({
68791
68960
  }
68792
68961
  let parsed = { negated: false, fastpaths: true };
68793
68962
  if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
68794
- parsed.output = parse6.fastpaths(input, options);
68963
+ parsed.output = parse7.fastpaths(input, options);
68795
68964
  }
68796
68965
  if (!parsed.output) {
68797
- parsed = parse6(input, options);
68966
+ parsed = parse7(input, options);
68798
68967
  }
68799
68968
  return picomatch.compileRe(parsed, options, returnOutput, returnState);
68800
68969
  };
@@ -77055,10 +77224,10 @@ var Minipass = class extends import_node_events.EventEmitter {
77055
77224
  * Return a void Promise that resolves once the stream ends.
77056
77225
  */
77057
77226
  async promise() {
77058
- return new Promise((resolve3, reject) => {
77227
+ return new Promise((resolve4, reject) => {
77059
77228
  this.on(DESTROYED, () => reject(new Error("stream destroyed")));
77060
77229
  this.on("error", (er2) => reject(er2));
77061
- this.on("end", () => resolve3());
77230
+ this.on("end", () => resolve4());
77062
77231
  });
77063
77232
  }
77064
77233
  /**
@@ -77082,7 +77251,7 @@ var Minipass = class extends import_node_events.EventEmitter {
77082
77251
  return Promise.resolve({ done: false, value: res });
77083
77252
  if (this[EOF])
77084
77253
  return stop();
77085
- let resolve3;
77254
+ let resolve4;
77086
77255
  let reject;
77087
77256
  const onerr = (er2) => {
77088
77257
  this.off("data", ondata);
@@ -77096,19 +77265,19 @@ var Minipass = class extends import_node_events.EventEmitter {
77096
77265
  this.off("end", onend);
77097
77266
  this.off(DESTROYED, ondestroy);
77098
77267
  this.pause();
77099
- resolve3({ value: value2, done: !!this[EOF] });
77268
+ resolve4({ value: value2, done: !!this[EOF] });
77100
77269
  };
77101
77270
  const onend = () => {
77102
77271
  this.off("error", onerr);
77103
77272
  this.off("data", ondata);
77104
77273
  this.off(DESTROYED, ondestroy);
77105
77274
  stop();
77106
- resolve3({ done: true, value: void 0 });
77275
+ resolve4({ done: true, value: void 0 });
77107
77276
  };
77108
77277
  const ondestroy = () => onerr(new Error("stream destroyed"));
77109
77278
  return new Promise((res2, rej) => {
77110
77279
  reject = rej;
77111
- resolve3 = res2;
77280
+ resolve4 = res2;
77112
77281
  this.once(DESTROYED, ondestroy);
77113
77282
  this.once("error", onerr);
77114
77283
  this.once("end", onend);
@@ -78076,9 +78245,9 @@ var PathBase = class {
78076
78245
  if (this.#asyncReaddirInFlight) {
78077
78246
  await this.#asyncReaddirInFlight;
78078
78247
  } else {
78079
- let resolve3 = () => {
78248
+ let resolve4 = () => {
78080
78249
  };
78081
- this.#asyncReaddirInFlight = new Promise((res) => resolve3 = res);
78250
+ this.#asyncReaddirInFlight = new Promise((res) => resolve4 = res);
78082
78251
  try {
78083
78252
  for (const e2 of await this.#fs.promises.readdir(fullpath, {
78084
78253
  withFileTypes: true
@@ -78091,7 +78260,7 @@ var PathBase = class {
78091
78260
  children.provisional = 0;
78092
78261
  }
78093
78262
  this.#asyncReaddirInFlight = void 0;
78094
- resolve3();
78263
+ resolve4();
78095
78264
  }
78096
78265
  return children.slice(0, children.provisional);
78097
78266
  }
@@ -78321,18 +78490,18 @@ var PathScurryBase = class {
78321
78490
  *
78322
78491
  * @internal
78323
78492
  */
78324
- constructor(cwd2 = process.cwd(), pathImpl, sep3, { nocase, childrenCacheSize = 16 * 1024, fs: fs2 = defaultFS } = {}) {
78493
+ constructor(cwd3 = process.cwd(), pathImpl, sep4, { nocase, childrenCacheSize = 16 * 1024, fs: fs2 = defaultFS } = {}) {
78325
78494
  this.#fs = fsFromOption(fs2);
78326
- if (cwd2 instanceof URL || cwd2.startsWith("file://")) {
78327
- cwd2 = (0, import_node_url.fileURLToPath)(cwd2);
78495
+ if (cwd3 instanceof URL || cwd3.startsWith("file://")) {
78496
+ cwd3 = (0, import_node_url.fileURLToPath)(cwd3);
78328
78497
  }
78329
- const cwdPath = pathImpl.resolve(cwd2);
78498
+ const cwdPath = pathImpl.resolve(cwd3);
78330
78499
  this.roots = /* @__PURE__ */ Object.create(null);
78331
78500
  this.rootPath = this.parseRootPath(cwdPath);
78332
78501
  this.#resolveCache = new ResolveCache();
78333
78502
  this.#resolvePosixCache = new ResolveCache();
78334
78503
  this.#children = new ChildrenCache(childrenCacheSize);
78335
- const split = cwdPath.substring(this.rootPath.length).split(sep3);
78504
+ const split = cwdPath.substring(this.rootPath.length).split(sep4);
78336
78505
  if (split.length === 1 && !split[0]) {
78337
78506
  split.pop();
78338
78507
  }
@@ -78863,9 +79032,9 @@ var PathScurryWin32 = class extends PathScurryBase {
78863
79032
  * separator for generating path strings
78864
79033
  */
78865
79034
  sep = "\\";
78866
- constructor(cwd2 = process.cwd(), opts = {}) {
79035
+ constructor(cwd3 = process.cwd(), opts = {}) {
78867
79036
  const { nocase = true } = opts;
78868
- super(cwd2, import_node_path3.win32, "\\", { ...opts, nocase });
79037
+ super(cwd3, import_node_path3.win32, "\\", { ...opts, nocase });
78869
79038
  this.nocase = nocase;
78870
79039
  for (let p2 = this.cwd; p2; p2 = p2.parent) {
78871
79040
  p2.nocase = this.nocase;
@@ -78895,9 +79064,9 @@ var PathScurryPosix = class extends PathScurryBase {
78895
79064
  * separator for generating path strings
78896
79065
  */
78897
79066
  sep = "/";
78898
- constructor(cwd2 = process.cwd(), opts = {}) {
79067
+ constructor(cwd3 = process.cwd(), opts = {}) {
78899
79068
  const { nocase = false } = opts;
78900
- super(cwd2, import_node_path3.posix, "/", { ...opts, nocase });
79069
+ super(cwd3, import_node_path3.posix, "/", { ...opts, nocase });
78901
79070
  this.nocase = nocase;
78902
79071
  }
78903
79072
  /**
@@ -78920,9 +79089,9 @@ var PathScurryPosix = class extends PathScurryBase {
78920
79089
  }
78921
79090
  };
78922
79091
  var PathScurryDarwin = class extends PathScurryPosix {
78923
- constructor(cwd2 = process.cwd(), opts = {}) {
79092
+ constructor(cwd3 = process.cwd(), opts = {}) {
78924
79093
  const { nocase = true } = opts;
78925
- super(cwd2, { ...opts, nocase });
79094
+ super(cwd3, { ...opts, nocase });
78926
79095
  }
78927
79096
  };
78928
79097
  var Path = process.platform === "win32" ? PathWin32 : PathPosix;
@@ -79153,10 +79322,10 @@ var Ignore = class {
79153
79322
  ignored(p2) {
79154
79323
  const fullpath = p2.fullpath();
79155
79324
  const fullpaths = `${fullpath}/`;
79156
- const relative2 = p2.relative() || ".";
79157
- const relatives = `${relative2}/`;
79325
+ const relative3 = p2.relative() || ".";
79326
+ const relatives = `${relative3}/`;
79158
79327
  for (const m3 of this.relative) {
79159
- if (m3.match(relative2) || m3.match(relatives))
79328
+ if (m3.match(relative3) || m3.match(relatives))
79160
79329
  return true;
79161
79330
  }
79162
79331
  for (const m3 of this.absolute) {
@@ -79167,9 +79336,9 @@ var Ignore = class {
79167
79336
  }
79168
79337
  childrenIgnored(p2) {
79169
79338
  const fullpath = p2.fullpath() + "/";
79170
- const relative2 = (p2.relative() || ".") + "/";
79339
+ const relative3 = (p2.relative() || ".") + "/";
79171
79340
  for (const m3 of this.relativeChildren) {
79172
- if (m3.match(relative2))
79341
+ if (m3.match(relative3))
79173
79342
  return true;
79174
79343
  }
79175
79344
  for (const m3 of this.absoluteChildren) {
@@ -80014,7 +80183,7 @@ function createJiti(id, opts = {}) {
80014
80183
  }
80015
80184
 
80016
80185
  // node_modules/.pnpm/c12@2.0.1/node_modules/c12/dist/shared/c12.B4fc1S0C.mjs
80017
- init_dist5();
80186
+ init_dist6();
80018
80187
 
80019
80188
  // node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs
80020
80189
  var import_node_fs5 = require("node:fs");
@@ -80210,7 +80379,7 @@ function withDefaults(options) {
80210
80379
  }
80211
80380
  return { ...defaults2, ...options };
80212
80381
  }
80213
- function parse4(contents, options = {}) {
80382
+ function parse5(contents, options = {}) {
80214
80383
  const config = {};
80215
80384
  const lines = contents.split(RE_LINES);
80216
80385
  for (const line of lines) {
@@ -80239,7 +80408,7 @@ function parseFile(path6, options) {
80239
80408
  if (!(0, import_node_fs5.existsSync)(path6)) {
80240
80409
  return {};
80241
80410
  }
80242
- return parse4((0, import_node_fs5.readFileSync)(path6, "utf8"), options);
80411
+ return parse5((0, import_node_fs5.readFileSync)(path6, "utf8"), options);
80243
80412
  }
80244
80413
  function read2(options) {
80245
80414
  options = withDefaults(options);
@@ -80879,7 +81048,7 @@ function hash(object, options = {}) {
80879
81048
  }
80880
81049
 
80881
81050
  // node_modules/.pnpm/c12@2.0.1/node_modules/c12/dist/shared/c12.B4fc1S0C.mjs
80882
- init_dist4();
81051
+ init_dist5();
80883
81052
  var dotenv = __toESM(require_main(), 1);
80884
81053
  async function setupDotenv(options) {
80885
81054
  const targetEnvironment = options.env ?? process.env;
@@ -80912,7 +81081,7 @@ async function loadDotenv(options) {
80912
81081
  }
80913
81082
  return environment;
80914
81083
  }
80915
- function interpolate(target, source = {}, parse6 = (v4) => v4) {
81084
+ function interpolate(target, source = {}, parse7 = (v4) => v4) {
80916
81085
  function getValue(key) {
80917
81086
  return source[key] === void 0 ? target[key] : source[key];
80918
81087
  }
@@ -80921,7 +81090,7 @@ function interpolate(target, source = {}, parse6 = (v4) => v4) {
80921
81090
  return value2;
80922
81091
  }
80923
81092
  const matches = value2.match(/(.?\${?(?:[\w:]+)?}?)/g) || [];
80924
- return parse6(
81093
+ return parse7(
80925
81094
  // eslint-disable-next-line unicorn/no-array-reduce
80926
81095
  matches.reduce((newValue, match2) => {
80927
81096
  const parts = /(.?)\${?([\w:]+)?}?/g.exec(match2) || [];
@@ -81155,7 +81324,7 @@ async function resolveConfig(source, options, sourceOptions = {}) {
81155
81324
  }
81156
81325
  const _merger = options.merger || import_defu3.defu;
81157
81326
  if (options.giget !== false && GIGET_PREFIXES.some((prefix) => source.startsWith(prefix))) {
81158
- const { downloadTemplate: downloadTemplate2 } = await Promise.resolve().then(() => (init_dist7(), dist_exports));
81327
+ const { downloadTemplate: downloadTemplate2 } = await Promise.resolve().then(() => (init_dist8(), dist_exports));
81159
81328
  const cloneName = source.replace(/\W+/g, "_").split("_").splice(0, 3).join("_") + "_" + hash(source);
81160
81329
  let cloneDir;
81161
81330
  const localNodeModules = resolve(options.cwd, "node_modules");
@@ -81189,18 +81358,18 @@ async function resolveConfig(source, options, sourceOptions = {}) {
81189
81358
  }
81190
81359
  const ext2 = extname(source);
81191
81360
  const isDir = !ext2 || ext2 === basename(source);
81192
- const cwd2 = resolve(options.cwd, isDir ? source : dirname(source));
81361
+ const cwd3 = resolve(options.cwd, isDir ? source : dirname(source));
81193
81362
  if (isDir) {
81194
81363
  source = options.configFile;
81195
81364
  }
81196
81365
  const res = {
81197
81366
  config: void 0,
81198
81367
  configFile: void 0,
81199
- cwd: cwd2,
81368
+ cwd: cwd3,
81200
81369
  source,
81201
81370
  sourceOptions
81202
81371
  };
81203
- res.configFile = tryResolve(resolve(cwd2, source)) || tryResolve(resolve(cwd2, ".config", source.replace(/\.config$/, ""))) || tryResolve(resolve(cwd2, ".config", source)) || source;
81372
+ res.configFile = tryResolve(resolve(cwd3, source)) || tryResolve(resolve(cwd3, ".config", source.replace(/\.config$/, ""))) || tryResolve(resolve(cwd3, ".config", source)) || source;
81204
81373
  if (!(0, import_node_fs10.existsSync)(res.configFile)) {
81205
81374
  return res;
81206
81375
  }
@@ -82109,10 +82278,10 @@ function createIgnoreMatcher(ignorePattern = "**/*") {
82109
82278
  }
82110
82279
  return (filename) => filename !== ignorePattern;
82111
82280
  }
82112
- async function createFilesFilter(ignoreFiles = "", cwd2) {
82281
+ async function createFilesFilter(ignoreFiles = "", cwd3) {
82113
82282
  let ignoreFilesList = [];
82114
82283
  if (ignoreFiles) {
82115
- const glob2 = new Glob(ignoreFiles, { cwd: cwd2 });
82284
+ const glob2 = new Glob(ignoreFiles, { cwd: cwd3 });
82116
82285
  ignoreFilesList = await glob2.walk();
82117
82286
  }
82118
82287
  const ignorePatterns = ignoreFilesList.length > 0 ? IGNORE_FILES.concat(...ignoreFilesList).filter(Boolean) : IGNORE_FILES;