@styleframe/cli 1.0.4 → 2.0.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/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  (function(global2, factory) {
2
- typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory(require("citty"), require("consola"), require("fs/promises"), require("path"), require("node:fs/promises"), require("node:fs"), require("magicast"), require("magicast/helpers"), require("node:path"), require("node:url"), require("node:os"), require("node:assert"), require("node:process"), require("node:v8"), require("node:util"), require("node:module"), require("node:crypto"), require("node:tty"), require("node:perf_hooks"), require("node:vm"), require("fs"), require("os"), require("crypto"), require("assert"), require("events"), require("stream"), require("string_decoder"), require("buffer"), require("zlib"), require("process"), require("util"), require("node:stream"), require("node:http"), require("node:https"), require("node:net"), require("node:buffer"), require("node:querystring"), require("node:events"), require("node:diagnostics_channel"), require("node:tls"), require("node:zlib"), require("node:util/types"), require("node:worker_threads"), require("node:async_hooks"), require("node:console"), require("node:dns"), require("net"), require("http"), require("https"), require("tls"), require("tty"), require("url"), require("child_process"), require("readline")) : typeof define === "function" && define.amd ? define(["citty", "consola", "fs/promises", "path", "node:fs/promises", "node:fs", "magicast", "magicast/helpers", "node:path", "node:url", "node:os", "node:assert", "node:process", "node:v8", "node:util", "node:module", "node:crypto", "node:tty", "node:perf_hooks", "node:vm", "fs", "os", "crypto", "assert", "events", "stream", "string_decoder", "buffer", "zlib", "process", "util", "node:stream", "node:http", "node:https", "node:net", "node:buffer", "node:querystring", "node:events", "node:diagnostics_channel", "node:tls", "node:zlib", "node:util/types", "node:worker_threads", "node:async_hooks", "node:console", "node:dns", "net", "http", "https", "tls", "tty", "url", "child_process", "readline"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, global2.cli = factory(global2.citty, global2.consola, global2.promises$1, global2.sysPath, global2.promises, global2.fs, global2.magicast, global2.helpers, global2.path, global2.require$$9, global2.require$$0, global2.assert, global2.process$1, global2.v8, global2.require$$6, global2.require$$1, global2.require$$9$1, global2.require$$10, global2.require$$11, global2.require$$12, global2.V$4, global2.require$$2, global2.require$$3, global2.j$1$1, global2.nt, global2.ot, global2.ht$1, global2.P$2, global2.O$2$1, global2.nt$1, global2.require$$33, global2.require$$4$1, global2.require$$1$1, global2.require$$2$1, global2.require$$9$2, global2.require$$5, global2.require$$15, global2.require$$16, global2.require$$17, global2.require$$19, global2.require$$3$1, global2.require$$22, global2.require$$23, global2.require$$24, global2.require$$25, global2.require$$26, global2.require$$28, global2.require$$29, global2.require$$30, global2.require$$31, global2.require$$32, global2.require$$36, global2.child_process, global2.me$2));
3
- })(this, (function(citty, consola, promises$1, sysPath, promises, fs, magicast, helpers, path, require$$9, require$$0, assert, process$1, v8, require$$6, require$$1, require$$9$1, require$$10, require$$11, require$$12, V$4, require$$2, require$$3, j$1$1, nt, ot, ht$1, P$2, O$2$1, nt$1, require$$33, require$$4$1, require$$1$1, require$$2$1, require$$9$2, require$$5, require$$15, require$$16, require$$17, require$$19, require$$3$1, require$$22, require$$23, require$$24, require$$25, require$$26, require$$28, require$$29, require$$30, require$$31, require$$32, require$$36, child_process, me$2) {
2
+ typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory(require("citty"), require("consola"), require("fs/promises"), require("path"), require("node:fs/promises"), require("node:fs"), require("magicast"), require("magicast/helpers"), require("node:path"), require("node:url"), require("node:os"), require("node:assert"), require("node:process"), require("node:v8"), require("node:util"), require("node:module"), require("node:crypto"), require("node:tty"), require("node:perf_hooks"), require("node:vm"), require("fs"), require("os"), require("crypto"), require("assert"), require("events"), require("stream"), require("string_decoder"), require("buffer"), require("zlib"), require("process"), require("util"), require("node:stream"), require("node:http"), require("node:https"), require("node:net"), require("node:buffer"), require("node:querystring"), require("node:events"), require("node:diagnostics_channel"), require("node:tls"), require("node:zlib"), require("node:util/types"), require("node:worker_threads"), require("node:async_hooks"), require("node:console"), require("node:dns"), require("net"), require("http"), require("https"), require("tls"), require("tty"), require("url"), require("child_process"), require("readline")) : typeof define === "function" && define.amd ? define(["citty", "consola", "fs/promises", "path", "node:fs/promises", "node:fs", "magicast", "magicast/helpers", "node:path", "node:url", "node:os", "node:assert", "node:process", "node:v8", "node:util", "node:module", "node:crypto", "node:tty", "node:perf_hooks", "node:vm", "fs", "os", "crypto", "assert", "events", "stream", "string_decoder", "buffer", "zlib", "process", "util", "node:stream", "node:http", "node:https", "node:net", "node:buffer", "node:querystring", "node:events", "node:diagnostics_channel", "node:tls", "node:zlib", "node:util/types", "node:worker_threads", "node:async_hooks", "node:console", "node:dns", "net", "http", "https", "tls", "tty", "url", "child_process", "readline"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, global2.cli = factory(global2.citty, global2.consola, global2.promises$1, global2.sysPath, global2.promises, global2.fs, global2.magicast, global2.helpers, global2.path, global2.require$$9, global2.require$$0, global2.assert, global2.process$1, global2.v8, global2.require$$6, global2.require$$1, global2.require$$9$1, global2.require$$10, global2.require$$11, global2.require$$12, global2.V$3, global2.require$$2, global2.require$$3, global2.j$1$1, global2.nt, global2.ot, global2.ht$1, global2.P$3, global2.O$2$1, global2.nt$1, global2.require$$33, global2.require$$4$1, global2.require$$1$1, global2.require$$2$1, global2.require$$9$2, global2.require$$5, global2.require$$15, global2.require$$16, global2.require$$17, global2.require$$19, global2.require$$3$1, global2.require$$22, global2.require$$23, global2.require$$24, global2.require$$25, global2.require$$26, global2.require$$28, global2.require$$29, global2.require$$30, global2.require$$31, global2.require$$32, global2.require$$36, global2.child_process, global2.me$2));
3
+ })(this, (function(citty, consola, promises$1, sysPath, promises, fs, magicast, helpers, path, require$$9, require$$0, assert, process$1, v8, require$$6, require$$1, require$$9$1, require$$10, require$$11, require$$12, V$3, require$$2, require$$3, j$1$1, nt, ot, ht$1, P$3, O$2$1, nt$1, require$$33, require$$4$1, require$$1$1, require$$2$1, require$$9$2, require$$5, require$$15, require$$16, require$$17, require$$19, require$$3$1, require$$22, require$$23, require$$24, require$$25, require$$26, require$$28, require$$29, require$$30, require$$31, require$$32, require$$36, child_process, me$2) {
4
4
  "use strict";
5
5
  var _documentCurrentScript = typeof document !== "undefined" ? document.currentScript : null;
6
6
  function _mergeNamespaces(n2, m2) {
@@ -9,9 +9,9 @@
9
9
  if (typeof e2 !== "string" && !Array.isArray(e2)) {
10
10
  for (const k2 in e2) {
11
11
  if (k2 !== "default" && !(k2 in n2)) {
12
- const d2 = Object.getOwnPropertyDescriptor(e2, k2);
13
- if (d2) {
14
- Object.defineProperty(n2, k2, d2.get ? d2 : {
12
+ const d = Object.getOwnPropertyDescriptor(e2, k2);
13
+ if (d) {
14
+ Object.defineProperty(n2, k2, d.get ? d : {
15
15
  enumerable: true,
16
16
  get: () => e2[k2]
17
17
  });
@@ -22,7 +22,7 @@
22
22
  }
23
23
  return Object.freeze(Object.defineProperty(n2, Symbol.toStringTag, { value: "Module" }));
24
24
  }
25
- const version$1 = "1.0.4";
25
+ const version$1 = "1.0.5";
26
26
  const description = "A command-line interface for styleframe.";
27
27
  const main$1 = citty.defineCommand({
28
28
  meta: {
@@ -168,6 +168,54 @@ export default s;
168
168
  initializeConfigFile,
169
169
  initializeFrameworkFile
170
170
  }, Symbol.toStringTag, { value: "Module" }));
171
+ const a$a = "__licenseRequired", o$5 = "__licenseValidated", f$4 = "zkbxuglymolesrtagncn", s$9 = `https://${f$4}.supabase.co`, y$5 = {};
172
+ function I$4() {
173
+ return process.env?.STYLEFRAME_KEY || y$5?.STYLEFRAME_KEY;
174
+ }
175
+ async function p$4(e2) {
176
+ return await (await fetch(
177
+ `${s$9}/functions/v1/validate-license`,
178
+ {
179
+ method: "POST",
180
+ body: JSON.stringify(e2)
181
+ }
182
+ )).json();
183
+ }
184
+ function c$6(e2) {
185
+ return Object.prototype.hasOwnProperty.call(e2, a$a);
186
+ }
187
+ function b$3(e2, n2) {
188
+ Object.defineProperty(e2, o$5, {
189
+ value: n2,
190
+ writable: false,
191
+ configurable: false,
192
+ enumerable: false
193
+ });
194
+ }
195
+ async function L$4(e2, {
196
+ licenseKey: n2,
197
+ environment: t2,
198
+ isBuild: r2 = false
199
+ }) {
200
+ if (c$6(e2)) {
201
+ if (n2) {
202
+ const i2 = await p$4({
203
+ key: n2,
204
+ instanceId: e2.id,
205
+ environment: t2
206
+ });
207
+ if ("payload" in i2 && "signature" in i2)
208
+ b$3(e2, i2);
209
+ else
210
+ throw new Error(`License validation failed with ${i2.error}`);
211
+ } else if (t2 !== "production")
212
+ console.warn("[styleframe] No styleframe Pro license key provided.");
213
+ else if (r2)
214
+ throw new Error(
215
+ "A valid styleframe Pro license key is required to build in production mode."
216
+ );
217
+ }
218
+ }
171
219
  const _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
172
220
  function normalizeWindowsPath(input = "") {
173
221
  if (!input) {
@@ -1796,9 +1844,9 @@ Default "index" lookups for the main are deprecated for ES modules.`,
1796
1844
  function binop(e4, t4) {
1797
1845
  return new acorn_TokenType(e4, { beforeExpr: true, binop: t4 });
1798
1846
  }
1799
- var l2 = { beforeExpr: true }, u2 = { startsExpr: true }, d2 = {};
1847
+ var l2 = { beforeExpr: true }, u2 = { startsExpr: true }, d = {};
1800
1848
  function kw(e4, t4) {
1801
- return void 0 === t4 && (t4 = {}), t4.keyword = e4, d2[e4] = new acorn_TokenType(e4, t4);
1849
+ return void 0 === t4 && (t4 = {}), t4.keyword = e4, d[e4] = new acorn_TokenType(e4, t4);
1802
1850
  }
1803
1851
  var f2 = { num: new acorn_TokenType("num", u2), regexp: new acorn_TokenType("regexp", u2), string: new acorn_TokenType("string", u2), name: new acorn_TokenType("name", u2), privateId: new acorn_TokenType("privateId", u2), eof: new acorn_TokenType("eof"), bracketL: new acorn_TokenType("[", { beforeExpr: true, startsExpr: true }), bracketR: new acorn_TokenType("]"), braceL: new acorn_TokenType("{", { beforeExpr: true, startsExpr: true }), braceR: new acorn_TokenType("}"), parenL: new acorn_TokenType("(", { beforeExpr: true, startsExpr: true }), parenR: new acorn_TokenType(")"), comma: new acorn_TokenType(",", l2), semi: new acorn_TokenType(";", l2), colon: new acorn_TokenType(":", l2), dot: new acorn_TokenType("."), question: new acorn_TokenType("?", l2), questionDot: new acorn_TokenType("?."), arrow: new acorn_TokenType("=>", l2), template: new acorn_TokenType("template"), invalidTemplate: new acorn_TokenType("invalidTemplate"), ellipsis: new acorn_TokenType("...", l2), backQuote: new acorn_TokenType("`", u2), dollarBraceL: new acorn_TokenType("${", { beforeExpr: true, startsExpr: true }), eq: new acorn_TokenType("=", { beforeExpr: true, isAssign: true }), assign: new acorn_TokenType("_=", { beforeExpr: true, isAssign: true }), incDec: new acorn_TokenType("++/--", { prefix: true, postfix: true, startsExpr: true }), prefix: new acorn_TokenType("!/~", { beforeExpr: true, prefix: true, startsExpr: true }), logicalOR: binop("||", 1), logicalAND: binop("&&", 2), bitwiseOR: binop("|", 3), bitwiseXOR: binop("^", 4), bitwiseAND: binop("&", 5), equality: binop("==/!=/===/!==", 6), relational: binop("</>/<=/>=", 7), bitShift: binop("<</>>/>>>", 8), plusMin: new acorn_TokenType("+/-", { beforeExpr: true, binop: 9, prefix: true, startsExpr: true }), modulo: binop("%", 10), star: binop("*", 10), slash: binop("/", 10), starstar: new acorn_TokenType("**", { beforeExpr: true }), coalesce: binop("??", 1), _break: kw("break"), _case: kw("case", l2), _catch: kw("catch"), _continue: kw("continue"), _debugger: kw("debugger"), _default: kw("default", l2), _do: kw("do", { isLoop: true, beforeExpr: true }), _else: kw("else", l2), _finally: kw("finally"), _for: kw("for", { isLoop: true }), _function: kw("function", u2), _if: kw("if"), _return: kw("return", l2), _switch: kw("switch"), _throw: kw("throw", l2), _try: kw("try"), _var: kw("var"), _const: kw("const"), _while: kw("while", { isLoop: true }), _with: kw("with"), _new: kw("new", { beforeExpr: true, startsExpr: true }), _this: kw("this", u2), _super: kw("super", u2), _class: kw("class", u2), _extends: kw("extends", l2), _export: kw("export"), _import: kw("import", u2), _null: kw("null", u2), _true: kw("true", u2), _false: kw("false", u2), _in: kw("in", { beforeExpr: true, binop: 7 }), _instanceof: kw("instanceof", { beforeExpr: true, binop: 7 }), _typeof: kw("typeof", { beforeExpr: true, prefix: true, startsExpr: true }), _void: kw("void", { beforeExpr: true, prefix: true, startsExpr: true }), _delete: kw("delete", { beforeExpr: true, prefix: true, startsExpr: true }) }, m2 = /\r\n?|\n|\u2028|\u2029/, g2 = new RegExp(m2.source, "g");
1804
1852
  function isNewLine(e4) {
@@ -2665,11 +2713,11 @@ Default "index" lookups for the main are deprecated for ES modules.`,
2665
2713
  var p3 = this.startNodeAt(t4, i3);
2666
2714
  p3.object = e4, c3 ? (p3.property = this.parseExpression(), this.expect(f2.bracketR)) : this.type === f2.privateId && "Super" !== e4.type ? p3.property = this.parsePrivateIdent() : p3.property = this.parseIdent("never" !== this.options.allowReserved), p3.computed = !!c3, o3 && (p3.optional = h3), e4 = this.finishNode(p3, "MemberExpression");
2667
2715
  } else if (!s3 && this.eat(f2.parenL)) {
2668
- var l3 = new acorn_DestructuringErrors(), u3 = this.yieldPos, d3 = this.awaitPos, m3 = this.awaitIdentPos;
2716
+ var l3 = new acorn_DestructuringErrors(), u3 = this.yieldPos, d2 = this.awaitPos, m3 = this.awaitIdentPos;
2669
2717
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
2670
2718
  var g3 = this.parseExprList(f2.parenR, this.options.ecmaVersion >= 8, false, l3);
2671
- if (r3 && !h3 && this.shouldParseAsyncArrow()) return this.checkPatternErrors(l3, false), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = u3, this.awaitPos = d3, this.awaitIdentPos = m3, this.parseSubscriptAsyncArrow(t4, i3, g3, a3);
2672
- this.checkExpressionErrors(l3, true), this.yieldPos = u3 || this.yieldPos, this.awaitPos = d3 || this.awaitPos, this.awaitIdentPos = m3 || this.awaitIdentPos;
2719
+ if (r3 && !h3 && this.shouldParseAsyncArrow()) return this.checkPatternErrors(l3, false), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = u3, this.awaitPos = d2, this.awaitIdentPos = m3, this.parseSubscriptAsyncArrow(t4, i3, g3, a3);
2720
+ this.checkExpressionErrors(l3, true), this.yieldPos = u3 || this.yieldPos, this.awaitPos = d2 || this.awaitPos, this.awaitIdentPos = m3 || this.awaitIdentPos;
2673
2721
  var x3 = this.startNodeAt(t4, i3);
2674
2722
  x3.callee = e4, x3.arguments = g3, o3 && (x3.optional = h3), e4 = this.finishNode(x3, "CallExpression");
2675
2723
  } else if (this.type === f2.backQuote) {
@@ -2758,7 +2806,7 @@ Default "index" lookups for the main are deprecated for ES modules.`,
2758
2806
  var i3, s3 = this.start, r3 = this.startLoc, n3 = this.options.ecmaVersion >= 8;
2759
2807
  if (this.options.ecmaVersion >= 6) {
2760
2808
  this.next();
2761
- var a3, o3 = this.start, h3 = this.startLoc, c3 = [], p3 = true, l3 = false, u3 = new acorn_DestructuringErrors(), d3 = this.yieldPos, m3 = this.awaitPos;
2809
+ var a3, o3 = this.start, h3 = this.startLoc, c3 = [], p3 = true, l3 = false, u3 = new acorn_DestructuringErrors(), d2 = this.yieldPos, m3 = this.awaitPos;
2762
2810
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== f2.parenR; ) {
2763
2811
  if (p3 ? p3 = false : this.expect(f2.comma), n3 && this.afterTrailingComma(f2.parenR, true)) {
2764
2812
  l3 = true;
@@ -2771,8 +2819,8 @@ Default "index" lookups for the main are deprecated for ES modules.`,
2771
2819
  c3.push(this.parseMaybeAssign(false, u3, this.parseParenItem));
2772
2820
  }
2773
2821
  var g3 = this.lastTokEnd, x3 = this.lastTokEndLoc;
2774
- if (this.expect(f2.parenR), e4 && this.shouldParseArrow(c3) && this.eat(f2.arrow)) return this.checkPatternErrors(u3, false), this.checkYieldAwaitInDefaultParams(), this.yieldPos = d3, this.awaitPos = m3, this.parseParenArrowList(s3, r3, c3, t4);
2775
- c3.length && !l3 || this.unexpected(this.lastTokStart), a3 && this.unexpected(a3), this.checkExpressionErrors(u3, true), this.yieldPos = d3 || this.yieldPos, this.awaitPos = m3 || this.awaitPos, c3.length > 1 ? ((i3 = this.startNodeAt(o3, h3)).expressions = c3, this.finishNodeAt(i3, "SequenceExpression", g3, x3)) : i3 = c3[0];
2822
+ if (this.expect(f2.parenR), e4 && this.shouldParseArrow(c3) && this.eat(f2.arrow)) return this.checkPatternErrors(u3, false), this.checkYieldAwaitInDefaultParams(), this.yieldPos = d2, this.awaitPos = m3, this.parseParenArrowList(s3, r3, c3, t4);
2823
+ c3.length && !l3 || this.unexpected(this.lastTokStart), a3 && this.unexpected(a3), this.checkExpressionErrors(u3, true), this.yieldPos = d2 || this.yieldPos, this.awaitPos = m3 || this.awaitPos, c3.length > 1 ? ((i3 = this.startNodeAt(o3, h3)).expressions = c3, this.finishNodeAt(i3, "SequenceExpression", g3, x3)) : i3 = c3[0];
2776
2824
  } else i3 = this.parseParenExpression();
2777
2825
  if (this.options.preserveParens) {
2778
2826
  var v3 = this.startNodeAt(s3, r3);
@@ -3820,9 +3868,9 @@ Default "index" lookups for the main are deprecated for ES modules.`,
3820
3868
  return e4 + this.input.slice(i3, this.pos);
3821
3869
  }, ce2.readWord = function() {
3822
3870
  var e4 = this.readWord1(), t4 = f2.name;
3823
- return this.keywords.test(e4) && (t4 = d2[e4]), this.finishToken(t4, e4);
3871
+ return this.keywords.test(e4) && (t4 = d[e4]), this.finishToken(t4, e4);
3824
3872
  };
3825
- acorn_Parser.acorn = { Parser: acorn_Parser, version: "8.15.0", defaultOptions: I2, Position: acorn_Position, SourceLocation: acorn_SourceLocation, getLineInfo, Node: acorn_Node, TokenType: acorn_TokenType, tokTypes: f2, keywordTypes: d2, TokContext: acorn_TokContext, tokContexts: F2, isIdentifierChar, isIdentifierStart, Token: acorn_Token, isNewLine, lineBreak: m2, lineBreakG: g2, nonASCIIwhitespace: x2 };
3873
+ acorn_Parser.acorn = { Parser: acorn_Parser, version: "8.15.0", defaultOptions: I2, Position: acorn_Position, SourceLocation: acorn_SourceLocation, getLineInfo, Node: acorn_Node, TokenType: acorn_TokenType, tokTypes: f2, keywordTypes: d, TokContext: acorn_TokContext, tokContexts: F2, isIdentifierChar, isIdentifierStart, Token: acorn_Token, isNewLine, lineBreak: m2, lineBreakG: g2, nonASCIIwhitespace: x2 };
3826
3874
  const le2 = require$$1, ue2 = fs;
3827
3875
  const fe2 = /^\.?\//;
3828
3876
  function withTrailingSlash(e4 = "", t4) {
@@ -3915,7 +3963,7 @@ Default "index" lookups for the main are deprecated for ES modules.`,
3915
3963
  }
3916
3964
  }
3917
3965
  return s3;
3918
- }, _e2 = require$$9, Ee2 = assert, be2 = process$1, Se = path, ke = v8, we2 = require$$6, Ie = new Set(le2.builtinModules);
3966
+ }, _e2 = require$$9, Ee2 = assert, be2 = process$1, Se2 = path, ke = v8, we2 = require$$6, Ie = new Set(le2.builtinModules);
3919
3967
  function normalizeSlash(e4) {
3920
3968
  return e4.replace(/\\/g, "/");
3921
3969
  }
@@ -3999,7 +4047,7 @@ Default "index" lookups for the main are deprecated for ES modules.`,
3999
4047
  if (s3) return s3;
4000
4048
  let r3;
4001
4049
  try {
4002
- r3 = ue2.readFileSync(Se.toNamespacedPath(e4), "utf8");
4050
+ r3 = ue2.readFileSync(Se2.toNamespacedPath(e4), "utf8");
4003
4051
  } catch (e5) {
4004
4052
  const t5 = e5;
4005
4053
  if ("ENOENT" !== t5.code) throw t5;
@@ -4078,7 +4126,7 @@ Default "index" lookups for the main are deprecated for ES modules.`,
4078
4126
  })(e4, { parentURL: i3.href });
4079
4127
  if ("module" !== r3) return;
4080
4128
  const n3 = (0, _e2.fileURLToPath)(e4.href), a3 = (0, _e2.fileURLToPath)(new _e2.URL(".", t4)), o3 = (0, _e2.fileURLToPath)(i3);
4081
- s3 ? Se.resolve(a3, s3) !== n3 && be2.emitWarning(`Package ${a3} has a "main" field set to "${s3}", excluding the full filename and extension to the resolved file at "${n3.slice(a3.length)}", imported from ${o3}.
4129
+ s3 ? Se2.resolve(a3, s3) !== n3 && be2.emitWarning(`Package ${a3} has a "main" field set to "${s3}", excluding the full filename and extension to the resolved file at "${n3.slice(a3.length)}", imported from ${o3}.
4082
4130
  Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151") : be2.emitWarning(`No "main" or "exports" field defined in the package.json for ${a3} resolving the main entry point "${n3.slice(a3.length)}", imported from ${o3}.
4083
4131
  Default "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
4084
4132
  }
@@ -4347,7 +4395,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4347
4395
  }
4348
4396
  {
4349
4397
  const t6 = (0, ue2.realpathSync)(i4), { search: s5, hash: r4 } = e5;
4350
- (e5 = (0, _e2.pathToFileURL)(t6 + (i4.endsWith(Se.sep) ? "/" : ""))).search = s5, e5.hash = r4;
4398
+ (e5 = (0, _e2.pathToFileURL)(t6 + (i4.endsWith(Se2.sep) ? "/" : ""))).search = s5, e5.hash = r4;
4351
4399
  }
4352
4400
  return e5;
4353
4401
  })(a3, t4);
@@ -4689,9 +4737,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4689
4737
  }
4690
4738
  const u3 = new le2.Module(r3);
4691
4739
  u3.filename = r3, e4.parentModule && (u3.parent = e4.parentModule, Array.isArray(e4.parentModule.children) && !e4.parentModule.children.includes(u3) && e4.parentModule.children.push(u3));
4692
- const d3 = createJiti2(r3, e4.opts, { parentModule: u3, parentCache: a3, nativeImport: e4.nativeImport, onError: e4.onError, createRequire: e4.createRequire }, true);
4740
+ const d2 = createJiti2(r3, e4.opts, { parentModule: u3, parentCache: a3, nativeImport: e4.nativeImport, onError: e4.onError, createRequire: e4.createRequire }, true);
4693
4741
  let f3;
4694
- u3.require = d3, u3.path = pathe_M_eThtNZ_dirname(r3), u3.paths = le2.Module._nodeModulePaths(u3.path), a3[r3] = u3, e4.opts.moduleCache && (e4.nativeRequire.cache[r3] = u3);
4742
+ u3.require = d2, u3.path = pathe_M_eThtNZ_dirname(r3), u3.paths = le2.Module._nodeModulePaths(u3.path), a3[r3] = u3, e4.opts.moduleCache && (e4.nativeRequire.cache[r3] = u3);
4695
4743
  const m3 = (function(e5, t5) {
4696
4744
  return `(${t5?.async ? "async " : ""}function (exports, require, module, __filename, __dirname, jitiImport, jitiESMResolve) { ${e5}
4697
4745
  });`;
@@ -4706,7 +4754,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4706
4754
  }
4707
4755
  let g3;
4708
4756
  try {
4709
- g3 = f3(u3.exports, u3.require, u3, u3.filename, pathe_M_eThtNZ_dirname(u3.filename), d3.import, d3.esmResolve);
4757
+ g3 = f3(u3.exports, u3.require, u3, u3.filename, pathe_M_eThtNZ_dirname(u3.filename), d2.import, d2.esmResolve);
4710
4758
  } catch (t5) {
4711
4759
  e4.opts.moduleCache && delete e4.nativeRequire.cache[r3], e4.onError(t5);
4712
4760
  }
@@ -4730,18 +4778,18 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4730
4778
  return void 0 !== e5.cache && (i4.fsCache = e5.cache), void 0 !== e5.requireCache && (i4.moduleCache = e5.requireCache), { ...t5, ...i4, ...e5 };
4731
4779
  })(t4), n3 = r3.alias && Object.keys(r3.alias).length > 0 ? normalizeAliases(r3.alias || {}) : void 0, a3 = ["typescript", "jiti", ...r3.nativeModules || []], o3 = new RegExp(`node_modules/(${a3.map((e5) => escapeStringRegexp(e5)).join("|")})/`), h3 = [...r3.transformModules || []], c3 = new RegExp(`node_modules/(${h3.map((e5) => escapeStringRegexp(e5)).join("|")})/`);
4732
4780
  e4 || (e4 = process.cwd()), !s3 && isDir(e4) && (e4 = pathe_M_eThtNZ_join(e4, "_index.js"));
4733
- const p3 = pathToFileURL(e4), l3 = [...r3.extensions].filter((e5) => ".js" !== e5), u3 = i3.createRequire(Jt ? e4.replace(/\//g, "\\") : e4), d3 = { filename: e4, url: p3, opts: r3, alias: n3, nativeModules: a3, transformModules: h3, isNativeRe: o3, isTransformRe: c3, additionalExts: l3, nativeRequire: u3, onError: i3.onError, parentModule: i3.parentModule, parentCache: i3.parentCache, nativeImport: i3.nativeImport, createRequire: i3.createRequire };
4734
- s3 || debug2(d3, "[init]", ...[["version:", ut2.rE], ["module-cache:", r3.moduleCache], ["fs-cache:", r3.fsCache], ["rebuild-fs-cache:", r3.rebuildFsCache], ["interop-defaults:", r3.interopDefault]].flat()), s3 || prepareCacheDir(d3);
4781
+ const p3 = pathToFileURL(e4), l3 = [...r3.extensions].filter((e5) => ".js" !== e5), u3 = i3.createRequire(Jt ? e4.replace(/\//g, "\\") : e4), d2 = { filename: e4, url: p3, opts: r3, alias: n3, nativeModules: a3, transformModules: h3, isNativeRe: o3, isTransformRe: c3, additionalExts: l3, nativeRequire: u3, onError: i3.onError, parentModule: i3.parentModule, parentCache: i3.parentCache, nativeImport: i3.nativeImport, createRequire: i3.createRequire };
4782
+ s3 || debug2(d2, "[init]", ...[["version:", ut2.rE], ["module-cache:", r3.moduleCache], ["fs-cache:", r3.fsCache], ["rebuild-fs-cache:", r3.rebuildFsCache], ["interop-defaults:", r3.interopDefault]].flat()), s3 || prepareCacheDir(d2);
4735
4783
  const f3 = Object.assign(function(e5) {
4736
- return jitiRequire(d3, e5, { async: false });
4784
+ return jitiRequire(d2, e5, { async: false });
4737
4785
  }, { cache: r3.moduleCache ? u3.cache : /* @__PURE__ */ Object.create(null), extensions: u3.extensions, main: u3.main, options: r3, resolve: Object.assign(function(e5) {
4738
- return jitiResolve(d3, e5, { async: false });
4739
- }, { paths: u3.resolve.paths }), transform: (e5) => transform(d3, e5), evalModule: (e5, t5) => eval_evalModule(d3, e5, t5), async import(e5, t5) {
4740
- const i4 = await jitiRequire(d3, e5, { ...t5, async: true });
4786
+ return jitiResolve(d2, e5, { async: false });
4787
+ }, { paths: u3.resolve.paths }), transform: (e5) => transform(d2, e5), evalModule: (e5, t5) => eval_evalModule(d2, e5, t5), async import(e5, t5) {
4788
+ const i4 = await jitiRequire(d2, e5, { ...t5, async: true });
4741
4789
  return t5?.default ? i4?.default ?? i4 : i4;
4742
4790
  }, esmResolve(e5, t5) {
4743
4791
  "string" == typeof t5 && (t5 = { parentURL: t5 });
4744
- const i4 = jitiResolve(d3, e5, { parentURL: p3, ...t5, async: true });
4792
+ const i4 = jitiResolve(d2, e5, { parentURL: p3, ...t5, async: true });
4745
4793
  return !i4 || "string" != typeof i4 || i4.startsWith("file://") ? i4 : pathToFileURL(i4);
4746
4794
  } });
4747
4795
  return f3;
@@ -5050,12 +5098,12 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5050
5098
  options.dir = process.env.XDG_CONFIG_HOME || require$$0.homedir();
5051
5099
  return read(options);
5052
5100
  }
5053
- const m$4 = Symbol.for("__confbox_fmt__"), k$4 = /^(\s+)/, v$5 = /(\s+)$/;
5101
+ const m$4 = Symbol.for("__confbox_fmt__"), k$4 = /^(\s+)/, v$4 = /(\s+)$/;
5054
5102
  function x$4(e2, t2 = {}) {
5055
- const n2 = t2.indent === void 0 && t2.preserveIndentation !== false && e2.slice(0, t2?.sampleSize || 1024), s2 = t2.preserveWhitespace === false ? void 0 : { start: k$4.exec(e2)?.[0] || "", end: v$5.exec(e2)?.[0] || "" };
5103
+ const n2 = t2.indent === void 0 && t2.preserveIndentation !== false && e2.slice(0, t2?.sampleSize || 1024), s2 = t2.preserveWhitespace === false ? void 0 : { start: k$4.exec(e2)?.[0] || "", end: v$4.exec(e2)?.[0] || "" };
5056
5104
  return { sample: n2, whiteSpace: s2 };
5057
5105
  }
5058
- function N$4(e2, t2, n2) {
5106
+ function N$3(e2, t2, n2) {
5059
5107
  !t2 || typeof t2 != "object" || Object.defineProperty(t2, m$4, { enumerable: false, configurable: true, writable: true, value: x$4(e2, n2) });
5060
5108
  }
5061
5109
  function R$6(C2) {
@@ -5065,10 +5113,10 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5065
5113
  function Y$2() {
5066
5114
  return M$4 || (M$4 = 1, O$4.Space_Separator = /[\u1680\u2000-\u200A\u202F\u205F\u3000]/, O$4.ID_Start = /[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\u08B6-\u08BD\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\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/, O$4.ID_Continue = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\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\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/), O$4;
5067
5115
  }
5068
- var _$3, U$5;
5116
+ var _$3, U$6;
5069
5117
  function T$4() {
5070
- if (U$5) return _$3;
5071
- U$5 = 1;
5118
+ if (U$6) return _$3;
5119
+ U$6 = 1;
5072
5120
  const C2 = Y$2();
5073
5121
  return _$3 = { isSpaceSeparator(r2) {
5074
5122
  return typeof r2 == "string" && C2.Space_Separator.test(r2);
@@ -5087,9 +5135,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5087
5135
  if (Z$3) return q$5;
5088
5136
  Z$3 = 1;
5089
5137
  const C2 = T$4();
5090
- let r2, s2, c2, d2, h2, o2, f2, S2, m2;
5138
+ let r2, s2, c2, d, h2, o2, f2, S2, m2;
5091
5139
  q$5 = function(a2, g2) {
5092
- r2 = String(a2), s2 = "start", c2 = [], d2 = 0, h2 = 1, o2 = 0, f2 = void 0, S2 = void 0, m2 = void 0;
5140
+ r2 = String(a2), s2 = "start", c2 = [], d = 0, h2 = 1, o2 = 0, f2 = void 0, S2 = void 0, m2 = void 0;
5093
5141
  do
5094
5142
  f2 = E2(), Q2[s2]();
5095
5143
  while (f2.type !== "eof");
@@ -5116,12 +5164,12 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5116
5164
  }
5117
5165
  }
5118
5166
  function n2() {
5119
- if (r2[d2]) return String.fromCodePoint(r2.codePointAt(d2));
5167
+ if (r2[d]) return String.fromCodePoint(r2.codePointAt(d));
5120
5168
  }
5121
5169
  function u2() {
5122
5170
  const D2 = n2();
5123
5171
  return D2 === `
5124
- ` ? (h2++, o2 = 0) : D2 ? o2 += D2.length : o2++, D2 && (d2 += D2.length), D2;
5172
+ ` ? (h2++, o2 = 0) : D2 ? o2 += D2.length : o2++, D2 && (d += D2.length), D2;
5125
5173
  }
5126
5174
  const l2 = { default() {
5127
5175
  switch (A2) {
@@ -5660,15 +5708,15 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5660
5708
  }
5661
5709
  var Du = uu();
5662
5710
  const eu = R$6(Du);
5663
- var J$4, K$5;
5711
+ var J$5, K$5;
5664
5712
  function tu() {
5665
- if (K$5) return J$4;
5713
+ if (K$5) return J$5;
5666
5714
  K$5 = 1;
5667
5715
  const C2 = T$4();
5668
- return J$4 = function(s2, c2, d2) {
5716
+ return J$5 = function(s2, c2, d) {
5669
5717
  const h2 = [];
5670
5718
  let o2 = "", f2, S2, m2 = "", v2;
5671
- if (c2 != null && typeof c2 == "object" && !Array.isArray(c2) && (d2 = c2.space, v2 = c2.quote, c2 = c2.replacer), typeof c2 == "function") S2 = c2;
5719
+ if (c2 != null && typeof c2 == "object" && !Array.isArray(c2) && (d = c2.space, v2 = c2.quote, c2 = c2.replacer), typeof c2 == "function") S2 = c2;
5672
5720
  else if (Array.isArray(c2)) {
5673
5721
  f2 = [];
5674
5722
  for (const E2 of c2) {
@@ -5676,7 +5724,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5676
5724
  typeof E2 == "string" ? n2 = E2 : (typeof E2 == "number" || E2 instanceof String || E2 instanceof Number) && (n2 = String(E2)), n2 !== void 0 && f2.indexOf(n2) < 0 && f2.push(n2);
5677
5725
  }
5678
5726
  }
5679
- return d2 instanceof Number ? d2 = Number(d2) : d2 instanceof String && (d2 = String(d2)), typeof d2 == "number" ? d2 > 0 && (d2 = Math.min(10, Math.floor(d2)), m2 = " ".substr(0, d2)) : typeof d2 == "string" && (m2 = d2.substr(0, 10)), t2("", { "": s2 });
5727
+ return d instanceof Number ? d = Number(d) : d instanceof String && (d = String(d)), typeof d == "number" ? d > 0 && (d = Math.min(10, Math.floor(d)), m2 = " ".substr(0, d)) : typeof d == "string" && (m2 = d.substr(0, 10)), t2("", { "": s2 });
5680
5728
  function t2(E2, n2) {
5681
5729
  let u2 = n2[E2];
5682
5730
  switch (u2 != null && (typeof u2.toJSON5 == "function" ? u2 = u2.toJSON5(E2) : typeof u2.toJSON == "function" && (u2 = u2.toJSON(E2))), S2 && (u2 = S2.call(n2, E2, u2)), u2 instanceof Number ? u2 = Number(u2) : u2 instanceof String ? u2 = String(u2) : u2 instanceof Boolean && (u2 = u2.valueOf()), u2) {
@@ -5778,13 +5826,13 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5778
5826
  }
5779
5827
  return h2.pop(), o2 = n2, l2;
5780
5828
  }
5781
- }, J$4;
5829
+ }, J$5;
5782
5830
  }
5783
5831
  var Fu = tu();
5784
5832
  R$6(Fu);
5785
5833
  function Cu(C2, r2) {
5786
5834
  const s2 = eu(C2, r2?.reviver);
5787
- return N$4(C2, s2, r2), s2;
5835
+ return N$3(C2, s2, r2), s2;
5788
5836
  }
5789
5837
  const json5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5790
5838
  __proto__: null,
@@ -5811,12 +5859,12 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5811
5859
  function F2() {
5812
5860
  let i2 = e2;
5813
5861
  if (n2.charCodeAt(e2) === 48) e2++;
5814
- else for (e2++; e2 < n2.length && L$4(n2.charCodeAt(e2)); ) e2++;
5815
- if (e2 < n2.length && n2.charCodeAt(e2) === 46) if (e2++, e2 < n2.length && L$4(n2.charCodeAt(e2))) for (e2++; e2 < n2.length && L$4(n2.charCodeAt(e2)); ) e2++;
5862
+ else for (e2++; e2 < n2.length && L$3(n2.charCodeAt(e2)); ) e2++;
5863
+ if (e2 < n2.length && n2.charCodeAt(e2) === 46) if (e2++, e2 < n2.length && L$3(n2.charCodeAt(e2))) for (e2++; e2 < n2.length && L$3(n2.charCodeAt(e2)); ) e2++;
5816
5864
  else return b2 = 3, n2.substring(i2, e2);
5817
5865
  let T2 = e2;
5818
- if (e2 < n2.length && (n2.charCodeAt(e2) === 69 || n2.charCodeAt(e2) === 101)) if (e2++, (e2 < n2.length && n2.charCodeAt(e2) === 43 || n2.charCodeAt(e2) === 45) && e2++, e2 < n2.length && L$4(n2.charCodeAt(e2))) {
5819
- for (e2++; e2 < n2.length && L$4(n2.charCodeAt(e2)); ) e2++;
5866
+ if (e2 < n2.length && (n2.charCodeAt(e2) === 69 || n2.charCodeAt(e2) === 101)) if (e2++, (e2 < n2.length && n2.charCodeAt(e2) === 43 || n2.charCodeAt(e2) === 45) && e2++, e2 < n2.length && L$3(n2.charCodeAt(e2))) {
5867
+ for (e2++; e2 < n2.length && L$3(n2.charCodeAt(e2)); ) e2++;
5820
5868
  T2 = e2;
5821
5869
  } else b2 = 3;
5822
5870
  return n2.substring(i2, T2);
@@ -5885,10 +5933,10 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5885
5933
  function w2() {
5886
5934
  if (u2 = "", b2 = 0, p2 = e2, o2 = A2, B2 = O2, e2 >= g2) return p2 = g2, k2 = 17;
5887
5935
  let i2 = n2.charCodeAt(e2);
5888
- if (J$3(i2)) {
5936
+ if (J$4(i2)) {
5889
5937
  do
5890
5938
  e2++, u2 += String.fromCharCode(i2), i2 = n2.charCodeAt(e2);
5891
- while (J$3(i2));
5939
+ while (J$4(i2));
5892
5940
  return k2 = 15;
5893
5941
  }
5894
5942
  if (r$4(i2)) return e2++, u2 += String.fromCharCode(i2), i2 === 13 && n2.charCodeAt(e2) === 10 && (e2++, u2 += `
@@ -5930,7 +5978,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5930
5978
  }
5931
5979
  return u2 += String.fromCharCode(i2), e2++, k2 = 16;
5932
5980
  case 45:
5933
- if (u2 += String.fromCharCode(i2), e2++, e2 === g2 || !L$4(n2.charCodeAt(e2))) return k2 = 16;
5981
+ if (u2 += String.fromCharCode(i2), e2++, e2 === g2 || !L$3(n2.charCodeAt(e2))) return k2 = 16;
5934
5982
  case 48:
5935
5983
  case 49:
5936
5984
  case 50:
@@ -5959,7 +6007,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5959
6007
  }
5960
6008
  }
5961
6009
  function v2(i2) {
5962
- if (J$3(i2) || r$4(i2)) return false;
6010
+ if (J$4(i2) || r$4(i2)) return false;
5963
6011
  switch (i2) {
5964
6012
  case 125:
5965
6013
  case 93:
@@ -5982,36 +6030,36 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5982
6030
  }
5983
6031
  return { setPosition: V2, getPosition: () => e2, scan: l2 ? j2 : w2, getToken: () => k2, getTokenValue: () => u2, getTokenOffset: () => p2, getTokenLength: () => e2 - p2, getTokenStartLine: () => o2, getTokenStartCharacter: () => p2 - B2, getTokenError: () => b2 };
5984
6032
  }
5985
- function J$3(n2) {
6033
+ function J$4(n2) {
5986
6034
  return n2 === 32 || n2 === 9;
5987
6035
  }
5988
6036
  function r$4(n2) {
5989
6037
  return n2 === 10 || n2 === 13;
5990
6038
  }
5991
- function L$4(n2) {
6039
+ function L$3(n2) {
5992
6040
  return n2 >= 48 && n2 <= 57;
5993
6041
  }
5994
- var Q$3;
6042
+ var Q$4;
5995
6043
  (function(n2) {
5996
6044
  n2[n2.lineFeed = 10] = "lineFeed", n2[n2.carriageReturn = 13] = "carriageReturn", n2[n2.space = 32] = "space", n2[n2._0 = 48] = "_0", n2[n2._1 = 49] = "_1", n2[n2._2 = 50] = "_2", n2[n2._3 = 51] = "_3", n2[n2._4 = 52] = "_4", n2[n2._5 = 53] = "_5", n2[n2._6 = 54] = "_6", n2[n2._7 = 55] = "_7", n2[n2._8 = 56] = "_8", n2[n2._9 = 57] = "_9", n2[n2.a = 97] = "a", n2[n2.b = 98] = "b", n2[n2.c = 99] = "c", n2[n2.d = 100] = "d", n2[n2.e = 101] = "e", n2[n2.f = 102] = "f", n2[n2.g = 103] = "g", n2[n2.h = 104] = "h", n2[n2.i = 105] = "i", n2[n2.j = 106] = "j", n2[n2.k = 107] = "k", n2[n2.l = 108] = "l", n2[n2.m = 109] = "m", n2[n2.n = 110] = "n", n2[n2.o = 111] = "o", n2[n2.p = 112] = "p", n2[n2.q = 113] = "q", n2[n2.r = 114] = "r", n2[n2.s = 115] = "s", n2[n2.t = 116] = "t", n2[n2.u = 117] = "u", n2[n2.v = 118] = "v", n2[n2.w = 119] = "w", n2[n2.x = 120] = "x", n2[n2.y = 121] = "y", n2[n2.z = 122] = "z", n2[n2.A = 65] = "A", n2[n2.B = 66] = "B", n2[n2.C = 67] = "C", n2[n2.D = 68] = "D", n2[n2.E = 69] = "E", n2[n2.F = 70] = "F", n2[n2.G = 71] = "G", n2[n2.H = 72] = "H", n2[n2.I = 73] = "I", n2[n2.J = 74] = "J", n2[n2.K = 75] = "K", n2[n2.L = 76] = "L", n2[n2.M = 77] = "M", n2[n2.N = 78] = "N", n2[n2.O = 79] = "O", n2[n2.P = 80] = "P", n2[n2.Q = 81] = "Q", n2[n2.R = 82] = "R", n2[n2.S = 83] = "S", n2[n2.T = 84] = "T", n2[n2.U = 85] = "U", n2[n2.V = 86] = "V", n2[n2.W = 87] = "W", n2[n2.X = 88] = "X", n2[n2.Y = 89] = "Y", n2[n2.Z = 90] = "Z", n2[n2.asterisk = 42] = "asterisk", n2[n2.backslash = 92] = "backslash", n2[n2.closeBrace = 125] = "closeBrace", n2[n2.closeBracket = 93] = "closeBracket", n2[n2.colon = 58] = "colon", n2[n2.comma = 44] = "comma", n2[n2.dot = 46] = "dot", n2[n2.doubleQuote = 34] = "doubleQuote", n2[n2.minus = 45] = "minus", n2[n2.openBrace = 123] = "openBrace", n2[n2.openBracket = 91] = "openBracket", n2[n2.plus = 43] = "plus", n2[n2.slash = 47] = "slash", n2[n2.formFeed = 12] = "formFeed", n2[n2.tab = 9] = "tab";
5997
- })(Q$3 || (Q$3 = {})), new Array(20).fill(0).map((n2, l2) => " ".repeat(l2));
5998
- const N$3 = 200;
5999
- new Array(N$3).fill(0).map((n2, l2) => `
6000
- ` + " ".repeat(l2)), new Array(N$3).fill(0).map((n2, l2) => "\r" + " ".repeat(l2)), new Array(N$3).fill(0).map((n2, l2) => `\r
6001
- ` + " ".repeat(l2)), new Array(N$3).fill(0).map((n2, l2) => `
6002
- ` + " ".repeat(l2)), new Array(N$3).fill(0).map((n2, l2) => "\r" + " ".repeat(l2)), new Array(N$3).fill(0).map((n2, l2) => `\r
6045
+ })(Q$4 || (Q$4 = {})), new Array(20).fill(0).map((n2, l2) => " ".repeat(l2));
6046
+ const N$2 = 200;
6047
+ new Array(N$2).fill(0).map((n2, l2) => `
6048
+ ` + " ".repeat(l2)), new Array(N$2).fill(0).map((n2, l2) => "\r" + " ".repeat(l2)), new Array(N$2).fill(0).map((n2, l2) => `\r
6049
+ ` + " ".repeat(l2)), new Array(N$2).fill(0).map((n2, l2) => `
6050
+ ` + " ".repeat(l2)), new Array(N$2).fill(0).map((n2, l2) => "\r" + " ".repeat(l2)), new Array(N$2).fill(0).map((n2, l2) => `\r
6003
6051
  ` + " ".repeat(l2));
6004
- var U$4;
6052
+ var U$5;
6005
6053
  (function(n2) {
6006
6054
  n2.DEFAULT = { allowTrailingComma: false };
6007
- })(U$4 || (U$4 = {}));
6008
- function S$4(n2, l2 = [], g2 = U$4.DEFAULT) {
6055
+ })(U$5 || (U$5 = {}));
6056
+ function S$5(n2, l2 = [], g2 = U$5.DEFAULT) {
6009
6057
  let e2 = null, u2 = [];
6010
6058
  const p2 = [];
6011
6059
  function k2(o2) {
6012
6060
  Array.isArray(u2) ? u2.push(o2) : e2 !== null && (u2[e2] = o2);
6013
6061
  }
6014
- return P$1(n2, { onObjectBegin: () => {
6062
+ return P$2(n2, { onObjectBegin: () => {
6015
6063
  const o2 = {};
6016
6064
  k2(o2), p2.push(u2), u2 = o2, e2 = null;
6017
6065
  }, onObjectProperty: (o2) => {
@@ -6027,7 +6075,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6027
6075
  l2.push({ error: o2, offset: O2, length: B2 });
6028
6076
  } }, g2), u2[0];
6029
6077
  }
6030
- function P$1(n2, l2, g2 = U$4.DEFAULT) {
6078
+ function P$2(n2, l2, g2 = U$5.DEFAULT) {
6031
6079
  const e2 = $$5(n2, false), u2 = [];
6032
6080
  let p2 = 0;
6033
6081
  function k2(f2) {
@@ -6173,28 +6221,28 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6173
6221
  (function(n2) {
6174
6222
  n2[n2.OpenBraceToken = 1] = "OpenBraceToken", n2[n2.CloseBraceToken = 2] = "CloseBraceToken", n2[n2.OpenBracketToken = 3] = "OpenBracketToken", n2[n2.CloseBracketToken = 4] = "CloseBracketToken", n2[n2.CommaToken = 5] = "CommaToken", n2[n2.ColonToken = 6] = "ColonToken", n2[n2.NullKeyword = 7] = "NullKeyword", n2[n2.TrueKeyword = 8] = "TrueKeyword", n2[n2.FalseKeyword = 9] = "FalseKeyword", n2[n2.StringLiteral = 10] = "StringLiteral", n2[n2.NumericLiteral = 11] = "NumericLiteral", n2[n2.LineCommentTrivia = 12] = "LineCommentTrivia", n2[n2.BlockCommentTrivia = 13] = "BlockCommentTrivia", n2[n2.LineBreakTrivia = 14] = "LineBreakTrivia", n2[n2.Trivia = 15] = "Trivia", n2[n2.Unknown = 16] = "Unknown", n2[n2.EOF = 17] = "EOF";
6175
6223
  })(H$4 || (H$4 = {}));
6176
- const K$4 = S$4;
6224
+ const K$4 = S$5;
6177
6225
  var q$4;
6178
6226
  (function(n2) {
6179
6227
  n2[n2.InvalidSymbol = 1] = "InvalidSymbol", n2[n2.InvalidNumberFormat = 2] = "InvalidNumberFormat", n2[n2.PropertyNameExpected = 3] = "PropertyNameExpected", n2[n2.ValueExpected = 4] = "ValueExpected", n2[n2.ColonExpected = 5] = "ColonExpected", n2[n2.CommaExpected = 6] = "CommaExpected", n2[n2.CloseBraceExpected = 7] = "CloseBraceExpected", n2[n2.CloseBracketExpected = 8] = "CloseBracketExpected", n2[n2.EndOfFileExpected = 9] = "EndOfFileExpected", n2[n2.InvalidCommentToken = 10] = "InvalidCommentToken", n2[n2.UnexpectedEndOfComment = 11] = "UnexpectedEndOfComment", n2[n2.UnexpectedEndOfString = 12] = "UnexpectedEndOfString", n2[n2.UnexpectedEndOfNumber = 13] = "UnexpectedEndOfNumber", n2[n2.InvalidUnicode = 14] = "InvalidUnicode", n2[n2.InvalidEscapeCharacter = 15] = "InvalidEscapeCharacter", n2[n2.InvalidCharacter = 16] = "InvalidCharacter";
6180
6228
  })(q$4 || (q$4 = {}));
6181
6229
  function x$3(n2, l2) {
6182
6230
  const g2 = JSON.parse(n2, l2?.reviver);
6183
- return N$4(n2, g2, l2), g2;
6231
+ return N$3(n2, g2, l2), g2;
6184
6232
  }
6185
6233
  function h$2(n2, l2) {
6186
6234
  const g2 = K$4(n2, l2?.errors, l2);
6187
- return N$4(n2, g2, l2), g2;
6235
+ return N$3(n2, g2, l2), g2;
6188
6236
  }
6189
6237
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
6190
- function oe$2(e2) {
6238
+ function oe$1(e2) {
6191
6239
  return typeof e2 > "u" || e2 === null;
6192
6240
  }
6193
6241
  function Ge(e2) {
6194
6242
  return typeof e2 == "object" && e2 !== null;
6195
6243
  }
6196
6244
  function We(e2) {
6197
- return Array.isArray(e2) ? e2 : oe$2(e2) ? [] : [e2];
6245
+ return Array.isArray(e2) ? e2 : oe$1(e2) ? [] : [e2];
6198
6246
  }
6199
6247
  function $e(e2, n2) {
6200
6248
  var i2, l2, r2, u2;
@@ -6209,26 +6257,26 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6209
6257
  function Ve(e2) {
6210
6258
  return e2 === 0 && Number.NEGATIVE_INFINITY === 1 / e2;
6211
6259
  }
6212
- var Xe = oe$2, Ze = Ge, ze = We, Je = Qe, en = Ve, nn = $e, y$5 = { isNothing: Xe, isObject: Ze, toArray: ze, repeat: Je, isNegativeZero: en, extend: nn };
6213
- function ue$1(e2, n2) {
6260
+ var Xe = oe$1, Ze = Ge, ze = We, Je = Qe, en = Ve, nn = $e, y$4 = { isNothing: Xe, isObject: Ze, toArray: ze, repeat: Je, isNegativeZero: en, extend: nn };
6261
+ function ue$2(e2, n2) {
6214
6262
  var i2 = "", l2 = e2.reason || "(unknown reason)";
6215
6263
  return e2.mark ? (e2.mark.name && (i2 += 'in "' + e2.mark.name + '" '), i2 += "(" + (e2.mark.line + 1) + ":" + (e2.mark.column + 1) + ")", !n2 && e2.mark.snippet && (i2 += `
6216
6264
 
6217
6265
  ` + e2.mark.snippet), l2 + " " + i2) : l2;
6218
6266
  }
6219
6267
  function M$3(e2, n2) {
6220
- Error.call(this), this.name = "YAMLException", this.reason = e2, this.mark = n2, this.message = ue$1(this, false), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
6268
+ Error.call(this), this.name = "YAMLException", this.reason = e2, this.mark = n2, this.message = ue$2(this, false), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
6221
6269
  }
6222
6270
  M$3.prototype = Object.create(Error.prototype), M$3.prototype.constructor = M$3, M$3.prototype.toString = function(n2) {
6223
- return this.name + ": " + ue$1(this, n2);
6271
+ return this.name + ": " + ue$2(this, n2);
6224
6272
  };
6225
6273
  var w$4 = M$3;
6226
6274
  function $$4(e2, n2, i2, l2, r2) {
6227
6275
  var u2 = "", o2 = "", f2 = Math.floor(r2 / 2) - 1;
6228
6276
  return l2 - n2 > f2 && (u2 = " ... ", n2 = l2 - f2 + u2.length), i2 - l2 > f2 && (o2 = " ...", i2 = l2 + f2 - o2.length), { str: u2 + e2.slice(n2, i2).replace(/\t/g, "→") + o2, pos: l2 - n2 + u2.length };
6229
6277
  }
6230
- function Q$2(e2, n2) {
6231
- return y$5.repeat(" ", n2 - e2.length) + e2;
6278
+ function Q$3(e2, n2) {
6279
+ return y$4.repeat(" ", n2 - e2.length) + e2;
6232
6280
  }
6233
6281
  function rn(e2, n2) {
6234
6282
  if (n2 = Object.create(n2 || null), !e2.buffer) return null;
@@ -6236,11 +6284,11 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6236
6284
  for (var i2 = /\r?\n|\r|\0/g, l2 = [0], r2 = [], u2, o2 = -1; u2 = i2.exec(e2.buffer); ) r2.push(u2.index), l2.push(u2.index + u2[0].length), e2.position <= u2.index && o2 < 0 && (o2 = l2.length - 2);
6237
6285
  o2 < 0 && (o2 = l2.length - 1);
6238
6286
  var f2 = "", c2, a2, t2 = Math.min(e2.line + n2.linesAfter, r2.length).toString().length, p2 = n2.maxLength - (n2.indent + t2 + 3);
6239
- for (c2 = 1; c2 <= n2.linesBefore && !(o2 - c2 < 0); c2++) a2 = $$4(e2.buffer, l2[o2 - c2], r2[o2 - c2], e2.position - (l2[o2] - l2[o2 - c2]), p2), f2 = y$5.repeat(" ", n2.indent) + Q$2((e2.line - c2 + 1).toString(), t2) + " | " + a2.str + `
6287
+ for (c2 = 1; c2 <= n2.linesBefore && !(o2 - c2 < 0); c2++) a2 = $$4(e2.buffer, l2[o2 - c2], r2[o2 - c2], e2.position - (l2[o2] - l2[o2 - c2]), p2), f2 = y$4.repeat(" ", n2.indent) + Q$3((e2.line - c2 + 1).toString(), t2) + " | " + a2.str + `
6240
6288
  ` + f2;
6241
- for (a2 = $$4(e2.buffer, l2[o2], r2[o2], e2.position, p2), f2 += y$5.repeat(" ", n2.indent) + Q$2((e2.line + 1).toString(), t2) + " | " + a2.str + `
6242
- `, f2 += y$5.repeat("-", n2.indent + t2 + 3 + a2.pos) + `^
6243
- `, c2 = 1; c2 <= n2.linesAfter && !(o2 + c2 >= r2.length); c2++) a2 = $$4(e2.buffer, l2[o2 + c2], r2[o2 + c2], e2.position - (l2[o2] - l2[o2 + c2]), p2), f2 += y$5.repeat(" ", n2.indent) + Q$2((e2.line + c2 + 1).toString(), t2) + " | " + a2.str + `
6289
+ for (a2 = $$4(e2.buffer, l2[o2], r2[o2], e2.position, p2), f2 += y$4.repeat(" ", n2.indent) + Q$3((e2.line + 1).toString(), t2) + " | " + a2.str + `
6290
+ `, f2 += y$4.repeat("-", n2.indent + t2 + 3 + a2.pos) + `^
6291
+ `, c2 = 1; c2 <= n2.linesAfter && !(o2 + c2 >= r2.length); c2++) a2 = $$4(e2.buffer, l2[o2 + c2], r2[o2 + c2], e2.position - (l2[o2] - l2[o2 + c2]), p2), f2 += y$4.repeat(" ", n2.indent) + Q$3((e2.line + c2 + 1).toString(), t2) + " | " + a2.str + `
6244
6292
  `;
6245
6293
  return f2.replace(/\n$/, "");
6246
6294
  }
@@ -6280,10 +6328,10 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6280
6328
  for (n2 = 0, i2 = arguments.length; n2 < i2; n2 += 1) arguments[n2].forEach(l2);
6281
6329
  return e2;
6282
6330
  }
6283
- function V$3(e2) {
6331
+ function V$2(e2) {
6284
6332
  return this.extend(e2);
6285
6333
  }
6286
- V$3.prototype.extend = function(n2) {
6334
+ V$2.prototype.extend = function(n2) {
6287
6335
  var i2 = [], l2 = [];
6288
6336
  if (n2 instanceof C$4) l2.push(n2);
6289
6337
  else if (Array.isArray(n2)) l2 = l2.concat(n2);
@@ -6296,10 +6344,10 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6296
6344
  }), l2.forEach(function(u2) {
6297
6345
  if (!(u2 instanceof C$4)) throw new w$4("Specified list of YAML types (or a single Type object) contains a non-Type object.");
6298
6346
  });
6299
- var r2 = Object.create(V$3.prototype);
6347
+ var r2 = Object.create(V$2.prototype);
6300
6348
  return r2.implicit = (this.implicit || []).concat(i2), r2.explicit = (this.explicit || []).concat(l2), r2.compiledImplicit = fe$1(r2, "implicit"), r2.compiledExplicit = fe$1(r2, "explicit"), r2.compiledTypeMap = an(r2.compiledImplicit, r2.compiledExplicit), r2;
6301
6349
  };
6302
- var pn = V$3, tn = new C$4("tag:yaml.org,2002:str", { kind: "scalar", construct: function(e2) {
6350
+ var pn = V$2, tn = new C$4("tag:yaml.org,2002:str", { kind: "scalar", construct: function(e2) {
6303
6351
  return e2 !== null ? e2 : "";
6304
6352
  } }), hn = new C$4("tag:yaml.org,2002:seq", { kind: "sequence", construct: function(e2) {
6305
6353
  return e2 !== null ? e2 : [];
@@ -6401,7 +6449,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6401
6449
  return i2 * parseInt(n2, 10);
6402
6450
  }
6403
6451
  function Tn(e2) {
6404
- return Object.prototype.toString.call(e2) === "[object Number]" && e2 % 1 === 0 && !y$5.isNegativeZero(e2);
6452
+ return Object.prototype.toString.call(e2) === "[object Number]" && e2 % 1 === 0 && !y$4.isNegativeZero(e2);
6405
6453
  }
6406
6454
  var On = new C$4("tag:yaml.org,2002:int", { kind: "scalar", resolve: Sn, construct: En, predicate: Tn, represent: { binary: function(e2) {
6407
6455
  return e2 >= 0 ? "0b" + e2.toString(2) : "-0b" + e2.toString(2).slice(1);
@@ -6446,25 +6494,25 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6446
6494
  case "camelcase":
6447
6495
  return "-.Inf";
6448
6496
  }
6449
- else if (y$5.isNegativeZero(e2)) return "-0.0";
6497
+ else if (y$4.isNegativeZero(e2)) return "-0.0";
6450
6498
  return i2 = e2.toString(10), Nn.test(i2) ? i2.replace("e", ".e") : i2;
6451
6499
  }
6452
6500
  function Dn(e2) {
6453
- return Object.prototype.toString.call(e2) === "[object Number]" && (e2 % 1 !== 0 || y$5.isNegativeZero(e2));
6501
+ return Object.prototype.toString.call(e2) === "[object Number]" && (e2 % 1 !== 0 || y$4.isNegativeZero(e2));
6454
6502
  }
6455
6503
  var Mn = new C$4("tag:yaml.org,2002:float", { kind: "scalar", resolve: kn, construct: Ln, predicate: Dn, represent: Rn, defaultStyle: "lowercase" }), Yn = sn.extend({ implicit: [An, _n, On, Mn] }), Bn = Yn, ce$1 = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), ae$1 = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
6456
6504
  function Pn(e2) {
6457
6505
  return e2 === null ? false : ce$1.exec(e2) !== null || ae$1.exec(e2) !== null;
6458
6506
  }
6459
6507
  function jn(e2) {
6460
- var n2, i2, l2, r2, u2, o2, f2, c2 = 0, a2 = null, t2, p2, d2;
6508
+ var n2, i2, l2, r2, u2, o2, f2, c2 = 0, a2 = null, t2, p2, d;
6461
6509
  if (n2 = ce$1.exec(e2), n2 === null && (n2 = ae$1.exec(e2)), n2 === null) throw new Error("Date resolve error");
6462
6510
  if (i2 = +n2[1], l2 = +n2[2] - 1, r2 = +n2[3], !n2[4]) return new Date(Date.UTC(i2, l2, r2));
6463
6511
  if (u2 = +n2[4], o2 = +n2[5], f2 = +n2[6], n2[7]) {
6464
6512
  for (c2 = n2[7].slice(0, 3); c2.length < 3; ) c2 += "0";
6465
6513
  c2 = +c2;
6466
6514
  }
6467
- return n2[9] && (t2 = +n2[10], p2 = +(n2[11] || 0), a2 = (t2 * 60 + p2) * 6e4, n2[9] === "-" && (a2 = -a2)), d2 = new Date(Date.UTC(i2, l2, r2, u2, o2, f2, c2)), a2 && d2.setTime(d2.getTime() - a2), d2;
6515
+ return n2[9] && (t2 = +n2[10], p2 = +(n2[11] || 0), a2 = (t2 * 60 + p2) * 6e4, n2[9] === "-" && (a2 = -a2)), d = new Date(Date.UTC(i2, l2, r2, u2, o2, f2, c2)), a2 && d.setTime(d.getTime() - a2), d;
6468
6516
  }
6469
6517
  function Hn(e2) {
6470
6518
  return e2.toISOString();
@@ -6540,14 +6588,14 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6540
6588
  function fi(e2) {
6541
6589
  return e2 !== null ? e2 : {};
6542
6590
  }
6543
- var ci = new C$4("tag:yaml.org,2002:set", { kind: "mapping", resolve: ui, construct: fi }), pe = Bn.extend({ implicit: [Un, qn], explicit: [Vn, ei, li, ci] }), T$3 = Object.prototype.hasOwnProperty, H$3 = 1, te$1 = 2, he = 3, U$3 = 4, Z$2 = 1, ai = 2, de = 3, pi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ti = /[\x85\u2028\u2029]/, hi = /[,\[\]\{\}]/, se$1 = /^(?:!|!!|![a-z\-]+!)$/i, xe$1 = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
6591
+ var ci = new C$4("tag:yaml.org,2002:set", { kind: "mapping", resolve: ui, construct: fi }), pe$1 = Bn.extend({ implicit: [Un, qn], explicit: [Vn, ei, li, ci] }), T$3 = Object.prototype.hasOwnProperty, H$3 = 1, te$1 = 2, he$1 = 3, U$4 = 4, Z$2 = 1, ai = 2, de$1 = 3, pi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ti = /[\x85\u2028\u2029]/, hi = /[,\[\]\{\}]/, se$1 = /^(?:!|!!|![a-z\-]+!)$/i, xe$1 = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
6544
6592
  function me$1(e2) {
6545
6593
  return Object.prototype.toString.call(e2);
6546
6594
  }
6547
- function S$3(e2) {
6595
+ function S$4(e2) {
6548
6596
  return e2 === 10 || e2 === 13;
6549
6597
  }
6550
- function I$4(e2) {
6598
+ function I$3(e2) {
6551
6599
  return e2 === 9 || e2 === 32;
6552
6600
  }
6553
6601
  function F$5(e2) {
@@ -6566,28 +6614,28 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6566
6614
  function xi(e2) {
6567
6615
  return 48 <= e2 && e2 <= 57 ? e2 - 48 : -1;
6568
6616
  }
6569
- function ge$1(e2) {
6617
+ function ge$2(e2) {
6570
6618
  return e2 === 48 ? "\0" : e2 === 97 ? "\x07" : e2 === 98 ? "\b" : e2 === 116 || e2 === 9 ? " " : e2 === 110 ? `
6571
6619
  ` : e2 === 118 ? "\v" : e2 === 102 ? "\f" : e2 === 114 ? "\r" : e2 === 101 ? "\x1B" : e2 === 32 ? " " : e2 === 34 ? '"' : e2 === 47 ? "/" : e2 === 92 ? "\\" : e2 === 78 ? "…" : e2 === 95 ? " " : e2 === 76 ? "\u2028" : e2 === 80 ? "\u2029" : "";
6572
6620
  }
6573
6621
  function mi(e2) {
6574
6622
  return e2 <= 65535 ? String.fromCharCode(e2) : String.fromCharCode((e2 - 65536 >> 10) + 55296, (e2 - 65536 & 1023) + 56320);
6575
6623
  }
6576
- for (var Ae = new Array(256), ve$1 = new Array(256), L$3 = 0; L$3 < 256; L$3++) Ae[L$3] = ge$1(L$3) ? 1 : 0, ve$1[L$3] = ge$1(L$3);
6624
+ for (var Ae$1 = new Array(256), ve$1 = new Array(256), L$2 = 0; L$2 < 256; L$2++) Ae$1[L$2] = ge$2(L$2) ? 1 : 0, ve$1[L$2] = ge$2(L$2);
6577
6625
  function gi(e2, n2) {
6578
- this.input = e2, this.filename = n2.filename || null, this.schema = n2.schema || pe, this.onWarning = n2.onWarning || null, this.legacy = n2.legacy || false, this.json = n2.json || false, this.listener = n2.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e2.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
6626
+ this.input = e2, this.filename = n2.filename || null, this.schema = n2.schema || pe$1, this.onWarning = n2.onWarning || null, this.legacy = n2.legacy || false, this.json = n2.json || false, this.listener = n2.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e2.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
6579
6627
  }
6580
- function ye(e2, n2) {
6628
+ function ye$1(e2, n2) {
6581
6629
  var i2 = { name: e2.filename, buffer: e2.input.slice(0, -1), position: e2.position, line: e2.line, column: e2.position - e2.lineStart };
6582
6630
  return i2.snippet = ln(i2), new w$4(n2, i2);
6583
6631
  }
6584
6632
  function h$1(e2, n2) {
6585
- throw ye(e2, n2);
6633
+ throw ye$1(e2, n2);
6586
6634
  }
6587
6635
  function K$3(e2, n2) {
6588
- e2.onWarning && e2.onWarning.call(null, ye(e2, n2));
6636
+ e2.onWarning && e2.onWarning.call(null, ye$1(e2, n2));
6589
6637
  }
6590
- var Ce = { YAML: function(n2, i2, l2) {
6638
+ var Ce$1 = { YAML: function(n2, i2, l2) {
6591
6639
  var r2, u2, o2;
6592
6640
  n2.version !== null && h$1(n2, "duplication of %YAML directive"), l2.length !== 1 && h$1(n2, "YAML directive accepts exactly one argument"), r2 = /^([0-9]+)\.([0-9]+)$/.exec(l2[0]), r2 === null && h$1(n2, "ill-formed argument of the YAML directive"), u2 = parseInt(r2[1], 10), o2 = parseInt(r2[2], 10), u2 !== 1 && h$1(n2, "unacceptable YAML version of the document"), n2.version = l2[0], n2.checkLineBreaks = o2 < 2, o2 !== 1 && o2 !== 2 && K$3(n2, "unsupported YAML version of the document");
6593
6641
  }, TAG: function(n2, i2, l2) {
@@ -6610,9 +6658,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6610
6658
  }
6611
6659
  function _e(e2, n2, i2, l2) {
6612
6660
  var r2, u2, o2, f2;
6613
- for (y$5.isObject(i2) || h$1(e2, "cannot merge mappings; the provided source object is unacceptable"), r2 = Object.keys(i2), o2 = 0, f2 = r2.length; o2 < f2; o2 += 1) u2 = r2[o2], T$3.call(n2, u2) || (n2[u2] = i2[u2], l2[u2] = true);
6661
+ for (y$4.isObject(i2) || h$1(e2, "cannot merge mappings; the provided source object is unacceptable"), r2 = Object.keys(i2), o2 = 0, f2 = r2.length; o2 < f2; o2 += 1) u2 = r2[o2], T$3.call(n2, u2) || (n2[u2] = i2[u2], l2[u2] = true);
6614
6662
  }
6615
- function N$2(e2, n2, i2, l2, r2, u2, o2, f2, c2) {
6663
+ function N$1(e2, n2, i2, l2, r2, u2, o2, f2, c2) {
6616
6664
  var a2, t2;
6617
6665
  if (Array.isArray(r2)) for (r2 = Array.prototype.slice.call(r2), a2 = 0, t2 = r2.length; a2 < t2; a2 += 1) Array.isArray(r2[a2]) && h$1(e2, "nested arrays are not supported inside keys"), typeof r2 == "object" && me$1(r2[a2]) === "[object Object]" && (r2[a2] = "[object Object]");
6618
6666
  if (typeof r2 == "object" && me$1(r2) === "[object Object]" && (r2 = "[object Object]"), r2 = String(r2), n2 === null && (n2 = {}), l2 === "tag:yaml.org,2002:merge") if (Array.isArray(u2)) for (a2 = 0, t2 = u2.length; a2 < t2; a2 += 1) _e(e2, n2, u2[a2], i2);
@@ -6624,13 +6672,13 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6624
6672
  var n2;
6625
6673
  n2 = e2.input.charCodeAt(e2.position), n2 === 10 ? e2.position++ : n2 === 13 ? (e2.position++, e2.input.charCodeAt(e2.position) === 10 && e2.position++) : h$1(e2, "a line break is expected"), e2.line += 1, e2.lineStart = e2.position, e2.firstTabInLine = -1;
6626
6674
  }
6627
- function v$4(e2, n2, i2) {
6675
+ function v$3(e2, n2, i2) {
6628
6676
  for (var l2 = 0, r2 = e2.input.charCodeAt(e2.position); r2 !== 0; ) {
6629
- for (; I$4(r2); ) r2 === 9 && e2.firstTabInLine === -1 && (e2.firstTabInLine = e2.position), r2 = e2.input.charCodeAt(++e2.position);
6677
+ for (; I$3(r2); ) r2 === 9 && e2.firstTabInLine === -1 && (e2.firstTabInLine = e2.position), r2 = e2.input.charCodeAt(++e2.position);
6630
6678
  if (n2 && r2 === 35) do
6631
6679
  r2 = e2.input.charCodeAt(++e2.position);
6632
6680
  while (r2 !== 10 && r2 !== 13 && r2 !== 0);
6633
- if (S$3(r2)) for (z$4(e2), r2 = e2.input.charCodeAt(e2.position), l2++, e2.lineIndent = 0; r2 === 32; ) e2.lineIndent++, r2 = e2.input.charCodeAt(++e2.position);
6681
+ if (S$4(r2)) for (z$4(e2), r2 = e2.input.charCodeAt(e2.position), l2++, e2.lineIndent = 0; r2 === 32; ) e2.lineIndent++, r2 = e2.input.charCodeAt(++e2.position);
6634
6682
  else break;
6635
6683
  }
6636
6684
  return i2 !== -1 && l2 !== 0 && e2.lineIndent < i2 && K$3(e2, "deficient indentation"), l2;
@@ -6639,12 +6687,12 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6639
6687
  var n2 = e2.position, i2;
6640
6688
  return i2 = e2.input.charCodeAt(n2), !!((i2 === 45 || i2 === 46) && i2 === e2.input.charCodeAt(n2 + 1) && i2 === e2.input.charCodeAt(n2 + 2) && (n2 += 3, i2 = e2.input.charCodeAt(n2), i2 === 0 || F$5(i2)));
6641
6689
  }
6642
- function J$2(e2, n2) {
6643
- n2 === 1 ? e2.result += " " : n2 > 1 && (e2.result += y$5.repeat(`
6690
+ function J$3(e2, n2) {
6691
+ n2 === 1 ? e2.result += " " : n2 > 1 && (e2.result += y$4.repeat(`
6644
6692
  `, n2 - 1));
6645
6693
  }
6646
6694
  function Ai(e2, n2, i2) {
6647
- var l2, r2, u2, o2, f2, c2, a2, t2, p2 = e2.kind, d2 = e2.result, s2;
6695
+ var l2, r2, u2, o2, f2, c2, a2, t2, p2 = e2.kind, d = e2.result, s2;
6648
6696
  if (s2 = e2.input.charCodeAt(e2.position), F$5(s2) || k$3(s2) || s2 === 35 || s2 === 38 || s2 === 42 || s2 === 33 || s2 === 124 || s2 === 62 || s2 === 39 || s2 === 34 || s2 === 37 || s2 === 64 || s2 === 96 || (s2 === 63 || s2 === 45) && (r2 = e2.input.charCodeAt(e2.position + 1), F$5(r2) || i2 && k$3(r2))) return false;
6649
6697
  for (e2.kind = "scalar", e2.result = "", u2 = o2 = e2.position, f2 = false; s2 !== 0; ) {
6650
6698
  if (s2 === 58) {
@@ -6653,7 +6701,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6653
6701
  if (l2 = e2.input.charCodeAt(e2.position - 1), F$5(l2)) break;
6654
6702
  } else {
6655
6703
  if (e2.position === e2.lineStart && q$3(e2) || i2 && k$3(s2)) break;
6656
- if (S$3(s2)) if (c2 = e2.line, a2 = e2.lineStart, t2 = e2.lineIndent, v$4(e2, false, -1), e2.lineIndent >= n2) {
6704
+ if (S$4(s2)) if (c2 = e2.line, a2 = e2.lineStart, t2 = e2.lineIndent, v$3(e2, false, -1), e2.lineIndent >= n2) {
6657
6705
  f2 = true, s2 = e2.input.charCodeAt(e2.position);
6658
6706
  continue;
6659
6707
  } else {
@@ -6661,16 +6709,16 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6661
6709
  break;
6662
6710
  }
6663
6711
  }
6664
- f2 && (O$3(e2, u2, o2, false), J$2(e2, e2.line - c2), u2 = o2 = e2.position, f2 = false), I$4(s2) || (o2 = e2.position + 1), s2 = e2.input.charCodeAt(++e2.position);
6712
+ f2 && (O$3(e2, u2, o2, false), J$3(e2, e2.line - c2), u2 = o2 = e2.position, f2 = false), I$3(s2) || (o2 = e2.position + 1), s2 = e2.input.charCodeAt(++e2.position);
6665
6713
  }
6666
- return O$3(e2, u2, o2, false), e2.result ? true : (e2.kind = p2, e2.result = d2, false);
6714
+ return O$3(e2, u2, o2, false), e2.result ? true : (e2.kind = p2, e2.result = d, false);
6667
6715
  }
6668
6716
  function vi(e2, n2) {
6669
6717
  var i2, l2, r2;
6670
6718
  if (i2 = e2.input.charCodeAt(e2.position), i2 !== 39) return false;
6671
6719
  for (e2.kind = "scalar", e2.result = "", e2.position++, l2 = r2 = e2.position; (i2 = e2.input.charCodeAt(e2.position)) !== 0; ) if (i2 === 39) if (O$3(e2, l2, e2.position, true), i2 = e2.input.charCodeAt(++e2.position), i2 === 39) l2 = e2.position, e2.position++, r2 = e2.position;
6672
6720
  else return true;
6673
- else S$3(i2) ? (O$3(e2, l2, r2, true), J$2(e2, v$4(e2, false, n2)), l2 = r2 = e2.position) : e2.position === e2.lineStart && q$3(e2) ? h$1(e2, "unexpected end of the document within a single quoted scalar") : (e2.position++, r2 = e2.position);
6721
+ else S$4(i2) ? (O$3(e2, l2, r2, true), J$3(e2, v$3(e2, false, n2)), l2 = r2 = e2.position) : e2.position === e2.lineStart && q$3(e2) ? h$1(e2, "unexpected end of the document within a single quoted scalar") : (e2.position++, r2 = e2.position);
6674
6722
  h$1(e2, "unexpected end of the stream within a single quoted scalar");
6675
6723
  }
6676
6724
  function yi(e2, n2) {
@@ -6679,25 +6727,25 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6679
6727
  for (e2.kind = "scalar", e2.result = "", e2.position++, i2 = l2 = e2.position; (f2 = e2.input.charCodeAt(e2.position)) !== 0; ) {
6680
6728
  if (f2 === 34) return O$3(e2, i2, e2.position, true), e2.position++, true;
6681
6729
  if (f2 === 92) {
6682
- if (O$3(e2, i2, e2.position, true), f2 = e2.input.charCodeAt(++e2.position), S$3(f2)) v$4(e2, false, n2);
6683
- else if (f2 < 256 && Ae[f2]) e2.result += ve$1[f2], e2.position++;
6730
+ if (O$3(e2, i2, e2.position, true), f2 = e2.input.charCodeAt(++e2.position), S$4(f2)) v$3(e2, false, n2);
6731
+ else if (f2 < 256 && Ae$1[f2]) e2.result += ve$1[f2], e2.position++;
6684
6732
  else if ((o2 = si(f2)) > 0) {
6685
6733
  for (r2 = o2, u2 = 0; r2 > 0; r2--) f2 = e2.input.charCodeAt(++e2.position), (o2 = di(f2)) >= 0 ? u2 = (u2 << 4) + o2 : h$1(e2, "expected hexadecimal character");
6686
6734
  e2.result += mi(u2), e2.position++;
6687
6735
  } else h$1(e2, "unknown escape sequence");
6688
6736
  i2 = l2 = e2.position;
6689
- } else S$3(f2) ? (O$3(e2, i2, l2, true), J$2(e2, v$4(e2, false, n2)), i2 = l2 = e2.position) : e2.position === e2.lineStart && q$3(e2) ? h$1(e2, "unexpected end of the document within a double quoted scalar") : (e2.position++, l2 = e2.position);
6737
+ } else S$4(f2) ? (O$3(e2, i2, l2, true), J$3(e2, v$3(e2, false, n2)), i2 = l2 = e2.position) : e2.position === e2.lineStart && q$3(e2) ? h$1(e2, "unexpected end of the document within a double quoted scalar") : (e2.position++, l2 = e2.position);
6690
6738
  }
6691
6739
  h$1(e2, "unexpected end of the stream within a double quoted scalar");
6692
6740
  }
6693
6741
  function Ci(e2, n2) {
6694
- var i2 = true, l2, r2, u2, o2 = e2.tag, f2, c2 = e2.anchor, a2, t2, p2, d2, s2, x2 = /* @__PURE__ */ Object.create(null), g2, A2, b2, m2;
6742
+ var i2 = true, l2, r2, u2, o2 = e2.tag, f2, c2 = e2.anchor, a2, t2, p2, d, s2, x2 = /* @__PURE__ */ Object.create(null), g2, A2, b2, m2;
6695
6743
  if (m2 = e2.input.charCodeAt(e2.position), m2 === 91) t2 = 93, s2 = false, f2 = [];
6696
6744
  else if (m2 === 123) t2 = 125, s2 = true, f2 = {};
6697
6745
  else return false;
6698
6746
  for (e2.anchor !== null && (e2.anchorMap[e2.anchor] = f2), m2 = e2.input.charCodeAt(++e2.position); m2 !== 0; ) {
6699
- if (v$4(e2, true, n2), m2 = e2.input.charCodeAt(e2.position), m2 === t2) return e2.position++, e2.tag = o2, e2.anchor = c2, e2.kind = s2 ? "mapping" : "sequence", e2.result = f2, true;
6700
- i2 ? m2 === 44 && h$1(e2, "expected the node content, but found ','") : h$1(e2, "missed comma between flow collection entries"), A2 = g2 = b2 = null, p2 = d2 = false, m2 === 63 && (a2 = e2.input.charCodeAt(e2.position + 1), F$5(a2) && (p2 = d2 = true, e2.position++, v$4(e2, true, n2))), l2 = e2.line, r2 = e2.lineStart, u2 = e2.position, R$5(e2, n2, H$3, false, true), A2 = e2.tag, g2 = e2.result, v$4(e2, true, n2), m2 = e2.input.charCodeAt(e2.position), (d2 || e2.line === l2) && m2 === 58 && (p2 = true, m2 = e2.input.charCodeAt(++e2.position), v$4(e2, true, n2), R$5(e2, n2, H$3, false, true), b2 = e2.result), s2 ? N$2(e2, f2, x2, A2, g2, b2, l2, r2, u2) : p2 ? f2.push(N$2(e2, null, x2, A2, g2, b2, l2, r2, u2)) : f2.push(g2), v$4(e2, true, n2), m2 = e2.input.charCodeAt(e2.position), m2 === 44 ? (i2 = true, m2 = e2.input.charCodeAt(++e2.position)) : i2 = false;
6747
+ if (v$3(e2, true, n2), m2 = e2.input.charCodeAt(e2.position), m2 === t2) return e2.position++, e2.tag = o2, e2.anchor = c2, e2.kind = s2 ? "mapping" : "sequence", e2.result = f2, true;
6748
+ i2 ? m2 === 44 && h$1(e2, "expected the node content, but found ','") : h$1(e2, "missed comma between flow collection entries"), A2 = g2 = b2 = null, p2 = d = false, m2 === 63 && (a2 = e2.input.charCodeAt(e2.position + 1), F$5(a2) && (p2 = d = true, e2.position++, v$3(e2, true, n2))), l2 = e2.line, r2 = e2.lineStart, u2 = e2.position, R$5(e2, n2, H$3, false, true), A2 = e2.tag, g2 = e2.result, v$3(e2, true, n2), m2 = e2.input.charCodeAt(e2.position), (d || e2.line === l2) && m2 === 58 && (p2 = true, m2 = e2.input.charCodeAt(++e2.position), v$3(e2, true, n2), R$5(e2, n2, H$3, false, true), b2 = e2.result), s2 ? N$1(e2, f2, x2, A2, g2, b2, l2, r2, u2) : p2 ? f2.push(N$1(e2, null, x2, A2, g2, b2, l2, r2, u2)) : f2.push(g2), v$3(e2, true, n2), m2 = e2.input.charCodeAt(e2.position), m2 === 44 ? (i2 = true, m2 = e2.input.charCodeAt(++e2.position)) : i2 = false;
6701
6749
  }
6702
6750
  h$1(e2, "unexpected end of the stream within a flow collection");
6703
6751
  }
@@ -6706,34 +6754,34 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6706
6754
  if (p2 = e2.input.charCodeAt(e2.position), p2 === 124) l2 = false;
6707
6755
  else if (p2 === 62) l2 = true;
6708
6756
  else return false;
6709
- for (e2.kind = "scalar", e2.result = ""; p2 !== 0; ) if (p2 = e2.input.charCodeAt(++e2.position), p2 === 43 || p2 === 45) Z$2 === r2 ? r2 = p2 === 43 ? de : ai : h$1(e2, "repeat of a chomping mode identifier");
6757
+ for (e2.kind = "scalar", e2.result = ""; p2 !== 0; ) if (p2 = e2.input.charCodeAt(++e2.position), p2 === 43 || p2 === 45) Z$2 === r2 ? r2 = p2 === 43 ? de$1 : ai : h$1(e2, "repeat of a chomping mode identifier");
6710
6758
  else if ((t2 = xi(p2)) >= 0) t2 === 0 ? h$1(e2, "bad explicit indentation width of a block scalar; it cannot be less than one") : o2 ? h$1(e2, "repeat of an indentation width identifier") : (f2 = n2 + t2 - 1, o2 = true);
6711
6759
  else break;
6712
- if (I$4(p2)) {
6760
+ if (I$3(p2)) {
6713
6761
  do
6714
6762
  p2 = e2.input.charCodeAt(++e2.position);
6715
- while (I$4(p2));
6763
+ while (I$3(p2));
6716
6764
  if (p2 === 35) do
6717
6765
  p2 = e2.input.charCodeAt(++e2.position);
6718
- while (!S$3(p2) && p2 !== 0);
6766
+ while (!S$4(p2) && p2 !== 0);
6719
6767
  }
6720
6768
  for (; p2 !== 0; ) {
6721
6769
  for (z$4(e2), e2.lineIndent = 0, p2 = e2.input.charCodeAt(e2.position); (!o2 || e2.lineIndent < f2) && p2 === 32; ) e2.lineIndent++, p2 = e2.input.charCodeAt(++e2.position);
6722
- if (!o2 && e2.lineIndent > f2 && (f2 = e2.lineIndent), S$3(p2)) {
6770
+ if (!o2 && e2.lineIndent > f2 && (f2 = e2.lineIndent), S$4(p2)) {
6723
6771
  c2++;
6724
6772
  continue;
6725
6773
  }
6726
6774
  if (e2.lineIndent < f2) {
6727
- r2 === de ? e2.result += y$5.repeat(`
6775
+ r2 === de$1 ? e2.result += y$4.repeat(`
6728
6776
  `, u2 ? 1 + c2 : c2) : r2 === Z$2 && u2 && (e2.result += `
6729
6777
  `);
6730
6778
  break;
6731
6779
  }
6732
- for (l2 ? I$4(p2) ? (a2 = true, e2.result += y$5.repeat(`
6733
- `, u2 ? 1 + c2 : c2)) : a2 ? (a2 = false, e2.result += y$5.repeat(`
6734
- `, c2 + 1)) : c2 === 0 ? u2 && (e2.result += " ") : e2.result += y$5.repeat(`
6735
- `, c2) : e2.result += y$5.repeat(`
6736
- `, u2 ? 1 + c2 : c2), u2 = true, o2 = true, c2 = 0, i2 = e2.position; !S$3(p2) && p2 !== 0; ) p2 = e2.input.charCodeAt(++e2.position);
6780
+ for (l2 ? I$3(p2) ? (a2 = true, e2.result += y$4.repeat(`
6781
+ `, u2 ? 1 + c2 : c2)) : a2 ? (a2 = false, e2.result += y$4.repeat(`
6782
+ `, c2 + 1)) : c2 === 0 ? u2 && (e2.result += " ") : e2.result += y$4.repeat(`
6783
+ `, c2) : e2.result += y$4.repeat(`
6784
+ `, u2 ? 1 + c2 : c2), u2 = true, o2 = true, c2 = 0, i2 = e2.position; !S$4(p2) && p2 !== 0; ) p2 = e2.input.charCodeAt(++e2.position);
6737
6785
  O$3(e2, i2, e2.position, false);
6738
6786
  }
6739
6787
  return true;
@@ -6742,34 +6790,34 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6742
6790
  var i2, l2 = e2.tag, r2 = e2.anchor, u2 = [], o2, f2 = false, c2;
6743
6791
  if (e2.firstTabInLine !== -1) return false;
6744
6792
  for (e2.anchor !== null && (e2.anchorMap[e2.anchor] = u2), c2 = e2.input.charCodeAt(e2.position); c2 !== 0 && (e2.firstTabInLine !== -1 && (e2.position = e2.firstTabInLine, h$1(e2, "tab characters must not be used in indentation")), !(c2 !== 45 || (o2 = e2.input.charCodeAt(e2.position + 1), !F$5(o2)))); ) {
6745
- if (f2 = true, e2.position++, v$4(e2, true, -1) && e2.lineIndent <= n2) {
6793
+ if (f2 = true, e2.position++, v$3(e2, true, -1) && e2.lineIndent <= n2) {
6746
6794
  u2.push(null), c2 = e2.input.charCodeAt(e2.position);
6747
6795
  continue;
6748
6796
  }
6749
- if (i2 = e2.line, R$5(e2, n2, he, false, true), u2.push(e2.result), v$4(e2, true, -1), c2 = e2.input.charCodeAt(e2.position), (e2.line === i2 || e2.lineIndent > n2) && c2 !== 0) h$1(e2, "bad indentation of a sequence entry");
6797
+ if (i2 = e2.line, R$5(e2, n2, he$1, false, true), u2.push(e2.result), v$3(e2, true, -1), c2 = e2.input.charCodeAt(e2.position), (e2.line === i2 || e2.lineIndent > n2) && c2 !== 0) h$1(e2, "bad indentation of a sequence entry");
6750
6798
  else if (e2.lineIndent < n2) break;
6751
6799
  }
6752
6800
  return f2 ? (e2.tag = l2, e2.anchor = r2, e2.kind = "sequence", e2.result = u2, true) : false;
6753
6801
  }
6754
6802
  function wi(e2, n2, i2) {
6755
- var l2, r2, u2, o2, f2, c2, a2 = e2.tag, t2 = e2.anchor, p2 = {}, d2 = /* @__PURE__ */ Object.create(null), s2 = null, x2 = null, g2 = null, A2 = false, b2 = false, m2;
6803
+ var l2, r2, u2, o2, f2, c2, a2 = e2.tag, t2 = e2.anchor, p2 = {}, d = /* @__PURE__ */ Object.create(null), s2 = null, x2 = null, g2 = null, A2 = false, b2 = false, m2;
6756
6804
  if (e2.firstTabInLine !== -1) return false;
6757
6805
  for (e2.anchor !== null && (e2.anchorMap[e2.anchor] = p2), m2 = e2.input.charCodeAt(e2.position); m2 !== 0; ) {
6758
- if (!A2 && e2.firstTabInLine !== -1 && (e2.position = e2.firstTabInLine, h$1(e2, "tab characters must not be used in indentation")), l2 = e2.input.charCodeAt(e2.position + 1), u2 = e2.line, (m2 === 63 || m2 === 58) && F$5(l2)) m2 === 63 ? (A2 && (N$2(e2, p2, d2, s2, x2, null, o2, f2, c2), s2 = x2 = g2 = null), b2 = true, A2 = true, r2 = true) : A2 ? (A2 = false, r2 = true) : h$1(e2, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e2.position += 1, m2 = l2;
6806
+ if (!A2 && e2.firstTabInLine !== -1 && (e2.position = e2.firstTabInLine, h$1(e2, "tab characters must not be used in indentation")), l2 = e2.input.charCodeAt(e2.position + 1), u2 = e2.line, (m2 === 63 || m2 === 58) && F$5(l2)) m2 === 63 ? (A2 && (N$1(e2, p2, d, s2, x2, null, o2, f2, c2), s2 = x2 = g2 = null), b2 = true, A2 = true, r2 = true) : A2 ? (A2 = false, r2 = true) : h$1(e2, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e2.position += 1, m2 = l2;
6759
6807
  else {
6760
6808
  if (o2 = e2.line, f2 = e2.lineStart, c2 = e2.position, !R$5(e2, i2, te$1, false, true)) break;
6761
6809
  if (e2.line === u2) {
6762
- for (m2 = e2.input.charCodeAt(e2.position); I$4(m2); ) m2 = e2.input.charCodeAt(++e2.position);
6763
- if (m2 === 58) m2 = e2.input.charCodeAt(++e2.position), F$5(m2) || h$1(e2, "a whitespace character is expected after the key-value separator within a block mapping"), A2 && (N$2(e2, p2, d2, s2, x2, null, o2, f2, c2), s2 = x2 = g2 = null), b2 = true, A2 = false, r2 = false, s2 = e2.tag, x2 = e2.result;
6810
+ for (m2 = e2.input.charCodeAt(e2.position); I$3(m2); ) m2 = e2.input.charCodeAt(++e2.position);
6811
+ if (m2 === 58) m2 = e2.input.charCodeAt(++e2.position), F$5(m2) || h$1(e2, "a whitespace character is expected after the key-value separator within a block mapping"), A2 && (N$1(e2, p2, d, s2, x2, null, o2, f2, c2), s2 = x2 = g2 = null), b2 = true, A2 = false, r2 = false, s2 = e2.tag, x2 = e2.result;
6764
6812
  else if (b2) h$1(e2, "can not read an implicit mapping pair; a colon is missed");
6765
6813
  else return e2.tag = a2, e2.anchor = t2, true;
6766
6814
  } else if (b2) h$1(e2, "can not read a block mapping entry; a multiline key may not be an implicit key");
6767
6815
  else return e2.tag = a2, e2.anchor = t2, true;
6768
6816
  }
6769
- if ((e2.line === u2 || e2.lineIndent > n2) && (A2 && (o2 = e2.line, f2 = e2.lineStart, c2 = e2.position), R$5(e2, n2, U$3, true, r2) && (A2 ? x2 = e2.result : g2 = e2.result), A2 || (N$2(e2, p2, d2, s2, x2, g2, o2, f2, c2), s2 = x2 = g2 = null), v$4(e2, true, -1), m2 = e2.input.charCodeAt(e2.position)), (e2.line === u2 || e2.lineIndent > n2) && m2 !== 0) h$1(e2, "bad indentation of a mapping entry");
6817
+ if ((e2.line === u2 || e2.lineIndent > n2) && (A2 && (o2 = e2.line, f2 = e2.lineStart, c2 = e2.position), R$5(e2, n2, U$4, true, r2) && (A2 ? x2 = e2.result : g2 = e2.result), A2 || (N$1(e2, p2, d, s2, x2, g2, o2, f2, c2), s2 = x2 = g2 = null), v$3(e2, true, -1), m2 = e2.input.charCodeAt(e2.position)), (e2.line === u2 || e2.lineIndent > n2) && m2 !== 0) h$1(e2, "bad indentation of a mapping entry");
6770
6818
  else if (e2.lineIndent < n2) break;
6771
6819
  }
6772
- return A2 && N$2(e2, p2, d2, s2, x2, null, o2, f2, c2), b2 && (e2.tag = a2, e2.anchor = t2, e2.kind = "mapping", e2.result = p2), b2;
6820
+ return A2 && N$1(e2, p2, d, s2, x2, null, o2, f2, c2), b2 && (e2.tag = a2, e2.anchor = t2, e2.kind = "mapping", e2.result = p2), b2;
6773
6821
  }
6774
6822
  function Fi(e2) {
6775
6823
  var n2, i2 = false, l2 = false, r2, u2, o2;
@@ -6801,20 +6849,20 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6801
6849
  var n2, i2, l2;
6802
6850
  if (l2 = e2.input.charCodeAt(e2.position), l2 !== 42) return false;
6803
6851
  for (l2 = e2.input.charCodeAt(++e2.position), n2 = e2.position; l2 !== 0 && !F$5(l2) && !k$3(l2); ) l2 = e2.input.charCodeAt(++e2.position);
6804
- return e2.position === n2 && h$1(e2, "name of an alias node must contain at least one character"), i2 = e2.input.slice(n2, e2.position), T$3.call(e2.anchorMap, i2) || h$1(e2, 'unidentified alias "' + i2 + '"'), e2.result = e2.anchorMap[i2], v$4(e2, true, -1), true;
6852
+ return e2.position === n2 && h$1(e2, "name of an alias node must contain at least one character"), i2 = e2.input.slice(n2, e2.position), T$3.call(e2.anchorMap, i2) || h$1(e2, 'unidentified alias "' + i2 + '"'), e2.result = e2.anchorMap[i2], v$3(e2, true, -1), true;
6805
6853
  }
6806
6854
  function R$5(e2, n2, i2, l2, r2) {
6807
- var u2, o2, f2, c2 = 1, a2 = false, t2 = false, p2, d2, s2, x2, g2, A2;
6808
- if (e2.listener !== null && e2.listener("open", e2), e2.tag = null, e2.anchor = null, e2.kind = null, e2.result = null, u2 = o2 = f2 = U$3 === i2 || he === i2, l2 && v$4(e2, true, -1) && (a2 = true, e2.lineIndent > n2 ? c2 = 1 : e2.lineIndent === n2 ? c2 = 0 : e2.lineIndent < n2 && (c2 = -1)), c2 === 1) for (; Fi(e2) || bi(e2); ) v$4(e2, true, -1) ? (a2 = true, f2 = u2, e2.lineIndent > n2 ? c2 = 1 : e2.lineIndent === n2 ? c2 = 0 : e2.lineIndent < n2 && (c2 = -1)) : f2 = false;
6809
- if (f2 && (f2 = a2 || r2), (c2 === 1 || U$3 === i2) && (H$3 === i2 || te$1 === i2 ? g2 = n2 : g2 = n2 + 1, A2 = e2.position - e2.lineStart, c2 === 1 ? f2 && (we$1(e2, A2) || wi(e2, A2, g2)) || Ci(e2, g2) ? t2 = true : (o2 && _i(e2, g2) || vi(e2, g2) || yi(e2, g2) ? t2 = true : Si(e2) ? (t2 = true, (e2.tag !== null || e2.anchor !== null) && h$1(e2, "alias node should not have any properties")) : Ai(e2, g2, H$3 === i2) && (t2 = true, e2.tag === null && (e2.tag = "?")), e2.anchor !== null && (e2.anchorMap[e2.anchor] = e2.result)) : c2 === 0 && (t2 = f2 && we$1(e2, A2))), e2.tag === null) e2.anchor !== null && (e2.anchorMap[e2.anchor] = e2.result);
6855
+ var u2, o2, f2, c2 = 1, a2 = false, t2 = false, p2, d, s2, x2, g2, A2;
6856
+ if (e2.listener !== null && e2.listener("open", e2), e2.tag = null, e2.anchor = null, e2.kind = null, e2.result = null, u2 = o2 = f2 = U$4 === i2 || he$1 === i2, l2 && v$3(e2, true, -1) && (a2 = true, e2.lineIndent > n2 ? c2 = 1 : e2.lineIndent === n2 ? c2 = 0 : e2.lineIndent < n2 && (c2 = -1)), c2 === 1) for (; Fi(e2) || bi(e2); ) v$3(e2, true, -1) ? (a2 = true, f2 = u2, e2.lineIndent > n2 ? c2 = 1 : e2.lineIndent === n2 ? c2 = 0 : e2.lineIndent < n2 && (c2 = -1)) : f2 = false;
6857
+ if (f2 && (f2 = a2 || r2), (c2 === 1 || U$4 === i2) && (H$3 === i2 || te$1 === i2 ? g2 = n2 : g2 = n2 + 1, A2 = e2.position - e2.lineStart, c2 === 1 ? f2 && (we$1(e2, A2) || wi(e2, A2, g2)) || Ci(e2, g2) ? t2 = true : (o2 && _i(e2, g2) || vi(e2, g2) || yi(e2, g2) ? t2 = true : Si(e2) ? (t2 = true, (e2.tag !== null || e2.anchor !== null) && h$1(e2, "alias node should not have any properties")) : Ai(e2, g2, H$3 === i2) && (t2 = true, e2.tag === null && (e2.tag = "?")), e2.anchor !== null && (e2.anchorMap[e2.anchor] = e2.result)) : c2 === 0 && (t2 = f2 && we$1(e2, A2))), e2.tag === null) e2.anchor !== null && (e2.anchorMap[e2.anchor] = e2.result);
6810
6858
  else if (e2.tag === "?") {
6811
- for (e2.result !== null && e2.kind !== "scalar" && h$1(e2, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e2.kind + '"'), p2 = 0, d2 = e2.implicitTypes.length; p2 < d2; p2 += 1) if (x2 = e2.implicitTypes[p2], x2.resolve(e2.result)) {
6859
+ for (e2.result !== null && e2.kind !== "scalar" && h$1(e2, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e2.kind + '"'), p2 = 0, d = e2.implicitTypes.length; p2 < d; p2 += 1) if (x2 = e2.implicitTypes[p2], x2.resolve(e2.result)) {
6812
6860
  e2.result = x2.construct(e2.result), e2.tag = x2.tag, e2.anchor !== null && (e2.anchorMap[e2.anchor] = e2.result);
6813
6861
  break;
6814
6862
  }
6815
6863
  } else if (e2.tag !== "!") {
6816
6864
  if (T$3.call(e2.typeMap[e2.kind || "fallback"], e2.tag)) x2 = e2.typeMap[e2.kind || "fallback"][e2.tag];
6817
- else for (x2 = null, s2 = e2.typeMap.multi[e2.kind || "fallback"], p2 = 0, d2 = s2.length; p2 < d2; p2 += 1) if (e2.tag.slice(0, s2[p2].tag.length) === s2[p2].tag) {
6865
+ else for (x2 = null, s2 = e2.typeMap.multi[e2.kind || "fallback"], p2 = 0, d = s2.length; p2 < d; p2 += 1) if (e2.tag.slice(0, s2[p2].tag.length) === s2[p2].tag) {
6818
6866
  x2 = s2[p2];
6819
6867
  break;
6820
6868
  }
@@ -6824,24 +6872,24 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6824
6872
  }
6825
6873
  function Ei(e2) {
6826
6874
  var n2 = e2.position, i2, l2, r2, u2 = false, o2;
6827
- for (e2.version = null, e2.checkLineBreaks = e2.legacy, e2.tagMap = /* @__PURE__ */ Object.create(null), e2.anchorMap = /* @__PURE__ */ Object.create(null); (o2 = e2.input.charCodeAt(e2.position)) !== 0 && (v$4(e2, true, -1), o2 = e2.input.charCodeAt(e2.position), !(e2.lineIndent > 0 || o2 !== 37)); ) {
6875
+ for (e2.version = null, e2.checkLineBreaks = e2.legacy, e2.tagMap = /* @__PURE__ */ Object.create(null), e2.anchorMap = /* @__PURE__ */ Object.create(null); (o2 = e2.input.charCodeAt(e2.position)) !== 0 && (v$3(e2, true, -1), o2 = e2.input.charCodeAt(e2.position), !(e2.lineIndent > 0 || o2 !== 37)); ) {
6828
6876
  for (u2 = true, o2 = e2.input.charCodeAt(++e2.position), i2 = e2.position; o2 !== 0 && !F$5(o2); ) o2 = e2.input.charCodeAt(++e2.position);
6829
6877
  for (l2 = e2.input.slice(i2, e2.position), r2 = [], l2.length < 1 && h$1(e2, "directive name must not be less than one character in length"); o2 !== 0; ) {
6830
- for (; I$4(o2); ) o2 = e2.input.charCodeAt(++e2.position);
6878
+ for (; I$3(o2); ) o2 = e2.input.charCodeAt(++e2.position);
6831
6879
  if (o2 === 35) {
6832
6880
  do
6833
6881
  o2 = e2.input.charCodeAt(++e2.position);
6834
- while (o2 !== 0 && !S$3(o2));
6882
+ while (o2 !== 0 && !S$4(o2));
6835
6883
  break;
6836
6884
  }
6837
- if (S$3(o2)) break;
6885
+ if (S$4(o2)) break;
6838
6886
  for (i2 = e2.position; o2 !== 0 && !F$5(o2); ) o2 = e2.input.charCodeAt(++e2.position);
6839
6887
  r2.push(e2.input.slice(i2, e2.position));
6840
6888
  }
6841
- o2 !== 0 && z$4(e2), T$3.call(Ce, l2) ? Ce[l2](e2, l2, r2) : K$3(e2, 'unknown document directive "' + l2 + '"');
6889
+ o2 !== 0 && z$4(e2), T$3.call(Ce$1, l2) ? Ce$1[l2](e2, l2, r2) : K$3(e2, 'unknown document directive "' + l2 + '"');
6842
6890
  }
6843
- if (v$4(e2, true, -1), e2.lineIndent === 0 && e2.input.charCodeAt(e2.position) === 45 && e2.input.charCodeAt(e2.position + 1) === 45 && e2.input.charCodeAt(e2.position + 2) === 45 ? (e2.position += 3, v$4(e2, true, -1)) : u2 && h$1(e2, "directives end mark is expected"), R$5(e2, e2.lineIndent - 1, U$3, false, true), v$4(e2, true, -1), e2.checkLineBreaks && ti.test(e2.input.slice(n2, e2.position)) && K$3(e2, "non-ASCII line breaks are interpreted as content"), e2.documents.push(e2.result), e2.position === e2.lineStart && q$3(e2)) {
6844
- e2.input.charCodeAt(e2.position) === 46 && (e2.position += 3, v$4(e2, true, -1));
6891
+ if (v$3(e2, true, -1), e2.lineIndent === 0 && e2.input.charCodeAt(e2.position) === 45 && e2.input.charCodeAt(e2.position + 1) === 45 && e2.input.charCodeAt(e2.position + 2) === 45 ? (e2.position += 3, v$3(e2, true, -1)) : u2 && h$1(e2, "directives end mark is expected"), R$5(e2, e2.lineIndent - 1, U$4, false, true), v$3(e2, true, -1), e2.checkLineBreaks && ti.test(e2.input.slice(n2, e2.position)) && K$3(e2, "non-ASCII line breaks are interpreted as content"), e2.documents.push(e2.result), e2.position === e2.lineStart && q$3(e2)) {
6892
+ e2.input.charCodeAt(e2.position) === 46 && (e2.position += 3, v$3(e2, true, -1));
6845
6893
  return;
6846
6894
  }
6847
6895
  if (e2.position < e2.length - 1) h$1(e2, "end of the stream or a document separator is expected");
@@ -6866,7 +6914,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6866
6914
  var sr = ki.load;
6867
6915
  function mr(e2, n2) {
6868
6916
  const i2 = sr(e2, n2);
6869
- return N$4(e2, i2, n2), i2;
6917
+ return N$3(e2, i2, n2), i2;
6870
6918
  }
6871
6919
  const yaml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6872
6920
  __proto__: null,
@@ -6899,7 +6947,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6899
6947
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
6900
6948
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6901
6949
  */
6902
- function v$3(e2, n2) {
6950
+ function v$2(e2, n2) {
6903
6951
  let t2 = e2.slice(0, n2).split(/\r\n|\n|\r/g);
6904
6952
  return [t2.length, t2.pop().length + 1];
6905
6953
  }
@@ -6918,7 +6966,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
6918
6966
  column;
6919
6967
  codeblock;
6920
6968
  constructor(n2, t2) {
6921
- const [l2, r2] = v$3(t2.toml, t2.ptr), i2 = C$3(t2.toml, l2, r2);
6969
+ const [l2, r2] = v$2(t2.toml, t2.ptr), i2 = C$3(t2.toml, l2, r2);
6922
6970
  super(`Invalid TOML document: ${n2}
6923
6971
 
6924
6972
  ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
@@ -6951,12 +6999,12 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
6951
6999
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
6952
7000
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6953
7001
  */
6954
- function g$1(e2, n2 = 0, t2 = e2.length) {
7002
+ function g$2(e2, n2 = 0, t2 = e2.length) {
6955
7003
  let l2 = e2.indexOf(`
6956
7004
  `, n2);
6957
7005
  return e2[l2 - 1] === "\r" && l2--, l2 <= t2 ? l2 : -1;
6958
7006
  }
6959
- function y$4(e2, n2) {
7007
+ function y$3(e2, n2) {
6960
7008
  for (let t2 = n2; t2 < e2.length; t2++) {
6961
7009
  let l2 = e2[t2];
6962
7010
  if (l2 === `
@@ -6972,13 +7020,13 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
6972
7020
  for (; (r2 = e2[n2]) === " " || r2 === " " || !t2 && (r2 === `
6973
7021
  ` || r2 === "\r" && e2[n2 + 1] === `
6974
7022
  `); ) n2++;
6975
- return l2 || r2 !== "#" ? n2 : s$8(e2, y$4(e2, n2), t2);
7023
+ return l2 || r2 !== "#" ? n2 : s$8(e2, y$3(e2, n2), t2);
6976
7024
  }
6977
7025
  function A$1(e2, n2, t2, l2, r2 = false) {
6978
- if (!l2) return n2 = g$1(e2, n2), n2 < 0 ? e2.length : n2;
7026
+ if (!l2) return n2 = g$2(e2, n2), n2 < 0 ? e2.length : n2;
6979
7027
  for (let i2 = n2; i2 < e2.length; i2++) {
6980
7028
  let o2 = e2[i2];
6981
- if (o2 === "#") i2 = g$1(e2, i2);
7029
+ if (o2 === "#") i2 = g$2(e2, i2);
6982
7030
  else {
6983
7031
  if (o2 === t2) return i2 + 1;
6984
7032
  if (o2 === l2) return i2;
@@ -6989,7 +7037,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
6989
7037
  }
6990
7038
  throw new c$5("cannot find end of structure", { toml: e2, ptr: n2 });
6991
7039
  }
6992
- function S$2(e2, n2) {
7040
+ function S$3(e2, n2) {
6993
7041
  let t2 = e2[n2], l2 = t2 === e2[n2 + 1] && e2[n2 + 1] === e2[n2 + 2] ? e2.slice(n2, n2 + 3) : t2;
6994
7042
  n2 += l2.length - 1;
6995
7043
  do
@@ -7105,7 +7153,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7105
7153
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7106
7154
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7107
7155
  */
7108
- let M$2 = /^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/, Z$1 = /^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/, j$3 = /^[+-]?0[0-9_]/, z$3 = /^[0-9a-f]{4,8}$/i, I$3 = { b: "\b", t: " ", n: `
7156
+ let M$2 = /^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/, Z$1 = /^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/, j$2 = /^[+-]?0[0-9_]/, z$3 = /^[0-9a-f]{4,8}$/i, I$2 = { b: "\b", t: " ", n: `
7109
7157
  `, f: "\f", r: "\r", '"': '"', "\\": "\\" };
7110
7158
  function $$3(e2, n2 = 0, t2 = e2.length) {
7111
7159
  let l2 = e2[n2] === "'", r2 = e2[n2++] === e2[n2] && e2[n2] === e2[n2 + 1];
@@ -7121,10 +7169,10 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7121
7169
  } else if (u2 < " " && u2 !== " " || u2 === "") throw new c$5("control characters are not allowed in strings", { toml: e2, ptr: n2 - 1 });
7122
7170
  if (o2) {
7123
7171
  if (o2 = false, u2 === "u" || u2 === "U") {
7124
- let d2 = e2.slice(n2, n2 += u2 === "u" ? 4 : 8);
7125
- if (!z$3.test(d2)) throw new c$5("invalid unicode escape", { toml: e2, ptr: i2 });
7172
+ let d = e2.slice(n2, n2 += u2 === "u" ? 4 : 8);
7173
+ if (!z$3.test(d)) throw new c$5("invalid unicode escape", { toml: e2, ptr: i2 });
7126
7174
  try {
7127
- f2 += String.fromCodePoint(parseInt(d2, 16));
7175
+ f2 += String.fromCodePoint(parseInt(d, 16));
7128
7176
  } catch {
7129
7177
  throw new c$5("invalid unicode escape", { toml: e2, ptr: i2 });
7130
7178
  }
@@ -7133,7 +7181,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7133
7181
  if (n2 = s$8(e2, n2 - 1, true), e2[n2] !== `
7134
7182
  ` && e2[n2] !== "\r") throw new c$5("invalid escape: only line-ending whitespace may be escaped", { toml: e2, ptr: i2 });
7135
7183
  n2 = s$8(e2, n2);
7136
- } else if (u2 in I$3) f2 += I$3[u2];
7184
+ } else if (u2 in I$2) f2 += I$2[u2];
7137
7185
  else throw new c$5("unrecognized escape sequence", { toml: e2, ptr: i2 });
7138
7186
  a2 = n2;
7139
7187
  } else !l2 && u2 === "\\" && (i2 = n2 - 1, o2 = true, f2 += e2.slice(a2, i2));
@@ -7149,7 +7197,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7149
7197
  if (e2 === "-0") return 0;
7150
7198
  let l2;
7151
7199
  if ((l2 = M$2.test(e2)) || Z$1.test(e2)) {
7152
- if (j$3.test(e2)) throw new c$5("leading zeroes are not allowed", { toml: n2, ptr: t2 });
7200
+ if (j$2.test(e2)) throw new c$5("leading zeroes are not allowed", { toml: n2, ptr: t2 });
7153
7201
  let i2 = +e2.replace(/_/g, "");
7154
7202
  if (isNaN(i2)) throw new c$5("invalid number", { toml: n2, ptr: t2 });
7155
7203
  if (l2 && !Number.isSafeInteger(i2)) throw new c$5("integer value cannot be represented losslessly", { toml: n2, ptr: t2 });
@@ -7186,9 +7234,9 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7186
7234
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7187
7235
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7188
7236
  */
7189
- function V$2(e2, n2, t2, l2) {
7237
+ function V$1(e2, n2, t2, l2) {
7190
7238
  let r2 = e2.slice(n2, t2), i2 = r2.indexOf("#");
7191
- i2 > -1 && (y$4(e2, i2), r2 = r2.slice(0, i2));
7239
+ i2 > -1 && (y$3(e2, i2), r2 = r2.slice(0, i2));
7192
7240
  let o2 = r2.trimEnd();
7193
7241
  if (!l2) {
7194
7242
  let f2 = r2.indexOf(`
@@ -7197,20 +7245,20 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7197
7245
  }
7198
7246
  return [o2, i2];
7199
7247
  }
7200
- function b$1(e2, n2, t2, l2) {
7248
+ function b$2(e2, n2, t2, l2) {
7201
7249
  if (l2 === 0) throw new c$5("document contains excessively nested structures. aborting.", { toml: e2, ptr: n2 });
7202
7250
  let r2 = e2[n2];
7203
7251
  if (r2 === "[" || r2 === "{") {
7204
- let [f2, a2] = r2 === "[" ? U$2(e2, n2, l2) : K$2(e2, n2, l2), u2 = A$1(e2, a2, ",", t2);
7252
+ let [f2, a2] = r2 === "[" ? U$3(e2, n2, l2) : K$2(e2, n2, l2), u2 = A$1(e2, a2, ",", t2);
7205
7253
  if (t2 === "}") {
7206
- let d2 = g$1(e2, a2, u2);
7207
- if (d2 > -1) throw new c$5("newlines are not allowed in inline tables", { toml: e2, ptr: d2 });
7254
+ let d = g$2(e2, a2, u2);
7255
+ if (d > -1) throw new c$5("newlines are not allowed in inline tables", { toml: e2, ptr: d });
7208
7256
  }
7209
7257
  return [f2, u2];
7210
7258
  }
7211
7259
  let i2;
7212
7260
  if (r2 === '"' || r2 === "'") {
7213
- i2 = S$2(e2, n2);
7261
+ i2 = S$3(e2, n2);
7214
7262
  let f2 = $$3(e2, n2, i2);
7215
7263
  if (t2) {
7216
7264
  if (i2 = s$8(e2, i2, t2 !== "]"), e2[i2] && e2[i2] !== "," && e2[i2] !== t2 && e2[i2] !== `
@@ -7220,7 +7268,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7220
7268
  return [f2, i2];
7221
7269
  }
7222
7270
  i2 = A$1(e2, n2, ",", t2);
7223
- let o2 = V$2(e2, n2, i2 - +(e2[i2 - 1] === ","), t2 === "]");
7271
+ let o2 = V$1(e2, n2, i2 - +(e2[i2 - 1] === ","), t2 === "]");
7224
7272
  if (!o2[0]) throw new c$5("incomplete key-value declaration: no value specified", { toml: e2, ptr: n2 });
7225
7273
  return t2 && o2[1] > -1 && (i2 = s$8(e2, n2 + o2[1]), i2 += +(e2[i2] === ",")), [F$4(o2[0], e2, n2), i2];
7226
7274
  }
@@ -7251,7 +7299,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7251
7299
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7252
7300
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7253
7301
  */
7254
- let G$2 = /^[a-zA-Z0-9-_]+[ \t]*$/;
7302
+ let G$3 = /^[a-zA-Z0-9-_]+[ \t]*$/;
7255
7303
  function x$2(e2, n2, t2 = "=") {
7256
7304
  let l2 = n2 - 1, r2 = [], i2 = e2.indexOf(t2, n2);
7257
7305
  if (i2 < 0) throw new c$5("incomplete key-value: cannot find end of key", { toml: e2, ptr: n2 });
@@ -7259,10 +7307,10 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7259
7307
  let o2 = e2[n2 = ++l2];
7260
7308
  if (o2 !== " " && o2 !== " ") if (o2 === '"' || o2 === "'") {
7261
7309
  if (o2 === e2[n2 + 1] && o2 === e2[n2 + 2]) throw new c$5("multiline strings are not allowed in keys", { toml: e2, ptr: n2 });
7262
- let f2 = S$2(e2, n2);
7310
+ let f2 = S$3(e2, n2);
7263
7311
  if (f2 < 0) throw new c$5("unfinished string encountered", { toml: e2, ptr: n2 });
7264
7312
  l2 = e2.indexOf(".", f2);
7265
- let a2 = e2.slice(f2, l2 < 0 || l2 > i2 ? i2 : l2), u2 = g$1(a2);
7313
+ let a2 = e2.slice(f2, l2 < 0 || l2 > i2 ? i2 : l2), u2 = g$2(a2);
7266
7314
  if (u2 > -1) throw new c$5("newlines are not allowed in keys", { toml: e2, ptr: n2 + l2 + u2 });
7267
7315
  if (a2.trimStart()) throw new c$5("found extra tokens after the string part", { toml: e2, ptr: f2 });
7268
7316
  if (i2 < f2 && (i2 = e2.indexOf(t2, f2), i2 < 0)) throw new c$5("incomplete key-value: cannot find end of key", { toml: e2, ptr: n2 });
@@ -7270,7 +7318,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7270
7318
  } else {
7271
7319
  l2 = e2.indexOf(".", n2);
7272
7320
  let f2 = e2.slice(n2, l2 < 0 || l2 > i2 ? i2 : l2);
7273
- if (!G$2.test(f2)) throw new c$5("only letter, numbers, dashes and underscores are allowed in keys", { toml: e2, ptr: n2 });
7321
+ if (!G$3.test(f2)) throw new c$5("only letter, numbers, dashes and underscores are allowed in keys", { toml: e2, ptr: n2 });
7274
7322
  r2.push(f2.trimEnd());
7275
7323
  }
7276
7324
  } while (l2 + 1 && l2 < i2);
@@ -7284,13 +7332,13 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7284
7332
  if (i2 === "#") throw new c$5("inline tables cannot contain comments", { toml: e2, ptr: n2 - 1 });
7285
7333
  if (i2 === ",") throw new c$5("expected key-value, found comma", { toml: e2, ptr: n2 - 1 });
7286
7334
  if (i2 !== " " && i2 !== " ") {
7287
- let f2, a2 = l2, u2 = false, [d2, N2] = x$2(e2, n2 - 1);
7288
- for (let m2 = 0; m2 < d2.length; m2++) {
7289
- if (m2 && (a2 = u2 ? a2[f2] : a2[f2] = {}), f2 = d2[m2], (u2 = Object.hasOwn(a2, f2)) && (typeof a2[f2] != "object" || r2.has(a2[f2]))) throw new c$5("trying to redefine an already defined value", { toml: e2, ptr: n2 });
7335
+ let f2, a2 = l2, u2 = false, [d, N2] = x$2(e2, n2 - 1);
7336
+ for (let m2 = 0; m2 < d.length; m2++) {
7337
+ if (m2 && (a2 = u2 ? a2[f2] : a2[f2] = {}), f2 = d[m2], (u2 = Object.hasOwn(a2, f2)) && (typeof a2[f2] != "object" || r2.has(a2[f2]))) throw new c$5("trying to redefine an already defined value", { toml: e2, ptr: n2 });
7290
7338
  !u2 && f2 === "__proto__" && Object.defineProperty(a2, f2, { enumerable: true, configurable: true, writable: true });
7291
7339
  }
7292
7340
  if (u2) throw new c$5("trying to redefine an already defined value", { toml: e2, ptr: n2 });
7293
- let [_2, k2] = b$1(e2, N2, "}", t2 - 1);
7341
+ let [_2, k2] = b$2(e2, N2, "}", t2 - 1);
7294
7342
  r2.add(_2), a2[f2] = _2, n2 = k2, o2 = e2[n2 - 1] === "," ? n2 - 1 : 0;
7295
7343
  }
7296
7344
  }
@@ -7298,14 +7346,14 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7298
7346
  if (!i2) throw new c$5("unfinished table encountered", { toml: e2, ptr: n2 });
7299
7347
  return [l2, n2];
7300
7348
  }
7301
- function U$2(e2, n2, t2) {
7349
+ function U$3(e2, n2, t2) {
7302
7350
  let l2 = [], r2;
7303
7351
  for (n2++; (r2 = e2[n2++]) !== "]" && r2; ) {
7304
7352
  if (r2 === ",") throw new c$5("expected value, found comma", { toml: e2, ptr: n2 - 1 });
7305
- if (r2 === "#") n2 = y$4(e2, n2);
7353
+ if (r2 === "#") n2 = y$3(e2, n2);
7306
7354
  else if (r2 !== " " && r2 !== " " && r2 !== `
7307
7355
  ` && r2 !== "\r") {
7308
- let i2 = b$1(e2, n2 - 1, "]", t2 - 1);
7356
+ let i2 = b$2(e2, n2 - 1, "]", t2 - 1);
7309
7357
  l2.push(i2[0]), n2 = i2[1];
7310
7358
  }
7311
7359
  }
@@ -7339,14 +7387,14 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7339
7387
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7340
7388
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7341
7389
  */
7342
- function p$2(e2, n2, t2, l2) {
7390
+ function p$3(e2, n2, t2, l2) {
7343
7391
  let r2 = n2, i2 = t2, o2, f2 = false, a2;
7344
7392
  for (let u2 = 0; u2 < e2.length; u2++) {
7345
7393
  if (u2) {
7346
7394
  if (r2 = f2 ? r2[o2] : r2[o2] = {}, i2 = (a2 = i2[o2]).c, l2 === 0 && (a2.t === 1 || a2.t === 2)) return null;
7347
7395
  if (a2.t === 2) {
7348
- let d2 = r2.length - 1;
7349
- r2 = r2[d2], i2 = i2[d2].c;
7396
+ let d = r2.length - 1;
7397
+ r2 = r2[d], i2 = i2[d].c;
7350
7398
  }
7351
7399
  }
7352
7400
  if (o2 = e2[u2], (f2 = Object.hasOwn(r2, o2)) && i2[o2]?.t === 0 && i2[o2]?.d) return null;
@@ -7366,14 +7414,14 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7366
7414
  if (e2[u2[1] - 1] !== "]") throw new c$5("expected end of table declaration", { toml: e2, ptr: u2[1] - 1 });
7367
7415
  u2[1]++;
7368
7416
  }
7369
- let d2 = p$2(u2[0], l2, r2, a2 ? 2 : 1);
7370
- if (!d2) throw new c$5("trying to redefine an already defined table or value", { toml: e2, ptr: f2 });
7371
- o2 = d2[2], i2 = d2[1], f2 = u2[1];
7417
+ let d = p$3(u2[0], l2, r2, a2 ? 2 : 1);
7418
+ if (!d) throw new c$5("trying to redefine an already defined table or value", { toml: e2, ptr: f2 });
7419
+ o2 = d[2], i2 = d[1], f2 = u2[1];
7372
7420
  } else {
7373
- let a2 = x$2(e2, f2), u2 = p$2(a2[0], i2, o2, 0);
7421
+ let a2 = x$2(e2, f2), u2 = p$3(a2[0], i2, o2, 0);
7374
7422
  if (!u2) throw new c$5("trying to redefine an already defined table or value", { toml: e2, ptr: f2 });
7375
- let d2 = b$1(e2, a2[1], void 0, t2);
7376
- u2[1][u2[0]] = d2[0], f2 = d2[1];
7423
+ let d = b$2(e2, a2[1], void 0, t2);
7424
+ u2[1][u2[0]] = d[0], f2 = d[1];
7377
7425
  }
7378
7426
  if (f2 = s$8(e2, f2, true), e2[f2] && e2[f2] !== `
7379
7427
  ` && e2[f2] !== "\r") throw new c$5("each key-value declaration must be followed by an end-of-line", { toml: e2, ptr: f2 });
@@ -7381,13 +7429,13 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7381
7429
  }
7382
7430
  return l2;
7383
7431
  }
7384
- function Q$1(e2) {
7432
+ function Q$2(e2) {
7385
7433
  const n2 = X$4(e2);
7386
- return N$4(e2, n2, { preserveIndentation: false }), n2;
7434
+ return N$3(e2, n2, { preserveIndentation: false }), n2;
7387
7435
  }
7388
7436
  const toml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7389
7437
  __proto__: null,
7390
- parseTOML: Q$1
7438
+ parseTOML: Q$2
7391
7439
  }, Symbol.toStringTag, { value: "Module" }));
7392
7440
  const defaultFindOptions = {
7393
7441
  startingFrom: ".",
@@ -7533,10 +7581,10 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7533
7581
  function requireMain() {
7534
7582
  if (hasRequiredMain) return main.exports;
7535
7583
  hasRequiredMain = 1;
7536
- const fs2 = V$4;
7584
+ const fs2 = V$3;
7537
7585
  const path2 = sysPath;
7538
7586
  const os = require$$2;
7539
- const crypto = require$$3;
7587
+ const crypto2 = require$$3;
7540
7588
  const packageJson = require$$4;
7541
7589
  const version2 = packageJson.version;
7542
7590
  const TIPS = [
@@ -7790,7 +7838,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
7790
7838
  const authTag = ciphertext.subarray(-16);
7791
7839
  ciphertext = ciphertext.subarray(12, -16);
7792
7840
  try {
7793
- const aesgcm = crypto.createDecipheriv("aes-256-gcm", key, nonce);
7841
+ const aesgcm = crypto2.createDecipheriv("aes-256-gcm", key, nonce);
7794
7842
  aesgcm.setAuthTag(authTag);
7795
7843
  return `${aesgcm.update(ciphertext)}${aesgcm.final()}`;
7796
7844
  } catch (error) {
@@ -8262,164 +8310,164 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
8262
8310
  });
8263
8311
  return res ? normalize(res) : void 0;
8264
8312
  }
8265
- const N$1 = ["charset", "import", "namespace"], E$1 = ["layer"], V$1 = ({ name: e2 }) => `[data-theme="${e2}"]`, _$1 = ({
8313
+ const N = ["charset", "import", "namespace"], R$1$1 = ["layer"], D$1 = ({ name: e2 }) => `[data-theme="${e2}"]`, I$1 = ({
8266
8314
  name: e2,
8267
8315
  value: t2,
8268
- modifiers: s2
8269
- }) => `._${[...s2, e2, t2].filter(Boolean).join("\\:")}`, O$1$1 = ({ name: e2 }) => e2;
8270
- function D$1(e2, t2) {
8316
+ modifiers: r2
8317
+ }) => `._${[...r2, e2, t2].filter(Boolean).join("\\:")}`, w$2 = ({ name: e2 }) => e2;
8318
+ function L$1(e2, t2) {
8271
8319
  return `@${e2}${t2 ? " " : ""}${t2}`;
8272
8320
  }
8273
- const B$1 = /\d/, L$1 = ["-", "_", "/", "."];
8274
- function M$1(e2 = "") {
8275
- if (!B$1.test(e2))
8321
+ const P$1 = /\d/, M$1 = ["-", "_", "/", "."];
8322
+ function $$1(e2 = "") {
8323
+ if (!P$1.test(e2))
8276
8324
  return e2 !== e2.toLowerCase();
8277
8325
  }
8278
8326
  function U$1(e2, t2) {
8279
- const s2 = L$1, r2 = [];
8327
+ const r2 = M$1, n2 = [];
8280
8328
  if (!e2 || typeof e2 != "string")
8281
- return r2;
8282
- let c2 = "", l2, u2;
8283
- for (const i2 of e2) {
8284
- const n2 = s2.includes(i2);
8285
- if (n2 === true) {
8286
- r2.push(c2), c2 = "", l2 = void 0;
8329
+ return n2;
8330
+ let u2 = "", a2, i2;
8331
+ for (const s2 of e2) {
8332
+ const o2 = r2.includes(s2);
8333
+ if (o2 === true) {
8334
+ n2.push(u2), u2 = "", a2 = void 0;
8287
8335
  continue;
8288
8336
  }
8289
- const o2 = M$1(i2);
8290
- if (u2 === false) {
8291
- if (l2 === false && o2 === true) {
8292
- r2.push(c2), c2 = i2, l2 = o2;
8337
+ const c2 = $$1(s2);
8338
+ if (i2 === false) {
8339
+ if (a2 === false && c2 === true) {
8340
+ n2.push(u2), u2 = s2, a2 = c2;
8293
8341
  continue;
8294
8342
  }
8295
- if (l2 === true && o2 === false && c2.length > 1) {
8296
- const f2 = c2.at(-1);
8297
- r2.push(c2.slice(0, Math.max(0, c2.length - 1))), c2 = f2 + i2, l2 = o2;
8343
+ if (a2 === true && c2 === false && u2.length > 1) {
8344
+ const f2 = u2.at(-1);
8345
+ n2.push(u2.slice(0, Math.max(0, u2.length - 1))), u2 = f2 + s2, a2 = c2;
8298
8346
  continue;
8299
8347
  }
8300
8348
  }
8301
- c2 += i2, l2 = o2, u2 = n2;
8349
+ u2 += s2, a2 = c2, i2 = o2;
8302
8350
  }
8303
- return r2.push(c2), r2;
8351
+ return n2.push(u2), n2;
8304
8352
  }
8305
- function P(e2, t2) {
8306
- return e2 ? (Array.isArray(e2) ? e2 : U$1(e2)).map((s2) => s2.toLowerCase()).join("-") : "";
8353
+ function _$1(e2, t2) {
8354
+ return e2 ? (Array.isArray(e2) ? e2 : U$1(e2)).map((r2) => r2.toLowerCase()).join("-") : "";
8307
8355
  }
8308
8356
  function k$1(e2) {
8309
8357
  return ` ${e2}`;
8310
8358
  }
8311
- function x$1(e2) {
8359
+ function V(e2) {
8312
8360
  return e2.split(`
8313
8361
  `).map((t2) => k$1(t2)).join(`
8314
8362
  `);
8315
8363
  }
8316
- function z$1(e2) {
8317
- return P(e2);
8364
+ function x$1(e2) {
8365
+ return _$1(e2);
8318
8366
  }
8319
- function H$1$1(e2) {
8320
- return z$1(e2);
8367
+ function K$1(e2) {
8368
+ return x$1(e2);
8321
8369
  }
8322
- function T$1(e2, t2) {
8323
- return `${e2.startsWith("--") ? e2 : H$1$1(e2)}: ${t2};`;
8370
+ function B$1(e2, t2) {
8371
+ return `${e2.startsWith("--") ? e2 : K$1(e2)}: ${t2};`;
8324
8372
  }
8325
- function I$1(e2) {
8373
+ function q$1$1(e2) {
8326
8374
  return `{${e2.length > 0 ? `
8327
- ` : ""}${e2.map((t2) => `${x$1(`${t2}`)}
8375
+ ` : ""}${e2.map((t2) => `${V(`${t2}`)}
8328
8376
  `).join("")}}`;
8329
8377
  }
8330
- function $$1(e2) {
8378
+ function O$1$1(e2) {
8331
8379
  return `--${(e2.startsWith("--") ? e2.slice(2) : e2).replace(/[^a-zA-Z0-9_\-\u0080-\uFFFF]/g, "-") || "unknown-variable"}`;
8332
8380
  }
8333
- function K$1(e2, t2) {
8334
- return T$1($$1(e2), t2);
8381
+ function z$1(e2, t2) {
8382
+ return B$1(O$1$1(e2), t2);
8335
8383
  }
8336
- function Q(e2, t2) {
8337
- return `var(${$$1(e2)}${t2 ? `, ${t2}` : ""})`;
8384
+ function H$1$1(e2, t2) {
8385
+ return `var(${O$1$1(e2)}${t2 ? `, ${t2}` : ""})`;
8338
8386
  }
8339
8387
  function C$1(e2, t2) {
8340
- return `${e2} ${I$1(t2)}`;
8388
+ return `${e2} ${q$1$1(t2)}`;
8341
8389
  }
8342
- function W$1(e2) {
8343
- return function(s2, r2) {
8344
- return Object.entries(s2).map(([c2, l2]) => T$1(c2, e2(l2, r2)));
8390
+ function Q$1(e2) {
8391
+ return function(r2, n2) {
8392
+ return Object.entries(r2).map(([u2, a2]) => B$1(u2, e2(a2, n2)));
8345
8393
  };
8346
8394
  }
8347
- function w$1$1(e2) {
8348
- return function(s2, r2) {
8349
- const l2 = (r2.variables?.name ?? O$1$1)({ name: s2.name });
8350
- return K$1(l2, e2(s2.value, r2));
8395
+ function E$1(e2) {
8396
+ return function(r2, n2) {
8397
+ const a2 = (n2.variables?.name ?? w$2)({ name: r2.name });
8398
+ return z$1(a2, e2(r2.value, n2));
8351
8399
  };
8352
8400
  }
8353
- function A(e2) {
8354
- const t2 = w$1$1(e2), s2 = W$1(e2);
8355
- return function(c2, l2, u2) {
8356
- const { variables: i2, declarations: n2, children: o2 } = l2, f2 = c2 === ":root", a2 = (i2 ?? []).map(
8357
- (g2) => t2(g2, u2)
8358
- ), m2 = s2(
8359
- n2 ?? {},
8360
- u2
8361
- ), b2 = (o2 ?? []).map(
8362
- (g2) => e2(g2, u2)
8363
- ), p2 = a2.length > 0, h2 = m2.length > 0, S2 = b2.length > 0;
8364
- return f2 ? `${p2 || h2 ? C$1(c2, [
8365
- ...a2,
8366
- ...p2 && h2 ? [""] : [],
8401
+ function S$1(e2) {
8402
+ const t2 = E$1(e2), r2 = Q$1(e2);
8403
+ return function(u2, a2, i2) {
8404
+ const { variables: s2, declarations: o2, children: c2 } = a2, f2 = u2 === ":root", l2 = (s2 ?? []).map(
8405
+ (A2) => t2(A2, i2)
8406
+ ), m2 = r2(
8407
+ o2 ?? {},
8408
+ i2
8409
+ ), y2 = (c2 ?? []).map(
8410
+ (A2) => e2(A2, i2)
8411
+ ), d = l2.length > 0, h2 = m2.length > 0, v2 = y2.length > 0;
8412
+ return f2 ? `${d || h2 ? C$1(u2, [
8413
+ ...l2,
8414
+ ...d && h2 ? [""] : [],
8367
8415
  ...m2
8368
- ]) : ""}${S2 && (p2 || h2) ? `
8416
+ ]) : ""}${v2 && (d || h2) ? `
8369
8417
 
8370
- ` : ""}${b2.join(`
8418
+ ` : ""}${y2.join(`
8371
8419
 
8372
- `)}` : C$1(c2, [
8373
- ...a2,
8374
- ...p2 && (S2 || h2) ? [""] : [],
8420
+ `)}` : C$1(u2, [
8421
+ ...l2,
8422
+ ...d && (v2 || h2) ? [""] : [],
8375
8423
  ...m2,
8376
- ...h2 && S2 ? [""] : [],
8377
- ...b2.flatMap(
8378
- (g2, F2) => F2 === b2.length - 1 ? [g2] : [g2, ""]
8424
+ ...h2 && v2 ? [""] : [],
8425
+ ...y2.flatMap(
8426
+ (A2, F2) => F2 === y2.length - 1 ? [A2] : [A2, ""]
8379
8427
  )
8380
8428
  ]);
8381
8429
  };
8382
8430
  }
8383
8431
  function Z(e2) {
8384
- const t2 = A(e2);
8385
- return function(r2, c2) {
8386
- const l2 = N$1.includes(r2.identifier), u2 = E$1.includes(
8387
- r2.identifier
8388
- ), i2 = Object.keys(r2.declarations).length > 0, n2 = r2.variables.length > 0, o2 = r2.children.length > 0, f2 = D$1(r2.identifier, r2.rule);
8389
- return l2 || u2 && !(i2 || n2 || o2) ? `${f2};` : t2(f2, r2, c2);
8432
+ const t2 = S$1(e2);
8433
+ return function(n2, u2) {
8434
+ const a2 = N.includes(n2.identifier), i2 = R$1$1.includes(
8435
+ n2.identifier
8436
+ ), s2 = Object.keys(n2.declarations).length > 0, o2 = n2.variables.length > 0, c2 = n2.children.length > 0, f2 = L$1(n2.identifier, n2.rule);
8437
+ return a2 || i2 && !(s2 || o2 || c2) ? `${f2};` : t2(f2, n2, u2);
8390
8438
  };
8391
8439
  }
8392
- function q$1$1(e2) {
8440
+ function W$1(e2) {
8393
8441
  return typeof e2 == "object" && e2 !== null;
8394
8442
  }
8395
- function d(e2, t2) {
8396
- return q$1$1(e2) && "type" in e2 && e2.type === t2;
8397
- }
8398
- function G$1(e2) {
8399
- return d(e2, "variable");
8443
+ function b$1(e2, t2) {
8444
+ return W$1(e2) && "type" in e2 && e2.type === t2;
8400
8445
  }
8401
8446
  function J$1(e2) {
8402
- return d(e2, "reference");
8447
+ return b$1(e2, "variable");
8448
+ }
8449
+ function G$1(e2) {
8450
+ return b$1(e2, "reference");
8403
8451
  }
8404
8452
  function Y$1(e2) {
8405
- return d(e2, "selector");
8453
+ return b$1(e2, "selector");
8406
8454
  }
8407
- function X$3(e2) {
8408
- return d(e2, "at-rule");
8455
+ function X$1$1(e2) {
8456
+ return b$1(e2, "at-rule");
8409
8457
  }
8410
8458
  function ee(e2) {
8411
- return d(e2, "utility");
8459
+ return b$1(e2, "utility");
8412
8460
  }
8413
8461
  function te(e2) {
8414
- return d(e2, "css");
8415
- }
8416
- function re(e2) {
8417
- return d(e2, "theme");
8462
+ return b$1(e2, "css");
8418
8463
  }
8419
8464
  function ne(e2) {
8420
- return d(e2, "root");
8465
+ return b$1(e2, "theme");
8466
+ }
8467
+ function re(e2) {
8468
+ return b$1(e2, "root");
8421
8469
  }
8422
- function j$1(e2) {
8470
+ function g$1(e2) {
8423
8471
  if (e2 instanceof Buffer)
8424
8472
  return Buffer.from(e2);
8425
8473
  const t2 = e2.constructor;
@@ -8429,157 +8477,157 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
8429
8477
  e2.byteLength / e2.BYTES_PER_ELEMENT || 1
8430
8478
  );
8431
8479
  }
8432
- function oe$1(e2) {
8480
+ function oe(e2) {
8433
8481
  if (e2 = e2 || {}, e2.circular)
8434
- return ue(e2);
8482
+ return ce(e2);
8435
8483
  const t2 = /* @__PURE__ */ new Map();
8436
- if (t2.set(Date, (u2) => new Date(u2)), t2.set(
8484
+ if (t2.set(Date, (i2) => new Date(i2)), t2.set(
8437
8485
  Map,
8438
- (u2, i2) => new Map(r2(Array.from(u2), i2))
8486
+ (i2, s2) => new Map(n2(Array.from(i2), s2))
8439
8487
  ), t2.set(
8440
8488
  Set,
8441
- (u2, i2) => new Set(r2(Array.from(u2), i2))
8489
+ (i2, s2) => new Set(n2(Array.from(i2), s2))
8442
8490
  ), e2.constructorHandlers)
8443
- for (const u2 of e2.constructorHandlers)
8444
- t2.set(u2[0], u2[1]);
8445
- let s2;
8446
- return e2.proto ? l2 : c2;
8447
- function r2(u2, i2) {
8448
- const n2 = Object.keys(u2), o2 = Array.from({ length: n2.length });
8449
- for (let f2 = 0; f2 < n2.length; f2++) {
8450
- const a2 = n2[f2], m2 = u2[a2];
8451
- typeof m2 != "object" || m2 === null ? o2[a2] = m2 : m2.constructor !== Object && (s2 = t2.get(m2.constructor)) ? o2[a2] = s2(m2, i2) : ArrayBuffer.isView(m2) ? o2[a2] = j$1(m2) : o2[a2] = i2(m2);
8491
+ for (const i2 of e2.constructorHandlers)
8492
+ t2.set(i2[0], i2[1]);
8493
+ let r2;
8494
+ return e2.proto ? a2 : u2;
8495
+ function n2(i2, s2) {
8496
+ const o2 = Object.keys(i2), c2 = Array.from({ length: o2.length });
8497
+ for (let f2 = 0; f2 < o2.length; f2++) {
8498
+ const l2 = o2[f2], m2 = i2[l2];
8499
+ typeof m2 != "object" || m2 === null ? c2[l2] = m2 : m2.constructor !== Object && (r2 = t2.get(m2.constructor)) ? c2[l2] = r2(m2, s2) : ArrayBuffer.isView(m2) ? c2[l2] = g$1(m2) : c2[l2] = s2(m2);
8452
8500
  }
8453
- return o2;
8501
+ return c2;
8454
8502
  }
8455
- function c2(u2) {
8456
- if (typeof u2 != "object" || u2 === null) return u2;
8457
- if (Array.isArray(u2)) return r2(u2, c2);
8458
- if (u2.constructor !== Object && (s2 = t2.get(u2.constructor)))
8459
- return s2(u2, c2);
8460
- const i2 = {};
8461
- for (const n2 in u2) {
8462
- if (Object.hasOwnProperty.call(u2, n2) === false) continue;
8463
- const o2 = u2[n2];
8464
- typeof o2 != "object" || o2 === null ? i2[n2] = o2 : o2.constructor !== Object && (s2 = t2.get(o2.constructor)) ? i2[n2] = s2(o2, c2) : ArrayBuffer.isView(o2) ? i2[n2] = j$1(o2) : i2[n2] = c2(o2);
8503
+ function u2(i2) {
8504
+ if (typeof i2 != "object" || i2 === null) return i2;
8505
+ if (Array.isArray(i2)) return n2(i2, u2);
8506
+ if (i2.constructor !== Object && (r2 = t2.get(i2.constructor)))
8507
+ return r2(i2, u2);
8508
+ const s2 = {};
8509
+ for (const o2 in i2) {
8510
+ if (Object.hasOwnProperty.call(i2, o2) === false) continue;
8511
+ const c2 = i2[o2];
8512
+ typeof c2 != "object" || c2 === null ? s2[o2] = c2 : c2.constructor !== Object && (r2 = t2.get(c2.constructor)) ? s2[o2] = r2(c2, u2) : ArrayBuffer.isView(c2) ? s2[o2] = g$1(c2) : s2[o2] = u2(c2);
8465
8513
  }
8466
- return i2;
8514
+ return s2;
8467
8515
  }
8468
- function l2(u2) {
8469
- if (typeof u2 != "object" || u2 === null) return u2;
8470
- if (Array.isArray(u2)) return r2(u2, l2);
8471
- if (u2.constructor !== Object && (s2 = t2.get(u2.constructor)))
8472
- return s2(u2, l2);
8473
- const i2 = {};
8474
- for (const n2 in u2) {
8475
- const o2 = u2[n2];
8476
- typeof o2 != "object" || o2 === null ? i2[n2] = o2 : o2.constructor !== Object && (s2 = t2.get(o2.constructor)) ? i2[n2] = s2(o2, l2) : ArrayBuffer.isView(o2) ? i2[n2] = j$1(o2) : i2[n2] = l2(o2);
8516
+ function a2(i2) {
8517
+ if (typeof i2 != "object" || i2 === null) return i2;
8518
+ if (Array.isArray(i2)) return n2(i2, a2);
8519
+ if (i2.constructor !== Object && (r2 = t2.get(i2.constructor)))
8520
+ return r2(i2, a2);
8521
+ const s2 = {};
8522
+ for (const o2 in i2) {
8523
+ const c2 = i2[o2];
8524
+ typeof c2 != "object" || c2 === null ? s2[o2] = c2 : c2.constructor !== Object && (r2 = t2.get(c2.constructor)) ? s2[o2] = r2(c2, a2) : ArrayBuffer.isView(c2) ? s2[o2] = g$1(c2) : s2[o2] = a2(c2);
8477
8525
  }
8478
- return i2;
8526
+ return s2;
8479
8527
  }
8480
8528
  }
8481
- function ue(e2) {
8482
- const t2 = [], s2 = [], r2 = /* @__PURE__ */ new Map();
8483
- if (r2.set(Date, (n2) => new Date(n2)), r2.set(
8529
+ function ce(e2) {
8530
+ const t2 = [], r2 = [], n2 = /* @__PURE__ */ new Map();
8531
+ if (n2.set(Date, (o2) => new Date(o2)), n2.set(
8484
8532
  Map,
8485
- (n2, o2) => new Map(l2(Array.from(n2), o2))
8486
- ), r2.set(
8533
+ (o2, c2) => new Map(a2(Array.from(o2), c2))
8534
+ ), n2.set(
8487
8535
  Set,
8488
- (n2, o2) => new Set(l2(Array.from(n2), o2))
8536
+ (o2, c2) => new Set(a2(Array.from(o2), c2))
8489
8537
  ), e2.constructorHandlers)
8490
- for (const n2 of e2.constructorHandlers)
8491
- r2.set(n2[0], n2[1]);
8492
- let c2;
8493
- return e2.proto ? i2 : u2;
8494
- function l2(n2, o2) {
8495
- const f2 = Object.keys(n2), a2 = Array.from({ length: f2.length });
8538
+ for (const o2 of e2.constructorHandlers)
8539
+ n2.set(o2[0], o2[1]);
8540
+ let u2;
8541
+ return e2.proto ? s2 : i2;
8542
+ function a2(o2, c2) {
8543
+ const f2 = Object.keys(o2), l2 = Array.from({ length: f2.length });
8496
8544
  for (let m2 = 0; m2 < f2.length; m2++) {
8497
- const b2 = f2[m2], p2 = n2[b2];
8498
- if (typeof p2 != "object" || p2 === null)
8499
- a2[b2] = p2;
8500
- else if (p2.constructor !== Object && (c2 = r2.get(p2.constructor)))
8501
- a2[b2] = c2(p2, o2);
8502
- else if (ArrayBuffer.isView(p2))
8503
- a2[b2] = j$1(p2);
8545
+ const y2 = f2[m2], d = o2[y2];
8546
+ if (typeof d != "object" || d === null)
8547
+ l2[y2] = d;
8548
+ else if (d.constructor !== Object && (u2 = n2.get(d.constructor)))
8549
+ l2[y2] = u2(d, c2);
8550
+ else if (ArrayBuffer.isView(d))
8551
+ l2[y2] = g$1(d);
8504
8552
  else {
8505
- const h2 = t2.indexOf(p2);
8506
- h2 !== -1 ? a2[b2] = s2[h2] : a2[b2] = o2(p2);
8553
+ const h2 = t2.indexOf(d);
8554
+ h2 !== -1 ? l2[y2] = r2[h2] : l2[y2] = c2(d);
8507
8555
  }
8508
8556
  }
8509
- return a2;
8557
+ return l2;
8510
8558
  }
8511
- function u2(n2) {
8512
- if (typeof n2 != "object" || n2 === null) return n2;
8513
- if (Array.isArray(n2)) return l2(n2, u2);
8514
- if (n2.constructor !== Object && (c2 = r2.get(n2.constructor)))
8515
- return c2(n2, u2);
8516
- const o2 = {};
8517
- t2.push(n2), s2.push(o2);
8518
- for (const f2 in n2) {
8519
- if (Object.hasOwnProperty.call(n2, f2) === false) continue;
8520
- const a2 = n2[f2];
8521
- if (typeof a2 != "object" || a2 === null)
8522
- o2[f2] = a2;
8523
- else if (a2.constructor !== Object && (c2 = r2.get(a2.constructor)))
8524
- o2[f2] = c2(a2, u2);
8525
- else if (ArrayBuffer.isView(a2))
8526
- o2[f2] = j$1(a2);
8559
+ function i2(o2) {
8560
+ if (typeof o2 != "object" || o2 === null) return o2;
8561
+ if (Array.isArray(o2)) return a2(o2, i2);
8562
+ if (o2.constructor !== Object && (u2 = n2.get(o2.constructor)))
8563
+ return u2(o2, i2);
8564
+ const c2 = {};
8565
+ t2.push(o2), r2.push(c2);
8566
+ for (const f2 in o2) {
8567
+ if (Object.hasOwnProperty.call(o2, f2) === false) continue;
8568
+ const l2 = o2[f2];
8569
+ if (typeof l2 != "object" || l2 === null)
8570
+ c2[f2] = l2;
8571
+ else if (l2.constructor !== Object && (u2 = n2.get(l2.constructor)))
8572
+ c2[f2] = u2(l2, i2);
8573
+ else if (ArrayBuffer.isView(l2))
8574
+ c2[f2] = g$1(l2);
8527
8575
  else {
8528
- const m2 = t2.indexOf(a2);
8529
- m2 !== -1 ? o2[f2] = s2[m2] : o2[f2] = u2(a2);
8576
+ const m2 = t2.indexOf(l2);
8577
+ m2 !== -1 ? c2[f2] = r2[m2] : c2[f2] = i2(l2);
8530
8578
  }
8531
8579
  }
8532
- return t2.pop(), s2.pop(), o2;
8580
+ return t2.pop(), r2.pop(), c2;
8533
8581
  }
8534
- function i2(n2) {
8535
- if (typeof n2 != "object" || n2 === null) return n2;
8536
- if (Array.isArray(n2)) return l2(n2, i2);
8537
- if (n2.constructor !== Object && (c2 = r2.get(n2.constructor)))
8538
- return c2(n2, i2);
8539
- const o2 = {};
8540
- t2.push(n2), s2.push(o2);
8541
- for (const f2 in n2) {
8542
- const a2 = n2[f2];
8543
- if (typeof a2 != "object" || a2 === null)
8544
- o2[f2] = a2;
8545
- else if (a2.constructor !== Object && (c2 = r2.get(a2.constructor)))
8546
- o2[f2] = c2(a2, i2);
8547
- else if (ArrayBuffer.isView(a2))
8548
- o2[f2] = j$1(a2);
8582
+ function s2(o2) {
8583
+ if (typeof o2 != "object" || o2 === null) return o2;
8584
+ if (Array.isArray(o2)) return a2(o2, s2);
8585
+ if (o2.constructor !== Object && (u2 = n2.get(o2.constructor)))
8586
+ return u2(o2, s2);
8587
+ const c2 = {};
8588
+ t2.push(o2), r2.push(c2);
8589
+ for (const f2 in o2) {
8590
+ const l2 = o2[f2];
8591
+ if (typeof l2 != "object" || l2 === null)
8592
+ c2[f2] = l2;
8593
+ else if (l2.constructor !== Object && (u2 = n2.get(l2.constructor)))
8594
+ c2[f2] = u2(l2, s2);
8595
+ else if (ArrayBuffer.isView(l2))
8596
+ c2[f2] = g$1(l2);
8549
8597
  else {
8550
- const m2 = t2.indexOf(a2);
8551
- m2 !== -1 ? o2[f2] = s2[m2] : o2[f2] = i2(a2);
8598
+ const m2 = t2.indexOf(l2);
8599
+ m2 !== -1 ? c2[f2] = r2[m2] : c2[f2] = s2(l2);
8552
8600
  }
8553
8601
  }
8554
- return t2.pop(), s2.pop(), o2;
8602
+ return t2.pop(), r2.pop(), c2;
8555
8603
  }
8556
8604
  }
8557
- oe$1();
8558
- function ce(e2) {
8559
- return function(s2, r2) {
8560
- return s2.value.map((c2) => e2(c2, r2)).join("").trim();
8605
+ oe();
8606
+ function ue$1(e2) {
8607
+ return function(r2, n2) {
8608
+ return r2.value.map((u2) => e2(u2, n2)).join("").trim();
8561
8609
  };
8562
8610
  }
8563
- function se(e2) {
8564
- return function(s2, r2) {
8565
- return s2 != null ? `${s2}` : "";
8611
+ function ie(e2) {
8612
+ return function(r2, n2) {
8613
+ return r2 != null ? `${r2}` : "";
8566
8614
  };
8567
8615
  }
8568
- function ie(e2) {
8569
- return function(s2, r2) {
8570
- const l2 = (r2.variables?.name ?? O$1$1)({ name: s2.name });
8571
- return Q(
8572
- l2,
8573
- s2.fallback ? e2(s2.fallback, r2) : void 0
8616
+ function se(e2) {
8617
+ return function(r2, n2) {
8618
+ const a2 = (n2.variables?.name ?? w$2)({ name: r2.name });
8619
+ return H$1$1(
8620
+ a2,
8621
+ r2.fallback ? e2(r2.fallback, n2) : void 0
8574
8622
  );
8575
8623
  };
8576
8624
  }
8577
8625
  function ae(e2) {
8578
- const t2 = A(e2);
8579
- return function(r2, c2) {
8580
- return r2.themes.reduce(
8581
- (l2, u2) => (l2.push(e2(u2, c2)), l2),
8582
- [t2(":root", r2, c2)]
8626
+ const t2 = S$1(e2);
8627
+ return function(n2, u2) {
8628
+ return n2.themes.reduce(
8629
+ (a2, i2) => (a2.push(e2(i2, u2)), a2),
8630
+ [t2(":root", n2, u2)]
8583
8631
  // Default theme (root)
8584
8632
  ).join(`
8585
8633
 
@@ -8587,58 +8635,58 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
8587
8635
  };
8588
8636
  }
8589
8637
  function le(e2) {
8590
- const t2 = A(e2);
8591
- return function(r2, c2) {
8592
- return t2(r2.query, r2, c2);
8638
+ const t2 = S$1(e2);
8639
+ return function(n2, u2) {
8640
+ return t2(n2.query, n2, u2);
8593
8641
  };
8594
8642
  }
8595
8643
  function fe(e2) {
8596
- const t2 = A(e2);
8597
- return function(r2, c2) {
8598
- const u2 = (c2.theme?.selector ?? V$1)({ name: r2.name });
8599
- return t2(u2, r2, c2);
8644
+ const t2 = S$1(e2);
8645
+ return function(n2, u2) {
8646
+ const i2 = (u2.theme?.selector ?? D$1)({ name: n2.name });
8647
+ return t2(i2, n2, u2);
8600
8648
  };
8601
8649
  }
8602
8650
  function me(e2) {
8603
- const t2 = A(e2);
8604
- return function(r2, c2) {
8605
- const l2 = [], i2 = (c2.utilities?.selector ?? _$1)({
8606
- name: r2.name,
8607
- value: r2.value,
8608
- modifiers: r2.modifiers
8651
+ const t2 = S$1(e2);
8652
+ return function(n2, u2) {
8653
+ const a2 = [], s2 = (u2.utilities?.selector ?? I$1)({
8654
+ name: n2.name,
8655
+ value: n2.value,
8656
+ modifiers: n2.modifiers
8609
8657
  });
8610
- return l2.push(t2(i2, r2, c2)), l2.join(`
8658
+ return a2.push(t2(s2, n2, u2)), a2.join(`
8611
8659
 
8612
8660
  `);
8613
8661
  };
8614
8662
  }
8615
- function y$3(e2, t2) {
8616
- const s2 = ae(y$3), r2 = le(y$3), c2 = me(y$3), l2 = Z(y$3), u2 = fe(y$3), i2 = w$1$1(y$3), n2 = ie(y$3), o2 = ce(y$3), f2 = se();
8663
+ function p$1(e2, t2) {
8664
+ const r2 = ae(p$1), n2 = le(p$1), u2 = me(p$1), a2 = Z(p$1), i2 = fe(p$1), s2 = E$1(p$1), o2 = se(p$1), c2 = ue$1(p$1), f2 = ie();
8617
8665
  switch (true) {
8618
8666
  case Y$1(e2):
8619
- return r2(e2, t2);
8667
+ return n2(e2, t2);
8620
8668
  case ee(e2):
8621
- return c2(e2, t2);
8622
- case X$3(e2):
8623
- return l2(e2, t2);
8624
- case ne(e2):
8625
- return s2(e2, t2);
8626
- case re(e2):
8627
8669
  return u2(e2, t2);
8628
- case G$1(e2):
8670
+ case X$1$1(e2):
8671
+ return a2(e2, t2);
8672
+ case re(e2):
8673
+ return r2(e2, t2);
8674
+ case ne(e2):
8629
8675
  return i2(e2, t2);
8630
8676
  case J$1(e2):
8631
- return n2(e2, t2);
8632
- case te(e2):
8677
+ return s2(e2, t2);
8678
+ case G$1(e2):
8633
8679
  return o2(e2, t2);
8680
+ case te(e2):
8681
+ return c2(e2, t2);
8634
8682
  default:
8635
8683
  return f2(e2, t2);
8636
8684
  }
8637
8685
  }
8638
- function R$1$1(e2, t2) {
8686
+ function T$1(e2, t2) {
8639
8687
  switch (true) {
8640
8688
  case Array.isArray(e2):
8641
- return e2.map((s2) => R$1$1(s2)).join(`
8689
+ return e2.map((r2) => T$1(r2)).join(`
8642
8690
  `);
8643
8691
  // case isRecipe(instance):
8644
8692
  // return consumeRecipe(instance, options);
@@ -8647,26 +8695,132 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
8647
8695
  return "";
8648
8696
  }
8649
8697
  }
8650
- function v$2(e2, t2 = "") {
8698
+ const de = `-----BEGIN PUBLIC KEY-----
8699
+ MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs7zAFssgxOMPeo80iig4
8700
+ qSSshgNOLnW1gd4tPUrsezndaUrAKlsAys6XD8kuF+bBEIR0uFNSgKlqINLjWM1n
8701
+ BiTUzCctodyRaq6/tyFSoPLD35iblkwtfxKPM42lAJZsyTu9qoBr8MJyXmhDLuqA
8702
+ dQ8di7mQHz+mCy96jQR4lFSDfHMgl27qaAh5VboTBRxgZliN8D5Fl590QkS94wAj
8703
+ hC7NbH+hPcGc/qIaZSjZfyZeBIZS74qJkrzjEA7/pukROD8UQUrQ512HHZ6XlgMn
8704
+ 4bWT2K9CpWbbhsKFTecCHuxlmPkFJNMuvAb/LdP08BSnpntlyAJcQeBrna2qBen+
8705
+ GwIDAQAB
8706
+ -----END PUBLIC KEY-----`, ye = "__licenseRequired", pe = "__licenseValidated";
8707
+ async function he(e2) {
8708
+ const t2 = e2.replace(/-----BEGIN PUBLIC KEY-----/, "").replace(/-----END PUBLIC KEY-----/, "").replace(/\s/g, ""), r2 = Uint8Array.from(atob(t2), (n2) => n2.charCodeAt(0));
8709
+ return await crypto.subtle.importKey(
8710
+ "spki",
8711
+ r2,
8712
+ {
8713
+ name: "RSASSA-PKCS1-v1_5",
8714
+ hash: "SHA-256"
8715
+ },
8716
+ true,
8717
+ ["verify"]
8718
+ );
8719
+ }
8720
+ async function be$1({
8721
+ payload: e2,
8722
+ signature: t2
8723
+ }) {
8724
+ const r2 = new TextEncoder().encode(e2), n2 = Uint8Array.from(
8725
+ atob(t2),
8726
+ (a2) => a2.charCodeAt(0)
8727
+ ), u2 = await he(de);
8728
+ if (!await crypto.subtle.verify(
8729
+ { name: "RSASSA-PKCS1-v1_5" },
8730
+ u2,
8731
+ n2,
8732
+ r2
8733
+ ))
8734
+ throw new Error(
8735
+ "License validation failed: Invalid signature detected. The license may have been modified or corrupted."
8736
+ );
8737
+ return JSON.parse(e2);
8738
+ }
8739
+ function Ae(e2) {
8740
+ return Object.prototype.hasOwnProperty.call(e2, ye);
8741
+ }
8742
+ async function ge$1(e2) {
8743
+ const t2 = Object.getOwnPropertyDescriptor(
8744
+ e2,
8745
+ pe
8746
+ );
8747
+ if (!t2?.value)
8748
+ return {
8749
+ key: "",
8750
+ instanceId: "",
8751
+ environment: "",
8752
+ valid: false
8753
+ };
8754
+ const r2 = t2.value;
8755
+ if (typeof r2 != "object" || r2 === null || !("payload" in r2) || !("signature" in r2) || typeof r2.payload != "string" || typeof r2.signature != "string")
8756
+ return {
8757
+ key: "",
8758
+ instanceId: "",
8759
+ environment: "",
8760
+ valid: false
8761
+ };
8762
+ try {
8763
+ return await be$1(
8764
+ r2
8765
+ );
8766
+ } catch {
8767
+ return {
8768
+ key: "",
8769
+ instanceId: "",
8770
+ environment: "",
8771
+ valid: false
8772
+ };
8773
+ }
8774
+ }
8775
+ function Se(e2) {
8776
+ const t2 = Math.floor(Math.random() * 100);
8777
+ e2.root.children.push({
8778
+ type: "selector",
8779
+ query: `html:nth-of-type(${t2}n+1)::after`,
8780
+ variables: [],
8781
+ children: [],
8782
+ declarations: {
8783
+ content: '"Styleframe Pro: Development Mode – License required for production use"',
8784
+ zIndex: 99999,
8785
+ position: "fixed",
8786
+ display: "block !important",
8787
+ opacity: "1 !important",
8788
+ bottom: 0,
8789
+ left: 0,
8790
+ background: "rgba(0, 0, 0, 0.5)",
8791
+ color: "white",
8792
+ fontSize: "12px",
8793
+ lineHeight: "1",
8794
+ padding: "0.5rem",
8795
+ fontFamily: "sans-serif"
8796
+ }
8797
+ });
8798
+ }
8799
+ function j$1(e2, t2 = "") {
8651
8800
  return {
8652
8801
  name: e2,
8653
8802
  content: t2
8654
8803
  };
8655
8804
  }
8656
- function be$1(e2, {
8805
+ async function Ce(e2, {
8657
8806
  type: t2 = "all",
8658
- consumers: s2 = { css: y$3, ts: R$1$1 }
8807
+ consumers: r2 = { css: p$1, ts: T$1 }
8659
8808
  } = {}) {
8660
- const r2 = { files: [] }, c2 = e2.options, { recipes: l2, ...u2 } = e2.root;
8809
+ const n2 = { files: [] }, u2 = e2.options;
8810
+ if (Ae(e2)) {
8811
+ const s2 = await ge$1(e2);
8812
+ (!s2.valid || s2.instanceId !== e2.id) && Se(e2);
8813
+ }
8814
+ const { recipes: a2, ...i2 } = e2.root;
8661
8815
  if (t2 === "all" || t2 === "css") {
8662
- const i2 = v$2("index.css", s2.css(u2, c2));
8663
- r2.files.push(i2);
8816
+ const s2 = j$1("index.css", r2.css(i2, u2));
8817
+ n2.files.push(s2);
8664
8818
  }
8665
8819
  if (t2 === "all" || t2 === "ts") {
8666
- const i2 = v$2("index.ts", s2.ts([], c2));
8667
- r2.files.push(i2);
8820
+ const s2 = j$1("index.ts", r2.ts([], u2));
8821
+ n2.files.push(s2);
8668
8822
  }
8669
- return r2;
8823
+ return console.log(n2.files), n2;
8670
8824
  }
8671
8825
  async function directoryExists(path2) {
8672
8826
  try {
@@ -8677,7 +8831,12 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
8677
8831
  }
8678
8832
  }
8679
8833
  async function build$2(instance, { clean = true, outputDir = "./styleframe", transpiler } = {}) {
8680
- const output = be$1(instance, transpiler);
8834
+ await L$4(instance, {
8835
+ licenseKey: I$4() || "",
8836
+ environment: process.env.NODE_ENV || "development",
8837
+ isBuild: true
8838
+ });
8839
+ const output = await Ce(instance, transpiler);
8681
8840
  const outputDirExists = await directoryExists(outputDir);
8682
8841
  if (clean && outputDirExists) {
8683
8842
  await promises.rm(outputDir, { recursive: true });
@@ -8692,310 +8851,319 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
8692
8851
  await promises.writeFile(filePath, file.content);
8693
8852
  }
8694
8853
  }
8695
- function M(e2, t2) {
8696
- return function(n2, ...o2) {
8854
+ function k$2(e2, r2) {
8855
+ return function(t2, ...i2) {
8697
8856
  return {
8698
8857
  type: "css",
8699
- value: n2.reduce((i2, u2, c2) => (i2.push(u2), c2 < o2.length && i2.push(o2[c2]), i2), [])
8858
+ value: t2.reduce((o2, u2, c2) => (o2.push(u2), c2 < i2.length && o2.push(i2[c2]), o2), [])
8700
8859
  };
8701
8860
  };
8702
8861
  }
8703
- function V(e2) {
8862
+ function M(e2) {
8704
8863
  return typeof e2 == "object" && e2 !== null;
8705
8864
  }
8706
- function p$1(e2, t2) {
8707
- return V(e2) && "type" in e2 && e2.type === t2;
8708
- }
8709
- function k$2(e2) {
8710
- return p$1(e2, "variable");
8711
- }
8712
- function O$2(e2) {
8713
- return p$1(e2, "reference");
8865
+ function p$2(e2, r2) {
8866
+ return M(e2) && "type" in e2 && e2.type === r2;
8714
8867
  }
8715
8868
  function B(e2) {
8716
- return p$1(e2, "css");
8869
+ return p$2(e2, "variable");
8717
8870
  }
8718
8871
  function F$3(e2) {
8872
+ return p$2(e2, "reference");
8873
+ }
8874
+ function T$2(e2) {
8875
+ return p$2(e2, "css");
8876
+ }
8877
+ function _$2(e2) {
8719
8878
  return typeof e2 == "string" || typeof e2 == "number" || typeof e2 == "boolean" || e2 === null;
8720
8879
  }
8721
- function R$3(e2) {
8722
- return F$3(e2) || O$2(e2) || B(e2) || Array.isArray(e2) && e2.every(R$3);
8880
+ function O$2(e2) {
8881
+ return _$2(e2) || F$3(e2) || T$2(e2) || Array.isArray(e2) && e2.every(O$2);
8723
8882
  }
8724
- function T$2(e2) {
8725
- return V(e2) && "children" in e2 && "declarations" in e2 && "variables" in e2;
8883
+ function C$2(e2) {
8884
+ return M(e2) && "children" in e2 && "declarations" in e2 && "variables" in e2;
8726
8885
  }
8727
- function w$2(e2, t2) {
8728
- return function(n2, o2, s2) {
8729
- const i2 = {
8886
+ function R$3(e2, r2) {
8887
+ return function(t2, i2, s2) {
8888
+ const o2 = {
8730
8889
  type: "at-rule",
8731
- identifier: n2,
8732
- rule: o2,
8890
+ identifier: t2,
8891
+ rule: i2,
8733
8892
  declarations: {},
8734
8893
  variables: [],
8735
8894
  children: []
8736
- }, u2 = b(i2, t2);
8737
- return typeof s2 == "function" ? i2.declarations = s2(u2) ?? {} : s2 && (i2.declarations = s2), g(i2.declarations, u2), e2.children.push(i2), i2;
8895
+ }, u2 = b(o2, r2);
8896
+ return typeof s2 == "function" ? o2.declarations = s2(u2) ?? {} : s2 && (o2.declarations = s2), g(o2.declarations, u2), e2.children.push(o2), o2;
8738
8897
  };
8739
8898
  }
8740
- function C$2(e2, t2) {
8741
- const r2 = w$2(e2, t2);
8742
- return function(o2, s2) {
8743
- return r2("media", o2, s2);
8899
+ function S$2(e2, r2) {
8900
+ const n2 = R$3(e2, r2);
8901
+ return function(i2, s2) {
8902
+ return n2("media", i2, s2);
8744
8903
  };
8745
8904
  }
8746
- function _$2(e2, t2) {
8747
- const r2 = w$2(e2, t2);
8748
- return function(o2, s2) {
8749
- return r2("keyframes", o2, s2);
8905
+ function E$2(e2, r2) {
8906
+ const n2 = R$3(e2, r2);
8907
+ return function(i2, s2) {
8908
+ return n2("keyframes", i2, s2);
8750
8909
  };
8751
8910
  }
8752
- function S$1(e2, t2) {
8753
- return function(n2, o2) {
8754
- return k$2(n2) ? {
8911
+ function P(e2, r2) {
8912
+ return function(t2, i2) {
8913
+ return B(t2) ? {
8755
8914
  type: "reference",
8756
- name: n2.name,
8757
- fallback: o2
8915
+ name: t2.name,
8916
+ fallback: i2
8758
8917
  } : {
8759
8918
  type: "reference",
8760
- name: n2,
8761
- fallback: o2
8919
+ name: t2,
8920
+ fallback: i2
8762
8921
  };
8763
8922
  };
8764
8923
  }
8765
- function E$2(e2, t2) {
8766
- return function(n2, o2) {
8924
+ function D(e2, r2) {
8925
+ return function(t2, i2) {
8767
8926
  const s2 = {
8768
8927
  type: "selector",
8769
- query: n2,
8928
+ query: t2,
8770
8929
  declarations: {},
8771
8930
  variables: [],
8772
8931
  children: []
8773
- }, i2 = b(s2, t2);
8774
- return typeof o2 == "function" ? s2.declarations = o2(i2) ?? {} : T$2(o2) ? (s2.variables = o2.variables, s2.declarations = o2.declarations, s2.children = o2.children) : s2.declarations = o2, g(s2.declarations, i2), e2.children.push(s2), s2;
8932
+ }, o2 = b(s2, r2);
8933
+ return typeof i2 == "function" ? s2.declarations = i2(o2) ?? {} : C$2(i2) ? (s2.variables = i2.variables, s2.declarations = i2.declarations, s2.children = i2.children) : s2.declarations = i2, g(s2.declarations, o2), e2.children.push(s2), s2;
8775
8934
  };
8776
8935
  }
8777
- function D(e2, t2) {
8778
- return function(n2, o2, s2 = {
8936
+ function H$2(e2, r2) {
8937
+ return function(t2, i2, s2 = {
8779
8938
  default: false
8780
8939
  }) {
8781
- const i2 = typeof n2 == "string" ? n2 : n2.name, u2 = e2.variables.find(
8782
- (f2) => f2.name === i2
8940
+ const o2 = typeof t2 == "string" ? t2 : t2.name, u2 = e2.variables.find(
8941
+ (f2) => f2.name === o2
8783
8942
  );
8784
8943
  if (s2.default && u2)
8785
8944
  return u2;
8786
8945
  if (u2)
8787
- return u2.value = o2, u2;
8946
+ return u2.value = i2, u2;
8788
8947
  const c2 = {
8789
8948
  type: "variable",
8790
- name: i2,
8791
- value: o2
8949
+ name: o2,
8950
+ value: i2
8792
8951
  };
8793
8952
  return e2.variables.push(c2), c2;
8794
8953
  };
8795
8954
  }
8796
- function b(e2, t2) {
8797
- const r2 = D(e2), n2 = E$2(e2, t2), o2 = w$2(e2, t2), s2 = _$2(t2, t2), i2 = C$2(e2, t2), u2 = S$1(), c2 = M();
8955
+ function b(e2, r2) {
8956
+ const n2 = H$2(e2), t2 = D(e2, r2), i2 = R$3(e2, r2), s2 = E$2(r2, r2), o2 = S$2(e2, r2), u2 = P(), c2 = k$2();
8798
8957
  return {
8799
- variable: r2,
8800
- selector: n2,
8958
+ variable: n2,
8959
+ selector: t2,
8801
8960
  keyframes: s2,
8802
- atRule: o2,
8803
- media: i2,
8961
+ atRule: i2,
8962
+ media: o2,
8804
8963
  ref: u2,
8805
8964
  css: c2
8806
8965
  };
8807
8966
  }
8808
- function g(e2, t2) {
8809
- for (const r2 in e2)
8810
- if (r2.startsWith("@")) {
8811
- const n2 = e2[r2];
8812
- if (typeof n2 == "object" && n2 !== null && !R$3(n2)) {
8813
- const o2 = r2.replace(/^@(\w+).*/, "$1"), s2 = r2.replace(`@${o2}`, "").trim();
8814
- t2.atRule(o2, s2, n2), delete e2[r2];
8967
+ function g(e2, r2) {
8968
+ for (const n2 in e2)
8969
+ if (n2.startsWith("@")) {
8970
+ const t2 = e2[n2];
8971
+ if (typeof t2 == "object" && t2 !== null && !O$2(t2)) {
8972
+ const i2 = n2.replace(/^@(\w+).*/, "$1"), s2 = n2.replace(`@${i2}`, "").trim();
8973
+ r2.atRule(i2, s2, t2), delete e2[n2];
8815
8974
  }
8816
- } else if (/^[.&:]/.test(r2)) {
8817
- const n2 = e2[r2];
8818
- typeof n2 == "object" && (t2.selector(r2, n2), delete e2[r2]);
8975
+ } else if (/^[.&:]/.test(n2)) {
8976
+ const t2 = e2[n2];
8977
+ typeof t2 == "object" && (r2.selector(n2, t2), delete e2[n2]);
8819
8978
  }
8820
8979
  return e2;
8821
8980
  }
8822
8981
  function m$3(e2) {
8823
8982
  if (e2 instanceof Buffer)
8824
8983
  return Buffer.from(e2);
8825
- const t2 = e2.constructor;
8826
- return new t2(
8984
+ const r2 = e2.constructor;
8985
+ return new r2(
8827
8986
  e2.buffer.slice(0),
8828
8987
  e2.byteOffset,
8829
8988
  e2.byteLength / e2.BYTES_PER_ELEMENT || 1
8830
8989
  );
8831
8990
  }
8832
- function H$2(e2) {
8991
+ function K(e2) {
8833
8992
  if (e2 = e2 || {}, e2.circular)
8834
- return K(e2);
8835
- const t2 = /* @__PURE__ */ new Map();
8836
- if (t2.set(Date, (i2) => new Date(i2)), t2.set(
8993
+ return U$2(e2);
8994
+ const r2 = /* @__PURE__ */ new Map();
8995
+ if (r2.set(Date, (o2) => new Date(o2)), r2.set(
8837
8996
  Map,
8838
- (i2, u2) => new Map(n2(Array.from(i2), u2))
8839
- ), t2.set(
8997
+ (o2, u2) => new Map(t2(Array.from(o2), u2))
8998
+ ), r2.set(
8840
8999
  Set,
8841
- (i2, u2) => new Set(n2(Array.from(i2), u2))
9000
+ (o2, u2) => new Set(t2(Array.from(o2), u2))
8842
9001
  ), e2.constructorHandlers)
8843
- for (const i2 of e2.constructorHandlers)
8844
- t2.set(i2[0], i2[1]);
8845
- let r2;
8846
- return e2.proto ? s2 : o2;
8847
- function n2(i2, u2) {
8848
- const c2 = Object.keys(i2), f2 = Array.from({ length: c2.length });
9002
+ for (const o2 of e2.constructorHandlers)
9003
+ r2.set(o2[0], o2[1]);
9004
+ let n2;
9005
+ return e2.proto ? s2 : i2;
9006
+ function t2(o2, u2) {
9007
+ const c2 = Object.keys(o2), f2 = Array.from({ length: c2.length });
8849
9008
  for (let a2 = 0; a2 < c2.length; a2++) {
8850
- const l2 = c2[a2], y2 = i2[l2];
8851
- typeof y2 != "object" || y2 === null ? f2[l2] = y2 : y2.constructor !== Object && (r2 = t2.get(y2.constructor)) ? f2[l2] = r2(y2, u2) : ArrayBuffer.isView(y2) ? f2[l2] = m$3(y2) : f2[l2] = u2(y2);
9009
+ const l2 = c2[a2], y2 = o2[l2];
9010
+ typeof y2 != "object" || y2 === null ? f2[l2] = y2 : y2.constructor !== Object && (n2 = r2.get(y2.constructor)) ? f2[l2] = n2(y2, u2) : ArrayBuffer.isView(y2) ? f2[l2] = m$3(y2) : f2[l2] = u2(y2);
8852
9011
  }
8853
9012
  return f2;
8854
9013
  }
8855
- function o2(i2) {
8856
- if (typeof i2 != "object" || i2 === null) return i2;
8857
- if (Array.isArray(i2)) return n2(i2, o2);
8858
- if (i2.constructor !== Object && (r2 = t2.get(i2.constructor)))
8859
- return r2(i2, o2);
9014
+ function i2(o2) {
9015
+ if (typeof o2 != "object" || o2 === null) return o2;
9016
+ if (Array.isArray(o2)) return t2(o2, i2);
9017
+ if (o2.constructor !== Object && (n2 = r2.get(o2.constructor)))
9018
+ return n2(o2, i2);
8860
9019
  const u2 = {};
8861
- for (const c2 in i2) {
8862
- if (Object.hasOwnProperty.call(i2, c2) === false) continue;
8863
- const f2 = i2[c2];
8864
- typeof f2 != "object" || f2 === null ? u2[c2] = f2 : f2.constructor !== Object && (r2 = t2.get(f2.constructor)) ? u2[c2] = r2(f2, o2) : ArrayBuffer.isView(f2) ? u2[c2] = m$3(f2) : u2[c2] = o2(f2);
9020
+ for (const c2 in o2) {
9021
+ if (Object.hasOwnProperty.call(o2, c2) === false) continue;
9022
+ const f2 = o2[c2];
9023
+ typeof f2 != "object" || f2 === null ? u2[c2] = f2 : f2.constructor !== Object && (n2 = r2.get(f2.constructor)) ? u2[c2] = n2(f2, i2) : ArrayBuffer.isView(f2) ? u2[c2] = m$3(f2) : u2[c2] = i2(f2);
8865
9024
  }
8866
9025
  return u2;
8867
9026
  }
8868
- function s2(i2) {
8869
- if (typeof i2 != "object" || i2 === null) return i2;
8870
- if (Array.isArray(i2)) return n2(i2, s2);
8871
- if (i2.constructor !== Object && (r2 = t2.get(i2.constructor)))
8872
- return r2(i2, s2);
9027
+ function s2(o2) {
9028
+ if (typeof o2 != "object" || o2 === null) return o2;
9029
+ if (Array.isArray(o2)) return t2(o2, s2);
9030
+ if (o2.constructor !== Object && (n2 = r2.get(o2.constructor)))
9031
+ return n2(o2, s2);
8873
9032
  const u2 = {};
8874
- for (const c2 in i2) {
8875
- const f2 = i2[c2];
8876
- typeof f2 != "object" || f2 === null ? u2[c2] = f2 : f2.constructor !== Object && (r2 = t2.get(f2.constructor)) ? u2[c2] = r2(f2, s2) : ArrayBuffer.isView(f2) ? u2[c2] = m$3(f2) : u2[c2] = s2(f2);
9033
+ for (const c2 in o2) {
9034
+ const f2 = o2[c2];
9035
+ typeof f2 != "object" || f2 === null ? u2[c2] = f2 : f2.constructor !== Object && (n2 = r2.get(f2.constructor)) ? u2[c2] = n2(f2, s2) : ArrayBuffer.isView(f2) ? u2[c2] = m$3(f2) : u2[c2] = s2(f2);
8877
9036
  }
8878
9037
  return u2;
8879
9038
  }
8880
9039
  }
8881
- function K(e2) {
8882
- const t2 = [], r2 = [], n2 = /* @__PURE__ */ new Map();
8883
- if (n2.set(Date, (c2) => new Date(c2)), n2.set(
9040
+ function U$2(e2) {
9041
+ const r2 = [], n2 = [], t2 = /* @__PURE__ */ new Map();
9042
+ if (t2.set(Date, (c2) => new Date(c2)), t2.set(
8884
9043
  Map,
8885
9044
  (c2, f2) => new Map(s2(Array.from(c2), f2))
8886
- ), n2.set(
9045
+ ), t2.set(
8887
9046
  Set,
8888
9047
  (c2, f2) => new Set(s2(Array.from(c2), f2))
8889
9048
  ), e2.constructorHandlers)
8890
9049
  for (const c2 of e2.constructorHandlers)
8891
- n2.set(c2[0], c2[1]);
8892
- let o2;
8893
- return e2.proto ? u2 : i2;
9050
+ t2.set(c2[0], c2[1]);
9051
+ let i2;
9052
+ return e2.proto ? u2 : o2;
8894
9053
  function s2(c2, f2) {
8895
9054
  const a2 = Object.keys(c2), l2 = Array.from({ length: a2.length });
8896
9055
  for (let y2 = 0; y2 < a2.length; y2++) {
8897
- const h2 = a2[y2], d2 = c2[h2];
8898
- if (typeof d2 != "object" || d2 === null)
8899
- l2[h2] = d2;
8900
- else if (d2.constructor !== Object && (o2 = n2.get(d2.constructor)))
8901
- l2[h2] = o2(d2, f2);
8902
- else if (ArrayBuffer.isView(d2))
8903
- l2[h2] = m$3(d2);
9056
+ const h2 = a2[y2], d = c2[h2];
9057
+ if (typeof d != "object" || d === null)
9058
+ l2[h2] = d;
9059
+ else if (d.constructor !== Object && (i2 = t2.get(d.constructor)))
9060
+ l2[h2] = i2(d, f2);
9061
+ else if (ArrayBuffer.isView(d))
9062
+ l2[h2] = m$3(d);
8904
9063
  else {
8905
- const v2 = t2.indexOf(d2);
8906
- v2 !== -1 ? l2[h2] = r2[v2] : l2[h2] = f2(d2);
9064
+ const v2 = r2.indexOf(d);
9065
+ v2 !== -1 ? l2[h2] = n2[v2] : l2[h2] = f2(d);
8907
9066
  }
8908
9067
  }
8909
9068
  return l2;
8910
9069
  }
8911
- function i2(c2) {
9070
+ function o2(c2) {
8912
9071
  if (typeof c2 != "object" || c2 === null) return c2;
8913
- if (Array.isArray(c2)) return s2(c2, i2);
8914
- if (c2.constructor !== Object && (o2 = n2.get(c2.constructor)))
8915
- return o2(c2, i2);
9072
+ if (Array.isArray(c2)) return s2(c2, o2);
9073
+ if (c2.constructor !== Object && (i2 = t2.get(c2.constructor)))
9074
+ return i2(c2, o2);
8916
9075
  const f2 = {};
8917
- t2.push(c2), r2.push(f2);
9076
+ r2.push(c2), n2.push(f2);
8918
9077
  for (const a2 in c2) {
8919
9078
  if (Object.hasOwnProperty.call(c2, a2) === false) continue;
8920
9079
  const l2 = c2[a2];
8921
9080
  if (typeof l2 != "object" || l2 === null)
8922
9081
  f2[a2] = l2;
8923
- else if (l2.constructor !== Object && (o2 = n2.get(l2.constructor)))
8924
- f2[a2] = o2(l2, i2);
9082
+ else if (l2.constructor !== Object && (i2 = t2.get(l2.constructor)))
9083
+ f2[a2] = i2(l2, o2);
8925
9084
  else if (ArrayBuffer.isView(l2))
8926
9085
  f2[a2] = m$3(l2);
8927
9086
  else {
8928
- const y2 = t2.indexOf(l2);
8929
- y2 !== -1 ? f2[a2] = r2[y2] : f2[a2] = i2(l2);
9087
+ const y2 = r2.indexOf(l2);
9088
+ y2 !== -1 ? f2[a2] = n2[y2] : f2[a2] = o2(l2);
8930
9089
  }
8931
9090
  }
8932
- return t2.pop(), r2.pop(), f2;
9091
+ return r2.pop(), n2.pop(), f2;
8933
9092
  }
8934
9093
  function u2(c2) {
8935
9094
  if (typeof c2 != "object" || c2 === null) return c2;
8936
9095
  if (Array.isArray(c2)) return s2(c2, u2);
8937
- if (c2.constructor !== Object && (o2 = n2.get(c2.constructor)))
8938
- return o2(c2, u2);
9096
+ if (c2.constructor !== Object && (i2 = t2.get(c2.constructor)))
9097
+ return i2(c2, u2);
8939
9098
  const f2 = {};
8940
- t2.push(c2), r2.push(f2);
9099
+ r2.push(c2), n2.push(f2);
8941
9100
  for (const a2 in c2) {
8942
9101
  const l2 = c2[a2];
8943
9102
  if (typeof l2 != "object" || l2 === null)
8944
9103
  f2[a2] = l2;
8945
- else if (l2.constructor !== Object && (o2 = n2.get(l2.constructor)))
8946
- f2[a2] = o2(l2, u2);
9104
+ else if (l2.constructor !== Object && (i2 = t2.get(l2.constructor)))
9105
+ f2[a2] = i2(l2, u2);
8947
9106
  else if (ArrayBuffer.isView(l2))
8948
9107
  f2[a2] = m$3(l2);
8949
9108
  else {
8950
- const y2 = t2.indexOf(l2);
8951
- y2 !== -1 ? f2[a2] = r2[y2] : f2[a2] = u2(l2);
9109
+ const y2 = r2.indexOf(l2);
9110
+ y2 !== -1 ? f2[a2] = n2[y2] : f2[a2] = u2(l2);
8952
9111
  }
8953
9112
  }
8954
- return t2.pop(), r2.pop(), f2;
9113
+ return r2.pop(), n2.pop(), f2;
9114
+ }
9115
+ }
9116
+ const A = K();
9117
+ function $$2(e2, r2 = 8) {
9118
+ const n2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
9119
+ let t2 = "";
9120
+ for (let i2 = 0; i2 < r2; i2++) {
9121
+ const s2 = Math.floor(Math.random() * n2.length);
9122
+ t2 += n2[s2];
8955
9123
  }
9124
+ return `${e2}${t2}`;
8956
9125
  }
8957
- const j$2 = H$2();
8958
- function $$2(e2) {
8959
- const t2 = [];
8960
- function r2(n2, o2) {
8961
- o2.length > 0 && t2.push([...o2].sort());
8962
- for (let s2 = n2; s2 < e2.length; s2++) {
8963
- const i2 = e2[s2];
8964
- if (i2)
8965
- if (i2.length === 1 && i2[0])
8966
- r2(s2 + 1, [...o2, i2[0]]);
9126
+ function q$2(e2) {
9127
+ const r2 = [];
9128
+ function n2(t2, i2) {
9129
+ i2.length > 0 && r2.push([...i2].sort());
9130
+ for (let s2 = t2; s2 < e2.length; s2++) {
9131
+ const o2 = e2[s2];
9132
+ if (o2)
9133
+ if (o2.length === 1 && o2[0])
9134
+ n2(s2 + 1, [...i2, o2[0]]);
8967
9135
  else
8968
- for (const u2 of i2)
8969
- r2(s2 + 1, [...o2, u2]);
9136
+ for (const u2 of o2)
9137
+ n2(s2 + 1, [...i2, u2]);
8970
9138
  }
8971
9139
  }
8972
- return r2(0, []), t2.sort((n2, o2) => n2.length !== o2.length ? n2.length - o2.length : n2.join(",").localeCompare(o2.join(",")));
9140
+ return n2(0, []), r2.sort((t2, i2) => t2.length !== i2.length ? t2.length - i2.length : t2.join(",").localeCompare(i2.join(",")));
8973
9141
  }
8974
- function L$2(e2, t2, r2) {
8975
- const n2 = {
9142
+ function z$2(e2, r2, n2) {
9143
+ const t2 = {
8976
9144
  ...e2,
8977
- modifiers: [...r2.keys()]
8978
- }, o2 = b(n2, t2);
8979
- for (const s2 of r2.values())
9145
+ modifiers: [...n2.keys()]
9146
+ }, i2 = b(t2, r2);
9147
+ for (const s2 of n2.values())
8980
9148
  s2.factory({
8981
- ...o2,
8982
- declarations: j$2(n2.declarations),
8983
- variables: j$2(n2.variables),
8984
- children: j$2(n2.children)
8985
- }), g(n2.declarations, o2);
8986
- return n2;
9149
+ ...i2,
9150
+ declarations: A(t2.declarations),
9151
+ variables: A(t2.variables),
9152
+ children: A(t2.children)
9153
+ }), g(t2.declarations, i2);
9154
+ return t2;
8987
9155
  }
8988
- function N(e2, t2) {
8989
- return function(n2, o2) {
9156
+ function W$2(e2, r2) {
9157
+ return function(t2, i2) {
8990
9158
  const s2 = {
8991
9159
  type: "modifier",
8992
- key: Array.isArray(n2) ? n2 : [n2],
8993
- factory: o2
9160
+ key: Array.isArray(t2) ? t2 : [t2],
9161
+ factory: i2
8994
9162
  };
8995
- return t2.modifiers.push(s2), s2;
9163
+ return r2.modifiers.push(s2), s2;
8996
9164
  };
8997
9165
  }
8998
- function z$2() {
9166
+ function Y() {
8999
9167
  return {
9000
9168
  type: "root",
9001
9169
  declarations: {},
@@ -9007,31 +9175,31 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
9007
9175
  themes: []
9008
9176
  };
9009
9177
  }
9010
- function I$2(e2, t2, r2) {
9011
- const n2 = t2.map((s2) => s2.key);
9012
- return $$2(n2).map((s2) => {
9013
- const i2 = /* @__PURE__ */ new Map();
9178
+ function G$2(e2, r2, n2) {
9179
+ const t2 = r2.map((s2) => s2.key);
9180
+ return q$2(t2).map((s2) => {
9181
+ const o2 = /* @__PURE__ */ new Map();
9014
9182
  for (const u2 of s2) {
9015
- const c2 = t2.find(
9183
+ const c2 = r2.find(
9016
9184
  (f2) => f2.key.includes(u2)
9017
9185
  );
9018
- c2 && i2.set(u2, c2);
9186
+ c2 && o2.set(u2, c2);
9019
9187
  }
9020
- return L$2(e2, r2, i2);
9188
+ return z$2(e2, n2, o2);
9021
9189
  });
9022
9190
  }
9023
- function W$2(e2, t2) {
9024
- return function(n2, o2) {
9191
+ function J$2(e2, r2) {
9192
+ return function(t2, i2) {
9025
9193
  const s2 = {
9026
9194
  type: "utility",
9027
- name: n2,
9028
- factory: o2
9195
+ name: t2,
9196
+ factory: i2
9029
9197
  };
9030
- return t2.utilities.push(s2), (i2, u2 = []) => {
9031
- for (const [c2, f2] of Object.entries(i2)) {
9198
+ return r2.utilities.push(s2), (o2, u2 = []) => {
9199
+ for (const [c2, f2] of Object.entries(o2)) {
9032
9200
  const a2 = {
9033
9201
  type: "utility",
9034
- name: n2,
9202
+ name: t2,
9035
9203
  value: c2,
9036
9204
  declarations: {},
9037
9205
  variables: [],
@@ -9039,60 +9207,61 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
9039
9207
  modifiers: []
9040
9208
  }, l2 = b(
9041
9209
  a2,
9042
- t2
9210
+ r2
9043
9211
  );
9044
- a2.declarations = o2({
9212
+ a2.declarations = i2({
9045
9213
  ...l2,
9046
9214
  value: f2
9047
9215
  }) ?? {}, g(a2.declarations, l2), e2.children.push(a2), u2.length > 0 && e2.children.push(
9048
- ...I$2(a2, u2, t2)
9216
+ ...G$2(a2, u2, r2)
9049
9217
  );
9050
9218
  }
9051
9219
  };
9052
9220
  };
9053
9221
  }
9054
- function Y(e2, t2) {
9055
- return function(n2, o2) {
9056
- const s2 = t2.themes.find((c2) => c2.name === n2), i2 = s2 ?? {
9222
+ function Q(e2, r2) {
9223
+ return function(t2, i2) {
9224
+ const s2 = r2.themes.find((c2) => c2.name === t2), o2 = s2 ?? {
9057
9225
  type: "theme",
9058
- name: n2,
9226
+ name: t2,
9059
9227
  declarations: {},
9060
9228
  variables: [],
9061
9229
  children: []
9062
9230
  };
9063
- s2 || t2.themes.push(i2);
9064
- const u2 = b(i2, t2);
9065
- return o2 && o2(u2), i2;
9231
+ s2 || r2.themes.push(o2);
9232
+ const u2 = b(o2, r2);
9233
+ return i2 && i2(u2), o2;
9066
9234
  };
9067
9235
  }
9068
- function q$2(e2, t2) {
9069
- return function(n2, o2, s2, i2) {
9236
+ function X$3(e2, r2) {
9237
+ return function(t2, i2, s2, o2) {
9070
9238
  const u2 = {
9071
9239
  type: "recipe",
9072
- name: n2,
9073
- defaults: o2,
9240
+ name: t2,
9241
+ defaults: i2,
9074
9242
  variants: s2,
9075
- ...i2
9243
+ ...o2
9076
9244
  };
9077
- return t2.recipes.push(u2), u2;
9245
+ return r2.recipes.push(u2), u2;
9078
9246
  };
9079
9247
  }
9080
- function oe(e2) {
9081
- const t2 = z$2(), r2 = { ...e2 }, n2 = W$2(t2, t2), o2 = N(t2, t2), s2 = q$2(t2, t2), i2 = Y(t2, t2), { variable: u2, selector: c2, atRule: f2, keyframes: a2, media: l2, ref: y2, css: h2 } = b(t2, t2);
9248
+ function ue(e2) {
9249
+ const r2 = $$2("sf-"), n2 = Y(), t2 = { ...e2 }, i2 = J$2(n2, n2), s2 = W$2(n2, n2), o2 = X$3(n2, n2), u2 = Q(n2, n2), { variable: c2, selector: f2, atRule: a2, keyframes: l2, media: y2, ref: h2, css: d } = b(n2, n2);
9082
9250
  return {
9083
- root: t2,
9084
- variable: u2,
9085
- selector: c2,
9086
- utility: n2,
9087
- modifier: o2,
9088
- recipe: s2,
9089
- theme: i2,
9090
- atRule: f2,
9091
- keyframes: a2,
9092
- media: l2,
9093
- ref: y2,
9094
- css: h2,
9095
- options: r2
9251
+ id: r2,
9252
+ root: n2,
9253
+ variable: c2,
9254
+ selector: f2,
9255
+ utility: i2,
9256
+ modifier: s2,
9257
+ recipe: o2,
9258
+ theme: u2,
9259
+ atRule: a2,
9260
+ keyframes: l2,
9261
+ media: y2,
9262
+ ref: h2,
9263
+ css: d,
9264
+ options: t2
9096
9265
  };
9097
9266
  }
9098
9267
  async function loadConfiguration({
@@ -9102,7 +9271,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
9102
9271
  const { config } = await loadConfig({
9103
9272
  cwd: cwd2,
9104
9273
  name,
9105
- defaults: oe()
9274
+ defaults: ue()
9106
9275
  });
9107
9276
  return config;
9108
9277
  }
@@ -9189,7 +9358,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
9189
9358
  $(n2, "default", { value: t2, enumerable: true }),
9190
9359
  t2
9191
9360
  ));
9192
- var W = l$1((Se, H2) => {
9361
+ var W = l$1((Se2, H2) => {
9193
9362
  H2.exports = z2;
9194
9363
  z2.sync = Wt;
9195
9364
  var j2 = h("fs");
@@ -9284,19 +9453,19 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
9284
9453
  let { pathEnv: r2, pathExt: s2, pathExtExe: o2 } = Q2(t2, e2), i2 = [], a2 = (u2) => new Promise((f2, p2) => {
9285
9454
  if (u2 === r2.length)
9286
9455
  return e2.all && i2.length ? f2(i2) : p2(J2(t2));
9287
- let d2 = r2[u2], w2 = /^".*"$/.test(d2) ? d2.slice(1, -1) : d2, m2 = Y2.join(w2, t2), b2 = !w2 && /^\.[\\\/]/.test(t2) ? t2.slice(0, 2) + m2 : m2;
9456
+ let d = r2[u2], w2 = /^".*"$/.test(d) ? d.slice(1, -1) : d, m2 = Y2.join(w2, t2), b2 = !w2 && /^\.[\\\/]/.test(t2) ? t2.slice(0, 2) + m2 : m2;
9288
9457
  f2(c2(b2, u2, 0));
9289
- }), c2 = (u2, f2, p2) => new Promise((d2, w2) => {
9458
+ }), c2 = (u2, f2, p2) => new Promise((d, w2) => {
9290
9459
  if (p2 === s2.length)
9291
- return d2(a2(f2 + 1));
9460
+ return d(a2(f2 + 1));
9292
9461
  let m2 = s2[p2];
9293
9462
  V2(u2 + m2, { pathExt: o2 }, (b2, Ot) => {
9294
9463
  if (!b2 && Ot)
9295
9464
  if (e2.all)
9296
9465
  i2.push(u2 + m2);
9297
9466
  else
9298
- return d2(u2 + m2);
9299
- return d2(c2(u2, f2, p2 + 1));
9467
+ return d(u2 + m2);
9468
+ return d(c2(u2, f2, p2 + 1));
9300
9469
  });
9301
9470
  });
9302
9471
  return n2 ? a2(0).then((u2) => n2(null, u2), n2) : a2(0);
@@ -9306,13 +9475,13 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
9306
9475
  for (let i2 = 0; i2 < n2.length; i2++) {
9307
9476
  let a2 = n2[i2], c2 = /^".*"$/.test(a2) ? a2.slice(1, -1) : a2, u2 = Y2.join(c2, t2), f2 = !c2 && /^\.[\\\/]/.test(t2) ? t2.slice(0, 2) + u2 : u2;
9308
9477
  for (let p2 = 0; p2 < r2.length; p2++) {
9309
- let d2 = f2 + r2[p2];
9478
+ let d = f2 + r2[p2];
9310
9479
  try {
9311
- if (V2.sync(d2, { pathExt: s2 }))
9480
+ if (V2.sync(d, { pathExt: s2 }))
9312
9481
  if (e2.all)
9313
- o2.push(d2);
9482
+ o2.push(d);
9314
9483
  else
9315
- return d2;
9484
+ return d;
9316
9485
  } catch {
9317
9486
  }
9318
9487
  }
@@ -9909,8 +10078,8 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
9909
10078
  throw TypeError(c2);
9910
10079
  };
9911
10080
  var u2 = (c2, l2) => ys(c2, "name", { value: l2, configurable: true });
9912
- var vo = (c2, l2, d2) => l2.has(c2) || Po("Cannot " + d2);
9913
- var D2 = (c2, l2, d2) => (vo(c2, l2, "read from private field"), d2 ? d2.call(c2) : l2.get(c2)), ye2 = (c2, l2, d2) => l2.has(c2) ? Po("Cannot add the same private member more than once") : l2 instanceof WeakSet ? l2.add(c2) : l2.set(c2, d2), ne2 = (c2, l2, d2, g2) => (vo(c2, l2, "write to private field"), l2.set(c2, d2), d2);
10081
+ var vo = (c2, l2, d) => l2.has(c2) || Po("Cannot " + d);
10082
+ var D2 = (c2, l2, d) => (vo(c2, l2, "read from private field"), d ? d.call(c2) : l2.get(c2)), ye2 = (c2, l2, d) => l2.has(c2) ? Po("Cannot add the same private member more than once") : l2 instanceof WeakSet ? l2.add(c2) : l2.set(c2, d), ne2 = (c2, l2, d, g2) => (vo(c2, l2, "write to private field"), l2.set(c2, d), d);
9914
10083
  var Pe, gt, ot2, Zt, Oe, _t, St2, it, oe2, st, xe2, Ue, at;
9915
10084
  Object.defineProperty(node, "__esModule", { value: true });
9916
10085
  const http2 = require$$1$1, https = require$$2$1, zlib = require$$3$1, Stream = require$$4$1, require$$02 = require$$5, require$$0$1 = require$$6, _commonjsHelpers = requireNodeFetchNative_DhEqb06g(), require$$13 = require$$9, require$$0$2 = require$$9$2, node_fs = fs, node_path = path;
@@ -9924,12 +10093,12 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
9924
10093
  c2 = c2.replace(/\r?\n/g, "");
9925
10094
  const l2 = c2.indexOf(",");
9926
10095
  if (l2 === -1 || l2 <= 4) throw new TypeError("malformed data: URI");
9927
- const d2 = c2.substring(5, l2).split(";");
10096
+ const d = c2.substring(5, l2).split(";");
9928
10097
  let g2 = "", b2 = false;
9929
- const R2 = d2[0] || "text/plain";
10098
+ const R2 = d[0] || "text/plain";
9930
10099
  let w2 = R2;
9931
- for (let I2 = 1; I2 < d2.length; I2++) d2[I2] === "base64" ? b2 = true : d2[I2] && (w2 += `;${d2[I2]}`, d2[I2].indexOf("charset=") === 0 && (g2 = d2[I2].substring(8)));
9932
- !d2[0] && !g2.length && (w2 += ";charset=US-ASCII", g2 = "US-ASCII");
10100
+ for (let I2 = 1; I2 < d.length; I2++) d[I2] === "base64" ? b2 = true : d[I2] && (w2 += `;${d[I2]}`, d[I2].indexOf("charset=") === 0 && (g2 = d[I2].substring(8)));
10101
+ !d[0] && !g2.length && (w2 += ";charset=US-ASCII", g2 = "US-ASCII");
9933
10102
  const A2 = b2 ? "base64" : "ascii", z2 = unescape(c2.substring(l2 + 1)), B2 = Buffer.from(z2, A2);
9934
10103
  return B2.type = R2, B2.typeFull = w2, B2.charset = g2, B2;
9935
10104
  }
@@ -9945,9 +10114,9 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
9945
10114
  var ponyfill_es2018 = ponyfill_es2018$1.exports, hasRequiredPonyfill_es2018;
9946
10115
  function requirePonyfill_es2018() {
9947
10116
  return hasRequiredPonyfill_es2018 || (hasRequiredPonyfill_es2018 = 1, (function(c2, l2) {
9948
- (function(d2, g2) {
10117
+ (function(d, g2) {
9949
10118
  g2(l2);
9950
- })(ponyfill_es2018, function(d2) {
10119
+ })(ponyfill_es2018, function(d) {
9951
10120
  function g2() {
9952
10121
  }
9953
10122
  u2(g2, "noop");
@@ -10122,10 +10291,10 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
10122
10291
  if (!ko(n2)) throw new TypeError(`${o2} is not an object.`);
10123
10292
  }
10124
10293
  u2(hn2, "assertObject");
10125
- function Se(n2, o2, a2) {
10294
+ function Se2(n2, o2, a2) {
10126
10295
  if (n2 === void 0) throw new TypeError(`Parameter ${o2} is required in '${a2}'.`);
10127
10296
  }
10128
- u2(Se, "assertRequiredArgument");
10297
+ u2(Se2, "assertRequiredArgument");
10129
10298
  function sr2(n2, o2, a2) {
10130
10299
  if (n2 === void 0) throw new TypeError(`${o2} is required in '${a2}'.`);
10131
10300
  }
@@ -10178,7 +10347,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
10178
10347
  u2(mn2, "ReadableStreamHasDefaultReader");
10179
10348
  const Mr = class Mr {
10180
10349
  constructor(o2) {
10181
- if (Se(o2, 1, "ReadableStreamDefaultReader"), lr(o2, "First parameter"), ke(o2)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
10350
+ if (Se2(o2, 1, "ReadableStreamDefaultReader"), lr(o2, "First parameter"), ke(o2)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
10182
10351
  ln2(this, o2), this._readRequests = new Q2();
10183
10352
  }
10184
10353
  get closed() {
@@ -10407,13 +10576,13 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
10407
10576
  }
10408
10577
  respond(o2) {
10409
10578
  if (!yr(this)) throw Rr("respond");
10410
- if (Se(o2, 1, "respond"), o2 = ur(o2, "First parameter"), this._associatedReadableByteStreamController === void 0) throw new TypeError("This BYOB request has been invalidated");
10579
+ if (Se2(o2, 1, "respond"), o2 = ur(o2, "First parameter"), this._associatedReadableByteStreamController === void 0) throw new TypeError("This BYOB request has been invalidated");
10411
10580
  if (Ee2(this._view.buffer)) throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");
10412
10581
  qt(this._associatedReadableByteStreamController, o2);
10413
10582
  }
10414
10583
  respondWithNewView(o2) {
10415
10584
  if (!yr(this)) throw Rr("respondWithNewView");
10416
- if (Se(o2, 1, "respondWithNewView"), !ArrayBuffer.isView(o2)) throw new TypeError("You can only respond with array buffer views");
10585
+ if (Se2(o2, 1, "respondWithNewView"), !ArrayBuffer.isView(o2)) throw new TypeError("You can only respond with array buffer views");
10417
10586
  if (this._associatedReadableByteStreamController === void 0) throw new TypeError("This BYOB request has been invalidated");
10418
10587
  if (Ee2(o2.buffer)) throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");
10419
10588
  kt2(this._associatedReadableByteStreamController, o2);
@@ -10443,7 +10612,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
10443
10612
  }
10444
10613
  enqueue(o2) {
10445
10614
  if (!ze2(this)) throw ct2("enqueue");
10446
- if (Se(o2, 1, "enqueue"), !ArrayBuffer.isView(o2)) throw new TypeError("chunk must be an array buffer view");
10615
+ if (Se2(o2, 1, "enqueue"), !ArrayBuffer.isView(o2)) throw new TypeError("chunk must be an array buffer view");
10447
10616
  if (o2.byteLength === 0) throw new TypeError("chunk must have non-zero byteLength");
10448
10617
  if (o2.buffer.byteLength === 0) throw new TypeError("chunk's buffer must have non-zero byteLength");
10449
10618
  if (this._closeRequested) throw new TypeError("stream is closed or draining");
@@ -10818,7 +10987,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
10818
10987
  u2(Tr, "ReadableStreamHasBYOBReader");
10819
10988
  const Hr = class Hr {
10820
10989
  constructor(o2) {
10821
- if (Se(o2, 1, "ReadableStreamBYOBReader"), lr(o2, "First parameter"), ke(o2)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
10990
+ if (Se2(o2, 1, "ReadableStreamBYOBReader"), lr(o2, "First parameter"), ke(o2)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
10822
10991
  if (!ze2(o2._readableStreamController)) throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");
10823
10992
  ln2(this, o2), this._readIntoRequests = new Q2();
10824
10993
  }
@@ -11109,7 +11278,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
11109
11278
  u2(Er, "WritableStreamUpdateBackpressure");
11110
11279
  const Qr = class Qr {
11111
11280
  constructor(o2) {
11112
- if (Se(o2, 1, "WritableStreamDefaultWriter"), Un2(o2, "First parameter"), Qe2(o2)) throw new TypeError("This stream has already been locked for exclusive writing by another writer");
11281
+ if (Se2(o2, 1, "WritableStreamDefaultWriter"), Un2(o2, "First parameter"), Qe2(o2)) throw new TypeError("This stream has already been locked for exclusive writing by another writer");
11113
11282
  this._ownerWritableStream = o2, o2._writer = this;
11114
11283
  const a2 = o2._state;
11115
11284
  if (a2 === "writable") !be2(o2) && o2._backpressure ? Mt(this) : no(this), Dt(this);
@@ -11916,7 +12085,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
11916
12085
  }
11917
12086
  pipeThrough(o2, a2 = {}) {
11918
12087
  if (!qe(this)) throw De("pipeThrough");
11919
- Se(o2, 1, "pipeThrough");
12088
+ Se2(o2, 1, "pipeThrough");
11920
12089
  const p2 = ts(o2, "First parameter"), y2 = uo(a2, "Second parameter");
11921
12090
  if (ke(this)) throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");
11922
12091
  if (Qe2(p2.writable)) throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");
@@ -12027,7 +12196,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
12027
12196
  w2(ho, "size");
12028
12197
  const Kr = class Kr {
12029
12198
  constructor(o2) {
12030
- Se(o2, 1, "ByteLengthQueuingStrategy"), o2 = co(o2, "First parameter"), this._byteLengthQueuingStrategyHighWaterMark = o2.highWaterMark;
12199
+ Se2(o2, 1, "ByteLengthQueuingStrategy"), o2 = co(o2, "First parameter"), this._byteLengthQueuingStrategyHighWaterMark = o2.highWaterMark;
12031
12200
  }
12032
12201
  get highWaterMark() {
12033
12202
  if (!bo(this)) throw po("highWaterMark");
@@ -12053,7 +12222,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
12053
12222
  w2(mo, "size");
12054
12223
  const Jr = class Jr {
12055
12224
  constructor(o2) {
12056
- Se(o2, 1, "CountQueuingStrategy"), o2 = co(o2, "First parameter"), this._countQueuingStrategyHighWaterMark = o2.highWaterMark;
12225
+ Se2(o2, 1, "CountQueuingStrategy"), o2 = co(o2, "First parameter"), this._countQueuingStrategyHighWaterMark = o2.highWaterMark;
12057
12226
  }
12058
12227
  get highWaterMark() {
12059
12228
  if (!go(this)) throw yo("highWaterMark");
@@ -12314,7 +12483,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
12314
12483
  function To(n2) {
12315
12484
  return new TypeError(`TransformStream.prototype.${n2} can only be used on a TransformStream`);
12316
12485
  }
12317
- u2(To, "streamBrandCheckException"), d2.ByteLengthQueuingStrategy = Ze2, d2.CountQueuingStrategy = Ke, d2.ReadableByteStreamController = ie2, d2.ReadableStream = V2, d2.ReadableStreamBYOBReader = he2, d2.ReadableStreamBYOBRequest = Re, d2.ReadableStreamDefaultController = ae2, d2.ReadableStreamDefaultReader = de2, d2.TransformStream = Je2, d2.TransformStreamDefaultController = me2, d2.WritableStream = pe2, d2.WritableStreamDefaultController = Be, d2.WritableStreamDefaultWriter = se2;
12486
+ u2(To, "streamBrandCheckException"), d.ByteLengthQueuingStrategy = Ze2, d.CountQueuingStrategy = Ke, d.ReadableByteStreamController = ie2, d.ReadableStream = V2, d.ReadableStreamBYOBReader = he2, d.ReadableStreamBYOBRequest = Re, d.ReadableStreamDefaultController = ae2, d.ReadableStreamDefaultReader = de2, d.TransformStream = Je2, d.TransformStreamDefaultController = me2, d.WritableStream = pe2, d.WritableStreamDefaultController = Be, d.WritableStreamDefaultWriter = se2;
12318
12487
  });
12319
12488
  })(ponyfill_es2018$1, ponyfill_es2018$1.exports)), ponyfill_es2018$1.exports;
12320
12489
  }
@@ -12325,12 +12494,12 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
12325
12494
  hasRequiredStreams = 1;
12326
12495
  const c2 = 65536;
12327
12496
  if (!globalThis.ReadableStream) try {
12328
- const l2 = require("node:process"), { emitWarning: d2 } = l2;
12497
+ const l2 = require("node:process"), { emitWarning: d } = l2;
12329
12498
  try {
12330
12499
  l2.emitWarning = () => {
12331
- }, Object.assign(globalThis, require("node:stream/web")), l2.emitWarning = d2;
12500
+ }, Object.assign(globalThis, require("node:stream/web")), l2.emitWarning = d;
12332
12501
  } catch (g2) {
12333
- throw l2.emitWarning = d2, g2;
12502
+ throw l2.emitWarning = d, g2;
12334
12503
  }
12335
12504
  } catch {
12336
12505
  Object.assign(globalThis, requirePonyfill_es2018());
@@ -12353,17 +12522,17 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
12353
12522
  /*! fetch-blob. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
12354
12523
  const POOL_SIZE = 65536;
12355
12524
  async function* toIterator(c2, l2 = true) {
12356
- for (const d2 of c2) if ("stream" in d2) yield* d2.stream();
12357
- else if (ArrayBuffer.isView(d2)) if (l2) {
12358
- let g2 = d2.byteOffset;
12359
- const b2 = d2.byteOffset + d2.byteLength;
12525
+ for (const d of c2) if ("stream" in d) yield* d.stream();
12526
+ else if (ArrayBuffer.isView(d)) if (l2) {
12527
+ let g2 = d.byteOffset;
12528
+ const b2 = d.byteOffset + d.byteLength;
12360
12529
  for (; g2 !== b2; ) {
12361
- const R2 = Math.min(b2 - g2, POOL_SIZE), w2 = d2.buffer.slice(g2, g2 + R2);
12530
+ const R2 = Math.min(b2 - g2, POOL_SIZE), w2 = d.buffer.slice(g2, g2 + R2);
12362
12531
  g2 += w2.byteLength, yield new Uint8Array(w2);
12363
12532
  }
12364
- } else yield d2;
12533
+ } else yield d;
12365
12534
  else {
12366
- let g2 = 0, b2 = d2;
12535
+ let g2 = 0, b2 = d;
12367
12536
  for (; g2 !== b2.size; ) {
12368
12537
  const w2 = await b2.slice(g2, Math.min(b2.size, g2 + POOL_SIZE)).arrayBuffer();
12369
12538
  g2 += w2.byteLength, yield new Uint8Array(w2);
@@ -12372,22 +12541,22 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
12372
12541
  }
12373
12542
  u2(toIterator, "toIterator");
12374
12543
  const _Blob = (Oe = class {
12375
- constructor(l2 = [], d2 = {}) {
12544
+ constructor(l2 = [], d = {}) {
12376
12545
  ye2(this, Pe, []);
12377
12546
  ye2(this, gt, "");
12378
12547
  ye2(this, ot2, 0);
12379
12548
  ye2(this, Zt, "transparent");
12380
12549
  if (typeof l2 != "object" || l2 === null) throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");
12381
12550
  if (typeof l2[Symbol.iterator] != "function") throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");
12382
- if (typeof d2 != "object" && typeof d2 != "function") throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");
12383
- d2 === null && (d2 = {});
12551
+ if (typeof d != "object" && typeof d != "function") throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");
12552
+ d === null && (d = {});
12384
12553
  const g2 = new TextEncoder();
12385
12554
  for (const R2 of l2) {
12386
12555
  let w2;
12387
12556
  ArrayBuffer.isView(R2) ? w2 = new Uint8Array(R2.buffer.slice(R2.byteOffset, R2.byteOffset + R2.byteLength)) : R2 instanceof ArrayBuffer ? w2 = new Uint8Array(R2.slice(0)) : R2 instanceof Oe ? w2 = R2 : w2 = g2.encode(`${R2}`), ne2(this, ot2, D2(this, ot2) + (ArrayBuffer.isView(w2) ? w2.byteLength : w2.size)), D2(this, Pe).push(w2);
12388
12557
  }
12389
- ne2(this, Zt, `${d2.endings === void 0 ? "transparent" : d2.endings}`);
12390
- const b2 = d2.type === void 0 ? "" : String(d2.type);
12558
+ ne2(this, Zt, `${d.endings === void 0 ? "transparent" : d.endings}`);
12559
+ const b2 = d.type === void 0 ? "" : String(d.type);
12391
12560
  ne2(this, gt, /^[\x20-\x7E]*$/.test(b2) ? b2 : "");
12392
12561
  }
12393
12562
  get size() {
@@ -12398,28 +12567,28 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
12398
12567
  }
12399
12568
  async text() {
12400
12569
  const l2 = new TextDecoder();
12401
- let d2 = "";
12402
- for await (const g2 of toIterator(D2(this, Pe), false)) d2 += l2.decode(g2, { stream: true });
12403
- return d2 += l2.decode(), d2;
12570
+ let d = "";
12571
+ for await (const g2 of toIterator(D2(this, Pe), false)) d += l2.decode(g2, { stream: true });
12572
+ return d += l2.decode(), d;
12404
12573
  }
12405
12574
  async arrayBuffer() {
12406
12575
  const l2 = new Uint8Array(this.size);
12407
- let d2 = 0;
12408
- for await (const g2 of toIterator(D2(this, Pe), false)) l2.set(g2, d2), d2 += g2.length;
12576
+ let d = 0;
12577
+ for await (const g2 of toIterator(D2(this, Pe), false)) l2.set(g2, d), d += g2.length;
12409
12578
  return l2.buffer;
12410
12579
  }
12411
12580
  stream() {
12412
12581
  const l2 = toIterator(D2(this, Pe), true);
12413
- return new globalThis.ReadableStream({ type: "bytes", async pull(d2) {
12582
+ return new globalThis.ReadableStream({ type: "bytes", async pull(d) {
12414
12583
  const g2 = await l2.next();
12415
- g2.done ? d2.close() : d2.enqueue(g2.value);
12584
+ g2.done ? d.close() : d.enqueue(g2.value);
12416
12585
  }, async cancel() {
12417
12586
  await l2.return();
12418
12587
  } });
12419
12588
  }
12420
- slice(l2 = 0, d2 = this.size, g2 = "") {
12589
+ slice(l2 = 0, d = this.size, g2 = "") {
12421
12590
  const { size: b2 } = this;
12422
- let R2 = l2 < 0 ? Math.max(b2 + l2, 0) : Math.min(l2, b2), w2 = d2 < 0 ? Math.max(b2 + d2, 0) : Math.min(d2, b2);
12591
+ let R2 = l2 < 0 ? Math.max(b2 + l2, 0) : Math.min(l2, b2), w2 = d < 0 ? Math.max(b2 + d, 0) : Math.min(d, b2);
12423
12592
  const A2 = Math.max(w2 - R2, 0), z2 = D2(this, Pe), B2 = [];
12424
12593
  let I2 = 0;
12425
12594
  for (const T2 of z2) {
@@ -12443,9 +12612,9 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
12443
12612
  }, Pe = /* @__PURE__ */ new WeakMap(), gt = /* @__PURE__ */ new WeakMap(), ot2 = /* @__PURE__ */ new WeakMap(), Zt = /* @__PURE__ */ new WeakMap(), u2(Oe, "Blob"), Oe);
12444
12613
  Object.defineProperties(_Blob.prototype, { size: { enumerable: true }, type: { enumerable: true }, slice: { enumerable: true } });
12445
12614
  const Blob2 = _Blob, _File = (it = class extends Blob2 {
12446
- constructor(d2, g2, b2 = {}) {
12615
+ constructor(d, g2, b2 = {}) {
12447
12616
  if (arguments.length < 2) throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);
12448
- super(d2, b2);
12617
+ super(d, b2);
12449
12618
  ye2(this, _t, 0);
12450
12619
  ye2(this, St2, "");
12451
12620
  b2 === null && (b2 = {});
@@ -12461,14 +12630,14 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
12461
12630
  get [Symbol.toStringTag]() {
12462
12631
  return "File";
12463
12632
  }
12464
- static [Symbol.hasInstance](d2) {
12465
- return !!d2 && d2 instanceof Blob2 && /^(File)$/.test(d2[Symbol.toStringTag]);
12633
+ static [Symbol.hasInstance](d) {
12634
+ return !!d && d instanceof Blob2 && /^(File)$/.test(d[Symbol.toStringTag]);
12466
12635
  }
12467
12636
  }, _t = /* @__PURE__ */ new WeakMap(), St2 = /* @__PURE__ */ new WeakMap(), u2(it, "File"), it), File = _File;
12468
12637
  /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
12469
- var { toStringTag: t$12, iterator: i2, hasInstance: h2 } = Symbol, r2 = Math.random, m2 = "append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","), f2 = u2((c2, l2, d2) => (c2 += "", /^(Blob|File)$/.test(l2 && l2[t$12]) ? [(d2 = d2 !== void 0 ? d2 + "" : l2[t$12] == "File" ? l2.name : "blob", c2), l2.name !== d2 || l2[t$12] == "blob" ? new File([l2], d2, l2) : l2] : [c2, l2 + ""]), "f"), e$12 = u2((c2, l2) => (l2 ? c2 : c2.replace(/\r?\n|\r/g, `\r
12470
- `)).replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"), "e$1"), x2 = u2((c2, l2, d2) => {
12471
- if (l2.length < d2) throw new TypeError(`Failed to execute '${c2}' on 'FormData': ${d2} arguments required, but only ${l2.length} present.`);
12638
+ var { toStringTag: t$12, iterator: i2, hasInstance: h2 } = Symbol, r2 = Math.random, m2 = "append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","), f2 = u2((c2, l2, d) => (c2 += "", /^(Blob|File)$/.test(l2 && l2[t$12]) ? [(d = d !== void 0 ? d + "" : l2[t$12] == "File" ? l2.name : "blob", c2), l2.name !== d || l2[t$12] == "blob" ? new File([l2], d, l2) : l2] : [c2, l2 + ""]), "f"), e$12 = u2((c2, l2) => (l2 ? c2 : c2.replace(/\r?\n|\r/g, `\r
12639
+ `)).replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"), "e$1"), x2 = u2((c2, l2, d) => {
12640
+ if (l2.length < d) throw new TypeError(`Failed to execute '${c2}' on 'FormData': ${d} arguments required, but only ${l2.length} present.`);
12472
12641
  }, "x");
12473
12642
  const FormData = (st = class {
12474
12643
  constructor(...l2) {
@@ -12482,35 +12651,35 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
12482
12651
  return this.entries();
12483
12652
  }
12484
12653
  static [h2](l2) {
12485
- return l2 && typeof l2 == "object" && l2[t$12] === "FormData" && !m2.some((d2) => typeof l2[d2] != "function");
12654
+ return l2 && typeof l2 == "object" && l2[t$12] === "FormData" && !m2.some((d) => typeof l2[d] != "function");
12486
12655
  }
12487
12656
  append(...l2) {
12488
12657
  x2("append", arguments, 2), D2(this, oe2).push(f2(...l2));
12489
12658
  }
12490
12659
  delete(l2) {
12491
- x2("delete", arguments, 1), l2 += "", ne2(this, oe2, D2(this, oe2).filter(([d2]) => d2 !== l2));
12660
+ x2("delete", arguments, 1), l2 += "", ne2(this, oe2, D2(this, oe2).filter(([d]) => d !== l2));
12492
12661
  }
12493
12662
  get(l2) {
12494
12663
  x2("get", arguments, 1), l2 += "";
12495
- for (var d2 = D2(this, oe2), g2 = d2.length, b2 = 0; b2 < g2; b2++) if (d2[b2][0] === l2) return d2[b2][1];
12664
+ for (var d = D2(this, oe2), g2 = d.length, b2 = 0; b2 < g2; b2++) if (d[b2][0] === l2) return d[b2][1];
12496
12665
  return null;
12497
12666
  }
12498
- getAll(l2, d2) {
12499
- return x2("getAll", arguments, 1), d2 = [], l2 += "", D2(this, oe2).forEach((g2) => g2[0] === l2 && d2.push(g2[1])), d2;
12667
+ getAll(l2, d) {
12668
+ return x2("getAll", arguments, 1), d = [], l2 += "", D2(this, oe2).forEach((g2) => g2[0] === l2 && d.push(g2[1])), d;
12500
12669
  }
12501
12670
  has(l2) {
12502
- return x2("has", arguments, 1), l2 += "", D2(this, oe2).some((d2) => d2[0] === l2);
12671
+ return x2("has", arguments, 1), l2 += "", D2(this, oe2).some((d) => d[0] === l2);
12503
12672
  }
12504
- forEach(l2, d2) {
12673
+ forEach(l2, d) {
12505
12674
  x2("forEach", arguments, 1);
12506
- for (var [g2, b2] of this) l2.call(d2, b2, g2, this);
12675
+ for (var [g2, b2] of this) l2.call(d, b2, g2, this);
12507
12676
  }
12508
12677
  set(...l2) {
12509
12678
  x2("set", arguments, 2);
12510
- var d2 = [], g2 = true;
12679
+ var d = [], g2 = true;
12511
12680
  l2 = f2(...l2), D2(this, oe2).forEach((b2) => {
12512
- b2[0] === l2[0] ? g2 && (g2 = !d2.push(l2)) : d2.push(b2);
12513
- }), g2 && d2.push(l2), ne2(this, oe2, d2);
12681
+ b2[0] === l2[0] ? g2 && (g2 = !d.push(l2)) : d.push(b2);
12682
+ }), g2 && d.push(l2), ne2(this, oe2, d);
12514
12683
  }
12515
12684
  *entries() {
12516
12685
  yield* D2(this, oe2);
@@ -12523,7 +12692,7 @@ ${i2}`, t2), this.line = l2, this.column = r2, this.codeblock = i2;
12523
12692
  }
12524
12693
  }, oe2 = /* @__PURE__ */ new WeakMap(), u2(st, "FormData"), st);
12525
12694
  function formDataToBlob(c2, l2 = Blob2) {
12526
- var d2 = `${r2()}${r2()}`.replace(/\./g, "").slice(-28).padStart(32, "-"), g2 = [], b2 = `--${d2}\r
12695
+ var d = `${r2()}${r2()}`.replace(/\./g, "").slice(-28).padStart(32, "-"), g2 = [], b2 = `--${d}\r
12527
12696
  Content-Disposition: form-data; name="`;
12528
12697
  return c2.forEach((R2, w2) => typeof R2 == "string" ? g2.push(b2 + e$12(w2) + `"\r
12529
12698
  \r
@@ -12533,12 +12702,12 @@ ${R2.replace(new RegExp("\\r(?!\\n)|(?<!\\r)\\n", "g"), `\r
12533
12702
  Content-Type: ${R2.type || "application/octet-stream"}\r
12534
12703
  \r
12535
12704
  `, R2, `\r
12536
- `)), g2.push(`--${d2}--`), new l2(g2, { type: "multipart/form-data; boundary=" + d2 });
12705
+ `)), g2.push(`--${d}--`), new l2(g2, { type: "multipart/form-data; boundary=" + d });
12537
12706
  }
12538
12707
  u2(formDataToBlob, "formDataToBlob");
12539
12708
  const rn2 = class rn extends Error {
12540
- constructor(l2, d2) {
12541
- super(l2), Error.captureStackTrace(this, this.constructor), this.type = d2;
12709
+ constructor(l2, d) {
12710
+ super(l2), Error.captureStackTrace(this, this.constructor), this.type = d;
12542
12711
  }
12543
12712
  get name() {
12544
12713
  return this.constructor.name;
@@ -12550,24 +12719,24 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12550
12719
  u2(rn2, "FetchBaseError");
12551
12720
  let FetchBaseError = rn2;
12552
12721
  const nn2 = class nn extends FetchBaseError {
12553
- constructor(l2, d2, g2) {
12554
- super(l2, d2), g2 && (this.code = this.errno = g2.code, this.erroredSysCall = g2.syscall);
12722
+ constructor(l2, d, g2) {
12723
+ super(l2, d), g2 && (this.code = this.errno = g2.code, this.erroredSysCall = g2.syscall);
12555
12724
  }
12556
12725
  };
12557
12726
  u2(nn2, "FetchError");
12558
12727
  let FetchError = nn2;
12559
12728
  const NAME = Symbol.toStringTag, isURLSearchParameters = u2((c2) => typeof c2 == "object" && typeof c2.append == "function" && typeof c2.delete == "function" && typeof c2.get == "function" && typeof c2.getAll == "function" && typeof c2.has == "function" && typeof c2.set == "function" && typeof c2.sort == "function" && c2[NAME] === "URLSearchParams", "isURLSearchParameters"), isBlob = u2((c2) => c2 && typeof c2 == "object" && typeof c2.arrayBuffer == "function" && typeof c2.type == "string" && typeof c2.stream == "function" && typeof c2.constructor == "function" && /^(Blob|File)$/.test(c2[NAME]), "isBlob"), isAbortSignal = u2((c2) => typeof c2 == "object" && (c2[NAME] === "AbortSignal" || c2[NAME] === "EventTarget"), "isAbortSignal"), isDomainOrSubdomain = u2((c2, l2) => {
12560
- const d2 = new URL(l2).hostname, g2 = new URL(c2).hostname;
12561
- return d2 === g2 || d2.endsWith(`.${g2}`);
12729
+ const d = new URL(l2).hostname, g2 = new URL(c2).hostname;
12730
+ return d === g2 || d.endsWith(`.${g2}`);
12562
12731
  }, "isDomainOrSubdomain"), isSameProtocol = u2((c2, l2) => {
12563
- const d2 = new URL(l2).protocol, g2 = new URL(c2).protocol;
12564
- return d2 === g2;
12732
+ const d = new URL(l2).protocol, g2 = new URL(c2).protocol;
12733
+ return d === g2;
12565
12734
  }, "isSameProtocol"), pipeline = require$$0$1.promisify(Stream__default.pipeline), INTERNALS$2 = Symbol("Body internals"), on2 = class on {
12566
- constructor(l2, { size: d2 = 0 } = {}) {
12735
+ constructor(l2, { size: d = 0 } = {}) {
12567
12736
  let g2 = null;
12568
12737
  l2 === null ? l2 = null : isURLSearchParameters(l2) ? l2 = require$$02.Buffer.from(l2.toString()) : isBlob(l2) || require$$02.Buffer.isBuffer(l2) || (require$$0$1.types.isAnyArrayBuffer(l2) ? l2 = require$$02.Buffer.from(l2) : ArrayBuffer.isView(l2) ? l2 = require$$02.Buffer.from(l2.buffer, l2.byteOffset, l2.byteLength) : l2 instanceof Stream__default || (l2 instanceof FormData ? (l2 = formDataToBlob(l2), g2 = l2.type.split("=")[1]) : l2 = require$$02.Buffer.from(String(l2))));
12569
12738
  let b2 = l2;
12570
- require$$02.Buffer.isBuffer(l2) ? b2 = Stream__default.Readable.from(l2) : isBlob(l2) && (b2 = Stream__default.Readable.from(l2.stream())), this[INTERNALS$2] = { body: l2, stream: b2, boundary: g2, disturbed: false, error: null }, this.size = d2, l2 instanceof Stream__default && l2.on("error", (R2) => {
12739
+ require$$02.Buffer.isBuffer(l2) ? b2 = Stream__default.Readable.from(l2) : isBlob(l2) && (b2 = Stream__default.Readable.from(l2.stream())), this[INTERNALS$2] = { body: l2, stream: b2, boundary: g2, disturbed: false, error: null }, this.size = d, l2 instanceof Stream__default && l2.on("error", (R2) => {
12571
12740
  const w2 = R2 instanceof FetchBaseError ? R2 : new FetchError(`Invalid response body while trying to fetch ${this.url}: ${R2.message}`, "system", R2);
12572
12741
  this[INTERNALS$2].error = w2;
12573
12742
  });
@@ -12579,8 +12748,8 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12579
12748
  return this[INTERNALS$2].disturbed;
12580
12749
  }
12581
12750
  async arrayBuffer() {
12582
- const { buffer: l2, byteOffset: d2, byteLength: g2 } = await consumeBody(this);
12583
- return l2.slice(d2, d2 + g2);
12751
+ const { buffer: l2, byteOffset: d, byteLength: g2 } = await consumeBody(this);
12752
+ return l2.slice(d, d + g2);
12584
12753
  }
12585
12754
  async formData() {
12586
12755
  const l2 = this.headers.get("content-type");
@@ -12589,12 +12758,12 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12589
12758
  for (const [R2, w2] of b2) g2.append(R2, w2);
12590
12759
  return g2;
12591
12760
  }
12592
- const { toFormData: d2 } = await Promise.resolve().then(() => multipartParser);
12593
- return d2(this.body, l2);
12761
+ const { toFormData: d } = await Promise.resolve().then(() => multipartParser);
12762
+ return d(this.body, l2);
12594
12763
  }
12595
12764
  async blob() {
12596
- const l2 = this.headers && this.headers.get("content-type") || this[INTERNALS$2].body && this[INTERNALS$2].body.type || "", d2 = await this.arrayBuffer();
12597
- return new Blob2([d2], { type: l2 });
12765
+ const l2 = this.headers && this.headers.get("content-type") || this[INTERNALS$2].body && this[INTERNALS$2].body.type || "", d = await this.arrayBuffer();
12766
+ return new Blob2([d], { type: l2 });
12598
12767
  }
12599
12768
  async json() {
12600
12769
  const l2 = await this.text();
@@ -12617,7 +12786,7 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12617
12786
  if (c2[INTERNALS$2].disturbed = true, c2[INTERNALS$2].error) throw c2[INTERNALS$2].error;
12618
12787
  const { body: l2 } = c2;
12619
12788
  if (l2 === null || !(l2 instanceof Stream__default)) return require$$02.Buffer.alloc(0);
12620
- const d2 = [];
12789
+ const d = [];
12621
12790
  let g2 = 0;
12622
12791
  try {
12623
12792
  for await (const b2 of l2) {
@@ -12625,13 +12794,13 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12625
12794
  const R2 = new FetchError(`content size at ${c2.url} over limit: ${c2.size}`, "max-size");
12626
12795
  throw l2.destroy(R2), R2;
12627
12796
  }
12628
- g2 += b2.length, d2.push(b2);
12797
+ g2 += b2.length, d.push(b2);
12629
12798
  }
12630
12799
  } catch (b2) {
12631
12800
  throw b2 instanceof FetchBaseError ? b2 : new FetchError(`Invalid response body while trying to fetch ${c2.url}: ${b2.message}`, "system", b2);
12632
12801
  }
12633
12802
  if (l2.readableEnded === true || l2._readableState.ended === true) try {
12634
- return d2.every((b2) => typeof b2 == "string") ? require$$02.Buffer.from(d2.join("")) : require$$02.Buffer.concat(d2, g2);
12803
+ return d.every((b2) => typeof b2 == "string") ? require$$02.Buffer.from(d.join("")) : require$$02.Buffer.concat(d, g2);
12635
12804
  } catch (b2) {
12636
12805
  throw new FetchError(`Could not create Buffer from response body for ${c2.url}: ${b2.message}`, "system", b2);
12637
12806
  }
@@ -12639,9 +12808,9 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12639
12808
  }
12640
12809
  u2(consumeBody, "consumeBody");
12641
12810
  const clone = u2((c2, l2) => {
12642
- let d2, g2, { body: b2 } = c2[INTERNALS$2];
12811
+ let d, g2, { body: b2 } = c2[INTERNALS$2];
12643
12812
  if (c2.bodyUsed) throw new Error("cannot clone body after it is used");
12644
- return b2 instanceof Stream__default && typeof b2.getBoundary != "function" && (d2 = new Stream.PassThrough({ highWaterMark: l2 }), g2 = new Stream.PassThrough({ highWaterMark: l2 }), b2.pipe(d2), b2.pipe(g2), c2[INTERNALS$2].stream = d2, b2 = g2), b2;
12813
+ return b2 instanceof Stream__default && typeof b2.getBoundary != "function" && (d = new Stream.PassThrough({ highWaterMark: l2 }), g2 = new Stream.PassThrough({ highWaterMark: l2 }), b2.pipe(d), b2.pipe(g2), c2[INTERNALS$2].stream = d, b2 = g2), b2;
12645
12814
  }, "clone"), getNonSpecFormDataBoundary = require$$0$1.deprecate((c2) => c2.getBoundary(), "form-data doesn't follow the spec and requires special treatment. Use alternative package", "https://github.com/node-fetch/node-fetch/issues/1167"), extractContentType = u2((c2, l2) => c2 === null ? null : typeof c2 == "string" ? "text/plain;charset=UTF-8" : isURLSearchParameters(c2) ? "application/x-www-form-urlencoded;charset=UTF-8" : isBlob(c2) ? c2.type || null : require$$02.Buffer.isBuffer(c2) || require$$0$1.types.isAnyArrayBuffer(c2) || ArrayBuffer.isView(c2) ? null : c2 instanceof FormData ? `multipart/form-data; boundary=${l2[INTERNALS$2].boundary}` : c2 && typeof c2.getBoundary == "function" ? `multipart/form-data;boundary=${getNonSpecFormDataBoundary(c2)}` : c2 instanceof Stream__default ? null : "text/plain;charset=UTF-8", "extractContentType"), getTotalBytes = u2((c2) => {
12646
12815
  const { body: l2 } = c2[INTERNALS$2];
12647
12816
  return l2 === null ? 0 : isBlob(l2) ? l2.size : require$$02.Buffer.isBuffer(l2) ? l2.length : l2 && typeof l2.getLengthSync == "function" && l2.hasKnownLength && l2.hasKnownLength() ? l2.getLengthSync() : null;
@@ -12654,21 +12823,21 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12654
12823
  }
12655
12824
  }, validateHeaderValue = typeof http__default.validateHeaderValue == "function" ? http__default.validateHeaderValue : (c2, l2) => {
12656
12825
  if (/[^\t\u0020-\u007E\u0080-\u00FF]/.test(l2)) {
12657
- const d2 = new TypeError(`Invalid character in header content ["${c2}"]`);
12658
- throw Object.defineProperty(d2, "code", { value: "ERR_INVALID_CHAR" }), d2;
12826
+ const d = new TypeError(`Invalid character in header content ["${c2}"]`);
12827
+ throw Object.defineProperty(d, "code", { value: "ERR_INVALID_CHAR" }), d;
12659
12828
  }
12660
12829
  }, Kt = class Kt2 extends URLSearchParams {
12661
12830
  constructor(l2) {
12662
- let d2 = [];
12831
+ let d = [];
12663
12832
  if (l2 instanceof Kt2) {
12664
12833
  const g2 = l2.raw();
12665
- for (const [b2, R2] of Object.entries(g2)) d2.push(...R2.map((w2) => [b2, w2]));
12834
+ for (const [b2, R2] of Object.entries(g2)) d.push(...R2.map((w2) => [b2, w2]));
12666
12835
  } else if (l2 != null) if (typeof l2 == "object" && !require$$0$1.types.isBoxedPrimitive(l2)) {
12667
12836
  const g2 = l2[Symbol.iterator];
12668
- if (g2 == null) d2.push(...Object.entries(l2));
12837
+ if (g2 == null) d.push(...Object.entries(l2));
12669
12838
  else {
12670
12839
  if (typeof g2 != "function") throw new TypeError("Header pairs must be iterable");
12671
- d2 = [...l2].map((b2) => {
12840
+ d = [...l2].map((b2) => {
12672
12841
  if (typeof b2 != "object" || require$$0$1.types.isBoxedPrimitive(b2)) throw new TypeError("Each header pair must be an iterable object");
12673
12842
  return [...b2];
12674
12843
  }).map((b2) => {
@@ -12677,7 +12846,7 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12677
12846
  });
12678
12847
  }
12679
12848
  } else throw new TypeError("Failed to construct 'Headers': The provided value is not of type '(sequence<sequence<ByteString>> or record<ByteString, ByteString>)");
12680
- return d2 = d2.length > 0 ? d2.map(([g2, b2]) => (validateHeaderName(g2), validateHeaderValue(g2, String(b2)), [String(g2).toLowerCase(), String(b2)])) : void 0, super(d2), new Proxy(this, { get(g2, b2, R2) {
12849
+ return d = d.length > 0 ? d.map(([g2, b2]) => (validateHeaderName(g2), validateHeaderValue(g2, String(b2)), [String(g2).toLowerCase(), String(b2)])) : void 0, super(d), new Proxy(this, { get(g2, b2, R2) {
12681
12850
  switch (b2) {
12682
12851
  case "append":
12683
12852
  case "set":
@@ -12700,13 +12869,13 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12700
12869
  return Object.prototype.toString.call(this);
12701
12870
  }
12702
12871
  get(l2) {
12703
- const d2 = this.getAll(l2);
12704
- if (d2.length === 0) return null;
12705
- let g2 = d2.join(", ");
12872
+ const d = this.getAll(l2);
12873
+ if (d.length === 0) return null;
12874
+ let g2 = d.join(", ");
12706
12875
  return /^content-encoding$/i.test(l2) && (g2 = g2.toLowerCase()), g2;
12707
12876
  }
12708
- forEach(l2, d2 = void 0) {
12709
- for (const g2 of this.keys()) Reflect.apply(l2, d2, [this.get(g2), g2, this]);
12877
+ forEach(l2, d = void 0) {
12878
+ for (const g2 of this.keys()) Reflect.apply(l2, d, [this.get(g2), g2, this]);
12710
12879
  }
12711
12880
  *values() {
12712
12881
  for (const l2 of this.keys()) yield this.get(l2);
@@ -12718,12 +12887,12 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12718
12887
  return this.entries();
12719
12888
  }
12720
12889
  raw() {
12721
- return [...this.keys()].reduce((l2, d2) => (l2[d2] = this.getAll(d2), l2), {});
12890
+ return [...this.keys()].reduce((l2, d) => (l2[d] = this.getAll(d), l2), {});
12722
12891
  }
12723
12892
  [Symbol.for("nodejs.util.inspect.custom")]() {
12724
- return [...this.keys()].reduce((l2, d2) => {
12725
- const g2 = this.getAll(d2);
12726
- return d2 === "host" ? l2[d2] = g2[0] : l2[d2] = g2.length > 1 ? g2 : g2[0], l2;
12893
+ return [...this.keys()].reduce((l2, d) => {
12894
+ const g2 = this.getAll(d);
12895
+ return d === "host" ? l2[d] = g2[0] : l2[d] = g2.length > 1 ? g2 : g2[0], l2;
12727
12896
  }, {});
12728
12897
  }
12729
12898
  };
@@ -12731,9 +12900,9 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12731
12900
  let Headers = Kt;
12732
12901
  Object.defineProperties(Headers.prototype, ["get", "entries", "forEach", "values"].reduce((c2, l2) => (c2[l2] = { enumerable: true }, c2), {}));
12733
12902
  function fromRawHeaders(c2 = []) {
12734
- return new Headers(c2.reduce((l2, d2, g2, b2) => (g2 % 2 === 0 && l2.push(b2.slice(g2, g2 + 2)), l2), []).filter(([l2, d2]) => {
12903
+ return new Headers(c2.reduce((l2, d, g2, b2) => (g2 % 2 === 0 && l2.push(b2.slice(g2, g2 + 2)), l2), []).filter(([l2, d]) => {
12735
12904
  try {
12736
- return validateHeaderName(l2), validateHeaderValue(l2, String(d2)), true;
12905
+ return validateHeaderName(l2), validateHeaderValue(l2, String(d)), true;
12737
12906
  } catch {
12738
12907
  return false;
12739
12908
  }
@@ -12741,14 +12910,14 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12741
12910
  }
12742
12911
  u2(fromRawHeaders, "fromRawHeaders");
12743
12912
  const redirectStatus = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]), isRedirect = u2((c2) => redirectStatus.has(c2), "isRedirect"), INTERNALS$1 = Symbol("Response internals"), Me = class Me2 extends Body {
12744
- constructor(l2 = null, d2 = {}) {
12745
- super(l2, d2);
12746
- const g2 = d2.status != null ? d2.status : 200, b2 = new Headers(d2.headers);
12913
+ constructor(l2 = null, d = {}) {
12914
+ super(l2, d);
12915
+ const g2 = d.status != null ? d.status : 200, b2 = new Headers(d.headers);
12747
12916
  if (l2 !== null && !b2.has("Content-Type")) {
12748
12917
  const R2 = extractContentType(l2, this);
12749
12918
  R2 && b2.append("Content-Type", R2);
12750
12919
  }
12751
- this[INTERNALS$1] = { type: "default", url: d2.url, status: g2, statusText: d2.statusText || "", headers: b2, counter: d2.counter, highWaterMark: d2.highWaterMark };
12920
+ this[INTERNALS$1] = { type: "default", url: d.url, status: g2, statusText: d.statusText || "", headers: b2, counter: d.counter, highWaterMark: d.highWaterMark };
12752
12921
  }
12753
12922
  get type() {
12754
12923
  return this[INTERNALS$1].type;
@@ -12777,19 +12946,19 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12777
12946
  clone() {
12778
12947
  return new Me2(clone(this, this.highWaterMark), { type: this.type, url: this.url, status: this.status, statusText: this.statusText, headers: this.headers, ok: this.ok, redirected: this.redirected, size: this.size, highWaterMark: this.highWaterMark });
12779
12948
  }
12780
- static redirect(l2, d2 = 302) {
12781
- if (!isRedirect(d2)) throw new RangeError('Failed to execute "redirect" on "response": Invalid status code');
12782
- return new Me2(null, { headers: { location: new URL(l2).toString() }, status: d2 });
12949
+ static redirect(l2, d = 302) {
12950
+ if (!isRedirect(d)) throw new RangeError('Failed to execute "redirect" on "response": Invalid status code');
12951
+ return new Me2(null, { headers: { location: new URL(l2).toString() }, status: d });
12783
12952
  }
12784
12953
  static error() {
12785
12954
  const l2 = new Me2(null, { status: 0, statusText: "" });
12786
12955
  return l2[INTERNALS$1].type = "error", l2;
12787
12956
  }
12788
- static json(l2 = void 0, d2 = {}) {
12957
+ static json(l2 = void 0, d = {}) {
12789
12958
  const g2 = JSON.stringify(l2);
12790
12959
  if (g2 === void 0) throw new TypeError("data is not JSON serializable");
12791
- const b2 = new Headers(d2 && d2.headers);
12792
- return b2.has("content-type") || b2.set("content-type", "application/json"), new Me2(g2, { ...d2, headers: b2 });
12960
+ const b2 = new Headers(d && d.headers);
12961
+ return b2.has("content-type") || b2.set("content-type", "application/json"), new Me2(g2, { ...d, headers: b2 });
12793
12962
  }
12794
12963
  get [Symbol.toStringTag]() {
12795
12964
  return "Response";
@@ -12800,8 +12969,8 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12800
12969
  Object.defineProperties(Response.prototype, { type: { enumerable: true }, url: { enumerable: true }, status: { enumerable: true }, ok: { enumerable: true }, redirected: { enumerable: true }, statusText: { enumerable: true }, headers: { enumerable: true }, clone: { enumerable: true } });
12801
12970
  const getSearch = u2((c2) => {
12802
12971
  if (c2.search) return c2.search;
12803
- const l2 = c2.href.length - 1, d2 = c2.hash || (c2.href[l2] === "#" ? "#" : "");
12804
- return c2.href[l2 - d2.length] === "?" ? "?" : "";
12972
+ const l2 = c2.href.length - 1, d = c2.hash || (c2.href[l2] === "#" ? "#" : "");
12973
+ return c2.href[l2 - d.length] === "?" ? "?" : "";
12805
12974
  }, "getSearch");
12806
12975
  function stripURLForUseAsAReferrer(c2, l2 = false) {
12807
12976
  return c2 == null || (c2 = new URL(c2), /^(about|blob|data):$/.test(c2.protocol)) ? "no-referrer" : (c2.username = "", c2.password = "", c2.hash = "", l2 && (c2.pathname = "", c2.search = ""), c2);
@@ -12815,21 +12984,21 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12815
12984
  u2(validateReferrerPolicy, "validateReferrerPolicy");
12816
12985
  function isOriginPotentiallyTrustworthy(c2) {
12817
12986
  if (/^(http|ws)s:$/.test(c2.protocol)) return true;
12818
- const l2 = c2.host.replace(/(^\[)|(]$)/g, ""), d2 = require$$0$2.isIP(l2);
12819
- return d2 === 4 && /^127\./.test(l2) || d2 === 6 && /^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(l2) ? true : c2.host === "localhost" || c2.host.endsWith(".localhost") ? false : c2.protocol === "file:";
12987
+ const l2 = c2.host.replace(/(^\[)|(]$)/g, ""), d = require$$0$2.isIP(l2);
12988
+ return d === 4 && /^127\./.test(l2) || d === 6 && /^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(l2) ? true : c2.host === "localhost" || c2.host.endsWith(".localhost") ? false : c2.protocol === "file:";
12820
12989
  }
12821
12990
  u2(isOriginPotentiallyTrustworthy, "isOriginPotentiallyTrustworthy");
12822
12991
  function isUrlPotentiallyTrustworthy(c2) {
12823
12992
  return /^about:(blank|srcdoc)$/.test(c2) || c2.protocol === "data:" || /^(blob|filesystem):$/.test(c2.protocol) ? true : isOriginPotentiallyTrustworthy(c2);
12824
12993
  }
12825
12994
  u2(isUrlPotentiallyTrustworthy, "isUrlPotentiallyTrustworthy");
12826
- function determineRequestsReferrer(c2, { referrerURLCallback: l2, referrerOriginCallback: d2 } = {}) {
12995
+ function determineRequestsReferrer(c2, { referrerURLCallback: l2, referrerOriginCallback: d } = {}) {
12827
12996
  if (c2.referrer === "no-referrer" || c2.referrerPolicy === "") return null;
12828
12997
  const g2 = c2.referrerPolicy;
12829
12998
  if (c2.referrer === "about:client") return "no-referrer";
12830
12999
  const b2 = c2.referrer;
12831
13000
  let R2 = stripURLForUseAsAReferrer(b2), w2 = stripURLForUseAsAReferrer(b2, true);
12832
- R2.toString().length > 4096 && (R2 = w2), l2 && (R2 = l2(R2)), d2 && (w2 = d2(w2));
13001
+ R2.toString().length > 4096 && (R2 = w2), l2 && (R2 = l2(R2)), d && (w2 = d(w2));
12833
13002
  const A2 = new URL(c2.url);
12834
13003
  switch (g2) {
12835
13004
  case "no-referrer":
@@ -12855,34 +13024,34 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12855
13024
  u2(determineRequestsReferrer, "determineRequestsReferrer");
12856
13025
  function parseReferrerPolicyFromHeader(c2) {
12857
13026
  const l2 = (c2.get("referrer-policy") || "").split(/[,\s]+/);
12858
- let d2 = "";
12859
- for (const g2 of l2) g2 && ReferrerPolicy.has(g2) && (d2 = g2);
12860
- return d2;
13027
+ let d = "";
13028
+ for (const g2 of l2) g2 && ReferrerPolicy.has(g2) && (d = g2);
13029
+ return d;
12861
13030
  }
12862
13031
  u2(parseReferrerPolicyFromHeader, "parseReferrerPolicyFromHeader");
12863
13032
  const INTERNALS = Symbol("Request internals"), isRequest = u2((c2) => typeof c2 == "object" && typeof c2[INTERNALS] == "object", "isRequest"), doBadDataWarn = require$$0$1.deprecate(() => {
12864
13033
  }, ".data is not a valid RequestInit property, use .body instead", "https://github.com/node-fetch/node-fetch/issues/1000 (request)"), Jt = class Jt2 extends Body {
12865
- constructor(l2, d2 = {}) {
13034
+ constructor(l2, d = {}) {
12866
13035
  let g2;
12867
13036
  if (isRequest(l2) ? g2 = new URL(l2.url) : (g2 = new URL(l2), l2 = {}), g2.username !== "" || g2.password !== "") throw new TypeError(`${g2} is an url with embedded credentials.`);
12868
- let b2 = d2.method || l2.method || "GET";
12869
- if (/^(delete|get|head|options|post|put)$/i.test(b2) && (b2 = b2.toUpperCase()), !isRequest(d2) && "data" in d2 && doBadDataWarn(), (d2.body != null || isRequest(l2) && l2.body !== null) && (b2 === "GET" || b2 === "HEAD")) throw new TypeError("Request with GET/HEAD method cannot have body");
12870
- const R2 = d2.body ? d2.body : isRequest(l2) && l2.body !== null ? clone(l2) : null;
12871
- super(R2, { size: d2.size || l2.size || 0 });
12872
- const w2 = new Headers(d2.headers || l2.headers || {});
13037
+ let b2 = d.method || l2.method || "GET";
13038
+ if (/^(delete|get|head|options|post|put)$/i.test(b2) && (b2 = b2.toUpperCase()), !isRequest(d) && "data" in d && doBadDataWarn(), (d.body != null || isRequest(l2) && l2.body !== null) && (b2 === "GET" || b2 === "HEAD")) throw new TypeError("Request with GET/HEAD method cannot have body");
13039
+ const R2 = d.body ? d.body : isRequest(l2) && l2.body !== null ? clone(l2) : null;
13040
+ super(R2, { size: d.size || l2.size || 0 });
13041
+ const w2 = new Headers(d.headers || l2.headers || {});
12873
13042
  if (R2 !== null && !w2.has("Content-Type")) {
12874
13043
  const B2 = extractContentType(R2, this);
12875
13044
  B2 && w2.set("Content-Type", B2);
12876
13045
  }
12877
13046
  let A2 = isRequest(l2) ? l2.signal : null;
12878
- if ("signal" in d2 && (A2 = d2.signal), A2 != null && !isAbortSignal(A2)) throw new TypeError("Expected signal to be an instanceof AbortSignal or EventTarget");
12879
- let z2 = d2.referrer == null ? l2.referrer : d2.referrer;
13047
+ if ("signal" in d && (A2 = d.signal), A2 != null && !isAbortSignal(A2)) throw new TypeError("Expected signal to be an instanceof AbortSignal or EventTarget");
13048
+ let z2 = d.referrer == null ? l2.referrer : d.referrer;
12880
13049
  if (z2 === "") z2 = "no-referrer";
12881
13050
  else if (z2) {
12882
13051
  const B2 = new URL(z2);
12883
13052
  z2 = /^about:(\/\/)?client$/.test(B2) ? "client" : B2;
12884
13053
  } else z2 = void 0;
12885
- this[INTERNALS] = { method: b2, redirect: d2.redirect || l2.redirect || "follow", headers: w2, parsedURL: g2, signal: A2, referrer: z2 }, this.follow = d2.follow === void 0 ? l2.follow === void 0 ? 20 : l2.follow : d2.follow, this.compress = d2.compress === void 0 ? l2.compress === void 0 ? true : l2.compress : d2.compress, this.counter = d2.counter || l2.counter || 0, this.agent = d2.agent || l2.agent, this.highWaterMark = d2.highWaterMark || l2.highWaterMark || 16384, this.insecureHTTPParser = d2.insecureHTTPParser || l2.insecureHTTPParser || false, this.referrerPolicy = d2.referrerPolicy || l2.referrerPolicy || "";
13054
+ this[INTERNALS] = { method: b2, redirect: d.redirect || l2.redirect || "follow", headers: w2, parsedURL: g2, signal: A2, referrer: z2 }, this.follow = d.follow === void 0 ? l2.follow === void 0 ? 20 : l2.follow : d.follow, this.compress = d.compress === void 0 ? l2.compress === void 0 ? true : l2.compress : d.compress, this.counter = d.counter || l2.counter || 0, this.agent = d.agent || l2.agent, this.highWaterMark = d.highWaterMark || l2.highWaterMark || 16384, this.insecureHTTPParser = d.insecureHTTPParser || l2.insecureHTTPParser || false, this.referrerPolicy = d.referrerPolicy || l2.referrerPolicy || "";
12886
13055
  }
12887
13056
  get method() {
12888
13057
  return this[INTERNALS].method;
@@ -12921,21 +13090,21 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12921
13090
  let Request = Jt;
12922
13091
  Object.defineProperties(Request.prototype, { method: { enumerable: true }, url: { enumerable: true }, headers: { enumerable: true }, redirect: { enumerable: true }, clone: { enumerable: true }, signal: { enumerable: true }, referrer: { enumerable: true }, referrerPolicy: { enumerable: true } });
12923
13092
  const getNodeRequestOptions = u2((c2) => {
12924
- const { parsedURL: l2 } = c2[INTERNALS], d2 = new Headers(c2[INTERNALS].headers);
12925
- d2.has("Accept") || d2.set("Accept", "*/*");
13093
+ const { parsedURL: l2 } = c2[INTERNALS], d = new Headers(c2[INTERNALS].headers);
13094
+ d.has("Accept") || d.set("Accept", "*/*");
12926
13095
  let g2 = null;
12927
13096
  if (c2.body === null && /^(post|put)$/i.test(c2.method) && (g2 = "0"), c2.body !== null) {
12928
13097
  const A2 = getTotalBytes(c2);
12929
13098
  typeof A2 == "number" && !Number.isNaN(A2) && (g2 = String(A2));
12930
13099
  }
12931
- g2 && d2.set("Content-Length", g2), c2.referrerPolicy === "" && (c2.referrerPolicy = DEFAULT_REFERRER_POLICY), c2.referrer && c2.referrer !== "no-referrer" ? c2[INTERNALS].referrer = determineRequestsReferrer(c2) : c2[INTERNALS].referrer = "no-referrer", c2[INTERNALS].referrer instanceof URL && d2.set("Referer", c2.referrer), d2.has("User-Agent") || d2.set("User-Agent", "node-fetch"), c2.compress && !d2.has("Accept-Encoding") && d2.set("Accept-Encoding", "gzip, deflate, br");
13100
+ g2 && d.set("Content-Length", g2), c2.referrerPolicy === "" && (c2.referrerPolicy = DEFAULT_REFERRER_POLICY), c2.referrer && c2.referrer !== "no-referrer" ? c2[INTERNALS].referrer = determineRequestsReferrer(c2) : c2[INTERNALS].referrer = "no-referrer", c2[INTERNALS].referrer instanceof URL && d.set("Referer", c2.referrer), d.has("User-Agent") || d.set("User-Agent", "node-fetch"), c2.compress && !d.has("Accept-Encoding") && d.set("Accept-Encoding", "gzip, deflate, br");
12932
13101
  let { agent: b2 } = c2;
12933
13102
  typeof b2 == "function" && (b2 = b2(l2));
12934
- const R2 = getSearch(l2), w2 = { path: l2.pathname + R2, method: c2.method, headers: d2[Symbol.for("nodejs.util.inspect.custom")](), insecureHTTPParser: c2.insecureHTTPParser, agent: b2 };
13103
+ const R2 = getSearch(l2), w2 = { path: l2.pathname + R2, method: c2.method, headers: d[Symbol.for("nodejs.util.inspect.custom")](), insecureHTTPParser: c2.insecureHTTPParser, agent: b2 };
12935
13104
  return { parsedURL: l2, options: w2 };
12936
13105
  }, "getNodeRequestOptions"), sn2 = class sn extends FetchBaseError {
12937
- constructor(l2, d2 = "aborted") {
12938
- super(l2, d2);
13106
+ constructor(l2, d = "aborted") {
13107
+ super(l2, d);
12939
13108
  }
12940
13109
  };
12941
13110
  u2(sn2, "AbortError");
@@ -12945,8 +13114,8 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12945
13114
  function requireNodeDomexception() {
12946
13115
  if (hasRequiredNodeDomexception) return nodeDomexception;
12947
13116
  if (hasRequiredNodeDomexception = 1, !globalThis.DOMException) try {
12948
- const { MessageChannel: c2 } = require("worker_threads"), l2 = new c2().port1, d2 = new ArrayBuffer();
12949
- l2.postMessage(d2, [d2, d2]);
13117
+ const { MessageChannel: c2 } = require("worker_threads"), l2 = new c2().port1, d = new ArrayBuffer();
13118
+ l2.postMessage(d, [d, d]);
12950
13119
  } catch (c2) {
12951
13120
  c2.constructor.name === "DOMException" && (globalThis.DOMException = c2.constructor);
12952
13121
  }
@@ -12954,14 +13123,14 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12954
13123
  }
12955
13124
  u2(requireNodeDomexception, "requireNodeDomexception");
12956
13125
  var nodeDomexceptionExports = requireNodeDomexception();
12957
- const DOMException2 = _commonjsHelpers.getDefaultExportFromCjs(nodeDomexceptionExports), { stat } = node_fs.promises, blobFromSync = u2((c2, l2) => fromBlob(node_fs.statSync(c2), c2, l2), "blobFromSync"), blobFrom = u2((c2, l2) => stat(c2).then((d2) => fromBlob(d2, c2, l2)), "blobFrom"), fileFrom = u2((c2, l2) => stat(c2).then((d2) => fromFile(d2, c2, l2)), "fileFrom"), fileFromSync = u2((c2, l2) => fromFile(node_fs.statSync(c2), c2, l2), "fileFromSync"), fromBlob = u2((c2, l2, d2 = "") => new Blob2([new BlobDataItem({ path: l2, size: c2.size, lastModified: c2.mtimeMs, start: 0 })], { type: d2 }), "fromBlob"), fromFile = u2((c2, l2, d2 = "") => new File([new BlobDataItem({ path: l2, size: c2.size, lastModified: c2.mtimeMs, start: 0 })], node_path.basename(l2), { type: d2, lastModified: c2.mtimeMs }), "fromFile"), Xt = class Xt2 {
13126
+ const DOMException2 = _commonjsHelpers.getDefaultExportFromCjs(nodeDomexceptionExports), { stat } = node_fs.promises, blobFromSync = u2((c2, l2) => fromBlob(node_fs.statSync(c2), c2, l2), "blobFromSync"), blobFrom = u2((c2, l2) => stat(c2).then((d) => fromBlob(d, c2, l2)), "blobFrom"), fileFrom = u2((c2, l2) => stat(c2).then((d) => fromFile(d, c2, l2)), "fileFrom"), fileFromSync = u2((c2, l2) => fromFile(node_fs.statSync(c2), c2, l2), "fileFromSync"), fromBlob = u2((c2, l2, d = "") => new Blob2([new BlobDataItem({ path: l2, size: c2.size, lastModified: c2.mtimeMs, start: 0 })], { type: d }), "fromBlob"), fromFile = u2((c2, l2, d = "") => new File([new BlobDataItem({ path: l2, size: c2.size, lastModified: c2.mtimeMs, start: 0 })], node_path.basename(l2), { type: d, lastModified: c2.mtimeMs }), "fromFile"), Xt = class Xt2 {
12958
13127
  constructor(l2) {
12959
13128
  ye2(this, xe2);
12960
13129
  ye2(this, Ue);
12961
13130
  ne2(this, xe2, l2.path), ne2(this, Ue, l2.start), this.size = l2.size, this.lastModified = l2.lastModified;
12962
13131
  }
12963
- slice(l2, d2) {
12964
- return new Xt2({ path: D2(this, xe2), lastModified: this.lastModified, size: d2 - l2, start: D2(this, Ue) + l2 });
13132
+ slice(l2, d) {
13133
+ return new Xt2({ path: D2(this, xe2), lastModified: this.lastModified, size: d - l2, start: D2(this, Ue) + l2 });
12965
13134
  }
12966
13135
  async *stream() {
12967
13136
  const { mtimeMs: l2 } = await stat(D2(this, xe2));
@@ -12976,12 +13145,12 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
12976
13145
  let BlobDataItem = Xt;
12977
13146
  const supportedSchemas = /* @__PURE__ */ new Set(["data:", "http:", "https:"]);
12978
13147
  async function fetch$1(c2, l2) {
12979
- return new Promise((d2, g2) => {
13148
+ return new Promise((d, g2) => {
12980
13149
  const b2 = new Request(c2, l2), { parsedURL: R2, options: w2 } = getNodeRequestOptions(b2);
12981
13150
  if (!supportedSchemas.has(R2.protocol)) throw new TypeError(`node-fetch cannot load ${c2}. URL scheme "${R2.protocol.replace(/:$/, "")}" is not supported.`);
12982
13151
  if (R2.protocol === "data:") {
12983
13152
  const v2 = dataUriToBuffer(b2.url), K2 = new Response(v2, { headers: { "Content-Type": v2.typeFull } });
12984
- d2(K2);
13153
+ d(K2);
12985
13154
  return;
12986
13155
  }
12987
13156
  const A2 = (R2.protocol === "https:" ? https__default : http__default).request, { signal: z2 } = b2;
@@ -13049,7 +13218,7 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13049
13218
  }
13050
13219
  (v2.statusCode === 303 || (v2.statusCode === 301 || v2.statusCode === 302) && b2.method === "POST") && (Y2.method = "GET", Y2.body = void 0, Y2.headers.delete("content-length"));
13051
13220
  const Q2 = parseReferrerPolicyFromHeader(K2);
13052
- Q2 && (Y2.referrerPolicy = Q2), d2(fetch$1(new Request(H2, Y2))), $2();
13221
+ Q2 && (Y2.referrerPolicy = Q2), d(fetch$1(new Request(H2, Y2))), $2();
13053
13222
  return;
13054
13223
  }
13055
13224
  default:
@@ -13065,14 +13234,14 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13065
13234
  process.version < "v12.10" && v2.on("aborted", k2);
13066
13235
  const N2 = { url: b2.url, status: v2.statusCode, statusText: v2.statusMessage, headers: K2, size: b2.size, counter: b2.counter, highWaterMark: b2.highWaterMark }, J2 = K2.get("Content-Encoding");
13067
13236
  if (!b2.compress || b2.method === "HEAD" || J2 === null || v2.statusCode === 204 || v2.statusCode === 304) {
13068
- B2 = new Response(U2, N2), d2(B2);
13237
+ B2 = new Response(U2, N2), d(B2);
13069
13238
  return;
13070
13239
  }
13071
13240
  const ge2 = { flush: zlib__default.Z_SYNC_FLUSH, finishFlush: zlib__default.Z_SYNC_FLUSH };
13072
13241
  if (J2 === "gzip" || J2 === "x-gzip") {
13073
13242
  U2 = Stream.pipeline(U2, zlib__default.createGunzip(ge2), (M2) => {
13074
13243
  M2 && g2(M2);
13075
- }), B2 = new Response(U2, N2), d2(B2);
13244
+ }), B2 = new Response(U2, N2), d(B2);
13076
13245
  return;
13077
13246
  }
13078
13247
  if (J2 === "deflate" || J2 === "x-deflate") {
@@ -13084,25 +13253,25 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13084
13253
  Y2 && g2(Y2);
13085
13254
  }) : U2 = Stream.pipeline(U2, zlib__default.createInflateRaw(), (Y2) => {
13086
13255
  Y2 && g2(Y2);
13087
- }), B2 = new Response(U2, N2), d2(B2);
13256
+ }), B2 = new Response(U2, N2), d(B2);
13088
13257
  }), M2.once("end", () => {
13089
- B2 || (B2 = new Response(U2, N2), d2(B2));
13258
+ B2 || (B2 = new Response(U2, N2), d(B2));
13090
13259
  });
13091
13260
  return;
13092
13261
  }
13093
13262
  if (J2 === "br") {
13094
13263
  U2 = Stream.pipeline(U2, zlib__default.createBrotliDecompress(), (M2) => {
13095
13264
  M2 && g2(M2);
13096
- }), B2 = new Response(U2, N2), d2(B2);
13265
+ }), B2 = new Response(U2, N2), d(B2);
13097
13266
  return;
13098
13267
  }
13099
- B2 = new Response(U2, N2), d2(B2);
13268
+ B2 = new Response(U2, N2), d(B2);
13100
13269
  }), writeToStream(T2, b2).catch(g2);
13101
13270
  });
13102
13271
  }
13103
13272
  u2(fetch$1, "fetch$1");
13104
13273
  function fixResponseChunkedTransferBadEnding(c2, l2) {
13105
- const d2 = require$$02.Buffer.from(`0\r
13274
+ const d = require$$02.Buffer.from(`0\r
13106
13275
  \r
13107
13276
  `);
13108
13277
  let g2 = false, b2 = false, R2;
@@ -13116,7 +13285,7 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13116
13285
  B2.code = "ERR_STREAM_PREMATURE_CLOSE", l2(B2);
13117
13286
  }
13118
13287
  }, "onSocketClose"), z2 = u2((B2) => {
13119
- b2 = require$$02.Buffer.compare(B2.slice(-5), d2) === 0, !b2 && R2 && (b2 = require$$02.Buffer.compare(R2.slice(-3), d2.slice(0, 3)) === 0 && require$$02.Buffer.compare(B2.slice(-2), d2.slice(3)) === 0), R2 = B2;
13288
+ b2 = require$$02.Buffer.compare(B2.slice(-5), d) === 0, !b2 && R2 && (b2 = require$$02.Buffer.compare(R2.slice(-3), d.slice(0, 3)) === 0 && require$$02.Buffer.compare(B2.slice(-2), d.slice(3)) === 0), R2 = B2;
13120
13289
  }, "onData");
13121
13290
  w2.prependListener("close", A2), w2.on("data", z2), c2.on("close", () => {
13122
13291
  w2.removeListener("close", A2), w2.removeListener("data", z2);
@@ -13140,9 +13309,9 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13140
13309
  u2(setCancelFlag, "setCancelFlag");
13141
13310
  function Event2(c2, l2) {
13142
13311
  privateData.set(this, { eventTarget: c2, event: l2, eventPhase: 2, currentTarget: c2, canceled: false, stopped: false, immediateStopped: false, passiveListener: null, timeStamp: l2.timeStamp || Date.now() }), Object.defineProperty(this, "isTrusted", { value: false, enumerable: true });
13143
- const d2 = Object.keys(l2);
13144
- for (let g2 = 0; g2 < d2.length; ++g2) {
13145
- const b2 = d2[g2];
13312
+ const d = Object.keys(l2);
13313
+ for (let g2 = 0; g2 < d.length; ++g2) {
13314
+ const b2 = d[g2];
13146
13315
  b2 in this || Object.defineProperty(this, b2, defineRedirectDescriptor(b2));
13147
13316
  }
13148
13317
  }
@@ -13213,14 +13382,14 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13213
13382
  }
13214
13383
  u2(defineCallDescriptor, "defineCallDescriptor");
13215
13384
  function defineWrapper(c2, l2) {
13216
- const d2 = Object.keys(l2);
13217
- if (d2.length === 0) return c2;
13385
+ const d = Object.keys(l2);
13386
+ if (d.length === 0) return c2;
13218
13387
  function g2(b2, R2) {
13219
13388
  c2.call(this, b2, R2);
13220
13389
  }
13221
13390
  u2(g2, "CustomEvent"), g2.prototype = Object.create(c2.prototype, { constructor: { value: g2, configurable: true, writable: true } });
13222
- for (let b2 = 0; b2 < d2.length; ++b2) {
13223
- const R2 = d2[b2];
13391
+ for (let b2 = 0; b2 < d.length; ++b2) {
13392
+ const R2 = d[b2];
13224
13393
  if (!(R2 in c2.prototype)) {
13225
13394
  const A2 = typeof Object.getOwnPropertyDescriptor(l2, R2).value == "function";
13226
13395
  Object.defineProperty(g2.prototype, R2, A2 ? defineCallDescriptor(R2) : defineRedirectDescriptor(R2));
@@ -13236,8 +13405,8 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13236
13405
  }
13237
13406
  u2(getWrapper, "getWrapper");
13238
13407
  function wrapEvent(c2, l2) {
13239
- const d2 = getWrapper(Object.getPrototypeOf(l2));
13240
- return new d2(c2, l2);
13408
+ const d = getWrapper(Object.getPrototypeOf(l2));
13409
+ return new d(c2, l2);
13241
13410
  }
13242
13411
  u2(wrapEvent, "wrapEvent");
13243
13412
  function isStopped(c2) {
@@ -13269,20 +13438,20 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13269
13438
  u2(getListeners, "getListeners");
13270
13439
  function defineEventAttributeDescriptor(c2) {
13271
13440
  return { get() {
13272
- let d2 = getListeners(this).get(c2);
13273
- for (; d2 != null; ) {
13274
- if (d2.listenerType === ATTRIBUTE) return d2.listener;
13275
- d2 = d2.next;
13441
+ let d = getListeners(this).get(c2);
13442
+ for (; d != null; ) {
13443
+ if (d.listenerType === ATTRIBUTE) return d.listener;
13444
+ d = d.next;
13276
13445
  }
13277
13446
  return null;
13278
13447
  }, set(l2) {
13279
13448
  typeof l2 != "function" && !isObject(l2) && (l2 = null);
13280
- const d2 = getListeners(this);
13281
- let g2 = null, b2 = d2.get(c2);
13282
- for (; b2 != null; ) b2.listenerType === ATTRIBUTE ? g2 !== null ? g2.next = b2.next : b2.next !== null ? d2.set(c2, b2.next) : d2.delete(c2) : g2 = b2, b2 = b2.next;
13449
+ const d = getListeners(this);
13450
+ let g2 = null, b2 = d.get(c2);
13451
+ for (; b2 != null; ) b2.listenerType === ATTRIBUTE ? g2 !== null ? g2.next = b2.next : b2.next !== null ? d.set(c2, b2.next) : d.delete(c2) : g2 = b2, b2 = b2.next;
13283
13452
  if (l2 !== null) {
13284
13453
  const R2 = { listener: l2, listenerType: ATTRIBUTE, passive: false, once: false, next: null };
13285
- g2 === null ? d2.set(c2, R2) : g2.next = R2;
13454
+ g2 === null ? d.set(c2, R2) : g2.next = R2;
13286
13455
  }
13287
13456
  }, configurable: true, enumerable: true };
13288
13457
  }
@@ -13296,7 +13465,7 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13296
13465
  EventTarget2.call(this);
13297
13466
  }
13298
13467
  u2(l2, "CustomEventTarget"), l2.prototype = Object.create(EventTarget2.prototype, { constructor: { value: l2, configurable: true, writable: true } });
13299
- for (let d2 = 0; d2 < c2.length; ++d2) defineEventAttribute(l2.prototype, c2[d2]);
13468
+ for (let d = 0; d < c2.length; ++d) defineEventAttribute(l2.prototype, c2[d]);
13300
13469
  return l2;
13301
13470
  }
13302
13471
  u2(defineCustomEventTarget, "defineCustomEventTarget");
@@ -13313,10 +13482,10 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13313
13482
  }
13314
13483
  throw new TypeError("Cannot call a class as a function");
13315
13484
  }
13316
- u2(EventTarget2, "EventTarget"), EventTarget2.prototype = { addEventListener(c2, l2, d2) {
13485
+ u2(EventTarget2, "EventTarget"), EventTarget2.prototype = { addEventListener(c2, l2, d) {
13317
13486
  if (l2 == null) return;
13318
13487
  if (typeof l2 != "function" && !isObject(l2)) throw new TypeError("'listener' should be a function or an object.");
13319
- const g2 = getListeners(this), b2 = isObject(d2), w2 = (b2 ? !!d2.capture : !!d2) ? CAPTURE : BUBBLE, A2 = { listener: l2, listenerType: w2, passive: b2 && !!d2.passive, once: b2 && !!d2.once, next: null };
13488
+ const g2 = getListeners(this), b2 = isObject(d), w2 = (b2 ? !!d.capture : !!d) ? CAPTURE : BUBBLE, A2 = { listener: l2, listenerType: w2, passive: b2 && !!d.passive, once: b2 && !!d.once, next: null };
13320
13489
  let z2 = g2.get(c2);
13321
13490
  if (z2 === void 0) {
13322
13491
  g2.set(c2, A2);
@@ -13328,9 +13497,9 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13328
13497
  B2 = z2, z2 = z2.next;
13329
13498
  }
13330
13499
  B2.next = A2;
13331
- }, removeEventListener(c2, l2, d2) {
13500
+ }, removeEventListener(c2, l2, d) {
13332
13501
  if (l2 == null) return;
13333
- const g2 = getListeners(this), R2 = (isObject(d2) ? !!d2.capture : !!d2) ? CAPTURE : BUBBLE;
13502
+ const g2 = getListeners(this), R2 = (isObject(d) ? !!d.capture : !!d) ? CAPTURE : BUBBLE;
13334
13503
  let w2 = null, A2 = g2.get(c2);
13335
13504
  for (; A2 != null; ) {
13336
13505
  if (A2.listener === l2 && A2.listenerType === R2) {
@@ -13341,13 +13510,13 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13341
13510
  }
13342
13511
  }, dispatchEvent(c2) {
13343
13512
  if (c2 == null || typeof c2.type != "string") throw new TypeError('"event.type" should be a string.');
13344
- const l2 = getListeners(this), d2 = c2.type;
13345
- let g2 = l2.get(d2);
13513
+ const l2 = getListeners(this), d = c2.type;
13514
+ let g2 = l2.get(d);
13346
13515
  if (g2 == null) return true;
13347
13516
  const b2 = wrapEvent(this, c2);
13348
13517
  let R2 = null;
13349
13518
  for (; g2 != null; ) {
13350
- if (g2.once ? R2 !== null ? R2.next = g2.next : g2.next !== null ? l2.set(d2, g2.next) : l2.delete(d2) : R2 = g2, setPassiveListener(b2, g2.passive ? g2.listener : null), typeof g2.listener == "function") try {
13519
+ if (g2.once ? R2 !== null ? R2.next = g2.next : g2.next !== null ? l2.set(d, g2.next) : l2.delete(d) : R2 = g2, setPassiveListener(b2, g2.passive ? g2.listener : null), typeof g2.listener == "function") try {
13351
13520
  g2.listener.call(this, b2);
13352
13521
  } catch (w2) {
13353
13522
  typeof console < "u" && typeof console.error == "function" && console.error(w2);
@@ -13401,12 +13570,12 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13401
13570
  }
13402
13571
  u2(getSignal, "getSignal"), Object.defineProperties(AbortController$1.prototype, { signal: { enumerable: true }, abort: { enumerable: true } }), typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol" && Object.defineProperty(AbortController$1.prototype, Symbol.toStringTag, { configurable: true, value: "AbortController" });
13403
13572
  var t2 = Object.defineProperty, e2 = u2((c2, l2) => t2(c2, "name", { value: l2, configurable: true }), "e");
13404
- const fetch = fetch$1;
13573
+ const fetch2 = fetch$1;
13405
13574
  s2();
13406
13575
  function s2() {
13407
13576
  !globalThis.process?.versions?.node && !globalThis.process?.env?.DISABLE_NODE_FETCH_NATIVE_WARN && console.warn("[node-fetch-native] Node.js compatible build of `node-fetch-native` is being used in a non-Node.js environment. Please make sure you are using proper export conditions or report this issue to https://github.com/unjs/node-fetch-native. You can set `process.env.DISABLE_NODE_FETCH_NATIVE_WARN` to disable this warning.");
13408
13577
  }
13409
- u2(s2, "s"), e2(s2, "checkNodeEnvironment"), node.AbortController = AbortController$1, node.AbortError = AbortError, node.Blob = Blob2, node.FetchError = FetchError, node.File = File, node.FormData = FormData, node.Headers = Headers, node.Request = Request, node.Response = Response, node.blobFrom = blobFrom, node.blobFromSync = blobFromSync, node.default = fetch, node.fetch = fetch, node.fileFrom = fileFrom, node.fileFromSync = fileFromSync, node.isRedirect = isRedirect;
13578
+ u2(s2, "s"), e2(s2, "checkNodeEnvironment"), node.AbortController = AbortController$1, node.AbortError = AbortError, node.Blob = Blob2, node.FetchError = FetchError, node.File = File, node.FormData = FormData, node.Headers = Headers, node.Request = Request, node.Response = Response, node.blobFrom = blobFrom, node.blobFromSync = blobFromSync, node.default = fetch2, node.fetch = fetch2, node.fileFrom = fileFrom, node.fileFromSync = fileFromSync, node.isRedirect = isRedirect;
13410
13579
  return node;
13411
13580
  }
13412
13581
  var hasRequiredDist;
@@ -13416,8 +13585,8 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13416
13585
  Object.defineProperty(dist, "__esModule", { value: true });
13417
13586
  const node2 = requireNode();
13418
13587
  requireNodeFetchNative_DhEqb06g();
13419
- const o2 = !!globalThis.process?.env?.FORCE_NODE_FETCH, fetch = !o2 && globalThis.fetch || node2.fetch, Blob2 = !o2 && globalThis.Blob || node2.Blob, File = !o2 && globalThis.File || node2.File, FormData = !o2 && globalThis.FormData || node2.FormData, Headers = !o2 && globalThis.Headers || node2.Headers, Request = !o2 && globalThis.Request || node2.Request, Response = !o2 && globalThis.Response || node2.Response, AbortController2 = !o2 && globalThis.AbortController || node2.AbortController;
13420
- dist.AbortError = node2.AbortError, dist.FetchError = node2.FetchError, dist.blobFrom = node2.blobFrom, dist.blobFromSync = node2.blobFromSync, dist.fileFrom = node2.fileFrom, dist.fileFromSync = node2.fileFromSync, dist.isRedirect = node2.isRedirect, dist.AbortController = AbortController2, dist.Blob = Blob2, dist.File = File, dist.FormData = FormData, dist.Headers = Headers, dist.Request = Request, dist.Response = Response, dist.default = fetch, dist.fetch = fetch;
13588
+ const o2 = !!globalThis.process?.env?.FORCE_NODE_FETCH, fetch2 = !o2 && globalThis.fetch || node2.fetch, Blob2 = !o2 && globalThis.Blob || node2.Blob, File = !o2 && globalThis.File || node2.File, FormData = !o2 && globalThis.FormData || node2.FormData, Headers = !o2 && globalThis.Headers || node2.Headers, Request = !o2 && globalThis.Request || node2.Request, Response = !o2 && globalThis.Response || node2.Response, AbortController2 = !o2 && globalThis.AbortController || node2.AbortController;
13589
+ dist.AbortError = node2.AbortError, dist.FetchError = node2.FetchError, dist.blobFrom = node2.blobFrom, dist.blobFromSync = node2.blobFromSync, dist.fileFrom = node2.fileFrom, dist.fileFromSync = node2.fileFromSync, dist.isRedirect = node2.isRedirect, dist.AbortController = AbortController2, dist.Blob = Blob2, dist.File = File, dist.FormData = FormData, dist.Headers = Headers, dist.Request = Request, dist.Response = Response, dist.default = fetch2, dist.fetch = fetch2;
13421
13590
  return dist;
13422
13591
  }
13423
13592
  var lib;
@@ -13426,13 +13595,13 @@ Content-Type: ${R2.type || "application/octet-stream"}\r
13426
13595
  if (hasRequiredLib) return lib;
13427
13596
  hasRequiredLib = 1;
13428
13597
  const nodeFetch = requireDist();
13429
- function fetch(input, options) {
13598
+ function fetch2(input, options) {
13430
13599
  return nodeFetch.fetch(input, options);
13431
13600
  }
13432
13601
  for (const key in nodeFetch) {
13433
- fetch[key] = nodeFetch[key];
13602
+ fetch2[key] = nodeFetch[key];
13434
13603
  }
13435
- lib = fetch;
13604
+ lib = fetch2;
13436
13605
  return lib;
13437
13606
  }
13438
13607
  var hasRequiredProxy;
@@ -19609,12 +19778,12 @@ ${M2.format(Y2)}
19609
19778
  rA.finalNetworkResponseStartTime = Y2(AA.crossOriginIsolatedCapability);
19610
19779
  }, onHeaders(ge2, Ee2, Fe, we2) {
19611
19780
  if (ge2 < 200) return;
19612
- let le2 = [], Se = "";
19781
+ let le2 = [], Se2 = "";
19613
19782
  const ye2 = new y2();
19614
19783
  for (let Ce2 = 0; Ce2 < Ee2.length; Ce2 += 2) ye2.append(ZA(Ee2[Ce2]), Ee2[Ce2 + 1].toString("latin1"), true);
19615
19784
  const Le = ye2.get("content-encoding", true);
19616
- Le && (le2 = Le.toLowerCase().split(",").map((Ce2) => Ce2.trim())), Se = ye2.get("location", true), this.body = new vA({ read: Fe });
19617
- const he2 = [], Ke = Se && j2.redirect === "follow" && oA.has(ge2);
19785
+ Le && (le2 = Le.toLowerCase().split(",").map((Ce2) => Ce2.trim())), Se2 = ye2.get("location", true), this.body = new vA({ read: Fe });
19786
+ const he2 = [], Ke = Se2 && j2.redirect === "follow" && oA.has(ge2);
19618
19787
  if (le2.length !== 0 && j2.method !== "HEAD" && j2.method !== "CONNECT" && !aA.includes(ge2) && !Ke) for (let Ce2 = le2.length - 1; Ce2 >= 0; --Ce2) {
19619
19788
  const De = le2[Ce2];
19620
19789
  if (De === "x-gzip" || De === "gzip") he2.push(Q2.createGunzip({ flush: Q2.constants.Z_SYNC_FLUSH, finishFlush: Q2.constants.Z_SYNC_FLUSH }));
@@ -22297,7 +22466,7 @@ ${p2}`;
22297
22466
  return e2(I2, "omit"), dist2;
22298
22467
  }
22299
22468
  e2(requireDist2, "requireDist");
22300
- var distExports = requireDist2(), d2 = Object.defineProperty, O2 = e2((A2, k2, c2) => k2 in A2 ? d2(A2, k2, { enumerable: true, configurable: true, writable: true, value: c2 }) : A2[k2] = c2, "O"), s2 = e2((A2, k2) => d2(A2, "name", { value: k2, configurable: true }), "s"), i2 = e2((A2, k2, c2) => O2(A2, typeof k2 != "symbol" ? k2 + "" : k2, c2), "i");
22469
+ var distExports = requireDist2(), d = Object.defineProperty, O2 = e2((A2, k2, c2) => k2 in A2 ? d(A2, k2, { enumerable: true, configurable: true, writable: true, value: c2 }) : A2[k2] = c2, "O"), s2 = e2((A2, k2) => d(A2, "name", { value: k2, configurable: true }), "s"), i2 = e2((A2, k2, c2) => O2(A2, typeof k2 != "symbol" ? k2 + "" : k2, c2), "i");
22301
22470
  function H2(...A2) {
22302
22471
  process.env.DEBUG && console.debug("[node-fetch-native] [proxy]", ...A2);
22303
22472
  }
@@ -22360,8 +22529,8 @@ ${p2}`;
22360
22529
  return (c2, B2) => nodeFetchNative.fetch(c2, { ...k2, ...B2 });
22361
22530
  }
22362
22531
  e2(createFetch, "createFetch"), s2(createFetch, "createFetch");
22363
- const fetch = createFetch({});
22364
- proxy.createFetch = createFetch, proxy.createProxy = createProxy, proxy.fetch = fetch;
22532
+ const fetch2 = createFetch({});
22533
+ proxy.createFetch = createFetch, proxy.createProxy = createProxy, proxy.fetch = fetch2;
22365
22534
  return proxy;
22366
22535
  }
22367
22536
  var proxyExports = requireProxy();
@@ -22411,7 +22580,7 @@ ${p2}`;
22411
22580
  e2 = Math.floor(e2 / 256), o2 ? r2[s2 - 1] = l2(a2) : a2 === 0 ? r2[s2 - 1] = 0 : (o2 = true, r2[s2 - 1] = c2(a2));
22412
22581
  }
22413
22582
  }, h2 = (e2) => {
22414
- const r2 = e2[0], o2 = r2 === 128 ? d2(e2.slice(1, e2.length)) : r2 === 255 ? x2(e2) : null;
22583
+ const r2 = e2[0], o2 = r2 === 128 ? d(e2.slice(1, e2.length)) : r2 === 255 ? x2(e2) : null;
22415
22584
  if (o2 === null) throw Error("invalid base256 encoding");
22416
22585
  if (!Number.isSafeInteger(o2)) throw Error("parsed number outside of javascript safe integer range");
22417
22586
  return o2;
@@ -22421,7 +22590,7 @@ ${p2}`;
22421
22590
  s2 ? t2 = l2(n2) : n2 === 0 ? t2 = n2 : (s2 = true, t2 = c2(n2)), t2 !== 0 && (o2 -= t2 * Math.pow(256, r2 - a2 - 1));
22422
22591
  }
22423
22592
  return o2;
22424
- }, d2 = (e2) => {
22593
+ }, d = (e2) => {
22425
22594
  for (var r2 = e2.length, o2 = 0, s2 = r2 - 1; s2 > -1; s2--) {
22426
22595
  var a2 = e2[s2];
22427
22596
  a2 !== 0 && (o2 += a2 * Math.pow(256, r2 - s2 - 1));
@@ -22441,11 +22610,11 @@ ${p2}`;
22441
22610
  }
22442
22611
  decode(e2, t2, i2, h2) {
22443
22612
  if (t2 || (t2 = 0), !e2 || !(e2.length >= t2 + 512)) throw new Error("need 512 bytes for header");
22444
- if (this.path = d2(e2, t2, 100), this.mode = r2(e2, t2 + 100, 8), this.uid = r2(e2, t2 + 108, 8), this.gid = r2(e2, t2 + 116, 8), this.size = r2(e2, t2 + 124, 12), this.mtime = o2(e2, t2 + 136, 12), this.cksum = r2(e2, t2 + 148, 12), this[P2](i2), this[P2](h2, true), this[a2] = d2(e2, t2 + 156, 1), this[a2] === "" && (this[a2] = "0"), this[a2] === "0" && this.path.slice(-1) === "/" && (this[a2] = "5"), this[a2] === "5" && (this.size = 0), this.linkpath = d2(e2, t2 + 157, 100), e2.slice(t2 + 257, t2 + 265).toString() === "ustar\x0000") if (this.uname = d2(e2, t2 + 265, 32), this.gname = d2(e2, t2 + 297, 32), this.devmaj = r2(e2, t2 + 329, 8), this.devmin = r2(e2, t2 + 337, 8), e2[t2 + 475] !== 0) {
22445
- const n2 = d2(e2, t2 + 345, 155);
22613
+ if (this.path = d(e2, t2, 100), this.mode = r2(e2, t2 + 100, 8), this.uid = r2(e2, t2 + 108, 8), this.gid = r2(e2, t2 + 116, 8), this.size = r2(e2, t2 + 124, 12), this.mtime = o2(e2, t2 + 136, 12), this.cksum = r2(e2, t2 + 148, 12), this[P2](i2), this[P2](h2, true), this[a2] = d(e2, t2 + 156, 1), this[a2] === "" && (this[a2] = "0"), this[a2] === "0" && this.path.slice(-1) === "/" && (this[a2] = "5"), this[a2] === "5" && (this.size = 0), this.linkpath = d(e2, t2 + 157, 100), e2.slice(t2 + 257, t2 + 265).toString() === "ustar\x0000") if (this.uname = d(e2, t2 + 265, 32), this.gname = d(e2, t2 + 297, 32), this.devmaj = r2(e2, t2 + 329, 8), this.devmin = r2(e2, t2 + 337, 8), e2[t2 + 475] !== 0) {
22614
+ const n2 = d(e2, t2 + 345, 155);
22446
22615
  this.path = n2 + "/" + this.path;
22447
22616
  } else {
22448
- const n2 = d2(e2, t2 + 345, 130);
22617
+ const n2 = d(e2, t2 + 345, 130);
22449
22618
  n2 && (this.path = n2 + "/" + this.path), this.atime = o2(e2, t2 + 476, 12), this.ctime = o2(e2, t2 + 488, 12);
22450
22619
  }
22451
22620
  let l2 = 8 * 32;
@@ -22490,7 +22659,7 @@ ${p2}`;
22490
22659
  l2 || (l2 = [s2.slice(0, 99), "", true]);
22491
22660
  }
22492
22661
  return l2;
22493
- }, d2 = (s2, e2, t2) => s2.slice(e2, e2 + t2).toString("utf8").replace(/\0.*/, ""), o2 = (s2, e2, t2) => N2(r2(s2, e2, t2)), N2 = (s2) => s2 === null ? null : new Date(s2 * 1e3), r2 = (s2, e2, t2) => s2[e2] & 128 ? y2.parse(s2.slice(e2, e2 + t2)) : j2(s2, e2, t2), q2 = (s2) => isNaN(s2) ? null : s2, j2 = (s2, e2, t2) => q2(parseInt(s2.slice(e2, e2 + t2).toString("utf8").replace(/\0.*$/, "").trim(), 8)), v2 = { 12: 8589934591, 8: 2097151 }, c2 = (s2, e2, t2, i2) => i2 === null ? false : i2 > v2[t2] || i2 < 0 ? (y2.encode(i2, s2.slice(e2, e2 + t2)), true) : ($2(s2, e2, t2, i2), false), $2 = (s2, e2, t2, i2) => s2.write(_2(i2, t2), e2, t2, "ascii"), _2 = (s2, e2) => z2(Math.floor(s2).toString(8), e2), z2 = (s2, e2) => (s2.length === e2 - 1 ? s2 : new Array(e2 - s2.length - 1).join("0") + s2 + " ") + "\0", g2 = (s2, e2, t2, i2) => i2 === null ? false : c2(s2, e2, t2, i2.getTime() / 1e3), A2 = new Array(156).join("\0"), m2 = (s2, e2, t2, i2) => i2 === null ? false : (s2.write(i2 + A2, e2, t2, "utf8"), i2.length !== Buffer.byteLength(i2) || i2.length > t2);
22662
+ }, d = (s2, e2, t2) => s2.slice(e2, e2 + t2).toString("utf8").replace(/\0.*/, ""), o2 = (s2, e2, t2) => N2(r2(s2, e2, t2)), N2 = (s2) => s2 === null ? null : new Date(s2 * 1e3), r2 = (s2, e2, t2) => s2[e2] & 128 ? y2.parse(s2.slice(e2, e2 + t2)) : j2(s2, e2, t2), q2 = (s2) => isNaN(s2) ? null : s2, j2 = (s2, e2, t2) => q2(parseInt(s2.slice(e2, e2 + t2).toString("utf8").replace(/\0.*$/, "").trim(), 8)), v2 = { 12: 8589934591, 8: 2097151 }, c2 = (s2, e2, t2, i2) => i2 === null ? false : i2 > v2[t2] || i2 < 0 ? (y2.encode(i2, s2.slice(e2, e2 + t2)), true) : ($2(s2, e2, t2, i2), false), $2 = (s2, e2, t2, i2) => s2.write(_2(i2, t2), e2, t2, "ascii"), _2 = (s2, e2) => z2(Math.floor(s2).toString(8), e2), z2 = (s2, e2) => (s2.length === e2 - 1 ? s2 : new Array(e2 - s2.length - 1).join("0") + s2 + " ") + "\0", g2 = (s2, e2, t2, i2) => i2 === null ? false : c2(s2, e2, t2, i2.getTime() / 1e3), A2 = new Array(156).join("\0"), m2 = (s2, e2, t2, i2) => i2 === null ? false : (s2.write(i2 + A2, e2, t2, "utf8"), i2.length !== Buffer.byteLength(i2) || i2.length > t2);
22494
22663
  return k = B2, k;
22495
22664
  }
22496
22665
  var e$3, t$3;
@@ -22640,7 +22809,7 @@ ${p2}`;
22640
22809
  function ft() {
22641
22810
  if (X$1) return s$5;
22642
22811
  X$1 = 1;
22643
- const H2 = typeof process == "object" && process ? process : { stdout: null, stderr: null }, Z2 = nt, q2 = ot, G2 = ht$1.StringDecoder, m2 = Symbol("EOF"), d2 = Symbol("maybeEmitEnd"), y2 = Symbol("emittedEnd"), R2 = Symbol("emittingEnd"), g2 = Symbol("emittedError"), B2 = Symbol("closed"), Y2 = Symbol("read"), T2 = Symbol("flush"), $2 = Symbol("flushChunk"), f2 = Symbol("encoding"), c2 = Symbol("decoder"), M2 = Symbol("flowing"), S2 = Symbol("paused"), b2 = Symbol("resume"), i2 = Symbol("buffer"), a2 = Symbol("pipes"), n2 = Symbol("bufferLength"), j2 = Symbol("bufferPush"), I2 = Symbol("bufferShift"), o2 = Symbol("objectMode"), r2 = Symbol("destroyed"), P2 = Symbol("error"), x2 = Symbol("emitData"), V2 = Symbol("emitEnd"), N2 = Symbol("emitEnd2"), p2 = Symbol("async"), _2 = Symbol("abort"), O2 = Symbol("aborted"), E2 = Symbol("signal"), w2 = (h2) => Promise.resolve().then(h2), J2 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", K2 = J2 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), W2 = J2 && Symbol.iterator || Symbol("iterator not implemented"), k2 = (h2) => h2 === "end" || h2 === "finish" || h2 === "prefinish", tt2 = (h2) => h2 instanceof ArrayBuffer || typeof h2 == "object" && h2.constructor && h2.constructor.name === "ArrayBuffer" && h2.byteLength >= 0, et2 = (h2) => !Buffer.isBuffer(h2) && ArrayBuffer.isView(h2);
22812
+ const H2 = typeof process == "object" && process ? process : { stdout: null, stderr: null }, Z2 = nt, q2 = ot, G2 = ht$1.StringDecoder, m2 = Symbol("EOF"), d = Symbol("maybeEmitEnd"), y2 = Symbol("emittedEnd"), R2 = Symbol("emittingEnd"), g2 = Symbol("emittedError"), B2 = Symbol("closed"), Y2 = Symbol("read"), T2 = Symbol("flush"), $2 = Symbol("flushChunk"), f2 = Symbol("encoding"), c2 = Symbol("decoder"), M2 = Symbol("flowing"), S2 = Symbol("paused"), b2 = Symbol("resume"), i2 = Symbol("buffer"), a2 = Symbol("pipes"), n2 = Symbol("bufferLength"), j2 = Symbol("bufferPush"), I2 = Symbol("bufferShift"), o2 = Symbol("objectMode"), r2 = Symbol("destroyed"), P2 = Symbol("error"), x2 = Symbol("emitData"), V2 = Symbol("emitEnd"), N2 = Symbol("emitEnd2"), p2 = Symbol("async"), _2 = Symbol("abort"), O2 = Symbol("aborted"), E2 = Symbol("signal"), w2 = (h2) => Promise.resolve().then(h2), J2 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", K2 = J2 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), W2 = J2 && Symbol.iterator || Symbol("iterator not implemented"), k2 = (h2) => h2 === "end" || h2 === "finish" || h2 === "prefinish", tt2 = (h2) => h2 instanceof ArrayBuffer || typeof h2 == "object" && h2.constructor && h2.constructor.name === "ArrayBuffer" && h2.byteLength >= 0, et2 = (h2) => !Buffer.isBuffer(h2) && ArrayBuffer.isView(h2);
22644
22813
  class z2 {
22645
22814
  constructor(t2, e2, s2) {
22646
22815
  this.src = t2, this.dest = e2, this.opts = s2, this.ondrain = () => t2[b2](), e2.on("drain", this.ondrain);
@@ -22710,19 +22879,19 @@ ${p2}`;
22710
22879
  }
22711
22880
  read(t2) {
22712
22881
  if (this[r2]) return null;
22713
- if (this[n2] === 0 || t2 === 0 || t2 > this[n2]) return this[d2](), null;
22882
+ if (this[n2] === 0 || t2 === 0 || t2 > this[n2]) return this[d](), null;
22714
22883
  this[o2] && (t2 = null), this[i2].length > 1 && !this[o2] && (this.encoding ? this[i2] = [this[i2].join("")] : this[i2] = [Buffer.concat(this[i2], this[n2])]);
22715
22884
  const e2 = this[Y2](t2 || null, this[i2][0]);
22716
- return this[d2](), e2;
22885
+ return this[d](), e2;
22717
22886
  }
22718
22887
  [Y2](t2, e2) {
22719
22888
  return t2 === e2.length || t2 === null ? this[I2]() : (this[i2][0] = e2.slice(t2), e2 = e2.slice(0, t2), this[n2] -= t2), this.emit("data", e2), !this[i2].length && !this[m2] && this.emit("drain"), e2;
22720
22889
  }
22721
22890
  end(t2, e2, s2) {
22722
- return typeof t2 == "function" && (s2 = t2, t2 = null), typeof e2 == "function" && (s2 = e2, e2 = "utf8"), t2 && this.write(t2, e2), s2 && this.once("end", s2), this[m2] = true, this.writable = false, (this.flowing || !this[S2]) && this[d2](), this;
22891
+ return typeof t2 == "function" && (s2 = t2, t2 = null), typeof e2 == "function" && (s2 = e2, e2 = "utf8"), t2 && this.write(t2, e2), s2 && this.once("end", s2), this[m2] = true, this.writable = false, (this.flowing || !this[S2]) && this[d](), this;
22723
22892
  }
22724
22893
  [b2]() {
22725
- this[r2] || (this[S2] = false, this[M2] = true, this.emit("resume"), this[i2].length ? this[T2]() : this[m2] ? this[d2]() : this.emit("drain"));
22894
+ this[r2] || (this[S2] = false, this[M2] = true, this.emit("resume"), this[i2].length ? this[T2]() : this[m2] ? this[d]() : this.emit("drain"));
22726
22895
  }
22727
22896
  resume() {
22728
22897
  return this[b2]();
@@ -22773,7 +22942,7 @@ ${p2}`;
22773
22942
  get emittedEnd() {
22774
22943
  return this[y2];
22775
22944
  }
22776
- [d2]() {
22945
+ [d]() {
22777
22946
  !this[R2] && !this[y2] && !this[r2] && this[i2].length === 0 && this[m2] && (this[R2] = true, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[B2] && this.emit("close"), this[R2] = false);
22778
22947
  }
22779
22948
  emit(t2, e2, ...s2) {
@@ -22787,21 +22956,21 @@ ${p2}`;
22787
22956
  } else if (t2 === "error") {
22788
22957
  this[g2] = e2, super.emit(P2, e2);
22789
22958
  const u2 = !this[E2] || this.listeners("error").length ? super.emit("error", e2) : false;
22790
- return this[d2](), u2;
22959
+ return this[d](), u2;
22791
22960
  } else if (t2 === "resume") {
22792
22961
  const u2 = super.emit("resume");
22793
- return this[d2](), u2;
22962
+ return this[d](), u2;
22794
22963
  } else if (t2 === "finish" || t2 === "prefinish") {
22795
22964
  const u2 = super.emit(t2);
22796
22965
  return this.removeAllListeners(t2), u2;
22797
22966
  }
22798
22967
  const l2 = super.emit(t2, e2, ...s2);
22799
- return this[d2](), l2;
22968
+ return this[d](), l2;
22800
22969
  }
22801
22970
  [x2](t2) {
22802
22971
  for (const s2 of this[a2]) s2.dest.write(t2) === false && this.pause();
22803
22972
  const e2 = super.emit("data", t2);
22804
- return this[d2](), e2;
22973
+ return this[d](), e2;
22805
22974
  }
22806
22975
  [V2]() {
22807
22976
  this[y2] || (this[y2] = true, this.readable = false, this[p2] ? w2(() => this[N2]()) : this[N2]());
@@ -22928,7 +23097,7 @@ ${p2}`;
22928
23097
  function f$2() {
22929
23098
  if (a$5) return r$2;
22930
23099
  a$5 = 1;
22931
- const c2 = E(), d2 = sysPath;
23100
+ const c2 = E(), d = sysPath;
22932
23101
  class h2 {
22933
23102
  constructor(e2, n2) {
22934
23103
  this.atime = e2.atime || null, this.charset = e2.charset || null, this.comment = e2.comment || null, this.ctime = e2.ctime || null, this.gid = e2.gid || null, this.gname = e2.gname || null, this.linkpath = e2.linkpath || null, this.mtime = e2.mtime || null, this.path = e2.path || null, this.size = e2.size || null, this.uid = e2.uid || null, this.uname = e2.uname || null, this.dev = e2.dev || null, this.ino = e2.ino || null, this.nlink = e2.nlink || null, this.global = n2 || false;
@@ -22938,7 +23107,7 @@ ${p2}`;
22938
23107
  if (e2 === "") return null;
22939
23108
  const n2 = Buffer.byteLength(e2), l2 = 512 * Math.ceil(1 + n2 / 512), i2 = Buffer.allocUnsafe(l2);
22940
23109
  for (let t2 = 0; t2 < 512; t2++) i2[t2] = 0;
22941
- new c2({ path: ("PaxHeader/" + d2.basename(this.path)).slice(0, 99), mode: this.mode || 420, uid: this.uid || null, gid: this.gid || null, size: n2, mtime: this.mtime || null, type: this.global ? "GlobalExtendedHeader" : "ExtendedHeader", linkpath: "", uname: this.uname || "", gname: this.gname || "", devmaj: 0, devmin: 0, atime: this.atime || null, ctime: this.ctime || null }).encode(i2), i2.write(e2, 512, n2, "utf8");
23110
+ new c2({ path: ("PaxHeader/" + d.basename(this.path)).slice(0, 99), mode: this.mode || 420, uid: this.uid || null, gid: this.gid || null, size: n2, mtime: this.mtime || null, type: this.global ? "GlobalExtendedHeader" : "ExtendedHeader", linkpath: "", uname: this.uname || "", gname: this.gname || "", devmaj: 0, devmin: 0, atime: this.atime || null, ctime: this.ctime || null }).encode(i2), i2.write(e2, 512, n2, "utf8");
22942
23111
  for (let t2 = n2 + 512; t2 < i2.length; t2++) i2[t2] = 0;
22943
23112
  return i2;
22944
23113
  }
@@ -22978,7 +23147,7 @@ ${p2}`;
22978
23147
  function tt() {
22979
23148
  if (H$1) return j;
22980
23149
  H$1 = 1;
22981
- const I2 = typeof process == "object" && process ? process : { stdout: null, stderr: null }, Y2 = nt, x2 = ot, N2 = ht$1.StringDecoder, u2 = Symbol("EOF"), a2 = Symbol("maybeEmitEnd"), c2 = Symbol("emittedEnd"), S2 = Symbol("emittingEnd"), E2 = Symbol("emittedError"), w2 = Symbol("closed"), P2 = Symbol("read"), L2 = Symbol("flush"), _2 = Symbol("flushChunk"), h2 = Symbol("encoding"), m2 = Symbol("decoder"), M2 = Symbol("flowing"), y2 = Symbol("paused"), p2 = Symbol("resume"), s2 = Symbol("bufferLength"), T2 = Symbol("bufferPush"), B2 = Symbol("bufferShift"), r2 = Symbol("objectMode"), n2 = Symbol("destroyed"), D2 = Symbol("emitData"), F2 = Symbol("emitEnd"), R2 = Symbol("emitEnd2"), d2 = Symbol("async"), b2 = (o2) => Promise.resolve().then(o2), C2 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", $2 = C2 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), G2 = C2 && Symbol.iterator || Symbol("iterator not implemented"), V2 = (o2) => o2 === "end" || o2 === "finish" || o2 === "prefinish", v2 = (o2) => o2 instanceof ArrayBuffer || typeof o2 == "object" && o2.constructor && o2.constructor.name === "ArrayBuffer" && o2.byteLength >= 0, J2 = (o2) => !Buffer.isBuffer(o2) && ArrayBuffer.isView(o2);
23150
+ const I2 = typeof process == "object" && process ? process : { stdout: null, stderr: null }, Y2 = nt, x2 = ot, N2 = ht$1.StringDecoder, u2 = Symbol("EOF"), a2 = Symbol("maybeEmitEnd"), c2 = Symbol("emittedEnd"), S2 = Symbol("emittingEnd"), E2 = Symbol("emittedError"), w2 = Symbol("closed"), P2 = Symbol("read"), L2 = Symbol("flush"), _2 = Symbol("flushChunk"), h2 = Symbol("encoding"), m2 = Symbol("decoder"), M2 = Symbol("flowing"), y2 = Symbol("paused"), p2 = Symbol("resume"), s2 = Symbol("bufferLength"), T2 = Symbol("bufferPush"), B2 = Symbol("bufferShift"), r2 = Symbol("objectMode"), n2 = Symbol("destroyed"), D2 = Symbol("emitData"), F2 = Symbol("emitEnd"), R2 = Symbol("emitEnd2"), d = Symbol("async"), b2 = (o2) => Promise.resolve().then(o2), C2 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", $2 = C2 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), G2 = C2 && Symbol.iterator || Symbol("iterator not implemented"), V2 = (o2) => o2 === "end" || o2 === "finish" || o2 === "prefinish", v2 = (o2) => o2 instanceof ArrayBuffer || typeof o2 == "object" && o2.constructor && o2.constructor.name === "ArrayBuffer" && o2.byteLength >= 0, J2 = (o2) => !Buffer.isBuffer(o2) && ArrayBuffer.isView(o2);
22982
23151
  class U2 {
22983
23152
  constructor(t2, e2, i2) {
22984
23153
  this.src = t2, this.dest = e2, this.opts = i2, this.ondrain = () => t2[p2](), e2.on("drain", this.ondrain);
@@ -23002,7 +23171,7 @@ ${p2}`;
23002
23171
  }
23003
23172
  return j = class q2 extends x2 {
23004
23173
  constructor(t2) {
23005
- super(), this[M2] = false, this[y2] = false, this.pipes = [], this.buffer = [], this[r2] = t2 && t2.objectMode || false, this[r2] ? this[h2] = null : this[h2] = t2 && t2.encoding || null, this[h2] === "buffer" && (this[h2] = null), this[d2] = t2 && !!t2.async || false, this[m2] = this[h2] ? new N2(this[h2]) : null, this[u2] = false, this[c2] = false, this[S2] = false, this[w2] = false, this[E2] = null, this.writable = true, this.readable = true, this[s2] = 0, this[n2] = false;
23174
+ super(), this[M2] = false, this[y2] = false, this.pipes = [], this.buffer = [], this[r2] = t2 && t2.objectMode || false, this[r2] ? this[h2] = null : this[h2] = t2 && t2.encoding || null, this[h2] === "buffer" && (this[h2] = null), this[d] = t2 && !!t2.async || false, this[m2] = this[h2] ? new N2(this[h2]) : null, this[u2] = false, this[c2] = false, this[S2] = false, this[w2] = false, this[E2] = null, this.writable = true, this.readable = true, this[s2] = 0, this[n2] = false;
23006
23175
  }
23007
23176
  get bufferLength() {
23008
23177
  return this[s2];
@@ -23025,16 +23194,16 @@ ${p2}`;
23025
23194
  this[r2] = this[r2] || !!t2;
23026
23195
  }
23027
23196
  get async() {
23028
- return this[d2];
23197
+ return this[d];
23029
23198
  }
23030
23199
  set async(t2) {
23031
- this[d2] = this[d2] || !!t2;
23200
+ this[d] = this[d] || !!t2;
23032
23201
  }
23033
23202
  write(t2, e2, i2) {
23034
23203
  if (this[u2]) throw new Error("write after end");
23035
23204
  if (this[n2]) return this.emit("error", Object.assign(new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), true;
23036
23205
  typeof e2 == "function" && (i2 = e2, e2 = "utf8"), e2 || (e2 = "utf8");
23037
- const l2 = this[d2] ? b2 : (f2) => f2();
23206
+ const l2 = this[d] ? b2 : (f2) => f2();
23038
23207
  return !this[r2] && !Buffer.isBuffer(t2) && (J2(t2) ? t2 = Buffer.from(t2.buffer, t2.byteOffset, t2.byteLength) : v2(t2) ? t2 = Buffer.from(t2) : typeof t2 != "string" && (this.objectMode = true)), this[r2] ? (this.flowing && this[s2] !== 0 && this[L2](true), this.flowing ? this.emit("data", t2) : this[T2](t2), this[s2] !== 0 && this.emit("readable"), i2 && l2(i2), this.flowing) : t2.length ? (typeof t2 == "string" && !(e2 === this[h2] && !this[m2].lastNeed) && (t2 = Buffer.from(t2, e2)), Buffer.isBuffer(t2) && this[h2] && (t2 = this[m2].write(t2)), this.flowing && this[s2] !== 0 && this[L2](true), this.flowing ? this.emit("data", t2) : this[T2](t2), this[s2] !== 0 && this.emit("readable"), i2 && l2(i2), this.flowing) : (this[s2] !== 0 && this.emit("readable"), i2 && l2(i2), this.flowing);
23039
23208
  }
23040
23209
  read(t2) {
@@ -23086,7 +23255,7 @@ ${p2}`;
23086
23255
  pipe(t2, e2) {
23087
23256
  if (this[n2]) return;
23088
23257
  const i2 = this[c2];
23089
- return e2 = e2 || {}, t2 === I2.stdout || t2 === I2.stderr ? e2.end = false : e2.end = e2.end !== false, e2.proxyErrors = !!e2.proxyErrors, i2 ? e2.end && t2.end() : (this.pipes.push(e2.proxyErrors ? new K2(this, t2, e2) : new U2(this, t2, e2)), this[d2] ? b2(() => this[p2]()) : this[p2]()), t2;
23258
+ return e2 = e2 || {}, t2 === I2.stdout || t2 === I2.stderr ? e2.end = false : e2.end = e2.end !== false, e2.proxyErrors = !!e2.proxyErrors, i2 ? e2.end && t2.end() : (this.pipes.push(e2.proxyErrors ? new K2(this, t2, e2) : new U2(this, t2, e2)), this[d] ? b2(() => this[p2]()) : this[p2]()), t2;
23090
23259
  }
23091
23260
  unpipe(t2) {
23092
23261
  const e2 = this.pipes.find((i2) => i2.dest === t2);
@@ -23097,7 +23266,7 @@ ${p2}`;
23097
23266
  }
23098
23267
  on(t2, e2) {
23099
23268
  const i2 = super.on(t2, e2);
23100
- return t2 === "data" && !this.pipes.length && !this.flowing ? this[p2]() : t2 === "readable" && this[s2] !== 0 ? super.emit("readable") : V2(t2) && this[c2] ? (super.emit(t2), this.removeAllListeners(t2)) : t2 === "error" && this[E2] && (this[d2] ? b2(() => e2.call(this, this[E2])) : e2.call(this, this[E2])), i2;
23269
+ return t2 === "data" && !this.pipes.length && !this.flowing ? this[p2]() : t2 === "readable" && this[s2] !== 0 ? super.emit("readable") : V2(t2) && this[c2] ? (super.emit(t2), this.removeAllListeners(t2)) : t2 === "error" && this[E2] && (this[d] ? b2(() => e2.call(this, this[E2])) : e2.call(this, this[E2])), i2;
23101
23270
  }
23102
23271
  get emittedEnd() {
23103
23272
  return this[c2];
@@ -23107,7 +23276,7 @@ ${p2}`;
23107
23276
  }
23108
23277
  emit(t2, e2, ...i2) {
23109
23278
  if (t2 !== "error" && t2 !== "close" && t2 !== n2 && this[n2]) return;
23110
- if (t2 === "data") return e2 ? this[d2] ? b2(() => this[D2](e2)) : this[D2](e2) : false;
23279
+ if (t2 === "data") return e2 ? this[d] ? b2(() => this[D2](e2)) : this[D2](e2) : false;
23111
23280
  if (t2 === "end") return this[F2]();
23112
23281
  if (t2 === "close") {
23113
23282
  if (this[w2] = true, !this[c2] && !this[n2]) return;
@@ -23133,7 +23302,7 @@ ${p2}`;
23133
23302
  return this[a2](), e2;
23134
23303
  }
23135
23304
  [F2]() {
23136
- this[c2] || (this[c2] = true, this.readable = false, this[d2] ? b2(() => this[R2]()) : this[R2]());
23305
+ this[c2] || (this[c2] = true, this.readable = false, this[d] ? b2(() => this[R2]()) : this[R2]());
23137
23306
  }
23138
23307
  [R2]() {
23139
23308
  if (this[m2]) {
@@ -23199,8 +23368,8 @@ ${p2}`;
23199
23368
  function J() {
23200
23369
  if (C) return i$3;
23201
23370
  C = 1;
23202
- const w2 = j$1$1, n2 = P$2.Buffer, z2 = O$2$1, u2 = i$3.constants = T(), L2 = tt(), E2 = n2.concat, c2 = Symbol("_superWrite");
23203
- class d2 extends Error {
23371
+ const w2 = j$1$1, n2 = P$3.Buffer, z2 = O$2$1, u2 = i$3.constants = T(), L2 = tt(), E2 = n2.concat, c2 = Symbol("_superWrite");
23372
+ class d extends Error {
23204
23373
  constructor(s2) {
23205
23374
  super("zlib: " + s2.message), this.code = s2.code, this.errno = s2.errno, this.code || (this.code = "ZLIB_ERROR"), this.message = "zlib: " + s2.message, Error.captureStackTrace(this, this.constructor);
23206
23375
  }
@@ -23216,11 +23385,11 @@ ${p2}`;
23216
23385
  try {
23217
23386
  this[t2] = new z2[e2](s2);
23218
23387
  } catch (i2) {
23219
- throw new d2(i2);
23388
+ throw new d(i2);
23220
23389
  }
23221
23390
  this[_2] = (i2) => {
23222
23391
  this[f2] || (this[f2] = true, this.close(), this.emit("error", i2));
23223
- }, this[t2].on("error", (i2) => this[_2](new d2(i2))), this.once("end", () => this.close);
23392
+ }, this[t2].on("error", (i2) => this[_2](new d(i2))), this.once("end", () => this.close);
23224
23393
  }
23225
23394
  close() {
23226
23395
  this[t2] && (this[t2].close(), this[t2] = null, this.emit("close"));
@@ -23251,11 +23420,11 @@ ${p2}`;
23251
23420
  const l2 = typeof s2[p2] == "number" ? s2[p2] : this[p2];
23252
23421
  h2 = this[t2]._processChunk(s2, l2), n2.concat = E2;
23253
23422
  } catch (l2) {
23254
- n2.concat = E2, this[_2](new d2(l2));
23423
+ n2.concat = E2, this[_2](new d(l2));
23255
23424
  } finally {
23256
23425
  this[t2] && (this[t2]._handle = m2, m2.close = R2, this[t2].close = G2, this[t2].removeAllListeners("error"));
23257
23426
  }
23258
- this[t2] && this[t2].on("error", (l2) => this[_2](new d2(l2)));
23427
+ this[t2] && this[t2].on("error", (l2) => this[_2](new d(l2)));
23259
23428
  let b2;
23260
23429
  if (h2) if (Array.isArray(h2) && h2.length > 0) {
23261
23430
  b2 = this[c2](n2.from(h2[0]));
@@ -23355,7 +23524,7 @@ ${p2}`;
23355
23524
  function rt() {
23356
23525
  if (F$2) return O$1;
23357
23526
  F$2 = 1;
23358
- const P2 = c$4(), $2 = E(), v2 = nt, W2 = c$3(), G2 = 1024 * 1024, k2 = u$3(), C2 = f$2(), x2 = J(), { nextTick: j2 } = nt$1, B2 = Buffer.from([31, 139]), h2 = Symbol("state"), d2 = Symbol("writeEntry"), a2 = Symbol("readEntry"), I2 = Symbol("nextEntry"), U2 = Symbol("processEntry"), l2 = Symbol("extendedHeader"), y2 = Symbol("globalExtendedHeader"), c2 = Symbol("meta"), H2 = Symbol("emitMeta"), n2 = Symbol("buffer"), f2 = Symbol("queue"), u2 = Symbol("ended"), L2 = Symbol("emittedEnd"), b2 = Symbol("emit"), r2 = Symbol("unzip"), _2 = Symbol("consumeChunk"), g2 = Symbol("consumeChunkSub"), q2 = Symbol("consumeBody"), z2 = Symbol("consumeMeta"), Y2 = Symbol("consumeHeader"), N2 = Symbol("consuming"), D2 = Symbol("bufferConcat"), M2 = Symbol("maybeEnd"), S2 = Symbol("writing"), m2 = Symbol("aborted"), T2 = Symbol("onDone"), E$12 = Symbol("sawValidEntry"), R2 = Symbol("sawNullBlock"), A2 = Symbol("sawEOF"), V2 = Symbol("closeStream"), K2 = (X2) => true;
23527
+ const P2 = c$4(), $2 = E(), v2 = nt, W2 = c$3(), G2 = 1024 * 1024, k2 = u$3(), C2 = f$2(), x2 = J(), { nextTick: j2 } = nt$1, B2 = Buffer.from([31, 139]), h2 = Symbol("state"), d = Symbol("writeEntry"), a2 = Symbol("readEntry"), I2 = Symbol("nextEntry"), U2 = Symbol("processEntry"), l2 = Symbol("extendedHeader"), y2 = Symbol("globalExtendedHeader"), c2 = Symbol("meta"), H2 = Symbol("emitMeta"), n2 = Symbol("buffer"), f2 = Symbol("queue"), u2 = Symbol("ended"), L2 = Symbol("emittedEnd"), b2 = Symbol("emit"), r2 = Symbol("unzip"), _2 = Symbol("consumeChunk"), g2 = Symbol("consumeChunkSub"), q2 = Symbol("consumeBody"), z2 = Symbol("consumeMeta"), Y2 = Symbol("consumeHeader"), N2 = Symbol("consuming"), D2 = Symbol("bufferConcat"), M2 = Symbol("maybeEnd"), S2 = Symbol("writing"), m2 = Symbol("aborted"), T2 = Symbol("onDone"), E$12 = Symbol("sawValidEntry"), R2 = Symbol("sawNullBlock"), A2 = Symbol("sawEOF"), V2 = Symbol("closeStream"), K2 = (X2) => true;
23359
23528
  return O$1 = P2(class extends v2 {
23360
23529
  constructor(t2) {
23361
23530
  t2 = t2 || {}, super(t2), this.file = t2.file || "", this[E$12] = null, this.on(T2, (s2) => {
@@ -23364,7 +23533,7 @@ ${p2}`;
23364
23533
  this.emit("prefinish"), this.emit("finish"), this.emit("end");
23365
23534
  }), this.strict = !!t2.strict, this.maxMetaEntrySize = t2.maxMetaEntrySize || G2, this.filter = typeof t2.filter == "function" ? t2.filter : K2;
23366
23535
  const i2 = t2.file && (t2.file.endsWith(".tar.br") || t2.file.endsWith(".tbr"));
23367
- this.brotli = !t2.gzip && t2.brotli !== void 0 ? t2.brotli : i2 ? void 0 : false, this.writable = true, this.readable = false, this[f2] = new W2(), this[n2] = null, this[a2] = null, this[d2] = null, this[h2] = "begin", this[c2] = "", this[l2] = null, this[y2] = null, this[u2] = false, this[r2] = null, this[m2] = false, this[R2] = false, this[A2] = false, this.on("end", () => this[V2]()), typeof t2.onwarn == "function" && this.on("warn", t2.onwarn), typeof t2.onentry == "function" && this.on("entry", t2.onentry);
23536
+ this.brotli = !t2.gzip && t2.brotli !== void 0 ? t2.brotli : i2 ? void 0 : false, this.writable = true, this.readable = false, this[f2] = new W2(), this[n2] = null, this[a2] = null, this[d] = null, this[h2] = "begin", this[c2] = "", this[l2] = null, this[y2] = null, this[u2] = false, this[r2] = null, this[m2] = false, this[R2] = false, this[A2] = false, this.on("end", () => this[V2]()), typeof t2.onwarn == "function" && this.on("warn", t2.onwarn), typeof t2.onentry == "function" && this.on("entry", t2.onentry);
23368
23537
  }
23369
23538
  [Y2](t2, i2) {
23370
23539
  this[E$12] === null && (this[E$12] = false);
@@ -23382,7 +23551,7 @@ ${p2}`;
23382
23551
  if (/^(Symbolic)?Link$/.test(o2) && !s2.linkpath) this.warn("TAR_ENTRY_INVALID", "linkpath required", { header: s2 });
23383
23552
  else if (!/^(Symbolic)?Link$/.test(o2) && s2.linkpath) this.warn("TAR_ENTRY_INVALID", "linkpath forbidden", { header: s2 });
23384
23553
  else {
23385
- const e2 = this[d2] = new k2(s2, this[l2], this[y2]);
23554
+ const e2 = this[d] = new k2(s2, this[l2], this[y2]);
23386
23555
  if (!this[E$12]) if (e2.remain) {
23387
23556
  const w2 = () => {
23388
23557
  e2.invalid || (this[E$12] = true);
@@ -23410,12 +23579,12 @@ ${p2}`;
23410
23579
  }
23411
23580
  }
23412
23581
  [q2](t2, i2) {
23413
- const s2 = this[d2], o2 = s2.blockRemain, e2 = o2 >= t2.length && i2 === 0 ? t2 : t2.slice(i2, i2 + o2);
23414
- return s2.write(e2), s2.blockRemain || (this[h2] = "header", this[d2] = null, s2.end()), e2.length;
23582
+ const s2 = this[d], o2 = s2.blockRemain, e2 = o2 >= t2.length && i2 === 0 ? t2 : t2.slice(i2, i2 + o2);
23583
+ return s2.write(e2), s2.blockRemain || (this[h2] = "header", this[d] = null, s2.end()), e2.length;
23415
23584
  }
23416
23585
  [z2](t2, i2) {
23417
- const s2 = this[d2], o2 = this[q2](t2, i2);
23418
- return this[d2] || this[H2](s2), o2;
23586
+ const s2 = this[d], o2 = this[q2](t2, i2);
23587
+ return this[d] || this[H2](s2), o2;
23419
23588
  }
23420
23589
  [b2](t2, i2, s2) {
23421
23590
  !this[f2].length && !this[a2] ? this.emit(t2, i2, s2) : this[f2].push([t2, i2, s2]);
@@ -23475,7 +23644,7 @@ ${p2}`;
23475
23644
  [M2]() {
23476
23645
  if (this[u2] && !this[L2] && !this[m2] && !this[N2]) {
23477
23646
  this[L2] = true;
23478
- const t2 = this[d2];
23647
+ const t2 = this[d];
23479
23648
  if (t2 && t2.blockRemain) {
23480
23649
  const i2 = this[n2] ? this[n2].length : 0;
23481
23650
  this.warn("TAR_BAD_ARCHIVE", `Truncated input (needed ${t2.blockRemain} more bytes, only ${i2} available)`, { entry: t2 }), this[n2] && t2.write(this[n2]), t2.end();
@@ -23530,7 +23699,7 @@ ${p2}`;
23530
23699
  function X() {
23531
23700
  if (v$1) return s$4;
23532
23701
  v$1 = 1;
23533
- const H2 = tt(), I2 = nt.EventEmitter, r2 = V$4;
23702
+ const H2 = tt(), I2 = nt.EventEmitter, r2 = V$3;
23534
23703
  let R2 = r2.writev;
23535
23704
  if (!R2) {
23536
23705
  const c2 = process.binding("fs"), t2 = c2.FSReqWrap || c2.FSReqCallback;
@@ -23539,7 +23708,7 @@ ${p2}`;
23539
23708
  j2.oncomplete = G2, c2.writeBuffers(e2, i2, $2, j2);
23540
23709
  };
23541
23710
  }
23542
- const m2 = Symbol("_autoClose"), h2 = Symbol("_close"), g2 = Symbol("_ended"), s2 = Symbol("_fd"), B2 = Symbol("_finished"), o2 = Symbol("_flags"), x2 = Symbol("_flush"), z2 = Symbol("_handleChunk"), T2 = Symbol("_makeBuf"), q2 = Symbol("_mode"), E2 = Symbol("_needDrain"), d2 = Symbol("_onerror"), y2 = Symbol("_onopen"), W2 = Symbol("_onread"), _2 = Symbol("_onwrite"), a2 = Symbol("_open"), l2 = Symbol("_path"), u2 = Symbol("_pos"), n2 = Symbol("_queue"), S2 = Symbol("_read"), M2 = Symbol("_readSize"), f2 = Symbol("_reading"), k2 = Symbol("_remain"), N2 = Symbol("_size"), C2 = Symbol("_write"), b2 = Symbol("_writing"), F2 = Symbol("_defaultFlag"), p2 = Symbol("_errored");
23711
+ const m2 = Symbol("_autoClose"), h2 = Symbol("_close"), g2 = Symbol("_ended"), s2 = Symbol("_fd"), B2 = Symbol("_finished"), o2 = Symbol("_flags"), x2 = Symbol("_flush"), z2 = Symbol("_handleChunk"), T2 = Symbol("_makeBuf"), q2 = Symbol("_mode"), E2 = Symbol("_needDrain"), d = Symbol("_onerror"), y2 = Symbol("_onopen"), W2 = Symbol("_onread"), _2 = Symbol("_onwrite"), a2 = Symbol("_open"), l2 = Symbol("_path"), u2 = Symbol("_pos"), n2 = Symbol("_queue"), S2 = Symbol("_read"), M2 = Symbol("_readSize"), f2 = Symbol("_reading"), k2 = Symbol("_remain"), N2 = Symbol("_size"), C2 = Symbol("_write"), b2 = Symbol("_writing"), F2 = Symbol("_defaultFlag"), p2 = Symbol("_errored");
23543
23712
  class D2 extends H2 {
23544
23713
  constructor(t2, e2) {
23545
23714
  if (e2 = e2 || {}, super(e2), this.readable = true, this.writable = false, typeof t2 != "string") throw new TypeError("path must be a string");
@@ -23561,7 +23730,7 @@ ${p2}`;
23561
23730
  r2.open(this[l2], "r", (t2, e2) => this[y2](t2, e2));
23562
23731
  }
23563
23732
  [y2](t2, e2) {
23564
- t2 ? this[d2](t2) : (this[s2] = e2, this.emit("open", e2), this[S2]());
23733
+ t2 ? this[d](t2) : (this[s2] = e2, this.emit("open", e2), this[S2]());
23565
23734
  }
23566
23735
  [T2]() {
23567
23736
  return Buffer.allocUnsafe(Math.min(this[M2], this[k2]));
@@ -23575,7 +23744,7 @@ ${p2}`;
23575
23744
  }
23576
23745
  }
23577
23746
  [W2](t2, e2, i2) {
23578
- this[f2] = false, t2 ? this[d2](t2) : this[z2](e2, i2) && this[S2]();
23747
+ this[f2] = false, t2 ? this[d](t2) : this[z2](e2, i2) && this[S2]();
23579
23748
  }
23580
23749
  [h2]() {
23581
23750
  if (this[m2] && typeof this[s2] == "number") {
@@ -23583,7 +23752,7 @@ ${p2}`;
23583
23752
  this[s2] = null, r2.close(t2, (e2) => e2 ? this.emit("error", e2) : this.emit("close"));
23584
23753
  }
23585
23754
  }
23586
- [d2](t2) {
23755
+ [d](t2) {
23587
23756
  this[f2] = true, this[h2](), this.emit("error", t2);
23588
23757
  }
23589
23758
  [z2](t2, e2) {
@@ -23656,14 +23825,14 @@ ${p2}`;
23656
23825
  get path() {
23657
23826
  return this[l2];
23658
23827
  }
23659
- [d2](t2) {
23828
+ [d](t2) {
23660
23829
  this[h2](), this[b2] = true, this.emit("error", t2);
23661
23830
  }
23662
23831
  [a2]() {
23663
23832
  r2.open(this[l2], this[o2], this[q2], (t2, e2) => this[y2](t2, e2));
23664
23833
  }
23665
23834
  [y2](t2, e2) {
23666
- this[F2] && this[o2] === "r+" && t2 && t2.code === "ENOENT" ? (this[o2] = "w", this[a2]()) : t2 ? this[d2](t2) : (this[s2] = e2, this.emit("open", e2), this[x2]());
23835
+ this[F2] && this[o2] === "r+" && t2 && t2.code === "ENOENT" ? (this[o2] = "w", this[a2]()) : t2 ? this[d](t2) : (this[s2] = e2, this.emit("open", e2), this[x2]());
23667
23836
  }
23668
23837
  end(t2, e2) {
23669
23838
  return t2 && this.write(t2, e2), this[g2] = true, !this[b2] && !this[n2].length && typeof this[s2] == "number" && this[_2](null, 0), this;
@@ -23675,7 +23844,7 @@ ${p2}`;
23675
23844
  r2.write(this[s2], t2, 0, t2.length, this[u2], (e2, i2) => this[_2](e2, i2));
23676
23845
  }
23677
23846
  [_2](t2, e2) {
23678
- t2 ? this[d2](t2) : (this[u2] !== null && (this[u2] += e2), this[n2].length ? this[x2]() : (this[b2] = false, this[g2] && !this[B2] ? (this[B2] = true, this[h2](), this.emit("finish")) : this[E2] && (this[E2] = false, this.emit("drain"))));
23847
+ t2 ? this[d](t2) : (this[u2] !== null && (this[u2] += e2), this[n2].length ? this[x2]() : (this[b2] = false, this[g2] && !this[B2] ? (this[B2] = true, this[h2](), this.emit("finish")) : this[E2] && (this[E2] = false, this.emit("drain"))));
23679
23848
  }
23680
23849
  [x2]() {
23681
23850
  if (this[n2].length === 0) this[g2] && this[_2](null, 0);
@@ -23729,7 +23898,7 @@ ${p2}`;
23729
23898
  function t$2() {
23730
23899
  if (m$2) return i$2;
23731
23900
  m$2 = 1;
23732
- const { promisify: n2 } = require$$33, e2 = V$4;
23901
+ const { promisify: n2 } = require$$33, e2 = V$3;
23733
23902
  return i$2 = (r2) => {
23734
23903
  if (!r2) r2 = { mode: 511, fs: e2 };
23735
23904
  else if (typeof r2 == "object") r2 = { mode: 511, fs: e2, ...r2 };
@@ -23757,11 +23926,11 @@ ${p2}`;
23757
23926
  function t() {
23758
23927
  if (c$2) return i$1;
23759
23928
  c$2 = 1;
23760
- const { dirname: u2 } = sysPath, f2 = (r2, e2, n2 = void 0) => n2 === e2 ? Promise.resolve() : r2.statAsync(e2).then((d2) => d2.isDirectory() ? n2 : void 0, (d2) => d2.code === "ENOENT" ? f2(r2, u2(e2), e2) : void 0), o2 = (r2, e2, n2 = void 0) => {
23929
+ const { dirname: u2 } = sysPath, f2 = (r2, e2, n2 = void 0) => n2 === e2 ? Promise.resolve() : r2.statAsync(e2).then((d) => d.isDirectory() ? n2 : void 0, (d) => d.code === "ENOENT" ? f2(r2, u2(e2), e2) : void 0), o2 = (r2, e2, n2 = void 0) => {
23761
23930
  if (n2 !== e2) try {
23762
23931
  return r2.statSync(e2).isDirectory() ? n2 : void 0;
23763
- } catch (d2) {
23764
- return d2.code === "ENOENT" ? o2(r2, u2(e2), e2) : void 0;
23932
+ } catch (d) {
23933
+ return d.code === "ENOENT" ? o2(r2, u2(e2), e2) : void 0;
23765
23934
  }
23766
23935
  };
23767
23936
  return i$1 = { findMade: f2, findMadeSync: o2 }, i$1;
@@ -23785,7 +23954,7 @@ ${p2}`;
23785
23954
  throw r2;
23786
23955
  });
23787
23956
  });
23788
- }, d2 = (n2, e2, c2) => {
23957
+ }, d = (n2, e2, c2) => {
23789
23958
  const i2 = f2(n2);
23790
23959
  if (e2.recursive = false, i2 === n2) try {
23791
23960
  return e2.mkdirSync(n2, e2);
@@ -23796,7 +23965,7 @@ ${p2}`;
23796
23965
  try {
23797
23966
  return e2.mkdirSync(n2, e2), c2 || n2;
23798
23967
  } catch (r2) {
23799
- if (r2.code === "ENOENT") return d2(n2, e2, d2(i2, e2, c2));
23968
+ if (r2.code === "ENOENT") return d(n2, e2, d(i2, e2, c2));
23800
23969
  if (r2.code !== "EEXIST" && r2.code !== "EROFS") throw r2;
23801
23970
  try {
23802
23971
  if (!e2.statSync(n2).isDirectory()) throw r2;
@@ -23805,14 +23974,14 @@ ${p2}`;
23805
23974
  }
23806
23975
  }
23807
23976
  };
23808
- return o$3 = { mkdirpManual: t2, mkdirpManualSync: d2 }, o$3;
23977
+ return o$3 = { mkdirpManual: t2, mkdirpManualSync: d }, o$3;
23809
23978
  }
23810
23979
  var c$1, m$1;
23811
23980
  function s$3() {
23812
23981
  if (m$1) return c$1;
23813
23982
  m$1 = 1;
23814
- const { dirname: u2 } = sysPath, { findMade: d2, findMadeSync: t$12 } = t(), { mkdirpManual: a2, mkdirpManualSync: k2 } = y$2();
23815
- return c$1 = { mkdirpNative: (e2, r2) => (r2.recursive = true, u2(e2) === e2 ? r2.mkdirAsync(e2, r2) : d2(r2, e2).then((n2) => r2.mkdirAsync(e2, r2).then(() => n2).catch((i2) => {
23983
+ const { dirname: u2 } = sysPath, { findMade: d, findMadeSync: t$12 } = t(), { mkdirpManual: a2, mkdirpManualSync: k2 } = y$2();
23984
+ return c$1 = { mkdirpNative: (e2, r2) => (r2.recursive = true, u2(e2) === e2 ? r2.mkdirAsync(e2, r2) : d(r2, e2).then((n2) => r2.mkdirAsync(e2, r2).then(() => n2).catch((i2) => {
23816
23985
  if (i2.code === "ENOENT") return a2(e2, r2);
23817
23986
  throw i2;
23818
23987
  }))), mkdirpNativeSync: (e2, r2) => {
@@ -23830,21 +23999,21 @@ ${p2}`;
23830
23999
  function a$3() {
23831
24000
  if (n$1) return s$2;
23832
24001
  n$1 = 1;
23833
- const i2 = V$4, e2 = (process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version).replace(/^v/, "").split("."), t2 = +e2[0] > 10 || +e2[0] == 10 && +e2[1] >= 12;
24002
+ const i2 = V$3, e2 = (process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version).replace(/^v/, "").split("."), t2 = +e2[0] > 10 || +e2[0] == 10 && +e2[1] >= 12;
23834
24003
  return s$2 = { useNative: t2 ? (r2) => r2.mkdir === i2.mkdir : () => false, useNativeSync: t2 ? (r2) => r2.mkdirSync === i2.mkdirSync : () => false }, s$2;
23835
24004
  }
23836
24005
  var m, s$1;
23837
24006
  function S() {
23838
24007
  if (s$1) return m;
23839
24008
  s$1 = 1;
23840
- const i2 = t$2(), u2 = u$2(), { mkdirpNative: a2, mkdirpNativeSync: c2 } = s$3(), { mkdirpManual: o2, mkdirpManualSync: q2 } = y$2(), { useNative: t2, useNativeSync: _2 } = a$3(), n2 = (e2, r2) => (e2 = u2(e2), r2 = i2(r2), t2(r2) ? a2(e2, r2) : o2(e2, r2)), d2 = (e2, r2) => (e2 = u2(e2), r2 = i2(r2), _2(r2) ? c2(e2, r2) : q2(e2, r2));
23841
- return n2.sync = d2, n2.native = (e2, r2) => a2(u2(e2), i2(r2)), n2.manual = (e2, r2) => o2(u2(e2), i2(r2)), n2.nativeSync = (e2, r2) => c2(u2(e2), i2(r2)), n2.manualSync = (e2, r2) => q2(u2(e2), i2(r2)), m = n2, m;
24009
+ const i2 = t$2(), u2 = u$2(), { mkdirpNative: a2, mkdirpNativeSync: c2 } = s$3(), { mkdirpManual: o2, mkdirpManualSync: q2 } = y$2(), { useNative: t2, useNativeSync: _2 } = a$3(), n2 = (e2, r2) => (e2 = u2(e2), r2 = i2(r2), t2(r2) ? a2(e2, r2) : o2(e2, r2)), d = (e2, r2) => (e2 = u2(e2), r2 = i2(r2), _2(r2) ? c2(e2, r2) : q2(e2, r2));
24010
+ return n2.sync = d, n2.native = (e2, r2) => a2(u2(e2), i2(r2)), n2.manual = (e2, r2) => o2(u2(e2), i2(r2)), n2.nativeSync = (e2, r2) => c2(u2(e2), i2(r2)), n2.manualSync = (e2, r2) => q2(u2(e2), i2(r2)), m = n2, m;
23842
24011
  }
23843
24012
  var y$1, O;
23844
24013
  function F$1() {
23845
24014
  if (O) return y$1;
23846
24015
  O = 1;
23847
- const c2 = V$4, a2 = sysPath, T2 = c2.lchown ? "lchown" : "chown", I2 = c2.lchownSync ? "lchownSync" : "chownSync", i2 = c2.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/), u2 = (r2, e2, n2) => {
24016
+ const c2 = V$3, a2 = sysPath, T2 = c2.lchown ? "lchown" : "chown", I2 = c2.lchownSync ? "lchownSync" : "chownSync", i2 = c2.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/), u2 = (r2, e2, n2) => {
23848
24017
  try {
23849
24018
  return c2[I2](r2, e2, n2);
23850
24019
  } catch (t2) {
@@ -23928,7 +24097,7 @@ ${p2}`;
23928
24097
  function H() {
23929
24098
  if (R) return r$1.exports;
23930
24099
  R = 1;
23931
- const g2 = S(), l2 = V$4, p2 = sysPath, x2 = F$1(), y2 = a$7();
24100
+ const g2 = S(), l2 = V$3, p2 = sysPath, x2 = F$1(), y2 = a$7();
23932
24101
  class D2 extends Error {
23933
24102
  constructor(e2, s2) {
23934
24103
  super("Cannot extract through symbolic link"), this.path = s2, this.symlink = e2;
@@ -23952,14 +24121,14 @@ ${p2}`;
23952
24121
  };
23953
24122
  r$1.exports = (n2, e2, s2) => {
23954
24123
  n2 = y2(n2);
23955
- const r2 = e2.umask, c2 = e2.mode | 448, f2 = (c2 & r2) !== 0, t2 = e2.uid, i2 = e2.gid, a2 = typeof t2 == "number" && typeof i2 == "number" && (t2 !== e2.processUid || i2 !== e2.processGid), u2 = e2.preserve, m2 = e2.unlink, h2 = e2.cache, d2 = y2(e2.cwd), w2 = (k2, o2) => {
24124
+ const r2 = e2.umask, c2 = e2.mode | 448, f2 = (c2 & r2) !== 0, t2 = e2.uid, i2 = e2.gid, a2 = typeof t2 == "number" && typeof i2 == "number" && (t2 !== e2.processUid || i2 !== e2.processGid), u2 = e2.preserve, m2 = e2.unlink, h2 = e2.cache, d = y2(e2.cwd), w2 = (k2, o2) => {
23956
24125
  k2 ? s2(k2) : (q2(h2, n2, true), o2 && a2 ? x2(o2, t2, i2, (G2) => w2(G2)) : f2 ? l2.chmod(n2, c2, s2) : s2());
23957
24126
  };
23958
24127
  if (h2 && v2(h2, n2) === true) return w2();
23959
- if (n2 === d2) return I2(n2, w2);
24128
+ if (n2 === d) return I2(n2, w2);
23960
24129
  if (u2) return g2(n2, { mode: c2 }).then((k2) => w2(null, k2), w2);
23961
- const S2 = y2(p2.relative(d2, n2)).split("/");
23962
- C2(d2, S2, c2, h2, m2, d2, null, w2);
24130
+ const S2 = y2(p2.relative(d, n2)).split("/");
24131
+ C2(d, S2, c2, h2, m2, d, null, w2);
23963
24132
  };
23964
24133
  const C2 = (n2, e2, s2, r2, c2, f2, t2, i2) => {
23965
24134
  if (!e2.length) return i2(null, t2);
@@ -23991,12 +24160,12 @@ ${p2}`;
23991
24160
  };
23992
24161
  return r$1.exports.sync = (n2, e2) => {
23993
24162
  n2 = y2(n2);
23994
- const s2 = e2.umask, r2 = e2.mode | 448, c2 = (r2 & s2) !== 0, f2 = e2.uid, t2 = e2.gid, i2 = typeof f2 == "number" && typeof t2 == "number" && (f2 !== e2.processUid || t2 !== e2.processGid), a2 = e2.preserve, u2 = e2.unlink, m2 = e2.cache, h2 = y2(e2.cwd), d2 = (k2) => {
24163
+ const s2 = e2.umask, r2 = e2.mode | 448, c2 = (r2 & s2) !== 0, f2 = e2.uid, t2 = e2.gid, i2 = typeof f2 == "number" && typeof t2 == "number" && (f2 !== e2.processUid || t2 !== e2.processGid), a2 = e2.preserve, u2 = e2.unlink, m2 = e2.cache, h2 = y2(e2.cwd), d = (k2) => {
23995
24164
  q2(m2, n2, true), k2 && i2 && x2.sync(k2, f2, t2), c2 && l2.chmodSync(n2, r2);
23996
24165
  };
23997
- if (m2 && v2(m2, n2) === true) return d2();
23998
- if (n2 === h2) return L2(h2), d2();
23999
- if (a2) return d2(g2.sync(n2, r2));
24166
+ if (m2 && v2(m2, n2) === true) return d();
24167
+ if (n2 === h2) return L2(h2), d();
24168
+ if (a2) return d(g2.sync(n2, r2));
24000
24169
  const $2 = y2(p2.relative(h2, n2)).split("/");
24001
24170
  let S2 = null;
24002
24171
  for (let k2 = $2.shift(), o2 = h2; k2 && (o2 += "/" + k2); k2 = $2.shift()) if (o2 = y2(p2.resolve(o2)), !v2(m2, o2)) try {
@@ -24011,7 +24180,7 @@ ${p2}`;
24011
24180
  continue;
24012
24181
  } else if (M2.isSymbolicLink()) return new D2(o2, o2 + "/" + $2.join("/"));
24013
24182
  }
24014
- return d2(S2);
24183
+ return d(S2);
24015
24184
  }, r$1.exports;
24016
24185
  }
24017
24186
  var a$2, i;
@@ -24040,9 +24209,9 @@ ${p2}`;
24040
24209
  function z() {
24041
24210
  if (f$1) return u$1;
24042
24211
  f$1 = 1;
24043
- const l2 = j$1$1, m2 = a$1(), g2 = s$7(), { join: d2 } = sysPath, q2 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
24212
+ const l2 = j$1$1, m2 = a$1(), g2 = s$7(), { join: d } = sysPath, q2 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
24044
24213
  return u$1 = () => {
24045
- const i2 = /* @__PURE__ */ new Map(), c2 = /* @__PURE__ */ new Map(), v2 = (e2) => e2.split("/").slice(0, -1).reduce((o2, r2) => (o2.length && (r2 = d2(o2[o2.length - 1], r2)), o2.push(r2 || "/"), o2), []), a2 = /* @__PURE__ */ new Set(), w2 = (e2) => {
24214
+ const i2 = /* @__PURE__ */ new Map(), c2 = /* @__PURE__ */ new Map(), v2 = (e2) => e2.split("/").slice(0, -1).reduce((o2, r2) => (o2.length && (r2 = d(o2[o2.length - 1], r2)), o2.push(r2 || "/"), o2), []), a2 = /* @__PURE__ */ new Set(), w2 = (e2) => {
24046
24215
  const s2 = c2.get(e2);
24047
24216
  if (!s2) throw new Error("function does not have any path reservations");
24048
24217
  return { paths: s2.paths.map((o2) => i2.get(o2)), dirs: [...s2.dirs].map((o2) => i2.get(o2)) };
@@ -24061,7 +24230,7 @@ ${p2}`;
24061
24230
  }), a2.delete(e2), r2.forEach((t2) => p2(t2)), true;
24062
24231
  };
24063
24232
  return { check: h2, reserve: (e2, s2) => {
24064
- e2 = q2 ? ["win32 parallelization disabled"] : e2.map((r2) => g2(d2(m2(r2))).toLowerCase());
24233
+ e2 = q2 ? ["win32 parallelization disabled"] : e2.map((r2) => g2(d(m2(r2))).toLowerCase());
24065
24234
  const o2 = new Set(e2.map((r2) => v2(r2)).reduce((r2, t2) => r2.concat(t2)));
24066
24235
  return c2.set(s2, { dirs: o2, paths: e2 }), e2.forEach((r2) => {
24067
24236
  const t2 = i2.get(r2);
@@ -24091,14 +24260,14 @@ ${p2}`;
24091
24260
  function F() {
24092
24261
  if (o) return e$6;
24093
24262
  o = 1;
24094
- const t2 = process.env.__FAKE_PLATFORM__ || process.platform, s2 = typeof Bun < "u" ? false : t2 === "win32", n2 = commonjsGlobal.__FAKE_TESTING_FS__ || V$4, { O_CREAT: _2, O_TRUNC: a2, O_WRONLY: i2, UV_FS_O_FILEMAP: r2 = 0 } = n2.constants, c2 = s2 && !!r2, f2 = 512 * 1024, p2 = r2 | a2 | _2 | i2;
24263
+ const t2 = process.env.__FAKE_PLATFORM__ || process.platform, s2 = typeof Bun < "u" ? false : t2 === "win32", n2 = commonjsGlobal.__FAKE_TESTING_FS__ || V$3, { O_CREAT: _2, O_TRUNC: a2, O_WRONLY: i2, UV_FS_O_FILEMAP: r2 = 0 } = n2.constants, c2 = s2 && !!r2, f2 = 512 * 1024, p2 = r2 | a2 | _2 | i2;
24095
24264
  return e$6 = c2 ? (l2) => l2 < f2 ? p2 : "w" : () => "w", e$6;
24096
24265
  }
24097
24266
  var G, y;
24098
24267
  function Os() {
24099
24268
  if (y) return G;
24100
24269
  y = 1;
24101
- const ss = j$1$1, is = rt(), r2 = V$4, es = X(), w2 = sysPath, M2 = H(), K2 = p(), ts = z(), os = c(), l2 = a$7(), rs = s$7(), hs = a$1(), H$12 = Symbol("onEntry"), q2 = Symbol("checkFs"), Y2 = Symbol("checkFs2"), v2 = Symbol("pruneCache"), N2 = Symbol("isReusable"), d2 = Symbol("makeFs"), U2 = Symbol("file"), F$12 = Symbol("directory"), O2 = Symbol("link"), B2 = Symbol("symlink"), z$12 = Symbol("hardlink"), W2 = Symbol("unsupported"), j2 = Symbol("checkPath"), b2 = Symbol("mkdir"), m2 = Symbol("onError"), $2 = Symbol("pending"), V$12 = Symbol("pend"), S2 = Symbol("unpend"), P2 = Symbol("ended"), A2 = Symbol("maybeClose"), x2 = Symbol("skip"), E2 = Symbol("doChown"), R2 = Symbol("uid"), _2 = Symbol("gid"), g2 = Symbol("checkedCwd"), X$12 = require$$3, J2 = F(), C2 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32", cs = 1024, as = (a2, s2) => {
24270
+ const ss = j$1$1, is = rt(), r2 = V$3, es = X(), w2 = sysPath, M2 = H(), K2 = p(), ts = z(), os = c(), l2 = a$7(), rs = s$7(), hs = a$1(), H$12 = Symbol("onEntry"), q2 = Symbol("checkFs"), Y2 = Symbol("checkFs2"), v2 = Symbol("pruneCache"), N2 = Symbol("isReusable"), d = Symbol("makeFs"), U2 = Symbol("file"), F$12 = Symbol("directory"), O2 = Symbol("link"), B2 = Symbol("symlink"), z$12 = Symbol("hardlink"), W2 = Symbol("unsupported"), j2 = Symbol("checkPath"), b2 = Symbol("mkdir"), m2 = Symbol("onError"), $2 = Symbol("pending"), V$12 = Symbol("pend"), S2 = Symbol("unpend"), P2 = Symbol("ended"), A2 = Symbol("maybeClose"), x2 = Symbol("skip"), E2 = Symbol("doChown"), R2 = Symbol("uid"), _2 = Symbol("gid"), g2 = Symbol("checkedCwd"), X$12 = require$$3, J2 = F(), C2 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32", cs = 1024, as = (a2, s2) => {
24102
24271
  if (!C2) return r2.unlink(a2, s2);
24103
24272
  const i2 = a2 + ".DELETE." + X$12.randomBytes(16).toString("hex");
24104
24273
  r2.rename(a2, i2, (e2) => {
@@ -24306,21 +24475,21 @@ ${p2}`;
24306
24475
  this[x2](s2), e2();
24307
24476
  return;
24308
24477
  }
24309
- if (h2 || this[N2](s2, c2)) return this[d2](null, s2, e2);
24478
+ if (h2 || this[N2](s2, c2)) return this[d](null, s2, e2);
24310
24479
  if (c2.isDirectory()) {
24311
24480
  if (s2.type === "Directory") {
24312
- const n2 = !this.noChmod && s2.mode && (c2.mode & 4095) !== s2.mode, p2 = (f2) => this[d2](f2, s2, e2);
24481
+ const n2 = !this.noChmod && s2.mode && (c2.mode & 4095) !== s2.mode, p2 = (f2) => this[d](f2, s2, e2);
24313
24482
  return n2 ? r2.chmod(s2.absolute, s2.mode, p2) : p2();
24314
24483
  }
24315
- if (s2.absolute !== this.cwd) return r2.rmdir(s2.absolute, (n2) => this[d2](n2, s2, e2));
24484
+ if (s2.absolute !== this.cwd) return r2.rmdir(s2.absolute, (n2) => this[d](n2, s2, e2));
24316
24485
  }
24317
- if (s2.absolute === this.cwd) return this[d2](null, s2, e2);
24318
- as(s2.absolute, (n2) => this[d2](n2, s2, e2));
24486
+ if (s2.absolute === this.cwd) return this[d](null, s2, e2);
24487
+ as(s2.absolute, (n2) => this[d](n2, s2, e2));
24319
24488
  });
24320
24489
  };
24321
24490
  this[g2] ? o2() : t2();
24322
24491
  }
24323
- [d2](s2, i2, e2) {
24492
+ [d](s2, i2, e2) {
24324
24493
  if (s2) {
24325
24494
  this[m2](s2, i2), e2();
24326
24495
  return;
@@ -24353,8 +24522,8 @@ ${p2}`;
24353
24522
  }
24354
24523
  };
24355
24524
  class ls extends L2 {
24356
- [d2](s2, i2) {
24357
- return super[d2](s2, i2, () => {
24525
+ [d](s2, i2) {
24526
+ return super[d](s2, i2, () => {
24358
24527
  });
24359
24528
  }
24360
24529
  [q2](s2) {
@@ -24372,19 +24541,19 @@ ${p2}`;
24372
24541
  }
24373
24542
  const [i2, e2] = T2(() => r2.lstatSync(s2.absolute));
24374
24543
  if (e2 && (this.keep || this.newer && e2.mtime > s2.mtime)) return this[x2](s2);
24375
- if (i2 || this[N2](s2, e2)) return this[d2](null, s2);
24544
+ if (i2 || this[N2](s2, e2)) return this[d](null, s2);
24376
24545
  if (e2.isDirectory()) {
24377
24546
  if (s2.type === "Directory") {
24378
24547
  const u2 = !this.noChmod && s2.mode && (e2.mode & 4095) !== s2.mode, [h2] = u2 ? T2(() => {
24379
24548
  r2.chmodSync(s2.absolute, s2.mode);
24380
24549
  }) : [];
24381
- return this[d2](h2, s2);
24550
+ return this[d](h2, s2);
24382
24551
  }
24383
24552
  const [o2] = T2(() => r2.rmdirSync(s2.absolute));
24384
- this[d2](o2, s2);
24553
+ this[d](o2, s2);
24385
24554
  }
24386
24555
  const [t2] = s2.absolute === this.cwd ? [] : T2(() => us(s2.absolute));
24387
- this[d2](t2, s2);
24556
+ this[d](t2, s2);
24388
24557
  }
24389
24558
  [U2](s2, i2) {
24390
24559
  const e2 = s2.mode & 4095 || this.fmode, t2 = (h2) => {
@@ -24475,15 +24644,15 @@ ${p2}`;
24475
24644
  function v() {
24476
24645
  if (q) return f;
24477
24646
  q = 1;
24478
- const w2 = s$6(), u2 = Os(), p2 = V$4, y2 = X(), l2 = sysPath, m2 = s$7();
24647
+ const w2 = s$6(), u2 = Os(), p2 = V$3, y2 = X(), l2 = sysPath, m2 = s$7();
24479
24648
  f = (r2, e2, o2) => {
24480
24649
  typeof r2 == "function" ? (o2 = r2, e2 = null, r2 = {}) : Array.isArray(r2) && (e2 = r2, r2 = {}), typeof e2 == "function" && (o2 = e2, e2 = null), e2 ? e2 = Array.from(e2) : e2 = [];
24481
24650
  const t2 = w2(r2);
24482
24651
  if (t2.sync && typeof o2 == "function") throw new TypeError("callback not supported for sync tar functions");
24483
24652
  if (!t2.file && typeof o2 == "function") throw new TypeError("callback only supported with file option");
24484
- return e2.length && d2(t2, e2), t2.file && t2.sync ? $2(t2) : t2.file ? h2(t2, o2) : t2.sync ? x2(t2) : z2(t2);
24653
+ return e2.length && d(t2, e2), t2.file && t2.sync ? $2(t2) : t2.file ? h2(t2, o2) : t2.sync ? x2(t2) : z2(t2);
24485
24654
  };
24486
- const d2 = (r2, e2) => {
24655
+ const d = (r2, e2) => {
24487
24656
  const o2 = new Map(e2.map((n2) => [m2(n2), true])), t2 = r2.filter, s2 = (n2, i2) => {
24488
24657
  const a2 = i2 || l2.parse(n2).root || ".", c2 = n2 === a2 ? false : o2.has(n2) ? o2.get(n2) : s2(l2.dirname(n2), a2);
24489
24658
  return o2.set(n2, c2), c2;
@@ -24881,7 +25050,7 @@ ${p2}`;
24881
25050
  write(o2) {
24882
25051
  let t2 = 0;
24883
25052
  const n2 = o2.length;
24884
- let E2 = this.index, { lookbehind: l2, boundary: h2, boundaryChars: H2, index: e2, state: a2, flags: d2 } = this;
25053
+ let E2 = this.index, { lookbehind: l2, boundary: h2, boundaryChars: H2, index: e2, state: a2, flags: d } = this;
24885
25054
  const b2 = this.boundary.length, m2 = b2 - 1, O2 = o2.length;
24886
25055
  let r2, P2;
24887
25056
  const u2 = c2((D2) => {
@@ -24897,13 +25066,13 @@ ${p2}`;
24897
25066
  for (t2 = 0; t2 < n2; t2++) switch (r2 = o2[t2], a2) {
24898
25067
  case S2.START_BOUNDARY:
24899
25068
  if (e2 === h2.length - 2) {
24900
- if (r2 === HYPHEN) d2 |= F2.LAST_BOUNDARY;
25069
+ if (r2 === HYPHEN) d |= F2.LAST_BOUNDARY;
24901
25070
  else if (r2 !== CR) return;
24902
25071
  e2++;
24903
25072
  break;
24904
25073
  } else if (e2 - 1 === h2.length - 2) {
24905
- if (d2 & F2.LAST_BOUNDARY && r2 === HYPHEN) a2 = S2.END, d2 = 0;
24906
- else if (!(d2 & F2.LAST_BOUNDARY) && r2 === LF) e2 = 0, T2("onPartBegin"), a2 = S2.HEADER_FIELD_START;
25074
+ if (d & F2.LAST_BOUNDARY && r2 === HYPHEN) a2 = S2.END, d = 0;
25075
+ else if (!(d & F2.LAST_BOUNDARY) && r2 === LF) e2 = 0, T2("onPartBegin"), a2 = S2.HEADER_FIELD_START;
24907
25076
  else return;
24908
25077
  break;
24909
25078
  }
@@ -24946,13 +25115,13 @@ ${p2}`;
24946
25115
  t2 -= m2, r2 = o2[t2];
24947
25116
  }
24948
25117
  if (e2 < h2.length) h2[e2] === r2 ? (e2 === 0 && L2("onPartData", true), e2++) : e2 = 0;
24949
- else if (e2 === h2.length) e2++, r2 === CR ? d2 |= F2.PART_BOUNDARY : r2 === HYPHEN ? d2 |= F2.LAST_BOUNDARY : e2 = 0;
24950
- else if (e2 - 1 === h2.length) if (d2 & F2.PART_BOUNDARY) {
25118
+ else if (e2 === h2.length) e2++, r2 === CR ? d |= F2.PART_BOUNDARY : r2 === HYPHEN ? d |= F2.LAST_BOUNDARY : e2 = 0;
25119
+ else if (e2 - 1 === h2.length) if (d & F2.PART_BOUNDARY) {
24951
25120
  if (e2 = 0, r2 === LF) {
24952
- d2 &= ~F2.PART_BOUNDARY, T2("onPartEnd"), T2("onPartBegin"), a2 = S2.HEADER_FIELD_START;
25121
+ d &= ~F2.PART_BOUNDARY, T2("onPartEnd"), T2("onPartBegin"), a2 = S2.HEADER_FIELD_START;
24953
25122
  break;
24954
25123
  }
24955
- } else d2 & F2.LAST_BOUNDARY && r2 === HYPHEN ? (T2("onPartEnd"), a2 = S2.END, d2 = 0) : e2 = 0;
25124
+ } else d & F2.LAST_BOUNDARY && r2 === HYPHEN ? (T2("onPartEnd"), a2 = S2.END, d = 0) : e2 = 0;
24956
25125
  if (e2 > 0) l2[e2 - 1] = r2;
24957
25126
  else if (E2 > 0) {
24958
25127
  const D2 = new Uint8Array(l2.buffer, l2.byteOffset, l2.byteLength);
@@ -24964,7 +25133,7 @@ ${p2}`;
24964
25133
  default:
24965
25134
  throw new Error(`Unexpected state entered: ${a2}`);
24966
25135
  }
24967
- L2("onHeaderField"), L2("onHeaderValue"), L2("onPartData"), this.index = e2, this.state = a2, this.flags = d2;
25136
+ L2("onHeaderField"), L2("onHeaderValue"), L2("onPartData"), this.index = e2, this.state = a2, this.flags = d;
24968
25137
  }
24969
25138
  end() {
24970
25139
  if (this.state === S2.HEADER_FIELD_START && this.index === 0 || this.state === S2.PART_DATA && this.index === this.boundary.length) this.onPartEnd();
@@ -24987,18 +25156,18 @@ ${p2}`;
24987
25156
  if (!t2) throw new TypeError("no or bad content-type header, no multipart boundary");
24988
25157
  const n2 = new MultipartParser(t2[1] || t2[2]);
24989
25158
  let E2, l2, h2, H2, e2, a2;
24990
- const d2 = [], b2 = new node2.FormData(), m2 = c2((i2) => {
25159
+ const d = [], b2 = new node2.FormData(), m2 = c2((i2) => {
24991
25160
  h2 += u2.decode(i2, { stream: true });
24992
25161
  }, "onPartData"), O2 = c2((i2) => {
24993
- d2.push(i2);
25162
+ d.push(i2);
24994
25163
  }, "appendToFile"), r2 = c2(() => {
24995
- const i2 = new node2.File(d2, a2, { type: e2 });
25164
+ const i2 = new node2.File(d, a2, { type: e2 });
24996
25165
  b2.append(H2, i2);
24997
25166
  }, "appendFileToFormData"), P2 = c2(() => {
24998
25167
  b2.append(H2, h2);
24999
25168
  }, "appendEntryToFormData"), u2 = new TextDecoder("utf-8");
25000
25169
  u2.decode(), n2.onPartBegin = function() {
25001
- n2.onPartData = m2, n2.onPartEnd = P2, E2 = "", l2 = "", h2 = "", H2 = "", e2 = "", a2 = null, d2.length = 0;
25170
+ n2.onPartData = m2, n2.onPartEnd = P2, E2 = "", l2 = "", h2 = "", H2 = "", e2 = "", a2 = null, d.length = 0;
25002
25171
  }, n2.onHeaderField = function(i2) {
25003
25172
  E2 += u2.decode(i2, { stream: true });
25004
25173
  }, n2.onHeaderValue = function(i2) {