@storm-software/git-tools 2.113.7 → 2.113.8

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.
@@ -3738,7 +3738,7 @@ var require_jiti = __commonJS({
3738
3738
  function NodeError(...parameters) {
3739
3739
  const limit = Error.stackTraceLimit;
3740
3740
  isErrorStackTraceLimitWritable() && (Error.stackTraceLimit = 0);
3741
- const error2 = new Base();
3741
+ const error = new Base();
3742
3742
  isErrorStackTraceLimitWritable() && (Error.stackTraceLimit = limit);
3743
3743
  const message = function(key2, parameters2, self) {
3744
3744
  const message2 = messages.get(key2);
@@ -3747,10 +3747,10 @@ var require_jiti = __commonJS({
3747
3747
  let expectedLength = 0;
3748
3748
  for (; null !== regex.exec(message2); ) expectedLength++;
3749
3749
  return external_node_assert_namespaceObject(expectedLength === parameters2.length, `Code: ${key2}; The provided arguments length (${parameters2.length}) does not match the required ones (${expectedLength}).`), 0 === parameters2.length ? message2 : (parameters2.unshift(message2), Reflect.apply(external_node_util_namespaceObject.format, null, parameters2));
3750
- }(key, parameters, error2);
3751
- return Object.defineProperties(error2, { message: { value: message, enumerable: false, writable: true, configurable: true }, toString: { value() {
3750
+ }(key, parameters, error);
3751
+ return Object.defineProperties(error, { message: { value: message, enumerable: false, writable: true, configurable: true }, toString: { value() {
3752
3752
  return `${this.name} [${key}]: ${this.message}`;
3753
- }, enumerable: false, writable: true, configurable: true } }), captureLargerStackTrace(error2), error2.code = key, error2;
3753
+ }, enumerable: false, writable: true, configurable: true } }), captureLargerStackTrace(error), error.code = key, error;
3754
3754
  }
3755
3755
  }(constructor, sym);
3756
3756
  }
@@ -3796,9 +3796,9 @@ var require_jiti = __commonJS({
3796
3796
  const captureLargerStackTrace = function(wrappedFunction) {
3797
3797
  const hidden = "__node_internal_" + wrappedFunction.name;
3798
3798
  return Object.defineProperty(wrappedFunction, "name", { value: hidden }), wrappedFunction;
3799
- }(function(error2) {
3799
+ }(function(error) {
3800
3800
  const stackTraceLimitIsWritable = isErrorStackTraceLimitWritable();
3801
- return stackTraceLimitIsWritable && (userStackTraceLimit = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(error2), stackTraceLimitIsWritable && (Error.stackTraceLimit = userStackTraceLimit), error2;
3801
+ return stackTraceLimitIsWritable && (userStackTraceLimit = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(error), stackTraceLimitIsWritable && (Error.stackTraceLimit = userStackTraceLimit), error;
3802
3802
  });
3803
3803
  const hasOwnProperty$1 = {}.hasOwnProperty, { ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG$1 } = codes, cache = /* @__PURE__ */ new Map();
3804
3804
  function read2(jsonPath, { base, specifier }) {
@@ -3807,8 +3807,8 @@ var require_jiti = __commonJS({
3807
3807
  let string3;
3808
3808
  try {
3809
3809
  string3 = external_node_fs_namespaceObject.readFileSync(external_node_path_namespaceObject.toNamespacedPath(jsonPath), "utf8");
3810
- } catch (error2) {
3811
- const exception = error2;
3810
+ } catch (error) {
3811
+ const exception = error;
3812
3812
  if ("ENOENT" !== exception.code) throw exception;
3813
3813
  }
3814
3814
  const result = { exists: false, pjsonPath: jsonPath, main: void 0, name: void 0, type: "none", exports: void 0, imports: void 0 };
@@ -3817,8 +3817,8 @@ var require_jiti = __commonJS({
3817
3817
  try {
3818
3818
  parsed = JSON.parse(string3);
3819
3819
  } catch (error_) {
3820
- const cause = error_, error2 = new ERR_INVALID_PACKAGE_CONFIG$1(jsonPath, (base ? `"${specifier}" from ` : "") + (0, external_node_url_namespaceObject.fileURLToPath)(base || specifier), cause.message);
3821
- throw error2.cause = cause, error2;
3820
+ const cause = error_, error = new ERR_INVALID_PACKAGE_CONFIG$1(jsonPath, (base ? `"${specifier}" from ` : "") + (0, external_node_url_namespaceObject.fileURLToPath)(base || specifier), cause.message);
3821
+ throw error.cause = cause, error;
3822
3822
  }
3823
3823
  result.exists = true, hasOwnProperty$1.call(parsed, "name") && "string" == typeof parsed.name && (result.name = parsed.name), hasOwnProperty$1.call(parsed, "main") && "string" == typeof parsed.main && (result.main = parsed.main), hasOwnProperty$1.call(parsed, "exports") && (result.exports = parsed.exports), hasOwnProperty$1.call(parsed, "imports") && (result.imports = parsed.imports), !hasOwnProperty$1.call(parsed, "type") || "commonjs" !== parsed.type && "module" !== parsed.type || (result.type = parsed.type);
3824
3824
  }
@@ -3973,9 +3973,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
3973
3973
  let resolveResult;
3974
3974
  try {
3975
3975
  resolveResult = resolvePackageTarget(packageJsonUrl, targetItem, subpath, packageSubpath, base, pattern, internal, isPathMap, conditions);
3976
- } catch (error2) {
3977
- if (lastException = error2, "ERR_INVALID_PACKAGE_TARGET" === error2.code) continue;
3978
- throw error2;
3976
+ } catch (error) {
3977
+ if (lastException = error, "ERR_INVALID_PACKAGE_TARGET" === error.code) continue;
3978
+ throw error;
3979
3979
  }
3980
3980
  if (void 0 !== resolveResult) {
3981
3981
  if (null !== resolveResult) return resolveResult;
@@ -4121,16 +4121,16 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4121
4121
  }(specifier)) try {
4122
4122
  resolved = new external_node_url_namespaceObject.URL(specifier, base);
4123
4123
  } catch (error_) {
4124
- const error2 = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
4125
- throw error2.cause = error_, error2;
4124
+ const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
4125
+ throw error.cause = error_, error;
4126
4126
  }
4127
4127
  else if ("file:" === protocol && "#" === specifier[0]) resolved = packageImportsResolve(specifier, base, conditions);
4128
4128
  else try {
4129
4129
  resolved = new external_node_url_namespaceObject.URL(specifier);
4130
4130
  } catch (error_) {
4131
4131
  if (isRemote && !external_node_module_namespaceObject.builtinModules.includes(specifier)) {
4132
- const error2 = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
4133
- throw error2.cause = error_, error2;
4132
+ const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
4133
+ throw error.cause = error_, error;
4134
4134
  }
4135
4135
  resolved = packageResolve(specifier, base, conditions);
4136
4136
  }
@@ -4139,18 +4139,18 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4139
4139
  let filePath;
4140
4140
  try {
4141
4141
  filePath = (0, external_node_url_namespaceObject.fileURLToPath)(resolved2);
4142
- } catch (error2) {
4143
- const cause = error2;
4142
+ } catch (error) {
4143
+ const cause = error;
4144
4144
  throw Object.defineProperty(cause, "input", { value: String(resolved2) }), Object.defineProperty(cause, "module", { value: String(base2) }), cause;
4145
4145
  }
4146
4146
  const stats = tryStatSync(filePath.endsWith("/") ? filePath.slice(-1) : filePath);
4147
4147
  if (stats && stats.isDirectory()) {
4148
- const error2 = new ERR_UNSUPPORTED_DIR_IMPORT(filePath, (0, external_node_url_namespaceObject.fileURLToPath)(base2));
4149
- throw error2.url = String(resolved2), error2;
4148
+ const error = new ERR_UNSUPPORTED_DIR_IMPORT(filePath, (0, external_node_url_namespaceObject.fileURLToPath)(base2));
4149
+ throw error.url = String(resolved2), error;
4150
4150
  }
4151
4151
  if (!stats || !stats.isFile()) {
4152
- const error2 = new ERR_MODULE_NOT_FOUND(filePath || resolved2.pathname, base2 && (0, external_node_url_namespaceObject.fileURLToPath)(base2), true);
4153
- throw error2.url = String(resolved2), error2;
4152
+ const error = new ERR_MODULE_NOT_FOUND(filePath || resolved2.pathname, base2 && (0, external_node_url_namespaceObject.fileURLToPath)(base2), true);
4153
+ throw error.url = String(resolved2), error;
4154
4154
  }
4155
4155
  if (!preserveSymlinks2) {
4156
4156
  const real = (0, external_node_fs_namespaceObject.realpathSync)(filePath), { search, hash } = resolved2;
@@ -4169,8 +4169,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4169
4169
  function _tryModuleResolve(id, url, conditions) {
4170
4170
  try {
4171
4171
  return moduleResolve(id, url, conditions);
4172
- } catch (error2) {
4173
- if (!NOT_FOUND_ERRORS.has(error2?.code)) throw error2;
4172
+ } catch (error) {
4173
+ if (!NOT_FOUND_ERRORS.has(error?.code)) throw error;
4174
4174
  }
4175
4175
  }
4176
4176
  function _resolve(id, options = {}) {
@@ -4182,8 +4182,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4182
4182
  if (BUILTIN_MODULES.has(id)) return "node:" + id;
4183
4183
  if (id.startsWith("file://") && (id = fileURLToPath2(id)), isAbsolute2(id)) try {
4184
4184
  if ((0, external_node_fs_namespaceObject.statSync)(id).isFile()) return pathToFileURL(id);
4185
- } catch (error2) {
4186
- if ("ENOENT" !== error2?.code) throw error2;
4185
+ } catch (error) {
4186
+ if ("ENOENT" !== error?.code) throw error;
4187
4187
  }
4188
4188
  const conditionsSet = options.conditions ? new Set(options.conditions) : DEFAULT_CONDITIONS_SET, _urls = (Array.isArray(options.url) ? options.url : [options.url]).filter(Boolean).map((url) => new URL(function(id2) {
4189
4189
  return "string" != typeof id2 && (id2 = id2.toString()), /(node|data|http|https|file):/.test(id2) ? id2 : BUILTIN_MODULES.has(id2) ? "node:" + id2 : "file://" + encodeURI(normalizeSlash(id2));
@@ -4201,8 +4201,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4201
4201
  if (resolved) break;
4202
4202
  }
4203
4203
  if (!resolved) {
4204
- const error2 = new Error(`Cannot find module ${id} imported from ${urls.join(", ")}`);
4205
- throw error2.code = "ERR_MODULE_NOT_FOUND", error2;
4204
+ const error = new Error(`Cannot find module ${id} imported from ${urls.join(", ")}`);
4205
+ throw error.code = "ERR_MODULE_NOT_FOUND", error;
4206
4206
  }
4207
4207
  return pathToFileURL(resolved);
4208
4208
  }
@@ -4338,15 +4338,15 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4338
4338
  for (const conditions of conditionSets) {
4339
4339
  try {
4340
4340
  resolved = resolvePathSync(id, { url: parentURL, conditions, extensions: ctx.opts.extensions });
4341
- } catch (error2) {
4342
- lastError = error2;
4341
+ } catch (error) {
4342
+ lastError = error;
4343
4343
  }
4344
4344
  if (resolved) return resolved;
4345
4345
  }
4346
4346
  try {
4347
4347
  return ctx.nativeRequire.resolve(id, { paths: options.paths });
4348
- } catch (error2) {
4349
- lastError = error2;
4348
+ } catch (error) {
4349
+ lastError = error;
4350
4350
  }
4351
4351
  for (const ext of ctx.additionalExts) {
4352
4352
  if (resolved = tryNativeRequireResolve(ctx, id + ext, parentURL, options) || tryNativeRequireResolve(ctx, id + "/index" + ext, parentURL, options), resolved) return resolved;
@@ -4378,8 +4378,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4378
4378
  const _mod = ctx.nativeRequire(id);
4379
4379
  return false === ctx.opts.moduleCache && delete ctx.nativeRequire.cache[id], jitiInteropDefault(ctx, _mod);
4380
4380
  }
4381
- } catch (error2) {
4382
- debug(ctx, `[try-native] Using fallback for ${id} because of an error:`, error2);
4381
+ } catch (error) {
4382
+ debug(ctx, `[try-native] Using fallback for ${id} because of an error:`, error);
4383
4383
  }
4384
4384
  const filename = jitiResolve(ctx, id, opts);
4385
4385
  if (!filename && opts.try) return;
@@ -4440,8 +4440,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4440
4440
  return false;
4441
4441
  }
4442
4442
  }(ctx.opts.fsCache)) throw new Error("directory is not writable!");
4443
- } catch (error2) {
4444
- debug(ctx, "Error creating cache directory at ", ctx.opts.fsCache, error2), ctx.opts.fsCache = false;
4443
+ } catch (error) {
4444
+ debug(ctx, "Error creating cache directory at ", ctx.opts.fsCache, error), ctx.opts.fsCache = false;
4445
4445
  }
4446
4446
  }
4447
4447
  function transform3(ctx, topts) {
@@ -4471,11 +4471,11 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4471
4471
  const time3 = Math.round(1e3 * (external_node_perf_hooks_namespaceObject.performance.now() - start)) / 1e3;
4472
4472
  debug(ctx, "[transpile]", evalOptions.async ? "[esm]" : "[cjs]", filename, `(${time3}ms)`);
4473
4473
  } else {
4474
- if (debug(ctx, "[native]", evalOptions.async ? "[import]" : "[require]", filename), evalOptions.async) return Promise.resolve(nativeImportOrRequire(ctx, filename, evalOptions.async)).catch((error2) => (debug(ctx, "Native import error:", error2), debug(ctx, "[fallback]", filename), eval_evalModule(ctx, source, { ...evalOptions, forceTranspile: true })));
4474
+ if (debug(ctx, "[native]", evalOptions.async ? "[import]" : "[require]", filename), evalOptions.async) return Promise.resolve(nativeImportOrRequire(ctx, filename, evalOptions.async)).catch((error) => (debug(ctx, "Native import error:", error), debug(ctx, "[fallback]", filename), eval_evalModule(ctx, source, { ...evalOptions, forceTranspile: true })));
4475
4475
  try {
4476
4476
  return nativeImportOrRequire(ctx, filename, evalOptions.async);
4477
- } catch (error2) {
4478
- debug(ctx, "Native require error:", error2), debug(ctx, "[fallback]", filename), source = transform3(ctx, { filename, source, ts: isTypescript, async: evalOptions.async ?? false, jsx: ctx.opts.jsx });
4477
+ } catch (error) {
4478
+ debug(ctx, "Native require error:", error), debug(ctx, "[fallback]", filename), source = transform3(ctx, { filename, source, ts: isTypescript, async: evalOptions.async ?? false, jsx: ctx.opts.jsx });
4479
4479
  }
4480
4480
  }
4481
4481
  const mod = new external_node_module_namespaceObject.Module(filename);
@@ -4489,17 +4489,17 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4489
4489
  }(source, { async: evalOptions.async });
4490
4490
  try {
4491
4491
  compiled = external_node_vm_default().runInThisContext(wrapped, { filename, lineOffset: 0, displayErrors: false });
4492
- } catch (error2) {
4493
- "SyntaxError" === error2.name && evalOptions.async && ctx.nativeImport ? (debug(ctx, "[esm]", "[import]", "[fallback]", filename), compiled = function(code, nativeImport2) {
4492
+ } catch (error) {
4493
+ "SyntaxError" === error.name && evalOptions.async && ctx.nativeImport ? (debug(ctx, "[esm]", "[import]", "[fallback]", filename), compiled = function(code, nativeImport2) {
4494
4494
  const uri = `data:text/javascript;base64,${Buffer.from(`export default ${code}`).toString("base64")}`;
4495
4495
  return (...args) => nativeImport2(uri).then((mod2) => mod2.default(...args));
4496
- }(wrapped, ctx.nativeImport)) : (ctx.opts.moduleCache && delete ctx.nativeRequire.cache[filename], ctx.onError(error2));
4496
+ }(wrapped, ctx.nativeImport)) : (ctx.opts.moduleCache && delete ctx.nativeRequire.cache[filename], ctx.onError(error));
4497
4497
  }
4498
4498
  let evalResult;
4499
4499
  try {
4500
4500
  evalResult = compiled(mod.exports, mod.require, mod, mod.filename, pathe_ff20891b_dirname(mod.filename), _jiti.import, _jiti.esmResolve);
4501
- } catch (error2) {
4502
- ctx.opts.moduleCache && delete ctx.nativeRequire.cache[filename], ctx.onError(error2);
4501
+ } catch (error) {
4502
+ ctx.opts.moduleCache && delete ctx.nativeRequire.cache[filename], ctx.onError(error);
4503
4503
  }
4504
4504
  function next() {
4505
4505
  if (mod.exports && mod.exports.__JITI_ERROR__) {
@@ -5187,12 +5187,12 @@ Did you specify these with the most recent transformation maps first?`);
5187
5187
  return { __proto__: null };
5188
5188
  }
5189
5189
  const AnyMap = function(map, mapUrl) {
5190
- const parsed = parse5(map);
5190
+ const parsed = parse4(map);
5191
5191
  if (!("sections" in parsed)) return new TraceMap(parsed, mapUrl);
5192
5192
  const mappings = [], sources = [], sourcesContent = [], names = [], ignoreList = [];
5193
5193
  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 });
5194
5194
  };
5195
- function parse5(map) {
5195
+ function parse4(map) {
5196
5196
  return "string" == typeof map ? JSON.parse(map) : map;
5197
5197
  }
5198
5198
  function recurse(input, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset, columnOffset, stopLine, stopColumn) {
@@ -5208,7 +5208,7 @@ Did you specify these with the most recent transformation maps first?`);
5208
5208
  }
5209
5209
  }
5210
5210
  function addSection(input, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset, columnOffset, stopLine, stopColumn) {
5211
- const parsed = parse5(input);
5211
+ const parsed = parse4(input);
5212
5212
  if ("sections" in parsed) return recurse(...arguments);
5213
5213
  const map = new TraceMap(parsed, mapUrl), sourcesOffset = sources.length, namesOffset = names.length, decoded = decodedMappings(map), { resolvedSources, sourcesContent: contents, ignoreList: ignores } = map;
5214
5214
  if (append(sources, resolvedSources), append(names, map.names), contents) append(sourcesContent, contents);
@@ -5618,13 +5618,13 @@ Did you specify these with the most recent transformation maps first?`);
5618
5618
  }, exports3.save = function(namespaces) {
5619
5619
  try {
5620
5620
  namespaces ? exports3.storage.setItem("debug", namespaces) : exports3.storage.removeItem("debug");
5621
- } catch (error2) {
5621
+ } catch (error) {
5622
5622
  }
5623
5623
  }, exports3.load = function() {
5624
5624
  let r;
5625
5625
  try {
5626
5626
  r = exports3.storage.getItem("debug");
5627
- } catch (error2) {
5627
+ } catch (error) {
5628
5628
  }
5629
5629
  !r && "undefined" != typeof process && "env" in process && (r = process.env.DEBUG);
5630
5630
  return r;
@@ -5636,7 +5636,7 @@ Did you specify these with the most recent transformation maps first?`);
5636
5636
  }, exports3.storage = function() {
5637
5637
  try {
5638
5638
  return localStorage;
5639
- } catch (error2) {
5639
+ } catch (error) {
5640
5640
  }
5641
5641
  }(), exports3.destroy = /* @__PURE__ */ (() => {
5642
5642
  let warned = false;
@@ -5649,8 +5649,8 @@ Did you specify these with the most recent transformation maps first?`);
5649
5649
  formatters.j = function(v) {
5650
5650
  try {
5651
5651
  return JSON.stringify(v);
5652
- } catch (error2) {
5653
- return "[UnexpectedJSONParseError]: " + error2.message;
5652
+ } catch (error) {
5653
+ return "[UnexpectedJSONParseError]: " + error.message;
5654
5654
  }
5655
5655
  };
5656
5656
  }, "./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
@@ -5746,7 +5746,7 @@ Did you specify these with the most recent transformation maps first?`);
5746
5746
  try {
5747
5747
  const supportsColor = __webpack_require__2("./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js");
5748
5748
  supportsColor && (supportsColor.stderr || supportsColor).level >= 2 && (exports3.colors = [20, 21, 26, 27, 32, 33, 38, 39, 40, 41, 42, 43, 44, 45, 56, 57, 62, 63, 68, 69, 74, 75, 76, 77, 78, 79, 80, 81, 92, 93, 98, 99, 112, 113, 128, 129, 134, 135, 148, 149, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 178, 179, 184, 185, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 214, 215, 220, 221]);
5749
- } catch (error2) {
5749
+ } catch (error) {
5750
5750
  }
5751
5751
  exports3.inspectOpts = Object.keys(process.env).filter((key) => /^debug_/i.test(key)).reduce((obj, key) => {
5752
5752
  const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => k.toUpperCase());
@@ -6075,7 +6075,7 @@ Did you specify these with the most recent transformation maps first?`);
6075
6075
  tok("CARET"), src[t.CARET] = "^" + src[t.LONECARET] + src[t.XRANGEPLAIN] + "$", tok("CARETLOOSE"), src[t.CARETLOOSE] = "^" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + "$", tok("COMPARATORLOOSE"), src[t.COMPARATORLOOSE] = "^" + src[t.GTLT] + "\\s*(" + src[t.LOOSEPLAIN] + ")$|^$", tok("COMPARATOR"), src[t.COMPARATOR] = "^" + src[t.GTLT] + "\\s*(" + src[t.FULLPLAIN] + ")$|^$", tok("COMPARATORTRIM"), src[t.COMPARATORTRIM] = "(\\s*)" + src[t.GTLT] + "\\s*(" + src[t.LOOSEPLAIN] + "|" + src[t.XRANGEPLAIN] + ")", re[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], "g"), safeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), "g");
6076
6076
  tok("HYPHENRANGE"), src[t.HYPHENRANGE] = "^\\s*(" + src[t.XRANGEPLAIN] + ")\\s+-\\s+(" + src[t.XRANGEPLAIN] + ")\\s*$", tok("HYPHENRANGELOOSE"), src[t.HYPHENRANGELOOSE] = "^\\s*(" + src[t.XRANGEPLAINLOOSE] + ")\\s+-\\s+(" + src[t.XRANGEPLAINLOOSE] + ")\\s*$", tok("STAR"), src[t.STAR] = "(<|>)?=?\\s*\\*";
6077
6077
  for (var i = 0; i < R; i++) debug(i, src[i]), re[i] || (re[i] = new RegExp(src[i]), safeRe[i] = new RegExp(makeSafeRe(src[i])));
6078
- function parse5(version3, options) {
6078
+ function parse4(version3, options) {
6079
6079
  if (options && "object" == typeof options || (options = { loose: !!options, includePrerelease: false }), version3 instanceof SemVer) return version3;
6080
6080
  if ("string" != typeof version3) return null;
6081
6081
  if (version3.length > MAX_LENGTH) return null;
@@ -6107,11 +6107,11 @@ Did you specify these with the most recent transformation maps first?`);
6107
6107
  return id;
6108
6108
  }) : this.prerelease = [], this.build = m[5] ? m[5].split(".") : [], this.format();
6109
6109
  }
6110
- exports3.parse = parse5, exports3.valid = function(version3, options) {
6111
- var v = parse5(version3, options);
6110
+ exports3.parse = parse4, exports3.valid = function(version3, options) {
6111
+ var v = parse4(version3, options);
6112
6112
  return v ? v.version : null;
6113
6113
  }, exports3.clean = function(version3, options) {
6114
- var s = parse5(version3.trim().replace(/^[=v]+/, ""), options);
6114
+ var s = parse4(version3.trim().replace(/^[=v]+/, ""), options);
6115
6115
  return s ? s.version : null;
6116
6116
  }, exports3.SemVer = SemVer, SemVer.prototype.format = function() {
6117
6117
  return this.version = this.major + "." + this.minor + "." + this.patch, this.prerelease.length && (this.version += "-" + this.prerelease.join(".")), this.version;
@@ -6187,7 +6187,7 @@ Did you specify these with the most recent transformation maps first?`);
6187
6187
  }
6188
6188
  }, exports3.diff = function(version1, version22) {
6189
6189
  if (eq(version1, version22)) return null;
6190
- var v1 = parse5(version1), v2 = parse5(version22), prefix = "";
6190
+ var v1 = parse4(version1), v2 = parse4(version22), prefix = "";
6191
6191
  if (v1.prerelease.length || v2.prerelease.length) {
6192
6192
  prefix = "pre";
6193
6193
  var defaultResult = "prerelease";
@@ -6501,7 +6501,7 @@ Did you specify these with the most recent transformation maps first?`);
6501
6501
  }, exports3.gtr = function(version3, range, options) {
6502
6502
  return outside(version3, range, ">", options);
6503
6503
  }, exports3.outside = outside, exports3.prerelease = function(version3, options) {
6504
- var parsed = parse5(version3, options);
6504
+ var parsed = parse4(version3, options);
6505
6505
  return parsed && parsed.prerelease.length ? parsed.prerelease : null;
6506
6506
  }, exports3.intersects = function(r1, r2, options) {
6507
6507
  return r1 = new Range(r1, options), r2 = new Range(r2, options), r1.intersects(r2);
@@ -6515,7 +6515,7 @@ Did you specify these with the most recent transformation maps first?`);
6515
6515
  safeRe[t.COERCERTL].lastIndex = -1;
6516
6516
  } else match = version3.match(safeRe[t.COERCE]);
6517
6517
  if (null === match) return null;
6518
- return parse5(match[2] + "." + (match[3] || "0") + "." + (match[4] || "0"), options);
6518
+ return parse4(match[2] + "." + (match[3] || "0") + "." + (match[4] || "0"), options);
6519
6519
  };
6520
6520
  }, "./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
6521
6521
  "use strict";
@@ -7210,12 +7210,12 @@ from ${dirname2}`);
7210
7210
  handler = function(m, filename) {
7211
7211
  if (handler && filename.endsWith(ext2)) try {
7212
7212
  return m._compile((0, _transformFile.transformFileSync)(filename, Object.assign({}, opts, { filename })).code, filename);
7213
- } catch (error2) {
7213
+ } catch (error) {
7214
7214
  if (!hasTsSupport) {
7215
7215
  const packageJson = __webpack_require__2("./node_modules/.pnpm/@babel+preset-typescript@7.26.0_@babel+core@7.26.0/node_modules/@babel/preset-typescript/package.json");
7216
7216
  _semver().lt(packageJson.version, "7.21.4") && console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.");
7217
7217
  }
7218
- throw error2;
7218
+ throw error;
7219
7219
  }
7220
7220
  return __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[".js"](m, filename);
7221
7221
  }, __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[ext2] = handler;
@@ -7319,8 +7319,8 @@ from ${dirname2}`);
7319
7319
  function getTSPreset(filepath) {
7320
7320
  try {
7321
7321
  return __webpack_require__2("./node_modules/.pnpm/@babel+preset-typescript@7.26.0_@babel+core@7.26.0/node_modules/@babel/preset-typescript/lib/index.js");
7322
- } catch (error2) {
7323
- if ("MODULE_NOT_FOUND" !== error2.code) throw error2;
7322
+ } catch (error) {
7323
+ if ("MODULE_NOT_FOUND" !== error.code) throw error;
7324
7324
  let message = "You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";
7325
7325
  throw process.versions.pnp && (message += `
7326
7326
  If you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:
@@ -7410,20 +7410,20 @@ packageExtensions:
7410
7410
  return name2.replace(isPreset ? BABEL_PRESET_PREFIX_RE : BABEL_PLUGIN_PREFIX_RE, `babel-${type}-`).replace(isPreset ? BABEL_PRESET_ORG_RE : BABEL_PLUGIN_ORG_RE, `$1${type}-`).replace(isPreset ? OTHER_PRESET_ORG_RE : OTHER_PLUGIN_ORG_RE, `$1babel-${type}-`).replace(OTHER_ORG_DEFAULT_RE, `$1/babel-${type}`).replace(EXACT_RE, "");
7411
7411
  }
7412
7412
  function* resolveAlternativesHelper(type, name2) {
7413
- const standardizedName = standardizeName(type, name2), { error: error2, value: value2 } = yield standardizedName;
7414
- if (!error2) return value2;
7415
- if ("MODULE_NOT_FOUND" !== error2.code) throw error2;
7416
- standardizedName === name2 || (yield name2).error || (error2.message += `
7417
- - If you want to resolve "${name2}", use "module:${name2}"`), (yield standardizeName(type, "@babel/" + name2)).error || (error2.message += `
7413
+ const standardizedName = standardizeName(type, name2), { error, value: value2 } = yield standardizedName;
7414
+ if (!error) return value2;
7415
+ if ("MODULE_NOT_FOUND" !== error.code) throw error;
7416
+ standardizedName === name2 || (yield name2).error || (error.message += `
7417
+ - If you want to resolve "${name2}", use "module:${name2}"`), (yield standardizeName(type, "@babel/" + name2)).error || (error.message += `
7418
7418
  - Did you mean "@babel/${name2}"?`);
7419
7419
  const oppositeType = "preset" === type ? "plugin" : "preset";
7420
- if ((yield standardizeName(oppositeType, name2)).error || (error2.message += `
7420
+ if ((yield standardizeName(oppositeType, name2)).error || (error.message += `
7421
7421
  - Did you accidentally pass a ${oppositeType} as a ${type}?`), "plugin" === type) {
7422
7422
  const transformName = standardizedName.replace("-proposal-", "-transform-");
7423
- transformName === standardizedName || (yield transformName).error || (error2.message += `
7423
+ transformName === standardizedName || (yield transformName).error || (error.message += `
7424
7424
  - Did you mean "${transformName}"?`);
7425
7425
  }
7426
- throw error2.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", error2;
7426
+ 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;
7427
7427
  }
7428
7428
  function tryRequireResolve(id, dirname2) {
7429
7429
  try {
@@ -7432,16 +7432,16 @@ packageExtensions:
7432
7432
  if (f) return f;
7433
7433
  throw f = new Error(`Cannot resolve module '${r}'`), f.code = "MODULE_NOT_FOUND", f;
7434
7434
  })(id, { paths: [dirname2] }) } : { 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) };
7435
- } catch (error2) {
7436
- return { error: error2, value: null };
7435
+ } catch (error) {
7436
+ return { error, value: null };
7437
7437
  }
7438
7438
  var v, w;
7439
7439
  }
7440
7440
  function tryImportMetaResolve(id, options) {
7441
7441
  try {
7442
7442
  return { error: null, value: (0, _importMetaResolve.resolve)(id, options) };
7443
- } catch (error2) {
7444
- return { error: error2, value: null };
7443
+ } catch (error) {
7444
+ return { error, value: null };
7445
7445
  }
7446
7446
  }
7447
7447
  function resolveStandardizedNameForRequire(type, name2, dirname2) {
@@ -7609,9 +7609,9 @@ packageExtensions:
7609
7609
  if (!item || "object" != typeof item) throw new Error("Plugin/Preset did not return an object.");
7610
7610
  if ((0, _async.isThenable)(item)) throw yield* [], new Error(`You appear to be using a promise as a plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version. As an alternative, you can prefix the promise with "await". (While processing: ${JSON.stringify(alias)})`);
7611
7611
  if (externalDependencies.length > 0 && (!cache.configured() || "forever" === cache.mode())) {
7612
- let error2 = `A plugin/preset has external untracked dependencies (${externalDependencies[0]}), but the cache `;
7613
- throw cache.configured() ? error2 += " has been configured to never be invalidated. " : error2 += "has not been configured to be invalidated when the external dependencies change. ", error2 += `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()\`
7614
- (While processing: ${JSON.stringify(alias)})`, new Error(error2);
7612
+ let error = `A plugin/preset has external untracked dependencies (${externalDependencies[0]}), but the cache `;
7613
+ throw cache.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()\`
7614
+ (While processing: ${JSON.stringify(alias)})`, new Error(error);
7615
7615
  }
7616
7616
  return { value: item, options, dirname: dirname2, alias, externalDependencies: (0, _deepArray.finalize)(externalDependencies) };
7617
7617
  }), pluginDescriptorLoader = makeDescriptorLoader(_configApi.makePluginAPI), presetDescriptorLoader = makeDescriptorLoader(_configApi.makePresetAPI), instantiatePlugin = (0, _caching.makeWeakCache)(function* ({ value: value2, options, dirname: dirname2, alias, externalDependencies }, cache) {
@@ -8141,9 +8141,9 @@ To be a valid ${type}, its name and options should be wrapped in a pair of brack
8141
8141
  }, exports3.validate = function(type, opts, filename) {
8142
8142
  try {
8143
8143
  return validateNested({ type: "root", source: type }, opts);
8144
- } catch (error2) {
8145
- const configError = new _configError.default(error2.message, filename);
8146
- throw error2.code && (configError.code = error2.code), configError;
8144
+ } catch (error) {
8145
+ const configError = new _configError.default(error.message, filename);
8146
+ throw error.code && (configError.code = error.code), configError;
8147
8147
  }
8148
8148
  };
8149
8149
  var _removed = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/removed.js"), _optionAssertions = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/option-assertions.js"), _configError = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/config-error.js");
@@ -8249,13 +8249,13 @@ To be a valid ${type}, its name and options should be wrapped in a pair of brack
8249
8249
  return SUPPORTED ? Object.defineProperty(function(...args) {
8250
8250
  return fn(...args);
8251
8251
  }, "name", { value: START_HIDING }) : fn;
8252
- }, exports3.expectedError = function(error2) {
8252
+ }, exports3.expectedError = function(error) {
8253
8253
  if (!SUPPORTED) return;
8254
- return expectedErrors.add(error2), error2;
8255
- }, exports3.injectVirtualStackFrame = function(error2, filename) {
8254
+ return expectedErrors.add(error), error;
8255
+ }, exports3.injectVirtualStackFrame = function(error, filename) {
8256
8256
  if (!SUPPORTED) return;
8257
- let frames = virtualFrames.get(error2);
8258
- frames || virtualFrames.set(error2, frames = []);
8257
+ let frames = virtualFrames.get(error);
8258
+ frames || virtualFrames.set(error, frames = []);
8259
8259
  return frames.push(/* @__PURE__ */ function(filename2) {
8260
8260
  return /* @__PURE__ */ Object.create({ isNative: () => false, isConstructor: () => false, isToplevel: () => true, getFileName: () => filename2, getLineNumber: () => {
8261
8261
  }, getColumnNumber: () => {
@@ -8263,7 +8263,7 @@ To be a valid ${type}, its name and options should be wrapped in a pair of brack
8263
8263
  }, getMethodName: () => {
8264
8264
  }, getTypeName: () => {
8265
8265
  }, toString: () => filename2 });
8266
- }(filename)), error2;
8266
+ }(filename)), error;
8267
8267
  };
8268
8268
  const ErrorToString = Function.call.bind(Error.prototype.toString), SUPPORTED = !!Error.captureStackTrace && true === (null == (_Object$getOwnPropert = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit")) ? void 0 : _Object$getOwnPropert.writable), START_HIDING = "startHiding - secret - don't use this - v1", STOP_HIDING = "stopHiding - secret - don't use this - v1", expectedErrors = /* @__PURE__ */ new WeakSet(), virtualFrames = /* @__PURE__ */ new WeakMap();
8269
8269
  function setupPrepareStackTrace() {
@@ -8393,13 +8393,13 @@ To be a valid ${type}, its name and options should be wrapped in a pair of brack
8393
8393
  });
8394
8394
  try {
8395
8395
  result = { ok: true, value: yield* fn() }, resultP = null, promiseReferenced && resolve3(result.value);
8396
- } catch (error2) {
8397
- result = { ok: false, value: error2 }, resultP = null, promiseReferenced && reject(error2);
8396
+ } catch (error) {
8397
+ result = { ok: false, value: error }, resultP = null, promiseReferenced && reject(error);
8398
8398
  }
8399
8399
  } else try {
8400
8400
  result = { ok: true, value: yield* fn() };
8401
- } catch (error2) {
8402
- result = { ok: false, value: error2 };
8401
+ } catch (error) {
8402
+ result = { ok: false, value: error };
8403
8403
  }
8404
8404
  }
8405
8405
  if (result.ok) return result.value;
@@ -9277,10 +9277,10 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
9277
9277
  }(context.conditions), url = moduleResolve(specifier2, new (_url2()).URL(parentURL), conditions, false);
9278
9278
  return { url: url.href, format: defaultGetFormatWithoutErrors(url, { parentURL }) };
9279
9279
  }(specifier, { parentURL: parent }).url;
9280
- } catch (error2) {
9281
- const exception = error2;
9280
+ } catch (error) {
9281
+ const exception = error;
9282
9282
  if (("ERR_UNSUPPORTED_DIR_IMPORT" === exception.code || "ERR_MODULE_NOT_FOUND" === exception.code) && "string" == typeof exception.url) return exception.url;
9283
- throw error2;
9283
+ throw error;
9284
9284
  }
9285
9285
  };
9286
9286
  const own$1 = {}.hasOwnProperty, classRegExp = /^([A-Z][a-z\d]*)+$/, kTypes = /* @__PURE__ */ new Set(["string", "function", "number", "object", "Function", "Object", "boolean", "bigint", "symbol"]), codes = {};
@@ -9295,7 +9295,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
9295
9295
  function NodeError(...parameters) {
9296
9296
  const limit = Error.stackTraceLimit;
9297
9297
  isErrorStackTraceLimitWritable() && (Error.stackTraceLimit = 0);
9298
- const error2 = new Base();
9298
+ const error = new Base();
9299
9299
  isErrorStackTraceLimitWritable() && (Error.stackTraceLimit = limit);
9300
9300
  const message = function(key2, parameters2, self) {
9301
9301
  const message2 = messages.get(key2);
@@ -9304,10 +9304,10 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
9304
9304
  let expectedLength = 0;
9305
9305
  for (; null !== regex.exec(message2); ) expectedLength++;
9306
9306
  return _assert()(expectedLength === parameters2.length, `Code: ${key2}; The provided arguments length (${parameters2.length}) does not match the required ones (${expectedLength}).`), 0 === parameters2.length ? message2 : (parameters2.unshift(message2), Reflect.apply(_util().format, null, parameters2));
9307
- }(key, parameters, error2);
9308
- return Object.defineProperties(error2, { message: { value: message, enumerable: false, writable: true, configurable: true }, toString: { value() {
9307
+ }(key, parameters, error);
9308
+ return Object.defineProperties(error, { message: { value: message, enumerable: false, writable: true, configurable: true }, toString: { value() {
9309
9309
  return `${this.name} [${key}]: ${this.message}`;
9310
- }, enumerable: false, writable: true, configurable: true } }), captureLargerStackTrace(error2), error2.code = key, error2;
9310
+ }, enumerable: false, writable: true, configurable: true } }), captureLargerStackTrace(error), error.code = key, error;
9311
9311
  }
9312
9312
  }(constructor, sym);
9313
9313
  }
@@ -9353,9 +9353,9 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
9353
9353
  const captureLargerStackTrace = function(wrappedFunction) {
9354
9354
  const hidden = "__node_internal_" + wrappedFunction.name;
9355
9355
  return Object.defineProperty(wrappedFunction, "name", { value: hidden }), wrappedFunction;
9356
- }(function(error2) {
9356
+ }(function(error) {
9357
9357
  const stackTraceLimitIsWritable = isErrorStackTraceLimitWritable();
9358
- return stackTraceLimitIsWritable && (userStackTraceLimit = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(error2), stackTraceLimitIsWritable && (Error.stackTraceLimit = userStackTraceLimit), error2;
9358
+ return stackTraceLimitIsWritable && (userStackTraceLimit = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(error), stackTraceLimitIsWritable && (Error.stackTraceLimit = userStackTraceLimit), error;
9359
9359
  });
9360
9360
  const hasOwnProperty$1 = {}.hasOwnProperty, { ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG$1 } = codes, cache = /* @__PURE__ */ new Map();
9361
9361
  function read2(jsonPath, { base, specifier }) {
@@ -9364,8 +9364,8 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
9364
9364
  let string3;
9365
9365
  try {
9366
9366
  string3 = _fs().default.readFileSync(_path().toNamespacedPath(jsonPath), "utf8");
9367
- } catch (error2) {
9368
- const exception = error2;
9367
+ } catch (error) {
9368
+ const exception = error;
9369
9369
  if ("ENOENT" !== exception.code) throw exception;
9370
9370
  }
9371
9371
  const result = { exists: false, pjsonPath: jsonPath, main: void 0, name: void 0, type: "none", exports: void 0, imports: void 0 };
@@ -9374,8 +9374,8 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
9374
9374
  try {
9375
9375
  parsed = JSON.parse(string3);
9376
9376
  } catch (error_) {
9377
- const cause = error_, error2 = new ERR_INVALID_PACKAGE_CONFIG$1(jsonPath, (base ? `"${specifier}" from ` : "") + (0, _url2().fileURLToPath)(base || specifier), cause.message);
9378
- throw error2.cause = cause, error2;
9377
+ const cause = error_, error = new ERR_INVALID_PACKAGE_CONFIG$1(jsonPath, (base ? `"${specifier}" from ` : "") + (0, _url2().fileURLToPath)(base || specifier), cause.message);
9378
+ throw error.cause = cause, error;
9379
9379
  }
9380
9380
  result.exists = true, hasOwnProperty$1.call(parsed, "name") && "string" == typeof parsed.name && (result.name = parsed.name), hasOwnProperty$1.call(parsed, "main") && "string" == typeof parsed.main && (result.main = parsed.main), hasOwnProperty$1.call(parsed, "exports") && (result.exports = parsed.exports), hasOwnProperty$1.call(parsed, "imports") && (result.imports = parsed.imports), !hasOwnProperty$1.call(parsed, "type") || "commonjs" !== parsed.type && "module" !== parsed.type || (result.type = parsed.type);
9381
9381
  }
@@ -9531,9 +9531,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
9531
9531
  let resolveResult;
9532
9532
  try {
9533
9533
  resolveResult = resolvePackageTarget(packageJsonUrl, targetItem, subpath, packageSubpath, base, pattern, internal, isPathMap, conditions);
9534
- } catch (error2) {
9535
- if (lastException = error2, "ERR_INVALID_PACKAGE_TARGET" === error2.code) continue;
9536
- throw error2;
9534
+ } catch (error) {
9535
+ if (lastException = error, "ERR_INVALID_PACKAGE_TARGET" === error.code) continue;
9536
+ throw error;
9537
9537
  }
9538
9538
  if (void 0 !== resolveResult) {
9539
9539
  if (null !== resolveResult) return resolveResult;
@@ -9680,16 +9680,16 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
9680
9680
  if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) try {
9681
9681
  resolved = new (_url2()).URL(specifier, base);
9682
9682
  } catch (error_) {
9683
- const error2 = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
9684
- throw error2.cause = error_, error2;
9683
+ const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
9684
+ throw error.cause = error_, error;
9685
9685
  }
9686
9686
  else if ("file:" === protocol && "#" === specifier[0]) resolved = packageImportsResolve(specifier, base, conditions);
9687
9687
  else try {
9688
9688
  resolved = new (_url2()).URL(specifier);
9689
9689
  } catch (error_) {
9690
9690
  if (isRemote && !_module().builtinModules.includes(specifier)) {
9691
- const error2 = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
9692
- throw error2.cause = error_, error2;
9691
+ const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
9692
+ throw error.cause = error_, error;
9693
9693
  }
9694
9694
  resolved = packageResolve(specifier, base, conditions);
9695
9695
  }
@@ -9698,18 +9698,18 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
9698
9698
  let filePath;
9699
9699
  try {
9700
9700
  filePath = (0, _url2().fileURLToPath)(resolved2);
9701
- } catch (error2) {
9702
- const cause = error2;
9701
+ } catch (error) {
9702
+ const cause = error;
9703
9703
  throw Object.defineProperty(cause, "input", { value: String(resolved2) }), Object.defineProperty(cause, "module", { value: String(base2) }), cause;
9704
9704
  }
9705
9705
  const stats = tryStatSync(filePath.endsWith("/") ? filePath.slice(-1) : filePath);
9706
9706
  if (stats && stats.isDirectory()) {
9707
- const error2 = new ERR_UNSUPPORTED_DIR_IMPORT(filePath, (0, _url2().fileURLToPath)(base2));
9708
- throw error2.url = String(resolved2), error2;
9707
+ const error = new ERR_UNSUPPORTED_DIR_IMPORT(filePath, (0, _url2().fileURLToPath)(base2));
9708
+ throw error.url = String(resolved2), error;
9709
9709
  }
9710
9710
  if (!stats || !stats.isFile()) {
9711
- const error2 = new ERR_MODULE_NOT_FOUND(filePath || resolved2.pathname, base2 && (0, _url2().fileURLToPath)(base2), true);
9712
- throw error2.url = String(resolved2), error2;
9711
+ const error = new ERR_MODULE_NOT_FOUND(filePath || resolved2.pathname, base2 && (0, _url2().fileURLToPath)(base2), true);
9712
+ throw error.url = String(resolved2), error;
9713
9713
  }
9714
9714
  if (!preserveSymlinks2) {
9715
9715
  const real = (0, _fs().realpathSync)(filePath), { search, hash } = resolved2;
@@ -14583,17 +14583,17 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
14583
14583
  oldReasonCodes[reasonCode] && (reasonCode = oldReasonCodes[reasonCode]);
14584
14584
  }
14585
14585
  return function constructor(loc, details) {
14586
- const error2 = new SyntaxError();
14587
- return error2.code = code2, error2.reasonCode = reasonCode, error2.loc = loc, error2.pos = loc.index, error2.syntaxPlugin = syntaxPlugin, hasMissingPlugin && (error2.missingPlugin = details.missingPlugin), defineHidden(error2, "clone", function(overrides = {}) {
14586
+ const error = new SyntaxError();
14587
+ return error.code = code2, error.reasonCode = reasonCode, error.loc = loc, error.pos = loc.index, error.syntaxPlugin = syntaxPlugin, hasMissingPlugin && (error.missingPlugin = details.missingPlugin), defineHidden(error, "clone", function(overrides = {}) {
14588
14588
  var _overrides$loc;
14589
14589
  const { line, column, index } = null != (_overrides$loc = overrides.loc) ? _overrides$loc : loc;
14590
14590
  return constructor(new Position(line, column, index), Object.assign({}, details, overrides.details));
14591
- }), defineHidden(error2, "details", details), Object.defineProperty(error2, "message", { configurable: true, get() {
14591
+ }), defineHidden(error, "details", details), Object.defineProperty(error, "message", { configurable: true, get() {
14592
14592
  const message = `${toMessage(details)} (${loc.line}:${loc.column})`;
14593
14593
  return this.message = message, message;
14594
14594
  }, set(value2) {
14595
14595
  Object.defineProperty(this, "message", { value: value2, writable: true });
14596
- } }), error2;
14596
+ } }), error;
14597
14597
  };
14598
14598
  }
14599
14599
  function ParseErrorEnum(argument, syntaxPlugin) {
@@ -15688,16 +15688,16 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
15688
15688
  tokenIsKeyword(type) && this.state.containsEsc && this.raise(Errors.InvalidEscapedReservedWord, this.state.startLoc, { reservedWord: tokenLabelName(type) });
15689
15689
  }
15690
15690
  raise(toParseError, at, details = {}) {
15691
- const error2 = toParseError(at instanceof Position ? at : at.loc.start, details);
15692
- if (!this.options.errorRecovery) throw error2;
15693
- return this.isLookahead || this.state.errors.push(error2), error2;
15691
+ const error = toParseError(at instanceof Position ? at : at.loc.start, details);
15692
+ if (!this.options.errorRecovery) throw error;
15693
+ return this.isLookahead || this.state.errors.push(error), error;
15694
15694
  }
15695
15695
  raiseOverwrite(toParseError, at, details = {}) {
15696
15696
  const loc = at instanceof Position ? at : at.loc.start, pos = loc.index, errors = this.state.errors;
15697
15697
  for (let i = errors.length - 1; i >= 0; i--) {
15698
- const error2 = errors[i];
15699
- if (error2.loc.index === pos) return errors[i] = toParseError(loc, details);
15700
- if (error2.loc.index < pos) break;
15698
+ const error = errors[i];
15699
+ if (error.loc.index === pos) return errors[i] = toParseError(loc, details);
15700
+ if (error.loc.index < pos) break;
15701
15701
  }
15702
15702
  return this.raise(toParseError, at, details);
15703
15703
  }
@@ -15713,9 +15713,9 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
15713
15713
  expectOnePlugin(pluginNames) {
15714
15714
  if (!pluginNames.some((name2) => this.hasPlugin(name2))) throw this.raise(Errors.MissingOneOfPlugins, this.state.startLoc, { missingPlugin: pluginNames });
15715
15715
  }
15716
- errorBuilder(error2) {
15716
+ errorBuilder(error) {
15717
15717
  return (pos, lineStart, curLine) => {
15718
- this.raise(error2, buildPosition(pos, lineStart, curLine));
15718
+ this.raise(error, buildPosition(pos, lineStart, curLine));
15719
15719
  };
15720
15720
  }
15721
15721
  }
@@ -15800,12 +15800,12 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
15800
15800
  }
15801
15801
  this.parser.raise(toParseError, origin);
15802
15802
  }
15803
- recordArrowParameterBindingError(error2, node) {
15803
+ recordArrowParameterBindingError(error, node) {
15804
15804
  const { stack } = this, scope = stack[stack.length - 1], origin = node.loc.start;
15805
- if (scope.isCertainlyParameterDeclaration()) this.parser.raise(error2, origin);
15805
+ if (scope.isCertainlyParameterDeclaration()) this.parser.raise(error, origin);
15806
15806
  else {
15807
15807
  if (!scope.canBeArrowParameterDeclaration()) return;
15808
- scope.recordDeclarationError(error2, origin);
15808
+ scope.recordDeclarationError(error, origin);
15809
15809
  }
15810
15810
  }
15811
15811
  recordAsyncArrowParametersError(at) {
@@ -15913,11 +15913,11 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
15913
15913
  return this.state = oldState, this.state.tokensLength = failState.tokensLength, { node, error: failState.errors[oldState.errors.length], thrown: false, aborted: false, failState };
15914
15914
  }
15915
15915
  return { node, error: null, thrown: false, aborted: false, failState: null };
15916
- } catch (error2) {
15916
+ } catch (error) {
15917
15917
  const failState = this.state;
15918
- if (this.state = oldState, error2 instanceof SyntaxError) return { node: null, error: error2, thrown: true, aborted: false, failState };
15919
- if (error2 === abortSignal) return { node: abortSignal.node, error: null, thrown: false, aborted: true, failState };
15920
- throw error2;
15918
+ if (this.state = oldState, error instanceof SyntaxError) return { node: null, error, thrown: true, aborted: false, failState };
15919
+ if (error === abortSignal) return { node: abortSignal.node, error: null, thrown: false, aborted: true, failState };
15920
+ throw error;
15921
15921
  }
15922
15922
  }
15923
15923
  checkExpressionErrors(refExpressionErrors, andThrow) {
@@ -17244,9 +17244,9 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
17244
17244
  var _node$extra;
17245
17245
  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();
17246
17246
  }
17247
- forwardNoArrowParamsConversionAt(node, parse5) {
17247
+ forwardNoArrowParamsConversionAt(node, parse4) {
17248
17248
  let result;
17249
- return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(node.start)) ? (this.state.noArrowParamsConversionAt.push(this.state.start), result = parse5(), this.state.noArrowParamsConversionAt.pop()) : result = parse5(), result;
17249
+ return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(node.start)) ? (this.state.noArrowParamsConversionAt.push(this.state.start), result = parse4(), this.state.noArrowParamsConversionAt.pop()) : result = parse4(), result;
17250
17250
  }
17251
17251
  parseParenItem(node, startLoc) {
17252
17252
  const newNode = super.parseParenItem(node, startLoc);
@@ -20915,8 +20915,8 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
20915
20915
  }
20916
20916
  }
20917
20917
  if (pluginsMap2.has("asyncDoExpressions") && !pluginsMap2.has("doExpressions")) {
20918
- const error2 = new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");
20919
- throw error2.missingPlugins = "doExpressions", error2;
20918
+ const error = new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");
20919
+ throw error.missingPlugins = "doExpressions", error;
20920
20920
  }
20921
20921
  if (pluginsMap2.has("optionalChainingAssign") && "2023-07" !== pluginsMap2.get("optionalChainingAssign").version) throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");
20922
20922
  }(pluginsMap), cls = function(pluginsMap2) {
@@ -22102,8 +22102,8 @@ Please consider using \`${suggestion}\`${extra}, or add @babel/plugin-transform-
22102
22102
  let rootStack = "";
22103
22103
  try {
22104
22104
  throw new Error();
22105
- } catch (error2) {
22106
- error2.stack && (rootStack = error2.stack.split("\n").slice(3).join("\n"));
22105
+ } catch (error) {
22106
+ error.stack && (rootStack = error.stack.split("\n").slice(3).join("\n"));
22107
22107
  }
22108
22108
  return (arg) => {
22109
22109
  try {
@@ -27313,11 +27313,11 @@ ${str}
27313
27313
  exports3.classMethodOrDeclareMethodCommon = classMethodOrDeclareMethodCommon, defineType("ClassMethod", { aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method"], builder: ["kind", "key", "params", "body", "computed", "static", "generator", "async"], visitor: ["decorators", "key", "typeParameters", "params", "returnType", "body"], fields: Object.assign({}, classMethodOrDeclareMethodCommon(), functionTypeAnnotationCommon(), { body: { validate: (0, _utils.assertNodeType)("BlockStatement") } }) }), defineType("ObjectPattern", { visitor: ["properties", "typeAnnotation", "decorators"], builder: ["properties"], aliases: ["Pattern", "PatternLike", "LVal"], fields: Object.assign({}, patternLikeCommon(), { properties: (0, _utils.validateArrayOfType)("RestElement", "ObjectProperty") }) }), defineType("SpreadElement", { visitor: ["argument"], aliases: ["UnaryLike"], deprecatedAlias: "SpreadProperty", fields: { argument: { validate: (0, _utils.assertNodeType)("Expression") } } }), defineType("Super", { aliases: ["Expression"] }), defineType("TaggedTemplateExpression", { visitor: ["tag", "typeParameters", "quasi"], builder: ["tag", "quasi"], aliases: ["Expression"], fields: { tag: { validate: (0, _utils.assertNodeType)("Expression") }, quasi: { validate: (0, _utils.assertNodeType)("TemplateLiteral") }, typeParameters: { validate: (0, _utils.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), optional: true } } }), defineType("TemplateElement", { builder: ["value", "tail"], fields: { value: { validate: (0, _utils.chain)((0, _utils.assertShape)({ raw: { validate: (0, _utils.assertValueType)("string") }, cooked: { validate: (0, _utils.assertValueType)("string"), optional: true } }), function(node) {
27314
27314
  const raw = node.value.raw;
27315
27315
  let unterminatedCalled = false;
27316
- const error2 = () => {
27316
+ const error = () => {
27317
27317
  throw new Error("Internal @babel/types error.");
27318
27318
  }, { str, firstInvalidLoc } = (0, _helperStringParser.readStringContents)("template", raw, 0, 0, 0, { unterminated() {
27319
27319
  unterminatedCalled = true;
27320
- }, strictNumericEscape: error2, invalidEscapeSequence: error2, numericSeparatorInEscapeSequence: error2, unexpectedNumericSeparator: error2, invalidDigit: error2, invalidCodePoint: error2 });
27320
+ }, strictNumericEscape: error, invalidEscapeSequence: error, numericSeparatorInEscapeSequence: error, unexpectedNumericSeparator: error, invalidDigit: error, invalidCodePoint: error });
27321
27321
  if (!unterminatedCalled) throw new Error("Invalid raw");
27322
27322
  node.value.cooked = firstInvalidLoc ? null : str;
27323
27323
  }) }, tail: { default: false } } }), defineType("TemplateLiteral", { visitor: ["quasis", "expressions"], aliases: ["Expression", "Literal"], fields: { quasis: (0, _utils.validateArrayOfType)("TemplateElement"), expressions: { validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Expression", "TSType")), function(node, key, val) {
@@ -27469,12 +27469,12 @@ Expected ${val.length + 1} quasis but got ${node.quasis.length}`);
27469
27469
  const errors = [];
27470
27470
  for (const property of Object.keys(shape)) try {
27471
27471
  (0, _validate.validateField)(node, property, val[property], shape[property]);
27472
- } catch (error2) {
27473
- if (error2 instanceof TypeError) {
27474
- errors.push(error2.message);
27472
+ } catch (error) {
27473
+ if (error instanceof TypeError) {
27474
+ errors.push(error.message);
27475
27475
  continue;
27476
27476
  }
27477
- throw error2;
27477
+ throw error;
27478
27478
  }
27479
27479
  if (errors.length) throw new TypeError(`Property ${key} of ${node.type} expected to have the following:
27480
27480
  ${errors.join("\n")}`);
@@ -32722,7 +32722,7 @@ ${trace}`);
32722
32722
  function NodeError(...parameters) {
32723
32723
  const limit = Error.stackTraceLimit;
32724
32724
  isErrorStackTraceLimitWritable() && (Error.stackTraceLimit = 0);
32725
- const error2 = new Base();
32725
+ const error = new Base();
32726
32726
  isErrorStackTraceLimitWritable() && (Error.stackTraceLimit = limit);
32727
32727
  const message = function(key2, parameters2, self) {
32728
32728
  const message2 = messages.get(key2);
@@ -32731,10 +32731,10 @@ ${trace}`);
32731
32731
  let expectedLength = 0;
32732
32732
  for (; null !== regex.exec(message2); ) expectedLength++;
32733
32733
  return external_node_assert_namespaceObject(expectedLength === parameters2.length, `Code: ${key2}; The provided arguments length (${parameters2.length}) does not match the required ones (${expectedLength}).`), 0 === parameters2.length ? message2 : (parameters2.unshift(message2), Reflect.apply(external_node_util_namespaceObject.format, null, parameters2));
32734
- }(key, parameters, error2);
32735
- return Object.defineProperties(error2, { message: { value: message, enumerable: false, writable: true, configurable: true }, toString: { value() {
32734
+ }(key, parameters, error);
32735
+ return Object.defineProperties(error, { message: { value: message, enumerable: false, writable: true, configurable: true }, toString: { value() {
32736
32736
  return `${this.name} [${key}]: ${this.message}`;
32737
- }, enumerable: false, writable: true, configurable: true } }), captureLargerStackTrace(error2), error2.code = key, error2;
32737
+ }, enumerable: false, writable: true, configurable: true } }), captureLargerStackTrace(error), error.code = key, error;
32738
32738
  }
32739
32739
  }(constructor, sym);
32740
32740
  }
@@ -32780,9 +32780,9 @@ ${trace}`);
32780
32780
  const captureLargerStackTrace = function(wrappedFunction) {
32781
32781
  const hidden = "__node_internal_" + wrappedFunction.name;
32782
32782
  return Object.defineProperty(wrappedFunction, "name", { value: hidden }), wrappedFunction;
32783
- }(function(error2) {
32783
+ }(function(error) {
32784
32784
  const stackTraceLimitIsWritable = isErrorStackTraceLimitWritable();
32785
- return stackTraceLimitIsWritable && (userStackTraceLimit = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(error2), stackTraceLimitIsWritable && (Error.stackTraceLimit = userStackTraceLimit), error2;
32785
+ return stackTraceLimitIsWritable && (userStackTraceLimit = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(error), stackTraceLimitIsWritable && (Error.stackTraceLimit = userStackTraceLimit), error;
32786
32786
  });
32787
32787
  const { ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG$1 } = codes;
32788
32788
  /* @__PURE__ */ new Map();
@@ -32932,8 +32932,8 @@ ${trace}`);
32932
32932
  opts.jsx && _opts.plugins.push([plugin_syntax_jsx_lib.default], [plugin_transform_react_jsx_lib.A, Object.assign({}, opts.jsx)]), opts.ts && (_opts.plugins.push([plugin_transform_typescript_lib.default, { allowDeclareFields: true, isTSX: opts.jsx && /\.[cm]?tsx$/.test(opts.filename || "") }]), _opts.plugins.unshift([babel_plugin_transform_typescript_metadata], [plugin_proposal_decorators_lib.A, { legacy: true }]), _opts.plugins.push(babel_plugin_parameter_decorator_lib_default()), _opts.plugins.push(plugin_syntax_import_assertions_lib.A)), opts.babel && Array.isArray(opts.babel.plugins) && _opts.plugins?.push(...opts.babel.plugins);
32933
32933
  try {
32934
32934
  return { code: (0, lib.transformSync)(opts.source, _opts)?.code || "" };
32935
- } catch (error2) {
32936
- return { error: error2, code: "exports.__JITI_ERROR__ = " + JSON.stringify({ filename: opts.filename, line: error2.loc?.line || 0, column: error2.loc?.column || 0, code: error2.code?.replace("BABEL_", "").replace("PARSE_ERROR", "ParseError"), message: error2.message?.replace("/: ", "").replace(/\(.+\)\s*$/, "") }) };
32935
+ } catch (error) {
32936
+ return { error, code: "exports.__JITI_ERROR__ = " + JSON.stringify({ filename: opts.filename, line: error.loc?.line || 0, column: error.loc?.column || 0, code: error.code?.replace("BABEL_", "").replace("PARSE_ERROR", "ParseError"), message: error.message?.replace("/: ", "").replace(/\(.+\)\s*$/, "") }) };
32937
32937
  }
32938
32938
  }
32939
32939
  })(), module.exports = __webpack_exports__.default;
@@ -33062,7 +33062,7 @@ var require_main = __commonJS({
33062
33062
  var packageJson = package_exports;
33063
33063
  var version3 = packageJson.version;
33064
33064
  var LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;
33065
- function parse5(src) {
33065
+ function parse4(src) {
33066
33066
  const obj = {};
33067
33067
  let lines = src.toString();
33068
33068
  lines = lines.replace(/\r\n?/mg, "\n");
@@ -33100,9 +33100,9 @@ var require_main = __commonJS({
33100
33100
  const attrs = _instructions(result, key);
33101
33101
  decrypted = DotenvModule.decrypt(attrs.ciphertext, attrs.key);
33102
33102
  break;
33103
- } catch (error2) {
33103
+ } catch (error) {
33104
33104
  if (i + 1 >= length) {
33105
- throw error2;
33105
+ throw error;
33106
33106
  }
33107
33107
  }
33108
33108
  }
@@ -33130,13 +33130,13 @@ var require_main = __commonJS({
33130
33130
  let uri;
33131
33131
  try {
33132
33132
  uri = new URL(dotenvKey);
33133
- } catch (error2) {
33134
- if (error2.code === "ERR_INVALID_URL") {
33133
+ } catch (error) {
33134
+ if (error.code === "ERR_INVALID_URL") {
33135
33135
  const err = new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");
33136
33136
  err.code = "INVALID_DOTENV_KEY";
33137
33137
  throw err;
33138
33138
  }
33139
- throw error2;
33139
+ throw error;
33140
33140
  }
33141
33141
  const key = uri.password;
33142
33142
  if (!key) {
@@ -33280,10 +33280,10 @@ var require_main = __commonJS({
33280
33280
  const aesgcm = crypto.createDecipheriv("aes-256-gcm", key, nonce);
33281
33281
  aesgcm.setAuthTag(authTag);
33282
33282
  return `${aesgcm.update(ciphertext)}${aesgcm.final()}`;
33283
- } catch (error2) {
33284
- const isRange = error2 instanceof RangeError;
33285
- const invalidKeyLength = error2.message === "Invalid key length";
33286
- const decryptionFailed = error2.message === "Unsupported state or unable to authenticate data";
33283
+ } catch (error) {
33284
+ const isRange = error instanceof RangeError;
33285
+ const invalidKeyLength = error.message === "Invalid key length";
33286
+ const decryptionFailed = error.message === "Unsupported state or unable to authenticate data";
33287
33287
  if (isRange || invalidKeyLength) {
33288
33288
  const err = new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");
33289
33289
  err.code = "INVALID_DOTENV_KEY";
@@ -33293,7 +33293,7 @@ var require_main = __commonJS({
33293
33293
  err.code = "DECRYPTION_FAILED";
33294
33294
  throw err;
33295
33295
  } else {
33296
- throw error2;
33296
+ throw error;
33297
33297
  }
33298
33298
  }
33299
33299
  }
@@ -33328,7 +33328,7 @@ var require_main = __commonJS({
33328
33328
  _parseVault,
33329
33329
  config: config2,
33330
33330
  decrypt,
33331
- parse: parse5,
33331
+ parse: parse4,
33332
33332
  populate
33333
33333
  };
33334
33334
  module.exports.configDotenv = DotenvModule.configDotenv;
@@ -33405,20 +33405,14 @@ init_esm_shims();
33405
33405
  // ../config/src/schema.ts
33406
33406
  init_esm_shims();
33407
33407
 
33408
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/index.js
33408
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/index.js
33409
33409
  init_esm_shims();
33410
33410
 
33411
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/classic/index.js
33412
- init_esm_shims();
33413
-
33414
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/classic/external.js
33415
- init_esm_shims();
33416
-
33417
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/index.js
33418
- init_esm_shims();
33419
-
33420
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/core.js
33411
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/core.js
33421
33412
  init_esm_shims();
33413
+ var NEVER = Object.freeze({
33414
+ status: "aborted"
33415
+ });
33422
33416
  // @__NO_SIDE_EFFECTS__
33423
33417
  function $constructor(name2, initializer3, params) {
33424
33418
  function init(inst, def) {
@@ -33475,13 +33469,13 @@ function config(newConfig) {
33475
33469
  return globalConfig;
33476
33470
  }
33477
33471
 
33478
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/parse.js
33472
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/parse.js
33479
33473
  init_esm_shims();
33480
33474
 
33481
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/errors.js
33475
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/errors.js
33482
33476
  init_esm_shims();
33483
33477
 
33484
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/util.js
33478
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/util.js
33485
33479
  var util_exports = {};
33486
33480
  __export(util_exports, {
33487
33481
  BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
@@ -33847,6 +33841,9 @@ function omit(schema, mask) {
33847
33841
  });
33848
33842
  }
33849
33843
  function extend(schema, shape) {
33844
+ if (!isPlainObject(shape)) {
33845
+ throw new Error("Invalid input to extend: expected a plain object");
33846
+ }
33850
33847
  const def = {
33851
33848
  ...schema._zod.def,
33852
33849
  get shape() {
@@ -33933,7 +33930,7 @@ function required(Class2, schema, mask) {
33933
33930
  }
33934
33931
  function aborted(x, startIndex = 0) {
33935
33932
  for (let i = startIndex; i < x.issues.length; i++) {
33936
- if (x.issues[i].continue !== true)
33933
+ if (x.issues[i]?.continue !== true)
33937
33934
  return true;
33938
33935
  }
33939
33936
  return false;
@@ -34000,7 +33997,7 @@ var Class = class {
34000
33997
  }
34001
33998
  };
34002
33999
 
34003
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/errors.js
34000
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/errors.js
34004
34001
  var initializer = (inst, def) => {
34005
34002
  inst.name = "$ZodError";
34006
34003
  Object.defineProperty(inst, "_zod", {
@@ -34018,13 +34015,17 @@ var initializer = (inst, def) => {
34018
34015
  enumerable: true
34019
34016
  // configurable: false,
34020
34017
  });
34018
+ Object.defineProperty(inst, "toString", {
34019
+ value: () => inst.message,
34020
+ enumerable: false
34021
+ });
34021
34022
  };
34022
34023
  var $ZodError = $constructor("$ZodError", initializer);
34023
34024
  var $ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
34024
- function flattenError(error2, mapper = (issue2) => issue2.message) {
34025
+ function flattenError(error, mapper = (issue2) => issue2.message) {
34025
34026
  const fieldErrors = {};
34026
34027
  const formErrors = [];
34027
- for (const sub of error2.issues) {
34028
+ for (const sub of error.issues) {
34028
34029
  if (sub.path.length > 0) {
34029
34030
  fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];
34030
34031
  fieldErrors[sub.path[0]].push(mapper(sub));
@@ -34034,13 +34035,13 @@ function flattenError(error2, mapper = (issue2) => issue2.message) {
34034
34035
  }
34035
34036
  return { formErrors, fieldErrors };
34036
34037
  }
34037
- function formatError(error2, _mapper) {
34038
+ function formatError(error, _mapper) {
34038
34039
  const mapper = _mapper || function(issue2) {
34039
34040
  return issue2.message;
34040
34041
  };
34041
34042
  const fieldErrors = { _errors: [] };
34042
- const processError = (error3) => {
34043
- for (const issue2 of error3.issues) {
34043
+ const processError = (error2) => {
34044
+ for (const issue2 of error2.issues) {
34044
34045
  if (issue2.code === "invalid_union" && issue2.errors.length) {
34045
34046
  issue2.errors.map((issues) => processError({ issues }));
34046
34047
  } else if (issue2.code === "invalid_key") {
@@ -34067,11 +34068,11 @@ function formatError(error2, _mapper) {
34067
34068
  }
34068
34069
  }
34069
34070
  };
34070
- processError(error2);
34071
+ processError(error);
34071
34072
  return fieldErrors;
34072
34073
  }
34073
34074
 
34074
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/parse.js
34075
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/parse.js
34075
34076
  var _parse = (_Err) => (schema, value2, _ctx, _params) => {
34076
34077
  const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
34077
34078
  const result = schema._zod.run({ value: value2, issues: [] }, ctx);
@@ -34121,13 +34122,13 @@ var _safeParseAsync = (_Err) => async (schema, value2, _ctx) => {
34121
34122
  };
34122
34123
  var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
34123
34124
 
34124
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/schemas.js
34125
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/schemas.js
34125
34126
  init_esm_shims();
34126
34127
 
34127
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/checks.js
34128
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/checks.js
34128
34129
  init_esm_shims();
34129
34130
 
34130
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/regexes.js
34131
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/regexes.js
34131
34132
  init_esm_shims();
34132
34133
  var cuid = /^[cC][^\s-]{8,}$/;
34133
34134
  var cuid2 = /^[0-9a-z]+$/;
@@ -34183,7 +34184,7 @@ var boolean = /true|false/i;
34183
34184
  var lowercase = /^[^A-Z]*$/;
34184
34185
  var uppercase = /^[^a-z]*$/;
34185
34186
 
34186
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/checks.js
34187
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/checks.js
34187
34188
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
34188
34189
  var _a;
34189
34190
  inst._zod ?? (inst._zod = {});
@@ -34191,11 +34192,12 @@ var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
34191
34192
  (_a = inst._zod).onattach ?? (_a.onattach = []);
34192
34193
  });
34193
34194
  var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (inst, def) => {
34195
+ var _a;
34194
34196
  $ZodCheck.init(inst, def);
34195
- inst._zod.when = (payload) => {
34197
+ (_a = inst._zod.def).when ?? (_a.when = (payload) => {
34196
34198
  const val = payload.value;
34197
34199
  return !nullish(val) && val.length !== void 0;
34198
- };
34200
+ });
34199
34201
  inst._zod.onattach.push((inst2) => {
34200
34202
  const curr = inst2._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
34201
34203
  if (def.maximum < curr)
@@ -34219,11 +34221,12 @@ var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (ins
34219
34221
  };
34220
34222
  });
34221
34223
  var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (inst, def) => {
34224
+ var _a;
34222
34225
  $ZodCheck.init(inst, def);
34223
- inst._zod.when = (payload) => {
34226
+ (_a = inst._zod.def).when ?? (_a.when = (payload) => {
34224
34227
  const val = payload.value;
34225
34228
  return !nullish(val) && val.length !== void 0;
34226
- };
34229
+ });
34227
34230
  inst._zod.onattach.push((inst2) => {
34228
34231
  const curr = inst2._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
34229
34232
  if (def.minimum > curr)
@@ -34247,11 +34250,12 @@ var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (ins
34247
34250
  };
34248
34251
  });
34249
34252
  var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals", (inst, def) => {
34253
+ var _a;
34250
34254
  $ZodCheck.init(inst, def);
34251
- inst._zod.when = (payload) => {
34255
+ (_a = inst._zod.def).when ?? (_a.when = (payload) => {
34252
34256
  const val = payload.value;
34253
34257
  return !nullish(val) && val.length !== void 0;
34254
- };
34258
+ });
34255
34259
  inst._zod.onattach.push((inst2) => {
34256
34260
  const bag = inst2._zod.bag;
34257
34261
  bag.minimum = def.length;
@@ -34268,6 +34272,8 @@ var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals"
34268
34272
  payload.issues.push({
34269
34273
  origin,
34270
34274
  ...tooBig ? { code: "too_big", maximum: def.length } : { code: "too_small", minimum: def.length },
34275
+ inclusive: true,
34276
+ exact: true,
34271
34277
  input: payload.value,
34272
34278
  inst,
34273
34279
  continue: !def.abort
@@ -34275,7 +34281,7 @@ var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals"
34275
34281
  };
34276
34282
  });
34277
34283
  var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat", (inst, def) => {
34278
- var _a;
34284
+ var _a, _b;
34279
34285
  $ZodCheck.init(inst, def);
34280
34286
  inst._zod.onattach.push((inst2) => {
34281
34287
  const bag = inst2._zod.bag;
@@ -34285,22 +34291,24 @@ var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat"
34285
34291
  bag.patterns.add(def.pattern);
34286
34292
  }
34287
34293
  });
34288
- (_a = inst._zod).check ?? (_a.check = (payload) => {
34289
- if (!def.pattern)
34290
- throw new Error("Not implemented.");
34291
- def.pattern.lastIndex = 0;
34292
- if (def.pattern.test(payload.value))
34293
- return;
34294
- payload.issues.push({
34295
- origin: "string",
34296
- code: "invalid_format",
34297
- format: def.format,
34298
- input: payload.value,
34299
- ...def.pattern ? { pattern: def.pattern.toString() } : {},
34300
- inst,
34301
- continue: !def.abort
34294
+ if (def.pattern)
34295
+ (_a = inst._zod).check ?? (_a.check = (payload) => {
34296
+ def.pattern.lastIndex = 0;
34297
+ if (def.pattern.test(payload.value))
34298
+ return;
34299
+ payload.issues.push({
34300
+ origin: "string",
34301
+ code: "invalid_format",
34302
+ format: def.format,
34303
+ input: payload.value,
34304
+ ...def.pattern ? { pattern: def.pattern.toString() } : {},
34305
+ inst,
34306
+ continue: !def.abort
34307
+ });
34308
+ });
34309
+ else
34310
+ (_b = inst._zod).check ?? (_b.check = () => {
34302
34311
  });
34303
- });
34304
34312
  });
34305
34313
  var $ZodCheckRegex = /* @__PURE__ */ $constructor("$ZodCheckRegex", (inst, def) => {
34306
34314
  $ZodCheckStringFormat.init(inst, def);
@@ -34404,7 +34412,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
34404
34412
  };
34405
34413
  });
34406
34414
 
34407
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/doc.js
34415
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/doc.js
34408
34416
  init_esm_shims();
34409
34417
  var Doc = class {
34410
34418
  constructor(args = []) {
@@ -34441,19 +34449,18 @@ var Doc = class {
34441
34449
  }
34442
34450
  };
34443
34451
 
34444
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/versions.js
34452
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/versions.js
34445
34453
  init_esm_shims();
34446
34454
  var version = {
34447
34455
  major: 4,
34448
34456
  minor: 0,
34449
- patch: 0
34457
+ patch: 2
34450
34458
  };
34451
34459
 
34452
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/schemas.js
34460
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/schemas.js
34453
34461
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
34454
34462
  var _a;
34455
34463
  inst ?? (inst = {});
34456
- defineLazy(inst._zod, "id", () => def.type + "_" + randomString(10));
34457
34464
  inst._zod.def = def;
34458
34465
  inst._zod.bag = inst._zod.bag || {};
34459
34466
  inst._zod.version = version;
@@ -34476,8 +34483,8 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
34476
34483
  let isAborted = aborted(payload);
34477
34484
  let asyncResult;
34478
34485
  for (const ch of checks2) {
34479
- if (ch._zod.when) {
34480
- const shouldRun = ch._zod.when(payload);
34486
+ if (ch._zod.def.when) {
34487
+ const shouldRun = ch._zod.def.when(payload);
34481
34488
  if (!shouldRun)
34482
34489
  continue;
34483
34490
  } else if (isAborted) {
@@ -34591,7 +34598,9 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
34591
34598
  $ZodStringFormat.init(inst, def);
34592
34599
  inst._zod.check = (payload) => {
34593
34600
  try {
34594
- const url = new URL(payload.value);
34601
+ const orig = payload.value;
34602
+ const url = new URL(orig);
34603
+ const href = url.href;
34595
34604
  if (def.hostname) {
34596
34605
  def.hostname.lastIndex = 0;
34597
34606
  if (!def.hostname.test(url.hostname)) {
@@ -34620,6 +34629,11 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
34620
34629
  });
34621
34630
  }
34622
34631
  }
34632
+ if (!orig.endsWith("/") && href.endsWith("/")) {
34633
+ payload.value = href.slice(0, -1);
34634
+ } else {
34635
+ payload.value = href;
34636
+ }
34623
34637
  return;
34624
34638
  } catch (_) {
34625
34639
  payload.issues.push({
@@ -34663,7 +34677,6 @@ var $ZodKSUID = /* @__PURE__ */ $constructor("$ZodKSUID", (inst, def) => {
34663
34677
  var $ZodISODateTime = /* @__PURE__ */ $constructor("$ZodISODateTime", (inst, def) => {
34664
34678
  def.pattern ?? (def.pattern = datetime(def));
34665
34679
  $ZodStringFormat.init(inst, def);
34666
- const _super = inst._zod.check;
34667
34680
  });
34668
34681
  var $ZodISODate = /* @__PURE__ */ $constructor("$ZodISODate", (inst, def) => {
34669
34682
  def.pattern ?? (def.pattern = date);
@@ -34672,7 +34685,6 @@ var $ZodISODate = /* @__PURE__ */ $constructor("$ZodISODate", (inst, def) => {
34672
34685
  var $ZodISOTime = /* @__PURE__ */ $constructor("$ZodISOTime", (inst, def) => {
34673
34686
  def.pattern ?? (def.pattern = time(def));
34674
34687
  $ZodStringFormat.init(inst, def);
34675
- const _super = inst._zod.check;
34676
34688
  });
34677
34689
  var $ZodISODuration = /* @__PURE__ */ $constructor("$ZodISODuration", (inst, def) => {
34678
34690
  def.pattern ?? (def.pattern = duration);
@@ -34801,6 +34813,8 @@ function isValidJWT(token, algorithm = null) {
34801
34813
  if (tokensParts.length !== 3)
34802
34814
  return false;
34803
34815
  const [header] = tokensParts;
34816
+ if (!header)
34817
+ return false;
34804
34818
  const parsedHeader = JSON.parse(atob(header));
34805
34819
  if ("typ" in parsedHeader && parsedHeader?.typ !== "JWT")
34806
34820
  return false;
@@ -34964,19 +34978,20 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
34964
34978
  });
34965
34979
  const generateFastpass = (shape) => {
34966
34980
  const doc = new Doc(["shape", "payload", "ctx"]);
34967
- const { keys, optionalKeys: optionalKeys2 } = _normalized.value;
34981
+ const normalized = _normalized.value;
34968
34982
  const parseStr = (key) => {
34969
34983
  const k = esc(key);
34970
34984
  return `shape[${k}]._zod.run({ value: input[${k}], issues: [] }, ctx)`;
34971
34985
  };
34972
34986
  doc.write(`const input = payload.value;`);
34973
34987
  const ids = /* @__PURE__ */ Object.create(null);
34974
- for (const key of keys) {
34975
- ids[key] = randomString(15);
34988
+ let counter = 0;
34989
+ for (const key of normalized.keys) {
34990
+ ids[key] = `key_${counter++}`;
34976
34991
  }
34977
34992
  doc.write(`const newResult = {}`);
34978
- for (const key of keys) {
34979
- if (optionalKeys2.has(key)) {
34993
+ for (const key of normalized.keys) {
34994
+ if (normalized.optionalKeys.has(key)) {
34980
34995
  const id = ids[key];
34981
34996
  doc.write(`const ${id} = ${parseStr(key)};`);
34982
34997
  const k = esc(key);
@@ -35021,7 +35036,7 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
35021
35036
  const jit = !globalConfig.jitless;
35022
35037
  const allowsEval2 = allowsEval;
35023
35038
  const fastEnabled = jit && allowsEval2.value;
35024
- const { catchall } = def;
35039
+ const catchall = def.catchall;
35025
35040
  let value2;
35026
35041
  inst._zod.parse = (payload, ctx) => {
35027
35042
  value2 ?? (value2 = _normalized.value);
@@ -35109,6 +35124,8 @@ function handleUnionResults(results, final, inst, ctx) {
35109
35124
  }
35110
35125
  var $ZodUnion = /* @__PURE__ */ $constructor("$ZodUnion", (inst, def) => {
35111
35126
  $ZodType.init(inst, def);
35127
+ defineLazy(inst._zod, "optin", () => def.options.some((o) => o._zod.optin === "optional") ? "optional" : void 0);
35128
+ defineLazy(inst._zod, "optout", () => def.options.some((o) => o._zod.optout === "optional") ? "optional" : void 0);
35112
35129
  defineLazy(inst._zod, "values", () => {
35113
35130
  if (def.options.every((o) => o._zod.values)) {
35114
35131
  return new Set(def.options.flatMap((option) => Array.from(option._zod.values)));
@@ -35149,7 +35166,7 @@ var $ZodUnion = /* @__PURE__ */ $constructor("$ZodUnion", (inst, def) => {
35149
35166
  var $ZodIntersection = /* @__PURE__ */ $constructor("$ZodIntersection", (inst, def) => {
35150
35167
  $ZodType.init(inst, def);
35151
35168
  inst._zod.parse = (payload, ctx) => {
35152
- const { value: input } = payload;
35169
+ const input = payload.value;
35153
35170
  const left = def.left._zod.run({ value: input, issues: [] }, ctx);
35154
35171
  const right = def.right._zod.run({ value: input, issues: [] }, ctx);
35155
35172
  const async = left instanceof Promise || right instanceof Promise;
@@ -35381,6 +35398,9 @@ var $ZodOptional = /* @__PURE__ */ $constructor("$ZodOptional", (inst, def) => {
35381
35398
  return pattern ? new RegExp(`^(${cleanRegex(pattern.source)})?$`) : void 0;
35382
35399
  });
35383
35400
  inst._zod.parse = (payload, ctx) => {
35401
+ if (def.innerType._zod.optin === "optional") {
35402
+ return def.innerType._zod.run(payload, ctx);
35403
+ }
35384
35404
  if (payload.value === void 0) {
35385
35405
  return payload;
35386
35406
  }
@@ -35464,7 +35484,7 @@ function handleNonOptionalResult(payload, inst) {
35464
35484
  }
35465
35485
  var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
35466
35486
  $ZodType.init(inst, def);
35467
- defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
35487
+ inst._zod.optin = "optional";
35468
35488
  defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
35469
35489
  defineLazy(inst._zod, "values", () => def.innerType._zod.values);
35470
35490
  inst._zod.parse = (payload, ctx) => {
@@ -35521,6 +35541,7 @@ function handlePipeResult(left, def, ctx) {
35521
35541
  var $ZodReadonly = /* @__PURE__ */ $constructor("$ZodReadonly", (inst, def) => {
35522
35542
  $ZodType.init(inst, def);
35523
35543
  defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
35544
+ defineLazy(inst._zod, "values", () => def.innerType._zod.values);
35524
35545
  defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
35525
35546
  defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
35526
35547
  inst._zod.parse = (payload, ctx) => {
@@ -35569,246 +35590,13 @@ function handleRefineResult(result, payload, input, inst) {
35569
35590
  }
35570
35591
  }
35571
35592
 
35572
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/index.js
35573
- init_esm_shims();
35574
-
35575
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/ar.js
35576
- init_esm_shims();
35577
-
35578
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/az.js
35579
- init_esm_shims();
35580
-
35581
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/be.js
35582
- init_esm_shims();
35583
-
35584
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/ca.js
35585
- init_esm_shims();
35586
-
35587
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/cs.js
35588
- init_esm_shims();
35589
-
35590
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/de.js
35591
- init_esm_shims();
35592
-
35593
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/en.js
35594
- init_esm_shims();
35595
- var parsedType = (data) => {
35596
- const t = typeof data;
35597
- switch (t) {
35598
- case "number": {
35599
- return Number.isNaN(data) ? "NaN" : "number";
35600
- }
35601
- case "object": {
35602
- if (Array.isArray(data)) {
35603
- return "array";
35604
- }
35605
- if (data === null) {
35606
- return "null";
35607
- }
35608
- if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
35609
- return data.constructor.name;
35610
- }
35611
- }
35612
- }
35613
- return t;
35614
- };
35615
- var error = () => {
35616
- const Sizable = {
35617
- string: { unit: "characters", verb: "to have" },
35618
- file: { unit: "bytes", verb: "to have" },
35619
- array: { unit: "items", verb: "to have" },
35620
- set: { unit: "items", verb: "to have" }
35621
- };
35622
- function getSizing(origin) {
35623
- return Sizable[origin] ?? null;
35624
- }
35625
- const Nouns = {
35626
- regex: "input",
35627
- email: "email address",
35628
- url: "URL",
35629
- emoji: "emoji",
35630
- uuid: "UUID",
35631
- uuidv4: "UUIDv4",
35632
- uuidv6: "UUIDv6",
35633
- nanoid: "nanoid",
35634
- guid: "GUID",
35635
- cuid: "cuid",
35636
- cuid2: "cuid2",
35637
- ulid: "ULID",
35638
- xid: "XID",
35639
- ksuid: "KSUID",
35640
- datetime: "ISO datetime",
35641
- date: "ISO date",
35642
- time: "ISO time",
35643
- duration: "ISO duration",
35644
- ipv4: "IPv4 address",
35645
- ipv6: "IPv6 address",
35646
- cidrv4: "IPv4 range",
35647
- cidrv6: "IPv6 range",
35648
- base64: "base64-encoded string",
35649
- base64url: "base64url-encoded string",
35650
- json_string: "JSON string",
35651
- e164: "E.164 number",
35652
- jwt: "JWT",
35653
- template_literal: "input"
35654
- };
35655
- return (issue2) => {
35656
- switch (issue2.code) {
35657
- case "invalid_type":
35658
- return `Invalid input: expected ${issue2.expected}, received ${parsedType(issue2.input)}`;
35659
- case "invalid_value":
35660
- if (issue2.values.length === 1)
35661
- return `Invalid input: expected ${stringifyPrimitive(issue2.values[0])}`;
35662
- return `Invalid option: expected one of ${joinValues(issue2.values, "|")}`;
35663
- case "too_big": {
35664
- const adj = issue2.inclusive ? "<=" : "<";
35665
- const sizing = getSizing(issue2.origin);
35666
- if (sizing)
35667
- return `Too big: expected ${issue2.origin ?? "value"} to have ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elements"}`;
35668
- return `Too big: expected ${issue2.origin ?? "value"} to be ${adj}${issue2.maximum.toString()}`;
35669
- }
35670
- case "too_small": {
35671
- const adj = issue2.inclusive ? ">=" : ">";
35672
- const sizing = getSizing(issue2.origin);
35673
- if (sizing) {
35674
- return `Too small: expected ${issue2.origin} to have ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
35675
- }
35676
- return `Too small: expected ${issue2.origin} to be ${adj}${issue2.minimum.toString()}`;
35677
- }
35678
- case "invalid_format": {
35679
- const _issue = issue2;
35680
- if (_issue.format === "starts_with") {
35681
- return `Invalid string: must start with "${_issue.prefix}"`;
35682
- }
35683
- if (_issue.format === "ends_with")
35684
- return `Invalid string: must end with "${_issue.suffix}"`;
35685
- if (_issue.format === "includes")
35686
- return `Invalid string: must include "${_issue.includes}"`;
35687
- if (_issue.format === "regex")
35688
- return `Invalid string: must match pattern ${_issue.pattern}`;
35689
- return `Invalid ${Nouns[_issue.format] ?? issue2.format}`;
35690
- }
35691
- case "not_multiple_of":
35692
- return `Invalid number: must be a multiple of ${issue2.divisor}`;
35693
- case "unrecognized_keys":
35694
- return `Unrecognized key${issue2.keys.length > 1 ? "s" : ""}: ${joinValues(issue2.keys, ", ")}`;
35695
- case "invalid_key":
35696
- return `Invalid key in ${issue2.origin}`;
35697
- case "invalid_union":
35698
- return "Invalid input";
35699
- case "invalid_element":
35700
- return `Invalid value in ${issue2.origin}`;
35701
- default:
35702
- return `Invalid input`;
35703
- }
35704
- };
35705
- };
35706
- function en_default() {
35707
- return {
35708
- localeError: error()
35709
- };
35710
- }
35711
-
35712
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/es.js
35713
- init_esm_shims();
35714
-
35715
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/fa.js
35716
- init_esm_shims();
35717
-
35718
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/fi.js
35719
- init_esm_shims();
35720
-
35721
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/fr.js
35722
- init_esm_shims();
35723
-
35724
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/fr-CA.js
35725
- init_esm_shims();
35726
-
35727
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/he.js
35728
- init_esm_shims();
35729
-
35730
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/hu.js
35731
- init_esm_shims();
35732
-
35733
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/id.js
35734
- init_esm_shims();
35735
-
35736
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/it.js
35737
- init_esm_shims();
35738
-
35739
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/ja.js
35740
- init_esm_shims();
35741
-
35742
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/kh.js
35743
- init_esm_shims();
35744
-
35745
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/ko.js
35746
- init_esm_shims();
35747
-
35748
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/mk.js
35749
- init_esm_shims();
35750
-
35751
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/ms.js
35752
- init_esm_shims();
35753
-
35754
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/nl.js
35755
- init_esm_shims();
35756
-
35757
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/no.js
35758
- init_esm_shims();
35759
-
35760
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/ota.js
35761
- init_esm_shims();
35762
-
35763
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/ps.js
35764
- init_esm_shims();
35765
-
35766
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/pl.js
35767
- init_esm_shims();
35768
-
35769
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/pt.js
35770
- init_esm_shims();
35771
-
35772
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/ru.js
35773
- init_esm_shims();
35774
-
35775
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/sl.js
35776
- init_esm_shims();
35777
-
35778
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/sv.js
35779
- init_esm_shims();
35780
-
35781
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/ta.js
35782
- init_esm_shims();
35783
-
35784
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/th.js
35785
- init_esm_shims();
35786
-
35787
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/tr.js
35788
- init_esm_shims();
35789
-
35790
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/ua.js
35791
- init_esm_shims();
35792
-
35793
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/ur.js
35794
- init_esm_shims();
35795
-
35796
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/vi.js
35797
- init_esm_shims();
35798
-
35799
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/zh-CN.js
35800
- init_esm_shims();
35801
-
35802
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/locales/zh-TW.js
35803
- init_esm_shims();
35804
-
35805
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/registries.js
35593
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/registries.js
35806
35594
  init_esm_shims();
35807
35595
  var $output = Symbol("ZodOutput");
35808
35596
  var $input = Symbol("ZodInput");
35809
35597
  var $ZodRegistry = class {
35810
35598
  constructor() {
35811
- this._map = /* @__PURE__ */ new WeakMap();
35599
+ this._map = /* @__PURE__ */ new Map();
35812
35600
  this._idmap = /* @__PURE__ */ new Map();
35813
35601
  }
35814
35602
  add(schema, ..._meta) {
@@ -35822,7 +35610,16 @@ var $ZodRegistry = class {
35822
35610
  }
35823
35611
  return this;
35824
35612
  }
35613
+ clear() {
35614
+ this._map = /* @__PURE__ */ new Map();
35615
+ this._idmap = /* @__PURE__ */ new Map();
35616
+ return this;
35617
+ }
35825
35618
  remove(schema) {
35619
+ const meta = this._map.get(schema);
35620
+ if (meta && typeof meta === "object" && "id" in meta) {
35621
+ this._idmap.delete(meta.id);
35622
+ }
35826
35623
  this._map.delete(schema);
35827
35624
  return this;
35828
35625
  }
@@ -35844,10 +35641,7 @@ function registry() {
35844
35641
  }
35845
35642
  var globalRegistry = /* @__PURE__ */ registry();
35846
35643
 
35847
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/function.js
35848
- init_esm_shims();
35849
-
35850
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/api.js
35644
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/core/api.js
35851
35645
  init_esm_shims();
35852
35646
  function _string(Class2, params) {
35853
35647
  return new Class2({
@@ -36220,19 +36014,13 @@ function _refine(Class2, fn, _params) {
36220
36014
  return schema;
36221
36015
  }
36222
36016
 
36223
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/to-json-schema.js
36017
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/classic/schemas.js
36224
36018
  init_esm_shims();
36225
36019
 
36226
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/core/json-schema.js
36020
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/classic/checks.js
36227
36021
  init_esm_shims();
36228
36022
 
36229
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/classic/schemas.js
36230
- init_esm_shims();
36231
-
36232
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/classic/checks.js
36233
- init_esm_shims();
36234
-
36235
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/classic/iso.js
36023
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/classic/iso.js
36236
36024
  init_esm_shims();
36237
36025
  var ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
36238
36026
  $ZodISODateTime.init(inst, def);
@@ -36263,10 +36051,10 @@ function duration2(params) {
36263
36051
  return _isoDuration(ZodISODuration, params);
36264
36052
  }
36265
36053
 
36266
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/classic/parse.js
36054
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/classic/parse.js
36267
36055
  init_esm_shims();
36268
36056
 
36269
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/classic/errors.js
36057
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/classic/errors.js
36270
36058
  init_esm_shims();
36271
36059
  var initializer2 = (inst, issues) => {
36272
36060
  $ZodError.init(inst, issues);
@@ -36301,13 +36089,13 @@ var ZodRealError = $constructor("ZodError", initializer2, {
36301
36089
  Parent: Error
36302
36090
  });
36303
36091
 
36304
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/classic/parse.js
36305
- var parse2 = /* @__PURE__ */ _parse(ZodRealError);
36306
- var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
36092
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/classic/parse.js
36093
+ var parse = /* @__PURE__ */ _parse(ZodRealError);
36094
+ var parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
36307
36095
  var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
36308
36096
  var safeParseAsync2 = /* @__PURE__ */ _safeParseAsync(ZodRealError);
36309
36097
 
36310
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/classic/schemas.js
36098
+ // ../../node_modules/.pnpm/zod@4.0.2/node_modules/zod/v4/classic/schemas.js
36311
36099
  var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
36312
36100
  $ZodType.init(inst, def);
36313
36101
  inst.def = def;
@@ -36330,9 +36118,9 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
36330
36118
  reg.add(inst, meta);
36331
36119
  return inst;
36332
36120
  };
36333
- inst.parse = (data, params) => parse2(inst, data, params, { callee: inst.parse });
36121
+ inst.parse = (data, params) => parse(inst, data, params, { callee: inst.parse });
36334
36122
  inst.safeParse = (data, params) => safeParse2(inst, data, params);
36335
- inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync });
36123
+ inst.parseAsync = async (data, params) => parseAsync(inst, data, params, { callee: inst.parseAsync });
36336
36124
  inst.safeParseAsync = async (data, params) => safeParseAsync2(inst, data, params);
36337
36125
  inst.spa = inst.safeParseAsync;
36338
36126
  inst.refine = (check2, params) => inst.check(refine(check2, params));
@@ -36822,10 +36610,10 @@ var ZodCustom = /* @__PURE__ */ $constructor("ZodCustom", (inst, def) => {
36822
36610
  $ZodCustom.init(inst, def);
36823
36611
  ZodType.init(inst, def);
36824
36612
  });
36825
- function check(fn, params) {
36613
+ function check(fn) {
36826
36614
  const ch = new $ZodCheck({
36827
- check: "custom",
36828
- ...util_exports.normalizeParams(params)
36615
+ check: "custom"
36616
+ // ...util.normalizeParams(params),
36829
36617
  });
36830
36618
  ch._zod.check = fn;
36831
36619
  return ch;
@@ -36833,7 +36621,7 @@ function check(fn, params) {
36833
36621
  function refine(fn, _params = {}) {
36834
36622
  return _refine(ZodCustom, fn, _params);
36835
36623
  }
36836
- function superRefine(fn, params) {
36624
+ function superRefine(fn) {
36837
36625
  const ch = check((payload) => {
36838
36626
  payload.addIssue = (issue2) => {
36839
36627
  if (typeof issue2 === "string") {
@@ -36850,22 +36638,10 @@ function superRefine(fn, params) {
36850
36638
  }
36851
36639
  };
36852
36640
  return fn(payload.value, payload);
36853
- }, params);
36641
+ });
36854
36642
  return ch;
36855
36643
  }
36856
36644
 
36857
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/classic/compat.js
36858
- init_esm_shims();
36859
- var INVALID = Object.freeze({
36860
- status: "aborted"
36861
- });
36862
-
36863
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/classic/coerce.js
36864
- init_esm_shims();
36865
-
36866
- // ../../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/esm/v4/classic/external.js
36867
- config(en_default());
36868
-
36869
36645
  // ../config/src/schema.ts
36870
36646
  var DarkColorSchema = string2().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
36871
36647
  var LightColorSchema = string2().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
@@ -37692,17 +37468,17 @@ var handleProcess = (config2) => {
37692
37468
  `Using the following arguments to process the script: ${process.argv.join(", ")}`,
37693
37469
  config2
37694
37470
  );
37695
- process.on("unhandledRejection", (error2) => {
37471
+ process.on("unhandledRejection", (error) => {
37696
37472
  writeError(
37697
- `An Unhandled Rejection occurred while running the program: ${error2}`,
37473
+ `An Unhandled Rejection occurred while running the program: ${error}`,
37698
37474
  config2
37699
37475
  );
37700
37476
  exitWithError(config2);
37701
37477
  });
37702
- process.on("uncaughtException", (error2) => {
37478
+ process.on("uncaughtException", (error) => {
37703
37479
  writeError(
37704
- `An Uncaught Exception occurred while running the program: ${error2.message}
37705
- Stacktrace: ${error2.stack}`,
37480
+ `An Uncaught Exception occurred while running the program: ${error.message}
37481
+ Stacktrace: ${error.stack}`,
37706
37482
  config2
37707
37483
  );
37708
37484
  exitWithError(config2);
@@ -37827,9 +37603,9 @@ function destr(value2, options = {}) {
37827
37603
  return JSON.parse(value2, jsonParseTransform);
37828
37604
  }
37829
37605
  return JSON.parse(value2);
37830
- } catch (error2) {
37606
+ } catch (error) {
37831
37607
  if (options.strict) {
37832
- throw error2;
37608
+ throw error;
37833
37609
  }
37834
37610
  return value2;
37835
37611
  }
@@ -37952,7 +37728,7 @@ function withDefaults(options) {
37952
37728
  }
37953
37729
  return { ...defaults, ...options };
37954
37730
  }
37955
- function parse3(contents, options = {}) {
37731
+ function parse2(contents, options = {}) {
37956
37732
  const config2 = {};
37957
37733
  const lines = contents.split(RE_LINES);
37958
37734
  for (const line of lines) {
@@ -37981,7 +37757,7 @@ function parseFile(path, options) {
37981
37757
  if (!existsSync3(path)) {
37982
37758
  return {};
37983
37759
  }
37984
- return parse3(readFileSync(path, "utf8"), options);
37760
+ return parse2(readFileSync(path, "utf8"), options);
37985
37761
  }
37986
37762
  function read(options) {
37987
37763
  options = withDefaults(options);
@@ -38026,7 +37802,7 @@ async function loadDotenv(options) {
38026
37802
  }
38027
37803
  return environment;
38028
37804
  }
38029
- function interpolate(target, source = {}, parse5 = (v) => v) {
37805
+ function interpolate(target, source = {}, parse4 = (v) => v) {
38030
37806
  function getValue(key) {
38031
37807
  return source[key] === void 0 ? target[key] : source[key];
38032
37808
  }
@@ -38035,7 +37811,7 @@ function interpolate(target, source = {}, parse5 = (v) => v) {
38035
37811
  return value2;
38036
37812
  }
38037
37813
  const matches = value2.match(/(.?\${?(?:[\w:]+)?}?)/g) || [];
38038
- return parse5(
37814
+ return parse4(
38039
37815
  // eslint-disable-next-line unicorn/no-array-reduce
38040
37816
  matches.reduce((newValue, match) => {
38041
37817
  const parts = /(.?)\${?([\w:]+)?}?/g.exec(match) || [];
@@ -38985,21 +38761,25 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
38985
38761
  }
38986
38762
  }
38987
38763
  const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
38988
- const configInput = defu(configEnv, configFile, defaultConfig);
38764
+ const configInput = defu(
38765
+ configEnv,
38766
+ configFile,
38767
+ defaultConfig
38768
+ );
38989
38769
  try {
38990
38770
  result = applyDefaultConfig(
38991
38771
  await stormWorkspaceConfigSchema.parseAsync(configInput)
38992
38772
  );
38993
38773
  result.workspaceRoot ??= _workspaceRoot;
38994
- } catch (error2) {
38774
+ } catch (error) {
38995
38775
  throw new Error(
38996
- `Failed to parse Storm Workspace configuration${error2?.message ? `: ${error2.message}` : ""}
38776
+ `Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
38997
38777
 
38998
38778
  Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
38999
38779
  configInput
39000
38780
  )}`,
39001
38781
  {
39002
- cause: error2
38782
+ cause: error
39003
38783
  }
39004
38784
  );
39005
38785
  }