@storm-software/git-tools 2.58.2 → 2.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/git.js CHANGED
@@ -231,363 +231,11 @@ var init_dist = __esm({
231
231
  }
232
232
  });
233
233
 
234
- // node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/package.json
235
- var require_package = __commonJS({
236
- "node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/package.json"(exports, module) {
237
- module.exports = {
238
- name: "dotenv",
239
- version: "16.4.5",
240
- description: "Loads environment variables from .env file",
241
- main: "lib/main.js",
242
- types: "lib/main.d.ts",
243
- exports: {
244
- ".": {
245
- types: "./lib/main.d.ts",
246
- require: "./lib/main.js",
247
- default: "./lib/main.js"
248
- },
249
- "./config": "./config.js",
250
- "./config.js": "./config.js",
251
- "./lib/env-options": "./lib/env-options.js",
252
- "./lib/env-options.js": "./lib/env-options.js",
253
- "./lib/cli-options": "./lib/cli-options.js",
254
- "./lib/cli-options.js": "./lib/cli-options.js",
255
- "./package.json": "./package.json"
256
- },
257
- scripts: {
258
- "dts-check": "tsc --project tests/types/tsconfig.json",
259
- lint: "standard",
260
- "lint-readme": "standard-markdown",
261
- pretest: "npm run lint && npm run dts-check",
262
- test: "tap tests/*.js --100 -Rspec",
263
- "test:coverage": "tap --coverage-report=lcov",
264
- prerelease: "npm test",
265
- release: "standard-version"
266
- },
267
- repository: {
268
- type: "git",
269
- url: "git://github.com/motdotla/dotenv.git"
270
- },
271
- funding: "https://dotenvx.com",
272
- keywords: [
273
- "dotenv",
274
- "env",
275
- ".env",
276
- "environment",
277
- "variables",
278
- "config",
279
- "settings"
280
- ],
281
- readmeFilename: "README.md",
282
- license: "BSD-2-Clause",
283
- devDependencies: {
284
- "@definitelytyped/dtslint": "^0.0.133",
285
- "@types/node": "^18.11.3",
286
- decache: "^4.6.1",
287
- sinon: "^14.0.1",
288
- standard: "^17.0.0",
289
- "standard-markdown": "^7.1.0",
290
- "standard-version": "^9.5.0",
291
- tap: "^16.3.0",
292
- tar: "^6.1.11",
293
- typescript: "^4.8.4"
294
- },
295
- engines: {
296
- node: ">=12"
297
- },
298
- browser: {
299
- fs: false
300
- }
301
- };
302
- }
303
- });
304
-
305
- // node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js
306
- var require_main = __commonJS({
307
- "node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js"(exports, module) {
308
- var fs11 = __require("fs");
309
- var path13 = __require("path");
310
- var os8 = __require("os");
311
- var crypto = __require("crypto");
312
- var packageJson = require_package();
313
- var version2 = packageJson.version;
314
- var LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;
315
- function parse7(src) {
316
- const obj = {};
317
- let lines = src.toString();
318
- lines = lines.replace(/\r\n?/mg, "\n");
319
- let match;
320
- while ((match = LINE.exec(lines)) != null) {
321
- const key2 = match[1];
322
- let value2 = match[2] || "";
323
- value2 = value2.trim();
324
- const maybeQuote = value2[0];
325
- value2 = value2.replace(/^(['"`])([\s\S]*)\1$/mg, "$2");
326
- if (maybeQuote === '"') {
327
- value2 = value2.replace(/\\n/g, "\n");
328
- value2 = value2.replace(/\\r/g, "\r");
329
- }
330
- obj[key2] = value2;
331
- }
332
- return obj;
333
- }
334
- function _parseVault(options8) {
335
- const vaultPath = _vaultPath(options8);
336
- const result2 = DotenvModule.configDotenv({ path: vaultPath });
337
- if (!result2.parsed) {
338
- const err = new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`);
339
- err.code = "MISSING_DATA";
340
- throw err;
341
- }
342
- const keys2 = _dotenvKey(options8).split(",");
343
- const length = keys2.length;
344
- let decrypted;
345
- for (let i4 = 0; i4 < length; i4++) {
346
- try {
347
- const key2 = keys2[i4].trim();
348
- const attrs = _instructions(result2, key2);
349
- decrypted = DotenvModule.decrypt(attrs.ciphertext, attrs.key);
350
- break;
351
- } catch (error) {
352
- if (i4 + 1 >= length) {
353
- throw error;
354
- }
355
- }
356
- }
357
- return DotenvModule.parse(decrypted);
358
- }
359
- function _log(message) {
360
- console.log(`[dotenv@${version2}][INFO] ${message}`);
361
- }
362
- function _warn(message) {
363
- console.log(`[dotenv@${version2}][WARN] ${message}`);
364
- }
365
- function _debug(message) {
366
- console.log(`[dotenv@${version2}][DEBUG] ${message}`);
367
- }
368
- function _dotenvKey(options8) {
369
- if (options8 && options8.DOTENV_KEY && options8.DOTENV_KEY.length > 0) {
370
- return options8.DOTENV_KEY;
371
- }
372
- if (process.env.DOTENV_KEY && process.env.DOTENV_KEY.length > 0) {
373
- return process.env.DOTENV_KEY;
374
- }
375
- return "";
376
- }
377
- function _instructions(result2, dotenvKey) {
378
- let uri;
379
- try {
380
- uri = new URL(dotenvKey);
381
- } catch (error) {
382
- if (error.code === "ERR_INVALID_URL") {
383
- 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");
384
- err.code = "INVALID_DOTENV_KEY";
385
- throw err;
386
- }
387
- throw error;
388
- }
389
- const key2 = uri.password;
390
- if (!key2) {
391
- const err = new Error("INVALID_DOTENV_KEY: Missing key part");
392
- err.code = "INVALID_DOTENV_KEY";
393
- throw err;
394
- }
395
- const environment = uri.searchParams.get("environment");
396
- if (!environment) {
397
- const err = new Error("INVALID_DOTENV_KEY: Missing environment part");
398
- err.code = "INVALID_DOTENV_KEY";
399
- throw err;
400
- }
401
- const environmentKey = `DOTENV_VAULT_${environment.toUpperCase()}`;
402
- const ciphertext = result2.parsed[environmentKey];
403
- if (!ciphertext) {
404
- const err = new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${environmentKey} in your .env.vault file.`);
405
- err.code = "NOT_FOUND_DOTENV_ENVIRONMENT";
406
- throw err;
407
- }
408
- return { ciphertext, key: key2 };
409
- }
410
- function _vaultPath(options8) {
411
- let possibleVaultPath = null;
412
- if (options8 && options8.path && options8.path.length > 0) {
413
- if (Array.isArray(options8.path)) {
414
- for (const filepath of options8.path) {
415
- if (fs11.existsSync(filepath)) {
416
- possibleVaultPath = filepath.endsWith(".vault") ? filepath : `${filepath}.vault`;
417
- }
418
- }
419
- } else {
420
- possibleVaultPath = options8.path.endsWith(".vault") ? options8.path : `${options8.path}.vault`;
421
- }
422
- } else {
423
- possibleVaultPath = path13.resolve(process.cwd(), ".env.vault");
424
- }
425
- if (fs11.existsSync(possibleVaultPath)) {
426
- return possibleVaultPath;
427
- }
428
- return null;
429
- }
430
- function _resolveHome(envPath) {
431
- return envPath[0] === "~" ? path13.join(os8.homedir(), envPath.slice(1)) : envPath;
432
- }
433
- function _configVault(options8) {
434
- _log("Loading env from encrypted .env.vault");
435
- const parsed = DotenvModule._parseVault(options8);
436
- let processEnv = process.env;
437
- if (options8 && options8.processEnv != null) {
438
- processEnv = options8.processEnv;
439
- }
440
- DotenvModule.populate(processEnv, parsed, options8);
441
- return { parsed };
442
- }
443
- function configDotenv(options8) {
444
- const dotenvPath = path13.resolve(process.cwd(), ".env");
445
- let encoding = "utf8";
446
- const debug2 = Boolean(options8 && options8.debug);
447
- if (options8 && options8.encoding) {
448
- encoding = options8.encoding;
449
- } else {
450
- if (debug2) {
451
- _debug("No encoding is specified. UTF-8 is used by default");
452
- }
453
- }
454
- let optionPaths = [dotenvPath];
455
- if (options8 && options8.path) {
456
- if (!Array.isArray(options8.path)) {
457
- optionPaths = [_resolveHome(options8.path)];
458
- } else {
459
- optionPaths = [];
460
- for (const filepath of options8.path) {
461
- optionPaths.push(_resolveHome(filepath));
462
- }
463
- }
464
- }
465
- let lastError;
466
- const parsedAll = {};
467
- for (const path14 of optionPaths) {
468
- try {
469
- const parsed = DotenvModule.parse(fs11.readFileSync(path14, { encoding }));
470
- DotenvModule.populate(parsedAll, parsed, options8);
471
- } catch (e3) {
472
- if (debug2) {
473
- _debug(`Failed to load ${path14} ${e3.message}`);
474
- }
475
- lastError = e3;
476
- }
477
- }
478
- let processEnv = process.env;
479
- if (options8 && options8.processEnv != null) {
480
- processEnv = options8.processEnv;
481
- }
482
- DotenvModule.populate(processEnv, parsedAll, options8);
483
- if (lastError) {
484
- return { parsed: parsedAll, error: lastError };
485
- } else {
486
- return { parsed: parsedAll };
487
- }
488
- }
489
- function config2(options8) {
490
- if (_dotenvKey(options8).length === 0) {
491
- return DotenvModule.configDotenv(options8);
492
- }
493
- const vaultPath = _vaultPath(options8);
494
- if (!vaultPath) {
495
- _warn(`You set DOTENV_KEY but you are missing a .env.vault file at ${vaultPath}. Did you forget to build it?`);
496
- return DotenvModule.configDotenv(options8);
497
- }
498
- return DotenvModule._configVault(options8);
499
- }
500
- function decrypt(encrypted, keyStr) {
501
- const key2 = Buffer.from(keyStr.slice(-64), "hex");
502
- let ciphertext = Buffer.from(encrypted, "base64");
503
- const nonce = ciphertext.subarray(0, 12);
504
- const authTag = ciphertext.subarray(-16);
505
- ciphertext = ciphertext.subarray(12, -16);
506
- try {
507
- const aesgcm = crypto.createDecipheriv("aes-256-gcm", key2, nonce);
508
- aesgcm.setAuthTag(authTag);
509
- return `${aesgcm.update(ciphertext)}${aesgcm.final()}`;
510
- } catch (error) {
511
- const isRange = error instanceof RangeError;
512
- const invalidKeyLength = error.message === "Invalid key length";
513
- const decryptionFailed = error.message === "Unsupported state or unable to authenticate data";
514
- if (isRange || invalidKeyLength) {
515
- const err = new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");
516
- err.code = "INVALID_DOTENV_KEY";
517
- throw err;
518
- } else if (decryptionFailed) {
519
- const err = new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");
520
- err.code = "DECRYPTION_FAILED";
521
- throw err;
522
- } else {
523
- throw error;
524
- }
525
- }
526
- }
527
- function populate(processEnv, parsed, options8 = {}) {
528
- const debug2 = Boolean(options8 && options8.debug);
529
- const override = Boolean(options8 && options8.override);
530
- if (typeof parsed !== "object") {
531
- const err = new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");
532
- err.code = "OBJECT_REQUIRED";
533
- throw err;
534
- }
535
- for (const key2 of Object.keys(parsed)) {
536
- if (Object.prototype.hasOwnProperty.call(processEnv, key2)) {
537
- if (override === true) {
538
- processEnv[key2] = parsed[key2];
539
- }
540
- if (debug2) {
541
- if (override === true) {
542
- _debug(`"${key2}" is already defined and WAS overwritten`);
543
- } else {
544
- _debug(`"${key2}" is already defined and was NOT overwritten`);
545
- }
546
- }
547
- } else {
548
- processEnv[key2] = parsed[key2];
549
- }
550
- }
551
- }
552
- var DotenvModule = {
553
- configDotenv,
554
- _configVault,
555
- _parseVault,
556
- config: config2,
557
- decrypt,
558
- parse: parse7,
559
- populate
560
- };
561
- module.exports.configDotenv = DotenvModule.configDotenv;
562
- module.exports._configVault = DotenvModule._configVault;
563
- module.exports._parseVault = DotenvModule._parseVault;
564
- module.exports.config = DotenvModule.config;
565
- module.exports.decrypt = DotenvModule.decrypt;
566
- module.exports.parse = DotenvModule.parse;
567
- module.exports.populate = DotenvModule.populate;
568
- module.exports = DotenvModule;
569
- }
570
- });
571
-
572
- // node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/dist/jiti.js
234
+ // node_modules/.pnpm/jiti@2.0.0-beta.3/node_modules/jiti/dist/jiti.cjs
573
235
  var require_jiti = __commonJS({
574
- "node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/dist/jiti.js"(exports, module) {
236
+ "node_modules/.pnpm/jiti@2.0.0-beta.3/node_modules/jiti/dist/jiti.cjs"(exports, module) {
575
237
  (() => {
576
- var __webpack_modules__ = { "./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
577
- const nativeModule = __webpack_require__2("module"), path13 = __webpack_require__2("path"), fs11 = __webpack_require__2("fs");
578
- module2.exports = function(filename) {
579
- return filename || (filename = process.cwd()), function(path14) {
580
- try {
581
- return fs11.lstatSync(path14).isDirectory();
582
- } catch (e3) {
583
- return false;
584
- }
585
- }(filename) && (filename = path13.join(filename, "index.js")), nativeModule.createRequire ? nativeModule.createRequire(filename) : nativeModule.createRequireFromPath ? nativeModule.createRequireFromPath(filename) : function(filename2) {
586
- const mod = new nativeModule.Module(filename2, null);
587
- return mod.filename = filename2, mod.paths = nativeModule.Module._nodeModulePaths(path13.dirname(filename2)), mod._compile("module.exports = require;", filename2), mod.exports;
588
- }(filename);
589
- };
590
- }, "./node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist lazy recursive": (module2) => {
238
+ var __webpack_modules__ = { "./node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist lazy recursive": (module2) => {
591
239
  function webpackEmptyAsyncContext(req) {
592
240
  return Promise.resolve().then(() => {
593
241
  var e3 = new Error("Cannot find module '" + req + "'");
@@ -595,893 +243,24 @@ var require_jiti = __commonJS({
595
243
  });
596
244
  }
597
245
  webpackEmptyAsyncContext.keys = () => [], webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext, webpackEmptyAsyncContext.id = "./node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist lazy recursive", module2.exports = webpackEmptyAsyncContext;
598
- }, "./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js": (module2, exports2, __webpack_require__2) => {
599
- "use strict";
600
- var crypto = __webpack_require__2("crypto");
601
- function objectHash2(object2, options8) {
602
- return function(object3, options9) {
603
- var hashingStream;
604
- hashingStream = "passthrough" !== options9.algorithm ? crypto.createHash(options9.algorithm) : new PassThrough();
605
- void 0 === hashingStream.write && (hashingStream.write = hashingStream.update, hashingStream.end = hashingStream.update);
606
- var hasher = typeHasher(options9, hashingStream);
607
- hasher.dispatch(object3), hashingStream.update || hashingStream.end("");
608
- if (hashingStream.digest) return hashingStream.digest("buffer" === options9.encoding ? void 0 : options9.encoding);
609
- var buf = hashingStream.read();
610
- if ("buffer" === options9.encoding) return buf;
611
- return buf.toString(options9.encoding);
612
- }(object2, options8 = applyDefaults(object2, options8));
613
- }
614
- (exports2 = module2.exports = objectHash2).sha1 = function(object2) {
615
- return objectHash2(object2);
616
- }, exports2.keys = function(object2) {
617
- return objectHash2(object2, { excludeValues: true, algorithm: "sha1", encoding: "hex" });
618
- }, exports2.MD5 = function(object2) {
619
- return objectHash2(object2, { algorithm: "md5", encoding: "hex" });
620
- }, exports2.keysMD5 = function(object2) {
621
- return objectHash2(object2, { algorithm: "md5", encoding: "hex", excludeValues: true });
622
- };
623
- var hashes = crypto.getHashes ? crypto.getHashes().slice() : ["sha1", "md5"];
624
- hashes.push("passthrough");
625
- var encodings = ["buffer", "hex", "binary", "base64"];
626
- function applyDefaults(object2, sourceOptions) {
627
- sourceOptions = sourceOptions || {};
628
- var options8 = {};
629
- if (options8.algorithm = sourceOptions.algorithm || "sha1", options8.encoding = sourceOptions.encoding || "hex", options8.excludeValues = !!sourceOptions.excludeValues, options8.algorithm = options8.algorithm.toLowerCase(), options8.encoding = options8.encoding.toLowerCase(), options8.ignoreUnknown = true === sourceOptions.ignoreUnknown, options8.respectType = false !== sourceOptions.respectType, options8.respectFunctionNames = false !== sourceOptions.respectFunctionNames, options8.respectFunctionProperties = false !== sourceOptions.respectFunctionProperties, options8.unorderedArrays = true === sourceOptions.unorderedArrays, options8.unorderedSets = false !== sourceOptions.unorderedSets, options8.unorderedObjects = false !== sourceOptions.unorderedObjects, options8.replacer = sourceOptions.replacer || void 0, options8.excludeKeys = sourceOptions.excludeKeys || void 0, void 0 === object2) throw new Error("Object argument required.");
630
- for (var i4 = 0; i4 < hashes.length; ++i4) hashes[i4].toLowerCase() === options8.algorithm.toLowerCase() && (options8.algorithm = hashes[i4]);
631
- if (-1 === hashes.indexOf(options8.algorithm)) throw new Error('Algorithm "' + options8.algorithm + '" not supported. supported values: ' + hashes.join(", "));
632
- if (-1 === encodings.indexOf(options8.encoding) && "passthrough" !== options8.algorithm) throw new Error('Encoding "' + options8.encoding + '" not supported. supported values: ' + encodings.join(", "));
633
- return options8;
634
- }
635
- function isNativeFunction2(f7) {
636
- if ("function" != typeof f7) return false;
637
- return null != /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(f7));
638
- }
639
- function typeHasher(options8, writeTo, context) {
640
- context = context || [];
641
- var write = function(str2) {
642
- return writeTo.update ? writeTo.update(str2, "utf8") : writeTo.write(str2, "utf8");
643
- };
644
- return { dispatch: function(value2) {
645
- options8.replacer && (value2 = options8.replacer(value2));
646
- var type2 = typeof value2;
647
- return null === value2 && (type2 = "null"), this["_" + type2](value2);
648
- }, _object: function(object2) {
649
- var objString = Object.prototype.toString.call(object2), objType = /\[object (.*)\]/i.exec(objString);
650
- objType = (objType = objType ? objType[1] : "unknown:[" + objString + "]").toLowerCase();
651
- var objectNumber;
652
- if ((objectNumber = context.indexOf(object2)) >= 0) return this.dispatch("[CIRCULAR:" + objectNumber + "]");
653
- if (context.push(object2), "undefined" != typeof Buffer && Buffer.isBuffer && Buffer.isBuffer(object2)) return write("buffer:"), write(object2);
654
- if ("object" === objType || "function" === objType || "asyncfunction" === objType) {
655
- var keys2 = Object.keys(object2);
656
- options8.unorderedObjects && (keys2 = keys2.sort()), false === options8.respectType || isNativeFunction2(object2) || keys2.splice(0, 0, "prototype", "__proto__", "constructor"), options8.excludeKeys && (keys2 = keys2.filter(function(key2) {
657
- return !options8.excludeKeys(key2);
658
- })), write("object:" + keys2.length + ":");
659
- var self2 = this;
660
- return keys2.forEach(function(key2) {
661
- self2.dispatch(key2), write(":"), options8.excludeValues || self2.dispatch(object2[key2]), write(",");
662
- });
663
- }
664
- if (!this["_" + objType]) {
665
- if (options8.ignoreUnknown) return write("[" + objType + "]");
666
- throw new Error('Unknown object type "' + objType + '"');
667
- }
668
- this["_" + objType](object2);
669
- }, _array: function(arr, unordered) {
670
- unordered = void 0 !== unordered ? unordered : false !== options8.unorderedArrays;
671
- var self2 = this;
672
- if (write("array:" + arr.length + ":"), !unordered || arr.length <= 1) return arr.forEach(function(entry) {
673
- return self2.dispatch(entry);
674
- });
675
- var contextAdditions = [], entries = arr.map(function(entry) {
676
- var strm = new PassThrough(), localContext = context.slice();
677
- return typeHasher(options8, strm, localContext).dispatch(entry), contextAdditions = contextAdditions.concat(localContext.slice(context.length)), strm.read().toString();
678
- });
679
- return context = context.concat(contextAdditions), entries.sort(), this._array(entries, false);
680
- }, _date: function(date) {
681
- return write("date:" + date.toJSON());
682
- }, _symbol: function(sym) {
683
- return write("symbol:" + sym.toString());
684
- }, _error: function(err) {
685
- return write("error:" + err.toString());
686
- }, _boolean: function(bool2) {
687
- return write("bool:" + bool2.toString());
688
- }, _string: function(string) {
689
- write("string:" + string.length + ":"), write(string.toString());
690
- }, _function: function(fn7) {
691
- write("fn:"), isNativeFunction2(fn7) ? this.dispatch("[native]") : this.dispatch(fn7.toString()), false !== options8.respectFunctionNames && this.dispatch("function-name:" + String(fn7.name)), options8.respectFunctionProperties && this._object(fn7);
692
- }, _number: function(number) {
693
- return write("number:" + number.toString());
694
- }, _xml: function(xml) {
695
- return write("xml:" + xml.toString());
696
- }, _null: function() {
697
- return write("Null");
698
- }, _undefined: function() {
699
- return write("Undefined");
700
- }, _regexp: function(regex) {
701
- return write("regex:" + regex.toString());
702
- }, _uint8array: function(arr) {
703
- return write("uint8array:"), this.dispatch(Array.prototype.slice.call(arr));
704
- }, _uint8clampedarray: function(arr) {
705
- return write("uint8clampedarray:"), this.dispatch(Array.prototype.slice.call(arr));
706
- }, _int8array: function(arr) {
707
- return write("int8array:"), this.dispatch(Array.prototype.slice.call(arr));
708
- }, _uint16array: function(arr) {
709
- return write("uint16array:"), this.dispatch(Array.prototype.slice.call(arr));
710
- }, _int16array: function(arr) {
711
- return write("int16array:"), this.dispatch(Array.prototype.slice.call(arr));
712
- }, _uint32array: function(arr) {
713
- return write("uint32array:"), this.dispatch(Array.prototype.slice.call(arr));
714
- }, _int32array: function(arr) {
715
- return write("int32array:"), this.dispatch(Array.prototype.slice.call(arr));
716
- }, _float32array: function(arr) {
717
- return write("float32array:"), this.dispatch(Array.prototype.slice.call(arr));
718
- }, _float64array: function(arr) {
719
- return write("float64array:"), this.dispatch(Array.prototype.slice.call(arr));
720
- }, _arraybuffer: function(arr) {
721
- return write("arraybuffer:"), this.dispatch(new Uint8Array(arr));
722
- }, _url: function(url2) {
723
- return write("url:" + url2.toString());
724
- }, _map: function(map11) {
725
- write("map:");
726
- var arr = Array.from(map11);
727
- return this._array(arr, false !== options8.unorderedSets);
728
- }, _set: function(set3) {
729
- write("set:");
730
- var arr = Array.from(set3);
731
- return this._array(arr, false !== options8.unorderedSets);
732
- }, _file: function(file) {
733
- return write("file:"), this.dispatch([file.name, file.size, file.type, file.lastModfied]);
734
- }, _blob: function() {
735
- if (options8.ignoreUnknown) return write("[blob]");
736
- throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n');
737
- }, _domwindow: function() {
738
- return write("domwindow");
739
- }, _bigint: function(number) {
740
- return write("bigint:" + number.toString());
741
- }, _process: function() {
742
- return write("process");
743
- }, _timer: function() {
744
- return write("timer");
745
- }, _pipe: function() {
746
- return write("pipe");
747
- }, _tcp: function() {
748
- return write("tcp");
749
- }, _udp: function() {
750
- return write("udp");
751
- }, _tty: function() {
752
- return write("tty");
753
- }, _statwatcher: function() {
754
- return write("statwatcher");
755
- }, _securecontext: function() {
756
- return write("securecontext");
757
- }, _connection: function() {
758
- return write("connection");
759
- }, _zlib: function() {
760
- return write("zlib");
761
- }, _context: function() {
762
- return write("context");
763
- }, _nodescript: function() {
764
- return write("nodescript");
765
- }, _httpparser: function() {
766
- return write("httpparser");
767
- }, _dataview: function() {
768
- return write("dataview");
769
- }, _signal: function() {
770
- return write("signal");
771
- }, _fsevent: function() {
772
- return write("fsevent");
773
- }, _tlswrap: function() {
774
- return write("tlswrap");
775
- } };
776
- }
777
- function PassThrough() {
778
- return { buf: "", write: function(b11) {
779
- this.buf += b11;
780
- }, end: function(b11) {
781
- this.buf += b11;
782
- }, read: function() {
783
- return this.buf;
784
- } };
785
- }
786
- exports2.writeToStream = function(object2, options8, stream) {
787
- return void 0 === stream && (stream = options8, options8 = {}), typeHasher(options8 = applyDefaults(object2, options8), stream).dispatch(object2);
788
- };
789
- }, "./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js": (module2, exports2, __webpack_require__2) => {
790
- "use strict";
791
- module2 = __webpack_require__2.nmd(module2), Object.defineProperty(exports2, "__esModule", { value: true }), exports2.addHook = function(hook, opts = {}) {
792
- let reverted = false;
793
- const loaders2 = [], oldLoaders = [];
794
- let exts;
795
- const originalJSLoader = Module._extensions[".js"], matcher2 = opts.matcher || null, ignoreNodeModules = false !== opts.ignoreNodeModules;
796
- exts = opts.extensions || opts.exts || opts.extension || opts.ext || [".js"], Array.isArray(exts) || (exts = [exts]);
797
- return exts.forEach((ext) => {
798
- if ("string" != typeof ext) throw new TypeError(`Invalid Extension: ${ext}`);
799
- const oldLoader = Module._extensions[ext] || originalJSLoader;
800
- oldLoaders[ext] = Module._extensions[ext], loaders2[ext] = Module._extensions[ext] = function(mod, filename) {
801
- let compile;
802
- reverted || function(filename2, exts2, matcher3, ignoreNodeModules2) {
803
- if ("string" != typeof filename2) return false;
804
- if (-1 === exts2.indexOf(_path.default.extname(filename2))) return false;
805
- const resolvedFilename = _path.default.resolve(filename2);
806
- if (ignoreNodeModules2 && nodeModulesRegex.test(resolvedFilename)) return false;
807
- if (matcher3 && "function" == typeof matcher3) return !!matcher3(resolvedFilename);
808
- return true;
809
- }(filename, exts, matcher2, ignoreNodeModules) && (compile = mod._compile, mod._compile = function(code) {
810
- mod._compile = compile;
811
- const newCode = hook(code, filename);
812
- if ("string" != typeof newCode) throw new Error(HOOK_RETURNED_NOTHING_ERROR_MESSAGE);
813
- return mod._compile(newCode, filename);
814
- }), oldLoader(mod, filename);
815
- };
816
- }), function() {
817
- reverted || (reverted = true, exts.forEach((ext) => {
818
- Module._extensions[ext] === loaders2[ext] && (oldLoaders[ext] ? Module._extensions[ext] = oldLoaders[ext] : delete Module._extensions[ext]);
819
- }));
820
- };
821
- };
822
- var _module = _interopRequireDefault(__webpack_require__2("module")), _path = _interopRequireDefault(__webpack_require__2("path"));
823
- function _interopRequireDefault(obj) {
824
- return obj && obj.__esModule ? obj : { default: obj };
825
- }
826
- const nodeModulesRegex = /^(?:.*[\\/])?node_modules(?:[\\/].*)?$/, Module = module2.constructor.length > 1 ? module2.constructor : _module.default, HOOK_RETURNED_NOTHING_ERROR_MESSAGE = "[Pirates] A hook returned a non-string, or nothing at all! This is a violation of intergalactic law!\n--------------------\nIf you have no idea what this means or what Pirates is, let me explain: Pirates is a module that makes is easy to implement require hooks. One of the require hooks you're using uses it. One of these require hooks didn't return anything from it's handler, so we don't know what to do. You might want to debug this.";
827
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
828
- const ANY = Symbol("SemVer ANY");
829
- class Comparator {
830
- static get ANY() {
831
- return ANY;
832
- }
833
- constructor(comp, options8) {
834
- if (options8 = parseOptions(options8), comp instanceof Comparator) {
835
- if (comp.loose === !!options8.loose) return comp;
836
- comp = comp.value;
837
- }
838
- comp = comp.trim().split(/\s+/).join(" "), debug2("comparator", comp, options8), this.options = options8, this.loose = !!options8.loose, this.parse(comp), this.semver === ANY ? this.value = "" : this.value = this.operator + this.semver.version, debug2("comp", this);
839
- }
840
- parse(comp) {
841
- const r5 = this.options.loose ? re12[t14.COMPARATORLOOSE] : re12[t14.COMPARATOR], m5 = comp.match(r5);
842
- if (!m5) throw new TypeError(`Invalid comparator: ${comp}`);
843
- this.operator = void 0 !== m5[1] ? m5[1] : "", "=" === this.operator && (this.operator = ""), m5[2] ? this.semver = new SemVer(m5[2], this.options.loose) : this.semver = ANY;
844
- }
845
- toString() {
846
- return this.value;
847
- }
848
- test(version2) {
849
- if (debug2("Comparator.test", version2, this.options.loose), this.semver === ANY || version2 === ANY) return true;
850
- if ("string" == typeof version2) try {
851
- version2 = new SemVer(version2, this.options);
852
- } catch (er8) {
853
- return false;
854
- }
855
- return cmp(version2, this.operator, this.semver, this.options);
856
- }
857
- intersects(comp, options8) {
858
- if (!(comp instanceof Comparator)) throw new TypeError("a Comparator is required");
859
- return "" === this.operator ? "" === this.value || new Range(comp.value, options8).test(this.value) : "" === comp.operator ? "" === comp.value || new Range(this.value, options8).test(comp.semver) : (!(options8 = parseOptions(options8)).includePrerelease || "<0.0.0-0" !== this.value && "<0.0.0-0" !== comp.value) && (!(!options8.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) && (!(!this.operator.startsWith(">") || !comp.operator.startsWith(">")) || (!(!this.operator.startsWith("<") || !comp.operator.startsWith("<")) || (!(this.semver.version !== comp.semver.version || !this.operator.includes("=") || !comp.operator.includes("=")) || (!!(cmp(this.semver, "<", comp.semver, options8) && this.operator.startsWith(">") && comp.operator.startsWith("<")) || !!(cmp(this.semver, ">", comp.semver, options8) && this.operator.startsWith("<") && comp.operator.startsWith(">")))))));
860
- }
861
- }
862
- module2.exports = Comparator;
863
- const parseOptions = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"), { safeRe: re12, t: t14 } = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"), cmp = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js"), debug2 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"), SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"), Range = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");
864
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
865
- class Range {
866
- constructor(range2, options8) {
867
- if (options8 = parseOptions(options8), range2 instanceof Range) return range2.loose === !!options8.loose && range2.includePrerelease === !!options8.includePrerelease ? range2 : new Range(range2.raw, options8);
868
- if (range2 instanceof Comparator) return this.raw = range2.value, this.set = [[range2]], this.format(), this;
869
- if (this.options = options8, this.loose = !!options8.loose, this.includePrerelease = !!options8.includePrerelease, this.raw = range2.trim().split(/\s+/).join(" "), this.set = this.raw.split("||").map((r5) => this.parseRange(r5.trim())).filter((c5) => c5.length), !this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
870
- if (this.set.length > 1) {
871
- const first2 = this.set[0];
872
- if (this.set = this.set.filter((c5) => !isNullSet(c5[0])), 0 === this.set.length) this.set = [first2];
873
- else if (this.set.length > 1) {
874
- for (const c5 of this.set) if (1 === c5.length && isAny(c5[0])) {
875
- this.set = [c5];
876
- break;
877
- }
878
- }
879
- }
880
- this.format();
881
- }
882
- format() {
883
- return this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim(), this.range;
884
- }
885
- toString() {
886
- return this.range;
887
- }
888
- parseRange(range2) {
889
- const memoKey = ((this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE)) + ":" + range2, cached2 = cache3.get(memoKey);
890
- if (cached2) return cached2;
891
- const loose = this.options.loose, hr6 = loose ? re12[t14.HYPHENRANGELOOSE] : re12[t14.HYPHENRANGE];
892
- range2 = range2.replace(hr6, hyphenReplace(this.options.includePrerelease)), debug2("hyphen replace", range2), range2 = range2.replace(re12[t14.COMPARATORTRIM], comparatorTrimReplace), debug2("comparator trim", range2), range2 = range2.replace(re12[t14.TILDETRIM], tildeTrimReplace), debug2("tilde trim", range2), range2 = range2.replace(re12[t14.CARETTRIM], caretTrimReplace), debug2("caret trim", range2);
893
- let rangeList = range2.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
894
- loose && (rangeList = rangeList.filter((comp) => (debug2("loose invalid filter", comp, this.options), !!comp.match(re12[t14.COMPARATORLOOSE])))), debug2("range list", rangeList);
895
- const rangeMap = /* @__PURE__ */ new Map(), comparators = rangeList.map((comp) => new Comparator(comp, this.options));
896
- for (const comp of comparators) {
897
- if (isNullSet(comp)) return [comp];
898
- rangeMap.set(comp.value, comp);
899
- }
900
- rangeMap.size > 1 && rangeMap.has("") && rangeMap.delete("");
901
- const result2 = [...rangeMap.values()];
902
- return cache3.set(memoKey, result2), result2;
903
- }
904
- intersects(range2, options8) {
905
- if (!(range2 instanceof Range)) throw new TypeError("a Range is required");
906
- return this.set.some((thisComparators) => isSatisfiable(thisComparators, options8) && range2.set.some((rangeComparators) => isSatisfiable(rangeComparators, options8) && thisComparators.every((thisComparator) => rangeComparators.every((rangeComparator) => thisComparator.intersects(rangeComparator, options8)))));
907
- }
908
- test(version2) {
909
- if (!version2) return false;
910
- if ("string" == typeof version2) try {
911
- version2 = new SemVer(version2, this.options);
912
- } catch (er8) {
913
- return false;
914
- }
915
- for (let i4 = 0; i4 < this.set.length; i4++) if (testSet(this.set[i4], version2, this.options)) return true;
916
- return false;
917
- }
918
- }
919
- module2.exports = Range;
920
- const cache3 = new (__webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/lrucache.js"))(), parseOptions = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"), Comparator = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"), debug2 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"), SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"), { safeRe: re12, t: t14, comparatorTrimReplace, tildeTrimReplace, caretTrimReplace } = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"), { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"), isNullSet = (c5) => "<0.0.0-0" === c5.value, isAny = (c5) => "" === c5.value, isSatisfiable = (comparators, options8) => {
921
- let result2 = true;
922
- const remainingComparators = comparators.slice();
923
- let testComparator = remainingComparators.pop();
924
- for (; result2 && remainingComparators.length; ) result2 = remainingComparators.every((otherComparator) => testComparator.intersects(otherComparator, options8)), testComparator = remainingComparators.pop();
925
- return result2;
926
- }, parseComparator = (comp, options8) => (debug2("comp", comp, options8), comp = replaceCarets(comp, options8), debug2("caret", comp), comp = replaceTildes(comp, options8), debug2("tildes", comp), comp = replaceXRanges(comp, options8), debug2("xrange", comp), comp = replaceStars(comp, options8), debug2("stars", comp), comp), isX = (id) => !id || "x" === id.toLowerCase() || "*" === id, replaceTildes = (comp, options8) => comp.trim().split(/\s+/).map((c5) => replaceTilde(c5, options8)).join(" "), replaceTilde = (comp, options8) => {
927
- const r5 = options8.loose ? re12[t14.TILDELOOSE] : re12[t14.TILDE];
928
- return comp.replace(r5, (_15, M11, m5, p4, pr8) => {
929
- let ret;
930
- return debug2("tilde", comp, _15, M11, m5, p4, pr8), isX(M11) ? ret = "" : isX(m5) ? ret = `>=${M11}.0.0 <${+M11 + 1}.0.0-0` : isX(p4) ? ret = `>=${M11}.${m5}.0 <${M11}.${+m5 + 1}.0-0` : pr8 ? (debug2("replaceTilde pr", pr8), ret = `>=${M11}.${m5}.${p4}-${pr8} <${M11}.${+m5 + 1}.0-0`) : ret = `>=${M11}.${m5}.${p4} <${M11}.${+m5 + 1}.0-0`, debug2("tilde return", ret), ret;
931
- });
932
- }, replaceCarets = (comp, options8) => comp.trim().split(/\s+/).map((c5) => replaceCaret(c5, options8)).join(" "), replaceCaret = (comp, options8) => {
933
- debug2("caret", comp, options8);
934
- const r5 = options8.loose ? re12[t14.CARETLOOSE] : re12[t14.CARET], z10 = options8.includePrerelease ? "-0" : "";
935
- return comp.replace(r5, (_15, M11, m5, p4, pr8) => {
936
- let ret;
937
- return debug2("caret", comp, _15, M11, m5, p4, pr8), isX(M11) ? ret = "" : isX(m5) ? ret = `>=${M11}.0.0${z10} <${+M11 + 1}.0.0-0` : isX(p4) ? ret = "0" === M11 ? `>=${M11}.${m5}.0${z10} <${M11}.${+m5 + 1}.0-0` : `>=${M11}.${m5}.0${z10} <${+M11 + 1}.0.0-0` : pr8 ? (debug2("replaceCaret pr", pr8), ret = "0" === M11 ? "0" === m5 ? `>=${M11}.${m5}.${p4}-${pr8} <${M11}.${m5}.${+p4 + 1}-0` : `>=${M11}.${m5}.${p4}-${pr8} <${M11}.${+m5 + 1}.0-0` : `>=${M11}.${m5}.${p4}-${pr8} <${+M11 + 1}.0.0-0`) : (debug2("no pr"), ret = "0" === M11 ? "0" === m5 ? `>=${M11}.${m5}.${p4}${z10} <${M11}.${m5}.${+p4 + 1}-0` : `>=${M11}.${m5}.${p4}${z10} <${M11}.${+m5 + 1}.0-0` : `>=${M11}.${m5}.${p4} <${+M11 + 1}.0.0-0`), debug2("caret return", ret), ret;
938
- });
939
- }, replaceXRanges = (comp, options8) => (debug2("replaceXRanges", comp, options8), comp.split(/\s+/).map((c5) => replaceXRange(c5, options8)).join(" ")), replaceXRange = (comp, options8) => {
940
- comp = comp.trim();
941
- const r5 = options8.loose ? re12[t14.XRANGELOOSE] : re12[t14.XRANGE];
942
- return comp.replace(r5, (ret, gtlt, M11, m5, p4, pr8) => {
943
- debug2("xRange", comp, ret, gtlt, M11, m5, p4, pr8);
944
- const xM = isX(M11), xm2 = xM || isX(m5), xp2 = xm2 || isX(p4), anyX = xp2;
945
- return "=" === gtlt && anyX && (gtlt = ""), pr8 = options8.includePrerelease ? "-0" : "", xM ? ret = ">" === gtlt || "<" === gtlt ? "<0.0.0-0" : "*" : gtlt && anyX ? (xm2 && (m5 = 0), p4 = 0, ">" === gtlt ? (gtlt = ">=", xm2 ? (M11 = +M11 + 1, m5 = 0, p4 = 0) : (m5 = +m5 + 1, p4 = 0)) : "<=" === gtlt && (gtlt = "<", xm2 ? M11 = +M11 + 1 : m5 = +m5 + 1), "<" === gtlt && (pr8 = "-0"), ret = `${gtlt + M11}.${m5}.${p4}${pr8}`) : xm2 ? ret = `>=${M11}.0.0${pr8} <${+M11 + 1}.0.0-0` : xp2 && (ret = `>=${M11}.${m5}.0${pr8} <${M11}.${+m5 + 1}.0-0`), debug2("xRange return", ret), ret;
946
- });
947
- }, replaceStars = (comp, options8) => (debug2("replaceStars", comp, options8), comp.trim().replace(re12[t14.STAR], "")), replaceGTE0 = (comp, options8) => (debug2("replaceGTE0", comp, options8), comp.trim().replace(re12[options8.includePrerelease ? t14.GTE0PRE : t14.GTE0], "")), hyphenReplace = (incPr) => ($0, from3, fM, fm, fp3, fpr, fb, to3, tM, tm2, tp2, tpr) => `${from3 = isX(fM) ? "" : isX(fm) ? `>=${fM}.0.0${incPr ? "-0" : ""}` : isX(fp3) ? `>=${fM}.${fm}.0${incPr ? "-0" : ""}` : fpr ? `>=${from3}` : `>=${from3}${incPr ? "-0" : ""}`} ${to3 = isX(tM) ? "" : isX(tm2) ? `<${+tM + 1}.0.0-0` : isX(tp2) ? `<${tM}.${+tm2 + 1}.0-0` : tpr ? `<=${tM}.${tm2}.${tp2}-${tpr}` : incPr ? `<${tM}.${tm2}.${+tp2 + 1}-0` : `<=${to3}`}`.trim(), testSet = (set3, version2, options8) => {
948
- for (let i4 = 0; i4 < set3.length; i4++) if (!set3[i4].test(version2)) return false;
949
- if (version2.prerelease.length && !options8.includePrerelease) {
950
- for (let i4 = 0; i4 < set3.length; i4++) if (debug2(set3[i4].semver), set3[i4].semver !== Comparator.ANY && set3[i4].semver.prerelease.length > 0) {
951
- const allowed = set3[i4].semver;
952
- if (allowed.major === version2.major && allowed.minor === version2.minor && allowed.patch === version2.patch) return true;
953
- }
954
- return false;
955
- }
956
- return true;
957
- };
958
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
959
- const debug2 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"), { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"), { safeRe: re12, t: t14 } = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"), parseOptions = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"), { compareIdentifiers } = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js");
960
- class SemVer {
961
- constructor(version2, options8) {
962
- if (options8 = parseOptions(options8), version2 instanceof SemVer) {
963
- if (version2.loose === !!options8.loose && version2.includePrerelease === !!options8.includePrerelease) return version2;
964
- version2 = version2.version;
965
- } else if ("string" != typeof version2) throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version2}".`);
966
- if (version2.length > MAX_LENGTH) throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
967
- debug2("SemVer", version2, options8), this.options = options8, this.loose = !!options8.loose, this.includePrerelease = !!options8.includePrerelease;
968
- const m5 = version2.trim().match(options8.loose ? re12[t14.LOOSE] : re12[t14.FULL]);
969
- if (!m5) throw new TypeError(`Invalid Version: ${version2}`);
970
- if (this.raw = version2, this.major = +m5[1], this.minor = +m5[2], this.patch = +m5[3], this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError("Invalid major version");
971
- if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError("Invalid minor version");
972
- if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError("Invalid patch version");
973
- m5[4] ? this.prerelease = m5[4].split(".").map((id) => {
974
- if (/^[0-9]+$/.test(id)) {
975
- const num = +id;
976
- if (num >= 0 && num < MAX_SAFE_INTEGER) return num;
977
- }
978
- return id;
979
- }) : this.prerelease = [], this.build = m5[5] ? m5[5].split(".") : [], this.format();
980
- }
981
- format() {
982
- return this.version = `${this.major}.${this.minor}.${this.patch}`, this.prerelease.length && (this.version += `-${this.prerelease.join(".")}`), this.version;
983
- }
984
- toString() {
985
- return this.version;
986
- }
987
- compare(other) {
988
- if (debug2("SemVer.compare", this.version, this.options, other), !(other instanceof SemVer)) {
989
- if ("string" == typeof other && other === this.version) return 0;
990
- other = new SemVer(other, this.options);
991
- }
992
- return other.version === this.version ? 0 : this.compareMain(other) || this.comparePre(other);
993
- }
994
- compareMain(other) {
995
- return other instanceof SemVer || (other = new SemVer(other, this.options)), compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
996
- }
997
- comparePre(other) {
998
- if (other instanceof SemVer || (other = new SemVer(other, this.options)), this.prerelease.length && !other.prerelease.length) return -1;
999
- if (!this.prerelease.length && other.prerelease.length) return 1;
1000
- if (!this.prerelease.length && !other.prerelease.length) return 0;
1001
- let i4 = 0;
1002
- do {
1003
- const a3 = this.prerelease[i4], b11 = other.prerelease[i4];
1004
- if (debug2("prerelease compare", i4, a3, b11), void 0 === a3 && void 0 === b11) return 0;
1005
- if (void 0 === b11) return 1;
1006
- if (void 0 === a3) return -1;
1007
- if (a3 !== b11) return compareIdentifiers(a3, b11);
1008
- } while (++i4);
1009
- }
1010
- compareBuild(other) {
1011
- other instanceof SemVer || (other = new SemVer(other, this.options));
1012
- let i4 = 0;
1013
- do {
1014
- const a3 = this.build[i4], b11 = other.build[i4];
1015
- if (debug2("build compare", i4, a3, b11), void 0 === a3 && void 0 === b11) return 0;
1016
- if (void 0 === b11) return 1;
1017
- if (void 0 === a3) return -1;
1018
- if (a3 !== b11) return compareIdentifiers(a3, b11);
1019
- } while (++i4);
1020
- }
1021
- inc(release, identifier, identifierBase) {
1022
- switch (release) {
1023
- case "premajor":
1024
- this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", identifier, identifierBase);
1025
- break;
1026
- case "preminor":
1027
- this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", identifier, identifierBase);
1028
- break;
1029
- case "prepatch":
1030
- this.prerelease.length = 0, this.inc("patch", identifier, identifierBase), this.inc("pre", identifier, identifierBase);
1031
- break;
1032
- case "prerelease":
1033
- 0 === this.prerelease.length && this.inc("patch", identifier, identifierBase), this.inc("pre", identifier, identifierBase);
1034
- break;
1035
- case "major":
1036
- 0 === this.minor && 0 === this.patch && 0 !== this.prerelease.length || this.major++, this.minor = 0, this.patch = 0, this.prerelease = [];
1037
- break;
1038
- case "minor":
1039
- 0 === this.patch && 0 !== this.prerelease.length || this.minor++, this.patch = 0, this.prerelease = [];
1040
- break;
1041
- case "patch":
1042
- 0 === this.prerelease.length && this.patch++, this.prerelease = [];
1043
- break;
1044
- case "pre": {
1045
- const base = Number(identifierBase) ? 1 : 0;
1046
- if (!identifier && false === identifierBase) throw new Error("invalid increment argument: identifier is empty");
1047
- if (0 === this.prerelease.length) this.prerelease = [base];
1048
- else {
1049
- let i4 = this.prerelease.length;
1050
- for (; --i4 >= 0; ) "number" == typeof this.prerelease[i4] && (this.prerelease[i4]++, i4 = -2);
1051
- if (-1 === i4) {
1052
- if (identifier === this.prerelease.join(".") && false === identifierBase) throw new Error("invalid increment argument: identifier already exists");
1053
- this.prerelease.push(base);
1054
- }
1055
- }
1056
- if (identifier) {
1057
- let prerelease = [identifier, base];
1058
- false === identifierBase && (prerelease = [identifier]), 0 === compareIdentifiers(this.prerelease[0], identifier) ? isNaN(this.prerelease[1]) && (this.prerelease = prerelease) : this.prerelease = prerelease;
1059
- }
1060
- break;
1061
- }
1062
- default:
1063
- throw new Error(`invalid increment argument: ${release}`);
1064
- }
1065
- return this.raw = this.format(), this.build.length && (this.raw += `+${this.build.join(".")}`), this;
1066
- }
1067
- }
1068
- module2.exports = SemVer;
1069
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1070
- const parse7 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js");
1071
- module2.exports = (version2, options8) => {
1072
- const s3 = parse7(version2.trim().replace(/^[=v]+/, ""), options8);
1073
- return s3 ? s3.version : null;
1074
- };
1075
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1076
- const eq2 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js"), neq = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js"), gt8 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js"), gte = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js"), lt6 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js"), lte = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js");
1077
- module2.exports = (a3, op2, b11, loose) => {
1078
- switch (op2) {
1079
- case "===":
1080
- return "object" == typeof a3 && (a3 = a3.version), "object" == typeof b11 && (b11 = b11.version), a3 === b11;
1081
- case "!==":
1082
- return "object" == typeof a3 && (a3 = a3.version), "object" == typeof b11 && (b11 = b11.version), a3 !== b11;
1083
- case "":
1084
- case "=":
1085
- case "==":
1086
- return eq2(a3, b11, loose);
1087
- case "!=":
1088
- return neq(a3, b11, loose);
1089
- case ">":
1090
- return gt8(a3, b11, loose);
1091
- case ">=":
1092
- return gte(a3, b11, loose);
1093
- case "<":
1094
- return lt6(a3, b11, loose);
1095
- case "<=":
1096
- return lte(a3, b11, loose);
1097
- default:
1098
- throw new TypeError(`Invalid operator: ${op2}`);
1099
- }
1100
- };
1101
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/coerce.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1102
- const SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"), parse7 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js"), { safeRe: re12, t: t14 } = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js");
1103
- module2.exports = (version2, options8) => {
1104
- if (version2 instanceof SemVer) return version2;
1105
- if ("number" == typeof version2 && (version2 = String(version2)), "string" != typeof version2) return null;
1106
- let match = null;
1107
- if ((options8 = options8 || {}).rtl) {
1108
- const coerceRtlRegex = options8.includePrerelease ? re12[t14.COERCERTLFULL] : re12[t14.COERCERTL];
1109
- let next;
1110
- for (; (next = coerceRtlRegex.exec(version2)) && (!match || match.index + match[0].length !== version2.length); ) match && next.index + next[0].length === match.index + match[0].length || (match = next), coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
1111
- coerceRtlRegex.lastIndex = -1;
1112
- } else match = version2.match(options8.includePrerelease ? re12[t14.COERCEFULL] : re12[t14.COERCE]);
1113
- if (null === match) return null;
1114
- const major = match[2], minor = match[3] || "0", patch = match[4] || "0", prerelease = options8.includePrerelease && match[5] ? `-${match[5]}` : "", build = options8.includePrerelease && match[6] ? `+${match[6]}` : "";
1115
- return parse7(`${major}.${minor}.${patch}${prerelease}${build}`, options8);
1116
- };
1117
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1118
- const SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");
1119
- module2.exports = (a3, b11, loose) => {
1120
- const versionA = new SemVer(a3, loose), versionB = new SemVer(b11, loose);
1121
- return versionA.compare(versionB) || versionA.compareBuild(versionB);
1122
- };
1123
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-loose.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1124
- const compare = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");
1125
- module2.exports = (a3, b11) => compare(a3, b11, true);
1126
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1127
- const SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");
1128
- module2.exports = (a3, b11, loose) => new SemVer(a3, loose).compare(new SemVer(b11, loose));
1129
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/diff.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1130
- const parse7 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js");
1131
- module2.exports = (version1, version2) => {
1132
- const v12 = parse7(version1, null, true), v23 = parse7(version2, null, true), comparison = v12.compare(v23);
1133
- if (0 === comparison) return null;
1134
- const v1Higher = comparison > 0, highVersion = v1Higher ? v12 : v23, lowVersion = v1Higher ? v23 : v12, highHasPre = !!highVersion.prerelease.length;
1135
- if (!!lowVersion.prerelease.length && !highHasPre) return lowVersion.patch || lowVersion.minor ? highVersion.patch ? "patch" : highVersion.minor ? "minor" : "major" : "major";
1136
- const prefix = highHasPre ? "pre" : "";
1137
- return v12.major !== v23.major ? prefix + "major" : v12.minor !== v23.minor ? prefix + "minor" : v12.patch !== v23.patch ? prefix + "patch" : "prerelease";
1138
- };
1139
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1140
- const compare = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");
1141
- module2.exports = (a3, b11, loose) => 0 === compare(a3, b11, loose);
1142
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1143
- const compare = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");
1144
- module2.exports = (a3, b11, loose) => compare(a3, b11, loose) > 0;
1145
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1146
- const compare = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");
1147
- module2.exports = (a3, b11, loose) => compare(a3, b11, loose) >= 0;
1148
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/inc.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1149
- const SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");
1150
- module2.exports = (version2, release, options8, identifier, identifierBase) => {
1151
- "string" == typeof options8 && (identifierBase = identifier, identifier = options8, options8 = void 0);
1152
- try {
1153
- return new SemVer(version2 instanceof SemVer ? version2.version : version2, options8).inc(release, identifier, identifierBase).version;
1154
- } catch (er8) {
1155
- return null;
1156
- }
1157
- };
1158
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1159
- const compare = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");
1160
- module2.exports = (a3, b11, loose) => compare(a3, b11, loose) < 0;
1161
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1162
- const compare = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");
1163
- module2.exports = (a3, b11, loose) => compare(a3, b11, loose) <= 0;
1164
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/major.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1165
- const SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");
1166
- module2.exports = (a3, loose) => new SemVer(a3, loose).major;
1167
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/minor.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1168
- const SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");
1169
- module2.exports = (a3, loose) => new SemVer(a3, loose).minor;
1170
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1171
- const compare = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");
1172
- module2.exports = (a3, b11, loose) => 0 !== compare(a3, b11, loose);
1173
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1174
- const SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");
1175
- module2.exports = (version2, options8, throwErrors = false) => {
1176
- if (version2 instanceof SemVer) return version2;
1177
- try {
1178
- return new SemVer(version2, options8);
1179
- } catch (er8) {
1180
- if (!throwErrors) return null;
1181
- throw er8;
1182
- }
1183
- };
1184
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/patch.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1185
- const SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");
1186
- module2.exports = (a3, loose) => new SemVer(a3, loose).patch;
1187
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/prerelease.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1188
- const parse7 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js");
1189
- module2.exports = (version2, options8) => {
1190
- const parsed = parse7(version2, options8);
1191
- return parsed && parsed.prerelease.length ? parsed.prerelease : null;
1192
- };
1193
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rcompare.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1194
- const compare = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");
1195
- module2.exports = (a3, b11, loose) => compare(b11, a3, loose);
1196
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rsort.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1197
- const compareBuild = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js");
1198
- module2.exports = (list, loose) => list.sort((a3, b11) => compareBuild(b11, a3, loose));
1199
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1200
- const Range = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");
1201
- module2.exports = (version2, range2, options8) => {
1202
- try {
1203
- range2 = new Range(range2, options8);
1204
- } catch (er8) {
1205
- return false;
1206
- }
1207
- return range2.test(version2);
1208
- };
1209
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/sort.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1210
- const compareBuild = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js");
1211
- module2.exports = (list, loose) => list.sort((a3, b11) => compareBuild(a3, b11, loose));
1212
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1213
- const parse7 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js");
1214
- module2.exports = (version2, options8) => {
1215
- const v10 = parse7(version2, options8);
1216
- return v10 ? v10.version : null;
1217
- };
1218
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/index.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1219
- const internalRe = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"), constants3 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"), SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"), identifiers = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js"), parse7 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js"), valid = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js"), clean = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js"), inc = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/inc.js"), diff2 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/diff.js"), major = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/major.js"), minor = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/minor.js"), patch = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/patch.js"), prerelease = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/prerelease.js"), compare = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js"), rcompare = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rcompare.js"), compareLoose = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-loose.js"), compareBuild = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js"), sort = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/sort.js"), rsort = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rsort.js"), gt8 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js"), lt6 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js"), eq2 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js"), neq = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js"), gte = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js"), lte = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js"), cmp = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js"), coerce2 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/coerce.js"), Comparator = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"), Range = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"), satisfies = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"), toComparators = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/to-comparators.js"), maxSatisfying = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/max-satisfying.js"), minSatisfying = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-satisfying.js"), minVersion = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-version.js"), validRange = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/valid.js"), outside = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js"), gtr = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/gtr.js"), ltr = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/ltr.js"), intersects = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/intersects.js"), simplifyRange = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/simplify.js"), subset = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/subset.js");
1220
- module2.exports = { parse: parse7, valid, clean, inc, diff: diff2, major, minor, patch, prerelease, compare, rcompare, compareLoose, compareBuild, sort, rsort, gt: gt8, lt: lt6, eq: eq2, neq, gte, lte, cmp, coerce: coerce2, Comparator, Range, satisfies, toComparators, maxSatisfying, minSatisfying, minVersion, validRange, outside, gtr, ltr, intersects, simplifyRange, subset, SemVer, re: internalRe.re, src: internalRe.src, tokens: internalRe.t, SEMVER_SPEC_VERSION: constants3.SEMVER_SPEC_VERSION, RELEASE_TYPES: constants3.RELEASE_TYPES, compareIdentifiers: identifiers.compareIdentifiers, rcompareIdentifiers: identifiers.rcompareIdentifiers };
1221
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js": (module2) => {
1222
- const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
1223
- module2.exports = { MAX_LENGTH: 256, MAX_SAFE_COMPONENT_LENGTH: 16, MAX_SAFE_BUILD_LENGTH: 250, MAX_SAFE_INTEGER, RELEASE_TYPES: ["major", "premajor", "minor", "preminor", "patch", "prepatch", "prerelease"], SEMVER_SPEC_VERSION: "2.0.0", FLAG_INCLUDE_PRERELEASE: 1, FLAG_LOOSE: 2 };
1224
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js": (module2) => {
1225
- const debug2 = "object" == typeof process && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
1226
- };
1227
- module2.exports = debug2;
1228
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js": (module2) => {
1229
- const numeric = /^[0-9]+$/, compareIdentifiers = (a3, b11) => {
1230
- const anum = numeric.test(a3), bnum = numeric.test(b11);
1231
- return anum && bnum && (a3 = +a3, b11 = +b11), a3 === b11 ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a3 < b11 ? -1 : 1;
1232
- };
1233
- module2.exports = { compareIdentifiers, rcompareIdentifiers: (a3, b11) => compareIdentifiers(b11, a3) };
1234
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/lrucache.js": (module2) => {
1235
- module2.exports = class {
1236
- constructor() {
1237
- this.max = 1e3, this.map = /* @__PURE__ */ new Map();
1238
- }
1239
- get(key2) {
1240
- const value2 = this.map.get(key2);
1241
- return void 0 === value2 ? void 0 : (this.map.delete(key2), this.map.set(key2, value2), value2);
1242
- }
1243
- delete(key2) {
1244
- return this.map.delete(key2);
1245
- }
1246
- set(key2, value2) {
1247
- if (!this.delete(key2) && void 0 !== value2) {
1248
- if (this.map.size >= this.max) {
1249
- const firstKey = this.map.keys().next().value;
1250
- this.delete(firstKey);
1251
- }
1252
- this.map.set(key2, value2);
1253
- }
1254
- return this;
1255
- }
1256
- };
1257
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js": (module2) => {
1258
- const looseOption = Object.freeze({ loose: true }), emptyOpts = Object.freeze({});
1259
- module2.exports = (options8) => options8 ? "object" != typeof options8 ? looseOption : options8 : emptyOpts;
1260
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js": (module2, exports2, __webpack_require__2) => {
1261
- const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"), debug2 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"), re12 = (exports2 = module2.exports = {}).re = [], safeRe = exports2.safeRe = [], src = exports2.src = [], t14 = exports2.t = {};
1262
- let R12 = 0;
1263
- const safeRegexReplacements = [["\\s", 1], ["\\d", MAX_LENGTH], ["[a-zA-Z0-9-]", MAX_SAFE_BUILD_LENGTH]], createToken = (name, value2, isGlobal) => {
1264
- const safe = ((value3) => {
1265
- for (const [token2, max2] of safeRegexReplacements) value3 = value3.split(`${token2}*`).join(`${token2}{0,${max2}}`).split(`${token2}+`).join(`${token2}{1,${max2}}`);
1266
- return value3;
1267
- })(value2), index = R12++;
1268
- debug2(name, index, value2), t14[name] = index, src[index] = value2, re12[index] = new RegExp(value2, isGlobal ? "g" : void 0), safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
1269
- };
1270
- createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*"), createToken("NUMERICIDENTIFIERLOOSE", "\\d+"), createToken("NONNUMERICIDENTIFIER", "\\d*[a-zA-Z-][a-zA-Z0-9-]*"), createToken("MAINVERSION", `(${src[t14.NUMERICIDENTIFIER]})\\.(${src[t14.NUMERICIDENTIFIER]})\\.(${src[t14.NUMERICIDENTIFIER]})`), createToken("MAINVERSIONLOOSE", `(${src[t14.NUMERICIDENTIFIERLOOSE]})\\.(${src[t14.NUMERICIDENTIFIERLOOSE]})\\.(${src[t14.NUMERICIDENTIFIERLOOSE]})`), createToken("PRERELEASEIDENTIFIER", `(?:${src[t14.NUMERICIDENTIFIER]}|${src[t14.NONNUMERICIDENTIFIER]})`), createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t14.NUMERICIDENTIFIERLOOSE]}|${src[t14.NONNUMERICIDENTIFIER]})`), createToken("PRERELEASE", `(?:-(${src[t14.PRERELEASEIDENTIFIER]}(?:\\.${src[t14.PRERELEASEIDENTIFIER]})*))`), createToken("PRERELEASELOOSE", `(?:-?(${src[t14.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t14.PRERELEASEIDENTIFIERLOOSE]})*))`), createToken("BUILDIDENTIFIER", "[a-zA-Z0-9-]+"), createToken("BUILD", `(?:\\+(${src[t14.BUILDIDENTIFIER]}(?:\\.${src[t14.BUILDIDENTIFIER]})*))`), createToken("FULLPLAIN", `v?${src[t14.MAINVERSION]}${src[t14.PRERELEASE]}?${src[t14.BUILD]}?`), createToken("FULL", `^${src[t14.FULLPLAIN]}$`), createToken("LOOSEPLAIN", `[v=\\s]*${src[t14.MAINVERSIONLOOSE]}${src[t14.PRERELEASELOOSE]}?${src[t14.BUILD]}?`), createToken("LOOSE", `^${src[t14.LOOSEPLAIN]}$`), createToken("GTLT", "((?:<|>)?=?)"), createToken("XRANGEIDENTIFIERLOOSE", `${src[t14.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), createToken("XRANGEIDENTIFIER", `${src[t14.NUMERICIDENTIFIER]}|x|X|\\*`), createToken("XRANGEPLAIN", `[v=\\s]*(${src[t14.XRANGEIDENTIFIER]})(?:\\.(${src[t14.XRANGEIDENTIFIER]})(?:\\.(${src[t14.XRANGEIDENTIFIER]})(?:${src[t14.PRERELEASE]})?${src[t14.BUILD]}?)?)?`), createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t14.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t14.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t14.XRANGEIDENTIFIERLOOSE]})(?:${src[t14.PRERELEASELOOSE]})?${src[t14.BUILD]}?)?)?`), createToken("XRANGE", `^${src[t14.GTLT]}\\s*${src[t14.XRANGEPLAIN]}$`), createToken("XRANGELOOSE", `^${src[t14.GTLT]}\\s*${src[t14.XRANGEPLAINLOOSE]}$`), createToken("COERCEPLAIN", `(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`), createToken("COERCE", `${src[t14.COERCEPLAIN]}(?:$|[^\\d])`), createToken("COERCEFULL", src[t14.COERCEPLAIN] + `(?:${src[t14.PRERELEASE]})?(?:${src[t14.BUILD]})?(?:$|[^\\d])`), createToken("COERCERTL", src[t14.COERCE], true), createToken("COERCERTLFULL", src[t14.COERCEFULL], true), createToken("LONETILDE", "(?:~>?)"), createToken("TILDETRIM", `(\\s*)${src[t14.LONETILDE]}\\s+`, true), exports2.tildeTrimReplace = "$1~", createToken("TILDE", `^${src[t14.LONETILDE]}${src[t14.XRANGEPLAIN]}$`), createToken("TILDELOOSE", `^${src[t14.LONETILDE]}${src[t14.XRANGEPLAINLOOSE]}$`), createToken("LONECARET", "(?:\\^)"), createToken("CARETTRIM", `(\\s*)${src[t14.LONECARET]}\\s+`, true), exports2.caretTrimReplace = "$1^", createToken("CARET", `^${src[t14.LONECARET]}${src[t14.XRANGEPLAIN]}$`), createToken("CARETLOOSE", `^${src[t14.LONECARET]}${src[t14.XRANGEPLAINLOOSE]}$`), createToken("COMPARATORLOOSE", `^${src[t14.GTLT]}\\s*(${src[t14.LOOSEPLAIN]})$|^$`), createToken("COMPARATOR", `^${src[t14.GTLT]}\\s*(${src[t14.FULLPLAIN]})$|^$`), createToken("COMPARATORTRIM", `(\\s*)${src[t14.GTLT]}\\s*(${src[t14.LOOSEPLAIN]}|${src[t14.XRANGEPLAIN]})`, true), exports2.comparatorTrimReplace = "$1$2$3", createToken("HYPHENRANGE", `^\\s*(${src[t14.XRANGEPLAIN]})\\s+-\\s+(${src[t14.XRANGEPLAIN]})\\s*$`), createToken("HYPHENRANGELOOSE", `^\\s*(${src[t14.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t14.XRANGEPLAINLOOSE]})\\s*$`), createToken("STAR", "(<|>)?=?\\s*\\*"), createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
1271
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/gtr.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1272
- const outside = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js");
1273
- module2.exports = (version2, range2, options8) => outside(version2, range2, ">", options8);
1274
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/intersects.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1275
- const Range = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");
1276
- module2.exports = (r12, r23, options8) => (r12 = new Range(r12, options8), r23 = new Range(r23, options8), r12.intersects(r23, options8));
1277
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/ltr.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1278
- const outside = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js");
1279
- module2.exports = (version2, range2, options8) => outside(version2, range2, "<", options8);
1280
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/max-satisfying.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1281
- const SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"), Range = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");
1282
- module2.exports = (versions, range2, options8) => {
1283
- let max2 = null, maxSV = null, rangeObj = null;
1284
- try {
1285
- rangeObj = new Range(range2, options8);
1286
- } catch (er8) {
1287
- return null;
1288
- }
1289
- return versions.forEach((v10) => {
1290
- rangeObj.test(v10) && (max2 && -1 !== maxSV.compare(v10) || (max2 = v10, maxSV = new SemVer(max2, options8)));
1291
- }), max2;
1292
- };
1293
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-satisfying.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1294
- const SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"), Range = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");
1295
- module2.exports = (versions, range2, options8) => {
1296
- let min2 = null, minSV = null, rangeObj = null;
1297
- try {
1298
- rangeObj = new Range(range2, options8);
1299
- } catch (er8) {
1300
- return null;
1301
- }
1302
- return versions.forEach((v10) => {
1303
- rangeObj.test(v10) && (min2 && 1 !== minSV.compare(v10) || (min2 = v10, minSV = new SemVer(min2, options8)));
1304
- }), min2;
1305
- };
1306
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-version.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1307
- const SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"), Range = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"), gt8 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js");
1308
- module2.exports = (range2, loose) => {
1309
- range2 = new Range(range2, loose);
1310
- let minver = new SemVer("0.0.0");
1311
- if (range2.test(minver)) return minver;
1312
- if (minver = new SemVer("0.0.0-0"), range2.test(minver)) return minver;
1313
- minver = null;
1314
- for (let i4 = 0; i4 < range2.set.length; ++i4) {
1315
- const comparators = range2.set[i4];
1316
- let setMin = null;
1317
- comparators.forEach((comparator) => {
1318
- const compver = new SemVer(comparator.semver.version);
1319
- switch (comparator.operator) {
1320
- case ">":
1321
- 0 === compver.prerelease.length ? compver.patch++ : compver.prerelease.push(0), compver.raw = compver.format();
1322
- case "":
1323
- case ">=":
1324
- setMin && !gt8(compver, setMin) || (setMin = compver);
1325
- break;
1326
- case "<":
1327
- case "<=":
1328
- break;
1329
- default:
1330
- throw new Error(`Unexpected operation: ${comparator.operator}`);
1331
- }
1332
- }), !setMin || minver && !gt8(minver, setMin) || (minver = setMin);
1333
- }
1334
- return minver && range2.test(minver) ? minver : null;
1335
- };
1336
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1337
- const SemVer = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"), Comparator = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"), { ANY } = Comparator, Range = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"), satisfies = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"), gt8 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js"), lt6 = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js"), lte = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js"), gte = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js");
1338
- module2.exports = (version2, range2, hilo, options8) => {
1339
- let gtfn, ltefn, ltfn, comp, ecomp;
1340
- switch (version2 = new SemVer(version2, options8), range2 = new Range(range2, options8), hilo) {
1341
- case ">":
1342
- gtfn = gt8, ltefn = lte, ltfn = lt6, comp = ">", ecomp = ">=";
1343
- break;
1344
- case "<":
1345
- gtfn = lt6, ltefn = gte, ltfn = gt8, comp = "<", ecomp = "<=";
1346
- break;
1347
- default:
1348
- throw new TypeError('Must provide a hilo val of "<" or ">"');
1349
- }
1350
- if (satisfies(version2, range2, options8)) return false;
1351
- for (let i4 = 0; i4 < range2.set.length; ++i4) {
1352
- const comparators = range2.set[i4];
1353
- let high = null, low = null;
1354
- if (comparators.forEach((comparator) => {
1355
- comparator.semver === ANY && (comparator = new Comparator(">=0.0.0")), high = high || comparator, low = low || comparator, gtfn(comparator.semver, high.semver, options8) ? high = comparator : ltfn(comparator.semver, low.semver, options8) && (low = comparator);
1356
- }), high.operator === comp || high.operator === ecomp) return false;
1357
- if ((!low.operator || low.operator === comp) && ltefn(version2, low.semver)) return false;
1358
- if (low.operator === ecomp && ltfn(version2, low.semver)) return false;
1359
- }
1360
- return true;
1361
- };
1362
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/simplify.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1363
- const satisfies = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"), compare = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");
1364
- module2.exports = (versions, range2, options8) => {
1365
- const set3 = [];
1366
- let first2 = null, prev = null;
1367
- const v10 = versions.sort((a3, b11) => compare(a3, b11, options8));
1368
- for (const version2 of v10) {
1369
- satisfies(version2, range2, options8) ? (prev = version2, first2 || (first2 = version2)) : (prev && set3.push([first2, prev]), prev = null, first2 = null);
1370
- }
1371
- first2 && set3.push([first2, null]);
1372
- const ranges = [];
1373
- for (const [min2, max2] of set3) min2 === max2 ? ranges.push(min2) : max2 || min2 !== v10[0] ? max2 ? min2 === v10[0] ? ranges.push(`<=${max2}`) : ranges.push(`${min2} - ${max2}`) : ranges.push(`>=${min2}`) : ranges.push("*");
1374
- const simplified = ranges.join(" || "), original = "string" == typeof range2.raw ? range2.raw : String(range2);
1375
- return simplified.length < original.length ? simplified : range2;
1376
- };
1377
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/subset.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1378
- const Range = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"), Comparator = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"), { ANY } = Comparator, satisfies = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"), compare = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js"), minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")], minimumVersion = [new Comparator(">=0.0.0")], simpleSubset = (sub, dom, options8) => {
1379
- if (sub === dom) return true;
1380
- if (1 === sub.length && sub[0].semver === ANY) {
1381
- if (1 === dom.length && dom[0].semver === ANY) return true;
1382
- sub = options8.includePrerelease ? minimumVersionWithPreRelease : minimumVersion;
1383
- }
1384
- if (1 === dom.length && dom[0].semver === ANY) {
1385
- if (options8.includePrerelease) return true;
1386
- dom = minimumVersion;
1387
- }
1388
- const eqSet = /* @__PURE__ */ new Set();
1389
- let gt8, lt6, gtltComp, higher, lower, hasDomLT, hasDomGT;
1390
- for (const c5 of sub) ">" === c5.operator || ">=" === c5.operator ? gt8 = higherGT(gt8, c5, options8) : "<" === c5.operator || "<=" === c5.operator ? lt6 = lowerLT(lt6, c5, options8) : eqSet.add(c5.semver);
1391
- if (eqSet.size > 1) return null;
1392
- if (gt8 && lt6) {
1393
- if (gtltComp = compare(gt8.semver, lt6.semver, options8), gtltComp > 0) return null;
1394
- if (0 === gtltComp && (">=" !== gt8.operator || "<=" !== lt6.operator)) return null;
1395
- }
1396
- for (const eq2 of eqSet) {
1397
- if (gt8 && !satisfies(eq2, String(gt8), options8)) return null;
1398
- if (lt6 && !satisfies(eq2, String(lt6), options8)) return null;
1399
- for (const c5 of dom) if (!satisfies(eq2, String(c5), options8)) return false;
1400
- return true;
1401
- }
1402
- let needDomLTPre = !(!lt6 || options8.includePrerelease || !lt6.semver.prerelease.length) && lt6.semver, needDomGTPre = !(!gt8 || options8.includePrerelease || !gt8.semver.prerelease.length) && gt8.semver;
1403
- needDomLTPre && 1 === needDomLTPre.prerelease.length && "<" === lt6.operator && 0 === needDomLTPre.prerelease[0] && (needDomLTPre = false);
1404
- for (const c5 of dom) {
1405
- if (hasDomGT = hasDomGT || ">" === c5.operator || ">=" === c5.operator, hasDomLT = hasDomLT || "<" === c5.operator || "<=" === c5.operator, gt8) {
1406
- if (needDomGTPre && c5.semver.prerelease && c5.semver.prerelease.length && c5.semver.major === needDomGTPre.major && c5.semver.minor === needDomGTPre.minor && c5.semver.patch === needDomGTPre.patch && (needDomGTPre = false), ">" === c5.operator || ">=" === c5.operator) {
1407
- if (higher = higherGT(gt8, c5, options8), higher === c5 && higher !== gt8) return false;
1408
- } else if (">=" === gt8.operator && !satisfies(gt8.semver, String(c5), options8)) return false;
1409
- }
1410
- if (lt6) {
1411
- if (needDomLTPre && c5.semver.prerelease && c5.semver.prerelease.length && c5.semver.major === needDomLTPre.major && c5.semver.minor === needDomLTPre.minor && c5.semver.patch === needDomLTPre.patch && (needDomLTPre = false), "<" === c5.operator || "<=" === c5.operator) {
1412
- if (lower = lowerLT(lt6, c5, options8), lower === c5 && lower !== lt6) return false;
1413
- } else if ("<=" === lt6.operator && !satisfies(lt6.semver, String(c5), options8)) return false;
1414
- }
1415
- if (!c5.operator && (lt6 || gt8) && 0 !== gtltComp) return false;
1416
- }
1417
- return !(gt8 && hasDomLT && !lt6 && 0 !== gtltComp) && (!(lt6 && hasDomGT && !gt8 && 0 !== gtltComp) && (!needDomGTPre && !needDomLTPre));
1418
- }, higherGT = (a3, b11, options8) => {
1419
- if (!a3) return b11;
1420
- const comp = compare(a3.semver, b11.semver, options8);
1421
- return comp > 0 ? a3 : comp < 0 || ">" === b11.operator && ">=" === a3.operator ? b11 : a3;
1422
- }, lowerLT = (a3, b11, options8) => {
1423
- if (!a3) return b11;
1424
- const comp = compare(a3.semver, b11.semver, options8);
1425
- return comp < 0 ? a3 : comp > 0 || "<" === b11.operator && "<=" === a3.operator ? b11 : a3;
1426
- };
1427
- module2.exports = (sub, dom, options8 = {}) => {
1428
- if (sub === dom) return true;
1429
- sub = new Range(sub, options8), dom = new Range(dom, options8);
1430
- let sawNonNull = false;
1431
- OUTER: for (const simpleSub of sub.set) {
1432
- for (const simpleDom of dom.set) {
1433
- const isSub = simpleSubset(simpleSub, simpleDom, options8);
1434
- if (sawNonNull = sawNonNull || null !== isSub, isSub) continue OUTER;
1435
- }
1436
- if (sawNonNull) return false;
1437
- }
1438
- return true;
1439
- };
1440
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/to-comparators.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1441
- const Range = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");
1442
- module2.exports = (range2, options8) => new Range(range2, options8).set.map((comp) => comp.map((c5) => c5.value).join(" ").trim().split(" "));
1443
- }, "./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/valid.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
1444
- const Range = __webpack_require__2("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");
1445
- module2.exports = (range2, options8) => {
1446
- try {
1447
- return new Range(range2, options8).range || "*";
1448
- } catch (er8) {
1449
- return null;
1450
- }
1451
- };
1452
- }, crypto: (module2) => {
1453
- "use strict";
1454
- module2.exports = __require("crypto");
1455
- }, fs: (module2) => {
1456
- "use strict";
1457
- module2.exports = __require("fs");
1458
- }, module: (module2) => {
1459
- "use strict";
1460
- module2.exports = __require("module");
1461
- }, path: (module2) => {
1462
- "use strict";
1463
- module2.exports = __require("path");
1464
246
  } }, __webpack_module_cache__ = {};
1465
247
  function __webpack_require__(moduleId) {
1466
248
  var cachedModule = __webpack_module_cache__[moduleId];
1467
249
  if (void 0 !== cachedModule) return cachedModule.exports;
1468
- var module2 = __webpack_module_cache__[moduleId] = { id: moduleId, loaded: false, exports: {} };
1469
- return __webpack_modules__[moduleId](module2, module2.exports, __webpack_require__), module2.loaded = true, module2.exports;
250
+ var module2 = __webpack_module_cache__[moduleId] = { exports: {} };
251
+ return __webpack_modules__[moduleId](module2, module2.exports, __webpack_require__), module2.exports;
1470
252
  }
1471
253
  __webpack_require__.n = (module2) => {
1472
254
  var getter = module2 && module2.__esModule ? () => module2.default : () => module2;
1473
255
  return __webpack_require__.d(getter, { a: getter }), getter;
1474
256
  }, __webpack_require__.d = (exports2, definition) => {
1475
257
  for (var key2 in definition) __webpack_require__.o(definition, key2) && !__webpack_require__.o(exports2, key2) && Object.defineProperty(exports2, key2, { enumerable: true, get: definition[key2] });
1476
- }, __webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop), __webpack_require__.nmd = (module2) => (module2.paths = [], module2.children || (module2.children = []), module2);
258
+ }, __webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);
1477
259
  var __webpack_exports__ = {};
1478
260
  (() => {
1479
261
  "use strict";
1480
- __webpack_require__.d(__webpack_exports__, { default: () => createJITI });
1481
- var external_fs_ = __webpack_require__("fs"), external_module_ = __webpack_require__("module");
1482
- const external_perf_hooks_namespaceObject = __require("perf_hooks"), external_os_namespaceObject = __require("os"), external_vm_namespaceObject = __require("vm");
1483
- var external_vm_default = __webpack_require__.n(external_vm_namespaceObject);
1484
- const external_url_namespaceObject = __require("url"), _DRIVE_LETTER_START_RE2 = /^[A-Za-z]:\//;
262
+ __webpack_require__.d(__webpack_exports__, { default: () => createJiti2 });
263
+ const external_node_os_namespaceObject = __require("node:os"), external_node_url_namespaceObject = __require("node:url"), _DRIVE_LETTER_START_RE2 = /^[A-Za-z]:\//;
1485
264
  function normalizeWindowsPath2(input = "") {
1486
265
  return input ? input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE2, (r5) => r5.toUpperCase()) : input;
1487
266
  }
@@ -1495,6 +274,14 @@ var require_jiti = __commonJS({
1495
274
  for (const argument of arguments_) argument && argument.length > 0 && (void 0 === joined ? joined = argument : joined += `/${argument}`);
1496
275
  return void 0 === joined ? "." : pathe_ff20891b_normalize(joined.replace(/\/\/+/g, "/"));
1497
276
  };
277
+ const resolve4 = function(...arguments_) {
278
+ let resolvedPath = "", resolvedAbsolute = false;
279
+ for (let index = (arguments_ = arguments_.map((argument) => normalizeWindowsPath2(argument))).length - 1; index >= -1 && !resolvedAbsolute; index--) {
280
+ const path13 = index >= 0 ? arguments_[index] : "undefined" != typeof process && "function" == typeof process.cwd ? process.cwd().replace(/\\/g, "/") : "/";
281
+ path13 && 0 !== path13.length && (resolvedPath = `${path13}/${resolvedPath}`, resolvedAbsolute = isAbsolute3(path13));
282
+ }
283
+ return resolvedPath = normalizeString2(resolvedPath, !resolvedAbsolute), resolvedAbsolute && !isAbsolute3(resolvedPath) ? `/${resolvedPath}` : resolvedPath.length > 0 ? resolvedPath : ".";
284
+ };
1498
285
  function normalizeString2(path13, allowAboveRoot) {
1499
286
  let res = "", lastSegmentLength = 0, lastSlash = -1, dots = 0, char = null;
1500
287
  for (let index = 0; index <= path13.length; ++index) {
@@ -1524,72 +311,38 @@ var require_jiti = __commonJS({
1524
311
  }
1525
312
  return res;
1526
313
  }
1527
- const isAbsolute3 = function(p4) {
1528
- return _IS_ABSOLUTE_RE2.test(p4);
1529
- }, _EXTNAME_RE2 = /.(\.[^./]+)$/, extname5 = function(p4) {
1530
- const match = _EXTNAME_RE2.exec(normalizeWindowsPath2(p4));
314
+ const isAbsolute3 = function(p5) {
315
+ return _IS_ABSOLUTE_RE2.test(p5);
316
+ }, _EXTNAME_RE2 = /.(\.[^./]+)$/, extname5 = function(p5) {
317
+ const match = _EXTNAME_RE2.exec(normalizeWindowsPath2(p5));
1531
318
  return match && match[1] || "";
1532
- }, pathe_ff20891b_dirname = function(p4) {
1533
- const segments = normalizeWindowsPath2(p4).replace(/\/$/, "").split("/").slice(0, -1);
1534
- return 1 === segments.length && _DRIVE_LETTER_RE2.test(segments[0]) && (segments[0] += "/"), segments.join("/") || (isAbsolute3(p4) ? "/" : ".");
1535
- }, basename2 = function(p4, extension) {
1536
- const lastSegment = normalizeWindowsPath2(p4).split("/").pop();
319
+ }, pathe_ff20891b_dirname = function(p5) {
320
+ const segments = normalizeWindowsPath2(p5).replace(/\/$/, "").split("/").slice(0, -1);
321
+ return 1 === segments.length && _DRIVE_LETTER_RE2.test(segments[0]) && (segments[0] += "/"), segments.join("/") || (isAbsolute3(p5) ? "/" : ".");
322
+ }, basename2 = function(p5, extension) {
323
+ const lastSegment = normalizeWindowsPath2(p5).split("/").pop();
1537
324
  return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
1538
- }, suspectProtoRx2 = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/, suspectConstructorRx2 = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/, JsonSigRx2 = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
1539
- function jsonParseTransform2(key2, value2) {
1540
- if (!("__proto__" === key2 || "constructor" === key2 && value2 && "object" == typeof value2 && "prototype" in value2)) return value2;
1541
- !function(key3) {
1542
- console.warn(`[destr] Dropping "${key3}" key to prevent prototype pollution.`);
1543
- }(key2);
1544
- }
1545
- function destr2(value2, options8 = {}) {
1546
- if ("string" != typeof value2) return value2;
1547
- const _value = value2.trim();
1548
- if ('"' === value2[0] && value2.endsWith('"') && !value2.includes("\\")) return _value.slice(1, -1);
1549
- if (_value.length <= 9) {
1550
- const _lval = _value.toLowerCase();
1551
- if ("true" === _lval) return true;
1552
- if ("false" === _lval) return false;
1553
- if ("undefined" === _lval) return;
1554
- if ("null" === _lval) return null;
1555
- if ("nan" === _lval) return Number.NaN;
1556
- if ("infinity" === _lval) return Number.POSITIVE_INFINITY;
1557
- if ("-infinity" === _lval) return Number.NEGATIVE_INFINITY;
1558
- }
1559
- if (!JsonSigRx2.test(value2)) {
1560
- if (options8.strict) throw new SyntaxError("[destr] Invalid JSON");
1561
- return value2;
1562
- }
1563
- try {
1564
- if (suspectProtoRx2.test(value2) || suspectConstructorRx2.test(value2)) {
1565
- if (options8.strict) throw new Error("[destr] Possible prototype pollution");
1566
- return JSON.parse(value2, jsonParseTransform2);
1567
- }
1568
- return JSON.parse(value2);
1569
- } catch (error) {
1570
- if (options8.strict) throw error;
1571
- return value2;
1572
- }
1573
- }
325
+ };
1574
326
  function escapeStringRegexp2(string) {
1575
327
  if ("string" != typeof string) throw new TypeError("Expected a string");
1576
328
  return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
1577
329
  }
1578
- var create_require = __webpack_require__("./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js"), create_require_default = __webpack_require__.n(create_require), semver = __webpack_require__("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/index.js");
1579
330
  const pathSeparators = /* @__PURE__ */ new Set(["/", "\\", void 0]), normalizedAliasSymbol = Symbol.for("pathe:normalizedAlias");
1580
331
  function normalizeAliases(_aliases) {
1581
332
  if (_aliases[normalizedAliasSymbol]) return _aliases;
1582
- const aliases2 = Object.fromEntries(Object.entries(_aliases).sort(([a3], [b11]) => function(a4, b12) {
1583
- return b12.split("/").length - a4.split("/").length;
1584
- }(a3, b11)));
333
+ const aliases2 = Object.fromEntries(Object.entries(_aliases).sort(([a4], [b11]) => function(a5, b12) {
334
+ return b12.split("/").length - a5.split("/").length;
335
+ }(a4, b11)));
1585
336
  for (const key2 in aliases2) for (const alias in aliases2) alias === key2 || key2.startsWith(alias) || aliases2[key2].startsWith(alias) && pathSeparators.has(aliases2[key2][alias.length]) && (aliases2[key2] = aliases2[alias] + aliases2[key2].slice(alias.length));
1586
337
  return Object.defineProperty(aliases2, normalizedAliasSymbol, { value: true, enumerable: false }), aliases2;
1587
338
  }
339
+ const FILENAME_RE = /(^|[/\\])([^/\\]+?)(?=(\.[^.]+)?$)/;
1588
340
  function hasTrailingSlash2(path13 = "/") {
1589
341
  const lastChar = path13[path13.length - 1];
1590
342
  return "/" === lastChar || "\\" === lastChar;
1591
343
  }
1592
- var lib = __webpack_require__("./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js"), object_hash = __webpack_require__("./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js"), object_hash_default = __webpack_require__.n(object_hash), astralIdentifierCodes2 = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], astralIdentifierStartCodes2 = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], nonASCIIidentifierStartChars2 = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC", reservedWords2 = { 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile", 5: "class enum extends super const export import", 6: "enum", strict: "implements interface let package private protected public static yield", strictBind: "eval arguments" }, ecma5AndLessKeywords2 = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", keywords$12 = { 5: ecma5AndLessKeywords2, "5module": ecma5AndLessKeywords2 + " export import", 6: ecma5AndLessKeywords2 + " const class extends export import super" }, keywordRelationalOperator2 = /^in(stanceof)?$/, nonASCIIidentifierStart2 = new RegExp("[" + nonASCIIidentifierStartChars2 + "]"), nonASCIIidentifier2 = new RegExp("[" + nonASCIIidentifierStartChars2 + "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");
344
+ const package_namespaceObject = JSON.parse('{"rE":"2.0.0-beta.3"}'), external_node_fs_namespaceObject = __require("node:fs"), external_node_crypto_namespaceObject = __require("node:crypto");
345
+ var astralIdentifierCodes2 = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], astralIdentifierStartCodes2 = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], nonASCIIidentifierStartChars2 = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC", reservedWords2 = { 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile", 5: "class enum extends super const export import", 6: "enum", strict: "implements interface let package private protected public static yield", strictBind: "eval arguments" }, ecma5AndLessKeywords2 = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", keywords$12 = { 5: ecma5AndLessKeywords2, "5module": ecma5AndLessKeywords2 + " export import", 6: ecma5AndLessKeywords2 + " const class extends export import super" }, keywordRelationalOperator2 = /^in(stanceof)?$/, nonASCIIidentifierStart2 = new RegExp("[" + nonASCIIidentifierStartChars2 + "]"), nonASCIIidentifier2 = new RegExp("[" + nonASCIIidentifierStartChars2 + "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");
1593
346
  function isInAstralSet2(code, set3) {
1594
347
  for (var pos2 = 65536, i5 = 0; i5 < set3.length; i5 += 2) {
1595
348
  if ((pos2 += set3[i5]) > code) return false;
@@ -1642,8 +395,8 @@ var require_jiti = __commonJS({
1642
395
  Position3.prototype.offset = function(n) {
1643
396
  return new Position3(this.line, this.column + n);
1644
397
  };
1645
- var SourceLocation3 = function(p4, start2, end2) {
1646
- this.start = start2, this.end = end2, null !== p4.sourceFile && (this.source = p4.sourceFile);
398
+ var SourceLocation3 = function(p5, start2, end2) {
399
+ this.start = start2, this.end = end2, null !== p5.sourceFile && (this.source = p5.sourceFile);
1647
400
  };
1648
401
  function getLineInfo3(input, offset2) {
1649
402
  for (var line3 = 1, cur = 0; ; ) {
@@ -1719,7 +472,7 @@ var require_jiti = __commonJS({
1719
472
  }, Parser4.tokenizer = function(input, options8) {
1720
473
  return new this(options8, input);
1721
474
  }, Object.defineProperties(Parser4.prototype, prototypeAccessors2);
1722
- var pp$92 = Parser4.prototype, literal3 = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;
475
+ var pp$92 = Parser4.prototype, literal3 = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/s;
1723
476
  pp$92.strictDirective = function(start2) {
1724
477
  if (this.options.ecmaVersion < 5) return false;
1725
478
  for (; ; ) {
@@ -1880,8 +633,8 @@ var require_jiti = __commonJS({
1880
633
  var init$1 = this.startNode(), kind = isLet ? "let" : this.value;
1881
634
  return this.next(), this.parseVar(init$1, true, kind), this.finishNode(init$1, "VariableDeclaration"), (this.type === types$12._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && 1 === init$1.declarations.length ? (this.options.ecmaVersion >= 9 && (this.type === types$12._in ? awaitAt > -1 && this.unexpected(awaitAt) : node.await = awaitAt > -1), this.parseForIn(node, init$1)) : (awaitAt > -1 && this.unexpected(awaitAt), this.parseFor(node, init$1));
1882
635
  }
1883
- var startsWithLet = this.isContextual("let"), isForOf = false, refDestructuringErrors = new DestructuringErrors3(), init = this.parseExpression(!(awaitAt > -1) || "await", refDestructuringErrors);
1884
- return this.type === types$12._in || (isForOf = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (this.options.ecmaVersion >= 9 && (this.type === types$12._in ? awaitAt > -1 && this.unexpected(awaitAt) : node.await = awaitAt > -1), startsWithLet && isForOf && this.raise(init.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(init, false, refDestructuringErrors), this.checkLValPattern(init), this.parseForIn(node, init)) : (this.checkExpressionErrors(refDestructuringErrors, true), awaitAt > -1 && this.unexpected(awaitAt), this.parseFor(node, init));
636
+ var startsWithLet = this.isContextual("let"), isForOf = false, containsEsc = this.containsEsc, refDestructuringErrors = new DestructuringErrors3(), initPos = this.start, init = awaitAt > -1 ? this.parseExprSubscripts(refDestructuringErrors, "await") : this.parseExpression(true, refDestructuringErrors);
637
+ return this.type === types$12._in || (isForOf = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (awaitAt > -1 ? (this.type === types$12._in && this.unexpected(awaitAt), node.await = true) : isForOf && this.options.ecmaVersion >= 8 && (init.start !== initPos || containsEsc || "Identifier" !== init.type || "async" !== init.name ? this.options.ecmaVersion >= 9 && (node.await = false) : this.unexpected()), startsWithLet && isForOf && this.raise(init.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(init, false, refDestructuringErrors), this.checkLValPattern(init), this.parseForIn(node, init)) : (this.checkExpressionErrors(refDestructuringErrors, true), awaitAt > -1 && this.unexpected(awaitAt), this.parseFor(node, init));
1885
638
  }, pp$82.parseFunctionStatement = function(node, isAsync2, declarationPosition) {
1886
639
  return this.next(), this.parseFunction(node, FUNC_STATEMENT2 | (declarationPosition ? 0 : FUNC_HANGING_STATEMENT2), false, isAsync2);
1887
640
  }, pp$82.parseIfStatement = function(node) {
@@ -2263,8 +1016,8 @@ var require_jiti = __commonJS({
2263
1016
  };
2264
1017
  var TokContext3 = function(token2, isExpr, preserveSpace, override, generator) {
2265
1018
  this.token = token2, this.isExpr = !!isExpr, this.preserveSpace = !!preserveSpace, this.override = override, this.generator = !!generator;
2266
- }, types2 = { b_stat: new TokContext3("{", false), b_expr: new TokContext3("{", true), b_tmpl: new TokContext3("${", false), p_stat: new TokContext3("(", false), p_expr: new TokContext3("(", true), q_tmpl: new TokContext3("`", true, true, function(p4) {
2267
- return p4.tryReadTemplateToken();
1019
+ }, types2 = { b_stat: new TokContext3("{", false), b_expr: new TokContext3("{", true), b_tmpl: new TokContext3("${", false), p_stat: new TokContext3("(", false), p_expr: new TokContext3("(", true), q_tmpl: new TokContext3("`", true, true, function(p5) {
1020
+ return p5.tryReadTemplateToken();
2268
1021
  }), f_stat: new TokContext3("function", false), f_expr: new TokContext3("function", true), f_expr_gen: new TokContext3("function", true, false, null, true), f_gen: new TokContext3("function", false, false, null, true) }, pp$62 = Parser4.prototype;
2269
1022
  pp$62.initialContext = function() {
2270
1023
  return [types2.b_stat];
@@ -2314,8 +1067,11 @@ var require_jiti = __commonJS({
2314
1067
  this.options.ecmaVersion >= 6 && prevType !== types$12.dot && ("of" === this.value && !this.exprAllowed || "yield" === this.value && this.inGeneratorContext()) && (allowed = true), this.exprAllowed = allowed;
2315
1068
  };
2316
1069
  var pp$52 = Parser4.prototype;
1070
+ function isLocalVariableAccess2(node) {
1071
+ return "Identifier" === node.type || "ParenthesizedExpression" === node.type && isLocalVariableAccess2(node.expression);
1072
+ }
2317
1073
  function isPrivateFieldAccess2(node) {
2318
- return "MemberExpression" === node.type && "PrivateIdentifier" === node.property.type || "ChainExpression" === node.type && isPrivateFieldAccess2(node.expression);
1074
+ return "MemberExpression" === node.type && "PrivateIdentifier" === node.property.type || "ChainExpression" === node.type && isPrivateFieldAccess2(node.expression) || "ParenthesizedExpression" === node.type && isPrivateFieldAccess2(node.expression);
2319
1075
  }
2320
1076
  pp$52.checkPropClash = function(prop, propHash, refDestructuringErrors) {
2321
1077
  if (!(this.options.ecmaVersion >= 9 && "SpreadElement" === prop.type || this.options.ecmaVersion >= 6 && (prop.computed || prop.method || prop.shorthand))) {
@@ -2393,7 +1149,7 @@ var require_jiti = __commonJS({
2393
1149
  if (this.isContextual("await") && this.canAwait) expr = this.parseAwait(forInit), sawUnary = true;
2394
1150
  else if (this.type.prefix) {
2395
1151
  var node = this.startNode(), update = this.type === types$12.incDec;
2396
- node.operator = this.value, node.prefix = true, this.next(), node.argument = this.parseMaybeUnary(null, true, update, forInit), this.checkExpressionErrors(refDestructuringErrors, true), update ? this.checkLValSimple(node.argument) : this.strict && "delete" === node.operator && "Identifier" === node.argument.type ? this.raiseRecoverable(node.start, "Deleting local variable in strict mode") : "delete" === node.operator && isPrivateFieldAccess2(node.argument) ? this.raiseRecoverable(node.start, "Private fields can not be deleted") : sawUnary = true, expr = this.finishNode(node, update ? "UpdateExpression" : "UnaryExpression");
1152
+ node.operator = this.value, node.prefix = true, this.next(), node.argument = this.parseMaybeUnary(null, true, update, forInit), this.checkExpressionErrors(refDestructuringErrors, true), update ? this.checkLValSimple(node.argument) : this.strict && "delete" === node.operator && isLocalVariableAccess2(node.argument) ? this.raiseRecoverable(node.start, "Deleting local variable in strict mode") : "delete" === node.operator && isPrivateFieldAccess2(node.argument) ? this.raiseRecoverable(node.start, "Private fields can not be deleted") : sawUnary = true, expr = this.finishNode(node, update ? "UpdateExpression" : "UnaryExpression");
2397
1153
  } else if (sawUnary || this.type !== types$12.privateId) {
2398
1154
  if (expr = this.parseExprSubscripts(refDestructuringErrors, forInit), this.checkExpressionErrors(refDestructuringErrors)) return expr;
2399
1155
  for (; this.type.postfix && !this.canInsertSemicolon(); ) {
@@ -2563,7 +1319,7 @@ var require_jiti = __commonJS({
2563
1319
  return node.callee = this.parseSubscripts(this.parseExprAtom(null, false, true), startPos, startLoc, true, false), this.eat(types$12.parenL) ? node.arguments = this.parseExprList(types$12.parenR, this.options.ecmaVersion >= 8, false) : node.arguments = empty3, this.finishNode(node, "NewExpression");
2564
1320
  }, pp$52.parseTemplateElement = function(ref3) {
2565
1321
  var isTagged = ref3.isTagged, elem = this.startNode();
2566
- return this.type === types$12.invalidTemplate ? (isTagged || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), elem.value = { raw: this.value, cooked: null }) : elem.value = { raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, "\n"), cooked: this.value }, this.next(), elem.tail = this.type === types$12.backQuote, this.finishNode(elem, "TemplateElement");
1322
+ return this.type === types$12.invalidTemplate ? (isTagged || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), elem.value = { raw: this.value.replace(/\r\n?/g, "\n"), cooked: null }) : elem.value = { raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, "\n"), cooked: this.value }, this.next(), elem.tail = this.type === types$12.backQuote, this.finishNode(elem, "TemplateElement");
2567
1323
  }, pp$52.parseTemplate = function(ref3) {
2568
1324
  void 0 === ref3 && (ref3 = {});
2569
1325
  var isTagged = ref3.isTagged;
@@ -2741,8 +1497,17 @@ var require_jiti = __commonJS({
2741
1497
  for (var i4 = 0, list = [9, 10, 11, 12, 13, 14]; i4 < list.length; i4 += 1) {
2742
1498
  buildUnicodeData2(list[i4]);
2743
1499
  }
2744
- var pp$12 = Parser4.prototype, RegExpValidationState3 = function(parser) {
2745
- this.parser = parser, this.validFlags = "gim" + (parser.options.ecmaVersion >= 6 ? "uy" : "") + (parser.options.ecmaVersion >= 9 ? "s" : "") + (parser.options.ecmaVersion >= 13 ? "d" : "") + (parser.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = data2[parser.options.ecmaVersion >= 14 ? 14 : parser.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = false, this.switchV = false, this.switchN = false, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = false, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = [], this.backReferenceNames = [];
1500
+ var pp$12 = Parser4.prototype, BranchID3 = function(parent, base) {
1501
+ this.parent = parent, this.base = base || this;
1502
+ };
1503
+ BranchID3.prototype.separatedFrom = function(alt) {
1504
+ for (var self2 = this; self2; self2 = self2.parent) for (var other = alt; other; other = other.parent) if (self2.base === other.base && self2 !== other) return true;
1505
+ return false;
1506
+ }, BranchID3.prototype.sibling = function() {
1507
+ return new BranchID3(this.parent, this.base);
1508
+ };
1509
+ var RegExpValidationState3 = function(parser) {
1510
+ this.parser = parser, this.validFlags = "gim" + (parser.options.ecmaVersion >= 6 ? "uy" : "") + (parser.options.ecmaVersion >= 9 ? "s" : "") + (parser.options.ecmaVersion >= 13 ? "d" : "") + (parser.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = data2[parser.options.ecmaVersion >= 14 ? 14 : parser.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = false, this.switchV = false, this.switchN = false, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = false, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
2746
1511
  };
2747
1512
  function isSyntaxCharacter2(ch) {
2748
1513
  return 36 === ch || ch >= 40 && ch <= 43 || 46 === ch || 63 === ch || ch >= 91 && ch <= 94 || ch >= 123 && ch <= 125;
@@ -2757,18 +1522,18 @@ var require_jiti = __commonJS({
2757
1522
  this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + message);
2758
1523
  }, RegExpValidationState3.prototype.at = function(i5, forceU) {
2759
1524
  void 0 === forceU && (forceU = false);
2760
- var s3 = this.source, l4 = s3.length;
2761
- if (i5 >= l4) return -1;
1525
+ var s3 = this.source, l5 = s3.length;
1526
+ if (i5 >= l5) return -1;
2762
1527
  var c5 = s3.charCodeAt(i5);
2763
- if (!forceU && !this.switchU || c5 <= 55295 || c5 >= 57344 || i5 + 1 >= l4) return c5;
1528
+ if (!forceU && !this.switchU || c5 <= 55295 || c5 >= 57344 || i5 + 1 >= l5) return c5;
2764
1529
  var next = s3.charCodeAt(i5 + 1);
2765
1530
  return next >= 56320 && next <= 57343 ? (c5 << 10) + next - 56613888 : c5;
2766
1531
  }, RegExpValidationState3.prototype.nextIndex = function(i5, forceU) {
2767
1532
  void 0 === forceU && (forceU = false);
2768
- var s3 = this.source, l4 = s3.length;
2769
- if (i5 >= l4) return l4;
1533
+ var s3 = this.source, l5 = s3.length;
1534
+ if (i5 >= l5) return l5;
2770
1535
  var next, c5 = s3.charCodeAt(i5);
2771
- return !forceU && !this.switchU || c5 <= 55295 || c5 >= 57344 || i5 + 1 >= l4 || (next = s3.charCodeAt(i5 + 1)) < 56320 || next > 57343 ? i5 + 1 : i5 + 2;
1536
+ return !forceU && !this.switchU || c5 <= 55295 || c5 >= 57344 || i5 + 1 >= l5 || (next = s3.charCodeAt(i5 + 1)) < 56320 || next > 57343 ? i5 + 1 : i5 + 2;
2772
1537
  }, RegExpValidationState3.prototype.current = function(forceU) {
2773
1538
  return void 0 === forceU && (forceU = false), this.at(this.pos, forceU);
2774
1539
  }, RegExpValidationState3.prototype.lookahead = function(forceU) {
@@ -2792,16 +1557,20 @@ var require_jiti = __commonJS({
2792
1557
  }
2793
1558
  this.options.ecmaVersion >= 15 && u3 && v10 && this.raise(state.start, "Invalid regular expression flag");
2794
1559
  }, pp$12.validateRegExpPattern = function(state) {
2795
- this.regexp_pattern(state), !state.switchN && this.options.ecmaVersion >= 9 && state.groupNames.length > 0 && (state.switchN = true, this.regexp_pattern(state));
1560
+ this.regexp_pattern(state), !state.switchN && this.options.ecmaVersion >= 9 && function(obj) {
1561
+ for (var _16 in obj) return true;
1562
+ return false;
1563
+ }(state.groupNames) && (state.switchN = true, this.regexp_pattern(state));
2796
1564
  }, pp$12.regexp_pattern = function(state) {
2797
- state.pos = 0, state.lastIntValue = 0, state.lastStringValue = "", state.lastAssertionIsQuantifiable = false, state.numCapturingParens = 0, state.maxBackReference = 0, state.groupNames.length = 0, state.backReferenceNames.length = 0, this.regexp_disjunction(state), state.pos !== state.source.length && (state.eat(41) && state.raise("Unmatched ')'"), (state.eat(93) || state.eat(125)) && state.raise("Lone quantifier brackets")), state.maxBackReference > state.numCapturingParens && state.raise("Invalid escape");
1565
+ state.pos = 0, state.lastIntValue = 0, state.lastStringValue = "", state.lastAssertionIsQuantifiable = false, state.numCapturingParens = 0, state.maxBackReference = 0, state.groupNames = /* @__PURE__ */ Object.create(null), state.backReferenceNames.length = 0, state.branchID = null, this.regexp_disjunction(state), state.pos !== state.source.length && (state.eat(41) && state.raise("Unmatched ')'"), (state.eat(93) || state.eat(125)) && state.raise("Lone quantifier brackets")), state.maxBackReference > state.numCapturingParens && state.raise("Invalid escape");
2798
1566
  for (var i5 = 0, list2 = state.backReferenceNames; i5 < list2.length; i5 += 1) {
2799
1567
  var name = list2[i5];
2800
- -1 === state.groupNames.indexOf(name) && state.raise("Invalid named capture referenced");
1568
+ state.groupNames[name] || state.raise("Invalid named capture referenced");
2801
1569
  }
2802
1570
  }, pp$12.regexp_disjunction = function(state) {
2803
- for (this.regexp_alternative(state); state.eat(124); ) this.regexp_alternative(state);
2804
- this.regexp_eatQuantifier(state, true) && state.raise("Nothing to repeat"), state.eat(123) && state.raise("Lone quantifier brackets");
1571
+ var trackDisjunction = this.options.ecmaVersion >= 16;
1572
+ for (trackDisjunction && (state.branchID = new BranchID3(state.branchID, null)), this.regexp_alternative(state); state.eat(124); ) trackDisjunction && (state.branchID = state.branchID.sibling()), this.regexp_alternative(state);
1573
+ trackDisjunction && (state.branchID = state.branchID.parent), this.regexp_eatQuantifier(state, true) && state.raise("Nothing to repeat"), state.eat(123) && state.raise("Lone quantifier brackets");
2805
1574
  }, pp$12.regexp_alternative = function(state) {
2806
1575
  for (; state.pos < state.source.length && this.regexp_eatTerm(state); ) ;
2807
1576
  }, pp$12.regexp_eatTerm = function(state) {
@@ -2870,8 +1639,13 @@ var require_jiti = __commonJS({
2870
1639
  return !(-1 === ch || 36 === ch || ch >= 40 && ch <= 43 || 46 === ch || 63 === ch || 91 === ch || 94 === ch || 124 === ch) && (state.advance(), true);
2871
1640
  }, pp$12.regexp_groupSpecifier = function(state) {
2872
1641
  if (state.eat(63)) {
2873
- if (this.regexp_eatGroupName(state)) return -1 !== state.groupNames.indexOf(state.lastStringValue) && state.raise("Duplicate capture group name"), void state.groupNames.push(state.lastStringValue);
2874
- state.raise("Invalid group");
1642
+ this.regexp_eatGroupName(state) || state.raise("Invalid group");
1643
+ var trackDisjunction = this.options.ecmaVersion >= 16, known = state.groupNames[state.lastStringValue];
1644
+ if (known) if (trackDisjunction) for (var i5 = 0, list2 = known; i5 < list2.length; i5 += 1) {
1645
+ list2[i5].separatedFrom(state.branchID) || state.raise("Duplicate capture group name");
1646
+ }
1647
+ else state.raise("Duplicate capture group name");
1648
+ trackDisjunction ? (known || (state.groupNames[state.lastStringValue] = [])).push(state.branchID) : state.groupNames[state.lastStringValue] = true;
2875
1649
  }
2876
1650
  }, pp$12.regexp_eatGroupName = function(state) {
2877
1651
  if (state.lastStringValue = "", state.eat(60)) {
@@ -3170,8 +1944,8 @@ var require_jiti = __commonJS({
3170
1944
  }
3171
1945
  return true;
3172
1946
  };
3173
- var Token3 = function(p4) {
3174
- this.type = p4.type, this.value = p4.value, this.start = p4.start, this.end = p4.end, p4.options.locations && (this.loc = new SourceLocation3(p4, p4.startLoc, p4.endLoc)), p4.options.ranges && (this.range = [p4.start, p4.end]);
1947
+ var Token3 = function(p5) {
1948
+ this.type = p5.type, this.value = p5.value, this.start = p5.start, this.end = p5.end, p5.options.locations && (this.loc = new SourceLocation3(p5, p5.startLoc, p5.endLoc)), p5.options.ranges && (this.range = [p5.start, p5.end]);
3175
1949
  }, pp4 = Parser4.prototype;
3176
1950
  function stringToBigInt2(str2) {
3177
1951
  return "function" != typeof BigInt ? null : BigInt(str2.replace(/_/g, ""));
@@ -3476,6 +2250,12 @@ var require_jiti = __commonJS({
3476
2250
  if ("{" !== this.input[this.pos + 1]) break;
3477
2251
  case "`":
3478
2252
  return this.finishToken(types$12.invalidTemplate, this.input.slice(this.start, this.pos));
2253
+ case "\r":
2254
+ "\n" === this.input[this.pos + 1] && ++this.pos;
2255
+ case "\n":
2256
+ case "\u2028":
2257
+ case "\u2029":
2258
+ ++this.curLine, this.lineStart = this.pos + 1;
3479
2259
  }
3480
2260
  this.raise(this.start, "Unterminated template");
3481
2261
  }, pp4.readEscapedChar = function(inTemplate) {
@@ -3512,7 +2292,7 @@ var require_jiti = __commonJS({
3512
2292
  var octalStr = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], octal = parseInt(octalStr, 8);
3513
2293
  return octal > 255 && (octalStr = octalStr.slice(0, -1), octal = parseInt(octalStr, 8)), this.pos += octalStr.length - 1, ch = this.input.charCodeAt(this.pos), "0" === octalStr && 56 !== ch && 57 !== ch || !this.strict && !inTemplate || this.invalidStringToken(this.pos - 1 - octalStr.length, inTemplate ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(octal);
3514
2294
  }
3515
- return isNewLine2(ch) ? "" : String.fromCharCode(ch);
2295
+ return isNewLine2(ch) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(ch);
3516
2296
  }
3517
2297
  }, pp4.readHexChar = function(len) {
3518
2298
  var codePos = this.pos, n = this.readInt(16, len);
@@ -3537,8 +2317,8 @@ var require_jiti = __commonJS({
3537
2317
  var word = this.readWord1(), type2 = types$12.name;
3538
2318
  return this.keywords.test(word) && (type2 = keywords2[word]), this.finishToken(type2, word);
3539
2319
  };
3540
- Parser4.acorn = { Parser: Parser4, version: "8.11.3", defaultOptions: defaultOptions2, Position: Position3, SourceLocation: SourceLocation3, getLineInfo: getLineInfo3, Node: Node3, TokenType: TokenType3, tokTypes: types$12, keywordTypes: keywords2, TokContext: TokContext3, tokContexts: types2, isIdentifierChar: isIdentifierChar2, isIdentifierStart: isIdentifierStart2, Token: Token3, isNewLine: isNewLine2, lineBreak: lineBreak2, lineBreakG: lineBreakG2, nonASCIIwhitespace: nonASCIIwhitespace2 };
3541
- const external_node_module_namespaceObject = __require("module"), external_node_fs_namespaceObject = __require("fs");
2320
+ Parser4.acorn = { Parser: Parser4, version: "8.12.0", defaultOptions: defaultOptions2, Position: Position3, SourceLocation: SourceLocation3, getLineInfo: getLineInfo3, Node: Node3, TokenType: TokenType3, tokTypes: types$12, keywordTypes: keywords2, TokContext: TokContext3, tokContexts: types2, isIdentifierChar: isIdentifierChar2, isIdentifierStart: isIdentifierStart2, Token: Token3, isNewLine: isNewLine2, lineBreak: lineBreak2, lineBreakG: lineBreakG2, nonASCIIwhitespace: nonASCIIwhitespace2 };
2321
+ const external_node_module_namespaceObject = __require("node:module");
3542
2322
  Math.floor, String.fromCharCode;
3543
2323
  const TRAILING_SLASH_RE2 = /\/$|\/\?|\/#/, JOIN_LEADING_SLASH_RE2 = /^\.?\//;
3544
2324
  function dist_hasTrailingSlash(input = "", respectQueryAndFragment) {
@@ -3566,7 +2346,7 @@ var require_jiti = __commonJS({
3566
2346
  }
3567
2347
  Symbol.for("ufo:protocolRelative");
3568
2348
  Object.defineProperty;
3569
- const external_node_url_namespaceObject = __require("url"), external_node_assert_namespaceObject = __require("assert"), external_node_process_namespaceObject = __require("process"), external_node_path_namespaceObject = __require("path"), external_node_v8_namespaceObject = __require("v8"), external_node_util_namespaceObject = __require("util"), BUILTIN_MODULES2 = new Set(external_node_module_namespaceObject.builtinModules);
2349
+ const external_node_assert_namespaceObject = __require("node:assert"), external_node_process_namespaceObject = __require("node:process"), external_node_path_namespaceObject = __require("node:path"), external_node_v8_namespaceObject = __require("node:v8"), external_node_util_namespaceObject = __require("node:util"), BUILTIN_MODULES2 = new Set(external_node_module_namespaceObject.builtinModules);
3570
2350
  function normalizeSlash2(path13) {
3571
2351
  return path13.replace(/\\/g, "/");
3572
2352
  }
@@ -3889,9 +2669,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
3889
2669
  }
3890
2670
  throw exportsNotFound3(packageSubpath, packageJsonUrl, base);
3891
2671
  }
3892
- function patternKeyCompare3(a3, b11) {
3893
- const aPatternIndex = a3.indexOf("*"), bPatternIndex = b11.indexOf("*"), baseLengthA = -1 === aPatternIndex ? a3.length : aPatternIndex + 1, baseLengthB = -1 === bPatternIndex ? b11.length : bPatternIndex + 1;
3894
- return baseLengthA > baseLengthB ? -1 : baseLengthB > baseLengthA || -1 === aPatternIndex ? 1 : -1 === bPatternIndex || a3.length > b11.length ? -1 : b11.length > a3.length ? 1 : 0;
2672
+ function patternKeyCompare3(a4, b11) {
2673
+ const aPatternIndex = a4.indexOf("*"), bPatternIndex = b11.indexOf("*"), baseLengthA = -1 === aPatternIndex ? a4.length : aPatternIndex + 1, baseLengthB = -1 === bPatternIndex ? b11.length : bPatternIndex + 1;
2674
+ return baseLengthA > baseLengthB ? -1 : baseLengthB > baseLengthA || -1 === aPatternIndex ? 1 : -1 === bPatternIndex || a4.length > b11.length ? -1 : b11.length > a4.length ? 1 : 0;
3895
2675
  }
3896
2676
  function packageImportsResolve3(name, base, conditions) {
3897
2677
  if ("#" === name || name.startsWith("#/") || name.endsWith("/")) {
@@ -4060,220 +2840,285 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4060
2840
  function hasESMSyntax(code, opts = {}) {
4061
2841
  return opts.stripComments && (code = code.replace(COMMENT_RE, "")), ESM_RE.test(code);
4062
2842
  }
4063
- var external_crypto_ = __webpack_require__("crypto");
2843
+ const dist_r = /* @__PURE__ */ Object.create(null), E8 = (e3) => globalThis.process?.env || globalThis.Deno?.env.toObject() || globalThis.__env__ || (e3 ? dist_r : globalThis), dist_s = new Proxy(dist_r, { get: (e3, o2) => E8()[o2] ?? dist_r[o2], has: (e3, o2) => o2 in E8() || o2 in dist_r, set: (e3, o2, i5) => (E8(true)[o2] = i5, true), deleteProperty(e3, o2) {
2844
+ if (!o2) return false;
2845
+ return delete E8(true)[o2], true;
2846
+ }, ownKeys() {
2847
+ const e3 = E8(true);
2848
+ return Object.keys(e3);
2849
+ } }), dist_t = typeof process < "u" && process.env && process.env.NODE_ENV || "", p4 = [["APPVEYOR"], ["AWS_AMPLIFY", "AWS_APP_ID", { ci: true }], ["AZURE_PIPELINES", "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"], ["AZURE_STATIC", "INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"], ["APPCIRCLE", "AC_APPCIRCLE"], ["BAMBOO", "bamboo_planKey"], ["BITBUCKET", "BITBUCKET_COMMIT"], ["BITRISE", "BITRISE_IO"], ["BUDDY", "BUDDY_WORKSPACE_ID"], ["BUILDKITE"], ["CIRCLE", "CIRCLECI"], ["CIRRUS", "CIRRUS_CI"], ["CLOUDFLARE_PAGES", "CF_PAGES", { ci: true }], ["CODEBUILD", "CODEBUILD_BUILD_ARN"], ["CODEFRESH", "CF_BUILD_ID"], ["DRONE"], ["DRONE", "DRONE_BUILD_EVENT"], ["DSARI"], ["GITHUB_ACTIONS"], ["GITLAB", "GITLAB_CI"], ["GITLAB", "CI_MERGE_REQUEST_ID"], ["GOCD", "GO_PIPELINE_LABEL"], ["LAYERCI"], ["HUDSON", "HUDSON_URL"], ["JENKINS", "JENKINS_URL"], ["MAGNUM"], ["NETLIFY"], ["NETLIFY", "NETLIFY_LOCAL", { ci: false }], ["NEVERCODE"], ["RENDER"], ["SAIL", "SAILCI"], ["SEMAPHORE"], ["SCREWDRIVER"], ["SHIPPABLE"], ["SOLANO", "TDDIUM"], ["STRIDER"], ["TEAMCITY", "TEAMCITY_VERSION"], ["TRAVIS"], ["VERCEL", "NOW_BUILDER"], ["VERCEL", "VERCEL", { ci: false }], ["VERCEL", "VERCEL_ENV", { ci: false }], ["APPCENTER", "APPCENTER_BUILD_ID"], ["CODESANDBOX", "CODESANDBOX_SSE", { ci: false }], ["STACKBLITZ"], ["STORMKIT"], ["CLEAVR"], ["ZEABUR"], ["CODESPHERE", "CODESPHERE_APP_ID", { ci: true }], ["RAILWAY", "RAILWAY_PROJECT_ID"], ["RAILWAY", "RAILWAY_SERVICE_ID"]];
2850
+ const l4 = function() {
2851
+ if (globalThis.process?.env) for (const e3 of p4) {
2852
+ const o2 = e3[1] || e3[0];
2853
+ if (globalThis.process?.env[o2]) return { name: e3[0].toLowerCase(), ...e3[2] };
2854
+ }
2855
+ return "/bin/jsh" === globalThis.process?.env?.SHELL && globalThis.process?.versions?.webcontainer ? { name: "stackblitz", ci: false } : { name: "", ci: false };
2856
+ }();
2857
+ l4.name;
2858
+ function dist_n(e3) {
2859
+ return !!e3 && "false" !== e3;
2860
+ }
2861
+ const I8 = globalThis.process?.platform || "", T8 = dist_n(dist_s.CI) || false !== l4.ci, R12 = dist_n(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), C7 = (dist_n(dist_s.DEBUG), "test" === dist_t || dist_n(dist_s.TEST)), a3 = (dist_n(dist_s.MINIMAL), /^win/i.test(I8)), _15 = (/^linux/i.test(I8), /^darwin/i.test(I8), !dist_n(dist_s.NO_COLOR) && (dist_n(dist_s.FORCE_COLOR) || (R12 || a3) && dist_s.TERM), (globalThis.process?.versions?.node || "").replace(/^v/, "") || null), W13 = (Number(_15?.split(".")[0]), globalThis.process || /* @__PURE__ */ Object.create(null)), dist_c = { versions: {} }, A8 = (new Proxy(W13, { get: (e3, o2) => "env" === o2 ? dist_s : o2 in e3 ? e3[o2] : o2 in dist_c ? dist_c[o2] : void 0 }), "node" === globalThis.process?.release?.name), L9 = !!globalThis.Bun || !!globalThis.process?.versions?.bun, D10 = !!globalThis.Deno, O10 = !!globalThis.fastly, F9 = [[!!globalThis.Netlify, "netlify"], [!!globalThis.EdgeRuntime, "edge-light"], ["Cloudflare-Workers" === globalThis.navigator?.userAgent, "workerd"], [O10, "fastly"], [D10, "deno"], [L9, "bun"], [A8, "node"], [!!globalThis.__lagon__, "lagon"]];
2862
+ !function() {
2863
+ const e3 = F9.find((o2) => o2[0]);
2864
+ if (e3) e3[1];
2865
+ }();
2866
+ const hasColors = __require("node:tty").WriteStream.prototype.hasColors(), base_format = (open, close) => {
2867
+ if (!hasColors) return (input) => input;
2868
+ const openCode = `\x1B[${open}m`, closeCode = `\x1B[${close}m`;
2869
+ return (input) => {
2870
+ const string = input + "";
2871
+ let index = string.indexOf(closeCode);
2872
+ if (-1 === index) return openCode + string + closeCode;
2873
+ let result2 = openCode, lastIndex = 0;
2874
+ for (; -1 !== index; ) result2 += string.slice(lastIndex, index) + openCode, lastIndex = index + closeCode.length, index = string.indexOf(closeCode, lastIndex);
2875
+ return result2 += string.slice(lastIndex) + closeCode, result2;
2876
+ };
2877
+ }, red = (base_format(0, 0), base_format(1, 22), base_format(2, 22), base_format(3, 23), base_format(4, 24), base_format(53, 55), base_format(7, 27), base_format(8, 28), base_format(9, 29), base_format(30, 39), base_format(31, 39)), green = base_format(32, 39), yellow = base_format(33, 39), blue = base_format(34, 39), cyan = (base_format(35, 39), base_format(36, 39)), gray = (base_format(37, 39), base_format(90, 39));
2878
+ base_format(40, 49), base_format(41, 49), base_format(42, 49), base_format(43, 49), base_format(44, 49), base_format(45, 49), base_format(46, 49), base_format(47, 49), base_format(100, 49), base_format(91, 39), base_format(92, 39), base_format(93, 39), base_format(94, 39), base_format(95, 39), base_format(96, 39), base_format(97, 39), base_format(101, 49), base_format(102, 49), base_format(103, 49), base_format(104, 49), base_format(105, 49), base_format(106, 49), base_format(107, 49);
2879
+ function isDir(filename) {
2880
+ if (filename instanceof URL || filename.startsWith("file://")) return false;
2881
+ try {
2882
+ return (0, external_node_fs_namespaceObject.lstatSync)(filename).isDirectory();
2883
+ } catch {
2884
+ return false;
2885
+ }
2886
+ }
4064
2887
  function md5(content, len = 8) {
4065
- return (0, external_crypto_.createHash)("md5").update(content).digest("hex").slice(0, len);
2888
+ return (0, external_node_crypto_namespaceObject.createHash)("md5").update(content).digest("hex").slice(0, len);
4066
2889
  }
4067
- var __awaiter = function(thisArg, _arguments, P13, generator) {
4068
- return new (P13 || (P13 = Promise))(function(resolve4, reject2) {
4069
- function fulfilled(value2) {
4070
- try {
4071
- step(generator.next(value2));
4072
- } catch (e3) {
4073
- reject2(e3);
4074
- }
4075
- }
4076
- function rejected(value2) {
4077
- try {
4078
- step(generator.throw(value2));
4079
- } catch (e3) {
4080
- reject2(e3);
4081
- }
2890
+ const debugMap = { true: green("true"), false: yellow("false"), "[esm]": blue("[esm]"), "[cjs]": green("[cjs]"), "[import]": blue("[import]"), "[require]": green("[require]"), "[native]": cyan("[native]"), "[transpile]": yellow("[transpile]"), "[fallback]": red("[fallback]"), "[unknown]": red("[unknown]"), "[hit]": green("[hit]"), "[miss]": yellow("[miss]"), "[json]": green("[json]") };
2891
+ function debug2(ctx, ...args) {
2892
+ if (!ctx.opts.debug) return;
2893
+ const cwd2 = process.cwd();
2894
+ console.log(gray(["[jiti]", ...args.map((arg) => arg in debugMap ? debugMap[arg] : "string" != typeof arg ? JSON.stringify(arg) : arg.replace(cwd2, "."))].join(" ")));
2895
+ }
2896
+ function jitiInteropDefault(ctx, mod) {
2897
+ return ctx.opts.interopDefault ? function(sourceModule, opts = {}) {
2898
+ if (null === (value2 = sourceModule) || "object" != typeof value2 || !("default" in sourceModule)) return sourceModule;
2899
+ var value2;
2900
+ const defaultValue = sourceModule.default;
2901
+ if (null == defaultValue) return sourceModule;
2902
+ const _defaultType = typeof defaultValue;
2903
+ if ("object" !== _defaultType && ("function" !== _defaultType || opts.preferNamespace)) return opts.preferNamespace ? sourceModule : defaultValue;
2904
+ for (const key2 in sourceModule) try {
2905
+ key2 in defaultValue || Object.defineProperty(defaultValue, key2, { enumerable: "default" !== key2, configurable: "default" !== key2, get: () => sourceModule[key2] });
2906
+ } catch {
4082
2907
  }
4083
- function step(result2) {
4084
- var value2;
4085
- result2.done ? resolve4(result2.value) : (value2 = result2.value, value2 instanceof P13 ? value2 : new P13(function(resolve5) {
4086
- resolve5(value2);
4087
- })).then(fulfilled, rejected);
2908
+ return defaultValue;
2909
+ }(mod) : mod;
2910
+ }
2911
+ function _booleanEnv(name, defaultValue) {
2912
+ const val = _jsonEnv(name, defaultValue);
2913
+ return Boolean(val);
2914
+ }
2915
+ function _jsonEnv(name, defaultValue) {
2916
+ const envValue = process.env[name];
2917
+ if (!(name in process.env)) return defaultValue;
2918
+ try {
2919
+ return JSON.parse(envValue);
2920
+ } catch {
2921
+ return defaultValue;
2922
+ }
2923
+ }
2924
+ const JS_EXT_RE = /\.(c|m)?j(sx?)$/, TS_EXT_RE = /\.(c|m)?t(sx?)$/;
2925
+ function jitiResolve(ctx, id, options8) {
2926
+ let resolved, lastError;
2927
+ if (ctx.isNativeRe.test(id)) return id;
2928
+ ctx.alias && (id = function(path13, aliases2) {
2929
+ const _path = normalizeWindowsPath2(path13);
2930
+ aliases2 = normalizeAliases(aliases2);
2931
+ for (const [alias, to3] of Object.entries(aliases2)) {
2932
+ if (!_path.startsWith(alias)) continue;
2933
+ const _alias = hasTrailingSlash2(alias) ? alias.slice(0, -1) : alias;
2934
+ if (hasTrailingSlash2(_path[_alias.length])) return join13(to3, _path.slice(alias.length));
2935
+ }
2936
+ return _path;
2937
+ }(id, ctx.alias));
2938
+ let parentURL = options8?.parentURL || ctx.url;
2939
+ isDir(parentURL) && (parentURL = join13(parentURL, "_index.js"));
2940
+ const conditionSets = (options8?.async ? [options8?.conditions, ["node", "import"], ["node", "require"]] : [options8?.conditions, ["node", "require"], ["node", "import"]]).filter(Boolean);
2941
+ for (const conditions of conditionSets) {
2942
+ try {
2943
+ resolved = resolvePathSync2(id, { url: parentURL, conditions, extensions: ctx.opts.extensions });
2944
+ } catch (error) {
2945
+ lastError = error;
4088
2946
  }
4089
- step((generator = generator.apply(thisArg, _arguments || [])).next());
4090
- });
4091
- };
4092
- const _EnvDebug = destr2(process.env.JITI_DEBUG), _EnvCache = destr2(process.env.JITI_CACHE), _EnvESMResolve = destr2(process.env.JITI_ESM_RESOLVE), _EnvRequireCache = destr2(process.env.JITI_REQUIRE_CACHE), _EnvSourceMaps = destr2(process.env.JITI_SOURCE_MAPS), _EnvAlias = destr2(process.env.JITI_ALIAS), _EnvTransform = destr2(process.env.JITI_TRANSFORM_MODULES), _EnvNative = destr2(process.env.JITI_NATIVE_MODULES), _ExpBun = destr2(process.env.JITI_EXPERIMENTAL_BUN), isWindows = "win32" === (0, external_os_namespaceObject.platform)(), defaults4 = { debug: _EnvDebug, cache: void 0 === _EnvCache || !!_EnvCache, requireCache: void 0 === _EnvRequireCache || !!_EnvRequireCache, sourceMaps: void 0 !== _EnvSourceMaps && !!_EnvSourceMaps, interopDefault: false, esmResolve: _EnvESMResolve || false, cacheVersion: "7", legacy: (0, semver.lt)(process.version || "0.0.0", "14.0.0"), extensions: [".js", ".mjs", ".cjs", ".ts", ".mts", ".cts", ".json"], alias: _EnvAlias, nativeModules: _EnvNative || [], transformModules: _EnvTransform || [], experimentalBun: void 0 === _ExpBun ? !!process.versions.bun : !!_ExpBun }, JS_EXT_RE = /\.(c|m)?j(sx?)$/, TS_EXT_RE = /\.(c|m)?t(sx?)$/;
4093
- function createJITI(_filename, opts = {}, parentModule, parentCache) {
4094
- (opts = Object.assign(Object.assign({}, defaults4), opts)).legacy && (opts.cacheVersion += "-legacy"), opts.transformOptions && (opts.cacheVersion += "-" + object_hash_default()(opts.transformOptions));
4095
- const alias = opts.alias && Object.keys(opts.alias).length > 0 ? normalizeAliases(opts.alias || {}) : null, nativeModules = ["typescript", "jiti", ...opts.nativeModules || []], transformModules = [...opts.transformModules || []], isNativeRe = new RegExp(`node_modules/(${nativeModules.map((m5) => escapeStringRegexp2(m5)).join("|")})/`), isTransformRe = new RegExp(`node_modules/(${transformModules.map((m5) => escapeStringRegexp2(m5)).join("|")})/`);
4096
- function debug2(...args) {
4097
- opts.debug && console.log("[jiti]", ...args);
2947
+ if (resolved) return resolved;
4098
2948
  }
4099
- if (_filename || (_filename = process.cwd()), function(filename) {
4100
- try {
4101
- return (0, external_fs_.lstatSync)(filename).isDirectory();
4102
- } catch (_a4) {
4103
- return false;
2949
+ try {
2950
+ return ctx.nativeRequire.resolve(id, options8);
2951
+ } catch (error) {
2952
+ lastError = error;
2953
+ }
2954
+ for (const ext of ctx.additionalExts) {
2955
+ if (resolved = tryNativeRequireResolve(ctx, id + ext, parentURL, options8) || tryNativeRequireResolve(ctx, id + "/index" + ext, parentURL, options8), resolved) return resolved;
2956
+ if ((TS_EXT_RE.test(ctx.filename) || TS_EXT_RE.test(ctx.parentModule?.filename || "")) && (resolved = tryNativeRequireResolve(ctx, id.replace(JS_EXT_RE, ".$1t$2"), parentURL, options8), resolved)) return resolved;
2957
+ }
2958
+ if (!options8?.try) throw lastError;
2959
+ }
2960
+ function tryNativeRequireResolve(ctx, id, parentURL, options8) {
2961
+ try {
2962
+ return ctx.nativeRequire.resolve(id, { ...options8, paths: [pathe_ff20891b_dirname(fileURLToPath5(parentURL)), ...options8?.paths || []] });
2963
+ } catch {
2964
+ }
2965
+ }
2966
+ const external_node_perf_hooks_namespaceObject = __require("node:perf_hooks"), external_node_vm_namespaceObject = __require("node:vm");
2967
+ var external_node_vm_default = __webpack_require__.n(external_node_vm_namespaceObject);
2968
+ function jitiRequire(ctx, id, opts) {
2969
+ const cache4 = ctx.parentCache || {};
2970
+ if (id.startsWith("node:") ? id = id.slice(5) : id.startsWith("file:") && (id = (0, external_node_url_namespaceObject.fileURLToPath)(id)), external_node_module_namespaceObject.builtinModules.includes(id) || ".pnp.js" === id) return nativeImportOrRequire(ctx, id, opts.async);
2971
+ if (ctx.opts.experimentalBun && !ctx.opts.transformOptions) try {
2972
+ if (!(id = jitiResolve(ctx, id, opts)) && opts.try) return;
2973
+ if (debug2(ctx, "[bun]", "[native]", opts.async && ctx.nativeImport ? "[import]" : "[require]", id), opts.async && ctx.nativeImport) return ctx.nativeImport(id).then((m5) => (false === ctx.opts.moduleCache && delete ctx.nativeRequire.cache[id], jitiInteropDefault(ctx, m5)));
2974
+ {
2975
+ const _mod = ctx.nativeRequire(id);
2976
+ return false === ctx.opts.moduleCache && delete ctx.nativeRequire.cache[id], jitiInteropDefault(ctx, _mod);
4104
2977
  }
4105
- }(_filename) && (_filename = join13(_filename, "index.js")), true === opts.cache && (opts.cache = function() {
4106
- let _tmpDir = (0, external_os_namespaceObject.tmpdir)();
2978
+ } catch (error) {
2979
+ debug2(ctx, `[bun] Using fallback for ${id} because of an error:`, error);
2980
+ }
2981
+ const filename = jitiResolve(ctx, id, opts);
2982
+ if (!filename && opts.try) return;
2983
+ const ext = extname5(filename);
2984
+ if (".json" === ext) {
2985
+ debug2(ctx, "[json]", filename);
2986
+ const jsonModule = ctx.nativeRequire(filename);
2987
+ return jsonModule && !("default" in jsonModule) && Object.defineProperty(jsonModule, "default", { value: jsonModule, enumerable: false }), jsonModule;
2988
+ }
2989
+ if (ext && !ctx.opts.extensions.includes(ext)) return debug2(ctx, "[native]", "[unknown]", opts.async ? "[import]" : "[require]", filename), nativeImportOrRequire(ctx, filename, opts.async);
2990
+ if (ctx.isNativeRe.test(filename)) return debug2(ctx, "[native]", opts.async ? "[import]" : "[require]", filename), nativeImportOrRequire(ctx, filename, opts.async);
2991
+ if (cache4[filename]) return jitiInteropDefault(ctx, cache4[filename]?.exports);
2992
+ if (ctx.opts.moduleCache && ctx.nativeRequire.cache[filename]) return jitiInteropDefault(ctx, ctx.nativeRequire.cache[filename]?.exports);
2993
+ const source2 = (0, external_node_fs_namespaceObject.readFileSync)(filename, "utf8");
2994
+ return eval_evalModule(ctx, source2, { id, filename, ext, cache: cache4, async: opts.async });
2995
+ }
2996
+ function nativeImportOrRequire(ctx, id, async) {
2997
+ return async && ctx.nativeImport ? ctx.nativeImport(function(id2) {
2998
+ return a3 && isAbsolute3(id2) ? pathToFileURL6(id2) : id2;
2999
+ }(id)).then((m5) => jitiInteropDefault(ctx, m5)) : jitiInteropDefault(ctx, ctx.nativeRequire(id));
3000
+ }
3001
+ const CACHE_VERSION = "8";
3002
+ function getCache(ctx, topts, get3) {
3003
+ if (!ctx.opts.fsCache || !topts.filename) return get3();
3004
+ const sourceHash = ` /* v${CACHE_VERSION}-${md5(topts.source, 16)} */
3005
+ `, cacheName = `${basename2(pathe_ff20891b_dirname(topts.filename))}-${function(path13) {
3006
+ return path13.match(FILENAME_RE)?.[2];
3007
+ }(topts.filename)}` + (topts.interopDefault ? ".i" : "") + `.${md5(topts.filename)}` + (topts.async ? ".mjs" : ".cjs"), cacheDir = ctx.opts.fsCache, cacheFilePath = join13(cacheDir, cacheName);
3008
+ if ((0, external_node_fs_namespaceObject.existsSync)(cacheFilePath)) {
3009
+ const cacheSource = (0, external_node_fs_namespaceObject.readFileSync)(cacheFilePath, "utf8");
3010
+ if (cacheSource.endsWith(sourceHash)) return debug2(ctx, "[cache]", "[hit]", topts.filename, "~>", cacheFilePath), cacheSource;
3011
+ }
3012
+ debug2(ctx, "[cache]", "[miss]", topts.filename);
3013
+ const result2 = get3();
3014
+ return result2.includes("__JITI_ERROR__") || ((0, external_node_fs_namespaceObject.writeFileSync)(cacheFilePath, result2 + sourceHash, "utf8"), debug2(ctx, "[cache]", "[store]", topts.filename, "~>", cacheFilePath)), result2;
3015
+ }
3016
+ function prepareCacheDir(ctx) {
3017
+ if (true === ctx.opts.fsCache && (ctx.opts.fsCache = function(ctx2) {
3018
+ const nmDir = ctx2.filename && resolve4(ctx2.filename, "../node_modules");
3019
+ if (nmDir && (0, external_node_fs_namespaceObject.existsSync)(nmDir)) return join13(nmDir, ".cache/jiti");
3020
+ let _tmpDir = (0, external_node_os_namespaceObject.tmpdir)();
4107
3021
  if (process.env.TMPDIR && _tmpDir === process.cwd() && !process.env.JITI_RESPECT_TMPDIR_ENV) {
4108
3022
  const _env = process.env.TMPDIR;
4109
- delete process.env.TMPDIR, _tmpDir = (0, external_os_namespaceObject.tmpdir)(), process.env.TMPDIR = _env;
3023
+ delete process.env.TMPDIR, _tmpDir = (0, external_node_os_namespaceObject.tmpdir)(), process.env.TMPDIR = _env;
4110
3024
  }
4111
- return join13(_tmpDir, "node-jiti");
4112
- }()), opts.cache) try {
4113
- if ((0, external_fs_.mkdirSync)(opts.cache, { recursive: true }), !function(filename) {
3025
+ return join13(_tmpDir, "jiti");
3026
+ }(ctx)), ctx.opts.fsCache) try {
3027
+ if ((0, external_node_fs_namespaceObject.mkdirSync)(ctx.opts.fsCache, { recursive: true }), !function(filename) {
4114
3028
  try {
4115
- return (0, external_fs_.accessSync)(filename, external_fs_.constants.W_OK), true;
4116
- } catch (_a4) {
3029
+ return (0, external_node_fs_namespaceObject.accessSync)(filename, external_node_fs_namespaceObject.constants.W_OK), true;
3030
+ } catch {
4117
3031
  return false;
4118
3032
  }
4119
- }(opts.cache)) throw new Error("directory is not writable");
3033
+ }(ctx.opts.fsCache)) throw new Error("directory is not writable!");
4120
3034
  } catch (error) {
4121
- debug2("Error creating cache directory at ", opts.cache, error), opts.cache = false;
3035
+ debug2(ctx, "Error creating cache directory at ", ctx.opts.fsCache, error), ctx.opts.fsCache = false;
4122
3036
  }
4123
- const nativeRequire = create_require_default()(isWindows ? _filename.replace(/\//g, "\\") : _filename), tryResolve = (id, options8) => {
4124
- try {
4125
- return nativeRequire.resolve(id, options8);
4126
- } catch (_a4) {
4127
- }
4128
- }, _url = (0, external_url_namespaceObject.pathToFileURL)(_filename), _additionalExts = [...opts.extensions].filter((ext) => ".js" !== ext), _resolve3 = (id, options8) => {
4129
- let resolved, err;
4130
- if (alias && (id = function(path13, aliases2) {
4131
- const _path = normalizeWindowsPath2(path13);
4132
- aliases2 = normalizeAliases(aliases2);
4133
- for (const [alias2, to3] of Object.entries(aliases2)) {
4134
- if (!_path.startsWith(alias2)) continue;
4135
- const _alias = hasTrailingSlash2(alias2) ? alias2.slice(0, -1) : alias2;
4136
- if (hasTrailingSlash2(_path[_alias.length])) return join13(to3, _path.slice(alias2.length));
4137
- }
4138
- return _path;
4139
- }(id, alias)), opts.esmResolve) {
4140
- const conditionSets = [["node", "require"], ["node", "import"]];
4141
- for (const conditions of conditionSets) {
3037
+ }
3038
+ function transform4(ctx, topts) {
3039
+ let code = getCache(ctx, topts, () => {
3040
+ const res = ctx.opts.transform({ ...ctx.opts.transformOptions, babel: { ...ctx.opts.sourceMaps ? { sourceFileName: topts.filename, sourceMaps: "inline" } : {}, ...ctx.opts.transformOptions?.babel }, interopDefault: ctx.opts.interopDefault, ...topts });
3041
+ return res.error && ctx.opts.debug && debug2(ctx, res.error), res.code;
3042
+ });
3043
+ return code.startsWith("#!") && (code = "// " + code), code;
3044
+ }
3045
+ function eval_evalModule(ctx, source2, evalOptions = {}) {
3046
+ const id = evalOptions.id || (evalOptions.filename ? basename2(evalOptions.filename) : `_jitiEval.${evalOptions.ext || (evalOptions.async ? "mjs" : "js")}`), filename = evalOptions.filename || jitiResolve(ctx, id, { async: evalOptions.async }), ext = evalOptions.ext || extname5(filename), cache4 = evalOptions.cache || ctx.parentCache || {}, isTypescript = ".ts" === ext || ".mts" === ext || ".cts" === ext, isESM = ".mjs" === ext || ".js" === ext && "module" === function(path13) {
3047
+ for (; path13 && "." !== path13 && "/" !== path13; ) {
3048
+ path13 = join13(path13, "..");
3049
+ try {
3050
+ const pkg = (0, external_node_fs_namespaceObject.readFileSync)(join13(path13, "package.json"), "utf8");
4142
3051
  try {
4143
- resolved = resolvePathSync2(id, { url: _url, conditions, extensions: opts.extensions });
4144
- } catch (error) {
4145
- err = error;
3052
+ return JSON.parse(pkg);
3053
+ } catch {
4146
3054
  }
4147
- if (resolved) return resolved;
4148
- }
4149
- }
4150
- try {
4151
- return nativeRequire.resolve(id, options8);
4152
- } catch (error) {
4153
- err = error;
4154
- }
4155
- for (const ext of _additionalExts) {
4156
- if (resolved = tryResolve(id + ext, options8) || tryResolve(id + "/index" + ext, options8), resolved) return resolved;
4157
- if (TS_EXT_RE.test((null == parentModule ? void 0 : parentModule.filename) || "") && (resolved = tryResolve(id.replace(JS_EXT_RE, ".$1t$2"), options8), resolved)) return resolved;
4158
- }
4159
- throw err;
4160
- };
4161
- function transform3(topts) {
4162
- let code = function(filename, source2, get3) {
4163
- if (!opts.cache || !filename) return get3();
4164
- const sourceHash = ` /* v${opts.cacheVersion}-${md5(source2, 16)} */`, filebase = basename2(pathe_ff20891b_dirname(filename)) + "-" + basename2(filename), cacheFile = join13(opts.cache, filebase + "." + md5(filename) + ".js");
4165
- if ((0, external_fs_.existsSync)(cacheFile)) {
4166
- const cacheSource = (0, external_fs_.readFileSync)(cacheFile, "utf8");
4167
- if (cacheSource.endsWith(sourceHash)) return debug2("[cache hit]", filename, "~>", cacheFile), cacheSource;
4168
- }
4169
- debug2("[cache miss]", filename);
4170
- const result2 = get3();
4171
- return result2.includes("__JITI_ERROR__") || (0, external_fs_.writeFileSync)(cacheFile, result2 + sourceHash, "utf8"), result2;
4172
- }(topts.filename, topts.source, () => {
4173
- var _a4;
4174
- const res = opts.transform(Object.assign(Object.assign(Object.assign({ legacy: opts.legacy }, opts.transformOptions), { babel: Object.assign(Object.assign({}, opts.sourceMaps ? { sourceFileName: topts.filename, sourceMaps: "inline" } : {}), null === (_a4 = opts.transformOptions) || void 0 === _a4 ? void 0 : _a4.babel) }), topts));
4175
- return res.error && opts.debug && debug2(res.error), res.code;
4176
- });
4177
- return code.startsWith("#!") && (code = "// " + code), code;
4178
- }
4179
- function _interopDefault(mod) {
4180
- return opts.interopDefault ? function(sourceModule, opts2 = {}) {
4181
- if (null === (value2 = sourceModule) || "object" != typeof value2 || !("default" in sourceModule)) return sourceModule;
4182
- var value2;
4183
- const defaultValue = sourceModule.default;
4184
- if (null == defaultValue) return sourceModule;
4185
- const _defaultType = typeof defaultValue;
4186
- if ("object" !== _defaultType && ("function" !== _defaultType || opts2.preferNamespace)) return opts2.preferNamespace ? sourceModule : defaultValue;
4187
- for (const key2 in sourceModule) try {
4188
- key2 in defaultValue || Object.defineProperty(defaultValue, key2, { enumerable: "default" !== key2, configurable: "default" !== key2, get: () => sourceModule[key2] });
3055
+ break;
4189
3056
  } catch {
4190
3057
  }
4191
- return defaultValue;
4192
- }(mod) : mod;
4193
- }
4194
- function jiti(id, _importOptions) {
4195
- var _a4, _b;
4196
- const cache4 = parentCache || {};
4197
- if (id.startsWith("node:") ? id = id.slice(5) : id.startsWith("file:") && (id = (0, external_url_namespaceObject.fileURLToPath)(id)), external_module_.builtinModules.includes(id) || ".pnp.js" === id) return nativeRequire(id);
4198
- if (opts.experimentalBun && !opts.transformOptions) try {
4199
- debug2(`[bun] [native] ${id}`);
4200
- const _mod = nativeRequire(id);
4201
- return false === opts.requireCache && delete nativeRequire.cache[id], _interopDefault(_mod);
4202
- } catch (error) {
4203
- debug2(`[bun] Using fallback for ${id} because of an error:`, error);
4204
3058
  }
4205
- const filename = _resolve3(id), ext = extname5(filename);
4206
- if (".json" === ext) {
4207
- debug2("[json]", filename);
4208
- const jsonModule = nativeRequire(id);
4209
- return Object.defineProperty(jsonModule, "default", { value: jsonModule }), jsonModule;
4210
- }
4211
- if (ext && !opts.extensions.includes(ext)) return debug2("[unknown]", filename), nativeRequire(id);
4212
- if (isNativeRe.test(filename)) return debug2("[native]", filename), nativeRequire(id);
4213
- if (cache4[filename] && (true === cache4[filename].loaded || false === (null == parentModule ? void 0 : parentModule.loaded))) return _interopDefault(null === (_a4 = cache4[filename]) || void 0 === _a4 ? void 0 : _a4.exports);
4214
- if (opts.requireCache && nativeRequire.cache[filename]) return _interopDefault(null === (_b = nativeRequire.cache[filename]) || void 0 === _b ? void 0 : _b.exports);
4215
- return evalModule((0, external_fs_.readFileSync)(filename, "utf8"), { id, filename, ext, cache: cache4 });
3059
+ }(filename)?.type, needsTranspile = !(".cjs" === ext) && !(isESM && evalOptions.async) && (isTypescript || isESM || ctx.isTransformRe.test(filename) || hasESMSyntax(source2)), start2 = external_node_perf_hooks_namespaceObject.performance.now();
3060
+ if (needsTranspile) {
3061
+ source2 = transform4(ctx, { filename, source: source2, ts: isTypescript, async: evalOptions.async ?? false });
3062
+ const time = Math.round(1e3 * (external_node_perf_hooks_namespaceObject.performance.now() - start2)) / 1e3;
3063
+ debug2(ctx, "[transpile]", evalOptions.async ? "[esm]" : "[cjs]", filename, `(${time}ms)`);
3064
+ } else try {
3065
+ return debug2(ctx, "[native]", evalOptions.async ? "[import]" : "[require]", filename), nativeImportOrRequire(ctx, filename, evalOptions.async);
3066
+ } catch (error) {
3067
+ debug2(ctx, "Native require error:", error), debug2(ctx, "[fallback]", filename), source2 = transform4(ctx, { filename, source: source2, ts: isTypescript, async: evalOptions.async ?? false });
4216
3068
  }
4217
- function evalModule(source2, evalOptions = {}) {
4218
- var _a4;
4219
- const id = evalOptions.id || (evalOptions.filename ? basename2(evalOptions.filename) : `_jitiEval.${evalOptions.ext || ".js"}`), filename = evalOptions.filename || _resolve3(id), ext = evalOptions.ext || extname5(filename), cache4 = evalOptions.cache || parentCache || {}, isTypescript = ".ts" === ext || ".mts" === ext || ".cts" === ext, isNativeModule = ".mjs" === ext || ".js" === ext && "module" === (null === (_a4 = function(path13) {
4220
- for (; path13 && "." !== path13 && "/" !== path13; ) {
4221
- path13 = join13(path13, "..");
4222
- try {
4223
- const pkg = (0, external_fs_.readFileSync)(join13(path13, "package.json"), "utf8");
4224
- try {
4225
- return JSON.parse(pkg);
4226
- } catch (_a5) {
4227
- }
4228
- break;
4229
- } catch (_b) {
4230
- }
4231
- }
4232
- }(filename)) || void 0 === _a4 ? void 0 : _a4.type), needsTranspile = !(".cjs" === ext) && (isTypescript || isNativeModule || isTransformRe.test(filename) || hasESMSyntax(source2) || opts.legacy && source2.match(/\?\.|\?\?/));
4233
- const start2 = external_perf_hooks_namespaceObject.performance.now();
4234
- if (needsTranspile) {
4235
- source2 = transform3({ filename, source: source2, ts: isTypescript });
4236
- debug2("[transpile]" + (isNativeModule ? " [esm]" : ""), filename, `(${Math.round(1e3 * (external_perf_hooks_namespaceObject.performance.now() - start2)) / 1e3}ms)`);
4237
- } else try {
4238
- return debug2("[native]", filename), _interopDefault(nativeRequire(id));
4239
- } catch (error) {
4240
- debug2("Native require error:", error), debug2("[fallback]", filename), source2 = transform3({ filename, source: source2, ts: isTypescript });
4241
- }
4242
- const mod = new external_module_.Module(filename);
4243
- let compiled;
4244
- mod.filename = filename, parentModule && (mod.parent = parentModule, Array.isArray(parentModule.children) && !parentModule.children.includes(mod) && parentModule.children.push(mod)), mod.require = createJITI(filename, opts, mod, cache4), mod.path = pathe_ff20891b_dirname(filename), mod.paths = external_module_.Module._nodeModulePaths(mod.path), cache4[filename] = mod, opts.requireCache && (nativeRequire.cache[filename] = mod);
4245
- try {
4246
- compiled = external_vm_default().runInThisContext(external_module_.Module.wrap(source2), { filename, lineOffset: 0, displayErrors: false });
4247
- } catch (error) {
4248
- opts.requireCache && delete nativeRequire.cache[filename], opts.onError(error);
4249
- }
4250
- try {
4251
- compiled(mod.exports, mod.require, mod, mod.filename, pathe_ff20891b_dirname(mod.filename));
4252
- } catch (error) {
4253
- opts.requireCache && delete nativeRequire.cache[filename], opts.onError(error);
4254
- }
3069
+ const mod = new external_node_module_namespaceObject.Module(filename);
3070
+ mod.filename = filename, ctx.parentModule && (mod.parent = ctx.parentModule, Array.isArray(ctx.parentModule.children) && !ctx.parentModule.children.includes(mod) && ctx.parentModule.children.push(mod));
3071
+ const _jiti = createJiti2(filename, ctx.opts, { parentModule: mod, parentCache: cache4, nativeImport: ctx.nativeImport, onError: ctx.onError, createRequire: ctx.createRequire }, true);
3072
+ let compiled, evalResult;
3073
+ mod.require = _jiti, mod.path = pathe_ff20891b_dirname(filename), mod.paths = external_node_module_namespaceObject.Module._nodeModulePaths(mod.path), cache4[filename] = mod, ctx.opts.moduleCache && (ctx.nativeRequire.cache[filename] = mod);
3074
+ try {
3075
+ compiled = external_node_vm_default().runInThisContext(function(source3, opts) {
3076
+ return `(${opts?.async ? "async " : ""}function (exports, require, module, __filename, __dirname, jitiImport) { ${source3}
3077
+ });`;
3078
+ }(source2, { async: evalOptions.async }), { filename, lineOffset: 0, displayErrors: false });
3079
+ } catch (error) {
3080
+ ctx.opts.moduleCache && delete ctx.nativeRequire.cache[filename], ctx.onError(error);
3081
+ }
3082
+ try {
3083
+ evalResult = compiled(mod.exports, mod.require, mod, mod.filename, pathe_ff20891b_dirname(mod.filename), _jiti.import);
3084
+ } catch (error) {
3085
+ ctx.opts.moduleCache && delete ctx.nativeRequire.cache[filename], ctx.onError(error);
3086
+ }
3087
+ function next() {
4255
3088
  if (mod.exports && mod.exports.__JITI_ERROR__) {
4256
3089
  const { filename: filename2, line: line3, column: column2, code, message } = mod.exports.__JITI_ERROR__, err = new Error(`${code}: ${message}
4257
3090
  ${`${filename2}:${line3}:${column2}`}`);
4258
- Error.captureStackTrace(err, jiti), opts.onError(err);
3091
+ Error.captureStackTrace(err, jitiRequire), ctx.onError(err);
4259
3092
  }
4260
3093
  mod.loaded = true;
4261
- return _interopDefault(mod.exports);
4262
- }
4263
- return _resolve3.paths = nativeRequire.resolve.paths, jiti.resolve = _resolve3, jiti.cache = opts.requireCache ? nativeRequire.cache : {}, jiti.extensions = nativeRequire.extensions, jiti.main = nativeRequire.main, jiti.transform = transform3, jiti.register = function() {
4264
- return (0, lib.addHook)((source2, filename) => jiti.transform({ source: source2, filename, ts: !!/\.[cm]?ts$/.test(filename) }), { exts: opts.extensions });
4265
- }, jiti.evalModule = evalModule, jiti.import = (id, importOptions) => __awaiter(this, void 0, void 0, function* () {
4266
- return yield jiti(id);
4267
- }), jiti;
3094
+ return jitiInteropDefault(ctx, mod.exports);
3095
+ }
3096
+ return evalOptions.async ? Promise.resolve(evalResult).then(next) : next();
3097
+ }
3098
+ const isWindows = "win32" === (0, external_node_os_namespaceObject.platform)();
3099
+ function createJiti2(filename, userOptions = {}, parentContext, isNested = false) {
3100
+ const opts = isNested ? userOptions : function(userOptions2) {
3101
+ const jitiDefaults = { fsCache: _booleanEnv("JITI_FS_CACHE", _booleanEnv("JITI_CACHE", true)), moduleCache: _booleanEnv("JITI_MODULE_CACHE", _booleanEnv("JITI_REQUIRE_CACHE", true)), debug: _booleanEnv("JITI_DEBUG", false), sourceMaps: _booleanEnv("JITI_SOURCE_MAPS", false), interopDefault: _booleanEnv("JITI_INTEROP_DEFAULT", false), extensions: _jsonEnv("JITI_EXTENSIONS", [".js", ".mjs", ".cjs", ".ts", ".tsx", ".mts", ".cts"]), alias: _jsonEnv("JITI_ALIAS", {}), nativeModules: _jsonEnv("JITI_NATIVE_MODULES", []), transformModules: _jsonEnv("JITI_TRANSFORM_MODULES", []), experimentalBun: _jsonEnv("JITI_EXPERIMENTAL_BUN", !!process.versions.bun) }, deprecatOverrides = {};
3102
+ return void 0 !== userOptions2.cache && (deprecatOverrides.fsCache = userOptions2.cache), void 0 !== userOptions2.requireCache && (deprecatOverrides.moduleCache = userOptions2.requireCache), { ...jitiDefaults, ...deprecatOverrides, ...userOptions2 };
3103
+ }(userOptions), alias = opts.alias && Object.keys(opts.alias).length > 0 ? normalizeAliases(opts.alias || {}) : void 0, nativeModules = ["typescript", "jiti", ...opts.nativeModules || []], isNativeRe = new RegExp(`node_modules/(${nativeModules.map((m5) => escapeStringRegexp2(m5)).join("|")})/`), transformModules = [...opts.transformModules || []], isTransformRe = new RegExp(`node_modules/(${transformModules.map((m5) => escapeStringRegexp2(m5)).join("|")})/`);
3104
+ filename || (filename = process.cwd()), !isNested && isDir(filename) && (filename = join13(filename, "_index.js"));
3105
+ const url2 = (0, external_node_url_namespaceObject.pathToFileURL)(filename), additionalExts = [...opts.extensions].filter((ext) => ".js" !== ext), nativeRequire = parentContext.createRequire(isWindows ? filename.replace(/\//g, "\\") : filename), ctx = { filename, url: url2, opts, alias, nativeModules, transformModules, isNativeRe, isTransformRe, additionalExts, nativeRequire, onError: parentContext.onError, parentModule: parentContext.parentModule, parentCache: parentContext.parentCache, nativeImport: parentContext.nativeImport, createRequire: parentContext.createRequire };
3106
+ isNested || debug2(ctx, "[init]", ...[["version:", package_namespaceObject.rE], ["module-cache:", opts.moduleCache], ["fs-cache:", opts.fsCache], ["interop-defaults:", opts.interopDefault]].flat()), isNested || prepareCacheDir(ctx);
3107
+ const jiti = Object.assign(function(id) {
3108
+ return jitiRequire(ctx, id, { async: false });
3109
+ }, { cache: opts.moduleCache ? nativeRequire.cache : /* @__PURE__ */ Object.create(null), extensions: nativeRequire.extensions, main: nativeRequire.main, resolve: Object.assign(function(path13) {
3110
+ return jitiResolve(ctx, path13, { async: false });
3111
+ }, { paths: nativeRequire.resolve.paths }), transform: (opts2) => transform4(ctx, opts2), evalModule: (source2, options8) => eval_evalModule(ctx, source2, options8), import: async (id, opts2) => await jitiRequire(ctx, id, { ...opts2, async: true }), esmResolve: (id, opts2) => jitiResolve(ctx, id, { ...opts2, async: true }) });
3112
+ return jiti;
4268
3113
  }
4269
3114
  })(), module.exports = __webpack_exports__.default;
4270
3115
  })();
4271
3116
  }
4272
3117
  });
4273
3118
 
4274
- // node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/dist/babel.js
3119
+ // node_modules/.pnpm/jiti@2.0.0-beta.3/node_modules/jiti/dist/babel.cjs
4275
3120
  var require_babel = __commonJS({
4276
- "node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/dist/babel.js"(exports, module) {
3121
+ "node_modules/.pnpm/jiti@2.0.0-beta.3/node_modules/jiti/dist/babel.cjs"(exports, module) {
4277
3122
  (() => {
4278
3123
  var __webpack_modules__ = { "./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js": function(module2, __unused_webpack_exports, __webpack_require__2) {
4279
3124
  module2.exports = function(traceMapping, genMapping) {
@@ -4359,11 +3204,11 @@ Did you specify these with the most recent transformation maps first?`);
4359
3204
  webpackEmptyContext.keys = () => [], webpackEmptyContext.resolve = webpackEmptyContext, webpackEmptyContext.id = "./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive", module2.exports = webpackEmptyContext;
4360
3205
  }, "./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-class-properties/lib/index.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
4361
3206
  "use strict";
4362
- Object.defineProperty(exports2, "__esModule", { value: true }), exports2.default = void 0;
3207
+ exports2.A = void 0;
4363
3208
  var _default2 = (0, __webpack_require__2("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)((api) => (api.assertVersion(7), { name: "syntax-class-properties", manipulateOptions(opts, parserOpts) {
4364
3209
  parserOpts.plugins.push("classProperties", "classPrivateProperties", "classPrivateMethods");
4365
3210
  } }));
4366
- exports2.default = _default2;
3211
+ exports2.A = _default2;
4367
3212
  }, "./node_modules/.pnpm/@babel+plugin-syntax-export-namespace-from@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
4368
3213
  "use strict";
4369
3214
  exports2.A = void 0;
@@ -4371,20 +3216,6 @@ Did you specify these with the most recent transformation maps first?`);
4371
3216
  parserOpts.plugins.push("exportNamespaceFrom");
4372
3217
  } }));
4373
3218
  exports2.A = _default2;
4374
- }, "./node_modules/.pnpm/@babel+plugin-syntax-nullish-coalescing-operator@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
4375
- "use strict";
4376
- exports2.A = void 0;
4377
- var _default2 = (0, __webpack_require__2("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)((api) => (api.assertVersion(7), { name: "syntax-nullish-coalescing-operator", manipulateOptions(opts, parserOpts) {
4378
- parserOpts.plugins.push("nullishCoalescingOperator");
4379
- } }));
4380
- exports2.A = _default2;
4381
- }, "./node_modules/.pnpm/@babel+plugin-syntax-optional-chaining@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
4382
- "use strict";
4383
- exports2.A = void 0;
4384
- var _default2 = (0, __webpack_require__2("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)((api) => (api.assertVersion(7), { name: "syntax-optional-chaining", manipulateOptions(opts, parserOpts) {
4385
- parserOpts.plugins.push("optionalChaining");
4386
- } }));
4387
- exports2.A = _default2;
4388
3219
  }, "./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.5/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js": function(__unused_webpack_module, exports2, __webpack_require__2) {
4389
3220
  !function(exports3, setArray, sourcemapCodec, traceMapping) {
4390
3221
  "use strict";
@@ -4964,55 +3795,6 @@ Did you specify these with the most recent transformation maps first?`);
4964
3795
  }
4965
3796
  exports3.AnyMap = AnyMap, exports3.GREATEST_LOWER_BOUND = GREATEST_LOWER_BOUND, exports3.LEAST_UPPER_BOUND = LEAST_UPPER_BOUND, exports3.TraceMap = TraceMap, exports3.allGeneratedPositionsFor = allGeneratedPositionsFor, exports3.decodedMap = decodedMap, exports3.decodedMappings = decodedMappings, exports3.eachMapping = eachMapping, exports3.encodedMap = encodedMap, exports3.encodedMappings = encodedMappings, exports3.generatedPositionFor = generatedPositionFor, exports3.isIgnored = isIgnored2, exports3.originalPositionFor = originalPositionFor, exports3.presortedDecodedMap = presortedDecodedMap, exports3.sourceContentFor = sourceContentFor, exports3.traceSegment = traceSegment;
4966
3797
  }(exports2, __webpack_require__2("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"), __webpack_require__2("./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js"));
4967
- }, "./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/index.js": (module2, exports2, __webpack_require__2) => {
4968
- "use strict";
4969
- Object.defineProperty(exports2, "__esModule", { value: true }), exports2.default = function(api) {
4970
- var transformImport = (0, _utils.createDynamicImportTransform)(api);
4971
- return { manipulateOptions: function(opts, parserOpts) {
4972
- parserOpts.plugins.push("dynamicImport");
4973
- }, visitor: { Import: function(path13) {
4974
- transformImport(this, path13);
4975
- } } };
4976
- };
4977
- var _utils = __webpack_require__2("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js");
4978
- module2.exports = exports2.default;
4979
- }, "./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js": (__unused_webpack_module, exports2) => {
4980
- "use strict";
4981
- Object.defineProperty(exports2, "__esModule", { value: true });
4982
- var _slicedToArray = function(arr, i4) {
4983
- if (Array.isArray(arr)) return arr;
4984
- if (Symbol.iterator in Object(arr)) return function(arr2, i5) {
4985
- var _arr = [], _n7 = true, _d = false, _e13 = void 0;
4986
- try {
4987
- for (var _s7, _i7 = arr2[Symbol.iterator](); !(_n7 = (_s7 = _i7.next()).done) && (_arr.push(_s7.value), !i5 || _arr.length !== i5); _n7 = true) ;
4988
- } catch (err) {
4989
- _d = true, _e13 = err;
4990
- } finally {
4991
- try {
4992
- !_n7 && _i7.return && _i7.return();
4993
- } finally {
4994
- if (_d) throw _e13;
4995
- }
4996
- }
4997
- return _arr;
4998
- }(arr, i4);
4999
- throw new TypeError("Invalid attempt to destructure non-iterable instance");
5000
- };
5001
- function getImportSource(t14, callNode) {
5002
- var importArguments = callNode.arguments, importPath = _slicedToArray(importArguments, 1)[0];
5003
- return t14.isStringLiteral(importPath) || t14.isTemplateLiteral(importPath) ? (t14.removeComments(importPath), importPath) : t14.templateLiteral([t14.templateElement({ raw: "", cooked: "" }), t14.templateElement({ raw: "", cooked: "" }, true)], importArguments);
5004
- }
5005
- exports2.getImportSource = getImportSource, exports2.createDynamicImportTransform = function(_ref) {
5006
- var template2 = _ref.template, t14 = _ref.types, builders2 = { static: { interop: template2("Promise.resolve().then(() => INTEROP(require(SOURCE)))"), noInterop: template2("Promise.resolve().then(() => require(SOURCE))") }, dynamic: { interop: template2("Promise.resolve(SOURCE).then(s => INTEROP(require(s)))"), noInterop: template2("Promise.resolve(SOURCE).then(s => require(s))") } }, visited = "function" == typeof WeakSet && /* @__PURE__ */ new WeakSet();
5007
- return function(context, path13) {
5008
- if (visited) {
5009
- if (visited.has(path13)) return;
5010
- visited.add(path13);
5011
- }
5012
- var node, SOURCE = getImportSource(t14, path13.parent), builder = (node = SOURCE, t14.isStringLiteral(node) || t14.isTemplateLiteral(node) && 0 === node.expressions.length ? builders2.static : builders2.dynamic), newImport = context.opts.noInterop ? builder.noInterop({ SOURCE }) : builder.interop({ SOURCE, INTEROP: context.addHelper("interopRequireWildcard") });
5013
- path13.parentPath.replaceWith(newImport);
5014
- };
5015
- };
5016
3798
  }, "./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js": (module2, __unused_webpack_exports, __webpack_require__2) => {
5017
3799
  "use strict";
5018
3800
  var _path = __webpack_require__2("path");
@@ -5308,14 +4090,14 @@ Did you specify these with the most recent transformation maps first?`);
5308
4090
  }
5309
4091
  }, "./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
5310
4092
  "use strict";
5311
- Object.defineProperty(exports2, "__esModule", { value: true }), exports2.default = void 0;
4093
+ exports2.A = void 0;
5312
4094
  var _helperPluginUtils = __webpack_require__2("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"), _parameterVisitor = __webpack_require__2("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js"), _metadataVisitor = __webpack_require__2("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js"), _default2 = (0, _helperPluginUtils.declare)((api) => (api.assertVersion(7), { visitor: { Program(programPath) {
5313
4095
  programPath.traverse({ ClassDeclaration(path13) {
5314
4096
  for (const field of path13.get("body").get("body")) "ClassMethod" !== field.type && "ClassProperty" !== field.type || ((0, _parameterVisitor.parameterVisitor)(path13, field), (0, _metadataVisitor.metadataVisitor)(path13, field));
5315
4097
  path13.parentPath.scope.crawl();
5316
4098
  } });
5317
4099
  } } }));
5318
- exports2.default = _default2;
4100
+ exports2.A = _default2;
5319
4101
  }, "./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js": (__unused_webpack_module, exports2) => {
5320
4102
  "use strict";
5321
4103
  var decodeBase64;
@@ -6381,18 +5163,6 @@ Did you specify these with the most recent transformation maps first?`);
6381
5163
  FastObject(), module2.exports = function(o2) {
6382
5164
  return FastObject(o2);
6383
5165
  };
6384
- }, "./stubs/babel-codeframe.js": (__unused_webpack_module, __webpack_exports__2, __webpack_require__2) => {
6385
- "use strict";
6386
- function codeFrameColumns() {
6387
- return "";
6388
- }
6389
- __webpack_require__2.r(__webpack_exports__2), __webpack_require__2.d(__webpack_exports__2, { codeFrameColumns: () => codeFrameColumns });
6390
- }, "./stubs/helper-compilation-targets.js": (__unused_webpack_module, __webpack_exports__2, __webpack_require__2) => {
6391
- "use strict";
6392
- function getTargets() {
6393
- return {};
6394
- }
6395
- __webpack_require__2.r(__webpack_exports__2), __webpack_require__2.d(__webpack_exports__2, { default: () => getTargets });
6396
5166
  }, assert: (module2) => {
6397
5167
  "use strict";
6398
5168
  module2.exports = __require("assert");
@@ -7760,7 +6530,7 @@ ${yield* Formatter.optionsAndDescriptors(config2.content)}`;
7760
6530
  }, data2;
7761
6531
  }
7762
6532
  function _helperCompilationTargets() {
7763
- const data2 = __webpack_require__2("./stubs/helper-compilation-targets.js");
6533
+ const data2 = __webpack_require__2("./stubs/helper-compilation-targets.mjs");
7764
6534
  return _helperCompilationTargets = function() {
7765
6535
  return data2;
7766
6536
  }, data2;
@@ -7798,7 +6568,7 @@ ${yield* Formatter.optionsAndDescriptors(config2.content)}`;
7798
6568
  }, "./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/option-assertions.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
7799
6569
  "use strict";
7800
6570
  function _helperCompilationTargets() {
7801
- const data2 = __webpack_require__2("./stubs/helper-compilation-targets.js");
6571
+ const data2 = __webpack_require__2("./stubs/helper-compilation-targets.mjs");
7802
6572
  return _helperCompilationTargets = function() {
7803
6573
  return data2;
7804
6574
  }, data2;
@@ -8364,7 +7134,7 @@ To be a valid ${type2}, its name and options should be wrapped in a pair of brac
8364
7134
  }, data2;
8365
7135
  }
8366
7136
  function _codeFrame() {
8367
- const data2 = __webpack_require__2("./stubs/babel-codeframe.js");
7137
+ const data2 = __webpack_require__2("./stubs/babel-codeframe.mjs");
8368
7138
  return _codeFrame = function() {
8369
7139
  return data2;
8370
7140
  }, data2;
@@ -8637,7 +7407,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
8637
7407
  }, data2;
8638
7408
  }
8639
7409
  function _codeFrame() {
8640
- const data2 = __webpack_require__2("./stubs/babel-codeframe.js");
7410
+ const data2 = __webpack_require__2("./stubs/babel-codeframe.mjs");
8641
7411
  return _codeFrame = function() {
8642
7412
  return data2;
8643
7413
  }, data2;
@@ -20558,9 +19328,9 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
20558
19328
  }, exports2.tokTypes = tokTypes;
20559
19329
  }, "./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-proposal-decorators/lib/index.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
20560
19330
  "use strict";
20561
- Object.defineProperty(exports2, "__esModule", { value: true }), exports2.default = void 0;
19331
+ exports2.A = void 0;
20562
19332
  var _helperPluginUtils = __webpack_require__2("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"), _pluginSyntaxDecorators = __webpack_require__2("./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-decorators/lib/index.js"), _helperCreateClassFeaturesPlugin = __webpack_require__2("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"), _transformerLegacy = __webpack_require__2("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js");
20563
- exports2.default = (0, _helperPluginUtils.declare)((api, options8) => {
19333
+ exports2.A = (0, _helperPluginUtils.declare)((api, options8) => {
20564
19334
  api.assertVersion(7);
20565
19335
  var { legacy } = options8;
20566
19336
  const { version: version2 } = options8;
@@ -20677,9 +19447,9 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
20677
19447
  });
20678
19448
  }, "./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
20679
19449
  "use strict";
20680
- Object.defineProperty(exports2, "__esModule", { value: true }), exports2.default = void 0;
19450
+ exports2.A = void 0;
20681
19451
  var _helperPluginUtils = __webpack_require__2("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js");
20682
- exports2.default = (0, _helperPluginUtils.declare)((api) => (api.assertVersion(7), { name: "syntax-import-assertions", manipulateOptions(opts, parserOpts) {
19452
+ exports2.A = (0, _helperPluginUtils.declare)((api) => (api.assertVersion(7), { name: "syntax-import-assertions", manipulateOptions(opts, parserOpts) {
20683
19453
  parserOpts.plugins.push("importAssertions");
20684
19454
  } }));
20685
19455
  }, "./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-jsx/lib/index.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
@@ -20713,9 +19483,9 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
20713
19483
  });
20714
19484
  }, "./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
20715
19485
  "use strict";
20716
- Object.defineProperty(exports2, "__esModule", { value: true }), exports2.default = void 0;
19486
+ exports2.A = void 0;
20717
19487
  var _helperPluginUtils = __webpack_require__2("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"), _core = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");
20718
- exports2.default = (0, _helperPluginUtils.declare)((api) => (api.assertVersion(7), { name: "transform-export-namespace-from", inherits: "8" === api.version[0] ? void 0 : __webpack_require__2("./node_modules/.pnpm/@babel+plugin-syntax-export-namespace-from@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js").A, visitor: { ExportNamedDeclaration(path13) {
19488
+ exports2.A = (0, _helperPluginUtils.declare)((api) => (api.assertVersion(7), { name: "transform-export-namespace-from", inherits: "8" === api.version[0] ? void 0 : __webpack_require__2("./node_modules/.pnpm/@babel+plugin-syntax-export-namespace-from@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js").A, visitor: { ExportNamedDeclaration(path13) {
20719
19489
  var _exported$name;
20720
19490
  const { node, scope } = path13, { specifiers } = node, index = _core.types.isExportDefaultSpecifier(specifiers[0]) ? 1 : 0;
20721
19491
  if (!_core.types.isExportNamespaceSpecifier(specifiers[index])) return;
@@ -20855,118 +19625,6 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
20855
19625
  }, wrapReference(ref2, payload) {
20856
19626
  if ("lazy/function" === payload) return _core.types.callExpression(ref2, []);
20857
19627
  } });
20858
- }, "./node_modules/.pnpm/@babel+plugin-transform-nullish-coalescing-operator@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
20859
- "use strict";
20860
- Object.defineProperty(exports2, "__esModule", { value: true }), exports2.default = void 0;
20861
- var _helperPluginUtils = __webpack_require__2("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"), _core = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");
20862
- exports2.default = (0, _helperPluginUtils.declare)((api, { loose = false }) => {
20863
- var _api$assumption;
20864
- api.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");
20865
- const noDocumentAll = null != (_api$assumption = api.assumption("noDocumentAll")) ? _api$assumption : loose;
20866
- return { name: "transform-nullish-coalescing-operator", inherits: "8" === api.version[0] ? void 0 : __webpack_require__2("./node_modules/.pnpm/@babel+plugin-syntax-nullish-coalescing-operator@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js").A, visitor: { LogicalExpression(path13) {
20867
- const { node, scope } = path13;
20868
- if ("??" !== node.operator) return;
20869
- let ref2, assignment;
20870
- if (scope.isStatic(node.left)) ref2 = node.left, assignment = _core.types.cloneNode(node.left);
20871
- else {
20872
- if (scope.path.isPattern()) return void path13.replaceWith(_core.template.statement.ast`(() => ${path13.node})()`);
20873
- ref2 = scope.generateUidIdentifierBasedOnNode(node.left), scope.push({ id: _core.types.cloneNode(ref2) }), assignment = _core.types.assignmentExpression("=", ref2, node.left);
20874
- }
20875
- path13.replaceWith(_core.types.conditionalExpression(noDocumentAll ? _core.types.binaryExpression("!=", assignment, _core.types.nullLiteral()) : _core.types.logicalExpression("&&", _core.types.binaryExpression("!==", assignment, _core.types.nullLiteral()), _core.types.binaryExpression("!==", _core.types.cloneNode(ref2), scope.buildUndefinedNode())), _core.types.cloneNode(ref2), node.right));
20876
- } } };
20877
- });
20878
- }, "./node_modules/.pnpm/@babel+plugin-transform-optional-chaining@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
20879
- "use strict";
20880
- Object.defineProperty(exports2, "__esModule", { value: true });
20881
- var helperPluginUtils = __webpack_require__2("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"), core2 = __webpack_require__2("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"), helperSkipTransparentExpressionWrappers = __webpack_require__2("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.24.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js");
20882
- function willPathCastToBoolean(path13) {
20883
- const maybeWrapped = findOutermostTransparentParent(path13), { node, parentPath } = maybeWrapped;
20884
- if (parentPath.isLogicalExpression()) {
20885
- const { operator, right: right2 } = parentPath.node;
20886
- if ("&&" === operator || "||" === operator || "??" === operator && node === right2) return willPathCastToBoolean(parentPath);
20887
- }
20888
- if (parentPath.isSequenceExpression()) {
20889
- const { expressions } = parentPath.node;
20890
- return expressions[expressions.length - 1] !== node || willPathCastToBoolean(parentPath);
20891
- }
20892
- return parentPath.isConditional({ test: node }) || parentPath.isUnaryExpression({ operator: "!" }) || parentPath.isLoop({ test: node });
20893
- }
20894
- function findOutermostTransparentParent(path13) {
20895
- let maybeWrapped = path13;
20896
- return path13.findParent((p4) => {
20897
- if (!helperSkipTransparentExpressionWrappers.isTransparentExprWrapper(p4.node)) return true;
20898
- maybeWrapped = p4;
20899
- }), maybeWrapped;
20900
- }
20901
- const last2 = (arr) => arr[arr.length - 1];
20902
- function isSimpleMemberExpression(expression) {
20903
- return expression = helperSkipTransparentExpressionWrappers.skipTransparentExprWrapperNodes(expression), core2.types.isIdentifier(expression) || core2.types.isSuper(expression) || core2.types.isMemberExpression(expression) && !expression.computed && isSimpleMemberExpression(expression.object);
20904
- }
20905
- const NULLISH_CHECK = core2.template.expression("%%check%% === null || %%ref%% === void 0"), NULLISH_CHECK_NO_DDA = core2.template.expression("%%check%% == null"), NULLISH_CHECK_NEG = core2.template.expression("%%check%% !== null && %%ref%% !== void 0"), NULLISH_CHECK_NO_DDA_NEG = core2.template.expression("%%check%% != null");
20906
- function transformOptionalChain(path13, { pureGetters, noDocumentAll }, replacementPath, ifNullish, wrapLast) {
20907
- const { scope } = path13;
20908
- if (scope.path.isPattern() && function(path14) {
20909
- let optionalPath2 = path14;
20910
- const { scope: scope2 } = path14;
20911
- for (; optionalPath2.isOptionalMemberExpression() || optionalPath2.isOptionalCallExpression(); ) {
20912
- const { node } = optionalPath2, childPath = helperSkipTransparentExpressionWrappers.skipTransparentExprWrappers(optionalPath2.isOptionalMemberExpression() ? optionalPath2.get("object") : optionalPath2.get("callee"));
20913
- if (node.optional) return !scope2.isStatic(childPath.node);
20914
- optionalPath2 = childPath;
20915
- }
20916
- }(path13)) return void replacementPath.replaceWith(core2.template.expression.ast`(() => ${replacementPath.node})()`);
20917
- const optionals = [];
20918
- let optionalPath = path13;
20919
- for (; optionalPath.isOptionalMemberExpression() || optionalPath.isOptionalCallExpression(); ) {
20920
- const { node } = optionalPath;
20921
- node.optional && optionals.push(node), optionalPath.isOptionalMemberExpression() ? (optionalPath.node.type = "MemberExpression", optionalPath = helperSkipTransparentExpressionWrappers.skipTransparentExprWrappers(optionalPath.get("object"))) : optionalPath.isOptionalCallExpression() && (optionalPath.node.type = "CallExpression", optionalPath = helperSkipTransparentExpressionWrappers.skipTransparentExprWrappers(optionalPath.get("callee")));
20922
- }
20923
- if (0 === optionals.length) return;
20924
- const checks = [];
20925
- let tmpVar;
20926
- for (let i4 = optionals.length - 1; i4 >= 0; i4--) {
20927
- const node = optionals[i4], isCall = core2.types.isCallExpression(node), chainWithTypes = isCall ? node.callee : node.object, chain2 = helperSkipTransparentExpressionWrappers.skipTransparentExprWrapperNodes(chainWithTypes);
20928
- let ref2, check3;
20929
- if (isCall && core2.types.isIdentifier(chain2, { name: "eval" }) ? (check3 = ref2 = chain2, node.callee = core2.types.sequenceExpression([core2.types.numericLiteral(0), ref2])) : pureGetters && isCall && isSimpleMemberExpression(chain2) ? check3 = ref2 = node.callee : scope.isStatic(chain2) ? check3 = ref2 = chainWithTypes : (tmpVar && !isCall || (tmpVar = scope.generateUidIdentifierBasedOnNode(chain2), scope.push({ id: core2.types.cloneNode(tmpVar) })), ref2 = tmpVar, check3 = core2.types.assignmentExpression("=", core2.types.cloneNode(tmpVar), chainWithTypes), isCall ? node.callee = ref2 : node.object = ref2), isCall && core2.types.isMemberExpression(chain2)) if (pureGetters && isSimpleMemberExpression(chain2)) node.callee = chainWithTypes;
20930
- else {
20931
- const { object: object2 } = chain2;
20932
- let context;
20933
- if (core2.types.isSuper(object2)) context = core2.types.thisExpression();
20934
- else {
20935
- const memoized = scope.maybeGenerateMemoised(object2);
20936
- memoized ? (context = memoized, chain2.object = core2.types.assignmentExpression("=", memoized, object2)) : context = object2;
20937
- }
20938
- node.arguments.unshift(core2.types.cloneNode(context)), node.callee = core2.types.memberExpression(node.callee, core2.types.identifier("call"));
20939
- }
20940
- const data2 = { check: core2.types.cloneNode(check3), ref: core2.types.cloneNode(ref2) };
20941
- Object.defineProperty(data2, "ref", { enumerable: false }), checks.push(data2);
20942
- }
20943
- let result2 = replacementPath.node;
20944
- wrapLast && (result2 = wrapLast(result2));
20945
- const ifNullishBoolean = core2.types.isBooleanLiteral(ifNullish), ifNullishFalse = ifNullishBoolean && false === ifNullish.value, ifNullishVoid = !ifNullishBoolean && core2.types.isUnaryExpression(ifNullish, { operator: "void" }), isEvaluationValueIgnored = core2.types.isExpressionStatement(replacementPath.parent) && !replacementPath.isCompletionRecord() || core2.types.isSequenceExpression(replacementPath.parent) && last2(replacementPath.parent.expressions) !== replacementPath.node, tpl = ifNullishFalse ? noDocumentAll ? NULLISH_CHECK_NO_DDA_NEG : NULLISH_CHECK_NEG : noDocumentAll ? NULLISH_CHECK_NO_DDA : NULLISH_CHECK, logicalOp = ifNullishFalse ? "&&" : "||", check2 = checks.map(tpl).reduce((expr, check3) => core2.types.logicalExpression(logicalOp, expr, check3));
20946
- replacementPath.replaceWith(ifNullishBoolean || ifNullishVoid && isEvaluationValueIgnored ? core2.types.logicalExpression(logicalOp, check2, result2) : core2.types.conditionalExpression(check2, ifNullish, result2));
20947
- }
20948
- function transform3(path13, assumptions) {
20949
- const { scope } = path13, maybeWrapped = findOutermostTransparentParent(path13), { parentPath } = maybeWrapped;
20950
- if (parentPath.isUnaryExpression({ operator: "delete" })) transformOptionalChain(path13, assumptions, parentPath, core2.types.booleanLiteral(true));
20951
- else {
20952
- let wrapLast;
20953
- parentPath.isCallExpression({ callee: maybeWrapped.node }) && path13.isOptionalMemberExpression() && (wrapLast = (replacement) => {
20954
- var _baseRef;
20955
- const object2 = helperSkipTransparentExpressionWrappers.skipTransparentExprWrapperNodes(replacement.object);
20956
- let baseRef;
20957
- return assumptions.pureGetters && isSimpleMemberExpression(object2) || (baseRef = scope.maybeGenerateMemoised(object2), baseRef && (replacement.object = core2.types.assignmentExpression("=", baseRef, object2))), core2.types.callExpression(core2.types.memberExpression(replacement, core2.types.identifier("bind")), [core2.types.cloneNode(null != (_baseRef = baseRef) ? _baseRef : object2)]);
20958
- }), transformOptionalChain(path13, assumptions, path13, willPathCastToBoolean(maybeWrapped) ? core2.types.booleanLiteral(false) : scope.buildUndefinedNode(), wrapLast);
20959
- }
20960
- }
20961
- var index = helperPluginUtils.declare((api, options8) => {
20962
- var _api$assumption, _api$assumption2;
20963
- api.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");
20964
- const { loose = false } = options8, noDocumentAll = null != (_api$assumption = api.assumption("noDocumentAll")) ? _api$assumption : loose, pureGetters = null != (_api$assumption2 = api.assumption("pureGetters")) ? _api$assumption2 : loose;
20965
- return { name: "transform-optional-chaining", inherits: "8" === api.version[0] ? void 0 : __webpack_require__2("./node_modules/.pnpm/@babel+plugin-syntax-optional-chaining@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js").A, visitor: { "OptionalCallExpression|OptionalMemberExpression"(path13) {
20966
- transform3(path13, { noDocumentAll, pureGetters });
20967
- } } };
20968
- });
20969
- exports2.default = index, exports2.transform = transform3, exports2.transformOptionalChain = transformOptionalChain;
20970
19628
  }, "./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
20971
19629
  "use strict";
20972
19630
  Object.defineProperty(exports2, "__esModule", { value: true }), exports2.default = function(path13, t14) {
@@ -21662,7 +20320,7 @@ ${str2}
21662
20320
  const state = { syntactic: { placeholders: [], placeholderNames: /* @__PURE__ */ new Set() }, legacy: { placeholders: [], placeholderNames: /* @__PURE__ */ new Set() }, placeholderWhitelist, placeholderPattern, syntacticPlaceholders };
21663
20321
  return traverse(ast, placeholderVisitorHandler, state), Object.assign({ ast }, state.syntactic.placeholders.length ? state.syntactic : state.legacy);
21664
20322
  };
21665
- var _t8 = __webpack_require__2("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"), _parser = __webpack_require__2("./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js"), _codeFrame = __webpack_require__2("./stubs/babel-codeframe.js");
20323
+ var _t8 = __webpack_require__2("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"), _parser = __webpack_require__2("./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js"), _codeFrame = __webpack_require__2("./stubs/babel-codeframe.mjs");
21666
20324
  const { isCallExpression, isExpressionStatement, isFunction: isFunction2, isIdentifier, isJSXIdentifier, isNewExpression, isPlaceholder, isStatement, isStringLiteral, removePropertiesDeep, traverse } = _t8, PATTERN = /^[_$A-Z0-9]+$/;
21667
20325
  function placeholderVisitorHandler(node, ancestors, state) {
21668
20326
  var _state$placeholderWhi;
@@ -21750,7 +20408,7 @@ ${str2}
21750
20408
  clearPath(), clearScope();
21751
20409
  }, exports2.clearPath = clearPath, exports2.clearScope = clearScope, exports2.getCachedPaths = function(hub, parent) {
21752
20410
  var _pathsCache$get;
21753
- return null, null == (_pathsCache$get = pathsCache.get(false ? null : nullHub)) ? void 0 : _pathsCache$get.get(parent);
20411
+ return null == (_pathsCache$get = pathsCache.get(false ? null : nullHub)) ? void 0 : _pathsCache$get.get(parent);
21754
20412
  }, exports2.getOrCreateCachedPaths = function(hub, parent) {
21755
20413
  null;
21756
20414
  let parents = pathsCache.get(false ? null : nullHub);
@@ -23516,7 +22174,7 @@ ${str2}
23516
22174
  const expressionAST = ast.program.body[0].expression;
23517
22175
  return _index.default.removeProperties(expressionAST), this.replaceWith(expressionAST);
23518
22176
  };
23519
- var _codeFrame = __webpack_require__2("./stubs/babel-codeframe.js"), _index = __webpack_require__2("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js"), _index2 = __webpack_require__2("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"), _cache2 = __webpack_require__2("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"), _parser = __webpack_require__2("./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js"), _t8 = __webpack_require__2("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"), _helperHoistVariables = __webpack_require__2("./node_modules/.pnpm/@babel+helper-hoist-variables@7.24.7/node_modules/@babel/helper-hoist-variables/lib/index.js");
22177
+ var _codeFrame = __webpack_require__2("./stubs/babel-codeframe.mjs"), _index = __webpack_require__2("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js"), _index2 = __webpack_require__2("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"), _cache2 = __webpack_require__2("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"), _parser = __webpack_require__2("./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js"), _t8 = __webpack_require__2("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"), _helperHoistVariables = __webpack_require__2("./node_modules/.pnpm/@babel+helper-hoist-variables@7.24.7/node_modules/@babel/helper-hoist-variables/lib/index.js");
23520
22178
  const { FUNCTION_TYPES, arrowFunctionExpression, assignmentExpression, awaitExpression, blockStatement, buildUndefinedNode, callExpression, cloneNode, conditionalExpression, expressionStatement, getBindingIdentifiers, identifier, inheritLeadingComments, inheritTrailingComments, inheritsComments, isBlockStatement, isEmptyStatement, isExpression, isExpressionStatement, isIfStatement, isProgram, isStatement, isVariableDeclaration, removeComments, returnStatement, sequenceExpression, validate, yieldExpression } = _t8;
23521
22179
  function gatherSequenceExpressions(nodes, declars) {
23522
22180
  const exprs = [];
@@ -29529,6 +28187,18 @@ ${trace2}`);
29529
28187
  }
29530
28188
  } };
29531
28189
  const __WEBPACK_DEFAULT_EXPORT__ = JSON5;
28190
+ }, "./stubs/babel-codeframe.mjs": (__unused_webpack___webpack_module__, __webpack_exports__2, __webpack_require__2) => {
28191
+ "use strict";
28192
+ function codeFrameColumns() {
28193
+ return "";
28194
+ }
28195
+ __webpack_require__2.r(__webpack_exports__2), __webpack_require__2.d(__webpack_exports__2, { codeFrameColumns: () => codeFrameColumns });
28196
+ }, "./stubs/helper-compilation-targets.mjs": (__unused_webpack___webpack_module__, __webpack_exports__2, __webpack_require__2) => {
28197
+ "use strict";
28198
+ function getTargets() {
28199
+ return {};
28200
+ }
28201
+ __webpack_require__2.r(__webpack_exports__2), __webpack_require__2.d(__webpack_exports__2, { default: () => getTargets });
29532
28202
  }, "./node_modules/.pnpm/@babel+preset-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/preset-typescript/package.json": (module2) => {
29533
28203
  "use strict";
29534
28204
  module2.exports = JSON.parse('{"name":"@babel/preset-typescript","version":"7.24.7","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.24.7","@babel/helper-validator-option":"^7.24.7","@babel/plugin-syntax-jsx":"^7.24.7","@babel/plugin-transform-modules-commonjs":"^7.24.7","@babel/plugin-transform-typescript":"^7.24.7"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.24.7","@babel/helper-plugin-test-runner":"^7.24.7"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs"}');
@@ -29542,7 +28212,10 @@ ${trace2}`);
29542
28212
  var module2 = __webpack_module_cache__[moduleId] = { exports: {} };
29543
28213
  return __webpack_modules__[moduleId].call(module2.exports, module2, module2.exports, __webpack_require__), module2.exports;
29544
28214
  }
29545
- __webpack_require__.d = (exports2, definition) => {
28215
+ __webpack_require__.n = (module2) => {
28216
+ var getter = module2 && module2.__esModule ? () => module2.default : () => module2;
28217
+ return __webpack_require__.d(getter, { a: getter }), getter;
28218
+ }, __webpack_require__.d = (exports2, definition) => {
29546
28219
  for (var key2 in definition) __webpack_require__.o(definition, key2) && !__webpack_require__.o(exports2, key2) && Object.defineProperty(exports2, key2, { enumerable: true, get: definition[key2] });
29547
28220
  }, __webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop), __webpack_require__.r = (exports2) => {
29548
28221
  "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(exports2, "__esModule", { value: true });
@@ -29550,15 +28223,17 @@ ${trace2}`);
29550
28223
  var __webpack_exports__ = {};
29551
28224
  (() => {
29552
28225
  "use strict";
29553
- __webpack_require__.d(__webpack_exports__, { default: () => transform3 });
29554
- var lib = __webpack_require__("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"), external_url_ = __webpack_require__("url"), template_lib = __webpack_require__("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js");
28226
+ __webpack_require__.d(__webpack_exports__, { default: () => transform4 });
28227
+ var lib = __webpack_require__("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");
28228
+ const external_node_url_namespaceObject = __require("node:url");
28229
+ var template_lib = __webpack_require__("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js");
29555
28230
  function TransformImportMetaPlugin(_ctx, opts) {
29556
28231
  return { name: "transform-import-meta", visitor: { Program(path13) {
29557
28232
  const metas = [];
29558
28233
  if (path13.traverse({ MemberExpression(memberExpPath) {
29559
28234
  const { node } = memberExpPath;
29560
28235
  "MetaProperty" === node.object.type && "import" === node.object.meta.name && "meta" === node.object.property.name && "Identifier" === node.property.type && "url" === node.property.name && metas.push(memberExpPath);
29561
- } }), 0 !== metas.length) for (const meta of metas) meta.replaceWith(template_lib.smart.ast`${opts.filename ? JSON.stringify((0, external_url_.pathToFileURL)(opts.filename)) : "require('url').pathToFileURL(__filename).toString()"}`);
28236
+ } }), 0 !== metas.length) for (const meta of metas) meta.replaceWith(template_lib.smart.ast`${opts.filename ? JSON.stringify((0, external_node_url_namespaceObject.pathToFileURL)(opts.filename)) : "require('url').pathToFileURL(__filename).toString()"}`);
29562
28237
  } } };
29563
28238
  }
29564
28239
  function importMetaEnvPlugin({ template: template2, types: types2 }) {
@@ -29572,14 +28247,124 @@ ${trace2}`);
29572
28247
  "import" === parentNodeObjMeta.meta.name && "meta" === parentNodeObjMeta.property.name && "env" === parentNode.property.name && path13.parentPath.replaceWith(template2.expression.ast("process.env"));
29573
28248
  } } };
29574
28249
  }
29575
- function transform3(opts) {
29576
- var _a4, _b, _c2, _d, _e13, _f;
29577
- const _opts = Object.assign(Object.assign({ babelrc: false, configFile: false, compact: false, retainLines: "boolean" != typeof opts.retainLines || opts.retainLines, filename: "", cwd: "/" }, opts.babel), { plugins: [[__webpack_require__("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"), { allowTopLevelThis: true }], [__webpack_require__("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/index.js"), { noInterop: true }], [TransformImportMetaPlugin, { filename: opts.filename }], [__webpack_require__("./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-class-properties/lib/index.js")], [__webpack_require__("./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js")], [importMetaEnvPlugin]] });
29578
- opts.ts && (_opts.plugins.push([__webpack_require__("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/index.js"), { allowDeclareFields: true }]), _opts.plugins.unshift([__webpack_require__("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js")], [__webpack_require__("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-proposal-decorators/lib/index.js"), { legacy: true }]), _opts.plugins.push(__webpack_require__("./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js")), _opts.plugins.push(__webpack_require__("./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js"))), opts.legacy && (_opts.plugins.push(__webpack_require__("./node_modules/.pnpm/@babel+plugin-transform-nullish-coalescing-operator@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js")), _opts.plugins.push(__webpack_require__("./node_modules/.pnpm/@babel+plugin-transform-optional-chaining@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js"))), opts.babel && Array.isArray(opts.babel.plugins) && (null === (_a4 = _opts.plugins) || void 0 === _a4 || _a4.push(...opts.babel.plugins));
28250
+ var helper_plugin_utils_lib = __webpack_require__("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"), helper_module_transforms_lib = __webpack_require__("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/index.js"), helper_simple_access_lib = __webpack_require__("./node_modules/.pnpm/@babel+helper-simple-access@7.24.7/node_modules/@babel/helper-simple-access/lib/index.js");
28251
+ function transformDynamicImport(path13, noInterop, file) {
28252
+ path13.replaceWith((0, helper_module_transforms_lib.buildDynamicImport)(path13.node, true, false, (specifier) => ((source2, file2, noInterop2) => {
28253
+ const exp = lib.template.expression.ast`jitiImport(${source2})`;
28254
+ return noInterop2 ? exp : lib.types.callExpression(lib.types.memberExpression(exp, lib.types.identifier("then")), [lib.types.arrowFunctionExpression([lib.types.identifier("m")], lib.types.callExpression(file2.addHelper("interopRequireWildcard"), [lib.types.identifier("m")]))]);
28255
+ })(specifier, file, noInterop)));
28256
+ }
28257
+ const commonJSHooksKey = "@babel/plugin-transform-modules-commonjs/customWrapperPlugin";
28258
+ function findMap(arr, cb2) {
28259
+ if (arr) for (const el5 of arr) {
28260
+ const res = cb2(el5);
28261
+ if (null != res) return res;
28262
+ }
28263
+ }
28264
+ const transform_module = (0, helper_plugin_utils_lib.declare)((api, options8) => {
28265
+ const { strictNamespace = false, mjsStrictNamespace = strictNamespace, allowTopLevelThis, strict, strictMode, noInterop, importInterop, lazy = false, allowCommonJSExports = true, loose = false, async = false } = options8, constantReexports = api.assumption("constantReexports") ?? loose, enumerableModuleMeta = api.assumption("enumerableModuleMeta") ?? loose, noIncompleteNsImportDetection = api.assumption("noIncompleteNsImportDetection") ?? false;
28266
+ if (!("boolean" == typeof lazy || "function" == typeof lazy || Array.isArray(lazy) && lazy.every((item) => "string" == typeof item))) throw new Error(".lazy must be a boolean, array of strings, or a function");
28267
+ if ("boolean" != typeof strictNamespace) throw new TypeError(".strictNamespace must be a boolean, or undefined");
28268
+ if ("boolean" != typeof mjsStrictNamespace) throw new TypeError(".mjsStrictNamespace must be a boolean, or undefined");
28269
+ const getAssertion = (localName) => lib.template.expression.ast`
28270
+ (function(){
28271
+ throw new Error(
28272
+ "The CommonJS '" + "${localName}" + "' variable is not available in ES6 modules." +
28273
+ "Consider setting setting sourceType:script or sourceType:unambiguous in your " +
28274
+ "Babel config for this file.");
28275
+ })()
28276
+ `, moduleExportsVisitor = { ReferencedIdentifier(path13) {
28277
+ const localName = path13.node.name;
28278
+ if ("module" !== localName && "exports" !== localName) return;
28279
+ const localBinding = path13.scope.getBinding(localName);
28280
+ this.scope.getBinding(localName) !== localBinding || path13.parentPath.isObjectProperty({ value: path13.node }) && path13.parentPath.parentPath.isObjectPattern() || path13.parentPath.isAssignmentExpression({ left: path13.node }) || path13.isAssignmentExpression({ left: path13.node }) || path13.replaceWith(getAssertion(localName));
28281
+ }, UpdateExpression(path13) {
28282
+ const arg = path13.get("argument");
28283
+ if (!arg.isIdentifier()) return;
28284
+ const localName = arg.node.name;
28285
+ if ("module" !== localName && "exports" !== localName) return;
28286
+ const localBinding = path13.scope.getBinding(localName);
28287
+ this.scope.getBinding(localName) === localBinding && path13.replaceWith(lib.types.assignmentExpression(path13.node.operator[0] + "=", arg.node, getAssertion(localName)));
28288
+ }, AssignmentExpression(path13) {
28289
+ const left2 = path13.get("left");
28290
+ if (left2.isIdentifier()) {
28291
+ const localName = left2.node.name;
28292
+ if ("module" !== localName && "exports" !== localName) return;
28293
+ const localBinding = path13.scope.getBinding(localName);
28294
+ if (this.scope.getBinding(localName) !== localBinding) return;
28295
+ const right2 = path13.get("right");
28296
+ right2.replaceWith(lib.types.sequenceExpression([right2.node, getAssertion(localName)]));
28297
+ } else if (left2.isPattern()) {
28298
+ const ids = left2.getOuterBindingIdentifiers(), localName = Object.keys(ids).find((localName2) => ("module" === localName2 || "exports" === localName2) && this.scope.getBinding(localName2) === path13.scope.getBinding(localName2));
28299
+ if (localName) {
28300
+ const right2 = path13.get("right");
28301
+ right2.replaceWith(lib.types.sequenceExpression([right2.node, getAssertion(localName)]));
28302
+ }
28303
+ }
28304
+ } };
28305
+ return { name: "transform-modules-commonjs", pre() {
28306
+ this.file.set("@babel/plugin-transform-modules-*", "commonjs"), lazy && function(file, hook) {
28307
+ let hooks = file.get(commonJSHooksKey);
28308
+ hooks || file.set(commonJSHooksKey, hooks = []), hooks.push(hook);
28309
+ }(this.file, /* @__PURE__ */ ((lazy2) => ({ name: "babel-plugin-transform-modules-commonjs/lazy", version: "7.24.7", getWrapperPayload: (source2, metadata) => (0, helper_module_transforms_lib.isSideEffectImport)(metadata) || metadata.reexportAll ? null : true === lazy2 ? source2.includes(".") ? null : "lazy/function" : Array.isArray(lazy2) ? lazy2.includes(source2) ? "lazy/function" : null : "function" == typeof lazy2 ? lazy2(source2) ? "lazy/function" : null : void 0, buildRequireWrapper(name, init, payload, referenced) {
28310
+ if ("lazy/function" === payload) return !!referenced && lib.template.statement.ast`
28311
+ function ${name}() {
28312
+ const data = ${init};
28313
+ ${name} = function(){ return data; };
28314
+ return data;
28315
+ }
28316
+ `;
28317
+ }, wrapReference(ref2, payload) {
28318
+ if ("lazy/function" === payload) return lib.types.callExpression(ref2, []);
28319
+ } }))(lazy));
28320
+ }, visitor: { ["CallExpression" + (api.types.importExpression ? "|ImportExpression" : "")](path13) {
28321
+ if (path13.isCallExpression() && !lib.types.isImport(path13.node.callee)) return;
28322
+ let { scope } = path13;
28323
+ do {
28324
+ scope.rename("require");
28325
+ } while (scope = scope.parent);
28326
+ transformDynamicImport(path13, noInterop, this.file);
28327
+ }, Program: { exit(path13, state) {
28328
+ if (!(0, helper_module_transforms_lib.isModule)(path13)) return;
28329
+ path13.scope.rename("exports"), path13.scope.rename("module"), path13.scope.rename("require"), path13.scope.rename("__filename"), path13.scope.rename("__dirname"), allowCommonJSExports || (process.env.BABEL_8_BREAKING ? (0, helper_simple_access_lib.default)(path13, /* @__PURE__ */ new Set(["module", "exports"])) : (0, helper_simple_access_lib.default)(path13, /* @__PURE__ */ new Set(["module", "exports"]), false), path13.traverse(moduleExportsVisitor, { scope: path13.scope }));
28330
+ let moduleName = (0, helper_module_transforms_lib.getModuleName)(this.file.opts, options8);
28331
+ moduleName && (moduleName = lib.types.stringLiteral(moduleName));
28332
+ const hooks = function(file) {
28333
+ const hooks2 = file.get(commonJSHooksKey);
28334
+ return { getWrapperPayload: (...args) => findMap(hooks2, (hook) => hook.getWrapperPayload?.(...args)), wrapReference: (...args) => findMap(hooks2, (hook) => hook.wrapReference?.(...args)), buildRequireWrapper: (...args) => findMap(hooks2, (hook) => hook.buildRequireWrapper?.(...args)) };
28335
+ }(this.file), { meta, headers } = (0, helper_module_transforms_lib.rewriteModuleStatementsAndPrepareHeader)(path13, { exportName: "exports", constantReexports, enumerableModuleMeta, strict, strictMode, allowTopLevelThis, noInterop, importInterop, wrapReference: hooks.wrapReference, getWrapperPayload: hooks.getWrapperPayload, esNamespaceOnly: "string" == typeof state.filename && /\.mjs$/.test(state.filename) ? mjsStrictNamespace : strictNamespace, noIncompleteNsImportDetection, filename: this.file.opts.filename });
28336
+ for (const [source2, metadata] of meta.source) {
28337
+ const loadExpr = async ? lib.types.awaitExpression(lib.types.callExpression(lib.types.identifier("jitiImport"), [lib.types.stringLiteral(source2)])) : lib.types.callExpression(lib.types.identifier("require"), [lib.types.stringLiteral(source2)]);
28338
+ let header;
28339
+ if ((0, helper_module_transforms_lib.isSideEffectImport)(metadata)) {
28340
+ if (lazy && "function" === metadata.wrap) throw new Error("Assertion failure");
28341
+ header = lib.types.expressionStatement(loadExpr);
28342
+ } else {
28343
+ const init = (0, helper_module_transforms_lib.wrapInterop)(path13, loadExpr, metadata.interop) || loadExpr;
28344
+ if (metadata.wrap) {
28345
+ const res = hooks.buildRequireWrapper(metadata.name, init, metadata.wrap, metadata.referenced);
28346
+ if (false === res) continue;
28347
+ header = res;
28348
+ }
28349
+ header ??= lib.template.statement.ast`
28350
+ var ${metadata.name} = ${init};
28351
+ `;
28352
+ }
28353
+ header.loc = metadata.loc, headers.push(header), headers.push(...(0, helper_module_transforms_lib.buildNamespaceInitStatements)(meta, metadata, constantReexports, hooks.wrapReference));
28354
+ }
28355
+ (0, helper_module_transforms_lib.ensureStatementsHoisted)(headers), path13.unshiftContainer("body", headers), path13.get("body").forEach((path14) => {
28356
+ headers.includes(path14.node) && path14.isVariableDeclaration() && path14.scope.registerDeclaration(path14);
28357
+ });
28358
+ } } } };
28359
+ });
28360
+ var lib_plugin = __webpack_require__("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js"), plugin_syntax_class_properties_lib = __webpack_require__("./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-class-properties/lib/index.js"), plugin_transform_export_namespace_from_lib = __webpack_require__("./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js"), plugin_transform_typescript_lib = __webpack_require__("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/index.js"), plugin_proposal_decorators_lib = __webpack_require__("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-proposal-decorators/lib/index.js"), babel_plugin_parameter_decorator_lib = __webpack_require__("./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js"), babel_plugin_parameter_decorator_lib_default = __webpack_require__.n(babel_plugin_parameter_decorator_lib), plugin_syntax_import_assertions_lib = __webpack_require__("./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js");
28361
+ function transform4(opts) {
28362
+ const _opts = { babelrc: false, configFile: false, compact: false, retainLines: "boolean" != typeof opts.retainLines || opts.retainLines, filename: "", cwd: "/", ...opts.babel, plugins: [[transform_module, { allowTopLevelThis: true, noInterop: !opts.interopDefault, async: opts.async }], [TransformImportMetaPlugin, { filename: opts.filename }], [plugin_syntax_class_properties_lib.A], [plugin_transform_export_namespace_from_lib.A], [importMetaEnvPlugin]] };
28363
+ opts.ts && (_opts.plugins.push([plugin_transform_typescript_lib.default, { allowDeclareFields: true }]), _opts.plugins.unshift([lib_plugin.A], [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);
29579
28364
  try {
29580
- return { code: (null === (_b = (0, lib.transformSync)(opts.source, _opts)) || void 0 === _b ? void 0 : _b.code) || "" };
28365
+ return { code: (0, lib.transformSync)(opts.source, _opts)?.code || "" };
29581
28366
  } catch (error) {
29582
- return { error, code: "exports.__JITI_ERROR__ = " + JSON.stringify({ filename: opts.filename, line: (null === (_c2 = error.loc) || void 0 === _c2 ? void 0 : _c2.line) || 0, column: (null === (_d = error.loc) || void 0 === _d ? void 0 : _d.column) || 0, code: null === (_e13 = error.code) || void 0 === _e13 ? void 0 : _e13.replace("BABEL_", "").replace("PARSE_ERROR", "ParseError"), message: null === (_f = error.message) || void 0 === _f ? void 0 : _f.replace("/: ", "").replace(/\(.+\)\s*$/, "") }) };
28367
+ 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*$/, "") }) };
29583
28368
  }
29584
28369
  }
29585
28370
  })(), module.exports = __webpack_exports__.default;
@@ -29587,23 +28372,6 @@ ${trace2}`);
29587
28372
  }
29588
28373
  });
29589
28374
 
29590
- // node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/lib/index.js
29591
- var require_lib = __commonJS({
29592
- "node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/lib/index.js"(exports, module) {
29593
- function onError(err) {
29594
- throw err;
29595
- }
29596
- module.exports = function jiti(filename, opts) {
29597
- const jiti2 = require_jiti();
29598
- opts = { onError, ...opts };
29599
- if (!opts.transform) {
29600
- opts.transform = require_babel();
29601
- }
29602
- return jiti2(filename, opts);
29603
- };
29604
- }
29605
- });
29606
-
29607
28375
  // node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
29608
28376
  function isPlainObject(value2) {
29609
28377
  if (value2 === null || typeof value2 !== "object") {
@@ -32570,6 +31338,344 @@ ${f7}`, i4);
32570
31338
  }
32571
31339
  });
32572
31340
 
31341
+ // node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/package.json
31342
+ var require_package = __commonJS({
31343
+ "node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/package.json"(exports, module) {
31344
+ module.exports = {
31345
+ name: "dotenv",
31346
+ version: "16.4.5",
31347
+ description: "Loads environment variables from .env file",
31348
+ main: "lib/main.js",
31349
+ types: "lib/main.d.ts",
31350
+ exports: {
31351
+ ".": {
31352
+ types: "./lib/main.d.ts",
31353
+ require: "./lib/main.js",
31354
+ default: "./lib/main.js"
31355
+ },
31356
+ "./config": "./config.js",
31357
+ "./config.js": "./config.js",
31358
+ "./lib/env-options": "./lib/env-options.js",
31359
+ "./lib/env-options.js": "./lib/env-options.js",
31360
+ "./lib/cli-options": "./lib/cli-options.js",
31361
+ "./lib/cli-options.js": "./lib/cli-options.js",
31362
+ "./package.json": "./package.json"
31363
+ },
31364
+ scripts: {
31365
+ "dts-check": "tsc --project tests/types/tsconfig.json",
31366
+ lint: "standard",
31367
+ "lint-readme": "standard-markdown",
31368
+ pretest: "npm run lint && npm run dts-check",
31369
+ test: "tap tests/*.js --100 -Rspec",
31370
+ "test:coverage": "tap --coverage-report=lcov",
31371
+ prerelease: "npm test",
31372
+ release: "standard-version"
31373
+ },
31374
+ repository: {
31375
+ type: "git",
31376
+ url: "git://github.com/motdotla/dotenv.git"
31377
+ },
31378
+ funding: "https://dotenvx.com",
31379
+ keywords: [
31380
+ "dotenv",
31381
+ "env",
31382
+ ".env",
31383
+ "environment",
31384
+ "variables",
31385
+ "config",
31386
+ "settings"
31387
+ ],
31388
+ readmeFilename: "README.md",
31389
+ license: "BSD-2-Clause",
31390
+ devDependencies: {
31391
+ "@definitelytyped/dtslint": "^0.0.133",
31392
+ "@types/node": "^18.11.3",
31393
+ decache: "^4.6.1",
31394
+ sinon: "^14.0.1",
31395
+ standard: "^17.0.0",
31396
+ "standard-markdown": "^7.1.0",
31397
+ "standard-version": "^9.5.0",
31398
+ tap: "^16.3.0",
31399
+ tar: "^6.1.11",
31400
+ typescript: "^4.8.4"
31401
+ },
31402
+ engines: {
31403
+ node: ">=12"
31404
+ },
31405
+ browser: {
31406
+ fs: false
31407
+ }
31408
+ };
31409
+ }
31410
+ });
31411
+
31412
+ // node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js
31413
+ var require_main = __commonJS({
31414
+ "node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js"(exports, module) {
31415
+ var fs11 = __require("fs");
31416
+ var path13 = __require("path");
31417
+ var os8 = __require("os");
31418
+ var crypto = __require("crypto");
31419
+ var packageJson = require_package();
31420
+ var version2 = packageJson.version;
31421
+ var LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;
31422
+ function parse7(src) {
31423
+ const obj = {};
31424
+ let lines = src.toString();
31425
+ lines = lines.replace(/\r\n?/mg, "\n");
31426
+ let match;
31427
+ while ((match = LINE.exec(lines)) != null) {
31428
+ const key2 = match[1];
31429
+ let value2 = match[2] || "";
31430
+ value2 = value2.trim();
31431
+ const maybeQuote = value2[0];
31432
+ value2 = value2.replace(/^(['"`])([\s\S]*)\1$/mg, "$2");
31433
+ if (maybeQuote === '"') {
31434
+ value2 = value2.replace(/\\n/g, "\n");
31435
+ value2 = value2.replace(/\\r/g, "\r");
31436
+ }
31437
+ obj[key2] = value2;
31438
+ }
31439
+ return obj;
31440
+ }
31441
+ function _parseVault(options8) {
31442
+ const vaultPath = _vaultPath(options8);
31443
+ const result2 = DotenvModule.configDotenv({ path: vaultPath });
31444
+ if (!result2.parsed) {
31445
+ const err = new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`);
31446
+ err.code = "MISSING_DATA";
31447
+ throw err;
31448
+ }
31449
+ const keys2 = _dotenvKey(options8).split(",");
31450
+ const length = keys2.length;
31451
+ let decrypted;
31452
+ for (let i4 = 0; i4 < length; i4++) {
31453
+ try {
31454
+ const key2 = keys2[i4].trim();
31455
+ const attrs = _instructions(result2, key2);
31456
+ decrypted = DotenvModule.decrypt(attrs.ciphertext, attrs.key);
31457
+ break;
31458
+ } catch (error) {
31459
+ if (i4 + 1 >= length) {
31460
+ throw error;
31461
+ }
31462
+ }
31463
+ }
31464
+ return DotenvModule.parse(decrypted);
31465
+ }
31466
+ function _log(message) {
31467
+ console.log(`[dotenv@${version2}][INFO] ${message}`);
31468
+ }
31469
+ function _warn(message) {
31470
+ console.log(`[dotenv@${version2}][WARN] ${message}`);
31471
+ }
31472
+ function _debug(message) {
31473
+ console.log(`[dotenv@${version2}][DEBUG] ${message}`);
31474
+ }
31475
+ function _dotenvKey(options8) {
31476
+ if (options8 && options8.DOTENV_KEY && options8.DOTENV_KEY.length > 0) {
31477
+ return options8.DOTENV_KEY;
31478
+ }
31479
+ if (process.env.DOTENV_KEY && process.env.DOTENV_KEY.length > 0) {
31480
+ return process.env.DOTENV_KEY;
31481
+ }
31482
+ return "";
31483
+ }
31484
+ function _instructions(result2, dotenvKey) {
31485
+ let uri;
31486
+ try {
31487
+ uri = new URL(dotenvKey);
31488
+ } catch (error) {
31489
+ if (error.code === "ERR_INVALID_URL") {
31490
+ 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");
31491
+ err.code = "INVALID_DOTENV_KEY";
31492
+ throw err;
31493
+ }
31494
+ throw error;
31495
+ }
31496
+ const key2 = uri.password;
31497
+ if (!key2) {
31498
+ const err = new Error("INVALID_DOTENV_KEY: Missing key part");
31499
+ err.code = "INVALID_DOTENV_KEY";
31500
+ throw err;
31501
+ }
31502
+ const environment = uri.searchParams.get("environment");
31503
+ if (!environment) {
31504
+ const err = new Error("INVALID_DOTENV_KEY: Missing environment part");
31505
+ err.code = "INVALID_DOTENV_KEY";
31506
+ throw err;
31507
+ }
31508
+ const environmentKey = `DOTENV_VAULT_${environment.toUpperCase()}`;
31509
+ const ciphertext = result2.parsed[environmentKey];
31510
+ if (!ciphertext) {
31511
+ const err = new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${environmentKey} in your .env.vault file.`);
31512
+ err.code = "NOT_FOUND_DOTENV_ENVIRONMENT";
31513
+ throw err;
31514
+ }
31515
+ return { ciphertext, key: key2 };
31516
+ }
31517
+ function _vaultPath(options8) {
31518
+ let possibleVaultPath = null;
31519
+ if (options8 && options8.path && options8.path.length > 0) {
31520
+ if (Array.isArray(options8.path)) {
31521
+ for (const filepath of options8.path) {
31522
+ if (fs11.existsSync(filepath)) {
31523
+ possibleVaultPath = filepath.endsWith(".vault") ? filepath : `${filepath}.vault`;
31524
+ }
31525
+ }
31526
+ } else {
31527
+ possibleVaultPath = options8.path.endsWith(".vault") ? options8.path : `${options8.path}.vault`;
31528
+ }
31529
+ } else {
31530
+ possibleVaultPath = path13.resolve(process.cwd(), ".env.vault");
31531
+ }
31532
+ if (fs11.existsSync(possibleVaultPath)) {
31533
+ return possibleVaultPath;
31534
+ }
31535
+ return null;
31536
+ }
31537
+ function _resolveHome(envPath) {
31538
+ return envPath[0] === "~" ? path13.join(os8.homedir(), envPath.slice(1)) : envPath;
31539
+ }
31540
+ function _configVault(options8) {
31541
+ _log("Loading env from encrypted .env.vault");
31542
+ const parsed = DotenvModule._parseVault(options8);
31543
+ let processEnv = process.env;
31544
+ if (options8 && options8.processEnv != null) {
31545
+ processEnv = options8.processEnv;
31546
+ }
31547
+ DotenvModule.populate(processEnv, parsed, options8);
31548
+ return { parsed };
31549
+ }
31550
+ function configDotenv(options8) {
31551
+ const dotenvPath = path13.resolve(process.cwd(), ".env");
31552
+ let encoding = "utf8";
31553
+ const debug2 = Boolean(options8 && options8.debug);
31554
+ if (options8 && options8.encoding) {
31555
+ encoding = options8.encoding;
31556
+ } else {
31557
+ if (debug2) {
31558
+ _debug("No encoding is specified. UTF-8 is used by default");
31559
+ }
31560
+ }
31561
+ let optionPaths = [dotenvPath];
31562
+ if (options8 && options8.path) {
31563
+ if (!Array.isArray(options8.path)) {
31564
+ optionPaths = [_resolveHome(options8.path)];
31565
+ } else {
31566
+ optionPaths = [];
31567
+ for (const filepath of options8.path) {
31568
+ optionPaths.push(_resolveHome(filepath));
31569
+ }
31570
+ }
31571
+ }
31572
+ let lastError;
31573
+ const parsedAll = {};
31574
+ for (const path14 of optionPaths) {
31575
+ try {
31576
+ const parsed = DotenvModule.parse(fs11.readFileSync(path14, { encoding }));
31577
+ DotenvModule.populate(parsedAll, parsed, options8);
31578
+ } catch (e3) {
31579
+ if (debug2) {
31580
+ _debug(`Failed to load ${path14} ${e3.message}`);
31581
+ }
31582
+ lastError = e3;
31583
+ }
31584
+ }
31585
+ let processEnv = process.env;
31586
+ if (options8 && options8.processEnv != null) {
31587
+ processEnv = options8.processEnv;
31588
+ }
31589
+ DotenvModule.populate(processEnv, parsedAll, options8);
31590
+ if (lastError) {
31591
+ return { parsed: parsedAll, error: lastError };
31592
+ } else {
31593
+ return { parsed: parsedAll };
31594
+ }
31595
+ }
31596
+ function config2(options8) {
31597
+ if (_dotenvKey(options8).length === 0) {
31598
+ return DotenvModule.configDotenv(options8);
31599
+ }
31600
+ const vaultPath = _vaultPath(options8);
31601
+ if (!vaultPath) {
31602
+ _warn(`You set DOTENV_KEY but you are missing a .env.vault file at ${vaultPath}. Did you forget to build it?`);
31603
+ return DotenvModule.configDotenv(options8);
31604
+ }
31605
+ return DotenvModule._configVault(options8);
31606
+ }
31607
+ function decrypt(encrypted, keyStr) {
31608
+ const key2 = Buffer.from(keyStr.slice(-64), "hex");
31609
+ let ciphertext = Buffer.from(encrypted, "base64");
31610
+ const nonce = ciphertext.subarray(0, 12);
31611
+ const authTag = ciphertext.subarray(-16);
31612
+ ciphertext = ciphertext.subarray(12, -16);
31613
+ try {
31614
+ const aesgcm = crypto.createDecipheriv("aes-256-gcm", key2, nonce);
31615
+ aesgcm.setAuthTag(authTag);
31616
+ return `${aesgcm.update(ciphertext)}${aesgcm.final()}`;
31617
+ } catch (error) {
31618
+ const isRange = error instanceof RangeError;
31619
+ const invalidKeyLength = error.message === "Invalid key length";
31620
+ const decryptionFailed = error.message === "Unsupported state or unable to authenticate data";
31621
+ if (isRange || invalidKeyLength) {
31622
+ const err = new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");
31623
+ err.code = "INVALID_DOTENV_KEY";
31624
+ throw err;
31625
+ } else if (decryptionFailed) {
31626
+ const err = new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");
31627
+ err.code = "DECRYPTION_FAILED";
31628
+ throw err;
31629
+ } else {
31630
+ throw error;
31631
+ }
31632
+ }
31633
+ }
31634
+ function populate(processEnv, parsed, options8 = {}) {
31635
+ const debug2 = Boolean(options8 && options8.debug);
31636
+ const override = Boolean(options8 && options8.override);
31637
+ if (typeof parsed !== "object") {
31638
+ const err = new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");
31639
+ err.code = "OBJECT_REQUIRED";
31640
+ throw err;
31641
+ }
31642
+ for (const key2 of Object.keys(parsed)) {
31643
+ if (Object.prototype.hasOwnProperty.call(processEnv, key2)) {
31644
+ if (override === true) {
31645
+ processEnv[key2] = parsed[key2];
31646
+ }
31647
+ if (debug2) {
31648
+ if (override === true) {
31649
+ _debug(`"${key2}" is already defined and WAS overwritten`);
31650
+ } else {
31651
+ _debug(`"${key2}" is already defined and was NOT overwritten`);
31652
+ }
31653
+ }
31654
+ } else {
31655
+ processEnv[key2] = parsed[key2];
31656
+ }
31657
+ }
31658
+ }
31659
+ var DotenvModule = {
31660
+ configDotenv,
31661
+ _configVault,
31662
+ _parseVault,
31663
+ config: config2,
31664
+ decrypt,
31665
+ parse: parse7,
31666
+ populate
31667
+ };
31668
+ module.exports.configDotenv = DotenvModule.configDotenv;
31669
+ module.exports._configVault = DotenvModule._configVault;
31670
+ module.exports._parseVault = DotenvModule._parseVault;
31671
+ module.exports.config = DotenvModule.config;
31672
+ module.exports.decrypt = DotenvModule.decrypt;
31673
+ module.exports.parse = DotenvModule.parse;
31674
+ module.exports.populate = DotenvModule.populate;
31675
+ module.exports = DotenvModule;
31676
+ }
31677
+ });
31678
+
32573
31679
  // node_modules/.pnpm/confbox@0.1.7/node_modules/confbox/dist/jsonc.mjs
32574
31680
  var jsonc_exports = {};
32575
31681
  __export(jsonc_exports, {
@@ -44988,7 +44094,7 @@ var require_dist = __commonJS({
44988
44094
  });
44989
44095
 
44990
44096
  // node_modules/.pnpm/node-fetch-native@1.6.4/node_modules/node-fetch-native/lib/index.cjs
44991
- var require_lib2 = __commonJS({
44097
+ var require_lib = __commonJS({
44992
44098
  "node_modules/.pnpm/node-fetch-native@1.6.4/node_modules/node-fetch-native/lib/index.cjs"(exports, module) {
44993
44099
  var nodeFetch = require_dist();
44994
44100
  function fetch2(input, options8) {
@@ -45095,7 +44201,7 @@ var require_proxy = __commonJS({
45095
44201
  var require$$3 = __require("events");
45096
44202
  var require$$5$2 = __require("url");
45097
44203
  var require$$2$1 = __require("assert");
45098
- var nodeFetchNative = require_lib2();
44204
+ var nodeFetchNative = require_lib();
45099
44205
  function _interopDefaultCompat(e3) {
45100
44206
  return e3 && typeof e3 == "object" && "default" in e3 ? e3.default : e3;
45101
44207
  }
@@ -48132,7 +47238,7 @@ ${f7.toString(16)}\r
48132
47238
  if (J12 != null && typeof J12 != "boolean") throw new InvalidArgumentError$e("allowH2 must be a valid boolean value");
48133
47239
  if (W13 != null && (typeof W13 != "number" || W13 < 1)) throw new InvalidArgumentError$e("maxConcurrentStreams must be a positive integer, greater than 0");
48134
47240
  typeof Y13 != "function" && (Y13 = buildConnector$2({ ...S10, maxCachedSessions: p4, allowH2: J12, socketPath: k11, timeout: l4, ...util$f.nodeHasAutoSelectFamily && D10 ? { autoSelectFamily: D10, autoSelectFamilyAttemptTimeout: b11 } : void 0, ...Y13 })), t14?.Client && Array.isArray(t14.Client) ? (this[kInterceptors$3] = t14.Client, deprecatedInterceptorWarned || (deprecatedInterceptorWarned = true, process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.", { code: "UNDICI-CLIENT-INTERCEPTOR-DEPRECATED" }))) : this[kInterceptors$3] = [createRedirectInterceptor$1({ maxRedirections: V10 })], this[kUrl$2] = util$f.parseOrigin(A8), this[kConnector] = Y13, this[kPipelining] = F9 ?? 1, this[kMaxHeadersSize] = r5 || http$1.maxHeaderSize, this[kKeepAliveDefaultTimeout] = I8 ?? 4e3, this[kKeepAliveMaxTimeout] = w10 ?? 6e5, this[kKeepAliveTimeoutThreshold] = U11 ?? 1e3, this[kKeepAliveTimeoutValue] = this[kKeepAliveDefaultTimeout], this[kServerName] = null, this[kLocalAddress] = m5 ?? null, this[kResuming] = 0, this[kNeedDrain$2] = 0, this[kHostHeader] = `host: ${this[kUrl$2].hostname}${this[kUrl$2].port ? `:${this[kUrl$2].port}` : ""}\r
48135
- `, this[kBodyTimeout] = C7 ?? 3e5, this[kHeadersTimeout] = n ?? 3e5, this[kStrictContentLength] = M11 ?? true, this[kMaxRedirections$1] = V10, this[kMaxRequests] = R12, this[kClosedResolve$1] = null, this[kMaxResponseSize] = _15 > -1 ? _15 : -1, this[kMaxConcurrentStreams] = W13 ?? 100, this[kHTTPContext] = null, this[kQueue$1] = [], this[kRunningIdx] = 0, this[kPendingIdx] = 0, this[kResume$1] = (N13) => resume$1(this, N13), this[kOnError] = (N13) => onError(this, N13);
47241
+ `, this[kBodyTimeout] = C7 ?? 3e5, this[kHeadersTimeout] = n ?? 3e5, this[kStrictContentLength] = M11 ?? true, this[kMaxRedirections$1] = V10, this[kMaxRequests] = R12, this[kClosedResolve$1] = null, this[kMaxResponseSize] = _15 > -1 ? _15 : -1, this[kMaxConcurrentStreams] = W13 ?? 100, this[kHTTPContext] = null, this[kQueue$1] = [], this[kRunningIdx] = 0, this[kPendingIdx] = 0, this[kResume$1] = (N13) => resume$1(this, N13), this[kOnError] = (N13) => onError2(this, N13);
48136
47242
  }
48137
47243
  get pipelining() {
48138
47244
  return this[kPipelining];
@@ -48182,7 +47288,7 @@ ${f7.toString(16)}\r
48182
47288
  }
48183
47289
  }, Q13(Xe10, "Client"), Xe10);
48184
47290
  var createRedirectInterceptor$1 = redirectInterceptor;
48185
- function onError(e3, A8) {
47291
+ function onError2(e3, A8) {
48186
47292
  if (e3[kRunning$3] === 0 && A8.code !== "UND_ERR_INFO" && A8.code !== "UND_ERR_SOCKET") {
48187
47293
  assert$4(e3[kPendingIdx] === e3[kRunningIdx]);
48188
47294
  const t14 = e3[kQueue$1].splice(e3[kRunningIdx]);
@@ -48193,7 +47299,7 @@ ${f7.toString(16)}\r
48193
47299
  assert$4(e3[kSize$3] === 0);
48194
47300
  }
48195
47301
  }
48196
- Q13(onError, "onError");
47302
+ Q13(onError2, "onError");
48197
47303
  async function connect$1(e3) {
48198
47304
  assert$4(!e3[kConnecting]), assert$4(!e3[kHTTPContext]);
48199
47305
  let { host: A8, hostname: t14, protocol: r5, port: n } = e3[kUrl$2];
@@ -48229,7 +47335,7 @@ ${f7.toString(16)}\r
48229
47335
  const B8 = e3[kQueue$1][e3[kPendingIdx]++];
48230
47336
  errorRequest(e3, B8, o2);
48231
47337
  }
48232
- else onError(e3, o2);
47338
+ else onError2(e3, o2);
48233
47339
  e3.emit("connectionError", e3[kUrl$2], [e3], o2);
48234
47340
  }
48235
47341
  e3[kResume$1]();
@@ -53662,15 +52768,15 @@ var require_conversions = __commonJS({
53662
52768
  const g6 = rgb[1] / 255;
53663
52769
  const b11 = rgb[2] / 255;
53664
52770
  const v10 = Math.max(r5, g6, b11);
53665
- const diff2 = v10 - Math.min(r5, g6, b11);
52771
+ const diff = v10 - Math.min(r5, g6, b11);
53666
52772
  const diffc = function(c5) {
53667
- return (v10 - c5) / 6 / diff2 + 1 / 2;
52773
+ return (v10 - c5) / 6 / diff + 1 / 2;
53668
52774
  };
53669
- if (diff2 === 0) {
52775
+ if (diff === 0) {
53670
52776
  h8 = 0;
53671
52777
  s3 = 0;
53672
52778
  } else {
53673
- s3 = diff2 / v10;
52779
+ s3 = diff / v10;
53674
52780
  rdif = diffc(r5);
53675
52781
  gdif = diffc(g6);
53676
52782
  bdif = diffc(b11);
@@ -57061,7 +56167,7 @@ var require_move2 = __commonJS({
57061
56167
  });
57062
56168
 
57063
56169
  // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/index.js
57064
- var require_lib3 = __commonJS({
56170
+ var require_lib2 = __commonJS({
57065
56171
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/index.js"(exports, module) {
57066
56172
  "use strict";
57067
56173
  module.exports = {
@@ -58552,7 +57658,7 @@ var require_stringify = __commonJS({
58552
57658
  });
58553
57659
 
58554
57660
  // node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/index.js
58555
- var require_lib4 = __commonJS({
57661
+ var require_lib3 = __commonJS({
58556
57662
  "node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/index.js"(exports, module) {
58557
57663
  var parse7 = require_parse3();
58558
57664
  var stringify = require_stringify();
@@ -58599,7 +57705,7 @@ var require_tsconfig_loader = __commonJS({
58599
57705
  exports.loadTsconfig = exports.walkForTsConfig = exports.tsConfigLoader = void 0;
58600
57706
  var path13 = __require("path");
58601
57707
  var fs11 = __require("fs");
58602
- var JSON5 = require_lib4();
57708
+ var JSON5 = require_lib3();
58603
57709
  var StripBom = require_strip_bom();
58604
57710
  function tsConfigLoader(_a4) {
58605
57711
  var getEnv2 = _a4.getEnv, cwd2 = _a4.cwd, _b = _a4.loadSync, loadSync = _b === void 0 ? loadSyncDefault : _b;
@@ -59099,7 +58205,7 @@ var require_register = __commonJS({
59099
58205
  });
59100
58206
 
59101
58207
  // node_modules/.pnpm/tsconfig-paths@4.2.0/node_modules/tsconfig-paths/lib/index.js
59102
- var require_lib5 = __commonJS({
58208
+ var require_lib4 = __commonJS({
59103
58209
  "node_modules/.pnpm/tsconfig-paths@4.2.0/node_modules/tsconfig-paths/lib/index.js"(exports) {
59104
58210
  "use strict";
59105
58211
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -63720,13 +62826,13 @@ var require_OperatorSubscriber = __commonJS({
63720
62826
  Object.defineProperty(exports, "__esModule", { value: true });
63721
62827
  exports.OperatorSubscriber = exports.createOperatorSubscriber = void 0;
63722
62828
  var Subscriber_1 = require_Subscriber();
63723
- function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {
63724
- return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);
62829
+ function createOperatorSubscriber(destination, onNext, onComplete, onError2, onFinalize) {
62830
+ return new OperatorSubscriber(destination, onNext, onComplete, onError2, onFinalize);
63725
62831
  }
63726
62832
  exports.createOperatorSubscriber = createOperatorSubscriber;
63727
62833
  var OperatorSubscriber = function(_super) {
63728
62834
  __extends(OperatorSubscriber2, _super);
63729
- function OperatorSubscriber2(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {
62835
+ function OperatorSubscriber2(destination, onNext, onComplete, onError2, onFinalize, shouldUnsubscribe) {
63730
62836
  var _this = _super.call(this, destination) || this;
63731
62837
  _this.onFinalize = onFinalize;
63732
62838
  _this.shouldUnsubscribe = shouldUnsubscribe;
@@ -63737,9 +62843,9 @@ var require_OperatorSubscriber = __commonJS({
63737
62843
  destination.error(err);
63738
62844
  }
63739
62845
  } : _super.prototype._next;
63740
- _this._error = onError ? function(err) {
62846
+ _this._error = onError2 ? function(err) {
63741
62847
  try {
63742
- onError(err);
62848
+ onError2(err);
63743
62849
  } catch (err2) {
63744
62850
  destination.error(err2);
63745
62851
  } finally {
@@ -72444,7 +71550,7 @@ var require_overRest = __commonJS({
72444
71550
  "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js"(exports, module) {
72445
71551
  var apply = require_apply();
72446
71552
  var nativeMax = Math.max;
72447
- function overRest(func, start2, transform3) {
71553
+ function overRest(func, start2, transform4) {
72448
71554
  start2 = nativeMax(start2 === void 0 ? func.length - 1 : start2, 0);
72449
71555
  return function() {
72450
71556
  var args = arguments, index = -1, length = nativeMax(args.length - start2, 0), array2 = Array(length);
@@ -72456,7 +71562,7 @@ var require_overRest = __commonJS({
72456
71562
  while (++index < start2) {
72457
71563
  otherArgs[index] = args[index];
72458
71564
  }
72459
- otherArgs[start2] = transform3(array2);
71565
+ otherArgs[start2] = transform4(array2);
72460
71566
  return apply(func, this, otherArgs);
72461
71567
  };
72462
71568
  }
@@ -73666,9 +72772,9 @@ var require_copyObject = __commonJS({
73666
72772
  // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js
73667
72773
  var require_overArg = __commonJS({
73668
72774
  "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js"(exports, module) {
73669
- function overArg(func, transform3) {
72775
+ function overArg(func, transform4) {
73670
72776
  return function(arg) {
73671
- return func(transform3(arg));
72777
+ return func(transform4(arg));
73672
72778
  };
73673
72779
  }
73674
72780
  module.exports = overArg;
@@ -91386,7 +90492,7 @@ var require_extend_node = __commonJS({
91386
90492
  });
91387
90493
 
91388
90494
  // node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/index.js
91389
- var require_lib6 = __commonJS({
90495
+ var require_lib5 = __commonJS({
91390
90496
  "node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/index.js"(exports, module) {
91391
90497
  "use strict";
91392
90498
  var Buffer4 = require_safer().Buffer;
@@ -91975,7 +91081,7 @@ var require_main2 = __commonJS({
91975
91081
  var chardet_1 = require_chardet();
91976
91082
  var child_process_1 = __require("child_process");
91977
91083
  var fs_1 = __require("fs");
91978
- var iconv_lite_1 = require_lib6();
91084
+ var iconv_lite_1 = require_lib5();
91979
91085
  var tmp_1 = require_tmp();
91980
91086
  var CreateFileError_1 = require_CreateFileError();
91981
91087
  exports.CreateFileError = CreateFileError_1.CreateFileError;
@@ -93095,7 +92201,7 @@ var require_through = __commonJS({
93095
92201
  });
93096
92202
 
93097
92203
  // node_modules/.pnpm/mute-stream@1.0.0/node_modules/mute-stream/lib/index.js
93098
- var require_lib7 = __commonJS({
92204
+ var require_lib6 = __commonJS({
93099
92205
  "node_modules/.pnpm/mute-stream@1.0.0/node_modules/mute-stream/lib/index.js"(exports, module) {
93100
92206
  var Stream = __require("stream");
93101
92207
  var MuteStream2 = class extends Stream {
@@ -93241,7 +92347,7 @@ function setupReadlineOptions(opt = {}) {
93241
92347
  var import_mute_stream, UI;
93242
92348
  var init_baseUI = __esm({
93243
92349
  "node_modules/.pnpm/inquirer@9.2.23/node_modules/inquirer/lib/ui/baseUI.js"() {
93244
- import_mute_stream = __toESM(require_lib7(), 1);
92350
+ import_mute_stream = __toESM(require_lib6(), 1);
93245
92351
  UI = class {
93246
92352
  constructor(opt) {
93247
92353
  this.rl ||= readline.createInterface(setupReadlineOptions(opt));
@@ -99445,7 +98551,7 @@ var require_core = __commonJS({
99445
98551
  });
99446
98552
 
99447
98553
  // node_modules/.pnpm/vfile@4.2.1/node_modules/vfile/lib/index.js
99448
- var require_lib8 = __commonJS({
98554
+ var require_lib7 = __commonJS({
99449
98555
  "node_modules/.pnpm/vfile@4.2.1/node_modules/vfile/lib/index.js"(exports, module) {
99450
98556
  "use strict";
99451
98557
  var VMessage = require_vfile_message();
@@ -99481,7 +98587,7 @@ var require_lib8 = __commonJS({
99481
98587
  var require_vfile = __commonJS({
99482
98588
  "node_modules/.pnpm/vfile@4.2.1/node_modules/vfile/index.js"(exports, module) {
99483
98589
  "use strict";
99484
- module.exports = require_lib8();
98590
+ module.exports = require_lib7();
99485
98591
  }
99486
98592
  });
99487
98593
 
@@ -196406,7 +195512,7 @@ import { fileURLToPath as fileURLToPath22 } from "url";
196406
195512
  import v82 from "v8";
196407
195513
  import assert22 from "assert";
196408
195514
  import { format as format3, inspect as inspect2 } from "util";
196409
- import { createRequire as createRequire2 } from "module";
195515
+ import { createRequire as createRequire3 } from "module";
196410
195516
  import path10 from "path";
196411
195517
  import url from "url";
196412
195518
  import fs62 from "fs";
@@ -200096,7 +199202,7 @@ function importFromFile(specifier, parent) {
200096
199202
  return import(url2);
200097
199203
  }
200098
199204
  function requireFromFile(id, parent) {
200099
- const require22 = createRequire2(parent);
199205
+ const require22 = createRequire3(parent);
200100
199206
  return require22(id);
200101
199207
  }
200102
199208
  async function loadExternalConfig(externalConfig, configFile) {
@@ -203361,7 +202467,7 @@ async function clearCache3() {
203361
202467
  clearCache();
203362
202468
  clearCache2();
203363
202469
  }
203364
- var require2, __filename, __dirname, __create2, __defProp3, __getOwnPropDesc2, __getOwnPropNames2, __getProtoOf2, __hasOwnProp2, __typeError, __defNormalProp, __require2, __esm2, __commonJS2, __export3, __copyProps2, __toESM2, __toCommonJS, __publicField, __accessCheck, __privateGet, __privateAdd, __privateSet, __privateMethod, require_base, require_params, require_line, require_create2, require_array, require_errno, require_fs2, require_path, require_is_extglob, require_is_glob, require_glob_parent, require_utils3, require_stringify2, require_is_number, require_to_regex_range, require_fill_range, require_compile, require_expand2, require_constants2, require_parse5, require_braces, require_constants22, require_utils22, require_scan2, require_parse22, require_picomatch, require_picomatch2, require_micromatch, require_pattern, require_merge22, require_stream2, require_string, require_utils32, require_tasks, require_async2, require_sync, require_fs22, require_settings, require_out, require_queue_microtask, require_run_parallel, require_constants3, require_fs3, require_utils4, require_common2, require_async22, require_sync2, require_fs4, require_settings2, require_out2, require_reusify, require_queue2, require_common22, require_reader, require_async3, require_async4, require_stream22, require_sync3, require_sync4, require_settings3, require_out3, require_reader2, require_stream3, require_async5, require_matcher, require_partial, require_deep, require_entry, require_error2, require_entry2, require_provider, require_async6, require_stream4, require_sync5, require_sync6, require_settings4, require_out4, ANSI_BACKGROUND_OFFSET, wrapAnsi16, wrapAnsi256, wrapAnsi16m, styles, modifierNames, foregroundColorNames, backgroundColorNames, colorNames, ansiStyles, ansi_styles_default, init_ansi_styles, env, flagForceColor, supportsColor, supports_color_default, init_supports_color, init_utilities, source_exports, stdoutColor, stderrColor, GENERATOR, STYLER, IS_EMPTY, levelMapping, styles2, applyOptions, Chalk, chalkFactory, getModelAnsi, usedModels, proto, createStyler, createBuilder, applyStyle, chalk13, chalkStderr, source_default, init_source2, require_debug, require_constants4, require_re, require_parse_options, require_identifiers, require_semver, require_compare, require_gte, require_pseudomap, require_map3, require_yallist2, require_lru_cache, require_sigmund, require_fnmatch, require_ini, require_package2, require_src4, require_vendors, require_ci_info, require_parser, require_create_datetime, require_format_num, require_create_datetime_float, require_create_date, require_create_time, require_toml_parser, require_parse_pretty_error, require_parse_async, require_js_tokens, require_identifier, require_keyword, require_lib9, require_picocolors, require_lib22, require_lib32, require_ignore, require_readlines, require_array2, src_exports, import_create2, import_fast_glob, apiDescriptor, commonDeprecatedHandler, VALUE_NOT_EXIST, VALUE_UNCHANGED, INDENTATION, commonInvalidHandler, array, characterCodeCache, levenUnknownHandler, HANDLER_KEYS, Schema, AliasSchema, AnySchema, ArraySchema, BooleanSchema, ChoiceSchema, NumberSchema, IntegerSchema, StringSchema, defaultDescriptor, defaultUnknownHandler, defaultInvalidHandler, defaultDeprecatedHandler, Normalizer, errors_exports, ConfigError, UndefinedParserError, ArgExpansionBailout, import_micromatch, isUrlInstance, isUrlString, isUrl, toPath3, partition_default2, import_editorconfig, is_directory_default, toAbsolutePath, iterate_directory_up_default, _names, _filter, _stopDirectory, _cache, _Searcher_instances, searchInDirectory_fn, Searcher, searcher_default, MARKERS, searcher, searchOptions, editorconfig_to_prettier_default, editorconfigCache, import_ci_info, stdin, mockable, mockable_default, is_file_default, import_parse_async, isNothing_1, isObject_1, toArray_1, repeat_1, isNegativeZero_1, extend_1, common2, exception, snippet, TYPE_CONSTRUCTOR_OPTIONS, YAML_NODE_KINDS, type, schema, str, seq, map10, failsafe, _null, bool, int, YAML_FLOAT_PATTERN, SCIENTIFIC_WITHOUT_DOT, float, json, core, YAML_DATE_REGEXP, YAML_TIMESTAMP_REGEXP, timestamp, merge3, BASE64_MAP, binary, _hasOwnProperty$3, _toString$2, omap, _toString$1, pairs2, _hasOwnProperty$2, set2, _default, _hasOwnProperty$1, CONTEXT_FLOW_IN, CONTEXT_FLOW_OUT, CONTEXT_BLOCK_IN, CONTEXT_BLOCK_OUT, CHOMPING_CLIP, CHOMPING_STRIP, CHOMPING_KEEP, PATTERN_NON_PRINTABLE, PATTERN_NON_ASCII_LINE_BREAKS, PATTERN_FLOW_INDICATORS, PATTERN_TAG_HANDLE, PATTERN_TAG_URI, simpleEscapeCheck, simpleEscapeMap, i3, directiveHandlers, loadAll_1, load_1, loader, ESCAPE_SEQUENCES, load2, loadAll, safeLoad, safeLoadAll, safeDump, Space_Separator, ID_Start, ID_Continue, unicode, util2, source, parseState, stack, pos, line2, column, token, key, root2, parse22, lexState, buffer, doubleQuote, sign, c4, lexStates, parseStates, dist_default, import_code_frame, safeLastIndexOf, getCodePoint2, _message, _JSONError, JSONError, generateCodeFrame, getErrorLocation, addCodePointToUnexpectedToken, read_file_default, loaders, loaders_default, CONFIG_FILE_NAMES, config_searcher_default, own2, classRegExp2, kTypes2, codes2, messages2, nodeInternalPrefix2, userStackTraceLimit2, captureLargerStackTrace2, hasOwnProperty5, ERR_INVALID_PACKAGE_CONFIG2, cache2, ERR_UNKNOWN_FILE_EXTENSION2, hasOwnProperty22, extensionFormatMap2, protocolHandlers2, ERR_INVALID_ARG_VALUE, DEFAULT_CONDITIONS, DEFAULT_CONDITIONS_SET2, RegExpPrototypeSymbolReplace2, ERR_NETWORK_IMPORT_DISALLOWED2, ERR_INVALID_MODULE_SPECIFIER2, ERR_INVALID_PACKAGE_CONFIG22, ERR_INVALID_PACKAGE_TARGET2, ERR_MODULE_NOT_FOUND2, ERR_PACKAGE_IMPORT_NOT_DEFINED2, ERR_PACKAGE_PATH_NOT_EXPORTED2, ERR_UNSUPPORTED_DIR_IMPORT2, ERR_UNSUPPORTED_RESOLVE_REQUEST2, own22, invalidSegmentRegEx2, deprecatedInvalidSegmentRegEx2, invalidPackageNameRegEx2, patternRegEx2, encodedSeparatorRegEx2, emittedPackageWarnings2, doubleSlashRegEx2, import_from_file_default, require_from_file_default, requireErrorCodesShouldBeIgnored, load_external_config_default, load_config_default, loadCache, searchCache, stringReplaceAll22, string_replace_all_default2, import_ignore, createIgnore, slash, import_n_readlines, get_interpreter_default, getFileBasename, infer_parser_default, get_file_info_default, import_array2, DOC_TYPE_STRING2, DOC_TYPE_ARRAY2, DOC_TYPE_CURSOR2, DOC_TYPE_INDENT2, DOC_TYPE_ALIGN2, DOC_TYPE_TRIM2, DOC_TYPE_GROUP2, DOC_TYPE_FILL2, DOC_TYPE_IF_BREAK2, DOC_TYPE_INDENT_IF_BREAK2, DOC_TYPE_LINE_SUFFIX2, DOC_TYPE_LINE_SUFFIX_BOUNDARY2, DOC_TYPE_LINE2, DOC_TYPE_LABEL2, DOC_TYPE_BREAK_PARENT2, VALID_OBJECT_DOC_TYPES2, get_doc_type_default2, disjunctionListFormat2, InvalidDocError2, invalid_doc_error_default2, traverseDocOnExitStackMarker2, traverse_doc_default2, noop4, assertDoc2, assertDocArray2, breakParent2, hardlineWithoutBreakParent2, line22, hardline2, cursor2, at10, at_default2, emoji_regex_default2, _isNarrowWidth2, notAsciiRegex2, get_string_width_default2, MODE_BREAK2, MODE_FLAT2, CURSOR_PLACEHOLDER2, get_alignment_size_default, _AstPath_instances, getNodeStackIndex_fn, getAncestors_fn, AstPath, ast_path_default, is_object_default, skipWhitespace, skipSpaces, skipToLineEnd, skipEverythingButNewLine, skip_newline_default, has_newline_default, is_non_empty_array_default, nonTraversableKeys, defaultGetVisitorKeys, create_get_visitor_keys_function_default, childNodesCache, returnFalse, isAllEmptyAndNoLineBreak, is_previous_line_empty_default, create_print_pre_check_function_default, core_options_evaluate_default, hasDeprecationWarned, normalize_options_default, arrayFindLast, array_find_last_default, formatOptionsHiddenDefaults, normalize_format_options_default, import_code_frame2, parse_default, print_ignored_default, get_cursor_node_default, massage_ast_default, isJsonParser, jsonSourceElements, graphqlSourceElements, BOM, CURSOR, option_categories_exports, CATEGORY_CONFIG, CATEGORY_EDITOR, CATEGORY_FORMAT, CATEGORY_OTHER, CATEGORY_OUTPUT, CATEGORY_GLOBAL, CATEGORY_SPECIAL, builtin_plugins_proxy_exports, languages_evaluate_default, common_options_evaluate_default, options, options_default, languages_evaluate_default2, options2, options_default2, languages_evaluate_default3, languages_evaluate_default4, CATEGORY_HTML, options3, options_default3, languages_evaluate_default5, CATEGORY_JAVASCRIPT, options4, options_default4, languages_evaluate_default6, languages_evaluate_default7, options5, options_default5, languages_evaluate_default8, options6, options_default6, options7, languages, parsers, printers, load_builtin_plugins_default, import_from_directory_default, cache22, load_plugins_default, object_omit_default, version_evaluate_default, public_exports2, skip_inline_comment_default, skip_trailing_comment_default, get_next_non_space_non_comment_character_index_default, is_next_line_empty_default, get_indent_size_default, get_max_continuous_count_default, get_next_non_space_non_comment_character_default, has_newline_in_range_default, has_spaces_default, make_string_default, formatWithCursor2, getFileInfo2, getSupportInfo2, sharedWithCli, debugApis, src_default;
202470
+ var require2, __filename, __dirname, __create2, __defProp3, __getOwnPropDesc2, __getOwnPropNames2, __getProtoOf2, __hasOwnProp2, __typeError, __defNormalProp, __require2, __esm2, __commonJS2, __export3, __copyProps2, __toESM2, __toCommonJS, __publicField, __accessCheck, __privateGet, __privateAdd, __privateSet, __privateMethod, require_base, require_params, require_line, require_create2, require_array, require_errno, require_fs2, require_path, require_is_extglob, require_is_glob, require_glob_parent, require_utils3, require_stringify2, require_is_number, require_to_regex_range, require_fill_range, require_compile, require_expand2, require_constants2, require_parse5, require_braces, require_constants22, require_utils22, require_scan2, require_parse22, require_picomatch, require_picomatch2, require_micromatch, require_pattern, require_merge22, require_stream2, require_string, require_utils32, require_tasks, require_async2, require_sync, require_fs22, require_settings, require_out, require_queue_microtask, require_run_parallel, require_constants3, require_fs3, require_utils4, require_common2, require_async22, require_sync2, require_fs4, require_settings2, require_out2, require_reusify, require_queue2, require_common22, require_reader, require_async3, require_async4, require_stream22, require_sync3, require_sync4, require_settings3, require_out3, require_reader2, require_stream3, require_async5, require_matcher, require_partial, require_deep, require_entry, require_error2, require_entry2, require_provider, require_async6, require_stream4, require_sync5, require_sync6, require_settings4, require_out4, ANSI_BACKGROUND_OFFSET, wrapAnsi16, wrapAnsi256, wrapAnsi16m, styles, modifierNames, foregroundColorNames, backgroundColorNames, colorNames, ansiStyles, ansi_styles_default, init_ansi_styles, env, flagForceColor, supportsColor, supports_color_default, init_supports_color, init_utilities, source_exports, stdoutColor, stderrColor, GENERATOR, STYLER, IS_EMPTY, levelMapping, styles2, applyOptions, Chalk, chalkFactory, getModelAnsi, usedModels, proto, createStyler, createBuilder, applyStyle, chalk13, chalkStderr, source_default, init_source2, require_debug, require_constants4, require_re, require_parse_options, require_identifiers, require_semver, require_compare, require_gte, require_pseudomap, require_map3, require_yallist2, require_lru_cache, require_sigmund, require_fnmatch, require_ini, require_package2, require_src4, require_vendors, require_ci_info, require_parser, require_create_datetime, require_format_num, require_create_datetime_float, require_create_date, require_create_time, require_toml_parser, require_parse_pretty_error, require_parse_async, require_js_tokens, require_identifier, require_keyword, require_lib8, require_picocolors, require_lib22, require_lib32, require_ignore, require_readlines, require_array2, src_exports, import_create2, import_fast_glob, apiDescriptor, commonDeprecatedHandler, VALUE_NOT_EXIST, VALUE_UNCHANGED, INDENTATION, commonInvalidHandler, array, characterCodeCache, levenUnknownHandler, HANDLER_KEYS, Schema, AliasSchema, AnySchema, ArraySchema, BooleanSchema, ChoiceSchema, NumberSchema, IntegerSchema, StringSchema, defaultDescriptor, defaultUnknownHandler, defaultInvalidHandler, defaultDeprecatedHandler, Normalizer, errors_exports, ConfigError, UndefinedParserError, ArgExpansionBailout, import_micromatch, isUrlInstance, isUrlString, isUrl, toPath3, partition_default2, import_editorconfig, is_directory_default, toAbsolutePath, iterate_directory_up_default, _names, _filter, _stopDirectory, _cache, _Searcher_instances, searchInDirectory_fn, Searcher, searcher_default, MARKERS, searcher, searchOptions, editorconfig_to_prettier_default, editorconfigCache, import_ci_info, stdin, mockable, mockable_default, is_file_default, import_parse_async, isNothing_1, isObject_1, toArray_1, repeat_1, isNegativeZero_1, extend_1, common2, exception, snippet, TYPE_CONSTRUCTOR_OPTIONS, YAML_NODE_KINDS, type, schema, str, seq, map10, failsafe, _null, bool, int, YAML_FLOAT_PATTERN, SCIENTIFIC_WITHOUT_DOT, float, json, core, YAML_DATE_REGEXP, YAML_TIMESTAMP_REGEXP, timestamp, merge3, BASE64_MAP, binary, _hasOwnProperty$3, _toString$2, omap, _toString$1, pairs2, _hasOwnProperty$2, set2, _default, _hasOwnProperty$1, CONTEXT_FLOW_IN, CONTEXT_FLOW_OUT, CONTEXT_BLOCK_IN, CONTEXT_BLOCK_OUT, CHOMPING_CLIP, CHOMPING_STRIP, CHOMPING_KEEP, PATTERN_NON_PRINTABLE, PATTERN_NON_ASCII_LINE_BREAKS, PATTERN_FLOW_INDICATORS, PATTERN_TAG_HANDLE, PATTERN_TAG_URI, simpleEscapeCheck, simpleEscapeMap, i3, directiveHandlers, loadAll_1, load_1, loader, ESCAPE_SEQUENCES, load2, loadAll, safeLoad, safeLoadAll, safeDump, Space_Separator, ID_Start, ID_Continue, unicode, util2, source, parseState, stack, pos, line2, column, token, key, root2, parse22, lexState, buffer, doubleQuote, sign, c4, lexStates, parseStates, dist_default, import_code_frame, safeLastIndexOf, getCodePoint2, _message, _JSONError, JSONError, generateCodeFrame, getErrorLocation, addCodePointToUnexpectedToken, read_file_default, loaders, loaders_default, CONFIG_FILE_NAMES, config_searcher_default, own2, classRegExp2, kTypes2, codes2, messages2, nodeInternalPrefix2, userStackTraceLimit2, captureLargerStackTrace2, hasOwnProperty5, ERR_INVALID_PACKAGE_CONFIG2, cache2, ERR_UNKNOWN_FILE_EXTENSION2, hasOwnProperty22, extensionFormatMap2, protocolHandlers2, ERR_INVALID_ARG_VALUE, DEFAULT_CONDITIONS, DEFAULT_CONDITIONS_SET2, RegExpPrototypeSymbolReplace2, ERR_NETWORK_IMPORT_DISALLOWED2, ERR_INVALID_MODULE_SPECIFIER2, ERR_INVALID_PACKAGE_CONFIG22, ERR_INVALID_PACKAGE_TARGET2, ERR_MODULE_NOT_FOUND2, ERR_PACKAGE_IMPORT_NOT_DEFINED2, ERR_PACKAGE_PATH_NOT_EXPORTED2, ERR_UNSUPPORTED_DIR_IMPORT2, ERR_UNSUPPORTED_RESOLVE_REQUEST2, own22, invalidSegmentRegEx2, deprecatedInvalidSegmentRegEx2, invalidPackageNameRegEx2, patternRegEx2, encodedSeparatorRegEx2, emittedPackageWarnings2, doubleSlashRegEx2, import_from_file_default, require_from_file_default, requireErrorCodesShouldBeIgnored, load_external_config_default, load_config_default, loadCache, searchCache, stringReplaceAll22, string_replace_all_default2, import_ignore, createIgnore, slash, import_n_readlines, get_interpreter_default, getFileBasename, infer_parser_default, get_file_info_default, import_array2, DOC_TYPE_STRING2, DOC_TYPE_ARRAY2, DOC_TYPE_CURSOR2, DOC_TYPE_INDENT2, DOC_TYPE_ALIGN2, DOC_TYPE_TRIM2, DOC_TYPE_GROUP2, DOC_TYPE_FILL2, DOC_TYPE_IF_BREAK2, DOC_TYPE_INDENT_IF_BREAK2, DOC_TYPE_LINE_SUFFIX2, DOC_TYPE_LINE_SUFFIX_BOUNDARY2, DOC_TYPE_LINE2, DOC_TYPE_LABEL2, DOC_TYPE_BREAK_PARENT2, VALID_OBJECT_DOC_TYPES2, get_doc_type_default2, disjunctionListFormat2, InvalidDocError2, invalid_doc_error_default2, traverseDocOnExitStackMarker2, traverse_doc_default2, noop4, assertDoc2, assertDocArray2, breakParent2, hardlineWithoutBreakParent2, line22, hardline2, cursor2, at10, at_default2, emoji_regex_default2, _isNarrowWidth2, notAsciiRegex2, get_string_width_default2, MODE_BREAK2, MODE_FLAT2, CURSOR_PLACEHOLDER2, get_alignment_size_default, _AstPath_instances, getNodeStackIndex_fn, getAncestors_fn, AstPath, ast_path_default, is_object_default, skipWhitespace, skipSpaces, skipToLineEnd, skipEverythingButNewLine, skip_newline_default, has_newline_default, is_non_empty_array_default, nonTraversableKeys, defaultGetVisitorKeys, create_get_visitor_keys_function_default, childNodesCache, returnFalse, isAllEmptyAndNoLineBreak, is_previous_line_empty_default, create_print_pre_check_function_default, core_options_evaluate_default, hasDeprecationWarned, normalize_options_default, arrayFindLast, array_find_last_default, formatOptionsHiddenDefaults, normalize_format_options_default, import_code_frame2, parse_default, print_ignored_default, get_cursor_node_default, massage_ast_default, isJsonParser, jsonSourceElements, graphqlSourceElements, BOM, CURSOR, option_categories_exports, CATEGORY_CONFIG, CATEGORY_EDITOR, CATEGORY_FORMAT, CATEGORY_OTHER, CATEGORY_OUTPUT, CATEGORY_GLOBAL, CATEGORY_SPECIAL, builtin_plugins_proxy_exports, languages_evaluate_default, common_options_evaluate_default, options, options_default, languages_evaluate_default2, options2, options_default2, languages_evaluate_default3, languages_evaluate_default4, CATEGORY_HTML, options3, options_default3, languages_evaluate_default5, CATEGORY_JAVASCRIPT, options4, options_default4, languages_evaluate_default6, languages_evaluate_default7, options5, options_default5, languages_evaluate_default8, options6, options_default6, options7, languages, parsers, printers, load_builtin_plugins_default, import_from_directory_default, cache22, load_plugins_default, object_omit_default, version_evaluate_default, public_exports2, skip_inline_comment_default, skip_trailing_comment_default, get_next_non_space_non_comment_character_index_default, is_next_line_empty_default, get_indent_size_default, get_max_continuous_count_default, get_next_non_space_non_comment_character_default, has_newline_in_range_default, has_spaces_default, make_string_default, formatWithCursor2, getFileInfo2, getSupportInfo2, sharedWithCli, debugApis, src_default;
203365
202471
  var init_prettier = __esm({
203366
202472
  "node_modules/.pnpm/prettier@3.3.2/node_modules/prettier/index.mjs"() {
203367
202473
  init_doc();
@@ -203429,7 +202535,7 @@ var init_prettier = __esm({
203429
202535
  Diff.prototype = {
203430
202536
  /*istanbul ignore start*/
203431
202537
  /*istanbul ignore end*/
203432
- diff: function diff2(oldString, newString) {
202538
+ diff: function diff(oldString, newString) {
203433
202539
  var _options$timeout;
203434
202540
  var options8 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
203435
202541
  var callback = options8.callback;
@@ -203617,7 +202723,7 @@ var init_prettier = __esm({
203617
202723
  return chars.join("");
203618
202724
  }
203619
202725
  };
203620
- function buildValues(diff2, lastComponent, newString, oldString, useLongestToken) {
202726
+ function buildValues(diff, lastComponent, newString, oldString, useLongestToken) {
203621
202727
  var components = [];
203622
202728
  var nextComponent;
203623
202729
  while (lastComponent) {
@@ -203637,16 +202743,16 @@ var init_prettier = __esm({
203637
202743
  var oldValue = oldString[oldPos + i4];
203638
202744
  return oldValue.length > value22.length ? oldValue : value22;
203639
202745
  });
203640
- component.value = diff2.join(value2);
202746
+ component.value = diff.join(value2);
203641
202747
  } else {
203642
- component.value = diff2.join(newString.slice(newPos, newPos + component.count));
202748
+ component.value = diff.join(newString.slice(newPos, newPos + component.count));
203643
202749
  }
203644
202750
  newPos += component.count;
203645
202751
  if (!component.added) {
203646
202752
  oldPos += component.count;
203647
202753
  }
203648
202754
  } else {
203649
- component.value = diff2.join(oldString.slice(oldPos, oldPos + component.count));
202755
+ component.value = diff.join(oldString.slice(oldPos, oldPos + component.count));
203650
202756
  oldPos += component.count;
203651
202757
  if (componentPos && components[componentPos - 1].added) {
203652
202758
  var tmp = components[componentPos - 1];
@@ -203656,7 +202762,7 @@ var init_prettier = __esm({
203656
202762
  }
203657
202763
  }
203658
202764
  var finalComponent = components[componentLen - 1];
203659
- if (componentLen > 1 && typeof finalComponent.value === "string" && (finalComponent.added || finalComponent.removed) && diff2.equals("", finalComponent.value)) {
202765
+ if (componentLen > 1 && typeof finalComponent.value === "string" && (finalComponent.added || finalComponent.removed) && diff.equals("", finalComponent.value)) {
203660
202766
  components[componentLen - 2].value += finalComponent.value;
203661
202767
  components.pop();
203662
202768
  }
@@ -203788,16 +202894,16 @@ var init_prettier = __esm({
203788
202894
  if (typeof options8.context === "undefined") {
203789
202895
  options8.context = 4;
203790
202896
  }
203791
- var diff2 = (
202897
+ var diff = (
203792
202898
  /*istanbul ignore start*/
203793
202899
  (0, /*istanbul ignore end*/
203794
202900
  /*istanbul ignore start*/
203795
202901
  _line.diffLines)(oldStr, newStr, options8)
203796
202902
  );
203797
- if (!diff2) {
202903
+ if (!diff) {
203798
202904
  return;
203799
202905
  }
203800
- diff2.push({
202906
+ diff.push({
203801
202907
  value: "",
203802
202908
  lines: []
203803
202909
  });
@@ -203809,12 +202915,12 @@ var init_prettier = __esm({
203809
202915
  var hunks = [];
203810
202916
  var oldRangeStart = 0, newRangeStart = 0, curRange = [], oldLine = 1, newLine = 1;
203811
202917
  var _loop = function _loop2(i22) {
203812
- var current2 = diff2[i22], lines = current2.lines || current2.value.replace(/\n$/, "").split("\n");
202918
+ var current2 = diff[i22], lines = current2.lines || current2.value.replace(/\n$/, "").split("\n");
203813
202919
  current2.lines = lines;
203814
202920
  if (current2.added || current2.removed) {
203815
202921
  var _curRange;
203816
202922
  if (!oldRangeStart) {
203817
- var prev = diff2[i22 - 1];
202923
+ var prev = diff[i22 - 1];
203818
202924
  oldRangeStart = oldLine;
203819
202925
  newRangeStart = newLine;
203820
202926
  if (prev) {
@@ -203842,7 +202948,7 @@ var init_prettier = __esm({
203842
202948
  }
203843
202949
  } else {
203844
202950
  if (oldRangeStart) {
203845
- if (lines.length <= options8.context * 2 && i22 < diff2.length - 2) {
202951
+ if (lines.length <= options8.context * 2 && i22 < diff.length - 2) {
203846
202952
  var _curRange2;
203847
202953
  (_curRange2 = /*istanbul ignore end*/
203848
202954
  curRange).push.apply(
@@ -203874,7 +202980,7 @@ var init_prettier = __esm({
203874
202980
  newLines: newLine - newRangeStart + contextSize,
203875
202981
  lines: curRange
203876
202982
  };
203877
- if (i22 >= diff2.length - 2 && lines.length <= options8.context) {
202983
+ if (i22 >= diff.length - 2 && lines.length <= options8.context) {
203878
202984
  var oldEOFNewline = /\n$/.test(oldStr);
203879
202985
  var newEOFNewline = /\n$/.test(newStr);
203880
202986
  var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines;
@@ -203895,7 +203001,7 @@ var init_prettier = __esm({
203895
203001
  newLine += lines.length;
203896
203002
  }
203897
203003
  };
203898
- for (var i4 = 0; i4 < diff2.length; i4++) {
203004
+ for (var i4 = 0; i4 < diff.length; i4++) {
203899
203005
  _loop(
203900
203006
  /*istanbul ignore end*/
203901
203007
  i4
@@ -203909,19 +203015,19 @@ var init_prettier = __esm({
203909
203015
  hunks
203910
203016
  };
203911
203017
  }
203912
- function formatPatch(diff2) {
203913
- if (Array.isArray(diff2)) {
203914
- return diff2.map(formatPatch).join("\n");
203018
+ function formatPatch(diff) {
203019
+ if (Array.isArray(diff)) {
203020
+ return diff.map(formatPatch).join("\n");
203915
203021
  }
203916
203022
  var ret = [];
203917
- if (diff2.oldFileName == diff2.newFileName) {
203918
- ret.push("Index: " + diff2.oldFileName);
203023
+ if (diff.oldFileName == diff.newFileName) {
203024
+ ret.push("Index: " + diff.oldFileName);
203919
203025
  }
203920
203026
  ret.push("===================================================================");
203921
- ret.push("--- " + diff2.oldFileName + (typeof diff2.oldHeader === "undefined" ? "" : " " + diff2.oldHeader));
203922
- ret.push("+++ " + diff2.newFileName + (typeof diff2.newHeader === "undefined" ? "" : " " + diff2.newHeader));
203923
- for (var i4 = 0; i4 < diff2.hunks.length; i4++) {
203924
- var hunk = diff2.hunks[i4];
203027
+ ret.push("--- " + diff.oldFileName + (typeof diff.oldHeader === "undefined" ? "" : " " + diff.oldHeader));
203028
+ ret.push("+++ " + diff.newFileName + (typeof diff.newHeader === "undefined" ? "" : " " + diff.newHeader));
203029
+ for (var i4 = 0; i4 < diff.hunks.length; i4++) {
203030
+ var hunk = diff.hunks[i4];
203925
203031
  if (hunk.oldLines === 0) {
203926
203032
  hunk.oldStart -= 1;
203927
203033
  }
@@ -204535,9 +203641,9 @@ var init_prettier = __esm({
204535
203641
  if (!tok.isPadded) {
204536
203642
  return value2;
204537
203643
  }
204538
- let diff2 = Math.abs(tok.maxLen - String(value2).length);
203644
+ let diff = Math.abs(tok.maxLen - String(value2).length);
204539
203645
  let relax = options8.relaxZeros !== false;
204540
- switch (diff2) {
203646
+ switch (diff) {
204541
203647
  case 0:
204542
203648
  return "";
204543
203649
  case 1:
@@ -204545,7 +203651,7 @@ var init_prettier = __esm({
204545
203651
  case 2:
204546
203652
  return relax ? "0{0,2}" : "00";
204547
203653
  default: {
204548
- return relax ? `0{0,${diff2}}` : `0{${diff2}}`;
203654
+ return relax ? `0{0,${diff}}` : `0{${diff}}`;
204549
203655
  }
204550
203656
  }
204551
203657
  }
@@ -204560,7 +203666,7 @@ var init_prettier = __esm({
204560
203666
  var util22 = __require2("util");
204561
203667
  var toRegexRange = require_to_regex_range();
204562
203668
  var isObject32 = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
204563
- var transform3 = (toNumber) => {
203669
+ var transform4 = (toNumber) => {
204564
203670
  return (value2) => toNumber === true ? Number(value2) : String(value2);
204565
203671
  };
204566
203672
  var isValidValue = (value2) => {
@@ -204671,7 +203777,7 @@ var init_prettier = __esm({
204671
203777
  let padded = zeros(startString) || zeros(endString) || zeros(stepString);
204672
203778
  let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0;
204673
203779
  let toNumber = padded === false && stringify(start2, end2, options8) === false;
204674
- let format32 = options8.transform || transform3(toNumber);
203780
+ let format32 = options8.transform || transform4(toNumber);
204675
203781
  if (options8.toRegex && step === 1) {
204676
203782
  return toRange(toMaxLen(start2, maxLen), toMaxLen(end2, maxLen), true, options8);
204677
203783
  }
@@ -210672,11 +209778,11 @@ var init_prettier = __esm({
210672
209778
  return false;
210673
209779
  }
210674
209780
  var stale = false;
210675
- var diff2 = Date.now() - hit.now;
209781
+ var diff = Date.now() - hit.now;
210676
209782
  if (hit.maxAge) {
210677
- stale = diff2 > hit.maxAge;
209783
+ stale = diff > hit.maxAge;
210678
209784
  } else {
210679
- stale = self2[MAX_AGE] && diff2 > self2[MAX_AGE];
209785
+ stale = self2[MAX_AGE] && diff > self2[MAX_AGE];
210680
209786
  }
210681
209787
  return stale;
210682
209788
  }
@@ -214013,7 +213119,7 @@ var init_prettier = __esm({
214013
213119
  }
214014
213120
  }
214015
213121
  });
214016
- require_lib9 = __commonJS2({
213122
+ require_lib8 = __commonJS2({
214017
213123
  "node_modules/@babel/helper-validator-identifier/lib/index.js"(exports) {
214018
213124
  "use strict";
214019
213125
  Object.defineProperty(exports, "__esModule", {
@@ -214135,7 +213241,7 @@ var init_prettier = __esm({
214135
213241
  exports.default = highlight;
214136
213242
  exports.shouldHighlight = shouldHighlight;
214137
213243
  var _jsTokens = require_js_tokens();
214138
- var _helperValidatorIdentifier = require_lib9();
213244
+ var _helperValidatorIdentifier = require_lib8();
214139
213245
  var _picocolors = _interopRequireWildcard(require_picocolors(), true);
214140
213246
  function _getRequireWildcardCache(e3) {
214141
213247
  if ("function" != typeof WeakMap) return null;
@@ -218651,14 +217757,31 @@ ${error.message}`;
218651
217757
  }
218652
217758
  });
218653
217759
 
218654
- // node_modules/.pnpm/c12@1.10.0/node_modules/c12/dist/index.mjs
217760
+ // node_modules/.pnpm/c12@2.0.0-beta.2/node_modules/c12/dist/shared/c12.cwi6FO2_.mjs
218655
217761
  init_dist();
218656
- var dotenv = __toESM(require_main(), 1);
218657
- var import_jiti = __toESM(require_lib(), 1);
218658
217762
  import { existsSync as existsSync4, promises as promises3 } from "node:fs";
218659
217763
  import { rm as rm2, readFile as readFile3 } from "node:fs/promises";
218660
217764
  import { homedir as homedir3 } from "node:os";
218661
217765
 
217766
+ // node_modules/.pnpm/jiti@2.0.0-beta.3/node_modules/jiti/lib/jiti.mjs
217767
+ var import_jiti = __toESM(require_jiti(), 1);
217768
+ var import_babel = __toESM(require_babel(), 1);
217769
+ import { createRequire } from "node:module";
217770
+ function onError(err) {
217771
+ throw err;
217772
+ }
217773
+ var nativeImport = (id) => import(id);
217774
+ function createJiti(id, opts = {}) {
217775
+ if (!opts.transform) {
217776
+ opts = { ...opts, transform: import_babel.default };
217777
+ }
217778
+ return (0, import_jiti.default)(id, opts, {
217779
+ onError,
217780
+ nativeImport,
217781
+ createRequire
217782
+ });
217783
+ }
217784
+
218662
217785
  // node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs
218663
217786
  import { existsSync, readFileSync, writeFileSync } from "node:fs";
218664
217787
  import { resolve as resolve2 } from "node:path";
@@ -218894,7 +218017,7 @@ function readUser(options8) {
218894
218017
  return read(options8);
218895
218018
  }
218896
218019
 
218897
- // node_modules/.pnpm/c12@1.10.0/node_modules/c12/dist/index.mjs
218020
+ // node_modules/.pnpm/c12@2.0.0-beta.2/node_modules/c12/dist/shared/c12.cwi6FO2_.mjs
218898
218021
  init_defu();
218899
218022
 
218900
218023
  // node_modules/.pnpm/ohash@1.1.3/node_modules/ohash/dist/index.mjs
@@ -219499,7 +218622,7 @@ function hash(object2, options8 = {}) {
219499
218622
  return sha256base64(hashed).slice(0, 10);
219500
218623
  }
219501
218624
 
219502
- // node_modules/.pnpm/pkg-types@1.1.1/node_modules/pkg-types/dist/index.mjs
218625
+ // node_modules/.pnpm/pkg-types@1.2.0/node_modules/pkg-types/dist/index.mjs
219503
218626
  init_dist();
219504
218627
  import { statSync as statSync2, promises as promises2 } from "node:fs";
219505
218628
 
@@ -224900,8 +224023,13 @@ Parser.acorn = {
224900
224023
  // node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist/index.mjs
224901
224024
  init_dist2();
224902
224025
  init_dist();
224903
- import { builtinModules, createRequire } from "node:module";
224026
+ import { builtinModules, createRequire as createRequire2 } from "node:module";
224904
224027
  import fs, { realpathSync, statSync, promises } from "node:fs";
224028
+
224029
+ // node_modules/.pnpm/confbox@0.1.7/node_modules/confbox/dist/index.mjs
224030
+ init_confbox_bcd59e75();
224031
+
224032
+ // node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist/index.mjs
224905
224033
  import { fileURLToPath as fileURLToPath$1, URL as URL$1, pathToFileURL as pathToFileURL$1 } from "node:url";
224906
224034
  import assert from "node:assert";
224907
224035
  import process$1 from "node:process";
@@ -226255,10 +225383,7 @@ function resolvePath(id, options8) {
226255
225383
  }
226256
225384
  }
226257
225385
 
226258
- // node_modules/.pnpm/confbox@0.1.7/node_modules/confbox/dist/index.mjs
226259
- init_confbox_bcd59e75();
226260
-
226261
- // node_modules/.pnpm/pkg-types@1.1.1/node_modules/pkg-types/dist/index.mjs
225386
+ // node_modules/.pnpm/pkg-types@1.2.0/node_modules/pkg-types/dist/index.mjs
226262
225387
  var defaultFindOptions = {
226263
225388
  startingFrom: ".",
226264
225389
  rootPattern: /^node_modules$/,
@@ -226375,7 +225500,8 @@ async function findWorkspaceDir(id = process.cwd(), options8 = {}) {
226375
225500
  throw new Error("Cannot detect workspace root from " + id);
226376
225501
  }
226377
225502
 
226378
- // node_modules/.pnpm/c12@1.10.0/node_modules/c12/dist/index.mjs
225503
+ // node_modules/.pnpm/c12@2.0.0-beta.2/node_modules/c12/dist/shared/c12.cwi6FO2_.mjs
225504
+ var dotenv = __toESM(require_main(), 1);
226379
225505
  async function setupDotenv(options8) {
226380
225506
  const targetEnvironment = options8.env ?? process.env;
226381
225507
  const environment = await loadDotenv({
@@ -226424,7 +225550,7 @@ function interpolate(target, source2 = {}, parse7 = (v10) => v10) {
226424
225550
  let value22, replacePart;
226425
225551
  if (prefix === "\\") {
226426
225552
  replacePart = parts[0] || "";
226427
- value22 = replacePart.replace("\\$", "$");
225553
+ value22 = replacePart.replace(String.raw`\$`, "$");
226428
225554
  } else {
226429
225555
  const key2 = parts[2];
226430
225556
  replacePart = (parts[0] || "").slice(prefix.length);
@@ -226483,10 +225609,10 @@ async function loadConfig(options8) {
226483
225609
  ...options8.extend
226484
225610
  };
226485
225611
  }
226486
- options8.jiti = options8.jiti || (0, import_jiti.default)(void 0, {
225612
+ const _merger = options8.merger || defu;
225613
+ options8.jiti = options8.jiti || createJiti(join(options8.cwd, options8.configFile), {
226487
225614
  interopDefault: true,
226488
- requireCache: false,
226489
- esmResolve: true,
225615
+ moduleCache: false,
226490
225616
  extensions: [...SUPPORTED_EXTENSIONS],
226491
225617
  ...options8.jitiOptions
226492
225618
  });
@@ -226496,17 +225622,24 @@ async function loadConfig(options8) {
226496
225622
  configFile: resolve(options8.cwd, options8.configFile),
226497
225623
  layers: []
226498
225624
  };
225625
+ const _configs = {
225626
+ overrides: options8.overrides,
225627
+ main: void 0,
225628
+ rc: void 0,
225629
+ packageJson: void 0,
225630
+ defaultConfig: options8.defaultConfig
225631
+ };
226499
225632
  if (options8.dotenv) {
226500
225633
  await setupDotenv({
226501
225634
  cwd: options8.cwd,
226502
225635
  ...options8.dotenv === true ? {} : options8.dotenv
226503
225636
  });
226504
225637
  }
226505
- const { config: config2, configFile } = await resolveConfig(".", options8);
226506
- if (configFile) {
226507
- r5.configFile = configFile;
225638
+ const _mainConfig = await resolveConfig(".", options8);
225639
+ if (_mainConfig.configFile) {
225640
+ _configs.main = _mainConfig.config;
225641
+ r5.configFile = _mainConfig.configFile;
226508
225642
  }
226509
- const configRC = {};
226510
225643
  if (options8.rcFile) {
226511
225644
  const rcSources = [];
226512
225645
  rcSources.push(read({ name: options8.rcFile, dir: options8.cwd }));
@@ -226518,9 +225651,8 @@ async function loadConfig(options8) {
226518
225651
  }
226519
225652
  rcSources.push(readUser({ name: options8.rcFile, dir: options8.cwd }));
226520
225653
  }
226521
- Object.assign(configRC, defu({}, ...rcSources));
225654
+ _configs.rc = _merger({}, ...rcSources);
226522
225655
  }
226523
- const pkgJson = {};
226524
225656
  if (options8.packageJson) {
226525
225657
  const keys2 = (Array.isArray(options8.packageJson) ? options8.packageJson : [
226526
225658
  typeof options8.packageJson === "string" ? options8.packageJson : options8.name
@@ -226528,34 +225660,42 @@ async function loadConfig(options8) {
226528
225660
  const pkgJsonFile = await readPackageJSON(options8.cwd).catch(() => {
226529
225661
  });
226530
225662
  const values2 = keys2.map((key2) => pkgJsonFile?.[key2]);
226531
- Object.assign(pkgJson, defu({}, ...values2));
226532
- }
226533
- r5.config = defu(
226534
- options8.overrides,
226535
- config2,
226536
- configRC,
226537
- pkgJson,
226538
- options8.defaultConfig
225663
+ _configs.packageJson = _merger({}, ...values2);
225664
+ }
225665
+ const configs = {};
225666
+ for (const key2 in _configs) {
225667
+ const value2 = _configs[key2];
225668
+ configs[key2] = await (typeof value2 === "function" ? value2({ configs }) : value2);
225669
+ }
225670
+ r5.config = _merger(
225671
+ configs.overrides,
225672
+ configs.main,
225673
+ configs.rc,
225674
+ configs.packageJson,
225675
+ configs.defaultConfig
226539
225676
  );
226540
225677
  if (options8.extend) {
226541
225678
  await extendConfig(r5.config, options8);
226542
225679
  r5.layers = r5.config._layers;
226543
225680
  delete r5.config._layers;
226544
- r5.config = defu(r5.config, ...r5.layers.map((e3) => e3.config));
225681
+ r5.config = _merger(r5.config, ...r5.layers.map((e3) => e3.config));
226545
225682
  }
226546
225683
  const baseLayers = [
226547
- options8.overrides && {
226548
- config: options8.overrides,
225684
+ configs.overrides && {
225685
+ config: configs.overrides,
226549
225686
  configFile: void 0,
226550
225687
  cwd: void 0
226551
225688
  },
226552
- { config: config2, configFile: options8.configFile, cwd: options8.cwd },
226553
- options8.rcFile && { config: configRC, configFile: options8.rcFile },
226554
- options8.packageJson && { config: pkgJson, configFile: "package.json" }
225689
+ { config: configs.main, configFile: options8.configFile, cwd: options8.cwd },
225690
+ configs.rc && { config: configs.rc, configFile: options8.rcFile },
225691
+ configs.packageJson && {
225692
+ config: configs.packageJson,
225693
+ configFile: "package.json"
225694
+ }
226555
225695
  ].filter((l4) => l4 && l4.config);
226556
225696
  r5.layers = [...baseLayers, ...r5.layers];
226557
225697
  if (options8.defaults) {
226558
- r5.config = defu(r5.config, options8.defaults);
225698
+ r5.config = _merger(r5.config, options8.defaults);
226559
225699
  }
226560
225700
  if (options8.omit$Keys) {
226561
225701
  for (const key2 in r5.config) {
@@ -226634,7 +225774,8 @@ async function resolveConfig(source2, options8, sourceOptions = {}) {
226634
225774
  return res2;
226635
225775
  }
226636
225776
  }
226637
- if (GIGET_PREFIXES.some((prefix) => source2.startsWith(prefix))) {
225777
+ const _merger = options8.merger || defu;
225778
+ if (options8.giget !== false && GIGET_PREFIXES.some((prefix) => source2.startsWith(prefix))) {
226638
225779
  const { downloadTemplate: downloadTemplate2 } = await Promise.resolve().then(() => (init_dist4(), dist_exports));
226639
225780
  const cloneName = source2.replace(/\W+/g, "_").split("_").splice(0, 3).join("_") + "_" + hash(source2);
226640
225781
  let cloneDir;
@@ -226662,7 +225803,7 @@ async function resolveConfig(source2, options8, sourceOptions = {}) {
226662
225803
  }
226663
225804
  const tryResolve = (id) => {
226664
225805
  try {
226665
- return options8.jiti.resolve(id, { paths: [options8.cwd] });
225806
+ return options8.jiti.esmResolve(id, { try: true });
226666
225807
  } catch {
226667
225808
  }
226668
225809
  };
@@ -226692,7 +225833,7 @@ async function resolveConfig(source2, options8, sourceOptions = {}) {
226692
225833
  const contents = await readFile3(res.configFile, "utf8");
226693
225834
  res.config = asyncLoader(contents);
226694
225835
  } else {
226695
- res.config = options8.jiti(res.configFile);
225836
+ res.config = await options8.jiti.import(res.configFile);
226696
225837
  }
226697
225838
  if (res.config instanceof Function) {
226698
225839
  res.config = await res.config();
@@ -226703,19 +225844,23 @@ async function resolveConfig(source2, options8, sourceOptions = {}) {
226703
225844
  ...res.config.$env?.[options8.envName]
226704
225845
  };
226705
225846
  if (Object.keys(envConfig).length > 0) {
226706
- res.config = defu(envConfig, res.config);
225847
+ res.config = _merger(envConfig, res.config);
226707
225848
  }
226708
225849
  }
226709
225850
  res.meta = defu(res.sourceOptions.meta, res.config.$meta);
226710
225851
  delete res.config.$meta;
226711
225852
  if (res.sourceOptions.overrides) {
226712
- res.config = defu(res.sourceOptions.overrides, res.config);
225853
+ res.config = _merger(res.sourceOptions.overrides, res.config);
226713
225854
  }
226714
225855
  res.configFile = _normalize(res.configFile);
226715
225856
  res.source = _normalize(res.source);
226716
225857
  return res;
226717
225858
  }
226718
225859
 
225860
+ // node_modules/.pnpm/c12@2.0.0-beta.2/node_modules/c12/dist/index.mjs
225861
+ init_defu();
225862
+ var import_dotenv = __toESM(require_main(), 1);
225863
+
226719
225864
  // packages/config-tools/src/config-file/get-config-file.ts
226720
225865
  var import_deepmerge = __toESM(require_cjs());
226721
225866
 
@@ -227563,12 +226708,12 @@ var ZodType = class {
227563
226708
  and(incoming) {
227564
226709
  return ZodIntersection.create(this, incoming, this._def);
227565
226710
  }
227566
- transform(transform3) {
226711
+ transform(transform4) {
227567
226712
  return new ZodEffects({
227568
226713
  ...processCreateParams(this._def),
227569
226714
  schema: this,
227570
226715
  typeName: ZodFirstPartyTypeKind.ZodEffects,
227571
- effect: { type: "transform", transform: transform3 }
226716
+ effect: { type: "transform", transform: transform4 }
227572
226717
  });
227573
226718
  }
227574
226719
  default(def) {
@@ -231753,8 +230898,8 @@ ${formatLogMessage(config2)}`,
231753
230898
  };
231754
230899
 
231755
230900
  // packages/git-tools/bin/git.ts
231756
- var import_fs_extra = __toESM(require_lib3(), 1);
231757
- var import_tsconfig_paths = __toESM(require_lib5(), 1);
230901
+ var import_fs_extra = __toESM(require_lib2(), 1);
230902
+ var import_tsconfig_paths = __toESM(require_lib4(), 1);
231758
230903
  import { join as join12 } from "node:path";
231759
230904
 
231760
230905
  // node_modules/.pnpm/commander@12.1.0/node_modules/commander/esm.mjs
@@ -235976,7 +235121,7 @@ function determineTitle(title, notitle, lines, info) {
235976
235121
  if (title) return title;
235977
235122
  return info.hasStart ? lines[info.startIdx + 2] : defaultTitle;
235978
235123
  }
235979
- function transform2(content, mode, maxHeaderLevel, title, notitle, entryPrefix, processAll, updateOnly) {
235124
+ function transform3(content, mode, maxHeaderLevel, title, notitle, entryPrefix, processAll, updateOnly) {
235980
235125
  if (content.indexOf(skipTag) !== -1) return { transformed: false };
235981
235126
  mode = mode || "github.com";
235982
235127
  entryPrefix = entryPrefix || "-";
@@ -236093,7 +235238,7 @@ async function transformAndSave(files, mode = "github.com", maxHeaderLevel = 3,
236093
235238
  }
236094
235239
  console.log("\n==================\n");
236095
235240
  const transformed = files.map((x9) => {
236096
- const result2 = transform2(
235241
+ const result2 = transform3(
236097
235242
  readFileSync4(x9.path, "utf8"),
236098
235243
  mode,
236099
235244
  maxHeaderLevel,