import { a as qt, c as At, i as j, l as zt, n as Rh, o as bt, s as ve, t as Oh } from "./chunks/p-map-DaKUJ_MH.js";
import { createRequire as gm } from "node:module";
import Ye from "path";
import oi from "fs";
import hi from "os";
import mm from "util";
import it from "fs/promises";
import nn from "node:process";
import Gi from "node:os";
import xl from "node:tty";
import { URL as vm } from "url";
import dt, { dirname as ym } from "node:path";
import { fileURLToPath as ou } from "node:url";
import { promisify as Ih, stripVTControlCharacters as _m } from "node:util";
import ba, { promises as Bl } from "node:fs";
import Em, { execFile as bm } from "node:child_process";
import { text as wm } from "node:stream/consumers";
var er = /* @__PURE__ */ j(((e, t) => {
  var r, i, s, h, a = !0;
  typeof process < "u" && ({ FORCE_COLOR: r, NODE_DISABLE_COLORS: i, NO_COLOR: s, TERM: h } = process.env || {}, a = process.stdout && process.stdout.isTTY);
  var n = {
    enabled: !i && s == null && h !== "dumb" && (r != null && r !== "0" || a),
    reset: f(0, 0),
    bold: f(1, 22),
    dim: f(2, 22),
    italic: f(3, 23),
    underline: f(4, 24),
    inverse: f(7, 27),
    hidden: f(8, 28),
    strikethrough: f(9, 29),
    black: f(30, 39),
    red: f(31, 39),
    green: f(32, 39),
    yellow: f(33, 39),
    blue: f(34, 39),
    magenta: f(35, 39),
    cyan: f(36, 39),
    white: f(37, 39),
    gray: f(90, 39),
    grey: f(90, 39),
    bgBlack: f(40, 49),
    bgRed: f(41, 49),
    bgGreen: f(42, 49),
    bgYellow: f(43, 49),
    bgBlue: f(44, 49),
    bgMagenta: f(45, 49),
    bgCyan: f(46, 49),
    bgWhite: f(47, 49)
  };
  function l(o, c) {
    let d = 0, p, m = "", g = "";
    for (; d < o.length; d++)
      p = o[d], m += p.open, g += p.close, ~c.indexOf(p.close) && (c = c.replace(p.rgx, p.close + p.open));
    return m + c + g;
  }
  function u(o, c) {
    let d = {
      has: o,
      keys: c
    };
    return d.reset = n.reset.bind(d), d.bold = n.bold.bind(d), d.dim = n.dim.bind(d), d.italic = n.italic.bind(d), d.underline = n.underline.bind(d), d.inverse = n.inverse.bind(d), d.hidden = n.hidden.bind(d), d.strikethrough = n.strikethrough.bind(d), d.black = n.black.bind(d), d.red = n.red.bind(d), d.green = n.green.bind(d), d.yellow = n.yellow.bind(d), d.blue = n.blue.bind(d), d.magenta = n.magenta.bind(d), d.cyan = n.cyan.bind(d), d.white = n.white.bind(d), d.gray = n.gray.bind(d), d.grey = n.grey.bind(d), d.bgBlack = n.bgBlack.bind(d), d.bgRed = n.bgRed.bind(d), d.bgGreen = n.bgGreen.bind(d), d.bgYellow = n.bgYellow.bind(d), d.bgBlue = n.bgBlue.bind(d), d.bgMagenta = n.bgMagenta.bind(d), d.bgCyan = n.bgCyan.bind(d), d.bgWhite = n.bgWhite.bind(d), d;
  }
  function f(o, c) {
    let d = {
      open: `\x1B[${o}m`,
      close: `\x1B[${c}m`,
      rgx: new RegExp(`\\x1b\\[${c}m`, "g")
    };
    return function(p) {
      return this !== void 0 && this.has !== void 0 ? (~this.has.indexOf(o) || (this.has.push(o), this.keys.push(d)), p === void 0 ? this : n.enabled ? l(this.keys, p + "") : p + "") : p === void 0 ? u([o], [d]) : n.enabled ? l([d], p + "") : p + "";
    };
  }
  t.exports = n;
})), Dm = /* @__PURE__ */ j(((e, t) => {
  t.exports = (r, i) => {
    if (!(r.meta && r.name !== "escape")) {
      if (r.ctrl) {
        if (r.name === "a") return "first";
        if (r.name === "c" || r.name === "d") return "abort";
        if (r.name === "e") return "last";
        if (r.name === "g") return "reset";
      }
      if (i) {
        if (r.name === "j") return "down";
        if (r.name === "k") return "up";
      }
      return r.name === "return" || r.name === "enter" ? "submit" : r.name === "backspace" ? "delete" : r.name === "delete" ? "deleteForward" : r.name === "abort" ? "abort" : r.name === "escape" ? "exit" : r.name === "tab" ? "next" : r.name === "pagedown" ? "nextPage" : r.name === "pageup" ? "prevPage" : r.name === "home" ? "home" : r.name === "end" ? "end" : r.name === "up" ? "up" : r.name === "down" ? "down" : r.name === "right" ? "right" : r.name === "left" ? "left" : !1;
    }
  };
})), uu = /* @__PURE__ */ j(((e, t) => {
  t.exports = (r) => {
    const i = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|"), s = new RegExp(i, "g");
    return typeof r == "string" ? r.replace(s, "") : r;
  };
})), tr = /* @__PURE__ */ j(((e, t) => {
  var r = "\x1B", i = `${r}[`, s = "\x07", h = {
    to(l, u) {
      return u ? `${i}${u + 1};${l + 1}H` : `${i}${l + 1}G`;
    },
    move(l, u) {
      let f = "";
      return l < 0 ? f += `${i}${-l}D` : l > 0 && (f += `${i}${l}C`), u < 0 ? f += `${i}${-u}A` : u > 0 && (f += `${i}${u}B`), f;
    },
    up: (l = 1) => `${i}${l}A`,
    down: (l = 1) => `${i}${l}B`,
    forward: (l = 1) => `${i}${l}C`,
    backward: (l = 1) => `${i}${l}D`,
    nextLine: (l = 1) => `${i}E`.repeat(l),
    prevLine: (l = 1) => `${i}F`.repeat(l),
    left: `${i}G`,
    hide: `${i}?25l`,
    show: `${i}?25h`,
    save: `${r}7`,
    restore: `${r}8`
  }, a = {
    up: (l = 1) => `${i}S`.repeat(l),
    down: (l = 1) => `${i}T`.repeat(l)
  }, n = {
    screen: `${i}2J`,
    up: (l = 1) => `${i}1J`.repeat(l),
    down: (l = 1) => `${i}J`.repeat(l),
    line: `${i}2K`,
    lineEnd: `${i}K`,
    lineStart: `${i}1K`,
    lines(l) {
      let u = "";
      for (let f = 0; f < l; f++) u += this.line + (f < l - 1 ? h.up() : "");
      return l && (u += h.left), u;
    }
  };
  t.exports = {
    cursor: h,
    scroll: a,
    erase: n,
    beep: s
  };
})), Am = /* @__PURE__ */ j(((e, t) => {
  var r = uu(), { erase: i, cursor: s } = tr(), h = (a) => [...r(a)].length;
  t.exports = function(a, n) {
    if (!n) return i.line + s.to(0);
    let l = 0;
    const u = a.split(/\r?\n/);
    for (let f of u) l += 1 + Math.floor(Math.max(h(f) - 1, 0) / n);
    return i.lines(l);
  };
})), kh = /* @__PURE__ */ j(((e, t) => {
  var r = {
    arrowUp: "↑",
    arrowDown: "↓",
    arrowLeft: "←",
    arrowRight: "→",
    radioOn: "◉",
    radioOff: "◯",
    tick: "✔",
    cross: "✖",
    ellipsis: "…",
    pointerSmall: "›",
    line: "─",
    pointer: "❯"
  }, i = {
    arrowUp: r.arrowUp,
    arrowDown: r.arrowDown,
    arrowLeft: r.arrowLeft,
    arrowRight: r.arrowRight,
    radioOn: "(*)",
    radioOff: "( )",
    tick: "√",
    cross: "×",
    ellipsis: "...",
    pointerSmall: "»",
    line: "─",
    pointer: ">"
  }, s = process.platform === "win32" ? i : r;
  t.exports = s;
})), Sm = /* @__PURE__ */ j(((e, t) => {
  var r = er(), i = kh(), s = Object.freeze({
    password: {
      scale: 1,
      render: (f) => "*".repeat(f.length)
    },
    emoji: {
      scale: 2,
      render: (f) => "😃".repeat(f.length)
    },
    invisible: {
      scale: 0,
      render: (f) => ""
    },
    default: {
      scale: 1,
      render: (f) => `${f}`
    }
  }), h = (f) => s[f] || s.default, a = Object.freeze({
    aborted: r.red(i.cross),
    done: r.green(i.tick),
    exited: r.yellow(i.cross),
    default: r.cyan("?")
  }), n = (f, o, c) => o ? a.aborted : c ? a.exited : f ? a.done : a.default, l = (f) => r.gray(f ? i.ellipsis : i.pointerSmall), u = (f, o) => r.gray(f ? o ? i.pointerSmall : "+" : i.line);
  t.exports = {
    styles: s,
    render: h,
    symbols: a,
    symbol: n,
    delimiter: l,
    item: u
  };
})), Cm = /* @__PURE__ */ j(((e, t) => {
  var r = uu();
  t.exports = function(i, s) {
    let h = String(r(i) || "").split(/\r?\n/);
    return s ? h.map((a) => Math.ceil(a.length / s)).reduce((a, n) => a + n) : h.length;
  };
})), Tm = /* @__PURE__ */ j(((e, t) => {
  t.exports = (r, i = {}) => {
    const s = Number.isSafeInteger(parseInt(i.margin)) ? new Array(parseInt(i.margin)).fill(" ").join("") : i.margin || "", h = i.width;
    return (r || "").split(/\r?\n/g).map((a) => a.split(/\s+/g).reduce((n, l) => (l.length + s.length >= h || n[n.length - 1].length + l.length + 1 < h ? n[n.length - 1] += ` ${l}` : n.push(`${s}${l}`), n), [s]).join(`
`)).join(`
`);
  };
})), Rm = /* @__PURE__ */ j(((e, t) => {
  t.exports = (r, i, s) => {
    s = s || i;
    let h = Math.min(i - s, r - Math.floor(s / 2));
    h < 0 && (h = 0);
    let a = Math.min(h + s, i);
    return {
      startIndex: h,
      endIndex: a
    };
  };
})), cr = /* @__PURE__ */ j(((e, t) => {
  t.exports = {
    action: Dm(),
    clear: Am(),
    style: Sm(),
    strip: uu(),
    figures: kh(),
    lines: Cm(),
    wrap: Tm(),
    entriesToDisplay: Rm()
  };
})), Cr = /* @__PURE__ */ j(((e, t) => {
  var r = ve("readline"), { action: i } = cr(), s = ve("events"), { beep: h, cursor: a } = tr(), n = er(), l = class extends s {
    constructor(u = {}) {
      super(), this.firstRender = !0, this.in = u.stdin || process.stdin, this.out = u.stdout || process.stdout, this.onRender = (u.onRender || (() => {
      })).bind(this);
      const f = r.createInterface({
        input: this.in,
        escapeCodeTimeout: 50
      });
      r.emitKeypressEvents(this.in, f), this.in.isTTY && this.in.setRawMode(!0);
      const o = (c, d) => {
        let p = i(d, this.isSelect);
        p === !1 ? this._ && this._(c, d) : typeof this[p] == "function" ? this[p](d) : this.bell();
      };
      this.close = () => {
        this.out.write(a.show), this.in.removeListener("keypress", o), this.in.isTTY && this.in.setRawMode(!1), f.close(), this.emit(this.aborted ? "abort" : this.exited ? "exit" : "submit", this.value), this.closed = !0;
      }, this.in.on("keypress", o);
    }
    fire() {
      this.emit("state", {
        value: this.value,
        aborted: !!this.aborted,
        exited: !!this.exited
      });
    }
    bell() {
      this.out.write(h);
    }
    render() {
      this.onRender(n), this.firstRender && (this.firstRender = !1);
    }
  };
  t.exports = l;
})), Om = /* @__PURE__ */ j(((e, t) => {
  var r = er(), i = Cr(), { erase: s, cursor: h } = tr(), { style: a, clear: n, lines: l, figures: u } = cr(), f = class extends i {
    constructor(o = {}) {
      super(o), this.transform = a.render(o.style), this.scale = this.transform.scale, this.msg = o.message, this.initial = o.initial || "", this.validator = o.validate || (() => !0), this.value = "", this.errorMsg = o.error || "Please Enter A Valid Value", this.cursor = +!!this.initial, this.cursorOffset = 0, this.clear = n("", this.out.columns), this.render();
    }
    set value(o) {
      !o && this.initial ? (this.placeholder = !0, this.rendered = r.gray(this.transform.render(this.initial))) : (this.placeholder = !1, this.rendered = this.transform.render(o)), this._value = o, this.fire();
    }
    get value() {
      return this._value;
    }
    reset() {
      this.value = "", this.cursor = +!!this.initial, this.cursorOffset = 0, this.fire(), this.render();
    }
    exit() {
      this.abort();
    }
    abort() {
      this.value = this.value || this.initial, this.done = this.aborted = !0, this.error = !1, this.red = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    async validate() {
      let o = await this.validator(this.value);
      typeof o == "string" && (this.errorMsg = o, o = !1), this.error = !o;
    }
    async submit() {
      if (this.value = this.value || this.initial, this.cursorOffset = 0, this.cursor = this.rendered.length, await this.validate(), this.error) {
        this.red = !0, this.fire(), this.render();
        return;
      }
      this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    next() {
      if (!this.placeholder) return this.bell();
      this.value = this.initial, this.cursor = this.rendered.length, this.fire(), this.render();
    }
    moveCursor(o) {
      this.placeholder || (this.cursor = this.cursor + o, this.cursorOffset += o);
    }
    _(o, c) {
      let d = this.value.slice(0, this.cursor);
      this.value = `${d}${o}${this.value.slice(this.cursor)}`, this.red = !1, this.cursor = this.placeholder ? 0 : d.length + 1, this.render();
    }
    delete() {
      if (this.isCursorAtStart()) return this.bell();
      this.value = `${this.value.slice(0, this.cursor - 1)}${this.value.slice(this.cursor)}`, this.red = !1, this.isCursorAtStart() ? this.cursorOffset = 0 : (this.cursorOffset++, this.moveCursor(-1)), this.render();
    }
    deleteForward() {
      if (this.cursor * this.scale >= this.rendered.length || this.placeholder) return this.bell();
      this.value = `${this.value.slice(0, this.cursor)}${this.value.slice(this.cursor + 1)}`, this.red = !1, this.isCursorAtEnd() ? this.cursorOffset = 0 : this.cursorOffset++, this.render();
    }
    first() {
      this.cursor = 0, this.render();
    }
    last() {
      this.cursor = this.value.length, this.render();
    }
    left() {
      if (this.cursor <= 0 || this.placeholder) return this.bell();
      this.moveCursor(-1), this.render();
    }
    right() {
      if (this.cursor * this.scale >= this.rendered.length || this.placeholder) return this.bell();
      this.moveCursor(1), this.render();
    }
    isCursorAtStart() {
      return this.cursor === 0 || this.placeholder && this.cursor === 1;
    }
    isCursorAtEnd() {
      return this.cursor === this.rendered.length || this.placeholder && this.cursor === this.rendered.length + 1;
    }
    render() {
      this.closed || (this.firstRender || (this.outputError && this.out.write(h.down(l(this.outputError, this.out.columns) - 1) + n(this.outputError, this.out.columns)), this.out.write(n(this.outputText, this.out.columns))), super.render(), this.outputError = "", this.outputText = [
        a.symbol(this.done, this.aborted),
        r.bold(this.msg),
        a.delimiter(this.done),
        this.red ? r.red(this.rendered) : this.rendered
      ].join(" "), this.error && (this.outputError += this.errorMsg.split(`
`).reduce((o, c, d) => o + `
${d ? " " : u.pointerSmall} ${r.red().italic(c)}`, "")), this.out.write(s.line + h.to(0) + this.outputText + h.save + this.outputError + h.restore + h.move(this.cursorOffset, 0)));
    }
  };
  t.exports = f;
})), Im = /* @__PURE__ */ j(((e, t) => {
  var r = er(), i = Cr(), { style: s, clear: h, figures: a, wrap: n, entriesToDisplay: l } = cr(), { cursor: u } = tr(), f = class extends i {
    constructor(o = {}) {
      super(o), this.isSelect = !0, this.msg = o.message, this.hint = o.hint || "- Use arrow-keys. Return to submit.", this.warn = o.warn || "- This option is disabled", this.cursor = o.initial || 0, this.choices = o.choices.map((c, d) => (typeof c == "string" && (c = {
        title: c,
        value: d
      }), {
        title: c && (c.title || c.value || c),
        value: c && (c.value === void 0 ? d : c.value),
        description: c && c.description,
        selected: c && c.selected,
        disabled: c && c.disabled
      })), this.optionsPerPage = o.optionsPerPage || 10, this.value = (this.choices[this.cursor] || {}).value, this.clear = h("", this.out.columns), this.render();
    }
    moveCursor(o) {
      this.cursor = o, this.value = this.choices[o].value, this.fire();
    }
    reset() {
      this.moveCursor(0), this.fire(), this.render();
    }
    exit() {
      this.abort();
    }
    abort() {
      this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    submit() {
      this.selection.disabled ? this.bell() : (this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close());
    }
    first() {
      this.moveCursor(0), this.render();
    }
    last() {
      this.moveCursor(this.choices.length - 1), this.render();
    }
    up() {
      this.cursor === 0 ? this.moveCursor(this.choices.length - 1) : this.moveCursor(this.cursor - 1), this.render();
    }
    down() {
      this.cursor === this.choices.length - 1 ? this.moveCursor(0) : this.moveCursor(this.cursor + 1), this.render();
    }
    next() {
      this.moveCursor((this.cursor + 1) % this.choices.length), this.render();
    }
    _(o, c) {
      if (o === " ") return this.submit();
    }
    get selection() {
      return this.choices[this.cursor];
    }
    render() {
      if (this.closed) return;
      this.firstRender ? this.out.write(u.hide) : this.out.write(h(this.outputText, this.out.columns)), super.render();
      let { startIndex: o, endIndex: c } = l(this.cursor, this.choices.length, this.optionsPerPage);
      if (this.outputText = [
        s.symbol(this.done, this.aborted),
        r.bold(this.msg),
        s.delimiter(!1),
        this.done ? this.selection.title : this.selection.disabled ? r.yellow(this.warn) : r.gray(this.hint)
      ].join(" "), !this.done) {
        this.outputText += `
`;
        for (let d = o; d < c; d++) {
          let p, m, g = "", v = this.choices[d];
          d === o && o > 0 ? m = a.arrowUp : d === c - 1 && c < this.choices.length ? m = a.arrowDown : m = " ", v.disabled ? (p = this.cursor === d ? r.gray().underline(v.title) : r.strikethrough().gray(v.title), m = (this.cursor === d ? r.bold().gray(a.pointer) + " " : "  ") + m) : (p = this.cursor === d ? r.cyan().underline(v.title) : v.title, m = (this.cursor === d ? r.cyan(a.pointer) + " " : "  ") + m, v.description && this.cursor === d && (g = ` - ${v.description}`, (m.length + p.length + g.length >= this.out.columns || v.description.split(/\r?\n/).length > 1) && (g = `
` + n(v.description, {
            margin: 3,
            width: this.out.columns
          })))), this.outputText += `${m} ${p}${r.gray(g)}
`;
        }
      }
      this.out.write(this.outputText);
    }
  };
  t.exports = f;
})), km = /* @__PURE__ */ j(((e, t) => {
  var r = er(), i = Cr(), { style: s, clear: h } = cr(), { cursor: a, erase: n } = tr(), l = class extends i {
    constructor(u = {}) {
      super(u), this.msg = u.message, this.value = !!u.initial, this.active = u.active || "on", this.inactive = u.inactive || "off", this.initialValue = this.value, this.render();
    }
    reset() {
      this.value = this.initialValue, this.fire(), this.render();
    }
    exit() {
      this.abort();
    }
    abort() {
      this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    submit() {
      this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    deactivate() {
      if (this.value === !1) return this.bell();
      this.value = !1, this.render();
    }
    activate() {
      if (this.value === !0) return this.bell();
      this.value = !0, this.render();
    }
    delete() {
      this.deactivate();
    }
    left() {
      this.deactivate();
    }
    right() {
      this.activate();
    }
    down() {
      this.deactivate();
    }
    up() {
      this.activate();
    }
    next() {
      this.value = !this.value, this.fire(), this.render();
    }
    _(u, f) {
      if (u === " ") this.value = !this.value;
      else if (u === "1") this.value = !0;
      else if (u === "0") this.value = !1;
      else return this.bell();
      this.render();
    }
    render() {
      this.closed || (this.firstRender ? this.out.write(a.hide) : this.out.write(h(this.outputText, this.out.columns)), super.render(), this.outputText = [
        s.symbol(this.done, this.aborted),
        r.bold(this.msg),
        s.delimiter(this.done),
        this.value ? this.inactive : r.cyan().underline(this.inactive),
        r.gray("/"),
        this.value ? r.cyan().underline(this.active) : this.active
      ].join(" "), this.out.write(n.line + a.to(0) + this.outputText));
    }
  };
  t.exports = l;
})), vr = /* @__PURE__ */ j(((e, t) => {
  var r = class wa {
    constructor({ token: s, date: h, parts: a, locales: n }) {
      this.token = s, this.date = h || /* @__PURE__ */ new Date(), this.parts = a || [this], this.locales = n || {};
    }
    up() {
    }
    down() {
    }
    next() {
      const s = this.parts.indexOf(this);
      return this.parts.find((h, a) => a > s && h instanceof wa);
    }
    setTo(s) {
    }
    prev() {
      let s = [].concat(this.parts).reverse();
      const h = s.indexOf(this);
      return s.find((a, n) => n > h && a instanceof wa);
    }
    toString() {
      return String(this.date);
    }
  };
  t.exports = r;
})), Lm = /* @__PURE__ */ j(((e, t) => {
  var r = vr(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setHours((this.date.getHours() + 12) % 24);
    }
    down() {
      this.up();
    }
    toString() {
      let s = this.date.getHours() > 12 ? "pm" : "am";
      return /\A/.test(this.token) ? s.toUpperCase() : s;
    }
  };
  t.exports = i;
})), Fm = /* @__PURE__ */ j(((e, t) => {
  var r = vr(), i = (h) => (h = h % 10, h === 1 ? "st" : h === 2 ? "nd" : h === 3 ? "rd" : "th"), s = class extends r {
    constructor(h = {}) {
      super(h);
    }
    up() {
      this.date.setDate(this.date.getDate() + 1);
    }
    down() {
      this.date.setDate(this.date.getDate() - 1);
    }
    setTo(h) {
      this.date.setDate(parseInt(h.substr(-2)));
    }
    toString() {
      let h = this.date.getDate(), a = this.date.getDay();
      return this.token === "DD" ? String(h).padStart(2, "0") : this.token === "Do" ? h + i(h) : this.token === "d" ? a + 1 : this.token === "ddd" ? this.locales.weekdaysShort[a] : this.token === "dddd" ? this.locales.weekdays[a] : h;
    }
  };
  t.exports = s;
})), Nm = /* @__PURE__ */ j(((e, t) => {
  var r = vr(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setHours(this.date.getHours() + 1);
    }
    down() {
      this.date.setHours(this.date.getHours() - 1);
    }
    setTo(s) {
      this.date.setHours(parseInt(s.substr(-2)));
    }
    toString() {
      let s = this.date.getHours();
      return /h/.test(this.token) && (s = s % 12 || 12), this.token.length > 1 ? String(s).padStart(2, "0") : s;
    }
  };
  t.exports = i;
})), $m = /* @__PURE__ */ j(((e, t) => {
  var r = vr(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setMilliseconds(this.date.getMilliseconds() + 1);
    }
    down() {
      this.date.setMilliseconds(this.date.getMilliseconds() - 1);
    }
    setTo(s) {
      this.date.setMilliseconds(parseInt(s.substr(-this.token.length)));
    }
    toString() {
      return String(this.date.getMilliseconds()).padStart(4, "0").substr(0, this.token.length);
    }
  };
  t.exports = i;
})), xm = /* @__PURE__ */ j(((e, t) => {
  var r = vr(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setMinutes(this.date.getMinutes() + 1);
    }
    down() {
      this.date.setMinutes(this.date.getMinutes() - 1);
    }
    setTo(s) {
      this.date.setMinutes(parseInt(s.substr(-2)));
    }
    toString() {
      let s = this.date.getMinutes();
      return this.token.length > 1 ? String(s).padStart(2, "0") : s;
    }
  };
  t.exports = i;
})), Bm = /* @__PURE__ */ j(((e, t) => {
  var r = vr(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setMonth(this.date.getMonth() + 1);
    }
    down() {
      this.date.setMonth(this.date.getMonth() - 1);
    }
    setTo(s) {
      s = parseInt(s.substr(-2)) - 1, this.date.setMonth(s < 0 ? 0 : s);
    }
    toString() {
      let s = this.date.getMonth(), h = this.token.length;
      return h === 2 ? String(s + 1).padStart(2, "0") : h === 3 ? this.locales.monthsShort[s] : h === 4 ? this.locales.months[s] : String(s + 1);
    }
  };
  t.exports = i;
})), Pm = /* @__PURE__ */ j(((e, t) => {
  var r = vr(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setSeconds(this.date.getSeconds() + 1);
    }
    down() {
      this.date.setSeconds(this.date.getSeconds() - 1);
    }
    setTo(s) {
      this.date.setSeconds(parseInt(s.substr(-2)));
    }
    toString() {
      let s = this.date.getSeconds();
      return this.token.length > 1 ? String(s).padStart(2, "0") : s;
    }
  };
  t.exports = i;
})), Mm = /* @__PURE__ */ j(((e, t) => {
  var r = vr(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setFullYear(this.date.getFullYear() + 1);
    }
    down() {
      this.date.setFullYear(this.date.getFullYear() - 1);
    }
    setTo(s) {
      this.date.setFullYear(s.substr(-4));
    }
    toString() {
      let s = String(this.date.getFullYear()).padStart(4, "0");
      return this.token.length === 2 ? s.substr(-2) : s;
    }
  };
  t.exports = i;
})), jm = /* @__PURE__ */ j(((e, t) => {
  t.exports = {
    DatePart: vr(),
    Meridiem: Lm(),
    Day: Fm(),
    Hours: Nm(),
    Milliseconds: $m(),
    Minutes: xm(),
    Month: Bm(),
    Seconds: Pm(),
    Year: Mm()
  };
})), Um = /* @__PURE__ */ j(((e, t) => {
  var r = er(), i = Cr(), { style: s, clear: h, figures: a } = cr(), { erase: n, cursor: l } = tr(), { DatePart: u, Meridiem: f, Day: o, Hours: c, Milliseconds: d, Minutes: p, Month: m, Seconds: g, Year: v } = jm(), y = /\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g, w = {
    1: ({ token: E }) => E.replace(/\\(.)/g, "$1"),
    2: (E) => new o(E),
    3: (E) => new m(E),
    4: (E) => new v(E),
    5: (E) => new f(E),
    6: (E) => new c(E),
    7: (E) => new p(E),
    8: (E) => new g(E),
    9: (E) => new d(E)
  }, _ = {
    months: "January,February,March,April,May,June,July,August,September,October,November,December".split(","),
    monthsShort: "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),
    weekdays: "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),
    weekdaysShort: "Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")
  }, b = class extends i {
    constructor(E = {}) {
      super(E), this.msg = E.message, this.cursor = 0, this.typed = "", this.locales = Object.assign(_, E.locales), this._date = E.initial || /* @__PURE__ */ new Date(), this.errorMsg = E.error || "Please Enter A Valid Value", this.validator = E.validate || (() => !0), this.mask = E.mask || "YYYY-MM-DD HH:mm:ss", this.clear = h("", this.out.columns), this.render();
    }
    get value() {
      return this.date;
    }
    get date() {
      return this._date;
    }
    set date(E) {
      E && this._date.setTime(E.getTime());
    }
    set mask(E) {
      let D;
      for (this.parts = []; D = y.exec(E); ) {
        let C = D.shift(), T = D.findIndex((U) => U != null);
        this.parts.push(T in w ? w[T]({
          token: D[T] || C,
          date: this.date,
          parts: this.parts,
          locales: this.locales
        }) : D[T] || C);
      }
      let S = this.parts.reduce((C, T) => (typeof T == "string" && typeof C[C.length - 1] == "string" ? C[C.length - 1] += T : C.push(T), C), []);
      this.parts.splice(0), this.parts.push(...S), this.reset();
    }
    moveCursor(E) {
      this.typed = "", this.cursor = E, this.fire();
    }
    reset() {
      this.moveCursor(this.parts.findIndex((E) => E instanceof u)), this.fire(), this.render();
    }
    exit() {
      this.abort();
    }
    abort() {
      this.done = this.aborted = !0, this.error = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    async validate() {
      let E = await this.validator(this.value);
      typeof E == "string" && (this.errorMsg = E, E = !1), this.error = !E;
    }
    async submit() {
      if (await this.validate(), this.error) {
        this.color = "red", this.fire(), this.render();
        return;
      }
      this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    up() {
      this.typed = "", this.parts[this.cursor].up(), this.render();
    }
    down() {
      this.typed = "", this.parts[this.cursor].down(), this.render();
    }
    left() {
      let E = this.parts[this.cursor].prev();
      if (E == null) return this.bell();
      this.moveCursor(this.parts.indexOf(E)), this.render();
    }
    right() {
      let E = this.parts[this.cursor].next();
      if (E == null) return this.bell();
      this.moveCursor(this.parts.indexOf(E)), this.render();
    }
    next() {
      let E = this.parts[this.cursor].next();
      this.moveCursor(E ? this.parts.indexOf(E) : this.parts.findIndex((D) => D instanceof u)), this.render();
    }
    _(E) {
      /\d/.test(E) && (this.typed += E, this.parts[this.cursor].setTo(this.typed), this.render());
    }
    render() {
      this.closed || (this.firstRender ? this.out.write(l.hide) : this.out.write(h(this.outputText, this.out.columns)), super.render(), this.outputText = [
        s.symbol(this.done, this.aborted),
        r.bold(this.msg),
        s.delimiter(!1),
        this.parts.reduce((E, D, S) => E.concat(S === this.cursor && !this.done ? r.cyan().underline(D.toString()) : D), []).join("")
      ].join(" "), this.error && (this.outputText += this.errorMsg.split(`
`).reduce((E, D, S) => E + `
${S ? " " : a.pointerSmall} ${r.red().italic(D)}`, "")), this.out.write(n.line + l.to(0) + this.outputText));
    }
  };
  t.exports = b;
})), Hm = /* @__PURE__ */ j(((e, t) => {
  var r = er(), i = Cr(), { cursor: s, erase: h } = tr(), { style: a, figures: n, clear: l, lines: u } = cr(), f = /[0-9]/, o = (p) => p !== void 0, c = (p, m) => {
    let g = Math.pow(10, m);
    return Math.round(p * g) / g;
  }, d = class extends i {
    constructor(p = {}) {
      super(p), this.transform = a.render(p.style), this.msg = p.message, this.initial = o(p.initial) ? p.initial : "", this.float = !!p.float, this.round = p.round || 2, this.inc = p.increment || 1, this.min = o(p.min) ? p.min : -1 / 0, this.max = o(p.max) ? p.max : 1 / 0, this.errorMsg = p.error || "Please Enter A Valid Value", this.validator = p.validate || (() => !0), this.color = "cyan", this.value = "", this.typed = "", this.lastHit = 0, this.render();
    }
    set value(p) {
      !p && p !== 0 ? (this.placeholder = !0, this.rendered = r.gray(this.transform.render(`${this.initial}`)), this._value = "") : (this.placeholder = !1, this.rendered = this.transform.render(`${c(p, this.round)}`), this._value = c(p, this.round)), this.fire();
    }
    get value() {
      return this._value;
    }
    parse(p) {
      return this.float ? parseFloat(p) : parseInt(p);
    }
    valid(p) {
      return p === "-" || p === "." && this.float || f.test(p);
    }
    reset() {
      this.typed = "", this.value = "", this.fire(), this.render();
    }
    exit() {
      this.abort();
    }
    abort() {
      let p = this.value;
      this.value = p !== "" ? p : this.initial, this.done = this.aborted = !0, this.error = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    async validate() {
      let p = await this.validator(this.value);
      typeof p == "string" && (this.errorMsg = p, p = !1), this.error = !p;
    }
    async submit() {
      if (await this.validate(), this.error) {
        this.color = "red", this.fire(), this.render();
        return;
      }
      let p = this.value;
      this.value = p !== "" ? p : this.initial, this.done = !0, this.aborted = !1, this.error = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    up() {
      if (this.typed = "", this.value === "" && (this.value = this.min - this.inc), this.value >= this.max) return this.bell();
      this.value += this.inc, this.color = "cyan", this.fire(), this.render();
    }
    down() {
      if (this.typed = "", this.value === "" && (this.value = this.min + this.inc), this.value <= this.min) return this.bell();
      this.value -= this.inc, this.color = "cyan", this.fire(), this.render();
    }
    delete() {
      let p = this.value.toString();
      if (p.length === 0) return this.bell();
      this.value = this.parse(p = p.slice(0, -1)) || "", this.value !== "" && this.value < this.min && (this.value = this.min), this.color = "cyan", this.fire(), this.render();
    }
    next() {
      this.value = this.initial, this.fire(), this.render();
    }
    _(p, m) {
      if (!this.valid(p)) return this.bell();
      const g = Date.now();
      if (g - this.lastHit > 1e3 && (this.typed = ""), this.typed += p, this.lastHit = g, this.color = "cyan", p === ".") return this.fire();
      this.value = Math.min(this.parse(this.typed), this.max), this.value > this.max && (this.value = this.max), this.value < this.min && (this.value = this.min), this.fire(), this.render();
    }
    render() {
      this.closed || (this.firstRender || (this.outputError && this.out.write(s.down(u(this.outputError, this.out.columns) - 1) + l(this.outputError, this.out.columns)), this.out.write(l(this.outputText, this.out.columns))), super.render(), this.outputError = "", this.outputText = [
        a.symbol(this.done, this.aborted),
        r.bold(this.msg),
        a.delimiter(this.done),
        !this.done || !this.done && !this.placeholder ? r[this.color]().underline(this.rendered) : this.rendered
      ].join(" "), this.error && (this.outputError += this.errorMsg.split(`
`).reduce((p, m, g) => p + `
${g ? " " : n.pointerSmall} ${r.red().italic(m)}`, "")), this.out.write(h.line + s.to(0) + this.outputText + s.save + this.outputError + s.restore));
    }
  };
  t.exports = d;
})), Lh = /* @__PURE__ */ j(((e, t) => {
  var r = er(), { cursor: i } = tr(), s = Cr(), { clear: h, figures: a, style: n, wrap: l, entriesToDisplay: u } = cr(), f = class extends s {
    constructor(o = {}) {
      super(o), this.isSelect = !0, this.msg = o.message, this.cursorStart = o.choices.findIndex((c) => !c.heading), this.cursor = o.cursor || this.cursorStart, this.scrollIndex = o.cursor || 0, this.hint = o.hint || "", this.warn = o.warn || "- This option is disabled -", this.minSelected = o.min, this.showMinError = !1, this.maxChoices = o.max, this.instructions = o.instructions, this.optionsPerPage = o.optionsPerPage || 10, this.value = o.choices.map((c, d) => (typeof c == "string" && (c = {
        title: c,
        value: d
      }), {
        title: c && (c.title || c.value || c),
        description: c && c.description,
        value: c && (c.value === void 0 ? d : c.value),
        selected: c && c.selected,
        disabled: c && c.disabled,
        heading: c && c.heading
      })), this.clear = h("", this.out.columns), o.overrideRender || this.render();
    }
    reset() {
      this.value.map((o) => !o.selected), this.cursor = this.cursorStart, this.fire(), this.render();
    }
    selected() {
      return this.value.filter((o) => o.selected);
    }
    exit() {
      this.abort();
    }
    abort() {
      this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    submit() {
      const o = this.value.filter((c) => c.selected);
      this.minSelected && o.length < this.minSelected ? (this.showMinError = !0, this.render()) : (this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close());
    }
    first() {
      this.cursor = this.cursorStart, this.render();
    }
    last() {
      this.cursor = this.value.length - 1, this.render();
    }
    next() {
      this.cursor = (this.cursor + 1) % this.value.length, this.value[this.cursor].heading && this.next(), this.render();
    }
    up() {
      this.cursor === this.cursorStart ? this.cursor = this.value.length - 1 : this.cursor--, this.value[this.cursor].heading && this.up(), this.render();
    }
    down() {
      this.cursor === this.value.length - 1 ? this.cursor = this.cursorStart : this.cursor++, this.value[this.cursor].heading && this.down(), this.render();
    }
    left() {
      this.value[this.cursor].selected = !1, this.render();
    }
    right() {
      if (this.value.filter((o) => o.selected).length >= this.maxChoices) return this.bell();
      this.value[this.cursor].selected = !0, this.render();
    }
    handleSpaceToggle() {
      const o = this.value[this.cursor];
      if (o.selected)
        o.selected = !1, this.render();
      else {
        if (o.disabled || this.value.filter((c) => c.selected).length >= this.maxChoices) return this.bell();
        o.selected = !0, this.render();
      }
    }
    toggleAll() {
      if (this.maxChoices !== void 0 || this.value[this.cursor].disabled) return this.bell();
      const o = !this.value[this.cursor].selected;
      this.value.filter((c) => !c.disabled && !c.heading).forEach((c) => c.selected = o), this.render();
    }
    _(o, c) {
      if (o === " ") this.handleSpaceToggle();
      else if (o === "a") this.toggleAll();
      else return this.bell();
    }
    renderInstructions() {
      return this.instructions === void 0 || this.instructions ? typeof this.instructions == "string" ? this.instructions : `
Instructions:
    ${a.arrowUp}/${a.arrowDown}: Highlight option
    ${a.arrowLeft}/${a.arrowRight}/[space]: Toggle selection
` + (this.maxChoices === void 0 ? `    a: Toggle all
` : "") + "    enter/return: Complete answer" : "";
    }
    renderOption(o, c, d, p) {
      const m = (o === d ? "❯ " : "  ") + (c.selected ? r.green(a.radioOn) : a.radioOff) + " ";
      let g, v;
      if (c.disabled) g = o === d ? r.gray(c.title) : r.strikethrough().gray(c.title);
      else {
        if (c.heading)
          return g = c.title, g + r.gray(v || "");
        g = c.title, o === d && c.description && (v = ` - ${c.description}`, (m.length + g.length + v.length >= this.out.columns || c.description.split(/\r?\n/).length > 1) && (v = `
` + l(c.description, {
          margin: m.length,
          width: this.out.columns
        })));
      }
      return m + g + r.gray(v || "");
    }
    paginateOptions(o) {
      if (o.length === 0) return r.red("No matches for this query.");
      let { startIndex: c, endIndex: d } = u(this.cursor, o.length, this.optionsPerPage), p, m = [];
      for (let g = c; g < d; g++)
        g === c && c > 0 ? p = a.arrowUp : g === d - 1 && d < o.length ? p = a.arrowDown : p = " ", m.push(this.renderOption(this.cursor, o[g], g, p));
      return `
` + m.join(`
`);
    }
    renderOptions(o) {
      return this.done ? "" : this.paginateOptions(o);
    }
    renderDoneOrInstructions() {
      if (this.done) return "";
      const o = [r.gray(this.hint), this.renderInstructions()];
      return this.value[this.cursor].disabled && o.push(r.yellow(this.warn)), o.join(" ");
    }
    render() {
      if (this.closed) return;
      this.firstRender && this.out.write(i.hide), super.render();
      let o = [
        n.symbol(this.done, this.aborted),
        r.bold(this.msg),
        n.delimiter(!1),
        this.renderDoneOrInstructions()
      ].join(" ");
      this.showMinError && (o += r.red(`You must select a minimum of ${this.minSelected} choices.`), this.showMinError = !1), o += this.renderOptions(this.value), this.out.write(this.clear + o), this.clear = h(o, this.out.columns);
    }
  };
  t.exports = f;
})), qm = /* @__PURE__ */ j(((e, t) => {
  var r = er(), i = Cr(), { erase: s, cursor: h } = tr(), { style: a, clear: n, figures: l, wrap: u, entriesToDisplay: f } = cr(), o = (m, g) => m[g] && (m[g].value || m[g].title || m[g]), c = (m, g) => m[g] && (m[g].title || m[g].value || m[g]), d = (m, g) => {
    const v = m.findIndex((y) => y.value === g || y.title === g);
    return v > -1 ? v : void 0;
  }, p = class extends i {
    constructor(m = {}) {
      super(m), this.msg = m.message, this.suggest = m.suggest, this.choices = m.choices, this.initial = typeof m.initial == "number" ? m.initial : d(m.choices, m.initial), this.select = this.initial || m.cursor || 0, this.i18n = { noMatches: m.noMatches || "no matches found" }, this.fallback = m.fallback || this.initial, this.clearFirst = m.clearFirst || !1, this.suggestions = [], this.input = "", this.limit = m.limit || 10, this.cursor = 0, this.transform = a.render(m.style), this.scale = this.transform.scale, this.render = this.render.bind(this), this.complete = this.complete.bind(this), this.clear = n("", this.out.columns), this.complete(this.render), this.render();
    }
    set fallback(m) {
      this._fb = Number.isSafeInteger(parseInt(m)) ? parseInt(m) : m;
    }
    get fallback() {
      let m;
      return typeof this._fb == "number" ? m = this.choices[this._fb] : typeof this._fb == "string" && (m = { title: this._fb }), m || this._fb || { title: this.i18n.noMatches };
    }
    moveSelect(m) {
      this.select = m, this.suggestions.length > 0 ? this.value = o(this.suggestions, m) : this.value = this.fallback.value, this.fire();
    }
    async complete(m) {
      const g = this.completing = this.suggest(this.input, this.choices), v = await g;
      if (this.completing !== g) return;
      this.suggestions = v.map((w, _, b) => ({
        title: c(b, _),
        value: o(b, _),
        description: w.description
      })), this.completing = !1;
      const y = Math.max(v.length - 1, 0);
      this.moveSelect(Math.min(y, this.select)), m && m();
    }
    reset() {
      this.input = "", this.complete(() => {
        this.moveSelect(this.initial !== void 0 ? this.initial : 0), this.render();
      }), this.render();
    }
    exit() {
      this.clearFirst && this.input.length > 0 ? this.reset() : (this.done = this.exited = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close());
    }
    abort() {
      this.done = this.aborted = !0, this.exited = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    submit() {
      this.done = !0, this.aborted = this.exited = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    _(m, g) {
      let v = this.input.slice(0, this.cursor);
      this.input = `${v}${m}${this.input.slice(this.cursor)}`, this.cursor = v.length + 1, this.complete(this.render), this.render();
    }
    delete() {
      if (this.cursor === 0) return this.bell();
      this.input = `${this.input.slice(0, this.cursor - 1)}${this.input.slice(this.cursor)}`, this.complete(this.render), this.cursor = this.cursor - 1, this.render();
    }
    deleteForward() {
      if (this.cursor * this.scale >= this.rendered.length) return this.bell();
      this.input = `${this.input.slice(0, this.cursor)}${this.input.slice(this.cursor + 1)}`, this.complete(this.render), this.render();
    }
    first() {
      this.moveSelect(0), this.render();
    }
    last() {
      this.moveSelect(this.suggestions.length - 1), this.render();
    }
    up() {
      this.select === 0 ? this.moveSelect(this.suggestions.length - 1) : this.moveSelect(this.select - 1), this.render();
    }
    down() {
      this.select === this.suggestions.length - 1 ? this.moveSelect(0) : this.moveSelect(this.select + 1), this.render();
    }
    next() {
      this.select === this.suggestions.length - 1 ? this.moveSelect(0) : this.moveSelect(this.select + 1), this.render();
    }
    nextPage() {
      this.moveSelect(Math.min(this.select + this.limit, this.suggestions.length - 1)), this.render();
    }
    prevPage() {
      this.moveSelect(Math.max(this.select - this.limit, 0)), this.render();
    }
    left() {
      if (this.cursor <= 0) return this.bell();
      this.cursor = this.cursor - 1, this.render();
    }
    right() {
      if (this.cursor * this.scale >= this.rendered.length) return this.bell();
      this.cursor = this.cursor + 1, this.render();
    }
    renderOption(m, g, v, y) {
      let w, _ = v ? l.arrowUp : y ? l.arrowDown : " ", b = g ? r.cyan().underline(m.title) : m.title;
      return _ = (g ? r.cyan(l.pointer) + " " : "  ") + _, m.description && (w = ` - ${m.description}`, (_.length + b.length + w.length >= this.out.columns || m.description.split(/\r?\n/).length > 1) && (w = `
` + u(m.description, {
        margin: 3,
        width: this.out.columns
      }))), _ + " " + b + r.gray(w || "");
    }
    render() {
      if (this.closed) return;
      this.firstRender ? this.out.write(h.hide) : this.out.write(n(this.outputText, this.out.columns)), super.render();
      let { startIndex: m, endIndex: g } = f(this.select, this.choices.length, this.limit);
      if (this.outputText = [
        a.symbol(this.done, this.aborted, this.exited),
        r.bold(this.msg),
        a.delimiter(this.completing),
        this.done && this.suggestions[this.select] ? this.suggestions[this.select].title : this.rendered = this.transform.render(this.input)
      ].join(" "), !this.done) {
        const v = this.suggestions.slice(m, g).map((y, w) => this.renderOption(y, this.select === w + m, w === 0 && m > 0, w + m === g - 1 && g < this.choices.length)).join(`
`);
        this.outputText += `
` + (v || r.gray(this.fallback.title));
      }
      this.out.write(s.line + h.to(0) + this.outputText);
    }
  };
  t.exports = p;
})), zm = /* @__PURE__ */ j(((e, t) => {
  var r = er(), { cursor: i } = tr(), s = Lh(), { clear: h, style: a, figures: n } = cr(), l = class extends s {
    constructor(u = {}) {
      u.overrideRender = !0, super(u), this.inputValue = "", this.clear = h("", this.out.columns), this.filteredOptions = this.value, this.render();
    }
    last() {
      this.cursor = this.filteredOptions.length - 1, this.render();
    }
    next() {
      this.cursor = (this.cursor + 1) % this.filteredOptions.length, this.render();
    }
    up() {
      this.cursor === 0 ? this.cursor = this.filteredOptions.length - 1 : this.cursor--, this.render();
    }
    down() {
      this.cursor === this.filteredOptions.length - 1 ? this.cursor = 0 : this.cursor++, this.render();
    }
    left() {
      this.filteredOptions[this.cursor].selected = !1, this.render();
    }
    right() {
      if (this.value.filter((u) => u.selected).length >= this.maxChoices) return this.bell();
      this.filteredOptions[this.cursor].selected = !0, this.render();
    }
    delete() {
      this.inputValue.length && (this.inputValue = this.inputValue.substr(0, this.inputValue.length - 1), this.updateFilteredOptions());
    }
    updateFilteredOptions() {
      const u = this.filteredOptions[this.cursor];
      this.filteredOptions = this.value.filter((o) => this.inputValue ? !!(typeof o.title == "string" && o.title.toLowerCase().includes(this.inputValue.toLowerCase()) || typeof o.value == "string" && o.value.toLowerCase().includes(this.inputValue.toLowerCase())) : !0);
      const f = this.filteredOptions.findIndex((o) => o === u);
      this.cursor = f < 0 ? 0 : f, this.render();
    }
    handleSpaceToggle() {
      const u = this.filteredOptions[this.cursor];
      if (u.selected)
        u.selected = !1, this.render();
      else {
        if (u.disabled || this.value.filter((f) => f.selected).length >= this.maxChoices) return this.bell();
        u.selected = !0, this.render();
      }
    }
    handleInputChange(u) {
      this.inputValue = this.inputValue + u, this.updateFilteredOptions();
    }
    _(u, f) {
      u === " " ? this.handleSpaceToggle() : this.handleInputChange(u);
    }
    renderInstructions() {
      return this.instructions === void 0 || this.instructions ? typeof this.instructions == "string" ? this.instructions : `
Instructions:
    ${n.arrowUp}/${n.arrowDown}: Highlight option
    ${n.arrowLeft}/${n.arrowRight}/[space]: Toggle selection
    [a,b,c]/delete: Filter choices
    enter/return: Complete answer
` : "";
    }
    renderCurrentInput() {
      return `
Filtered results for: ${this.inputValue ? this.inputValue : r.gray("Enter something to filter")}
`;
    }
    renderOption(u, f, o, c) {
      const d = (f.selected ? r.green(n.radioOn) : n.radioOff) + " " + c + " ";
      let p;
      return f.disabled ? p = u === o ? r.gray().underline(f.title) : r.strikethrough().gray(f.title) : p = u === o ? r.cyan().underline(f.title) : f.title, d + p;
    }
    renderDoneOrInstructions() {
      if (this.done) return this.value.filter((f) => f.selected).map((f) => f.title).join(", ");
      const u = [
        r.gray(this.hint),
        this.renderInstructions(),
        this.renderCurrentInput()
      ];
      return this.filteredOptions.length && this.filteredOptions[this.cursor].disabled && u.push(r.yellow(this.warn)), u.join(" ");
    }
    render() {
      if (this.closed) return;
      this.firstRender && this.out.write(i.hide), super.render();
      let u = [
        a.symbol(this.done, this.aborted),
        r.bold(this.msg),
        a.delimiter(!1),
        this.renderDoneOrInstructions()
      ].join(" ");
      this.showMinError && (u += r.red(`You must select a minimum of ${this.minSelected} choices.`), this.showMinError = !1), u += this.renderOptions(this.filteredOptions), this.out.write(this.clear + u), this.clear = h(u, this.out.columns);
    }
  };
  t.exports = l;
})), Gm = /* @__PURE__ */ j(((e, t) => {
  var r = er(), i = Cr(), { style: s, clear: h } = cr(), { erase: a, cursor: n } = tr(), l = class extends i {
    constructor(u = {}) {
      super(u), this.msg = u.message, this.value = u.initial, this.initialValue = !!u.initial, this.yesMsg = u.yes || "yes", this.yesOption = u.yesOption || "(Y/n)", this.noMsg = u.no || "no", this.noOption = u.noOption || "(y/N)", this.render();
    }
    reset() {
      this.value = this.initialValue, this.fire(), this.render();
    }
    exit() {
      this.abort();
    }
    abort() {
      this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    submit() {
      this.value = this.value || !1, this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    _(u, f) {
      return u.toLowerCase() === "y" ? (this.value = !0, this.submit()) : u.toLowerCase() === "n" ? (this.value = !1, this.submit()) : this.bell();
    }
    render() {
      if (this.closed) return;
      this.firstRender ? this.out.write(n.hide) : this.out.write(h(this.outputText, this.out.columns)), super.render();
      const u = this.aborted || this.done && !this.value;
      this.outputText = [
        s.symbol(this.done, u),
        r.bold(this.msg),
        s.delimiter(this.done),
        this.done ? this.value && !this.aborted ? this.yesMsg : this.noMsg : r.gray(this.initialValue ? this.yesOption : this.noOption)
      ].join(" "), this.out.write(a.line + n.to(0) + this.outputText);
    }
  };
  t.exports = l;
})), Wm = /* @__PURE__ */ j(((e, t) => {
  t.exports = {
    TextPrompt: Om(),
    SelectPrompt: Im(),
    TogglePrompt: km(),
    DatePrompt: Um(),
    NumberPrompt: Hm(),
    MultiselectPrompt: Lh(),
    AutocompletePrompt: qm(),
    AutocompleteMultiselectPrompt: zm(),
    ConfirmPrompt: Gm()
  };
})), Vm = /* @__PURE__ */ j(((e) => {
  var t = e, r = Wm(), i = (a) => a;
  function s(a, n, l = {}) {
    return new Promise((u, f) => {
      const o = new r[a](n), c = l.onAbort || i, d = l.onSubmit || i, p = l.onExit || i;
      o.on("state", n.onState || i), o.on("submit", (m) => u(d(m))), o.on("exit", (m) => u(p(m))), o.on("abort", (m) => f(c(m)));
    });
  }
  t.text = (a) => s("TextPrompt", a), t.password = (a) => (a.style = "password", t.text(a)), t.invisible = (a) => (a.style = "invisible", t.text(a)), t.number = (a) => s("NumberPrompt", a), t.date = (a) => s("DatePrompt", a), t.confirm = (a) => s("ConfirmPrompt", a), t.list = (a) => {
    const n = a.separator || ",";
    return s("TextPrompt", a, { onSubmit: (l) => l.split(n).map((u) => u.trim()) });
  }, t.toggle = (a) => s("TogglePrompt", a), t.select = (a) => s("SelectPrompt", a), t.multiselect = (a) => {
    a.choices = [].concat(a.choices || []);
    const n = (l) => l.filter((u) => u.selected).map((u) => u.value);
    return s("MultiselectPrompt", a, {
      onAbort: n,
      onSubmit: n
    });
  }, t.autocompleteMultiselect = (a) => {
    a.choices = [].concat(a.choices || []);
    const n = (l) => l.filter((u) => u.selected).map((u) => u.value);
    return s("AutocompleteMultiselectPrompt", a, {
      onAbort: n,
      onSubmit: n
    });
  };
  var h = (a, n) => Promise.resolve(n.filter((l) => l.title.slice(0, a.length).toLowerCase() === a.toLowerCase()));
  t.autocomplete = (a) => (a.suggest = a.suggest || h, a.choices = [].concat(a.choices || []), s("AutocompletePrompt", a));
})), Ym = /* @__PURE__ */ j(((e, t) => {
  var r = Vm(), i = [
    "suggest",
    "format",
    "onState",
    "validate",
    "onRender",
    "type"
  ], s = () => {
  };
  async function h(u = [], { onSubmit: f = s, onCancel: o = s } = {}) {
    const c = {}, d = h._override || {};
    u = [].concat(u);
    let p, m, g, v, y, w;
    const _ = async (b, E, D = !1) => {
      if (!(!D && b.validate && b.validate(E) !== !0))
        return b.format ? await b.format(E, c) : E;
    };
    for (m of u)
      if ({ name: v, type: y } = m, typeof y == "function" && (y = await y(p, { ...c }, m), m.type = y), !!y) {
        for (let b in m) {
          if (i.includes(b)) continue;
          let E = m[b];
          m[b] = typeof E == "function" ? await E(p, { ...c }, w) : E;
        }
        if (w = m, typeof m.message != "string") throw new Error("prompt message is required");
        if ({ name: v, type: y } = m, r[y] === void 0) throw new Error(`prompt type (${y}) is not defined`);
        if (d[m.name] !== void 0 && (p = await _(m, d[m.name]), p !== void 0)) {
          c[v] = p;
          continue;
        }
        try {
          p = h._injected ? a(h._injected, m.initial) : await r[y](m), c[v] = p = await _(m, p, !0), g = await f(m, p, c);
        } catch {
          g = !await o(m, c);
        }
        if (g) return c;
      }
    return c;
  }
  function a(u, f) {
    const o = u.shift();
    if (o instanceof Error) throw o;
    return o === void 0 ? f : o;
  }
  function n(u) {
    h._injected = (h._injected || []).concat(u);
  }
  function l(u) {
    h._override = Object.assign({}, u);
  }
  t.exports = Object.assign(h, {
    prompt: h,
    prompts: r,
    inject: n,
    override: l
  });
})), Km = /* @__PURE__ */ j(((e, t) => {
  t.exports = Ym();
})), jn = /* @__PURE__ */ zt(Km(), 1), Zm = "npm-check-updates", Jm = "21.0.0", Xm = "Tomas Junnonen <tomas1@gmail.com>", Qm = "Apache-2.0", e0 = ["Raine Revere (https://github.com/raineorshine)", "Imamuzzaki Abu Salam <imamuzzaki@gmail.com>"], t0 = "Find newer versions of dependencies than what your package.json allows", r0 = [
  "dependencies",
  "npm",
  "package.json",
  "update",
  "upgrade",
  "versions"
], i0 = {
  node: "^20.19.0 || ^22.12.0 || >=24.0.0",
  npm: ">=10.0.0"
}, n0 = "module", s0 = "build/index.cjs", a0 = "build/index.js", o0 = "build/index.d.ts", u0 = {
  "npm-check-updates": "build/cli.js",
  ncu: "build/cli.js"
}, l0 = {
  ".": {
    types: "./build/index.d.ts",
    import: "./build/index.js",
    require: "./build/index.cjs"
  },
  "./package.json": "./package.json"
}, c0 = {
  build: "rimraf build && vite build",
  "build:options": "tsx src/scripts/build-options.ts",
  "build:analyze": "rimraf build && ANALYZER=true vite build",
  lint: "cross-env FORCE_COLOR=1 npm-run-all --parallel --aggregate-output lint:*",
  "lint:lockfile": "lockfile-lint",
  "lint:types": "tsc --noEmit",
  "lint:markdown": 'markdownlint "**/*.md" --ignore "**/node_modules/**/*.md" --ignore build --config .markdownlint.json',
  "lint:src": "eslint --cache --cache-location node_modules/.cache/.eslintcache --report-unused-disable-directives",
  prepare: "src/scripts/install-hooks",
  prepublishOnly: "npm run build",
  prettier: "prettier . --check",
  "prettier:fix": "prettier . --write",
  test: "tsc --noEmit && npm run test:unit && npm run test:e2e",
  "test:bun": "mocha test/bun",
  "test:unit": "mocha test test/package-managers/* --ignore 'test/bun/*'",
  "test:e2e": "./test/e2e.sh",
  typecheck: "tsc --noEmit",
  ncu: "node build/cli.js"
}, h0 = {
  type: "git",
  url: "git+https://github.com/raineorshine/npm-check-updates.git"
}, f0 = "https://github.com/raineorshine/npm-check-updates", d0 = { url: "https://github.com/raineorshine/npm-check-updates/issues" }, p0 = {
  typescript: "$typescript",
  eslint: "$eslint",
  "eslint-config-standard": {
    "eslint-plugin-n": "$eslint-plugin-n",
    "eslint-plugin-promise": "$eslint-plugin-promise"
  },
  "@verdaccio/core": ">=8.0.0-next-8.33",
  "chai-string": { chai: "$chai" },
  diff: ">=8.0.3",
  lodash: ">=4.18.1",
  "serialize-javascript": ">=7.0.3"
}, g0 = {
  "@eslint/compat": "^2.0.3",
  "@eslint/js": "^10.0.1",
  "@streamparser/json": "^0.0.22",
  "@trivago/prettier-plugin-sort-imports": "^6.0.2",
  "@types/bun": "^1.3.11",
  "@types/chai": "^5.2.3",
  "@types/chai-as-promised": "^8.0.2",
  "@types/chai-string": "^1.4.5",
  "@types/cli-table": "^0.3.4",
  "@types/hosted-git-info": "^3.0.5",
  "@types/ini": "^4.1.1",
  "@types/js-yaml": "^4.0.9",
  "@types/jsonlines": "^0.1.5",
  "@types/lodash-es": "^4.17.12",
  "@types/mocha": "^10.0.10",
  "@types/node": "^25.5.2",
  "@types/npm-registry-fetch": "^8.0.9",
  "@types/parse-github-url": "^1.0.3",
  "@types/picomatch": "^4.0.3",
  "@types/progress": "^2.0.7",
  "@types/prompts": "^2.4.9",
  "@types/semver": "^7.7.1",
  "@types/semver-utils": "^1.1.3",
  "@types/sinon": "^21.0.1",
  "@types/update-notifier": "^6.0.8",
  "@typescript-eslint/eslint-plugin": "^8.57.2",
  "@typescript-eslint/parser": "^8.57.2",
  camelcase: "^9.0.0",
  chai: "^6.2.2",
  "chai-as-promised": "^8.0.2",
  "chai-string": "^1.6.0",
  chalk: "^5.6.2",
  "cli-table3": "^0.6.5",
  commander: "^14.0.3",
  "cross-env": "^10.1.0",
  dequal: "^2.0.3",
  eslint: "^10.2.0",
  "eslint-config-prettier": "^10.1.8",
  "eslint-config-raine": "^0.5.0",
  "eslint-config-standard": "^17.1.0",
  "eslint-import-resolver-typescript": "^4.4.4",
  "eslint-plugin-import-x": "^4.16.2",
  "eslint-plugin-jsdoc": "^62.9.0",
  "eslint-plugin-n": "^17.24.0",
  "eslint-plugin-promise": "^7.2.1",
  "fast-glob": "^3.3.3",
  "fast-memoize": "^2.5.2",
  "find-up": "^8.0.0",
  "fp-and-or": "^1.0.2",
  globals: "^17.4.0",
  "hosted-git-info": "^9.0.2",
  ini: "^6.0.0",
  "js-yaml": "^4.1.1",
  "jsonc-parser": "^3.3.1",
  jsonlines: "^0.1.1",
  "lockfile-lint": "^5.0.0",
  "lodash-es": "^4.18.1",
  "markdownlint-cli": "^0.48.0",
  mocha: "^11.7.5",
  "npm-registry-fetch": "^19.1.1",
  "npm-run-all": "^4.1.5",
  "p-map": "^7.0.4",
  "parse-github-url": "^1.0.4",
  picomatch: "^4.0.4",
  prettier: "^3.8.1",
  progress: "^2.0.3",
  "prompts-ncu": "^3.0.2",
  "rc-config-loader": "^4.1.4",
  rfdc: "^1.4.1",
  rimraf: "^6.1.3",
  semver: "^7.7.4",
  "semver-utils": "^1.1.4",
  should: "^13.2.3",
  sinon: "^21.0.3",
  "source-map-support": "^0.5.21",
  "spawn-please": "^3.0.0",
  "ts-json-schema-generator": "^2.9.0",
  tsx: "^4.21.0",
  typescript: "^6.0.2",
  untildify: "^6.0.0",
  "update-notifier": "^7.3.1",
  verdaccio: "^6.4.0",
  vite: "^8.0.8",
  "vite-bundle-analyzer": "^1.3.6",
  "vite-plugin-dts": "^4.5.4",
  yaml: "^2.8.3",
  yarn: "^1.22.22",
  zod: "^4.3.6"
}, m0 = ["build", "!**/test/**"], v0 = {
  "check-leaks": !0,
  extension: ["test.ts"],
  "node-option": [
    "import=tsx",
    "enable-source-maps",
    "trace-deprecation",
    "trace-warnings",
    "no-warnings=TimeoutNaNWarning"
  ],
  timeout: 6e4,
  recursive: !0,
  exit: !0
}, Da = {
  name: Zm,
  version: Jm,
  author: Xm,
  license: Qm,
  contributors: e0,
  description: t0,
  keywords: r0,
  engines: i0,
  type: n0,
  main: s0,
  module: a0,
  types: o0,
  bin: u0,
  exports: l0,
  scripts: c0,
  repository: h0,
  homepage: f0,
  bugs: d0,
  overrides: p0,
  devDependencies: g0,
  files: m0,
  "lockfile-lint": {
    "allowed-schemes": ["https:", "git+ssh:"],
    "allowed-hosts": ["npm", "github.com"],
    "empty-hostname": !1,
    type: "npm ",
    path: "package-lock.json"
  },
  mocha: v0
}, lu = /* @__PURE__ */ j(((e, t) => {
  var r = [], i = 0, s = (h, a) => {
    i >= a && r.push(h);
  };
  s.WARN = 1, s.INFO = 2, s.DEBUG = 3, s.reset = () => {
    r = [];
  }, s.setDebugLevel = (h) => {
    i = h;
  }, s.warn = (h) => s(h, s.WARN), s.info = (h) => s(h, s.INFO), s.debug = (h) => s(h, s.DEBUG), s.debugMessages = () => r, t.exports = s;
})), y0 = /* @__PURE__ */ j(((e, t) => {
  t.exports = ({ onlyFirst: r = !1 } = {}) => {
    const i = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");
    return new RegExp(i, r ? void 0 : "g");
  };
})), _0 = /* @__PURE__ */ j(((e, t) => {
  var r = y0();
  t.exports = (i) => typeof i == "string" ? i.replace(r(), "") : i;
})), E0 = /* @__PURE__ */ j(((e, t) => {
  var r = (i) => Number.isNaN(i) ? !1 : i >= 4352 && (i <= 4447 || i === 9001 || i === 9002 || 11904 <= i && i <= 12871 && i !== 12351 || 12880 <= i && i <= 19903 || 19968 <= i && i <= 42182 || 43360 <= i && i <= 43388 || 44032 <= i && i <= 55203 || 63744 <= i && i <= 64255 || 65040 <= i && i <= 65049 || 65072 <= i && i <= 65131 || 65281 <= i && i <= 65376 || 65504 <= i && i <= 65510 || 110592 <= i && i <= 110593 || 127488 <= i && i <= 127569 || 131072 <= i && i <= 262141);
  t.exports = r, t.exports.default = r;
})), b0 = /* @__PURE__ */ j(((e, t) => {
  t.exports = function() {
    return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
  };
})), w0 = /* @__PURE__ */ j(((e, t) => {
  var r = _0(), i = E0(), s = b0(), h = (a) => {
    if (typeof a != "string" || a.length === 0 || (a = r(a), a.length === 0)) return 0;
    a = a.replace(s(), "  ");
    let n = 0;
    for (let l = 0; l < a.length; l++) {
      const u = a.codePointAt(l);
      u <= 31 || u >= 127 && u <= 159 || u >= 768 && u <= 879 || (u > 65535 && l++, n += i(u) ? 2 : 1);
    }
    return n;
  };
  t.exports = h, t.exports.default = h;
})), Fh = /* @__PURE__ */ j(((e, t) => {
  var r = w0();
  function i(D) {
    return D ? /\u001b\[((?:\d*;){0,5}\d*)m/g : /\u001b\[(?:\d*;){0,5}\d*m/g;
  }
  function s(D) {
    let S = i();
    return ("" + D).replace(S, "").split(`
`).reduce(function(C, T) {
      return r(T) > C ? r(T) : C;
    }, 0);
  }
  function h(D, S) {
    return Array(S + 1).join(D);
  }
  function a(D, S, C, T) {
    let U = s(D);
    if (S + 1 >= U) {
      let $ = S - U;
      switch (T) {
        case "right":
          D = h(C, $) + D;
          break;
        case "center": {
          let z = Math.ceil($ / 2);
          D = h(C, $ - z) + D + h(C, z);
          break;
        }
        default:
          D = D + h(C, $);
          break;
      }
    }
    return D;
  }
  var n = {};
  function l(D, S, C) {
    S = "\x1B[" + S + "m", C = "\x1B[" + C + "m", n[S] = {
      set: D,
      to: !0
    }, n[C] = {
      set: D,
      to: !1
    }, n[D] = {
      on: S,
      off: C
    };
  }
  l("bold", 1, 22), l("italics", 3, 23), l("underline", 4, 24), l("inverse", 7, 27), l("strikethrough", 9, 29);
  function u(D, S) {
    let C = S[1] ? parseInt(S[1].split(";")[0]) : 0;
    if (C >= 30 && C <= 39 || C >= 90 && C <= 97) {
      D.lastForegroundAdded = S[0];
      return;
    }
    if (C >= 40 && C <= 49 || C >= 100 && C <= 107) {
      D.lastBackgroundAdded = S[0];
      return;
    }
    if (C === 0) {
      for (let U in D)
        Object.prototype.hasOwnProperty.call(D, U) && delete D[U];
      return;
    }
    let T = n[S[0]];
    T && (D[T.set] = T.to);
  }
  function f(D) {
    let S = i(!0), C = S.exec(D), T = {};
    for (; C !== null; )
      u(T, C), C = S.exec(D);
    return T;
  }
  function o(D, S) {
    let C = D.lastBackgroundAdded, T = D.lastForegroundAdded;
    return delete D.lastBackgroundAdded, delete D.lastForegroundAdded, Object.keys(D).forEach(function(U) {
      D[U] && (S += n[U].off);
    }), C && C != "\x1B[49m" && (S += "\x1B[49m"), T && T != "\x1B[39m" && (S += "\x1B[39m"), S;
  }
  function c(D, S) {
    let C = D.lastBackgroundAdded, T = D.lastForegroundAdded;
    return delete D.lastBackgroundAdded, delete D.lastForegroundAdded, Object.keys(D).forEach(function(U) {
      D[U] && (S = n[U].on + S);
    }), C && C != "\x1B[49m" && (S = C + S), T && T != "\x1B[39m" && (S = T + S), S;
  }
  function d(D, S) {
    if (D.length === s(D)) return D.substr(0, S);
    for (; s(D) > S; ) D = D.slice(0, -1);
    return D;
  }
  function p(D, S) {
    let C = i(!0), T = D.split(i()), U = 0, $ = 0, z = "", Y, H = {};
    for (; $ < S; ) {
      Y = C.exec(D);
      let k = T[U];
      if (U++, $ + s(k) > S && (k = d(k, S - $)), z += k, $ += s(k), $ < S) {
        if (!Y) break;
        z += Y[0], u(H, Y);
      }
    }
    return o(H, z);
  }
  function m(D, S, C) {
    if (C = C || "…", s(D) <= S) return D;
    S -= s(C);
    let T = p(D, S);
    T += C;
    const U = "\x1B]8;;\x07";
    return D.includes(U) && !T.includes(U) && (T += U), T;
  }
  function g() {
    return {
      chars: {
        top: "─",
        "top-mid": "┬",
        "top-left": "┌",
        "top-right": "┐",
        bottom: "─",
        "bottom-mid": "┴",
        "bottom-left": "└",
        "bottom-right": "┘",
        left: "│",
        "left-mid": "├",
        mid: "─",
        "mid-mid": "┼",
        right: "│",
        "right-mid": "┤",
        middle: "│"
      },
      truncate: "…",
      colWidths: [],
      rowHeights: [],
      colAligns: [],
      rowAligns: [],
      style: {
        "padding-left": 1,
        "padding-right": 1,
        head: ["red"],
        border: ["grey"],
        compact: !1
      },
      head: []
    };
  }
  function v(D, S) {
    D = D || {}, S = S || g();
    let C = Object.assign({}, S, D);
    return C.chars = Object.assign({}, S.chars, D.chars), C.style = Object.assign({}, S.style, D.style), C;
  }
  function y(D, S) {
    let C = [], T = S.split(/(\s+)/g), U = [], $ = 0, z;
    for (let Y = 0; Y < T.length; Y += 2) {
      let H = T[Y], k = $ + s(H);
      $ > 0 && z && (k += z.length), k > D ? ($ !== 0 && C.push(U.join("")), U = [H], $ = s(H)) : (U.push(z || "", H), $ = k), z = T[Y + 1];
    }
    return $ && C.push(U.join("")), C;
  }
  function w(D, S) {
    let C = [], T = "";
    function U(z, Y) {
      for (T.length && Y && (T += Y), T += z; T.length > D; )
        C.push(T.slice(0, D)), T = T.slice(D);
    }
    let $ = S.split(/(\s+)/g);
    for (let z = 0; z < $.length; z += 2) U($[z], z && $[z - 1]);
    return T.length && C.push(T), C;
  }
  function _(D, S, C = !0) {
    let T = [];
    S = S.split(`
`);
    const U = C ? y : w;
    for (let $ = 0; $ < S.length; $++) T.push.apply(T, U(D, S[$]));
    return T;
  }
  function b(D) {
    let S = {}, C = [];
    for (let T = 0; T < D.length; T++) {
      let U = c(S, D[T]);
      S = f(U);
      let $ = Object.assign({}, S);
      C.push(o($, U));
    }
    return C;
  }
  function E(D, S) {
    return [
      "\x1B]",
      "8",
      ";",
      ";",
      D || S,
      "\x07",
      S,
      "\x1B]",
      "8",
      ";",
      ";",
      "\x07"
    ].join("");
  }
  t.exports = {
    strlen: s,
    repeat: h,
    pad: a,
    truncate: m,
    mergeOptions: v,
    wordWrap: _,
    colorizeLines: b,
    hyperlink: E
  };
})), D0 = /* @__PURE__ */ j(((e, t) => {
  var r = {};
  t.exports = r;
  var i = {
    reset: [0, 0],
    bold: [1, 22],
    dim: [2, 22],
    italic: [3, 23],
    underline: [4, 24],
    inverse: [7, 27],
    hidden: [8, 28],
    strikethrough: [9, 29],
    black: [30, 39],
    red: [31, 39],
    green: [32, 39],
    yellow: [33, 39],
    blue: [34, 39],
    magenta: [35, 39],
    cyan: [36, 39],
    white: [37, 39],
    gray: [90, 39],
    grey: [90, 39],
    brightRed: [91, 39],
    brightGreen: [92, 39],
    brightYellow: [93, 39],
    brightBlue: [94, 39],
    brightMagenta: [95, 39],
    brightCyan: [96, 39],
    brightWhite: [97, 39],
    bgBlack: [40, 49],
    bgRed: [41, 49],
    bgGreen: [42, 49],
    bgYellow: [43, 49],
    bgBlue: [44, 49],
    bgMagenta: [45, 49],
    bgCyan: [46, 49],
    bgWhite: [47, 49],
    bgGray: [100, 49],
    bgGrey: [100, 49],
    bgBrightRed: [101, 49],
    bgBrightGreen: [102, 49],
    bgBrightYellow: [103, 49],
    bgBrightBlue: [104, 49],
    bgBrightMagenta: [105, 49],
    bgBrightCyan: [106, 49],
    bgBrightWhite: [107, 49],
    blackBG: [40, 49],
    redBG: [41, 49],
    greenBG: [42, 49],
    yellowBG: [43, 49],
    blueBG: [44, 49],
    magentaBG: [45, 49],
    cyanBG: [46, 49],
    whiteBG: [47, 49]
  };
  Object.keys(i).forEach(function(s) {
    var h = i[s], a = r[s] = [];
    a.open = "\x1B[" + h[0] + "m", a.close = "\x1B[" + h[1] + "m";
  });
})), A0 = /* @__PURE__ */ j(((e, t) => {
  t.exports = function(r, i) {
    i = i || process.argv;
    var s = i.indexOf("--"), h = /^-{1,2}/.test(r) ? "" : "--", a = i.indexOf(h + r);
    return a !== -1 && (s === -1 ? !0 : a < s);
  };
})), S0 = /* @__PURE__ */ j(((e, t) => {
  var r = ve("os"), i = A0(), s = process.env, h = void 0;
  i("no-color") || i("no-colors") || i("color=false") ? h = !1 : (i("color") || i("colors") || i("color=true") || i("color=always")) && (h = !0), "FORCE_COLOR" in s && (h = s.FORCE_COLOR.length === 0 || parseInt(s.FORCE_COLOR, 10) !== 0);
  function a(u) {
    return u === 0 ? !1 : {
      level: u,
      hasBasic: !0,
      has256: u >= 2,
      has16m: u >= 3
    };
  }
  function n(u) {
    if (h === !1) return 0;
    if (i("color=16m") || i("color=full") || i("color=truecolor")) return 3;
    if (i("color=256")) return 2;
    if (u && !u.isTTY && h !== !0) return 0;
    var f = h ? 1 : 0;
    if (process.platform === "win32") {
      var o = r.release().split(".");
      return Number(process.versions.node.split(".")[0]) >= 8 && Number(o[0]) >= 10 && Number(o[2]) >= 10586 ? Number(o[2]) >= 14931 ? 3 : 2 : 1;
    }
    if ("CI" in s)
      return [
        "TRAVIS",
        "CIRCLECI",
        "APPVEYOR",
        "GITLAB_CI"
      ].some(function(d) {
        return d in s;
      }) || s.CI_NAME === "codeship" ? 1 : f;
    if ("TEAMCITY_VERSION" in s) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION) ? 1 : 0;
    if ("TERM_PROGRAM" in s) {
      var c = parseInt((s.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
      switch (s.TERM_PROGRAM) {
        case "iTerm.app":
          return c >= 3 ? 3 : 2;
        case "Hyper":
          return 3;
        case "Apple_Terminal":
          return 2;
      }
    }
    return /-256(color)?$/i.test(s.TERM) ? 2 : /^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM) || "COLORTERM" in s ? 1 : (s.TERM === "dumb", f);
  }
  function l(u) {
    return a(n(u));
  }
  t.exports = {
    supportsColor: l,
    stdout: l(process.stdout),
    stderr: l(process.stderr)
  };
})), C0 = /* @__PURE__ */ j(((e, t) => {
  t.exports = function(i, s) {
    var h = "";
    i = i || "Run the trap, drop the bass", i = i.split("");
    var a = {
      a: [
        "@",
        "Ą",
        "Ⱥ",
        "Ʌ",
        "Δ",
        "Λ",
        "Д"
      ],
      b: [
        "ß",
        "Ɓ",
        "Ƀ",
        "ɮ",
        "β",
        "฿"
      ],
      c: [
        "©",
        "Ȼ",
        "Ͼ"
      ],
      d: [
        "Ð",
        "Ɗ",
        "Ԁ",
        "ԁ",
        "Ԃ",
        "ԃ"
      ],
      e: [
        "Ë",
        "ĕ",
        "Ǝ",
        "ɘ",
        "Σ",
        "ξ",
        "Ҽ",
        "੬"
      ],
      f: ["Ӻ"],
      g: ["ɢ"],
      h: [
        "Ħ",
        "ƕ",
        "Ң",
        "Һ",
        "Ӈ",
        "Ԋ"
      ],
      i: ["༏"],
      j: ["Ĵ"],
      k: [
        "ĸ",
        "Ҡ",
        "Ӄ",
        "Ԟ"
      ],
      l: ["Ĺ"],
      m: [
        "ʍ",
        "Ӎ",
        "ӎ",
        "Ԡ",
        "ԡ",
        "൩"
      ],
      n: [
        "Ñ",
        "ŋ",
        "Ɲ",
        "Ͷ",
        "Π",
        "Ҋ"
      ],
      o: [
        "Ø",
        "õ",
        "ø",
        "Ǿ",
        "ʘ",
        "Ѻ",
        "ם",
        "۝",
        "๏"
      ],
      p: ["Ƿ", "Ҏ"],
      q: ["্"],
      r: [
        "®",
        "Ʀ",
        "Ȑ",
        "Ɍ",
        "ʀ",
        "Я"
      ],
      s: [
        "§",
        "Ϟ",
        "ϟ",
        "Ϩ"
      ],
      t: [
        "Ł",
        "Ŧ",
        "ͳ"
      ],
      u: ["Ʊ", "Ս"],
      v: ["ט"],
      w: [
        "Ш",
        "Ѡ",
        "Ѽ",
        "൰"
      ],
      x: [
        "Ҳ",
        "Ӿ",
        "Ӽ",
        "ӽ"
      ],
      y: [
        "¥",
        "Ұ",
        "Ӌ"
      ],
      z: ["Ƶ", "ɀ"]
    };
    return i.forEach(function(n) {
      n = n.toLowerCase();
      var l = a[n] || [" "], u = Math.floor(Math.random() * l.length);
      typeof a[n] < "u" ? h += a[n][u] : h += n;
    }), h;
  };
})), T0 = /* @__PURE__ */ j(((e, t) => {
  t.exports = function(i, s) {
    i = i || "   he is here   ";
    var h = {
      up: [
        "̍",
        "̎",
        "̄",
        "̅",
        "̿",
        "̑",
        "̆",
        "̐",
        "͒",
        "͗",
        "͑",
        "̇",
        "̈",
        "̊",
        "͂",
        "̓",
        "̈",
        "͊",
        "͋",
        "͌",
        "̃",
        "̂",
        "̌",
        "͐",
        "̀",
        "́",
        "̋",
        "̏",
        "̒",
        "̓",
        "̔",
        "̽",
        "̉",
        "ͣ",
        "ͤ",
        "ͥ",
        "ͦ",
        "ͧ",
        "ͨ",
        "ͩ",
        "ͪ",
        "ͫ",
        "ͬ",
        "ͭ",
        "ͮ",
        "ͯ",
        "̾",
        "͛",
        "͆",
        "̚"
      ],
      down: [
        "̖",
        "̗",
        "̘",
        "̙",
        "̜",
        "̝",
        "̞",
        "̟",
        "̠",
        "̤",
        "̥",
        "̦",
        "̩",
        "̪",
        "̫",
        "̬",
        "̭",
        "̮",
        "̯",
        "̰",
        "̱",
        "̲",
        "̳",
        "̹",
        "̺",
        "̻",
        "̼",
        "ͅ",
        "͇",
        "͈",
        "͉",
        "͍",
        "͎",
        "͓",
        "͔",
        "͕",
        "͖",
        "͙",
        "͚",
        "̣"
      ],
      mid: [
        "̕",
        "̛",
        "̀",
        "́",
        "͘",
        "̡",
        "̢",
        "̧",
        "̨",
        "̴",
        "̵",
        "̶",
        "͜",
        "͝",
        "͞",
        "͟",
        "͠",
        "͢",
        "̸",
        "̷",
        "͡",
        " ҉"
      ]
    }, a = [].concat(h.up, h.down, h.mid);
    function n(f) {
      return Math.floor(Math.random() * f);
    }
    function l(f) {
      var o = !1;
      return a.filter(function(c) {
        o = c === f;
      }), o;
    }
    function u(f, o) {
      var c = "", d, p;
      o = o || {}, o.up = typeof o.up < "u" ? o.up : !0, o.mid = typeof o.mid < "u" ? o.mid : !0, o.down = typeof o.down < "u" ? o.down : !0, o.size = typeof o.size < "u" ? o.size : "maxi", f = f.split("");
      for (p in f)
        if (!l(p)) {
          switch (c = c + f[p], d = {
            up: 0,
            down: 0,
            mid: 0
          }, o.size) {
            case "mini":
              d.up = n(8), d.mid = n(2), d.down = n(8);
              break;
            case "maxi":
              d.up = n(16) + 3, d.mid = n(4) + 1, d.down = n(64) + 3;
              break;
            default:
              d.up = n(8) + 1, d.mid = n(6) / 2, d.down = n(8) + 1;
              break;
          }
          var m = [
            "up",
            "mid",
            "down"
          ];
          for (var g in m)
            for (var v = m[g], y = 0; y <= d[v]; y++) o[v] && (c = c + h[v][n(h[v].length)]);
        }
      return c;
    }
    return u(i, s);
  };
})), R0 = /* @__PURE__ */ j(((e, t) => {
  t.exports = function(r) {
    return function(i, s, h) {
      if (i === " ") return i;
      switch (s % 3) {
        case 0:
          return r.red(i);
        case 1:
          return r.white(i);
        case 2:
          return r.blue(i);
      }
    };
  };
})), O0 = /* @__PURE__ */ j(((e, t) => {
  t.exports = function(r) {
    return function(i, s, h) {
      return s % 2 === 0 ? i : r.inverse(i);
    };
  };
})), I0 = /* @__PURE__ */ j(((e, t) => {
  t.exports = function(r) {
    var i = [
      "red",
      "yellow",
      "green",
      "blue",
      "magenta"
    ];
    return function(s, h, a) {
      return s === " " ? s : r[i[h++ % i.length]](s);
    };
  };
})), k0 = /* @__PURE__ */ j(((e, t) => {
  t.exports = function(r) {
    var i = [
      "underline",
      "inverse",
      "grey",
      "yellow",
      "red",
      "green",
      "blue",
      "white",
      "cyan",
      "magenta",
      "brightYellow",
      "brightRed",
      "brightGreen",
      "brightBlue",
      "brightWhite",
      "brightCyan",
      "brightMagenta"
    ];
    return function(s, h, a) {
      return s === " " ? s : r[i[Math.round(Math.random() * (i.length - 2))]](s);
    };
  };
})), L0 = /* @__PURE__ */ j(((e, t) => {
  var r = {};
  t.exports = r, r.themes = {};
  var i = ve("util"), s = r.styles = D0(), h = Object.defineProperties, a = /* @__PURE__ */ new RegExp(/[\r\n]+/g);
  r.supportsColor = S0().supportsColor, typeof r.enabled > "u" && (r.enabled = r.supportsColor() !== !1), r.enable = function() {
    r.enabled = !0;
  }, r.disable = function() {
    r.enabled = !1;
  }, r.stripColors = r.strip = function(g) {
    return ("" + g).replace(/\x1B\[\d+m/g, "");
  }, r.stylize = function(v, y) {
    if (!r.enabled) return v + "";
    var w = s[y];
    return !w && y in r ? r[y](v) : w.open + v + w.close;
  };
  var n = /[|\\{}()[\]^$+*?.]/g, l = function(g) {
    if (typeof g != "string") throw new TypeError("Expected a string");
    return g.replace(n, "\\$&");
  };
  function u(g) {
    var v = function y() {
      return c.apply(y, arguments);
    };
    return v._styles = g, v.__proto__ = o, v;
  }
  var f = (function() {
    var g = {};
    return s.grey = s.gray, Object.keys(s).forEach(function(v) {
      s[v].closeRe = new RegExp(l(s[v].close), "g"), g[v] = { get: function() {
        return u(this._styles.concat(v));
      } };
    }), g;
  })(), o = h(function() {
  }, f);
  function c() {
    var g = Array.prototype.slice.call(arguments).map(function(b) {
      return b != null && b.constructor === String ? b : i.inspect(b);
    }).join(" ");
    if (!r.enabled || !g) return g;
    for (var v = g.indexOf(`
`) != -1, y = this._styles, w = y.length; w--; ) {
      var _ = s[y[w]];
      g = _.open + g.replace(_.closeRe, _.open) + _.close, v && (g = g.replace(a, function(b) {
        return _.close + b + _.open;
      }));
    }
    return g;
  }
  r.setTheme = function(g) {
    if (typeof g == "string") {
      console.log("colors.setTheme now only accepts an object, not a string.  If you are trying to set a theme from a file, it is now your (the caller's) responsibility to require the file.  The old syntax looked like colors.setTheme(__dirname + '/../themes/generic-logging.js'); The new syntax looks like colors.setTheme(require(__dirname + '/../themes/generic-logging.js'));");
      return;
    }
    for (var v in g) (function(y) {
      r[y] = function(w) {
        if (typeof g[y] == "object") {
          var _ = w;
          for (var b in g[y]) _ = r[g[y][b]](_);
          return _;
        }
        return r[g[y]](w);
      };
    })(v);
  };
  function d() {
    var g = {};
    return Object.keys(f).forEach(function(v) {
      g[v] = { get: function() {
        return u([v]);
      } };
    }), g;
  }
  var p = function(v, y) {
    var w = y.split("");
    return w = w.map(v), w.join("");
  };
  r.trap = C0(), r.zalgo = T0(), r.maps = {}, r.maps.america = R0()(r), r.maps.zebra = O0()(r), r.maps.rainbow = I0()(r), r.maps.random = k0()(r);
  for (var m in r.maps) (function(g) {
    r[g] = function(v) {
      return p(r.maps[g], v);
    };
  })(m);
  h(r, d());
})), F0 = /* @__PURE__ */ j(((e, t) => {
  var r = L0();
  t.exports = r;
})), N0 = /* @__PURE__ */ j(((e, t) => {
  var { info: r, debug: i } = lu(), s = Fh(), h = class $n {
    constructor(p) {
      this.setOptions(p), this.x = null, this.y = null;
    }
    setOptions(p) {
      [
        "boolean",
        "number",
        "bigint",
        "string"
      ].indexOf(typeof p) !== -1 && (p = { content: "" + p }), p = p || {}, this.options = p;
      let m = p.content;
      if ([
        "boolean",
        "number",
        "bigint",
        "string"
      ].indexOf(typeof m) !== -1) this.content = String(m);
      else if (!m) this.content = this.options.href || "";
      else throw new Error("Content needs to be a primitive, got: " + typeof m);
      this.colSpan = p.colSpan || 1, this.rowSpan = p.rowSpan || 1, this.options.href && Object.defineProperty(this, "href", { get() {
        return this.options.href;
      } });
    }
    mergeTableOptions(p, m) {
      this.cells = m;
      let g = this.options.chars || {}, v = p.chars, y = this.chars = {};
      c.forEach(function(b) {
        u(g, v, b, y);
      }), this.truncate = this.options.truncate || p.truncate;
      let w = this.options.style = this.options.style || {}, _ = p.style;
      u(w, _, "padding-left", this), u(w, _, "padding-right", this), this.head = w.head || _.head, this.border = w.border || _.border, this.fixedWidth = p.colWidths[this.x], this.lines = this.computeLines(p), this.desiredWidth = s.strlen(this.content) + this.paddingLeft + this.paddingRight, this.desiredHeight = this.lines.length;
    }
    computeLines(p) {
      const m = p.wordWrap || p.textWrap, { wordWrap: g = m } = this.options;
      if (this.fixedWidth && g) {
        if (this.fixedWidth -= this.paddingLeft + this.paddingRight, this.colSpan) {
          let w = 1;
          for (; w < this.colSpan; )
            this.fixedWidth += p.colWidths[this.x + w], w++;
        }
        const { wrapOnWordBoundary: v = !0 } = p, { wrapOnWordBoundary: y = v } = this.options;
        return this.wrapLines(s.wordWrap(this.fixedWidth, this.content, y));
      }
      return this.wrapLines(this.content.split(`
`));
    }
    wrapLines(p) {
      const m = s.colorizeLines(p);
      return this.href ? m.map((g) => s.hyperlink(this.href, g)) : m;
    }
    init(p) {
      let m = this.x, g = this.y;
      this.widths = p.colWidths.slice(m, m + this.colSpan), this.heights = p.rowHeights.slice(g, g + this.rowSpan), this.width = this.widths.reduce(o, -1), this.height = this.heights.reduce(o, -1), this.hAlign = this.options.hAlign || p.colAligns[m], this.vAlign = this.options.vAlign || p.rowAligns[g], this.drawRight = m + this.colSpan == p.colWidths.length;
    }
    draw(p, m) {
      if (p == "top") return this.drawTop(this.drawRight);
      if (p == "bottom") return this.drawBottom(this.drawRight);
      let g = s.truncate(this.content, 10, this.truncate);
      p || r(`${this.y}-${this.x}: ${this.rowSpan - p}x${this.colSpan} Cell ${g}`);
      let v = Math.max(this.height - this.lines.length, 0), y;
      switch (this.vAlign) {
        case "center":
          y = Math.ceil(v / 2);
          break;
        case "bottom":
          y = v;
          break;
        default:
          y = 0;
      }
      if (p < y || p >= y + this.lines.length) return this.drawEmpty(this.drawRight, m);
      let w = this.lines.length > this.height && p + 1 >= this.height;
      return this.drawLine(p - y, this.drawRight, w, m);
    }
    drawTop(p) {
      let m = [];
      return this.cells ? this.widths.forEach(function(g, v) {
        m.push(this._topLeftChar(v)), m.push(s.repeat(this.chars[this.y == 0 ? "top" : "mid"], g));
      }, this) : (m.push(this._topLeftChar(0)), m.push(s.repeat(this.chars[this.y == 0 ? "top" : "mid"], this.width))), p && m.push(this.chars[this.y == 0 ? "topRight" : "rightMid"]), this.wrapWithStyleColors("border", m.join(""));
    }
    _topLeftChar(p) {
      let m = this.x + p, g;
      if (this.y == 0) g = m == 0 ? "topLeft" : p == 0 ? "topMid" : "top";
      else if (m == 0) g = "leftMid";
      else if (g = p == 0 ? "midMid" : "bottomMid", this.cells && (this.cells[this.y - 1][m] instanceof $n.ColSpanCell && (g = p == 0 ? "topMid" : "mid"), p == 0)) {
        let v = 1;
        for (; this.cells[this.y][m - v] instanceof $n.ColSpanCell; ) v++;
        this.cells[this.y][m - v] instanceof $n.RowSpanCell && (g = "leftMid");
      }
      return this.chars[g];
    }
    wrapWithStyleColors(p, m) {
      if (this[p] && this[p].length) try {
        let g = F0();
        for (let v = this[p].length - 1; v >= 0; v--) g = g[this[p][v]];
        return g(m);
      } catch {
        return m;
      }
      else return m;
    }
    drawLine(p, m, g, v) {
      let y = this.chars[this.x == 0 ? "left" : "middle"];
      if (this.x && v && this.cells) {
        let C = this.cells[this.y + v][this.x - 1];
        for (; C instanceof a; ) C = this.cells[C.y][C.x - 1];
        C instanceof n || (y = this.chars.rightMid);
      }
      let w = s.repeat(" ", this.paddingLeft), _ = m ? this.chars.right : "", b = s.repeat(" ", this.paddingRight), E = this.lines[p], D = this.width - (this.paddingLeft + this.paddingRight);
      g && (E += this.truncate || "…");
      let S = s.truncate(E, D, this.truncate);
      return S = s.pad(S, D, " ", this.hAlign), S = w + S + b, this.stylizeLine(y, S, _);
    }
    stylizeLine(p, m, g) {
      return p = this.wrapWithStyleColors("border", p), g = this.wrapWithStyleColors("border", g), this.y === 0 && (m = this.wrapWithStyleColors("head", m)), p + m + g;
    }
    drawBottom(p) {
      let m = this.chars[this.x == 0 ? "bottomLeft" : "bottomMid"], g = s.repeat(this.chars.bottom, this.width), v = p ? this.chars.bottomRight : "";
      return this.wrapWithStyleColors("border", m + g + v);
    }
    drawEmpty(p, m) {
      let g = this.chars[this.x == 0 ? "left" : "middle"];
      if (this.x && m && this.cells) {
        let w = this.cells[this.y + m][this.x - 1];
        for (; w instanceof a; ) w = this.cells[w.y][w.x - 1];
        w instanceof n || (g = this.chars.rightMid);
      }
      let v = p ? this.chars.right : "", y = s.repeat(" ", this.width);
      return this.stylizeLine(g, y, v);
    }
  }, a = class {
    constructor() {
    }
    draw(d) {
      return typeof d == "number" && i(`${this.y}-${this.x}: 1x1 ColSpanCell`), "";
    }
    init() {
    }
    mergeTableOptions() {
    }
  }, n = class {
    constructor(d) {
      this.originalCell = d;
    }
    init(d) {
      let p = this.y, m = this.originalCell.y;
      this.cellOffset = p - m, this.offset = f(d.rowHeights, m, this.cellOffset);
    }
    draw(d) {
      return d == "top" ? this.originalCell.draw(this.offset, this.cellOffset) : d == "bottom" ? this.originalCell.draw("bottom") : (i(`${this.y}-${this.x}: 1x${this.colSpan} RowSpanCell for ${this.originalCell.content}`), this.originalCell.draw(this.offset + 1 + d));
    }
    mergeTableOptions() {
    }
  };
  function l(...d) {
    return d.filter((p) => p != null).shift();
  }
  function u(d, p, m, g) {
    let v = m.split("-");
    v.length > 1 ? (v[1] = v[1].charAt(0).toUpperCase() + v[1].substr(1), v = v.join(""), g[v] = l(d[v], d[m], p[v], p[m])) : g[m] = l(d[m], p[m]);
  }
  function f(d, p, m) {
    let g = d[p];
    for (let v = 1; v < m; v++) g += 1 + d[p + v];
    return g;
  }
  function o(d, p) {
    return d + p + 1;
  }
  var c = [
    "top",
    "top-mid",
    "top-left",
    "top-right",
    "bottom",
    "bottom-mid",
    "bottom-left",
    "bottom-right",
    "left",
    "left-mid",
    "mid",
    "mid-mid",
    "right",
    "right-mid",
    "middle"
  ];
  t.exports = h, t.exports.ColSpanCell = a, t.exports.RowSpanCell = n;
})), $0 = /* @__PURE__ */ j(((e, t) => {
  var { warn: r, debug: i } = lu(), s = N0(), { ColSpanCell: h, RowSpanCell: a } = s;
  (function() {
    function l(b, E) {
      return b[E] > 0 ? l(b, E + 1) : E;
    }
    function u(b) {
      let E = {};
      b.forEach(function(D, S) {
        let C = 0;
        D.forEach(function(T) {
          T.y = S, T.x = S ? l(E, C) : C;
          const U = T.rowSpan || 1, $ = T.colSpan || 1;
          if (U > 1) for (let z = 0; z < $; z++) E[T.x + z] = U;
          C = T.x + $;
        }), Object.keys(E).forEach((T) => {
          E[T]--, E[T] < 1 && delete E[T];
        });
      });
    }
    function f(b) {
      let E = 0;
      return b.forEach(function(D) {
        D.forEach(function(S) {
          E = Math.max(E, S.x + (S.colSpan || 1));
        });
      }), E;
    }
    function o(b) {
      return b.length;
    }
    function c(b, E) {
      let D = b.y, S = b.y - 1 + (b.rowSpan || 1), C = E.y, T = !(D > E.y - 1 + (E.rowSpan || 1) || C > S), U = b.x, $ = b.x - 1 + (b.colSpan || 1), z = E.x, Y = !(U > E.x - 1 + (E.colSpan || 1) || z > $);
      return T && Y;
    }
    function d(b, E, D) {
      let S = Math.min(b.length - 1, D), C = {
        x: E,
        y: D
      };
      for (let T = 0; T <= S; T++) {
        let U = b[T];
        for (let $ = 0; $ < U.length; $++) if (c(C, U[$])) return !0;
      }
      return !1;
    }
    function p(b, E, D, S) {
      for (let C = D; C < S; C++) if (d(b, C, E)) return !1;
      return !0;
    }
    function m(b) {
      b.forEach(function(E, D) {
        E.forEach(function(S) {
          for (let C = 1; C < S.rowSpan; C++) {
            let T = new a(S);
            T.x = S.x, T.y = S.y + C, T.colSpan = S.colSpan, v(T, b[D + C]);
          }
        });
      });
    }
    function g(b) {
      for (let E = b.length - 1; E >= 0; E--) {
        let D = b[E];
        for (let S = 0; S < D.length; S++) {
          let C = D[S];
          for (let T = 1; T < C.colSpan; T++) {
            let U = new h();
            U.x = C.x + T, U.y = C.y, D.splice(S + 1, 0, U);
          }
        }
      }
    }
    function v(b, E) {
      let D = 0;
      for (; D < E.length && E[D].x < b.x; ) D++;
      E.splice(D, 0, b);
    }
    function y(b) {
      let E = o(b), D = f(b);
      i(`Max rows: ${E}; Max cols: ${D}`);
      for (let S = 0; S < E; S++) for (let C = 0; C < D; C++) if (!d(b, C, S)) {
        let T = {
          x: C,
          y: S,
          colSpan: 1,
          rowSpan: 1
        };
        for (C++; C < D && !d(b, C, S); )
          T.colSpan++, C++;
        let U = S + 1;
        for (; U < E && p(b, U, T.x, T.x + T.colSpan); )
          T.rowSpan++, U++;
        let $ = new s(T);
        $.x = T.x, $.y = T.y, r(`Missing cell at ${$.y}-${$.x}.`), v($, b[S]);
      }
    }
    function w(b) {
      return b.map(function(E) {
        if (!Array.isArray(E)) {
          let D = Object.keys(E)[0];
          E = E[D], Array.isArray(E) ? (E = E.slice(), E.unshift(D)) : E = [D, E];
        }
        return E.map(function(D) {
          return new s(D);
        });
      });
    }
    function _(b) {
      let E = w(b);
      return u(E), y(E), m(E), g(E), E;
    }
    t.exports = {
      makeTableLayout: _,
      layoutTable: u,
      addRowSpanCells: m,
      maxWidth: f,
      fillInTable: y,
      computeWidths: n("colSpan", "desiredWidth", "x", 1),
      computeHeights: n("rowSpan", "desiredHeight", "y", 1)
    };
  })();
  function n(l, u, f, o) {
    return function(c, d) {
      let p = [], m = [], g = {};
      d.forEach(function(v) {
        v.forEach(function(y) {
          (y[l] || 1) > 1 ? m.push(y) : p[y[f]] = Math.max(p[y[f]] || 0, y[u] || 0, o);
        });
      }), c.forEach(function(v, y) {
        typeof v == "number" && (p[y] = v);
      });
      for (let v = m.length - 1; v >= 0; v--) {
        let y = m[v], w = y[l], _ = y[f], b = p[_], E = typeof c[_] == "number" ? 0 : 1;
        if (typeof b == "number") for (let D = 1; D < w; D++)
          b += 1 + p[_ + D], typeof c[_ + D] != "number" && E++;
        else
          b = u === "desiredWidth" ? y.desiredWidth - 1 : 1, (!g[_] || g[_] < b) && (g[_] = b);
        if (y[u] > b) {
          let D = 0;
          for (; E > 0 && y[u] > b; ) {
            if (typeof c[_ + D] != "number") {
              let S = Math.round((y[u] - b) / E);
              b += S, p[_ + D] += S, E--;
            }
            D++;
          }
        }
      }
      Object.assign(c, p, g);
      for (let v = 0; v < c.length; v++) c[v] = Math.max(o, c[v] || 0);
    };
  }
})), x0 = /* @__PURE__ */ j(((e, t) => {
  var r = lu(), i = Fh(), s = $0(), h = class extends Array {
    constructor(n) {
      super();
      const l = i.mergeOptions(n);
      if (Object.defineProperty(this, "options", {
        value: l,
        enumerable: l.debug
      }), l.debug) {
        switch (typeof l.debug) {
          case "boolean":
            r.setDebugLevel(r.WARN);
            break;
          case "number":
            r.setDebugLevel(l.debug);
            break;
          case "string":
            r.setDebugLevel(parseInt(l.debug, 10));
            break;
          default:
            r.setDebugLevel(r.WARN), r.warn(`Debug option is expected to be boolean, number, or string. Received a ${typeof l.debug}`);
        }
        Object.defineProperty(this, "messages", { get() {
          return r.debugMessages();
        } });
      }
    }
    toString() {
      let n = this, l = this.options.head && this.options.head.length;
      l ? (n = [this.options.head], this.length && n.push.apply(n, this)) : this.options.style.head = [];
      let u = s.makeTableLayout(n);
      u.forEach(function(o) {
        o.forEach(function(c) {
          c.mergeTableOptions(this.options, u);
        }, this);
      }, this), s.computeWidths(this.options.colWidths, u), s.computeHeights(this.options.rowHeights, u), u.forEach(function(o) {
        o.forEach(function(c) {
          c.init(this.options);
        }, this);
      }, this);
      let f = [];
      for (let o = 0; o < u.length; o++) {
        let c = u[o], d = this.options.rowHeights[o];
        (o === 0 || !this.options.style.compact || o == 1 && l) && a(c, "top", f);
        for (let p = 0; p < d; p++) a(c, p, f);
        o + 1 == u.length && a(c, "bottom", f);
      }
      return f.join(`
`);
    }
    get width() {
      return this.toString().split(`
`)[0].length;
    }
  };
  h.reset = () => r.reset();
  function a(n, l, u) {
    let f = [];
    n.forEach(function(c) {
      f.push(c.draw(l));
    });
    let o = f.join("");
    o.length && u.push(o);
  }
  t.exports = h;
})), B0 = /* @__PURE__ */ j(((e, t) => {
  t.exports = x0();
})), cu = /* @__PURE__ */ zt(B0(), 1), ea = 10, Pl = (e = 0) => (t) => `\x1B[${t + e}m`, Ml = (e = 0) => (t) => `\x1B[${38 + e};5;${t}m`, jl = (e = 0) => (t, r, i) => `\x1B[${38 + e};2;${t};${r};${i}m`, ht = {
  modifier: {
    reset: [0, 0],
    bold: [1, 22],
    dim: [2, 22],
    italic: [3, 23],
    underline: [4, 24],
    overline: [53, 55],
    inverse: [7, 27],
    hidden: [8, 28],
    strikethrough: [9, 29]
  },
  color: {
    black: [30, 39],
    red: [31, 39],
    green: [32, 39],
    yellow: [33, 39],
    blue: [34, 39],
    magenta: [35, 39],
    cyan: [36, 39],
    white: [37, 39],
    blackBright: [90, 39],
    gray: [90, 39],
    grey: [90, 39],
    redBright: [91, 39],
    greenBright: [92, 39],
    yellowBright: [93, 39],
    blueBright: [94, 39],
    magentaBright: [95, 39],
    cyanBright: [96, 39],
    whiteBright: [97, 39]
  },
  bgColor: {
    bgBlack: [40, 49],
    bgRed: [41, 49],
    bgGreen: [42, 49],
    bgYellow: [43, 49],
    bgBlue: [44, 49],
    bgMagenta: [45, 49],
    bgCyan: [46, 49],
    bgWhite: [47, 49],
    bgBlackBright: [100, 49],
    bgGray: [100, 49],
    bgGrey: [100, 49],
    bgRedBright: [101, 49],
    bgGreenBright: [102, 49],
    bgYellowBright: [103, 49],
    bgBlueBright: [104, 49],
    bgMagentaBright: [105, 49],
    bgCyanBright: [106, 49],
    bgWhiteBright: [107, 49]
  }
}, yL = Object.keys(ht.modifier), P0 = Object.keys(ht.color), M0 = Object.keys(ht.bgColor), _L = [...P0, ...M0];
function j0() {
  const e = /* @__PURE__ */ new Map();
  for (const [t, r] of Object.entries(ht)) {
    for (const [i, s] of Object.entries(r))
      ht[i] = {
        open: `\x1B[${s[0]}m`,
        close: `\x1B[${s[1]}m`
      }, r[i] = ht[i], e.set(s[0], s[1]);
    Object.defineProperty(ht, t, {
      value: r,
      enumerable: !1
    });
  }
  return Object.defineProperty(ht, "codes", {
    value: e,
    enumerable: !1
  }), ht.color.close = "\x1B[39m", ht.bgColor.close = "\x1B[49m", ht.color.ansi = Pl(), ht.color.ansi256 = Ml(), ht.color.ansi16m = jl(), ht.bgColor.ansi = Pl(ea), ht.bgColor.ansi256 = Ml(ea), ht.bgColor.ansi16m = jl(ea), Object.defineProperties(ht, {
    rgbToAnsi256: {
      value(t, r, i) {
        return t === r && r === i ? t < 8 ? 16 : t > 248 ? 231 : Math.round((t - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(t / 255 * 5) + 6 * Math.round(r / 255 * 5) + Math.round(i / 255 * 5);
      },
      enumerable: !1
    },
    hexToRgb: {
      value(t) {
        const r = /[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));
        if (!r) return [
          0,
          0,
          0
        ];
        let [i] = r;
        i.length === 3 && (i = [...i].map((h) => h + h).join(""));
        const s = Number.parseInt(i, 16);
        return [
          s >> 16 & 255,
          s >> 8 & 255,
          s & 255
        ];
      },
      enumerable: !1
    },
    hexToAnsi256: {
      value: (t) => ht.rgbToAnsi256(...ht.hexToRgb(t)),
      enumerable: !1
    },
    ansi256ToAnsi: {
      value(t) {
        if (t < 8) return 30 + t;
        if (t < 16) return 90 + (t - 8);
        let r, i, s;
        if (t >= 232)
          r = ((t - 232) * 10 + 8) / 255, i = r, s = r;
        else {
          t -= 16;
          const n = t % 36;
          r = Math.floor(t / 36) / 5, i = Math.floor(n / 6) / 5, s = n % 6 / 5;
        }
        const h = Math.max(r, i, s) * 2;
        if (h === 0) return 30;
        let a = 30 + (Math.round(s) << 2 | Math.round(i) << 1 | Math.round(r));
        return h === 2 && (a += 60), a;
      },
      enumerable: !1
    },
    rgbToAnsi: {
      value: (t, r, i) => ht.ansi256ToAnsi(ht.rgbToAnsi256(t, r, i)),
      enumerable: !1
    },
    hexToAnsi: {
      value: (t) => ht.ansi256ToAnsi(ht.hexToAnsi256(t)),
      enumerable: !1
    }
  }), ht;
}
var or = j0();
function Yt(e, t = globalThis.Deno ? globalThis.Deno.args : nn.argv) {
  const r = e.startsWith("-") ? "" : e.length === 1 ? "-" : "--", i = t.indexOf(r + e), s = t.indexOf("--");
  return i !== -1 && (s === -1 || i < s);
}
var { env: ft } = nn, Un;
Yt("no-color") || Yt("no-colors") || Yt("color=false") || Yt("color=never") ? Un = 0 : (Yt("color") || Yt("colors") || Yt("color=true") || Yt("color=always")) && (Un = 1);
function U0() {
  if ("FORCE_COLOR" in ft)
    return ft.FORCE_COLOR === "true" ? 1 : ft.FORCE_COLOR === "false" ? 0 : ft.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(ft.FORCE_COLOR, 10), 3);
}
function H0(e) {
  return e === 0 ? !1 : {
    level: e,
    hasBasic: !0,
    has256: e >= 2,
    has16m: e >= 3
  };
}
function q0(e, { streamIsTTY: t, sniffFlags: r = !0 } = {}) {
  const i = U0();
  i !== void 0 && (Un = i);
  const s = r ? Un : i;
  if (s === 0) return 0;
  if (r) {
    if (Yt("color=16m") || Yt("color=full") || Yt("color=truecolor")) return 3;
    if (Yt("color=256")) return 2;
  }
  if ("TF_BUILD" in ft && "AGENT_NAME" in ft) return 1;
  if (e && !t && s === void 0) return 0;
  const h = s || 0;
  if (ft.TERM === "dumb") return h;
  if (nn.platform === "win32") {
    const a = Gi.release().split(".");
    return Number(a[0]) >= 10 && Number(a[2]) >= 10586 ? Number(a[2]) >= 14931 ? 3 : 2 : 1;
  }
  if ("CI" in ft)
    return [
      "GITHUB_ACTIONS",
      "GITEA_ACTIONS",
      "CIRCLECI"
    ].some((a) => a in ft) ? 3 : [
      "TRAVIS",
      "APPVEYOR",
      "GITLAB_CI",
      "BUILDKITE",
      "DRONE"
    ].some((a) => a in ft) || ft.CI_NAME === "codeship" ? 1 : h;
  if ("TEAMCITY_VERSION" in ft) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ft.TEAMCITY_VERSION) ? 1 : 0;
  if (ft.COLORTERM === "truecolor" || ft.TERM === "xterm-kitty" || ft.TERM === "xterm-ghostty" || ft.TERM === "wezterm") return 3;
  if ("TERM_PROGRAM" in ft) {
    const a = Number.parseInt((ft.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
    switch (ft.TERM_PROGRAM) {
      case "iTerm.app":
        return a >= 3 ? 3 : 2;
      case "Apple_Terminal":
        return 2;
    }
  }
  return /-256(color)?$/i.test(ft.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ft.TERM) || "COLORTERM" in ft ? 1 : h;
}
function Ul(e, t = {}) {
  return H0(q0(e, {
    streamIsTTY: e && e.isTTY,
    ...t
  }));
}
var z0 = {
  stdout: Ul({ isTTY: xl.isatty(1) }),
  stderr: Ul({ isTTY: xl.isatty(2) })
};
function G0(e, t, r) {
  let i = e.indexOf(t);
  if (i === -1) return e;
  const s = t.length;
  let h = 0, a = "";
  do
    a += e.slice(h, i) + t + r, h = i + s, i = e.indexOf(t, h);
  while (i !== -1);
  return a += e.slice(h), a;
}
function W0(e, t, r, i) {
  let s = 0, h = "";
  do {
    const a = e[i - 1] === "\r";
    h += e.slice(s, a ? i - 1 : i) + t + (a ? `\r
` : `
`) + r, s = i + 1, i = e.indexOf(`
`, s);
  } while (i !== -1);
  return h += e.slice(s), h;
}
var { stdout: Hl, stderr: ql } = z0, Aa = /* @__PURE__ */ Symbol("GENERATOR"), fi = /* @__PURE__ */ Symbol("STYLER"), Wi = /* @__PURE__ */ Symbol("IS_EMPTY"), zl = [
  "ansi",
  "ansi",
  "ansi256",
  "ansi16m"
], di = /* @__PURE__ */ Object.create(null), V0 = (e, t = {}) => {
  if (t.level && !(Number.isInteger(t.level) && t.level >= 0 && t.level <= 3)) throw new Error("The `level` option should be an integer from 0 to 3");
  const r = Hl ? Hl.level : 0;
  e.level = t.level === void 0 ? r : t.level;
}, Y0 = class {
  constructor(e) {
    return Nh(e);
  }
}, Nh = (e) => {
  const t = (...r) => r.join(" ");
  return V0(t, e), Object.setPrototypeOf(t, sn.prototype), t;
};
function sn(e) {
  return Nh(e);
}
Object.setPrototypeOf(sn.prototype, Function.prototype);
for (const [e, t] of Object.entries(or)) di[e] = { get() {
  const r = Hn(this, Ca(t.open, t.close, this[fi]), this[Wi]);
  return Object.defineProperty(this, e, { value: r }), r;
} };
di.visible = { get() {
  const e = Hn(this, this[fi], !0);
  return Object.defineProperty(this, "visible", { value: e }), e;
} };
var Sa = (e, t, r, ...i) => e === "rgb" ? t === "ansi16m" ? or[r].ansi16m(...i) : t === "ansi256" ? or[r].ansi256(or.rgbToAnsi256(...i)) : or[r].ansi(or.rgbToAnsi(...i)) : e === "hex" ? Sa("rgb", t, r, ...or.hexToRgb(...i)) : or[r][e](...i);
for (const e of [
  "rgb",
  "hex",
  "ansi256"
]) {
  di[e] = { get() {
    const { level: r } = this;
    return function(...i) {
      const s = Ca(Sa(e, zl[r], "color", ...i), or.color.close, this[fi]);
      return Hn(this, s, this[Wi]);
    };
  } };
  const t = "bg" + e[0].toUpperCase() + e.slice(1);
  di[t] = { get() {
    const { level: r } = this;
    return function(...i) {
      const s = Ca(Sa(e, zl[r], "bgColor", ...i), or.bgColor.close, this[fi]);
      return Hn(this, s, this[Wi]);
    };
  } };
}
var K0 = Object.defineProperties(() => {
}, {
  ...di,
  level: {
    enumerable: !0,
    get() {
      return this[Aa].level;
    },
    set(e) {
      this[Aa].level = e;
    }
  }
}), Ca = (e, t, r) => {
  let i, s;
  return r === void 0 ? (i = e, s = t) : (i = r.openAll + e, s = t + r.closeAll), {
    open: e,
    close: t,
    openAll: i,
    closeAll: s,
    parent: r
  };
}, Hn = (e, t, r) => {
  const i = (...s) => Z0(i, s.length === 1 ? "" + s[0] : s.join(" "));
  return Object.setPrototypeOf(i, K0), i[Aa] = e, i[fi] = t, i[Wi] = r, i;
}, Z0 = (e, t) => {
  if (e.level <= 0 || !t) return e[Wi] ? "" : t;
  let r = e[fi];
  if (r === void 0) return t;
  const { openAll: i, closeAll: s } = r;
  if (t.includes("\x1B")) for (; r !== void 0; )
    t = G0(t, r.close, r.open), r = r.parent;
  const h = t.indexOf(`
`);
  return h !== -1 && (t = W0(t, s, i, h)), i + t + s;
};
Object.defineProperties(sn.prototype, di);
var J0 = sn(), EL = sn({ level: ql ? ql.level : 0 });
function at(e, t, r = {}) {
  const i = Array.isArray(e);
  return t = t || ((s) => ({ [s]: !0 })), Object.entries(e || {}).forEach(([s, h], a) => {
    const n = i ? t(h, a, r) : t(s, h, r);
    Object.entries(n || {}).forEach((l) => {
      r[l[0]] = l[1];
    });
  }), r;
}
var $h = {
  blue: !0,
  bold: !0,
  cyan: !0,
  dim: !0,
  gray: !0,
  green: !0,
  magenta: !0,
  red: !0,
  reset: !0,
  underline: !0,
  yellow: !0
}, X0 = at($h, (e) => ({ [e]: Object.assign((t) => t.toString(), {
  bold: (t) => t.toString(),
  underline: (t) => t.toString()
}) })), Hi, cs = (e) => e === !0 ? new Y0({ level: 1 }) : e === null ? X0 : J0, xh = (e) => {
  Hi = cs(e);
}, ta = () => {
  if (!Hi) throw new Error("Chalk has not been imported yet.");
}, me = at($h, (e) => {
  const t = (r) => (ta(), Hi[e](r));
  return t.bold = (r) => (ta(), Hi[e].bold(r)), t.underline = (r) => (ta(), Hi[e].underline(r)), { [e]: t };
}), xr = (e, t) => at(e, (r, i) => t(r, i) ? { [r]: i } : null), Vi = (e) => it.stat(e).then(() => !0, () => !1), Q0 = gm(import.meta.url);
async function hu(e, { pkgFile: t } = {}) {
  const r = Q0.resolve.paths(e) || [], i = t ? [Ye.join(Ye.dirname(t), "node_modules")] : [], s = [Ye.join(process.cwd(), "node_modules")], h = [
    ...i,
    ...s,
    ...r
  ];
  for (const a of h) {
    const n = Ye.join(a, e, "package.json");
    if (await Vi(n)) try {
      return JSON.parse(await it.readFile(n, "utf-8"));
    } catch {
    }
  }
  return null;
}
async function ev(e, t, { pkgFile: r } = {}) {
  return t ? t.version : (await hu(e, { pkgFile: r }))?.version ?? null;
}
var an = /* @__PURE__ */ j(((e) => {
  var t = (m, g) => () => (g || m((g = { exports: {} }).exports, g), g.exports), r = t((m) => {
    "use strict";
    Object.defineProperty(m, "__esModule", { value: !0 }), m.tracing = m.metrics = void 0;
    var g = ve("node:diagnostics_channel");
    m.metrics = (0, g.channel)("lru-cache:metrics"), m.tracing = (0, g.tracingChannel)("lru-cache");
  });
  Object.defineProperty(e, "__esModule", { value: !0 }), e.LRUCache = void 0;
  var i = r(), s = () => i.metrics.hasSubscribers || i.tracing.hasSubscribers, h = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, a = /* @__PURE__ */ new Set(), n = typeof process == "object" && process ? process : {}, l = (m, g, v, y) => {
    typeof n.emitWarning == "function" ? n.emitWarning(m, g, v, y) : console.error(`[${v}] ${g}: ${m}`);
  }, u = (m) => !a.has(m), f = (m) => !!m && m === Math.floor(m) && m > 0 && isFinite(m), o = (m) => f(m) ? m <= Math.pow(2, 8) ? Uint8Array : m <= Math.pow(2, 16) ? Uint16Array : m <= Math.pow(2, 32) ? Uint32Array : m <= Number.MAX_SAFE_INTEGER ? c : null : null, c = class extends Array {
    constructor(m) {
      super(m), this.fill(0);
    }
  }, d = class xi {
    heap;
    length;
    static #e = !1;
    static create(g) {
      let v = o(g);
      if (!v) return [];
      xi.#e = !0;
      let y = new xi(g, v);
      return xi.#e = !1, y;
    }
    constructor(g, v) {
      if (!xi.#e) throw new TypeError("instantiate Stack using Stack.create(n)");
      this.heap = new v(g), this.length = 0;
    }
    push(g) {
      this.heap[this.length++] = g;
    }
    pop() {
      return this.heap[--this.length];
    }
  }, p = class Bh {
    #e;
    #t;
    #r;
    #n;
    #a;
    #l;
    #f;
    #c;
    get perf() {
      return this.#c;
    }
    ttl;
    ttlResolution;
    ttlAutopurge;
    updateAgeOnGet;
    updateAgeOnHas;
    allowStale;
    noDisposeOnSet;
    noUpdateTTL;
    maxEntrySize;
    sizeCalculation;
    noDeleteOnFetchRejection;
    noDeleteOnStaleGet;
    allowStaleOnFetchAbort;
    allowStaleOnFetchRejection;
    ignoreFetchAbort;
    #o;
    #p;
    #h;
    #u;
    #i;
    #v;
    #w;
    #y;
    #g;
    #T;
    #m;
    #S;
    #C;
    #_;
    #E;
    #A;
    #R;
    #s;
    #F;
    static unsafeExposeInternals(g) {
      return {
        starts: g.#C,
        ttls: g.#_,
        autopurgeTimers: g.#E,
        sizes: g.#S,
        keyMap: g.#h,
        keyList: g.#u,
        valList: g.#i,
        next: g.#v,
        prev: g.#w,
        get head() {
          return g.#y;
        },
        get tail() {
          return g.#g;
        },
        free: g.#T,
        isBackgroundFetch: (v) => g.#d(v),
        backgroundFetch: (v, y, w, _) => g.#B(v, y, w, _),
        moveToTail: (v) => g.#K(v),
        indexes: (v) => g.#O(v),
        rindexes: (v) => g.#I(v),
        isStale: (v) => g.#D(v)
      };
    }
    get max() {
      return this.#e;
    }
    get maxSize() {
      return this.#t;
    }
    get calculatedSize() {
      return this.#p;
    }
    get size() {
      return this.#o;
    }
    get fetchMethod() {
      return this.#l;
    }
    get memoMethod() {
      return this.#f;
    }
    get dispose() {
      return this.#r;
    }
    get onInsert() {
      return this.#n;
    }
    get disposeAfter() {
      return this.#a;
    }
    constructor(g) {
      let { max: v = 0, ttl: y, ttlResolution: w = 1, ttlAutopurge: _, updateAgeOnGet: b, updateAgeOnHas: E, allowStale: D, dispose: S, onInsert: C, disposeAfter: T, noDisposeOnSet: U, noUpdateTTL: $, maxSize: z = 0, maxEntrySize: Y = 0, sizeCalculation: H, fetchMethod: k, memoMethod: F, noDeleteOnFetchRejection: q, noDeleteOnStaleGet: W, allowStaleOnFetchRejection: P, allowStaleOnFetchAbort: x, ignoreFetchAbort: L, perf: O } = g;
      if (O !== void 0 && typeof O?.now != "function") throw new TypeError("perf option must have a now() method if specified");
      if (this.#c = O ?? h, v !== 0 && !f(v)) throw new TypeError("max option must be a nonnegative integer");
      let N = v ? o(v) : Array;
      if (!N) throw new Error("invalid max value: " + v);
      if (this.#e = v, this.#t = z, this.maxEntrySize = Y || this.#t, this.sizeCalculation = H, this.sizeCalculation) {
        if (!this.#t && !this.maxEntrySize) throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");
        if (typeof this.sizeCalculation != "function") throw new TypeError("sizeCalculation set to non-function");
      }
      if (F !== void 0 && typeof F != "function") throw new TypeError("memoMethod must be a function if defined");
      if (this.#f = F, k !== void 0 && typeof k != "function") throw new TypeError("fetchMethod must be a function if specified");
      if (this.#l = k, this.#R = !!k, this.#h = /* @__PURE__ */ new Map(), this.#u = Array.from({ length: v }).fill(void 0), this.#i = Array.from({ length: v }).fill(void 0), this.#v = new N(v), this.#w = new N(v), this.#y = 0, this.#g = 0, this.#T = d.create(v), this.#o = 0, this.#p = 0, typeof S == "function" && (this.#r = S), typeof C == "function" && (this.#n = C), typeof T == "function" ? (this.#a = T, this.#m = []) : (this.#a = void 0, this.#m = void 0), this.#A = !!this.#r, this.#F = !!this.#n, this.#s = !!this.#a, this.noDisposeOnSet = !!U, this.noUpdateTTL = !!$, this.noDeleteOnFetchRejection = !!q, this.allowStaleOnFetchRejection = !!P, this.allowStaleOnFetchAbort = !!x, this.ignoreFetchAbort = !!L, this.maxEntrySize !== 0) {
        if (this.#t !== 0 && !f(this.#t)) throw new TypeError("maxSize must be a positive integer if specified");
        if (!f(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
        this.#W();
      }
      if (this.allowStale = !!D, this.noDeleteOnStaleGet = !!W, this.updateAgeOnGet = !!b, this.updateAgeOnHas = !!E, this.ttlResolution = f(w) || w === 0 ? w : 1, this.ttlAutopurge = !!_, this.ttl = y || 0, this.ttl) {
        if (!f(this.ttl)) throw new TypeError("ttl must be a positive integer if specified");
        this.#N();
      }
      if (this.#e === 0 && this.ttl === 0 && this.#t === 0) throw new TypeError("At least one of max, maxSize, or ttl is required");
      if (!this.ttlAutopurge && !this.#e && !this.#t) {
        let K = "LRU_CACHE_UNBOUNDED";
        u(K) && (a.add(K), l("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", K, Bh));
      }
    }
    getRemainingTTL(g) {
      return this.#h.has(g) ? 1 / 0 : 0;
    }
    #N() {
      let g = new c(this.#e), v = new c(this.#e);
      this.#_ = g, this.#C = v;
      let y = this.ttlAutopurge ? Array.from({ length: this.#e }) : void 0;
      this.#E = y, this.#M = (E, D, S = this.#c.now()) => {
        v[E] = D !== 0 ? S : 0, g[E] = D, w(E, D);
      }, this.#k = (E) => {
        v[E] = g[E] !== 0 ? this.#c.now() : 0, w(E, g[E]);
      };
      let w = this.ttlAutopurge ? (E, D) => {
        if (y?.[E] && (clearTimeout(y[E]), y[E] = void 0), D && D !== 0 && y) {
          let S = setTimeout(() => {
            this.#D(E) && this.#G(this.#u[E], "expire");
          }, D + 1);
          S.unref && S.unref(), y[E] = S;
        }
      } : () => {
      };
      this.#L = (E, D) => {
        if (g[D]) {
          let S = g[D], C = v[D];
          if (!S || !C) return;
          E.ttl = S, E.start = C, E.now = _ || b(), E.remainingTTL = S - (E.now - C);
        }
      };
      let _ = 0, b = () => {
        let E = this.#c.now();
        if (this.ttlResolution > 0) {
          _ = E;
          let D = setTimeout(() => _ = 0, this.ttlResolution);
          D.unref && D.unref();
        }
        return E;
      };
      this.getRemainingTTL = (E) => {
        let D = this.#h.get(E);
        if (D === void 0) return 0;
        let S = g[D], C = v[D];
        return !S || !C ? 1 / 0 : S - ((_ || b()) - C);
      }, this.#D = (E) => {
        let D = v[E], S = g[E];
        return !!S && !!D && (_ || b()) - D > S;
      };
    }
    #k = () => {
    };
    #L = () => {
    };
    #M = () => {
    };
    #D = () => !1;
    #W() {
      let g = new c(this.#e);
      this.#p = 0, this.#S = g, this.#$ = (v) => {
        this.#p -= g[v], g[v] = 0;
      }, this.#j = (v, y, w, _) => {
        if (this.#d(y)) return 0;
        if (!f(w)) if (_) {
          if (typeof _ != "function") throw new TypeError("sizeCalculation must be a function");
          if (w = _(y, v), !f(w)) throw new TypeError("sizeCalculation return invalid (expect positive integer)");
        } else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");
        return w;
      }, this.#x = (v, y, w) => {
        if (g[v] = y, this.#t) {
          let _ = this.#t - g[v];
          for (; this.#p > _; ) this.#H(!0);
        }
        this.#p += g[v], w && (w.entrySize = y, w.totalCalculatedSize = this.#p);
      };
    }
    #$ = (g) => {
    };
    #x = (g, v, y) => {
    };
    #j = (g, v, y, w) => {
      if (y || w) throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");
      return 0;
    };
    *#O({ allowStale: g = this.allowStale } = {}) {
      if (this.#o) for (let v = this.#g; this.#U(v) && ((g || !this.#D(v)) && (yield v), v !== this.#y); ) v = this.#w[v];
    }
    *#I({ allowStale: g = this.allowStale } = {}) {
      if (this.#o) for (let v = this.#y; this.#U(v) && ((g || !this.#D(v)) && (yield v), v !== this.#g); ) v = this.#v[v];
    }
    #U(g) {
      return g !== void 0 && this.#h.get(this.#u[g]) === g;
    }
    *entries() {
      for (let g of this.#O()) this.#i[g] !== void 0 && this.#u[g] !== void 0 && !this.#d(this.#i[g]) && (yield [this.#u[g], this.#i[g]]);
    }
    *rentries() {
      for (let g of this.#I()) this.#i[g] !== void 0 && this.#u[g] !== void 0 && !this.#d(this.#i[g]) && (yield [this.#u[g], this.#i[g]]);
    }
    *keys() {
      for (let g of this.#O()) {
        let v = this.#u[g];
        v !== void 0 && !this.#d(this.#i[g]) && (yield v);
      }
    }
    *rkeys() {
      for (let g of this.#I()) {
        let v = this.#u[g];
        v !== void 0 && !this.#d(this.#i[g]) && (yield v);
      }
    }
    *values() {
      for (let g of this.#O()) this.#i[g] !== void 0 && !this.#d(this.#i[g]) && (yield this.#i[g]);
    }
    *rvalues() {
      for (let g of this.#I()) this.#i[g] !== void 0 && !this.#d(this.#i[g]) && (yield this.#i[g]);
    }
    [Symbol.iterator]() {
      return this.entries();
    }
    [Symbol.toStringTag] = "LRUCache";
    find(g, v = {}) {
      for (let y of this.#O()) {
        let w = this.#i[y], _ = this.#d(w) ? w.__staleWhileFetching : w;
        if (_ !== void 0 && g(_, this.#u[y], this)) return this.#Y(this.#u[y], v);
      }
    }
    forEach(g, v = this) {
      for (let y of this.#O()) {
        let w = this.#i[y], _ = this.#d(w) ? w.__staleWhileFetching : w;
        _ !== void 0 && g.call(v, _, this.#u[y], this);
      }
    }
    rforEach(g, v = this) {
      for (let y of this.#I()) {
        let w = this.#i[y], _ = this.#d(w) ? w.__staleWhileFetching : w;
        _ !== void 0 && g.call(v, _, this.#u[y], this);
      }
    }
    purgeStale() {
      let g = !1;
      for (let v of this.#I({ allowStale: !0 })) this.#D(v) && (this.#G(this.#u[v], "expire"), g = !0);
      return g;
    }
    info(g) {
      let v = this.#h.get(g);
      if (v === void 0) return;
      let y = this.#i[v], w = this.#d(y) ? y.__staleWhileFetching : y;
      if (w === void 0) return;
      let _ = { value: w };
      if (this.#_ && this.#C) {
        let b = this.#_[v], E = this.#C[v];
        b && E && (_.ttl = b - (this.#c.now() - E), _.start = Date.now());
      }
      return this.#S && (_.size = this.#S[v]), _;
    }
    dump() {
      let g = [];
      for (let v of this.#O({ allowStale: !0 })) {
        let y = this.#u[v], w = this.#i[v], _ = this.#d(w) ? w.__staleWhileFetching : w;
        if (_ === void 0 || y === void 0) continue;
        let b = { value: _ };
        if (this.#_ && this.#C) {
          b.ttl = this.#_[v];
          let E = this.#c.now() - this.#C[v];
          b.start = Math.floor(Date.now() - E);
        }
        this.#S && (b.size = this.#S[v]), g.unshift([y, b]);
      }
      return g;
    }
    load(g) {
      this.clear();
      for (let [v, y] of g) {
        if (y.start) {
          let w = Date.now() - y.start;
          y.start = this.#c.now() - w;
        }
        this.#P(v, y.value, y);
      }
    }
    set(g, v, y = {}) {
      let { status: w = i.metrics.hasSubscribers ? {} : void 0 } = y;
      y.status = w, w && (w.op = "set", w.key = g, v !== void 0 && (w.value = v));
      let _ = this.#P(g, v, y);
      return w && i.metrics.hasSubscribers && i.metrics.publish(w), _;
    }
    #P(g, v, y = {}) {
      let { ttl: w = this.ttl, start: _, noDisposeOnSet: b = this.noDisposeOnSet, sizeCalculation: E = this.sizeCalculation, status: D } = y;
      if (v === void 0) return D && (D.set = "deleted"), this.delete(g), this;
      let { noUpdateTTL: S = this.noUpdateTTL } = y;
      D && !this.#d(v) && (D.value = v);
      let C = this.#j(g, v, y.size || 0, E, D);
      if (this.maxEntrySize && C > this.maxEntrySize) return this.#G(g, "set"), D && (D.set = "miss", D.maxEntrySizeExceeded = !0), this;
      let T = this.#o === 0 ? void 0 : this.#h.get(g);
      if (T === void 0) T = this.#o === 0 ? this.#g : this.#T.length !== 0 ? this.#T.pop() : this.#o === this.#e ? this.#H(!1) : this.#o, this.#u[T] = g, this.#i[T] = v, this.#h.set(g, T), this.#v[this.#g] = T, this.#w[T] = this.#g, this.#g = T, this.#o++, this.#x(T, C, D), D && (D.set = "add"), S = !1, this.#F && this.#n?.(v, g, "add");
      else {
        this.#K(T);
        let U = this.#i[T];
        if (v !== U) {
          if (this.#R && this.#d(U)) {
            U.__abortController.abort(/* @__PURE__ */ new Error("replaced"));
            let { __staleWhileFetching: $ } = U;
            $ !== void 0 && !b && (this.#A && this.#r?.($, g, "set"), this.#s && this.#m?.push([
              $,
              g,
              "set"
            ]));
          } else b || (this.#A && this.#r?.(U, g, "set"), this.#s && this.#m?.push([
            U,
            g,
            "set"
          ]));
          if (this.#$(T), this.#x(T, C, D), this.#i[T] = v, D) {
            D.set = "replace";
            let $ = U && this.#d(U) ? U.__staleWhileFetching : U;
            $ !== void 0 && (D.oldValue = $);
          }
        } else D && (D.set = "update");
        this.#F && this.onInsert?.(v, g, v === U ? "update" : "replace");
      }
      if (w !== 0 && !this.#_ && this.#N(), this.#_ && (S || this.#M(T, w, _), D && this.#L(D, T)), !b && this.#s && this.#m) {
        let U = this.#m, $;
        for (; $ = U?.shift(); ) this.#a?.(...$);
      }
      return this;
    }
    pop() {
      try {
        for (; this.#o; ) {
          let g = this.#i[this.#y];
          if (this.#H(!0), this.#d(g)) {
            if (g.__staleWhileFetching) return g.__staleWhileFetching;
          } else if (g !== void 0) return g;
        }
      } finally {
        if (this.#s && this.#m) {
          let g = this.#m, v;
          for (; v = g?.shift(); ) this.#a?.(...v);
        }
      }
    }
    #H(g) {
      let v = this.#y, y = this.#u[v], w = this.#i[v];
      return this.#R && this.#d(w) ? w.__abortController.abort(/* @__PURE__ */ new Error("evicted")) : (this.#A || this.#s) && (this.#A && this.#r?.(w, y, "evict"), this.#s && this.#m?.push([
        w,
        y,
        "evict"
      ])), this.#$(v), this.#E?.[v] && (clearTimeout(this.#E[v]), this.#E[v] = void 0), g && (this.#u[v] = void 0, this.#i[v] = void 0, this.#T.push(v)), this.#o === 1 ? (this.#y = this.#g = 0, this.#T.length = 0) : this.#y = this.#v[v], this.#h.delete(y), this.#o--, v;
    }
    has(g, v = {}) {
      let { status: y = i.metrics.hasSubscribers ? {} : void 0 } = v;
      v.status = y, y && (y.op = "has", y.key = g);
      let w = this.#b(g, v);
      return i.metrics.hasSubscribers && i.metrics.publish(y), w;
    }
    #b(g, v = {}) {
      let { updateAgeOnHas: y = this.updateAgeOnHas, status: w } = v, _ = this.#h.get(g);
      if (_ !== void 0) {
        let b = this.#i[_];
        if (this.#d(b) && b.__staleWhileFetching === void 0) return !1;
        if (this.#D(_)) w && (w.has = "stale", this.#L(w, _));
        else return y && this.#k(_), w && (w.has = "hit", this.#L(w, _)), !0;
      } else w && (w.has = "miss");
      return !1;
    }
    peek(g, v = {}) {
      let { status: y = s() ? {} : void 0 } = v;
      y && (y.op = "peek", y.key = g), v.status = y;
      let w = this.#q(g, v);
      return i.metrics.hasSubscribers && i.metrics.publish(y), w;
    }
    #q(g, v) {
      let { status: y, allowStale: w = this.allowStale } = v, _ = this.#h.get(g);
      if (_ === void 0 || !w && this.#D(_)) {
        y && (y.peek = _ === void 0 ? "miss" : "stale");
        return;
      }
      let b = this.#i[_], E = this.#d(b) ? b.__staleWhileFetching : b;
      return y && (E !== void 0 ? (y.peek = "hit", y.value = E) : y.peek = "miss"), E;
    }
    #B(g, v, y, w) {
      let _ = v === void 0 ? void 0 : this.#i[v];
      if (this.#d(_)) return _;
      let b = new AbortController(), { signal: E } = y;
      E?.addEventListener("abort", () => b.abort(E.reason), { signal: b.signal });
      let D = {
        signal: b.signal,
        options: y,
        context: w
      }, S = (Y, H = !1) => {
        let { aborted: k } = b.signal, F = y.ignoreFetchAbort && Y !== void 0, q = y.ignoreFetchAbort || !!(y.allowStaleOnFetchAbort && Y !== void 0);
        if (y.status && (k && !H ? (y.status.fetchAborted = !0, y.status.fetchError = b.signal.reason, F && (y.status.fetchAbortIgnored = !0)) : y.status.fetchResolved = !0), k && !F && !H) return T(b.signal.reason, q);
        let W = $, P = this.#i[v];
        return (P === $ || P === void 0 && F && H) && (Y === void 0 ? W.__staleWhileFetching !== void 0 ? this.#i[v] = W.__staleWhileFetching : this.#G(g, "fetch") : (y.status && (y.status.fetchUpdated = !0), this.#P(g, Y, D.options))), Y;
      }, C = (Y) => (y.status && (y.status.fetchRejected = !0, y.status.fetchError = Y), T(Y, !1)), T = (Y, H) => {
        let { aborted: k } = b.signal, F = k && y.allowStaleOnFetchAbort, q = F || y.allowStaleOnFetchRejection, W = q || y.noDeleteOnFetchRejection, P = $;
        if (this.#i[v] === $ && (!W || !H && P.__staleWhileFetching === void 0 ? this.#G(g, "fetch") : F || (this.#i[v] = P.__staleWhileFetching)), q) return y.status && P.__staleWhileFetching !== void 0 && (y.status.returnedStale = !0), P.__staleWhileFetching;
        if (P.__returned === P) throw Y;
      }, U = (Y, H) => {
        let k = this.#l?.(g, _, D);
        k && k instanceof Promise && k.then((F) => Y(F === void 0 ? void 0 : F), H), b.signal.addEventListener("abort", () => {
          (!y.ignoreFetchAbort || y.allowStaleOnFetchAbort) && (Y(void 0), y.allowStaleOnFetchAbort && (Y = (F) => S(F, !0)));
        });
      };
      y.status && (y.status.fetchDispatched = !0);
      let $ = new Promise(U).then(S, C), z = Object.assign($, {
        __abortController: b,
        __staleWhileFetching: _,
        __returned: void 0
      });
      return v === void 0 ? (this.#P(g, z, {
        ...D.options,
        status: void 0
      }), v = this.#h.get(g)) : this.#i[v] = z, z;
    }
    #d(g) {
      if (!this.#R) return !1;
      let v = g;
      return !!v && v instanceof Promise && v.hasOwnProperty("__staleWhileFetching") && v.__abortController instanceof AbortController;
    }
    fetch(g, v = {}) {
      let y = i.tracing.hasSubscribers, { status: w = s() ? {} : void 0 } = v;
      v.status = w, w && v.context && (w.context = v.context);
      let _ = this.#z(g, v);
      return w && s() && y && (w.trace = !0, i.tracing.tracePromise(() => _, w).catch(() => {
      })), _;
    }
    async #z(g, v = {}) {
      let { allowStale: y = this.allowStale, updateAgeOnGet: w = this.updateAgeOnGet, noDeleteOnStaleGet: _ = this.noDeleteOnStaleGet, ttl: b = this.ttl, noDisposeOnSet: E = this.noDisposeOnSet, size: D = 0, sizeCalculation: S = this.sizeCalculation, noUpdateTTL: C = this.noUpdateTTL, noDeleteOnFetchRejection: T = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: U = this.allowStaleOnFetchRejection, ignoreFetchAbort: $ = this.ignoreFetchAbort, allowStaleOnFetchAbort: z = this.allowStaleOnFetchAbort, context: Y, forceRefresh: H = !1, status: k, signal: F } = v;
      if (k && (k.op = "fetch", k.key = g, H && (k.forceRefresh = !0)), !this.#R) return k && (k.fetch = "get"), this.#Y(g, {
        allowStale: y,
        updateAgeOnGet: w,
        noDeleteOnStaleGet: _,
        status: k
      });
      let q = {
        allowStale: y,
        updateAgeOnGet: w,
        noDeleteOnStaleGet: _,
        ttl: b,
        noDisposeOnSet: E,
        size: D,
        sizeCalculation: S,
        noUpdateTTL: C,
        noDeleteOnFetchRejection: T,
        allowStaleOnFetchRejection: U,
        allowStaleOnFetchAbort: z,
        ignoreFetchAbort: $,
        status: k,
        signal: F
      }, W = this.#h.get(g);
      if (W === void 0) {
        k && (k.fetch = "miss");
        let P = this.#B(g, W, q, Y);
        return P.__returned = P;
      } else {
        let P = this.#i[W];
        if (this.#d(P)) {
          let N = y && P.__staleWhileFetching !== void 0;
          return k && (k.fetch = "inflight", N && (k.returnedStale = !0)), N ? P.__staleWhileFetching : P.__returned = P;
        }
        let x = this.#D(W);
        if (!H && !x) return k && (k.fetch = "hit"), this.#K(W), w && this.#k(W), k && this.#L(k, W), P;
        let L = this.#B(g, W, q, Y), O = L.__staleWhileFetching !== void 0 && y;
        return k && (k.fetch = x ? "stale" : "refresh", O && x && (k.returnedStale = !0)), O ? L.__staleWhileFetching : L.__returned = L;
      }
    }
    forceFetch(g, v = {}) {
      let y = i.tracing.hasSubscribers, { status: w = s() ? {} : void 0 } = v;
      v.status = w, w && v.context && (w.context = v.context);
      let _ = this.#V(g, v);
      return w && s() && y && (w.trace = !0, i.tracing.tracePromise(() => _, w).catch(() => {
      })), _;
    }
    async #V(g, v = {}) {
      let y = await this.#z(g, v);
      if (y === void 0) throw new Error("fetch() returned undefined");
      return y;
    }
    memo(g, v = {}) {
      let { status: y = i.metrics.hasSubscribers ? {} : void 0 } = v;
      v.status = y, y && (y.op = "memo", y.key = g, v.context && (y.context = v.context));
      let w = this.#X(g, v);
      return y && (y.value = w), i.metrics.hasSubscribers && i.metrics.publish(y), w;
    }
    #X(g, v = {}) {
      let y = this.#f;
      if (!y) throw new Error("no memoMethod provided to constructor");
      let { context: w, status: _, forceRefresh: b, ...E } = v;
      _ && b && (_.forceRefresh = !0);
      let D = this.#Y(g, E), S = b || D === void 0;
      if (_ && (_.memo = S ? "miss" : "hit", S || (_.value = D)), !S) return D;
      let C = y(g, D, {
        options: E,
        context: w
      });
      return _ && (_.value = C), this.#P(g, C, E), C;
    }
    get(g, v = {}) {
      let { status: y = i.metrics.hasSubscribers ? {} : void 0 } = v;
      v.status = y, y && (y.op = "get", y.key = g);
      let w = this.#Y(g, v);
      return y && (w !== void 0 && (y.value = w), i.metrics.hasSubscribers && i.metrics.publish(y)), w;
    }
    #Y(g, v = {}) {
      let { allowStale: y = this.allowStale, updateAgeOnGet: w = this.updateAgeOnGet, noDeleteOnStaleGet: _ = this.noDeleteOnStaleGet, status: b } = v, E = this.#h.get(g);
      if (E === void 0) {
        b && (b.get = "miss");
        return;
      }
      let D = this.#i[E], S = this.#d(D);
      return b && this.#L(b, E), this.#D(E) ? S ? (b && (b.get = "stale-fetching"), y && D.__staleWhileFetching !== void 0 ? (b && (b.returnedStale = !0), D.__staleWhileFetching) : void 0) : (_ || this.#G(g, "expire"), b && (b.get = "stale"), y ? (b && (b.returnedStale = !0), D) : void 0) : (b && (b.get = S ? "fetching" : "hit"), this.#K(E), w && this.#k(E), S ? D.__staleWhileFetching : D);
    }
    #Z(g, v) {
      this.#w[v] = g, this.#v[g] = v;
    }
    #K(g) {
      g !== this.#g && (g === this.#y ? this.#y = this.#v[g] : this.#Z(this.#w[g], this.#v[g]), this.#Z(this.#g, g), this.#g = g);
    }
    delete(g) {
      return this.#G(g, "delete");
    }
    #G(g, v) {
      i.metrics.hasSubscribers && i.metrics.publish({
        op: "delete",
        delete: v,
        key: g
      });
      let y = !1;
      if (this.#o !== 0) {
        let w = this.#h.get(g);
        if (w !== void 0) if (this.#E?.[w] && (clearTimeout(this.#E?.[w]), this.#E[w] = void 0), y = !0, this.#o === 1) this.#J(v);
        else {
          this.#$(w);
          let _ = this.#i[w];
          if (this.#d(_) ? _.__abortController.abort(/* @__PURE__ */ new Error("deleted")) : (this.#A || this.#s) && (this.#A && this.#r?.(_, g, v), this.#s && this.#m?.push([
            _,
            g,
            v
          ])), this.#h.delete(g), this.#u[w] = void 0, this.#i[w] = void 0, w === this.#g) this.#g = this.#w[w];
          else if (w === this.#y) this.#y = this.#v[w];
          else {
            let b = this.#w[w];
            this.#v[b] = this.#v[w];
            let E = this.#v[w];
            this.#w[E] = this.#w[w];
          }
          this.#o--, this.#T.push(w);
        }
      }
      if (this.#s && this.#m?.length) {
        let w = this.#m, _;
        for (; _ = w?.shift(); ) this.#a?.(..._);
      }
      return y;
    }
    clear() {
      return this.#J("delete");
    }
    #J(g) {
      for (let v of this.#I({ allowStale: !0 })) {
        let y = this.#i[v];
        if (this.#d(y)) y.__abortController.abort(/* @__PURE__ */ new Error("deleted"));
        else {
          let w = this.#u[v];
          this.#A && this.#r?.(y, w, g), this.#s && this.#m?.push([
            y,
            w,
            g
          ]);
        }
      }
      if (this.#h.clear(), this.#i.fill(void 0), this.#u.fill(void 0), this.#_ && this.#C) {
        this.#_.fill(0), this.#C.fill(0);
        for (let v of this.#E ?? []) v !== void 0 && clearTimeout(v);
        this.#E?.fill(void 0);
      }
      if (this.#S && this.#S.fill(0), this.#y = 0, this.#g = 0, this.#T.length = 0, this.#p = 0, this.#o = 0, this.#s && this.#m) {
        let v = this.#m, y;
        for (; y = v?.shift(); ) this.#a?.(...y);
      }
    }
  };
  e.LRUCache = p;
})), tv = /* @__PURE__ */ j(((e, t) => {
  var r = (...n) => n.every((l) => l) ? n.join("") : "", i = (n) => n ? encodeURIComponent(n) : "", s = (n) => n.toLowerCase().replace(/^\W+/g, "").replace(/(?<!\W)\W+$/, "").replace(/\//g, "").replace(/\W+/g, "-"), h = {
    sshtemplate: ({ domain: n, user: l, project: u, committish: f }) => `git@${n}:${l}/${u}.git${r("#", f)}`,
    sshurltemplate: ({ domain: n, user: l, project: u, committish: f }) => `git+ssh://git@${n}/${l}/${u}.git${r("#", f)}`,
    edittemplate: ({ domain: n, user: l, project: u, committish: f, editpath: o, path: c }) => `https://${n}/${l}/${u}${r("/", o, "/", i(f || "HEAD"), "/", c)}`,
    browsetemplate: ({ domain: n, user: l, project: u, committish: f, treepath: o }) => `https://${n}/${l}/${u}${r("/", o, "/", i(f))}`,
    browsetreetemplate: ({ domain: n, user: l, project: u, committish: f, treepath: o, path: c, fragment: d, hashformat: p }) => `https://${n}/${l}/${u}/${o}/${i(f || "HEAD")}/${c}${r("#", p(d || ""))}`,
    browseblobtemplate: ({ domain: n, user: l, project: u, committish: f, blobpath: o, path: c, fragment: d, hashformat: p }) => `https://${n}/${l}/${u}/${o}/${i(f || "HEAD")}/${c}${r("#", p(d || ""))}`,
    docstemplate: ({ domain: n, user: l, project: u, treepath: f, committish: o }) => `https://${n}/${l}/${u}${r("/", f, "/", i(o))}#readme`,
    httpstemplate: ({ auth: n, domain: l, user: u, project: f, committish: o }) => `git+https://${r(n, "@")}${l}/${u}/${f}.git${r("#", o)}`,
    filetemplate: ({ domain: n, user: l, project: u, committish: f, path: o }) => `https://${n}/${l}/${u}/raw/${i(f || "HEAD")}/${o}`,
    shortcuttemplate: ({ type: n, user: l, project: u, committish: f }) => `${n}:${l}/${u}${r("#", f)}`,
    pathtemplate: ({ user: n, project: l, committish: u }) => `${n}/${l}${r("#", u)}`,
    bugstemplate: ({ domain: n, user: l, project: u }) => `https://${n}/${l}/${u}/issues`,
    hashformat: s
  }, a = {};
  a.github = {
    protocols: [
      "git:",
      "http:",
      "git+ssh:",
      "git+https:",
      "ssh:",
      "https:"
    ],
    domain: "github.com",
    treepath: "tree",
    blobpath: "blob",
    editpath: "edit",
    filetemplate: ({ auth: n, user: l, project: u, committish: f, path: o }) => `https://${r(n, "@")}raw.githubusercontent.com/${l}/${u}/${i(f || "HEAD")}/${o}`,
    gittemplate: ({ auth: n, domain: l, user: u, project: f, committish: o }) => `git://${r(n, "@")}${l}/${u}/${f}.git${r("#", o)}`,
    tarballtemplate: ({ domain: n, user: l, project: u, committish: f }) => `https://codeload.${n}/${l}/${u}/tar.gz/${i(f || "HEAD")}`,
    extract: (n) => {
      let [, l, u, f, o] = n.pathname.split("/", 5);
      if (!(f && f !== "tree") && (f || (o = n.hash.slice(1)), u && u.endsWith(".git") && (u = u.slice(0, -4)), !(!l || !u)))
        return {
          user: l,
          project: u,
          committish: o
        };
    }
  }, a.bitbucket = {
    protocols: [
      "git+ssh:",
      "git+https:",
      "ssh:",
      "https:"
    ],
    domain: "bitbucket.org",
    treepath: "src",
    blobpath: "src",
    editpath: "?mode=edit",
    edittemplate: ({ domain: n, user: l, project: u, committish: f, treepath: o, path: c, editpath: d }) => `https://${n}/${l}/${u}${r("/", o, "/", i(f || "HEAD"), "/", c, d)}`,
    tarballtemplate: ({ domain: n, user: l, project: u, committish: f }) => `https://${n}/${l}/${u}/get/${i(f || "HEAD")}.tar.gz`,
    extract: (n) => {
      let [, l, u, f] = n.pathname.split("/", 4);
      if (!["get"].includes(f) && (u && u.endsWith(".git") && (u = u.slice(0, -4)), !(!l || !u)))
        return {
          user: l,
          project: u,
          committish: n.hash.slice(1)
        };
    }
  }, a.gitlab = {
    protocols: [
      "git+ssh:",
      "git+https:",
      "ssh:",
      "https:"
    ],
    domain: "gitlab.com",
    treepath: "tree",
    blobpath: "tree",
    editpath: "-/edit",
    tarballtemplate: ({ domain: n, user: l, project: u, committish: f }) => `https://${n}/${l}/${u}/repository/archive.tar.gz?ref=${i(f || "HEAD")}`,
    extract: (n) => {
      const l = n.pathname.slice(1);
      if (l.includes("/-/") || l.includes("/archive.tar.gz")) return;
      const u = l.split("/");
      let f = u.pop();
      f.endsWith(".git") && (f = f.slice(0, -4));
      const o = u.join("/");
      if (!(!o || !f))
        return {
          user: o,
          project: f,
          committish: n.hash.slice(1)
        };
    }
  }, a.gist = {
    protocols: [
      "git:",
      "git+ssh:",
      "git+https:",
      "ssh:",
      "https:"
    ],
    domain: "gist.github.com",
    editpath: "edit",
    sshtemplate: ({ domain: n, project: l, committish: u }) => `git@${n}:${l}.git${r("#", u)}`,
    sshurltemplate: ({ domain: n, project: l, committish: u }) => `git+ssh://git@${n}/${l}.git${r("#", u)}`,
    edittemplate: ({ domain: n, user: l, project: u, committish: f, editpath: o }) => `https://${n}/${l}/${u}${r("/", i(f))}/${o}`,
    browsetemplate: ({ domain: n, project: l, committish: u }) => `https://${n}/${l}${r("/", i(u))}`,
    browsetreetemplate: ({ domain: n, project: l, committish: u, path: f, hashformat: o }) => `https://${n}/${l}${r("/", i(u))}${r("#", o(f))}`,
    browseblobtemplate: ({ domain: n, project: l, committish: u, path: f, hashformat: o }) => `https://${n}/${l}${r("/", i(u))}${r("#", o(f))}`,
    docstemplate: ({ domain: n, project: l, committish: u }) => `https://${n}/${l}${r("/", i(u))}`,
    httpstemplate: ({ domain: n, project: l, committish: u }) => `git+https://${n}/${l}.git${r("#", u)}`,
    filetemplate: ({ user: n, project: l, committish: u, path: f }) => `https://gist.githubusercontent.com/${n}/${l}/raw${r("/", i(u))}/${f}`,
    shortcuttemplate: ({ type: n, project: l, committish: u }) => `${n}:${l}${r("#", u)}`,
    pathtemplate: ({ project: n, committish: l }) => `${n}${r("#", l)}`,
    bugstemplate: ({ domain: n, project: l }) => `https://${n}/${l}`,
    gittemplate: ({ domain: n, project: l, committish: u }) => `git://${n}/${l}.git${r("#", u)}`,
    tarballtemplate: ({ project: n, committish: l }) => `https://codeload.github.com/gist/${n}/tar.gz/${i(l || "HEAD")}`,
    extract: (n) => {
      let [, l, u, f] = n.pathname.split("/", 4);
      if (f !== "raw") {
        if (!u) {
          if (!l) return;
          u = l, l = null;
        }
        return u.endsWith(".git") && (u = u.slice(0, -4)), {
          user: l,
          project: u,
          committish: n.hash.slice(1)
        };
      }
    },
    hashformat: function(n) {
      return n && "file-" + s(n);
    }
  }, a.sourcehut = {
    protocols: ["git+ssh:", "https:"],
    domain: "git.sr.ht",
    treepath: "tree",
    blobpath: "tree",
    filetemplate: ({ domain: n, user: l, project: u, committish: f, path: o }) => `https://${n}/${l}/${u}/blob/${i(f) || "HEAD"}/${o}`,
    httpstemplate: ({ domain: n, user: l, project: u, committish: f }) => `https://${n}/${l}/${u}.git${r("#", f)}`,
    tarballtemplate: ({ domain: n, user: l, project: u, committish: f }) => `https://${n}/${l}/${u}/archive/${i(f) || "HEAD"}.tar.gz`,
    bugstemplate: () => null,
    extract: (n) => {
      let [, l, u, f] = n.pathname.split("/", 4);
      if (!["archive"].includes(f) && (u && u.endsWith(".git") && (u = u.slice(0, -4)), !(!l || !u)))
        return {
          user: l,
          project: u,
          committish: n.hash.slice(1)
        };
    }
  };
  for (const [n, l] of Object.entries(a)) a[n] = Object.assign({}, h, l);
  t.exports = a;
})), Ph = /* @__PURE__ */ j(((e, t) => {
  var r = ve("url"), i = (n, l, u) => {
    const f = n.indexOf(u);
    return n.lastIndexOf(l, f > -1 ? f : 1 / 0);
  }, s = (n) => {
    try {
      return new r.URL(n);
    } catch {
    }
  }, h = (n, l) => {
    const u = n.indexOf(":"), f = n.slice(0, u + 1);
    if (Object.prototype.hasOwnProperty.call(l, f) || n.substr(u, 3) === "://") return n;
    const o = n.indexOf("@");
    return o > -1 ? o > u ? `git+ssh://${n}` : n : `${n.slice(0, u + 1)}//${n.slice(u + 1)}`;
  }, a = (n) => {
    const l = i(n, "@", "#"), u = i(n, ":", "#");
    return u > l && (n = n.slice(0, u) + "/" + n.slice(u + 1)), i(n, ":", "#") === -1 && n.indexOf("//") === -1 && (n = `git+ssh://${n}`), n;
  };
  t.exports = (n, l) => {
    const u = l ? h(n, l) : n;
    return s(u) || s(a(u));
  };
})), rv = /* @__PURE__ */ j(((e, t) => {
  var r = Ph(), i = (s) => {
    const h = s.indexOf("#"), a = s.indexOf("/"), n = s.indexOf("/", a + 1), l = s.indexOf(":"), u = /\s/.exec(s), f = s.indexOf("@"), o = !u || h > -1 && u.index > h, c = f === -1 || h > -1 && f > h, d = l === -1 || h > -1 && l > h, p = n === -1 || h > -1 && n > h, m = a > 0, g = h > -1 ? s[h - 1] !== "/" : !s.endsWith("/"), v = !s.startsWith(".");
    return o && m && g && v && c && d && p;
  };
  t.exports = (s, h, { gitHosts: a, protocols: n }) => {
    if (!s) return;
    const l = r(i(s) ? `github:${s}` : s, n);
    if (!l) return;
    const u = a.byShortcut[l.protocol], f = a.byDomain[l.hostname.startsWith("www.") ? l.hostname.slice(4) : l.hostname], o = u || f;
    if (!o) return;
    const c = a[u || f];
    let d = null;
    n[l.protocol]?.auth && (l.username || l.password) && (d = `${l.username}${l.password ? ":" + l.password : ""}`);
    let p = null, m = null, g = null, v = null;
    try {
      if (u) {
        let y = l.pathname.startsWith("/") ? l.pathname.slice(1) : l.pathname;
        const w = y.indexOf("@");
        w > -1 && (y = y.slice(w + 1));
        const _ = y.lastIndexOf("/");
        _ > -1 ? (m = decodeURIComponent(y.slice(0, _)), m || (m = null), g = decodeURIComponent(y.slice(_ + 1))) : g = decodeURIComponent(y), g.endsWith(".git") && (g = g.slice(0, -4)), l.hash && (p = decodeURIComponent(l.hash.slice(1))), v = "shortcut";
      } else {
        if (!c.protocols.includes(l.protocol)) return;
        const y = c.extract(l);
        if (!y) return;
        m = y.user && decodeURIComponent(y.user), g = decodeURIComponent(y.project), p = decodeURIComponent(y.committish), v = n[l.protocol]?.name || l.protocol.slice(0, -1);
      }
    } catch (y) {
      if (y instanceof URIError) return;
      throw y;
    }
    return [
      o,
      m,
      d,
      g,
      p,
      v,
      h
    ];
  };
})), Mh = /* @__PURE__ */ j(((e, t) => {
  var { LRUCache: r } = an(), i = tv(), s = rv(), h = Ph(), a = new r({ max: 1e3 });
  function n(u) {
    try {
      const { protocol: f, hostname: o, pathname: c } = new URL(u);
      return o ? `${/(?:git\+)http:$/.test(f) ? "http:" : "https:"}//${o}${c.replace(/\.git$/, "")}` : null;
    } catch {
      return null;
    }
  }
  var l = class Xt {
    constructor(f, o, c, d, p, m, g = {}) {
      Object.assign(this, Xt.#e[f], {
        type: f,
        user: o,
        auth: c,
        project: d,
        committish: p,
        default: m,
        opts: g
      });
    }
    static #e = {
      byShortcut: {},
      byDomain: {}
    };
    static #t = {
      "git+ssh:": { name: "sshurl" },
      "ssh:": { name: "sshurl" },
      "git+https:": {
        name: "https",
        auth: !0
      },
      "git:": { auth: !0 },
      "http:": { auth: !0 },
      "https:": { auth: !0 },
      "git+http:": { auth: !0 }
    };
    static addHost(f, o) {
      Xt.#e[f] = o, Xt.#e.byDomain[o.domain] = f, Xt.#e.byShortcut[`${f}:`] = f, Xt.#t[`${f}:`] = { name: f };
    }
    static fromUrl(f, o) {
      if (typeof f != "string") return;
      const c = f + JSON.stringify(o || {});
      if (!a.has(c)) {
        const d = s(f, o, {
          gitHosts: Xt.#e,
          protocols: Xt.#t
        });
        a.set(c, d ? new Xt(...d) : void 0);
      }
      return a.get(c);
    }
    static fromManifest(f, o = {}) {
      if (!f || typeof f != "object") return;
      const c = f.repository, d = c && (typeof c == "string" ? c : typeof c == "object" && typeof c.url == "string" ? c.url : null);
      if (!d) throw new Error("no repository");
      const p = d && Xt.fromUrl(d.replace(/^git\+/, ""), o) || null;
      if (p) return p;
      const m = n(d);
      return Xt.fromUrl(m, o) || m;
    }
    static parseUrl(f) {
      return h(f);
    }
    #r(f, o) {
      if (typeof f != "function") return null;
      const c = {
        ...this,
        ...this.opts,
        ...o
      };
      c.path || (c.path = ""), c.path.startsWith("/") && (c.path = c.path.slice(1)), c.noCommittish && (c.committish = null);
      const d = f(c);
      return c.noGitPlus && d.startsWith("git+") ? d.slice(4) : d;
    }
    hash() {
      return this.committish ? `#${this.committish}` : "";
    }
    ssh(f) {
      return this.#r(this.sshtemplate, f);
    }
    sshurl(f) {
      return this.#r(this.sshurltemplate, f);
    }
    browse(f, ...o) {
      return typeof f != "string" ? this.#r(this.browsetemplate, f) : typeof o[0] != "string" ? this.#r(this.browsetreetemplate, {
        ...o[0],
        path: f
      }) : this.#r(this.browsetreetemplate, {
        ...o[1],
        fragment: o[0],
        path: f
      });
    }
    browseFile(f, ...o) {
      return typeof o[0] != "string" ? this.#r(this.browseblobtemplate, {
        ...o[0],
        path: f
      }) : this.#r(this.browseblobtemplate, {
        ...o[1],
        fragment: o[0],
        path: f
      });
    }
    docs(f) {
      return this.#r(this.docstemplate, f);
    }
    bugs(f) {
      return this.#r(this.bugstemplate, f);
    }
    https(f) {
      return this.#r(this.httpstemplate, f);
    }
    git(f) {
      return this.#r(this.gittemplate, f);
    }
    shortcut(f) {
      return this.#r(this.shortcuttemplate, f);
    }
    path(f) {
      return this.#r(this.pathtemplate, f);
    }
    tarball(f) {
      return this.#r(this.tarballtemplate, {
        ...f,
        noCommittish: !1
      });
    }
    file(f, o) {
      return this.#r(this.filetemplate, {
        ...o,
        path: f
      });
    }
    edit(f, o) {
      return this.#r(this.edittemplate, {
        ...o,
        path: f
      });
    }
    getDefaultRepresentation() {
      return this.default;
    }
    toString(f) {
      return this.default && typeof this[this.default] == "function" ? this[this.default](f) : this.sshurl(f);
    }
  };
  for (const [u, f] of Object.entries(i)) l.addHost(u, f);
  t.exports = l;
})), iv = /* @__PURE__ */ zt(Mh(), 1);
async function nv(e, { pkgFile: t } = {}) {
  return (await hu(e, { pkgFile: t }))?.repository ?? null;
}
async function sv(e, t, { pkgFile: r } = {}) {
  const i = t ? t.repository ? t.repository : null : await nv(e, { pkgFile: r });
  if (!i) return null;
  let s, h = "";
  if (typeof i == "string") {
    s = i;
    try {
      const a = new vm(s);
      if (a.protocol === "https:" || a.protocol === "http:") return s;
    } catch {
    }
  } else typeof i.url == "string" && (s = i.url, typeof i.directory == "string" && (h = i.directory));
  if (typeof s == "string" && typeof h == "string") {
    const a = iv.default.fromUrl(s)?.browse(h);
    return a !== void 0 ? a.replace(/\/$/, "").replace(/\/tree\/HEAD$/, "") : s;
  }
  return null;
}
var av = typeof global == "object" && global && global.Object === Object && global, ov = typeof self == "object" && self && self.Object === Object && self, Tr = av || ov || Function("return this")(), Er = Tr.Symbol, jh = Object.prototype, uv = jh.hasOwnProperty, lv = jh.toString, Ri = Er ? Er.toStringTag : void 0;
function cv(e) {
  var t = uv.call(e, Ri), r = e[Ri];
  try {
    e[Ri] = void 0;
    var i = !0;
  } catch {
  }
  var s = lv.call(e);
  return i && (t ? e[Ri] = r : delete e[Ri]), s;
}
var hv = Object.prototype.toString;
function fv(e) {
  return hv.call(e);
}
var dv = "[object Null]", pv = "[object Undefined]", Gl = Er ? Er.toStringTag : void 0;
function fu(e) {
  return e == null ? e === void 0 ? pv : dv : Gl && Gl in Object(e) ? cv(e) : fv(e);
}
function hs(e) {
  return e != null && typeof e == "object";
}
var gv = "[object Symbol]";
function fs(e) {
  return typeof e == "symbol" || hs(e) && fu(e) == gv;
}
function mv(e, t) {
  for (var r = -1, i = e == null ? 0 : e.length, s = Array(i); ++r < i; ) s[r] = t(e[r], r, e);
  return s;
}
var Ei = Array.isArray, vv = 1 / 0, Wl = Er ? Er.prototype : void 0, Vl = Wl ? Wl.toString : void 0;
function Uh(e) {
  if (typeof e == "string") return e;
  if (Ei(e)) return mv(e, Uh) + "";
  if (fs(e)) return Vl ? Vl.call(e) : "";
  var t = e + "";
  return t == "0" && 1 / e == -vv ? "-0" : t;
}
var yv = /\s/;
function _v(e) {
  for (var t = e.length; t-- && yv.test(e.charAt(t)); ) ;
  return t;
}
var Ev = /^\s+/;
function bv(e) {
  return e && e.slice(0, _v(e) + 1).replace(Ev, "");
}
function pi(e) {
  var t = typeof e;
  return e != null && (t == "object" || t == "function");
}
var Yl = NaN, wv = /^[-+]0x[0-9a-f]+$/i, Dv = /^0b[01]+$/i, Av = /^0o[0-7]+$/i, Sv = parseInt;
function Cv(e) {
  if (typeof e == "number") return e;
  if (fs(e)) return Yl;
  if (pi(e)) {
    var t = typeof e.valueOf == "function" ? e.valueOf() : e;
    e = pi(t) ? t + "" : t;
  }
  if (typeof e != "string") return e === 0 ? e : +e;
  e = bv(e);
  var r = Dv.test(e);
  return r || Av.test(e) ? Sv(e.slice(2), r ? 2 : 8) : wv.test(e) ? Yl : +e;
}
var Kl = 1 / 0, Tv = 17976931348623157e292;
function Rv(e) {
  return e ? (e = Cv(e), e === Kl || e === -Kl ? (e < 0 ? -1 : 1) * Tv : e === e ? e : 0) : e === 0 ? e : 0;
}
function Zl(e) {
  var t = Rv(e), r = t % 1;
  return t === t ? r ? t - r : t : 0;
}
function du(e) {
  return e;
}
var Ov = "[object AsyncFunction]", Iv = "[object Function]", kv = "[object GeneratorFunction]", Lv = "[object Proxy]";
function Fv(e) {
  if (!pi(e)) return !1;
  var t = fu(e);
  return t == Iv || t == kv || t == Ov || t == Lv;
}
var ra = Tr["__core-js_shared__"], Jl = (function() {
  var e = /[^.]+$/.exec(ra && ra.keys && ra.keys.IE_PROTO || "");
  return e ? "Symbol(src)_1." + e : "";
})();
function Nv(e) {
  return !!Jl && Jl in e;
}
var $v = Function.prototype.toString;
function xv(e) {
  if (e != null) {
    try {
      return $v.call(e);
    } catch {
    }
    try {
      return e + "";
    } catch {
    }
  }
  return "";
}
var Bv = /[\\^$.*+?()[\]{}|]/g, Pv = /^\[object .+?Constructor\]$/, Mv = Function.prototype, jv = Object.prototype, Uv = Mv.toString, Hv = jv.hasOwnProperty, qv = RegExp("^" + Uv.call(Hv).replace(Bv, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
function zv(e) {
  return !pi(e) || Nv(e) ? !1 : (Fv(e) ? qv : Pv).test(xv(e));
}
function Gv(e, t) {
  return e?.[t];
}
function ds(e, t) {
  var r = Gv(e, t);
  return zv(r) ? r : void 0;
}
var Xl = ds(Tr, "WeakMap"), qn = Xl && new Xl(), Hh = qn ? function(e, t) {
  return qn.set(e, t), e;
} : du, Ql = Object.create, pu = /* @__PURE__ */ (function() {
  function e() {
  }
  return function(t) {
    if (!pi(t)) return {};
    if (Ql) return Ql(t);
    e.prototype = t;
    var r = new e();
    return e.prototype = void 0, r;
  };
})();
function Yi(e) {
  return function() {
    var t = arguments;
    switch (t.length) {
      case 0:
        return new e();
      case 1:
        return new e(t[0]);
      case 2:
        return new e(t[0], t[1]);
      case 3:
        return new e(t[0], t[1], t[2]);
      case 4:
        return new e(t[0], t[1], t[2], t[3]);
      case 5:
        return new e(t[0], t[1], t[2], t[3], t[4]);
      case 6:
        return new e(t[0], t[1], t[2], t[3], t[4], t[5]);
      case 7:
        return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6]);
    }
    var r = pu(e.prototype), i = e.apply(r, t);
    return pi(i) ? i : r;
  };
}
var Wv = 1;
function Vv(e, t, r) {
  var i = t & Wv, s = Yi(e);
  function h() {
    return (this && this !== Tr && this instanceof h ? s : e).apply(i ? r : this, arguments);
  }
  return h;
}
function gu(e, t, r) {
  switch (r.length) {
    case 0:
      return e.call(t);
    case 1:
      return e.call(t, r[0]);
    case 2:
      return e.call(t, r[0], r[1]);
    case 3:
      return e.call(t, r[0], r[1], r[2]);
  }
  return e.apply(t, r);
}
var Yv = Math.max;
function qh(e, t, r, i) {
  for (var s = -1, h = e.length, a = r.length, n = -1, l = t.length, u = Yv(h - a, 0), f = Array(l + u), o = !i; ++n < l; ) f[n] = t[n];
  for (; ++s < a; ) (o || s < h) && (f[r[s]] = e[s]);
  for (; u--; ) f[n++] = e[s++];
  return f;
}
var Kv = Math.max;
function zh(e, t, r, i) {
  for (var s = -1, h = e.length, a = -1, n = r.length, l = -1, u = t.length, f = Kv(h - n, 0), o = Array(f + u), c = !i; ++s < f; ) o[s] = e[s];
  for (var d = s; ++l < u; ) o[d + l] = t[l];
  for (; ++a < n; ) (c || s < h) && (o[d + r[a]] = e[s++]);
  return o;
}
function Zv(e, t) {
  for (var r = e.length, i = 0; r--; ) e[r] === t && ++i;
  return i;
}
function mu() {
}
var Jv = 4294967295;
function gi(e) {
  this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = Jv, this.__views__ = [];
}
gi.prototype = pu(mu.prototype);
gi.prototype.constructor = gi;
function Xv() {
}
var vu = qn ? function(e) {
  return qn.get(e);
} : Xv, ec = {}, Qv = Object.prototype.hasOwnProperty;
function xn(e) {
  for (var t = e.name + "", r = ec[t], i = Qv.call(ec, t) ? r.length : 0; i--; ) {
    var s = r[i], h = s.func;
    if (h == null || h == e) return s.name;
  }
  return t;
}
function br(e, t) {
  this.__wrapped__ = e, this.__actions__ = [], this.__chain__ = !!t, this.__index__ = 0, this.__values__ = void 0;
}
br.prototype = pu(mu.prototype);
br.prototype.constructor = br;
function Gh(e, t) {
  var r = -1, i = e.length;
  for (t || (t = Array(i)); ++r < i; ) t[r] = e[r];
  return t;
}
function ey(e) {
  if (e instanceof gi) return e.clone();
  var t = new br(e.__wrapped__, e.__chain__);
  return t.__actions__ = Gh(e.__actions__), t.__index__ = e.__index__, t.__values__ = e.__values__, t;
}
var ty = Object.prototype.hasOwnProperty;
function zn(e) {
  if (hs(e) && !Ei(e) && !(e instanceof gi)) {
    if (e instanceof br) return e;
    if (ty.call(e, "__wrapped__")) return ey(e);
  }
  return new br(e);
}
zn.prototype = mu.prototype;
zn.prototype.constructor = zn;
function Ta(e) {
  var t = xn(e), r = zn[t];
  if (typeof r != "function" || !(t in gi.prototype)) return !1;
  if (e === r) return !0;
  var i = vu(r);
  return !!i && e === i[0];
}
var ry = 800, iy = 16, ny = Date.now;
function Wh(e) {
  var t = 0, r = 0;
  return function() {
    var i = ny(), s = iy - (i - r);
    if (r = i, s > 0) {
      if (++t >= ry) return arguments[0];
    } else t = 0;
    return e.apply(void 0, arguments);
  };
}
var Vh = Wh(Hh), sy = /\{\n\/\* \[wrapped with (.+)\] \*/, ay = /,? & /;
function oy(e) {
  var t = e.match(sy);
  return t ? t[1].split(ay) : [];
}
var uy = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;
function ly(e, t) {
  var r = t.length;
  if (!r) return e;
  var i = r - 1;
  return t[i] = (r > 1 ? "& " : "") + t[i], t = t.join(r > 2 ? ", " : " "), e.replace(uy, `{
/* [wrapped with ` + t + `] */
`);
}
function cy(e) {
  return function() {
    return e;
  };
}
var tc = (function() {
  try {
    var e = ds(Object, "defineProperty");
    return e({}, "", {}), e;
  } catch {
  }
})(), hy = tc ? function(e, t) {
  return tc(e, "toString", {
    configurable: !0,
    enumerable: !1,
    value: cy(t),
    writable: !0
  });
} : du, Yh = Wh(hy);
function fy(e, t) {
  for (var r = -1, i = e == null ? 0 : e.length; ++r < i && t(e[r], r, e) !== !1; ) ;
  return e;
}
function dy(e, t, r, i) {
  for (var s = e.length, h = r + (i ? 1 : -1); i ? h-- : ++h < s; ) if (t(e[h], h, e)) return h;
  return -1;
}
function py(e) {
  return e !== e;
}
function gy(e, t, r) {
  for (var i = r - 1, s = e.length; ++i < s; ) if (e[i] === t) return i;
  return -1;
}
function my(e, t, r) {
  return t === t ? gy(e, t, r) : dy(e, py, r);
}
function vy(e, t) {
  return !!(e != null && e.length) && my(e, t, 0) > -1;
}
var yy = [
  ["ary", 128],
  ["bind", 1],
  ["bindKey", 2],
  ["curry", 8],
  ["curryRight", 16],
  ["flip", 512],
  ["partial", 32],
  ["partialRight", 64],
  ["rearg", 256]
];
function _y(e, t) {
  return fy(yy, function(r) {
    var i = "_." + r[0];
    t & r[1] && !vy(e, i) && e.push(i);
  }), e.sort();
}
function Kh(e, t, r) {
  var i = t + "";
  return Yh(e, ly(i, _y(oy(i), r)));
}
var Ey = 1, by = 2, wy = 4, Dy = 8, rc = 32, ic = 64;
function Zh(e, t, r, i, s, h, a, n, l, u) {
  var f = t & Dy, o = f ? a : void 0, c = f ? void 0 : a, d = f ? h : void 0, p = f ? void 0 : h;
  t |= f ? rc : ic, t &= ~(f ? ic : rc), t & wy || (t &= ~(Ey | by));
  var m = [
    e,
    t,
    s,
    d,
    o,
    p,
    c,
    n,
    l,
    u
  ], g = r.apply(void 0, m);
  return Ta(e) && Vh(g, m), g.placeholder = i, Kh(g, e, t);
}
function Jh(e) {
  return e.placeholder;
}
var Ay = 9007199254740991, Sy = /^(?:0|[1-9]\d*)$/;
function Cy(e, t) {
  var r = typeof e;
  return t = t ?? Ay, !!t && (r == "number" || r != "symbol" && Sy.test(e)) && e > -1 && e % 1 == 0 && e < t;
}
var Ty = Math.min;
function Ry(e, t) {
  for (var r = e.length, i = Ty(t.length, r), s = Gh(e); i--; ) {
    var h = t[i];
    e[i] = Cy(h, r) ? s[h] : void 0;
  }
  return e;
}
var nc = "__lodash_placeholder__";
function Gn(e, t) {
  for (var r = -1, i = e.length, s = 0, h = []; ++r < i; ) {
    var a = e[r];
    (a === t || a === nc) && (e[r] = nc, h[s++] = r);
  }
  return h;
}
var Oy = 1, Iy = 2, ky = 8, Ly = 16, Fy = 128, Ny = 512;
function yu(e, t, r, i, s, h, a, n, l, u) {
  var f = t & Fy, o = t & Oy, c = t & Iy, d = t & (ky | Ly), p = t & Ny, m = c ? void 0 : Yi(e);
  function g() {
    for (var v = arguments.length, y = Array(v), w = v; w--; ) y[w] = arguments[w];
    if (d) var _ = Jh(g), b = Zv(y, _);
    if (i && (y = qh(y, i, s, d)), h && (y = zh(y, h, a, d)), v -= b, d && v < u) {
      var E = Gn(y, _);
      return Zh(e, t, yu, g.placeholder, r, y, E, n, l, u - v);
    }
    var D = o ? r : this, S = c ? D[e] : e;
    return v = y.length, n ? y = Ry(y, n) : p && v > 1 && y.reverse(), f && l < v && (y.length = l), this && this !== Tr && this instanceof g && (S = m || Yi(S)), S.apply(D, y);
  }
  return g;
}
function $y(e, t, r) {
  var i = Yi(e);
  function s() {
    for (var h = arguments.length, a = Array(h), n = h, l = Jh(s); n--; ) a[n] = arguments[n];
    var u = h < 3 && a[0] !== l && a[h - 1] !== l ? [] : Gn(a, l);
    return h -= u.length, h < r ? Zh(e, t, yu, s.placeholder, void 0, a, u, void 0, void 0, r - h) : gu(this && this !== Tr && this instanceof s ? i : e, this, a);
  }
  return s;
}
var xy = 1;
function By(e, t, r, i) {
  var s = t & xy, h = Yi(e);
  function a() {
    for (var n = -1, l = arguments.length, u = -1, f = i.length, o = Array(f + l), c = this && this !== Tr && this instanceof a ? h : e; ++u < f; ) o[u] = i[u];
    for (; l--; ) o[u++] = arguments[++n];
    return gu(c, s ? r : this, o);
  }
  return a;
}
var sc = "__lodash_placeholder__", ia = 1, Py = 2, My = 4, ac = 8, Oi = 128, oc = 256, jy = Math.min;
function Uy(e, t) {
  var r = e[1], i = t[1], s = r | i, h = s < (ia | Py | Oi), a = i == Oi && r == ac || i == Oi && r == oc && e[7].length <= t[8] || i == (Oi | oc) && t[7].length <= t[8] && r == ac;
  if (!(h || a)) return e;
  i & ia && (e[2] = t[2], s |= r & ia ? 0 : My);
  var n = t[3];
  if (n) {
    var l = e[3];
    e[3] = l ? qh(l, n, t[4]) : n, e[4] = l ? Gn(e[3], sc) : t[4];
  }
  return n = t[5], n && (l = e[5], e[5] = l ? zh(l, n, t[6]) : n, e[6] = l ? Gn(e[5], sc) : t[6]), n = t[7], n && (e[7] = n), i & Oi && (e[8] = e[8] == null ? t[8] : jy(e[8], t[8])), e[9] == null && (e[9] = t[9]), e[0] = t[0], e[1] = s, e;
}
var Hy = "Expected a function", uc = 1, qy = 2, na = 8, sa = 16, aa = 32, lc = 64, cc = Math.max;
function zy(e, t, r, i, s, h, a, n) {
  var l = t & qy;
  if (!l && typeof e != "function") throw new TypeError(Hy);
  var u = i ? i.length : 0;
  if (u || (t &= ~(aa | lc), i = s = void 0), a = a === void 0 ? a : cc(Zl(a), 0), n = n === void 0 ? n : Zl(n), u -= s ? s.length : 0, t & lc) {
    var f = i, o = s;
    i = s = void 0;
  }
  var c = l ? void 0 : vu(e), d = [
    e,
    t,
    r,
    i,
    s,
    f,
    o,
    h,
    a,
    n
  ];
  if (c && Uy(d, c), e = d[0], t = d[1], r = d[2], i = d[3], s = d[4], n = d[9] = d[9] === void 0 ? l ? 0 : e.length : cc(d[9] - u, 0), !n && t & (na | sa) && (t &= ~(na | sa)), !t || t == uc) var p = Vv(e, t, r);
  else t == na || t == sa ? p = $y(e, t, n) : (t == aa || t == (uc | aa)) && !s.length ? p = By(e, t, r, i) : p = yu.apply(void 0, d);
  return Kh((c ? Hh : Vh)(p, d), e, t);
}
function Gy(e, t) {
  return e === t || e !== e && t !== t;
}
var hc = Math.max;
function Wy(e, t, r) {
  return t = hc(t === void 0 ? e.length - 1 : t, 0), function() {
    for (var i = arguments, s = -1, h = hc(i.length - t, 0), a = Array(h); ++s < h; ) a[s] = i[t + s];
    s = -1;
    for (var n = Array(t + 1); ++s < t; ) n[s] = i[s];
    return n[t] = r(a), gu(e, this, n);
  };
}
var Vy = "[object Arguments]";
function fc(e) {
  return hs(e) && fu(e) == Vy;
}
var Xh = Object.prototype, Yy = Xh.hasOwnProperty, Ky = Xh.propertyIsEnumerable, Zy = fc(/* @__PURE__ */ (function() {
  return arguments;
})()) ? fc : function(e) {
  return hs(e) && Yy.call(e, "callee") && !Ky.call(e, "callee");
}, Jy = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Xy = /^\w*$/;
function Qy(e, t) {
  if (Ei(e)) return !1;
  var r = typeof e;
  return r == "number" || r == "symbol" || r == "boolean" || e == null || fs(e) ? !0 : Xy.test(e) || !Jy.test(e) || t != null && e in Object(t);
}
var Ki = ds(Object, "create");
function e1() {
  this.__data__ = Ki ? Ki(null) : {}, this.size = 0;
}
function t1(e) {
  var t = this.has(e) && delete this.__data__[e];
  return this.size -= t ? 1 : 0, t;
}
var r1 = "__lodash_hash_undefined__", i1 = Object.prototype.hasOwnProperty;
function n1(e) {
  var t = this.__data__;
  if (Ki) {
    var r = t[e];
    return r === r1 ? void 0 : r;
  }
  return i1.call(t, e) ? t[e] : void 0;
}
var s1 = Object.prototype.hasOwnProperty;
function a1(e) {
  var t = this.__data__;
  return Ki ? t[e] !== void 0 : s1.call(t, e);
}
var o1 = "__lodash_hash_undefined__";
function u1(e, t) {
  var r = this.__data__;
  return this.size += this.has(e) ? 0 : 1, r[e] = Ki && t === void 0 ? o1 : t, this;
}
function Ur(e) {
  var t = -1, r = e == null ? 0 : e.length;
  for (this.clear(); ++t < r; ) {
    var i = e[t];
    this.set(i[0], i[1]);
  }
}
Ur.prototype.clear = e1;
Ur.prototype.delete = t1;
Ur.prototype.get = n1;
Ur.prototype.has = a1;
Ur.prototype.set = u1;
function l1() {
  this.__data__ = [], this.size = 0;
}
function ps(e, t) {
  for (var r = e.length; r--; ) if (Gy(e[r][0], t)) return r;
  return -1;
}
var c1 = Array.prototype.splice;
function h1(e) {
  var t = this.__data__, r = ps(t, e);
  return r < 0 ? !1 : (r == t.length - 1 ? t.pop() : c1.call(t, r, 1), --this.size, !0);
}
function f1(e) {
  var t = this.__data__, r = ps(t, e);
  return r < 0 ? void 0 : t[r][1];
}
function d1(e) {
  return ps(this.__data__, e) > -1;
}
function p1(e, t) {
  var r = this.__data__, i = ps(r, e);
  return i < 0 ? (++this.size, r.push([e, t])) : r[i][1] = t, this;
}
function bi(e) {
  var t = -1, r = e == null ? 0 : e.length;
  for (this.clear(); ++t < r; ) {
    var i = e[t];
    this.set(i[0], i[1]);
  }
}
bi.prototype.clear = l1;
bi.prototype.delete = h1;
bi.prototype.get = f1;
bi.prototype.has = d1;
bi.prototype.set = p1;
var g1 = ds(Tr, "Map");
function m1() {
  this.size = 0, this.__data__ = {
    hash: new Ur(),
    map: new (g1 || bi)(),
    string: new Ur()
  };
}
function v1(e) {
  var t = typeof e;
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
}
function gs(e, t) {
  var r = e.__data__;
  return v1(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
}
function y1(e) {
  var t = gs(this, e).delete(e);
  return this.size -= t ? 1 : 0, t;
}
function _1(e) {
  return gs(this, e).get(e);
}
function E1(e) {
  return gs(this, e).has(e);
}
function b1(e, t) {
  var r = gs(this, e), i = r.size;
  return r.set(e, t), this.size += r.size == i ? 0 : 1, this;
}
function Hr(e) {
  var t = -1, r = e == null ? 0 : e.length;
  for (this.clear(); ++t < r; ) {
    var i = e[t];
    this.set(i[0], i[1]);
  }
}
Hr.prototype.clear = m1;
Hr.prototype.delete = y1;
Hr.prototype.get = _1;
Hr.prototype.has = E1;
Hr.prototype.set = b1;
var w1 = "Expected a function";
function _u(e, t) {
  if (typeof e != "function" || t != null && typeof t != "function") throw new TypeError(w1);
  var r = function() {
    var i = arguments, s = t ? t.apply(this, i) : i[0], h = r.cache;
    if (h.has(s)) return h.get(s);
    var a = e.apply(this, i);
    return r.cache = h.set(s, a) || h, a;
  };
  return r.cache = new (_u.Cache || Hr)(), r;
}
_u.Cache = Hr;
var D1 = 500;
function A1(e) {
  var t = _u(e, function(i) {
    return r.size === D1 && r.clear(), i;
  }), r = t.cache;
  return t;
}
var S1 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, C1 = /\\(\\)?/g, T1 = A1(function(e) {
  var t = [];
  return e.charCodeAt(0) === 46 && t.push(""), e.replace(S1, function(r, i, s, h) {
    t.push(s ? h.replace(C1, "$1") : i || r);
  }), t;
});
function Qh(e) {
  return e == null ? "" : Uh(e);
}
function R1(e, t) {
  return Ei(e) ? e : Qy(e, t) ? [e] : T1(Qh(e));
}
var O1 = 1 / 0;
function I1(e) {
  if (typeof e == "string" || fs(e)) return e;
  var t = e + "";
  return t == "0" && 1 / e == -O1 ? "-0" : t;
}
function k1(e, t) {
  t = R1(t, e);
  for (var r = 0, i = t.length; e != null && r < i; ) e = e[I1(t[r++])];
  return r && r == i ? e : void 0;
}
function L1(e, t) {
  for (var r = -1, i = t.length, s = e.length; ++r < i; ) e[s + r] = t[r];
  return e;
}
var dc = Er ? Er.isConcatSpreadable : void 0;
function F1(e) {
  return Ei(e) || Zy(e) || !!(dc && e && e[dc]);
}
function ef(e, t, r, i, s) {
  var h = -1, a = e.length;
  for (r || (r = F1), s || (s = []); ++h < a; ) {
    var n = e[h];
    t > 0 && r(n) ? t > 1 ? ef(n, t - 1, r, i, s) : L1(s, n) : i || (s[s.length] = n);
  }
  return s;
}
function N1(e) {
  return e != null && e.length ? ef(e, 1) : [];
}
function $1(e) {
  return Yh(Wy(e, void 0, N1), e + "");
}
var x1 = 8;
function Eu(e, t, r) {
  t = r ? void 0 : t;
  var i = zy(e, x1, void 0, void 0, void 0, void 0, void 0, t);
  return i.placeholder = Eu.placeholder, i;
}
Eu.placeholder = {};
var tf = /[\\^$.*+?()[\]{}|]/g, B1 = RegExp(tf.source);
function P1(e) {
  return e = Qh(e), e && B1.test(e) ? e.replace(tf, "\\$&") : e;
}
var M1 = "Expected a function", j1 = 8, U1 = 32, H1 = 128, q1 = 256;
function z1(e) {
  return $1(function(t) {
    var r = t.length, i = r, s = br.prototype.thru;
    for (e && t.reverse(); i--; ) {
      var h = t[i];
      if (typeof h != "function") throw new TypeError(M1);
      if (s && !a && xn(h) == "wrapper") var a = new br([], !0);
    }
    for (i = a ? i : r; ++i < r; ) {
      h = t[i];
      var n = xn(h), l = n == "wrapper" ? vu(h) : void 0;
      l && Ta(l[0]) && l[1] == (H1 | j1 | U1 | q1) && !l[4].length && l[9] == 1 ? a = a[xn(l[0])].apply(a, l[3]) : a = h.length == 1 && Ta(h) ? a[n]() : a.thru(h);
    }
    return function() {
      var u = arguments, f = u[0];
      if (a && u.length == 1 && Ei(f)) return a.plant(f).value();
      for (var o = 0, c = r ? t[o].apply(this, u) : f; ++o < r; ) c = t[o].call(this, c);
      return c;
    };
  });
}
var G1 = z1();
function rf(e) {
  return function(t) {
    return e == null ? void 0 : k1(e, t);
  };
}
var W1 = /* @__PURE__ */ j(((e, t) => {
  var r = ve("url"), i = typeof URL > "u" ? r.URL || null : URL, s = i ? null : r.parse;
  function h(a) {
    try {
      var n = new i(a), l = null;
      n.username && (l = n.password ? n.username + ":" + n.password : n.username);
      var u = n.host || null, f = n.hostname || null, o = n.pathname || null, c = n.pathname + (n.search || "") || null;
      if (!u && o && a.indexOf("//") === -1) {
        var d = o.indexOf("/");
        d === -1 ? (u = o, f = o, o = null, c = null) : (u = o.slice(0, d), f = u, o = o.slice(d), c = o + (n.search || ""));
      }
      return {
        auth: l,
        hash: n.hash || null,
        host: u,
        hostname: f,
        href: n.href,
        path: c,
        pathname: o,
        port: n.port || null,
        protocol: n.protocol || null,
        query: n.search ? n.search.slice(1) : null,
        search: n.search || null,
        slashes: a.indexOf("//") === -1 ? null : !0
      };
    } catch {
      var p = a.indexOf("#"), m = p === -1 ? null : a.slice(p), g = p === -1 ? a : a.slice(0, p), v = g.indexOf("?"), y = v === -1 ? null : g.slice(v), w = v === -1 ? g : g.slice(0, v);
      return {
        auth: null,
        hash: m,
        host: null,
        hostname: null,
        href: a,
        path: g || null,
        pathname: w || null,
        port: null,
        protocol: null,
        query: y ? y.slice(1) : null,
        search: y,
        slashes: null
      };
    }
  }
  t.exports = i ? h : s;
})), V1 = /* @__PURE__ */ j(((e, t) => {
  var r = W1(), i = { __proto__: null };
  function s(o) {
    return /^[a-f0-9]{40}$/i.test(o);
  }
  function h(o, c) {
    var d = o.split("#"), p;
    return d.length > 1 && (p = d[d.length - 1]), !p && c.hash && c.hash.charAt(0) === "#" && (p = c.hash.slice(1)), p || "master";
  }
  function a(o) {
    return o.charAt(0) === "/" ? o.slice(1) : o;
  }
  function n(o) {
    return o ? o.replace(/\.git$/, "") : null;
  }
  function l(o) {
    if (!o) return null;
    var c = o.indexOf(":");
    return c > -1 ? o.slice(c + 1) : o;
  }
  function u(o) {
    return r("http://" + o.replace(/git@([^:]+):/, "$1/")).host || null;
  }
  function f(o) {
    if (typeof o != "string" || !o.length || o.indexOf("git@gist") !== -1 || o.indexOf("//gist") !== -1) return null;
    var c = r(o);
    if (typeof c.path != "string" || !c.path.length || typeof c.pathname != "string" || !c.pathname.length) return null;
    !c.host && /^git@/.test(o) === !0 && (c.host = u(o)), c.path = a(c.path), c.pathname = a(c.pathname), c.filepath = null, c.path.indexOf("repos") === 0 && (c.path = c.path.slice(6));
    var d = c.path.split("/").filter(Boolean), p = d[2] === "blob";
    p && !s(d[3]) && (c.branch = d[3], d.length > 4 && (c.filepath = d.slice(4).join("/")));
    var m = o.indexOf("blob");
    p && m !== -1 && (c.blob = o.slice(m + 5));
    var g = d[2] === "tree", v = o.indexOf("tree");
    if (g && v !== -1) {
      var y = v + 5, w = o.slice(y), _ = w.indexOf("/");
      _ !== -1 && (w = w.slice(0, _)), c.branch = w;
    }
    if (c.owner = l(d[0]), c.name = n(d[1]), d.length > 1 && c.owner && c.name) c.repo = c.owner + "/" + c.name;
    else {
      var b = c.href.split(":");
      if (b.length === 2 && c.href.indexOf("//") === -1) {
        c.repo = c.repo || b[b.length - 1];
        var E = c.repo.split("/");
        c.owner = E[0], c.name = E[1];
      } else {
        var D = c.href.match(/\/([^/]*)$/);
        c.owner = D ? D[1] : null, c.repo = null;
      }
      if (c.repo && (!c.owner || !c.name)) {
        var S = c.repo.split("/");
        S.length === 2 && (c.owner = S[0], c.name = S[1]);
      }
    }
    return c.branch || (c.branch = d[2] || h(c.path, c), d.length > 3 && (c.filepath = d.slice(3).join("/"))), c.host = c.host || "github.com", c.owner = c.owner || null, c.name = c.name || null, c.repository = c.repo, c;
  }
  t.exports = function(c) {
    return i[c] || (i[c] = f(c)), i[c];
  };
})), ms = /* @__PURE__ */ j(((e, t) => {
  var r = "2.0.0", i = 256, s = Number.MAX_SAFE_INTEGER || 9007199254740991, h = 16, a = i - 6, n = [
    "major",
    "premajor",
    "minor",
    "preminor",
    "patch",
    "prepatch",
    "prerelease"
  ];
  t.exports = {
    MAX_LENGTH: i,
    MAX_SAFE_COMPONENT_LENGTH: h,
    MAX_SAFE_BUILD_LENGTH: a,
    MAX_SAFE_INTEGER: s,
    RELEASE_TYPES: n,
    SEMVER_SPEC_VERSION: r,
    FLAG_INCLUDE_PRERELEASE: 1,
    FLAG_LOOSE: 2
  };
})), vs = /* @__PURE__ */ j(((e, t) => {
  var r = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...i) => console.error("SEMVER", ...i) : () => {
  };
  t.exports = r;
})), on = /* @__PURE__ */ j(((e, t) => {
  var { MAX_SAFE_COMPONENT_LENGTH: r, MAX_SAFE_BUILD_LENGTH: i, MAX_LENGTH: s } = ms(), h = vs();
  e = t.exports = {};
  var a = e.re = [], n = e.safeRe = [], l = e.src = [], u = e.safeSrc = [], f = e.t = {}, o = 0, c = "[a-zA-Z0-9-]", d = [
    ["\\s", 1],
    ["\\d", s],
    [c, i]
  ], p = (g) => {
    for (const [v, y] of d) g = g.split(`${v}*`).join(`${v}{0,${y}}`).split(`${v}+`).join(`${v}{1,${y}}`);
    return g;
  }, m = (g, v, y) => {
    const w = p(v), _ = o++;
    h(g, _, v), f[g] = _, l[_] = v, u[_] = w, a[_] = new RegExp(v, y ? "g" : void 0), n[_] = new RegExp(w, y ? "g" : void 0);
  };
  m("NUMERICIDENTIFIER", "0|[1-9]\\d*"), m("NUMERICIDENTIFIERLOOSE", "\\d+"), m("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${c}*`), m("MAINVERSION", `(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})`), m("MAINVERSIONLOOSE", `(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})`), m("PRERELEASEIDENTIFIER", `(?:${l[f.NONNUMERICIDENTIFIER]}|${l[f.NUMERICIDENTIFIER]})`), m("PRERELEASEIDENTIFIERLOOSE", `(?:${l[f.NONNUMERICIDENTIFIER]}|${l[f.NUMERICIDENTIFIERLOOSE]})`), m("PRERELEASE", `(?:-(${l[f.PRERELEASEIDENTIFIER]}(?:\\.${l[f.PRERELEASEIDENTIFIER]})*))`), m("PRERELEASELOOSE", `(?:-?(${l[f.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[f.PRERELEASEIDENTIFIERLOOSE]})*))`), m("BUILDIDENTIFIER", `${c}+`), m("BUILD", `(?:\\+(${l[f.BUILDIDENTIFIER]}(?:\\.${l[f.BUILDIDENTIFIER]})*))`), m("FULLPLAIN", `v?${l[f.MAINVERSION]}${l[f.PRERELEASE]}?${l[f.BUILD]}?`), m("FULL", `^${l[f.FULLPLAIN]}$`), m("LOOSEPLAIN", `[v=\\s]*${l[f.MAINVERSIONLOOSE]}${l[f.PRERELEASELOOSE]}?${l[f.BUILD]}?`), m("LOOSE", `^${l[f.LOOSEPLAIN]}$`), m("GTLT", "((?:<|>)?=?)"), m("XRANGEIDENTIFIERLOOSE", `${l[f.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), m("XRANGEIDENTIFIER", `${l[f.NUMERICIDENTIFIER]}|x|X|\\*`), m("XRANGEPLAIN", `[v=\\s]*(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:${l[f.PRERELEASE]})?${l[f.BUILD]}?)?)?`), m("XRANGEPLAINLOOSE", `[v=\\s]*(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:${l[f.PRERELEASELOOSE]})?${l[f.BUILD]}?)?)?`), m("XRANGE", `^${l[f.GTLT]}\\s*${l[f.XRANGEPLAIN]}$`), m("XRANGELOOSE", `^${l[f.GTLT]}\\s*${l[f.XRANGEPLAINLOOSE]}$`), m("COERCEPLAIN", `(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`), m("COERCE", `${l[f.COERCEPLAIN]}(?:$|[^\\d])`), m("COERCEFULL", l[f.COERCEPLAIN] + `(?:${l[f.PRERELEASE]})?(?:${l[f.BUILD]})?(?:$|[^\\d])`), m("COERCERTL", l[f.COERCE], !0), m("COERCERTLFULL", l[f.COERCEFULL], !0), m("LONETILDE", "(?:~>?)"), m("TILDETRIM", `(\\s*)${l[f.LONETILDE]}\\s+`, !0), e.tildeTrimReplace = "$1~", m("TILDE", `^${l[f.LONETILDE]}${l[f.XRANGEPLAIN]}$`), m("TILDELOOSE", `^${l[f.LONETILDE]}${l[f.XRANGEPLAINLOOSE]}$`), m("LONECARET", "(?:\\^)"), m("CARETTRIM", `(\\s*)${l[f.LONECARET]}\\s+`, !0), e.caretTrimReplace = "$1^", m("CARET", `^${l[f.LONECARET]}${l[f.XRANGEPLAIN]}$`), m("CARETLOOSE", `^${l[f.LONECARET]}${l[f.XRANGEPLAINLOOSE]}$`), m("COMPARATORLOOSE", `^${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]})$|^$`), m("COMPARATOR", `^${l[f.GTLT]}\\s*(${l[f.FULLPLAIN]})$|^$`), m("COMPARATORTRIM", `(\\s*)${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]}|${l[f.XRANGEPLAIN]})`, !0), e.comparatorTrimReplace = "$1$2$3", m("HYPHENRANGE", `^\\s*(${l[f.XRANGEPLAIN]})\\s+-\\s+(${l[f.XRANGEPLAIN]})\\s*$`), m("HYPHENRANGELOOSE", `^\\s*(${l[f.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[f.XRANGEPLAINLOOSE]})\\s*$`), m("STAR", "(<|>)?=?\\s*\\*"), m("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), m("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
})), bu = /* @__PURE__ */ j(((e, t) => {
  var r = Object.freeze({ loose: !0 }), i = Object.freeze({}), s = (h) => h ? typeof h != "object" ? r : h : i;
  t.exports = s;
})), nf = /* @__PURE__ */ j(((e, t) => {
  var r = /^[0-9]+$/, i = (h, a) => {
    if (typeof h == "number" && typeof a == "number") return h === a ? 0 : h < a ? -1 : 1;
    const n = r.test(h), l = r.test(a);
    return n && l && (h = +h, a = +a), h === a ? 0 : n && !l ? -1 : l && !n ? 1 : h < a ? -1 : 1;
  }, s = (h, a) => i(a, h);
  t.exports = {
    compareIdentifiers: i,
    rcompareIdentifiers: s
  };
})), Mt = /* @__PURE__ */ j(((e, t) => {
  var r = vs(), { MAX_LENGTH: i, MAX_SAFE_INTEGER: s } = ms(), { safeRe: h, t: a } = on(), n = bu(), { compareIdentifiers: l } = nf(), u = class ar {
    constructor(o, c) {
      if (c = n(c), o instanceof ar) {
        if (o.loose === !!c.loose && o.includePrerelease === !!c.includePrerelease) return o;
        o = o.version;
      } else if (typeof o != "string") throw new TypeError(`Invalid version. Must be a string. Got type "${typeof o}".`);
      if (o.length > i) throw new TypeError(`version is longer than ${i} characters`);
      r("SemVer", o, c), this.options = c, this.loose = !!c.loose, this.includePrerelease = !!c.includePrerelease;
      const d = o.trim().match(c.loose ? h[a.LOOSE] : h[a.FULL]);
      if (!d) throw new TypeError(`Invalid Version: ${o}`);
      if (this.raw = o, this.major = +d[1], this.minor = +d[2], this.patch = +d[3], this.major > s || this.major < 0) throw new TypeError("Invalid major version");
      if (this.minor > s || this.minor < 0) throw new TypeError("Invalid minor version");
      if (this.patch > s || this.patch < 0) throw new TypeError("Invalid patch version");
      d[4] ? this.prerelease = d[4].split(".").map((p) => {
        if (/^[0-9]+$/.test(p)) {
          const m = +p;
          if (m >= 0 && m < s) return m;
        }
        return p;
      }) : this.prerelease = [], this.build = d[5] ? d[5].split(".") : [], this.format();
    }
    format() {
      return this.version = `${this.major}.${this.minor}.${this.patch}`, this.prerelease.length && (this.version += `-${this.prerelease.join(".")}`), this.version;
    }
    toString() {
      return this.version;
    }
    compare(o) {
      if (r("SemVer.compare", this.version, this.options, o), !(o instanceof ar)) {
        if (typeof o == "string" && o === this.version) return 0;
        o = new ar(o, this.options);
      }
      return o.version === this.version ? 0 : this.compareMain(o) || this.comparePre(o);
    }
    compareMain(o) {
      return o instanceof ar || (o = new ar(o, this.options)), this.major < o.major ? -1 : this.major > o.major ? 1 : this.minor < o.minor ? -1 : this.minor > o.minor ? 1 : this.patch < o.patch ? -1 : this.patch > o.patch ? 1 : 0;
    }
    comparePre(o) {
      if (o instanceof ar || (o = new ar(o, this.options)), this.prerelease.length && !o.prerelease.length) return -1;
      if (!this.prerelease.length && o.prerelease.length) return 1;
      if (!this.prerelease.length && !o.prerelease.length) return 0;
      let c = 0;
      do {
        const d = this.prerelease[c], p = o.prerelease[c];
        if (r("prerelease compare", c, d, p), d === void 0 && p === void 0) return 0;
        if (p === void 0) return 1;
        if (d === void 0) return -1;
        if (d === p) continue;
        return l(d, p);
      } while (++c);
    }
    compareBuild(o) {
      o instanceof ar || (o = new ar(o, this.options));
      let c = 0;
      do {
        const d = this.build[c], p = o.build[c];
        if (r("build compare", c, d, p), d === void 0 && p === void 0) return 0;
        if (p === void 0) return 1;
        if (d === void 0) return -1;
        if (d === p) continue;
        return l(d, p);
      } while (++c);
    }
    inc(o, c, d) {
      if (o.startsWith("pre")) {
        if (!c && d === !1) throw new Error("invalid increment argument: identifier is empty");
        if (c) {
          const p = `-${c}`.match(this.options.loose ? h[a.PRERELEASELOOSE] : h[a.PRERELEASE]);
          if (!p || p[1] !== c) throw new Error(`invalid identifier: ${c}`);
        }
      }
      switch (o) {
        case "premajor":
          this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", c, d);
          break;
        case "preminor":
          this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", c, d);
          break;
        case "prepatch":
          this.prerelease.length = 0, this.inc("patch", c, d), this.inc("pre", c, d);
          break;
        case "prerelease":
          this.prerelease.length === 0 && this.inc("patch", c, d), this.inc("pre", c, d);
          break;
        case "release":
          if (this.prerelease.length === 0) throw new Error(`version ${this.raw} is not a prerelease`);
          this.prerelease.length = 0;
          break;
        case "major":
          (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) && this.major++, this.minor = 0, this.patch = 0, this.prerelease = [];
          break;
        case "minor":
          (this.patch !== 0 || this.prerelease.length === 0) && this.minor++, this.patch = 0, this.prerelease = [];
          break;
        case "patch":
          this.prerelease.length === 0 && this.patch++, this.prerelease = [];
          break;
        case "pre": {
          const p = Number(d) ? 1 : 0;
          if (this.prerelease.length === 0) this.prerelease = [p];
          else {
            let m = this.prerelease.length;
            for (; --m >= 0; ) typeof this.prerelease[m] == "number" && (this.prerelease[m]++, m = -2);
            if (m === -1) {
              if (c === this.prerelease.join(".") && d === !1) throw new Error("invalid increment argument: identifier already exists");
              this.prerelease.push(p);
            }
          }
          if (c) {
            let m = [c, p];
            d === !1 && (m = [c]), l(this.prerelease[0], c) === 0 ? isNaN(this.prerelease[1]) && (this.prerelease = m) : this.prerelease = m;
          }
          break;
        }
        default:
          throw new Error(`invalid increment argument: ${o}`);
      }
      return this.raw = this.format(), this.build.length && (this.raw += `+${this.build.join(".")}`), this;
    }
  };
  t.exports = u;
})), wi = /* @__PURE__ */ j(((e, t) => {
  var r = Mt(), i = (s, h, a = !1) => {
    if (s instanceof r) return s;
    try {
      return new r(s, h);
    } catch (n) {
      if (!a) return null;
      throw n;
    }
  };
  t.exports = i;
})), Y1 = /* @__PURE__ */ j(((e, t) => {
  var r = wi(), i = (s, h) => {
    const a = r(s, h);
    return a ? a.version : null;
  };
  t.exports = i;
})), K1 = /* @__PURE__ */ j(((e, t) => {
  var r = wi(), i = (s, h) => {
    const a = r(s.trim().replace(/^[=v]+/, ""), h);
    return a ? a.version : null;
  };
  t.exports = i;
})), Z1 = /* @__PURE__ */ j(((e, t) => {
  var r = Mt(), i = (s, h, a, n, l) => {
    typeof a == "string" && (l = n, n = a, a = void 0);
    try {
      return new r(s instanceof r ? s.version : s, a).inc(h, n, l).version;
    } catch {
      return null;
    }
  };
  t.exports = i;
})), J1 = /* @__PURE__ */ j(((e, t) => {
  var r = wi(), i = (s, h) => {
    const a = r(s, null, !0), n = r(h, null, !0), l = a.compare(n);
    if (l === 0) return null;
    const u = l > 0, f = u ? a : n, o = u ? n : a, c = !!f.prerelease.length;
    if (o.prerelease.length && !c) {
      if (!o.patch && !o.minor) return "major";
      if (o.compareMain(f) === 0)
        return o.minor && !o.patch ? "minor" : "patch";
    }
    const d = c ? "pre" : "";
    return a.major !== n.major ? d + "major" : a.minor !== n.minor ? d + "minor" : a.patch !== n.patch ? d + "patch" : "prerelease";
  };
  t.exports = i;
})), X1 = /* @__PURE__ */ j(((e, t) => {
  var r = Mt(), i = (s, h) => new r(s, h).major;
  t.exports = i;
})), Q1 = /* @__PURE__ */ j(((e, t) => {
  var r = Mt(), i = (s, h) => new r(s, h).minor;
  t.exports = i;
})), e_ = /* @__PURE__ */ j(((e, t) => {
  var r = Mt(), i = (s, h) => new r(s, h).patch;
  t.exports = i;
})), t_ = /* @__PURE__ */ j(((e, t) => {
  var r = wi(), i = (s, h) => {
    const a = r(s, h);
    return a && a.prerelease.length ? a.prerelease : null;
  };
  t.exports = i;
})), rr = /* @__PURE__ */ j(((e, t) => {
  var r = Mt(), i = (s, h, a) => new r(s, a).compare(new r(h, a));
  t.exports = i;
})), r_ = /* @__PURE__ */ j(((e, t) => {
  var r = rr(), i = (s, h, a) => r(h, s, a);
  t.exports = i;
})), i_ = /* @__PURE__ */ j(((e, t) => {
  var r = rr(), i = (s, h) => r(s, h, !0);
  t.exports = i;
})), wu = /* @__PURE__ */ j(((e, t) => {
  var r = Mt(), i = (s, h, a) => {
    const n = new r(s, a), l = new r(h, a);
    return n.compare(l) || n.compareBuild(l);
  };
  t.exports = i;
})), n_ = /* @__PURE__ */ j(((e, t) => {
  var r = wu(), i = (s, h) => s.sort((a, n) => r(a, n, h));
  t.exports = i;
})), s_ = /* @__PURE__ */ j(((e, t) => {
  var r = wu(), i = (s, h) => s.sort((a, n) => r(n, a, h));
  t.exports = i;
})), ys = /* @__PURE__ */ j(((e, t) => {
  var r = rr(), i = (s, h, a) => r(s, h, a) > 0;
  t.exports = i;
})), Du = /* @__PURE__ */ j(((e, t) => {
  var r = rr(), i = (s, h, a) => r(s, h, a) < 0;
  t.exports = i;
})), sf = /* @__PURE__ */ j(((e, t) => {
  var r = rr(), i = (s, h, a) => r(s, h, a) === 0;
  t.exports = i;
})), af = /* @__PURE__ */ j(((e, t) => {
  var r = rr(), i = (s, h, a) => r(s, h, a) !== 0;
  t.exports = i;
})), Au = /* @__PURE__ */ j(((e, t) => {
  var r = rr(), i = (s, h, a) => r(s, h, a) >= 0;
  t.exports = i;
})), Su = /* @__PURE__ */ j(((e, t) => {
  var r = rr(), i = (s, h, a) => r(s, h, a) <= 0;
  t.exports = i;
})), of = /* @__PURE__ */ j(((e, t) => {
  var r = sf(), i = af(), s = ys(), h = Au(), a = Du(), n = Su(), l = (u, f, o, c) => {
    switch (f) {
      case "===":
        return typeof u == "object" && (u = u.version), typeof o == "object" && (o = o.version), u === o;
      case "!==":
        return typeof u == "object" && (u = u.version), typeof o == "object" && (o = o.version), u !== o;
      case "":
      case "=":
      case "==":
        return r(u, o, c);
      case "!=":
        return i(u, o, c);
      case ">":
        return s(u, o, c);
      case ">=":
        return h(u, o, c);
      case "<":
        return a(u, o, c);
      case "<=":
        return n(u, o, c);
      default:
        throw new TypeError(`Invalid operator: ${f}`);
    }
  };
  t.exports = l;
})), a_ = /* @__PURE__ */ j(((e, t) => {
  var r = Mt(), i = wi(), { safeRe: s, t: h } = on(), a = (n, l) => {
    if (n instanceof r) return n;
    if (typeof n == "number" && (n = String(n)), typeof n != "string") return null;
    l = l || {};
    let u = null;
    if (!l.rtl) u = n.match(l.includePrerelease ? s[h.COERCEFULL] : s[h.COERCE]);
    else {
      const o = l.includePrerelease ? s[h.COERCERTLFULL] : s[h.COERCERTL];
      let c;
      for (; (c = o.exec(n)) && (!u || u.index + u[0].length !== n.length); )
        (!u || c.index + c[0].length !== u.index + u[0].length) && (u = c), o.lastIndex = c.index + c[1].length + c[2].length;
      o.lastIndex = -1;
    }
    if (u === null) return null;
    const f = u[2];
    return i(`${f}.${u[3] || "0"}.${u[4] || "0"}${l.includePrerelease && u[5] ? `-${u[5]}` : ""}${l.includePrerelease && u[6] ? `+${u[6]}` : ""}`, l);
  };
  t.exports = a;
})), o_ = /* @__PURE__ */ j(((e, t) => {
  var r = class {
    constructor() {
      this.max = 1e3, this.map = /* @__PURE__ */ new Map();
    }
    get(i) {
      const s = this.map.get(i);
      if (s !== void 0)
        return this.map.delete(i), this.map.set(i, s), s;
    }
    delete(i) {
      return this.map.delete(i);
    }
    set(i, s) {
      if (!this.delete(i) && s !== void 0) {
        if (this.map.size >= this.max) {
          const h = this.map.keys().next().value;
          this.delete(h);
        }
        this.map.set(i, s);
      }
      return this;
    }
  };
  t.exports = r;
})), ir = /* @__PURE__ */ j(((e, t) => {
  var r = /\s+/g, i = class Bn {
    constructor(k, F) {
      if (F = h(F), k instanceof Bn) return k.loose === !!F.loose && k.includePrerelease === !!F.includePrerelease ? k : new Bn(k.raw, F);
      if (k instanceof a)
        return this.raw = k.value, this.set = [[k]], this.formatted = void 0, this;
      if (this.options = F, this.loose = !!F.loose, this.includePrerelease = !!F.includePrerelease, this.raw = k.trim().replace(r, " "), this.set = this.raw.split("||").map((q) => this.parseRange(q.trim())).filter((q) => q.length), !this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
      if (this.set.length > 1) {
        const q = this.set[0];
        if (this.set = this.set.filter((W) => !g(W[0])), this.set.length === 0) this.set = [q];
        else if (this.set.length > 1) {
          for (const W of this.set) if (W.length === 1 && v(W[0])) {
            this.set = [W];
            break;
          }
        }
      }
      this.formatted = void 0;
    }
    get range() {
      if (this.formatted === void 0) {
        this.formatted = "";
        for (let k = 0; k < this.set.length; k++) {
          k > 0 && (this.formatted += "||");
          const F = this.set[k];
          for (let q = 0; q < F.length; q++)
            q > 0 && (this.formatted += " "), this.formatted += F[q].toString().trim();
        }
      }
      return this.formatted;
    }
    format() {
      return this.range;
    }
    toString() {
      return this.range;
    }
    parseRange(k) {
      const F = ((this.options.includePrerelease && p) | (this.options.loose && m)) + ":" + k, q = s.get(F);
      if (q) return q;
      const W = this.options.loose, P = W ? u[f.HYPHENRANGELOOSE] : u[f.HYPHENRANGE];
      k = k.replace(P, z(this.options.includePrerelease)), n("hyphen replace", k), k = k.replace(u[f.COMPARATORTRIM], o), n("comparator trim", k), k = k.replace(u[f.TILDETRIM], c), n("tilde trim", k), k = k.replace(u[f.CARETTRIM], d), n("caret trim", k);
      let x = k.split(" ").map((K) => w(K, this.options)).join(" ").split(/\s+/).map((K) => $(K, this.options));
      W && (x = x.filter((K) => (n("loose invalid filter", K, this.options), !!K.match(u[f.COMPARATORLOOSE])))), n("range list", x);
      const L = /* @__PURE__ */ new Map(), O = x.map((K) => new a(K, this.options));
      for (const K of O) {
        if (g(K)) return [K];
        L.set(K.value, K);
      }
      L.size > 1 && L.has("") && L.delete("");
      const N = [...L.values()];
      return s.set(F, N), N;
    }
    intersects(k, F) {
      if (!(k instanceof Bn)) throw new TypeError("a Range is required");
      return this.set.some((q) => y(q, F) && k.set.some((W) => y(W, F) && q.every((P) => W.every((x) => P.intersects(x, F)))));
    }
    test(k) {
      if (!k) return !1;
      if (typeof k == "string") try {
        k = new l(k, this.options);
      } catch {
        return !1;
      }
      for (let F = 0; F < this.set.length; F++) if (Y(this.set[F], k, this.options)) return !0;
      return !1;
    }
  };
  t.exports = i;
  var s = new (o_())(), h = bu(), a = _s(), n = vs(), l = Mt(), { safeRe: u, t: f, comparatorTrimReplace: o, tildeTrimReplace: c, caretTrimReplace: d } = on(), { FLAG_INCLUDE_PRERELEASE: p, FLAG_LOOSE: m } = ms(), g = (H) => H.value === "<0.0.0-0", v = (H) => H.value === "", y = (H, k) => {
    let F = !0;
    const q = H.slice();
    let W = q.pop();
    for (; F && q.length; )
      F = q.every((P) => W.intersects(P, k)), W = q.pop();
    return F;
  }, w = (H, k) => (H = H.replace(u[f.BUILD], ""), n("comp", H, k), H = D(H, k), n("caret", H), H = b(H, k), n("tildes", H), H = C(H, k), n("xrange", H), H = U(H, k), n("stars", H), H), _ = (H) => !H || H.toLowerCase() === "x" || H === "*", b = (H, k) => H.trim().split(/\s+/).map((F) => E(F, k)).join(" "), E = (H, k) => {
    const F = k.loose ? u[f.TILDELOOSE] : u[f.TILDE];
    return H.replace(F, (q, W, P, x, L) => {
      n("tilde", H, q, W, P, x, L);
      let O;
      return _(W) ? O = "" : _(P) ? O = `>=${W}.0.0 <${+W + 1}.0.0-0` : _(x) ? O = `>=${W}.${P}.0 <${W}.${+P + 1}.0-0` : L ? (n("replaceTilde pr", L), O = `>=${W}.${P}.${x}-${L} <${W}.${+P + 1}.0-0`) : O = `>=${W}.${P}.${x} <${W}.${+P + 1}.0-0`, n("tilde return", O), O;
    });
  }, D = (H, k) => H.trim().split(/\s+/).map((F) => S(F, k)).join(" "), S = (H, k) => {
    n("caret", H, k);
    const F = k.loose ? u[f.CARETLOOSE] : u[f.CARET], q = k.includePrerelease ? "-0" : "";
    return H.replace(F, (W, P, x, L, O) => {
      n("caret", H, W, P, x, L, O);
      let N;
      return _(P) ? N = "" : _(x) ? N = `>=${P}.0.0${q} <${+P + 1}.0.0-0` : _(L) ? P === "0" ? N = `>=${P}.${x}.0${q} <${P}.${+x + 1}.0-0` : N = `>=${P}.${x}.0${q} <${+P + 1}.0.0-0` : O ? (n("replaceCaret pr", O), P === "0" ? x === "0" ? N = `>=${P}.${x}.${L}-${O} <${P}.${x}.${+L + 1}-0` : N = `>=${P}.${x}.${L}-${O} <${P}.${+x + 1}.0-0` : N = `>=${P}.${x}.${L}-${O} <${+P + 1}.0.0-0`) : (n("no pr"), P === "0" ? x === "0" ? N = `>=${P}.${x}.${L}${q} <${P}.${x}.${+L + 1}-0` : N = `>=${P}.${x}.${L}${q} <${P}.${+x + 1}.0-0` : N = `>=${P}.${x}.${L} <${+P + 1}.0.0-0`), n("caret return", N), N;
    });
  }, C = (H, k) => (n("replaceXRanges", H, k), H.split(/\s+/).map((F) => T(F, k)).join(" ")), T = (H, k) => {
    H = H.trim();
    const F = k.loose ? u[f.XRANGELOOSE] : u[f.XRANGE];
    return H.replace(F, (q, W, P, x, L, O) => {
      n("xRange", H, q, W, P, x, L, O);
      const N = _(P), K = N || _(x), oe = K || _(L), pe = oe;
      return W === "=" && pe && (W = ""), O = k.includePrerelease ? "-0" : "", N ? W === ">" || W === "<" ? q = "<0.0.0-0" : q = "*" : W && pe ? (K && (x = 0), L = 0, W === ">" ? (W = ">=", K ? (P = +P + 1, x = 0, L = 0) : (x = +x + 1, L = 0)) : W === "<=" && (W = "<", K ? P = +P + 1 : x = +x + 1), W === "<" && (O = "-0"), q = `${W + P}.${x}.${L}${O}`) : K ? q = `>=${P}.0.0${O} <${+P + 1}.0.0-0` : oe && (q = `>=${P}.${x}.0${O} <${P}.${+x + 1}.0-0`), n("xRange return", q), q;
    });
  }, U = (H, k) => (n("replaceStars", H, k), H.trim().replace(u[f.STAR], "")), $ = (H, k) => (n("replaceGTE0", H, k), H.trim().replace(u[k.includePrerelease ? f.GTE0PRE : f.GTE0], "")), z = (H) => (k, F, q, W, P, x, L, O, N, K, oe, pe) => (_(q) ? F = "" : _(W) ? F = `>=${q}.0.0${H ? "-0" : ""}` : _(P) ? F = `>=${q}.${W}.0${H ? "-0" : ""}` : x ? F = `>=${F}` : F = `>=${F}${H ? "-0" : ""}`, _(N) ? O = "" : _(K) ? O = `<${+N + 1}.0.0-0` : _(oe) ? O = `<${N}.${+K + 1}.0-0` : pe ? O = `<=${N}.${K}.${oe}-${pe}` : H ? O = `<${N}.${K}.${+oe + 1}-0` : O = `<=${O}`, `${F} ${O}`.trim()), Y = (H, k, F) => {
    for (let q = 0; q < H.length; q++) if (!H[q].test(k)) return !1;
    if (k.prerelease.length && !F.includePrerelease) {
      for (let q = 0; q < H.length; q++)
        if (n(H[q].semver), H[q].semver !== a.ANY && H[q].semver.prerelease.length > 0) {
          const W = H[q].semver;
          if (W.major === k.major && W.minor === k.minor && W.patch === k.patch) return !0;
        }
      return !1;
    }
    return !0;
  };
})), _s = /* @__PURE__ */ j(((e, t) => {
  var r = /* @__PURE__ */ Symbol("SemVer ANY"), i = class Ra {
    static get ANY() {
      return r;
    }
    constructor(c, d) {
      if (d = s(d), c instanceof Ra) {
        if (c.loose === !!d.loose) return c;
        c = c.value;
      }
      c = c.trim().split(/\s+/).join(" "), l("comparator", c, d), this.options = d, this.loose = !!d.loose, this.parse(c), this.semver === r ? this.value = "" : this.value = this.operator + this.semver.version, l("comp", this);
    }
    parse(c) {
      const d = this.options.loose ? h[a.COMPARATORLOOSE] : h[a.COMPARATOR], p = c.match(d);
      if (!p) throw new TypeError(`Invalid comparator: ${c}`);
      this.operator = p[1] !== void 0 ? p[1] : "", this.operator === "=" && (this.operator = ""), p[2] ? this.semver = new u(p[2], this.options.loose) : this.semver = r;
    }
    toString() {
      return this.value;
    }
    test(c) {
      if (l("Comparator.test", c, this.options.loose), this.semver === r || c === r) return !0;
      if (typeof c == "string") try {
        c = new u(c, this.options);
      } catch {
        return !1;
      }
      return n(c, this.operator, this.semver, this.options);
    }
    intersects(c, d) {
      if (!(c instanceof Ra)) throw new TypeError("a Comparator is required");
      return this.operator === "" ? this.value === "" ? !0 : new f(c.value, d).test(this.value) : c.operator === "" ? c.value === "" ? !0 : new f(this.value, d).test(c.semver) : (d = s(d), d.includePrerelease && (this.value === "<0.0.0-0" || c.value === "<0.0.0-0") || !d.includePrerelease && (this.value.startsWith("<0.0.0") || c.value.startsWith("<0.0.0")) ? !1 : !!(this.operator.startsWith(">") && c.operator.startsWith(">") || this.operator.startsWith("<") && c.operator.startsWith("<") || this.semver.version === c.semver.version && this.operator.includes("=") && c.operator.includes("=") || n(this.semver, "<", c.semver, d) && this.operator.startsWith(">") && c.operator.startsWith("<") || n(this.semver, ">", c.semver, d) && this.operator.startsWith("<") && c.operator.startsWith(">")));
    }
  };
  t.exports = i;
  var s = bu(), { safeRe: h, t: a } = on(), n = of(), l = vs(), u = Mt(), f = ir();
})), Es = /* @__PURE__ */ j(((e, t) => {
  var r = ir(), i = (s, h, a) => {
    try {
      h = new r(h, a);
    } catch {
      return !1;
    }
    return h.test(s);
  };
  t.exports = i;
})), u_ = /* @__PURE__ */ j(((e, t) => {
  var r = ir(), i = (s, h) => new r(s, h).set.map((a) => a.map((n) => n.value).join(" ").trim().split(" "));
  t.exports = i;
})), l_ = /* @__PURE__ */ j(((e, t) => {
  var r = Mt(), i = ir(), s = (h, a, n) => {
    let l = null, u = null, f = null;
    try {
      f = new i(a, n);
    } catch {
      return null;
    }
    return h.forEach((o) => {
      f.test(o) && (!l || u.compare(o) === -1) && (l = o, u = new r(l, n));
    }), l;
  };
  t.exports = s;
})), c_ = /* @__PURE__ */ j(((e, t) => {
  var r = Mt(), i = ir(), s = (h, a, n) => {
    let l = null, u = null, f = null;
    try {
      f = new i(a, n);
    } catch {
      return null;
    }
    return h.forEach((o) => {
      f.test(o) && (!l || u.compare(o) === 1) && (l = o, u = new r(l, n));
    }), l;
  };
  t.exports = s;
})), h_ = /* @__PURE__ */ j(((e, t) => {
  var r = Mt(), i = ir(), s = ys(), h = (a, n) => {
    a = new i(a, n);
    let l = new r("0.0.0");
    if (a.test(l) || (l = new r("0.0.0-0"), a.test(l))) return l;
    l = null;
    for (let u = 0; u < a.set.length; ++u) {
      const f = a.set[u];
      let o = null;
      f.forEach((c) => {
        const d = new r(c.semver.version);
        switch (c.operator) {
          case ">":
            d.prerelease.length === 0 ? d.patch++ : d.prerelease.push(0), d.raw = d.format();
          case "":
          case ">=":
            (!o || s(d, o)) && (o = d);
            break;
          case "<":
          case "<=":
            break;
          /* istanbul ignore next */
          default:
            throw new Error(`Unexpected operation: ${c.operator}`);
        }
      }), o && (!l || s(l, o)) && (l = o);
    }
    return l && a.test(l) ? l : null;
  };
  t.exports = h;
})), f_ = /* @__PURE__ */ j(((e, t) => {
  var r = ir(), i = (s, h) => {
    try {
      return new r(s, h).range || "*";
    } catch {
      return null;
    }
  };
  t.exports = i;
})), Cu = /* @__PURE__ */ j(((e, t) => {
  var r = Mt(), i = _s(), { ANY: s } = i, h = ir(), a = Es(), n = ys(), l = Du(), u = Su(), f = Au(), o = (c, d, p, m) => {
    c = new r(c, m), d = new h(d, m);
    let g, v, y, w, _;
    switch (p) {
      case ">":
        g = n, v = u, y = l, w = ">", _ = ">=";
        break;
      case "<":
        g = l, v = f, y = n, w = "<", _ = "<=";
        break;
      default:
        throw new TypeError('Must provide a hilo val of "<" or ">"');
    }
    if (a(c, d, m)) return !1;
    for (let b = 0; b < d.set.length; ++b) {
      const E = d.set[b];
      let D = null, S = null;
      if (E.forEach((C) => {
        C.semver === s && (C = new i(">=0.0.0")), D = D || C, S = S || C, g(C.semver, D.semver, m) ? D = C : y(C.semver, S.semver, m) && (S = C);
      }), D.operator === w || D.operator === _ || (!S.operator || S.operator === w) && v(c, S.semver)) return !1;
      if (S.operator === _ && y(c, S.semver)) return !1;
    }
    return !0;
  };
  t.exports = o;
})), d_ = /* @__PURE__ */ j(((e, t) => {
  var r = Cu(), i = (s, h, a) => r(s, h, ">", a);
  t.exports = i;
})), p_ = /* @__PURE__ */ j(((e, t) => {
  var r = Cu(), i = (s, h, a) => r(s, h, "<", a);
  t.exports = i;
})), g_ = /* @__PURE__ */ j(((e, t) => {
  var r = ir(), i = (s, h, a) => (s = new r(s, a), h = new r(h, a), s.intersects(h, a));
  t.exports = i;
})), m_ = /* @__PURE__ */ j(((e, t) => {
  var r = Es(), i = rr();
  t.exports = (s, h, a) => {
    const n = [];
    let l = null, u = null;
    const f = s.sort((p, m) => i(p, m, a));
    for (const p of f) r(p, h, a) ? (u = p, l || (l = p)) : (u && n.push([l, u]), u = null, l = null);
    l && n.push([l, null]);
    const o = [];
    for (const [p, m] of n) p === m ? o.push(p) : !m && p === f[0] ? o.push("*") : m ? p === f[0] ? o.push(`<=${m}`) : o.push(`${p} - ${m}`) : o.push(`>=${p}`);
    const c = o.join(" || "), d = typeof h.raw == "string" ? h.raw : String(h);
    return c.length < d.length ? c : h;
  };
})), v_ = /* @__PURE__ */ j(((e, t) => {
  var r = ir(), i = _s(), { ANY: s } = i, h = Es(), a = rr(), n = (d, p, m = {}) => {
    if (d === p) return !0;
    d = new r(d, m), p = new r(p, m);
    let g = !1;
    e: for (const v of d.set) {
      for (const y of p.set) {
        const w = f(v, y, m);
        if (g = g || w !== null, w) continue e;
      }
      if (g) return !1;
    }
    return !0;
  }, l = [new i(">=0.0.0-0")], u = [new i(">=0.0.0")], f = (d, p, m) => {
    if (d === p) return !0;
    if (d.length === 1 && d[0].semver === s) {
      if (p.length === 1 && p[0].semver === s) return !0;
      m.includePrerelease ? d = l : d = u;
    }
    if (p.length === 1 && p[0].semver === s) {
      if (m.includePrerelease) return !0;
      p = u;
    }
    const g = /* @__PURE__ */ new Set();
    let v, y;
    for (const T of d) T.operator === ">" || T.operator === ">=" ? v = o(v, T, m) : T.operator === "<" || T.operator === "<=" ? y = c(y, T, m) : g.add(T.semver);
    if (g.size > 1) return null;
    let w;
    if (v && y) {
      if (w = a(v.semver, y.semver, m), w > 0) return null;
      if (w === 0 && (v.operator !== ">=" || y.operator !== "<=")) return null;
    }
    for (const T of g) {
      if (v && !h(T, String(v), m) || y && !h(T, String(y), m)) return null;
      for (const U of p) if (!h(T, String(U), m)) return !1;
      return !0;
    }
    let _, b, E, D, S = y && !m.includePrerelease && y.semver.prerelease.length ? y.semver : !1, C = v && !m.includePrerelease && v.semver.prerelease.length ? v.semver : !1;
    S && S.prerelease.length === 1 && y.operator === "<" && S.prerelease[0] === 0 && (S = !1);
    for (const T of p) {
      if (D = D || T.operator === ">" || T.operator === ">=", E = E || T.operator === "<" || T.operator === "<=", v) {
        if (C && T.semver.prerelease && T.semver.prerelease.length && T.semver.major === C.major && T.semver.minor === C.minor && T.semver.patch === C.patch && (C = !1), T.operator === ">" || T.operator === ">=") {
          if (_ = o(v, T, m), _ === T && _ !== v) return !1;
        } else if (v.operator === ">=" && !h(v.semver, String(T), m)) return !1;
      }
      if (y) {
        if (S && T.semver.prerelease && T.semver.prerelease.length && T.semver.major === S.major && T.semver.minor === S.minor && T.semver.patch === S.patch && (S = !1), T.operator === "<" || T.operator === "<=") {
          if (b = c(y, T, m), b === T && b !== y) return !1;
        } else if (y.operator === "<=" && !h(y.semver, String(T), m)) return !1;
      }
      if (!T.operator && (y || v) && w !== 0) return !1;
    }
    return !(v && E && !y && w !== 0 || y && D && !v && w !== 0 || C || S);
  }, o = (d, p, m) => {
    if (!d) return p;
    const g = a(d.semver, p.semver, m);
    return g > 0 ? d : g < 0 || p.operator === ">" && d.operator === ">=" ? p : d;
  }, c = (d, p, m) => {
    if (!d) return p;
    const g = a(d.semver, p.semver, m);
    return g < 0 ? d : g > 0 || p.operator === "<" && d.operator === "<=" ? p : d;
  };
  t.exports = n;
})), Tu = /* @__PURE__ */ j(((e, t) => {
  var r = on(), i = ms(), s = Mt(), h = nf(), a = wi(), n = Y1(), l = K1(), u = Z1(), f = J1(), o = X1(), c = Q1(), d = e_(), p = t_(), m = rr(), g = r_(), v = i_(), y = wu(), w = n_(), _ = s_(), b = ys(), E = Du(), D = sf(), S = af(), C = Au(), T = Su(), U = of(), $ = a_(), z = _s(), Y = ir(), H = Es(), k = u_(), F = l_(), q = c_(), W = h_(), P = f_(), x = Cu(), L = d_(), O = p_(), N = g_(), K = m_(), oe = v_();
  t.exports = {
    parse: a,
    valid: n,
    clean: l,
    inc: u,
    diff: f,
    major: o,
    minor: c,
    patch: d,
    prerelease: p,
    compare: m,
    rcompare: g,
    compareLoose: v,
    compareBuild: y,
    sort: w,
    rsort: _,
    gt: b,
    lt: E,
    eq: D,
    neq: S,
    gte: C,
    lte: T,
    cmp: U,
    coerce: $,
    Comparator: z,
    Range: Y,
    satisfies: H,
    toComparators: k,
    maxSatisfying: F,
    minSatisfying: q,
    minVersion: W,
    validRange: P,
    outside: x,
    gtr: L,
    ltr: O,
    intersects: N,
    simplifyRange: K,
    subset: oe,
    SemVer: s,
    re: r.re,
    src: r.src,
    tokens: r.t,
    SEMVER_SPEC_VERSION: i.SEMVER_SPEC_VERSION,
    RELEASE_TYPES: i.RELEASE_TYPES,
    compareIdentifiers: h.compareIdentifiers,
    rcompareIdentifiers: h.rcompareIdentifiers
  };
})), y_ = /* @__PURE__ */ j(((e, t) => {
  (function() {
    "use strict";
    var r = /^v?((\d+)\.(\d+)\.(\d+))(?:-([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?(?:\+([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?$/, i = /\s*((\|\||\-)|(((?:(?:~?[<>]?)|\^?)=?)\s*(v)?([0-9]+)(\.(x|\*|[0-9]+))?(\.(x|\*|[0-9]+))?(([\-+])([a-zA-Z0-9\.-]+))?))\s*/g;
    function s(f) {
      var o = {};
      for (var c in f) typeof f[c] < "u" && (o[c] = f[c]);
      return o;
    }
    function h(f) {
      var o = "";
      return o += f.major || "0", o += ".", o += f.minor || "0", o += ".", o += f.patch || "0", f.release && (o += "-" + f.release), f.build && (o += "+" + f.build), o;
    }
    function a(f) {
      var o = "";
      function c(d) {
        d.operator && (o += d.operator + " "), d.major && (o += d.toString() + " ");
      }
      return f.forEach(c), o.trim();
    }
    function n(f) {
      if (f) {
        var o = this;
        Object.keys(f).forEach(function(c) {
          o[c] = f[c];
        });
      }
    }
    n.prototype.toString = function() {
      return h(this);
    };
    function l(f) {
      var o = r.exec(f) || [], c = new n(s({
        semver: o[0],
        version: o[1],
        major: o[2],
        minor: o[3],
        patch: o[4],
        release: o[5],
        build: o[6]
      }));
      return o.length === 0 && (c = null), c;
    }
    function u(f) {
      for (var o, c = [], d; o = i.exec(f); )
        d = {
          semver: o[3],
          operator: o[4] || o[2],
          major: o[6],
          minor: o[8],
          patch: o[10]
        }, o[12] === "+" && (d.build = o[13]), o[12] === "-" && (d.release = o[13]), c.push(new n(s(d)));
      return c;
    }
    t.exports.parse = l, t.exports.stringify = h, t.exports.parseRange = u, t.exports.stringifyRange = a;
  })();
})), un = /* @__PURE__ */ zt(V1(), 1), Ve = /* @__PURE__ */ zt(Tu(), 1), It = /* @__PURE__ */ zt(y_(), 1);
function bs(e, t) {
  return e ? e.map((r) => ({
    item: r,
    key: t(r)
  })).sort((r, i) => r.key > i.key ? 1 : r.key < i.key ? -1 : 0).map(({ item: r }) => r) : [];
}
var Ru = [
  "major",
  "minor",
  "patch"
], uf = ["release", "build"], ui = [...Ru, ...uf], __ = {
  major: "",
  minor: ".",
  patch: ".",
  release: "-",
  build: "+"
};
var lf = [
  "^",
  "~",
  ".*",
  ".x"
], E_ = new RegExp(`^(${[
  "^",
  "~",
  "^*",
  "*",
  "x",
  "x.x",
  "x.x.x"
].map(P1).join("|")})$`), cf = /^npm:(.*)@(.*)/;
function b_(e) {
  const [t] = It.default.parseRange(e);
  if (!t) throw new Error(mm.format('semverutils.parseRange returned null when trying to parse "%s". This is probably a problem with the "semver-utils" dependency. Please report an issue at https://github.com/raineorshine/npm-check-updates/issues.', e));
  return ui.reduce((r, i) => t[i] ? r + 1 : r, 0);
}
function mi(e, t) {
  return (t ? ui.slice(0, ui.indexOf(t) + 1) : ui).filter((r) => t && Ru.includes(t) || e[r]).map((r) => __[r] + (e[r] || "0")).join("");
}
function w_(e) {
  const [t] = It.default.parseRange(e);
  return ui.slice().reverse().find(rf(t));
}
function D_(e, t) {
  const [r] = It.default.parseRange(e);
  return mi(r, t);
}
function A_(e, t) {
  return t === "^" || t === "~" ? t + e : D_(e, "major") + t;
}
function Ou(e) {
  return E_.test(e);
}
function hf(e) {
  return e === "*" || e === "x";
}
function S_(e, t) {
  if (e === t) return "none";
  /^[~^]/.test(t) && t[0] === e[0] && (t = t.slice(1), e = e.slice(1));
  const r = t.split("."), i = e.split(".");
  let s = r.findIndex((h, a) => h !== i[a]);
  return s = s >= 0 ? s : r.length, r[0] === "0" ? "majorVersionZero" : s === 0 ? "major" : s === 1 ? "minor" : "patch";
}
function ff(e, t, r) {
  const i = at(e, (h, a, n) => {
    const l = t[h], u = S_(l, a), f = r.groupFunction?.(h, u, (0, It.parseRange)(l), (0, It.parseRange)(a), (0, It.parse)(e[h])) ?? u;
    return f === "none" ? n : {
      ...n,
      [f]: {
        ...n[f],
        [h]: a
      }
    };
  }), s = {
    patch: me.green(me.bold("Patch") + "   Backwards-compatible bug fixes"),
    minor: me.cyan(me.bold("Minor") + "   Backwards-compatible features"),
    major: me.red(me.bold("Major") + "   Potentially breaking API changes"),
    majorVersionZero: me.magenta(me.bold("Major version zero") + "   Anything may change")
  };
  return Array.from(/* @__PURE__ */ new Set([
    "patch",
    "minor",
    "major",
    "majorVersionZero",
    ...Object.keys(i).sort()
  ])).filter((h) => h in i).map((h) => ({
    groupName: h,
    heading: h in s ? s[h] : h,
    packages: i[h]
  }));
}
function Iu(e, t) {
  let r = "";
  /^[~^]/.test(t) && t[0] === e[0] && (r = t[0], t = t.slice(1), e = e.slice(1));
  const i = t.split("."), s = e.split(".");
  let h = i.findIndex((l, u) => l !== s[u]);
  h = h >= 0 ? h : i.length;
  const a = h === 0 || i[0] === "0" ? "red" : h === 1 ? "cyan" : "green", n = h > 0 && h < i.length ? "." : "";
  return r + i.slice(0, h).join(".") + n + me[a](i.slice(h).join("."));
}
var pc = (e) => {
  const t = Ve.default.prerelease(e);
  return t && t.slice(0, -1).join(".");
};
function C_(e, t) {
  const r = pc(e), i = pc(t);
  return typeof r != "string" || typeof i != "string" || r === i;
}
function ku(e, t) {
  return (Ve.default.valid(e) && Ve.default.valid(t) ? Ve.default.gt(e, t) : e > t) ? 1 : e === t ? 0 : -1;
}
function Lu(e, t, r) {
  if (!Ve.default.validRange(t)) return null;
  const i = Ve.default.minVersion(t);
  return [...e].sort(ku).filter((s) => {
    const h = Ve.default.parse(s);
    return h && (r === "major" || h.major === i?.major) && (r === "major" || r === "minor" || h.minor === i?.minor);
  }).at(-1) || null;
}
function ln(e) {
  return w_(e) === "release";
}
var df = (e) => /^[vV]?\d+$/.test(e), pf = (e) => /^[vV]?\d+\.\d+$/.test(e), T_ = (e) => e.replace(/^[vV]/, ""), R_ = (e) => df(e) ? e + ".0.0" : e, O_ = (e) => pf(e) ? e + ".0" : e, Fu = (e) => O_(R_(T_(e)));
function gf(e) {
  return e && (e[0] === "v" || e[1] === "v") ? "v" : "";
}
var mf = (e, t) => `npm:${e}@${t}`, Zi = (e) => {
  const t = e && e.match && e.match(cf);
  return t && t.slice(1);
}, Pn = (e) => e && !!e.match(cf), I_ = (e, t) => {
  const r = Zi(e);
  return r ? mf(r[0], t) : null;
}, qi = (e) => {
  if (!e) return !1;
  let t = null;
  try {
    t = (0, un.default)(e);
  } catch {
  }
  if (!t || !t.branch) return !1;
  const r = decodeURIComponent(t.branch).replace(/^semver:/, "");
  return !!Ve.default.validRange(r);
}, Oa = (e) => {
  if (!e) return null;
  const t = (0, un.default)(e);
  if (!t || !t.branch) return null;
  const r = decodeURIComponent(t.branch).replace(/^semver:/, "");
  return t && t.branch && Ve.default.validRange(r) ? r : null;
};
function vf(e, t, r = {}) {
  if (r.wildcard = r.wildcard || "^", !t) return e;
  const [i] = It.default.parseRange(t);
  if (!i) return e;
  if (r.removeRange) return t;
  if (Ou(e)) return e;
  const s = bs(It.default.parseRange(e).filter((m) => m.operator !== "||" && m.operator !== "-"), (m) => b_(mi(m))), [h] = s;
  function a(m) {
    return (hf(h[m]) ? h[m] : Ru.includes(m) && h[m] || uf.includes(m) ? i[m] : null) || null;
  }
  const n = mi(at(ui, (m) => ({ [m]: a(m) }))), l = gf(h.semver) + n, u = Array.from(new Set(s.map((m) => m.operator))), f = u[0] || "", o = lf.some((m) => n.includes(m)), c = u[0] === "<" || u[0] === "<=", d = u[0] === ">", p = u.length > 1;
  return !o && (c || p) ? A_(l, r.wildcard) : (d ? ">=" : f) + l;
}
var k_ = (e, t) => {
  const r = gf(e);
  let i = r ? r + t : t;
  return i = df(e) ? i.slice(0, i.length - 4) : i, i = pf(e) ? i.slice(0, i.length - 2) : i, i;
}, ws = (e, t) => {
  const r = Fu(t), i = (0, un.default)(e);
  if (!i) return e;
  const s = decodeURIComponent(i.branch).replace(/^semver:/, "");
  return e.replace(s, vf(s, k_(s, r)));
}, gc = {
  silent: 0,
  error: 1,
  minimal: 2,
  warn: 3,
  info: 4,
  verbose: 5,
  silly: 6
}, L_ = (e) => !e.startsWith("file:") && !e.startsWith("link:") && !e.startsWith("workspace:") && !/^[^/:@]+\/\w+/.test(e);
function Me(e, t, r = null, i = "log") {
  !e.json && e.loglevel !== "silent" && (r == null || gc[e.loglevel ?? "warn"] >= gc[r]) && console[i](t);
}
function Nu(e, t) {
  e.loglevel !== "silent" && console.log(JSON.stringify(t, null, 2));
}
function F_(e, t) {
  console.log(Object.keys(e).map((r) => r + "@" + e[r]).join(t));
}
function yr(e, t, r) {
  Me(e, Object.keys(t).sort().reduce((i, s) => (i[s] = t[s], i), {}), r);
}
function $u(e) {
  const t = new cu.default({
    colAligns: [
      "left",
      "right",
      "right",
      "right",
      "left",
      "left"
    ],
    chars: {
      top: "",
      "top-mid": "",
      "top-left": "",
      "top-right": "",
      bottom: "",
      "bottom-mid": "",
      "bottom-left": "",
      "bottom-right": "",
      left: "",
      "left-mid": "",
      mid: "",
      "mid-mid": "",
      right: "",
      "right-mid": "",
      middle: ""
    }
  });
  return t.push(...e), t.toString().split(`
`).map((r) => r.trimEnd()).join(`
`);
}
function mc(e) {
  return qi(e) ? Oa(e) : Pn(e) ? Zi(e)[1] : e;
}
async function Ia({ from: e, to: t, format: r, ownersChangedDeps: i, pkgFile: s, time: h }) {
  const a = r?.includes("dep") && s ? JSON.parse(await it.readFile(s, "utf-8")) : null;
  return $u(await Promise.all(Object.keys(t).sort().map(async (n) => {
    const l = (r?.includes("installedVersion") ? await ev(n, void 0, { pkgFile: s }) : e[n]) || "", u = n in (a?.devDependencies ?? {}) ? "dev" : n in (a?.peerDependencies ?? {}) ? "peer" : n in (a?.optionalDependencies ?? {}) ? "optional" : "", f = mc(t[n] || ""), o = i ? n in i ? i[n] ? "*owner changed*" : "" : "*unknown*" : "", c = Iu(mc(l), f), d = r?.includes("homepage") && (await hu(n, { pkgFile: s }))?.homepage || "", p = r?.includes("repo") && await sv(n, void 0, { pkgFile: s }) || "", m = r?.includes("diff") ? `${process.env.NCU_DIFF || "https://npmdiff.dev"}/${encodeURIComponent(n)}/${l.replace(/^\W+/, "")}/${f.replace(/^\W+/, "")}` : "", g = r?.includes("time") && h?.[n] ? h[n] : "";
    return [
      n,
      ...r?.includes("dep") ? [u ? me.gray(u) : ""] : [],
      l,
      "→",
      c,
      o,
      ...[
        d,
        p,
        m,
        g
      ].filter((v) => v)
    ];
  })));
}
async function N_({ current: e, upgraded: t, ownersChangedDeps: r, pkgFile: i, time: s }, h) {
  if (h.format?.includes("group")) {
    const a = ff(t, e, h);
    for (const { heading: n, packages: l } of a)
      Me(h, `
` + n), Me(h, await Ia({
        from: e,
        to: l,
        format: h.format,
        ownersChangedDeps: r,
        pkgFile: i,
        time: s
      }));
  } else h.format?.includes("lines") ? F_(t, `
`) : Me(h, await Ia({
    from: e,
    to: t,
    format: h.format,
    ownersChangedDeps: r,
    pkgFile: i,
    time: s
  }));
}
function $_(e, t) {
  if (t && Object.keys(t).length > 0) {
    const r = new cu.default({
      colAligns: [
        "left",
        "right",
        "right",
        "right",
        "left",
        "left"
      ],
      chars: {
        top: "",
        "top-mid": "",
        "top-left": "",
        "top-right": "",
        bottom: "",
        "bottom-mid": "",
        "bottom-left": "",
        "bottom-right": "",
        left: "",
        "left-mid": "",
        mid: "",
        "mid-mid": "",
        right: "",
        "right-mid": "",
        middle: ""
      }
    });
    r.push(...Object.entries(t).map(([i, s]) => [i, me.yellow(s)])), Me(e, `
` + r.toString());
  }
}
async function xu(e, { current: t, latest: r, upgraded: i, total: s, ownersChangedDeps: h, pkgFile: a, time: n, errors: l }) {
  e.format?.includes("group") || Me(e, "");
  const u = me.green.bold(":)"), f = Object.keys(l || {}).length, o = typeof e.target == "string" ? e.target : "target", c = Object.keys(i).length;
  c === 0 && s === 0 && f === 0 ? Object.keys(t).length === 0 ? Me(e, "No dependencies.") : r && Object.keys(r).length === 0 && Object.values(xr(t, (d, p) => L_(p))).length > 0 ? Me(e, `No package versions were returned. This may be a problem with your installed ${e.packageManager}, the npm registry, or your Internet connection. Make sure ${me.cyan("npx pacote packument ncu-test-v2")} is working before reporting an issue.`) : e.global ? Me(e, `All global packages are up-to-date ${u}`) : Me(e, `All dependencies match the ${o} package versions ${u}`) : c === 0 && s > 0 ? Me(e, `No dependencies upgraded ${u}`) : c > 0 && await N_({
    current: t,
    upgraded: i,
    ownersChangedDeps: h,
    pkgFile: a,
    time: n
  }, e), $_(e, l);
}
function x_(e, t) {
  Me(e, `
Ignored incompatible updates (peer dependencies):
`), Me(e, $u(Object.entries(t).map(([r, { from: i, to: s, reason: h }]) => {
    const a = "reason: " + Object.entries(h).map(([n, l]) => n + " requires " + l).join(", ");
    return [
      r,
      i,
      "→",
      Iu(i, s),
      a
    ];
  })));
}
function B_(e, t) {
  Me(e, `
Ignored incompatible updates (engines node):
`), Me(e, $u(Object.entries(t).map(([r, { from: i, to: s, enginesNode: h }]) => [
    r,
    i,
    "→",
    Iu(i, s),
    `reason: requires node ${h}`
  ])));
}
function P_(e, t = 10) {
  return typeof e.timestamp != "number" ? !1 : e.timestamp + t * (60 * 1e3) < Date.now();
}
var yf = ".ncu-cache.json", ka = `~/${yf}`, M_ = Ye.join(hi.homedir(), yf);
function _f(e) {
  return e === ka ? M_ : e;
}
async function j_(e) {
  e.cacheFile && await oi.promises.rm(_f(e.cacheFile), { force: !0 });
}
async function U_(e) {
  if (!e.cache || !e.cacheFile) return;
  const t = _f(e.cacheFile);
  let r = {};
  const i = /* @__PURE__ */ new Set();
  try {
    r = JSON.parse(await oi.promises.readFile(t, "utf-8")), P_(r, e.cacheExpiration) && (oi.promises.rm(t, { force: !0 }), r = {});
  } catch {
  }
  return typeof r.timestamp != "number" && (r.timestamp = Date.now()), r.packages || (r.packages = {}), r.peers || (r.peers = {}), {
    get: (s, h) => {
      if (!r.packages) return;
      const a = `${s}___${h}`, n = r.packages[a];
      return n && !a.includes(n) && i.add(s), n;
    },
    set: (s, h, a) => {
      if (!r.packages) return;
      const n = `${s}___${h}`;
      r.packages[n] = a;
    },
    getPeers: (s, h) => {
      if (!r.peers) return;
      const a = `${s}___${h}`, n = r.peers[a];
      return n && i.add(s), n;
    },
    setPeers: (s, h, a) => {
      const n = `${s}___${h}`;
      r.peers && (r.peers[n] = a);
    },
    save: async () => {
      await oi.promises.writeFile(t, JSON.stringify(r));
    },
    log: (s) => {
      const h = i.size;
      h !== 0 && (Me(e, `
Using ${h} cached package ${s ? "peer" : "version"}${h > 1 ? "s" : ""}`, "warn"), Me(e, i, "verbose"), i.clear());
    }
  };
}
function Wn(e) {
  const t = e.match(/^(\d+(?:\.\d+)?)(d|h|m)$/);
  if (!t) return null;
  const r = parseFloat(t[1]), i = t[2];
  return i === "d" ? r : i === "h" ? r / 24 : r / 1440;
}
var H_ = (e, t = 92) => {
  const r = e.split(`
`), i = [];
  return r.forEach((s) => {
    let h = 0;
    if (s.length === 0) {
      i.push("");
      return;
    }
    for (; h < s.length; ) {
      const a = s.slice(h, h + t + 1), n = a.trimEnd();
      if (n.length <= t) {
        i.push(n);
        break;
      }
      const l = a.split("").reverse().join("").match(/[ -][^\W]/)?.index || 0, u = a.slice(0, a.length - l);
      if (u.length === 0) break;
      i.push(u.trimEnd()), h += u.length;
    }
  }), i.join(`
`).trim();
}, q_ = (e) => e.map(([t, r]) => [t, H_(r)]), z_ = (e) => `
  <tr>` + e.map((t) => `<td>${t}</td>`).join("") + "</tr>", Di = ({ colAligns: e, markdown: t, rows: r }) => {
  if (t) return `<table>${r.map(z_).join("")}
</table>`;
  {
    const i = new cu.default({ ...e ? { colAligns: e } : null });
    return i.push(...t ? r : q_(r)), i.toString();
  }
}, G_ = [
  "latest",
  "newest",
  "greatest",
  "minor",
  "patch",
  "semver"
], Ai = (e, t) => e.split(`
`).map((r) => `${"".padStart(t, " ")}${r}`).join(`
`), Zt = (e, { markdown: t } = {}) => `${t ? "```js\n" : ""}${Ai(e, t ? 0 : 4)}${t ? "\n```" : ""}`, vc = (e) => e.replace(/`/g, ""), Ii = (e) => (t) => {
  if (typeof t == "number") return t;
  if (typeof t == "string") {
    const r = parseInt(t, 10);
    if (!isNaN(r)) return r;
  }
  throw new Error(`${e} must be a number`);
}, bL = (e, { markdown: t } = {}) => {
  let r = "";
  if (e.cli !== !1 && (r = `Usage:

    ncu --${e.long}${e.arg ? ` [${e.arg}]` : ""}${e.long === "doctor" ? " -u" : ""}
`), e.type === "boolean" && (r += `    ncu --no-${e.long}
`), e.short && (r += `    ncu -${e.short}${e.arg ? ` [${e.arg}]` : ""}${e.long === "doctor" ? "u" : ""}
`), e.default !== void 0 && !(Array.isArray(e.default) && e.default.length === 0) && (r += `
Default: ${e.default}
`), e.help) {
    const i = typeof e.help == "function" ? t ? e.help({ markdown: t }) : vc(e.help({ markdown: t })) : e.help;
    r += `
${i.trim()}

`;
  } else if (e.description) {
    const i = t ? e.description : vc(e.description);
    r += `
${i.replace(/`/g, "")}
`;
  }
  return r.trim();
}, W_ = ({ markdown: e }) => `Iteratively installs upgrades and runs your project's tests to identify breaking upgrades. Reverts broken upgrades and updates package.json with working upgrades.

${me.yellow("Requires `-u` to execute")} (modifies your package file, lock file, and node_modules)

To be more precise:

1. Runs \`npm install\` and \`npm test\` to ensure tests are currently passing.
2. Runs \`ncu -u\` to optimistically upgrade all dependencies.
3. If tests pass, hurray!
4. If tests fail, restores package file and lock file.
5. For each dependency, install upgrade and run tests.
6. Prints broken upgrades with test error.
7. Saves working upgrades to package.json.

Additional options:

${Di({
  markdown: e,
  rows: [[me.cyan("--doctorInstall"), "specify a custom install script (default: `npm install` or `yarn`)"], [me.cyan("--doctorTest"), "specify a custom test script (default: `npm test`)"]]
})}

Example:

    $ ncu --doctor -u
    Running tests before upgrading
    npm install
    npm run test
    Upgrading all dependencies and re-running tests
    ncu -u
    npm install
    npm run test
    Tests failed
    Identifying broken dependencies
    npm install
    npm install --no-save react@16.0.0
    npm run test
      ✓ react 15.0.0 → 16.0.0
    npm install --no-save react-redux@7.0.0
    npm run test
      ✗ react-redux 6.0.0 → 7.0.0

    /projects/myproject/test.js:13
      throw new Error('Test failed!')
      ^

    npm install --no-save react-dnd@11.1.3
    npm run test
      ✓ react-dnd 10.0.0 → 11.1.3
    Saving partially upgraded package.json
`, V_ = ({ markdown: e }) => {
  const t = (r) => e ? `\`${r}\`` : r;
  return `Filters results based on a user provided predicate function after fetching new versions.

${t("filterResults")} runs _after_ new versions are fetched, in contrast to ${t("filter")}, ${t("reject")}, ${t("filterVersion")}, and ${t("rejectVersion")}, which run _before_. This allows you to exclude upgrades with ${t("filterResults")} based on how the version has changed (e.g. a major version change).

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions.

${Zt(`${me.gray(`/** Exclude major version updates. Note this could also be achieved with --target semver.
  @param {string} packageName               The name of the dependency.
  @param {string} current                   Current version declaration (may be a range).
  @param {SemVer[]} currentVersionSemver    Current version declaration in semantic versioning format (may be a range).
  @param {string} upgraded                  Upgraded version.
  @param {SemVer} upgradedVersionSemver     Upgraded version in semantic versioning format.
  @returns {boolean}                        Return true if the upgrade should be kept; otherwise, it will be ignored.
*/`)}
${me.green("filterResults")}: (packageName, { current, currentVersionSemver, upgraded, upgradedVersionSemver }) ${me.cyan("=>")} {
  ${me.cyan("const")} currentMajor ${me.red("=")} parseInt(currentVersionSemver[${me.cyan("0")}]?.major, ${me.cyan("10")})
  ${me.cyan("const")} upgradedMajor ${me.red("=")} parseInt(upgradedVersionSemver?.major, ${me.cyan("10")})
  ${me.red("if")} (currentMajor ${me.red("&&")} upgradedMajor) {
    ${me.red("return")} currentMajor ${me.red(">=")} upgradedMajor
  }
  ${me.red("return")} ${me.cyan("true")}
}`, { markdown: e })}

For the SemVer type definition, see: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring

`;
}, Y_ = ({ markdown: e }) => `Modify the output formatting or show additional information. Specify one or more comma-delimited values.

${Ai(Di({
  colAligns: ["right", "left"],
  markdown: e,
  rows: [
    ["dep", "Prints the dependency type (dev, peer, optional) of each package."],
    ["group", "Groups packages by major, minor, patch, and major version zero updates."],
    ["homepage", "Displays links to the package's homepage if specified in its package.json."],
    ["installedVersion", "Prints the exact current version number instead of a range."],
    ["lines", "Prints name@version on separate lines. Useful for piping to npm install."],
    ["ownerChanged", "Shows if the package owner has changed."],
    ["repo", "Infers and displays links to the package's source code repository. Requires packages to be installed."],
    ["diff", "Display link to compare the changes between package versions."],
    ["time", "Shows the publish time of each upgrade."]
  ]
}), e ? 0 : 4)}
`, K_ = ({ markdown: e }) => `Control the auto-install behavior.

${Ai(Di({
  colAligns: ["right", "left"],
  markdown: e,
  rows: [
    ["always", "Runs your package manager's install command automatically after upgrading."],
    ["never", "Does not install and does not prompt."],
    ["prompt", "Shows a message after upgrading that recommends an install, but does not install. In interactive mode, prompts for install. (default)"]
  ]
}), e ? 0 : 4)}
`, Z_ = ({ markdown: e }) => {
  const t = (r) => e ? `\`${r}\`` : r;
  return `Include only package names matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function. Only included packages will be checked with ${t("--peer")}.

${t("--filter")} runs _before_ new versions are fetched, in contrast to ${t("--filterResults")} which runs _after_.

You can also specify a custom function in your .ncurc.js file, or when importing npm-check-updates as a module.

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions.

${Zt(`${me.gray(`/**
  @param name     The name of the dependency.
  @param semver   A parsed Semver array of the current version.
    (See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
  @returns        True if the package should be included, false if it should be excluded.
*/`)}
${me.green("filter")}: (name, semver) ${me.cyan("=>")} {
  ${me.red("if")} (name.startsWith(${me.yellow("'@myorg/'")})) {
    ${me.red("return")} ${me.cyan("false")}
  }
  ${me.red("return")} ${me.cyan("true")}
}`, { markdown: e })}

`;
}, J_ = ({ markdown: e }) => {
  const t = (r) => e ? `\`${r}\`` : r;
  return `Include only versions matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.

${t("--filterVersion")} runs _before_ new versions are fetched, in contrast to ${t("--filterResults")} which runs _after_.

You can also specify a custom function in your .ncurc.js file, or when importing npm-check-updates as a module.

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions. This function is an alias for the ${t("filter")} option function.

${Zt(`${me.gray(`/**
  @param name     The name of the dependency.
  @param semver   A parsed Semver array of the current version.
    (See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
  @returns        True if the package should be included, false if it should be excluded.
*/`)}
${me.green("filterVersion")}: (name, semver) ${me.cyan("=>")} {
  ${me.red("if")} (name.startsWith(${me.yellow("'@myorg/'")}) ${me.red("&&")} parseInt(semver[0]?.major) ${me.cyan(">")} ${me.cyan("5")}) {
    ${me.red("return")} ${me.cyan("false")}
  }
  ${me.red("return")} ${me.cyan("true")}
}`, { markdown: e })}

`;
}, X_ = ({ markdown: e }) => {
  const t = (r) => e ? `\`${r}\`` : r;
  return `The inverse of ${t("--filter")}. Exclude package names matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function. This will also exclude them from the ${t("--peer")} check.

${t("--reject")} runs _before_ new versions are fetched, in contrast to ${t("--filterResults")} which runs _after_.

You can also specify a custom function in your .ncurc.js file, or when importing npm-check-updates as a module.

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions.

${Zt(`${me.gray(`/**
  @param name     The name of the dependency.
  @param semver   A parsed Semver array of the current version.
    (See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
  @returns        True if the package should be excluded, false if it should be included.
*/`)}
${me.green("reject")}: (name, semver) ${me.cyan("=>")} {
  ${me.red("if")} (name.startsWith(${me.yellow("'@myorg/'")})) {
    ${me.red("return")} ${me.cyan("true")}
  }
  ${me.red("return")} ${me.cyan("false")}
}`, { markdown: e })}

`;
}, Q_ = ({ markdown: e }) => {
  const t = (r) => e ? `\`${r}\`` : r;
  return `The inverse of ${t("--filterVersion")}. Exclude versions matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.

${t("--rejectVersion")} runs _before_ new versions are fetched, in contrast to ${t("--filterResults")} which runs _after_.

You can also specify a custom function in your .ncurc.js file, or when importing npm-check-updates as a module.

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions. This function is an alias for the reject option function.

${Zt(`${me.gray(`/**
  @param name     The name of the dependency.
  @param semver   A parsed Semver array of the current version.
    (See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
  @returns        True if the package should be excluded, false if it should be included.
*/`)}
${me.green("rejectVersion")}: (name, semver) ${me.cyan("=>")} {
  ${me.red("if")} (name.startsWith(${me.yellow("'@myorg/'")}) ${me.red("&&")} parseInt(semver[0]?.major) ${me.cyan(">")} ${me.cyan("5")}) {
    ${me.red("return")} ${me.cyan("true")}
  }
  ${me.red("return")} ${me.cyan("false")}
}`, { markdown: e })}

`;
}, eE = ({ markdown: e }) => `Customize how packages are divided into groups when using \`--format group\`.

Only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions.

${Zt(`${me.gray(`/**
  @param name             The name of the dependency.
  @param defaultGroup     The predefined group name which will be used by default.
  @param currentSpec      The current version range in your package.json.
  @param upgradedSpec     The upgraded version range that will be written to your package.json.
  @param upgradedVersion  The upgraded version number returned by the registry.
  @returns                A predefined group name ('major' | 'minor' | 'patch' | 'majorVersionZero' | 'none') or a custom string to create your own group.
*/`)}
${me.green("groupFunction")}: (name, defaultGroup, currentSpec, upgradedSpec, upgradedVersion) ${me.cyan("=>")} {
  ${me.red("if")} (name ${me.red("===")} ${me.yellow("'typescript'")} ${me.red("&&")} defaultGroup ${me.red("===")} ${me.yellow("'minor'")}) {
    ${me.red("return")} ${me.yellow("'major'")}
  }
  ${me.red("if")} (name.startsWith(${me.yellow("'@myorg/'")})) {
    ${me.red("return")} ${me.yellow("'My Org'")}
  }
  ${me.red("return")} defaultGroup
}`, { markdown: e })}

`, tE = ({ markdown: e }) => `Determines the version to upgrade to. (default: "latest")

${Ai(Di({
  colAligns: ["right", "left"],
  markdown: e,
  rows: [
    ["greatest", "Upgrade to the highest version number published, regardless of release date or tag. Includes prereleases."],
    ["latest", `Upgrade to whatever the package's "latest" git tag points to. Excludes prereleases unless --pre is specified.`],
    ["minor", "Upgrade to the highest minor version without bumping the major version."],
    ["newest", "Upgrade to the version with the most recent publish date, even if there are other version numbers that are higher. Includes prereleases."],
    ["patch", "Upgrade to the highest patch version without bumping the minor or major versions."],
    ["semver", "Upgrade to the highest version within the semver range specified in your package.json."],
    ["@[tag]", "Upgrade to the version published to a specific tag, e.g. 'next' or 'beta'."]
  ]
}), e ? 0 : 4)}

e.g.

${Zt("ncu --target semver")}

You can also specify a custom function in your .ncurc.js file, or when importing npm-check-updates as a module.

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions.

${Zt(`${me.gray(`/** Upgrade major version zero to the next minor version, and everything else to latest.
  @param name     The name of the dependency.
  @param semver   A parsed Semver object of the upgraded version.
    (See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
  @returns        One of the valid target values (specified in the table above).
*/`)}
${me.green("target")}: (name, semver) ${me.cyan("=>")} {
  ${me.red("if")} (parseInt(semver[0]?.major) ${me.red("===")} ${me.yellow("'0'")}) ${me.red("return")} ${me.yellow("'minor'")}
  ${me.red("return")} ${me.yellow("'latest'")}
}`, { markdown: e })}
`, rE = ({ markdown: e }) => `Specifies the package manager to use when looking up versions.

${Ai(Di({
  colAligns: ["right", "left"],
  markdown: e,
  rows: [
    ["npm", "System-installed npm. Default."],
    ["yarn", "System-installed yarn. Automatically used if yarn.lock is present."],
    ["pnpm", "System-installed pnpm. Automatically used if pnpm-lock.yaml is present."],
    ["bun", "System-installed bun. Automatically used if bun.lock or bun.lockb is present."]
  ]
}), e ? 0 : 4)}
`, iE = ({ markdown: e }) => `${`Specify whether ${((r) => e ? `\`${r}\`` : r)("--registry")} refers to a full npm registry or a simple JSON file.`}

${Ai(Di({
  colAligns: ["right", "left"],
  markdown: e,
  rows: [["npm", "Default npm registry"], ["json", `Checks versions from a file or url to a simple JSON registry. Must include the ${me.cyan("`--registry`")} option.

Example:

    ${me.gray("// local file")}
    ${me.cyan("$")} ncu --registryType json --registry ./registry.json

    ${me.gray("// url")}
    ${me.cyan("$")} ncu --registryType json --registry https://api.mydomain/registry.json

    ${me.gray("// you can omit --registryType when the registry ends in .json")}
    ${me.cyan("$")} ncu --registry ./registry.json
    ${me.cyan("$")} ncu --registry https://api.mydomain/registry.json

registry.json:

    {
      "prettier": "2.7.1",
      "typescript": "4.7.4"
    }

`]]
}), e ? 0 : 4)}
`, nE = ({ markdown: e }) => {
  const t = (r) => e ? `\`${r}\`` : r;
  return `Check peer dependencies of installed packages and filter updates to compatible versions.

${me.bold("Example")}:

The following example demonstrates how \`--peer\` works, and how it uses peer dependencies from upgraded modules.

The package ${me.bold("ncu-test-peer-update")} has two versions published:

- 1.0.0 has peer dependency ${t('"ncu-test-return-version": "1.0.x"')}
- 1.1.0 has peer dependency ${t('"ncu-test-return-version": "1.1.x"')}

Our test app has the following dependencies:

    "ncu-test-peer-update": "1.0.0",
    "ncu-test-return-version": "1.0.0"

The latest versions of these packages are:

    "ncu-test-peer-update": "1.1.0",
    "ncu-test-return-version": "2.0.0"

${me.bold("With `--peer`")}:

ncu upgrades packages to the highest version that still adheres to the peer dependency constraints:

    ncu-test-peer-update     1.0.0  →  1.${me.cyan("1.0")}
    ncu-test-return-version  1.0.0  →  1.${me.cyan("1.0")}

${me.bold("Without `--peer`")}:

As a comparison: without using the \`--peer\` option, ncu will suggest the latest versions, ignoring peer dependencies:

    ncu-test-peer-update     1.0.0  →  1.${me.cyan("1.0")}
    ncu-test-return-version  1.0.0  →  ${me.red("2.0.0")}
`;
}, sE = ({ markdown: e }) => `The cooldown option helps protect against supply chain attacks by requiring package versions to be published at least the given amount of time before considering them for upgrade.

The value can be a plain number (days) or a string with a unit suffix:

    --cooldown 7       7 days
    --cooldown 7d      7 days (same as above)
    --cooldown 12h     12 hours
    --cooldown 30m     30 minutes

Note that previous stable versions will ${me.bold("not")} be suggested. The package will be completely ignored if its latest published version is within the cooldown period. This is due to a limitation of the npm registry, which does not provide a way to query previous stable versions.

${me.bold("Example")}:

Let's examine how cooldown works with a package that has these versions available:

    1.0.0          Released 7 days ago    (initial version)
    1.1.0          Released 6 days ago    (minor update)
    1.1.1          Released 5 days ago    (patch update)
    1.2.0          Released 5 days ago    (minor update)
    2.0.0-beta.1   Released 5 days ago    (beta release)
    1.2.1          Released 4 days ago    (patch update)
    1.3.0          Released 4 days ago    (minor update) [latest]
    2.0.0-beta.2   Released 3 days ago    (beta release)
    2.0.0-beta.3   Released 2 days ago    (beta release) [beta]

${me.bold("With default target (latest)")}:

${Zt(`${me.cyan("$")} ncu --cooldown 5`, { markdown: e })}

No update will be suggested because:

- Latest version (1.3.0) is only 4 days old.
- Cooldown requires versions to be at least 5 days old
- Use \`--cooldown 4\` or lower to allow this update

${me.bold("With `@beta`/`@tag` target")}:

${Zt(`${me.cyan("$")} ncu --cooldown 3 --target @beta`, { markdown: e })}

No update will be suggested because:

- Current beta (2.0.0-beta.3) is only 2 days old
- Cooldown requires versions to be at least 3 days old
- Use \`--cooldown 2\` or lower to allow this update

${me.bold("With other targets")}:

${Zt(`${me.cyan("$")} ncu --cooldown 5 --target greatest|newest|minor|patch|semver`, { markdown: e })}

Each target will select the best version that is at least 5 days old:

    greatest → 1.2.0        (highest version number outside cooldown)
    newest   → 2.0.0-beta.1 (most recently published version outside cooldown)
    minor    → 1.2.0        (highest minor version outside cooldown)
    patch    → 1.1.1        (highest patch version outside cooldown)

${me.bold("Note for latest/tag targets")}:

> :warning: For packages that update frequently (e.g. daily releases), using a long cooldown period (7+ days) with the default \`--target latest\` or \`--target @tag\` may prevent all updates since new versions will be published before older ones meet the cooldown requirement. Please consider this when setting your cooldown period.

You can also provide a custom function in your .ncurc.js file or when importing npm-check-updates as a module.

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions.

${Zt(`${me.gray(`/** Set cooldown to 3 days but skip it for \`@my-company\` packages.
  @param packageName     The name of the dependency.
  @returns               Cooldown days restriction for given package.
*/`)}
${me.green("cooldown")}: packageName ${me.cyan("=>")} (packageName.startsWith(${me.yellow("'@my-company'")}) ? ${me.cyan("0")} : ${me.cyan("3")})`, { markdown: e })}
`, Ef = [
  {
    long: "cache",
    description: `Cache versions to a local cache file. Default \`--cacheFile\` is ${ka} and default \`--cacheExpiration\` is 10 minutes.`,
    type: "boolean"
  },
  {
    long: "cacheClear",
    description: "Clear the default cache, or the cache file specified by `--cacheFile`.",
    type: "boolean"
  },
  {
    long: "cacheExpiration",
    arg: "min",
    description: "Cache expiration in minutes. Only works with `--cache`.",
    parse: Ii("cacheExpiration"),
    default: 10,
    type: "number"
  },
  {
    long: "cacheFile",
    arg: "path",
    description: "Filepath for the cache file. Only works with `--cache`.",
    parse: (e) => {
      if (typeof e != "string") throw new Error("cacheFile must be a string");
      return Ye.isAbsolute(e) ? e : Ye.join(process.cwd(), e);
    },
    default: ka,
    type: "string"
  },
  {
    long: "color",
    description: "Force color in terminal.",
    type: "boolean"
  },
  {
    long: "concurrency",
    arg: "n",
    description: "Max number of concurrent HTTP requests to registry.",
    parse: Ii("concurrency"),
    default: 8,
    type: "number"
  },
  {
    long: "configFileName",
    arg: "s",
    description: "Config file name. (default: .ncurc.{json,yml,js,cjs})",
    type: "string"
  },
  {
    long: "configFilePath",
    arg: "path",
    description: "Directory of .ncurc config file. (default: directory of `packageFile`)",
    type: "string"
  },
  {
    long: "cwd",
    arg: "path",
    description: "Working directory in which npm will be executed.",
    type: "string"
  },
  {
    long: "deep",
    description: "Run recursively in current working directory. Alias of (`--packageFile '**/package.json'`).",
    type: "boolean"
  },
  {
    long: "dep",
    arg: "value",
    description: "Check one or more sections of dependencies only: dev, optional, peer, prod, or packageManager (comma-delimited).",
    default: [
      "prod",
      "dev",
      "optional",
      "packageManager"
    ],
    parse: (e) => e && typeof e == "string" ? e.split(",") : e,
    type: "string | readonly string[]"
  },
  {
    long: "deprecated",
    default: !0,
    description: "Include deprecated packages. Use `--no-deprecated` to exclude deprecated packages (20–25% slower).",
    type: "boolean"
  },
  {
    long: "doctor",
    short: "d",
    description: "Iteratively installs upgrades and runs tests to identify breaking upgrades. Requires `-u` to execute.",
    type: "boolean",
    help: W_
  },
  {
    long: "doctorInstall",
    arg: "command",
    description: "Specifies the install script to use in doctor mode. (default: `npm install` or the equivalent for your package manager)",
    type: "string"
  },
  {
    long: "doctorTest",
    arg: "command",
    description: "Specifies the test script to use in doctor mode. (default: `npm test`)",
    type: "string"
  },
  {
    long: "enginesNode",
    description: "Include only packages that satisfy engines.node as specified in the package file.",
    type: "boolean"
  },
  {
    long: "errorLevel",
    short: "e",
    arg: "n",
    description: "Set the error level. 1: exits with error code 0 if no errors occur. 2: exits with error code 0 if no packages need updating (useful for continuous integration).",
    parse: Ii("errorLevel"),
    default: 1,
    type: "number"
  },
  {
    long: "filter",
    short: "f",
    arg: "p",
    description: "Include only package names matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.",
    type: "string | RegExp | readonly (string | RegExp)[] | FilterFunction",
    parse: (e, t) => [...t || [], e],
    help: Z_
  },
  {
    long: "filterResults",
    arg: "fn",
    cli: !1,
    description: "Filters results based on a user provided predicate function after fetching new versions.",
    type: "FilterResultsFunction",
    help: V_
  },
  {
    long: "filterVersion",
    arg: "p",
    description: "Filter on package version using comma-or-space-delimited list, /regex/, or predicate function.",
    type: "string | RegExp | readonly (string | RegExp)[] | FilterFunction",
    parse: (e, t) => [...t || [], e],
    help: J_
  },
  {
    long: "format",
    arg: "value",
    description: "Modify the output formatting or show additional information. Specify one or more comma-delimited values: dep, group, ownerChanged, repo, time, lines, installedVersion.",
    parse: (e) => typeof e == "string" ? e.split(",") : e,
    default: [],
    type: "readonly string[]",
    choices: [
      "dep",
      "group",
      "homepage",
      "ownerChanged",
      "repo",
      "diff",
      "time",
      "lines",
      "installedVersion"
    ],
    help: Y_
  },
  {
    long: "global",
    short: "g",
    description: "Check global packages instead of in the current project.",
    type: "boolean"
  },
  {
    long: "groupFunction",
    arg: "fn",
    cli: !1,
    description: "Customize how packages are divided into groups when using `--format group`.",
    type: "GroupFunction",
    help: eE
  },
  {
    long: "install",
    arg: "value",
    description: "Control the auto-install behavior: always, never, prompt.",
    help: K_,
    default: "prompt",
    choices: [
      "always",
      "never",
      "prompt"
    ],
    type: "'always' | 'never' | 'prompt'"
  },
  {
    long: "interactive",
    short: "i",
    description: "Enable interactive prompts for each dependency; implies `-u` unless one of the json options are set.",
    type: "boolean"
  },
  {
    long: "jsonAll",
    short: "j",
    description: "Output new package file instead of human-readable message.",
    type: "boolean"
  },
  {
    long: "jsonDeps",
    description: "Like `jsonAll` but only lists `dependencies`, `devDependencies`, `optionalDependencies`, etc of the new package data.",
    type: "boolean"
  },
  {
    long: "jsonUpgraded",
    description: "Output upgraded dependencies in json.",
    type: "boolean"
  },
  {
    long: "loglevel",
    short: "l",
    arg: "n",
    description: "Amount to log: silent, error, minimal, warn, info, verbose, silly.",
    default: "warn",
    type: "string"
  },
  {
    long: "mergeConfig",
    description: "Merges nested configs with the root config file for `--deep` or `--packageFile` options. (default: false)",
    type: "boolean"
  },
  {
    long: "minimal",
    short: "m",
    description: "Do not upgrade newer versions that are already satisfied by the version range according to semver.",
    type: "boolean"
  },
  {
    long: "packageData",
    arg: "value",
    description: "Package file data (you can also use stdin).",
    type: "string | PackageFile"
  },
  {
    long: "packageFile",
    arg: "path|glob",
    description: "Package file(s) location. (default: ./package.json)",
    type: "string"
  },
  {
    long: "packageManager",
    short: "p",
    arg: "s",
    description: "npm, yarn, pnpm, deno, bun, staticRegistry (default: npm).",
    help: rE,
    type: "'npm' | 'yarn' | 'pnpm' | 'deno' | 'bun' | 'staticRegistry'"
  },
  {
    long: "peer",
    description: "Check peer dependencies of installed packages and filter updates to compatible versions.",
    type: "boolean",
    help: nE
  },
  {
    long: "pre",
    arg: "n",
    description: "Include prerelease versions, e.g. -alpha.0, -beta.5, -rc.2. Automatically set to 1 when `--target` is newest or greatest, or when the current version is a prerelease. (default: 0)",
    parse: (e) => {
      if (typeof e == "number") return !!e;
      if (typeof e == "string") return !!parseInt(e, 10);
      throw new Error("pre must be a number");
    },
    type: "number"
  },
  {
    long: "prefix",
    arg: "path",
    description: "Current working directory of npm.",
    type: "string"
  },
  {
    long: "registry",
    short: "r",
    arg: "uri",
    description: "Specify the registry to use when looking up package versions.",
    type: "string"
  },
  {
    long: "registryType",
    arg: "type",
    description: "Specify whether --registry refers to a full npm registry or a simple JSON file or url: npm, json. (default: npm)",
    help: iE,
    type: "'npm' | 'json'"
  },
  {
    long: "reject",
    short: "x",
    arg: "p",
    description: "Exclude packages matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.",
    type: "string | RegExp | readonly (string | RegExp)[] | FilterFunction",
    parse: (e, t) => [...t || [], e],
    help: X_
  },
  {
    long: "rejectVersion",
    arg: "p",
    description: "Exclude package.json versions using comma-or-space-delimited list, /regex/, or predicate function.",
    type: "string | RegExp | readonly (string | RegExp)[] | FilterFunction",
    parse: (e, t) => [...t || [], e],
    help: Q_
  },
  {
    long: "removeRange",
    description: "Remove version ranges from the final package version.",
    type: "boolean"
  },
  {
    long: "root",
    default: !0,
    description: "Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`.",
    type: "boolean"
  },
  {
    long: "retry",
    arg: "n",
    description: "Number of times to retry failed requests for package info.",
    parse: Ii("retry"),
    default: 3,
    type: "number"
  },
  {
    long: "silent",
    short: "s",
    description: "Don't output anything. Alias for `--loglevel` silent.",
    type: "boolean"
  },
  {
    long: "stdin",
    description: "Read package.json from stdin.",
    type: "string"
  },
  {
    long: "target",
    short: "t",
    arg: "value",
    description: "Determines the version to upgrade to: latest, newest, greatest, minor, patch, semver, `@[tag]`, or [function]. (default: latest)",
    help: tE,
    type: `${G_.map((e) => `'${e}'`).join(" | ")} | \`@\${string}\` | TargetFunction`
  },
  {
    long: "timeout",
    arg: "ms",
    description: "Global timeout in milliseconds. (default: no global timeout and 30 seconds per npm-registry-fetch)",
    parse: Ii("timeout"),
    type: "number"
  },
  {
    long: "upgrade",
    short: "u",
    description: "Overwrite package file with upgraded versions instead of just outputting to console.",
    type: "boolean"
  },
  {
    long: "verbose",
    description: "Log additional information for debugging. Alias for `--loglevel` verbose.",
    type: "boolean"
  },
  {
    long: "workspace",
    arg: "s",
    parse: (e, t) => [...t, e],
    default: [],
    description: "Run on one or more specified workspaces. Add `--no-root` to exclude the root project.",
    type: "readonly string[]"
  },
  {
    long: "workspaces",
    short: "w",
    description: "Run on all workspaces. Add `--no-root` to exclude the root project.",
    type: "boolean"
  },
  {
    long: "cooldown",
    short: "c",
    arg: "period",
    description: 'Sets a minimum age for package versions to be considered for upgrade. Accepts a number (days) or a string with a unit: "7d" (days), "12h" (hours), "30m" (minutes). Reduces the risk of installing newly published, potentially compromised packages.',
    type: "number | string | CooldownFunction",
    help: sE,
    parse: (e) => {
      if (typeof e == "number" || typeof e == "function") return e;
      if (typeof e == "string") {
        const t = Wn(e);
        return t !== null ? t : parseInt(e, 10);
      } else throw new Error("cooldown must be a number, string, or function");
    }
  }
], Br = Ef.reduce((e, t) => ({
  ...e,
  ...t.short ? { [t.short]: t } : null,
  ...t.long ? { [t.long]: t } : null
}), {}), oa = bs(Ef, (e) => e.long), aE = [
  "package-lock.json",
  "yarn.lock",
  "pnpm-lock.yaml",
  "deno.json",
  "deno.jsonc",
  "bun.lock",
  "bun.lockb"
];
async function bf(e, t = it.readdir) {
  try {
    const r = hi.homedir(), i = hi.tmpdir();
    let s = e.cwd ? e.cwd : e.packageFile ? Ye.dirname(e.packageFile) : ".";
    for (s = Ye.resolve(s); ; ) {
      const h = await t(s);
      for (const n of aE) if (h.includes(n)) return {
        directoryPath: s,
        filename: n
      };
      const a = Ye.resolve(s, "..");
      if (a === s || a === r || a === i) break;
      s = a;
    }
  } catch {
  }
  return null;
}
var Jr = ym(ou(import.meta.url)), oE = {
  "package-lock": "npm",
  yarn: "yarn",
  "pnpm-lock": "pnpm",
  deno: "deno",
  bun: "bun"
}, uE = () => {
  const e = process.env.npm_config_user_agent ?? "", t = process.env.npm_execpath ?? "";
  return e.startsWith("yarn/") || t.includes("yarn") || Jr.includes("/yarn/") || Jr.includes("\\Yarn\\") ? "yarn" : e.startsWith("pnpm/") || t.includes("pnpm") || Jr.includes("/pnpm/") || Jr.includes("\\pnpm\\") ? "pnpm" : e.startsWith("bun/") || typeof Bun < "u" || process.versions.bun || Jr.includes("/.bun/") || Jr.includes("\\.bun\\") ? "bun" : "npm";
}, La = async (e, t = it.readdir) => {
  if (e.packageManager) return e.packageManager;
  if (e.global) return uE();
  const r = (await bf(e, t))?.filename;
  return r ? oE[r.split(".")[0]] : "npm";
}, lE = /* @__PURE__ */ j(((e, t) => {
  t.exports = h, h.sync = a;
  var r = ve("fs");
  function i(n, l) {
    var u = l.pathExt !== void 0 ? l.pathExt : process.env.PATHEXT;
    if (!u || (u = u.split(";"), u.indexOf("") !== -1)) return !0;
    for (var f = 0; f < u.length; f++) {
      var o = u[f].toLowerCase();
      if (o && n.substr(-o.length).toLowerCase() === o) return !0;
    }
    return !1;
  }
  function s(n, l, u) {
    return !n.isSymbolicLink() && !n.isFile() ? !1 : i(l, u);
  }
  function h(n, l, u) {
    r.stat(n, function(f, o) {
      u(f, f ? !1 : s(o, n, l));
    });
  }
  function a(n, l) {
    return s(r.statSync(n), n, l);
  }
})), cE = /* @__PURE__ */ j(((e, t) => {
  t.exports = i, i.sync = s;
  var r = ve("fs");
  function i(n, l, u) {
    r.stat(n, function(f, o) {
      u(f, f ? !1 : h(o, l));
    });
  }
  function s(n, l) {
    return h(r.statSync(n), l);
  }
  function h(n, l) {
    return n.isFile() && a(n, l);
  }
  function a(n, l) {
    var u = n.mode, f = n.uid, o = n.gid, c = l.uid !== void 0 ? l.uid : process.getuid && process.getuid(), d = l.gid !== void 0 ? l.gid : process.getgid && process.getgid(), p = parseInt("100", 8), m = parseInt("010", 8), g = parseInt("001", 8), v = p | m;
    return u & g || u & m && o === d || u & p && f === c || u & v && c === 0;
  }
})), hE = /* @__PURE__ */ j(((e, t) => {
  ve("fs");
  var r;
  process.platform === "win32" || global.TESTING_WINDOWS ? r = lE() : r = cE(), t.exports = i, i.sync = s;
  function i(h, a, n) {
    if (typeof a == "function" && (n = a, a = {}), !n) {
      if (typeof Promise != "function") throw new TypeError("callback not provided");
      return new Promise(function(l, u) {
        i(h, a || {}, function(f, o) {
          f ? u(f) : l(o);
        });
      });
    }
    r(h, a || {}, function(l, u) {
      l && (l.code === "EACCES" || a && a.ignoreErrors) && (l = null, u = !1), n(l, u);
    });
  }
  function s(h, a) {
    try {
      return r.sync(h, a || {});
    } catch (n) {
      if (a && a.ignoreErrors || n.code === "EACCES") return !1;
      throw n;
    }
  }
})), fE = /* @__PURE__ */ j(((e, t) => {
  var r = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", i = ve("path"), s = r ? ";" : ":", h = hE(), a = (f) => Object.assign(/* @__PURE__ */ new Error(`not found: ${f}`), { code: "ENOENT" }), n = (f, o) => {
    const c = o.colon || s, d = f.match(/\//) || r && f.match(/\\/) ? [""] : [...r ? [process.cwd()] : [], ...(o.path || process.env.PATH || "").split(c)], p = r ? o.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "", m = r ? p.split(c) : [""];
    return r && f.indexOf(".") !== -1 && m[0] !== "" && m.unshift(""), {
      pathEnv: d,
      pathExt: m,
      pathExtExe: p
    };
  }, l = (f, o, c) => {
    typeof o == "function" && (c = o, o = {}), o || (o = {});
    const { pathEnv: d, pathExt: p, pathExtExe: m } = n(f, o), g = [], v = (w) => new Promise((_, b) => {
      if (w === d.length) return o.all && g.length ? _(g) : b(a(f));
      const E = d[w], D = /^".*"$/.test(E) ? E.slice(1, -1) : E, S = i.join(D, f);
      _(y(!D && /^\.[\\\/]/.test(f) ? f.slice(0, 2) + S : S, w, 0));
    }), y = (w, _, b) => new Promise((E, D) => {
      if (b === p.length) return E(v(_ + 1));
      const S = p[b];
      h(w + S, { pathExt: m }, (C, T) => {
        if (!C && T) if (o.all) g.push(w + S);
        else return E(w + S);
        return E(y(w, _, b + 1));
      });
    });
    return c ? v(0).then((w) => c(null, w), c) : v(0);
  }, u = (f, o) => {
    o = o || {};
    const { pathEnv: c, pathExt: d, pathExtExe: p } = n(f, o), m = [];
    for (let g = 0; g < c.length; g++) {
      const v = c[g], y = /^".*"$/.test(v) ? v.slice(1, -1) : v, w = i.join(y, f), _ = !y && /^\.[\\\/]/.test(f) ? f.slice(0, 2) + w : w;
      for (let b = 0; b < d.length; b++) {
        const E = _ + d[b];
        try {
          if (h.sync(E, { pathExt: p })) if (o.all) m.push(E);
          else return E;
        } catch {
        }
      }
    }
    if (o.all && m.length) return m;
    if (o.nothrow) return null;
    throw a(f);
  };
  t.exports = l, l.sync = u;
})), dE = /* @__PURE__ */ j(((e, t) => {
  var r = (i = {}) => {
    const s = i.env || process.env;
    return (i.platform || process.platform) !== "win32" ? "PATH" : Object.keys(s).reverse().find((h) => h.toUpperCase() === "PATH") || "Path";
  };
  t.exports = r, t.exports.default = r;
})), pE = /* @__PURE__ */ j(((e, t) => {
  var r = ve("path"), i = fE(), s = dE();
  function h(n, l) {
    const u = n.options.env || process.env, f = process.cwd(), o = n.options.cwd != null, c = o && process.chdir !== void 0 && !process.chdir.disabled;
    if (c) try {
      process.chdir(n.options.cwd);
    } catch {
    }
    let d;
    try {
      d = i.sync(n.command, {
        path: u[s({ env: u })],
        pathExt: l ? r.delimiter : void 0
      });
    } catch {
    } finally {
      c && process.chdir(f);
    }
    return d && (d = r.resolve(o ? n.options.cwd : "", d)), d;
  }
  function a(n) {
    return h(n) || h(n, !0);
  }
  t.exports = a;
})), gE = /* @__PURE__ */ j(((e, t) => {
  var r = /([()\][%!^"`<>&|;, *?])/g;
  function i(h) {
    return h = h.replace(r, "^$1"), h;
  }
  function s(h, a) {
    return h = `${h}`, h = h.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"'), h = h.replace(/(?=(\\+?)?)\1$/, "$1$1"), h = `"${h}"`, h = h.replace(r, "^$1"), a && (h = h.replace(r, "^$1")), h;
  }
  t.exports.command = i, t.exports.argument = s;
})), mE = /* @__PURE__ */ j(((e, t) => {
  t.exports = /^#!(.*)/;
})), vE = /* @__PURE__ */ j(((e, t) => {
  var r = mE();
  t.exports = (i = "") => {
    const s = i.match(r);
    if (!s) return null;
    const [h, a] = s[0].replace(/#! ?/, "").split(" "), n = h.split("/").pop();
    return n === "env" ? a : a ? `${n} ${a}` : n;
  };
})), yE = /* @__PURE__ */ j(((e, t) => {
  var r = ve("fs"), i = vE();
  function s(h) {
    const n = Buffer.alloc(150);
    let l;
    try {
      l = r.openSync(h, "r"), r.readSync(l, n, 0, 150, 0), r.closeSync(l);
    } catch {
    }
    return i(n.toString());
  }
  t.exports = s;
})), _E = /* @__PURE__ */ j(((e, t) => {
  var r = ve("path"), i = pE(), s = gE(), h = yE(), a = process.platform === "win32", n = /\.(?:com|exe)$/i, l = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
  function u(c) {
    c.file = i(c);
    const d = c.file && h(c.file);
    return d ? (c.args.unshift(c.file), c.command = d, i(c)) : c.file;
  }
  function f(c) {
    if (!a) return c;
    const d = u(c), p = !n.test(d);
    if (c.options.forceShell || p) {
      const m = l.test(d);
      c.command = r.normalize(c.command), c.command = s.command(c.command), c.args = c.args.map((g) => s.argument(g, m)), c.args = [
        "/d",
        "/s",
        "/c",
        `"${[c.command].concat(c.args).join(" ")}"`
      ], c.command = process.env.comspec || "cmd.exe", c.options.windowsVerbatimArguments = !0;
    }
    return c;
  }
  function o(c, d, p) {
    d && !Array.isArray(d) && (p = d, d = null), d = d ? d.slice(0) : [], p = Object.assign({}, p);
    const m = {
      command: c,
      args: d,
      options: p,
      file: void 0,
      original: {
        command: c,
        args: d
      }
    };
    return p.shell ? m : f(m);
  }
  t.exports = o;
})), EE = /* @__PURE__ */ j(((e, t) => {
  var r = process.platform === "win32";
  function i(n, l) {
    return Object.assign(/* @__PURE__ */ new Error(`${l} ${n.command} ENOENT`), {
      code: "ENOENT",
      errno: "ENOENT",
      syscall: `${l} ${n.command}`,
      path: n.command,
      spawnargs: n.args
    });
  }
  function s(n, l) {
    if (!r) return;
    const u = n.emit;
    n.emit = function(f, o) {
      if (f === "exit") {
        const c = h(o, l);
        if (c) return u.call(n, "error", c);
      }
      return u.apply(n, arguments);
    };
  }
  function h(n, l) {
    return r && n === 1 && !l.file ? i(l.original, "spawn") : null;
  }
  function a(n, l) {
    return r && n === 1 && !l.file ? i(l.original, "spawnSync") : null;
  }
  t.exports = {
    hookChildProcess: s,
    verifyENOENT: h,
    verifyENOENTSync: a,
    notFoundError: i
  };
})), bE = /* @__PURE__ */ j(((e, t) => {
  var r = ve("child_process"), i = _E(), s = EE();
  function h(n, l, u) {
    const f = i(n, l, u), o = r.spawn(f.command, f.args, f.options);
    return s.hookChildProcess(o, f), o;
  }
  function a(n, l, u) {
    const f = i(n, l, u), o = r.spawnSync(f.command, f.args, f.options);
    return o.error = o.error || s.verifyENOENTSync(o.status, f), o;
  }
  t.exports = h, t.exports.spawn = h, t.exports.sync = a, t.exports._parse = i, t.exports._enoent = s;
})), wE = /* @__PURE__ */ j(((e, t) => {
  var r = bE(), i = (s, h, a = {}, n = {}) => {
    a.rejectOnError === void 0 && (a.rejectOnError = !0);
    let l = "", u = "";
    const f = r(s, h, n);
    return new Promise((o, c) => {
      a.stdin !== void 0 && a.stdin != null && f.stdin.write(a.stdin), f.stdin.end(), f.stdout.on("data", (d) => {
        l += d, a.stdout && a.stdout(d);
      }), f.stderr.on("data", (d) => {
        u += d, a.stderr && a.stderr(d);
      }), a.rejectOnError && f.addListener("error", c), f.on("close", (d) => {
        d !== 0 && a.rejectOnError ? c(u) : o({
          stdout: l,
          stderr: u
        });
      });
    });
  };
  t.exports = i;
})), Pr = /* @__PURE__ */ zt(wE(), 1), Pe;
(function(e) {
  e[e.BACKSPACE = 8] = "BACKSPACE", e[e.FORM_FEED = 12] = "FORM_FEED", e[e.NEWLINE = 10] = "NEWLINE", e[e.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", e[e.TAB = 9] = "TAB", e[e.SPACE = 32] = "SPACE", e[e.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", e[e.QUOTATION_MARK = 34] = "QUOTATION_MARK", e[e.NUMBER_SIGN = 35] = "NUMBER_SIGN", e[e.DOLLAR_SIGN = 36] = "DOLLAR_SIGN", e[e.PERCENT_SIGN = 37] = "PERCENT_SIGN", e[e.AMPERSAND = 38] = "AMPERSAND", e[e.APOSTROPHE = 39] = "APOSTROPHE", e[e.LEFT_PARENTHESIS = 40] = "LEFT_PARENTHESIS", e[e.RIGHT_PARENTHESIS = 41] = "RIGHT_PARENTHESIS", e[e.ASTERISK = 42] = "ASTERISK", e[e.PLUS_SIGN = 43] = "PLUS_SIGN", e[e.COMMA = 44] = "COMMA", e[e.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", e[e.FULL_STOP = 46] = "FULL_STOP", e[e.SOLIDUS = 47] = "SOLIDUS", e[e.DIGIT_ZERO = 48] = "DIGIT_ZERO", e[e.DIGIT_ONE = 49] = "DIGIT_ONE", e[e.DIGIT_TWO = 50] = "DIGIT_TWO", e[e.DIGIT_THREE = 51] = "DIGIT_THREE", e[e.DIGIT_FOUR = 52] = "DIGIT_FOUR", e[e.DIGIT_FIVE = 53] = "DIGIT_FIVE", e[e.DIGIT_SIX = 54] = "DIGIT_SIX", e[e.DIGIT_SEVEN = 55] = "DIGIT_SEVEN", e[e.DIGIT_EIGHT = 56] = "DIGIT_EIGHT", e[e.DIGIT_NINE = 57] = "DIGIT_NINE", e[e.COLON = 58] = "COLON", e[e.SEMICOLON = 59] = "SEMICOLON", e[e.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", e[e.EQUALS_SIGN = 61] = "EQUALS_SIGN", e[e.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", e[e.QUESTION_MARK = 63] = "QUESTION_MARK", e[e.COMMERCIAL_AT = 64] = "COMMERCIAL_AT", e[e.LATIN_CAPITAL_LETTER_A = 65] = "LATIN_CAPITAL_LETTER_A", e[e.LATIN_CAPITAL_LETTER_B = 66] = "LATIN_CAPITAL_LETTER_B", e[e.LATIN_CAPITAL_LETTER_C = 67] = "LATIN_CAPITAL_LETTER_C", e[e.LATIN_CAPITAL_LETTER_D = 68] = "LATIN_CAPITAL_LETTER_D", e[e.LATIN_CAPITAL_LETTER_E = 69] = "LATIN_CAPITAL_LETTER_E", e[e.LATIN_CAPITAL_LETTER_F = 70] = "LATIN_CAPITAL_LETTER_F", e[e.LATIN_CAPITAL_LETTER_G = 71] = "LATIN_CAPITAL_LETTER_G", e[e.LATIN_CAPITAL_LETTER_H = 72] = "LATIN_CAPITAL_LETTER_H", e[e.LATIN_CAPITAL_LETTER_I = 73] = "LATIN_CAPITAL_LETTER_I", e[e.LATIN_CAPITAL_LETTER_J = 74] = "LATIN_CAPITAL_LETTER_J", e[e.LATIN_CAPITAL_LETTER_K = 75] = "LATIN_CAPITAL_LETTER_K", e[e.LATIN_CAPITAL_LETTER_L = 76] = "LATIN_CAPITAL_LETTER_L", e[e.LATIN_CAPITAL_LETTER_M = 77] = "LATIN_CAPITAL_LETTER_M", e[e.LATIN_CAPITAL_LETTER_N = 78] = "LATIN_CAPITAL_LETTER_N", e[e.LATIN_CAPITAL_LETTER_O = 79] = "LATIN_CAPITAL_LETTER_O", e[e.LATIN_CAPITAL_LETTER_P = 80] = "LATIN_CAPITAL_LETTER_P", e[e.LATIN_CAPITAL_LETTER_Q = 81] = "LATIN_CAPITAL_LETTER_Q", e[e.LATIN_CAPITAL_LETTER_R = 82] = "LATIN_CAPITAL_LETTER_R", e[e.LATIN_CAPITAL_LETTER_S = 83] = "LATIN_CAPITAL_LETTER_S", e[e.LATIN_CAPITAL_LETTER_T = 84] = "LATIN_CAPITAL_LETTER_T", e[e.LATIN_CAPITAL_LETTER_U = 85] = "LATIN_CAPITAL_LETTER_U", e[e.LATIN_CAPITAL_LETTER_V = 86] = "LATIN_CAPITAL_LETTER_V", e[e.LATIN_CAPITAL_LETTER_W = 87] = "LATIN_CAPITAL_LETTER_W", e[e.LATIN_CAPITAL_LETTER_X = 88] = "LATIN_CAPITAL_LETTER_X", e[e.LATIN_CAPITAL_LETTER_Y = 89] = "LATIN_CAPITAL_LETTER_Y", e[e.LATIN_CAPITAL_LETTER_Z = 90] = "LATIN_CAPITAL_LETTER_Z", e[e.LEFT_SQUARE_BRACKET = 91] = "LEFT_SQUARE_BRACKET", e[e.REVERSE_SOLIDUS = 92] = "REVERSE_SOLIDUS", e[e.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", e[e.CIRCUMFLEX_ACCENT = 94] = "CIRCUMFLEX_ACCENT", e[e.LOW_LINE = 95] = "LOW_LINE", e[e.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", e[e.LATIN_SMALL_LETTER_A = 97] = "LATIN_SMALL_LETTER_A", e[e.LATIN_SMALL_LETTER_B = 98] = "LATIN_SMALL_LETTER_B", e[e.LATIN_SMALL_LETTER_C = 99] = "LATIN_SMALL_LETTER_C", e[e.LATIN_SMALL_LETTER_D = 100] = "LATIN_SMALL_LETTER_D", e[e.LATIN_SMALL_LETTER_E = 101] = "LATIN_SMALL_LETTER_E", e[e.LATIN_SMALL_LETTER_F = 102] = "LATIN_SMALL_LETTER_F", e[e.LATIN_SMALL_LETTER_G = 103] = "LATIN_SMALL_LETTER_G", e[e.LATIN_SMALL_LETTER_H = 104] = "LATIN_SMALL_LETTER_H", e[e.LATIN_SMALL_LETTER_I = 105] = "LATIN_SMALL_LETTER_I", e[e.LATIN_SMALL_LETTER_J = 106] = "LATIN_SMALL_LETTER_J", e[e.LATIN_SMALL_LETTER_K = 107] = "LATIN_SMALL_LETTER_K", e[e.LATIN_SMALL_LETTER_L = 108] = "LATIN_SMALL_LETTER_L", e[e.LATIN_SMALL_LETTER_M = 109] = "LATIN_SMALL_LETTER_M", e[e.LATIN_SMALL_LETTER_N = 110] = "LATIN_SMALL_LETTER_N", e[e.LATIN_SMALL_LETTER_O = 111] = "LATIN_SMALL_LETTER_O", e[e.LATIN_SMALL_LETTER_P = 112] = "LATIN_SMALL_LETTER_P", e[e.LATIN_SMALL_LETTER_Q = 113] = "LATIN_SMALL_LETTER_Q", e[e.LATIN_SMALL_LETTER_R = 114] = "LATIN_SMALL_LETTER_R", e[e.LATIN_SMALL_LETTER_S = 115] = "LATIN_SMALL_LETTER_S", e[e.LATIN_SMALL_LETTER_T = 116] = "LATIN_SMALL_LETTER_T", e[e.LATIN_SMALL_LETTER_U = 117] = "LATIN_SMALL_LETTER_U", e[e.LATIN_SMALL_LETTER_V = 118] = "LATIN_SMALL_LETTER_V", e[e.LATIN_SMALL_LETTER_W = 119] = "LATIN_SMALL_LETTER_W", e[e.LATIN_SMALL_LETTER_X = 120] = "LATIN_SMALL_LETTER_X", e[e.LATIN_SMALL_LETTER_Y = 121] = "LATIN_SMALL_LETTER_Y", e[e.LATIN_SMALL_LETTER_Z = 122] = "LATIN_SMALL_LETTER_Z", e[e.LEFT_CURLY_BRACKET = 123] = "LEFT_CURLY_BRACKET", e[e.VERTICAL_LINE = 124] = "VERTICAL_LINE", e[e.RIGHT_CURLY_BRACKET = 125] = "RIGHT_CURLY_BRACKET", e[e.TILDE = 126] = "TILDE";
})(Pe || (Pe = {}));
var DE = {
  [Pe.QUOTATION_MARK]: Pe.QUOTATION_MARK,
  [Pe.REVERSE_SOLIDUS]: Pe.REVERSE_SOLIDUS,
  [Pe.SOLIDUS]: Pe.SOLIDUS,
  [Pe.LATIN_SMALL_LETTER_B]: Pe.BACKSPACE,
  [Pe.LATIN_SMALL_LETTER_F]: Pe.FORM_FEED,
  [Pe.LATIN_SMALL_LETTER_N]: Pe.NEWLINE,
  [Pe.LATIN_SMALL_LETTER_R]: Pe.CARRIAGE_RETURN,
  [Pe.LATIN_SMALL_LETTER_T]: Pe.TAB
}, yc = class {
  constructor() {
    this.decoder = new TextDecoder("utf-8"), this.strings = [], this.byteLength = 0;
  }
  appendChar(e) {
    this.strings.push(String.fromCharCode(e)), this.byteLength += 1;
  }
  appendBuf(e, t = 0, r = e.length) {
    this.strings.push(this.decoder.decode(e.subarray(t, r))), this.byteLength += r - t;
  }
  reset() {
    this.strings = [], this.byteLength = 0;
  }
  toString() {
    return this.strings.join("");
  }
}, _c = class {
  constructor(e) {
    this.decoder = new TextDecoder("utf-8"), this.bufferOffset = 0, this.string = "", this.byteLength = 0, this.buffer = new Uint8Array(e);
  }
  appendChar(e) {
    this.bufferOffset >= this.buffer.length && this.flushStringBuffer(), this.buffer[this.bufferOffset++] = e, this.byteLength += 1;
  }
  appendBuf(e, t = 0, r = e.length) {
    const i = r - t;
    this.bufferOffset + i > this.buffer.length && this.flushStringBuffer(), this.buffer.set(e.subarray(t, r), this.bufferOffset), this.bufferOffset += i, this.byteLength += i;
  }
  flushStringBuffer() {
    this.string += this.decoder.decode(this.buffer.subarray(0, this.bufferOffset)), this.bufferOffset = 0;
  }
  reset() {
    this.string = "", this.bufferOffset = 0, this.byteLength = 0;
  }
  toString() {
    return this.flushStringBuffer(), this.string;
  }
}, Fa;
(function(e) {
  e[e.LEFT_BRACE = 0] = "LEFT_BRACE", e[e.RIGHT_BRACE = 1] = "RIGHT_BRACE", e[e.LEFT_BRACKET = 2] = "LEFT_BRACKET", e[e.RIGHT_BRACKET = 3] = "RIGHT_BRACKET", e[e.COLON = 4] = "COLON", e[e.COMMA = 5] = "COMMA", e[e.TRUE = 6] = "TRUE", e[e.FALSE = 7] = "FALSE", e[e.NULL = 8] = "NULL", e[e.STRING = 9] = "STRING", e[e.NUMBER = 10] = "NUMBER", e[e.SEPARATOR = 11] = "SEPARATOR";
})(Fa || (Fa = {}));
var Je = Fa, ke;
(function(e) {
  e[e.START = 0] = "START", e[e.ENDED = 1] = "ENDED", e[e.ERROR = 2] = "ERROR", e[e.TRUE1 = 3] = "TRUE1", e[e.TRUE2 = 4] = "TRUE2", e[e.TRUE3 = 5] = "TRUE3", e[e.FALSE1 = 6] = "FALSE1", e[e.FALSE2 = 7] = "FALSE2", e[e.FALSE3 = 8] = "FALSE3", e[e.FALSE4 = 9] = "FALSE4", e[e.NULL1 = 10] = "NULL1", e[e.NULL2 = 11] = "NULL2", e[e.NULL3 = 12] = "NULL3", e[e.STRING_DEFAULT = 13] = "STRING_DEFAULT", e[e.STRING_AFTER_BACKSLASH = 14] = "STRING_AFTER_BACKSLASH", e[e.STRING_UNICODE_DIGIT_1 = 15] = "STRING_UNICODE_DIGIT_1", e[e.STRING_UNICODE_DIGIT_2 = 16] = "STRING_UNICODE_DIGIT_2", e[e.STRING_UNICODE_DIGIT_3 = 17] = "STRING_UNICODE_DIGIT_3", e[e.STRING_UNICODE_DIGIT_4 = 18] = "STRING_UNICODE_DIGIT_4", e[e.STRING_INCOMPLETE_CHAR = 19] = "STRING_INCOMPLETE_CHAR", e[e.NUMBER_AFTER_INITIAL_MINUS = 20] = "NUMBER_AFTER_INITIAL_MINUS", e[e.NUMBER_AFTER_INITIAL_ZERO = 21] = "NUMBER_AFTER_INITIAL_ZERO", e[e.NUMBER_AFTER_INITIAL_NON_ZERO = 22] = "NUMBER_AFTER_INITIAL_NON_ZERO", e[e.NUMBER_AFTER_FULL_STOP = 23] = "NUMBER_AFTER_FULL_STOP", e[e.NUMBER_AFTER_DECIMAL = 24] = "NUMBER_AFTER_DECIMAL", e[e.NUMBER_AFTER_E = 25] = "NUMBER_AFTER_E", e[e.NUMBER_AFTER_E_AND_SIGN = 26] = "NUMBER_AFTER_E_AND_SIGN", e[e.NUMBER_AFTER_E_AND_DIGIT = 27] = "NUMBER_AFTER_E_AND_DIGIT", e[e.SEPARATOR = 28] = "SEPARATOR", e[e.BOM_OR_START = 29] = "BOM_OR_START", e[e.BOM = 30] = "BOM";
})(ke || (ke = {}));
function Ec(e) {
  return [
    "START",
    "ENDED",
    "ERROR",
    "TRUE1",
    "TRUE2",
    "TRUE3",
    "FALSE1",
    "FALSE2",
    "FALSE3",
    "FALSE4",
    "NULL1",
    "NULL2",
    "NULL3",
    "STRING_DEFAULT",
    "STRING_AFTER_BACKSLASH",
    "STRING_UNICODE_DIGIT_1",
    "STRING_UNICODE_DIGIT_2",
    "STRING_UNICODE_DIGIT_3",
    "STRING_UNICODE_DIGIT_4",
    "STRING_INCOMPLETE_CHAR",
    "NUMBER_AFTER_INITIAL_MINUS",
    "NUMBER_AFTER_INITIAL_ZERO",
    "NUMBER_AFTER_INITIAL_NON_ZERO",
    "NUMBER_AFTER_FULL_STOP",
    "NUMBER_AFTER_DECIMAL",
    "NUMBER_AFTER_E",
    "NUMBER_AFTER_E_AND_SIGN",
    "NUMBER_AFTER_E_AND_DIGIT",
    "SEPARATOR",
    "BOM_OR_START",
    "BOM"
  ][e];
}
var AE = {
  stringBufferSize: 0,
  numberBufferSize: 0,
  separator: void 0,
  emitPartialTokens: !1
}, ua = class wf extends Error {
  constructor(t) {
    super(t), Object.setPrototypeOf(this, wf.prototype);
  }
}, SE = class {
  constructor(e) {
    this.state = ke.BOM_OR_START, this.bomIndex = 0, this.separatorIndex = 0, this.escapedCharsByteLength = 0, this.bytes_remaining = 0, this.bytes_in_sequence = 0, this.char_split_buffer = new Uint8Array(4), this.encoder = new TextEncoder(), this.offset = -1, e = Object.assign(Object.assign({}, AE), e), this.emitPartialTokens = e.emitPartialTokens === !0, this.bufferedString = e.stringBufferSize && e.stringBufferSize > 4 ? new _c(e.stringBufferSize) : new yc(), this.bufferedNumber = e.numberBufferSize && e.numberBufferSize > 0 ? new _c(e.numberBufferSize) : new yc(), this.separator = e.separator, this.separatorBytes = e.separator ? this.encoder.encode(e.separator) : void 0;
  }
  get isEnded() {
    return this.state === ke.ENDED;
  }
  write(e) {
    try {
      let t;
      if (e instanceof Uint8Array) t = e;
      else if (typeof e == "string") t = this.encoder.encode(e);
      else if (Array.isArray(e)) t = Uint8Array.from(e);
      else if (ArrayBuffer.isView(e)) t = new Uint8Array(e.buffer, e.byteOffset, e.byteLength);
      else throw new TypeError("Unexpected type. The `write` function only accepts Arrays, TypedArrays and Strings.");
      for (let r = 0; r < t.length; r += 1) {
        const i = t[r];
        switch (this.state) {
          case ke.BOM_OR_START:
            if (e instanceof Uint8Array && i === 239) {
              this.bom = [
                239,
                187,
                191
              ], this.bomIndex += 1, this.state = ke.BOM;
              continue;
            }
            if (e instanceof Uint16Array) {
              if (i === 254) {
                this.bom = [254, 255], this.bomIndex += 1, this.state = ke.BOM;
                continue;
              }
              if (i === 255) {
                this.bom = [255, 254], this.bomIndex += 1, this.state = ke.BOM;
                continue;
              }
            }
            if (e instanceof Uint32Array) {
              if (i === 0) {
                this.bom = [
                  0,
                  0,
                  254,
                  255
                ], this.bomIndex += 1, this.state = ke.BOM;
                continue;
              }
              if (i === 255) {
                this.bom = [
                  255,
                  254,
                  0,
                  0
                ], this.bomIndex += 1, this.state = ke.BOM;
                continue;
              }
            }
          case ke.START:
            if (this.offset += 1, this.separatorBytes && i === this.separatorBytes[0]) {
              if (this.separatorBytes.length === 1) {
                this.state = ke.START, this.onToken({
                  token: Je.SEPARATOR,
                  value: this.separator,
                  offset: this.offset + this.separatorBytes.length - 1
                });
                continue;
              }
              this.state = ke.SEPARATOR;
              continue;
            }
            if (i === Pe.SPACE || i === Pe.NEWLINE || i === Pe.CARRIAGE_RETURN || i === Pe.TAB) continue;
            if (i === Pe.LEFT_CURLY_BRACKET) {
              this.onToken({
                token: Je.LEFT_BRACE,
                value: "{",
                offset: this.offset
              });
              continue;
            }
            if (i === Pe.RIGHT_CURLY_BRACKET) {
              this.onToken({
                token: Je.RIGHT_BRACE,
                value: "}",
                offset: this.offset
              });
              continue;
            }
            if (i === Pe.LEFT_SQUARE_BRACKET) {
              this.onToken({
                token: Je.LEFT_BRACKET,
                value: "[",
                offset: this.offset
              });
              continue;
            }
            if (i === Pe.RIGHT_SQUARE_BRACKET) {
              this.onToken({
                token: Je.RIGHT_BRACKET,
                value: "]",
                offset: this.offset
              });
              continue;
            }
            if (i === Pe.COLON) {
              this.onToken({
                token: Je.COLON,
                value: ":",
                offset: this.offset
              });
              continue;
            }
            if (i === Pe.COMMA) {
              this.onToken({
                token: Je.COMMA,
                value: ",",
                offset: this.offset
              });
              continue;
            }
            if (i === Pe.LATIN_SMALL_LETTER_T) {
              this.state = ke.TRUE1;
              continue;
            }
            if (i === Pe.LATIN_SMALL_LETTER_F) {
              this.state = ke.FALSE1;
              continue;
            }
            if (i === Pe.LATIN_SMALL_LETTER_N) {
              this.state = ke.NULL1;
              continue;
            }
            if (i === Pe.QUOTATION_MARK) {
              this.bufferedString.reset(), this.escapedCharsByteLength = 0, this.state = ke.STRING_DEFAULT;
              continue;
            }
            if (i >= Pe.DIGIT_ONE && i <= Pe.DIGIT_NINE) {
              this.bufferedNumber.reset(), this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_INITIAL_NON_ZERO;
              continue;
            }
            if (i === Pe.DIGIT_ZERO) {
              this.bufferedNumber.reset(), this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_INITIAL_ZERO;
              continue;
            }
            if (i === Pe.HYPHEN_MINUS) {
              this.bufferedNumber.reset(), this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_INITIAL_MINUS;
              continue;
            }
            break;
          case ke.STRING_DEFAULT:
            if (i === Pe.QUOTATION_MARK) {
              const h = this.bufferedString.toString();
              this.state = ke.START, this.onToken({
                token: Je.STRING,
                value: h,
                offset: this.offset
              }), this.offset += this.escapedCharsByteLength + this.bufferedString.byteLength + 1;
              continue;
            }
            if (i === Pe.REVERSE_SOLIDUS) {
              this.state = ke.STRING_AFTER_BACKSLASH;
              continue;
            }
            if (i >= 128) {
              if (i >= 194 && i <= 223 ? this.bytes_in_sequence = 2 : i <= 239 ? this.bytes_in_sequence = 3 : this.bytes_in_sequence = 4, this.bytes_in_sequence <= t.length - r) {
                this.bufferedString.appendBuf(t, r, r + this.bytes_in_sequence), r += this.bytes_in_sequence - 1;
                continue;
              }
              this.bytes_remaining = r + this.bytes_in_sequence - t.length, this.char_split_buffer.set(t.subarray(r)), r = t.length - 1, this.state = ke.STRING_INCOMPLETE_CHAR;
              continue;
            }
            if (i >= Pe.SPACE) {
              this.bufferedString.appendChar(i);
              continue;
            }
            break;
          case ke.STRING_INCOMPLETE_CHAR:
            this.char_split_buffer.set(t.subarray(r, r + this.bytes_remaining), this.bytes_in_sequence - this.bytes_remaining), this.bufferedString.appendBuf(this.char_split_buffer, 0, this.bytes_in_sequence), r = this.bytes_remaining - 1, this.state = ke.STRING_DEFAULT;
            continue;
          case ke.STRING_AFTER_BACKSLASH:
            const s = DE[i];
            if (s) {
              this.bufferedString.appendChar(s), this.escapedCharsByteLength += 1, this.state = ke.STRING_DEFAULT;
              continue;
            }
            if (i === Pe.LATIN_SMALL_LETTER_U) {
              this.unicode = "", this.state = ke.STRING_UNICODE_DIGIT_1;
              continue;
            }
            break;
          case ke.STRING_UNICODE_DIGIT_1:
          case ke.STRING_UNICODE_DIGIT_2:
          case ke.STRING_UNICODE_DIGIT_3:
            if (i >= Pe.DIGIT_ZERO && i <= Pe.DIGIT_NINE || i >= Pe.LATIN_CAPITAL_LETTER_A && i <= Pe.LATIN_CAPITAL_LETTER_F || i >= Pe.LATIN_SMALL_LETTER_A && i <= Pe.LATIN_SMALL_LETTER_F) {
              this.unicode += String.fromCharCode(i), this.state += 1;
              continue;
            }
            break;
          case ke.STRING_UNICODE_DIGIT_4:
            if (i >= Pe.DIGIT_ZERO && i <= Pe.DIGIT_NINE || i >= Pe.LATIN_CAPITAL_LETTER_A && i <= Pe.LATIN_CAPITAL_LETTER_F || i >= Pe.LATIN_SMALL_LETTER_A && i <= Pe.LATIN_SMALL_LETTER_F) {
              const h = parseInt(this.unicode + String.fromCharCode(i), 16);
              let a;
              if (this.highSurrogate === void 0) if (h >= 55296 && h <= 56319) {
                this.highSurrogate = h, this.state = ke.STRING_DEFAULT;
                continue;
              } else a = String.fromCharCode(h);
              else
                h >= 56320 && h <= 57343 ? a = String.fromCharCode(this.highSurrogate, h) : a = String.fromCharCode(this.highSurrogate), this.highSurrogate = void 0;
              const n = this.encoder.encode(a);
              this.bufferedString.appendBuf(n), this.escapedCharsByteLength += 6 - n.byteLength, this.state = ke.STRING_DEFAULT;
              continue;
            }
            break;
          case ke.NUMBER_AFTER_INITIAL_MINUS:
            if (i === Pe.DIGIT_ZERO) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_INITIAL_ZERO;
              continue;
            }
            if (i >= Pe.DIGIT_ONE && i <= Pe.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_INITIAL_NON_ZERO;
              continue;
            }
            break;
          case ke.NUMBER_AFTER_INITIAL_ZERO:
            if (i === Pe.FULL_STOP) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_FULL_STOP;
              continue;
            }
            if (i === Pe.LATIN_SMALL_LETTER_E || i === Pe.LATIN_CAPITAL_LETTER_E) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_E;
              continue;
            }
            r -= 1, this.state = ke.START, this.emitNumber();
            continue;
          case ke.NUMBER_AFTER_INITIAL_NON_ZERO:
            if (i >= Pe.DIGIT_ZERO && i <= Pe.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i);
              continue;
            }
            if (i === Pe.FULL_STOP) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_FULL_STOP;
              continue;
            }
            if (i === Pe.LATIN_SMALL_LETTER_E || i === Pe.LATIN_CAPITAL_LETTER_E) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_E;
              continue;
            }
            r -= 1, this.state = ke.START, this.emitNumber();
            continue;
          case ke.NUMBER_AFTER_FULL_STOP:
            if (i >= Pe.DIGIT_ZERO && i <= Pe.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_DECIMAL;
              continue;
            }
            break;
          case ke.NUMBER_AFTER_DECIMAL:
            if (i >= Pe.DIGIT_ZERO && i <= Pe.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i);
              continue;
            }
            if (i === Pe.LATIN_SMALL_LETTER_E || i === Pe.LATIN_CAPITAL_LETTER_E) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_E;
              continue;
            }
            r -= 1, this.state = ke.START, this.emitNumber();
            continue;
          case ke.NUMBER_AFTER_E:
            if (i === Pe.PLUS_SIGN || i === Pe.HYPHEN_MINUS) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_E_AND_SIGN;
              continue;
            }
          case ke.NUMBER_AFTER_E_AND_SIGN:
            if (i >= Pe.DIGIT_ZERO && i <= Pe.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_E_AND_DIGIT;
              continue;
            }
            break;
          case ke.NUMBER_AFTER_E_AND_DIGIT:
            if (i >= Pe.DIGIT_ZERO && i <= Pe.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i);
              continue;
            }
            r -= 1, this.state = ke.START, this.emitNumber();
            continue;
          case ke.TRUE1:
            if (i === Pe.LATIN_SMALL_LETTER_R) {
              this.state = ke.TRUE2;
              continue;
            }
            break;
          case ke.TRUE2:
            if (i === Pe.LATIN_SMALL_LETTER_U) {
              this.state = ke.TRUE3;
              continue;
            }
            break;
          case ke.TRUE3:
            if (i === Pe.LATIN_SMALL_LETTER_E) {
              this.state = ke.START, this.onToken({
                token: Je.TRUE,
                value: !0,
                offset: this.offset
              }), this.offset += 3;
              continue;
            }
            break;
          case ke.FALSE1:
            if (i === Pe.LATIN_SMALL_LETTER_A) {
              this.state = ke.FALSE2;
              continue;
            }
            break;
          case ke.FALSE2:
            if (i === Pe.LATIN_SMALL_LETTER_L) {
              this.state = ke.FALSE3;
              continue;
            }
            break;
          case ke.FALSE3:
            if (i === Pe.LATIN_SMALL_LETTER_S) {
              this.state = ke.FALSE4;
              continue;
            }
            break;
          case ke.FALSE4:
            if (i === Pe.LATIN_SMALL_LETTER_E) {
              this.state = ke.START, this.onToken({
                token: Je.FALSE,
                value: !1,
                offset: this.offset
              }), this.offset += 4;
              continue;
            }
            break;
          case ke.NULL1:
            if (i === Pe.LATIN_SMALL_LETTER_U) {
              this.state = ke.NULL2;
              continue;
            }
            break;
          case ke.NULL2:
            if (i === Pe.LATIN_SMALL_LETTER_L) {
              this.state = ke.NULL3;
              continue;
            }
            break;
          case ke.NULL3:
            if (i === Pe.LATIN_SMALL_LETTER_L) {
              this.state = ke.START, this.onToken({
                token: Je.NULL,
                value: null,
                offset: this.offset
              }), this.offset += 3;
              continue;
            }
            break;
          case ke.SEPARATOR:
            if (this.separatorIndex += 1, !this.separatorBytes || i !== this.separatorBytes[this.separatorIndex]) break;
            this.separatorIndex === this.separatorBytes.length - 1 && (this.state = ke.START, this.onToken({
              token: Je.SEPARATOR,
              value: this.separator,
              offset: this.offset + this.separatorIndex
            }), this.separatorIndex = 0);
            continue;
          case ke.BOM:
            if (i === this.bom[this.bomIndex]) {
              if (this.bomIndex === this.bom.length - 1) {
                this.state = ke.START, this.bom = void 0, this.bomIndex = 0;
                continue;
              }
              this.bomIndex += 1;
              continue;
            }
            break;
          case ke.ENDED:
            if (i === Pe.SPACE || i === Pe.NEWLINE || i === Pe.CARRIAGE_RETURN || i === Pe.TAB) continue;
        }
        throw new ua(`Unexpected "${String.fromCharCode(i)}" at position "${r}" in state ${Ec(this.state)}`);
      }
      if (this.emitPartialTokens) switch (this.state) {
        case ke.TRUE1:
        case ke.TRUE2:
        case ke.TRUE3:
          this.onToken({
            token: Je.TRUE,
            value: !0,
            offset: this.offset,
            partial: !0
          });
          break;
        case ke.FALSE1:
        case ke.FALSE2:
        case ke.FALSE3:
        case ke.FALSE4:
          this.onToken({
            token: Je.FALSE,
            value: !1,
            offset: this.offset,
            partial: !0
          });
          break;
        case ke.NULL1:
        case ke.NULL2:
        case ke.NULL3:
          this.onToken({
            token: Je.NULL,
            value: null,
            offset: this.offset,
            partial: !0
          });
          break;
        case ke.STRING_DEFAULT: {
          const r = this.bufferedString.toString();
          this.onToken({
            token: Je.STRING,
            value: r,
            offset: this.offset,
            partial: !0
          });
          break;
        }
        case ke.NUMBER_AFTER_INITIAL_ZERO:
        case ke.NUMBER_AFTER_INITIAL_NON_ZERO:
        case ke.NUMBER_AFTER_DECIMAL:
        case ke.NUMBER_AFTER_E_AND_DIGIT:
          try {
            this.onToken({
              token: Je.NUMBER,
              value: this.parseNumber(this.bufferedNumber.toString()),
              offset: this.offset,
              partial: !0
            });
          } catch {
          }
      }
    } catch (t) {
      this.error(t);
    }
  }
  emitNumber() {
    this.onToken({
      token: Je.NUMBER,
      value: this.parseNumber(this.bufferedNumber.toString()),
      offset: this.offset
    }), this.offset += this.bufferedNumber.byteLength - 1;
  }
  parseNumber(e) {
    return Number(e);
  }
  error(e) {
    this.state !== ke.ENDED && (this.state = ke.ERROR), this.onError(e);
  }
  end() {
    switch (this.state) {
      case ke.NUMBER_AFTER_INITIAL_ZERO:
      case ke.NUMBER_AFTER_INITIAL_NON_ZERO:
      case ke.NUMBER_AFTER_DECIMAL:
      case ke.NUMBER_AFTER_E_AND_DIGIT:
        this.state = ke.ENDED, this.emitNumber(), this.onEnd();
        break;
      case ke.BOM_OR_START:
      case ke.START:
      case ke.ERROR:
      case ke.SEPARATOR:
        this.state = ke.ENDED, this.onEnd();
        break;
      default:
        this.error(new ua(`Tokenizer ended in the middle of a token (state: ${Ec(this.state)}). Either not all the data was received or the data was invalid.`));
    }
  }
  onToken(e) {
    throw new ua(`Can't emit tokens before the "onToken" callback has been set up.`);
  }
  onError(e) {
    throw e;
  }
  onEnd() {
  }
}, $t;
(function(e) {
  e[e.OBJECT = 0] = "OBJECT", e[e.ARRAY = 1] = "ARRAY";
})($t || ($t = {}));
var st;
(function(e) {
  e[e.VALUE = 0] = "VALUE", e[e.KEY = 1] = "KEY", e[e.COLON = 2] = "COLON", e[e.COMMA = 3] = "COMMA", e[e.ENDED = 4] = "ENDED", e[e.ERROR = 5] = "ERROR", e[e.SEPARATOR = 6] = "SEPARATOR";
})(st || (st = {}));
function bc(e) {
  return [
    "VALUE",
    "KEY",
    "COLON",
    "COMMA",
    "ENDED",
    "ERROR",
    "SEPARATOR"
  ][e];
}
var CE = {
  paths: void 0,
  keepStack: !0,
  separator: void 0,
  emitPartialValues: !1
}, Tn = class Df extends Error {
  constructor(t) {
    super(t), Object.setPrototypeOf(this, Df.prototype);
  }
}, TE = class {
  constructor(e) {
    this.state = st.VALUE, this.mode = void 0, this.key = void 0, this.value = void 0, this.stack = [], e = Object.assign(Object.assign({}, CE), e), e.paths && (this.paths = e.paths.map((t) => {
      if (t === void 0 || t === "$*") return;
      if (!t.startsWith("$")) throw new Tn(`Invalid selector "${t}". Should start with "$".`);
      const r = t.split(".").slice(1);
      if (r.includes("")) throw new Tn(`Invalid selector "${t}". ".." syntax not supported.`);
      return r;
    })), this.keepStack = e.keepStack || !1, this.separator = e.separator, e.emitPartialValues || (this.emitPartial = () => {
    });
  }
  shouldEmit() {
    return this.paths ? this.paths.some((e) => {
      var t;
      if (e === void 0) return !0;
      if (e.length !== this.stack.length) return !1;
      for (let i = 0; i < e.length - 1; i++) {
        const s = e[i], h = this.stack[i + 1].key;
        if (s !== "*" && s !== h?.toString())
          return !1;
      }
      const r = e[e.length - 1];
      return r === "*" ? !0 : r === ((t = this.key) === null || t === void 0 ? void 0 : t.toString());
    }) : !0;
  }
  push() {
    this.stack.push({
      key: this.key,
      value: this.value,
      mode: this.mode,
      emit: this.shouldEmit()
    });
  }
  pop() {
    const e = this.value;
    let t;
    ({ key: this.key, value: this.value, mode: this.mode, emit: t } = this.stack.pop()), this.state = this.mode !== void 0 ? st.COMMA : st.VALUE, this.emit(e, t);
  }
  emit(e, t) {
    !this.keepStack && this.value && this.stack.every((r) => !r.emit) && delete this.value[this.key], t && this.onValue({
      value: e,
      key: this.key,
      parent: this.value,
      stack: this.stack
    }), this.stack.length === 0 && (this.separator ? this.state = st.SEPARATOR : this.separator === void 0 && this.end());
  }
  emitPartial(e) {
    if (this.shouldEmit()) {
      if (this.state === st.KEY) {
        this.onValue({
          value: void 0,
          key: e,
          parent: this.value,
          stack: this.stack,
          partial: !0
        });
        return;
      }
      this.onValue({
        value: e,
        key: this.key,
        parent: this.value,
        stack: this.stack,
        partial: !0
      });
    }
  }
  get isEnded() {
    return this.state === st.ENDED;
  }
  write({ token: e, value: t, partial: r }) {
    try {
      if (r) {
        this.emitPartial(t);
        return;
      }
      if (this.state === st.VALUE) {
        if (e === Je.STRING || e === Je.NUMBER || e === Je.TRUE || e === Je.FALSE || e === Je.NULL) {
          this.mode === $t.OBJECT ? (this.value[this.key] = t, this.state = st.COMMA) : this.mode === $t.ARRAY && (this.value.push(t), this.state = st.COMMA), this.emit(t, this.shouldEmit());
          return;
        }
        if (e === Je.LEFT_BRACE) {
          if (this.push(), this.mode === $t.OBJECT) this.value = this.value[this.key] = {};
          else if (this.mode === $t.ARRAY) {
            const i = {};
            this.value.push(i), this.value = i;
          } else this.value = {};
          this.mode = $t.OBJECT, this.state = st.KEY, this.key = void 0, this.emitPartial();
          return;
        }
        if (e === Je.LEFT_BRACKET) {
          if (this.push(), this.mode === $t.OBJECT) this.value = this.value[this.key] = [];
          else if (this.mode === $t.ARRAY) {
            const i = [];
            this.value.push(i), this.value = i;
          } else this.value = [];
          this.mode = $t.ARRAY, this.state = st.VALUE, this.key = 0, this.emitPartial();
          return;
        }
        if (this.mode === $t.ARRAY && e === Je.RIGHT_BRACKET && this.value.length === 0) {
          this.pop();
          return;
        }
      }
      if (this.state === st.KEY) {
        if (e === Je.STRING) {
          this.key = t, this.state = st.COLON, this.emitPartial();
          return;
        }
        if (e === Je.RIGHT_BRACE && Object.keys(this.value).length === 0) {
          this.pop();
          return;
        }
      }
      if (this.state === st.COLON && e === Je.COLON) {
        this.state = st.VALUE;
        return;
      }
      if (this.state === st.COMMA) {
        if (e === Je.COMMA) {
          if (this.mode === $t.ARRAY) {
            this.state = st.VALUE, this.key += 1;
            return;
          }
          if (this.mode === $t.OBJECT) {
            this.state = st.KEY;
            return;
          }
        }
        if (e === Je.RIGHT_BRACE && this.mode === $t.OBJECT || e === Je.RIGHT_BRACKET && this.mode === $t.ARRAY) {
          this.pop();
          return;
        }
      }
      if (this.state === st.SEPARATOR && e === Je.SEPARATOR && t === this.separator) {
        this.state = st.VALUE;
        return;
      }
      if (e === Je.SEPARATOR && this.state !== st.SEPARATOR && Array.from(t).map((i) => i.charCodeAt(0)).every((i) => i === Pe.SPACE || i === Pe.NEWLINE || i === Pe.CARRIAGE_RETURN || i === Pe.TAB)) return;
      throw new Tn(`Unexpected ${Je[e]} (${JSON.stringify(t)}) in state ${bc(this.state)}`);
    } catch (i) {
      this.error(i);
    }
  }
  error(e) {
    this.state !== st.ENDED && (this.state = st.ERROR), this.onError(e);
  }
  end() {
    this.state !== st.VALUE && this.state !== st.SEPARATOR || this.stack.length > 0 ? this.error(/* @__PURE__ */ new Error(`Parser ended in mid-parsing (state: ${bc(this.state)}). Either not all the data was received or the data was invalid.`)) : (this.state = st.ENDED, this.onEnd());
  }
  onValue(e) {
    throw new Tn(`Can't emit data before the "onValue" callback has been set up.`);
  }
  onError(e) {
    throw e;
  }
  onEnd() {
  }
}, RE = class {
  constructor(e = {}) {
    this.tokenizer = new SE(e), this.tokenParser = new TE(e), this.tokenizer.onToken = this.tokenParser.write.bind(this.tokenParser), this.tokenizer.onEnd = () => {
      this.tokenParser.isEnded || this.tokenParser.end();
    }, this.tokenParser.onError = this.tokenizer.error.bind(this.tokenizer), this.tokenParser.onEnd = () => {
      this.tokenizer.isEnded || this.tokenizer.end();
    };
  }
  get isEnded() {
    return this.tokenizer.isEnded && this.tokenParser.isEnded;
  }
  write(e) {
    this.tokenizer.write(e);
  }
  end() {
    this.tokenizer.end();
  }
  set onToken(e) {
    this.tokenizer.onToken = (t) => {
      e(t), this.tokenParser.write(t);
    };
  }
  set onValue(e) {
    this.tokenParser.onValue = e;
  }
  set onError(e) {
    this.tokenizer.onError = e;
  }
  set onEnd(e) {
    this.tokenParser.onEnd = () => {
      this.tokenizer.isEnded || this.tokenizer.end(), e.call(this.tokenParser);
    };
  }
}, Na = /[\p{Lu}]/u, OE = /[\p{Ll}]/u, IE = /^[\p{Lu}](?![\p{Lu}])/u, cn = /[_.\- ]+/, Af = /([\p{Alpha}\p{N}_]|$)/u, kE = new RegExp("^" + cn.source), LE = new RegExp(cn.source + Af.source, "gu"), FE = new RegExp(String.raw`\d+` + Af.source, "gu"), NE = (e, t, r, i) => {
  let s = !1, h = !1, a = !1, n = !1;
  for (let l = 0; l < e.length; l++) {
    const u = e[l];
    n = l > 2 ? e[l - 3] === "-" : !0, s && Na.test(u) ? (e = e.slice(0, l) + "-" + e.slice(l), s = !1, a = h, h = !0, l++) : h && a && OE.test(u) && (!n || i) ? (e = e.slice(0, l - 1) + "-" + e.slice(l - 1), a = h, h = !1, s = !0) : (s = t(u) === u && r(u) !== u, a = h, h = r(u) === u && t(u) !== u);
  }
  return e;
}, $E = (e, t) => e.replace(IE, (r) => t(r)), xE = (e, t, r) => {
  let i = "", s = !1, h = !1;
  const a = [...e];
  for (let n = 0; n < a.length; n++) {
    const l = a[n], u = Na.test(l), f = n + 1 < a.length && Na.test(a[n + 1]);
    s && /[\p{Alpha}]/u.test(l) ? (i += l, s = !1, h = u) : r && u && (h || f) ? (i += l, h = !0) : /\d/.test(l) ? (i += l, s = !0, h = !1) : cn.test(l) ? (i += l, h = !1) : (i += t(l), s = !1, h = !1);
  }
  return i;
}, BE = (e, t, { capitalizeAfterNumber: r }) => {
  const i = r ? (s, h, a, n) => {
    const l = n.charAt(a + s.length);
    return cn.test(l) ? s : h ? s.slice(0, -h.length) + t(h) : s;
  } : (s) => s;
  return e.replaceAll(FE, i).replaceAll(LE, (s, h) => t(h));
};
function PE(e, t) {
  if (!(typeof e == "string" || Array.isArray(e))) throw new TypeError("Expected the input to be `string | string[]`");
  if (t = {
    pascalCase: !1,
    preserveConsecutiveUppercase: !1,
    capitalizeAfterNumber: !0,
    ...t
  }, Array.isArray(e) ? e = e.map((h) => h.trim()).filter((h) => h.length > 0).join("-") : e = e.trim(), e.length === 0) return "";
  const r = e.match(/^[_$]*/)[0];
  if (e = e.slice(r.length), e.length === 0) return r;
  const i = t.locale === !1 ? (h) => h.toLowerCase() : (h) => h.toLocaleLowerCase(t.locale), s = t.locale === !1 ? (h) => h.toUpperCase() : (h) => h.toLocaleUpperCase(t.locale);
  return e.length === 1 ? cn.test(e) ? r : r + (t.pascalCase ? s(e) : i(e)) : (e !== i(e) && (e = NE(e, i, s, t.preserveConsecutiveUppercase)), e = e.replace(kE, ""), t.capitalizeAfterNumber ? e = t.preserveConsecutiveUppercase ? $E(e, i) : i(e) : e = xE(e, i, t.preserveConsecutiveUppercase), t.pascalCase && e.length > 0 && (e = s(e[0]) + e.slice(1)), r + BE(e, s, t));
}
var ME = /* @__PURE__ */ j(((e, t) => {
  function r(d, p) {
    var m = p && p.cache ? p.cache : c, g = p && p.serializer ? p.serializer : f;
    return (p && p.strategy ? p.strategy : n)(d, {
      cache: m,
      serializer: g
    });
  }
  function i(d) {
    return d == null || typeof d == "number" || typeof d == "boolean";
  }
  function s(d, p, m, g) {
    var v = i(g) ? g : m(g), y = p.get(v);
    return typeof y > "u" && (y = d.call(this, g), p.set(v, y)), y;
  }
  function h(d, p, m) {
    var g = Array.prototype.slice.call(arguments, 3), v = m(g), y = p.get(v);
    return typeof y > "u" && (y = d.apply(this, g), p.set(v, y)), y;
  }
  function a(d, p, m, g, v) {
    return m.bind(p, d, g, v);
  }
  function n(d, p) {
    var m = d.length === 1 ? s : h;
    return a(d, this, m, p.cache.create(), p.serializer);
  }
  function l(d, p) {
    return a(d, this, h, p.cache.create(), p.serializer);
  }
  function u(d, p) {
    return a(d, this, s, p.cache.create(), p.serializer);
  }
  function f() {
    return JSON.stringify(arguments);
  }
  function o() {
    this.cache = /* @__PURE__ */ Object.create(null);
  }
  o.prototype.has = function(d) {
    return d in this.cache;
  }, o.prototype.get = function(d) {
    return this.cache[d];
  }, o.prototype.set = function(d, p) {
    this.cache[d] = p;
  };
  var c = { create: function() {
    return new o();
  } };
  t.exports = r, t.exports.strategies = {
    variadic: l,
    monadic: u
  };
})), jE = /* @__PURE__ */ j(((e, t) => {
  var { hasOwnProperty: r } = Object.prototype, i = (u, f = {}) => {
    typeof f == "string" && (f = { section: f }), f.align = f.align === !0, f.newline = f.newline === !0, f.sort = f.sort === !0, f.whitespace = f.whitespace === !0 || f.align === !0, f.platform = f.platform || typeof process < "u" && process.platform, f.bracketedArray = f.bracketedArray !== !1;
    const o = f.platform === "win32" ? `\r
` : `
`, c = f.whitespace ? " = " : "=", d = [], p = f.sort ? Object.keys(u).sort() : Object.keys(u);
    let m = 0;
    f.align && (m = n(p.filter((y) => u[y] === null || Array.isArray(u[y]) || typeof u[y] != "object").map((y) => Array.isArray(u[y]) ? `${y}[]` : y).concat([""]).reduce((y, w) => n(y).length >= n(w).length ? y : w)).length);
    let g = "";
    const v = f.bracketedArray ? "[]" : "";
    for (const y of p) {
      const w = u[y];
      if (w && Array.isArray(w)) for (const _ of w) g += n(`${y}${v}`).padEnd(m, " ") + c + n(_) + o;
      else w && typeof w == "object" ? d.push(y) : g += n(y).padEnd(m, " ") + c + n(w) + o;
    }
    f.section && g.length && (g = "[" + n(f.section) + "]" + (f.newline ? o + o : o) + g);
    for (const y of d) {
      const w = s(y, ".").join("\\."), _ = (f.section ? f.section + "." : "") + w, b = i(u[y], {
        ...f,
        section: _
      });
      g.length && b.length && (g += o), g += b;
    }
    return g;
  };
  function s(u, f) {
    var o = 0, c = 0, d = 0, p = [];
    do
      if (d = u.indexOf(f, o), d !== -1) {
        if (o = d + f.length, d > 0 && u[d - 1] === "\\") continue;
        p.push(u.slice(c, d)), c = d + f.length;
      }
    while (d !== -1);
    return p.push(u.slice(c)), p;
  }
  var h = (u, f = {}) => {
    f.bracketedArray = f.bracketedArray !== !1;
    const o = /* @__PURE__ */ Object.create(null);
    let c = o, d = null;
    const p = /^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i, m = u.split(/[\r\n]+/g), g = {};
    for (const y of m) {
      if (!y || y.match(/^\s*[;#]/) || y.match(/^\s*$/)) continue;
      const w = y.match(p);
      if (!w) continue;
      if (w[1] !== void 0) {
        if (d = l(w[1]), d === "__proto__") {
          c = /* @__PURE__ */ Object.create(null);
          continue;
        }
        c = o[d] = o[d] || /* @__PURE__ */ Object.create(null);
        continue;
      }
      const _ = l(w[2]);
      let b;
      f.bracketedArray ? b = _.length > 2 && _.slice(-2) === "[]" : (g[_] = (g?.[_] || 0) + 1, b = g[_] > 1);
      const E = b && _.endsWith("[]") ? _.slice(0, -2) : _;
      if (E === "__proto__") continue;
      const D = w[3] ? l(w[4]) : !0, S = D === "true" || D === "false" || D === "null" ? JSON.parse(D) : D;
      b && (r.call(c, E) ? Array.isArray(c[E]) || (c[E] = [c[E]]) : c[E] = []), Array.isArray(c[E]) ? c[E].push(S) : c[E] = S;
    }
    const v = [];
    for (const y of Object.keys(o)) {
      if (!r.call(o, y) || typeof o[y] != "object" || Array.isArray(o[y])) continue;
      const w = s(y, ".");
      c = o;
      const _ = w.pop(), b = _.replace(/\\\./g, ".");
      for (const E of w)
        E !== "__proto__" && ((!r.call(c, E) || typeof c[E] != "object") && (c[E] = /* @__PURE__ */ Object.create(null)), c = c[E]);
      c === o && b === _ || (c[b] = o[y], v.push(y));
    }
    for (const y of v) delete o[y];
    return o;
  }, a = (u) => u.startsWith('"') && u.endsWith('"') || u.startsWith("'") && u.endsWith("'"), n = (u) => typeof u != "string" || u.match(/[=\r\n]/) || u.match(/^\[/) || u.length > 1 && a(u) || u !== u.trim() ? JSON.stringify(u) : u.split(";").join("\\;").split("#").join("\\#"), l = (u) => {
    if (u = (u || "").trim(), a(u)) {
      u.charAt(0) === "'" && (u = u.slice(1, -1));
      try {
        u = JSON.parse(u);
      } catch {
      }
    } else {
      let f = !1, o = "";
      for (let c = 0, d = u.length; c < d; c++) {
        const p = u.charAt(c);
        if (f)
          "\\;#".indexOf(p) !== -1 ? o += p : o += "\\" + p, f = !1;
        else {
          if (";#".indexOf(p) !== -1) break;
          p === "\\" ? f = !0 : o += p;
        }
      }
      return f && (o += "\\"), o.trim();
    }
    return u;
  };
  t.exports = {
    parse: h,
    decode: h,
    stringify: i,
    encode: i,
    safe: n,
    unsafe: l
  };
})), Sf = /* @__PURE__ */ j(((e, t) => {
  var { URL: r } = ve("node:url");
  function i(u) {
    try {
      let o = new r(u).pathname.slice(1);
      if (!o.match(/^-/)) {
        o = o.split("/");
        var f = o.indexOf("_rewrite");
        return f === -1 ? f = o.length - 1 : f++, decodeURIComponent(o[f]);
      }
    } catch {
    }
  }
  var s = class extends Error {
    constructor(u, f, o, c) {
      super(), this.name = this.constructor.name, this.headers = typeof f.headers?.raw == "function" ? f.headers.raw() : f.headers, this.statusCode = f.status, this.code = `E${f.status}`, this.method = u, this.uri = f.url, this.body = o, this.pkgid = c ? c.toString() : i(f.url), Error.captureStackTrace(this, this.constructor);
    }
  }, h = class extends s {
    constructor(u, f, o, c) {
      super(u, f, o, c), this.message = `${f.status} ${f.statusText} - ${this.method.toUpperCase()} ${this.spec || this.uri}${o && o.error ? " - " + o.error : ""}`;
    }
  }, a = class extends s {
    constructor(u, f, o, c) {
      super(u, f, o, c), this.message = "OTP required for authentication", this.code = "EOTP";
    }
  }, n = class extends s {
    constructor(u, f, o, c) {
      super(u, f, o, c), this.message = "Login is not allowed from your IP address", this.code = "EAUTHIP";
    }
  }, l = class extends s {
    constructor(u, f, o, c) {
      super(u, f, o, c), this.message = "Unable to authenticate, need: " + f.headers.get("www-authenticate");
    }
  };
  t.exports = {
    HttpErrorBase: s,
    HttpErrorGeneral: h,
    HttpErrorAuthOTP: a,
    HttpErrorAuthIPAddress: n,
    HttpErrorAuthUnknown: l
  };
})), Lt = /* @__PURE__ */ j(((e) => {
  var t = e && e.__importDefault || function(I) {
    return I && I.__esModule ? I : { default: I };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Minipass = e.isWritable = e.isReadable = e.isStream = void 0;
  var r = typeof process == "object" && process ? process : {
    stdout: null,
    stderr: null
  }, i = ve("node:events"), s = t(ve("node:stream")), h = ve("node:string_decoder"), a = (I) => !!I && typeof I == "object" && (I instanceof ne || I instanceof s.default || (0, e.isReadable)(I) || (0, e.isWritable)(I));
  e.isStream = a;
  var n = (I) => !!I && typeof I == "object" && I instanceof i.EventEmitter && typeof I.pipe == "function" && I.pipe !== s.default.Writable.prototype.pipe;
  e.isReadable = n;
  var l = (I) => !!I && typeof I == "object" && I instanceof i.EventEmitter && typeof I.write == "function" && typeof I.end == "function";
  e.isWritable = l;
  var u = /* @__PURE__ */ Symbol("EOF"), f = /* @__PURE__ */ Symbol("maybeEmitEnd"), o = /* @__PURE__ */ Symbol("emittedEnd"), c = /* @__PURE__ */ Symbol("emittingEnd"), d = /* @__PURE__ */ Symbol("emittedError"), p = /* @__PURE__ */ Symbol("closed"), m = /* @__PURE__ */ Symbol("read"), g = /* @__PURE__ */ Symbol("flush"), v = /* @__PURE__ */ Symbol("flushChunk"), y = /* @__PURE__ */ Symbol("encoding"), w = /* @__PURE__ */ Symbol("decoder"), _ = /* @__PURE__ */ Symbol("flowing"), b = /* @__PURE__ */ Symbol("paused"), E = /* @__PURE__ */ Symbol("resume"), D = /* @__PURE__ */ Symbol("buffer"), S = /* @__PURE__ */ Symbol("pipes"), C = /* @__PURE__ */ Symbol("bufferLength"), T = /* @__PURE__ */ Symbol("bufferPush"), U = /* @__PURE__ */ Symbol("bufferShift"), $ = /* @__PURE__ */ Symbol("objectMode"), z = /* @__PURE__ */ Symbol("destroyed"), Y = /* @__PURE__ */ Symbol("error"), H = /* @__PURE__ */ Symbol("emitData"), k = /* @__PURE__ */ Symbol("emitEnd"), F = /* @__PURE__ */ Symbol("emitEnd2"), q = /* @__PURE__ */ Symbol("async"), W = /* @__PURE__ */ Symbol("abort"), P = /* @__PURE__ */ Symbol("aborted"), x = /* @__PURE__ */ Symbol("signal"), L = /* @__PURE__ */ Symbol("dataListeners"), O = /* @__PURE__ */ Symbol("discarded"), N = (I) => Promise.resolve().then(I), K = (I) => I(), oe = (I) => I === "end" || I === "finish" || I === "prefinish", pe = (I) => I instanceof ArrayBuffer || !!I && typeof I == "object" && I.constructor && I.constructor.name === "ArrayBuffer" && I.byteLength >= 0, _e = (I) => !Buffer.isBuffer(I) && ArrayBuffer.isView(I), V = class {
    src;
    dest;
    opts;
    ondrain;
    constructor(I, M, ee) {
      this.src = I, this.dest = M, this.opts = ee, this.ondrain = () => I[E](), this.dest.on("drain", this.ondrain);
    }
    unpipe() {
      this.dest.removeListener("drain", this.ondrain);
    }
    /* c8 ignore start */
    proxyErrors(I) {
    }
    /* c8 ignore stop */
    end() {
      this.unpipe(), this.opts.end && this.dest.end();
    }
  }, B = class extends V {
    unpipe() {
      this.src.removeListener("error", this.proxyErrors), super.unpipe();
    }
    constructor(I, M, ee) {
      super(I, M, ee), this.proxyErrors = (Ae) => this.dest.emit("error", Ae), I.on("error", this.proxyErrors);
    }
  }, G = (I) => !!I.objectMode, X = (I) => !I.objectMode && !!I.encoding && I.encoding !== "buffer", ne = class extends i.EventEmitter {
    [_] = !1;
    [b] = !1;
    [S] = [];
    [D] = [];
    [$];
    [y];
    [q];
    [w];
    [u] = !1;
    [o] = !1;
    [c] = !1;
    [p] = !1;
    [d] = null;
    [C] = 0;
    [z] = !1;
    [x];
    [P] = !1;
    [L] = 0;
    [O] = !1;
    writable = !0;
    readable = !0;
    constructor(...I) {
      const M = I[0] || {};
      if (super(), M.objectMode && typeof M.encoding == "string") throw new TypeError("Encoding and objectMode may not be used together");
      G(M) ? (this[$] = !0, this[y] = null) : X(M) ? (this[y] = M.encoding, this[$] = !1) : (this[$] = !1, this[y] = null), this[q] = !!M.async, this[w] = this[y] ? new h.StringDecoder(this[y]) : null, M && M.debugExposeBuffer === !0 && Object.defineProperty(this, "buffer", { get: () => this[D] }), M && M.debugExposePipes === !0 && Object.defineProperty(this, "pipes", { get: () => this[S] });
      const { signal: ee } = M;
      ee && (this[x] = ee, ee.aborted ? this[W]() : ee.addEventListener("abort", () => this[W]()));
    }
    get bufferLength() {
      return this[C];
    }
    get encoding() {
      return this[y];
    }
    set encoding(I) {
      throw new Error("Encoding must be set at instantiation time");
    }
    setEncoding(I) {
      throw new Error("Encoding must be set at instantiation time");
    }
    get objectMode() {
      return this[$];
    }
    set objectMode(I) {
      throw new Error("objectMode must be set at instantiation time");
    }
    get async() {
      return this[q];
    }
    set async(I) {
      this[q] = this[q] || !!I;
    }
    [W]() {
      this[P] = !0, this.emit("abort", this[x]?.reason), this.destroy(this[x]?.reason);
    }
    get aborted() {
      return this[P];
    }
    set aborted(I) {
    }
    write(I, M, ee) {
      if (this[P]) return !1;
      if (this[u]) throw new Error("write after end");
      if (this[z])
        return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), !0;
      typeof M == "function" && (ee = M, M = "utf8"), M || (M = "utf8");
      const Ae = this[q] ? N : K;
      if (!this[$] && !Buffer.isBuffer(I)) {
        if (_e(I)) I = Buffer.from(I.buffer, I.byteOffset, I.byteLength);
        else if (pe(I)) I = Buffer.from(I);
        else if (typeof I != "string") throw new Error("Non-contiguous data written to non-objectMode stream");
      }
      return this[$] ? (this[_] && this[C] !== 0 && this[g](!0), this[_] ? this.emit("data", I) : this[T](I), this[C] !== 0 && this.emit("readable"), ee && Ae(ee), this[_]) : I.length ? (typeof I == "string" && !(M === this[y] && !this[w]?.lastNeed) && (I = Buffer.from(I, M)), Buffer.isBuffer(I) && this[y] && (I = this[w].write(I)), this[_] && this[C] !== 0 && this[g](!0), this[_] ? this.emit("data", I) : this[T](I), this[C] !== 0 && this.emit("readable"), ee && Ae(ee), this[_]) : (this[C] !== 0 && this.emit("readable"), ee && Ae(ee), this[_]);
    }
    read(I) {
      if (this[z]) return null;
      if (this[O] = !1, this[C] === 0 || I === 0 || I && I > this[C])
        return this[f](), null;
      this[$] && (I = null), this[D].length > 1 && !this[$] && (this[D] = [this[y] ? this[D].join("") : Buffer.concat(this[D], this[C])]);
      const M = this[m](I || null, this[D][0]);
      return this[f](), M;
    }
    [m](I, M) {
      if (this[$]) this[U]();
      else {
        const ee = M;
        I === ee.length || I === null ? this[U]() : typeof ee == "string" ? (this[D][0] = ee.slice(I), M = ee.slice(0, I), this[C] -= I) : (this[D][0] = ee.subarray(I), M = ee.subarray(0, I), this[C] -= I);
      }
      return this.emit("data", M), !this[D].length && !this[u] && this.emit("drain"), M;
    }
    end(I, M, ee) {
      return typeof I == "function" && (ee = I, I = void 0), typeof M == "function" && (ee = M, M = "utf8"), I !== void 0 && this.write(I, M), ee && this.once("end", ee), this[u] = !0, this.writable = !1, (this[_] || !this[b]) && this[f](), this;
    }
    [E]() {
      this[z] || (!this[L] && !this[S].length && (this[O] = !0), this[b] = !1, this[_] = !0, this.emit("resume"), this[D].length ? this[g]() : this[u] ? this[f]() : this.emit("drain"));
    }
    resume() {
      return this[E]();
    }
    pause() {
      this[_] = !1, this[b] = !0, this[O] = !1;
    }
    get destroyed() {
      return this[z];
    }
    get flowing() {
      return this[_];
    }
    get paused() {
      return this[b];
    }
    [T](I) {
      this[$] ? this[C] += 1 : this[C] += I.length, this[D].push(I);
    }
    [U]() {
      return this[$] ? this[C] -= 1 : this[C] -= this[D][0].length, this[D].shift();
    }
    [g](I = !1) {
      do
        ;
      while (this[v](this[U]()) && this[D].length);
      !I && !this[D].length && !this[u] && this.emit("drain");
    }
    [v](I) {
      return this.emit("data", I), this[_];
    }
    pipe(I, M) {
      if (this[z]) return I;
      this[O] = !1;
      const ee = this[o];
      return M = M || {}, I === r.stdout || I === r.stderr ? M.end = !1 : M.end = M.end !== !1, M.proxyErrors = !!M.proxyErrors, ee ? M.end && I.end() : (this[S].push(M.proxyErrors ? new B(this, I, M) : new V(this, I, M)), this[q] ? N(() => this[E]()) : this[E]()), I;
    }
    unpipe(I) {
      const M = this[S].find((ee) => ee.dest === I);
      M && (this[S].length === 1 ? (this[_] && this[L] === 0 && (this[_] = !1), this[S] = []) : this[S].splice(this[S].indexOf(M), 1), M.unpipe());
    }
    addListener(I, M) {
      return this.on(I, M);
    }
    on(I, M) {
      const ee = super.on(I, M);
      if (I === "data")
        this[O] = !1, this[L]++, !this[S].length && !this[_] && this[E]();
      else if (I === "readable" && this[C] !== 0) super.emit("readable");
      else if (oe(I) && this[o])
        super.emit(I), this.removeAllListeners(I);
      else if (I === "error" && this[d]) {
        const Ae = M;
        this[q] ? N(() => Ae.call(this, this[d])) : Ae.call(this, this[d]);
      }
      return ee;
    }
    removeListener(I, M) {
      return this.off(I, M);
    }
    off(I, M) {
      const ee = super.off(I, M);
      return I === "data" && (this[L] = this.listeners("data").length, this[L] === 0 && !this[O] && !this[S].length && (this[_] = !1)), ee;
    }
    removeAllListeners(I) {
      const M = super.removeAllListeners(I);
      return (I === "data" || I === void 0) && (this[L] = 0, !this[O] && !this[S].length && (this[_] = !1)), M;
    }
    get emittedEnd() {
      return this[o];
    }
    [f]() {
      !this[c] && !this[o] && !this[z] && this[D].length === 0 && this[u] && (this[c] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[p] && this.emit("close"), this[c] = !1);
    }
    emit(I, ...M) {
      const ee = M[0];
      if (I !== "error" && I !== "close" && I !== z && this[z]) return !1;
      if (I === "data") return !this[$] && !ee ? !1 : this[q] ? (N(() => this[H](ee)), !0) : this[H](ee);
      if (I === "end") return this[k]();
      if (I === "close") {
        if (this[p] = !0, !this[o] && !this[z]) return !1;
        const Se = super.emit("close");
        return this.removeAllListeners("close"), Se;
      } else if (I === "error") {
        this[d] = ee, super.emit(Y, ee);
        const Se = !this[x] || this.listeners("error").length ? super.emit("error", ee) : !1;
        return this[f](), Se;
      } else if (I === "resume") {
        const Se = super.emit("resume");
        return this[f](), Se;
      } else if (I === "finish" || I === "prefinish") {
        const Se = super.emit(I);
        return this.removeAllListeners(I), Se;
      }
      const Ae = super.emit(I, ...M);
      return this[f](), Ae;
    }
    [H](I) {
      for (const ee of this[S]) ee.dest.write(I) === !1 && this.pause();
      const M = this[O] ? !1 : super.emit("data", I);
      return this[f](), M;
    }
    [k]() {
      return this[o] ? !1 : (this[o] = !0, this.readable = !1, this[q] ? (N(() => this[F]()), !0) : this[F]());
    }
    [F]() {
      if (this[w]) {
        const M = this[w].end();
        if (M) {
          for (const ee of this[S]) ee.dest.write(M);
          this[O] || super.emit("data", M);
        }
      }
      for (const M of this[S]) M.end();
      const I = super.emit("end");
      return this.removeAllListeners("end"), I;
    }
    async collect() {
      const I = Object.assign([], { dataLength: 0 });
      this[$] || (I.dataLength = 0);
      const M = this.promise();
      return this.on("data", (ee) => {
        I.push(ee), this[$] || (I.dataLength += ee.length);
      }), await M, I;
    }
    async concat() {
      if (this[$]) throw new Error("cannot concat in objectMode");
      const I = await this.collect();
      return this[y] ? I.join("") : Buffer.concat(I, I.dataLength);
    }
    async promise() {
      return new Promise((I, M) => {
        this.on(z, () => M(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (ee) => M(ee)), this.on("end", () => I());
      });
    }
    [Symbol.asyncIterator]() {
      this[O] = !1;
      let I = !1;
      const M = async () => (this.pause(), I = !0, {
        value: void 0,
        done: !0
      });
      return {
        next: () => {
          if (I) return M();
          const Ae = this.read();
          if (Ae !== null) return Promise.resolve({
            done: !1,
            value: Ae
          });
          if (this[u]) return M();
          let Se, ye;
          const Be = (A) => {
            this.off("data", xe), this.off("end", je), this.off(z, Oe), M(), ye(A);
          }, xe = (A) => {
            this.off("error", Be), this.off("end", je), this.off(z, Oe), this.pause(), Se({
              value: A,
              done: !!this[u]
            });
          }, je = () => {
            this.off("error", Be), this.off("data", xe), this.off(z, Oe), M(), Se({
              done: !0,
              value: void 0
            });
          }, Oe = () => Be(/* @__PURE__ */ new Error("stream destroyed"));
          return new Promise((A, se) => {
            ye = se, Se = A, this.once(z, Oe), this.once("error", Be), this.once("end", je), this.once("data", xe);
          });
        },
        throw: M,
        return: M,
        [Symbol.asyncIterator]() {
          return this;
        },
        [Symbol.asyncDispose]: async () => {
        }
      };
    }
    [Symbol.iterator]() {
      this[O] = !1;
      let I = !1;
      const M = () => (this.pause(), this.off(Y, M), this.off(z, M), this.off("end", M), I = !0, {
        done: !0,
        value: void 0
      }), ee = () => {
        if (I) return M();
        const Ae = this.read();
        return Ae === null ? M() : {
          done: !1,
          value: Ae
        };
      };
      return this.once("end", M), this.once(Y, M), this.once(z, M), {
        next: ee,
        throw: M,
        return: M,
        [Symbol.iterator]() {
          return this;
        },
        [Symbol.dispose]: () => {
        }
      };
    }
    destroy(I) {
      if (this[z])
        return I ? this.emit("error", I) : this.emit(z), this;
      this[z] = !0, this[O] = !0, this[D].length = 0, this[C] = 0;
      const M = this;
      return typeof M.close == "function" && !this[p] && M.close(), I ? this.emit("error", I) : this.emit(z), this;
    }
    static get isStream() {
      return e.isStream;
    }
  };
  e.Minipass = ne;
})), wc = /* @__PURE__ */ j(((e) => {
  var t = e && e.__importDefault || function(i) {
    return i && i.__esModule ? i : { default: i };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.constants = void 0;
  var r = t(ve("zlib")).default.constants || { ZLIB_VERNUM: 4736 };
  e.constants = Object.freeze(Object.assign(/* @__PURE__ */ Object.create(null), {
    Z_NO_FLUSH: 0,
    Z_PARTIAL_FLUSH: 1,
    Z_SYNC_FLUSH: 2,
    Z_FULL_FLUSH: 3,
    Z_FINISH: 4,
    Z_BLOCK: 5,
    Z_OK: 0,
    Z_STREAM_END: 1,
    Z_NEED_DICT: 2,
    Z_ERRNO: -1,
    Z_STREAM_ERROR: -2,
    Z_DATA_ERROR: -3,
    Z_MEM_ERROR: -4,
    Z_BUF_ERROR: -5,
    Z_VERSION_ERROR: -6,
    Z_NO_COMPRESSION: 0,
    Z_BEST_SPEED: 1,
    Z_BEST_COMPRESSION: 9,
    Z_DEFAULT_COMPRESSION: -1,
    Z_FILTERED: 1,
    Z_HUFFMAN_ONLY: 2,
    Z_RLE: 3,
    Z_FIXED: 4,
    Z_DEFAULT_STRATEGY: 0,
    DEFLATE: 1,
    INFLATE: 2,
    GZIP: 3,
    GUNZIP: 4,
    DEFLATERAW: 5,
    INFLATERAW: 6,
    UNZIP: 7,
    BROTLI_DECODE: 8,
    BROTLI_ENCODE: 9,
    Z_MIN_WINDOWBITS: 8,
    Z_MAX_WINDOWBITS: 15,
    Z_DEFAULT_WINDOWBITS: 15,
    Z_MIN_CHUNK: 64,
    Z_MAX_CHUNK: 1 / 0,
    Z_DEFAULT_CHUNK: 16384,
    Z_MIN_MEMLEVEL: 1,
    Z_MAX_MEMLEVEL: 9,
    Z_DEFAULT_MEMLEVEL: 8,
    Z_MIN_LEVEL: -1,
    Z_MAX_LEVEL: 9,
    Z_DEFAULT_LEVEL: -1,
    BROTLI_OPERATION_PROCESS: 0,
    BROTLI_OPERATION_FLUSH: 1,
    BROTLI_OPERATION_FINISH: 2,
    BROTLI_OPERATION_EMIT_METADATA: 3,
    BROTLI_MODE_GENERIC: 0,
    BROTLI_MODE_TEXT: 1,
    BROTLI_MODE_FONT: 2,
    BROTLI_DEFAULT_MODE: 0,
    BROTLI_MIN_QUALITY: 0,
    BROTLI_MAX_QUALITY: 11,
    BROTLI_DEFAULT_QUALITY: 11,
    BROTLI_MIN_WINDOW_BITS: 10,
    BROTLI_MAX_WINDOW_BITS: 24,
    BROTLI_LARGE_MAX_WINDOW_BITS: 30,
    BROTLI_DEFAULT_WINDOW: 22,
    BROTLI_MIN_INPUT_BLOCK_BITS: 16,
    BROTLI_MAX_INPUT_BLOCK_BITS: 24,
    BROTLI_PARAM_MODE: 0,
    BROTLI_PARAM_QUALITY: 1,
    BROTLI_PARAM_LGWIN: 2,
    BROTLI_PARAM_LGBLOCK: 3,
    BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: 4,
    BROTLI_PARAM_SIZE_HINT: 5,
    BROTLI_PARAM_LARGE_WINDOW: 6,
    BROTLI_PARAM_NPOSTFIX: 7,
    BROTLI_PARAM_NDIRECT: 8,
    BROTLI_DECODER_RESULT_ERROR: 0,
    BROTLI_DECODER_RESULT_SUCCESS: 1,
    BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: 2,
    BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: 3,
    BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: 0,
    BROTLI_DECODER_PARAM_LARGE_WINDOW: 1,
    BROTLI_DECODER_NO_ERROR: 0,
    BROTLI_DECODER_SUCCESS: 1,
    BROTLI_DECODER_NEEDS_MORE_INPUT: 2,
    BROTLI_DECODER_NEEDS_MORE_OUTPUT: 3,
    BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: -1,
    BROTLI_DECODER_ERROR_FORMAT_RESERVED: -2,
    BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: -3,
    BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: -4,
    BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: -5,
    BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: -6,
    BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: -7,
    BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: -8,
    BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: -9,
    BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: -10,
    BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: -11,
    BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: -12,
    BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: -13,
    BROTLI_DECODER_ERROR_FORMAT_PADDING_1: -14,
    BROTLI_DECODER_ERROR_FORMAT_PADDING_2: -15,
    BROTLI_DECODER_ERROR_FORMAT_DISTANCE: -16,
    BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: -19,
    BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: -20,
    BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: -21,
    BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: -22,
    BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: -25,
    BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: -26,
    BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: -27,
    BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: -30,
    BROTLI_DECODER_ERROR_UNREACHABLE: -31
  }, r));
})), Cf = /* @__PURE__ */ j(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(F, q, W, P) {
    P === void 0 && (P = W);
    var x = Object.getOwnPropertyDescriptor(q, W);
    (!x || ("get" in x ? !q.__esModule : x.writable || x.configurable)) && (x = {
      enumerable: !0,
      get: function() {
        return q[W];
      }
    }), Object.defineProperty(F, P, x);
  }) : (function(F, q, W, P) {
    P === void 0 && (P = W), F[P] = q[W];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(F, q) {
    Object.defineProperty(F, "default", {
      enumerable: !0,
      value: q
    });
  }) : function(F, q) {
    F.default = q;
  }), i = e && e.__importStar || /* @__PURE__ */ (function() {
    var F = function(q) {
      return F = Object.getOwnPropertyNames || function(W) {
        var P = [];
        for (var x in W) Object.prototype.hasOwnProperty.call(W, x) && (P[P.length] = x);
        return P;
      }, F(q);
    };
    return function(q) {
      if (q && q.__esModule) return q;
      var W = {};
      if (q != null)
        for (var P = F(q), x = 0; x < P.length; x++) P[x] !== "default" && t(W, q, P[x]);
      return r(W, q), W;
    };
  })(), s = e && e.__importDefault || function(F) {
    return F && F.__esModule ? F : { default: F };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ZstdDecompress = e.ZstdCompress = e.BrotliDecompress = e.BrotliCompress = e.Unzip = e.InflateRaw = e.DeflateRaw = e.Gunzip = e.Gzip = e.Inflate = e.Deflate = e.Zlib = e.ZlibError = e.constants = void 0;
  var h = s(ve("assert")), a = ve("buffer"), n = Lt(), l = i(ve("zlib")), u = wc(), f = wc();
  Object.defineProperty(e, "constants", {
    enumerable: !0,
    get: function() {
      return f.constants;
    }
  });
  var o = a.Buffer.concat, c = Object.getOwnPropertyDescriptor(a.Buffer, "concat"), d = (F) => F, p = c?.writable === !0 || c?.set !== void 0 ? (F) => {
    a.Buffer.concat = F ? d : o;
  } : (F) => {
  }, m = /* @__PURE__ */ Symbol("_superWrite"), g = class extends Error {
    code;
    errno;
    constructor(F, q) {
      super("zlib: " + F.message, { cause: F }), this.code = F.code, this.errno = F.errno, this.code || (this.code = "ZLIB_ERROR"), this.message = "zlib: " + F.message, Error.captureStackTrace(this, q ?? this.constructor);
    }
    get name() {
      return "ZlibError";
    }
  };
  e.ZlibError = g;
  var v = /* @__PURE__ */ Symbol("flushFlag"), y = class extends n.Minipass {
    #e = !1;
    #t = !1;
    #r;
    #n;
    #a;
    #l;
    #f;
    get sawError() {
      return this.#e;
    }
    get handle() {
      return this.#l;
    }
    /* c8 ignore start */
    get flushFlag() {
      return this.#r;
    }
    /* c8 ignore stop */
    constructor(F, q) {
      if (!F || typeof F != "object") throw new TypeError("invalid options for ZlibBase constructor");
      if (super(F), this.#r = F.flush ?? 0, this.#n = F.finishFlush ?? 0, this.#a = F.fullFlushFlag ?? 0, typeof l[q] != "function") throw new TypeError("Compression method not supported: " + q);
      try {
        this.#l = new l[q](F);
      } catch (W) {
        throw new g(W, this.constructor);
      }
      this.#f = (W) => {
        this.#e || (this.#e = !0, this.close(), this.emit("error", W));
      }, this.#l?.on("error", (W) => this.#f(new g(W))), this.once("end", () => this.close);
    }
    close() {
      this.#l && (this.#l.close(), this.#l = void 0, this.emit("close"));
    }
    reset() {
      if (!this.#e)
        return (0, h.default)(this.#l, "zlib binding closed"), this.#l.reset?.();
    }
    flush(F) {
      this.ended || (typeof F != "number" && (F = this.#a), this.write(Object.assign(a.Buffer.alloc(0), { [v]: F })));
    }
    end(F, q, W) {
      return typeof F == "function" && (W = F, q = void 0, F = void 0), typeof q == "function" && (W = q, q = void 0), F && (q ? this.write(F, q) : this.write(F)), this.flush(this.#n), this.#t = !0, super.end(W);
    }
    get ended() {
      return this.#t;
    }
    [m](F) {
      return super.write(F);
    }
    write(F, q, W) {
      if (typeof q == "function" && (W = q, q = "utf8"), typeof F == "string" && (F = a.Buffer.from(F, q)), this.#e) return;
      (0, h.default)(this.#l, "zlib binding closed");
      const P = this.#l._handle, x = P.close;
      P.close = () => {
      };
      const L = this.#l.close;
      this.#l.close = () => {
      }, p(!0);
      let O;
      try {
        const K = typeof F[v] == "number" ? F[v] : this.#r;
        O = this.#l._processChunk(F, K), p(!1);
      } catch (K) {
        p(!1), this.#f(new g(K, this.write));
      } finally {
        this.#l && (this.#l._handle = P, P.close = x, this.#l.close = L, this.#l.removeAllListeners("error"));
      }
      this.#l && this.#l.on("error", (K) => this.#f(new g(K, this.write)));
      let N;
      if (O) if (Array.isArray(O) && O.length > 0) {
        const K = O[0];
        N = this[m](a.Buffer.from(K));
        for (let oe = 1; oe < O.length; oe++) N = this[m](O[oe]);
      } else N = this[m](a.Buffer.from(O));
      return W && W(), N;
    }
  }, w = class extends y {
    #e;
    #t;
    constructor(F, q) {
      F = F || {}, F.flush = F.flush || u.constants.Z_NO_FLUSH, F.finishFlush = F.finishFlush || u.constants.Z_FINISH, F.fullFlushFlag = u.constants.Z_FULL_FLUSH, super(F, q), this.#e = F.level, this.#t = F.strategy;
    }
    params(F, q) {
      if (!this.sawError) {
        if (!this.handle) throw new Error("cannot switch params when binding is closed");
        if (!this.handle.params) throw new Error("not supported in this implementation");
        if (this.#e !== F || this.#t !== q) {
          this.flush(u.constants.Z_SYNC_FLUSH), (0, h.default)(this.handle, "zlib binding closed");
          const W = this.handle.flush;
          this.handle.flush = (P, x) => {
            typeof P == "function" && (x = P, P = this.flushFlag), this.flush(P), x?.();
          };
          try {
            this.handle.params(F, q);
          } finally {
            this.handle.flush = W;
          }
          this.handle && (this.#e = F, this.#t = q);
        }
      }
    }
  };
  e.Zlib = w;
  var _ = class extends w {
    constructor(F) {
      super(F, "Deflate");
    }
  };
  e.Deflate = _;
  var b = class extends w {
    constructor(F) {
      super(F, "Inflate");
    }
  };
  e.Inflate = b;
  var E = class extends w {
    #e;
    constructor(F) {
      super(F, "Gzip"), this.#e = F && !!F.portable;
    }
    [m](F) {
      return this.#e ? (this.#e = !1, F[9] = 255, super[m](F)) : super[m](F);
    }
  };
  e.Gzip = E;
  var D = class extends w {
    constructor(F) {
      super(F, "Gunzip");
    }
  };
  e.Gunzip = D;
  var S = class extends w {
    constructor(F) {
      super(F, "DeflateRaw");
    }
  };
  e.DeflateRaw = S;
  var C = class extends w {
    constructor(F) {
      super(F, "InflateRaw");
    }
  };
  e.InflateRaw = C;
  var T = class extends w {
    constructor(F) {
      super(F, "Unzip");
    }
  };
  e.Unzip = T;
  var U = class extends y {
    constructor(F, q) {
      F = F || {}, F.flush = F.flush || u.constants.BROTLI_OPERATION_PROCESS, F.finishFlush = F.finishFlush || u.constants.BROTLI_OPERATION_FINISH, F.fullFlushFlag = u.constants.BROTLI_OPERATION_FLUSH, super(F, q);
    }
  }, $ = class extends U {
    constructor(F) {
      super(F, "BrotliCompress");
    }
  };
  e.BrotliCompress = $;
  var z = class extends U {
    constructor(F) {
      super(F, "BrotliDecompress");
    }
  };
  e.BrotliDecompress = z;
  var Y = class extends y {
    constructor(F, q) {
      F = F || {}, F.flush = F.flush || u.constants.ZSTD_e_continue, F.finishFlush = F.finishFlush || u.constants.ZSTD_e_end, F.fullFlushFlag = u.constants.ZSTD_e_flush, super(F, q);
    }
  }, H = class extends Y {
    constructor(F) {
      super(F, "ZstdCompress");
    }
  };
  e.ZstdCompress = H;
  var k = class extends Y {
    constructor(F) {
      super(F, "ZstdDecompress");
    }
  };
  e.ZstdDecompress = k;
})), UE = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.MinipassSized = e.SizeError = void 0;
  var t = Lt(), r = (h) => typeof h == "string", i = class extends Error {
    expect;
    found;
    code = "EBADSIZE";
    constructor(h, a, n) {
      super(`Bad data size: expected ${a} bytes, but got ${h}`), this.expect = a, this.found = h, Error.captureStackTrace(this, n ?? this.constructor);
    }
    get name() {
      return "SizeError";
    }
  };
  e.SizeError = i;
  var s = class extends t.Minipass {
    found = 0;
    expect;
    constructor(h) {
      const a = h?.size;
      if (typeof a != "number" || a > Number.MAX_SAFE_INTEGER || isNaN(a) || a < 0 || !isFinite(a) || a !== Math.floor(a)) throw new Error("invalid expected size: " + a);
      if (super(h), h.objectMode) throw new TypeError(`${this.constructor.name} streams only work with string and buffer data`);
      this.expect = a;
    }
    write(h, a, n) {
      const l = Buffer.isBuffer(h) ? h : typeof h == "string" ? Buffer.from(h, r(a) ? a : "utf8") : h;
      return typeof a == "function" && (n = a, a = null), Buffer.isBuffer(l) ? (this.found += l.length, this.found > this.expect && this.emit("error", new i(this.found, this.expect)), super.write(h, a, n)) : (this.emit("error", /* @__PURE__ */ new TypeError(`${this.constructor.name} streams only work with string and buffer data`)), !1);
    }
    emit(h, ...a) {
      return h === "end" && this.found !== this.expect && this.emit("error", new i(this.found, this.expect, this.emit)), super.emit(h, ...a);
    }
  };
  e.MinipassSized = s;
})), HE = /* @__PURE__ */ j(((e, t) => {
  var { Minipass: r } = Lt(), i = /* @__PURE__ */ Symbol("type"), s = /* @__PURE__ */ Symbol("buffer"), h = class $a {
    constructor(n, l) {
      this[i] = "";
      const u = [];
      let f = 0;
      if (n) {
        const c = n, d = Number(c.length);
        for (let p = 0; p < d; p++) {
          const m = c[p], g = m instanceof Buffer ? m : ArrayBuffer.isView(m) ? Buffer.from(m.buffer, m.byteOffset, m.byteLength) : m instanceof ArrayBuffer ? Buffer.from(m) : m instanceof $a ? m[s] : typeof m == "string" ? Buffer.from(m) : Buffer.from(String(m));
          f += g.length, u.push(g);
        }
      }
      this[s] = Buffer.concat(u, f);
      const o = l && l.type !== void 0 && String(l.type).toLowerCase();
      o && !/[^\u0020-\u007E]/.test(o) && (this[i] = o);
    }
    get size() {
      return this[s].length;
    }
    get type() {
      return this[i];
    }
    text() {
      return Promise.resolve(this[s].toString());
    }
    arrayBuffer() {
      const n = this[s], l = n.byteOffset, u = n.byteLength, f = n.buffer.slice(l, l + u);
      return Promise.resolve(f);
    }
    stream() {
      return new r().end(this[s]);
    }
    slice(n, l, u) {
      const f = this.size, o = n === void 0 ? 0 : n < 0 ? Math.max(f + n, 0) : Math.min(n, f), c = l === void 0 ? f : l < 0 ? Math.max(f + l, 0) : Math.min(l, f), d = Math.max(c - o, 0), p = this[s].slice(o, o + d), m = new $a([], { type: u });
      return m[s] = p, m;
    }
    get [Symbol.toStringTag]() {
      return "Blob";
    }
    static get BUFFER() {
      return s;
    }
  };
  Object.defineProperties(h.prototype, {
    size: { enumerable: !0 },
    type: { enumerable: !0 }
  }), t.exports = h;
})), Tf = /* @__PURE__ */ j(((e, t) => {
  var r = class extends Error {
    constructor(i, s, h) {
      super(i), this.code = "FETCH_ERROR", h && Object.assign(this, h), this.errno = this.code, this.type = this.code === "EBADSIZE" && this.found > this.expect ? "max-size" : s, this.message = i, Error.captureStackTrace(this, this.constructor);
    }
    get name() {
      return "FetchError";
    }
    set name(i) {
    }
    get [Symbol.toStringTag]() {
      return "FetchError";
    }
  };
  t.exports = r;
})), Rr = /* @__PURE__ */ j(((e, t) => {
  var r = ve("buffer"), i = r.Buffer, s = {}, h;
  for (h in r)
    r.hasOwnProperty(h) && (h === "SlowBuffer" || h === "Buffer" || (s[h] = r[h]));
  var a = s.Buffer = {};
  for (h in i)
    i.hasOwnProperty(h) && (h === "allocUnsafe" || h === "allocUnsafeSlow" || (a[h] = i[h]));
  if (s.Buffer.prototype = i.prototype, (!a.from || a.from === Uint8Array.from) && (a.from = function(n, l, u) {
    if (typeof n == "number") throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof n);
    if (n && typeof n.length > "u") throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof n);
    return i(n, l, u);
  }), a.alloc || (a.alloc = function(n, l, u) {
    if (typeof n != "number") throw new TypeError('The "size" argument must be of type number. Received type ' + typeof n);
    if (n < 0 || n >= 2 * (1 << 30)) throw new RangeError('The value "' + n + '" is invalid for option "size"');
    var f = i(n);
    return !l || l.length === 0 ? f.fill(0) : typeof u == "string" ? f.fill(l, u) : f.fill(l), f;
  }), !s.kStringMaxLength) try {
    s.kStringMaxLength = process.binding("buffer").kStringMaxLength;
  } catch {
  }
  s.constants || (s.constants = { MAX_LENGTH: s.kMaxLength }, s.kStringMaxLength && (s.constants.MAX_STRING_LENGTH = s.kStringMaxLength)), t.exports = s;
})), qE = /* @__PURE__ */ j(((e) => {
  var t = "\uFEFF";
  e.PrependBOM = r;
  function r(s, h) {
    this.encoder = s, this.addBOM = !0;
  }
  r.prototype.write = function(s) {
    return this.addBOM && (s = t + s, this.addBOM = !1), this.encoder.write(s);
  }, r.prototype.end = function() {
    return this.encoder.end();
  }, e.StripBOM = i;
  function i(s, h) {
    this.decoder = s, this.pass = !1, this.options = h || {};
  }
  i.prototype.write = function(s) {
    var h = this.decoder.write(s);
    return this.pass || !h || (h[0] === t && (h = h.slice(1), typeof this.options.stripBOM == "function" && this.options.stripBOM()), this.pass = !0), h;
  }, i.prototype.end = function() {
    return this.decoder.end();
  };
})), Rf = /* @__PURE__ */ j(((e, t) => {
  var r = typeof Object.hasOwn > "u" ? Function.call.bind(Object.prototype.hasOwnProperty) : Object.hasOwn;
  function i(s, h) {
    for (var a in h) r(h, a) && (s[a] = h[a]);
  }
  t.exports = i;
})), zE = /* @__PURE__ */ j(((e, t) => {
  var r = Rr().Buffer;
  t.exports = {
    utf8: {
      type: "_internal",
      bomAware: !0
    },
    cesu8: {
      type: "_internal",
      bomAware: !0
    },
    unicode11utf8: "utf8",
    ucs2: {
      type: "_internal",
      bomAware: !0
    },
    utf16le: "ucs2",
    binary: { type: "_internal" },
    base64: { type: "_internal" },
    hex: { type: "_internal" },
    _internal: i
  };
  function i(o, c) {
    this.enc = o.encodingName, this.bomAware = o.bomAware, this.enc === "base64" ? this.encoder = n : this.enc === "utf8" ? this.encoder = f : this.enc === "cesu8" && (this.enc = "utf8", this.encoder = l, r.from("eda0bdedb2a9", "hex").toString() !== "💩" && (this.decoder = u, this.defaultCharUnicode = c.defaultCharUnicode));
  }
  i.prototype.encoder = a, i.prototype.decoder = h;
  var s = ve("string_decoder").StringDecoder;
  function h(o, c) {
    this.decoder = new s(c.enc);
  }
  h.prototype.write = function(o) {
    return r.isBuffer(o) || (o = r.from(o)), this.decoder.write(o);
  }, h.prototype.end = function() {
    return this.decoder.end();
  };
  function a(o, c) {
    this.enc = c.enc;
  }
  a.prototype.write = function(o) {
    return r.from(o, this.enc);
  }, a.prototype.end = function() {
  };
  function n(o, c) {
    this.prevStr = "";
  }
  n.prototype.write = function(o) {
    o = this.prevStr + o;
    var c = o.length - o.length % 4;
    return this.prevStr = o.slice(c), o = o.slice(0, c), r.from(o, "base64");
  }, n.prototype.end = function() {
    return r.from(this.prevStr, "base64");
  };
  function l(o, c) {
  }
  l.prototype.write = function(o) {
    for (var c = r.alloc(o.length * 3), d = 0, p = 0; p < o.length; p++) {
      var m = o.charCodeAt(p);
      m < 128 ? c[d++] = m : m < 2048 ? (c[d++] = 192 + (m >>> 6), c[d++] = 128 + (m & 63)) : (c[d++] = 224 + (m >>> 12), c[d++] = 128 + (m >>> 6 & 63), c[d++] = 128 + (m & 63));
    }
    return c.slice(0, d);
  }, l.prototype.end = function() {
  };
  function u(o, c) {
    this.acc = 0, this.contBytes = 0, this.accBytes = 0, this.defaultCharUnicode = c.defaultCharUnicode;
  }
  u.prototype.write = function(o) {
    for (var c = this.acc, d = this.contBytes, p = this.accBytes, m = "", g = 0; g < o.length; g++) {
      var v = o[g];
      (v & 192) !== 128 ? (d > 0 && (m += this.defaultCharUnicode, d = 0), v < 128 ? m += String.fromCharCode(v) : v < 224 ? (c = v & 31, d = 1, p = 1) : v < 240 ? (c = v & 15, d = 2, p = 1) : m += this.defaultCharUnicode) : d > 0 ? (c = c << 6 | v & 63, d--, p++, d === 0 && (p === 2 && c < 128 && c > 0 ? m += this.defaultCharUnicode : p === 3 && c < 2048 ? m += this.defaultCharUnicode : m += String.fromCharCode(c))) : m += this.defaultCharUnicode;
    }
    return this.acc = c, this.contBytes = d, this.accBytes = p, m;
  }, u.prototype.end = function() {
    var o = 0;
    return this.contBytes > 0 && (o += this.defaultCharUnicode), o;
  };
  function f(o, c) {
    this.highSurrogate = "";
  }
  f.prototype.write = function(o) {
    if (this.highSurrogate && (o = this.highSurrogate + o, this.highSurrogate = ""), o.length > 0) {
      var c = o.charCodeAt(o.length - 1);
      c >= 55296 && c < 56320 && (this.highSurrogate = o[o.length - 1], o = o.slice(0, o.length - 1));
    }
    return r.from(o, this.enc);
  }, f.prototype.end = function() {
    if (this.highSurrogate) {
      var o = this.highSurrogate;
      return this.highSurrogate = "", r.from(o, this.enc);
    }
  };
})), GE = /* @__PURE__ */ j(((e) => {
  var t = Rr().Buffer;
  e._utf32 = r;
  function r(f, o) {
    this.iconv = o, this.bomAware = !0, this.isLE = f.isLE;
  }
  e.utf32le = {
    type: "_utf32",
    isLE: !0
  }, e.utf32be = {
    type: "_utf32",
    isLE: !1
  }, e.ucs4le = "utf32le", e.ucs4be = "utf32be", r.prototype.encoder = i, r.prototype.decoder = s;
  function i(f, o) {
    this.isLE = o.isLE, this.highSurrogate = 0;
  }
  i.prototype.write = function(f) {
    for (var o = t.from(f, "ucs2"), c = t.alloc(o.length * 2), d = this.isLE ? c.writeUInt32LE : c.writeUInt32BE, p = 0, m = 0; m < o.length; m += 2) {
      var g = o.readUInt16LE(m), v = g >= 55296 && g < 56320, y = g >= 56320 && g < 57344;
      if (this.highSurrogate) if (v || !y)
        d.call(c, this.highSurrogate, p), p += 4;
      else {
        var w = (this.highSurrogate - 55296 << 10 | g - 56320) + 65536;
        d.call(c, w, p), p += 4, this.highSurrogate = 0;
        continue;
      }
      v ? this.highSurrogate = g : (d.call(c, g, p), p += 4, this.highSurrogate = 0);
    }
    return p < c.length && (c = c.slice(0, p)), c;
  }, i.prototype.end = function() {
    if (this.highSurrogate) {
      var f = t.alloc(4);
      return this.isLE ? f.writeUInt32LE(this.highSurrogate, 0) : f.writeUInt32BE(this.highSurrogate, 0), this.highSurrogate = 0, f;
    }
  };
  function s(f, o) {
    this.isLE = o.isLE, this.badChar = o.iconv.defaultCharUnicode.charCodeAt(0), this.overflow = [];
  }
  s.prototype.write = function(f) {
    if (f.length === 0) return "";
    var o = 0, c = 0, d = t.alloc(f.length + 4), p = 0, m = this.isLE, g = this.overflow, v = this.badChar;
    if (g.length > 0) {
      for (; o < f.length && g.length < 4; o++) g.push(f[o]);
      g.length === 4 && (m ? c = g[o] | g[o + 1] << 8 | g[o + 2] << 16 | g[o + 3] << 24 : c = g[o + 3] | g[o + 2] << 8 | g[o + 1] << 16 | g[o] << 24, g.length = 0, p = h(d, p, c, v));
    }
    for (; o < f.length - 3; o += 4)
      m ? c = f[o] | f[o + 1] << 8 | f[o + 2] << 16 | f[o + 3] << 24 : c = f[o + 3] | f[o + 2] << 8 | f[o + 1] << 16 | f[o] << 24, p = h(d, p, c, v);
    for (; o < f.length; o++) g.push(f[o]);
    return d.slice(0, p).toString("ucs2");
  };
  function h(f, o, c, d) {
    if ((c < 0 || c > 1114111) && (c = d), c >= 65536) {
      c -= 65536;
      var p = 55296 | c >> 10;
      f[o++] = p & 255, f[o++] = p >> 8;
      var c = 56320 | c & 1023;
    }
    return f[o++] = c & 255, f[o++] = c >> 8, o;
  }
  s.prototype.end = function() {
    this.overflow.length = 0;
  }, e.utf32 = a, e.ucs4 = "utf32";
  function a(f, o) {
    this.iconv = o;
  }
  a.prototype.encoder = n, a.prototype.decoder = l;
  function n(f, o) {
    f = f || {}, f.addBOM === void 0 && (f.addBOM = !0), this.encoder = o.iconv.getEncoder(f.defaultEncoding || "utf-32le", f);
  }
  n.prototype.write = function(f) {
    return this.encoder.write(f);
  }, n.prototype.end = function() {
    return this.encoder.end();
  };
  function l(f, o) {
    this.decoder = null, this.initialBufs = [], this.initialBufsLen = 0, this.options = f || {}, this.iconv = o.iconv;
  }
  l.prototype.write = function(f) {
    if (!this.decoder) {
      if (this.initialBufs.push(f), this.initialBufsLen += f.length, this.initialBufsLen < 32) return "";
      var o = u(this.initialBufs, this.options.defaultEncoding);
      this.decoder = this.iconv.getDecoder(o, this.options);
      for (var c = "", d = 0; d < this.initialBufs.length; d++) c += this.decoder.write(this.initialBufs[d]);
      return this.initialBufs.length = this.initialBufsLen = 0, c;
    }
    return this.decoder.write(f);
  }, l.prototype.end = function() {
    if (!this.decoder) {
      var f = u(this.initialBufs, this.options.defaultEncoding);
      this.decoder = this.iconv.getDecoder(f, this.options);
      for (var o = "", c = 0; c < this.initialBufs.length; c++) o += this.decoder.write(this.initialBufs[c]);
      var d = this.decoder.end();
      return d && (o += d), this.initialBufs.length = this.initialBufsLen = 0, o;
    }
    return this.decoder.end();
  };
  function u(f, o) {
    var c = [], d = 0, p = 0, m = 0, g = 0, v = 0;
    e: for (var y = 0; y < f.length; y++)
      for (var w = f[y], _ = 0; _ < w.length; _++)
        if (c.push(w[_]), c.length === 4) {
          if (d === 0) {
            if (c[0] === 255 && c[1] === 254 && c[2] === 0 && c[3] === 0) return "utf-32le";
            if (c[0] === 0 && c[1] === 0 && c[2] === 254 && c[3] === 255) return "utf-32be";
          }
          if ((c[0] !== 0 || c[1] > 16) && m++, (c[3] !== 0 || c[2] > 16) && p++, c[0] === 0 && c[1] === 0 && (c[2] !== 0 || c[3] !== 0) && v++, (c[0] !== 0 || c[1] !== 0) && c[2] === 0 && c[3] === 0 && g++, c.length = 0, d++, d >= 100) break e;
        }
    return v - m > g - p ? "utf-32be" : v - m < g - p ? "utf-32le" : o || "utf-32le";
  }
})), WE = /* @__PURE__ */ j(((e) => {
  var t = Rr().Buffer;
  e.utf16be = r;
  function r() {
  }
  r.prototype.encoder = i, r.prototype.decoder = s, r.prototype.bomAware = !0;
  function i() {
  }
  i.prototype.write = function(u) {
    for (var f = t.from(u, "ucs2"), o = 0; o < f.length; o += 2) {
      var c = f[o];
      f[o] = f[o + 1], f[o + 1] = c;
    }
    return f;
  }, i.prototype.end = function() {
  };
  function s() {
    this.overflowByte = -1;
  }
  s.prototype.write = function(u) {
    if (u.length == 0) return "";
    var f = t.alloc(u.length + 1), o = 0, c = 0;
    for (this.overflowByte !== -1 && (f[0] = u[0], f[1] = this.overflowByte, o = 1, c = 2); o < u.length - 1; o += 2, c += 2)
      f[c] = u[o + 1], f[c + 1] = u[o];
    return this.overflowByte = o == u.length - 1 ? u[u.length - 1] : -1, f.slice(0, c).toString("ucs2");
  }, s.prototype.end = function() {
    this.overflowByte = -1;
  }, e.utf16 = h;
  function h(u, f) {
    this.iconv = f;
  }
  h.prototype.encoder = a, h.prototype.decoder = n;
  function a(u, f) {
    u = u || {}, u.addBOM === void 0 && (u.addBOM = !0), this.encoder = f.iconv.getEncoder("utf-16le", u);
  }
  a.prototype.write = function(u) {
    return this.encoder.write(u);
  }, a.prototype.end = function() {
    return this.encoder.end();
  };
  function n(u, f) {
    this.decoder = null, this.initialBufs = [], this.initialBufsLen = 0, this.options = u || {}, this.iconv = f.iconv;
  }
  n.prototype.write = function(u) {
    if (!this.decoder) {
      if (this.initialBufs.push(u), this.initialBufsLen += u.length, this.initialBufsLen < 16) return "";
      var f = l(this.initialBufs, this.options.defaultEncoding);
      this.decoder = this.iconv.getDecoder(f, this.options);
      for (var o = "", c = 0; c < this.initialBufs.length; c++) o += this.decoder.write(this.initialBufs[c]);
      return this.initialBufs.length = this.initialBufsLen = 0, o;
    }
    return this.decoder.write(u);
  }, n.prototype.end = function() {
    if (!this.decoder) {
      var u = l(this.initialBufs, this.options.defaultEncoding);
      this.decoder = this.iconv.getDecoder(u, this.options);
      for (var f = "", o = 0; o < this.initialBufs.length; o++) f += this.decoder.write(this.initialBufs[o]);
      var c = this.decoder.end();
      return c && (f += c), this.initialBufs.length = this.initialBufsLen = 0, f;
    }
    return this.decoder.end();
  };
  function l(u, f) {
    var o = [], c = 0, d = 0, p = 0;
    e: for (var m = 0; m < u.length; m++)
      for (var g = u[m], v = 0; v < g.length; v++)
        if (o.push(g[v]), o.length === 2) {
          if (c === 0) {
            if (o[0] === 255 && o[1] === 254) return "utf-16le";
            if (o[0] === 254 && o[1] === 255) return "utf-16be";
          }
          if (o[0] === 0 && o[1] !== 0 && p++, o[0] !== 0 && o[1] === 0 && d++, o.length = 0, c++, c >= 100) break e;
        }
    return p > d ? "utf-16be" : p < d ? "utf-16le" : f || "utf-16le";
  }
})), VE = /* @__PURE__ */ j(((e) => {
  var t = Rr().Buffer;
  e.utf7 = r, e.unicode11utf7 = "utf7";
  function r(g, v) {
    this.iconv = v;
  }
  r.prototype.encoder = s, r.prototype.decoder = h, r.prototype.bomAware = !0;
  var i = /[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;
  function s(g, v) {
    this.iconv = v.iconv;
  }
  s.prototype.write = function(g) {
    return t.from(g.replace(i, function(v) {
      return "+" + (v === "+" ? "" : this.iconv.encode(v, "utf16-be").toString("base64").replace(/=+$/, "")) + "-";
    }.bind(this)));
  }, s.prototype.end = function() {
  };
  function h(g, v) {
    this.iconv = v.iconv, this.inBase64 = !1, this.base64Accum = "";
  }
  for (var a = /[A-Za-z0-9\/+]/, n = [], l = 0; l < 256; l++) n[l] = a.test(String.fromCharCode(l));
  var u = 43, f = 45, o = 38;
  h.prototype.write = function(g) {
    for (var v = "", y = 0, w = this.inBase64, _ = this.base64Accum, b = 0; b < g.length; b++) if (!w)
      g[b] == u && (v += this.iconv.decode(g.slice(y, b), "ascii"), y = b + 1, w = !0);
    else if (!n[g[b]]) {
      if (b == y && g[b] == f) v += "+";
      else {
        var E = _ + this.iconv.decode(g.slice(y, b), "ascii");
        v += this.iconv.decode(t.from(E, "base64"), "utf16-be");
      }
      g[b] != f && b--, y = b + 1, w = !1, _ = "";
    }
    if (!w) v += this.iconv.decode(g.slice(y), "ascii");
    else {
      var E = _ + this.iconv.decode(g.slice(y), "ascii"), D = E.length - E.length % 8;
      _ = E.slice(D), E = E.slice(0, D), v += this.iconv.decode(t.from(E, "base64"), "utf16-be");
    }
    return this.inBase64 = w, this.base64Accum = _, v;
  }, h.prototype.end = function() {
    var g = "";
    return this.inBase64 && this.base64Accum.length > 0 && (g = this.iconv.decode(t.from(this.base64Accum, "base64"), "utf16-be")), this.inBase64 = !1, this.base64Accum = "", g;
  }, e.utf7imap = c;
  function c(g, v) {
    this.iconv = v;
  }
  c.prototype.encoder = d, c.prototype.decoder = p, c.prototype.bomAware = !0;
  function d(g, v) {
    this.iconv = v.iconv, this.inBase64 = !1, this.base64Accum = t.alloc(6), this.base64AccumIdx = 0;
  }
  d.prototype.write = function(g) {
    for (var v = this.inBase64, y = this.base64Accum, w = this.base64AccumIdx, _ = t.alloc(g.length * 5 + 10), b = 0, E = 0; E < g.length; E++) {
      var D = g.charCodeAt(E);
      D >= 32 && D <= 126 ? (v && (w > 0 && (b += _.write(y.slice(0, w).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), b), w = 0), _[b++] = f, v = !1), v || (_[b++] = D, D === o && (_[b++] = f))) : (v || (_[b++] = o, v = !0), v && (y[w++] = D >> 8, y[w++] = D & 255, w == y.length && (b += _.write(y.toString("base64").replace(/\//g, ","), b), w = 0)));
    }
    return this.inBase64 = v, this.base64AccumIdx = w, _.slice(0, b);
  }, d.prototype.end = function() {
    var g = t.alloc(10), v = 0;
    return this.inBase64 && (this.base64AccumIdx > 0 && (v += g.write(this.base64Accum.slice(0, this.base64AccumIdx).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), v), this.base64AccumIdx = 0), g[v++] = f, this.inBase64 = !1), g.slice(0, v);
  };
  function p(g, v) {
    this.iconv = v.iconv, this.inBase64 = !1, this.base64Accum = "";
  }
  var m = n.slice();
  m[44] = !0, p.prototype.write = function(g) {
    for (var v = "", y = 0, w = this.inBase64, _ = this.base64Accum, b = 0; b < g.length; b++) if (!w)
      g[b] == o && (v += this.iconv.decode(g.slice(y, b), "ascii"), y = b + 1, w = !0);
    else if (!m[g[b]]) {
      if (b == y && g[b] == f) v += "&";
      else {
        var E = _ + this.iconv.decode(g.slice(y, b), "ascii").replace(/,/g, "/");
        v += this.iconv.decode(t.from(E, "base64"), "utf16-be");
      }
      g[b] != f && b--, y = b + 1, w = !1, _ = "";
    }
    if (!w) v += this.iconv.decode(g.slice(y), "ascii");
    else {
      var E = _ + this.iconv.decode(g.slice(y), "ascii").replace(/,/g, "/"), D = E.length - E.length % 8;
      _ = E.slice(D), E = E.slice(0, D), v += this.iconv.decode(t.from(E, "base64"), "utf16-be");
    }
    return this.inBase64 = w, this.base64Accum = _, v;
  }, p.prototype.end = function() {
    var g = "";
    return this.inBase64 && this.base64Accum.length > 0 && (g = this.iconv.decode(t.from(this.base64Accum, "base64"), "utf16-be")), this.inBase64 = !1, this.base64Accum = "", g;
  };
})), YE = /* @__PURE__ */ j(((e) => {
  var t = Rr().Buffer;
  e._sbcs = r;
  function r(h, a) {
    if (!h) throw new Error("SBCS codec is called without the data.");
    if (!h.chars || h.chars.length !== 128 && h.chars.length !== 256) throw new Error("Encoding '" + h.type + "' has incorrect 'chars' (must be of len 128 or 256)");
    if (h.chars.length === 128) {
      for (var n = "", l = 0; l < 128; l++) n += String.fromCharCode(l);
      h.chars = n + h.chars;
    }
    this.decodeBuf = t.from(h.chars, "ucs2");
    for (var u = t.alloc(65536, a.defaultCharSingleByte.charCodeAt(0)), l = 0; l < h.chars.length; l++) u[h.chars.charCodeAt(l)] = l;
    this.encodeBuf = u;
  }
  r.prototype.encoder = i, r.prototype.decoder = s;
  function i(h, a) {
    this.encodeBuf = a.encodeBuf;
  }
  i.prototype.write = function(h) {
    for (var a = t.alloc(h.length), n = 0; n < h.length; n++) a[n] = this.encodeBuf[h.charCodeAt(n)];
    return a;
  }, i.prototype.end = function() {
  };
  function s(h, a) {
    this.decodeBuf = a.decodeBuf;
  }
  s.prototype.write = function(h) {
    for (var a = this.decodeBuf, n = t.alloc(h.length * 2), l = 0, u = 0, f = 0; f < h.length; f++)
      l = h[f] * 2, u = f * 2, n[u] = a[l], n[u + 1] = a[l + 1];
    return n.toString("ucs2");
  }, s.prototype.end = function() {
  };
})), KE = /* @__PURE__ */ j(((e, t) => {
  t.exports = {
    10029: "maccenteuro",
    maccenteuro: {
      type: "_sbcs",
      chars: "ÄĀāÉĄÖÜáąČäčĆćéŹźĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņŃ¬√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"
    },
    808: "cp808",
    ibm808: "cp808",
    cp808: {
      type: "_sbcs",
      chars: "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "
    },
    mik: {
      type: "_sbcs",
      chars: "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    cp720: {
      type: "_sbcs",
      chars: "éâàçêëèïîّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "
    },
    ascii8bit: "ascii",
    usascii: "ascii",
    ansix34: "ascii",
    ansix341968: "ascii",
    ansix341986: "ascii",
    csascii: "ascii",
    cp367: "ascii",
    ibm367: "ascii",
    isoir6: "ascii",
    iso646us: "ascii",
    iso646irv: "ascii",
    us: "ascii",
    latin1: "iso88591",
    latin2: "iso88592",
    latin3: "iso88593",
    latin4: "iso88594",
    latin5: "iso88599",
    latin6: "iso885910",
    latin7: "iso885913",
    latin8: "iso885914",
    latin9: "iso885915",
    latin10: "iso885916",
    csisolatin1: "iso88591",
    csisolatin2: "iso88592",
    csisolatin3: "iso88593",
    csisolatin4: "iso88594",
    csisolatincyrillic: "iso88595",
    csisolatinarabic: "iso88596",
    csisolatingreek: "iso88597",
    csisolatinhebrew: "iso88598",
    csisolatin5: "iso88599",
    csisolatin6: "iso885910",
    l1: "iso88591",
    l2: "iso88592",
    l3: "iso88593",
    l4: "iso88594",
    l5: "iso88599",
    l6: "iso885910",
    l7: "iso885913",
    l8: "iso885914",
    l9: "iso885915",
    l10: "iso885916",
    isoir14: "iso646jp",
    isoir57: "iso646cn",
    isoir100: "iso88591",
    isoir101: "iso88592",
    isoir109: "iso88593",
    isoir110: "iso88594",
    isoir144: "iso88595",
    isoir127: "iso88596",
    isoir126: "iso88597",
    isoir138: "iso88598",
    isoir148: "iso88599",
    isoir157: "iso885910",
    isoir166: "tis620",
    isoir179: "iso885913",
    isoir199: "iso885914",
    isoir203: "iso885915",
    isoir226: "iso885916",
    cp819: "iso88591",
    ibm819: "iso88591",
    cyrillic: "iso88595",
    arabic: "iso88596",
    arabic8: "iso88596",
    ecma114: "iso88596",
    asmo708: "iso88596",
    greek: "iso88597",
    greek8: "iso88597",
    ecma118: "iso88597",
    elot928: "iso88597",
    hebrew: "iso88598",
    hebrew8: "iso88598",
    turkish: "iso88599",
    turkish8: "iso88599",
    thai: "iso885911",
    thai8: "iso885911",
    celtic: "iso885914",
    celtic8: "iso885914",
    isoceltic: "iso885914",
    tis6200: "tis620",
    tis62025291: "tis620",
    tis62025330: "tis620",
    1e4: "macroman",
    10006: "macgreek",
    10007: "maccyrillic",
    10079: "maciceland",
    10081: "macturkish",
    cspc8codepage437: "cp437",
    cspc775baltic: "cp775",
    cspc850multilingual: "cp850",
    cspcp852: "cp852",
    cspc862latinhebrew: "cp862",
    cpgr: "cp869",
    msee: "cp1250",
    mscyrl: "cp1251",
    msansi: "cp1252",
    msgreek: "cp1253",
    msturk: "cp1254",
    mshebr: "cp1255",
    msarab: "cp1256",
    winbaltrim: "cp1257",
    cp20866: "koi8r",
    20866: "koi8r",
    ibm878: "koi8r",
    cskoi8r: "koi8r",
    cp21866: "koi8u",
    21866: "koi8u",
    ibm1168: "koi8u",
    strk10482002: "rk1048",
    tcvn5712: "tcvn",
    tcvn57121: "tcvn",
    gb198880: "iso646cn",
    cn: "iso646cn",
    csiso14jisc6220ro: "iso646jp",
    jisc62201969ro: "iso646jp",
    jp: "iso646jp",
    cshproman8: "hproman8",
    r8: "hproman8",
    roman8: "hproman8",
    xroman8: "hproman8",
    ibm1051: "hproman8",
    mac: "macintosh",
    csmacintosh: "macintosh"
  };
})), ZE = /* @__PURE__ */ j(((e, t) => {
  t.exports = {
    437: "cp437",
    737: "cp737",
    775: "cp775",
    850: "cp850",
    852: "cp852",
    855: "cp855",
    856: "cp856",
    857: "cp857",
    858: "cp858",
    860: "cp860",
    861: "cp861",
    862: "cp862",
    863: "cp863",
    864: "cp864",
    865: "cp865",
    866: "cp866",
    869: "cp869",
    874: "windows874",
    922: "cp922",
    1046: "cp1046",
    1124: "cp1124",
    1125: "cp1125",
    1129: "cp1129",
    1133: "cp1133",
    1161: "cp1161",
    1162: "cp1162",
    1163: "cp1163",
    1250: "windows1250",
    1251: "windows1251",
    1252: "windows1252",
    1253: "windows1253",
    1254: "windows1254",
    1255: "windows1255",
    1256: "windows1256",
    1257: "windows1257",
    1258: "windows1258",
    28591: "iso88591",
    28592: "iso88592",
    28593: "iso88593",
    28594: "iso88594",
    28595: "iso88595",
    28596: "iso88596",
    28597: "iso88597",
    28598: "iso88598",
    28599: "iso88599",
    28600: "iso885910",
    28601: "iso885911",
    28603: "iso885913",
    28604: "iso885914",
    28605: "iso885915",
    28606: "iso885916",
    windows874: {
      type: "_sbcs",
      chars: "€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
    },
    win874: "windows874",
    cp874: "windows874",
    windows1250: {
      type: "_sbcs",
      chars: "€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"
    },
    win1250: "windows1250",
    cp1250: "windows1250",
    windows1251: {
      type: "_sbcs",
      chars: "ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
    },
    win1251: "windows1251",
    cp1251: "windows1251",
    windows1252: {
      type: "_sbcs",
      chars: "€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    },
    win1252: "windows1252",
    cp1252: "windows1252",
    windows1253: {
      type: "_sbcs",
      chars: "€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"
    },
    win1253: "windows1253",
    cp1253: "windows1253",
    windows1254: {
      type: "_sbcs",
      chars: "€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"
    },
    win1254: "windows1254",
    cp1254: "windows1254",
    windows1255: {
      type: "_sbcs",
      chars: "€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"
    },
    win1255: "windows1255",
    cp1255: "windows1255",
    windows1256: {
      type: "_sbcs",
      chars: "€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"
    },
    win1256: "windows1256",
    cp1256: "windows1256",
    windows1257: {
      type: "_sbcs",
      chars: "€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"
    },
    win1257: "windows1257",
    cp1257: "windows1257",
    windows1258: {
      type: "_sbcs",
      chars: "€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"
    },
    win1258: "windows1258",
    cp1258: "windows1258",
    iso88591: {
      type: "_sbcs",
      chars: " ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    },
    cp28591: "iso88591",
    iso88592: {
      type: "_sbcs",
      chars: " Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"
    },
    cp28592: "iso88592",
    iso88593: {
      type: "_sbcs",
      chars: " Ħ˘£¤�Ĥ§¨İŞĞĴ­�Ż°ħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"
    },
    cp28593: "iso88593",
    iso88594: {
      type: "_sbcs",
      chars: " ĄĸŖ¤ĨĻ§¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩļˇ¸šēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖ×ØŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"
    },
    cp28594: "iso88594",
    iso88595: {
      type: "_sbcs",
      chars: " ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"
    },
    cp28595: "iso88595",
    iso88596: {
      type: "_sbcs",
      chars: " ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"
    },
    cp28596: "iso88596",
    iso88597: {
      type: "_sbcs",
      chars: " ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"
    },
    cp28597: "iso88597",
    iso88598: {
      type: "_sbcs",
      chars: " �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"
    },
    cp28598: "iso88598",
    iso88599: {
      type: "_sbcs",
      chars: " ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"
    },
    cp28599: "iso88599",
    iso885910: {
      type: "_sbcs",
      chars: " ĄĒĢĪĨĶ§ĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"
    },
    cp28600: "iso885910",
    iso885911: {
      type: "_sbcs",
      chars: " กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
    },
    cp28601: "iso885911",
    iso885913: {
      type: "_sbcs",
      chars: " ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"
    },
    cp28603: "iso885913",
    iso885914: {
      type: "_sbcs",
      chars: " Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"
    },
    cp28604: "iso885914",
    iso885915: {
      type: "_sbcs",
      chars: " ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    },
    cp28605: "iso885915",
    iso885916: {
      type: "_sbcs",
      chars: " ĄąŁ€„Š§š©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"
    },
    cp28606: "iso885916",
    cp437: {
      type: "_sbcs",
      chars: "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñÑªº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    ibm437: "cp437",
    csibm437: "cp437",
    cp737: {
      type: "_sbcs",
      chars: "ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "
    },
    ibm737: "cp737",
    csibm737: "cp737",
    cp775: {
      type: "_sbcs",
      chars: "ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "
    },
    ibm775: "cp775",
    csibm775: "cp775",
    cp850: {
      type: "_sbcs",
      chars: "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñÑªº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýÝ¯´­±‗¾¶§÷¸°¨·¹³²■ "
    },
    ibm850: "cp850",
    csibm850: "cp850",
    cp852: {
      type: "_sbcs",
      chars: "ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘę¬źČş«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "
    },
    ibm852: "cp852",
    csibm852: "cp852",
    cp855: {
      type: "_sbcs",
      chars: "ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "
    },
    ibm855: "cp855",
    csibm855: "cp855",
    cp856: {
      type: "_sbcs",
      chars: "אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "
    },
    ibm856: "cp856",
    csibm856: "cp856",
    cp857: {
      type: "_sbcs",
      chars: "ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞğ¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "
    },
    ibm857: "cp857",
    csibm857: "cp857",
    cp858: {
      type: "_sbcs",
      chars: "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñÑªº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýÝ¯´­±‗¾¶§÷¸°¨·¹³²■ "
    },
    ibm858: "cp858",
    csibm858: "cp858",
    cp860: {
      type: "_sbcs",
      chars: "ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñÑªº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    ibm860: "cp860",
    csibm860: "cp860",
    cp861: {
      type: "_sbcs",
      chars: "ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    ibm861: "cp861",
    csibm861: "cp861",
    cp862: {
      type: "_sbcs",
      chars: "אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñÑªº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    ibm862: "cp862",
    csibm862: "cp862",
    cp863: {
      type: "_sbcs",
      chars: "ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    ibm863: "cp863",
    csibm863: "cp863",
    cp864: {
      type: "_sbcs",
      chars: `\0\x07\b	
\v\f\r\x1B !"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�`
    },
    ibm864: "cp864",
    csibm864: "cp864",
    cp865: {
      type: "_sbcs",
      chars: "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñÑªº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    ibm865: "cp865",
    csibm865: "cp865",
    cp866: {
      type: "_sbcs",
      chars: "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "
    },
    ibm866: "cp866",
    csibm866: "cp866",
    cp869: {
      type: "_sbcs",
      chars: "������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "
    },
    ibm869: "cp869",
    csibm869: "cp869",
    cp922: {
      type: "_sbcs",
      chars: " ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖ×ØÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"
    },
    ibm922: "cp922",
    csibm922: "cp922",
    cp1046: {
      type: "_sbcs",
      chars: "ﺈ×÷ﹱ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"
    },
    ibm1046: "cp1046",
    csibm1046: "cp1046",
    cp1124: {
      type: "_sbcs",
      chars: " ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"
    },
    ibm1124: "cp1124",
    csibm1124: "cp1124",
    cp1125: {
      type: "_sbcs",
      chars: "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "
    },
    ibm1125: "cp1125",
    csibm1125: "cp1125",
    cp1129: {
      type: "_sbcs",
      chars: " ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"
    },
    ibm1129: "cp1129",
    csibm1129: "cp1129",
    cp1133: {
      type: "_sbcs",
      chars: " ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"
    },
    ibm1133: "cp1133",
    csibm1133: "cp1133",
    cp1161: {
      type: "_sbcs",
      chars: "��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "
    },
    ibm1161: "cp1161",
    csibm1161: "cp1161",
    cp1162: {
      type: "_sbcs",
      chars: "€…‘’“”•–— กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
    },
    ibm1162: "cp1162",
    csibm1162: "cp1162",
    cp1163: {
      type: "_sbcs",
      chars: " ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"
    },
    ibm1163: "cp1163",
    csibm1163: "cp1163",
    maccroatian: {
      type: "_sbcs",
      chars: "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"
    },
    maccyrillic: {
      type: "_sbcs",
      chars: "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"
    },
    macgreek: {
      type: "_sbcs",
      chars: "Ä¹²É³ÖÜ΅àâä΄¨çéèêë£™îï•½‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"
    },
    maciceland: {
      type: "_sbcs",
      chars: "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
    },
    macroman: {
      type: "_sbcs",
      chars: "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›ﬁﬂ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
    },
    macromania: {
      type: "_sbcs",
      chars: "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
    },
    macthai: {
      type: "_sbcs",
      chars: "«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\uFEFF​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"
    },
    macturkish: {
      type: "_sbcs",
      chars: "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"
    },
    macukraine: {
      type: "_sbcs",
      chars: "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"
    },
    koi8r: {
      type: "_sbcs",
      chars: "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
    },
    koi8u: {
      type: "_sbcs",
      chars: "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
    },
    koi8ru: {
      type: "_sbcs",
      chars: "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
    },
    koi8t: {
      type: "_sbcs",
      chars: "қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
    },
    armscii8: {
      type: "_sbcs",
      chars: " �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"
    },
    rk1048: {
      type: "_sbcs",
      chars: "ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
    },
    tcvn: {
      type: "_sbcs",
      chars: `\0ÚỤỪỬỮ\x07\b	
\v\f\rỨỰỲỶỸÝỴ\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ`
    },
    georgianacademy: {
      type: "_sbcs",
      chars: "‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    },
    georgianps: {
      type: "_sbcs",
      chars: "‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    },
    pt154: {
      type: "_sbcs",
      chars: "ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
    },
    viscii: {
      type: "_sbcs",
      chars: `\0ẲẴẪ\x07\b	
\v\f\rỶỸ\x1BỴ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ`
    },
    iso646cn: {
      type: "_sbcs",
      chars: `\0\x07\b	
\v\f\r\x1B !"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`
    },
    iso646jp: {
      type: "_sbcs",
      chars: `\0\x07\b	
\v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`
    },
    hproman8: {
      type: "_sbcs",
      chars: " ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"
    },
    macintosh: {
      type: "_sbcs",
      chars: "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›ﬁﬂ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
    },
    ascii: {
      type: "_sbcs",
      chars: "��������������������������������������������������������������������������������������������������������������������������������"
    },
    tis620: {
      type: "_sbcs",
      chars: "���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
    }
  };
})), JE = /* @__PURE__ */ j(((e) => {
  var t = Rr().Buffer;
  e._dbcs = u;
  for (var r = -1, i = -2, s = -10, h = -1e3, a = new Array(256), n = -1, l = 0; l < 256; l++) a[l] = r;
  function u(d, p) {
    if (this.encodingName = d.encodingName, !d) throw new Error("DBCS codec is called without the data.");
    if (!d.table) throw new Error("Encoding '" + this.encodingName + "' has no data.");
    var m = d.table();
    this.decodeTables = [], this.decodeTables[0] = a.slice(0), this.decodeTableSeq = [];
    for (var g = 0; g < m.length; g++) this._addDecodeChunk(m[g]);
    if (typeof d.gb18030 == "function") {
      this.gb18030 = d.gb18030();
      var v = this.decodeTables.length;
      this.decodeTables.push(a.slice(0));
      var y = this.decodeTables.length;
      this.decodeTables.push(a.slice(0));
      for (var w = this.decodeTables[0], g = 129; g <= 254; g++)
        for (var _ = this.decodeTables[h - w[g]], b = 48; b <= 57; b++) {
          if (_[b] === r) _[b] = h - v;
          else if (_[b] > h) throw new Error("gb18030 decode tables conflict at byte 2");
          for (var E = this.decodeTables[h - _[b]], D = 129; D <= 254; D++) {
            if (E[D] === r) E[D] = h - y;
            else {
              if (E[D] === h - y) continue;
              if (E[D] > h) throw new Error("gb18030 decode tables conflict at byte 3");
            }
            for (var S = this.decodeTables[h - E[D]], C = 48; C <= 57; C++) S[C] === r && (S[C] = i);
          }
        }
    }
    this.defaultCharUnicode = p.defaultCharUnicode, this.encodeTable = [], this.encodeTableSeq = [];
    var T = {};
    if (d.encodeSkipVals) for (var g = 0; g < d.encodeSkipVals.length; g++) {
      var U = d.encodeSkipVals[g];
      if (typeof U == "number") T[U] = !0;
      else for (var b = U.from; b <= U.to; b++) T[b] = !0;
    }
    if (this._fillEncodeTable(0, 0, T), d.encodeAdd)
      for (var $ in d.encodeAdd) Object.prototype.hasOwnProperty.call(d.encodeAdd, $) && this._setEncodeChar($.charCodeAt(0), d.encodeAdd[$]);
    this.defCharSB = this.encodeTable[0][p.defaultCharSingleByte.charCodeAt(0)], this.defCharSB === r && (this.defCharSB = this.encodeTable[0]["?"]), this.defCharSB === r && (this.defCharSB = 63);
  }
  u.prototype.encoder = f, u.prototype.decoder = o, u.prototype._getDecodeTrieNode = function(d) {
    for (var p = []; d > 0; d >>>= 8) p.push(d & 255);
    p.length == 0 && p.push(0);
    for (var m = this.decodeTables[0], g = p.length - 1; g > 0; g--) {
      var v = m[p[g]];
      if (v == r)
        m[p[g]] = h - this.decodeTables.length, this.decodeTables.push(m = a.slice(0));
      else if (v <= h) m = this.decodeTables[h - v];
      else throw new Error("Overwrite byte in " + this.encodingName + ", addr: " + d.toString(16));
    }
    return m;
  }, u.prototype._addDecodeChunk = function(d) {
    var p = parseInt(d[0], 16), m = this._getDecodeTrieNode(p);
    p = p & 255;
    for (var g = 1; g < d.length; g++) {
      var v = d[g];
      if (typeof v == "string") for (var y = 0; y < v.length; ) {
        var w = v.charCodeAt(y++);
        if (w >= 55296 && w < 56320) {
          var _ = v.charCodeAt(y++);
          if (_ >= 56320 && _ < 57344) m[p++] = 65536 + (w - 55296) * 1024 + (_ - 56320);
          else throw new Error("Incorrect surrogate pair in " + this.encodingName + " at chunk " + d[0]);
        } else if (w > 4080 && w <= 4095) {
          for (var b = 4095 - w + 2, E = [], D = 0; D < b; D++) E.push(v.charCodeAt(y++));
          m[p++] = s - this.decodeTableSeq.length, this.decodeTableSeq.push(E);
        } else m[p++] = w;
      }
      else if (typeof v == "number")
        for (var S = m[p - 1] + 1, y = 0; y < v; y++) m[p++] = S++;
      else throw new Error("Incorrect type '" + typeof v + "' given in " + this.encodingName + " at chunk " + d[0]);
    }
    if (p > 255) throw new Error("Incorrect chunk in " + this.encodingName + " at addr " + d[0] + ": too long" + p);
  }, u.prototype._getEncodeBucket = function(d) {
    var p = d >> 8;
    return this.encodeTable[p] === void 0 && (this.encodeTable[p] = a.slice(0)), this.encodeTable[p];
  }, u.prototype._setEncodeChar = function(d, p) {
    var m = this._getEncodeBucket(d), g = d & 255;
    m[g] <= s ? this.encodeTableSeq[s - m[g]][n] = p : m[g] == r && (m[g] = p);
  }, u.prototype._setEncodeSequence = function(d, p) {
    var m = d[0], g = this._getEncodeBucket(m), v = m & 255, y;
    g[v] <= s ? y = this.encodeTableSeq[s - g[v]] : (y = {}, g[v] !== r && (y[n] = g[v]), g[v] = s - this.encodeTableSeq.length, this.encodeTableSeq.push(y));
    for (var w = 1; w < d.length - 1; w++) {
      var _ = y[m];
      typeof _ == "object" ? y = _ : (y = y[m] = {}, _ !== void 0 && (y[n] = _));
    }
    m = d[d.length - 1], y[m] = p;
  }, u.prototype._fillEncodeTable = function(d, p, m) {
    for (var g = this.decodeTables[d], v = !1, y = {}, w = 0; w < 256; w++) {
      var _ = g[w], b = p + w;
      if (!m[b])
        if (_ >= 0)
          this._setEncodeChar(_, b), v = !0;
        else if (_ <= h) {
          var E = h - _;
          if (!y[E]) {
            var D = b << 8 >>> 0;
            this._fillEncodeTable(E, D, m) ? v = !0 : y[E] = !0;
          }
        } else _ <= s && (this._setEncodeSequence(this.decodeTableSeq[s - _], b), v = !0);
    }
    return v;
  };
  function f(d, p) {
    this.leadSurrogate = -1, this.seqObj = void 0, this.encodeTable = p.encodeTable, this.encodeTableSeq = p.encodeTableSeq, this.defaultCharSingleByte = p.defCharSB, this.gb18030 = p.gb18030;
  }
  f.prototype.write = function(d) {
    for (var p = t.alloc(d.length * (this.gb18030 ? 4 : 3)), m = this.leadSurrogate, g = this.seqObj, v = -1, y = 0, w = 0; ; ) {
      if (v === -1) {
        if (y == d.length) break;
        var _ = d.charCodeAt(y++);
      } else {
        var _ = v;
        v = -1;
      }
      if (_ >= 55296 && _ < 57344) if (_ < 56320) if (m === -1) {
        m = _;
        continue;
      } else
        m = _, _ = r;
      else m !== -1 ? (_ = 65536 + (m - 55296) * 1024 + (_ - 56320), m = -1) : _ = r;
      else m !== -1 && (v = _, _ = r, m = -1);
      var b = r;
      if (g !== void 0 && _ != r) {
        var E = g[_];
        if (typeof E == "object") {
          g = E;
          continue;
        } else typeof E == "number" ? b = E : E == null && (E = g[n], E !== void 0 && (b = E, v = _));
        g = void 0;
      } else if (_ >= 0) {
        var D = this.encodeTable[_ >> 8];
        if (D !== void 0 && (b = D[_ & 255]), b <= s) {
          g = this.encodeTableSeq[s - b];
          continue;
        }
        if (b == r && this.gb18030) {
          var S = c(this.gb18030.uChars, _);
          if (S != -1) {
            var b = this.gb18030.gbChars[S] + (_ - this.gb18030.uChars[S]);
            p[w++] = 129 + Math.floor(b / 12600), b = b % 12600, p[w++] = 48 + Math.floor(b / 1260), b = b % 1260, p[w++] = 129 + Math.floor(b / 10), b = b % 10, p[w++] = 48 + b;
            continue;
          }
        }
      }
      b === r && (b = this.defaultCharSingleByte), b < 256 ? p[w++] = b : b < 65536 ? (p[w++] = b >> 8, p[w++] = b & 255) : b < 16777216 ? (p[w++] = b >> 16, p[w++] = b >> 8 & 255, p[w++] = b & 255) : (p[w++] = b >>> 24, p[w++] = b >>> 16 & 255, p[w++] = b >>> 8 & 255, p[w++] = b & 255);
    }
    return this.seqObj = g, this.leadSurrogate = m, p.slice(0, w);
  }, f.prototype.end = function() {
    if (!(this.leadSurrogate === -1 && this.seqObj === void 0)) {
      var d = t.alloc(10), p = 0;
      if (this.seqObj) {
        var m = this.seqObj[n];
        m !== void 0 && (m < 256 ? d[p++] = m : (d[p++] = m >> 8, d[p++] = m & 255)), this.seqObj = void 0;
      }
      return this.leadSurrogate !== -1 && (d[p++] = this.defaultCharSingleByte, this.leadSurrogate = -1), d.slice(0, p);
    }
  }, f.prototype.findIdx = c;
  function o(d, p) {
    this.nodeIdx = 0, this.prevBytes = [], this.decodeTables = p.decodeTables, this.decodeTableSeq = p.decodeTableSeq, this.defaultCharUnicode = p.defaultCharUnicode, this.gb18030 = p.gb18030;
  }
  o.prototype.write = function(d) {
    for (var p = t.alloc(d.length * 2), m = this.nodeIdx, g = this.prevBytes, v = this.prevBytes.length, y = -this.prevBytes.length, w, _ = 0, b = 0; _ < d.length; _++) {
      var E = _ >= 0 ? d[_] : g[_ + v], w = this.decodeTables[m][E];
      if (!(w >= 0))
        if (w === r)
          w = this.defaultCharUnicode.charCodeAt(0), _ = y;
        else if (w === i) {
          if (_ >= 3) var D = (d[_ - 3] - 129) * 12600 + (d[_ - 2] - 48) * 1260 + (d[_ - 1] - 129) * 10 + (E - 48);
          else var D = (g[_ - 3 + v] - 129) * 12600 + ((_ - 2 >= 0 ? d[_ - 2] : g[_ - 2 + v]) - 48) * 1260 + ((_ - 1 >= 0 ? d[_ - 1] : g[_ - 1 + v]) - 129) * 10 + (E - 48);
          var S = c(this.gb18030.gbChars, D);
          w = this.gb18030.uChars[S] + D - this.gb18030.gbChars[S];
        } else if (w <= h) {
          m = h - w;
          continue;
        } else if (w <= s) {
          for (var C = this.decodeTableSeq[s - w], T = 0; T < C.length - 1; T++)
            w = C[T], p[b++] = w & 255, p[b++] = w >> 8;
          w = C[C.length - 1];
        } else throw new Error("iconv-lite internal error: invalid decoding table value " + w + " at " + m + "/" + E);
      if (w >= 65536) {
        w -= 65536;
        var U = 55296 | w >> 10;
        p[b++] = U & 255, p[b++] = U >> 8, w = 56320 | w & 1023;
      }
      p[b++] = w & 255, p[b++] = w >> 8, m = 0, y = _ + 1;
    }
    return this.nodeIdx = m, this.prevBytes = y >= 0 ? Array.prototype.slice.call(d, y) : g.slice(y + v).concat(Array.prototype.slice.call(d)), p.slice(0, b).toString("ucs2");
  }, o.prototype.end = function() {
    for (var d = ""; this.prevBytes.length > 0; ) {
      d += this.defaultCharUnicode;
      var p = this.prevBytes.slice(1);
      this.prevBytes = [], this.nodeIdx = 0, p.length > 0 && (d += this.write(p));
    }
    return this.prevBytes = [], this.nodeIdx = 0, d;
  };
  function c(d, p) {
    if (d[0] > p) return -1;
    for (var m = 0, g = d.length; m < g - 1; ) {
      var v = m + (g - m + 1 >> 1);
      d[v] <= p ? m = v : g = v;
    }
    return m;
  }
})), XE = /* @__PURE__ */ bt({ default: () => Of }), Of, QE = qt((() => {
  Of = /* @__PURE__ */ JSON.parse('[["0","\\u0000",128],["a1","｡",62],["8140","　、。，．・：；？！゛゜´｀¨＾￣＿ヽヾゝゞ〃仝々〆〇ー―‐／＼～∥｜…‥‘’“”（）〔〕［］｛｝〈",9,"＋－±×"],["8180","÷＝≠＜＞≦≧∞∴♂♀°′″℃￥＄￠￡％＃＆＊＠§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨￢⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","Å‰♯♭♪†‡¶"],["81fc","◯"],["824f","０",9],["8260","Ａ",25],["8281","ａ",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"￢￤＇＂"],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"￢￤＇＂㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]');
})), eb = /* @__PURE__ */ bt({ default: () => If }), If, tb = qt((() => {
  If = /* @__PURE__ */ JSON.parse('[["0","\\u0000",127],["8ea1","｡",62],["a1a1","　、。，．・：；？！゛゜´｀¨＾￣＿ヽヾゝゞ〃仝々〆〇ー―‐／＼～∥｜…‥‘’“”（）〔〕［］｛｝〈",9,"＋－±×÷＝≠＜＞≦≧∞∴♂♀°′″℃￥＄￠￡％＃＆＊＠§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨￢⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","Å‰♯♭♪†‡¶"],["a2fe","◯"],["a3b0","０",9],["a3c1","Ａ",25],["a3e1","ａ",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"￢￤＇＂"],["8fa2af","˘ˇ¸˙˝¯˛˚～΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","Ĳ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıĳĸłŀŉŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]');
})), la = /* @__PURE__ */ bt({ default: () => kf }), kf, ca = qt((() => {
  kf = /* @__PURE__ */ JSON.parse('[["0","\\u0000",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1","　、。·ˉˇ¨〃々—～‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃＄¤￠￡‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","！＂＃￥％",88,"￣"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰￢￤"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]');
})), Dc = /* @__PURE__ */ bt({ default: () => Lf }), Lf, Ac = qt((() => {
  Lf = [
    [
      "a140",
      "",
      62
    ],
    [
      "a180",
      "",
      32
    ],
    [
      "a240",
      "",
      62
    ],
    [
      "a280",
      "",
      32
    ],
    [
      "a2ab",
      "",
      5
    ],
    ["a2e3", "€"],
    ["a2ef", ""],
    ["a2fd", ""],
    [
      "a340",
      "",
      62
    ],
    [
      "a380",
      "",
      31,
      "　"
    ],
    [
      "a440",
      "",
      62
    ],
    [
      "a480",
      "",
      32
    ],
    [
      "a4f4",
      "",
      10
    ],
    [
      "a540",
      "",
      62
    ],
    [
      "a580",
      "",
      32
    ],
    [
      "a5f7",
      "",
      7
    ],
    [
      "a640",
      "",
      62
    ],
    [
      "a680",
      "",
      32
    ],
    [
      "a6b9",
      "",
      7
    ],
    [
      "a6d9",
      "",
      6
    ],
    ["a6ec", ""],
    ["a6f3", ""],
    [
      "a6f6",
      "",
      8
    ],
    [
      "a740",
      "",
      62
    ],
    [
      "a780",
      "",
      32
    ],
    [
      "a7c2",
      "",
      14
    ],
    [
      "a7f2",
      "",
      12
    ],
    [
      "a896",
      "",
      10
    ],
    ["a8bc", "ḿ"],
    ["a8bf", "ǹ"],
    ["a8c1", ""],
    [
      "a8ea",
      "",
      20
    ],
    ["a958", ""],
    ["a95b", ""],
    ["a95d", ""],
    [
      "a989",
      "〾⿰",
      11
    ],
    [
      "a997",
      "",
      12
    ],
    [
      "a9f0",
      "",
      14
    ],
    [
      "aaa1",
      "",
      93
    ],
    [
      "aba1",
      "",
      93
    ],
    [
      "aca1",
      "",
      93
    ],
    [
      "ada1",
      "",
      93
    ],
    [
      "aea1",
      "",
      93
    ],
    [
      "afa1",
      "",
      93
    ],
    [
      "d7fa",
      "",
      4
    ],
    [
      "f8a1",
      "",
      93
    ],
    [
      "f9a1",
      "",
      93
    ],
    [
      "faa1",
      "",
      93
    ],
    [
      "fba1",
      "",
      93
    ],
    [
      "fca1",
      "",
      93
    ],
    [
      "fda1",
      "",
      93
    ],
    ["fe50", "⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],
    [
      "fe80",
      "䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",
      6,
      "䶮",
      93
    ],
    ["8135f437", ""]
  ];
})), rb = /* @__PURE__ */ bt({
  default: () => Ff,
  gbChars: () => Ba,
  uChars: () => xa
}), xa, Ba, Ff, ib = qt((() => {
  xa = [
    128,
    165,
    169,
    178,
    184,
    216,
    226,
    235,
    238,
    244,
    248,
    251,
    253,
    258,
    276,
    284,
    300,
    325,
    329,
    334,
    364,
    463,
    465,
    467,
    469,
    471,
    473,
    475,
    477,
    506,
    594,
    610,
    712,
    716,
    730,
    930,
    938,
    962,
    970,
    1026,
    1104,
    1106,
    8209,
    8215,
    8218,
    8222,
    8231,
    8241,
    8244,
    8246,
    8252,
    8365,
    8452,
    8454,
    8458,
    8471,
    8482,
    8556,
    8570,
    8596,
    8602,
    8713,
    8720,
    8722,
    8726,
    8731,
    8737,
    8740,
    8742,
    8748,
    8751,
    8760,
    8766,
    8777,
    8781,
    8787,
    8802,
    8808,
    8816,
    8854,
    8858,
    8870,
    8896,
    8979,
    9322,
    9372,
    9548,
    9588,
    9616,
    9622,
    9634,
    9652,
    9662,
    9672,
    9676,
    9680,
    9702,
    9735,
    9738,
    9793,
    9795,
    11906,
    11909,
    11913,
    11917,
    11928,
    11944,
    11947,
    11951,
    11956,
    11960,
    11964,
    11979,
    12284,
    12292,
    12312,
    12319,
    12330,
    12351,
    12436,
    12447,
    12535,
    12543,
    12586,
    12842,
    12850,
    12964,
    13200,
    13215,
    13218,
    13253,
    13263,
    13267,
    13270,
    13384,
    13428,
    13727,
    13839,
    13851,
    14617,
    14703,
    14801,
    14816,
    14964,
    15183,
    15471,
    15585,
    16471,
    16736,
    17208,
    17325,
    17330,
    17374,
    17623,
    17997,
    18018,
    18212,
    18218,
    18301,
    18318,
    18760,
    18811,
    18814,
    18820,
    18823,
    18844,
    18848,
    18872,
    19576,
    19620,
    19738,
    19887,
    40870,
    59244,
    59336,
    59367,
    59413,
    59417,
    59423,
    59431,
    59437,
    59443,
    59452,
    59460,
    59478,
    59493,
    63789,
    63866,
    63894,
    63976,
    63986,
    64016,
    64018,
    64021,
    64025,
    64034,
    64037,
    64042,
    65074,
    65093,
    65107,
    65112,
    65127,
    65132,
    65375,
    65510,
    65536
  ], Ba = [
    0,
    36,
    38,
    45,
    50,
    81,
    89,
    95,
    96,
    100,
    103,
    104,
    105,
    109,
    126,
    133,
    148,
    172,
    175,
    179,
    208,
    306,
    307,
    308,
    309,
    310,
    311,
    312,
    313,
    341,
    428,
    443,
    544,
    545,
    558,
    741,
    742,
    749,
    750,
    805,
    819,
    820,
    7922,
    7924,
    7925,
    7927,
    7934,
    7943,
    7944,
    7945,
    7950,
    8062,
    8148,
    8149,
    8152,
    8164,
    8174,
    8236,
    8240,
    8262,
    8264,
    8374,
    8380,
    8381,
    8384,
    8388,
    8390,
    8392,
    8393,
    8394,
    8396,
    8401,
    8406,
    8416,
    8419,
    8424,
    8437,
    8439,
    8445,
    8482,
    8485,
    8496,
    8521,
    8603,
    8936,
    8946,
    9046,
    9050,
    9063,
    9066,
    9076,
    9092,
    9100,
    9108,
    9111,
    9113,
    9131,
    9162,
    9164,
    9218,
    9219,
    11329,
    11331,
    11334,
    11336,
    11346,
    11361,
    11363,
    11366,
    11370,
    11372,
    11375,
    11389,
    11682,
    11686,
    11687,
    11692,
    11694,
    11714,
    11716,
    11723,
    11725,
    11730,
    11736,
    11982,
    11989,
    12102,
    12336,
    12348,
    12350,
    12384,
    12393,
    12395,
    12397,
    12510,
    12553,
    12851,
    12962,
    12973,
    13738,
    13823,
    13919,
    13933,
    14080,
    14298,
    14585,
    14698,
    15583,
    15847,
    16318,
    16434,
    16438,
    16481,
    16729,
    17102,
    17122,
    17315,
    17320,
    17402,
    17418,
    17859,
    17909,
    17911,
    17915,
    17916,
    17936,
    17939,
    17961,
    18664,
    18703,
    18814,
    18962,
    19043,
    33469,
    33470,
    33471,
    33484,
    33485,
    33490,
    33497,
    33501,
    33505,
    33513,
    33520,
    33536,
    33550,
    37845,
    37921,
    37948,
    38029,
    38038,
    38064,
    38065,
    38066,
    38069,
    38075,
    38076,
    38078,
    39108,
    39109,
    39113,
    39114,
    39115,
    39116,
    39265,
    39394,
    189e3
  ], Ff = {
    uChars: xa,
    gbChars: Ba
  };
})), nb = /* @__PURE__ */ bt({ default: () => Nf }), Nf, sb = qt((() => {
  Nf = /* @__PURE__ */ JSON.parse('[["0","\\u0000",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎　、。·‥…¨〃­―∥＼∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å￠￡￥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨￢"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´～ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛！",58,"￦］",32,"￣"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","Ĳ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıĳĸŀłøœßþŧŋŉ㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]');
})), Sc = /* @__PURE__ */ bt({ default: () => $f }), $f, Cc = qt((() => {
  $f = /* @__PURE__ */ JSON.parse('[["0","\\u0000",127],["a140","　，、。．‧；：？！︰…‥﹐﹑﹒·﹔﹕﹖﹗｜–︱—︳╴︴﹏（）︵︶｛｝︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′＃＆＊※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯￣＿ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡＋－×÷±√＜＞＝≦≧≠∞≒≡﹢",4,"～∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣／"],["a240","＼∕﹨＄￥〒￠￡％＠℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳０",9,"Ⅰ",9,"〡",8,"十卄卅Ａ",25,"ａ",21],["a340","ｗｘｙｚΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]');
})), ab = /* @__PURE__ */ bt({ default: () => xf }), xf, ob = qt((() => {
  xf = /* @__PURE__ */ JSON.parse('[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー［］✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","￢￤＇＂㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","￭"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]');
})), ub = /* @__PURE__ */ j(((e, t) => {
  t.exports = {
    shiftjis: {
      type: "_dbcs",
      table: function() {
        return QE(), At(XE).default;
      },
      encodeAdd: {
        "¥": 92,
        "‾": 126
      },
      encodeSkipVals: [{
        from: 60736,
        to: 63808
      }]
    },
    csshiftjis: "shiftjis",
    mskanji: "shiftjis",
    sjis: "shiftjis",
    windows31j: "shiftjis",
    ms31j: "shiftjis",
    xsjis: "shiftjis",
    windows932: "shiftjis",
    ms932: "shiftjis",
    932: "shiftjis",
    cp932: "shiftjis",
    eucjp: {
      type: "_dbcs",
      table: function() {
        return tb(), At(eb).default;
      },
      encodeAdd: {
        "¥": 92,
        "‾": 126
      }
    },
    gb2312: "cp936",
    gb231280: "cp936",
    gb23121980: "cp936",
    csgb2312: "cp936",
    csiso58gb231280: "cp936",
    euccn: "cp936",
    windows936: "cp936",
    ms936: "cp936",
    936: "cp936",
    cp936: {
      type: "_dbcs",
      table: function() {
        return ca(), At(la).default;
      }
    },
    gbk: {
      type: "_dbcs",
      table: function() {
        return (ca(), At(la).default).concat((Ac(), At(Dc).default));
      }
    },
    xgbk: "gbk",
    isoir58: "gbk",
    gb18030: {
      type: "_dbcs",
      table: function() {
        return (ca(), At(la).default).concat((Ac(), At(Dc).default));
      },
      gb18030: function() {
        return ib(), At(rb).default;
      },
      encodeSkipVals: [128],
      encodeAdd: { "€": 41699 }
    },
    chinese: "gb18030",
    windows949: "cp949",
    ms949: "cp949",
    949: "cp949",
    cp949: {
      type: "_dbcs",
      table: function() {
        return sb(), At(nb).default;
      }
    },
    cseuckr: "cp949",
    csksc56011987: "cp949",
    euckr: "cp949",
    isoir149: "cp949",
    korean: "cp949",
    ksc56011987: "cp949",
    ksc56011989: "cp949",
    ksc5601: "cp949",
    windows950: "cp950",
    ms950: "cp950",
    950: "cp950",
    cp950: {
      type: "_dbcs",
      table: function() {
        return Cc(), At(Sc).default;
      }
    },
    big5: "big5hkscs",
    big5hkscs: {
      type: "_dbcs",
      table: function() {
        return (Cc(), At(Sc).default).concat((ob(), At(ab).default));
      },
      encodeSkipVals: [
        36457,
        36463,
        36478,
        36523,
        36532,
        36557,
        36560,
        36695,
        36713,
        36718,
        36811,
        36862,
        36973,
        36986,
        37060,
        37084,
        37105,
        37311,
        37551,
        37552,
        37553,
        37554,
        37585,
        37959,
        38090,
        38361,
        38652,
        39285,
        39798,
        39800,
        39803,
        39878,
        39902,
        39916,
        39926,
        40002,
        40019,
        40034,
        40040,
        40043,
        40055,
        40124,
        40125,
        40144,
        40279,
        40282,
        40388,
        40431,
        40443,
        40617,
        40687,
        40701,
        40800,
        40907,
        41079,
        41180,
        41183,
        36812,
        37576,
        38468,
        38637,
        41636,
        41637,
        41639,
        41638,
        41676,
        41678
      ]
    },
    cnbig5: "big5hkscs",
    csbig5: "big5hkscs",
    xxbig5: "big5hkscs"
  };
})), lb = /* @__PURE__ */ j(((e) => {
  for (var t = Rf(), r = [
    zE(),
    GE(),
    WE(),
    VE(),
    YE(),
    KE(),
    ZE(),
    JE(),
    ub()
  ], i = 0; i < r.length; i++) {
    var s = r[i];
    t(e, s);
  }
})), cb = /* @__PURE__ */ j(((e, t) => {
  var r = Rr().Buffer;
  t.exports = function(i) {
    var s = i.Transform;
    function h(n, l) {
      this.conv = n, l = l || {}, l.decodeStrings = !1, s.call(this, l);
    }
    h.prototype = Object.create(s.prototype, { constructor: { value: h } }), h.prototype._transform = function(n, l, u) {
      if (typeof n != "string") return u(/* @__PURE__ */ new Error("Iconv encoding stream needs strings as its input."));
      try {
        var f = this.conv.write(n);
        f && f.length && this.push(f), u();
      } catch (o) {
        u(o);
      }
    }, h.prototype._flush = function(n) {
      try {
        var l = this.conv.end();
        l && l.length && this.push(l), n();
      } catch (u) {
        n(u);
      }
    }, h.prototype.collect = function(n) {
      var l = [];
      return this.on("error", n), this.on("data", function(u) {
        l.push(u);
      }), this.on("end", function() {
        n(null, r.concat(l));
      }), this;
    };
    function a(n, l) {
      this.conv = n, l = l || {}, l.encoding = this.encoding = "utf8", s.call(this, l);
    }
    return a.prototype = Object.create(s.prototype, { constructor: { value: a } }), a.prototype._transform = function(n, l, u) {
      if (!r.isBuffer(n) && !(n instanceof Uint8Array)) return u(/* @__PURE__ */ new Error("Iconv decoding stream needs buffers as its input."));
      try {
        var f = this.conv.write(n);
        f && f.length && this.push(f, this.encoding), u();
      } catch (o) {
        u(o);
      }
    }, a.prototype._flush = function(n) {
      try {
        var l = this.conv.end();
        l && l.length && this.push(l, this.encoding), n();
      } catch (u) {
        n(u);
      }
    }, a.prototype.collect = function(n) {
      var l = "";
      return this.on("error", n), this.on("data", function(u) {
        l += u;
      }), this.on("end", function() {
        n(null, l);
      }), this;
    }, {
      IconvLiteEncoderStream: h,
      IconvLiteDecoderStream: a
    };
  };
})), hb = /* @__PURE__ */ j(((e, t) => {
  var r = Rr().Buffer, i = qE(), s = Rf();
  t.exports.encodings = null, t.exports.defaultCharUnicode = "�", t.exports.defaultCharSingleByte = "?", t.exports.encode = function(n, l, u) {
    n = "" + (n || "");
    var f = t.exports.getEncoder(l, u), o = f.write(n), c = f.end();
    return c && c.length > 0 ? r.concat([o, c]) : o;
  }, t.exports.decode = function(n, l, u) {
    typeof n == "string" && (t.exports.skipDecodeWarning || (console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"), t.exports.skipDecodeWarning = !0), n = r.from("" + (n || ""), "binary"));
    var f = t.exports.getDecoder(l, u), o = f.write(n), c = f.end();
    return c ? o + c : o;
  }, t.exports.encodingExists = function(n) {
    try {
      return t.exports.getCodec(n), !0;
    } catch {
      return !1;
    }
  }, t.exports.toEncoding = t.exports.encode, t.exports.fromEncoding = t.exports.decode, t.exports._codecDataCache = { __proto__: null }, t.exports.getCodec = function(n) {
    if (!t.exports.encodings) {
      var l = lb();
      t.exports.encodings = { __proto__: null }, s(t.exports.encodings, l);
    }
    for (var u = t.exports._canonicalizeEncoding(n), f = {}; ; ) {
      var o = t.exports._codecDataCache[u];
      if (o) return o;
      var c = t.exports.encodings[u];
      switch (typeof c) {
        case "string":
          u = c;
          break;
        case "object":
          for (var d in c) f[d] = c[d];
          f.encodingName || (f.encodingName = u), u = c.type;
          break;
        case "function":
          return f.encodingName || (f.encodingName = u), o = new c(f, t.exports), t.exports._codecDataCache[f.encodingName] = o, o;
        default:
          throw new Error("Encoding not recognized: '" + n + "' (searched as: '" + u + "')");
      }
    }
  }, t.exports._canonicalizeEncoding = function(a) {
    return ("" + a).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, "");
  }, t.exports.getEncoder = function(n, l) {
    var u = t.exports.getCodec(n), f = new u.encoder(l, u);
    return u.bomAware && l && l.addBOM && (f = new i.PrependBOM(f, l)), f;
  }, t.exports.getDecoder = function(n, l) {
    var u = t.exports.getCodec(n), f = new u.decoder(l, u);
    return u.bomAware && !(l && l.stripBOM === !1) && (f = new i.StripBOM(f, l)), f;
  }, t.exports.enableStreamingAPI = function(n) {
    if (!t.exports.supportsStreams) {
      var l = cb()(n);
      t.exports.IconvLiteEncoderStream = l.IconvLiteEncoderStream, t.exports.IconvLiteDecoderStream = l.IconvLiteDecoderStream, t.exports.encodeStream = function(f, o) {
        return new t.exports.IconvLiteEncoderStream(t.exports.getEncoder(f, o), o);
      }, t.exports.decodeStream = function(f, o) {
        return new t.exports.IconvLiteDecoderStream(t.exports.getDecoder(f, o), o);
      }, t.exports.supportsStreams = !0;
    }
  };
  var h;
  try {
    h = ve("stream");
  } catch {
  }
  h && h.Transform ? t.exports.enableStreamingAPI(h) : t.exports.encodeStream = t.exports.decodeStream = function() {
    throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.");
  };
})), Bu = /* @__PURE__ */ j(((e, t) => {
  var { Minipass: r } = Lt(), { MinipassSized: i } = UE(), s = HE(), { BUFFER: h } = s, a = Tf(), n;
  try {
    n = hb().decode;
  } catch {
  }
  var l = /* @__PURE__ */ Symbol("Body internals"), u = /* @__PURE__ */ Symbol("consumeBody"), f = class {
    constructor(p, m = {}) {
      const { size: g = 0, timeout: v = 0 } = m, y = p == null ? null : o(p) ? Buffer.from(p.toString()) : c(p) || Buffer.isBuffer(p) ? p : Object.prototype.toString.call(p) === "[object ArrayBuffer]" ? Buffer.from(p) : ArrayBuffer.isView(p) ? Buffer.from(p.buffer, p.byteOffset, p.byteLength) : r.isStream(p) ? p : Buffer.from(String(p));
      this[l] = {
        body: y,
        disturbed: !1,
        error: null
      }, this.size = g, this.timeout = v, r.isStream(y) && y.on("error", (w) => {
        const _ = w.name === "AbortError" ? w : new a(`Invalid response while trying to fetch ${this.url}: ${w.message}`, "system", w);
        this[l].error = _;
      });
    }
    get body() {
      return this[l].body;
    }
    get bodyUsed() {
      return this[l].disturbed;
    }
    arrayBuffer() {
      return this[u]().then((p) => p.buffer.slice(p.byteOffset, p.byteOffset + p.byteLength));
    }
    blob() {
      const p = this.headers && this.headers.get("content-type") || "";
      return this[u]().then((m) => Object.assign(new s([], { type: p.toLowerCase() }), { [h]: m }));
    }
    async json() {
      const p = await this[u]();
      try {
        return JSON.parse(p.toString());
      } catch (m) {
        throw new a(`invalid json response body at ${this.url} reason: ${m.message}`, "invalid-json");
      }
    }
    text() {
      return this[u]().then((p) => p.toString());
    }
    buffer() {
      return this[u]();
    }
    textConverted() {
      if (typeof n != "function") throw new Error("The package `iconv-lite` must be installed to use the textConverted() function");
      return this[u]().then((p) => d(p, this.headers));
    }
    [u]() {
      if (this[l].disturbed) return Promise.reject(/* @__PURE__ */ new TypeError(`body used already for: ${this.url}`));
      if (this[l].disturbed = !0, this[l].error) return Promise.reject(this[l].error);
      if (this.body === null) return Promise.resolve(Buffer.alloc(0));
      if (Buffer.isBuffer(this.body)) return Promise.resolve(this.body);
      const p = c(this.body) ? this.body.stream() : this.body;
      if (!r.isStream(p)) return Promise.resolve(Buffer.alloc(0));
      const m = this.size && p instanceof i || !this.size && p instanceof r && !(p instanceof i) ? p : this.size ? new i({ size: this.size }) : new r(), g = this.timeout && m.writable ? setTimeout(() => {
        m.emit("error", new a(`Response timeout while trying to fetch ${this.url} (over ${this.timeout}ms)`, "body-timeout"));
      }, this.timeout) : null;
      return g && g.unref && g.unref(), new Promise((v) => {
        m !== p && (p.on("error", (y) => m.emit("error", y)), p.pipe(m)), v();
      }).then(() => m.concat()).then((v) => (clearTimeout(g), v)).catch((v) => {
        throw clearTimeout(g), v.name === "AbortError" || v.name === "FetchError" ? v : v.name === "RangeError" ? new a(`Could not create Buffer from response body for ${this.url}: ${v.message}`, "system", v) : new a(`Invalid response body while trying to fetch ${this.url}: ${v.message}`, "system", v);
      });
    }
    static clone(p) {
      if (p.bodyUsed) throw new Error("cannot clone body after it is used");
      const m = p.body;
      if (r.isStream(m) && typeof m.getBoundary != "function") {
        const g = new r(), v = new r(), y = new r();
        return g.on("error", (w) => {
          v.emit("error", w), y.emit("error", w);
        }), m.on("error", (w) => g.emit("error", w)), g.pipe(v), g.pipe(y), m.pipe(g), p[l].body = v, y;
      } else return p.body;
    }
    static extractContentType(p) {
      return p == null ? null : typeof p == "string" ? "text/plain;charset=UTF-8" : o(p) ? "application/x-www-form-urlencoded;charset=UTF-8" : c(p) ? p.type || null : Buffer.isBuffer(p) || Object.prototype.toString.call(p) === "[object ArrayBuffer]" || ArrayBuffer.isView(p) ? null : typeof p.getBoundary == "function" ? `multipart/form-data;boundary=${p.getBoundary()}` : r.isStream(p) ? null : "text/plain;charset=UTF-8";
    }
    static getTotalBytes(p) {
      const { body: m } = p;
      return m == null ? 0 : c(m) ? m.size : Buffer.isBuffer(m) ? m.length : m && typeof m.getLengthSync == "function" && (m._lengthRetrievers && m._lengthRetrievers.length === 0 || m.hasKnownLength && m.hasKnownLength()) ? m.getLengthSync() : null;
    }
    static writeToStream(p, m) {
      const { body: g } = m;
      return g == null ? p.end() : Buffer.isBuffer(g) || typeof g == "string" ? p.end(g) : (c(g) ? g.stream() : g).on("error", (v) => p.emit("error", v)).pipe(p), p;
    }
  };
  Object.defineProperties(f.prototype, {
    body: { enumerable: !0 },
    bodyUsed: { enumerable: !0 },
    arrayBuffer: { enumerable: !0 },
    blob: { enumerable: !0 },
    json: { enumerable: !0 },
    text: { enumerable: !0 }
  });
  var o = (p) => typeof p != "object" || typeof p.append != "function" || typeof p.delete != "function" || typeof p.get != "function" || typeof p.getAll != "function" || typeof p.has != "function" || typeof p.set != "function" ? !1 : p.constructor.name === "URLSearchParams" || Object.prototype.toString.call(p) === "[object URLSearchParams]" || typeof p.sort == "function", c = (p) => typeof p == "object" && typeof p.arrayBuffer == "function" && typeof p.type == "string" && typeof p.stream == "function" && typeof p.constructor == "function" && typeof p.constructor.name == "string" && /^(Blob|File)$/.test(p.constructor.name) && /^(Blob|File)$/.test(p[Symbol.toStringTag]), d = (p, m) => {
    const g = m && m.get("content-type");
    let v = "utf-8", y;
    g && (y = /charset=([^;]*)/i.exec(g));
    const w = p.slice(0, 1024).toString();
    if (!y && w && (y = /<meta.+?charset=(['"])(.+?)\1/i.exec(w)), !y && w && (y = /<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(w), y || (y = /<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(w), y && y.pop()), y && (y = /charset=(.*)/i.exec(y.pop()))), !y && w && (y = /<\?xml.+?encoding=(['"])(.+?)\1/i.exec(w)), y && (v = y.pop(), (v === "gb2312" || v === "gbk") && (v = "gb18030")), v === "UTF-8") return p.toString("UTF-8");
    v = v.toString().trim().replace(/^latin[-_]?(\d+)$/i, "ISO-8859-$1").replace(/^win(?:dows)?[-_]?(\d+)$/i, "WINDOWS-$1").replace(/^utf[-_]?(\d+)$/i, "UTF-$1").replace(/^ks_c_5601-1987$/i, "CP949").replace(/^us[-_]?ascii$/i, "ASCII").toUpperCase();
    try {
      return n(p, v).toString();
    } catch {
      return p.toString("UTF-8");
    }
  };
  t.exports = f;
})), Pu = /* @__PURE__ */ j(((e, t) => {
  var r = /[^^_`a-zA-Z\-0-9!#$%&'*+.|~]/, i = /[^\t\x20-\x7e\x80-\xff]/, s = (c) => {
    if (c = `${c}`, r.test(c) || c === "") throw new TypeError(`${c} is not a legal HTTP header name`);
  }, h = (c) => {
    if (c = `${c}`, i.test(c)) throw new TypeError(`${c} is not a legal HTTP header value`);
  }, a = (c, d) => {
    d = d.toLowerCase();
    for (const p in c) if (p.toLowerCase() === d) return p;
  }, n = /* @__PURE__ */ Symbol("map"), l = class Pa {
    constructor(d = void 0) {
      if (this[n] = /* @__PURE__ */ Object.create(null), d instanceof Pa) {
        const p = d.raw(), m = Object.keys(p);
        for (const g of m) for (const v of p[g]) this.append(g, v);
        return;
      }
      if (d != null)
        if (typeof d == "object") {
          const p = d[Symbol.iterator];
          if (p != null) {
            if (typeof p != "function") throw new TypeError("Header pairs must be iterable");
            const m = [];
            for (const g of d) {
              if (typeof g != "object" || typeof g[Symbol.iterator] != "function") throw new TypeError("Each header pair must be iterable");
              const v = Array.from(g);
              if (v.length !== 2) throw new TypeError("Each header pair must be a name/value tuple");
              m.push(v);
            }
            for (const g of m) this.append(g[0], g[1]);
          } else for (const m of Object.keys(d)) this.append(m, d[m]);
        } else throw new TypeError("Provided initializer must be an object");
    }
    get(d) {
      d = `${d}`, s(d);
      const p = a(this[n], d);
      return p === void 0 ? null : this[n][p].join(", ");
    }
    forEach(d, p = void 0) {
      let m = u(this);
      for (let g = 0; g < m.length; g++) {
        const [v, y] = m[g];
        d.call(p, y, v, this), m = u(this);
      }
    }
    set(d, p) {
      d = `${d}`, p = `${p}`, s(d), h(p);
      const m = a(this[n], d);
      this[n][m !== void 0 ? m : d] = [p];
    }
    append(d, p) {
      d = `${d}`, p = `${p}`, s(d), h(p);
      const m = a(this[n], d);
      m !== void 0 ? this[n][m].push(p) : this[n][d] = [p];
    }
    has(d) {
      return d = `${d}`, s(d), a(this[n], d) !== void 0;
    }
    delete(d) {
      d = `${d}`, s(d);
      const p = a(this[n], d);
      p !== void 0 && delete this[n][p];
    }
    raw() {
      return this[n];
    }
    keys() {
      return new o(this, "key");
    }
    values() {
      return new o(this, "value");
    }
    [Symbol.iterator]() {
      return new o(this, "key+value");
    }
    entries() {
      return new o(this, "key+value");
    }
    get [Symbol.toStringTag]() {
      return "Headers";
    }
    static exportNodeCompatibleHeaders(d) {
      const p = Object.assign(/* @__PURE__ */ Object.create(null), d[n]), m = a(d[n], "Host");
      return m !== void 0 && (p[m] = p[m][0]), p;
    }
    static createHeadersLenient(d) {
      const p = new Pa();
      for (const m of Object.keys(d))
        if (!r.test(m))
          if (Array.isArray(d[m])) for (const g of d[m])
            i.test(g) || (p[n][m] === void 0 ? p[n][m] = [g] : p[n][m].push(g));
          else i.test(d[m]) || (p[n][m] = [d[m]]);
      return p;
    }
  };
  Object.defineProperties(l.prototype, {
    get: { enumerable: !0 },
    forEach: { enumerable: !0 },
    set: { enumerable: !0 },
    append: { enumerable: !0 },
    has: { enumerable: !0 },
    delete: { enumerable: !0 },
    keys: { enumerable: !0 },
    values: { enumerable: !0 },
    entries: { enumerable: !0 }
  });
  var u = (c, d = "key+value") => Object.keys(c[n]).sort().map(d === "key" ? (p) => p.toLowerCase() : d === "value" ? (p) => c[n][p].join(", ") : (p) => [p.toLowerCase(), c[n][p].join(", ")]), f = /* @__PURE__ */ Symbol("internal"), o = class Bf {
    constructor(d, p) {
      this[f] = {
        target: d,
        kind: p,
        index: 0
      };
    }
    get [Symbol.toStringTag]() {
      return "HeadersIterator";
    }
    next() {
      if (!this || Object.getPrototypeOf(this) !== Bf.prototype) throw new TypeError("Value of `this` is not a HeadersIterator");
      const { target: d, kind: p, index: m } = this[f], g = u(d, p);
      return m >= g.length ? {
        value: void 0,
        done: !0
      } : (this[f].index++, {
        value: g[m],
        done: !1
      });
    }
  };
  Object.setPrototypeOf(o.prototype, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))), t.exports = l;
})), fb = /* @__PURE__ */ j(((e, t) => {
  var { STATUS_CODES: r } = ve("http"), i = Pu(), s = Bu(), { clone: h, extractContentType: a } = s, n = /* @__PURE__ */ Symbol("Response internals"), l = class Pf extends s {
    constructor(f = null, o = {}) {
      super(f, o);
      const c = o.status || 200, d = new i(o.headers);
      if (f != null && !d.has("Content-Type")) {
        const p = a(f);
        p && d.append("Content-Type", p);
      }
      this[n] = {
        url: o.url,
        status: c,
        statusText: o.statusText || r[c],
        headers: d,
        counter: o.counter,
        trailer: Promise.resolve(o.trailer || new i())
      };
    }
    get trailer() {
      return this[n].trailer;
    }
    get url() {
      return this[n].url || "";
    }
    get status() {
      return this[n].status;
    }
    get ok() {
      return this[n].status >= 200 && this[n].status < 300;
    }
    get redirected() {
      return this[n].counter > 0;
    }
    get statusText() {
      return this[n].statusText;
    }
    get headers() {
      return this[n].headers;
    }
    clone() {
      return new Pf(h(this), {
        url: this.url,
        status: this.status,
        statusText: this.statusText,
        headers: this.headers,
        ok: this.ok,
        redirected: this.redirected,
        trailer: this.trailer
      });
    }
    get [Symbol.toStringTag]() {
      return "Response";
    }
  };
  t.exports = l, Object.defineProperties(l.prototype, {
    url: { enumerable: !0 },
    status: { enumerable: !0 },
    ok: { enumerable: !0 },
    redirected: { enumerable: !0 },
    statusText: { enumerable: !0 },
    headers: { enumerable: !0 },
    clone: { enumerable: !0 }
  });
})), db = /* @__PURE__ */ bt({
  author: () => Xa,
  default: () => Mf,
  dependencies: () => Wa,
  description: () => Ua,
  devDependencies: () => Ga,
  engines: () => Ja,
  files: () => Za,
  keywords: () => Ka,
  license: () => "MIT",
  main: () => Ha,
  name: () => Ma,
  optionalDependencies: () => Va,
  repository: () => Ya,
  scripts: () => qa,
  tap: () => za,
  templateOSS: () => Qa,
  version: () => ja
}), Ma, ja, Ua, pb, Ha, qa, za, Ga, Wa, Va, Ya, Ka, Za, Ja, Xa, Qa, Mf, gb = qt((() => {
  Ma = "minipass-fetch", ja = "5.0.2", Ua = "An implementation of window.fetch in Node.js using Minipass streams", pb = "MIT", Ha = "lib/index.js", qa = {
    "test:tls-fixtures": "./test/fixtures/tls/setup.sh",
    test: "tap",
    snap: "tap",
    lint: "npm run eslint",
    postlint: "template-oss-check",
    lintfix: "npm run eslint -- --fix",
    posttest: "npm run lint",
    "template-oss-apply": "template-oss-apply --force",
    eslint: 'eslint "**/*.{js,cjs,ts,mjs,jsx,tsx}"'
  }, za = {
    "coverage-map": "map.js",
    "check-coverage": !0,
    "nyc-arg": ["--exclude", "tap-snapshots/**"]
  }, Ga = {
    "@npmcli/eslint-config": "^5.0.0",
    "@npmcli/template-oss": "4.27.1",
    "@ungap/url-search-params": "^0.2.2",
    "abort-controller": "^3.0.0",
    "abortcontroller-polyfill": "~1.7.3",
    "form-data": "^4.0.0",
    "iconv-lite": "^0.7.2",
    nock: "^13.2.4",
    parted: "^0.1.1",
    "string-to-arraybuffer": "^1.0.2",
    tap: "^16.0.0"
  }, Wa = {
    minipass: "^7.0.3",
    "minipass-sized": "^2.0.0",
    minizlib: "^3.0.1"
  }, Va = { "iconv-lite": "^0.7.2" }, Ya = {
    type: "git",
    url: "git+https://github.com/npm/minipass-fetch.git"
  }, Ka = [
    "fetch",
    "minipass",
    "node-fetch",
    "window.fetch"
  ], Za = ["bin/", "lib/"], Ja = { node: "^20.17.0 || >=22.9.0" }, Xa = "GitHub Inc.", Qa = {
    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
    version: "4.27.1",
    publish: "true"
  }, Mf = {
    name: Ma,
    version: ja,
    description: Ua,
    license: "MIT",
    main: Ha,
    scripts: qa,
    tap: za,
    devDependencies: Ga,
    dependencies: Wa,
    optionalDependencies: Va,
    repository: Ya,
    keywords: Ka,
    files: Za,
    engines: Ja,
    author: Xa,
    templateOSS: Qa
  };
})), mb = /* @__PURE__ */ j(((e, t) => {
  var { URL: r } = ve("url"), { Minipass: i } = Lt(), s = Pu(), { exportNodeCompatibleHeaders: h } = s, a = Bu(), { clone: n, extractContentType: l, getTotalBytes: u } = a, f = `minipass-fetch/${(gb(), At(db).default).version} (+https://github.com/isaacs/minipass-fetch)`, o = /* @__PURE__ */ Symbol("Request internals"), c = (m) => typeof m == "object" && typeof m[o] == "object", d = (m) => {
    const g = m && typeof m == "object" && Object.getPrototypeOf(m);
    return !!(g && g.constructor.name === "AbortSignal");
  }, p = class jf extends a {
    constructor(g, v = {}) {
      const y = c(g) ? new r(g.url) : g && g.href ? new r(g.href) : new r(`${g}`);
      c(g) ? v = {
        ...g[o],
        ...v
      } : (!g || typeof g == "string") && (g = {});
      const w = (v.method || g.method || "GET").toUpperCase(), _ = w === "GET" || w === "HEAD";
      if ((v.body !== null && v.body !== void 0 || c(g) && g.body !== null) && _) throw new TypeError("Request with GET/HEAD method cannot have body");
      const b = v.body !== null && v.body !== void 0 ? v.body : c(g) && g.body !== null ? n(g) : null;
      super(b, {
        timeout: v.timeout || g.timeout || 0,
        size: v.size || g.size || 0
      });
      const E = new s(v.headers || g.headers || {});
      if (b != null && !E.has("Content-Type")) {
        const K = l(b);
        K && E.append("Content-Type", K);
      }
      const D = "signal" in v ? v.signal : null;
      if (D != null && !d(D)) throw new TypeError("Expected signal must be an instanceof AbortSignal");
      const { ca: S, cert: C, ciphers: T, clientCertEngine: U, crl: $, dhparam: z, ecdhCurve: Y, family: H, honorCipherOrder: k, key: F, passphrase: q, pfx: W, rejectUnauthorized: P = process.env.NODE_TLS_REJECT_UNAUTHORIZED !== "0", secureOptions: x, secureProtocol: L, servername: O, sessionIdContext: N } = v;
      this[o] = {
        method: w,
        redirect: v.redirect || g.redirect || "follow",
        headers: E,
        parsedURL: y,
        signal: D,
        ca: S,
        cert: C,
        ciphers: T,
        clientCertEngine: U,
        crl: $,
        dhparam: z,
        ecdhCurve: Y,
        family: H,
        honorCipherOrder: k,
        key: F,
        passphrase: q,
        pfx: W,
        rejectUnauthorized: P,
        secureOptions: x,
        secureProtocol: L,
        servername: O,
        sessionIdContext: N
      }, this.follow = v.follow !== void 0 ? v.follow : g.follow !== void 0 ? g.follow : 20, this.compress = v.compress !== void 0 ? v.compress : g.compress !== void 0 ? g.compress : !0, this.counter = v.counter || g.counter || 0, this.agent = v.agent || g.agent;
    }
    get method() {
      return this[o].method;
    }
    get url() {
      return this[o].parsedURL.toString();
    }
    get headers() {
      return this[o].headers;
    }
    get redirect() {
      return this[o].redirect;
    }
    get signal() {
      return this[o].signal;
    }
    clone() {
      return new jf(this);
    }
    get [Symbol.toStringTag]() {
      return "Request";
    }
    static getNodeRequestOptions(g) {
      const v = g[o].parsedURL, y = new s(g[o].headers);
      if (y.has("Accept") || y.set("Accept", "*/*"), !/^https?:$/.test(v.protocol)) throw new TypeError("Only HTTP(S) protocols are supported");
      if (g.signal && i.isStream(g.body) && typeof g.body.destroy != "function") throw new Error("Cancellation of streamed requests with AbortSignal is not supported");
      const w = (g.body === null || g.body === void 0) && /^(POST|PUT)$/i.test(g.method) ? "0" : g.body !== null && g.body !== void 0 ? u(g) : null;
      w && y.set("Content-Length", w + ""), y.has("User-Agent") || y.set("User-Agent", f), g.compress && !y.has("Accept-Encoding") && y.set("Accept-Encoding", "gzip,deflate");
      const _ = typeof g.agent == "function" ? g.agent(v) : g.agent;
      !y.has("Connection") && !_ && y.set("Connection", "close");
      const { ca: b, cert: E, ciphers: D, clientCertEngine: S, crl: C, dhparam: T, ecdhCurve: U, family: $, honorCipherOrder: z, key: Y, passphrase: H, pfx: k, rejectUnauthorized: F, secureOptions: q, secureProtocol: W, servername: P, sessionIdContext: x } = g[o];
      return {
        auth: v.username || v.password ? `${v.username}:${v.password}` : "",
        host: v.host,
        hostname: v.hostname,
        path: `${v.pathname}${v.search}`,
        port: v.port,
        protocol: v.protocol,
        method: g.method,
        headers: h(y),
        agent: _,
        ca: b,
        cert: E,
        ciphers: D,
        clientCertEngine: S,
        crl: C,
        dhparam: T,
        ecdhCurve: U,
        family: $,
        honorCipherOrder: z,
        key: Y,
        passphrase: H,
        pfx: k,
        rejectUnauthorized: F,
        secureOptions: q,
        secureProtocol: W,
        servername: P,
        sessionIdContext: x,
        timeout: g.timeout
      };
    }
  };
  t.exports = p, Object.defineProperties(p.prototype, {
    method: { enumerable: !0 },
    url: { enumerable: !0 },
    headers: { enumerable: !0 },
    redirect: { enumerable: !0 },
    clone: { enumerable: !0 },
    signal: { enumerable: !0 }
  });
})), vb = /* @__PURE__ */ j(((e, t) => {
  var r = class extends Error {
    constructor(i) {
      super(i), this.code = "FETCH_ABORTED", this.type = "aborted", Error.captureStackTrace(this, this.constructor);
    }
    get name() {
      return "AbortError";
    }
    set name(i) {
    }
  };
  t.exports = r;
})), hn = /* @__PURE__ */ j(((e, t) => {
  var { URL: r } = ve("url"), i = ve("http"), s = ve("https"), h = Cf(), { Minipass: a } = Lt(), { writeToStream: n, getTotalBytes: l } = Bu(), u = fb(), f = Pu(), { createHeadersLenient: o } = f, c = mb(), { getNodeRequestOptions: d } = c, p = Tf(), m = vb(), g = async (v, y) => {
    if (/^data:/.test(v)) {
      const w = new c(v, y);
      return Promise.resolve().then(() => new Promise((_, b) => {
        let E, D;
        try {
          const { pathname: T, search: U } = new r(v), $ = T.split(",");
          if ($.length < 2) throw new Error("invalid data: URI");
          const z = $.shift(), Y = /;base64$/.test(z);
          E = Y ? z.slice(0, -7) : z;
          const H = decodeURIComponent($.join(",") + U);
          D = Y ? Buffer.from(H, "base64") : Buffer.from(H);
        } catch (T) {
          return b(new p(`[${w.method}] ${w.url} invalid URL, ${T.message}`, "system", T));
        }
        const { signal: S } = w;
        if (S && S.aborted) return b(new m("The user aborted a request."));
        const C = { "Content-Length": D.length };
        return E && (C["Content-Type"] = E), _(new u(D, { headers: C }));
      }));
    }
    return new Promise((w, _) => {
      const b = new c(v, y);
      let E;
      try {
        E = d(b);
      } catch (H) {
        return _(H);
      }
      const D = (E.protocol === "https:" ? s : i).request, { signal: S } = b;
      let C = null;
      const T = () => {
        const H = new m("The user aborted a request.");
        _(H), a.isStream(b.body) && typeof b.body.destroy == "function" && b.body.destroy(H), C && C.body && C.body.emit("error", H);
      };
      if (S && S.aborted) return T();
      const U = () => {
        T(), $();
      }, $ = () => {
        z.abort(), S && S.removeEventListener("abort", U), clearTimeout(Y);
      }, z = D(E);
      S && S.addEventListener("abort", U);
      let Y = null;
      b.timeout && z.once("socket", () => {
        Y = setTimeout(() => {
          _(new p(`network timeout at: ${b.url}`, "request-timeout")), $();
        }, b.timeout);
      }), z.on("error", (H) => {
        z.res && z.res.emit("error", H), _(new p(`request to ${b.url} failed, reason: ${H.message}`, "system", H)), $();
      }), z.on("response", (H) => {
        clearTimeout(Y);
        const k = o(H.headers);
        if (g.isRedirect(H.statusCode)) {
          const L = k.get("Location");
          let O = null;
          try {
            O = L === null ? null : new r(L, b.url).toString();
          } catch {
            if (b.redirect !== "manual") {
              _(new p(`uri requested responds with an invalid redirect URL: ${L}`, "invalid-redirect")), $();
              return;
            }
          }
          if (b.redirect === "error") {
            _(new p(`uri requested responds with a redirect, redirect mode is set to error: ${b.url}`, "no-redirect")), $();
            return;
          } else if (b.redirect === "manual") {
            if (O !== null) try {
              k.set("Location", O);
            } catch (N) {
              _(N);
            }
          } else if (b.redirect === "follow" && O !== null) {
            if (b.counter >= b.follow) {
              _(new p(`maximum redirect reached at: ${b.url}`, "max-redirect")), $();
              return;
            }
            if (H.statusCode !== 303 && b.body && l(b) === null) {
              _(new p("Cannot follow redirect with body being a readable stream", "unsupported-redirect")), $();
              return;
            }
            b.headers.set("host", new r(O).host);
            const N = {
              headers: new f(b.headers),
              follow: b.follow,
              counter: b.counter + 1,
              agent: b.agent,
              compress: b.compress,
              method: b.method,
              body: b.body,
              signal: b.signal,
              timeout: b.timeout
            }, K = new r(b.url), oe = new r(O);
            K.hostname !== oe.hostname && (N.headers.delete("authorization"), N.headers.delete("cookie")), (H.statusCode === 303 || (H.statusCode === 301 || H.statusCode === 302) && b.method === "POST") && (N.method = "GET", N.body = void 0, N.headers.delete("content-length")), w(g(new c(O, N))), $();
            return;
          }
        }
        H.once("end", () => S && S.removeEventListener("abort", U));
        const F = new a();
        F.on("error", $), H.on(
          "error",
          /* istanbul ignore next */
          (L) => F.emit("error", L)
        ), H.on("data", (L) => F.write(L)), H.on("end", () => F.end());
        const q = {
          url: b.url,
          status: H.statusCode,
          statusText: H.statusMessage,
          headers: k,
          size: b.size,
          timeout: b.timeout,
          counter: b.counter,
          trailer: new Promise((L) => H.on("end", () => L(o(H.trailers))))
        }, W = k.get("Content-Encoding");
        if (!b.compress || b.method === "HEAD" || W === null || H.statusCode === 204 || H.statusCode === 304) {
          C = new u(F, q), w(C);
          return;
        }
        const P = {
          flush: h.constants.Z_SYNC_FLUSH,
          finishFlush: h.constants.Z_SYNC_FLUSH
        };
        if (W === "gzip" || W === "x-gzip") {
          const L = new h.Gunzip(P);
          C = new u(F.on(
            "error",
            /* istanbul ignore next */
            (O) => L.emit("error", O)
          ).pipe(L), q), w(C);
          return;
        }
        if (W === "deflate" || W === "x-deflate") {
          H.once("data", (L) => {
            const O = (L[0] & 15) === 8 ? new h.Inflate() : new h.InflateRaw();
            F.on(
              "error",
              /* istanbul ignore next */
              (N) => O.emit("error", N)
            ).pipe(O), C = new u(O, q), w(C);
          });
          return;
        }
        if (W === "br") {
          try {
            var x = new h.BrotliDecompress();
          } catch (L) {
            _(L), $();
            return;
          }
          F.on(
            "error",
            /* istanbul ignore next */
            (L) => x.emit("error", L)
          ).pipe(x), C = new u(x, q), w(C);
          return;
        }
        C = new u(F, q), w(C);
      }), n(z, b);
    });
  };
  t.exports = g, g.isRedirect = (v) => v === 301 || v === 302 || v === 303 || v === 307 || v === 308, g.Headers = f, g.Request = c, g.Response = u, g.FetchError = p, g.AbortError = m;
})), yb = /* @__PURE__ */ bt({
  author: () => oo,
  default: () => Uf,
  dependencies: () => uo,
  description: () => ro,
  devDependencies: () => lo,
  engines: () => ho,
  files: () => io,
  keywords: () => ao,
  license: () => "ISC",
  main: () => "lib",
  name: () => eo,
  repository: () => so,
  scripts: () => no,
  tap: () => co,
  templateOSS: () => fo,
  version: () => to
}), eo, to, ro, _b, io, no, so, ao, oo, Eb, uo, lo, co, ho, fo, Uf, bb = qt((() => {
  eo = "npm-registry-fetch", to = "19.1.1", ro = "Fetch-based http client for use with npm registry APIs", _b = "lib", io = ["bin/", "lib/"], no = {
    eslint: 'eslint "**/*.{js,cjs,ts,mjs,jsx,tsx}"',
    lint: "npm run eslint",
    lintfix: "npm run eslint -- --fix",
    test: "tap",
    posttest: "npm run lint",
    npmclilint: "npmcli-lint",
    postsnap: "npm run lintfix --",
    postlint: "template-oss-check",
    snap: "tap",
    "template-oss-apply": "template-oss-apply --force"
  }, so = {
    type: "git",
    url: "git+https://github.com/npm/npm-registry-fetch.git"
  }, ao = [
    "npm",
    "registry",
    "fetch"
  ], oo = "GitHub Inc.", Eb = "ISC", uo = {
    "@npmcli/redact": "^4.0.0",
    jsonparse: "^1.3.1",
    "make-fetch-happen": "^15.0.0",
    minipass: "^7.0.2",
    "minipass-fetch": "^5.0.0",
    minizlib: "^3.0.1",
    "npm-package-arg": "^13.0.0",
    "proc-log": "^6.0.0"
  }, lo = {
    "@npmcli/eslint-config": "^6.0.0",
    "@npmcli/template-oss": "4.28.0",
    cacache: "^20.0.0",
    nock: "^13.2.4",
    "require-inject": "^1.4.4",
    ssri: "^13.0.0",
    tap: "^16.0.1"
  }, co = {
    "check-coverage": !0,
    "test-ignore": "test[\\\\/](util|cache)[\\\\/]",
    "nyc-arg": ["--exclude", "tap-snapshots/**"]
  }, ho = { node: "^20.17.0 || >=22.9.0" }, fo = {
    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
    version: "4.28.0",
    publish: "true"
  }, Uf = {
    name: eo,
    version: to,
    description: ro,
    main: "lib",
    files: io,
    scripts: no,
    repository: so,
    keywords: ao,
    author: oo,
    license: "ISC",
    dependencies: uo,
    devDependencies: lo,
    tap: co,
    engines: ho,
    templateOSS: fo
  };
})), Hf = /* @__PURE__ */ j(((e, t) => {
  var r = (bb(), At(yb).default);
  t.exports = {
    maxSockets: 12,
    method: "GET",
    registry: "https://registry.npmjs.org/",
    timeout: 300 * 1e3,
    strictSSL: !0,
    noProxy: process.env.NOPROXY,
    userAgent: `${r.name}@${r.version}/node@${process.version}+${process.arch} (${process.platform})`
  };
})), Mu = /* @__PURE__ */ j(((e, t) => {
  var r = /* @__PURE__ */ Symbol("proc-log.meta");
  t.exports = {
    META: r,
    output: {
      LEVELS: [
        "standard",
        "error",
        "buffer",
        "flush"
      ],
      KEYS: {
        standard: "standard",
        error: "error",
        buffer: "buffer",
        flush: "flush"
      },
      standard: function(...i) {
        return process.emit("output", "standard", ...i);
      },
      error: function(...i) {
        return process.emit("output", "error", ...i);
      },
      buffer: function(...i) {
        return process.emit("output", "buffer", ...i);
      },
      flush: function(...i) {
        return process.emit("output", "flush", ...i);
      }
    },
    log: {
      LEVELS: [
        "notice",
        "error",
        "warn",
        "info",
        "verbose",
        "http",
        "silly",
        "timing",
        "pause",
        "resume"
      ],
      KEYS: {
        notice: "notice",
        error: "error",
        warn: "warn",
        info: "info",
        verbose: "verbose",
        http: "http",
        silly: "silly",
        timing: "timing",
        pause: "pause",
        resume: "resume"
      },
      error: function(...i) {
        return process.emit("log", "error", ...i);
      },
      notice: function(...i) {
        return process.emit("log", "notice", ...i);
      },
      warn: function(...i) {
        return process.emit("log", "warn", ...i);
      },
      info: function(...i) {
        return process.emit("log", "info", ...i);
      },
      verbose: function(...i) {
        return process.emit("log", "verbose", ...i);
      },
      http: function(...i) {
        return process.emit("log", "http", ...i);
      },
      silly: function(...i) {
        return process.emit("log", "silly", ...i);
      },
      timing: function(...i) {
        return process.emit("log", "timing", ...i);
      },
      pause: function() {
        return process.emit("log", "pause");
      },
      resume: function() {
        return process.emit("log", "resume");
      }
    },
    time: {
      LEVELS: ["start", "end"],
      KEYS: {
        start: "start",
        end: "end"
      },
      start: function(i, s) {
        process.emit("time", "start", i);
        function h() {
          return process.emit("time", "end", i);
        }
        if (typeof s == "function") {
          const a = s();
          return a && a.finally ? a.finally(h) : (h(), a);
        }
        return h;
      },
      end: function(i) {
        return process.emit("time", "end", i);
      }
    },
    input: {
      LEVELS: [
        "start",
        "end",
        "read"
      ],
      KEYS: {
        start: "start",
        end: "end",
        read: "read"
      },
      start: function(...i) {
        let s;
        typeof i[0] == "function" && (s = i.shift()), process.emit("input", "start", ...i);
        function h() {
          return process.emit("input", "end", ...i);
        }
        if (typeof s == "function") {
          const a = s();
          return a && a.finally ? a.finally(h) : (h(), a);
        }
        return h;
      },
      end: function(...i) {
        return process.emit("input", "end", ...i);
      },
      read: function(...i) {
        let s, h;
        const a = new Promise((n, l) => {
          s = n, h = l;
        });
        return process.emit("input", "read", s, h, ...i), a;
      }
    }
  };
})), qf = /* @__PURE__ */ j(((e, t) => {
  var r = "regex", i = "url", s = "path", h = {
    type: r,
    pattern: /\b(npms?_)[a-zA-Z0-9]{36,48}\b/gi,
    replacement: "[REDACTED_NPM_SECRET]"
  }, a = {
    type: r,
    pattern: /\b(Basic\s+|Bearer\s+)[\w+=\-.]+\b/gi,
    replacement: "[REDACTED_AUTH_HEADER]"
  }, n = {
    type: r,
    pattern: /\b[A-Za-z0-9-_]{10,}(?!\.\d+\.)\.[A-Za-z0-9-_]{3,}\.[A-Za-z0-9-_]{20,}\b/gi,
    replacement: "[REDACTED_JSON_WEB_TOKEN]"
  }, l = {
    type: r,
    pattern: /\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/gi,
    replacement: "[REDACTED_UUID]"
  }, u = {
    type: r,
    pattern: /(?:https?|ftp):\/\/[^\s/"$.?#].[^\s"]*/gi,
    replacement: "[REDACTED_URL]"
  }, f = {
    type: s,
    predicate: ({ path: m }) => m.endsWith(".headers.authorization"),
    replacement: "[REDACTED_HEADER_AUTHORIZATION]"
  }, o = {
    type: s,
    predicate: ({ path: m }) => m.endsWith(".headers.set-cookie"),
    replacement: "[REDACTED_HEADER_SET_COOKIE]"
  }, c = {
    type: s,
    predicate: ({ path: m }) => m.endsWith(".headers.cookie"),
    replacement: "[REDACTED_HEADER_COOKIE]"
  }, d = {
    type: s,
    predicate: ({ path: m }) => m.endsWith(".request"),
    replacement: (m) => ({
      method: m?.method,
      path: m?.path,
      headers: m?.headers,
      url: m?.url
    })
  }, p = {
    type: s,
    predicate: ({ path: m }) => m.endsWith(".response"),
    replacement: (m) => ({
      data: m?.data,
      status: m?.status,
      headers: m?.headers
    })
  };
  t.exports = {
    TYPE_REGEX: r,
    TYPE_URL: i,
    TYPE_PATH: s,
    NPM_SECRET: h,
    AUTH_HEADER: a,
    JSON_WEB_TOKEN: n,
    UUID: l,
    URL_MATCHER: u,
    DEEP_HEADER_AUTHORIZATION: f,
    DEEP_HEADER_SET_COOKIE: o,
    DEEP_HEADER_COOKIE: c,
    REWRITE_REQUEST: d,
    REWRITE_RESPONSE: p
  };
})), wb = /* @__PURE__ */ j(((e, t) => {
  var { URL_MATCHER: r, TYPE_URL: i, TYPE_REGEX: s, TYPE_PATH: h } = qf(), a = (b = 0) => (b = typeof b == "string" ? b.length : b, b < 8 ? "*".repeat(8) : "*".repeat(b)), n = (b) => b.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), l = (b) => [.../* @__PURE__ */ new Set([
    encodeURIComponent(b),
    decodeURIComponent(b),
    b
  ])].map(n).join("|"), u = (b, ...E) => {
    let D = "";
    for (let S = 0; S < E.length; S++) D += b[S] + `(${l(E[S])})`;
    return D += b[b.length - 1], new RegExp(D);
  }, f = ({ hostname: b, replacement: E } = {}) => ({
    type: i,
    predicate: ({ url: D }) => D.hostname === b,
    pattern: ({ url: D }) => u`(^${D.protocol}//${D.username}:.+@)?${D.hostname}`,
    replacement: `$1${E || a()}`
  }), o = ({ param: b, replacement: E } = {}) => ({
    type: i,
    predicate: ({ url: D }) => D.searchParams.has(b),
    pattern: ({ url: D }) => u`(${b}=)${D.searchParams.get(b)}`,
    replacement: `$1${E || a()}`
  }), c = ({ replacement: b } = {}) => ({
    type: i,
    predicate: ({ url: E }) => E.password,
    pattern: ({ url: E }) => u`(^${E.protocol}//${E.username}:)${E.password}`,
    replacement: `$1${b || a()}`
  }), d = (...b) => (E) => {
    try {
      const D = new URL(E);
      return v(...b)(E, { url: D });
    } catch {
      return E;
    }
  }, p = (...b) => ({
    ...r,
    replacement: d(...b)
  }), m = {
    [s]: (b) => (E) => (typeof E == "string" && (E = E.replace(b.pattern, b.replacement)), E),
    [i]: (b) => (E, D) => {
      if (typeof E == "string") try {
        const S = D?.url || new URL(E), { predicate: C, pattern: T } = b;
        C({ url: S }) && (E = E.replace(T({ url: S }), b.replacement));
      } catch {
        return E;
      }
      return E;
    },
    [h]: (b) => (E, D) => {
      const S = D?.path, C = S.join(".").toLowerCase(), { predicate: T, replacement: U } = b, $ = typeof U == "function" ? U : () => U;
      return T({
        rawPath: S,
        path: C
      }) && (E = $(E, {
        rawPath: S,
        path: C
      })), E;
    }
  }, g = (b) => m[b.type](b), v = (...b) => (E, D) => b.flat().reduce((S, C) => (typeof C == "function" ? C : g(C))(S, D), E), y = () => (b, E) => typeof E == "number" ? a(b) : E + a(b.substring(E.length).length), w = (b) => (E, D) => typeof D == "number" ? a(b) : D + a(b), _ = (b, E) => v(c({ replacement: E }))(b);
  t.exports = {
    asterisk: a,
    escapeRegExp: n,
    urlEncodeRegexGroup: l,
    urlEncodeRegexTag: u,
    redactUrlHostnameMatcher: f,
    redactUrlSearchParamsMatcher: o,
    redactUrlPasswordMatcher: c,
    redactUrlMatcher: p,
    redactUrlReplacement: d,
    redactDynamicReplacement: y,
    redactFixedReplacement: w,
    redactMatchers: v,
    redactUrlPassword: _
  };
})), zf = /* @__PURE__ */ j(((e, t) => {
  var r = qf(), { redactUrlPassword: i } = wb(), s = "***", h = (l) => typeof l != "string" || !l ? l : i(l, s).replace(r.NPM_SECRET.pattern, `npm_${s}`).replace(r.UUID.pattern, s), a = (l) => {
    const u = /[\s=]/g;
    let f = null, o = "", c = 0;
    for (; f = u.exec(l); )
      o += h(l.slice(c, f.index)) + f[0], c = u.lastIndex;
    return o + h(l.slice(c));
  }, n = (l) => typeof l == "string" ? a(l) : Array.isArray(l) ? l.map((u) => typeof u == "string" ? a(u) : u) : l;
  t.exports = {
    redact: h,
    redactLog: n
  };
})), Db = /* @__PURE__ */ j(((e, t) => {
  var r = Sf(), { Response: i } = hn(), s = Hf(), { log: h } = Mu(), { redact: a } = zf(), n = "https://github.com/npm/cli/wiki/No-auth-for-URI,-but-auth-present-for-scoped-registry", l = async ({ method: o, uri: c, res: d, startTime: p, auth: m, opts: g }) => (g = {
    ...s,
    ...g
  }, d.headers.has("npm-notice") && !d.headers.has("x-local-cache") && h.notice("", d.headers.get("npm-notice")), d.status >= 400 ? (u(o, d, p), m && m.scopeAuthKey && !m.token && !m.auth && h.warn("registry", `No auth for URI, but auth present for scoped registry.

URI: ${c}
Scoped Registry Key: ${m.scopeAuthKey}

More info here: ${n}`), f(o, d, p, g)) : (d.body.on("end", () => u(o, d, p, g)), g.ignoreBody ? (d.body.resume(), new i(null, d)) : d));
  t.exports = l;
  function u(o, c, d) {
    const p = Date.now() - d, m = c.headers.get("x-fetch-attempts"), g = m && m > 1 ? ` attempt #${m}` : "", v = c.headers.get("x-local-cache-status"), y = v ? ` (cache ${v})` : "", w = a(c.url);
    v === "hit" ? h.http("cache", `${w} ${p}ms${g}${y}`) : h.http("fetch", `${o.toUpperCase()} ${c.status} ${w} ${p}ms${g}${y}`);
  }
  function f(o, c, d, p) {
    return c.buffer().catch(() => null).then((m) => {
      let g = m;
      try {
        g = JSON.parse(m.toString("utf8"));
      } catch {
      }
      if (c.status === 401 && c.headers.get("www-authenticate")) {
        const v = c.headers.get("www-authenticate").split(/,\s*/).map((y) => y.toLowerCase());
        throw v.indexOf("ipaddress") !== -1 ? new r.HttpErrorAuthIPAddress(o, c, g, p.spec) : v.indexOf("otp") !== -1 ? new r.HttpErrorAuthOTP(o, c, g, p.spec) : new r.HttpErrorAuthUnknown(o, c, g, p.spec);
      } else throw c.status === 401 && m != null && /one-time pass/.test(m.toString("utf8")) ? new r.HttpErrorAuthOTP(o, c, g, p.spec) : new r.HttpErrorGeneral(o, c, g, p.spec);
    });
  }
})), Ab = /* @__PURE__ */ bt({ default: () => Gf }), Gf, Sb = qt((() => {
  Gf = [
    "_http_agent",
    "_http_client",
    "_http_common",
    "_http_incoming",
    "_http_outgoing",
    "_http_server",
    "_stream_duplex",
    "_stream_passthrough",
    "_stream_readable",
    "_stream_transform",
    "_stream_wrap",
    "_stream_writable",
    "_tls_common",
    "_tls_wrap",
    "assert",
    "assert/strict",
    "async_hooks",
    "buffer",
    "child_process",
    "cluster",
    "console",
    "constants",
    "crypto",
    "dgram",
    "diagnostics_channel",
    "dns",
    "dns/promises",
    "domain",
    "events",
    "fs",
    "fs/promises",
    "http",
    "http2",
    "https",
    "inspector",
    "inspector/promises",
    "module",
    "net",
    "os",
    "path",
    "path/posix",
    "path/win32",
    "perf_hooks",
    "process",
    "punycode",
    "querystring",
    "readline",
    "readline/promises",
    "repl",
    "stream",
    "stream/consumers",
    "stream/promises",
    "stream/web",
    "string_decoder",
    "sys",
    "timers",
    "timers/promises",
    "tls",
    "trace_events",
    "tty",
    "url",
    "util",
    "util/types",
    "v8",
    "vm",
    "wasi",
    "worker_threads",
    "zlib",
    "node:sea",
    "node:sqlite",
    "node:test",
    "node:test/reporters"
  ];
})), Cb = /* @__PURE__ */ j(((e, t) => {
  var r = (Sb(), At(Ab).default), i = /* @__PURE__ */ new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"), s = ["node_modules", "favicon.ico"];
  function h(n) {
    var l = [], u = [];
    if (n === null)
      return u.push("name cannot be null"), a(l, u);
    if (n === void 0)
      return u.push("name cannot be undefined"), a(l, u);
    if (typeof n != "string")
      return u.push("name must be a string"), a(l, u);
    if (n.length || u.push("name length must be greater than zero"), n.startsWith(".") && u.push("name cannot start with a period"), n.startsWith("-") && u.push("name cannot start with a hyphen"), n.match(/^_/) && u.push("name cannot start with an underscore"), n.trim() !== n && u.push("name cannot contain leading or trailing spaces"), s.forEach(function(d) {
      n.toLowerCase() === d && u.push(d + " is not a valid package name");
    }), r.includes(n.toLowerCase()) && l.push(n + " is a core module name"), n.length > 214 && l.push("name can no longer contain more than 214 characters"), n.toLowerCase() !== n && l.push("name can no longer contain capital letters"), /[~'!()*]/.test(n.split("/").slice(-1)[0]) && l.push(`name can no longer contain special characters ("~'!()*")`), encodeURIComponent(n) !== n) {
      var f = n.match(i);
      if (f) {
        var o = f[1], c = f[2];
        if (c.startsWith(".") && u.push("name cannot start with a period"), encodeURIComponent(o) === o && encodeURIComponent(c) === c) return a(l, u);
      }
      u.push("name can only contain URL-friendly characters");
    }
    return a(l, u);
  }
  var a = function(n, l) {
    var u = {
      validForNewPackages: l.length === 0 && n.length === 0,
      validForOldPackages: l.length === 0,
      warnings: n,
      errors: l
    };
    return u.warnings.length || delete u.warnings, u.errors.length || delete u.errors, u;
  };
  t.exports = h;
})), Wf = /* @__PURE__ */ j(((e, t) => {
  var r = process.platform === "win32", { URL: i } = ve("node:url"), s = r ? ve("node:path/win32") : ve("node:path"), { homedir: h } = ve("node:os"), a = Mh(), n = Tu(), l = Cb(), { log: u } = Mu(), f = r ? /\\|[/]/ : /[/]/, o = /^(?:git[+])?[a-z]+:/i, c = /^[^@]+@[^:.]+\.[^:]+:.+$/i, d = /[.](?:tgz|tar\.gz|tar)$/i, p = /:[0-9]+(\/|$)/i, m = /^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/, g = /^(?:[.]|~[/]|[/]|[a-zA-Z]:)/, v = "https://registry.npmjs.org";
  function y(P, x) {
    let L, O;
    if (typeof P == "object") return P instanceof T && (!x || x === P.where) ? P : P.name && P.rawSpec ? y.resolve(P.name, P.rawSpec, x || P.where) : y(P.raw, x || P.where);
    const N = P.indexOf("@", 1), K = N > 0 ? P.slice(0, N) : P;
    return o.test(P) ? O = P : c.test(P) ? O = `git+ssh://${P}` : !K.startsWith("@") && (f.test(K) || d.test(K)) ? O = P : N > 0 ? (L = K, O = P.slice(N + 1) || "*") : l(P).validForOldPackages ? (L = P, O = "*") : O = P, b(L, O, x, P);
  }
  function w(P) {
    return P ? P.toLowerCase().startsWith("file:") ? !0 : r ? m.test(P) : g.test(P) : !1;
  }
  function _(P) {
    return P ? P.toLowerCase().startsWith("npm:") : !1;
  }
  function b(P, x, L, O) {
    const N = new T({
      raw: O,
      name: P,
      rawSpec: x,
      fromArgument: O != null
    });
    if (P && (N.name = P), L || (L = process.cwd()), w(x)) return Y(N, L);
    if (_(x)) return q(N, L);
    const K = a.fromUrl(x, {
      noGitPlus: !0,
      noCommittish: !0
    });
    return K ? H(N, K) : x && o.test(x) ? F(N) : x && (f.test(x) || d.test(x)) ? Y(N, L) : W(N);
  }
  function E(P, x = v) {
    const L = y(P);
    if (L.type !== "version") throw C(L.type, L.raw);
    let O = "pkg:npm/" + L.name.replace(/^@/, "%40") + "@" + L.rawSpec;
    return x !== v && (O += "?repository_url=" + x), O;
  }
  function D(P, x, L) {
    const O = /* @__PURE__ */ new Error(`Invalid package name "${P}" of package "${L}": ${x.errors.join("; ")}.`);
    return O.code = "EINVALIDPACKAGENAME", O;
  }
  function S(P, x) {
    const L = /* @__PURE__ */ new Error(`Invalid tag name "${P}" of package "${x}": Tags may not have any characters that encodeURIComponent encodes.`);
    return L.code = "EINVALIDTAGNAME", L;
  }
  function C(P, x) {
    const L = /* @__PURE__ */ new Error(`Invalid type "${P}" of package "${x}": Purl can only be generated for "version" types.`);
    return L.code = "EINVALIDPURLTYPE", L;
  }
  var T = class {
    constructor(P) {
      this.type = P.type, this.registry = P.registry, this.where = P.where, P.raw == null ? this.raw = P.name ? `${P.name}@${P.rawSpec}` : P.rawSpec : this.raw = P.raw, this.name = void 0, this.escapedName = void 0, this.scope = void 0, this.rawSpec = P.rawSpec || "", this.saveSpec = P.saveSpec, this.fetchSpec = P.fetchSpec, P.name && this.setName(P.name), this.gitRange = P.gitRange, this.gitCommittish = P.gitCommittish, this.gitSubdir = P.gitSubdir, this.hosted = P.hosted;
    }
    setName(P) {
      const x = l(P);
      if (!x.validForOldPackages) throw D(P, x, this.raw);
      return this.name = P, this.scope = P[0] === "@" ? P.slice(0, P.indexOf("/")) : void 0, this.escapedName = P.replace("/", "%2f"), this;
    }
    toString() {
      const P = [];
      this.name != null && this.name !== "" && P.push(this.name);
      const x = this.saveSpec || this.fetchSpec || this.rawSpec;
      return x != null && x !== "" && P.push(x), P.length ? P.join("@") : this.raw;
    }
    toJSON() {
      const P = Object.assign({}, this);
      return delete P.hosted, P;
    }
  };
  function U(P, x) {
    if (!x) {
      P.gitCommittish = null;
      return;
    }
    for (const L of x.split("::")) {
      if (!L.includes(":")) {
        if (P.gitRange) throw new Error("cannot override existing semver range with a committish");
        if (P.gitCommittish) throw new Error("cannot override existing committish with a second committish");
        P.gitCommittish = L;
        continue;
      }
      const [O, N] = L.split(":");
      if (O === "semver") {
        if (P.gitCommittish) throw new Error("cannot override existing committish with a semver range");
        if (P.gitRange) throw new Error("cannot override existing semver range with a second semver range");
        P.gitRange = decodeURIComponent(N);
        continue;
      }
      if (O === "path") {
        if (P.gitSubdir) throw new Error("cannot override existing path with a second path");
        P.gitSubdir = `/${N}`;
        continue;
      }
      u.warn("npm-package-arg", `ignoring unknown key "${O}"`);
    }
  }
  var $ = /* @__PURE__ */ new Map([
    ["\0", "%00"],
    ["	", "%09"],
    [`
`, "%0A"],
    ["\r", "%0D"],
    [" ", "%20"],
    ['"', "%22"],
    ["#", "%23"],
    ["%", "%25"],
    ["?", "%3F"],
    ["[", "%5B"],
    ["\\", r ? "/" : "%5C"],
    ["]", "%5D"],
    ["^", "%5E"],
    ["|", "%7C"],
    ["~", "%7E"]
  ]);
  function z(P) {
    let x = "";
    for (let L = 0; L < P.length; L++) x = `${x}${$.get(P[L]) ?? P[L]}`;
    return x.startsWith("file:") ? x : `file:${x}`;
  }
  function Y(P, x) {
    P.type = d.test(P.rawSpec) ? "file" : "directory", P.where = x;
    let L = z(P.rawSpec);
    L.startsWith("file:/") && (/^file:\/\/[^/]/.test(L) && (L = `file:/${L.slice(5)}`), /^\/{1,3}\.\.?(\/|$)/.test(L.slice(5)) && (L = L.replace(/^file:\/{1,3}/, "file:")));
    let O, N;
    try {
      O = new i(L, `${z(s.resolve(x))}/`), N = new i(L);
    } catch (pe) {
      throw Object.assign(/* @__PURE__ */ new Error("Invalid file: URL, must comply with RFC 8089"), {
        raw: P.rawSpec,
        spec: P,
        where: x,
        originalError: pe
      });
    }
    let K = decodeURIComponent(N.pathname), oe = decodeURIComponent(O.pathname);
    return r && (K = K.replace(/^\/+([a-z]:\/)/i, "$1"), oe = oe.replace(/^\/+([a-z]:\/)/i, "$1")), /^\/~(\/|$)/.test(K) ? (P.saveSpec = `file:${K.substr(1)}`, oe = s.resolve(h(), K.substr(3))) : s.isAbsolute(L.slice(5)) ? P.saveSpec = `file:${s.resolve(oe)}` : P.saveSpec = `file:${s.relative(x, oe)}`, P.fetchSpec = s.resolve(x, oe), P.saveSpec = P.saveSpec.split("\\").join("/"), P.saveSpec.startsWith("file://") && (P.saveSpec = `file:/${P.saveSpec.slice(7)}`), P;
  }
  function H(P, x) {
    return P.type = "git", P.hosted = x, P.saveSpec = x.toString({
      noGitPlus: !1,
      noCommittish: !1
    }), P.fetchSpec = x.getDefaultRepresentation() === "shortcut" ? null : x.toString(), U(P, x.committish), P;
  }
  function k(P, x) {
    const L = /* @__PURE__ */ new Error(`Unsupported URL Type "${P}": ${x}`);
    return L.code = "EUNSUPPORTEDPROTOCOL", L;
  }
  function F(P) {
    let x = P.rawSpec;
    if (P.saveSpec = x, x.startsWith("git+ssh:")) {
      const O = x.match(/^git\+ssh:\/\/([^:#]+:[^#]+(?:\.git)?)(?:#(.*))?$/i);
      if (O && !O[1].match(p))
        return P.type = "git", U(P, O[2]), P.fetchSpec = O[1], P;
    } else x.startsWith("git+file://") && (x = x.replace(/\\/g, "/"));
    const L = new i(x);
    switch (L.protocol) {
      case "git:":
      case "git+http:":
      case "git+https:":
      case "git+rsync:":
      case "git+ftp:":
      case "git+file:":
      case "git+ssh:":
        P.type = "git", U(P, L.hash.slice(1)), L.protocol === "git+file:" && /^git\+file:\/\/[a-z]:/i.test(x) ? P.fetchSpec = `git+file://${L.host.toLowerCase()}:${L.pathname}` : (L.hash = "", P.fetchSpec = L.toString()), P.fetchSpec.startsWith("git+") && (P.fetchSpec = P.fetchSpec.slice(4));
        break;
      case "http:":
      case "https:":
        P.type = "remote", P.fetchSpec = P.saveSpec;
        break;
      default:
        throw k(L.protocol, x);
    }
    return P;
  }
  function q(P, x) {
    const L = y(P.rawSpec.substr(4), x);
    if (L.type === "alias") throw new Error("nested aliases not supported");
    if (!L.registry) throw new Error("aliases only work for registry deps");
    if (!L.name) throw new Error("aliases must have a name");
    return P.subSpec = L, P.registry = !0, P.type = "alias", P.saveSpec = null, P.fetchSpec = null, P;
  }
  function W(P) {
    P.registry = !0;
    const x = P.rawSpec.trim();
    P.saveSpec = null, P.fetchSpec = x;
    const L = n.valid(x, !0), O = n.validRange(x, !0);
    if (L) P.type = "version";
    else if (O) P.type = "range";
    else {
      if (encodeURIComponent(x) !== x) throw S(x, P.raw);
      P.type = "tag";
    }
    return P;
  }
  t.exports = y, t.exports.resolve = b, t.exports.toPurl = E, t.exports.Result = T;
})), Tb = /* @__PURE__ */ j(((e, t) => {
  var r = ve("fs"), i = Wf(), { URL: s } = ve("url"), h = (c, d) => {
    const p = new s(c);
    let m = `//${p.host}${p.pathname}`;
    for (; m.length > 2; ) {
      const g = a(m, d);
      if (g) return {
        regKey: m,
        authKey: g
      };
      m = m.replace(/([^/]+|\/)$/, "");
    }
    return {
      regKey: !1,
      authKey: null
    };
  }, a = (c, d) => d[`${c}:_authToken`] ? "_authToken" : d[`${c}:_auth`] ? "_auth" : d[`${c}:username`] && d[`${c}:_password`] ? "username" : d[`${c}:certfile`] && d[`${c}:keyfile`] ? "certfile" : !1, n = (c, d) => {
    const p = new s(c), m = new s(d);
    return p.host === m.host;
  }, l = (c) => {
    const { spec: d } = c, { scope: p, subSpec: m } = d ? i(d) : {}, g = m && m.scope, v = m ? g : p;
    return v && c[`${v}:registry`] || c.registry;
  }, u = (c) => {
    try {
      return r.readFileSync(c, "utf8");
    } catch (d) {
      if (d.code !== "ENOENT") throw d;
      return null;
    }
  }, f = (c, d = {}) => {
    const { forceAuth: p } = d;
    if (!c) throw new Error("URI is required");
    const { regKey: m, authKey: g } = h(c, p || d);
    if (p && !m) return new o({
      regKey: !1,
      authKey: null,
      scopeAuthKey: null,
      token: p._authToken || p.token,
      username: p.username,
      password: p._password || p.password,
      auth: p._auth || p.auth,
      certfile: p.certfile,
      keyfile: p.keyfile
    });
    if (!m) {
      const D = l(d);
      if (D && c !== D && n(c, D)) return f(D, d);
      if (D !== d.registry) {
        const { regKey: S, authKey: C } = h(D, d);
        return new o({
          scopeAuthKey: S,
          regKey: S,
          authKey: C
        });
      }
    }
    const { [`${m}:_authToken`]: v, [`${m}:username`]: y, [`${m}:_password`]: w, [`${m}:_auth`]: _, [`${m}:certfile`]: b, [`${m}:keyfile`]: E } = d;
    return new o({
      scopeAuthKey: null,
      regKey: m,
      authKey: g,
      token: v,
      auth: _,
      username: y,
      password: w,
      certfile: b,
      keyfile: E
    });
  }, o = class {
    constructor({ token: c, auth: d, username: p, password: m, scopeAuthKey: g, certfile: v, keyfile: y, regKey: w, authKey: _ }) {
      if (this.scopeAuthKey = g, this.regKey = w, this.authKey = _, this.token = null, this.auth = null, this.isBasicAuth = !1, this.cert = null, this.key = null, c) this.token = c;
      else if (d) this.auth = d;
      else if (p && m) {
        const b = Buffer.from(m, "base64").toString("utf8");
        this.auth = Buffer.from(`${p}:${b}`, "utf8").toString("base64"), this.isBasicAuth = !0;
      }
      if (v && y) {
        const b = u(v, "utf-8"), E = u(y, "utf-8");
        b && E && (this.cert = b, this.key = E);
      }
    }
  };
  t.exports = f;
})), Rb = /* @__PURE__ */ j(((e, t) => {
  var r = ve("dns"), i = [
    "if-modified-since",
    "if-none-match",
    "if-unmodified-since",
    "if-match",
    "if-range"
  ], s = (h) => {
    const { strictSSL: a, ...n } = { ...h };
    if (n.method = n.method ? n.method.toUpperCase() : "GET", a == null ? n.rejectUnauthorized = process.env.NODE_TLS_REJECT_UNAUTHORIZED !== "0" : n.rejectUnauthorized = a !== !1, !n.retry) n.retry = { retries: 0 };
    else if (typeof n.retry == "string") {
      const l = parseInt(n.retry, 10);
      isFinite(l) ? n.retry = { retries: l } : n.retry = { retries: 0 };
    } else typeof n.retry == "number" ? n.retry = { retries: n.retry } : n.retry = {
      retries: 0,
      ...n.retry
    };
    return n.dns = {
      ttl: 300 * 1e3,
      lookup: r.lookup,
      ...n.dns
    }, n.cache = n.cache || "default", n.cache === "default" && Object.keys(n.headers || {}).some((l) => i.includes(l.toLowerCase())) && (n.cache = "no-store"), n.cacheAdditionalHeaders = n.cacheAdditionalHeaders || [], n.cacheManager && !n.cachePath && (n.cachePath = n.cacheManager), n;
  };
  t.exports = s;
})), Ob = /* @__PURE__ */ j(((e, t) => {
  var r = /* @__PURE__ */ new Set([
    200,
    203,
    204,
    206,
    300,
    301,
    308,
    404,
    405,
    410,
    414,
    501
  ]), i = /* @__PURE__ */ new Set([
    200,
    203,
    204,
    300,
    301,
    302,
    303,
    307,
    308,
    404,
    405,
    410,
    414,
    501
  ]), s = /* @__PURE__ */ new Set([
    500,
    502,
    503,
    504
  ]), h = {
    date: !0,
    connection: !0,
    "keep-alive": !0,
    "proxy-authenticate": !0,
    "proxy-authorization": !0,
    te: !0,
    trailer: !0,
    "transfer-encoding": !0,
    upgrade: !0
  }, a = {
    "content-length": !0,
    "content-encoding": !0,
    "transfer-encoding": !0,
    "content-range": !0
  };
  function n(o) {
    const c = parseInt(o, 10);
    return isFinite(c) ? c : 0;
  }
  function l(o) {
    return o ? s.has(o.status) : !0;
  }
  function u(o) {
    const c = {};
    if (!o) return c;
    const d = o.trim().split(/,/);
    for (const p of d) {
      const [m, g] = p.split(/=/, 2);
      c[m.trim()] = g === void 0 ? !0 : g.trim().replace(/^"|"$/g, "");
    }
    return c;
  }
  function f(o) {
    let c = [];
    for (const d in o) {
      const p = o[d];
      c.push(p === !0 ? d : d + "=" + p);
    }
    if (c.length)
      return c.join(", ");
  }
  t.exports = class {
    constructor(c, d, { shared: p, cacheHeuristic: m, immutableMinTimeToLive: g, ignoreCargoCult: v, _fromObject: y } = {}) {
      if (y) {
        this._fromObject(y);
        return;
      }
      if (!d || !d.headers) throw Error("Response headers missing");
      this._assertRequestHasHeaders(c), this._responseTime = this.now(), this._isShared = p !== !1, this._ignoreCargoCult = !!v, this._cacheHeuristic = m !== void 0 ? m : 0.1, this._immutableMinTtl = g !== void 0 ? g : 24 * 3600 * 1e3, this._status = "status" in d ? d.status : 200, this._resHeaders = d.headers, this._rescc = u(d.headers["cache-control"]), this._method = "method" in c ? c.method : "GET", this._url = c.url, this._host = c.headers.host, this._noAuthorization = !c.headers.authorization, this._reqHeaders = d.headers.vary ? c.headers : null, this._reqcc = u(c.headers["cache-control"]), this._ignoreCargoCult && "pre-check" in this._rescc && "post-check" in this._rescc && (delete this._rescc["pre-check"], delete this._rescc["post-check"], delete this._rescc["no-cache"], delete this._rescc["no-store"], delete this._rescc["must-revalidate"], this._resHeaders = Object.assign({}, this._resHeaders, { "cache-control": f(this._rescc) }), delete this._resHeaders.expires, delete this._resHeaders.pragma), d.headers["cache-control"] == null && /no-cache/.test(d.headers.pragma) && (this._rescc["no-cache"] = !0);
    }
    now() {
      return Date.now();
    }
    storable() {
      return !!(!this._reqcc["no-store"] && (this._method === "GET" || this._method === "HEAD" || this._method === "POST" && this._hasExplicitExpiration()) && i.has(this._status) && !this._rescc["no-store"] && (!this._isShared || !this._rescc.private) && (!this._isShared || this._noAuthorization || this._allowsStoringAuthenticated()) && (this._resHeaders.expires || this._rescc["max-age"] || this._isShared && this._rescc["s-maxage"] || this._rescc.public || r.has(this._status)));
    }
    _hasExplicitExpiration() {
      return !!(this._isShared && this._rescc["s-maxage"] || this._rescc["max-age"] || this._resHeaders.expires);
    }
    _assertRequestHasHeaders(c) {
      if (!c || !c.headers) throw Error("Request headers missing");
    }
    satisfiesWithoutRevalidation(c) {
      return !this.evaluateRequest(c).revalidation;
    }
    _evaluateRequestHitResult(c) {
      return {
        response: { headers: this.responseHeaders() },
        revalidation: c
      };
    }
    _evaluateRequestRevalidation(c, d) {
      return {
        synchronous: d,
        headers: this.revalidationHeaders(c)
      };
    }
    _evaluateRequestMissResult(c) {
      return {
        response: void 0,
        revalidation: this._evaluateRequestRevalidation(c, !0)
      };
    }
    evaluateRequest(c) {
      if (this._assertRequestHasHeaders(c), this._rescc["must-revalidate"]) return this._evaluateRequestMissResult(c);
      if (!this._requestMatches(c, !1)) return this._evaluateRequestMissResult(c);
      const d = u(c.headers["cache-control"]);
      return d["no-cache"] || /no-cache/.test(c.headers.pragma) ? this._evaluateRequestMissResult(c) : d["max-age"] && this.age() > n(d["max-age"]) ? this._evaluateRequestMissResult(c) : d["min-fresh"] && this.maxAge() - this.age() < n(d["min-fresh"]) ? this._evaluateRequestMissResult(c) : this.stale() ? "max-stale" in d && (d["max-stale"] === !0 || d["max-stale"] > this.age() - this.maxAge()) ? this._evaluateRequestHitResult(void 0) : this.useStaleWhileRevalidate() ? this._evaluateRequestHitResult(this._evaluateRequestRevalidation(c, !1)) : this._evaluateRequestMissResult(c) : this._evaluateRequestHitResult(void 0);
    }
    _requestMatches(c, d) {
      return !!((!this._url || this._url === c.url) && this._host === c.headers.host && (!c.method || this._method === c.method || d && c.method === "HEAD") && this._varyMatches(c));
    }
    _allowsStoringAuthenticated() {
      return !!(this._rescc["must-revalidate"] || this._rescc.public || this._rescc["s-maxage"]);
    }
    _varyMatches(c) {
      if (!this._resHeaders.vary) return !0;
      if (this._resHeaders.vary === "*") return !1;
      const d = this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);
      for (const p of d) if (c.headers[p] !== this._reqHeaders[p]) return !1;
      return !0;
    }
    _copyWithoutHopByHopHeaders(c) {
      const d = {};
      for (const p in c)
        h[p] || (d[p] = c[p]);
      if (c.connection) {
        const p = c.connection.trim().split(/\s*,\s*/);
        for (const m of p) delete d[m];
      }
      if (d.warning) {
        const p = d.warning.split(/,/).filter((m) => !/^\s*1[0-9][0-9]/.test(m));
        p.length ? d.warning = p.join(",").trim() : delete d.warning;
      }
      return d;
    }
    responseHeaders() {
      const c = this._copyWithoutHopByHopHeaders(this._resHeaders), d = this.age();
      return d > 3600 * 24 && !this._hasExplicitExpiration() && this.maxAge() > 3600 * 24 && (c.warning = (c.warning ? `${c.warning}, ` : "") + '113 - "rfc7234 5.5.4"'), c.age = `${Math.round(d)}`, c.date = new Date(this.now()).toUTCString(), c;
    }
    date() {
      const c = Date.parse(this._resHeaders.date);
      return isFinite(c) ? c : this._responseTime;
    }
    age() {
      return this._ageValue() + (this.now() - this._responseTime) / 1e3;
    }
    _ageValue() {
      return n(this._resHeaders.age);
    }
    maxAge() {
      if (!this.storable() || this._rescc["no-cache"] || this._isShared && this._resHeaders["set-cookie"] && !this._rescc.public && !this._rescc.immutable || this._resHeaders.vary === "*") return 0;
      if (this._isShared) {
        if (this._rescc["proxy-revalidate"]) return 0;
        if (this._rescc["s-maxage"]) return n(this._rescc["s-maxage"]);
      }
      if (this._rescc["max-age"]) return n(this._rescc["max-age"]);
      const c = this._rescc.immutable ? this._immutableMinTtl : 0, d = this.date();
      if (this._resHeaders.expires) {
        const p = Date.parse(this._resHeaders.expires);
        return Number.isNaN(p) || p < d ? 0 : Math.max(c, (p - d) / 1e3);
      }
      if (this._resHeaders["last-modified"]) {
        const p = Date.parse(this._resHeaders["last-modified"]);
        if (isFinite(p) && d > p) return Math.max(c, (d - p) / 1e3 * this._cacheHeuristic);
      }
      return c;
    }
    timeToLive() {
      const c = this.maxAge() - this.age(), d = c + n(this._rescc["stale-if-error"]), p = c + n(this._rescc["stale-while-revalidate"]);
      return Math.round(Math.max(0, c, d, p) * 1e3);
    }
    stale() {
      return this.maxAge() <= this.age();
    }
    _useStaleIfError() {
      return this.maxAge() + n(this._rescc["stale-if-error"]) > this.age();
    }
    useStaleWhileRevalidate() {
      const c = n(this._rescc["stale-while-revalidate"]);
      return c > 0 && this.maxAge() + c > this.age();
    }
    static fromObject(c) {
      return new this(void 0, void 0, { _fromObject: c });
    }
    _fromObject(c) {
      if (this._responseTime) throw Error("Reinitialized");
      if (!c || c.v !== 1) throw Error("Invalid serialization");
      this._responseTime = c.t, this._isShared = c.sh, this._cacheHeuristic = c.ch, this._immutableMinTtl = c.imm !== void 0 ? c.imm : 24 * 3600 * 1e3, this._ignoreCargoCult = !!c.icc, this._status = c.st, this._resHeaders = c.resh, this._rescc = c.rescc, this._method = c.m, this._url = c.u, this._host = c.h, this._noAuthorization = c.a, this._reqHeaders = c.reqh, this._reqcc = c.reqcc;
    }
    toObject() {
      return {
        v: 1,
        t: this._responseTime,
        sh: this._isShared,
        ch: this._cacheHeuristic,
        imm: this._immutableMinTtl,
        icc: this._ignoreCargoCult,
        st: this._status,
        resh: this._resHeaders,
        rescc: this._rescc,
        m: this._method,
        u: this._url,
        h: this._host,
        a: this._noAuthorization,
        reqh: this._reqHeaders,
        reqcc: this._reqcc
      };
    }
    revalidationHeaders(c) {
      this._assertRequestHasHeaders(c);
      const d = this._copyWithoutHopByHopHeaders(c.headers);
      if (delete d["if-range"], !this._requestMatches(c, !0) || !this.storable())
        return delete d["if-none-match"], delete d["if-modified-since"], d;
      if (this._resHeaders.etag && (d["if-none-match"] = d["if-none-match"] ? `${d["if-none-match"]}, ${this._resHeaders.etag}` : this._resHeaders.etag), d["accept-ranges"] || d["if-match"] || d["if-unmodified-since"] || this._method && this._method != "GET") {
        if (delete d["if-modified-since"], d["if-none-match"]) {
          const p = d["if-none-match"].split(/,/).filter((m) => !/^\s*W\//.test(m));
          p.length ? d["if-none-match"] = p.join(",").trim() : delete d["if-none-match"];
        }
      } else this._resHeaders["last-modified"] && !d["if-modified-since"] && (d["if-modified-since"] = this._resHeaders["last-modified"]);
      return d;
    }
    revalidatedPolicy(c, d) {
      if (this._assertRequestHasHeaders(c), this._useStaleIfError() && l(d)) return {
        policy: this,
        modified: !1,
        matches: !0
      };
      if (!d || !d.headers) throw Error("Response headers missing");
      let p = !1;
      d.status !== void 0 && d.status != 304 ? p = !1 : d.headers.etag && !/^\s*W\//.test(d.headers.etag) ? p = this._resHeaders.etag && this._resHeaders.etag.replace(/^\s*W\//, "") === d.headers.etag : this._resHeaders.etag && d.headers.etag ? p = this._resHeaders.etag.replace(/^\s*W\//, "") === d.headers.etag.replace(/^\s*W\//, "") : this._resHeaders["last-modified"] ? p = this._resHeaders["last-modified"] === d.headers["last-modified"] : !this._resHeaders.etag && !this._resHeaders["last-modified"] && !d.headers.etag && !d.headers["last-modified"] && (p = !0);
      const m = {
        shared: this._isShared,
        cacheHeuristic: this._cacheHeuristic,
        immutableMinTimeToLive: this._immutableMinTtl,
        ignoreCargoCult: this._ignoreCargoCult
      };
      if (!p) return {
        policy: new this.constructor(c, d, m),
        modified: d.status != 304,
        matches: !1
      };
      const g = {};
      for (const y in this._resHeaders) g[y] = y in d.headers && !a[y] ? d.headers[y] : this._resHeaders[y];
      const v = Object.assign({}, d, {
        status: this._status,
        method: this._method,
        headers: g
      });
      return {
        policy: new this.constructor(c, v, m),
        modified: !1,
        matches: !0
      };
    }
  };
})), Ib = /* @__PURE__ */ j(((e, t) => {
  t.exports = n, t.exports.preferredCharsets = n;
  var r = /^\s*([^\s;]+)\s*(?:;(.*))?$/;
  function i(o) {
    for (var c = o.split(","), d = 0, p = 0; d < c.length; d++) {
      var m = s(c[d].trim(), d);
      m && (c[p++] = m);
    }
    return c.length = p, c;
  }
  function s(o, c) {
    var d = r.exec(o);
    if (!d) return null;
    var p = d[1], m = 1;
    if (d[2])
      for (var g = d[2].split(";"), v = 0; v < g.length; v++) {
        var y = g[v].trim().split("=");
        if (y[0] === "q") {
          m = parseFloat(y[1]);
          break;
        }
      }
    return {
      charset: p,
      q: m,
      i: c
    };
  }
  function h(o, c, d) {
    for (var p = {
      o: -1,
      q: 0,
      s: 0
    }, m = 0; m < c.length; m++) {
      var g = a(o, c[m], d);
      g && (p.s - g.s || p.q - g.q || p.o - g.o) < 0 && (p = g);
    }
    return p;
  }
  function a(o, c, d) {
    var p = 0;
    if (c.charset.toLowerCase() === o.toLowerCase()) p |= 1;
    else if (c.charset !== "*") return null;
    return {
      i: d,
      o: c.i,
      q: c.q,
      s: p
    };
  }
  function n(o, c) {
    var d = i(o === void 0 ? "*" : o || "");
    if (!c) return d.filter(f).sort(l).map(u);
    var p = c.map(function(g, v) {
      return h(g, d, v);
    });
    return p.filter(f).sort(l).map(function(g) {
      return c[p.indexOf(g)];
    });
  }
  function l(o, c) {
    return c.q - o.q || c.s - o.s || o.o - c.o || o.i - c.i || 0;
  }
  function u(o) {
    return o.charset;
  }
  function f(o) {
    return o.q > 0;
  }
})), kb = /* @__PURE__ */ j(((e, t) => {
  t.exports = n, t.exports.preferredEncodings = n;
  var r = /^\s*([^\s;]+)\s*(?:;(.*))?$/;
  function i(o) {
    for (var c = o.split(","), d = !1, p = 1, m = 0, g = 0; m < c.length; m++) {
      var v = s(c[m].trim(), m);
      v && (c[g++] = v, d = d || a("identity", v), p = Math.min(p, v.q || 1));
    }
    return d || (c[g++] = {
      encoding: "identity",
      q: p,
      i: m
    }), c.length = g, c;
  }
  function s(o, c) {
    var d = r.exec(o);
    if (!d) return null;
    var p = d[1], m = 1;
    if (d[2])
      for (var g = d[2].split(";"), v = 0; v < g.length; v++) {
        var y = g[v].trim().split("=");
        if (y[0] === "q") {
          m = parseFloat(y[1]);
          break;
        }
      }
    return {
      encoding: p,
      q: m,
      i: c
    };
  }
  function h(o, c, d) {
    for (var p = {
      encoding: o,
      o: -1,
      q: 0,
      s: 0
    }, m = 0; m < c.length; m++) {
      var g = a(o, c[m], d);
      g && (p.s - g.s || p.q - g.q || p.o - g.o) < 0 && (p = g);
    }
    return p;
  }
  function a(o, c, d) {
    var p = 0;
    if (c.encoding.toLowerCase() === o.toLowerCase()) p |= 1;
    else if (c.encoding !== "*") return null;
    return {
      encoding: o,
      i: d,
      o: c.i,
      q: c.q,
      s: p
    };
  }
  function n(o, c, d) {
    var p = i(o || ""), m = d ? function(y, w) {
      if (y.q !== w.q) return w.q - y.q;
      var _ = d.indexOf(y.encoding), b = d.indexOf(w.encoding);
      return _ === -1 && b === -1 ? w.s - y.s || y.o - w.o || y.i - w.i : _ !== -1 && b !== -1 ? _ - b : _ === -1 ? 1 : -1;
    } : l;
    if (!c) return p.filter(f).sort(m).map(u);
    var g = c.map(function(y, w) {
      return h(y, p, w);
    });
    return g.filter(f).sort(m).map(function(y) {
      return c[g.indexOf(y)];
    });
  }
  function l(o, c) {
    return c.q - o.q || c.s - o.s || o.o - c.o || o.i - c.i;
  }
  function u(o) {
    return o.encoding;
  }
  function f(o) {
    return o.q > 0;
  }
})), Lb = /* @__PURE__ */ j(((e, t) => {
  t.exports = n, t.exports.preferredLanguages = n;
  var r = /^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;
  function i(o) {
    for (var c = o.split(","), d = 0, p = 0; d < c.length; d++) {
      var m = s(c[d].trim(), d);
      m && (c[p++] = m);
    }
    return c.length = p, c;
  }
  function s(o, c) {
    var d = r.exec(o);
    if (!d) return null;
    var p = d[1], m = d[2], g = p;
    m && (g += "-" + m);
    var v = 1;
    if (d[3])
      for (var y = d[3].split(";"), w = 0; w < y.length; w++) {
        var _ = y[w].split("=");
        _[0] === "q" && (v = parseFloat(_[1]));
      }
    return {
      prefix: p,
      suffix: m,
      q: v,
      i: c,
      full: g
    };
  }
  function h(o, c, d) {
    for (var p = {
      o: -1,
      q: 0,
      s: 0
    }, m = 0; m < c.length; m++) {
      var g = a(o, c[m], d);
      g && (p.s - g.s || p.q - g.q || p.o - g.o) < 0 && (p = g);
    }
    return p;
  }
  function a(o, c, d) {
    var p = s(o);
    if (!p) return null;
    var m = 0;
    if (c.full.toLowerCase() === p.full.toLowerCase()) m |= 4;
    else if (c.prefix.toLowerCase() === p.full.toLowerCase()) m |= 2;
    else if (c.full.toLowerCase() === p.prefix.toLowerCase()) m |= 1;
    else if (c.full !== "*") return null;
    return {
      i: d,
      o: c.i,
      q: c.q,
      s: m
    };
  }
  function n(o, c) {
    var d = i(o === void 0 ? "*" : o || "");
    if (!c) return d.filter(f).sort(l).map(u);
    var p = c.map(function(g, v) {
      return h(g, d, v);
    });
    return p.filter(f).sort(l).map(function(g) {
      return c[p.indexOf(g)];
    });
  }
  function l(o, c) {
    return c.q - o.q || c.s - o.s || o.o - c.o || o.i - c.i || 0;
  }
  function u(o) {
    return o.full;
  }
  function f(o) {
    return o.q > 0;
  }
})), Fb = /* @__PURE__ */ j(((e, t) => {
  t.exports = n, t.exports.preferredMediaTypes = n;
  var r = /^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;
  function i(m) {
    for (var g = d(m), v = 0, y = 0; v < g.length; v++) {
      var w = s(g[v].trim(), v);
      w && (g[y++] = w);
    }
    return g.length = y, g;
  }
  function s(m, g) {
    var v = r.exec(m);
    if (!v) return null;
    var y = /* @__PURE__ */ Object.create(null), w = 1, _ = v[2], b = v[1];
    if (v[3])
      for (var E = p(v[3]).map(c), D = 0; D < E.length; D++) {
        var S = E[D], C = S[0].toLowerCase(), T = S[1], U = T && T[0] === '"' && T[T.length - 1] === '"' ? T.slice(1, -1) : T;
        if (C === "q") {
          w = parseFloat(U);
          break;
        }
        y[C] = U;
      }
    return {
      type: b,
      subtype: _,
      params: y,
      q: w,
      i: g
    };
  }
  function h(m, g, v) {
    for (var y = {
      o: -1,
      q: 0,
      s: 0
    }, w = 0; w < g.length; w++) {
      var _ = a(m, g[w], v);
      _ && (y.s - _.s || y.q - _.q || y.o - _.o) < 0 && (y = _);
    }
    return y;
  }
  function a(m, g, v) {
    var y = s(m), w = 0;
    if (!y) return null;
    if (g.type.toLowerCase() == y.type.toLowerCase()) w |= 4;
    else if (g.type != "*") return null;
    if (g.subtype.toLowerCase() == y.subtype.toLowerCase()) w |= 2;
    else if (g.subtype != "*") return null;
    var _ = Object.keys(g.params);
    if (_.length > 0) if (_.every(function(b) {
      return g.params[b] == "*" || (g.params[b] || "").toLowerCase() == (y.params[b] || "").toLowerCase();
    })) w |= 1;
    else return null;
    return {
      i: v,
      o: g.i,
      q: g.q,
      s: w
    };
  }
  function n(m, g) {
    var v = i(m === void 0 ? "*/*" : m || "");
    if (!g) return v.filter(f).sort(l).map(u);
    var y = g.map(function(_, b) {
      return h(_, v, b);
    });
    return y.filter(f).sort(l).map(function(_) {
      return g[y.indexOf(_)];
    });
  }
  function l(m, g) {
    return g.q - m.q || g.s - m.s || m.o - g.o || m.i - g.i || 0;
  }
  function u(m) {
    return m.type + "/" + m.subtype;
  }
  function f(m) {
    return m.q > 0;
  }
  function o(m) {
    for (var g = 0, v = 0; (v = m.indexOf('"', v)) !== -1; )
      g++, v++;
    return g;
  }
  function c(m) {
    var g = m.indexOf("="), v, y;
    return g === -1 ? v = m : (v = m.slice(0, g), y = m.slice(g + 1)), [v, y];
  }
  function d(m) {
    for (var g = m.split(","), v = 1, y = 0; v < g.length; v++) o(g[y]) % 2 == 0 ? g[++y] = g[v] : g[y] += "," + g[v];
    return g.length = y + 1, g;
  }
  function p(m) {
    for (var g = m.split(";"), v = 1, y = 0; v < g.length; v++) o(g[y]) % 2 == 0 ? g[++y] = g[v] : g[y] += ";" + g[v];
    g.length = y + 1;
    for (var v = 0; v < g.length; v++) g[v] = g[v].trim();
    return g;
  }
})), Nb = /* @__PURE__ */ j(((e, t) => {
  var r = Ib(), i = kb(), s = Lb(), h = Fb();
  t.exports = a, t.exports.Negotiator = a;
  function a(n) {
    if (!(this instanceof a)) return new a(n);
    this.request = n;
  }
  a.prototype.charset = function(l) {
    var u = this.charsets(l);
    return u && u[0];
  }, a.prototype.charsets = function(l) {
    return r(this.request.headers["accept-charset"], l);
  }, a.prototype.encoding = function(l, u) {
    var f = this.encodings(l, u);
    return f && f[0];
  }, a.prototype.encodings = function(l, u) {
    var f = u || {};
    return i(this.request.headers["accept-encoding"], l, f.preferred);
  }, a.prototype.language = function(l) {
    var u = this.languages(l);
    return u && u[0];
  }, a.prototype.languages = function(l) {
    return s(this.request.headers["accept-language"], l);
  }, a.prototype.mediaType = function(l) {
    var u = this.mediaTypes(l);
    return u && u[0];
  }, a.prototype.mediaTypes = function(l) {
    return h(this.request.headers.accept, l);
  }, a.prototype.preferredCharset = a.prototype.charset, a.prototype.preferredCharsets = a.prototype.charsets, a.prototype.preferredEncoding = a.prototype.encoding, a.prototype.preferredEncodings = a.prototype.encodings, a.prototype.preferredLanguage = a.prototype.language, a.prototype.preferredLanguages = a.prototype.languages, a.prototype.preferredMediaType = a.prototype.mediaType, a.prototype.preferredMediaTypes = a.prototype.mediaTypes;
})), qr = /* @__PURE__ */ j(((e, t) => {
  var r = ve("crypto"), { Minipass: i } = Lt(), s = [
    "sha512",
    "sha384",
    "sha256"
  ], h = ["sha512"], a = r.getHashes(), n = /^[a-z0-9+/]+(?:=?=?)$/i, l = /^([a-z0-9]+)-([^?]+)(\?[?\S*]*)?$/, u = /^([a-z0-9]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)?$/, f = /^[\x21-\x7E]+$/, o = [
    "md5",
    "whirlpool",
    "sha1",
    "sha224",
    "sha256",
    "sha384",
    "sha512",
    "sha3",
    "sha3-256",
    "sha3-384",
    "sha3-512",
    "sha3_256",
    "sha3_384",
    "sha3_512"
  ].filter(($) => a.includes($)), c = ($) => $?.length ? `?${$.join("?")}` : "", d = class extends i {
    #e;
    #t;
    #r;
    constructor($) {
      super(), this.size = 0, this.opts = $, this.#n(), $?.algorithms ? this.algorithms = [...$.algorithms] : this.algorithms = [...h], this.algorithm !== null && !this.algorithms.includes(this.algorithm) && this.algorithms.push(this.algorithm), this.hashes = this.algorithms.map(r.createHash);
    }
    #n() {
      this.sri = this.opts?.integrity ? v(this.opts?.integrity, this.opts) : null, this.expectedSize = this.opts?.size, this.sri ? this.sri.isHash ? (this.goodSri = !0, this.algorithm = this.sri.algorithm) : (this.goodSri = !this.sri.isEmpty(), this.algorithm = this.sri.pickAlgorithm(this.opts)) : this.algorithm = null, this.digests = this.goodSri ? this.sri[this.algorithm] : null, this.optString = c(this.opts?.options);
    }
    on($, z) {
      return $ === "size" && this.#t ? z(this.#t) : $ === "integrity" && this.#e ? z(this.#e) : $ === "verified" && this.#r ? z(this.#r) : super.on($, z);
    }
    emit($, z) {
      return $ === "end" && this.#a(), super.emit($, z);
    }
    write($) {
      return this.size += $.length, this.hashes.forEach((z) => z.update($)), super.write($);
    }
    #a() {
      this.goodSri || this.#n();
      const $ = v(this.hashes.map((Y, H) => `${this.algorithms[H]}-${Y.digest("base64")}${this.optString}`).join(" "), this.opts), z = this.goodSri && $.match(this.sri, this.opts);
      if (typeof this.expectedSize == "number" && this.size !== this.expectedSize) {
        const Y = /* @__PURE__ */ new Error(`stream size mismatch when checking ${this.sri}.
  Wanted: ${this.expectedSize}
  Found: ${this.size}`);
        Y.code = "EBADSIZE", Y.found = this.size, Y.expected = this.expectedSize, Y.sri = this.sri, this.emit("error", Y);
      } else if (this.sri && !z) {
        const Y = /* @__PURE__ */ new Error(`${this.sri} integrity checksum failed when using ${this.algorithm}: wanted ${this.digests} but got ${$}. (${this.size} bytes)`);
        Y.code = "EINTEGRITY", Y.found = $, Y.expected = this.digests, Y.algorithm = this.algorithm, Y.sri = this.sri, this.emit("error", Y);
      } else
        this.#t = this.size, this.emit("size", this.size), this.#e = $, this.emit("integrity", $), z && (this.#r = z, this.emit("verified", z));
    }
  }, p = class {
    get isHash() {
      return !0;
    }
    constructor($, z) {
      const Y = z?.strict;
      this.source = $.trim(), this.digest = "", this.algorithm = "", this.options = [];
      const H = this.source.match(Y ? u : l);
      if (!H || Y && !s.includes(H[1]) || !a.includes(H[1])) return;
      this.algorithm = H[1], this.digest = H[2];
      const k = H[3];
      k && (this.options = k.slice(1).split("?"));
    }
    hexDigest() {
      return this.digest && Buffer.from(this.digest, "base64").toString("hex");
    }
    toJSON() {
      return this.toString();
    }
    match($, z) {
      const Y = v($, z);
      if (!Y) return !1;
      if (Y.isIntegrity) {
        const H = Y.pickAlgorithm(z, [this.algorithm]);
        if (!H) return !1;
        const k = Y[H].find((F) => F.digest === this.digest);
        return k || !1;
      }
      return Y.digest === this.digest ? Y : !1;
    }
    toString($) {
      return $?.strict && !(s.includes(this.algorithm) && this.digest.match(n) && this.options.every((z) => z.match(f))) ? "" : `${this.algorithm}-${this.digest}${c(this.options)}`;
    }
  };
  function m($, z, Y, H) {
    const k = $ !== "";
    let F = !1, q = "";
    const W = H.length - 1;
    for (let x = 0; x < W; x++) {
      const L = p.prototype.toString.call(H[x], Y);
      L && (F = !0, q += L, q += z);
    }
    const P = p.prototype.toString.call(H[W], Y);
    return P && (F = !0, q += P), k && F ? $ + z + q : $ + q;
  }
  var g = class {
    get isIntegrity() {
      return !0;
    }
    toJSON() {
      return this.toString();
    }
    isEmpty() {
      return Object.keys(this).length === 0;
    }
    toString($) {
      let z = $?.sep || " ", Y = "";
      if ($?.strict) {
        z = z.replace(/\S+/g, " ");
        for (const H of s) this[H] && (Y = m(Y, z, $, this[H]));
      } else for (const H of Object.keys(this)) Y = m(Y, z, $, this[H]);
      return Y;
    }
    concat($, z) {
      const Y = typeof $ == "string" ? $ : w($, z);
      return v(`${this.toString(z)} ${Y}`, z);
    }
    hexDigest() {
      return v(this, { single: !0 }).hexDigest();
    }
    merge($, z) {
      const Y = v($, z);
      for (const H in Y) if (this[H]) {
        if (!this[H].find((k) => Y[H].find((F) => k.digest === F.digest))) throw new Error("hashes do not match, cannot update integrity");
      } else this[H] = Y[H];
    }
    match($, z) {
      const Y = v($, z);
      if (!Y) return !1;
      const H = Y.pickAlgorithm(z, Object.keys(this));
      return !!H && this[H].find((k) => Y[H].find((F) => k.digest === F.digest)) || !1;
    }
    pickAlgorithm($, z) {
      const Y = $?.pickAlgorithm || U;
      let H = Object.keys(this);
      return z?.length && (H = H.filter((k) => z.includes(k))), H.length ? H.reduce((k, F) => Y(k, F) || k) : null;
    }
  };
  t.exports.parse = v;
  function v($, z) {
    if (!$) return null;
    if (typeof $ == "string") return y($, z);
    if ($.algorithm && $.digest) {
      const Y = new g();
      return Y[$.algorithm] = [$], y(w(Y, z), z);
    } else return y(w($, z), z);
  }
  function y($, z) {
    if (z?.single) return new p($, z);
    const Y = $.trim().split(/\s+/).reduce((H, k) => {
      const F = new p(k, z);
      if (F.algorithm && F.digest) {
        const q = F.algorithm;
        Object.keys(H).includes(q) || (H[q] = []), H[q].push(F);
      }
      return H;
    }, new g());
    return Y.isEmpty() ? null : Y;
  }
  t.exports.stringify = w;
  function w($, z) {
    return $.algorithm && $.digest ? p.prototype.toString.call($, z) : typeof $ == "string" ? w(v($, z), z) : g.prototype.toString.call($, z);
  }
  t.exports.fromHex = _;
  function _($, z, Y) {
    const H = c(Y?.options);
    return v(`${z}-${Buffer.from($, "hex").toString("base64")}${H}`, Y);
  }
  t.exports.fromData = b;
  function b($, z) {
    const Y = z?.algorithms || [...h], H = c(z?.options);
    return Y.reduce((k, F) => {
      const q = new p(`${F}-${r.createHash(F).update($).digest("base64")}${H}`, z);
      if (q.algorithm && q.digest) {
        const W = q.algorithm;
        k[W] || (k[W] = []), k[W].push(q);
      }
      return k;
    }, new g());
  }
  t.exports.fromStream = E;
  function E($, z) {
    const Y = C(z);
    return new Promise((H, k) => {
      $.pipe(Y), $.on("error", k), Y.on("error", k);
      let F;
      Y.on("integrity", (q) => {
        F = q;
      }), Y.on("end", () => H(F)), Y.resume();
    });
  }
  t.exports.checkData = D;
  function D($, z, Y) {
    if (z = v(z, Y), !z || !Object.keys(z).length) {
      if (Y?.error) throw Object.assign(/* @__PURE__ */ new Error("No valid integrity hashes to check against"), { code: "EINTEGRITY" });
      return !1;
    }
    const H = z.pickAlgorithm(Y), k = v({
      algorithm: H,
      digest: r.createHash(H).update($).digest("base64")
    }), F = k.match(z, Y);
    if (Y = Y || {}, F || !Y.error) return F;
    if (typeof Y.size == "number" && $.length !== Y.size) {
      const q = /* @__PURE__ */ new Error(`data size mismatch when checking ${z}.
  Wanted: ${Y.size}
  Found: ${$.length}`);
      throw q.code = "EBADSIZE", q.found = $.length, q.expected = Y.size, q.sri = z, q;
    } else {
      const q = /* @__PURE__ */ new Error(`Integrity checksum failed when using ${H}: Wanted ${z}, but got ${k}. (${$.length} bytes)`);
      throw q.code = "EINTEGRITY", q.found = k, q.expected = z, q.algorithm = H, q.sri = z, q;
    }
  }
  t.exports.checkStream = S;
  function S($, z, Y) {
    if (Y = Y || /* @__PURE__ */ Object.create(null), Y.integrity = z, z = v(z, Y), !z || !Object.keys(z).length) return Promise.reject(Object.assign(/* @__PURE__ */ new Error("No valid integrity hashes to check against"), { code: "EINTEGRITY" }));
    const H = C(Y);
    return new Promise((k, F) => {
      $.pipe(H), $.on("error", F), H.on("error", F);
      let q;
      H.on("verified", (W) => {
        q = W;
      }), H.on("end", () => k(q)), H.resume();
    });
  }
  t.exports.integrityStream = C;
  function C($ = /* @__PURE__ */ Object.create(null)) {
    return new d($);
  }
  t.exports.create = T;
  function T($) {
    const z = $?.algorithms || [...h], Y = c($?.options), H = z.map(r.createHash);
    return {
      update: function(k, F) {
        return H.forEach((q) => q.update(k, F)), this;
      },
      digest: function() {
        return z.reduce((k, F) => {
          const q = new p(`${F}-${H.shift().digest("base64")}${Y}`, $);
          return k[q.algorithm] || (k[q.algorithm] = []), k[q.algorithm].push(q), k;
        }, new g());
      }
    };
  }
  function U($, z) {
    return o.indexOf($.toLowerCase()) >= o.indexOf(z.toLowerCase()) ? $ : z;
  }
})), Vf = /* @__PURE__ */ j(((e, t) => {
  var r = Ob(), i = Nb(), s = qr(), h = {
    shared: !1,
    ignoreCargoCult: !0
  }, a = {
    status: 200,
    headers: {}
  }, n = (f) => {
    const o = {
      method: f.method,
      url: f.url,
      headers: {},
      compress: f.compress
    };
    return f.headers.forEach((c, d) => {
      o.headers[d] = c;
    }), o;
  }, l = (f) => {
    const o = {
      status: f.status,
      headers: {}
    };
    return f.headers.forEach((c, d) => {
      o.headers[d] = c;
    }), o;
  }, u = class {
    constructor({ entry: f, request: o, response: c, options: d }) {
      this.entry = f, this.request = n(o), this.response = l(c), this.options = d, this.policy = new r(this.request, this.response, h), this.entry && (this.policy._responseTime = this.entry.metadata.time);
    }
    static storable(f, o) {
      return !o.cachePath || o.cache === "no-store" || !["GET", "HEAD"].includes(f.method) ? !1 : new r(n(f), a, h).storable();
    }
    satisfies(f) {
      const o = n(f);
      if (this.request.headers.host !== o.headers.host || this.request.compress !== o.compress) return !1;
      const c = new i(this.request), d = new i(o);
      return JSON.stringify(c.mediaTypes()) !== JSON.stringify(d.mediaTypes()) || JSON.stringify(c.languages()) !== JSON.stringify(d.languages()) || JSON.stringify(c.encodings()) !== JSON.stringify(d.encodings()) ? !1 : this.options.integrity ? s.parse(this.options.integrity).match(this.entry.integrity) : !0;
    }
    storable() {
      return this.policy.storable();
    }
    get mustRevalidate() {
      return !!this.policy._rescc["must-revalidate"];
    }
    needsRevalidation(f) {
      const o = n(f);
      return o.method = "GET", !this.policy.satisfiesWithoutRevalidation(o);
    }
    responseHeaders() {
      return this.policy.responseHeaders();
    }
    revalidationHeaders(f) {
      const o = n(f);
      return this.policy.revalidationHeaders(o);
    }
    revalidated(f, o) {
      const c = n(f), d = l(o);
      return !this.policy.revalidatedPolicy(c, d).modified;
    }
  };
  t.exports = u;
})), $b = /* @__PURE__ */ j(((e, t) => {
  var r = class extends Error {
    constructor(i) {
      super(`request to ${i} failed: cache mode is 'only-if-cached' but no cached response is available.`), this.code = "ENOTCACHED";
    }
  };
  t.exports = { NotCachedError: r };
})), xb = /* @__PURE__ */ j(((e, t) => {
  var r = typeof process == "object" && process ? process : {
    stdout: null,
    stderr: null
  }, i = ve("events"), s = ve("stream"), h = ve("string_decoder").StringDecoder, a = /* @__PURE__ */ Symbol("EOF"), n = /* @__PURE__ */ Symbol("maybeEmitEnd"), l = /* @__PURE__ */ Symbol("emittedEnd"), u = /* @__PURE__ */ Symbol("emittingEnd"), f = /* @__PURE__ */ Symbol("emittedError"), o = /* @__PURE__ */ Symbol("closed"), c = /* @__PURE__ */ Symbol("read"), d = /* @__PURE__ */ Symbol("flush"), p = /* @__PURE__ */ Symbol("flushChunk"), m = /* @__PURE__ */ Symbol("encoding"), g = /* @__PURE__ */ Symbol("decoder"), v = /* @__PURE__ */ Symbol("flowing"), y = /* @__PURE__ */ Symbol("paused"), w = /* @__PURE__ */ Symbol("resume"), _ = /* @__PURE__ */ Symbol("bufferLength"), b = /* @__PURE__ */ Symbol("bufferPush"), E = /* @__PURE__ */ Symbol("bufferShift"), D = /* @__PURE__ */ Symbol("objectMode"), S = /* @__PURE__ */ Symbol("destroyed"), C = /* @__PURE__ */ Symbol("emitData"), T = /* @__PURE__ */ Symbol("emitEnd"), U = /* @__PURE__ */ Symbol("emitEnd2"), $ = /* @__PURE__ */ Symbol("async"), z = (L) => Promise.resolve().then(L), Y = global._MP_NO_ITERATOR_SYMBOLS_ !== "1", H = Y && Symbol.asyncIterator || /* @__PURE__ */ Symbol("asyncIterator not implemented"), k = Y && Symbol.iterator || /* @__PURE__ */ Symbol("iterator not implemented"), F = (L) => L === "end" || L === "finish" || L === "prefinish", q = (L) => L instanceof ArrayBuffer || typeof L == "object" && L.constructor && L.constructor.name === "ArrayBuffer" && L.byteLength >= 0, W = (L) => !Buffer.isBuffer(L) && ArrayBuffer.isView(L), P = class {
    constructor(L, O, N) {
      this.src = L, this.dest = O, this.opts = N, this.ondrain = () => L[w](), O.on("drain", this.ondrain);
    }
    unpipe() {
      this.dest.removeListener("drain", this.ondrain);
    }
    // istanbul ignore next - only here for the prototype
    proxyErrors() {
    }
    end() {
      this.unpipe(), this.opts.end && this.dest.end();
    }
  }, x = class extends P {
    unpipe() {
      this.src.removeListener("error", this.proxyErrors), super.unpipe();
    }
    constructor(L, O, N) {
      super(L, O, N), this.proxyErrors = (K) => O.emit("error", K), L.on("error", this.proxyErrors);
    }
  };
  t.exports = class Yf extends s {
    constructor(O) {
      super(), this[v] = !1, this[y] = !1, this.pipes = [], this.buffer = [], this[D] = O && O.objectMode || !1, this[D] ? this[m] = null : this[m] = O && O.encoding || null, this[m] === "buffer" && (this[m] = null), this[$] = O && !!O.async || !1, this[g] = this[m] ? new h(this[m]) : null, this[a] = !1, this[l] = !1, this[u] = !1, this[o] = !1, this[f] = null, this.writable = !0, this.readable = !0, this[_] = 0, this[S] = !1;
    }
    get bufferLength() {
      return this[_];
    }
    get encoding() {
      return this[m];
    }
    set encoding(O) {
      if (this[D]) throw new Error("cannot set encoding in objectMode");
      if (this[m] && O !== this[m] && (this[g] && this[g].lastNeed || this[_])) throw new Error("cannot change encoding");
      this[m] !== O && (this[g] = O ? new h(O) : null, this.buffer.length && (this.buffer = this.buffer.map((N) => this[g].write(N)))), this[m] = O;
    }
    setEncoding(O) {
      this.encoding = O;
    }
    get objectMode() {
      return this[D];
    }
    set objectMode(O) {
      this[D] = this[D] || !!O;
    }
    get async() {
      return this[$];
    }
    set async(O) {
      this[$] = this[$] || !!O;
    }
    write(O, N, K) {
      if (this[a]) throw new Error("write after end");
      if (this[S])
        return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), !0;
      typeof N == "function" && (K = N, N = "utf8"), N || (N = "utf8");
      const oe = this[$] ? z : (pe) => pe();
      return !this[D] && !Buffer.isBuffer(O) && (W(O) ? O = Buffer.from(O.buffer, O.byteOffset, O.byteLength) : q(O) ? O = Buffer.from(O) : typeof O != "string" && (this.objectMode = !0)), this[D] ? (this.flowing && this[_] !== 0 && this[d](!0), this.flowing ? this.emit("data", O) : this[b](O), this[_] !== 0 && this.emit("readable"), K && oe(K), this.flowing) : O.length ? (typeof O == "string" && !(N === this[m] && !this[g].lastNeed) && (O = Buffer.from(O, N)), Buffer.isBuffer(O) && this[m] && (O = this[g].write(O)), this.flowing && this[_] !== 0 && this[d](!0), this.flowing ? this.emit("data", O) : this[b](O), this[_] !== 0 && this.emit("readable"), K && oe(K), this.flowing) : (this[_] !== 0 && this.emit("readable"), K && oe(K), this.flowing);
    }
    read(O) {
      if (this[S]) return null;
      if (this[_] === 0 || O === 0 || O > this[_])
        return this[n](), null;
      this[D] && (O = null), this.buffer.length > 1 && !this[D] && (this.encoding ? this.buffer = [this.buffer.join("")] : this.buffer = [Buffer.concat(this.buffer, this[_])]);
      const N = this[c](O || null, this.buffer[0]);
      return this[n](), N;
    }
    [c](O, N) {
      return O === N.length || O === null ? this[E]() : (this.buffer[0] = N.slice(O), N = N.slice(0, O), this[_] -= O), this.emit("data", N), !this.buffer.length && !this[a] && this.emit("drain"), N;
    }
    end(O, N, K) {
      return typeof O == "function" && (K = O, O = null), typeof N == "function" && (K = N, N = "utf8"), O && this.write(O, N), K && this.once("end", K), this[a] = !0, this.writable = !1, (this.flowing || !this[y]) && this[n](), this;
    }
    [w]() {
      this[S] || (this[y] = !1, this[v] = !0, this.emit("resume"), this.buffer.length ? this[d]() : this[a] ? this[n]() : this.emit("drain"));
    }
    resume() {
      return this[w]();
    }
    pause() {
      this[v] = !1, this[y] = !0;
    }
    get destroyed() {
      return this[S];
    }
    get flowing() {
      return this[v];
    }
    get paused() {
      return this[y];
    }
    [b](O) {
      this[D] ? this[_] += 1 : this[_] += O.length, this.buffer.push(O);
    }
    [E]() {
      return this.buffer.length && (this[D] ? this[_] -= 1 : this[_] -= this.buffer[0].length), this.buffer.shift();
    }
    [d](O) {
      do
        ;
      while (this[p](this[E]()));
      !O && !this.buffer.length && !this[a] && this.emit("drain");
    }
    [p](O) {
      return O ? (this.emit("data", O), this.flowing) : !1;
    }
    pipe(O, N) {
      if (this[S]) return;
      const K = this[l];
      return N = N || {}, O === r.stdout || O === r.stderr ? N.end = !1 : N.end = N.end !== !1, N.proxyErrors = !!N.proxyErrors, K ? N.end && O.end() : (this.pipes.push(N.proxyErrors ? new x(this, O, N) : new P(this, O, N)), this[$] ? z(() => this[w]()) : this[w]()), O;
    }
    unpipe(O) {
      const N = this.pipes.find((K) => K.dest === O);
      N && (this.pipes.splice(this.pipes.indexOf(N), 1), N.unpipe());
    }
    addListener(O, N) {
      return this.on(O, N);
    }
    on(O, N) {
      const K = super.on(O, N);
      return O === "data" && !this.pipes.length && !this.flowing ? this[w]() : O === "readable" && this[_] !== 0 ? super.emit("readable") : F(O) && this[l] ? (super.emit(O), this.removeAllListeners(O)) : O === "error" && this[f] && (this[$] ? z(() => N.call(this, this[f])) : N.call(this, this[f])), K;
    }
    get emittedEnd() {
      return this[l];
    }
    [n]() {
      !this[u] && !this[l] && !this[S] && this.buffer.length === 0 && this[a] && (this[u] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[o] && this.emit("close"), this[u] = !1);
    }
    emit(O, N, ...K) {
      if (O !== "error" && O !== "close" && O !== S && this[S]) return;
      if (O === "data") return N ? this[$] ? z(() => this[C](N)) : this[C](N) : !1;
      if (O === "end") return this[T]();
      if (O === "close") {
        if (this[o] = !0, !this[l] && !this[S]) return;
        const pe = super.emit("close");
        return this.removeAllListeners("close"), pe;
      } else if (O === "error") {
        this[f] = N;
        const pe = super.emit("error", N);
        return this[n](), pe;
      } else if (O === "resume") {
        const pe = super.emit("resume");
        return this[n](), pe;
      } else if (O === "finish" || O === "prefinish") {
        const pe = super.emit(O);
        return this.removeAllListeners(O), pe;
      }
      const oe = super.emit(O, N, ...K);
      return this[n](), oe;
    }
    [C](O) {
      for (const K of this.pipes) K.dest.write(O) === !1 && this.pause();
      const N = super.emit("data", O);
      return this[n](), N;
    }
    [T]() {
      this[l] || (this[l] = !0, this.readable = !1, this[$] ? z(() => this[U]()) : this[U]());
    }
    [U]() {
      if (this[g]) {
        const N = this[g].end();
        if (N) {
          for (const K of this.pipes) K.dest.write(N);
          super.emit("data", N);
        }
      }
      for (const N of this.pipes) N.end();
      const O = super.emit("end");
      return this.removeAllListeners("end"), O;
    }
    collect() {
      const O = [];
      this[D] || (O.dataLength = 0);
      const N = this.promise();
      return this.on("data", (K) => {
        O.push(K), this[D] || (O.dataLength += K.length);
      }), N.then(() => O);
    }
    concat() {
      return this[D] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this.collect().then((O) => this[D] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this[m] ? O.join("") : Buffer.concat(O, O.dataLength));
    }
    promise() {
      return new Promise((O, N) => {
        this.on(S, () => N(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (K) => N(K)), this.on("end", () => O());
      });
    }
    [H]() {
      return { next: () => {
        const N = this.read();
        if (N !== null) return Promise.resolve({
          done: !1,
          value: N
        });
        if (this[a]) return Promise.resolve({ done: !0 });
        let K = null, oe = null;
        const pe = (G) => {
          this.removeListener("data", _e), this.removeListener("end", V), oe(G);
        }, _e = (G) => {
          this.removeListener("error", pe), this.removeListener("end", V), this.pause(), K({
            value: G,
            done: !!this[a]
          });
        }, V = () => {
          this.removeListener("error", pe), this.removeListener("data", _e), K({ done: !0 });
        }, B = () => pe(/* @__PURE__ */ new Error("stream destroyed"));
        return new Promise((G, X) => {
          oe = X, K = G, this.once(S, B), this.once("error", pe), this.once("end", V), this.once("data", _e);
        });
      } };
    }
    [k]() {
      return { next: () => {
        const N = this.read();
        return {
          value: N,
          done: N === null
        };
      } };
    }
    destroy(O) {
      return this[S] ? (O ? this.emit("error", O) : this.emit(S), this) : (this[S] = !0, this.buffer.length = 0, this[_] = 0, typeof this.close == "function" && !this[o] && this.close(), O ? this.emit("error", O) : this.emit(S), this);
    }
    static isStream(O) {
      return !!O && (O instanceof Yf || O instanceof s || O instanceof i && (typeof O.pipe == "function" || typeof O.write == "function" && typeof O.end == "function"));
    }
  };
})), ju = /* @__PURE__ */ j(((e, t) => {
  var r = xb(), i = /* @__PURE__ */ Symbol("_flush"), s = /* @__PURE__ */ Symbol("_flushed"), h = /* @__PURE__ */ Symbol("_flushing"), a = class extends r {
    constructor(n = {}) {
      if (typeof n == "function" && (n = { flush: n }), super(n), typeof n.flush != "function" && typeof this.flush != "function") throw new TypeError("must provide flush function in options");
      this[i] = n.flush || this.flush;
    }
    emit(n, ...l) {
      if (n !== "end" && n !== "finish" || this[s]) return super.emit(n, ...l);
      if (this[h]) return;
      this[h] = !0;
      const u = (o) => {
        this[s] = !0, o ? super.emit("error", o) : super.emit("end");
      }, f = this[i](u);
      f && f.then && f.then(() => u(), (o) => u(o));
    }
  };
  t.exports = a;
})), Kf = /* @__PURE__ */ j(((e, t) => {
  var { Minipass: r } = Lt(), i = /* @__PURE__ */ Symbol("_data"), s = /* @__PURE__ */ Symbol("_length"), h = class extends r {
    constructor(n) {
      super(n), this[i] = [], this[s] = 0;
    }
    write(n, l, u) {
      typeof l == "function" && (u = l, l = "utf8"), l || (l = "utf8");
      const f = Buffer.isBuffer(n) ? n : Buffer.from(n, l);
      return this[i].push(f), this[s] += f.length, u && u(), !0;
    }
    end(n, l, u) {
      typeof n == "function" && (u = n, n = null), typeof l == "function" && (u = l, l = "utf8"), n && this.write(n, l);
      const f = Buffer.concat(this[i], this[s]);
      return super.write(f), super.end(u);
    }
  };
  t.exports = h;
  var a = class extends r {
    constructor(n) {
      super(n), this[i] = [], this[s] = 0;
    }
    write(n, l, u) {
      typeof l == "function" && (u = l, l = "utf8"), l || (l = "utf8");
      const f = Buffer.isBuffer(n) ? n : Buffer.from(n, l);
      return this[i].push(f), this[s] += f.length, super.write(n, l, u);
    }
    end(n, l, u) {
      typeof n == "function" && (u = n, n = null), typeof l == "function" && (u = l, l = "utf8"), n && this.write(n, l);
      const f = Buffer.concat(this[i], this[s]);
      return this.emit("collect", f), super.end(u);
    }
  };
  t.exports.PassThrough = a;
})), Bb = /* @__PURE__ */ j(((e, t) => {
  var r = typeof process == "object" && process ? process : {
    stdout: null,
    stderr: null
  }, i = ve("events"), s = ve("stream"), h = ve("string_decoder").StringDecoder, a = /* @__PURE__ */ Symbol("EOF"), n = /* @__PURE__ */ Symbol("maybeEmitEnd"), l = /* @__PURE__ */ Symbol("emittedEnd"), u = /* @__PURE__ */ Symbol("emittingEnd"), f = /* @__PURE__ */ Symbol("emittedError"), o = /* @__PURE__ */ Symbol("closed"), c = /* @__PURE__ */ Symbol("read"), d = /* @__PURE__ */ Symbol("flush"), p = /* @__PURE__ */ Symbol("flushChunk"), m = /* @__PURE__ */ Symbol("encoding"), g = /* @__PURE__ */ Symbol("decoder"), v = /* @__PURE__ */ Symbol("flowing"), y = /* @__PURE__ */ Symbol("paused"), w = /* @__PURE__ */ Symbol("resume"), _ = /* @__PURE__ */ Symbol("bufferLength"), b = /* @__PURE__ */ Symbol("bufferPush"), E = /* @__PURE__ */ Symbol("bufferShift"), D = /* @__PURE__ */ Symbol("objectMode"), S = /* @__PURE__ */ Symbol("destroyed"), C = /* @__PURE__ */ Symbol("emitData"), T = /* @__PURE__ */ Symbol("emitEnd"), U = /* @__PURE__ */ Symbol("emitEnd2"), $ = /* @__PURE__ */ Symbol("async"), z = (L) => Promise.resolve().then(L), Y = global._MP_NO_ITERATOR_SYMBOLS_ !== "1", H = Y && Symbol.asyncIterator || /* @__PURE__ */ Symbol("asyncIterator not implemented"), k = Y && Symbol.iterator || /* @__PURE__ */ Symbol("iterator not implemented"), F = (L) => L === "end" || L === "finish" || L === "prefinish", q = (L) => L instanceof ArrayBuffer || typeof L == "object" && L.constructor && L.constructor.name === "ArrayBuffer" && L.byteLength >= 0, W = (L) => !Buffer.isBuffer(L) && ArrayBuffer.isView(L), P = class {
    constructor(L, O, N) {
      this.src = L, this.dest = O, this.opts = N, this.ondrain = () => L[w](), O.on("drain", this.ondrain);
    }
    unpipe() {
      this.dest.removeListener("drain", this.ondrain);
    }
    // istanbul ignore next - only here for the prototype
    proxyErrors() {
    }
    end() {
      this.unpipe(), this.opts.end && this.dest.end();
    }
  }, x = class extends P {
    unpipe() {
      this.src.removeListener("error", this.proxyErrors), super.unpipe();
    }
    constructor(L, O, N) {
      super(L, O, N), this.proxyErrors = (K) => O.emit("error", K), L.on("error", this.proxyErrors);
    }
  };
  t.exports = class Zf extends s {
    constructor(O) {
      super(), this[v] = !1, this[y] = !1, this.pipes = [], this.buffer = [], this[D] = O && O.objectMode || !1, this[D] ? this[m] = null : this[m] = O && O.encoding || null, this[m] === "buffer" && (this[m] = null), this[$] = O && !!O.async || !1, this[g] = this[m] ? new h(this[m]) : null, this[a] = !1, this[l] = !1, this[u] = !1, this[o] = !1, this[f] = null, this.writable = !0, this.readable = !0, this[_] = 0, this[S] = !1;
    }
    get bufferLength() {
      return this[_];
    }
    get encoding() {
      return this[m];
    }
    set encoding(O) {
      if (this[D]) throw new Error("cannot set encoding in objectMode");
      if (this[m] && O !== this[m] && (this[g] && this[g].lastNeed || this[_])) throw new Error("cannot change encoding");
      this[m] !== O && (this[g] = O ? new h(O) : null, this.buffer.length && (this.buffer = this.buffer.map((N) => this[g].write(N)))), this[m] = O;
    }
    setEncoding(O) {
      this.encoding = O;
    }
    get objectMode() {
      return this[D];
    }
    set objectMode(O) {
      this[D] = this[D] || !!O;
    }
    get async() {
      return this[$];
    }
    set async(O) {
      this[$] = this[$] || !!O;
    }
    write(O, N, K) {
      if (this[a]) throw new Error("write after end");
      if (this[S])
        return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), !0;
      typeof N == "function" && (K = N, N = "utf8"), N || (N = "utf8");
      const oe = this[$] ? z : (pe) => pe();
      return !this[D] && !Buffer.isBuffer(O) && (W(O) ? O = Buffer.from(O.buffer, O.byteOffset, O.byteLength) : q(O) ? O = Buffer.from(O) : typeof O != "string" && (this.objectMode = !0)), this[D] ? (this.flowing && this[_] !== 0 && this[d](!0), this.flowing ? this.emit("data", O) : this[b](O), this[_] !== 0 && this.emit("readable"), K && oe(K), this.flowing) : O.length ? (typeof O == "string" && !(N === this[m] && !this[g].lastNeed) && (O = Buffer.from(O, N)), Buffer.isBuffer(O) && this[m] && (O = this[g].write(O)), this.flowing && this[_] !== 0 && this[d](!0), this.flowing ? this.emit("data", O) : this[b](O), this[_] !== 0 && this.emit("readable"), K && oe(K), this.flowing) : (this[_] !== 0 && this.emit("readable"), K && oe(K), this.flowing);
    }
    read(O) {
      if (this[S]) return null;
      if (this[_] === 0 || O === 0 || O > this[_])
        return this[n](), null;
      this[D] && (O = null), this.buffer.length > 1 && !this[D] && (this.encoding ? this.buffer = [this.buffer.join("")] : this.buffer = [Buffer.concat(this.buffer, this[_])]);
      const N = this[c](O || null, this.buffer[0]);
      return this[n](), N;
    }
    [c](O, N) {
      return O === N.length || O === null ? this[E]() : (this.buffer[0] = N.slice(O), N = N.slice(0, O), this[_] -= O), this.emit("data", N), !this.buffer.length && !this[a] && this.emit("drain"), N;
    }
    end(O, N, K) {
      return typeof O == "function" && (K = O, O = null), typeof N == "function" && (K = N, N = "utf8"), O && this.write(O, N), K && this.once("end", K), this[a] = !0, this.writable = !1, (this.flowing || !this[y]) && this[n](), this;
    }
    [w]() {
      this[S] || (this[y] = !1, this[v] = !0, this.emit("resume"), this.buffer.length ? this[d]() : this[a] ? this[n]() : this.emit("drain"));
    }
    resume() {
      return this[w]();
    }
    pause() {
      this[v] = !1, this[y] = !0;
    }
    get destroyed() {
      return this[S];
    }
    get flowing() {
      return this[v];
    }
    get paused() {
      return this[y];
    }
    [b](O) {
      this[D] ? this[_] += 1 : this[_] += O.length, this.buffer.push(O);
    }
    [E]() {
      return this.buffer.length && (this[D] ? this[_] -= 1 : this[_] -= this.buffer[0].length), this.buffer.shift();
    }
    [d](O) {
      do
        ;
      while (this[p](this[E]()));
      !O && !this.buffer.length && !this[a] && this.emit("drain");
    }
    [p](O) {
      return O ? (this.emit("data", O), this.flowing) : !1;
    }
    pipe(O, N) {
      if (this[S]) return;
      const K = this[l];
      return N = N || {}, O === r.stdout || O === r.stderr ? N.end = !1 : N.end = N.end !== !1, N.proxyErrors = !!N.proxyErrors, K ? N.end && O.end() : (this.pipes.push(N.proxyErrors ? new x(this, O, N) : new P(this, O, N)), this[$] ? z(() => this[w]()) : this[w]()), O;
    }
    unpipe(O) {
      const N = this.pipes.find((K) => K.dest === O);
      N && (this.pipes.splice(this.pipes.indexOf(N), 1), N.unpipe());
    }
    addListener(O, N) {
      return this.on(O, N);
    }
    on(O, N) {
      const K = super.on(O, N);
      return O === "data" && !this.pipes.length && !this.flowing ? this[w]() : O === "readable" && this[_] !== 0 ? super.emit("readable") : F(O) && this[l] ? (super.emit(O), this.removeAllListeners(O)) : O === "error" && this[f] && (this[$] ? z(() => N.call(this, this[f])) : N.call(this, this[f])), K;
    }
    get emittedEnd() {
      return this[l];
    }
    [n]() {
      !this[u] && !this[l] && !this[S] && this.buffer.length === 0 && this[a] && (this[u] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[o] && this.emit("close"), this[u] = !1);
    }
    emit(O, N, ...K) {
      if (O !== "error" && O !== "close" && O !== S && this[S]) return;
      if (O === "data") return N ? this[$] ? z(() => this[C](N)) : this[C](N) : !1;
      if (O === "end") return this[T]();
      if (O === "close") {
        if (this[o] = !0, !this[l] && !this[S]) return;
        const pe = super.emit("close");
        return this.removeAllListeners("close"), pe;
      } else if (O === "error") {
        this[f] = N;
        const pe = super.emit("error", N);
        return this[n](), pe;
      } else if (O === "resume") {
        const pe = super.emit("resume");
        return this[n](), pe;
      } else if (O === "finish" || O === "prefinish") {
        const pe = super.emit(O);
        return this.removeAllListeners(O), pe;
      }
      const oe = super.emit(O, N, ...K);
      return this[n](), oe;
    }
    [C](O) {
      for (const K of this.pipes) K.dest.write(O) === !1 && this.pause();
      const N = super.emit("data", O);
      return this[n](), N;
    }
    [T]() {
      this[l] || (this[l] = !0, this.readable = !1, this[$] ? z(() => this[U]()) : this[U]());
    }
    [U]() {
      if (this[g]) {
        const N = this[g].end();
        if (N) {
          for (const K of this.pipes) K.dest.write(N);
          super.emit("data", N);
        }
      }
      for (const N of this.pipes) N.end();
      const O = super.emit("end");
      return this.removeAllListeners("end"), O;
    }
    collect() {
      const O = [];
      this[D] || (O.dataLength = 0);
      const N = this.promise();
      return this.on("data", (K) => {
        O.push(K), this[D] || (O.dataLength += K.length);
      }), N.then(() => O);
    }
    concat() {
      return this[D] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this.collect().then((O) => this[D] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this[m] ? O.join("") : Buffer.concat(O, O.dataLength));
    }
    promise() {
      return new Promise((O, N) => {
        this.on(S, () => N(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (K) => N(K)), this.on("end", () => O());
      });
    }
    [H]() {
      return { next: () => {
        const N = this.read();
        if (N !== null) return Promise.resolve({
          done: !1,
          value: N
        });
        if (this[a]) return Promise.resolve({ done: !0 });
        let K = null, oe = null;
        const pe = (G) => {
          this.removeListener("data", _e), this.removeListener("end", V), oe(G);
        }, _e = (G) => {
          this.removeListener("error", pe), this.removeListener("end", V), this.pause(), K({
            value: G,
            done: !!this[a]
          });
        }, V = () => {
          this.removeListener("error", pe), this.removeListener("data", _e), K({ done: !0 });
        }, B = () => pe(/* @__PURE__ */ new Error("stream destroyed"));
        return new Promise((G, X) => {
          oe = X, K = G, this.once(S, B), this.once("error", pe), this.once("end", V), this.once("data", _e);
        });
      } };
    }
    [k]() {
      return { next: () => {
        const N = this.read();
        return {
          value: N,
          done: N === null
        };
      } };
    }
    destroy(O) {
      return this[S] ? (O ? this.emit("error", O) : this.emit(S), this) : (this[S] = !0, this.buffer.length = 0, this[_] = 0, typeof this.close == "function" && !this[o] && this.close(), O ? this.emit("error", O) : this.emit(S), this);
    }
    static isStream(O) {
      return !!O && (O instanceof Zf || O instanceof s || O instanceof i && (typeof O.pipe == "function" || typeof O.write == "function" && typeof O.end == "function"));
    }
  };
})), fn = /* @__PURE__ */ j(((e, t) => {
  var r = Bb(), i = ve("events"), s = (g) => g && g instanceof i && (typeof g.pipe == "function" || typeof g.write == "function" && typeof g.end == "function"), h = /* @__PURE__ */ Symbol("_head"), a = /* @__PURE__ */ Symbol("_tail"), n = /* @__PURE__ */ Symbol("_linkStreams"), l = /* @__PURE__ */ Symbol("_setHead"), u = /* @__PURE__ */ Symbol("_setTail"), f = /* @__PURE__ */ Symbol("_onError"), o = /* @__PURE__ */ Symbol("_onData"), c = /* @__PURE__ */ Symbol("_onEnd"), d = /* @__PURE__ */ Symbol("_onDrain"), p = /* @__PURE__ */ Symbol("_streams"), m = class extends r {
    constructor(g, ...v) {
      s(g) && (v.unshift(g), g = {}), super(g), this[p] = [], v.length && this.push(...v);
    }
    [n](g) {
      return g.reduce((v, y) => (v.on("error", (w) => y.emit("error", w)), v.pipe(y), y));
    }
    push(...g) {
      this[p].push(...g), this[a] && g.unshift(this[a]);
      const v = this[n](g);
      this[u](v), this[h] || this[l](g[0]);
    }
    unshift(...g) {
      this[p].unshift(...g), this[h] && g.push(this[h]);
      const v = this[n](g);
      this[l](g[0]), this[a] || this[u](v);
    }
    destroy(g) {
      return this[p].forEach((v) => typeof v.destroy == "function" && v.destroy()), super.destroy(g);
    }
    [u](g) {
      this[a] = g, g.on("error", (v) => this[f](g, v)), g.on("data", (v) => this[o](g, v)), g.on("end", () => this[c](g)), g.on("finish", () => this[c](g));
    }
    [f](g, v) {
      g === this[a] && this.emit("error", v);
    }
    [o](g, v) {
      g === this[a] && super.write(v);
    }
    [c](g) {
      g === this[a] && super.end();
    }
    pause() {
      return super.pause(), this[a] && this[a].pause && this[a].pause();
    }
    emit(g, ...v) {
      return g === "resume" && this[a] && this[a].resume && this[a].resume(), super.emit(g, ...v);
    }
    [l](g) {
      this[h] = g, g.on("drain", () => this[d](g));
    }
    [d](g) {
      g === this[h] && this.emit("drain");
    }
    write(g, v, y) {
      return this[h].write(g, v, y) && (this.flowing || this.buffer.length === 0);
    }
    end(g, v, y) {
      return this[h].end(g, v, y), this;
    }
  };
  t.exports = m;
})), Jf = /* @__PURE__ */ j(((e, t) => {
  var r = (i, { copy: s, wrap: h }) => {
    const a = {};
    if (i && typeof i == "object")
      for (const n of s) i[n] !== void 0 && (a[n] = i[n]);
    else a[h] = i;
    return a;
  };
  t.exports = r;
})), Pb = /* @__PURE__ */ j(((e, t) => {
  var r = Tu(), i = (s) => r.satisfies(process.version, s, { includePrerelease: !0 });
  t.exports = { satisfies: i };
})), Mb = /* @__PURE__ */ j(((e, t) => {
  var { inspect: r } = ve("util"), i = class {
    constructor(h, a, n) {
      let l = `${a}: ${n.syscall} returned ${n.code} (${n.message})`;
      n.path !== void 0 && (l += ` ${n.path}`), n.dest !== void 0 && (l += ` => ${n.dest}`), this.code = h, Object.defineProperties(this, {
        name: {
          value: "SystemError",
          enumerable: !1,
          writable: !0,
          configurable: !0
        },
        message: {
          value: l,
          enumerable: !1,
          writable: !0,
          configurable: !0
        },
        info: {
          value: n,
          enumerable: !0,
          configurable: !0,
          writable: !1
        },
        errno: {
          get() {
            return n.errno;
          },
          set(u) {
            n.errno = u;
          },
          enumerable: !0,
          configurable: !0
        },
        syscall: {
          get() {
            return n.syscall;
          },
          set(u) {
            n.syscall = u;
          },
          enumerable: !0,
          configurable: !0
        }
      }), n.path !== void 0 && Object.defineProperty(this, "path", {
        get() {
          return n.path;
        },
        set(u) {
          n.path = u;
        },
        enumerable: !0,
        configurable: !0
      }), n.dest !== void 0 && Object.defineProperty(this, "dest", {
        get() {
          return n.dest;
        },
        set(u) {
          n.dest = u;
        },
        enumerable: !0,
        configurable: !0
      });
    }
    toString() {
      return `${this.name} [${this.code}]: ${this.message}`;
    }
    [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")](h, a) {
      return r(this, {
        ...a,
        getters: !0,
        customInspect: !1
      });
    }
  };
  function s(h, a) {
    t.exports[h] = class extends i {
      constructor(l) {
        super(h, a, l);
      }
    };
  }
  s("ERR_FS_CP_DIR_TO_NON_DIR", "Cannot overwrite directory with non-directory"), s("ERR_FS_CP_EEXIST", "Target already exists"), s("ERR_FS_CP_EINVAL", "Invalid src or dest"), s("ERR_FS_CP_FIFO_PIPE", "Cannot copy a FIFO pipe"), s("ERR_FS_CP_NON_DIR_TO_DIR", "Cannot overwrite non-directory with directory"), s("ERR_FS_CP_SOCKET", "Cannot copy a socket file"), s("ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY", "Cannot overwrite symlink in subdirectory of self"), s("ERR_FS_CP_UNKNOWN", "Cannot copy an unknown file type"), s("ERR_FS_EISDIR", "Path is a directory"), t.exports.ERR_INVALID_ARG_TYPE = class extends Error {
    constructor(a, n, l) {
      super(), this.code = "ERR_INVALID_ARG_TYPE", this.message = `The ${a} argument must be ${n}. Received ${typeof l}`;
    }
  };
})), jb = /* @__PURE__ */ j(((e, t) => {
  var { ERR_FS_CP_DIR_TO_NON_DIR: r, ERR_FS_CP_EEXIST: i, ERR_FS_CP_EINVAL: s, ERR_FS_CP_FIFO_PIPE: h, ERR_FS_CP_NON_DIR_TO_DIR: a, ERR_FS_CP_SOCKET: n, ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY: l, ERR_FS_CP_UNKNOWN: u, ERR_FS_EISDIR: f, ERR_INVALID_ARG_TYPE: o } = Mb(), { constants: { errno: { EEXIST: c, EISDIR: d, EINVAL: p, ENOTDIR: m } } } = ve("os"), { chmod: g, copyFile: v, lstat: y, mkdir: w, readdir: _, readlink: b, stat: E, symlink: D, unlink: S, utimes: C } = ve("fs/promises"), { dirname: T, isAbsolute: U, join: $, parse: z, resolve: Y, sep: H, toNamespacedPath: k } = ve("path"), { fileURLToPath: F } = ve("url"), q = {
    dereference: !1,
    errorOnExist: !1,
    filter: void 0,
    force: !0,
    preserveTimestamps: !1,
    recursive: !1
  };
  async function W(de, re, Q) {
    if (Q != null && typeof Q != "object") throw new o("options", ["Object"], Q);
    return x(k(P(de)), k(P(re)), {
      ...q,
      ...Q
    });
  }
  function P(de) {
    return de != null && de.href && de.origin ? F(de) : de;
  }
  async function x(de, re, Q) {
    Q.preserveTimestamps && process.arch === "ia32" && process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended", "TimestampPrecisionWarning");
    const { srcStat: ie, destStat: ae } = await L(de, re, Q);
    return await pe(de, ie, re), Q.filter ? B(K, ae, de, re, Q) : K(ae, de, re, Q);
  }
  async function L(de, re, Q) {
    const { 0: ie, 1: ae } = await N(de, re, Q);
    if (ae) {
      if (O(ie, ae)) throw new s({
        message: "src and dest cannot be the same",
        path: re,
        syscall: "cp",
        errno: p
      });
      if (ie.isDirectory() && !ae.isDirectory()) throw new r({
        message: `cannot overwrite directory ${de} with non-directory ${re}`,
        path: re,
        syscall: "cp",
        errno: d
      });
      if (!ie.isDirectory() && ae.isDirectory()) throw new a({
        message: `cannot overwrite non-directory ${de} with directory ${re}`,
        path: re,
        syscall: "cp",
        errno: m
      });
    }
    if (ie.isDirectory() && V(de, re)) throw new s({
      message: `cannot copy ${de} to a subdirectory of self ${re}`,
      path: re,
      syscall: "cp",
      errno: p
    });
    return {
      srcStat: ie,
      destStat: ae
    };
  }
  function O(de, re) {
    return re.ino && re.dev && re.ino === de.ino && re.dev === de.dev;
  }
  function N(de, re, Q) {
    const ie = Q.dereference ? (ae) => E(ae, { bigint: !0 }) : (ae) => y(ae, { bigint: !0 });
    return Promise.all([ie(de), ie(re).catch((ae) => {
      if (ae.code === "ENOENT") return null;
      throw ae;
    })]);
  }
  async function K(de, re, Q, ie) {
    const ae = T(Q);
    return await oe(ae) || await w(ae, { recursive: !0 }), X(de, re, Q, ie);
  }
  function oe(de) {
    return E(de).then(
      () => !0,
      // istanbul ignore next: not sure when this would occur
      (re) => re.code === "ENOENT" ? !1 : Promise.reject(re)
    );
  }
  async function pe(de, re, Q) {
    const ie = Y(T(de)), ae = Y(T(Q));
    if (ae === ie || ae === z(ae).root) return;
    let Ee;
    try {
      Ee = await E(ae, { bigint: !0 });
    } catch (Fe) {
      if (Fe.code === "ENOENT") return;
      throw Fe;
    }
    if (O(re, Ee)) throw new s({
      message: `cannot copy ${de} to a subdirectory of self ${Q}`,
      path: Q,
      syscall: "cp",
      errno: p
    });
    return pe(de, re, ae);
  }
  var _e = (de) => Y(de).split(H).filter(Boolean);
  function V(de, re) {
    const Q = _e(de), ie = _e(re);
    return Q.every((ae, Ee) => ie[Ee] === ae);
  }
  async function B(de, re, Q, ie, ae, Ee) {
    if (await ae.filter(Q, ie)) return de(re, Q, ie, ae, Ee);
  }
  function G(de, re, Q, ie) {
    return ie.filter ? B(X, de, re, Q, ie) : X(de, re, Q, ie);
  }
  async function X(de, re, Q, ie) {
    const ae = await (ie.dereference ? E : y)(re);
    if (ae.isDirectory() && ie.recursive) return je(ae, de, re, Q, ie);
    if (ae.isDirectory()) throw new f({
      message: `${re} is a directory (not copied)`,
      path: re,
      syscall: "cp",
      errno: p
    });
    if (ae.isFile() || ae.isCharacterDevice() || ae.isBlockDevice()) return ne(ae, de, re, Q, ie);
    if (ae.isSymbolicLink()) return se(de, re, Q);
    throw ae.isSocket() ? new n({
      message: `cannot copy a socket file: ${Q}`,
      path: Q,
      syscall: "cp",
      errno: p
    }) : ae.isFIFO() ? new h({
      message: `cannot copy a FIFO pipe: ${Q}`,
      path: Q,
      syscall: "cp",
      errno: p
    }) : new u({
      message: `cannot copy an unknown file type: ${Q}`,
      path: Q,
      syscall: "cp",
      errno: p
    });
  }
  function ne(de, re, Q, ie, ae) {
    return re ? I(de, Q, ie, ae) : M(de, Q, ie, ae);
  }
  async function I(de, re, Q, ie) {
    if (ie.force)
      return await S(Q), M(de, re, Q, ie);
    if (ie.errorOnExist) throw new i({
      message: `${Q} already exists`,
      path: Q,
      syscall: "cp",
      errno: c
    });
  }
  async function M(de, re, Q, ie) {
    return await v(re, Q), ie.preserveTimestamps ? ee(de.mode, re, Q) : Be(Q, de.mode);
  }
  async function ee(de, re, Q) {
    return Ae(de) && await Se(Q, de), ye(de, re, Q);
  }
  function Ae(de) {
    return (de & 128) === 0;
  }
  function Se(de, re) {
    return Be(de, re | 128);
  }
  async function ye(de, re, Q) {
    return await xe(re, Q), Be(Q, de);
  }
  function Be(de, re) {
    return g(de, re);
  }
  async function xe(de, re) {
    const Q = await E(de);
    return C(re, Q.atime, Q.mtime);
  }
  function je(de, re, Q, ie, ae) {
    return re ? A(Q, ie, ae) : Oe(de.mode, Q, ie, ae);
  }
  async function Oe(de, re, Q, ie) {
    return await w(Q), await A(re, Q, ie), Be(Q, de);
  }
  async function A(de, re, Q) {
    const ie = await _(de);
    for (let ae = 0; ae < ie.length; ae++) {
      const Ee = ie[ae], Fe = $(de, Ee), Ce = $(re, Ee), { destStat: Re } = await L(Fe, Ce, Q);
      await G(Re, Fe, Ce, Q);
    }
  }
  async function se(de, re, Q) {
    let ie = await b(re);
    if (U(ie) || (ie = Y(T(re), ie)), !de) return D(ie, Q);
    let ae;
    try {
      ae = await b(Q);
    } catch (Ee) {
      if (Ee.code === "EINVAL" || Ee.code === "UNKNOWN") return D(ie, Q);
      throw Ee;
    }
    if (U(ae) || (ae = Y(T(Q), ae)), V(ie, ae)) throw new s({
      message: `cannot copy ${ie} to a subdirectory of self ${ae}`,
      path: Q,
      syscall: "cp",
      errno: p
    });
    if ((await E(re)).isDirectory() && V(ae, ie)) throw new l({
      message: `cannot overwrite ${ae} with ${ie}`,
      path: Q,
      syscall: "cp",
      errno: p
    });
    return he(ie, Q);
  }
  async function he(de, re) {
    return await S(re), D(de, re);
  }
  t.exports = W;
})), Ub = /* @__PURE__ */ j(((e, t) => {
  var r = ve("fs/promises"), i = Jf(), s = Pb(), h = jb(), a = s.satisfies(">=16.7.0"), n = async (l, u, f) => {
    const o = i(f, { copy: [
      "dereference",
      "errorOnExist",
      "filter",
      "force",
      "preserveTimestamps",
      "recursive"
    ] });
    return a ? r.cp(l, u, o) : h(l, u, o);
  };
  t.exports = n;
})), Hb = /* @__PURE__ */ j(((e, t) => {
  var { join: r, sep: i } = ve("path"), s = Jf(), { mkdir: h, mkdtemp: a, rm: n } = ve("fs/promises"), l = async (u, f, o) => {
    const c = s(o, { copy: ["tmpPrefix"] });
    await h(u, { recursive: !0 });
    const d = await a(r(`${u}${i}`, c.tmpPrefix || ""));
    let p, m;
    try {
      m = await f(d);
    } catch (g) {
      p = g;
    }
    try {
      await n(d, {
        force: !0,
        recursive: !0
      });
    } catch {
    }
    if (p) throw p;
    return m;
  };
  t.exports = l;
})), qb = /* @__PURE__ */ j(((e, t) => {
  var { readdir: r } = ve("fs/promises"), { join: i } = ve("path"), s = async (h) => {
    const a = [];
    for (const n of await r(h)) if (n.startsWith("@")) for (const l of await r(i(h, n))) a.push(i(n, l));
    else a.push(n);
    return a;
  };
  t.exports = s;
})), zb = /* @__PURE__ */ j(((e, t) => {
  var { dirname: r, join: i, resolve: s, relative: h, isAbsolute: a } = ve("path"), n = ve("fs/promises"), l = async (f) => {
    try {
      return await n.access(f), !0;
    } catch (o) {
      return o.code !== "ENOENT";
    }
  }, u = async (f, o, c = {}, d = !0, p = []) => {
    if (!f || !o) throw new TypeError("`source` and `destination` file required");
    if (c = {
      overwrite: !0,
      ...c
    }, !c.overwrite && await l(o)) throw new Error(`The destination file exists: ${o}`);
    await n.mkdir(r(o), { recursive: !0 });
    try {
      await n.rename(f, o);
    } catch (m) {
      if (m.code === "EXDEV" || m.code === "EPERM") {
        const g = await n.lstat(f);
        if (g.isDirectory()) {
          const v = await n.readdir(f);
          await Promise.all(v.map((y) => u(i(f, y), i(o, y), c, !1, p)));
        } else g.isSymbolicLink() ? p.push({
          source: f,
          destination: o
        }) : await n.copyFile(f, o);
      } else throw m;
    }
    d && (await Promise.all(p.map(async ({ source: m, destination: g }) => {
      let v = await n.readlink(m);
      a(v) && (v = s(g, h(m, v)));
      let y = "file";
      try {
        y = await n.stat(s(r(m), v)), y.isDirectory() && (y = "junction");
      } catch {
      }
      await n.symlink(v, g, y);
    })), await n.rm(f, {
      recursive: !0,
      force: !0
    }));
  };
  t.exports = u;
})), Uu = /* @__PURE__ */ j(((e, t) => {
  var r = Ub(), i = Hb(), s = qb(), h = zb();
  t.exports = {
    cp: r,
    withTempDir: i,
    readdirScoped: s,
    moveFile: h
  };
})), Hu = /* @__PURE__ */ j(((e, t) => {
  var r = ve("crypto"), { withTempDir: i } = Uu(), s = ve("fs/promises"), h = ve("path");
  t.exports.mkdir = a, t.exports.tmpName = function(u, f) {
    const o = r.randomUUID();
    return h.join(u, "tmp", f ? `${f}-${o}` : o);
  };
  async function a(l, u = {}) {
    const { tmpPrefix: f } = u, o = h.join(l, "tmp");
    await s.mkdir(o, {
      recursive: !0,
      owner: "inherit"
    });
    const c = `${o}${h.sep}${f || ""}`;
    return s.mkdtemp(c, { owner: "inherit" });
  }
  t.exports.withTmp = n;
  function n(l, u, f) {
    return f || (f = u, u = {}), i(h.join(l, "tmp"), f, u);
  }
})), Xf = /* @__PURE__ */ bt({
  author: () => Co,
  default: () => Qf,
  dependencies: () => wo,
  description: () => mo,
  devDependencies: () => Do,
  engines: () => Ao,
  files: () => yo,
  keywords: () => bo,
  license: () => "ISC",
  main: () => vo,
  name: () => po,
  repository: () => Eo,
  scripts: () => _o,
  tap: () => To,
  templateOSS: () => So,
  version: () => go
}), po, go, mo, vo, yo, _o, Eo, bo, Gb, wo, Do, Ao, So, Co, To, Qf, ed = qt((() => {
  po = "cacache", go = "20.0.4", mo = "Fast, fault-tolerant, cross-platform, disk-based, data-agnostic, content-addressable cache.", vo = "lib/index.js", yo = ["bin/", "lib/"], _o = {
    test: "tap",
    snap: "tap",
    coverage: "tap",
    "test-docker": 'docker run -it --rm --name pacotest -v "$PWD":/tmp -w /tmp node:latest npm test',
    lint: "npm run eslint",
    npmclilint: "npmcli-lint",
    lintfix: "npm run eslint -- --fix",
    postsnap: "npm run lintfix --",
    postlint: "template-oss-check",
    posttest: "npm run lint",
    "template-oss-apply": "template-oss-apply --force",
    eslint: 'eslint "**/*.{js,cjs,ts,mjs,jsx,tsx}"'
  }, Eo = {
    type: "git",
    url: "git+https://github.com/npm/cacache.git"
  }, bo = [
    "cache",
    "caching",
    "content-addressable",
    "sri",
    "sri hash",
    "subresource integrity",
    "cache",
    "storage",
    "store",
    "file store",
    "filesystem",
    "disk cache",
    "disk storage"
  ], Gb = "ISC", wo = {
    "@npmcli/fs": "^5.0.0",
    "fs-minipass": "^3.0.0",
    glob: "^13.0.0",
    "lru-cache": "^11.1.0",
    minipass: "^7.0.3",
    "minipass-collect": "^2.0.1",
    "minipass-flush": "^1.0.5",
    "minipass-pipeline": "^1.2.4",
    "p-map": "^7.0.2",
    ssri: "^13.0.0"
  }, Do = {
    "@npmcli/eslint-config": "^6.0.1",
    "@npmcli/template-oss": "4.29.0",
    tap: "^16.0.0"
  }, Ao = { node: "^20.17.0 || >=22.9.0" }, So = {
    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
    windowsCI: !1,
    version: "4.29.0",
    publish: "true"
  }, Co = "GitHub Inc.", To = { "nyc-arg": ["--exclude", "tap-snapshots/**"] }, Qf = {
    name: po,
    version: go,
    "cache-version": {
      content: "2",
      index: "5"
    },
    description: mo,
    main: vo,
    files: yo,
    scripts: _o,
    repository: Eo,
    keywords: bo,
    license: "ISC",
    dependencies: wo,
    devDependencies: Do,
    engines: Ao,
    templateOSS: So,
    author: Co,
    tap: To
  };
})), td = /* @__PURE__ */ j(((e, t) => {
  t.exports = r;
  function r(i) {
    return [
      i.slice(0, 2),
      i.slice(2, 4),
      i.slice(4)
    ];
  }
})), dn = /* @__PURE__ */ j(((e, t) => {
  var r = (ed(), At(Xf).default)["cache-version"].content, i = td(), s = ve("path"), h = qr();
  t.exports = a;
  function a(l, u) {
    const f = h.parse(u, { single: !0 });
    return s.join(n(l), f.algorithm, ...i(f.hexDigest()));
  }
  t.exports.contentDir = n;
  function n(l) {
    return s.join(l, `content-v${r}`);
  }
})), pn = /* @__PURE__ */ j(((e, t) => {
  var r = ve("crypto"), { appendFile: i, mkdir: s, readFile: h, readdir: a, rm: n, writeFile: l } = ve("fs/promises"), { Minipass: u } = Lt(), f = ve("path"), o = qr(), { tmpName: c } = Hu(), d = dn(), p = td(), m = (ed(), At(Xf).default)["cache-version"].index, { moveFile: g } = Uu(), v = 5;
  t.exports.NotFoundError = class extends Error {
    constructor(q, W) {
      super(`No cache entry for ${W} found in ${q}`), this.code = "ENOENT", this.cache = q, this.key = W;
    }
  }, t.exports.compact = y;
  async function y(F, q, W, P = {}) {
    const x = U(F, q), L = await S(x), O = [];
    for (let V = L.length - 1; V >= 0; --V) {
      const B = L[V];
      if (B.integrity === null && !P.validateEntry) break;
      (!P.validateEntry || P.validateEntry(B) === !0) && (O.length === 0 || !O.find((G) => W(G, B))) && O.unshift(B);
    }
    const N = `
` + O.map((V) => {
      const B = JSON.stringify(V);
      return `${z(B)}	${B}`;
    }).join(`
`), K = async () => {
      const V = c(F, P.tmpPrefix);
      return await s(f.dirname(V), { recursive: !0 }), {
        target: V,
        moved: !1
      };
    }, oe = async (V) => {
      if (!V.moved) return n(V.target, {
        recursive: !0,
        force: !0
      });
    }, pe = async (V) => {
      await l(V.target, N, { flag: "wx" }), await s(f.dirname(x), { recursive: !0 }), await g(V.target, x), V.moved = !0;
    }, _e = await K();
    try {
      await pe(_e);
    } finally {
      await oe(_e);
    }
    return O.reverse().map((V) => H(F, V, !0));
  }
  t.exports.insert = w;
  async function w(F, q, W, P = {}) {
    const { metadata: x, size: L, time: O } = P, N = U(F, q), K = {
      key: q,
      integrity: W && o.stringify(W),
      time: O || Date.now(),
      size: L,
      metadata: x
    };
    try {
      await s(f.dirname(N), { recursive: !0 });
      const oe = JSON.stringify(K);
      await i(N, `
${z(oe)}	${oe}`);
    } catch (oe) {
      if (oe.code === "ENOENT") return;
      throw oe;
    }
    return H(F, K);
  }
  t.exports.find = _;
  async function _(F, q) {
    const W = U(F, q);
    try {
      return (await S(W)).reduce((P, x) => x && x.key === q ? H(F, x) : P, null);
    } catch (P) {
      if (P.code === "ENOENT") return null;
      throw P;
    }
  }
  t.exports.delete = b;
  function b(F, q, W = {}) {
    return W.removeFully ? n(U(F, q), {
      recursive: !0,
      force: !0
    }) : w(F, q, null, W);
  }
  t.exports.lsStream = E;
  function E(F) {
    const q = T(F), W = new u({ objectMode: !0 });
    return Promise.resolve().then(async () => {
      const { default: P } = await import("./chunks/p-map-DaKUJ_MH.js").then((x) => (x.t(), x.r));
      return await P(await k(q), async (x) => {
        const L = f.join(q, x);
        await P(await k(L), async (O) => {
          const N = f.join(L, O);
          await P(await k(N), async (K) => {
            const oe = f.join(N, K);
            try {
              const pe = (await S(oe)).reduce((_e, V) => (_e.set(V.key, V), _e), /* @__PURE__ */ new Map());
              for (const _e of pe.values()) {
                const V = H(F, _e);
                V && W.write(V);
              }
            } catch (pe) {
              if (pe.code === "ENOENT") return;
              throw pe;
            }
          }, { concurrency: v });
        }, { concurrency: v });
      }, { concurrency: v }), W.end(), W;
    }).catch((P) => W.emit("error", P)), W;
  }
  t.exports.ls = D;
  async function D(F) {
    return (await E(F).collect()).reduce((q, W) => (q[W.key] = W, q), {});
  }
  t.exports.bucketEntries = S;
  async function S(F, q) {
    return C(await h(F, "utf8"), q);
  }
  function C(F) {
    const q = [];
    return F.split(`
`).forEach((W) => {
      if (!W) return;
      const P = W.split("	");
      if (!P[1] || z(P[1]) !== P[0]) return;
      let x;
      try {
        x = JSON.parse(P[1]);
      } catch {
      }
      x && q.push(x);
    }), q;
  }
  t.exports.bucketDir = T;
  function T(F) {
    return f.join(F, `index-v${m}`);
  }
  t.exports.bucketPath = U;
  function U(F, q) {
    const W = $(q);
    return f.join.apply(f, [T(F)].concat(p(W)));
  }
  t.exports.hashKey = $;
  function $(F) {
    return Y(F, "sha256");
  }
  t.exports.hashEntry = z;
  function z(F) {
    return Y(F, "sha1");
  }
  function Y(F, q) {
    return r.createHash(q).update(F).digest("hex");
  }
  function H(F, q, W) {
    return !q.integrity && !W ? null : {
      key: q.key,
      integrity: q.integrity,
      path: q.integrity ? d(F, q.integrity) : void 0,
      size: q.size,
      time: q.time,
      metadata: q.metadata
    };
  }
  function k(F) {
    return a(F).catch((q) => {
      if (q.code === "ENOENT" || q.code === "ENOTDIR") return [];
      throw q;
    });
  }
})), Ds = /* @__PURE__ */ j(((e, t) => {
  var { LRUCache: r } = an(), i = new r({
    max: 500,
    maxSize: 50 * 1024 * 1024,
    ttl: 180 * 1e3,
    sizeCalculation: (o, c) => c.startsWith("key:") ? o.data.length : o.length
  });
  t.exports.clearMemoized = s;
  function s() {
    const o = {};
    return i.forEach((c, d) => {
      o[d] = c;
    }), i.clear(), o;
  }
  t.exports.put = h;
  function h(o, c, d, p) {
    f(p).set(`key:${o}:${c.key}`, {
      entry: c,
      data: d
    }), a(o, c.integrity, d, p);
  }
  t.exports.put.byDigest = a;
  function a(o, c, d, p) {
    f(p).set(`digest:${o}:${c}`, d);
  }
  t.exports.get = n;
  function n(o, c, d) {
    return f(d).get(`key:${o}:${c}`);
  }
  t.exports.get.byDigest = l;
  function l(o, c, d) {
    return f(d).get(`digest:${o}:${c}`);
  }
  var u = class {
    constructor(o) {
      this.obj = o;
    }
    get(o) {
      return this.obj[o];
    }
    set(o, c) {
      this.obj[o] = c;
    }
  };
  function f(o) {
    return !o || !o.memoize ? i : o.memoize.get && o.memoize.set ? o.memoize : typeof o.memoize == "object" ? new u(o.memoize) : i;
  }
})), qu = /* @__PURE__ */ j(((e) => {
  var { Minipass: t } = Lt(), r = ve("events").EventEmitter, i = ve("fs"), s = i.writev, h = /* @__PURE__ */ Symbol("_autoClose"), a = /* @__PURE__ */ Symbol("_close"), n = /* @__PURE__ */ Symbol("_ended"), l = /* @__PURE__ */ Symbol("_fd"), u = /* @__PURE__ */ Symbol("_finished"), f = /* @__PURE__ */ Symbol("_flags"), o = /* @__PURE__ */ Symbol("_flush"), c = /* @__PURE__ */ Symbol("_handleChunk"), d = /* @__PURE__ */ Symbol("_makeBuf"), p = /* @__PURE__ */ Symbol("_mode"), m = /* @__PURE__ */ Symbol("_needDrain"), g = /* @__PURE__ */ Symbol("_onerror"), v = /* @__PURE__ */ Symbol("_onopen"), y = /* @__PURE__ */ Symbol("_onread"), w = /* @__PURE__ */ Symbol("_onwrite"), _ = /* @__PURE__ */ Symbol("_open"), b = /* @__PURE__ */ Symbol("_path"), E = /* @__PURE__ */ Symbol("_pos"), D = /* @__PURE__ */ Symbol("_queue"), S = /* @__PURE__ */ Symbol("_read"), C = /* @__PURE__ */ Symbol("_readSize"), T = /* @__PURE__ */ Symbol("_reading"), U = /* @__PURE__ */ Symbol("_remain"), $ = /* @__PURE__ */ Symbol("_size"), z = /* @__PURE__ */ Symbol("_write"), Y = /* @__PURE__ */ Symbol("_writing"), H = /* @__PURE__ */ Symbol("_defaultFlag"), k = /* @__PURE__ */ Symbol("_errored"), F = class extends t {
    constructor(x, L) {
      if (L = L || {}, super(L), this.readable = !0, this.writable = !1, typeof x != "string") throw new TypeError("path must be a string");
      this[k] = !1, this[l] = typeof L.fd == "number" ? L.fd : null, this[b] = x, this[C] = L.readSize || 16 * 1024 * 1024, this[T] = !1, this[$] = typeof L.size == "number" ? L.size : 1 / 0, this[U] = this[$], this[h] = typeof L.autoClose == "boolean" ? L.autoClose : !0, typeof this[l] == "number" ? this[S]() : this[_]();
    }
    get fd() {
      return this[l];
    }
    get path() {
      return this[b];
    }
    write() {
      throw new TypeError("this is a readable stream");
    }
    end() {
      throw new TypeError("this is a readable stream");
    }
    [_]() {
      i.open(this[b], "r", (x, L) => this[v](x, L));
    }
    [v](x, L) {
      x ? this[g](x) : (this[l] = L, this.emit("open", L), this[S]());
    }
    [d]() {
      return Buffer.allocUnsafe(Math.min(this[C], this[U]));
    }
    [S]() {
      if (!this[T]) {
        this[T] = !0;
        const x = this[d]();
        if (x.length === 0) return process.nextTick(() => this[y](null, 0, x));
        i.read(this[l], x, 0, x.length, null, (L, O, N) => this[y](L, O, N));
      }
    }
    [y](x, L, O) {
      this[T] = !1, x ? this[g](x) : this[c](L, O) && this[S]();
    }
    [a]() {
      if (this[h] && typeof this[l] == "number") {
        const x = this[l];
        this[l] = null, i.close(x, (L) => L ? this.emit("error", L) : this.emit("close"));
      }
    }
    [g](x) {
      this[T] = !0, this[a](), this.emit("error", x);
    }
    [c](x, L) {
      let O = !1;
      return this[U] -= x, x > 0 && (O = super.write(x < L.length ? L.slice(0, x) : L)), (x === 0 || this[U] <= 0) && (O = !1, this[a](), super.end()), O;
    }
    emit(x, L) {
      switch (x) {
        case "prefinish":
        case "finish":
          break;
        case "drain":
          typeof this[l] == "number" && this[S]();
          break;
        case "error":
          return this[k] ? void 0 : (this[k] = !0, super.emit(x, L));
        default:
          return super.emit(x, L);
      }
    }
  }, q = class extends F {
    [_]() {
      let x = !0;
      try {
        this[v](null, i.openSync(this[b], "r")), x = !1;
      } finally {
        x && this[a]();
      }
    }
    [S]() {
      let x = !0;
      try {
        if (!this[T]) {
          this[T] = !0;
          do {
            const L = this[d](), O = L.length === 0 ? 0 : i.readSync(this[l], L, 0, L.length, null);
            if (!this[c](O, L)) break;
          } while (!0);
          this[T] = !1;
        }
        x = !1;
      } finally {
        x && this[a]();
      }
    }
    [a]() {
      if (this[h] && typeof this[l] == "number") {
        const x = this[l];
        this[l] = null, i.closeSync(x), this.emit("close");
      }
    }
  }, W = class extends r {
    constructor(x, L) {
      L = L || {}, super(L), this.readable = !1, this.writable = !0, this[k] = !1, this[Y] = !1, this[n] = !1, this[m] = !1, this[D] = [], this[b] = x, this[l] = typeof L.fd == "number" ? L.fd : null, this[p] = L.mode === void 0 ? 438 : L.mode, this[E] = typeof L.start == "number" ? L.start : null, this[h] = typeof L.autoClose == "boolean" ? L.autoClose : !0;
      const O = this[E] !== null ? "r+" : "w";
      this[H] = L.flags === void 0, this[f] = this[H] ? O : L.flags, this[l] === null && this[_]();
    }
    emit(x, L) {
      if (x === "error") {
        if (this[k]) return;
        this[k] = !0;
      }
      return super.emit(x, L);
    }
    get fd() {
      return this[l];
    }
    get path() {
      return this[b];
    }
    [g](x) {
      this[a](), this[Y] = !0, this.emit("error", x);
    }
    [_]() {
      i.open(this[b], this[f], this[p], (x, L) => this[v](x, L));
    }
    [v](x, L) {
      this[H] && this[f] === "r+" && x && x.code === "ENOENT" ? (this[f] = "w", this[_]()) : x ? this[g](x) : (this[l] = L, this.emit("open", L), this[Y] || this[o]());
    }
    end(x, L) {
      return x && this.write(x, L), this[n] = !0, !this[Y] && !this[D].length && typeof this[l] == "number" && this[w](null, 0), this;
    }
    write(x, L) {
      return typeof x == "string" && (x = Buffer.from(x, L)), this[n] ? (this.emit("error", /* @__PURE__ */ new Error("write() after end()")), !1) : this[l] === null || this[Y] || this[D].length ? (this[D].push(x), this[m] = !0, !1) : (this[Y] = !0, this[z](x), !0);
    }
    [z](x) {
      i.write(this[l], x, 0, x.length, this[E], (L, O) => this[w](L, O));
    }
    [w](x, L) {
      x ? this[g](x) : (this[E] !== null && (this[E] += L), this[D].length ? this[o]() : (this[Y] = !1, this[n] && !this[u] ? (this[u] = !0, this[a](), this.emit("finish")) : this[m] && (this[m] = !1, this.emit("drain"))));
    }
    [o]() {
      if (this[D].length === 0)
        this[n] && this[w](null, 0);
      else if (this[D].length === 1) this[z](this[D].pop());
      else {
        const x = this[D];
        this[D] = [], s(this[l], x, this[E], (L, O) => this[w](L, O));
      }
    }
    [a]() {
      if (this[h] && typeof this[l] == "number") {
        const x = this[l];
        this[l] = null, i.close(x, (L) => L ? this.emit("error", L) : this.emit("close"));
      }
    }
  }, P = class extends W {
    [_]() {
      let x;
      if (this[H] && this[f] === "r+") try {
        x = i.openSync(this[b], this[f], this[p]);
      } catch (L) {
        if (L.code === "ENOENT")
          return this[f] = "w", this[_]();
        throw L;
      }
      else x = i.openSync(this[b], this[f], this[p]);
      this[v](null, x);
    }
    [a]() {
      if (this[h] && typeof this[l] == "number") {
        const x = this[l];
        this[l] = null, i.closeSync(x), this.emit("close");
      }
    }
    [z](x) {
      let L = !0;
      try {
        this[w](null, i.writeSync(this[l], x, 0, x.length, this[E])), L = !1;
      } finally {
        if (L) try {
          this[a]();
        } catch {
        }
      }
    }
  };
  e.ReadStream = F, e.ReadStreamSync = q, e.WriteStream = W, e.WriteStreamSync = P;
})), rd = /* @__PURE__ */ j(((e, t) => {
  var r = ve("fs/promises"), i = qu(), s = qr(), h = dn(), a = fn();
  t.exports = l;
  var n = 64 * 1024 * 1024;
  async function l(g, v, y = {}) {
    const { size: w } = y, { stat: _, cpath: b, sri: E } = await d(g, v, async (S, C) => ({
      stat: w ? { size: w } : await r.stat(S),
      cpath: S,
      sri: C
    }));
    if (_.size > n) return u(b, _.size, E, new a()).concat();
    const D = await r.readFile(b, { encoding: null });
    if (_.size !== D.length) throw p(_.size, D.length);
    if (!s.checkData(D, E)) throw m(E, b);
    return D;
  }
  var u = (g, v, y, w) => (w.push(new i.ReadStream(g, {
    size: v,
    readSize: n
  }), s.integrityStream({
    integrity: y,
    size: v
  })), w);
  t.exports.stream = f, t.exports.readStream = f;
  function f(g, v, y = {}) {
    const { size: w } = y, _ = new a();
    return Promise.resolve().then(async () => {
      const { stat: b, cpath: E, sri: D } = await d(g, v, async (S, C) => ({
        stat: w ? { size: w } : await r.stat(S),
        cpath: S,
        sri: C
      }));
      return u(E, b.size, D, _);
    }).catch((b) => _.emit("error", b)), _;
  }
  t.exports.copy = o;
  function o(g, v, y) {
    return d(g, v, (w) => r.copyFile(w, y));
  }
  t.exports.hasContent = c;
  async function c(g, v) {
    if (!v) return !1;
    try {
      return await d(g, v, async (y, w) => {
        const _ = await r.stat(y);
        return {
          size: _.size,
          sri: w,
          stat: _
        };
      });
    } catch (y) {
      if (y.code === "ENOENT") return !1;
      if (y.code === "EPERM") {
        if (process.platform !== "win32") throw y;
        return !1;
      }
    }
  }
  async function d(g, v, y) {
    const w = s.parse(v), _ = w[w.pickAlgorithm()];
    if (_.length <= 1) return y(h(g, _[0]), _[0]);
    {
      const b = await Promise.all(_.map(async (S) => {
        try {
          return await d(g, S, y);
        } catch (C) {
          return C.code === "ENOENT" ? Object.assign(/* @__PURE__ */ new Error("No matching content found for " + w.toString()), { code: "ENOENT" }) : C;
        }
      })), E = b.find((S) => !(S instanceof Error));
      if (E) return E;
      const D = b.find((S) => S.code === "ENOENT");
      throw D || b.find((S) => S instanceof Error);
    }
  }
  function p(g, v) {
    const y = /* @__PURE__ */ new Error(`Bad data size: expected inserted data to be ${g} bytes, but got ${v} instead`);
    return y.expected = g, y.found = v, y.code = "EBADSIZE", y;
  }
  function m(g, v) {
    const y = /* @__PURE__ */ new Error(`Integrity verification failed for ${g} (${v})`);
    return y.code = "EINTEGRITY", y.sri = g, y.path = v, y;
  }
})), Wb = /* @__PURE__ */ j(((e, t) => {
  var r = Kf(), { Minipass: i } = Lt(), s = fn(), h = pn(), a = Ds(), n = rd();
  async function l(g, v, y = {}) {
    const { integrity: w, memoize: _, size: b } = y, E = a.get(g, v, y);
    if (E && _ !== !1) return {
      metadata: E.entry.metadata,
      data: E.data,
      integrity: E.entry.integrity,
      size: E.entry.size
    };
    const D = await h.find(g, v, y);
    if (!D) throw new h.NotFoundError(g, v);
    const S = await n(g, D.integrity, {
      integrity: w,
      size: b
    });
    return _ && a.put(g, D, S, y), {
      data: S,
      metadata: D.metadata,
      size: D.size,
      integrity: D.integrity
    };
  }
  t.exports = l;
  async function u(g, v, y = {}) {
    const { integrity: w, memoize: _, size: b } = y, E = a.get.byDigest(g, v, y);
    if (E && _ !== !1) return E;
    const D = await n(g, v, {
      integrity: w,
      size: b
    });
    return _ && a.put.byDigest(g, v, D, y), D;
  }
  t.exports.byDigest = u;
  var f = (g) => {
    const v = new i();
    return v.on("newListener", function(y, w) {
      y === "metadata" && w(g.entry.metadata), y === "integrity" && w(g.entry.integrity), y === "size" && w(g.entry.size);
    }), v.end(g.data), v;
  };
  function o(g, v, y = {}) {
    const { memoize: w, size: _ } = y, b = a.get(g, v, y);
    if (b && w !== !1) return f(b);
    const E = new s();
    return Promise.resolve().then(async () => {
      const D = await h.find(g, v);
      if (!D) throw new h.NotFoundError(g, v);
      E.emit("metadata", D.metadata), E.emit("integrity", D.integrity), E.emit("size", D.size), E.on("newListener", function(C, T) {
        C === "metadata" && T(D.metadata), C === "integrity" && T(D.integrity), C === "size" && T(D.size);
      });
      const S = n.readStream(g, D.integrity, {
        ...y,
        size: typeof _ != "number" ? D.size : _
      });
      if (w) {
        const C = new r.PassThrough();
        C.on("collect", (T) => a.put(g, D, T, y)), E.unshift(C);
      }
      return E.unshift(S), E;
    }).catch((D) => E.emit("error", D)), E;
  }
  t.exports.stream = o;
  function c(g, v, y = {}) {
    const { memoize: w } = y, _ = a.get.byDigest(g, v, y);
    if (_ && w !== !1) {
      const b = new i();
      return b.end(_), b;
    } else {
      const b = n.readStream(g, v, y);
      if (!w) return b;
      const E = new r.PassThrough();
      return E.on("collect", (D) => a.put.byDigest(g, v, D, y)), new s(b, E);
    }
  }
  t.exports.stream.byDigest = c;
  function d(g, v, y = {}) {
    const { memoize: w } = y, _ = a.get(g, v, y);
    return _ && w !== !1 ? Promise.resolve(_.entry) : h.find(g, v);
  }
  t.exports.info = d;
  async function p(g, v, y, w = {}) {
    const _ = await h.find(g, v, w);
    if (!_) throw new h.NotFoundError(g, v);
    return await n.copy(g, _.integrity, y, w), {
      metadata: _.metadata,
      size: _.size,
      integrity: _.integrity
    };
  }
  t.exports.copy = p;
  async function m(g, v, y, w = {}) {
    return await n.copy(g, v, y, w), v;
  }
  t.exports.copy.byDigest = m, t.exports.hasContent = n.hasContent;
})), Vb = /* @__PURE__ */ j(((e, t) => {
  var r = ve("events"), i = dn(), s = ve("fs/promises"), { moveFile: h } = Uu(), { Minipass: a } = Lt(), n = fn(), l = ju(), u = ve("path"), f = qr(), { tmpName: o } = Hu(), c = qu();
  t.exports = p;
  var d = /* @__PURE__ */ new Map();
  async function p(D, S, C = {}) {
    const { algorithms: T, size: U, integrity: $ } = C;
    if (typeof U == "number" && S.length !== U) throw b(U, S.length);
    const z = f.fromData(S, T ? { algorithms: T } : {});
    if ($ && !f.checkData(S, $, C)) throw E($, z);
    for (const Y in z) {
      const H = await w(D, C), k = z[Y].toString();
      try {
        await s.writeFile(H.target, S, { flag: "wx" }), await _(H, D, k, C);
      } finally {
        H.moved || await s.rm(H.target, {
          recursive: !0,
          force: !0
        });
      }
    }
    return {
      integrity: z,
      size: S.length
    };
  }
  t.exports.stream = g;
  var m = class extends l {
    constructor(D, S) {
      super(), this.opts = S, this.cache = D, this.inputStream = new a(), this.inputStream.on("error", (C) => this.emit("error", C)), this.inputStream.on("drain", () => this.emit("drain")), this.handleContentP = null;
    }
    write(D, S, C) {
      return this.handleContentP || (this.handleContentP = v(this.inputStream, this.cache, this.opts), this.handleContentP.catch((T) => this.emit("error", T))), this.inputStream.write(D, S, C);
    }
    flush(D) {
      this.inputStream.end(() => {
        if (!this.handleContentP) {
          const S = /* @__PURE__ */ new Error("Cache input stream was empty");
          return S.code = "ENODATA", Promise.reject(S).catch(D);
        }
        this.handleContentP.then((S) => {
          S.integrity && this.emit("integrity", S.integrity), S.size !== null && this.emit("size", S.size), D();
        }, (S) => D(S));
      });
    }
  };
  function g(D, S = {}) {
    return new m(D, S);
  }
  async function v(D, S, C) {
    const T = await w(S, C);
    try {
      const U = await y(D, S, T.target, C);
      return await _(T, S, U.integrity, C), U;
    } finally {
      T.moved || await s.rm(T.target, {
        recursive: !0,
        force: !0
      });
    }
  }
  async function y(D, S, C, T) {
    const U = new c.WriteStream(C, { flags: "wx" });
    if (T.integrityEmitter) {
      const [H, k] = await Promise.all([
        r.once(T.integrityEmitter, "integrity").then((F) => F[0]),
        r.once(T.integrityEmitter, "size").then((F) => F[0]),
        new n(D, U).promise()
      ]);
      return {
        integrity: H,
        size: k
      };
    }
    let $, z;
    const Y = f.integrityStream({
      integrity: T.integrity,
      algorithms: T.algorithms,
      size: T.size
    });
    return Y.on("integrity", (H) => {
      $ = H;
    }), Y.on("size", (H) => {
      z = H;
    }), await new n(D, Y, U).promise(), {
      integrity: $,
      size: z
    };
  }
  async function w(D, S) {
    const C = o(D, S.tmpPrefix);
    return await s.mkdir(u.dirname(C), { recursive: !0 }), {
      target: C,
      moved: !1
    };
  }
  async function _(D, S, C) {
    const T = i(S, C), U = u.dirname(T);
    return d.has(T) || d.set(T, s.mkdir(U, { recursive: !0 }).then(async () => (await h(D.target, T, { overwrite: !1 }), D.moved = !0, D.moved)).catch(($) => {
      if (!$.message.startsWith("The destination file exists")) throw Object.assign($, { code: "EEXIST" });
    }).finally(() => {
      d.delete(T);
    })), d.get(T);
  }
  function b(D, S) {
    const C = /* @__PURE__ */ new Error(`Bad data size: expected inserted data to be ${D} bytes, but got ${S} instead`);
    return C.expected = D, C.found = S, C.code = "EBADSIZE", C;
  }
  function E(D, S) {
    const C = /* @__PURE__ */ new Error(`Integrity check failed:
  Wanted: ${D}
   Found: ${S}`);
    return C.code = "EINTEGRITY", C.expected = D, C.found = S, C;
  }
})), Yb = /* @__PURE__ */ j(((e, t) => {
  var r = pn(), i = Ds(), s = Vb(), h = ju(), { PassThrough: a } = Kf(), n = fn(), l = (o) => ({
    algorithms: ["sha512"],
    ...o
  });
  t.exports = u;
  async function u(o, c, d, p = {}) {
    const { memoize: m } = p;
    p = l(p);
    const g = await s(o, d, p), v = await r.insert(o, c, g.integrity, {
      ...p,
      size: g.size
    });
    return m && i.put(o, v, d, p), g.integrity;
  }
  t.exports.stream = f;
  function f(o, c, d = {}) {
    const { memoize: p } = d;
    d = l(d);
    let m, g, v, y;
    const w = new n();
    if (p) {
      const b = new a().on("collect", (E) => {
        y = E;
      });
      w.push(b);
    }
    const _ = s.stream(o, d).on("integrity", (b) => {
      m = b;
    }).on("size", (b) => {
      g = b;
    }).on("error", (b) => {
      v = b;
    });
    return w.push(_), w.push(new h({ async flush() {
      if (!v) {
        const b = await r.insert(o, c, m, {
          ...d,
          size: g
        });
        p && y && i.put(o, b, y, d), w.emit("integrity", m), w.emit("size", g);
      }
    } })), w;
  }
})), Kb = /* @__PURE__ */ j(((e) => {
  var t = (k, F) => () => (F || k((F = { exports: {} }).exports, F), F.exports), r = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.range = k.balanced = void 0;
    var F = (P, x, L) => {
      let O = P instanceof RegExp ? q(P, L) : P, N = x instanceof RegExp ? q(x, L) : x, K = O !== null && N != null && (0, k.range)(O, N, L);
      return K && {
        start: K[0],
        end: K[1],
        pre: L.slice(0, K[0]),
        body: L.slice(K[0] + O.length, K[1]),
        post: L.slice(K[1] + N.length)
      };
    };
    k.balanced = F;
    var q = (P, x) => {
      let L = x.match(P);
      return L ? L[0] : null;
    }, W = (P, x, L) => {
      let O, N, K, oe, pe, _e = L.indexOf(P), V = L.indexOf(x, _e + 1), B = _e;
      if (_e >= 0 && V > 0) {
        if (P === x) return [_e, V];
        for (O = [], K = L.length; B >= 0 && !pe; ) {
          if (B === _e) O.push(B), _e = L.indexOf(P, B + 1);
          else if (O.length === 1) {
            let G = O.pop();
            G !== void 0 && (pe = [G, V]);
          } else N = O.pop(), N !== void 0 && N < K && (K = N, oe = V), V = L.indexOf(x, B + 1);
          B = _e < V && _e >= 0 ? _e : V;
        }
        O.length && oe !== void 0 && (pe = [K, oe]);
      }
      return pe;
    };
    k.range = W;
  }), i = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.EXPANSION_MAX = void 0, k.expand = Ae;
    var F = r(), q = "\0SLASH" + Math.random() + "\0", W = "\0OPEN" + Math.random() + "\0", P = "\0CLOSE" + Math.random() + "\0", x = "\0COMMA" + Math.random() + "\0", L = "\0PERIOD" + Math.random() + "\0", O = new RegExp(q, "g"), N = new RegExp(W, "g"), K = new RegExp(P, "g"), oe = new RegExp(x, "g"), pe = new RegExp(L, "g"), _e = /\\\\/g, V = /\\{/g, B = /\\}/g, G = /\\,/g, X = /\\./g;
    k.EXPANSION_MAX = 1e5;
    function ne(Oe) {
      return isNaN(Oe) ? Oe.charCodeAt(0) : parseInt(Oe, 10);
    }
    function I(Oe) {
      return Oe.replace(_e, q).replace(V, W).replace(B, P).replace(G, x).replace(X, L);
    }
    function M(Oe) {
      return Oe.replace(O, "\\").replace(N, "{").replace(K, "}").replace(oe, ",").replace(pe, ".");
    }
    function ee(Oe) {
      if (!Oe) return [""];
      let A = [], se = (0, F.balanced)("{", "}", Oe);
      if (!se) return Oe.split(",");
      let { pre: he, body: de, post: re } = se, Q = he.split(",");
      Q[Q.length - 1] += "{" + de + "}";
      let ie = ee(re);
      return re.length && (Q[Q.length - 1] += ie.shift(), Q.push.apply(Q, ie)), A.push.apply(A, Q), A;
    }
    function Ae(Oe, A = {}) {
      if (!Oe) return [];
      let { max: se = k.EXPANSION_MAX } = A;
      return Oe.slice(0, 2) === "{}" && (Oe = "\\{\\}" + Oe.slice(2)), je(I(Oe), se, !0).map(M);
    }
    function Se(Oe) {
      return "{" + Oe + "}";
    }
    function ye(Oe) {
      return /^-?0\d/.test(Oe);
    }
    function Be(Oe, A) {
      return Oe <= A;
    }
    function xe(Oe, A) {
      return Oe >= A;
    }
    function je(Oe, A, se) {
      let he = [], de = (0, F.balanced)("{", "}", Oe);
      if (!de) return [Oe];
      let re = de.pre, Q = de.post.length ? je(de.post, A, !1) : [""];
      if (/\$$/.test(de.pre)) for (let ie = 0; ie < Q.length && ie < A; ie++) {
        let ae = re + "{" + de.body + "}" + Q[ie];
        he.push(ae);
      }
      else {
        let ie = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(de.body), ae = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(de.body), Ee = ie || ae, Fe = de.body.indexOf(",") >= 0;
        if (!Ee && !Fe) return de.post.match(/,(?!,).*\}/) ? (Oe = de.pre + "{" + de.body + P + de.post, je(Oe, A, !0)) : [Oe];
        let Ce;
        if (Ee) Ce = de.body.split(/\.\./);
        else if (Ce = ee(de.body), Ce.length === 1 && Ce[0] !== void 0 && (Ce = je(Ce[0], A, !1).map(Se), Ce.length === 1)) return Q.map((Z) => de.pre + Ce[0] + Z);
        let Re;
        if (Ee && Ce[0] !== void 0 && Ce[1] !== void 0) {
          let Z = ne(Ce[0]), ge = ne(Ce[1]), Te = Math.max(Ce[0].length, Ce[1].length), De = Ce.length === 3 && Ce[2] !== void 0 ? Math.abs(ne(Ce[2])) : 1, te = Be;
          ge < Z && (De *= -1, te = xe);
          let le = Ce.some(ye);
          Re = [];
          for (let ce = Z; te(ce, ge); ce += De) {
            let fe;
            if (ae) fe = String.fromCharCode(ce), fe === "\\" && (fe = "");
            else if (fe = String(ce), le) {
              let be = Te - fe.length;
              if (be > 0) {
                let $e = new Array(be + 1).join("0");
                ce < 0 ? fe = "-" + $e + fe.slice(1) : fe = $e + fe;
              }
            }
            Re.push(fe);
          }
        } else {
          Re = [];
          for (let Z = 0; Z < Ce.length; Z++) Re.push.apply(Re, je(Ce[Z], A, !1));
        }
        for (let Z = 0; Z < Re.length; Z++) for (let ge = 0; ge < Q.length && he.length < A; ge++) {
          let Te = re + Re[Z] + Q[ge];
          (!se || Ee || Te) && he.push(Te);
        }
      }
      return he;
    }
  }), s = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.assertValidPattern = void 0;
    var F = 1024 * 64, q = (W) => {
      if (typeof W != "string") throw new TypeError("invalid pattern");
      if (W.length > F) throw new TypeError("pattern is too long");
    };
    k.assertValidPattern = q;
  }), h = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.parseClass = void 0;
    var F = {
      "[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", !0],
      "[:alpha:]": ["\\p{L}\\p{Nl}", !0],
      "[:ascii:]": ["\\x00-\\x7f", !1],
      "[:blank:]": ["\\p{Zs}\\t", !0],
      "[:cntrl:]": ["\\p{Cc}", !0],
      "[:digit:]": ["\\p{Nd}", !0],
      "[:graph:]": [
        "\\p{Z}\\p{C}",
        !0,
        !0
      ],
      "[:lower:]": ["\\p{Ll}", !0],
      "[:print:]": ["\\p{C}", !0],
      "[:punct:]": ["\\p{P}", !0],
      "[:space:]": ["\\p{Z}\\t\\r\\n\\v\\f", !0],
      "[:upper:]": ["\\p{Lu}", !0],
      "[:word:]": ["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}", !0],
      "[:xdigit:]": ["A-Fa-f0-9", !1]
    }, q = (L) => L.replace(/[[\]\\-]/g, "\\$&"), W = (L) => L.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), P = (L) => L.join(""), x = (L, O) => {
      let N = O;
      if (L.charAt(N) !== "[") throw new Error("not in a brace expression");
      let K = [], oe = [], pe = N + 1, _e = !1, V = !1, B = !1, G = !1, X = N, ne = "";
      e: for (; pe < L.length; ) {
        let ee = L.charAt(pe);
        if ((ee === "!" || ee === "^") && pe === N + 1) {
          G = !0, pe++;
          continue;
        }
        if (ee === "]" && _e && !B) {
          X = pe + 1;
          break;
        }
        if (_e = !0, ee === "\\" && !B) {
          B = !0, pe++;
          continue;
        }
        if (ee === "[" && !B) {
          for (let [Ae, [Se, ye, Be]] of Object.entries(F)) if (L.startsWith(Ae, pe)) {
            if (ne) return [
              "$.",
              !1,
              L.length - N,
              !0
            ];
            pe += Ae.length, Be ? oe.push(Se) : K.push(Se), V = V || ye;
            continue e;
          }
        }
        if (B = !1, ne) {
          ee > ne ? K.push(q(ne) + "-" + q(ee)) : ee === ne && K.push(q(ee)), ne = "", pe++;
          continue;
        }
        if (L.startsWith("-]", pe + 1)) {
          K.push(q(ee + "-")), pe += 2;
          continue;
        }
        if (L.startsWith("-", pe + 1)) {
          ne = ee, pe += 2;
          continue;
        }
        K.push(q(ee)), pe++;
      }
      if (X < pe) return [
        "",
        !1,
        0,
        !1
      ];
      if (!K.length && !oe.length) return [
        "$.",
        !1,
        L.length - N,
        !0
      ];
      if (oe.length === 0 && K.length === 1 && /^\\?.$/.test(K[0]) && !G) return [
        W(K[0].length === 2 ? K[0].slice(-1) : K[0]),
        !1,
        X - N,
        !1
      ];
      let I = "[" + (G ? "^" : "") + P(K) + "]", M = "[" + (G ? "" : "^") + P(oe) + "]";
      return [
        K.length && oe.length ? "(" + I + "|" + M + ")" : K.length ? I : M,
        V,
        X - N,
        !0
      ];
    };
    k.parseClass = x;
  }), a = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.unescape = void 0;
    var F = (q, { windowsPathsNoEscape: W = !1, magicalBraces: P = !0 } = {}) => P ? W ? q.replace(/\[([^\/\\])\]/g, "$1") : q.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1") : W ? q.replace(/\[([^\/\\{}])\]/g, "$1") : q.replace(/((?!\\).|^)\[([^\/\\{}])\]/g, "$1$2").replace(/\\([^\/{}])/g, "$1");
    k.unescape = F;
  }), n = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.AST = void 0;
    var F = h(), q = a(), W = /* @__PURE__ */ new Set([
      "!",
      "?",
      "+",
      "*",
      "@"
    ]), P = (B) => W.has(B), x = "(?!(?:^|/)\\.\\.?(?:$|/))", L = "(?!\\.)", O = /* @__PURE__ */ new Set(["[", "."]), N = /* @__PURE__ */ new Set(["..", "."]), K = /* @__PURE__ */ new Set("().*{}+?[]^$\\!"), oe = (B) => B.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), pe = "[^/]", _e = pe + "*?", V = pe + "+?";
    k.AST = class Wt {
      type;
      #e;
      #t;
      #r = !1;
      #n = [];
      #a;
      #l;
      #f;
      #c = !1;
      #o;
      #p;
      #h = !1;
      constructor(G, X, ne = {}) {
        this.type = G, G && (this.#t = !0), this.#a = X, this.#e = this.#a ? this.#a.#e : this, this.#o = this.#e === this ? ne : this.#e.#o, this.#f = this.#e === this ? [] : this.#e.#f, G === "!" && !this.#e.#c && this.#f.push(this), this.#l = this.#a ? this.#a.#n.length : 0;
      }
      get hasMagic() {
        if (this.#t !== void 0) return this.#t;
        for (let G of this.#n) if (typeof G != "string" && (G.type || G.hasMagic)) return this.#t = !0;
        return this.#t;
      }
      toString() {
        return this.#p !== void 0 ? this.#p : this.type ? this.#p = this.type + "(" + this.#n.map((G) => String(G)).join("|") + ")" : this.#p = this.#n.map((G) => String(G)).join("");
      }
      #u() {
        if (this !== this.#e) throw new Error("should only call on root");
        if (this.#c) return this;
        this.toString(), this.#c = !0;
        let G;
        for (; G = this.#f.pop(); ) {
          if (G.type !== "!") continue;
          let X = G, ne = X.#a;
          for (; ne; ) {
            for (let I = X.#l + 1; !ne.type && I < ne.#n.length; I++) for (let M of G.#n) {
              if (typeof M == "string") throw new Error("string part in extglob AST??");
              M.copyIn(ne.#n[I]);
            }
            X = ne, ne = X.#a;
          }
        }
        return this;
      }
      push(...G) {
        for (let X of G) if (X !== "") {
          if (typeof X != "string" && !(X instanceof Wt && X.#a === this)) throw new Error("invalid part: " + X);
          this.#n.push(X);
        }
      }
      toJSON() {
        let G = this.type === null ? this.#n.slice().map((X) => typeof X == "string" ? X : X.toJSON()) : [this.type, ...this.#n.map((X) => X.toJSON())];
        return this.isStart() && !this.type && G.unshift([]), this.isEnd() && (this === this.#e || this.#e.#c && this.#a?.type === "!") && G.push({}), G;
      }
      isStart() {
        if (this.#e === this) return !0;
        if (!this.#a?.isStart()) return !1;
        if (this.#l === 0) return !0;
        let G = this.#a;
        for (let X = 0; X < this.#l; X++) {
          let ne = G.#n[X];
          if (!(ne instanceof Wt && ne.type === "!")) return !1;
        }
        return !0;
      }
      isEnd() {
        if (this.#e === this || this.#a?.type === "!") return !0;
        if (!this.#a?.isEnd()) return !1;
        if (!this.type) return this.#a?.isEnd();
        let G = this.#a ? this.#a.#n.length : 0;
        return this.#l === G - 1;
      }
      copyIn(G) {
        typeof G == "string" ? this.push(G) : this.push(G.clone(this));
      }
      clone(G) {
        let X = new Wt(this.type, G);
        for (let ne of this.#n) X.copyIn(ne);
        return X;
      }
      static #i(G, X, ne, I) {
        let M = !1, ee = !1, Ae = -1, Se = !1;
        if (X.type === null) {
          let Oe = ne, A = "";
          for (; Oe < G.length; ) {
            let se = G.charAt(Oe++);
            if (M || se === "\\") {
              M = !M, A += se;
              continue;
            }
            if (ee) {
              Oe === Ae + 1 ? (se === "^" || se === "!") && (Se = !0) : se === "]" && !(Oe === Ae + 2 && Se) && (ee = !1), A += se;
              continue;
            } else if (se === "[") {
              ee = !0, Ae = Oe, Se = !1, A += se;
              continue;
            }
            if (!I.noext && P(se) && G.charAt(Oe) === "(") {
              X.push(A), A = "";
              let he = new Wt(se, X);
              Oe = Wt.#i(G, he, Oe, I), X.push(he);
              continue;
            }
            A += se;
          }
          return X.push(A), Oe;
        }
        let ye = ne + 1, Be = new Wt(null, X), xe = [], je = "";
        for (; ye < G.length; ) {
          let Oe = G.charAt(ye++);
          if (M || Oe === "\\") {
            M = !M, je += Oe;
            continue;
          }
          if (ee) {
            ye === Ae + 1 ? (Oe === "^" || Oe === "!") && (Se = !0) : Oe === "]" && !(ye === Ae + 2 && Se) && (ee = !1), je += Oe;
            continue;
          } else if (Oe === "[") {
            ee = !0, Ae = ye, Se = !1, je += Oe;
            continue;
          }
          if (P(Oe) && G.charAt(ye) === "(") {
            Be.push(je), je = "";
            let A = new Wt(Oe, Be);
            Be.push(A), ye = Wt.#i(G, A, ye, I);
            continue;
          }
          if (Oe === "|") {
            Be.push(je), je = "", xe.push(Be), Be = new Wt(null, X);
            continue;
          }
          if (Oe === ")") return je === "" && X.#n.length === 0 && (X.#h = !0), Be.push(je), je = "", X.push(...xe, Be), ye;
          je += Oe;
        }
        return X.type = null, X.#t = void 0, X.#n = [G.substring(ne - 1)], ye;
      }
      static fromGlob(G, X = {}) {
        let ne = new Wt(null, void 0, X);
        return Wt.#i(G, ne, 0, X), ne;
      }
      toMMPattern() {
        if (this !== this.#e) return this.#e.toMMPattern();
        let G = this.toString(), [X, ne, I, M] = this.toRegExpSource();
        if (!(I || this.#t || this.#o.nocase && !this.#o.nocaseMagicOnly && G.toUpperCase() !== G.toLowerCase())) return ne;
        let ee = (this.#o.nocase ? "i" : "") + (M ? "u" : "");
        return Object.assign(new RegExp(`^${X}$`, ee), {
          _src: X,
          _glob: G
        });
      }
      get options() {
        return this.#o;
      }
      toRegExpSource(G) {
        let X = G ?? !!this.#o.dot;
        if (this.#e === this && this.#u(), !this.type) {
          let Se = this.isStart() && this.isEnd() && !this.#n.some((je) => typeof je != "string"), ye = this.#n.map((je) => {
            let [Oe, A, se, he] = typeof je == "string" ? Wt.#w(je, this.#t, Se) : je.toRegExpSource(G);
            return this.#t = this.#t || se, this.#r = this.#r || he, Oe;
          }).join(""), Be = "";
          if (this.isStart() && typeof this.#n[0] == "string" && !(this.#n.length === 1 && N.has(this.#n[0]))) {
            let je = O, Oe = X && je.has(ye.charAt(0)) || ye.startsWith("\\.") && je.has(ye.charAt(2)) || ye.startsWith("\\.\\.") && je.has(ye.charAt(4)), A = !X && !G && je.has(ye.charAt(0));
            Be = Oe ? x : A ? L : "";
          }
          let xe = "";
          return this.isEnd() && this.#e.#c && this.#a?.type === "!" && (xe = "(?:$|\\/)"), [
            Be + ye + xe,
            (0, q.unescape)(ye),
            this.#t = !!this.#t,
            this.#r
          ];
        }
        let ne = this.type === "*" || this.type === "+", I = this.type === "!" ? "(?:(?!(?:" : "(?:", M = this.#v(X);
        if (this.isStart() && this.isEnd() && !M && this.type !== "!") {
          let Se = this.toString();
          return this.#n = [Se], this.type = null, this.#t = void 0, [
            Se,
            (0, q.unescape)(this.toString()),
            !1,
            !1
          ];
        }
        let ee = !ne || G || X || !L ? "" : this.#v(!0);
        ee === M && (ee = ""), ee && (M = `(?:${M})(?:${ee})*?`);
        let Ae = "";
        if (this.type === "!" && this.#h) Ae = (this.isStart() && !X ? L : "") + V;
        else {
          let Se = this.type === "!" ? "))" + (this.isStart() && !X && !G ? L : "") + _e + ")" : this.type === "@" ? ")" : this.type === "?" ? ")?" : this.type === "+" && ee ? ")" : this.type === "*" && ee ? ")?" : `)${this.type}`;
          Ae = I + M + Se;
        }
        return [
          Ae,
          (0, q.unescape)(M),
          this.#t = !!this.#t,
          this.#r
        ];
      }
      #v(G) {
        return this.#n.map((X) => {
          if (typeof X == "string") throw new Error("string type in extglob ast??");
          let [ne, I, M, ee] = X.toRegExpSource(G);
          return this.#r = this.#r || ee, ne;
        }).filter((X) => !(this.isStart() && this.isEnd()) || !!X).join("|");
      }
      static #w(G, X, ne = !1) {
        let I = !1, M = "", ee = !1, Ae = !1;
        for (let Se = 0; Se < G.length; Se++) {
          let ye = G.charAt(Se);
          if (I) {
            I = !1, M += (K.has(ye) ? "\\" : "") + ye;
            continue;
          }
          if (ye === "*") {
            if (Ae) continue;
            Ae = !0, M += ne && /^[*]+$/.test(G) ? V : _e, X = !0;
            continue;
          } else Ae = !1;
          if (ye === "\\") {
            Se === G.length - 1 ? M += "\\\\" : I = !0;
            continue;
          }
          if (ye === "[") {
            let [Be, xe, je, Oe] = (0, F.parseClass)(G, Se);
            if (je) {
              M += Be, ee = ee || xe, Se += je - 1, X = X || Oe;
              continue;
            }
          }
          if (ye === "?") {
            M += pe, X = !0;
            continue;
          }
          M += oe(ye);
        }
        return [
          M,
          (0, q.unescape)(G),
          !!X,
          ee
        ];
      }
    };
  }), l = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.escape = void 0;
    var F = (q, { windowsPathsNoEscape: W = !1, magicalBraces: P = !1 } = {}) => P ? W ? q.replace(/[?*()[\]{}]/g, "[$&]") : q.replace(/[?*()[\]\\{}]/g, "\\$&") : W ? q.replace(/[?*()[\]]/g, "[$&]") : q.replace(/[?*()[\]\\]/g, "\\$&");
    k.escape = F;
  }), u = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.unescape = k.escape = k.AST = k.Minimatch = k.match = k.makeRe = k.braceExpand = k.defaults = k.filter = k.GLOBSTAR = k.sep = k.minimatch = void 0;
    var F = i(), q = s(), W = n(), P = l(), x = a(), L = (te, le, ce = {}) => ((0, q.assertValidPattern)(le), !ce.nocomment && le.charAt(0) === "#" ? !1 : new Z(le, ce).match(te));
    k.minimatch = L;
    var O = /^\*+([^+@!?\*\[\(]*)$/, N = (te) => (le) => !le.startsWith(".") && le.endsWith(te), K = (te) => (le) => le.endsWith(te), oe = (te) => (te = te.toLowerCase(), (le) => !le.startsWith(".") && le.toLowerCase().endsWith(te)), pe = (te) => (te = te.toLowerCase(), (le) => le.toLowerCase().endsWith(te)), _e = /^\*+\.\*+$/, V = (te) => !te.startsWith(".") && te.includes("."), B = (te) => te !== "." && te !== ".." && te.includes("."), G = /^\.\*+$/, X = (te) => te !== "." && te !== ".." && te.startsWith("."), ne = /^\*+$/, I = (te) => te.length !== 0 && !te.startsWith("."), M = (te) => te.length !== 0 && te !== "." && te !== "..", ee = /^\?+([^+@!?\*\[\(]*)?$/, Ae = ([te, le = ""]) => {
      let ce = xe([te]);
      return le ? (le = le.toLowerCase(), (fe) => ce(fe) && fe.toLowerCase().endsWith(le)) : ce;
    }, Se = ([te, le = ""]) => {
      let ce = je([te]);
      return le ? (le = le.toLowerCase(), (fe) => ce(fe) && fe.toLowerCase().endsWith(le)) : ce;
    }, ye = ([te, le = ""]) => {
      let ce = je([te]);
      return le ? (fe) => ce(fe) && fe.endsWith(le) : ce;
    }, Be = ([te, le = ""]) => {
      let ce = xe([te]);
      return le ? (fe) => ce(fe) && fe.endsWith(le) : ce;
    }, xe = ([te]) => {
      let le = te.length;
      return (ce) => ce.length === le && !ce.startsWith(".");
    }, je = ([te]) => {
      let le = te.length;
      return (ce) => ce.length === le && ce !== "." && ce !== "..";
    }, Oe = typeof process == "object" && process ? typeof process.env == "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix", A = {
      win32: { sep: "\\" },
      posix: { sep: "/" }
    };
    k.sep = Oe === "win32" ? A.win32.sep : A.posix.sep, k.minimatch.sep = k.sep, k.GLOBSTAR = /* @__PURE__ */ Symbol("globstar **"), k.minimatch.GLOBSTAR = k.GLOBSTAR;
    var se = "[^/]*?", he = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?", de = "(?:(?!(?:\\/|^)\\.).)*?", re = (te, le = {}) => (ce) => (0, k.minimatch)(ce, te, le);
    k.filter = re, k.minimatch.filter = k.filter;
    var Q = (te, le = {}) => Object.assign({}, te, le), ie = (te) => {
      if (!te || typeof te != "object" || !Object.keys(te).length) return k.minimatch;
      let le = k.minimatch;
      return Object.assign((ce, fe, be = {}) => le(ce, fe, Q(te, be)), {
        Minimatch: class extends le.Minimatch {
          constructor(ce, fe = {}) {
            super(ce, Q(te, fe));
          }
          static defaults(ce) {
            return le.defaults(Q(te, ce)).Minimatch;
          }
        },
        AST: class extends le.AST {
          constructor(ce, fe, be = {}) {
            super(ce, fe, Q(te, be));
          }
          static fromGlob(ce, fe = {}) {
            return le.AST.fromGlob(ce, Q(te, fe));
          }
        },
        unescape: (ce, fe = {}) => le.unescape(ce, Q(te, fe)),
        escape: (ce, fe = {}) => le.escape(ce, Q(te, fe)),
        filter: (ce, fe = {}) => le.filter(ce, Q(te, fe)),
        defaults: (ce) => le.defaults(Q(te, ce)),
        makeRe: (ce, fe = {}) => le.makeRe(ce, Q(te, fe)),
        braceExpand: (ce, fe = {}) => le.braceExpand(ce, Q(te, fe)),
        match: (ce, fe, be = {}) => le.match(ce, fe, Q(te, be)),
        sep: le.sep,
        GLOBSTAR: k.GLOBSTAR
      });
    };
    k.defaults = ie, k.minimatch.defaults = k.defaults;
    var ae = (te, le = {}) => ((0, q.assertValidPattern)(te), le.nobrace || !/\{(?:(?!\{).)*\}/.test(te) ? [te] : (0, F.expand)(te, { max: le.braceExpandMax }));
    k.braceExpand = ae, k.minimatch.braceExpand = k.braceExpand;
    var Ee = (te, le = {}) => new Z(te, le).makeRe();
    k.makeRe = Ee, k.minimatch.makeRe = k.makeRe;
    var Fe = (te, le, ce = {}) => {
      let fe = new Z(le, ce);
      return te = te.filter((be) => fe.match(be)), fe.options.nonull && !te.length && te.push(le), te;
    };
    k.match = Fe, k.minimatch.match = k.match;
    var Ce = /[?*]|[+@!]\(.*?\)|\[|\]/, Re = (te) => te.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), Z = class {
      options;
      set;
      pattern;
      windowsPathsNoEscape;
      nonegate;
      negate;
      comment;
      empty;
      preserveMultipleSlashes;
      partial;
      globSet;
      globParts;
      nocase;
      isWindows;
      platform;
      windowsNoMagicRoot;
      regexp;
      constructor(te, le = {}) {
        (0, q.assertValidPattern)(te), le = le || {}, this.options = le, this.pattern = te, this.platform = le.platform || Oe, this.isWindows = this.platform === "win32", this.windowsPathsNoEscape = !!le.windowsPathsNoEscape || le.allowWindowsEscape === !1, this.windowsPathsNoEscape && (this.pattern = this.pattern.replace(/\\/g, "/")), this.preserveMultipleSlashes = !!le.preserveMultipleSlashes, this.regexp = null, this.negate = !1, this.nonegate = !!le.nonegate, this.comment = !1, this.empty = !1, this.partial = !!le.partial, this.nocase = !!this.options.nocase, this.windowsNoMagicRoot = le.windowsNoMagicRoot !== void 0 ? le.windowsNoMagicRoot : !!(this.isWindows && this.nocase), this.globSet = [], this.globParts = [], this.set = [], this.make();
      }
      hasMagic() {
        if (this.options.magicalBraces && this.set.length > 1) return !0;
        for (let te of this.set) for (let le of te) if (typeof le != "string") return !0;
        return !1;
      }
      debug(...te) {
      }
      make() {
        let te = this.pattern, le = this.options;
        if (!le.nocomment && te.charAt(0) === "#") {
          this.comment = !0;
          return;
        }
        if (!te) {
          this.empty = !0;
          return;
        }
        this.parseNegate(), this.globSet = [...new Set(this.braceExpand())], le.debug && (this.debug = (...be) => console.error(...be)), this.debug(this.pattern, this.globSet);
        let ce = this.globSet.map((be) => this.slashSplit(be));
        this.globParts = this.preprocess(ce), this.debug(this.pattern, this.globParts);
        let fe = this.globParts.map((be, $e, R) => {
          if (this.isWindows && this.windowsNoMagicRoot) {
            let J = be[0] === "" && be[1] === "" && (be[2] === "?" || !Ce.test(be[2])) && !Ce.test(be[3]), ue = /^[a-z]:/i.test(be[0]);
            if (J) return [...be.slice(0, 4), ...be.slice(4).map((we) => this.parse(we))];
            if (ue) return [be[0], ...be.slice(1).map((we) => this.parse(we))];
          }
          return be.map((J) => this.parse(J));
        });
        if (this.debug(this.pattern, fe), this.set = fe.filter((be) => be.indexOf(!1) === -1), this.isWindows) for (let be = 0; be < this.set.length; be++) {
          let $e = this.set[be];
          $e[0] === "" && $e[1] === "" && this.globParts[be][2] === "?" && typeof $e[3] == "string" && /^[a-z]:$/i.test($e[3]) && ($e[2] = "?");
        }
        this.debug(this.pattern, this.set);
      }
      preprocess(te) {
        if (this.options.noglobstar) for (let ce = 0; ce < te.length; ce++) for (let fe = 0; fe < te[ce].length; fe++) te[ce][fe] === "**" && (te[ce][fe] = "*");
        let { optimizationLevel: le = 1 } = this.options;
        return le >= 2 ? (te = this.firstPhasePreProcess(te), te = this.secondPhasePreProcess(te)) : le >= 1 ? te = this.levelOneOptimize(te) : te = this.adjascentGlobstarOptimize(te), te;
      }
      adjascentGlobstarOptimize(te) {
        return te.map((le) => {
          let ce = -1;
          for (; (ce = le.indexOf("**", ce + 1)) !== -1; ) {
            let fe = ce;
            for (; le[fe + 1] === "**"; ) fe++;
            fe !== ce && le.splice(ce, fe - ce);
          }
          return le;
        });
      }
      levelOneOptimize(te) {
        return te.map((le) => (le = le.reduce((ce, fe) => {
          let be = ce[ce.length - 1];
          return fe === "**" && be === "**" ? ce : fe === ".." && be && be !== ".." && be !== "." && be !== "**" ? (ce.pop(), ce) : (ce.push(fe), ce);
        }, []), le.length === 0 ? [""] : le));
      }
      levelTwoFileOptimize(te) {
        Array.isArray(te) || (te = this.slashSplit(te));
        let le = !1;
        do {
          if (le = !1, !this.preserveMultipleSlashes) {
            for (let fe = 1; fe < te.length - 1; fe++) {
              let be = te[fe];
              fe === 1 && be === "" && te[0] === "" || (be === "." || be === "") && (le = !0, te.splice(fe, 1), fe--);
            }
            te[0] === "." && te.length === 2 && (te[1] === "." || te[1] === "") && (le = !0, te.pop());
          }
          let ce = 0;
          for (; (ce = te.indexOf("..", ce + 1)) !== -1; ) {
            let fe = te[ce - 1];
            fe && fe !== "." && fe !== ".." && fe !== "**" && (le = !0, te.splice(ce - 1, 2), ce -= 2);
          }
        } while (le);
        return te.length === 0 ? [""] : te;
      }
      firstPhasePreProcess(te) {
        let le = !1;
        do {
          le = !1;
          for (let ce of te) {
            let fe = -1;
            for (; (fe = ce.indexOf("**", fe + 1)) !== -1; ) {
              let $e = fe;
              for (; ce[$e + 1] === "**"; ) $e++;
              $e > fe && ce.splice(fe + 1, $e - fe);
              let R = ce[fe + 1], J = ce[fe + 2], ue = ce[fe + 3];
              if (R !== ".." || !J || J === "." || J === ".." || !ue || ue === "." || ue === "..") continue;
              le = !0, ce.splice(fe, 1);
              let we = ce.slice(0);
              we[fe] = "**", te.push(we), fe--;
            }
            if (!this.preserveMultipleSlashes) {
              for (let $e = 1; $e < ce.length - 1; $e++) {
                let R = ce[$e];
                $e === 1 && R === "" && ce[0] === "" || (R === "." || R === "") && (le = !0, ce.splice($e, 1), $e--);
              }
              ce[0] === "." && ce.length === 2 && (ce[1] === "." || ce[1] === "") && (le = !0, ce.pop());
            }
            let be = 0;
            for (; (be = ce.indexOf("..", be + 1)) !== -1; ) {
              let $e = ce[be - 1];
              if ($e && $e !== "." && $e !== ".." && $e !== "**") {
                le = !0;
                let R = be === 1 && ce[be + 1] === "**" ? ["."] : [];
                ce.splice(be - 1, 2, ...R), ce.length === 0 && ce.push(""), be -= 2;
              }
            }
          }
        } while (le);
        return te;
      }
      secondPhasePreProcess(te) {
        for (let le = 0; le < te.length - 1; le++) for (let ce = le + 1; ce < te.length; ce++) {
          let fe = this.partsMatch(te[le], te[ce], !this.preserveMultipleSlashes);
          if (fe) {
            te[le] = [], te[ce] = fe;
            break;
          }
        }
        return te.filter((le) => le.length);
      }
      partsMatch(te, le, ce = !1) {
        let fe = 0, be = 0, $e = [], R = "";
        for (; fe < te.length && be < le.length; ) if (te[fe] === le[be]) $e.push(R === "b" ? le[be] : te[fe]), fe++, be++;
        else if (ce && te[fe] === "**" && le[be] === te[fe + 1]) $e.push(te[fe]), fe++;
        else if (ce && le[be] === "**" && te[fe] === le[be + 1]) $e.push(le[be]), be++;
        else if (te[fe] === "*" && le[be] && (this.options.dot || !le[be].startsWith(".")) && le[be] !== "**") {
          if (R === "b") return !1;
          R = "a", $e.push(te[fe]), fe++, be++;
        } else if (le[be] === "*" && te[fe] && (this.options.dot || !te[fe].startsWith(".")) && te[fe] !== "**") {
          if (R === "a") return !1;
          R = "b", $e.push(le[be]), fe++, be++;
        } else return !1;
        return te.length === le.length && $e;
      }
      parseNegate() {
        if (this.nonegate) return;
        let te = this.pattern, le = !1, ce = 0;
        for (let fe = 0; fe < te.length && te.charAt(fe) === "!"; fe++) le = !le, ce++;
        ce && (this.pattern = te.slice(ce)), this.negate = le;
      }
      matchOne(te, le, ce = !1) {
        let fe = this.options;
        if (this.isWindows) {
          let et = typeof te[0] == "string" && /^[a-z]:$/i.test(te[0]), rt = !et && te[0] === "" && te[1] === "" && te[2] === "?" && /^[a-z]:$/i.test(te[3]), Xe = typeof le[0] == "string" && /^[a-z]:$/i.test(le[0]), ot = !Xe && le[0] === "" && le[1] === "" && le[2] === "?" && typeof le[3] == "string" && /^[a-z]:$/i.test(le[3]), ct = rt ? 3 : et ? 0 : void 0, yt = ot ? 3 : Xe ? 0 : void 0;
          if (typeof ct == "number" && typeof yt == "number") {
            let [vt, Rt] = [te[ct], le[yt]];
            vt.toLowerCase() === Rt.toLowerCase() && (le[yt] = vt, yt > ct ? le = le.slice(yt) : ct > yt && (te = te.slice(ct)));
          }
        }
        let { optimizationLevel: be = 1 } = this.options;
        be >= 2 && (te = this.levelTwoFileOptimize(te)), this.debug("matchOne", this, {
          file: te,
          pattern: le
        }), this.debug("matchOne", te.length, le.length);
        for (var $e = 0, R = 0, J = te.length, ue = le.length; $e < J && R < ue; $e++, R++) {
          this.debug("matchOne loop");
          var we = le[R], Ne = te[$e];
          if (this.debug(le, we, Ne), we === !1) return !1;
          if (we === k.GLOBSTAR) {
            this.debug("GLOBSTAR", [
              le,
              we,
              Ne
            ]);
            var Ue = $e, He = R + 1;
            if (He === ue) {
              for (this.debug("** at the end"); $e < J; $e++) if (te[$e] === "." || te[$e] === ".." || !fe.dot && te[$e].charAt(0) === ".") return !1;
              return !0;
            }
            for (; Ue < J; ) {
              var Ge = te[Ue];
              if (this.debug(`
globstar while`, te, Ue, le, He, Ge), this.matchOne(te.slice(Ue), le.slice(He), ce)) return this.debug("globstar found match!", Ue, J, Ge), !0;
              if (Ge === "." || Ge === ".." || !fe.dot && Ge.charAt(0) === ".") {
                this.debug("dot detected!", te, Ue, le, He);
                break;
              }
              this.debug("globstar swallow a segment, and continue"), Ue++;
            }
            return !!(ce && (this.debug(`
>>> no match, partial?`, te, Ue, le, He), Ue === J));
          }
          let et;
          if (typeof we == "string" ? (et = Ne === we, this.debug("string match", we, Ne, et)) : (et = we.test(Ne), this.debug("pattern match", we, Ne, et)), !et) return !1;
        }
        if ($e === J && R === ue) return !0;
        if ($e === J) return ce;
        if (R === ue) return $e === J - 1 && te[$e] === "";
        throw new Error("wtf?");
      }
      braceExpand() {
        return (0, k.braceExpand)(this.pattern, this.options);
      }
      parse(te) {
        (0, q.assertValidPattern)(te);
        let le = this.options;
        if (te === "**") return k.GLOBSTAR;
        if (te === "") return "";
        let ce, fe = null;
        (ce = te.match(ne)) ? fe = le.dot ? M : I : (ce = te.match(O)) ? fe = (le.nocase ? le.dot ? pe : oe : le.dot ? K : N)(ce[1]) : (ce = te.match(ee)) ? fe = (le.nocase ? le.dot ? Se : Ae : le.dot ? ye : Be)(ce) : (ce = te.match(_e)) ? fe = le.dot ? B : V : (ce = te.match(G)) && (fe = X);
        let be = W.AST.fromGlob(te, this.options).toMMPattern();
        return fe && typeof be == "object" && Reflect.defineProperty(be, "test", { value: fe }), be;
      }
      makeRe() {
        if (this.regexp || this.regexp === !1) return this.regexp;
        let te = this.set;
        if (!te.length) return this.regexp = !1, this.regexp;
        let le = this.options, ce = le.noglobstar ? se : le.dot ? he : de, fe = new Set(le.nocase ? ["i"] : []), be = te.map((J) => {
          let ue = J.map((Ne) => {
            if (Ne instanceof RegExp) for (let Ue of Ne.flags.split("")) fe.add(Ue);
            return typeof Ne == "string" ? Re(Ne) : Ne === k.GLOBSTAR ? k.GLOBSTAR : Ne._src;
          });
          ue.forEach((Ne, Ue) => {
            let He = ue[Ue + 1], Ge = ue[Ue - 1];
            Ne !== k.GLOBSTAR || Ge === k.GLOBSTAR || (Ge === void 0 ? He !== void 0 && He !== k.GLOBSTAR ? ue[Ue + 1] = "(?:\\/|" + ce + "\\/)?" + He : ue[Ue] = ce : He === void 0 ? ue[Ue - 1] = Ge + "(?:\\/|\\/" + ce + ")?" : He !== k.GLOBSTAR && (ue[Ue - 1] = Ge + "(?:\\/|\\/" + ce + "\\/)" + He, ue[Ue + 1] = k.GLOBSTAR));
          });
          let we = ue.filter((Ne) => Ne !== k.GLOBSTAR);
          if (this.partial && we.length >= 1) {
            let Ne = [];
            for (let Ue = 1; Ue <= we.length; Ue++) Ne.push(we.slice(0, Ue).join("/"));
            return "(?:" + Ne.join("|") + ")";
          }
          return we.join("/");
        }).join("|"), [$e, R] = te.length > 1 ? ["(?:", ")"] : ["", ""];
        be = "^" + $e + be + R + "$", this.partial && (be = "^(?:\\/|" + $e + be.slice(1, -1) + R + ")$"), this.negate && (be = "^(?!" + be + ").+$");
        try {
          this.regexp = new RegExp(be, [...fe].join(""));
        } catch {
          this.regexp = !1;
        }
        return this.regexp;
      }
      slashSplit(te) {
        return this.preserveMultipleSlashes ? te.split("/") : this.isWindows && /^\/\/[^\/]+/.test(te) ? ["", ...te.split(/\/+/)] : te.split(/\/+/);
      }
      match(te, le = this.partial) {
        if (this.debug("match", te, this.pattern), this.comment) return !1;
        if (this.empty) return te === "";
        if (te === "/" && le) return !0;
        let ce = this.options;
        this.isWindows && (te = te.split("\\").join("/"));
        let fe = this.slashSplit(te);
        this.debug(this.pattern, "split", fe);
        let be = this.set;
        this.debug(this.pattern, "set", be);
        let $e = fe[fe.length - 1];
        if (!$e) for (let R = fe.length - 2; !$e && R >= 0; R--) $e = fe[R];
        for (let R = 0; R < be.length; R++) {
          let J = be[R], ue = fe;
          if (ce.matchBase && J.length === 1 && (ue = [$e]), this.matchOne(ue, J, le)) return ce.flipNegate ? !0 : !this.negate;
        }
        return ce.flipNegate ? !1 : this.negate;
      }
      static defaults(te) {
        return k.minimatch.defaults(te).Minimatch;
      }
    };
    k.Minimatch = Z;
    var ge = n();
    Object.defineProperty(k, "AST", {
      enumerable: !0,
      get: function() {
        return ge.AST;
      }
    });
    var Te = l();
    Object.defineProperty(k, "escape", {
      enumerable: !0,
      get: function() {
        return Te.escape;
      }
    });
    var De = a();
    Object.defineProperty(k, "unescape", {
      enumerable: !0,
      get: function() {
        return De.unescape;
      }
    }), k.minimatch.AST = W.AST, k.minimatch.Minimatch = Z, k.minimatch.escape = P.escape, k.minimatch.unescape = x.unescape;
  }), f = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.LRUCache = void 0;
    var F = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, q = /* @__PURE__ */ new Set(), W = typeof process == "object" && process ? process : {}, P = (_e, V, B, G) => {
      typeof W.emitWarning == "function" ? W.emitWarning(_e, V, B, G) : console.error(`[${B}] ${V}: ${_e}`);
    }, x = globalThis.AbortController, L = globalThis.AbortSignal;
    if (typeof x > "u") {
      L = class {
        onabort;
        _onabort = [];
        reason;
        aborted = !1;
        addEventListener(B, G) {
          this._onabort.push(G);
        }
      }, x = class {
        constructor() {
          V();
        }
        signal = new L();
        abort(B) {
          if (!this.signal.aborted) {
            this.signal.reason = B, this.signal.aborted = !0;
            for (let G of this.signal._onabort) G(B);
            this.signal.onabort?.(B);
          }
        }
      };
      let _e = W.env?.LRU_CACHE_IGNORE_AC_WARNING !== "1", V = () => {
        _e && (_e = !1, P("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.", "NO_ABORT_CONTROLLER", "ENOTSUP", V));
      };
    }
    var O = (_e) => !q.has(_e), N = (_e) => _e && _e === Math.floor(_e) && _e > 0 && isFinite(_e), K = (_e) => N(_e) ? _e <= Math.pow(2, 8) ? Uint8Array : _e <= Math.pow(2, 16) ? Uint16Array : _e <= Math.pow(2, 32) ? Uint32Array : _e <= Number.MAX_SAFE_INTEGER ? oe : null : null, oe = class extends Array {
      constructor(_e) {
        super(_e), this.fill(0);
      }
    }, pe = class Bi {
      heap;
      length;
      static #e = !1;
      static create(V) {
        let B = K(V);
        if (!B) return [];
        Bi.#e = !0;
        let G = new Bi(V, B);
        return Bi.#e = !1, G;
      }
      constructor(V, B) {
        if (!Bi.#e) throw new TypeError("instantiate Stack using Stack.create(n)");
        this.heap = new B(V), this.length = 0;
      }
      push(V) {
        this.heap[this.length++] = V;
      }
      pop() {
        return this.heap[--this.length];
      }
    };
    k.LRUCache = class id {
      #e;
      #t;
      #r;
      #n;
      #a;
      #l;
      #f;
      #c;
      get perf() {
        return this.#c;
      }
      ttl;
      ttlResolution;
      ttlAutopurge;
      updateAgeOnGet;
      updateAgeOnHas;
      allowStale;
      noDisposeOnSet;
      noUpdateTTL;
      maxEntrySize;
      sizeCalculation;
      noDeleteOnFetchRejection;
      noDeleteOnStaleGet;
      allowStaleOnFetchAbort;
      allowStaleOnFetchRejection;
      ignoreFetchAbort;
      #o;
      #p;
      #h;
      #u;
      #i;
      #v;
      #w;
      #y;
      #g;
      #T;
      #m;
      #S;
      #C;
      #_;
      #E;
      #A;
      #R;
      #s;
      #F;
      static unsafeExposeInternals(V) {
        return {
          starts: V.#C,
          ttls: V.#_,
          autopurgeTimers: V.#E,
          sizes: V.#S,
          keyMap: V.#h,
          keyList: V.#u,
          valList: V.#i,
          next: V.#v,
          prev: V.#w,
          get head() {
            return V.#y;
          },
          get tail() {
            return V.#g;
          },
          free: V.#T,
          isBackgroundFetch: (B) => V.#b(B),
          backgroundFetch: (B, G, X, ne) => V.#H(B, G, X, ne),
          moveToTail: (B) => V.#B(B),
          indexes: (B) => V.#O(B),
          rindexes: (B) => V.#I(B),
          isStale: (B) => V.#D(B)
        };
      }
      get max() {
        return this.#e;
      }
      get maxSize() {
        return this.#t;
      }
      get calculatedSize() {
        return this.#p;
      }
      get size() {
        return this.#o;
      }
      get fetchMethod() {
        return this.#l;
      }
      get memoMethod() {
        return this.#f;
      }
      get dispose() {
        return this.#r;
      }
      get onInsert() {
        return this.#n;
      }
      get disposeAfter() {
        return this.#a;
      }
      constructor(V) {
        let { max: B = 0, ttl: G, ttlResolution: X = 1, ttlAutopurge: ne, updateAgeOnGet: I, updateAgeOnHas: M, allowStale: ee, dispose: Ae, onInsert: Se, disposeAfter: ye, noDisposeOnSet: Be, noUpdateTTL: xe, maxSize: je = 0, maxEntrySize: Oe = 0, sizeCalculation: A, fetchMethod: se, memoMethod: he, noDeleteOnFetchRejection: de, noDeleteOnStaleGet: re, allowStaleOnFetchRejection: Q, allowStaleOnFetchAbort: ie, ignoreFetchAbort: ae, perf: Ee } = V;
        if (Ee !== void 0 && typeof Ee?.now != "function") throw new TypeError("perf option must have a now() method if specified");
        if (this.#c = Ee ?? F, B !== 0 && !N(B)) throw new TypeError("max option must be a nonnegative integer");
        let Fe = B ? K(B) : Array;
        if (!Fe) throw new Error("invalid max value: " + B);
        if (this.#e = B, this.#t = je, this.maxEntrySize = Oe || this.#t, this.sizeCalculation = A, this.sizeCalculation) {
          if (!this.#t && !this.maxEntrySize) throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");
          if (typeof this.sizeCalculation != "function") throw new TypeError("sizeCalculation set to non-function");
        }
        if (he !== void 0 && typeof he != "function") throw new TypeError("memoMethod must be a function if defined");
        if (this.#f = he, se !== void 0 && typeof se != "function") throw new TypeError("fetchMethod must be a function if specified");
        if (this.#l = se, this.#R = !!se, this.#h = /* @__PURE__ */ new Map(), this.#u = new Array(B).fill(void 0), this.#i = new Array(B).fill(void 0), this.#v = new Fe(B), this.#w = new Fe(B), this.#y = 0, this.#g = 0, this.#T = pe.create(B), this.#o = 0, this.#p = 0, typeof Ae == "function" && (this.#r = Ae), typeof Se == "function" && (this.#n = Se), typeof ye == "function" ? (this.#a = ye, this.#m = []) : (this.#a = void 0, this.#m = void 0), this.#A = !!this.#r, this.#F = !!this.#n, this.#s = !!this.#a, this.noDisposeOnSet = !!Be, this.noUpdateTTL = !!xe, this.noDeleteOnFetchRejection = !!de, this.allowStaleOnFetchRejection = !!Q, this.allowStaleOnFetchAbort = !!ie, this.ignoreFetchAbort = !!ae, this.maxEntrySize !== 0) {
          if (this.#t !== 0 && !N(this.#t)) throw new TypeError("maxSize must be a positive integer if specified");
          if (!N(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
          this.#W();
        }
        if (this.allowStale = !!ee, this.noDeleteOnStaleGet = !!re, this.updateAgeOnGet = !!I, this.updateAgeOnHas = !!M, this.ttlResolution = N(X) || X === 0 ? X : 1, this.ttlAutopurge = !!ne, this.ttl = G || 0, this.ttl) {
          if (!N(this.ttl)) throw new TypeError("ttl must be a positive integer if specified");
          this.#N();
        }
        if (this.#e === 0 && this.ttl === 0 && this.#t === 0) throw new TypeError("At least one of max, maxSize, or ttl is required");
        if (!this.ttlAutopurge && !this.#e && !this.#t) {
          let Ce = "LRU_CACHE_UNBOUNDED";
          O(Ce) && (q.add(Ce), P("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", Ce, id));
        }
      }
      getRemainingTTL(V) {
        return this.#h.has(V) ? 1 / 0 : 0;
      }
      #N() {
        let V = new oe(this.#e), B = new oe(this.#e);
        this.#_ = V, this.#C = B;
        let G = this.ttlAutopurge ? new Array(this.#e) : void 0;
        this.#E = G, this.#M = (I, M, ee = this.#c.now()) => {
          if (B[I] = M !== 0 ? ee : 0, V[I] = M, G?.[I] && (clearTimeout(G[I]), G[I] = void 0), M !== 0 && G) {
            let Ae = setTimeout(() => {
              this.#D(I) && this.#d(this.#u[I], "expire");
            }, M + 1);
            Ae.unref && Ae.unref(), G[I] = Ae;
          }
        }, this.#k = (I) => {
          B[I] = V[I] !== 0 ? this.#c.now() : 0;
        }, this.#L = (I, M) => {
          if (V[M]) {
            let ee = V[M], Ae = B[M];
            if (!ee || !Ae) return;
            I.ttl = ee, I.start = Ae, I.now = X || ne(), I.remainingTTL = ee - (I.now - Ae);
          }
        };
        let X = 0, ne = () => {
          let I = this.#c.now();
          if (this.ttlResolution > 0) {
            X = I;
            let M = setTimeout(() => X = 0, this.ttlResolution);
            M.unref && M.unref();
          }
          return I;
        };
        this.getRemainingTTL = (I) => {
          let M = this.#h.get(I);
          if (M === void 0) return 0;
          let ee = V[M], Ae = B[M];
          return !ee || !Ae ? 1 / 0 : ee - ((X || ne()) - Ae);
        }, this.#D = (I) => {
          let M = B[I], ee = V[I];
          return !!ee && !!M && (X || ne()) - M > ee;
        };
      }
      #k = () => {
      };
      #L = () => {
      };
      #M = () => {
      };
      #D = () => !1;
      #W() {
        let V = new oe(this.#e);
        this.#p = 0, this.#S = V, this.#$ = (B) => {
          this.#p -= V[B], V[B] = 0;
        }, this.#j = (B, G, X, ne) => {
          if (this.#b(G)) return 0;
          if (!N(X)) if (ne) {
            if (typeof ne != "function") throw new TypeError("sizeCalculation must be a function");
            if (X = ne(G, B), !N(X)) throw new TypeError("sizeCalculation return invalid (expect positive integer)");
          } else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");
          return X;
        }, this.#x = (B, G, X) => {
          if (V[B] = G, this.#t) {
            let ne = this.#t - V[B];
            for (; this.#p > ne; ) this.#P(!0);
          }
          this.#p += V[B], X && (X.entrySize = G, X.totalCalculatedSize = this.#p);
        };
      }
      #$ = (V) => {
      };
      #x = (V, B, G) => {
      };
      #j = (V, B, G, X) => {
        if (G || X) throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");
        return 0;
      };
      *#O({ allowStale: V = this.allowStale } = {}) {
        if (this.#o) for (let B = this.#g; !(!this.#U(B) || ((V || !this.#D(B)) && (yield B), B === this.#y)); ) B = this.#w[B];
      }
      *#I({ allowStale: V = this.allowStale } = {}) {
        if (this.#o) for (let B = this.#y; !(!this.#U(B) || ((V || !this.#D(B)) && (yield B), B === this.#g)); ) B = this.#v[B];
      }
      #U(V) {
        return V !== void 0 && this.#h.get(this.#u[V]) === V;
      }
      *entries() {
        for (let V of this.#O()) this.#i[V] !== void 0 && this.#u[V] !== void 0 && !this.#b(this.#i[V]) && (yield [this.#u[V], this.#i[V]]);
      }
      *rentries() {
        for (let V of this.#I()) this.#i[V] !== void 0 && this.#u[V] !== void 0 && !this.#b(this.#i[V]) && (yield [this.#u[V], this.#i[V]]);
      }
      *keys() {
        for (let V of this.#O()) {
          let B = this.#u[V];
          B !== void 0 && !this.#b(this.#i[V]) && (yield B);
        }
      }
      *rkeys() {
        for (let V of this.#I()) {
          let B = this.#u[V];
          B !== void 0 && !this.#b(this.#i[V]) && (yield B);
        }
      }
      *values() {
        for (let V of this.#O()) this.#i[V] !== void 0 && !this.#b(this.#i[V]) && (yield this.#i[V]);
      }
      *rvalues() {
        for (let V of this.#I()) this.#i[V] !== void 0 && !this.#b(this.#i[V]) && (yield this.#i[V]);
      }
      [Symbol.iterator]() {
        return this.entries();
      }
      [Symbol.toStringTag] = "LRUCache";
      find(V, B = {}) {
        for (let G of this.#O()) {
          let X = this.#i[G], ne = this.#b(X) ? X.__staleWhileFetching : X;
          if (ne !== void 0 && V(ne, this.#u[G], this)) return this.get(this.#u[G], B);
        }
      }
      forEach(V, B = this) {
        for (let G of this.#O()) {
          let X = this.#i[G], ne = this.#b(X) ? X.__staleWhileFetching : X;
          ne !== void 0 && V.call(B, ne, this.#u[G], this);
        }
      }
      rforEach(V, B = this) {
        for (let G of this.#I()) {
          let X = this.#i[G], ne = this.#b(X) ? X.__staleWhileFetching : X;
          ne !== void 0 && V.call(B, ne, this.#u[G], this);
        }
      }
      purgeStale() {
        let V = !1;
        for (let B of this.#I({ allowStale: !0 })) this.#D(B) && (this.#d(this.#u[B], "expire"), V = !0);
        return V;
      }
      info(V) {
        let B = this.#h.get(V);
        if (B === void 0) return;
        let G = this.#i[B], X = this.#b(G) ? G.__staleWhileFetching : G;
        if (X === void 0) return;
        let ne = { value: X };
        if (this.#_ && this.#C) {
          let I = this.#_[B], M = this.#C[B];
          I && M && (ne.ttl = I - (this.#c.now() - M), ne.start = Date.now());
        }
        return this.#S && (ne.size = this.#S[B]), ne;
      }
      dump() {
        let V = [];
        for (let B of this.#O({ allowStale: !0 })) {
          let G = this.#u[B], X = this.#i[B], ne = this.#b(X) ? X.__staleWhileFetching : X;
          if (ne === void 0 || G === void 0) continue;
          let I = { value: ne };
          if (this.#_ && this.#C) {
            I.ttl = this.#_[B];
            let M = this.#c.now() - this.#C[B];
            I.start = Math.floor(Date.now() - M);
          }
          this.#S && (I.size = this.#S[B]), V.unshift([G, I]);
        }
        return V;
      }
      load(V) {
        this.clear();
        for (let [B, G] of V) {
          if (G.start) {
            let X = Date.now() - G.start;
            G.start = this.#c.now() - X;
          }
          this.set(B, G.value, G);
        }
      }
      set(V, B, G = {}) {
        if (B === void 0) return this.delete(V), this;
        let { ttl: X = this.ttl, start: ne, noDisposeOnSet: I = this.noDisposeOnSet, sizeCalculation: M = this.sizeCalculation, status: ee } = G, { noUpdateTTL: Ae = this.noUpdateTTL } = G, Se = this.#j(V, B, G.size || 0, M);
        if (this.maxEntrySize && Se > this.maxEntrySize) return ee && (ee.set = "miss", ee.maxEntrySizeExceeded = !0), this.#d(V, "set"), this;
        let ye = this.#o === 0 ? void 0 : this.#h.get(V);
        if (ye === void 0) ye = this.#o === 0 ? this.#g : this.#T.length !== 0 ? this.#T.pop() : this.#o === this.#e ? this.#P(!1) : this.#o, this.#u[ye] = V, this.#i[ye] = B, this.#h.set(V, ye), this.#v[this.#g] = ye, this.#w[ye] = this.#g, this.#g = ye, this.#o++, this.#x(ye, Se, ee), ee && (ee.set = "add"), Ae = !1, this.#F && this.#n?.(B, V, "add");
        else {
          this.#B(ye);
          let Be = this.#i[ye];
          if (B !== Be) {
            if (this.#R && this.#b(Be)) {
              Be.__abortController.abort(/* @__PURE__ */ new Error("replaced"));
              let { __staleWhileFetching: xe } = Be;
              xe !== void 0 && !I && (this.#A && this.#r?.(xe, V, "set"), this.#s && this.#m?.push([
                xe,
                V,
                "set"
              ]));
            } else I || (this.#A && this.#r?.(Be, V, "set"), this.#s && this.#m?.push([
              Be,
              V,
              "set"
            ]));
            if (this.#$(ye), this.#x(ye, Se, ee), this.#i[ye] = B, ee) {
              ee.set = "replace";
              let xe = Be && this.#b(Be) ? Be.__staleWhileFetching : Be;
              xe !== void 0 && (ee.oldValue = xe);
            }
          } else ee && (ee.set = "update");
          this.#F && this.onInsert?.(B, V, B === Be ? "update" : "replace");
        }
        if (X !== 0 && !this.#_ && this.#N(), this.#_ && (Ae || this.#M(ye, X, ne), ee && this.#L(ee, ye)), !I && this.#s && this.#m) {
          let Be = this.#m, xe;
          for (; xe = Be?.shift(); ) this.#a?.(...xe);
        }
        return this;
      }
      pop() {
        try {
          for (; this.#o; ) {
            let V = this.#i[this.#y];
            if (this.#P(!0), this.#b(V)) {
              if (V.__staleWhileFetching) return V.__staleWhileFetching;
            } else if (V !== void 0) return V;
          }
        } finally {
          if (this.#s && this.#m) {
            let V = this.#m, B;
            for (; B = V?.shift(); ) this.#a?.(...B);
          }
        }
      }
      #P(V) {
        let B = this.#y, G = this.#u[B], X = this.#i[B];
        return this.#R && this.#b(X) ? X.__abortController.abort(/* @__PURE__ */ new Error("evicted")) : (this.#A || this.#s) && (this.#A && this.#r?.(X, G, "evict"), this.#s && this.#m?.push([
          X,
          G,
          "evict"
        ])), this.#$(B), this.#E?.[B] && (clearTimeout(this.#E[B]), this.#E[B] = void 0), V && (this.#u[B] = void 0, this.#i[B] = void 0, this.#T.push(B)), this.#o === 1 ? (this.#y = this.#g = 0, this.#T.length = 0) : this.#y = this.#v[B], this.#h.delete(G), this.#o--, B;
      }
      has(V, B = {}) {
        let { updateAgeOnHas: G = this.updateAgeOnHas, status: X } = B, ne = this.#h.get(V);
        if (ne !== void 0) {
          let I = this.#i[ne];
          if (this.#b(I) && I.__staleWhileFetching === void 0) return !1;
          if (this.#D(ne)) X && (X.has = "stale", this.#L(X, ne));
          else return G && this.#k(ne), X && (X.has = "hit", this.#L(X, ne)), !0;
        } else X && (X.has = "miss");
        return !1;
      }
      peek(V, B = {}) {
        let { allowStale: G = this.allowStale } = B, X = this.#h.get(V);
        if (X === void 0 || !G && this.#D(X)) return;
        let ne = this.#i[X];
        return this.#b(ne) ? ne.__staleWhileFetching : ne;
      }
      #H(V, B, G, X) {
        let ne = B === void 0 ? void 0 : this.#i[B];
        if (this.#b(ne)) return ne;
        let I = new x(), { signal: M } = G;
        M?.addEventListener("abort", () => I.abort(M.reason), { signal: I.signal });
        let ee = {
          signal: I.signal,
          options: G,
          context: X
        }, Ae = (Oe, A = !1) => {
          let { aborted: se } = I.signal, he = G.ignoreFetchAbort && Oe !== void 0, de = G.ignoreFetchAbort || !!(G.allowStaleOnFetchAbort && Oe !== void 0);
          if (G.status && (se && !A ? (G.status.fetchAborted = !0, G.status.fetchError = I.signal.reason, he && (G.status.fetchAbortIgnored = !0)) : G.status.fetchResolved = !0), se && !he && !A) return ye(I.signal.reason, de);
          let re = xe, Q = this.#i[B];
          return (Q === xe || he && A && Q === void 0) && (Oe === void 0 ? re.__staleWhileFetching !== void 0 ? this.#i[B] = re.__staleWhileFetching : this.#d(V, "fetch") : (G.status && (G.status.fetchUpdated = !0), this.set(V, Oe, ee.options))), Oe;
        }, Se = (Oe) => (G.status && (G.status.fetchRejected = !0, G.status.fetchError = Oe), ye(Oe, !1)), ye = (Oe, A) => {
          let { aborted: se } = I.signal, he = se && G.allowStaleOnFetchAbort, de = he || G.allowStaleOnFetchRejection, re = de || G.noDeleteOnFetchRejection, Q = xe;
          if (this.#i[B] === xe && (!re || !A && Q.__staleWhileFetching === void 0 ? this.#d(V, "fetch") : he || (this.#i[B] = Q.__staleWhileFetching)), de) return G.status && Q.__staleWhileFetching !== void 0 && (G.status.returnedStale = !0), Q.__staleWhileFetching;
          if (Q.__returned === Q) throw Oe;
        }, Be = (Oe, A) => {
          let se = this.#l?.(V, ne, ee);
          se && se instanceof Promise && se.then((he) => Oe(he === void 0 ? void 0 : he), A), I.signal.addEventListener("abort", () => {
            (!G.ignoreFetchAbort || G.allowStaleOnFetchAbort) && (Oe(void 0), G.allowStaleOnFetchAbort && (Oe = (he) => Ae(he, !0)));
          });
        };
        G.status && (G.status.fetchDispatched = !0);
        let xe = new Promise(Be).then(Ae, Se), je = Object.assign(xe, {
          __abortController: I,
          __staleWhileFetching: ne,
          __returned: void 0
        });
        return B === void 0 ? (this.set(V, je, {
          ...ee.options,
          status: void 0
        }), B = this.#h.get(V)) : this.#i[B] = je, je;
      }
      #b(V) {
        if (!this.#R) return !1;
        let B = V;
        return !!B && B instanceof Promise && B.hasOwnProperty("__staleWhileFetching") && B.__abortController instanceof x;
      }
      async fetch(V, B = {}) {
        let { allowStale: G = this.allowStale, updateAgeOnGet: X = this.updateAgeOnGet, noDeleteOnStaleGet: ne = this.noDeleteOnStaleGet, ttl: I = this.ttl, noDisposeOnSet: M = this.noDisposeOnSet, size: ee = 0, sizeCalculation: Ae = this.sizeCalculation, noUpdateTTL: Se = this.noUpdateTTL, noDeleteOnFetchRejection: ye = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: Be = this.allowStaleOnFetchRejection, ignoreFetchAbort: xe = this.ignoreFetchAbort, allowStaleOnFetchAbort: je = this.allowStaleOnFetchAbort, context: Oe, forceRefresh: A = !1, status: se, signal: he } = B;
        if (!this.#R) return se && (se.fetch = "get"), this.get(V, {
          allowStale: G,
          updateAgeOnGet: X,
          noDeleteOnStaleGet: ne,
          status: se
        });
        let de = {
          allowStale: G,
          updateAgeOnGet: X,
          noDeleteOnStaleGet: ne,
          ttl: I,
          noDisposeOnSet: M,
          size: ee,
          sizeCalculation: Ae,
          noUpdateTTL: Se,
          noDeleteOnFetchRejection: ye,
          allowStaleOnFetchRejection: Be,
          allowStaleOnFetchAbort: je,
          ignoreFetchAbort: xe,
          status: se,
          signal: he
        }, re = this.#h.get(V);
        if (re === void 0) {
          se && (se.fetch = "miss");
          let Q = this.#H(V, re, de, Oe);
          return Q.__returned = Q;
        } else {
          let Q = this.#i[re];
          if (this.#b(Q)) {
            let Fe = G && Q.__staleWhileFetching !== void 0;
            return se && (se.fetch = "inflight", Fe && (se.returnedStale = !0)), Fe ? Q.__staleWhileFetching : Q.__returned = Q;
          }
          let ie = this.#D(re);
          if (!A && !ie) return se && (se.fetch = "hit"), this.#B(re), X && this.#k(re), se && this.#L(se, re), Q;
          let ae = this.#H(V, re, de, Oe), Ee = ae.__staleWhileFetching !== void 0 && G;
          return se && (se.fetch = ie ? "stale" : "refresh", Ee && ie && (se.returnedStale = !0)), Ee ? ae.__staleWhileFetching : ae.__returned = ae;
        }
      }
      async forceFetch(V, B = {}) {
        let G = await this.fetch(V, B);
        if (G === void 0) throw new Error("fetch() returned undefined");
        return G;
      }
      memo(V, B = {}) {
        let G = this.#f;
        if (!G) throw new Error("no memoMethod provided to constructor");
        let { context: X, forceRefresh: ne, ...I } = B, M = this.get(V, I);
        if (!ne && M !== void 0) return M;
        let ee = G(V, M, {
          options: I,
          context: X
        });
        return this.set(V, ee, I), ee;
      }
      get(V, B = {}) {
        let { allowStale: G = this.allowStale, updateAgeOnGet: X = this.updateAgeOnGet, noDeleteOnStaleGet: ne = this.noDeleteOnStaleGet, status: I } = B, M = this.#h.get(V);
        if (M !== void 0) {
          let ee = this.#i[M], Ae = this.#b(ee);
          return I && this.#L(I, M), this.#D(M) ? (I && (I.get = "stale"), Ae ? (I && G && ee.__staleWhileFetching !== void 0 && (I.returnedStale = !0), G ? ee.__staleWhileFetching : void 0) : (ne || this.#d(V, "expire"), I && G && (I.returnedStale = !0), G ? ee : void 0)) : (I && (I.get = "hit"), Ae ? ee.__staleWhileFetching : (this.#B(M), X && this.#k(M), ee));
        } else I && (I.get = "miss");
      }
      #q(V, B) {
        this.#w[B] = V, this.#v[V] = B;
      }
      #B(V) {
        V !== this.#g && (V === this.#y ? this.#y = this.#v[V] : this.#q(this.#w[V], this.#v[V]), this.#q(this.#g, V), this.#g = V);
      }
      delete(V) {
        return this.#d(V, "delete");
      }
      #d(V, B) {
        let G = !1;
        if (this.#o !== 0) {
          let X = this.#h.get(V);
          if (X !== void 0) if (this.#E?.[X] && (clearTimeout(this.#E?.[X]), this.#E[X] = void 0), G = !0, this.#o === 1) this.#z(B);
          else {
            this.#$(X);
            let ne = this.#i[X];
            if (this.#b(ne) ? ne.__abortController.abort(/* @__PURE__ */ new Error("deleted")) : (this.#A || this.#s) && (this.#A && this.#r?.(ne, V, B), this.#s && this.#m?.push([
              ne,
              V,
              B
            ])), this.#h.delete(V), this.#u[X] = void 0, this.#i[X] = void 0, X === this.#g) this.#g = this.#w[X];
            else if (X === this.#y) this.#y = this.#v[X];
            else {
              let I = this.#w[X];
              this.#v[I] = this.#v[X];
              let M = this.#v[X];
              this.#w[M] = this.#w[X];
            }
            this.#o--, this.#T.push(X);
          }
        }
        if (this.#s && this.#m?.length) {
          let X = this.#m, ne;
          for (; ne = X?.shift(); ) this.#a?.(...ne);
        }
        return G;
      }
      clear() {
        return this.#z("delete");
      }
      #z(V) {
        for (let B of this.#I({ allowStale: !0 })) {
          let G = this.#i[B];
          if (this.#b(G)) G.__abortController.abort(/* @__PURE__ */ new Error("deleted"));
          else {
            let X = this.#u[B];
            this.#A && this.#r?.(G, X, V), this.#s && this.#m?.push([
              G,
              X,
              V
            ]);
          }
        }
        if (this.#h.clear(), this.#i.fill(void 0), this.#u.fill(void 0), this.#_ && this.#C) {
          this.#_.fill(0), this.#C.fill(0);
          for (let B of this.#E ?? []) B !== void 0 && clearTimeout(B);
          this.#E?.fill(void 0);
        }
        if (this.#S && this.#S.fill(0), this.#y = 0, this.#g = 0, this.#T.length = 0, this.#p = 0, this.#o = 0, this.#s && this.#m) {
          let B = this.#m, G;
          for (; G = B?.shift(); ) this.#a?.(...G);
        }
      }
    };
  }), o = t((k) => {
    "use strict";
    var F = k && k.__importDefault || function(R) {
      return R && R.__esModule ? R : { default: R };
    };
    Object.defineProperty(k, "__esModule", { value: !0 }), k.Minipass = k.isWritable = k.isReadable = k.isStream = void 0;
    var q = typeof process == "object" && process ? process : {
      stdout: null,
      stderr: null
    }, W = ve("node:events"), P = F(ve("node:stream")), x = ve("node:string_decoder"), L = (R) => !!R && typeof R == "object" && (R instanceof $e || R instanceof P.default || (0, k.isReadable)(R) || (0, k.isWritable)(R));
    k.isStream = L;
    var O = (R) => !!R && typeof R == "object" && R instanceof W.EventEmitter && typeof R.pipe == "function" && R.pipe !== P.default.Writable.prototype.pipe;
    k.isReadable = O;
    var N = (R) => !!R && typeof R == "object" && R instanceof W.EventEmitter && typeof R.write == "function" && typeof R.end == "function";
    k.isWritable = N;
    var K = /* @__PURE__ */ Symbol("EOF"), oe = /* @__PURE__ */ Symbol("maybeEmitEnd"), pe = /* @__PURE__ */ Symbol("emittedEnd"), _e = /* @__PURE__ */ Symbol("emittingEnd"), V = /* @__PURE__ */ Symbol("emittedError"), B = /* @__PURE__ */ Symbol("closed"), G = /* @__PURE__ */ Symbol("read"), X = /* @__PURE__ */ Symbol("flush"), ne = /* @__PURE__ */ Symbol("flushChunk"), I = /* @__PURE__ */ Symbol("encoding"), M = /* @__PURE__ */ Symbol("decoder"), ee = /* @__PURE__ */ Symbol("flowing"), Ae = /* @__PURE__ */ Symbol("paused"), Se = /* @__PURE__ */ Symbol("resume"), ye = /* @__PURE__ */ Symbol("buffer"), Be = /* @__PURE__ */ Symbol("pipes"), xe = /* @__PURE__ */ Symbol("bufferLength"), je = /* @__PURE__ */ Symbol("bufferPush"), Oe = /* @__PURE__ */ Symbol("bufferShift"), A = /* @__PURE__ */ Symbol("objectMode"), se = /* @__PURE__ */ Symbol("destroyed"), he = /* @__PURE__ */ Symbol("error"), de = /* @__PURE__ */ Symbol("emitData"), re = /* @__PURE__ */ Symbol("emitEnd"), Q = /* @__PURE__ */ Symbol("emitEnd2"), ie = /* @__PURE__ */ Symbol("async"), ae = /* @__PURE__ */ Symbol("abort"), Ee = /* @__PURE__ */ Symbol("aborted"), Fe = /* @__PURE__ */ Symbol("signal"), Ce = /* @__PURE__ */ Symbol("dataListeners"), Re = /* @__PURE__ */ Symbol("discarded"), Z = (R) => Promise.resolve().then(R), ge = (R) => R(), Te = (R) => R === "end" || R === "finish" || R === "prefinish", De = (R) => R instanceof ArrayBuffer || !!R && typeof R == "object" && R.constructor && R.constructor.name === "ArrayBuffer" && R.byteLength >= 0, te = (R) => !Buffer.isBuffer(R) && ArrayBuffer.isView(R), le = class {
      src;
      dest;
      opts;
      ondrain;
      constructor(R, J, ue) {
        this.src = R, this.dest = J, this.opts = ue, this.ondrain = () => R[Se](), this.dest.on("drain", this.ondrain);
      }
      unpipe() {
        this.dest.removeListener("drain", this.ondrain);
      }
      proxyErrors(R) {
      }
      end() {
        this.unpipe(), this.opts.end && this.dest.end();
      }
    }, ce = class extends le {
      unpipe() {
        this.src.removeListener("error", this.proxyErrors), super.unpipe();
      }
      constructor(R, J, ue) {
        super(R, J, ue), this.proxyErrors = (we) => this.dest.emit("error", we), R.on("error", this.proxyErrors);
      }
    }, fe = (R) => !!R.objectMode, be = (R) => !R.objectMode && !!R.encoding && R.encoding !== "buffer", $e = class extends W.EventEmitter {
      [ee] = !1;
      [Ae] = !1;
      [Be] = [];
      [ye] = [];
      [A];
      [I];
      [ie];
      [M];
      [K] = !1;
      [pe] = !1;
      [_e] = !1;
      [B] = !1;
      [V] = null;
      [xe] = 0;
      [se] = !1;
      [Fe];
      [Ee] = !1;
      [Ce] = 0;
      [Re] = !1;
      writable = !0;
      readable = !0;
      constructor(...R) {
        let J = R[0] || {};
        if (super(), J.objectMode && typeof J.encoding == "string") throw new TypeError("Encoding and objectMode may not be used together");
        fe(J) ? (this[A] = !0, this[I] = null) : be(J) ? (this[I] = J.encoding, this[A] = !1) : (this[A] = !1, this[I] = null), this[ie] = !!J.async, this[M] = this[I] ? new x.StringDecoder(this[I]) : null, J && J.debugExposeBuffer === !0 && Object.defineProperty(this, "buffer", { get: () => this[ye] }), J && J.debugExposePipes === !0 && Object.defineProperty(this, "pipes", { get: () => this[Be] });
        let { signal: ue } = J;
        ue && (this[Fe] = ue, ue.aborted ? this[ae]() : ue.addEventListener("abort", () => this[ae]()));
      }
      get bufferLength() {
        return this[xe];
      }
      get encoding() {
        return this[I];
      }
      set encoding(R) {
        throw new Error("Encoding must be set at instantiation time");
      }
      setEncoding(R) {
        throw new Error("Encoding must be set at instantiation time");
      }
      get objectMode() {
        return this[A];
      }
      set objectMode(R) {
        throw new Error("objectMode must be set at instantiation time");
      }
      get async() {
        return this[ie];
      }
      set async(R) {
        this[ie] = this[ie] || !!R;
      }
      [ae]() {
        this[Ee] = !0, this.emit("abort", this[Fe]?.reason), this.destroy(this[Fe]?.reason);
      }
      get aborted() {
        return this[Ee];
      }
      set aborted(R) {
      }
      write(R, J, ue) {
        if (this[Ee]) return !1;
        if (this[K]) throw new Error("write after end");
        if (this[se]) return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), !0;
        typeof J == "function" && (ue = J, J = "utf8"), J || (J = "utf8");
        let we = this[ie] ? Z : ge;
        if (!this[A] && !Buffer.isBuffer(R)) {
          if (te(R)) R = Buffer.from(R.buffer, R.byteOffset, R.byteLength);
          else if (De(R)) R = Buffer.from(R);
          else if (typeof R != "string") throw new Error("Non-contiguous data written to non-objectMode stream");
        }
        return this[A] ? (this[ee] && this[xe] !== 0 && this[X](!0), this[ee] ? this.emit("data", R) : this[je](R), this[xe] !== 0 && this.emit("readable"), ue && we(ue), this[ee]) : R.length ? (typeof R == "string" && !(J === this[I] && !this[M]?.lastNeed) && (R = Buffer.from(R, J)), Buffer.isBuffer(R) && this[I] && (R = this[M].write(R)), this[ee] && this[xe] !== 0 && this[X](!0), this[ee] ? this.emit("data", R) : this[je](R), this[xe] !== 0 && this.emit("readable"), ue && we(ue), this[ee]) : (this[xe] !== 0 && this.emit("readable"), ue && we(ue), this[ee]);
      }
      read(R) {
        if (this[se]) return null;
        if (this[Re] = !1, this[xe] === 0 || R === 0 || R && R > this[xe]) return this[oe](), null;
        this[A] && (R = null), this[ye].length > 1 && !this[A] && (this[ye] = [this[I] ? this[ye].join("") : Buffer.concat(this[ye], this[xe])]);
        let J = this[G](R || null, this[ye][0]);
        return this[oe](), J;
      }
      [G](R, J) {
        if (this[A]) this[Oe]();
        else {
          let ue = J;
          R === ue.length || R === null ? this[Oe]() : typeof ue == "string" ? (this[ye][0] = ue.slice(R), J = ue.slice(0, R), this[xe] -= R) : (this[ye][0] = ue.subarray(R), J = ue.subarray(0, R), this[xe] -= R);
        }
        return this.emit("data", J), !this[ye].length && !this[K] && this.emit("drain"), J;
      }
      end(R, J, ue) {
        return typeof R == "function" && (ue = R, R = void 0), typeof J == "function" && (ue = J, J = "utf8"), R !== void 0 && this.write(R, J), ue && this.once("end", ue), this[K] = !0, this.writable = !1, (this[ee] || !this[Ae]) && this[oe](), this;
      }
      [Se]() {
        this[se] || (!this[Ce] && !this[Be].length && (this[Re] = !0), this[Ae] = !1, this[ee] = !0, this.emit("resume"), this[ye].length ? this[X]() : this[K] ? this[oe]() : this.emit("drain"));
      }
      resume() {
        return this[Se]();
      }
      pause() {
        this[ee] = !1, this[Ae] = !0, this[Re] = !1;
      }
      get destroyed() {
        return this[se];
      }
      get flowing() {
        return this[ee];
      }
      get paused() {
        return this[Ae];
      }
      [je](R) {
        this[A] ? this[xe] += 1 : this[xe] += R.length, this[ye].push(R);
      }
      [Oe]() {
        return this[A] ? this[xe] -= 1 : this[xe] -= this[ye][0].length, this[ye].shift();
      }
      [X](R = !1) {
        do
          ;
        while (this[ne](this[Oe]()) && this[ye].length);
        !R && !this[ye].length && !this[K] && this.emit("drain");
      }
      [ne](R) {
        return this.emit("data", R), this[ee];
      }
      pipe(R, J) {
        if (this[se]) return R;
        this[Re] = !1;
        let ue = this[pe];
        return J = J || {}, R === q.stdout || R === q.stderr ? J.end = !1 : J.end = J.end !== !1, J.proxyErrors = !!J.proxyErrors, ue ? J.end && R.end() : (this[Be].push(J.proxyErrors ? new ce(this, R, J) : new le(this, R, J)), this[ie] ? Z(() => this[Se]()) : this[Se]()), R;
      }
      unpipe(R) {
        let J = this[Be].find((ue) => ue.dest === R);
        J && (this[Be].length === 1 ? (this[ee] && this[Ce] === 0 && (this[ee] = !1), this[Be] = []) : this[Be].splice(this[Be].indexOf(J), 1), J.unpipe());
      }
      addListener(R, J) {
        return this.on(R, J);
      }
      on(R, J) {
        let ue = super.on(R, J);
        if (R === "data") this[Re] = !1, this[Ce]++, !this[Be].length && !this[ee] && this[Se]();
        else if (R === "readable" && this[xe] !== 0) super.emit("readable");
        else if (Te(R) && this[pe]) super.emit(R), this.removeAllListeners(R);
        else if (R === "error" && this[V]) {
          let we = J;
          this[ie] ? Z(() => we.call(this, this[V])) : we.call(this, this[V]);
        }
        return ue;
      }
      removeListener(R, J) {
        return this.off(R, J);
      }
      off(R, J) {
        let ue = super.off(R, J);
        return R === "data" && (this[Ce] = this.listeners("data").length, this[Ce] === 0 && !this[Re] && !this[Be].length && (this[ee] = !1)), ue;
      }
      removeAllListeners(R) {
        let J = super.removeAllListeners(R);
        return (R === "data" || R === void 0) && (this[Ce] = 0, !this[Re] && !this[Be].length && (this[ee] = !1)), J;
      }
      get emittedEnd() {
        return this[pe];
      }
      [oe]() {
        !this[_e] && !this[pe] && !this[se] && this[ye].length === 0 && this[K] && (this[_e] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[B] && this.emit("close"), this[_e] = !1);
      }
      emit(R, ...J) {
        let ue = J[0];
        if (R !== "error" && R !== "close" && R !== se && this[se]) return !1;
        if (R === "data") return !this[A] && !ue ? !1 : this[ie] ? (Z(() => this[de](ue)), !0) : this[de](ue);
        if (R === "end") return this[re]();
        if (R === "close") {
          if (this[B] = !0, !this[pe] && !this[se]) return !1;
          let Ne = super.emit("close");
          return this.removeAllListeners("close"), Ne;
        } else if (R === "error") {
          this[V] = ue, super.emit(he, ue);
          let Ne = !this[Fe] || this.listeners("error").length ? super.emit("error", ue) : !1;
          return this[oe](), Ne;
        } else if (R === "resume") {
          let Ne = super.emit("resume");
          return this[oe](), Ne;
        } else if (R === "finish" || R === "prefinish") {
          let Ne = super.emit(R);
          return this.removeAllListeners(R), Ne;
        }
        let we = super.emit(R, ...J);
        return this[oe](), we;
      }
      [de](R) {
        for (let ue of this[Be]) ue.dest.write(R) === !1 && this.pause();
        let J = this[Re] ? !1 : super.emit("data", R);
        return this[oe](), J;
      }
      [re]() {
        return this[pe] ? !1 : (this[pe] = !0, this.readable = !1, this[ie] ? (Z(() => this[Q]()), !0) : this[Q]());
      }
      [Q]() {
        if (this[M]) {
          let J = this[M].end();
          if (J) {
            for (let ue of this[Be]) ue.dest.write(J);
            this[Re] || super.emit("data", J);
          }
        }
        for (let J of this[Be]) J.end();
        let R = super.emit("end");
        return this.removeAllListeners("end"), R;
      }
      async collect() {
        let R = Object.assign([], { dataLength: 0 });
        this[A] || (R.dataLength = 0);
        let J = this.promise();
        return this.on("data", (ue) => {
          R.push(ue), this[A] || (R.dataLength += ue.length);
        }), await J, R;
      }
      async concat() {
        if (this[A]) throw new Error("cannot concat in objectMode");
        let R = await this.collect();
        return this[I] ? R.join("") : Buffer.concat(R, R.dataLength);
      }
      async promise() {
        return new Promise((R, J) => {
          this.on(se, () => J(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (ue) => J(ue)), this.on("end", () => R());
        });
      }
      [Symbol.asyncIterator]() {
        this[Re] = !1;
        let R = !1, J = async () => (this.pause(), R = !0, {
          value: void 0,
          done: !0
        });
        return {
          next: () => {
            if (R) return J();
            let ue = this.read();
            if (ue !== null) return Promise.resolve({
              done: !1,
              value: ue
            });
            if (this[K]) return J();
            let we, Ne, Ue = (rt) => {
              this.off("data", He), this.off("end", Ge), this.off(se, et), J(), Ne(rt);
            }, He = (rt) => {
              this.off("error", Ue), this.off("end", Ge), this.off(se, et), this.pause(), we({
                value: rt,
                done: !!this[K]
              });
            }, Ge = () => {
              this.off("error", Ue), this.off("data", He), this.off(se, et), J(), we({
                done: !0,
                value: void 0
              });
            }, et = () => Ue(/* @__PURE__ */ new Error("stream destroyed"));
            return new Promise((rt, Xe) => {
              Ne = Xe, we = rt, this.once(se, et), this.once("error", Ue), this.once("end", Ge), this.once("data", He);
            });
          },
          throw: J,
          return: J,
          [Symbol.asyncIterator]() {
            return this;
          },
          [Symbol.asyncDispose]: async () => {
          }
        };
      }
      [Symbol.iterator]() {
        this[Re] = !1;
        let R = !1, J = () => (this.pause(), this.off(he, J), this.off(se, J), this.off("end", J), R = !0, {
          done: !0,
          value: void 0
        }), ue = () => {
          if (R) return J();
          let we = this.read();
          return we === null ? J() : {
            done: !1,
            value: we
          };
        };
        return this.once("end", J), this.once(he, J), this.once(se, J), {
          next: ue,
          throw: J,
          return: J,
          [Symbol.iterator]() {
            return this;
          },
          [Symbol.dispose]: () => {
          }
        };
      }
      destroy(R) {
        if (this[se]) return R ? this.emit("error", R) : this.emit(se), this;
        this[se] = !0, this[Re] = !0, this[ye].length = 0, this[xe] = 0;
        let J = this;
        return typeof J.close == "function" && !this[B] && J.close(), R ? this.emit("error", R) : this.emit(se), this;
      }
      static get isStream() {
        return k.isStream;
      }
    };
    k.Minipass = $e;
  }), c = t((k) => {
    "use strict";
    var F = k && k.__createBinding || (Object.create ? (function(R, J, ue, we) {
      we === void 0 && (we = ue);
      var Ne = Object.getOwnPropertyDescriptor(J, ue);
      (!Ne || ("get" in Ne ? !J.__esModule : Ne.writable || Ne.configurable)) && (Ne = {
        enumerable: !0,
        get: function() {
          return J[ue];
        }
      }), Object.defineProperty(R, we, Ne);
    }) : (function(R, J, ue, we) {
      we === void 0 && (we = ue), R[we] = J[ue];
    })), q = k && k.__setModuleDefault || (Object.create ? (function(R, J) {
      Object.defineProperty(R, "default", {
        enumerable: !0,
        value: J
      });
    }) : function(R, J) {
      R.default = J;
    }), W = k && k.__importStar || function(R) {
      if (R && R.__esModule) return R;
      var J = {};
      if (R != null) for (var ue in R) ue !== "default" && Object.prototype.hasOwnProperty.call(R, ue) && F(J, R, ue);
      return q(J, R), J;
    };
    Object.defineProperty(k, "__esModule", { value: !0 }), k.PathScurry = k.Path = k.PathScurryDarwin = k.PathScurryPosix = k.PathScurryWin32 = k.PathScurryBase = k.PathPosix = k.PathWin32 = k.PathBase = k.ChildrenCache = k.ResolveCache = void 0;
    var P = f(), x = ve("node:path"), L = ve("node:url"), O = ve("fs"), N = W(ve("node:fs")), K = O.realpathSync.native, oe = ve("node:fs/promises"), pe = o(), _e = {
      lstatSync: O.lstatSync,
      readdir: O.readdir,
      readdirSync: O.readdirSync,
      readlinkSync: O.readlinkSync,
      realpathSync: K,
      promises: {
        lstat: oe.lstat,
        readdir: oe.readdir,
        readlink: oe.readlink,
        realpath: oe.realpath
      }
    }, V = (R) => !R || R === _e || R === N ? _e : {
      ..._e,
      ...R,
      promises: {
        ..._e.promises,
        ...R.promises || {}
      }
    }, B = /^\\\\\?\\([a-z]:)\\?$/i, G = (R) => R.replace(/\//g, "\\").replace(B, "$1\\"), X = /[\\\/]/, ne = 0, I = 1, M = 2, ee = 4, Ae = 6, Se = 8, ye = 10, Be = 12, xe = 15, je = ~xe, Oe = 16, A = 32, se = 64, he = 128, de = 256, re = 512, Q = se | he | re, ie = 1023, ae = (R) => R.isFile() ? Se : R.isDirectory() ? ee : R.isSymbolicLink() ? ye : R.isCharacterDevice() ? M : R.isBlockDevice() ? Ae : R.isSocket() ? Be : R.isFIFO() ? I : ne, Ee = new P.LRUCache({ max: 2 ** 12 }), Fe = (R) => {
      let J = Ee.get(R);
      if (J) return J;
      let ue = R.normalize("NFKD");
      return Ee.set(R, ue), ue;
    }, Ce = new P.LRUCache({ max: 2 ** 12 }), Re = (R) => {
      let J = Ce.get(R);
      if (J) return J;
      let ue = Fe(R.toLowerCase());
      return Ce.set(R, ue), ue;
    }, Z = class extends P.LRUCache {
      constructor() {
        super({ max: 256 });
      }
    };
    k.ResolveCache = Z;
    var ge = class extends P.LRUCache {
      constructor(R = 16 * 1024) {
        super({
          maxSize: R,
          sizeCalculation: (J) => J.length + 1
        });
      }
    };
    k.ChildrenCache = ge;
    var Te = /* @__PURE__ */ Symbol("PathScurry setAsCwd"), De = class {
      name;
      root;
      roots;
      parent;
      nocase;
      isCWD = !1;
      #e;
      #t;
      get dev() {
        return this.#t;
      }
      #r;
      get mode() {
        return this.#r;
      }
      #n;
      get nlink() {
        return this.#n;
      }
      #a;
      get uid() {
        return this.#a;
      }
      #l;
      get gid() {
        return this.#l;
      }
      #f;
      get rdev() {
        return this.#f;
      }
      #c;
      get blksize() {
        return this.#c;
      }
      #o;
      get ino() {
        return this.#o;
      }
      #p;
      get size() {
        return this.#p;
      }
      #h;
      get blocks() {
        return this.#h;
      }
      #u;
      get atimeMs() {
        return this.#u;
      }
      #i;
      get mtimeMs() {
        return this.#i;
      }
      #v;
      get ctimeMs() {
        return this.#v;
      }
      #w;
      get birthtimeMs() {
        return this.#w;
      }
      #y;
      get atime() {
        return this.#y;
      }
      #g;
      get mtime() {
        return this.#g;
      }
      #T;
      get ctime() {
        return this.#T;
      }
      #m;
      get birthtime() {
        return this.#m;
      }
      #S;
      #C;
      #_;
      #E;
      #A;
      #R;
      #s;
      #F;
      #N;
      #k;
      get parentPath() {
        return (this.parent || this).fullpath();
      }
      get path() {
        return this.parentPath;
      }
      constructor(R, J = ne, ue, we, Ne, Ue, He) {
        this.name = R, this.#S = Ne ? Re(R) : Fe(R), this.#s = J & ie, this.nocase = Ne, this.roots = we, this.root = ue || this, this.#F = Ue, this.#_ = He.fullpath, this.#A = He.relative, this.#R = He.relativePosix, this.parent = He.parent, this.parent ? this.#e = this.parent.#e : this.#e = V(He.fs);
      }
      depth() {
        return this.#C !== void 0 ? this.#C : this.parent ? this.#C = this.parent.depth() + 1 : this.#C = 0;
      }
      childrenCache() {
        return this.#F;
      }
      resolve(R) {
        if (!R) return this;
        let J = this.getRootString(R), ue = R.substring(J.length).split(this.splitSep);
        return J ? this.getRoot(J).#L(ue) : this.#L(ue);
      }
      #L(R) {
        let J = this;
        for (let ue of R) J = J.child(ue);
        return J;
      }
      children() {
        let R = this.#F.get(this);
        if (R) return R;
        let J = Object.assign([], { provisional: 0 });
        return this.#F.set(this, J), this.#s &= ~Oe, J;
      }
      child(R, J) {
        if (R === "" || R === ".") return this;
        if (R === "..") return this.parent || this;
        let ue = this.children(), we = this.nocase ? Re(R) : Fe(R);
        for (let Ge of ue) if (Ge.#S === we) return Ge;
        let Ne = this.parent ? this.sep : "", Ue = this.#_ ? this.#_ + Ne + R : void 0, He = this.newChild(R, ne, {
          ...J,
          parent: this,
          fullpath: Ue
        });
        return this.canReaddir() || (He.#s |= he), ue.push(He), He;
      }
      relative() {
        if (this.isCWD) return "";
        if (this.#A !== void 0) return this.#A;
        let R = this.name, J = this.parent;
        if (!J) return this.#A = this.name;
        let ue = J.relative();
        return ue + (!ue || !J.parent ? "" : this.sep) + R;
      }
      relativePosix() {
        if (this.sep === "/") return this.relative();
        if (this.isCWD) return "";
        if (this.#R !== void 0) return this.#R;
        let R = this.name, J = this.parent;
        if (!J) return this.#R = this.fullpathPosix();
        let ue = J.relativePosix();
        return ue + (!ue || !J.parent ? "" : "/") + R;
      }
      fullpath() {
        if (this.#_ !== void 0) return this.#_;
        let R = this.name, J = this.parent;
        return J ? this.#_ = J.fullpath() + (J.parent ? this.sep : "") + R : this.#_ = this.name;
      }
      fullpathPosix() {
        if (this.#E !== void 0) return this.#E;
        if (this.sep === "/") return this.#E = this.fullpath();
        if (!this.parent) {
          let ue = this.fullpath().replace(/\\/g, "/");
          return /^[a-z]:\//i.test(ue) ? this.#E = `//?/${ue}` : this.#E = ue;
        }
        let R = this.parent, J = R.fullpathPosix();
        return this.#E = J + (!J || !R.parent ? "" : "/") + this.name;
      }
      isUnknown() {
        return (this.#s & xe) === ne;
      }
      isType(R) {
        return this[`is${R}`]();
      }
      getType() {
        return this.isUnknown() ? "Unknown" : this.isDirectory() ? "Directory" : this.isFile() ? "File" : this.isSymbolicLink() ? "SymbolicLink" : this.isFIFO() ? "FIFO" : this.isCharacterDevice() ? "CharacterDevice" : this.isBlockDevice() ? "BlockDevice" : this.isSocket() ? "Socket" : "Unknown";
      }
      isFile() {
        return (this.#s & xe) === Se;
      }
      isDirectory() {
        return (this.#s & xe) === ee;
      }
      isCharacterDevice() {
        return (this.#s & xe) === M;
      }
      isBlockDevice() {
        return (this.#s & xe) === Ae;
      }
      isFIFO() {
        return (this.#s & xe) === I;
      }
      isSocket() {
        return (this.#s & xe) === Be;
      }
      isSymbolicLink() {
        return (this.#s & ye) === ye;
      }
      lstatCached() {
        return this.#s & A ? this : void 0;
      }
      readlinkCached() {
        return this.#N;
      }
      realpathCached() {
        return this.#k;
      }
      readdirCached() {
        let R = this.children();
        return R.slice(0, R.provisional);
      }
      canReadlink() {
        if (this.#N) return !0;
        if (!this.parent) return !1;
        let R = this.#s & xe;
        return !(R !== ne && R !== ye || this.#s & de || this.#s & he);
      }
      calledReaddir() {
        return !!(this.#s & Oe);
      }
      isENOENT() {
        return !!(this.#s & he);
      }
      isNamed(R) {
        return this.nocase ? this.#S === Re(R) : this.#S === Fe(R);
      }
      async readlink() {
        let R = this.#N;
        if (R) return R;
        if (this.canReadlink() && this.parent) try {
          let J = await this.#e.promises.readlink(this.fullpath()), ue = (await this.parent.realpath())?.resolve(J);
          if (ue) return this.#N = ue;
        } catch (J) {
          this.#I(J.code);
          return;
        }
      }
      readlinkSync() {
        let R = this.#N;
        if (R) return R;
        if (this.canReadlink() && this.parent) try {
          let J = this.#e.readlinkSync(this.fullpath()), ue = this.parent.realpathSync()?.resolve(J);
          if (ue) return this.#N = ue;
        } catch (J) {
          this.#I(J.code);
          return;
        }
      }
      #M(R) {
        this.#s |= Oe;
        for (let J = R.provisional; J < R.length; J++) {
          let ue = R[J];
          ue && ue.#D();
        }
      }
      #D() {
        this.#s & he || (this.#s = (this.#s | he) & je, this.#W());
      }
      #W() {
        let R = this.children();
        R.provisional = 0;
        for (let J of R) J.#D();
      }
      #$() {
        this.#s |= re, this.#x();
      }
      #x() {
        if (this.#s & se) return;
        let R = this.#s;
        (R & xe) === ee && (R &= je), this.#s = R | se, this.#W();
      }
      #j(R = "") {
        R === "ENOTDIR" || R === "EPERM" ? this.#x() : R === "ENOENT" ? this.#D() : this.children().provisional = 0;
      }
      #O(R = "") {
        R === "ENOTDIR" ? this.parent.#x() : R === "ENOENT" && this.#D();
      }
      #I(R = "") {
        let J = this.#s;
        J |= de, R === "ENOENT" && (J |= he), (R === "EINVAL" || R === "UNKNOWN") && (J &= je), this.#s = J, R === "ENOTDIR" && this.parent && this.parent.#x();
      }
      #U(R, J) {
        return this.#H(R, J) || this.#P(R, J);
      }
      #P(R, J) {
        let ue = ae(R), we = this.newChild(R.name, ue, { parent: this }), Ne = we.#s & xe;
        return Ne !== ee && Ne !== ye && Ne !== ne && (we.#s |= se), J.unshift(we), J.provisional++, we;
      }
      #H(R, J) {
        for (let ue = J.provisional; ue < J.length; ue++) {
          let we = J[ue];
          if ((this.nocase ? Re(R.name) : Fe(R.name)) === we.#S) return this.#b(R, we, ue, J);
        }
      }
      #b(R, J, ue, we) {
        let Ne = J.name;
        return J.#s = J.#s & je | ae(R), Ne !== R.name && (J.name = R.name), ue !== we.provisional && (ue === we.length - 1 ? we.pop() : we.splice(ue, 1), we.unshift(J)), we.provisional++, J;
      }
      async lstat() {
        if ((this.#s & he) === 0) try {
          return this.#q(await this.#e.promises.lstat(this.fullpath())), this;
        } catch (R) {
          this.#O(R.code);
        }
      }
      lstatSync() {
        if ((this.#s & he) === 0) try {
          return this.#q(this.#e.lstatSync(this.fullpath())), this;
        } catch (R) {
          this.#O(R.code);
        }
      }
      #q(R) {
        let { atime: J, atimeMs: ue, birthtime: we, birthtimeMs: Ne, blksize: Ue, blocks: He, ctime: Ge, ctimeMs: et, dev: rt, gid: Xe, ino: ot, mode: ct, mtime: yt, mtimeMs: vt, nlink: Rt, rdev: Ut, size: nr, uid: Gt } = R;
        this.#y = J, this.#u = ue, this.#m = we, this.#w = Ne, this.#c = Ue, this.#h = He, this.#T = Ge, this.#v = et, this.#t = rt, this.#l = Xe, this.#o = ot, this.#r = ct, this.#g = yt, this.#i = vt, this.#n = Rt, this.#f = Ut, this.#p = nr, this.#a = Gt;
        let sr = ae(R);
        this.#s = this.#s & je | sr | A, sr !== ne && sr !== ee && sr !== ye && (this.#s |= se);
      }
      #B = [];
      #d = !1;
      #z(R) {
        this.#d = !1;
        let J = this.#B.slice();
        this.#B.length = 0, J.forEach((ue) => ue(null, R));
      }
      readdirCB(R, J = !1) {
        if (!this.canReaddir()) {
          J ? R(null, []) : queueMicrotask(() => R(null, []));
          return;
        }
        let ue = this.children();
        if (this.calledReaddir()) {
          let Ne = ue.slice(0, ue.provisional);
          J ? R(null, Ne) : queueMicrotask(() => R(null, Ne));
          return;
        }
        if (this.#B.push(R), this.#d) return;
        this.#d = !0;
        let we = this.fullpath();
        this.#e.readdir(we, { withFileTypes: !0 }, (Ne, Ue) => {
          if (Ne) this.#j(Ne.code), ue.provisional = 0;
          else {
            for (let He of Ue) this.#U(He, ue);
            this.#M(ue);
          }
          this.#z(ue.slice(0, ue.provisional));
        });
      }
      #V;
      async readdir() {
        if (!this.canReaddir()) return [];
        let R = this.children();
        if (this.calledReaddir()) return R.slice(0, R.provisional);
        let J = this.fullpath();
        if (this.#V) await this.#V;
        else {
          let ue = () => {
          };
          this.#V = new Promise((we) => ue = we);
          try {
            for (let we of await this.#e.promises.readdir(J, { withFileTypes: !0 })) this.#U(we, R);
            this.#M(R);
          } catch (we) {
            this.#j(we.code), R.provisional = 0;
          }
          this.#V = void 0, ue();
        }
        return R.slice(0, R.provisional);
      }
      readdirSync() {
        if (!this.canReaddir()) return [];
        let R = this.children();
        if (this.calledReaddir()) return R.slice(0, R.provisional);
        let J = this.fullpath();
        try {
          for (let ue of this.#e.readdirSync(J, { withFileTypes: !0 })) this.#U(ue, R);
          this.#M(R);
        } catch (ue) {
          this.#j(ue.code), R.provisional = 0;
        }
        return R.slice(0, R.provisional);
      }
      canReaddir() {
        if (this.#s & Q) return !1;
        let R = xe & this.#s;
        return R === ne || R === ee || R === ye;
      }
      shouldWalk(R, J) {
        return (this.#s & ee) === ee && !(this.#s & Q) && !R.has(this) && (!J || J(this));
      }
      async realpath() {
        if (this.#k) return this.#k;
        if (!((re | de | he) & this.#s)) try {
          let R = await this.#e.promises.realpath(this.fullpath());
          return this.#k = this.resolve(R);
        } catch {
          this.#$();
        }
      }
      realpathSync() {
        if (this.#k) return this.#k;
        if (!((re | de | he) & this.#s)) try {
          let R = this.#e.realpathSync(this.fullpath());
          return this.#k = this.resolve(R);
        } catch {
          this.#$();
        }
      }
      [Te](R) {
        if (R === this) return;
        R.isCWD = !1, this.isCWD = !0;
        let J = /* @__PURE__ */ new Set([]), ue = [], we = this;
        for (; we && we.parent; ) J.add(we), we.#A = ue.join(this.sep), we.#R = ue.join("/"), we = we.parent, ue.push("..");
        for (we = R; we && we.parent && !J.has(we); ) we.#A = void 0, we.#R = void 0, we = we.parent;
      }
    };
    k.PathBase = De;
    var te = class nd extends De {
      sep = "\\";
      splitSep = X;
      constructor(J, ue = ne, we, Ne, Ue, He, Ge) {
        super(J, ue, we, Ne, Ue, He, Ge);
      }
      newChild(J, ue = ne, we = {}) {
        return new nd(J, ue, this.root, this.roots, this.nocase, this.childrenCache(), we);
      }
      getRootString(J) {
        return x.win32.parse(J).root;
      }
      getRoot(J) {
        if (J = G(J.toUpperCase()), J === this.root.name) return this.root;
        for (let [ue, we] of Object.entries(this.roots)) if (this.sameRoot(J, ue)) return this.roots[J] = we;
        return this.roots[J] = new fe(J, this).root;
      }
      sameRoot(J, ue = this.root.name) {
        return J = J.toUpperCase().replace(/\//g, "\\").replace(B, "$1\\"), J === ue;
      }
    };
    k.PathWin32 = te;
    var le = class sd extends De {
      splitSep = "/";
      sep = "/";
      constructor(J, ue = ne, we, Ne, Ue, He, Ge) {
        super(J, ue, we, Ne, Ue, He, Ge);
      }
      getRootString(J) {
        return J.startsWith("/") ? "/" : "";
      }
      getRoot(J) {
        return this.root;
      }
      newChild(J, ue = ne, we = {}) {
        return new sd(J, ue, this.root, this.roots, this.nocase, this.childrenCache(), we);
      }
    };
    k.PathPosix = le;
    var ce = class {
      root;
      rootPath;
      roots;
      cwd;
      #e;
      #t;
      #r;
      nocase;
      #n;
      constructor(R = process.cwd(), J, ue, { nocase: we, childrenCacheSize: Ne = 16 * 1024, fs: Ue = _e } = {}) {
        this.#n = V(Ue), (R instanceof URL || R.startsWith("file://")) && (R = (0, L.fileURLToPath)(R));
        let He = J.resolve(R);
        this.roots = /* @__PURE__ */ Object.create(null), this.rootPath = this.parseRootPath(He), this.#e = new Z(), this.#t = new Z(), this.#r = new ge(Ne);
        let Ge = He.substring(this.rootPath.length).split(ue);
        if (Ge.length === 1 && !Ge[0] && Ge.pop(), we === void 0) throw new TypeError("must provide nocase setting to PathScurryBase ctor");
        this.nocase = we, this.root = this.newRoot(this.#n), this.roots[this.rootPath] = this.root;
        let et = this.root, rt = Ge.length - 1, Xe = J.sep, ot = this.rootPath, ct = !1;
        for (let yt of Ge) {
          let vt = rt--;
          et = et.child(yt, {
            relative: new Array(vt).fill("..").join(Xe),
            relativePosix: new Array(vt).fill("..").join("/"),
            fullpath: ot += (ct ? "" : Xe) + yt
          }), ct = !0;
        }
        this.cwd = et;
      }
      depth(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), R.depth();
      }
      childrenCache() {
        return this.#r;
      }
      resolve(...R) {
        let J = "";
        for (let Ne = R.length - 1; Ne >= 0; Ne--) {
          let Ue = R[Ne];
          if (!(!Ue || Ue === ".") && (J = J ? `${Ue}/${J}` : Ue, this.isAbsolute(Ue))) break;
        }
        let ue = this.#e.get(J);
        if (ue !== void 0) return ue;
        let we = this.cwd.resolve(J).fullpath();
        return this.#e.set(J, we), we;
      }
      resolvePosix(...R) {
        let J = "";
        for (let Ne = R.length - 1; Ne >= 0; Ne--) {
          let Ue = R[Ne];
          if (!(!Ue || Ue === ".") && (J = J ? `${Ue}/${J}` : Ue, this.isAbsolute(Ue))) break;
        }
        let ue = this.#t.get(J);
        if (ue !== void 0) return ue;
        let we = this.cwd.resolve(J).fullpathPosix();
        return this.#t.set(J, we), we;
      }
      relative(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), R.relative();
      }
      relativePosix(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), R.relativePosix();
      }
      basename(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), R.name;
      }
      dirname(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), (R.parent || R).fullpath();
      }
      async readdir(R = this.cwd, J = { withFileTypes: !0 }) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof De || (J = R, R = this.cwd);
        let { withFileTypes: ue } = J;
        if (R.canReaddir()) {
          let we = await R.readdir();
          return ue ? we : we.map((Ne) => Ne.name);
        } else return [];
      }
      readdirSync(R = this.cwd, J = { withFileTypes: !0 }) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof De || (J = R, R = this.cwd);
        let { withFileTypes: ue = !0 } = J;
        return R.canReaddir() ? ue ? R.readdirSync() : R.readdirSync().map((we) => we.name) : [];
      }
      async lstat(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), R.lstat();
      }
      lstatSync(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), R.lstatSync();
      }
      async readlink(R = this.cwd, { withFileTypes: J } = { withFileTypes: !1 }) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof De || (J = R.withFileTypes, R = this.cwd);
        let ue = await R.readlink();
        return J ? ue : ue?.fullpath();
      }
      readlinkSync(R = this.cwd, { withFileTypes: J } = { withFileTypes: !1 }) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof De || (J = R.withFileTypes, R = this.cwd);
        let ue = R.readlinkSync();
        return J ? ue : ue?.fullpath();
      }
      async realpath(R = this.cwd, { withFileTypes: J } = { withFileTypes: !1 }) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof De || (J = R.withFileTypes, R = this.cwd);
        let ue = await R.realpath();
        return J ? ue : ue?.fullpath();
      }
      realpathSync(R = this.cwd, { withFileTypes: J } = { withFileTypes: !1 }) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof De || (J = R.withFileTypes, R = this.cwd);
        let ue = R.realpathSync();
        return J ? ue : ue?.fullpath();
      }
      async walk(R = this.cwd, J = {}) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof De || (J = R, R = this.cwd);
        let { withFileTypes: ue = !0, follow: we = !1, filter: Ne, walkFilter: Ue } = J, He = [];
        (!Ne || Ne(R)) && He.push(ue ? R : R.fullpath());
        let Ge = /* @__PURE__ */ new Set(), et = (Xe, ot) => {
          Ge.add(Xe), Xe.readdirCB((ct, yt) => {
            if (ct) return ot(ct);
            let vt = yt.length;
            if (!vt) return ot();
            let Rt = () => {
              --vt === 0 && ot();
            };
            for (let Ut of yt) (!Ne || Ne(Ut)) && He.push(ue ? Ut : Ut.fullpath()), we && Ut.isSymbolicLink() ? Ut.realpath().then((nr) => nr?.isUnknown() ? nr.lstat() : nr).then((nr) => nr?.shouldWalk(Ge, Ue) ? et(nr, Rt) : Rt()) : Ut.shouldWalk(Ge, Ue) ? et(Ut, Rt) : Rt();
          }, !0);
        }, rt = R;
        return new Promise((Xe, ot) => {
          et(rt, (ct) => {
            if (ct) return ot(ct);
            Xe(He);
          });
        });
      }
      walkSync(R = this.cwd, J = {}) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof De || (J = R, R = this.cwd);
        let { withFileTypes: ue = !0, follow: we = !1, filter: Ne, walkFilter: Ue } = J, He = [];
        (!Ne || Ne(R)) && He.push(ue ? R : R.fullpath());
        let Ge = /* @__PURE__ */ new Set([R]);
        for (let et of Ge) {
          let rt = et.readdirSync();
          for (let Xe of rt) {
            (!Ne || Ne(Xe)) && He.push(ue ? Xe : Xe.fullpath());
            let ot = Xe;
            if (Xe.isSymbolicLink()) {
              if (!(we && (ot = Xe.realpathSync()))) continue;
              ot.isUnknown() && ot.lstatSync();
            }
            ot.shouldWalk(Ge, Ue) && Ge.add(ot);
          }
        }
        return He;
      }
      [Symbol.asyncIterator]() {
        return this.iterate();
      }
      iterate(R = this.cwd, J = {}) {
        return typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof De || (J = R, R = this.cwd), this.stream(R, J)[Symbol.asyncIterator]();
      }
      [Symbol.iterator]() {
        return this.iterateSync();
      }
      *iterateSync(R = this.cwd, J = {}) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof De || (J = R, R = this.cwd);
        let { withFileTypes: ue = !0, follow: we = !1, filter: Ne, walkFilter: Ue } = J;
        (!Ne || Ne(R)) && (yield ue ? R : R.fullpath());
        let He = /* @__PURE__ */ new Set([R]);
        for (let Ge of He) {
          let et = Ge.readdirSync();
          for (let rt of et) {
            (!Ne || Ne(rt)) && (yield ue ? rt : rt.fullpath());
            let Xe = rt;
            if (rt.isSymbolicLink()) {
              if (!(we && (Xe = rt.realpathSync()))) continue;
              Xe.isUnknown() && Xe.lstatSync();
            }
            Xe.shouldWalk(He, Ue) && He.add(Xe);
          }
        }
      }
      stream(R = this.cwd, J = {}) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof De || (J = R, R = this.cwd);
        let { withFileTypes: ue = !0, follow: we = !1, filter: Ne, walkFilter: Ue } = J, He = new pe.Minipass({ objectMode: !0 });
        (!Ne || Ne(R)) && He.write(ue ? R : R.fullpath());
        let Ge = /* @__PURE__ */ new Set(), et = [R], rt = 0, Xe = () => {
          let ot = !1;
          for (; !ot; ) {
            let ct = et.shift();
            if (!ct) {
              rt === 0 && He.end();
              return;
            }
            rt++, Ge.add(ct);
            let yt = (Rt, Ut, nr = !1) => {
              if (Rt) return He.emit("error", Rt);
              if (we && !nr) {
                let Gt = [];
                for (let sr of Ut) sr.isSymbolicLink() && Gt.push(sr.realpath().then((Qs) => Qs?.isUnknown() ? Qs.lstat() : Qs));
                if (Gt.length) {
                  Promise.all(Gt).then(() => yt(null, Ut, !0));
                  return;
                }
              }
              for (let Gt of Ut) Gt && (!Ne || Ne(Gt)) && (He.write(ue ? Gt : Gt.fullpath()) || (ot = !0));
              rt--;
              for (let Gt of Ut) {
                let sr = Gt.realpathCached() || Gt;
                sr.shouldWalk(Ge, Ue) && et.push(sr);
              }
              ot && !He.flowing ? He.once("drain", Xe) : vt || Xe();
            }, vt = !0;
            ct.readdirCB(yt, !0), vt = !1;
          }
        };
        return Xe(), He;
      }
      streamSync(R = this.cwd, J = {}) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof De || (J = R, R = this.cwd);
        let { withFileTypes: ue = !0, follow: we = !1, filter: Ne, walkFilter: Ue } = J, He = new pe.Minipass({ objectMode: !0 }), Ge = /* @__PURE__ */ new Set();
        (!Ne || Ne(R)) && He.write(ue ? R : R.fullpath());
        let et = [R], rt = 0, Xe = () => {
          let ot = !1;
          for (; !ot; ) {
            let ct = et.shift();
            if (!ct) {
              rt === 0 && He.end();
              return;
            }
            rt++, Ge.add(ct);
            let yt = ct.readdirSync();
            for (let vt of yt) (!Ne || Ne(vt)) && (He.write(ue ? vt : vt.fullpath()) || (ot = !0));
            rt--;
            for (let vt of yt) {
              let Rt = vt;
              if (vt.isSymbolicLink()) {
                if (!(we && (Rt = vt.realpathSync()))) continue;
                Rt.isUnknown() && Rt.lstatSync();
              }
              Rt.shouldWalk(Ge, Ue) && et.push(Rt);
            }
          }
          ot && !He.flowing && He.once("drain", Xe);
        };
        return Xe(), He;
      }
      chdir(R = this.cwd) {
        let J = this.cwd;
        this.cwd = typeof R == "string" ? this.cwd.resolve(R) : R, this.cwd[Te](J);
      }
    };
    k.PathScurryBase = ce;
    var fe = class extends ce {
      sep = "\\";
      constructor(R = process.cwd(), J = {}) {
        let { nocase: ue = !0 } = J;
        super(R, x.win32, "\\", {
          ...J,
          nocase: ue
        }), this.nocase = ue;
        for (let we = this.cwd; we; we = we.parent) we.nocase = this.nocase;
      }
      parseRootPath(R) {
        return x.win32.parse(R).root.toUpperCase();
      }
      newRoot(R) {
        return new te(this.rootPath, ee, void 0, this.roots, this.nocase, this.childrenCache(), { fs: R });
      }
      isAbsolute(R) {
        return R.startsWith("/") || R.startsWith("\\") || /^[a-z]:(\/|\\)/i.test(R);
      }
    };
    k.PathScurryWin32 = fe;
    var be = class extends ce {
      sep = "/";
      constructor(R = process.cwd(), J = {}) {
        let { nocase: ue = !1 } = J;
        super(R, x.posix, "/", {
          ...J,
          nocase: ue
        }), this.nocase = ue;
      }
      parseRootPath(R) {
        return "/";
      }
      newRoot(R) {
        return new le(this.rootPath, ee, void 0, this.roots, this.nocase, this.childrenCache(), { fs: R });
      }
      isAbsolute(R) {
        return R.startsWith("/");
      }
    };
    k.PathScurryPosix = be;
    var $e = class extends be {
      constructor(R = process.cwd(), J = {}) {
        let { nocase: ue = !0 } = J;
        super(R, {
          ...J,
          nocase: ue
        });
      }
    };
    k.PathScurryDarwin = $e, k.Path = process.platform === "win32" ? te : le, k.PathScurry = process.platform === "win32" ? fe : process.platform === "darwin" ? $e : be;
  }), d = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.Pattern = void 0;
    var F = u(), q = (x) => x.length >= 1, W = (x) => x.length >= 1, P = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
    k.Pattern = class ad {
      #e;
      #t;
      #r;
      length;
      #n;
      #a;
      #l;
      #f;
      #c;
      #o;
      #p = !0;
      constructor(L, O, N, K) {
        if (!q(L)) throw new TypeError("empty pattern list");
        if (!W(O)) throw new TypeError("empty glob list");
        if (O.length !== L.length) throw new TypeError("mismatched pattern list and glob list lengths");
        if (this.length = L.length, N < 0 || N >= this.length) throw new TypeError("index out of range");
        if (this.#e = L, this.#t = O, this.#r = N, this.#n = K, this.#r === 0) {
          if (this.isUNC()) {
            let [oe, pe, _e, V, ...B] = this.#e, [G, X, ne, I, ...M] = this.#t;
            B[0] === "" && (B.shift(), M.shift());
            let ee = [
              oe,
              pe,
              _e,
              V,
              ""
            ].join("/"), Ae = [
              G,
              X,
              ne,
              I,
              ""
            ].join("/");
            this.#e = [ee, ...B], this.#t = [Ae, ...M], this.length = this.#e.length;
          } else if (this.isDrive() || this.isAbsolute()) {
            let [oe, ...pe] = this.#e, [_e, ...V] = this.#t;
            pe[0] === "" && (pe.shift(), V.shift());
            let B = oe + "/", G = _e + "/";
            this.#e = [B, ...pe], this.#t = [G, ...V], this.length = this.#e.length;
          }
        }
      }
      [P]() {
        return "Pattern <" + this.#t.slice(this.#r).join("/") + ">";
      }
      pattern() {
        return this.#e[this.#r];
      }
      isString() {
        return typeof this.#e[this.#r] == "string";
      }
      isGlobstar() {
        return this.#e[this.#r] === F.GLOBSTAR;
      }
      isRegExp() {
        return this.#e[this.#r] instanceof RegExp;
      }
      globString() {
        return this.#l = this.#l || (this.#r === 0 ? this.isAbsolute() ? this.#t[0] + this.#t.slice(1).join("/") : this.#t.join("/") : this.#t.slice(this.#r).join("/"));
      }
      hasMore() {
        return this.length > this.#r + 1;
      }
      rest() {
        return this.#a !== void 0 ? this.#a : this.hasMore() ? (this.#a = new ad(this.#e, this.#t, this.#r + 1, this.#n), this.#a.#o = this.#o, this.#a.#c = this.#c, this.#a.#f = this.#f, this.#a) : this.#a = null;
      }
      isUNC() {
        let L = this.#e;
        return this.#c !== void 0 ? this.#c : this.#c = this.#n === "win32" && this.#r === 0 && L[0] === "" && L[1] === "" && typeof L[2] == "string" && !!L[2] && typeof L[3] == "string" && !!L[3];
      }
      isDrive() {
        let L = this.#e;
        return this.#f !== void 0 ? this.#f : this.#f = this.#n === "win32" && this.#r === 0 && this.length > 1 && typeof L[0] == "string" && /^[a-z]:$/i.test(L[0]);
      }
      isAbsolute() {
        let L = this.#e;
        return this.#o !== void 0 ? this.#o : this.#o = L[0] === "" && L.length > 1 || this.isDrive() || this.isUNC();
      }
      root() {
        let L = this.#e[0];
        return typeof L == "string" && this.isAbsolute() && this.#r === 0 ? L : "";
      }
      checkFollowGlobstar() {
        return !(this.#r === 0 || !this.isGlobstar() || !this.#p);
      }
      markFollowGlobstar() {
        return this.#r === 0 || !this.isGlobstar() || !this.#p ? !1 : (this.#p = !1, !0);
      }
    };
  }), p = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.Ignore = void 0;
    var F = u(), q = d(), W = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", P = class {
      relative;
      relativeChildren;
      absolute;
      absoluteChildren;
      platform;
      mmopts;
      constructor(x, { nobrace: L, nocase: O, noext: N, noglobstar: K, platform: oe = W }) {
        this.relative = [], this.absolute = [], this.relativeChildren = [], this.absoluteChildren = [], this.platform = oe, this.mmopts = {
          dot: !0,
          nobrace: L,
          nocase: O,
          noext: N,
          noglobstar: K,
          optimizationLevel: 2,
          platform: oe,
          nocomment: !0,
          nonegate: !0
        };
        for (let pe of x) this.add(pe);
      }
      add(x) {
        let L = new F.Minimatch(x, this.mmopts);
        for (let O = 0; O < L.set.length; O++) {
          let N = L.set[O], K = L.globParts[O];
          if (!N || !K) throw new Error("invalid pattern object");
          for (; N[0] === "." && K[0] === "."; ) N.shift(), K.shift();
          let oe = new q.Pattern(N, K, 0, this.platform), pe = new F.Minimatch(oe.globString(), this.mmopts), _e = K[K.length - 1] === "**", V = oe.isAbsolute();
          V ? this.absolute.push(pe) : this.relative.push(pe), _e && (V ? this.absoluteChildren.push(pe) : this.relativeChildren.push(pe));
        }
      }
      ignored(x) {
        let L = x.fullpath(), O = `${L}/`, N = x.relative() || ".", K = `${N}/`;
        for (let oe of this.relative) if (oe.match(N) || oe.match(K)) return !0;
        for (let oe of this.absolute) if (oe.match(L) || oe.match(O)) return !0;
        return !1;
      }
      childrenIgnored(x) {
        let L = x.fullpath() + "/", O = (x.relative() || ".") + "/";
        for (let N of this.relativeChildren) if (N.match(O)) return !0;
        for (let N of this.absoluteChildren) if (N.match(L)) return !0;
        return !1;
      }
    };
    k.Ignore = P;
  }), m = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.Processor = k.SubWalks = k.MatchRecord = k.HasWalkedCache = void 0;
    var F = u(), q = class od {
      store;
      constructor(L = /* @__PURE__ */ new Map()) {
        this.store = L;
      }
      copy() {
        return new od(new Map(this.store));
      }
      hasWalked(L, O) {
        return this.store.get(L.fullpath())?.has(O.globString());
      }
      storeWalked(L, O) {
        let N = L.fullpath(), K = this.store.get(N);
        K ? K.add(O.globString()) : this.store.set(N, /* @__PURE__ */ new Set([O.globString()]));
      }
    };
    k.HasWalkedCache = q;
    var W = class {
      store = /* @__PURE__ */ new Map();
      add(x, L, O) {
        let N = (L ? 2 : 0) | (O ? 1 : 0), K = this.store.get(x);
        this.store.set(x, K === void 0 ? N : N & K);
      }
      entries() {
        return [...this.store.entries()].map(([x, L]) => [
          x,
          !!(L & 2),
          !!(L & 1)
        ]);
      }
    };
    k.MatchRecord = W;
    var P = class {
      store = /* @__PURE__ */ new Map();
      add(x, L) {
        if (!x.canReaddir()) return;
        let O = this.store.get(x);
        O ? O.find((N) => N.globString() === L.globString()) || O.push(L) : this.store.set(x, [L]);
      }
      get(x) {
        let L = this.store.get(x);
        if (!L) throw new Error("attempting to walk unknown path");
        return L;
      }
      entries() {
        return this.keys().map((x) => [x, this.store.get(x)]);
      }
      keys() {
        return [...this.store.keys()].filter((x) => x.canReaddir());
      }
    };
    k.SubWalks = P, k.Processor = class ud {
      hasWalkedCache;
      matches = new W();
      subwalks = new P();
      patterns;
      follow;
      dot;
      opts;
      constructor(L, O) {
        this.opts = L, this.follow = !!L.follow, this.dot = !!L.dot, this.hasWalkedCache = O ? O.copy() : new q();
      }
      processPatterns(L, O) {
        this.patterns = O;
        let N = O.map((K) => [L, K]);
        for (let [K, oe] of N) {
          this.hasWalkedCache.storeWalked(K, oe);
          let pe = oe.root(), _e = oe.isAbsolute() && this.opts.absolute !== !1;
          if (pe) {
            K = K.resolve(pe === "/" && this.opts.root !== void 0 ? this.opts.root : pe);
            let X = oe.rest();
            if (X) oe = X;
            else {
              this.matches.add(K, !0, !1);
              continue;
            }
          }
          if (K.isENOENT()) continue;
          let V, B, G = !1;
          for (; typeof (V = oe.pattern()) == "string" && (B = oe.rest()); ) K = K.resolve(V), oe = B, G = !0;
          if (V = oe.pattern(), B = oe.rest(), G) {
            if (this.hasWalkedCache.hasWalked(K, oe)) continue;
            this.hasWalkedCache.storeWalked(K, oe);
          }
          if (typeof V == "string") {
            let X = V === ".." || V === "" || V === ".";
            this.matches.add(K.resolve(V), _e, X);
            continue;
          } else if (V === F.GLOBSTAR) {
            (!K.isSymbolicLink() || this.follow || oe.checkFollowGlobstar()) && this.subwalks.add(K, oe);
            let X = B?.pattern(), ne = B?.rest();
            if (!B || (X === "" || X === ".") && !ne) this.matches.add(K, _e, X === "" || X === ".");
            else if (X === "..") {
              let I = K.parent || K;
              ne ? this.hasWalkedCache.hasWalked(I, ne) || this.subwalks.add(I, ne) : this.matches.add(I, _e, !0);
            }
          } else V instanceof RegExp && this.subwalks.add(K, oe);
        }
        return this;
      }
      subwalkTargets() {
        return this.subwalks.keys();
      }
      child() {
        return new ud(this.opts, this.hasWalkedCache);
      }
      filterEntries(L, O) {
        let N = this.subwalks.get(L), K = this.child();
        for (let oe of O) for (let pe of N) {
          let _e = pe.isAbsolute(), V = pe.pattern(), B = pe.rest();
          V === F.GLOBSTAR ? K.testGlobstar(oe, pe, B, _e) : V instanceof RegExp ? K.testRegExp(oe, V, B, _e) : K.testString(oe, V, B, _e);
        }
        return K;
      }
      testGlobstar(L, O, N, K) {
        if ((this.dot || !L.name.startsWith(".")) && (O.hasMore() || this.matches.add(L, K, !1), L.canReaddir() && (this.follow || !L.isSymbolicLink() ? this.subwalks.add(L, O) : L.isSymbolicLink() && (N && O.checkFollowGlobstar() ? this.subwalks.add(L, N) : O.markFollowGlobstar() && this.subwalks.add(L, O)))), N) {
          let oe = N.pattern();
          if (typeof oe == "string" && oe !== ".." && oe !== "" && oe !== ".") this.testString(L, oe, N.rest(), K);
          else if (oe === "..") {
            let pe = L.parent || L;
            this.subwalks.add(pe, N);
          } else oe instanceof RegExp && this.testRegExp(L, oe, N.rest(), K);
        }
      }
      testRegExp(L, O, N, K) {
        O.test(L.name) && (N ? this.subwalks.add(L, N) : this.matches.add(L, K, !1));
      }
      testString(L, O, N, K) {
        L.isNamed(O) && (N ? this.subwalks.add(L, N) : this.matches.add(L, K, !1));
      }
    };
  }), g = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.GlobStream = k.GlobWalker = k.GlobUtil = void 0;
    var F = o(), q = p(), W = m(), P = (N, K) => typeof N == "string" ? new q.Ignore([N], K) : Array.isArray(N) ? new q.Ignore(N, K) : N, x = class {
      path;
      patterns;
      opts;
      seen = /* @__PURE__ */ new Set();
      paused = !1;
      aborted = !1;
      #e = [];
      #t;
      #r;
      signal;
      maxDepth;
      includeChildMatches;
      constructor(N, K, oe) {
        if (this.patterns = N, this.path = K, this.opts = oe, this.#r = !oe.posix && oe.platform === "win32" ? "\\" : "/", this.includeChildMatches = oe.includeChildMatches !== !1, (oe.ignore || !this.includeChildMatches) && (this.#t = P(oe.ignore ?? [], oe), !this.includeChildMatches && typeof this.#t.add != "function")) throw new Error("cannot ignore child matches, ignore lacks add() method.");
        this.maxDepth = oe.maxDepth || 1 / 0, oe.signal && (this.signal = oe.signal, this.signal.addEventListener("abort", () => {
          this.#e.length = 0;
        }));
      }
      #n(N) {
        return this.seen.has(N) || !!this.#t?.ignored?.(N);
      }
      #a(N) {
        return !!this.#t?.childrenIgnored?.(N);
      }
      pause() {
        this.paused = !0;
      }
      resume() {
        if (this.signal?.aborted) return;
        this.paused = !1;
        let N;
        for (; !this.paused && (N = this.#e.shift()); ) N();
      }
      onResume(N) {
        this.signal?.aborted || (this.paused ? this.#e.push(N) : N());
      }
      async matchCheck(N, K) {
        if (K && this.opts.nodir) return;
        let oe;
        if (this.opts.realpath) {
          if (oe = N.realpathCached() || await N.realpath(), !oe) return;
          N = oe;
        }
        let pe = N.isUnknown() || this.opts.stat ? await N.lstat() : N;
        if (this.opts.follow && this.opts.nodir && pe?.isSymbolicLink()) {
          let _e = await pe.realpath();
          _e && (_e.isUnknown() || this.opts.stat) && await _e.lstat();
        }
        return this.matchCheckTest(pe, K);
      }
      matchCheckTest(N, K) {
        return N && (this.maxDepth === 1 / 0 || N.depth() <= this.maxDepth) && (!K || N.canReaddir()) && (!this.opts.nodir || !N.isDirectory()) && (!this.opts.nodir || !this.opts.follow || !N.isSymbolicLink() || !N.realpathCached()?.isDirectory()) && !this.#n(N) ? N : void 0;
      }
      matchCheckSync(N, K) {
        if (K && this.opts.nodir) return;
        let oe;
        if (this.opts.realpath) {
          if (oe = N.realpathCached() || N.realpathSync(), !oe) return;
          N = oe;
        }
        let pe = N.isUnknown() || this.opts.stat ? N.lstatSync() : N;
        if (this.opts.follow && this.opts.nodir && pe?.isSymbolicLink()) {
          let _e = pe.realpathSync();
          _e && (_e?.isUnknown() || this.opts.stat) && _e.lstatSync();
        }
        return this.matchCheckTest(pe, K);
      }
      matchFinish(N, K) {
        if (this.#n(N)) return;
        if (!this.includeChildMatches && this.#t?.add) {
          let _e = `${N.relativePosix()}/**`;
          this.#t.add(_e);
        }
        let oe = this.opts.absolute === void 0 ? K : this.opts.absolute;
        this.seen.add(N);
        let pe = this.opts.mark && N.isDirectory() ? this.#r : "";
        if (this.opts.withFileTypes) this.matchEmit(N);
        else if (oe) {
          let _e = this.opts.posix ? N.fullpathPosix() : N.fullpath();
          this.matchEmit(_e + pe);
        } else {
          let _e = this.opts.posix ? N.relativePosix() : N.relative(), V = this.opts.dotRelative && !_e.startsWith(".." + this.#r) ? "." + this.#r : "";
          this.matchEmit(_e ? V + _e + pe : "." + pe);
        }
      }
      async match(N, K, oe) {
        let pe = await this.matchCheck(N, oe);
        pe && this.matchFinish(pe, K);
      }
      matchSync(N, K, oe) {
        let pe = this.matchCheckSync(N, oe);
        pe && this.matchFinish(pe, K);
      }
      walkCB(N, K, oe) {
        this.signal?.aborted && oe(), this.walkCB2(N, K, new W.Processor(this.opts), oe);
      }
      walkCB2(N, K, oe, pe) {
        if (this.#a(N)) return pe();
        if (this.signal?.aborted && pe(), this.paused) {
          this.onResume(() => this.walkCB2(N, K, oe, pe));
          return;
        }
        oe.processPatterns(N, K);
        let _e = 1, V = () => {
          --_e === 0 && pe();
        };
        for (let [B, G, X] of oe.matches.entries()) this.#n(B) || (_e++, this.match(B, G, X).then(() => V()));
        for (let B of oe.subwalkTargets()) {
          if (this.maxDepth !== 1 / 0 && B.depth() >= this.maxDepth) continue;
          _e++;
          let G = B.readdirCached();
          B.calledReaddir() ? this.walkCB3(B, G, oe, V) : B.readdirCB((X, ne) => this.walkCB3(B, ne, oe, V), !0);
        }
        V();
      }
      walkCB3(N, K, oe, pe) {
        oe = oe.filterEntries(N, K);
        let _e = 1, V = () => {
          --_e === 0 && pe();
        };
        for (let [B, G, X] of oe.matches.entries()) this.#n(B) || (_e++, this.match(B, G, X).then(() => V()));
        for (let [B, G] of oe.subwalks.entries()) _e++, this.walkCB2(B, G, oe.child(), V);
        V();
      }
      walkCBSync(N, K, oe) {
        this.signal?.aborted && oe(), this.walkCB2Sync(N, K, new W.Processor(this.opts), oe);
      }
      walkCB2Sync(N, K, oe, pe) {
        if (this.#a(N)) return pe();
        if (this.signal?.aborted && pe(), this.paused) {
          this.onResume(() => this.walkCB2Sync(N, K, oe, pe));
          return;
        }
        oe.processPatterns(N, K);
        let _e = 1, V = () => {
          --_e === 0 && pe();
        };
        for (let [B, G, X] of oe.matches.entries()) this.#n(B) || this.matchSync(B, G, X);
        for (let B of oe.subwalkTargets()) {
          if (this.maxDepth !== 1 / 0 && B.depth() >= this.maxDepth) continue;
          _e++;
          let G = B.readdirSync();
          this.walkCB3Sync(B, G, oe, V);
        }
        V();
      }
      walkCB3Sync(N, K, oe, pe) {
        oe = oe.filterEntries(N, K);
        let _e = 1, V = () => {
          --_e === 0 && pe();
        };
        for (let [B, G, X] of oe.matches.entries()) this.#n(B) || this.matchSync(B, G, X);
        for (let [B, G] of oe.subwalks.entries()) _e++, this.walkCB2Sync(B, G, oe.child(), V);
        V();
      }
    };
    k.GlobUtil = x;
    var L = class extends x {
      matches = /* @__PURE__ */ new Set();
      constructor(N, K, oe) {
        super(N, K, oe);
      }
      matchEmit(N) {
        this.matches.add(N);
      }
      async walk() {
        if (this.signal?.aborted) throw this.signal.reason;
        return this.path.isUnknown() && await this.path.lstat(), await new Promise((N, K) => {
          this.walkCB(this.path, this.patterns, () => {
            this.signal?.aborted ? K(this.signal.reason) : N(this.matches);
          });
        }), this.matches;
      }
      walkSync() {
        if (this.signal?.aborted) throw this.signal.reason;
        return this.path.isUnknown() && this.path.lstatSync(), this.walkCBSync(this.path, this.patterns, () => {
          if (this.signal?.aborted) throw this.signal.reason;
        }), this.matches;
      }
    };
    k.GlobWalker = L;
    var O = class extends x {
      results;
      constructor(N, K, oe) {
        super(N, K, oe), this.results = new F.Minipass({
          signal: this.signal,
          objectMode: !0
        }), this.results.on("drain", () => this.resume()), this.results.on("resume", () => this.resume());
      }
      matchEmit(N) {
        this.results.write(N), this.results.flowing || this.pause();
      }
      stream() {
        let N = this.path;
        return N.isUnknown() ? N.lstat().then(() => {
          this.walkCB(N, this.patterns, () => this.results.end());
        }) : this.walkCB(N, this.patterns, () => this.results.end()), this.results;
      }
      streamSync() {
        return this.path.isUnknown() && this.path.lstatSync(), this.walkCBSync(this.path, this.patterns, () => this.results.end()), this.results;
      }
    };
    k.GlobStream = O;
  }), v = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.Glob = void 0;
    var F = u(), q = ve("node:url"), W = c(), P = d(), x = g(), L = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", O = class {
      absolute;
      cwd;
      root;
      dot;
      dotRelative;
      follow;
      ignore;
      magicalBraces;
      mark;
      matchBase;
      maxDepth;
      nobrace;
      nocase;
      nodir;
      noext;
      noglobstar;
      pattern;
      platform;
      realpath;
      scurry;
      stat;
      signal;
      windowsPathsNoEscape;
      withFileTypes;
      includeChildMatches;
      opts;
      patterns;
      constructor(N, K) {
        if (!K) throw new TypeError("glob options required");
        if (this.withFileTypes = !!K.withFileTypes, this.signal = K.signal, this.follow = !!K.follow, this.dot = !!K.dot, this.dotRelative = !!K.dotRelative, this.nodir = !!K.nodir, this.mark = !!K.mark, K.cwd ? (K.cwd instanceof URL || K.cwd.startsWith("file://")) && (K.cwd = (0, q.fileURLToPath)(K.cwd)) : this.cwd = "", this.cwd = K.cwd || "", this.root = K.root, this.magicalBraces = !!K.magicalBraces, this.nobrace = !!K.nobrace, this.noext = !!K.noext, this.realpath = !!K.realpath, this.absolute = K.absolute, this.includeChildMatches = K.includeChildMatches !== !1, this.noglobstar = !!K.noglobstar, this.matchBase = !!K.matchBase, this.maxDepth = typeof K.maxDepth == "number" ? K.maxDepth : 1 / 0, this.stat = !!K.stat, this.ignore = K.ignore, this.withFileTypes && this.absolute !== void 0) throw new Error("cannot set absolute and withFileTypes:true");
        if (typeof N == "string" && (N = [N]), this.windowsPathsNoEscape = !!K.windowsPathsNoEscape || K.allowWindowsEscape === !1, this.windowsPathsNoEscape && (N = N.map((B) => B.replace(/\\/g, "/"))), this.matchBase) {
          if (K.noglobstar) throw new TypeError("base matching requires globstar");
          N = N.map((B) => B.includes("/") ? B : `./**/${B}`);
        }
        if (this.pattern = N, this.platform = K.platform || L, this.opts = {
          ...K,
          platform: this.platform
        }, K.scurry) {
          if (this.scurry = K.scurry, K.nocase !== void 0 && K.nocase !== K.scurry.nocase) throw new Error("nocase option contradicts provided scurry option");
        } else this.scurry = new (K.platform === "win32" ? W.PathScurryWin32 : K.platform === "darwin" ? W.PathScurryDarwin : K.platform ? W.PathScurryPosix : W.PathScurry)(this.cwd, {
          nocase: K.nocase,
          fs: K.fs
        });
        this.nocase = this.scurry.nocase;
        let oe = this.platform === "darwin" || this.platform === "win32", pe = {
          braceExpandMax: 1e4,
          ...K,
          dot: this.dot,
          matchBase: this.matchBase,
          nobrace: this.nobrace,
          nocase: this.nocase,
          nocaseMagicOnly: oe,
          nocomment: !0,
          noext: this.noext,
          nonegate: !0,
          optimizationLevel: 2,
          platform: this.platform,
          windowsPathsNoEscape: this.windowsPathsNoEscape,
          debug: !!this.opts.debug
        }, [_e, V] = this.pattern.map((B) => new F.Minimatch(B, pe)).reduce((B, G) => (B[0].push(...G.set), B[1].push(...G.globParts), B), [[], []]);
        this.patterns = _e.map((B, G) => {
          let X = V[G];
          if (!X) throw new Error("invalid pattern object");
          return new P.Pattern(B, X, 0, this.platform);
        });
      }
      async walk() {
        return [...await new x.GlobWalker(this.patterns, this.scurry.cwd, {
          ...this.opts,
          maxDepth: this.maxDepth !== 1 / 0 ? this.maxDepth + this.scurry.cwd.depth() : 1 / 0,
          platform: this.platform,
          nocase: this.nocase,
          includeChildMatches: this.includeChildMatches
        }).walk()];
      }
      walkSync() {
        return [...new x.GlobWalker(this.patterns, this.scurry.cwd, {
          ...this.opts,
          maxDepth: this.maxDepth !== 1 / 0 ? this.maxDepth + this.scurry.cwd.depth() : 1 / 0,
          platform: this.platform,
          nocase: this.nocase,
          includeChildMatches: this.includeChildMatches
        }).walkSync()];
      }
      stream() {
        return new x.GlobStream(this.patterns, this.scurry.cwd, {
          ...this.opts,
          maxDepth: this.maxDepth !== 1 / 0 ? this.maxDepth + this.scurry.cwd.depth() : 1 / 0,
          platform: this.platform,
          nocase: this.nocase,
          includeChildMatches: this.includeChildMatches
        }).stream();
      }
      streamSync() {
        return new x.GlobStream(this.patterns, this.scurry.cwd, {
          ...this.opts,
          maxDepth: this.maxDepth !== 1 / 0 ? this.maxDepth + this.scurry.cwd.depth() : 1 / 0,
          platform: this.platform,
          nocase: this.nocase,
          includeChildMatches: this.includeChildMatches
        }).streamSync();
      }
      iterateSync() {
        return this.streamSync()[Symbol.iterator]();
      }
      [Symbol.iterator]() {
        return this.iterateSync();
      }
      iterate() {
        return this.stream()[Symbol.asyncIterator]();
      }
      [Symbol.asyncIterator]() {
        return this.iterate();
      }
    };
    k.Glob = O;
  }), y = t((k) => {
    "use strict";
    Object.defineProperty(k, "__esModule", { value: !0 }), k.hasMagic = void 0;
    var F = u(), q = (W, P = {}) => {
      Array.isArray(W) || (W = [W]);
      for (let x of W) if (new F.Minimatch(x, P).hasMagic()) return !0;
      return !1;
    };
    k.hasMagic = q;
  });
  Object.defineProperty(e, "__esModule", { value: !0 }), e.glob = e.sync = e.iterate = e.iterateSync = e.stream = e.streamSync = e.Ignore = e.hasMagic = e.Glob = e.unescape = e.escape = void 0, e.globStreamSync = T, e.globStream = U, e.globSync = $, e.globIterateSync = Y, e.globIterate = H;
  var w = u(), _ = v(), b = y(), E = u();
  Object.defineProperty(e, "escape", {
    enumerable: !0,
    get: function() {
      return E.escape;
    }
  }), Object.defineProperty(e, "unescape", {
    enumerable: !0,
    get: function() {
      return E.unescape;
    }
  });
  var D = v();
  Object.defineProperty(e, "Glob", {
    enumerable: !0,
    get: function() {
      return D.Glob;
    }
  });
  var S = y();
  Object.defineProperty(e, "hasMagic", {
    enumerable: !0,
    get: function() {
      return S.hasMagic;
    }
  });
  var C = p();
  Object.defineProperty(e, "Ignore", {
    enumerable: !0,
    get: function() {
      return C.Ignore;
    }
  });
  function T(k, F = {}) {
    return new _.Glob(k, F).streamSync();
  }
  function U(k, F = {}) {
    return new _.Glob(k, F).stream();
  }
  function $(k, F = {}) {
    return new _.Glob(k, F).walkSync();
  }
  async function z(k, F = {}) {
    return new _.Glob(k, F).walk();
  }
  function Y(k, F = {}) {
    return new _.Glob(k, F).iterateSync();
  }
  function H(k, F = {}) {
    return new _.Glob(k, F).iterate();
  }
  e.streamSync = T, e.stream = Object.assign(U, { sync: T }), e.iterateSync = Y, e.iterate = Object.assign(H, { sync: Y }), e.sync = Object.assign($, {
    stream: T,
    iterate: Y
  }), e.glob = Object.assign(z, {
    glob: z,
    globSync: $,
    sync: e.sync,
    globStream: U,
    stream: e.stream,
    globStreamSync: T,
    streamSync: e.streamSync,
    globIterate: H,
    iterate: e.iterate,
    globIterateSync: Y,
    iterateSync: e.iterateSync,
    Glob: _.Glob,
    hasMagic: b.hasMagic,
    escape: w.escape,
    unescape: w.unescape
  }), e.glob.glob = e.glob;
})), ld = /* @__PURE__ */ j(((e, t) => {
  var { glob: r } = Kb(), i = ve("path"), s = (h) => h.split(i.win32.sep).join(i.posix.sep);
  t.exports = (h, a) => r(s(h), a);
})), Zb = /* @__PURE__ */ j(((e, t) => {
  var r = ve("fs/promises"), i = dn(), { hasContent: s } = rd();
  t.exports = h;
  async function h(a, n) {
    const l = await s(a, n);
    return l && l.sri ? (await r.rm(i(a, l.sri), {
      recursive: !0,
      force: !0
    }), !0) : !1;
  }
})), Jb = /* @__PURE__ */ j(((e, t) => {
  var { rm: r } = ve("fs/promises"), i = ld(), s = pn(), h = Ds(), a = ve("path"), n = Zb();
  t.exports = l, t.exports.entry = l;
  function l(o, c, d) {
    return h.clearMemoized(), s.delete(o, c, d);
  }
  t.exports.content = u;
  function u(o, c) {
    return h.clearMemoized(), n(o, c);
  }
  t.exports.all = f;
  async function f(o) {
    h.clearMemoized();
    const c = await i(a.join(o, "*(content-*|index-*)"), {
      silent: !0,
      nosort: !0
    });
    return Promise.all(c.map((d) => r(d, {
      recursive: !0,
      force: !0
    })));
  }
})), Xb = /* @__PURE__ */ j(((e, t) => {
  var { mkdir: r, readFile: i, rm: s, stat: h, truncate: a, writeFile: n } = ve("fs/promises"), l = dn(), u = qu(), f = ld(), o = pn(), c = ve("path"), d = qr(), p = (U, $) => Object.prototype.hasOwnProperty.call(U, $), m = (U) => ({
    concurrency: 20,
    log: { silly() {
    } },
    ...U
  });
  t.exports = g;
  async function g(U, $) {
    $ = m($), $.log.silly("verify", "verifying cache at", U);
    const z = [
      v,
      w,
      _,
      E,
      S,
      C,
      y
    ], Y = {};
    for (const H of z) {
      const k = H.name, F = /* @__PURE__ */ new Date(), q = await H(U, $);
      q && Object.keys(q).forEach((P) => {
        Y[P] = q[P];
      });
      const W = /* @__PURE__ */ new Date();
      Y.runTime || (Y.runTime = {}), Y.runTime[k] = W - F;
    }
    return Y.runTime.total = Y.endTime - Y.startTime, $.log.silly("verify", "verification finished for", U, "in", `${Y.runTime.total}ms`), Y;
  }
  async function v() {
    return { startTime: /* @__PURE__ */ new Date() };
  }
  async function y() {
    return { endTime: /* @__PURE__ */ new Date() };
  }
  async function w(U, $) {
    return $.log.silly("verify", "fixing cache permissions"), await r(U, { recursive: !0 }), null;
  }
  async function _(U, $) {
    $.log.silly("verify", "garbage collecting content");
    const { default: z } = await import("./chunks/p-map-DaKUJ_MH.js").then((W) => (W.t(), W.r)), Y = o.lsStream(U), H = /* @__PURE__ */ new Set();
    Y.on("data", (W) => {
      if ($.filter && !$.filter(W)) return;
      const P = d.parse(W.integrity);
      for (const x in P) H.add(P[x].toString());
    }), await new Promise((W, P) => {
      Y.on("end", W).on("error", P);
    });
    const k = l.contentDir(U), F = await f(c.join(k, "**"), {
      follow: !1,
      nodir: !0,
      nosort: !0
    }), q = {
      verifiedContent: 0,
      reclaimedCount: 0,
      reclaimedSize: 0,
      badContentCount: 0,
      keptSize: 0
    };
    return await z(F, async (W) => {
      const P = W.split(/[/\\]/), x = P.slice(P.length - 3).join(""), L = P[P.length - 4], O = d.fromHex(x, L);
      if (H.has(O.toString())) {
        const N = await b(W, O);
        N.valid ? (q.verifiedContent++, q.keptSize += N.size) : (q.reclaimedCount++, q.badContentCount++, q.reclaimedSize += N.size);
      } else {
        q.reclaimedCount++;
        const N = await h(W);
        await s(W, {
          recursive: !0,
          force: !0
        }), q.reclaimedSize += N.size;
      }
      return q;
    }, { concurrency: $.concurrency }), q;
  }
  async function b(U, $) {
    const z = {};
    try {
      const { size: Y } = await h(U);
      z.size = Y, z.valid = !0, await d.checkStream(new u.ReadStream(U), $);
    } catch (Y) {
      if (Y.code === "ENOENT") return {
        size: 0,
        valid: !1
      };
      if (Y.code !== "EINTEGRITY") throw Y;
      await s(U, {
        recursive: !0,
        force: !0
      }), z.valid = !1;
    }
    return z;
  }
  async function E(U, $) {
    $.log.silly("verify", "rebuilding index");
    const { default: z } = await import("./chunks/p-map-DaKUJ_MH.js").then((F) => (F.t(), F.r)), Y = await o.ls(U), H = {
      missingContent: 0,
      rejectedEntries: 0,
      totalEntries: 0
    }, k = {};
    for (const F in Y)
      if (p(Y, F)) {
        const q = o.hashKey(F), W = Y[F], P = $.filter && !$.filter(W);
        P && H.rejectedEntries++, k[q] && !P ? k[q].push(W) : k[q] && P || (P ? (k[q] = [], k[q]._path = o.bucketPath(U, F)) : (k[q] = [W], k[q]._path = o.bucketPath(U, F)));
      }
    return await z(Object.keys(k), (F) => D(U, k[F], H, $), { concurrency: $.concurrency }), H;
  }
  async function D(U, $, z) {
    await a($._path);
    for (const Y of $) {
      const H = l(U, Y.integrity);
      try {
        await h(H), await o.insert(U, Y.key, Y.integrity, {
          metadata: Y.metadata,
          size: Y.size,
          time: Y.time
        }), z.totalEntries++;
      } catch (k) {
        if (k.code === "ENOENT")
          z.rejectedEntries++, z.missingContent++;
        else throw k;
      }
    }
  }
  function S(U, $) {
    return $.log.silly("verify", "cleaning tmp directory"), s(c.join(U, "tmp"), {
      recursive: !0,
      force: !0
    });
  }
  async function C(U, $) {
    const z = c.join(U, "_lastverified");
    return $.log.silly("verify", "writing verifile to " + z), n(z, `${Date.now()}`);
  }
  t.exports.lastRun = T;
  async function T(U) {
    const $ = await i(c.join(U, "_lastverified"), { encoding: "utf8" });
    return /* @__PURE__ */ new Date(+$);
  }
})), Qb = /* @__PURE__ */ j(((e, t) => {
  var r = Wb(), i = Yb(), s = Jb(), h = Xb(), { clearMemoized: a } = Ds(), n = Hu(), l = pn();
  t.exports.index = {}, t.exports.index.compact = l.compact, t.exports.index.insert = l.insert, t.exports.ls = l.ls, t.exports.ls.stream = l.lsStream, t.exports.get = r, t.exports.get.byDigest = r.byDigest, t.exports.get.stream = r.stream, t.exports.get.stream.byDigest = r.stream.byDigest, t.exports.get.copy = r.copy, t.exports.get.copy.byDigest = r.copy.byDigest, t.exports.get.info = r.info, t.exports.get.hasContent = r.hasContent, t.exports.put = i, t.exports.put.stream = i.stream, t.exports.rm = s.entry, t.exports.rm.all = s.all, t.exports.rm.entry = t.exports.rm, t.exports.rm.content = s.content, t.exports.clearMemoized = a, t.exports.tmp = {}, t.exports.tmp.mkdir = n.mkdir, t.exports.tmp.withTmp = n.withTmp, t.exports.verify = h, t.exports.verify.lastRun = h.lastRun;
})), cd = /* @__PURE__ */ j(((e, t) => {
  var r = fn(), i = class extends r {
    #e = [];
    #t = /* @__PURE__ */ new Map();
    constructor(s, ...h) {
      super(), this.#e = s.events, h.length && this.push(...h);
    }
    on(s, h) {
      return this.#e.includes(s) && this.#t.has(s) ? h(...this.#t.get(s)) : super.on(s, h);
    }
    emit(s, ...h) {
      return this.#e.includes(s) && this.#t.set(s, h), super.emit(s, ...h);
    }
  };
  t.exports = i;
})), ew = /* @__PURE__ */ j(((e, t) => {
  var { URL: r, format: i } = ve("url"), s = {
    auth: !1,
    fragment: !1,
    search: !0,
    unicode: !1
  }, h = (a) => `make-fetch-happen:request-cache:${i(new r(a.url), s)}`;
  t.exports = h;
})), tw = /* @__PURE__ */ j(((e, t) => {
  var r = class {
    #e = 1;
    #t = null;
    #r = [];
    #n = null;
    #a;
    #l = null;
    #f;
    #c;
    #o = null;
    #p;
    constructor(i, s = {}) {
      this.#f = [...i], this.#c = [...i], this.#p = s.unref, this.#a = s.maxRetryTime || 1 / 0, s.forever && (this.#t = [...this.#c]);
    }
    get timeouts() {
      return [...this.#c];
    }
    get errors() {
      return [...this.#r];
    }
    get attempts() {
      return this.#e;
    }
    get mainError() {
      let i = null;
      if (this.#r.length) {
        let s = 0;
        const h = {};
        for (let a = 0; a < this.#r.length; a++) {
          const n = this.#r[a], { message: l } = n;
          h[l] || (h[l] = 0), h[l]++, h[l] >= s && (i = n, s = h[l]);
        }
      }
      return i;
    }
    reset() {
      this.#e = 1, this.#c = [...this.#f];
    }
    stop() {
      this.#o && clearTimeout(this.#o), this.#c = [], this.#t = null;
    }
    retry(i) {
      if (this.#r.push(i), (/* @__PURE__ */ new Date()).getTime() - this.#l >= this.#a)
        return this.#r.unshift(/* @__PURE__ */ new Error("RetryOperation timeout occurred")), !1;
      let s = this.#c.shift();
      if (s === void 0) if (this.#t)
        this.#r.pop(), s = this.#t.at(-1);
      else return !1;
      return this.#o = setTimeout(() => {
        this.#e++, this.#n(this.#e);
      }, s), this.#p && this.#o.unref(), !0;
    }
    attempt(i) {
      this.#n = i, this.#l = (/* @__PURE__ */ new Date()).getTime(), this.#n(this.#e);
    }
  };
  t.exports = { RetryOperation: r };
})), rw = /* @__PURE__ */ j(((e, t) => {
  var { RetryOperation: r } = tw(), i = (a, n) => Math.min(Math.round((1 + (n.randomize ? Math.random() : 0)) * Math.max(n.minTimeout, 1) * Math.pow(n.factor, a)), n.maxTimeout), s = (a) => a?.code === "EPROMISERETRY" && Object.hasOwn(a, "retried"), h = async (a, n = {}) => {
    let l = [];
    if (n instanceof Array) l = [...n];
    else {
      n.retries === 1 / 0 && (n.forever = !0, delete n.retries);
      const f = {
        retries: 10,
        factor: 2,
        minTimeout: 1 * 1e3,
        maxTimeout: 1 / 0,
        randomize: !1,
        ...n
      };
      if (f.minTimeout > f.maxTimeout) throw new Error("minTimeout is greater than maxTimeout");
      if (f.retries) {
        for (let o = 0; o < f.retries; o++) l.push(i(o, f));
        l.sort((o, c) => o - c);
      } else n.forever && l.push(i(0, f));
    }
    const u = new r(l, {
      forever: n.forever,
      unref: n.unref,
      maxRetryTime: n.maxRetryTime
    });
    return new Promise(function(f, o) {
      u.attempt(async (c) => {
        try {
          return f(await a((d) => {
            throw Object.assign(/* @__PURE__ */ new Error("Retrying"), {
              code: "EPROMISERETRY",
              retried: d
            });
          }, c, u));
        } catch (d) {
          if (!s(d)) return o(d);
          if (!u.retry(d.retried || /* @__PURE__ */ new Error())) return o(d.retried);
        }
      });
    });
  };
  t.exports = { promiseRetry: h };
})), hd = /* @__PURE__ */ j(((e, t) => {
  var { LRUCache: r } = an(), i = ve("dns"), s = new r({ max: 50 }), h = ({ family: a = 0, hints: n = i.ADDRCONFIG, all: l = !1, verbatim: u = void 0, ttl: f = 300 * 1e3, lookup: o = i.lookup }) => ({
    hints: n,
    lookup: (c, ...d) => {
      const p = d.pop(), m = d[0] ?? {}, g = {
        family: a,
        hints: n,
        all: l,
        verbatim: u,
        ...typeof m == "number" ? { family: m } : m
      }, v = JSON.stringify({
        hostname: c,
        ...g
      });
      if (s.has(v)) {
        const y = s.get(v);
        return process.nextTick(p, null, ...y);
      }
      o(c, g, (y, ...w) => y ? p(y) : (s.set(v, w, { ttl: f }), p(null, ...w)));
    }
  });
  t.exports = {
    cache: s,
    getOptions: h
  };
})), fd = /* @__PURE__ */ j(((e, t) => {
  var r = hd(), i = (a) => {
    const n = parseInt(a.family ?? "0", 10), l = a.keepAlive ?? !0, u = {
      keepAliveMsecs: l ? 1e3 : void 0,
      maxSockets: a.maxSockets ?? 15,
      maxTotalSockets: 1 / 0,
      maxFreeSockets: l ? 256 : void 0,
      scheduling: "fifo",
      ...a,
      family: n,
      keepAlive: l,
      timeouts: {
        idle: a.timeout ?? 0,
        connection: 0,
        response: 0,
        transfer: 0,
        ...a.timeouts
      },
      ...r.getOptions({
        family: n,
        ...a.dns
      })
    };
    return delete u.timeout, u;
  }, s = (a) => {
    let n = "";
    const l = Object.entries(a).sort((u, f) => u[0] - f[0]);
    for (let [u, f] of l)
      f == null ? f = "null" : f instanceof URL ? f = f.toString() : typeof f == "object" && (f = s(f)), n += `${u}:${f}:`;
    return n;
  }, h = ({ secureEndpoint: a, ...n }) => s({
    secureEndpoint: !!a,
    family: n.family,
    hints: n.hints,
    localAddress: n.localAddress,
    strictSsl: a ? !!n.rejectUnauthorized : !1,
    ca: a ? n.ca : null,
    cert: a ? n.cert : null,
    key: a ? n.key : null,
    keepAlive: n.keepAlive,
    keepAliveMsecs: n.keepAliveMsecs,
    maxSockets: n.maxSockets,
    maxTotalSockets: n.maxTotalSockets,
    maxFreeSockets: n.maxFreeSockets,
    scheduling: n.scheduling,
    timeouts: n.timeouts,
    proxy: n.proxy
  });
  t.exports = {
    normalizeOptions: i,
    cacheOptions: h
  };
})), iw = /* @__PURE__ */ j(((e, t) => {
  var r = 1e3, i = r * 60, s = i * 60, h = s * 24, a = h * 7, n = h * 365.25;
  t.exports = function(c, d) {
    d = d || {};
    var p = typeof c;
    if (p === "string" && c.length > 0) return l(c);
    if (p === "number" && isFinite(c)) return d.long ? f(c) : u(c);
    throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(c));
  };
  function l(c) {
    if (c = String(c), !(c.length > 100)) {
      var d = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);
      if (d) {
        var p = parseFloat(d[1]);
        switch ((d[2] || "ms").toLowerCase()) {
          case "years":
          case "year":
          case "yrs":
          case "yr":
          case "y":
            return p * n;
          case "weeks":
          case "week":
          case "w":
            return p * a;
          case "days":
          case "day":
          case "d":
            return p * h;
          case "hours":
          case "hour":
          case "hrs":
          case "hr":
          case "h":
            return p * s;
          case "minutes":
          case "minute":
          case "mins":
          case "min":
          case "m":
            return p * i;
          case "seconds":
          case "second":
          case "secs":
          case "sec":
          case "s":
            return p * r;
          case "milliseconds":
          case "millisecond":
          case "msecs":
          case "msec":
          case "ms":
            return p;
          default:
            return;
        }
      }
    }
  }
  function u(c) {
    var d = Math.abs(c);
    return d >= h ? Math.round(c / h) + "d" : d >= s ? Math.round(c / s) + "h" : d >= i ? Math.round(c / i) + "m" : d >= r ? Math.round(c / r) + "s" : c + "ms";
  }
  function f(c) {
    var d = Math.abs(c);
    return d >= h ? o(c, d, h, "day") : d >= s ? o(c, d, s, "hour") : d >= i ? o(c, d, i, "minute") : d >= r ? o(c, d, r, "second") : c + " ms";
  }
  function o(c, d, p, m) {
    var g = d >= p * 1.5;
    return Math.round(c / p) + " " + m + (g ? "s" : "");
  }
})), dd = /* @__PURE__ */ j(((e, t) => {
  function r(i) {
    h.debug = h, h.default = h, h.coerce = o, h.disable = u, h.enable = n, h.enabled = f, h.humanize = iw(), h.destroy = c, Object.keys(i).forEach((d) => {
      h[d] = i[d];
    }), h.names = [], h.skips = [], h.formatters = {};
    function s(d) {
      let p = 0;
      for (let m = 0; m < d.length; m++)
        p = (p << 5) - p + d.charCodeAt(m), p |= 0;
      return h.colors[Math.abs(p) % h.colors.length];
    }
    h.selectColor = s;
    function h(d) {
      let p, m = null, g, v;
      function y(...w) {
        if (!y.enabled) return;
        const _ = y, b = Number(/* @__PURE__ */ new Date());
        _.diff = b - (p || b), _.prev = p, _.curr = b, p = b, w[0] = h.coerce(w[0]), typeof w[0] != "string" && w.unshift("%O");
        let E = 0;
        w[0] = w[0].replace(/%([a-zA-Z%])/g, (D, S) => {
          if (D === "%%") return "%";
          E++;
          const C = h.formatters[S];
          if (typeof C == "function") {
            const T = w[E];
            D = C.call(_, T), w.splice(E, 1), E--;
          }
          return D;
        }), h.formatArgs.call(_, w), (_.log || h.log).apply(_, w);
      }
      return y.namespace = d, y.useColors = h.useColors(), y.color = h.selectColor(d), y.extend = a, y.destroy = h.destroy, Object.defineProperty(y, "enabled", {
        enumerable: !0,
        configurable: !1,
        get: () => m !== null ? m : (g !== h.namespaces && (g = h.namespaces, v = h.enabled(d)), v),
        set: (w) => {
          m = w;
        }
      }), typeof h.init == "function" && h.init(y), y;
    }
    function a(d, p) {
      const m = h(this.namespace + (typeof p > "u" ? ":" : p) + d);
      return m.log = this.log, m;
    }
    function n(d) {
      h.save(d), h.namespaces = d, h.names = [], h.skips = [];
      const p = (typeof d == "string" ? d : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
      for (const m of p) m[0] === "-" ? h.skips.push(m.slice(1)) : h.names.push(m);
    }
    function l(d, p) {
      let m = 0, g = 0, v = -1, y = 0;
      for (; m < d.length; ) if (g < p.length && (p[g] === d[m] || p[g] === "*")) p[g] === "*" ? (v = g, y = m, g++) : (m++, g++);
      else if (v !== -1)
        g = v + 1, y++, m = y;
      else return !1;
      for (; g < p.length && p[g] === "*"; ) g++;
      return g === p.length;
    }
    function u() {
      const d = [...h.names, ...h.skips.map((p) => "-" + p)].join(",");
      return h.enable(""), d;
    }
    function f(d) {
      for (const p of h.skips) if (l(d, p)) return !1;
      for (const p of h.names) if (l(d, p)) return !0;
      return !1;
    }
    function o(d) {
      return d instanceof Error ? d.stack || d.message : d;
    }
    function c() {
      console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
    }
    return h.enable(h.load()), h;
  }
  t.exports = r;
})), nw = /* @__PURE__ */ j(((e, t) => {
  e.formatArgs = i, e.save = s, e.load = h, e.useColors = r, e.storage = a(), e.destroy = /* @__PURE__ */ (() => {
    let l = !1;
    return () => {
      l || (l = !0, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
    };
  })(), e.colors = [
    "#0000CC",
    "#0000FF",
    "#0033CC",
    "#0033FF",
    "#0066CC",
    "#0066FF",
    "#0099CC",
    "#0099FF",
    "#00CC00",
    "#00CC33",
    "#00CC66",
    "#00CC99",
    "#00CCCC",
    "#00CCFF",
    "#3300CC",
    "#3300FF",
    "#3333CC",
    "#3333FF",
    "#3366CC",
    "#3366FF",
    "#3399CC",
    "#3399FF",
    "#33CC00",
    "#33CC33",
    "#33CC66",
    "#33CC99",
    "#33CCCC",
    "#33CCFF",
    "#6600CC",
    "#6600FF",
    "#6633CC",
    "#6633FF",
    "#66CC00",
    "#66CC33",
    "#9900CC",
    "#9900FF",
    "#9933CC",
    "#9933FF",
    "#99CC00",
    "#99CC33",
    "#CC0000",
    "#CC0033",
    "#CC0066",
    "#CC0099",
    "#CC00CC",
    "#CC00FF",
    "#CC3300",
    "#CC3333",
    "#CC3366",
    "#CC3399",
    "#CC33CC",
    "#CC33FF",
    "#CC6600",
    "#CC6633",
    "#CC9900",
    "#CC9933",
    "#CCCC00",
    "#CCCC33",
    "#FF0000",
    "#FF0033",
    "#FF0066",
    "#FF0099",
    "#FF00CC",
    "#FF00FF",
    "#FF3300",
    "#FF3333",
    "#FF3366",
    "#FF3399",
    "#FF33CC",
    "#FF33FF",
    "#FF6600",
    "#FF6633",
    "#FF9900",
    "#FF9933",
    "#FFCC00",
    "#FFCC33"
  ];
  function r() {
    if (typeof window < "u" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) return !0;
    if (typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return !1;
    let l;
    return typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator < "u" && navigator.userAgent && (l = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(l[1], 10) >= 31 || typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
  }
  function i(l) {
    if (l[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + l[0] + (this.useColors ? "%c " : " ") + "+" + t.exports.humanize(this.diff), !this.useColors) return;
    const u = "color: " + this.color;
    l.splice(1, 0, u, "color: inherit");
    let f = 0, o = 0;
    l[0].replace(/%[a-zA-Z%]/g, (c) => {
      c !== "%%" && (f++, c === "%c" && (o = f));
    }), l.splice(o, 0, u);
  }
  e.log = console.debug || console.log || (() => {
  });
  function s(l) {
    try {
      l ? e.storage.setItem("debug", l) : e.storage.removeItem("debug");
    } catch {
    }
  }
  function h() {
    let l;
    try {
      l = e.storage.getItem("debug") || e.storage.getItem("DEBUG");
    } catch {
    }
    return !l && typeof process < "u" && "env" in process && (l = process.env.DEBUG), l;
  }
  function a() {
    try {
      return localStorage;
    } catch {
    }
  }
  t.exports = dd()(e);
  var { formatters: n } = t.exports;
  n.j = function(l) {
    try {
      return JSON.stringify(l);
    } catch (u) {
      return "[UnexpectedJSONParseError]: " + u.message;
    }
  };
})), sw = /* @__PURE__ */ j(((e, t) => {
  t.exports = (r, i = process.argv) => {
    const s = r.startsWith("-") ? "" : r.length === 1 ? "-" : "--", h = i.indexOf(s + r), a = i.indexOf("--");
    return h !== -1 && (a === -1 || h < a);
  };
})), aw = /* @__PURE__ */ j(((e, t) => {
  var r = ve("os"), i = ve("tty"), s = sw(), { env: h } = process, a;
  s("no-color") || s("no-colors") || s("color=false") || s("color=never") ? a = 0 : (s("color") || s("colors") || s("color=true") || s("color=always")) && (a = 1);
  function n() {
    if ("FORCE_COLOR" in h)
      return h.FORCE_COLOR === "true" ? 1 : h.FORCE_COLOR === "false" ? 0 : h.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(h.FORCE_COLOR, 10), 3);
  }
  function l(o) {
    return o === 0 ? !1 : {
      level: o,
      hasBasic: !0,
      has256: o >= 2,
      has16m: o >= 3
    };
  }
  function u(o, { streamIsTTY: c, sniffFlags: d = !0 } = {}) {
    const p = n();
    p !== void 0 && (a = p);
    const m = d ? a : p;
    if (m === 0) return 0;
    if (d) {
      if (s("color=16m") || s("color=full") || s("color=truecolor")) return 3;
      if (s("color=256")) return 2;
    }
    if (o && !c && m === void 0) return 0;
    const g = m || 0;
    if (h.TERM === "dumb") return g;
    if (process.platform === "win32") {
      const v = r.release().split(".");
      return Number(v[0]) >= 10 && Number(v[2]) >= 10586 ? Number(v[2]) >= 14931 ? 3 : 2 : 1;
    }
    if ("CI" in h)
      return [
        "TRAVIS",
        "CIRCLECI",
        "APPVEYOR",
        "GITLAB_CI",
        "GITHUB_ACTIONS",
        "BUILDKITE",
        "DRONE"
      ].some((v) => v in h) || h.CI_NAME === "codeship" ? 1 : g;
    if ("TEAMCITY_VERSION" in h) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(h.TEAMCITY_VERSION) ? 1 : 0;
    if (h.COLORTERM === "truecolor") return 3;
    if ("TERM_PROGRAM" in h) {
      const v = Number.parseInt((h.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
      switch (h.TERM_PROGRAM) {
        case "iTerm.app":
          return v >= 3 ? 3 : 2;
        case "Apple_Terminal":
          return 2;
      }
    }
    return /-256(color)?$/i.test(h.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(h.TERM) || "COLORTERM" in h ? 1 : g;
  }
  function f(o, c = {}) {
    return l(u(o, {
      streamIsTTY: o && o.isTTY,
      ...c
    }));
  }
  t.exports = {
    supportsColor: f,
    stdout: f({ isTTY: i.isatty(1) }),
    stderr: f({ isTTY: i.isatty(2) })
  };
})), ow = /* @__PURE__ */ j(((e, t) => {
  var r = ve("tty"), i = ve("util");
  e.init = f, e.log = n, e.formatArgs = h, e.save = l, e.load = u, e.useColors = s, e.destroy = i.deprecate(() => {
  }, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."), e.colors = [
    6,
    2,
    3,
    4,
    5,
    1
  ];
  try {
    const c = aw();
    c && (c.stderr || c).level >= 2 && (e.colors = [
      20,
      21,
      26,
      27,
      32,
      33,
      38,
      39,
      40,
      41,
      42,
      43,
      44,
      45,
      56,
      57,
      62,
      63,
      68,
      69,
      74,
      75,
      76,
      77,
      78,
      79,
      80,
      81,
      92,
      93,
      98,
      99,
      112,
      113,
      128,
      129,
      134,
      135,
      148,
      149,
      160,
      161,
      162,
      163,
      164,
      165,
      166,
      167,
      168,
      169,
      170,
      171,
      172,
      173,
      178,
      179,
      184,
      185,
      196,
      197,
      198,
      199,
      200,
      201,
      202,
      203,
      204,
      205,
      206,
      207,
      208,
      209,
      214,
      215,
      220,
      221
    ]);
  } catch {
  }
  e.inspectOpts = Object.keys(process.env).filter((c) => /^debug_/i.test(c)).reduce((c, d) => {
    const p = d.substring(6).toLowerCase().replace(/_([a-z])/g, (g, v) => v.toUpperCase());
    let m = process.env[d];
    return /^(yes|on|true|enabled)$/i.test(m) ? m = !0 : /^(no|off|false|disabled)$/i.test(m) ? m = !1 : m === "null" ? m = null : m = Number(m), c[p] = m, c;
  }, {});
  function s() {
    return "colors" in e.inspectOpts ? !!e.inspectOpts.colors : r.isatty(process.stderr.fd);
  }
  function h(c) {
    const { namespace: d, useColors: p } = this;
    if (p) {
      const m = this.color, g = "\x1B[3" + (m < 8 ? m : "8;5;" + m), v = `  ${g};1m${d} \x1B[0m`;
      c[0] = v + c[0].split(`
`).join(`
` + v), c.push(g + "m+" + t.exports.humanize(this.diff) + "\x1B[0m");
    } else c[0] = a() + d + " " + c[0];
  }
  function a() {
    return e.inspectOpts.hideDate ? "" : (/* @__PURE__ */ new Date()).toISOString() + " ";
  }
  function n(...c) {
    return process.stderr.write(i.formatWithOptions(e.inspectOpts, ...c) + `
`);
  }
  function l(c) {
    c ? process.env.DEBUG = c : delete process.env.DEBUG;
  }
  function u() {
    return process.env.DEBUG;
  }
  function f(c) {
    c.inspectOpts = {};
    const d = Object.keys(e.inspectOpts);
    for (let p = 0; p < d.length; p++) c.inspectOpts[d[p]] = e.inspectOpts[d[p]];
  }
  t.exports = dd()(e);
  var { formatters: o } = t.exports;
  o.o = function(c) {
    return this.inspectOpts.colors = this.useColors, i.inspect(c, this.inspectOpts).split(`
`).map((d) => d.trim()).join(" ");
  }, o.O = function(c) {
    return this.inspectOpts.colors = this.useColors, i.inspect(c, this.inspectOpts);
  };
})), gn = /* @__PURE__ */ j(((e, t) => {
  typeof process > "u" || process.type === "renderer" || process.browser === !0 || process.__nwjs ? t.exports = nw() : t.exports = ow();
})), uw = /* @__PURE__ */ j(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(u, f, o, c) {
    c === void 0 && (c = o);
    var d = Object.getOwnPropertyDescriptor(f, o);
    (!d || ("get" in d ? !f.__esModule : d.writable || d.configurable)) && (d = {
      enumerable: !0,
      get: function() {
        return f[o];
      }
    }), Object.defineProperty(u, c, d);
  }) : (function(u, f, o, c) {
    c === void 0 && (c = o), u[c] = f[o];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(u, f) {
    Object.defineProperty(u, "default", {
      enumerable: !0,
      value: f
    });
  }) : function(u, f) {
    u.default = f;
  }), i = e && e.__importStar || function(u) {
    if (u && u.__esModule) return u;
    var f = {};
    if (u != null)
      for (var o in u) o !== "default" && Object.prototype.hasOwnProperty.call(u, o) && t(f, u, o);
    return r(f, u), f;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.req = e.json = e.toBuffer = void 0;
  var s = i(ve("http")), h = i(ve("https"));
  async function a(u) {
    let f = 0;
    const o = [];
    for await (const c of u)
      f += c.length, o.push(c);
    return Buffer.concat(o, f);
  }
  e.toBuffer = a;
  async function n(u) {
    const f = (await a(u)).toString("utf8");
    try {
      return JSON.parse(f);
    } catch (o) {
      const c = o;
      throw c.message += ` (input: ${f})`, c;
    }
  }
  e.json = n;
  function l(u, f = {}) {
    const o = ((typeof u == "string" ? u : u.href).startsWith("https:") ? h : s).request(u, f), c = new Promise((d, p) => {
      o.once("response", d).once("error", p).end();
    });
    return o.then = c.then.bind(c), o;
  }
  e.req = l;
})), As = /* @__PURE__ */ j(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(f, o, c, d) {
    d === void 0 && (d = c);
    var p = Object.getOwnPropertyDescriptor(o, c);
    (!p || ("get" in p ? !o.__esModule : p.writable || p.configurable)) && (p = {
      enumerable: !0,
      get: function() {
        return o[c];
      }
    }), Object.defineProperty(f, d, p);
  }) : (function(f, o, c, d) {
    d === void 0 && (d = c), f[d] = o[c];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(f, o) {
    Object.defineProperty(f, "default", {
      enumerable: !0,
      value: o
    });
  }) : function(f, o) {
    f.default = o;
  }), i = e && e.__importStar || function(f) {
    if (f && f.__esModule) return f;
    var o = {};
    if (f != null)
      for (var c in f) c !== "default" && Object.prototype.hasOwnProperty.call(f, c) && t(o, f, c);
    return r(o, f), o;
  }, s = e && e.__exportStar || function(f, o) {
    for (var c in f) c !== "default" && !Object.prototype.hasOwnProperty.call(o, c) && t(o, f, c);
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Agent = void 0;
  var h = i(ve("net")), a = i(ve("http")), n = ve("https");
  s(uw(), e);
  var l = /* @__PURE__ */ Symbol("AgentBaseInternalState"), u = class extends a.Agent {
    constructor(f) {
      super(f), this[l] = {};
    }
    isSecureEndpoint(f) {
      if (f) {
        if (typeof f.secureEndpoint == "boolean") return f.secureEndpoint;
        if (typeof f.protocol == "string") return f.protocol === "https:";
      }
      const { stack: o } = /* @__PURE__ */ new Error();
      return typeof o != "string" ? !1 : o.split(`
`).some((c) => c.indexOf("(https.js:") !== -1 || c.indexOf("node:https:") !== -1);
    }
    incrementSockets(f) {
      if (this.maxSockets === 1 / 0 && this.maxTotalSockets === 1 / 0) return null;
      this.sockets[f] || (this.sockets[f] = []);
      const o = new h.Socket({ writable: !1 });
      return this.sockets[f].push(o), this.totalSocketCount++, o;
    }
    decrementSockets(f, o) {
      if (!this.sockets[f] || o === null) return;
      const c = this.sockets[f], d = c.indexOf(o);
      d !== -1 && (c.splice(d, 1), this.totalSocketCount--, c.length === 0 && delete this.sockets[f]);
    }
    getName(f) {
      return this.isSecureEndpoint(f) ? n.Agent.prototype.getName.call(this, f) : super.getName(f);
    }
    createSocket(f, o, c) {
      const d = {
        ...o,
        secureEndpoint: this.isSecureEndpoint(o)
      }, p = this.getName(d), m = this.incrementSockets(p);
      Promise.resolve().then(() => this.connect(f, d)).then((g) => {
        if (this.decrementSockets(p, m), g instanceof a.Agent) try {
          return g.addRequest(f, d);
        } catch (v) {
          return c(v);
        }
        this[l].currentSocket = g, super.createSocket(f, o, c);
      }, (g) => {
        this.decrementSockets(p, m), c(g);
      });
    }
    createConnection() {
      const f = this[l].currentSocket;
      if (this[l].currentSocket = void 0, !f) throw new Error("No socket was returned in the `connect()` function");
      return f;
    }
    get defaultPort() {
      return this[l].defaultPort ?? (this.protocol === "https:" ? 443 : 80);
    }
    set defaultPort(f) {
      this[l] && (this[l].defaultPort = f);
    }
    get protocol() {
      return this[l].protocol ?? (this.isSecureEndpoint() ? "https:" : "http:");
    }
    set protocol(f) {
      this[l] && (this[l].protocol = f);
    }
  };
  e.Agent = u;
})), lw = /* @__PURE__ */ j(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(p, m, g, v) {
    v === void 0 && (v = g);
    var y = Object.getOwnPropertyDescriptor(m, g);
    (!y || ("get" in y ? !m.__esModule : y.writable || y.configurable)) && (y = {
      enumerable: !0,
      get: function() {
        return m[g];
      }
    }), Object.defineProperty(p, v, y);
  }) : (function(p, m, g, v) {
    v === void 0 && (v = g), p[v] = m[g];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(p, m) {
    Object.defineProperty(p, "default", {
      enumerable: !0,
      value: m
    });
  }) : function(p, m) {
    p.default = m;
  }), i = e && e.__importStar || function(p) {
    if (p && p.__esModule) return p;
    var m = {};
    if (p != null)
      for (var g in p) g !== "default" && Object.prototype.hasOwnProperty.call(p, g) && t(m, p, g);
    return r(m, p), m;
  }, s = e && e.__importDefault || function(p) {
    return p && p.__esModule ? p : { default: p };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.HttpProxyAgent = void 0;
  var h = i(ve("net")), a = i(ve("tls")), n = s(gn()), l = ve("events"), u = As(), f = ve("url"), o = (0, n.default)("http-proxy-agent"), c = class extends u.Agent {
    constructor(p, m) {
      super(m), this.proxy = typeof p == "string" ? new f.URL(p) : p, this.proxyHeaders = m?.headers ?? {}, o("Creating new HttpProxyAgent instance: %o", this.proxy.href);
      const g = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ""), v = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
      this.connectOpts = {
        ...m ? d(m, "headers") : null,
        host: g,
        port: v
      };
    }
    addRequest(p, m) {
      p._header = null, this.setRequestProps(p, m), super.addRequest(p, m);
    }
    setRequestProps(p, m) {
      const { proxy: g } = this, v = `${m.secureEndpoint ? "https:" : "http:"}//${p.getHeader("host") || "localhost"}`, y = new f.URL(p.path, v);
      m.port !== 80 && (y.port = String(m.port)), p.path = String(y);
      const w = typeof this.proxyHeaders == "function" ? this.proxyHeaders() : { ...this.proxyHeaders };
      if (g.username || g.password) {
        const _ = `${decodeURIComponent(g.username)}:${decodeURIComponent(g.password)}`;
        w["Proxy-Authorization"] = `Basic ${Buffer.from(_).toString("base64")}`;
      }
      w["Proxy-Connection"] || (w["Proxy-Connection"] = this.keepAlive ? "Keep-Alive" : "close");
      for (const _ of Object.keys(w)) {
        const b = w[_];
        b && p.setHeader(_, b);
      }
    }
    async connect(p, m) {
      p._header = null, p.path.includes("://") || this.setRequestProps(p, m);
      let g, v;
      o("Regenerating stored HTTP header string for request"), p._implicitHeader(), p.outputData && p.outputData.length > 0 && (o("Patching connection write() output buffer with updated header"), g = p.outputData[0].data, v = g.indexOf(`\r
\r
`) + 4, p.outputData[0].data = p._header + g.substring(v), o("Output buffer: %o", p.outputData[0].data));
      let y;
      return this.proxy.protocol === "https:" ? (o("Creating `tls.Socket`: %o", this.connectOpts), y = a.connect(this.connectOpts)) : (o("Creating `net.Socket`: %o", this.connectOpts), y = h.connect(this.connectOpts)), await (0, l.once)(y, "connect"), y;
    }
  };
  c.protocols = ["http", "https"], e.HttpProxyAgent = c;
  function d(p, ...m) {
    const g = {};
    let v;
    for (v in p) m.includes(v) || (g[v] = p[v]);
    return g;
  }
})), cw = /* @__PURE__ */ j(((e) => {
  var t = e && e.__importDefault || function(s) {
    return s && s.__esModule ? s : { default: s };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.parseProxyResponse = void 0;
  var r = (0, t(gn()).default)("https-proxy-agent:parse-proxy-response");
  function i(s) {
    return new Promise((h, a) => {
      let n = 0;
      const l = [];
      function u() {
        const p = s.read();
        p ? d(p) : s.once("readable", u);
      }
      function f() {
        s.removeListener("end", o), s.removeListener("error", c), s.removeListener("readable", u);
      }
      function o() {
        f(), r("onend"), a(/* @__PURE__ */ new Error("Proxy connection ended before receiving CONNECT response"));
      }
      function c(p) {
        f(), r("onerror %o", p), a(p);
      }
      function d(p) {
        l.push(p), n += p.length;
        const m = Buffer.concat(l, n), g = m.indexOf(`\r
\r
`);
        if (g === -1) {
          r("have not received end of HTTP headers yet..."), u();
          return;
        }
        const v = m.slice(0, g).toString("ascii").split(`\r
`), y = v.shift();
        if (!y)
          return s.destroy(), a(/* @__PURE__ */ new Error("No header received from proxy CONNECT response"));
        const w = y.split(" "), _ = +w[1], b = w.slice(2).join(" "), E = {};
        for (const D of v) {
          if (!D) continue;
          const S = D.indexOf(":");
          if (S === -1)
            return s.destroy(), a(/* @__PURE__ */ new Error(`Invalid header from proxy CONNECT response: "${D}"`));
          const C = D.slice(0, S).toLowerCase(), T = D.slice(S + 1).trimStart(), U = E[C];
          typeof U == "string" ? E[C] = [U, T] : Array.isArray(U) ? U.push(T) : E[C] = T;
        }
        r("got proxy server response: %o %o", y, E), f(), h({
          connect: {
            statusCode: _,
            statusText: b,
            headers: E
          },
          buffered: m
        });
      }
      s.on("error", c), s.on("end", o), u();
    });
  }
  e.parseProxyResponse = i;
})), hw = /* @__PURE__ */ j(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(v, y, w, _) {
    _ === void 0 && (_ = w);
    var b = Object.getOwnPropertyDescriptor(y, w);
    (!b || ("get" in b ? !y.__esModule : b.writable || b.configurable)) && (b = {
      enumerable: !0,
      get: function() {
        return y[w];
      }
    }), Object.defineProperty(v, _, b);
  }) : (function(v, y, w, _) {
    _ === void 0 && (_ = w), v[_] = y[w];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(v, y) {
    Object.defineProperty(v, "default", {
      enumerable: !0,
      value: y
    });
  }) : function(v, y) {
    v.default = y;
  }), i = e && e.__importStar || function(v) {
    if (v && v.__esModule) return v;
    var y = {};
    if (v != null)
      for (var w in v) w !== "default" && Object.prototype.hasOwnProperty.call(v, w) && t(y, v, w);
    return r(y, v), y;
  }, s = e && e.__importDefault || function(v) {
    return v && v.__esModule ? v : { default: v };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.HttpsProxyAgent = void 0;
  var h = i(ve("net")), a = i(ve("tls")), n = s(ve("assert")), l = s(gn()), u = As(), f = ve("url"), o = cw(), c = (0, l.default)("https-proxy-agent"), d = (v) => v.servername === void 0 && v.host && !h.isIP(v.host) ? {
    ...v,
    servername: v.host
  } : v, p = class extends u.Agent {
    constructor(v, y) {
      super(y), this.options = { path: void 0 }, this.proxy = typeof v == "string" ? new f.URL(v) : v, this.proxyHeaders = y?.headers ?? {}, c("Creating new HttpsProxyAgent instance: %o", this.proxy.href);
      const w = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ""), _ = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
      this.connectOpts = {
        ALPNProtocols: ["http/1.1"],
        ...y ? g(y, "headers") : null,
        host: w,
        port: _
      };
    }
    async connect(v, y) {
      const { proxy: w } = this;
      if (!y.host) throw new TypeError('No "host" provided');
      let _;
      w.protocol === "https:" ? (c("Creating `tls.Socket`: %o", this.connectOpts), _ = a.connect(d(this.connectOpts))) : (c("Creating `net.Socket`: %o", this.connectOpts), _ = h.connect(this.connectOpts));
      const b = typeof this.proxyHeaders == "function" ? this.proxyHeaders() : { ...this.proxyHeaders }, E = h.isIPv6(y.host) ? `[${y.host}]` : y.host;
      let D = `CONNECT ${E}:${y.port} HTTP/1.1\r
`;
      if (w.username || w.password) {
        const $ = `${decodeURIComponent(w.username)}:${decodeURIComponent(w.password)}`;
        b["Proxy-Authorization"] = `Basic ${Buffer.from($).toString("base64")}`;
      }
      b.Host = `${E}:${y.port}`, b["Proxy-Connection"] || (b["Proxy-Connection"] = this.keepAlive ? "Keep-Alive" : "close");
      for (const $ of Object.keys(b)) D += `${$}: ${b[$]}\r
`;
      const S = (0, o.parseProxyResponse)(_);
      _.write(`${D}\r
`);
      const { connect: C, buffered: T } = await S;
      if (v.emit("proxyConnect", C), this.emit("proxyConnect", C, v), C.statusCode === 200)
        return v.once("socket", m), y.secureEndpoint ? (c("Upgrading socket connection to TLS"), a.connect({
          ...g(d(y), "host", "path", "port"),
          socket: _
        })) : _;
      _.destroy();
      const U = new h.Socket({ writable: !1 });
      return U.readable = !0, v.once("socket", ($) => {
        c("Replaying proxy buffer for failed request"), (0, n.default)($.listenerCount("data") > 0), $.push(T), $.push(null);
      }), U;
    }
  };
  p.protocols = ["http", "https"], e.HttpsProxyAgent = p;
  function m(v) {
    v.resume();
  }
  function g(v, ...y) {
    const w = {};
    let _;
    for (_ in v) y.includes(_) || (w[_] = v[_]);
    return w;
  }
})), fw = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = ve("buffer"), r = {
    INVALID_ENCODING: "Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",
    INVALID_SMARTBUFFER_SIZE: "Invalid size provided. Size must be a valid integer greater than zero.",
    INVALID_SMARTBUFFER_BUFFER: "Invalid Buffer provided in SmartBufferOptions.",
    INVALID_SMARTBUFFER_OBJECT: "Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",
    INVALID_OFFSET: "An invalid offset value was provided.",
    INVALID_OFFSET_NON_NUMBER: "An invalid offset value was provided. A numeric value is required.",
    INVALID_LENGTH: "An invalid length value was provided.",
    INVALID_LENGTH_NON_NUMBER: "An invalid length value was provived. A numeric value is required.",
    INVALID_TARGET_OFFSET: "Target offset is beyond the bounds of the internal SmartBuffer data.",
    INVALID_TARGET_LENGTH: "Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",
    INVALID_READ_BEYOND_BOUNDS: "Attempted to read beyond the bounds of the managed data.",
    INVALID_WRITE_BEYOND_BOUNDS: "Attempted to write beyond the bounds of the managed data."
  };
  e.ERRORS = r;
  function i(o) {
    if (!t.Buffer.isEncoding(o)) throw new Error(r.INVALID_ENCODING);
  }
  e.checkEncoding = i;
  function s(o) {
    return typeof o == "number" && isFinite(o) && u(o);
  }
  e.isFiniteInteger = s;
  function h(o, c) {
    if (typeof o == "number") {
      if (!s(o) || o < 0) throw new Error(c ? r.INVALID_OFFSET : r.INVALID_LENGTH);
    } else throw new Error(c ? r.INVALID_OFFSET_NON_NUMBER : r.INVALID_LENGTH_NON_NUMBER);
  }
  function a(o) {
    h(o, !1);
  }
  e.checkLengthValue = a;
  function n(o) {
    h(o, !0);
  }
  e.checkOffsetValue = n;
  function l(o, c) {
    if (o < 0 || o > c.length) throw new Error(r.INVALID_TARGET_OFFSET);
  }
  e.checkTargetOffset = l;
  function u(o) {
    return typeof o == "number" && isFinite(o) && Math.floor(o) === o;
  }
  function f(o) {
    if (typeof BigInt > "u") throw new Error("Platform does not support JS BigInt type.");
    if (typeof t.Buffer.prototype[o] > "u") throw new Error(`Platform does not support Buffer.prototype.${o}.`);
  }
  e.bigIntAndBufferInt64Check = f;
})), dw = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = fw(), r = 4096, i = "utf8", s = class pd {
    constructor(a) {
      if (this.length = 0, this._encoding = i, this._writeOffset = 0, this._readOffset = 0, pd.isSmartBufferOptions(a))
        if (a.encoding && (t.checkEncoding(a.encoding), this._encoding = a.encoding), a.size) if (t.isFiniteInteger(a.size) && a.size > 0) this._buff = Buffer.allocUnsafe(a.size);
        else throw new Error(t.ERRORS.INVALID_SMARTBUFFER_SIZE);
        else if (a.buff) if (Buffer.isBuffer(a.buff))
          this._buff = a.buff, this.length = a.buff.length;
        else throw new Error(t.ERRORS.INVALID_SMARTBUFFER_BUFFER);
        else this._buff = Buffer.allocUnsafe(r);
      else {
        if (typeof a < "u") throw new Error(t.ERRORS.INVALID_SMARTBUFFER_OBJECT);
        this._buff = Buffer.allocUnsafe(r);
      }
    }
    static fromSize(a, n) {
      return new this({
        size: a,
        encoding: n
      });
    }
    static fromBuffer(a, n) {
      return new this({
        buff: a,
        encoding: n
      });
    }
    static fromOptions(a) {
      return new this(a);
    }
    static isSmartBufferOptions(a) {
      const n = a;
      return n && (n.encoding !== void 0 || n.size !== void 0 || n.buff !== void 0);
    }
    readInt8(a) {
      return this._readNumberValue(Buffer.prototype.readInt8, 1, a);
    }
    readInt16BE(a) {
      return this._readNumberValue(Buffer.prototype.readInt16BE, 2, a);
    }
    readInt16LE(a) {
      return this._readNumberValue(Buffer.prototype.readInt16LE, 2, a);
    }
    readInt32BE(a) {
      return this._readNumberValue(Buffer.prototype.readInt32BE, 4, a);
    }
    readInt32LE(a) {
      return this._readNumberValue(Buffer.prototype.readInt32LE, 4, a);
    }
    readBigInt64BE(a) {
      return t.bigIntAndBufferInt64Check("readBigInt64BE"), this._readNumberValue(Buffer.prototype.readBigInt64BE, 8, a);
    }
    readBigInt64LE(a) {
      return t.bigIntAndBufferInt64Check("readBigInt64LE"), this._readNumberValue(Buffer.prototype.readBigInt64LE, 8, a);
    }
    writeInt8(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt8, 1, a, n), this;
    }
    insertInt8(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt8, 1, a, n);
    }
    writeInt16BE(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt16BE, 2, a, n);
    }
    insertInt16BE(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt16BE, 2, a, n);
    }
    writeInt16LE(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt16LE, 2, a, n);
    }
    insertInt16LE(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt16LE, 2, a, n);
    }
    writeInt32BE(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt32BE, 4, a, n);
    }
    insertInt32BE(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt32BE, 4, a, n);
    }
    writeInt32LE(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt32LE, 4, a, n);
    }
    insertInt32LE(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt32LE, 4, a, n);
    }
    writeBigInt64BE(a, n) {
      return t.bigIntAndBufferInt64Check("writeBigInt64BE"), this._writeNumberValue(Buffer.prototype.writeBigInt64BE, 8, a, n);
    }
    insertBigInt64BE(a, n) {
      return t.bigIntAndBufferInt64Check("writeBigInt64BE"), this._insertNumberValue(Buffer.prototype.writeBigInt64BE, 8, a, n);
    }
    writeBigInt64LE(a, n) {
      return t.bigIntAndBufferInt64Check("writeBigInt64LE"), this._writeNumberValue(Buffer.prototype.writeBigInt64LE, 8, a, n);
    }
    insertBigInt64LE(a, n) {
      return t.bigIntAndBufferInt64Check("writeBigInt64LE"), this._insertNumberValue(Buffer.prototype.writeBigInt64LE, 8, a, n);
    }
    readUInt8(a) {
      return this._readNumberValue(Buffer.prototype.readUInt8, 1, a);
    }
    readUInt16BE(a) {
      return this._readNumberValue(Buffer.prototype.readUInt16BE, 2, a);
    }
    readUInt16LE(a) {
      return this._readNumberValue(Buffer.prototype.readUInt16LE, 2, a);
    }
    readUInt32BE(a) {
      return this._readNumberValue(Buffer.prototype.readUInt32BE, 4, a);
    }
    readUInt32LE(a) {
      return this._readNumberValue(Buffer.prototype.readUInt32LE, 4, a);
    }
    readBigUInt64BE(a) {
      return t.bigIntAndBufferInt64Check("readBigUInt64BE"), this._readNumberValue(Buffer.prototype.readBigUInt64BE, 8, a);
    }
    readBigUInt64LE(a) {
      return t.bigIntAndBufferInt64Check("readBigUInt64LE"), this._readNumberValue(Buffer.prototype.readBigUInt64LE, 8, a);
    }
    writeUInt8(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt8, 1, a, n);
    }
    insertUInt8(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt8, 1, a, n);
    }
    writeUInt16BE(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt16BE, 2, a, n);
    }
    insertUInt16BE(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt16BE, 2, a, n);
    }
    writeUInt16LE(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt16LE, 2, a, n);
    }
    insertUInt16LE(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt16LE, 2, a, n);
    }
    writeUInt32BE(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt32BE, 4, a, n);
    }
    insertUInt32BE(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt32BE, 4, a, n);
    }
    writeUInt32LE(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt32LE, 4, a, n);
    }
    insertUInt32LE(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt32LE, 4, a, n);
    }
    writeBigUInt64BE(a, n) {
      return t.bigIntAndBufferInt64Check("writeBigUInt64BE"), this._writeNumberValue(Buffer.prototype.writeBigUInt64BE, 8, a, n);
    }
    insertBigUInt64BE(a, n) {
      return t.bigIntAndBufferInt64Check("writeBigUInt64BE"), this._insertNumberValue(Buffer.prototype.writeBigUInt64BE, 8, a, n);
    }
    writeBigUInt64LE(a, n) {
      return t.bigIntAndBufferInt64Check("writeBigUInt64LE"), this._writeNumberValue(Buffer.prototype.writeBigUInt64LE, 8, a, n);
    }
    insertBigUInt64LE(a, n) {
      return t.bigIntAndBufferInt64Check("writeBigUInt64LE"), this._insertNumberValue(Buffer.prototype.writeBigUInt64LE, 8, a, n);
    }
    readFloatBE(a) {
      return this._readNumberValue(Buffer.prototype.readFloatBE, 4, a);
    }
    readFloatLE(a) {
      return this._readNumberValue(Buffer.prototype.readFloatLE, 4, a);
    }
    writeFloatBE(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeFloatBE, 4, a, n);
    }
    insertFloatBE(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeFloatBE, 4, a, n);
    }
    writeFloatLE(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeFloatLE, 4, a, n);
    }
    insertFloatLE(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeFloatLE, 4, a, n);
    }
    readDoubleBE(a) {
      return this._readNumberValue(Buffer.prototype.readDoubleBE, 8, a);
    }
    readDoubleLE(a) {
      return this._readNumberValue(Buffer.prototype.readDoubleLE, 8, a);
    }
    writeDoubleBE(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeDoubleBE, 8, a, n);
    }
    insertDoubleBE(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeDoubleBE, 8, a, n);
    }
    writeDoubleLE(a, n) {
      return this._writeNumberValue(Buffer.prototype.writeDoubleLE, 8, a, n);
    }
    insertDoubleLE(a, n) {
      return this._insertNumberValue(Buffer.prototype.writeDoubleLE, 8, a, n);
    }
    readString(a, n) {
      let l;
      typeof a == "number" ? (t.checkLengthValue(a), l = Math.min(a, this.length - this._readOffset)) : (n = a, l = this.length - this._readOffset), typeof n < "u" && t.checkEncoding(n);
      const u = this._buff.slice(this._readOffset, this._readOffset + l).toString(n || this._encoding);
      return this._readOffset += l, u;
    }
    insertString(a, n, l) {
      return t.checkOffsetValue(n), this._handleString(a, !0, n, l);
    }
    writeString(a, n, l) {
      return this._handleString(a, !1, n, l);
    }
    readStringNT(a) {
      typeof a < "u" && t.checkEncoding(a);
      let n = this.length;
      for (let u = this._readOffset; u < this.length; u++) if (this._buff[u] === 0) {
        n = u;
        break;
      }
      const l = this._buff.slice(this._readOffset, n);
      return this._readOffset = n + 1, l.toString(a || this._encoding);
    }
    insertStringNT(a, n, l) {
      return t.checkOffsetValue(n), this.insertString(a, n, l), this.insertUInt8(0, n + a.length), this;
    }
    writeStringNT(a, n, l) {
      return this.writeString(a, n, l), this.writeUInt8(0, typeof n == "number" ? n + a.length : this.writeOffset), this;
    }
    readBuffer(a) {
      typeof a < "u" && t.checkLengthValue(a);
      const n = typeof a == "number" ? a : this.length, l = Math.min(this.length, this._readOffset + n), u = this._buff.slice(this._readOffset, l);
      return this._readOffset = l, u;
    }
    insertBuffer(a, n) {
      return t.checkOffsetValue(n), this._handleBuffer(a, !0, n);
    }
    writeBuffer(a, n) {
      return this._handleBuffer(a, !1, n);
    }
    readBufferNT() {
      let a = this.length;
      for (let l = this._readOffset; l < this.length; l++) if (this._buff[l] === 0) {
        a = l;
        break;
      }
      const n = this._buff.slice(this._readOffset, a);
      return this._readOffset = a + 1, n;
    }
    insertBufferNT(a, n) {
      return t.checkOffsetValue(n), this.insertBuffer(a, n), this.insertUInt8(0, n + a.length), this;
    }
    writeBufferNT(a, n) {
      return typeof n < "u" && t.checkOffsetValue(n), this.writeBuffer(a, n), this.writeUInt8(0, typeof n == "number" ? n + a.length : this._writeOffset), this;
    }
    clear() {
      return this._writeOffset = 0, this._readOffset = 0, this.length = 0, this;
    }
    remaining() {
      return this.length - this._readOffset;
    }
    get readOffset() {
      return this._readOffset;
    }
    set readOffset(a) {
      t.checkOffsetValue(a), t.checkTargetOffset(a, this), this._readOffset = a;
    }
    get writeOffset() {
      return this._writeOffset;
    }
    set writeOffset(a) {
      t.checkOffsetValue(a), t.checkTargetOffset(a, this), this._writeOffset = a;
    }
    get encoding() {
      return this._encoding;
    }
    set encoding(a) {
      t.checkEncoding(a), this._encoding = a;
    }
    get internalBuffer() {
      return this._buff;
    }
    toBuffer() {
      return this._buff.slice(0, this.length);
    }
    toString(a) {
      const n = typeof a == "string" ? a : this._encoding;
      return t.checkEncoding(n), this._buff.toString(n, 0, this.length);
    }
    destroy() {
      return this.clear(), this;
    }
    _handleString(a, n, l, u) {
      let f = this._writeOffset, o = this._encoding;
      typeof l == "number" ? f = l : typeof l == "string" && (t.checkEncoding(l), o = l), typeof u == "string" && (t.checkEncoding(u), o = u);
      const c = Buffer.byteLength(a, o);
      return n ? this.ensureInsertable(c, f) : this._ensureWriteable(c, f), this._buff.write(a, f, c, o), n ? this._writeOffset += c : typeof l == "number" ? this._writeOffset = Math.max(this._writeOffset, f + c) : this._writeOffset += c, this;
    }
    _handleBuffer(a, n, l) {
      const u = typeof l == "number" ? l : this._writeOffset;
      return n ? this.ensureInsertable(a.length, u) : this._ensureWriteable(a.length, u), a.copy(this._buff, u), n ? this._writeOffset += a.length : typeof l == "number" ? this._writeOffset = Math.max(this._writeOffset, u + a.length) : this._writeOffset += a.length, this;
    }
    ensureReadable(a, n) {
      let l = this._readOffset;
      if (typeof n < "u" && (t.checkOffsetValue(n), l = n), l < 0 || l + a > this.length) throw new Error(t.ERRORS.INVALID_READ_BEYOND_BOUNDS);
    }
    ensureInsertable(a, n) {
      t.checkOffsetValue(n), this._ensureCapacity(this.length + a), n < this.length && this._buff.copy(this._buff, n + a, n, this._buff.length), n + a > this.length ? this.length = n + a : this.length += a;
    }
    _ensureWriteable(a, n) {
      const l = typeof n == "number" ? n : this._writeOffset;
      this._ensureCapacity(l + a), l + a > this.length && (this.length = l + a);
    }
    _ensureCapacity(a) {
      const n = this._buff.length;
      if (a > n) {
        let l = this._buff, u = n * 3 / 2 + 1;
        u < a && (u = a), this._buff = Buffer.allocUnsafe(u), l.copy(this._buff, 0, 0, n);
      }
    }
    _readNumberValue(a, n, l) {
      this.ensureReadable(n, l);
      const u = a.call(this._buff, typeof l == "number" ? l : this._readOffset);
      return typeof l > "u" && (this._readOffset += n), u;
    }
    _insertNumberValue(a, n, l, u) {
      return t.checkOffsetValue(u), this.ensureInsertable(n, u), a.call(this._buff, l, u), this._writeOffset += n, this;
    }
    _writeNumberValue(a, n, l, u) {
      if (typeof u == "number") {
        if (u < 0) throw new Error(t.ERRORS.INVALID_WRITE_BEYOND_BOUNDS);
        t.checkOffsetValue(u);
      }
      const f = typeof u == "number" ? u : this._writeOffset;
      return this._ensureWriteable(n, f), a.call(this._buff, l, f), typeof u == "number" ? this._writeOffset = Math.max(this._writeOffset, f + n) : this._writeOffset += n, this;
    }
  };
  e.SmartBuffer = s;
})), gd = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.SOCKS5_NO_ACCEPTABLE_AUTH = e.SOCKS5_CUSTOM_AUTH_END = e.SOCKS5_CUSTOM_AUTH_START = e.SOCKS_INCOMING_PACKET_SIZES = e.SocksClientState = e.Socks5Response = e.Socks5HostType = e.Socks5Auth = e.Socks4Response = e.SocksCommand = e.ERRORS = e.DEFAULT_TIMEOUT = void 0;
  var t = 3e4;
  e.DEFAULT_TIMEOUT = t;
  var r = {
    InvalidSocksCommand: "An invalid SOCKS command was provided. Valid options are connect, bind, and associate.",
    InvalidSocksCommandForOperation: "An invalid SOCKS command was provided. Only a subset of commands are supported for this operation.",
    InvalidSocksCommandChain: "An invalid SOCKS command was provided. Chaining currently only supports the connect command.",
    InvalidSocksClientOptionsDestination: "An invalid destination host was provided.",
    InvalidSocksClientOptionsExistingSocket: "An invalid existing socket was provided. This should be an instance of stream.Duplex.",
    InvalidSocksClientOptionsProxy: "Invalid SOCKS proxy details were provided.",
    InvalidSocksClientOptionsTimeout: "An invalid timeout value was provided. Please enter a value above 0 (in ms).",
    InvalidSocksClientOptionsProxiesLength: "At least two socks proxies must be provided for chaining.",
    InvalidSocksClientOptionsCustomAuthRange: "Custom auth must be a value between 0x80 and 0xFE.",
    InvalidSocksClientOptionsCustomAuthOptions: "When a custom_auth_method is provided, custom_auth_request_handler, custom_auth_response_size, and custom_auth_response_handler must also be provided and valid.",
    NegotiationError: "Negotiation error",
    SocketClosed: "Socket closed",
    ProxyConnectionTimedOut: "Proxy connection timed out",
    InternalError: "SocksClient internal error (this should not happen)",
    InvalidSocks4HandshakeResponse: "Received invalid Socks4 handshake response",
    Socks4ProxyRejectedConnection: "Socks4 Proxy rejected connection",
    InvalidSocks4IncomingConnectionResponse: "Socks4 invalid incoming connection response",
    Socks4ProxyRejectedIncomingBoundConnection: "Socks4 Proxy rejected incoming bound connection",
    InvalidSocks5InitialHandshakeResponse: "Received invalid Socks5 initial handshake response",
    InvalidSocks5IntiailHandshakeSocksVersion: "Received invalid Socks5 initial handshake (invalid socks version)",
    InvalidSocks5InitialHandshakeNoAcceptedAuthType: "Received invalid Socks5 initial handshake (no accepted authentication type)",
    InvalidSocks5InitialHandshakeUnknownAuthType: "Received invalid Socks5 initial handshake (unknown authentication type)",
    Socks5AuthenticationFailed: "Socks5 Authentication failed",
    InvalidSocks5FinalHandshake: "Received invalid Socks5 final handshake response",
    InvalidSocks5FinalHandshakeRejected: "Socks5 proxy rejected connection",
    InvalidSocks5IncomingConnectionResponse: "Received invalid Socks5 incoming connection response",
    Socks5ProxyRejectedIncomingBoundConnection: "Socks5 Proxy rejected incoming bound connection"
  };
  e.ERRORS = r;
  var i = {
    Socks5InitialHandshakeResponse: 2,
    Socks5UserPassAuthenticationResponse: 2,
    Socks5ResponseHeader: 5,
    Socks5ResponseIPv4: 10,
    Socks5ResponseIPv6: 22,
    Socks5ResponseHostname: (d) => d + 7,
    Socks4Response: 8
  };
  e.SOCKS_INCOMING_PACKET_SIZES = i;
  var s;
  (function(d) {
    d[d.connect = 1] = "connect", d[d.bind = 2] = "bind", d[d.associate = 3] = "associate";
  })(s || (e.SocksCommand = s = {}));
  var h;
  (function(d) {
    d[d.Granted = 90] = "Granted", d[d.Failed = 91] = "Failed", d[d.Rejected = 92] = "Rejected", d[d.RejectedIdent = 93] = "RejectedIdent";
  })(h || (e.Socks4Response = h = {}));
  var a;
  (function(d) {
    d[d.NoAuth = 0] = "NoAuth", d[d.GSSApi = 1] = "GSSApi", d[d.UserPass = 2] = "UserPass";
  })(a || (e.Socks5Auth = a = {}));
  var n = 128;
  e.SOCKS5_CUSTOM_AUTH_START = n;
  var l = 254;
  e.SOCKS5_CUSTOM_AUTH_END = l;
  var u = 255;
  e.SOCKS5_NO_ACCEPTABLE_AUTH = u;
  var f;
  (function(d) {
    d[d.Granted = 0] = "Granted", d[d.Failure = 1] = "Failure", d[d.NotAllowed = 2] = "NotAllowed", d[d.NetworkUnreachable = 3] = "NetworkUnreachable", d[d.HostUnreachable = 4] = "HostUnreachable", d[d.ConnectionRefused = 5] = "ConnectionRefused", d[d.TTLExpired = 6] = "TTLExpired", d[d.CommandNotSupported = 7] = "CommandNotSupported", d[d.AddressNotSupported = 8] = "AddressNotSupported";
  })(f || (e.Socks5Response = f = {}));
  var o;
  (function(d) {
    d[d.IPv4 = 1] = "IPv4", d[d.Hostname = 3] = "Hostname", d[d.IPv6 = 4] = "IPv6";
  })(o || (e.Socks5HostType = o = {}));
  var c;
  (function(d) {
    d[d.Created = 0] = "Created", d[d.Connecting = 1] = "Connecting", d[d.Connected = 2] = "Connected", d[d.SentInitialHandshake = 3] = "SentInitialHandshake", d[d.ReceivedInitialHandshakeResponse = 4] = "ReceivedInitialHandshakeResponse", d[d.SentAuthentication = 5] = "SentAuthentication", d[d.ReceivedAuthenticationResponse = 6] = "ReceivedAuthenticationResponse", d[d.SentFinalHandshake = 7] = "SentFinalHandshake", d[d.ReceivedFinalResponse = 8] = "ReceivedFinalResponse", d[d.BoundWaitingForConnection = 9] = "BoundWaitingForConnection", d[d.Established = 10] = "Established", d[d.Disconnected = 11] = "Disconnected", d[d.Error = 99] = "Error";
  })(c || (e.SocksClientState = c = {}));
})), md = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shuffleArray = e.SocksClientError = void 0;
  var t = class extends Error {
    constructor(i, s) {
      super(i), this.options = s;
    }
  };
  e.SocksClientError = t;
  function r(i) {
    for (let s = i.length - 1; s > 0; s--) {
      const h = Math.floor(Math.random() * (s + 1));
      [i[s], i[h]] = [i[h], i[s]];
    }
  }
  e.shuffleArray = r;
})), Ro = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isInSubnet = t, e.isCorrect = r, e.numberToPaddedHex = i, e.stringToPaddedHex = s, e.testBit = h;
  function t(a) {
    return this.subnetMask < a.subnetMask ? !1 : this.mask(a.subnetMask) === a.mask();
  }
  function r(a) {
    return function() {
      return this.addressMinusSuffix !== this.correctForm() ? !1 : this.subnetMask === a && !this.parsedSubnet ? !0 : this.parsedSubnet === String(this.subnetMask);
    };
  }
  function i(a) {
    return a.toString(16).padStart(2, "0");
  }
  function s(a) {
    return i(parseInt(a, 10));
  }
  function h(a, n) {
    const { length: l } = a;
    if (n > l) return !1;
    const u = l - n;
    return a.substring(u, u + 1) === "1";
  }
})), vd = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.RE_SUBNET_STRING = e.RE_ADDRESS = e.GROUPS = e.BITS = void 0, e.BITS = 32, e.GROUPS = 4, e.RE_ADDRESS = /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/g, e.RE_SUBNET_STRING = /\/\d{1,2}$/;
})), zu = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.AddressError = void 0;
  var t = class extends Error {
    constructor(r, i) {
      super(r), this.name = "AddressError", this.parseMessage = i;
    }
  };
  e.AddressError = t;
})), yd = /* @__PURE__ */ j(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(l, u, f, o) {
    o === void 0 && (o = f);
    var c = Object.getOwnPropertyDescriptor(u, f);
    (!c || ("get" in c ? !u.__esModule : c.writable || c.configurable)) && (c = {
      enumerable: !0,
      get: function() {
        return u[f];
      }
    }), Object.defineProperty(l, o, c);
  }) : (function(l, u, f, o) {
    o === void 0 && (o = f), l[o] = u[f];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(l, u) {
    Object.defineProperty(l, "default", {
      enumerable: !0,
      value: u
    });
  }) : function(l, u) {
    l.default = u;
  }), i = e && e.__importStar || function(l) {
    if (l && l.__esModule) return l;
    var u = {};
    if (l != null)
      for (var f in l) f !== "default" && Object.prototype.hasOwnProperty.call(l, f) && t(u, l, f);
    return r(u, l), u;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Address4 = void 0;
  var s = i(Ro()), h = i(vd()), a = zu(), n = class Vt {
    constructor(u) {
      this.groups = h.GROUPS, this.parsedAddress = [], this.parsedSubnet = "", this.subnet = "/32", this.subnetMask = 32, this.v4 = !0, this.isCorrect = s.isCorrect(h.BITS), this.isInSubnet = s.isInSubnet, this.address = u;
      const f = h.RE_SUBNET_STRING.exec(u);
      if (f) {
        if (this.parsedSubnet = f[0].replace("/", ""), this.subnetMask = parseInt(this.parsedSubnet, 10), this.subnet = `/${this.subnetMask}`, this.subnetMask < 0 || this.subnetMask > h.BITS) throw new a.AddressError("Invalid subnet mask.");
        u = u.replace(h.RE_SUBNET_STRING, "");
      }
      this.addressMinusSuffix = u, this.parsedAddress = this.parse(u);
    }
    static isValid(u) {
      try {
        return new Vt(u), !0;
      } catch {
        return !1;
      }
    }
    parse(u) {
      const f = u.split(".");
      if (!u.match(h.RE_ADDRESS)) throw new a.AddressError("Invalid IPv4 address.");
      return f;
    }
    correctForm() {
      return this.parsedAddress.map((u) => parseInt(u, 10)).join(".");
    }
    static fromHex(u) {
      const f = u.replace(/:/g, "").padStart(8, "0"), o = [];
      let c;
      for (c = 0; c < 8; c += 2) {
        const d = f.slice(c, c + 2);
        o.push(parseInt(d, 16));
      }
      return new Vt(o.join("."));
    }
    static fromInteger(u) {
      return Vt.fromHex(u.toString(16));
    }
    static fromArpa(u) {
      return new Vt(u.replace(/(\.in-addr\.arpa)?\.$/, "").split(".").reverse().join("."));
    }
    toHex() {
      return this.parsedAddress.map((u) => s.stringToPaddedHex(u)).join(":");
    }
    toArray() {
      return this.parsedAddress.map((u) => parseInt(u, 10));
    }
    toGroup6() {
      const u = [];
      let f;
      for (f = 0; f < h.GROUPS; f += 2) u.push(`${s.stringToPaddedHex(this.parsedAddress[f])}${s.stringToPaddedHex(this.parsedAddress[f + 1])}`);
      return u.join(":");
    }
    bigInt() {
      return BigInt(`0x${this.parsedAddress.map((u) => s.stringToPaddedHex(u)).join("")}`);
    }
    _startAddress() {
      return BigInt(`0b${this.mask() + "0".repeat(h.BITS - this.subnetMask)}`);
    }
    startAddress() {
      return Vt.fromBigInt(this._startAddress());
    }
    startAddressExclusive() {
      const u = BigInt("1");
      return Vt.fromBigInt(this._startAddress() + u);
    }
    _endAddress() {
      return BigInt(`0b${this.mask() + "1".repeat(h.BITS - this.subnetMask)}`);
    }
    endAddress() {
      return Vt.fromBigInt(this._endAddress());
    }
    endAddressExclusive() {
      const u = BigInt("1");
      return Vt.fromBigInt(this._endAddress() - u);
    }
    static fromBigInt(u) {
      return Vt.fromHex(u.toString(16));
    }
    static fromByteArray(u) {
      if (u.length !== 4) throw new a.AddressError("IPv4 addresses require exactly 4 bytes");
      for (let f = 0; f < u.length; f++) if (!Number.isInteger(u[f]) || u[f] < 0 || u[f] > 255) throw new a.AddressError("All bytes must be integers between 0 and 255");
      return this.fromUnsignedByteArray(u);
    }
    static fromUnsignedByteArray(u) {
      if (u.length !== 4) throw new a.AddressError("IPv4 addresses require exactly 4 bytes");
      return new Vt(u.join("."));
    }
    mask(u) {
      return u === void 0 && (u = this.subnetMask), this.getBitsBase2(0, u);
    }
    getBitsBase2(u, f) {
      return this.binaryZeroPad().slice(u, f);
    }
    reverseForm(u) {
      u || (u = {});
      const f = this.correctForm().split(".").reverse().join(".");
      return u.omitSuffix ? f : `${f}.in-addr.arpa.`;
    }
    isMulticast() {
      return this.isInSubnet(new Vt("224.0.0.0/4"));
    }
    binaryZeroPad() {
      return this.bigInt().toString(2).padStart(h.BITS, "0");
    }
    groupForV6() {
      const u = this.parsedAddress;
      return this.address.replace(h.RE_ADDRESS, `<span class="hover-group group-v4 group-6">${u.slice(0, 2).join(".")}</span>.<span class="hover-group group-v4 group-7">${u.slice(2, 4).join(".")}</span>`);
    }
  };
  e.Address4 = n;
})), _d = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.RE_URL_WITH_PORT = e.RE_URL = e.RE_ZONE_STRING = e.RE_SUBNET_STRING = e.RE_BAD_ADDRESS = e.RE_BAD_CHARACTERS = e.TYPES = e.SCOPES = e.GROUPS = e.BITS = void 0, e.BITS = 128, e.GROUPS = 8, e.SCOPES = {
    0: "Reserved",
    1: "Interface local",
    2: "Link local",
    4: "Admin local",
    5: "Site local",
    8: "Organization local",
    14: "Global",
    15: "Reserved"
  }, e.TYPES = {
    "ff01::1/128": "Multicast (All nodes on this interface)",
    "ff01::2/128": "Multicast (All routers on this interface)",
    "ff02::1/128": "Multicast (All nodes on this link)",
    "ff02::2/128": "Multicast (All routers on this link)",
    "ff05::2/128": "Multicast (All routers in this site)",
    "ff02::5/128": "Multicast (OSPFv3 AllSPF routers)",
    "ff02::6/128": "Multicast (OSPFv3 AllDR routers)",
    "ff02::9/128": "Multicast (RIP routers)",
    "ff02::a/128": "Multicast (EIGRP routers)",
    "ff02::d/128": "Multicast (PIM routers)",
    "ff02::16/128": "Multicast (MLDv2 reports)",
    "ff01::fb/128": "Multicast (mDNSv6)",
    "ff02::fb/128": "Multicast (mDNSv6)",
    "ff05::fb/128": "Multicast (mDNSv6)",
    "ff02::1:2/128": "Multicast (All DHCP servers and relay agents on this link)",
    "ff05::1:2/128": "Multicast (All DHCP servers and relay agents in this site)",
    "ff02::1:3/128": "Multicast (All DHCP servers on this link)",
    "ff05::1:3/128": "Multicast (All DHCP servers in this site)",
    "::/128": "Unspecified",
    "::1/128": "Loopback",
    "ff00::/8": "Multicast",
    "fe80::/10": "Link-local unicast"
  }, e.RE_BAD_CHARACTERS = /([^0-9a-f:/%])/gi, e.RE_BAD_ADDRESS = /([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi, e.RE_SUBNET_STRING = /\/\d{1,3}(?=%|$)/, e.RE_ZONE_STRING = /%.*$/, e.RE_URL = /^\[{0,1}([0-9a-f:]+)\]{0,1}/, e.RE_URL_WITH_PORT = /\[([0-9a-f:]+)\]:([0-9]{1,5})/;
})), Ed = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.spanAllZeroes = t, e.spanAll = r, e.spanLeadingZeroes = s, e.simpleGroup = h;
  function t(a) {
    return a.replace(/(0+)/g, '<span class="zero">$1</span>');
  }
  function r(a, n = 0) {
    return a.split("").map((l, u) => `<span class="digit value-${l} position-${u + n}">${t(l)}</span>`).join("");
  }
  function i(a) {
    return a.replace(/^(0+)/, '<span class="zero">$1</span>');
  }
  function s(a) {
    return a.split(":").map((n) => i(n)).join(":");
  }
  function h(a, n = 0) {
    return a.split(":").map((l, u) => /group-v4/.test(l) ? l : `<span class="hover-group group-${u + n}">${i(l)}</span>`);
  }
})), pw = /* @__PURE__ */ j(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(u, f, o, c) {
    c === void 0 && (c = o);
    var d = Object.getOwnPropertyDescriptor(f, o);
    (!d || ("get" in d ? !f.__esModule : d.writable || d.configurable)) && (d = {
      enumerable: !0,
      get: function() {
        return f[o];
      }
    }), Object.defineProperty(u, c, d);
  }) : (function(u, f, o, c) {
    c === void 0 && (c = o), u[c] = f[o];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(u, f) {
    Object.defineProperty(u, "default", {
      enumerable: !0,
      value: f
    });
  }) : function(u, f) {
    u.default = f;
  }), i = e && e.__importStar || function(u) {
    if (u && u.__esModule) return u;
    var f = {};
    if (u != null)
      for (var o in u) o !== "default" && Object.prototype.hasOwnProperty.call(u, o) && t(f, u, o);
    return r(f, u), f;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ADDRESS_BOUNDARY = void 0, e.groupPossibilities = h, e.padGroup = a, e.simpleRegularExpression = n, e.possibleElisions = l;
  var s = i(_d());
  function h(u) {
    return `(${u.join("|")})`;
  }
  function a(u) {
    return u.length < 4 ? `0{0,${4 - u.length}}${u}` : u;
  }
  e.ADDRESS_BOUNDARY = "[^A-Fa-f0-9:]";
  function n(u) {
    const f = [];
    u.forEach((c, d) => {
      parseInt(c, 16) === 0 && f.push(d);
    });
    const o = f.map((c) => u.map((d, p) => {
      if (p === c) {
        const m = p === 0 || p === s.GROUPS - 1 ? ":" : "";
        return h([a(d), m]);
      }
      return a(d);
    }).join(":"));
    return o.push(u.map(a).join(":")), h(o);
  }
  function l(u, f, o) {
    const c = f ? "" : ":", d = o ? "" : ":", p = [];
    !f && !o && p.push("::"), f && o && p.push(""), (o && !f || !o && f) && p.push(":"), p.push(`${c}(:0{1,4}){1,${u - 1}}`), p.push(`(0{1,4}:){1,${u - 1}}${d}`), p.push(`(0{1,4}:){${u - 1}}0{1,4}`);
    for (let m = 1; m < u - 1; m++) for (let g = 1; g < u - m; g++) p.push(`(0{1,4}:){${g}}:(0{1,4}:){${u - g - m - 1}}0{1,4}`);
    return h(p);
  }
})), gw = /* @__PURE__ */ j(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(w, _, b, E) {
    E === void 0 && (E = b);
    var D = Object.getOwnPropertyDescriptor(_, b);
    (!D || ("get" in D ? !_.__esModule : D.writable || D.configurable)) && (D = {
      enumerable: !0,
      get: function() {
        return _[b];
      }
    }), Object.defineProperty(w, E, D);
  }) : (function(w, _, b, E) {
    E === void 0 && (E = b), w[E] = _[b];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(w, _) {
    Object.defineProperty(w, "default", {
      enumerable: !0,
      value: _
    });
  }) : function(w, _) {
    w.default = _;
  }), i = e && e.__importStar || function(w) {
    if (w && w.__esModule) return w;
    var _ = {};
    if (w != null)
      for (var b in w) b !== "default" && Object.prototype.hasOwnProperty.call(w, b) && t(_, w, b);
    return r(_, w), _;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Address6 = void 0;
  var s = i(Ro()), h = i(vd()), a = i(_d()), n = i(Ed()), l = yd(), u = pw(), f = zu(), o = Ro();
  function c(w) {
    if (!w) throw new Error("Assertion failed.");
  }
  function d(w) {
    const _ = /(\d+)(\d{3})/;
    for (; _.test(w); ) w = w.replace(_, "$1,$2");
    return w;
  }
  function p(w) {
    return w = w.replace(/^(0{1,})([1-9]+)$/, '<span class="parse-error">$1</span>$2'), w = w.replace(/^(0{1,})(0)$/, '<span class="parse-error">$1</span>$2'), w;
  }
  function m(w, _) {
    const b = [], E = [];
    let D;
    for (D = 0; D < w.length; D++) D < _[0] ? b.push(w[D]) : D > _[1] && E.push(w[D]);
    return b.concat(["compact"]).concat(E);
  }
  function g(w) {
    return parseInt(w, 16).toString(16).padStart(4, "0");
  }
  function v(w) {
    return w & 255;
  }
  var y = class Ot {
    constructor(_, b) {
      this.addressMinusSuffix = "", this.parsedSubnet = "", this.subnet = "/128", this.subnetMask = 128, this.v4 = !1, this.zone = "", this.isInSubnet = s.isInSubnet, this.isCorrect = s.isCorrect(a.BITS), b === void 0 ? this.groups = a.GROUPS : this.groups = b, this.address = _;
      const E = a.RE_SUBNET_STRING.exec(_);
      if (E) {
        if (this.parsedSubnet = E[0].replace("/", ""), this.subnetMask = parseInt(this.parsedSubnet, 10), this.subnet = `/${this.subnetMask}`, Number.isNaN(this.subnetMask) || this.subnetMask < 0 || this.subnetMask > a.BITS) throw new f.AddressError("Invalid subnet mask.");
        _ = _.replace(a.RE_SUBNET_STRING, "");
      } else if (/\//.test(_)) throw new f.AddressError("Invalid subnet mask.");
      const D = a.RE_ZONE_STRING.exec(_);
      D && (this.zone = D[0], _ = _.replace(a.RE_ZONE_STRING, "")), this.addressMinusSuffix = _, this.parsedAddress = this.parse(this.addressMinusSuffix);
    }
    static isValid(_) {
      try {
        return new Ot(_), !0;
      } catch {
        return !1;
      }
    }
    static fromBigInt(_) {
      const b = _.toString(16).padStart(32, "0"), E = [];
      let D;
      for (D = 0; D < a.GROUPS; D++) E.push(b.slice(D * 4, (D + 1) * 4));
      return new Ot(E.join(":"));
    }
    static fromURL(_) {
      let b, E = null, D;
      if (_.indexOf("[") !== -1 && _.indexOf("]:") !== -1) {
        if (D = a.RE_URL_WITH_PORT.exec(_), D === null) return {
          error: "failed to parse address with port",
          address: null,
          port: null
        };
        b = D[1], E = D[2];
      } else if (_.indexOf("/") !== -1) {
        if (_ = _.replace(/^[a-z0-9]+:\/\//, ""), D = a.RE_URL.exec(_), D === null) return {
          error: "failed to parse address from URL",
          address: null,
          port: null
        };
        b = D[1];
      } else b = _;
      return E ? (E = parseInt(E, 10), (E < 0 || E > 65536) && (E = null)) : E = null, {
        address: new Ot(b),
        port: E
      };
    }
    static fromAddress4(_) {
      const b = new l.Address4(_), E = a.BITS - (h.BITS - b.subnetMask);
      return new Ot(`::ffff:${b.correctForm()}/${E}`);
    }
    static fromArpa(_) {
      let b = _.replace(/(\.ip6\.arpa)?\.$/, "");
      const E = 7;
      if (b.length !== 63) throw new f.AddressError("Invalid 'ip6.arpa' form.");
      const D = b.split(".").reverse();
      for (let S = E; S > 0; S--) {
        const C = S * 4;
        D.splice(C, 0, ":");
      }
      return b = D.join(""), new Ot(b);
    }
    microsoftTranscription() {
      return `${this.correctForm().replace(/:/g, "-")}.ipv6-literal.net`;
    }
    mask(_ = this.subnetMask) {
      return this.getBitsBase2(0, _);
    }
    possibleSubnets(_ = 128) {
      const b = a.BITS - this.subnetMask - Math.abs(_ - a.BITS);
      return b < 0 ? "0" : d((BigInt("2") ** BigInt(b)).toString(10));
    }
    _startAddress() {
      return BigInt(`0b${this.mask() + "0".repeat(a.BITS - this.subnetMask)}`);
    }
    startAddress() {
      return Ot.fromBigInt(this._startAddress());
    }
    startAddressExclusive() {
      const _ = BigInt("1");
      return Ot.fromBigInt(this._startAddress() + _);
    }
    _endAddress() {
      return BigInt(`0b${this.mask() + "1".repeat(a.BITS - this.subnetMask)}`);
    }
    endAddress() {
      return Ot.fromBigInt(this._endAddress());
    }
    endAddressExclusive() {
      const _ = BigInt("1");
      return Ot.fromBigInt(this._endAddress() - _);
    }
    getScope() {
      let _ = a.SCOPES[parseInt(this.getBits(12, 16).toString(10), 10)];
      return this.getType() === "Global unicast" && _ !== "Link local" && (_ = "Global"), _ || "Unknown";
    }
    getType() {
      for (const _ of Object.keys(a.TYPES)) if (this.isInSubnet(new Ot(_))) return a.TYPES[_];
      return "Global unicast";
    }
    getBits(_, b) {
      return BigInt(`0b${this.getBitsBase2(_, b)}`);
    }
    getBitsBase2(_, b) {
      return this.binaryZeroPad().slice(_, b);
    }
    getBitsBase16(_, b) {
      const E = b - _;
      if (E % 4 !== 0) throw new Error("Length of bits to retrieve must be divisible by four");
      return this.getBits(_, b).toString(16).padStart(E / 4, "0");
    }
    getBitsPastSubnet() {
      return this.getBitsBase2(this.subnetMask, a.BITS);
    }
    reverseForm(_) {
      _ || (_ = {});
      const b = Math.floor(this.subnetMask / 4), E = this.canonicalForm().replace(/:/g, "").split("").slice(0, b).reverse().join(".");
      return b > 0 ? _.omitSuffix ? E : `${E}.ip6.arpa.` : _.omitSuffix ? "" : "ip6.arpa.";
    }
    correctForm() {
      let _, b = [], E = 0;
      const D = [];
      for (_ = 0; _ < this.parsedAddress.length; _++) {
        const T = parseInt(this.parsedAddress[_], 16);
        T === 0 && E++, T !== 0 && E > 0 && (E > 1 && D.push([_ - E, _ - 1]), E = 0);
      }
      E > 1 && D.push([this.parsedAddress.length - E, this.parsedAddress.length - 1]);
      const S = D.map((T) => T[1] - T[0] + 1);
      if (D.length > 0) {
        const T = S.indexOf(Math.max(...S));
        b = m(this.parsedAddress, D[T]);
      } else b = this.parsedAddress;
      for (_ = 0; _ < b.length; _++) b[_] !== "compact" && (b[_] = parseInt(b[_], 16).toString(16));
      let C = b.join(":");
      return C = C.replace(/^compact$/, "::"), C = C.replace(/(^compact)|(compact$)/, ":"), C = C.replace(/compact/, ""), C;
    }
    binaryZeroPad() {
      return this.bigInt().toString(2).padStart(a.BITS, "0");
    }
    parse4in6(_) {
      const b = _.split(":"), E = b.slice(-1)[0].match(h.RE_ADDRESS);
      if (E) {
        this.parsedAddress4 = E[0], this.address4 = new l.Address4(this.parsedAddress4);
        for (let D = 0; D < this.address4.groups; D++) if (/^0[0-9]+/.test(this.address4.parsedAddress[D])) throw new f.AddressError("IPv4 addresses can't have leading zeroes.", _.replace(h.RE_ADDRESS, this.address4.parsedAddress.map(p).join(".")));
        this.v4 = !0, b[b.length - 1] = this.address4.toGroup6(), _ = b.join(":");
      }
      return _;
    }
    parse(_) {
      _ = this.parse4in6(_);
      const b = _.match(a.RE_BAD_CHARACTERS);
      if (b) throw new f.AddressError(`Bad character${b.length > 1 ? "s" : ""} detected in address: ${b.join("")}`, _.replace(a.RE_BAD_CHARACTERS, '<span class="parse-error">$1</span>'));
      const E = _.match(a.RE_BAD_ADDRESS);
      if (E) throw new f.AddressError(`Address failed regex: ${E.join("")}`, _.replace(a.RE_BAD_ADDRESS, '<span class="parse-error">$1</span>'));
      let D = [];
      const S = _.split("::");
      if (S.length === 2) {
        let C = S[0].split(":"), T = S[1].split(":");
        C.length === 1 && C[0] === "" && (C = []), T.length === 1 && T[0] === "" && (T = []);
        const U = this.groups - (C.length + T.length);
        if (!U) throw new f.AddressError("Error parsing groups");
        this.elidedGroups = U, this.elisionBegin = C.length, this.elisionEnd = C.length + this.elidedGroups, D = D.concat(C);
        for (let $ = 0; $ < U; $++) D.push("0");
        D = D.concat(T);
      } else if (S.length === 1)
        D = _.split(":"), this.elidedGroups = 0;
      else throw new f.AddressError("Too many :: groups found");
      if (D = D.map((C) => parseInt(C, 16).toString(16)), D.length !== this.groups) throw new f.AddressError("Incorrect number of groups found");
      return D;
    }
    canonicalForm() {
      return this.parsedAddress.map(g).join(":");
    }
    decimal() {
      return this.parsedAddress.map((_) => parseInt(_, 16).toString(10).padStart(5, "0")).join(":");
    }
    bigInt() {
      return BigInt(`0x${this.parsedAddress.map(g).join("")}`);
    }
    to4() {
      const _ = this.binaryZeroPad().split("");
      return l.Address4.fromHex(BigInt(`0b${_.slice(96, 128).join("")}`).toString(16));
    }
    to4in6() {
      const _ = this.to4(), b = new Ot(this.parsedAddress.slice(0, 6).join(":"), 6).correctForm();
      let E = "";
      return /:$/.test(b) || (E = ":"), b + E + _.address;
    }
    inspectTeredo() {
      const _ = this.getBitsBase16(0, 32), b = (this.getBits(80, 96) ^ BigInt("0xffff")).toString(), E = l.Address4.fromHex(this.getBitsBase16(32, 64)), D = this.getBits(96, 128), S = l.Address4.fromHex((D ^ BigInt("0xffffffff")).toString(16)), C = this.getBitsBase2(64, 80), T = (0, o.testBit)(C, 15), U = (0, o.testBit)(C, 14), $ = (0, o.testBit)(C, 8), z = (0, o.testBit)(C, 9), Y = BigInt(`0b${C.slice(2, 6) + C.slice(8, 16)}`).toString(10);
      return {
        prefix: `${_.slice(0, 4)}:${_.slice(4, 8)}`,
        server4: E.address,
        client4: S.address,
        flags: C,
        coneNat: T,
        microsoft: {
          reserved: U,
          universalLocal: z,
          groupIndividual: $,
          nonce: Y
        },
        udpPort: b
      };
    }
    inspect6to4() {
      const _ = this.getBitsBase16(0, 16), b = l.Address4.fromHex(this.getBitsBase16(16, 48));
      return {
        prefix: _.slice(0, 4),
        gateway: b.address
      };
    }
    to6to4() {
      return this.is4() ? new Ot([
        "2002",
        this.getBitsBase16(96, 112),
        this.getBitsBase16(112, 128),
        "",
        "/16"
      ].join(":")) : null;
    }
    toByteArray() {
      const _ = this.bigInt().toString(16), b = `${"0".repeat(_.length % 2)}${_}`, E = [];
      for (let D = 0, S = b.length; D < S; D += 2) E.push(parseInt(b.substring(D, D + 2), 16));
      return E;
    }
    toUnsignedByteArray() {
      return this.toByteArray().map(v);
    }
    static fromByteArray(_) {
      return this.fromUnsignedByteArray(_.map(v));
    }
    static fromUnsignedByteArray(_) {
      const b = BigInt("256");
      let E = BigInt("0"), D = BigInt("1");
      for (let S = _.length - 1; S >= 0; S--)
        E += D * BigInt(_[S].toString(10)), D *= b;
      return Ot.fromBigInt(E);
    }
    isCanonical() {
      return this.addressMinusSuffix === this.canonicalForm();
    }
    isLinkLocal() {
      return this.getBitsBase2(0, 64) === "1111111010000000000000000000000000000000000000000000000000000000";
    }
    isMulticast() {
      return this.getType() === "Multicast";
    }
    is4() {
      return this.v4;
    }
    isTeredo() {
      return this.isInSubnet(new Ot("2001::/32"));
    }
    is6to4() {
      return this.isInSubnet(new Ot("2002::/16"));
    }
    isLoopback() {
      return this.getType() === "Loopback";
    }
    href(_) {
      return _ === void 0 ? _ = "" : _ = `:${_}`, `http://[${this.correctForm()}]${_}/`;
    }
    link(_) {
      _ || (_ = {}), _.className === void 0 && (_.className = ""), _.prefix === void 0 && (_.prefix = "/#address="), _.v4 === void 0 && (_.v4 = !1);
      let b = this.correctForm;
      _.v4 && (b = this.to4in6);
      const E = b.call(this);
      return _.className ? `<a href="${_.prefix}${E}" class="${_.className}">${E}</a>` : `<a href="${_.prefix}${E}">${E}</a>`;
    }
    group() {
      if (this.elidedGroups === 0) return n.simpleGroup(this.address).join(":");
      c(typeof this.elidedGroups == "number"), c(typeof this.elisionBegin == "number");
      const _ = [], [b, E] = this.address.split("::");
      b.length ? _.push(...n.simpleGroup(b)) : _.push("");
      const D = ["hover-group"];
      for (let S = this.elisionBegin; S < this.elisionBegin + this.elidedGroups; S++) D.push(`group-${S}`);
      return _.push(`<span class="${D.join(" ")}"></span>`), E.length ? _.push(...n.simpleGroup(E, this.elisionEnd)) : _.push(""), this.is4() && (c(this.address4 instanceof l.Address4), _.pop(), _.push(this.address4.groupForV6())), _.join(":");
    }
    regularExpressionString(_ = !1) {
      let b = [];
      const E = new Ot(this.correctForm());
      if (E.elidedGroups === 0) b.push((0, u.simpleRegularExpression)(E.parsedAddress));
      else if (E.elidedGroups === a.GROUPS) b.push((0, u.possibleElisions)(a.GROUPS));
      else {
        const D = E.address.split("::");
        D[0].length && b.push((0, u.simpleRegularExpression)(D[0].split(":"))), c(typeof E.elidedGroups == "number"), b.push((0, u.possibleElisions)(E.elidedGroups, D[0].length !== 0, D[1].length !== 0)), D[1].length && b.push((0, u.simpleRegularExpression)(D[1].split(":"))), b = [b.join(":")];
      }
      return _ || (b = [
        "(?=^|",
        u.ADDRESS_BOUNDARY,
        "|[^\\w\\:])(",
        ...b,
        ")(?=[^\\w\\:]|",
        u.ADDRESS_BOUNDARY,
        "|$)"
      ]), b.join("");
    }
    regularExpression(_ = !1) {
      return new RegExp(this.regularExpressionString(_), "i");
    }
  };
  e.Address6 = y;
})), bd = /* @__PURE__ */ j(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(l, u, f, o) {
    o === void 0 && (o = f);
    var c = Object.getOwnPropertyDescriptor(u, f);
    (!c || ("get" in c ? !u.__esModule : c.writable || c.configurable)) && (c = {
      enumerable: !0,
      get: function() {
        return u[f];
      }
    }), Object.defineProperty(l, o, c);
  }) : (function(l, u, f, o) {
    o === void 0 && (o = f), l[o] = u[f];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(l, u) {
    Object.defineProperty(l, "default", {
      enumerable: !0,
      value: u
    });
  }) : function(l, u) {
    l.default = u;
  }), i = e && e.__importStar || function(l) {
    if (l && l.__esModule) return l;
    var u = {};
    if (l != null)
      for (var f in l) f !== "default" && Object.prototype.hasOwnProperty.call(l, f) && t(u, l, f);
    return r(u, l), u;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.v6 = e.AddressError = e.Address6 = e.Address4 = void 0;
  var s = yd();
  Object.defineProperty(e, "Address4", {
    enumerable: !0,
    get: function() {
      return s.Address4;
    }
  });
  var h = gw();
  Object.defineProperty(e, "Address6", {
    enumerable: !0,
    get: function() {
      return h.Address6;
    }
  });
  var a = zu();
  Object.defineProperty(e, "AddressError", {
    enumerable: !0,
    get: function() {
      return a.AddressError;
    }
  });
  var n = i(Ed());
  e.v6 = { helpers: n };
})), mw = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ipToBuffer = e.int32ToIpv4 = e.ipv4ToInt32 = e.validateSocksClientChainOptions = e.validateSocksClientOptions = void 0;
  var t = md(), r = gd(), i = ve("stream"), s = bd(), h = ve("net");
  function a(m, g = [
    "connect",
    "bind",
    "associate"
  ]) {
    if (!r.SocksCommand[m.command]) throw new t.SocksClientError(r.ERRORS.InvalidSocksCommand, m);
    if (g.indexOf(m.command) === -1) throw new t.SocksClientError(r.ERRORS.InvalidSocksCommandForOperation, m);
    if (!u(m.destination)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsDestination, m);
    if (!f(m.proxy)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsProxy, m);
    if (l(m.proxy, m), m.timeout && !o(m.timeout)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsTimeout, m);
    if (m.existing_socket && !(m.existing_socket instanceof i.Duplex)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsExistingSocket, m);
  }
  e.validateSocksClientOptions = a;
  function n(m) {
    if (m.command !== "connect") throw new t.SocksClientError(r.ERRORS.InvalidSocksCommandChain, m);
    if (!u(m.destination)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsDestination, m);
    if (!(m.proxies && Array.isArray(m.proxies) && m.proxies.length >= 2)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsProxiesLength, m);
    if (m.proxies.forEach((g) => {
      if (!f(g)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsProxy, m);
      l(g, m);
    }), m.timeout && !o(m.timeout)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsTimeout, m);
  }
  e.validateSocksClientChainOptions = n;
  function l(m, g) {
    if (m.custom_auth_method !== void 0) {
      if (m.custom_auth_method < r.SOCKS5_CUSTOM_AUTH_START || m.custom_auth_method > r.SOCKS5_CUSTOM_AUTH_END) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsCustomAuthRange, g);
      if (m.custom_auth_request_handler === void 0 || typeof m.custom_auth_request_handler != "function") throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsCustomAuthOptions, g);
      if (m.custom_auth_response_size === void 0) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsCustomAuthOptions, g);
      if (m.custom_auth_response_handler === void 0 || typeof m.custom_auth_response_handler != "function") throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsCustomAuthOptions, g);
    }
  }
  function u(m) {
    return m && typeof m.host == "string" && Buffer.byteLength(m.host) < 256 && typeof m.port == "number" && m.port >= 0 && m.port <= 65535;
  }
  function f(m) {
    return m && (typeof m.host == "string" || typeof m.ipaddress == "string") && typeof m.port == "number" && m.port >= 0 && m.port <= 65535 && (m.type === 4 || m.type === 5);
  }
  function o(m) {
    return typeof m == "number" && m > 0;
  }
  function c(m) {
    return new s.Address4(m).toArray().reduce((g, v) => (g << 8) + v, 0) >>> 0;
  }
  e.ipv4ToInt32 = c;
  function d(m) {
    return [
      m >>> 24 & 255,
      m >>> 16 & 255,
      m >>> 8 & 255,
      m & 255
    ].join(".");
  }
  e.int32ToIpv4 = d;
  function p(m) {
    if (h.isIPv4(m)) {
      const g = new s.Address4(m);
      return Buffer.from(g.toArray());
    } else if (h.isIPv6(m)) {
      const g = new s.Address6(m);
      return Buffer.from(g.canonicalForm().split(":").map((v) => v.padStart(4, "0")).join(""), "hex");
    } else throw new Error("Invalid IP address format");
  }
  e.ipToBuffer = p;
})), vw = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ReceiveBuffer = void 0;
  var t = class {
    constructor(r = 4096) {
      this.buffer = Buffer.allocUnsafe(r), this.offset = 0, this.originalSize = r;
    }
    get length() {
      return this.offset;
    }
    append(r) {
      if (!Buffer.isBuffer(r)) throw new Error("Attempted to append a non-buffer instance to ReceiveBuffer.");
      if (this.offset + r.length >= this.buffer.length) {
        const i = this.buffer;
        this.buffer = Buffer.allocUnsafe(Math.max(this.buffer.length + this.originalSize, this.buffer.length + r.length)), i.copy(this.buffer);
      }
      return r.copy(this.buffer, this.offset), this.offset += r.length;
    }
    peek(r) {
      if (r > this.offset) throw new Error("Attempted to read beyond the bounds of the managed internal data.");
      return this.buffer.slice(0, r);
    }
    get(r) {
      if (r > this.offset) throw new Error("Attempted to read beyond the bounds of the managed internal data.");
      const i = Buffer.allocUnsafe(r);
      return this.buffer.slice(0, r).copy(i), this.buffer.copyWithin(0, r, r + this.offset - r), this.offset -= r, i;
    }
  };
  e.ReceiveBuffer = t;
})), yw = /* @__PURE__ */ j(((e) => {
  var t = e && e.__awaiter || function(o, c, d, p) {
    function m(g) {
      return g instanceof d ? g : new d(function(v) {
        v(g);
      });
    }
    return new (d || (d = Promise))(function(g, v) {
      function y(b) {
        try {
          _(p.next(b));
        } catch (E) {
          v(E);
        }
      }
      function w(b) {
        try {
          _(p.throw(b));
        } catch (E) {
          v(E);
        }
      }
      function _(b) {
        b.done ? g(b.value) : m(b.value).then(y, w);
      }
      _((p = p.apply(o, c || [])).next());
    });
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.SocksClientError = e.SocksClient = void 0;
  var r = ve("events"), i = ve("net"), s = dw(), h = gd(), a = mw(), n = vw(), l = md();
  Object.defineProperty(e, "SocksClientError", {
    enumerable: !0,
    get: function() {
      return l.SocksClientError;
    }
  });
  var u = bd(), f = class Oo extends r.EventEmitter {
    constructor(c) {
      super(), this.options = Object.assign({}, c), (0, a.validateSocksClientOptions)(c), this.setState(h.SocksClientState.Created);
    }
    static createConnection(c, d) {
      return new Promise((p, m) => {
        try {
          (0, a.validateSocksClientOptions)(c, ["connect"]);
        } catch (v) {
          return typeof d == "function" ? (d(v), p(v)) : m(v);
        }
        const g = new Oo(c);
        g.connect(c.existing_socket), g.once("established", (v) => {
          g.removeAllListeners(), typeof d == "function" && d(null, v), p(v);
        }), g.once("error", (v) => {
          g.removeAllListeners(), typeof d == "function" ? (d(v), p(v)) : m(v);
        });
      });
    }
    static createConnectionChain(c, d) {
      return new Promise((p, m) => t(this, void 0, void 0, function* () {
        try {
          (0, a.validateSocksClientChainOptions)(c);
        } catch (g) {
          return typeof d == "function" ? (d(g), p(g)) : m(g);
        }
        c.randomizeChain && (0, l.shuffleArray)(c.proxies);
        try {
          let g;
          for (let v = 0; v < c.proxies.length; v++) {
            const y = c.proxies[v], w = v === c.proxies.length - 1 ? c.destination : {
              host: c.proxies[v + 1].host || c.proxies[v + 1].ipaddress,
              port: c.proxies[v + 1].port
            }, _ = yield Oo.createConnection({
              command: "connect",
              proxy: y,
              destination: w,
              existing_socket: g
            });
            g = g || _.socket;
          }
          typeof d == "function" ? (d(null, { socket: g }), p({ socket: g })) : p({ socket: g });
        } catch (g) {
          typeof d == "function" ? (d(g), p(g)) : m(g);
        }
      }));
    }
    static createUDPFrame(c) {
      const d = new s.SmartBuffer();
      return d.writeUInt16BE(0), d.writeUInt8(c.frameNumber || 0), i.isIPv4(c.remoteHost.host) ? (d.writeUInt8(h.Socks5HostType.IPv4), d.writeUInt32BE((0, a.ipv4ToInt32)(c.remoteHost.host))) : i.isIPv6(c.remoteHost.host) ? (d.writeUInt8(h.Socks5HostType.IPv6), d.writeBuffer((0, a.ipToBuffer)(c.remoteHost.host))) : (d.writeUInt8(h.Socks5HostType.Hostname), d.writeUInt8(Buffer.byteLength(c.remoteHost.host)), d.writeString(c.remoteHost.host)), d.writeUInt16BE(c.remoteHost.port), d.writeBuffer(c.data), d.toBuffer();
    }
    static parseUDPFrame(c) {
      const d = s.SmartBuffer.fromBuffer(c);
      d.readOffset = 2;
      const p = d.readUInt8(), m = d.readUInt8();
      let g;
      m === h.Socks5HostType.IPv4 ? g = (0, a.int32ToIpv4)(d.readUInt32BE()) : m === h.Socks5HostType.IPv6 ? g = u.Address6.fromByteArray(Array.from(d.readBuffer(16))).canonicalForm() : g = d.readString(d.readUInt8());
      const v = d.readUInt16BE();
      return {
        frameNumber: p,
        remoteHost: {
          host: g,
          port: v
        },
        data: d.readBuffer()
      };
    }
    setState(c) {
      this.state !== h.SocksClientState.Error && (this.state = c);
    }
    connect(c) {
      this.onDataReceived = (p) => this.onDataReceivedHandler(p), this.onClose = () => this.onCloseHandler(), this.onError = (p) => this.onErrorHandler(p), this.onConnect = () => this.onConnectHandler();
      const d = setTimeout(() => this.onEstablishedTimeout(), this.options.timeout || h.DEFAULT_TIMEOUT);
      d.unref && typeof d.unref == "function" && d.unref(), c ? this.socket = c : this.socket = new i.Socket(), this.socket.once("close", this.onClose), this.socket.once("error", this.onError), this.socket.once("connect", this.onConnect), this.socket.on("data", this.onDataReceived), this.setState(h.SocksClientState.Connecting), this.receiveBuffer = new n.ReceiveBuffer(), c ? this.socket.emit("connect") : (this.socket.connect(this.getSocketOptions()), this.options.set_tcp_nodelay !== void 0 && this.options.set_tcp_nodelay !== null && this.socket.setNoDelay(!!this.options.set_tcp_nodelay)), this.prependOnceListener("established", (p) => {
        setImmediate(() => {
          if (this.receiveBuffer.length > 0) {
            const m = this.receiveBuffer.get(this.receiveBuffer.length);
            p.socket.emit("data", m);
          }
          p.socket.resume();
        });
      });
    }
    getSocketOptions() {
      return Object.assign(Object.assign({}, this.options.socket_options), {
        host: this.options.proxy.host || this.options.proxy.ipaddress,
        port: this.options.proxy.port
      });
    }
    onEstablishedTimeout() {
      this.state !== h.SocksClientState.Established && this.state !== h.SocksClientState.BoundWaitingForConnection && this.closeSocket(h.ERRORS.ProxyConnectionTimedOut);
    }
    onConnectHandler() {
      this.setState(h.SocksClientState.Connected), this.options.proxy.type === 4 ? this.sendSocks4InitialHandshake() : this.sendSocks5InitialHandshake(), this.setState(h.SocksClientState.SentInitialHandshake);
    }
    onDataReceivedHandler(c) {
      this.receiveBuffer.append(c), this.processData();
    }
    processData() {
      for (; this.state !== h.SocksClientState.Established && this.state !== h.SocksClientState.Error && this.receiveBuffer.length >= this.nextRequiredPacketBufferSize; ) if (this.state === h.SocksClientState.SentInitialHandshake) this.options.proxy.type === 4 ? this.handleSocks4FinalHandshakeResponse() : this.handleInitialSocks5HandshakeResponse();
      else if (this.state === h.SocksClientState.SentAuthentication) this.handleInitialSocks5AuthenticationHandshakeResponse();
      else if (this.state === h.SocksClientState.SentFinalHandshake) this.handleSocks5FinalHandshakeResponse();
      else if (this.state === h.SocksClientState.BoundWaitingForConnection) this.options.proxy.type === 4 ? this.handleSocks4IncomingConnectionResponse() : this.handleSocks5IncomingConnectionResponse();
      else {
        this.closeSocket(h.ERRORS.InternalError);
        break;
      }
    }
    onCloseHandler() {
      this.closeSocket(h.ERRORS.SocketClosed);
    }
    onErrorHandler(c) {
      this.closeSocket(c.message);
    }
    removeInternalSocketHandlers() {
      this.socket.pause(), this.socket.removeListener("data", this.onDataReceived), this.socket.removeListener("close", this.onClose), this.socket.removeListener("error", this.onError), this.socket.removeListener("connect", this.onConnect);
    }
    closeSocket(c) {
      this.state !== h.SocksClientState.Error && (this.setState(h.SocksClientState.Error), this.socket.destroy(), this.removeInternalSocketHandlers(), this.emit("error", new l.SocksClientError(c, this.options)));
    }
    sendSocks4InitialHandshake() {
      const c = this.options.proxy.userId || "", d = new s.SmartBuffer();
      d.writeUInt8(4), d.writeUInt8(h.SocksCommand[this.options.command]), d.writeUInt16BE(this.options.destination.port), i.isIPv4(this.options.destination.host) ? (d.writeBuffer((0, a.ipToBuffer)(this.options.destination.host)), d.writeStringNT(c)) : (d.writeUInt8(0), d.writeUInt8(0), d.writeUInt8(0), d.writeUInt8(1), d.writeStringNT(c), d.writeStringNT(this.options.destination.host)), this.nextRequiredPacketBufferSize = h.SOCKS_INCOMING_PACKET_SIZES.Socks4Response, this.socket.write(d.toBuffer());
    }
    handleSocks4FinalHandshakeResponse() {
      const c = this.receiveBuffer.get(8);
      if (c[1] !== h.Socks4Response.Granted) this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedConnection} - (${h.Socks4Response[c[1]]})`);
      else if (h.SocksCommand[this.options.command] === h.SocksCommand.bind) {
        const d = s.SmartBuffer.fromBuffer(c);
        d.readOffset = 2;
        const p = {
          port: d.readUInt16BE(),
          host: (0, a.int32ToIpv4)(d.readUInt32BE())
        };
        p.host === "0.0.0.0" && (p.host = this.options.proxy.ipaddress), this.setState(h.SocksClientState.BoundWaitingForConnection), this.emit("bound", {
          remoteHost: p,
          socket: this.socket
        });
      } else
        this.setState(h.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", { socket: this.socket });
    }
    handleSocks4IncomingConnectionResponse() {
      const c = this.receiveBuffer.get(8);
      if (c[1] !== h.Socks4Response.Granted) this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${h.Socks4Response[c[1]]})`);
      else {
        const d = s.SmartBuffer.fromBuffer(c);
        d.readOffset = 2;
        const p = {
          port: d.readUInt16BE(),
          host: (0, a.int32ToIpv4)(d.readUInt32BE())
        };
        this.setState(h.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", {
          remoteHost: p,
          socket: this.socket
        });
      }
    }
    sendSocks5InitialHandshake() {
      const c = new s.SmartBuffer(), d = [h.Socks5Auth.NoAuth];
      (this.options.proxy.userId || this.options.proxy.password) && d.push(h.Socks5Auth.UserPass), this.options.proxy.custom_auth_method !== void 0 && d.push(this.options.proxy.custom_auth_method), c.writeUInt8(5), c.writeUInt8(d.length);
      for (const p of d) c.writeUInt8(p);
      this.nextRequiredPacketBufferSize = h.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse, this.socket.write(c.toBuffer()), this.setState(h.SocksClientState.SentInitialHandshake);
    }
    handleInitialSocks5HandshakeResponse() {
      const c = this.receiveBuffer.get(2);
      c[0] !== 5 ? this.closeSocket(h.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion) : c[1] === h.SOCKS5_NO_ACCEPTABLE_AUTH ? this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType) : c[1] === h.Socks5Auth.NoAuth ? (this.socks5ChosenAuthType = h.Socks5Auth.NoAuth, this.sendSocks5CommandRequest()) : c[1] === h.Socks5Auth.UserPass ? (this.socks5ChosenAuthType = h.Socks5Auth.UserPass, this.sendSocks5UserPassAuthentication()) : c[1] === this.options.proxy.custom_auth_method ? (this.socks5ChosenAuthType = this.options.proxy.custom_auth_method, this.sendSocks5CustomAuthentication()) : this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType);
    }
    sendSocks5UserPassAuthentication() {
      const c = this.options.proxy.userId || "", d = this.options.proxy.password || "", p = new s.SmartBuffer();
      p.writeUInt8(1), p.writeUInt8(Buffer.byteLength(c)), p.writeString(c), p.writeUInt8(Buffer.byteLength(d)), p.writeString(d), this.nextRequiredPacketBufferSize = h.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse, this.socket.write(p.toBuffer()), this.setState(h.SocksClientState.SentAuthentication);
    }
    sendSocks5CustomAuthentication() {
      return t(this, void 0, void 0, function* () {
        this.nextRequiredPacketBufferSize = this.options.proxy.custom_auth_response_size, this.socket.write(yield this.options.proxy.custom_auth_request_handler()), this.setState(h.SocksClientState.SentAuthentication);
      });
    }
    handleSocks5CustomAuthHandshakeResponse(c) {
      return t(this, void 0, void 0, function* () {
        return yield this.options.proxy.custom_auth_response_handler(c);
      });
    }
    handleSocks5AuthenticationNoAuthHandshakeResponse(c) {
      return t(this, void 0, void 0, function* () {
        return c[1] === 0;
      });
    }
    handleSocks5AuthenticationUserPassHandshakeResponse(c) {
      return t(this, void 0, void 0, function* () {
        return c[1] === 0;
      });
    }
    handleInitialSocks5AuthenticationHandshakeResponse() {
      return t(this, void 0, void 0, function* () {
        this.setState(h.SocksClientState.ReceivedAuthenticationResponse);
        let c = !1;
        this.socks5ChosenAuthType === h.Socks5Auth.NoAuth ? c = yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2)) : this.socks5ChosenAuthType === h.Socks5Auth.UserPass ? c = yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2)) : this.socks5ChosenAuthType === this.options.proxy.custom_auth_method && (c = yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size))), c ? this.sendSocks5CommandRequest() : this.closeSocket(h.ERRORS.Socks5AuthenticationFailed);
      });
    }
    sendSocks5CommandRequest() {
      const c = new s.SmartBuffer();
      c.writeUInt8(5), c.writeUInt8(h.SocksCommand[this.options.command]), c.writeUInt8(0), i.isIPv4(this.options.destination.host) ? (c.writeUInt8(h.Socks5HostType.IPv4), c.writeBuffer((0, a.ipToBuffer)(this.options.destination.host))) : i.isIPv6(this.options.destination.host) ? (c.writeUInt8(h.Socks5HostType.IPv6), c.writeBuffer((0, a.ipToBuffer)(this.options.destination.host))) : (c.writeUInt8(h.Socks5HostType.Hostname), c.writeUInt8(this.options.destination.host.length), c.writeString(this.options.destination.host)), c.writeUInt16BE(this.options.destination.port), this.nextRequiredPacketBufferSize = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader, this.socket.write(c.toBuffer()), this.setState(h.SocksClientState.SentFinalHandshake);
    }
    handleSocks5FinalHandshakeResponse() {
      const c = this.receiveBuffer.peek(5);
      if (c[0] !== 5 || c[1] !== h.Socks5Response.Granted) this.closeSocket(`${h.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${h.Socks5Response[c[1]]}`);
      else {
        const d = c[3];
        let p, m;
        if (d === h.Socks5HostType.IPv4) {
          const g = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;
          if (this.receiveBuffer.length < g) {
            this.nextRequiredPacketBufferSize = g;
            return;
          }
          m = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(g).slice(4)), p = {
            host: (0, a.int32ToIpv4)(m.readUInt32BE()),
            port: m.readUInt16BE()
          }, p.host === "0.0.0.0" && (p.host = this.options.proxy.ipaddress);
        } else if (d === h.Socks5HostType.Hostname) {
          const g = c[4], v = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(g);
          if (this.receiveBuffer.length < v) {
            this.nextRequiredPacketBufferSize = v;
            return;
          }
          m = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(v).slice(5)), p = {
            host: m.readString(g),
            port: m.readUInt16BE()
          };
        } else if (d === h.Socks5HostType.IPv6) {
          const g = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;
          if (this.receiveBuffer.length < g) {
            this.nextRequiredPacketBufferSize = g;
            return;
          }
          m = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(g).slice(4)), p = {
            host: u.Address6.fromByteArray(Array.from(m.readBuffer(16))).canonicalForm(),
            port: m.readUInt16BE()
          };
        }
        this.setState(h.SocksClientState.ReceivedFinalResponse), h.SocksCommand[this.options.command] === h.SocksCommand.connect ? (this.setState(h.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", {
          remoteHost: p,
          socket: this.socket
        })) : h.SocksCommand[this.options.command] === h.SocksCommand.bind ? (this.setState(h.SocksClientState.BoundWaitingForConnection), this.nextRequiredPacketBufferSize = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader, this.emit("bound", {
          remoteHost: p,
          socket: this.socket
        })) : h.SocksCommand[this.options.command] === h.SocksCommand.associate && (this.setState(h.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", {
          remoteHost: p,
          socket: this.socket
        }));
      }
    }
    handleSocks5IncomingConnectionResponse() {
      const c = this.receiveBuffer.peek(5);
      if (c[0] !== 5 || c[1] !== h.Socks5Response.Granted) this.closeSocket(`${h.ERRORS.Socks5ProxyRejectedIncomingBoundConnection} - ${h.Socks5Response[c[1]]}`);
      else {
        const d = c[3];
        let p, m;
        if (d === h.Socks5HostType.IPv4) {
          const g = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;
          if (this.receiveBuffer.length < g) {
            this.nextRequiredPacketBufferSize = g;
            return;
          }
          m = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(g).slice(4)), p = {
            host: (0, a.int32ToIpv4)(m.readUInt32BE()),
            port: m.readUInt16BE()
          }, p.host === "0.0.0.0" && (p.host = this.options.proxy.ipaddress);
        } else if (d === h.Socks5HostType.Hostname) {
          const g = c[4], v = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(g);
          if (this.receiveBuffer.length < v) {
            this.nextRequiredPacketBufferSize = v;
            return;
          }
          m = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(v).slice(5)), p = {
            host: m.readString(g),
            port: m.readUInt16BE()
          };
        } else if (d === h.Socks5HostType.IPv6) {
          const g = h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;
          if (this.receiveBuffer.length < g) {
            this.nextRequiredPacketBufferSize = g;
            return;
          }
          m = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(g).slice(4)), p = {
            host: u.Address6.fromByteArray(Array.from(m.readBuffer(16))).canonicalForm(),
            port: m.readUInt16BE()
          };
        }
        this.setState(h.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", {
          remoteHost: p,
          socket: this.socket
        });
      }
    }
    get socksClientOptions() {
      return Object.assign({}, this.options);
    }
  };
  e.SocksClient = f;
})), _w = /* @__PURE__ */ j(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(i, s, h, a) {
    a === void 0 && (a = h);
    var n = Object.getOwnPropertyDescriptor(s, h);
    (!n || ("get" in n ? !s.__esModule : n.writable || n.configurable)) && (n = {
      enumerable: !0,
      get: function() {
        return s[h];
      }
    }), Object.defineProperty(i, a, n);
  }) : (function(i, s, h, a) {
    a === void 0 && (a = h), i[a] = s[h];
  })), r = e && e.__exportStar || function(i, s) {
    for (var h in i) h !== "default" && !Object.prototype.hasOwnProperty.call(s, h) && t(s, i, h);
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), r(yw(), e);
})), Ew = /* @__PURE__ */ j(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(v, y, w, _) {
    _ === void 0 && (_ = w);
    var b = Object.getOwnPropertyDescriptor(y, w);
    (!b || ("get" in b ? !y.__esModule : b.writable || b.configurable)) && (b = {
      enumerable: !0,
      get: function() {
        return y[w];
      }
    }), Object.defineProperty(v, _, b);
  }) : (function(v, y, w, _) {
    _ === void 0 && (_ = w), v[_] = y[w];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(v, y) {
    Object.defineProperty(v, "default", {
      enumerable: !0,
      value: y
    });
  }) : function(v, y) {
    v.default = y;
  }), i = e && e.__importStar || function(v) {
    if (v && v.__esModule) return v;
    var y = {};
    if (v != null)
      for (var w in v) w !== "default" && Object.prototype.hasOwnProperty.call(v, w) && t(y, v, w);
    return r(y, v), y;
  }, s = e && e.__importDefault || function(v) {
    return v && v.__esModule ? v : { default: v };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.SocksProxyAgent = void 0;
  var h = _w(), a = As(), n = s(gn()), l = i(ve("dns")), u = i(ve("net")), f = i(ve("tls")), o = ve("url"), c = (0, n.default)("socks-proxy-agent"), d = (v) => v.servername === void 0 && v.host && !u.isIP(v.host) ? {
    ...v,
    servername: v.host
  } : v;
  function p(v) {
    let y = !1, w = 5;
    const _ = v.hostname, b = parseInt(v.port, 10) || 1080;
    switch (v.protocol.replace(":", "")) {
      case "socks4":
        y = !0, w = 4;
        break;
      case "socks4a":
        w = 4;
        break;
      case "socks5":
        y = !0, w = 5;
        break;
      case "socks":
        w = 5;
        break;
      case "socks5h":
        w = 5;
        break;
      default:
        throw new TypeError(`A "socks" protocol must be specified! Got: ${String(v.protocol)}`);
    }
    const E = {
      host: _,
      port: b,
      type: w
    };
    return v.username && Object.defineProperty(E, "userId", {
      value: decodeURIComponent(v.username),
      enumerable: !1
    }), v.password != null && Object.defineProperty(E, "password", {
      value: decodeURIComponent(v.password),
      enumerable: !1
    }), {
      lookup: y,
      proxy: E
    };
  }
  var m = class extends a.Agent {
    constructor(v, y) {
      super(y);
      const { proxy: w, lookup: _ } = p(typeof v == "string" ? new o.URL(v) : v);
      this.shouldLookup = _, this.proxy = w, this.timeout = y?.timeout ?? null, this.socketOptions = y?.socketOptions ?? null;
    }
    async connect(v, y) {
      const { shouldLookup: w, proxy: _, timeout: b } = this;
      if (!y.host) throw new Error("No `host` defined!");
      let { host: E } = y;
      const { port: D, lookup: S = l.lookup } = y;
      w && (E = await new Promise(($, z) => {
        S(E, {}, (Y, H) => {
          Y ? z(Y) : $(H);
        });
      }));
      const C = {
        proxy: _,
        destination: {
          host: E,
          port: typeof D == "number" ? D : parseInt(D, 10)
        },
        command: "connect",
        timeout: b ?? void 0,
        socket_options: this.socketOptions ?? void 0
      }, T = ($) => {
        v.destroy(), U.destroy(), $ && $.destroy();
      };
      c("Creating socks proxy connection: %o", C);
      const { socket: U } = await h.SocksClient.createConnection(C);
      if (c("Successfully created socks proxy connection"), b !== null && (U.setTimeout(b), U.on("timeout", () => T())), y.secureEndpoint) {
        c("Upgrading socket connection to TLS");
        const $ = f.connect({
          ...g(d(y), "host", "path", "port"),
          socket: U
        });
        return $.once("error", (z) => {
          c("Socket TLS error", z.message), T($);
        }), $;
      }
      return U;
    }
  };
  m.protocols = [
    "socks",
    "socks4",
    "socks4a",
    "socks5",
    "socks5h"
  ], e.SocksProxyAgent = m;
  function g(v, ...y) {
    const w = {};
    let _;
    for (_ in v) y.includes(_) || (w[_] = v[_]);
    return w;
  }
})), wd = /* @__PURE__ */ j(((e, t) => {
  var r = class extends Error {
    constructor(n) {
      super(`Invalid protocol \`${n.protocol}\` connecting to proxy \`${n.host}\``), this.code = "EINVALIDPROXY", this.proxy = n;
    }
  }, i = class extends Error {
    constructor(n) {
      super(`Timeout connecting to host \`${n}\``), this.code = "ECONNECTIONTIMEOUT", this.host = n;
    }
  }, s = class extends Error {
    constructor(n) {
      super(`Idle timeout reached for host \`${n}\``), this.code = "EIDLETIMEOUT", this.host = n;
    }
  }, h = class extends Error {
    constructor(n, l) {
      let u = "Response timeout ";
      l && (u += `from proxy \`${l.host}\` `), u += `connecting to host \`${n.host}\``, super(u), this.code = "ERESPONSETIMEOUT", this.proxy = l, this.request = n;
    }
  }, a = class extends Error {
    constructor(n, l) {
      let u = "Transfer timeout ";
      l && (u += `from proxy \`${l.host}\` `), u += `for \`${n.host}\``, super(u), this.code = "ETRANSFERTIMEOUT", this.proxy = l, this.request = n;
    }
  };
  t.exports = {
    InvalidProxyProtocolError: r,
    ConnectionTimeoutError: i,
    IdleTimeoutError: s,
    ResponseTimeoutError: h,
    TransferTimeoutError: a
  };
})), Dd = /* @__PURE__ */ j(((e, t) => {
  var { HttpProxyAgent: r } = lw(), { HttpsProxyAgent: i } = hw(), { SocksProxyAgent: s } = Ew(), { LRUCache: h } = an(), { InvalidProxyProtocolError: a } = wd(), n = new h({ max: 20 }), l = new Set(s.protocols), u = /* @__PURE__ */ new Set([
    "https_proxy",
    "http_proxy",
    "proxy",
    "no_proxy"
  ]), f = Object.entries(process.env).reduce((p, [m, g]) => (m = m.toLowerCase(), u.has(m) && (p[m] = g), p), {}), o = (p) => {
    p = new URL(p);
    const m = p.protocol.slice(0, -1);
    if (l.has(m)) return s;
    if (m === "https" || m === "http") return [r, i];
    throw new a(p);
  }, c = (p, m) => {
    if (typeof m == "string" && (m = m.split(",").map((v) => v.trim()).filter(Boolean)), !m || !m.length) return !1;
    const g = p.hostname.split(".").reverse();
    return m.some((v) => {
      const y = v.split(".").filter(Boolean).reverse();
      if (!y.length) return !1;
      for (let w = 0; w < y.length; w++) if (g[w] !== y[w]) return !1;
      return !0;
    });
  }, d = (p, { proxy: m, noProxy: g }) => (p = new URL(p), m || (m = p.protocol === "https:" ? f.https_proxy : f.https_proxy || f.http_proxy || f.proxy), g || (g = f.no_proxy), !m || c(p, g) ? null : new URL(m));
  t.exports = {
    getProxyAgent: o,
    getProxy: d,
    proxyCache: n
  };
})), bw = /* @__PURE__ */ j(((e, t) => {
  var r = ve("net"), i = ve("tls"), { once: s } = ve("events"), h = ve("timers/promises"), { normalizeOptions: a, cacheOptions: n } = fd(), { getProxy: l, getProxyAgent: u, proxyCache: f } = Dd(), o = wd(), { Agent: c } = As();
  t.exports = class extends c {
    #e;
    #t;
    #r;
    #n;
    #a;
    constructor(p = {}) {
      const { timeouts: m, proxy: g, noProxy: v, ...y } = a(p);
      super(y), this.#e = y, this.#t = m, g && (this.#r = new URL(g), this.#n = v, this.#a = u(g));
    }
    get proxy() {
      return this.#r ? { url: this.#r } : {};
    }
    #l(p) {
      if (!this.#r) return;
      const m = l(`${p.protocol}//${p.host}:${p.port}`, {
        proxy: this.#r,
        noProxy: this.#n
      });
      if (!m) return;
      const g = n({
        ...p,
        ...this.#e,
        timeouts: this.#t,
        proxy: m
      });
      if (f.has(g)) return f.get(g);
      let v = this.#a;
      Array.isArray(v) && (v = this.isSecureEndpoint(p) ? v[1] : v[0]);
      const y = new v(m, {
        ...this.#e,
        socketOptions: { family: this.#e.family }
      });
      return f.set(g, y), y;
    }
    async #f({ promises: p, options: m, timeout: g }, v = new AbortController()) {
      if (g) {
        const w = h.setTimeout(g, null, { signal: v.signal }).then(() => {
          throw new o.ConnectionTimeoutError(`${m.host}:${m.port}`);
        }).catch((_) => {
          if (_.name !== "AbortError")
            throw _;
        });
        p.push(w);
      }
      let y;
      try {
        y = await Promise.race(p), v.abort();
      } catch (w) {
        throw v.abort(), w;
      }
      return y;
    }
    async connect(p, m) {
      m.lookup ??= this.#e.lookup;
      let g, v = this.#t.connection;
      const y = this.isSecureEndpoint(m), w = this.#l(m);
      if (w) {
        const D = Date.now();
        g = await this.#f({
          options: m,
          timeout: v,
          promises: [w.connect(p, m)]
        }), v && (v = v - (Date.now() - D));
      } else g = (y ? i : r).connect(m);
      g.setKeepAlive(this.keepAlive, this.keepAliveMsecs), g.setNoDelay(this.keepAlive);
      const _ = new AbortController(), { signal: b } = _, E = g[y ? "secureConnecting" : "connecting"] ? s(g, y ? "secureConnect" : "connect", { signal: b }) : Promise.resolve();
      return await this.#f({
        options: m,
        timeout: v,
        promises: [E, s(g, "error", { signal: b }).then((D) => {
          throw D[0];
        })]
      }, _), this.#t.idle && g.setTimeout(this.#t.idle, () => {
        g.destroy(new o.IdleTimeoutError(`${m.host}:${m.port}`));
      }), g;
    }
    addRequest(p, m) {
      const g = this.#l(m);
      if (g?.setRequestProps && g.setRequestProps(p, m), p.setHeader("connection", this.keepAlive ? "keep-alive" : "close"), this.#t.response) {
        let v;
        p.once("finish", () => {
          setTimeout(() => {
            p.destroy(new o.ResponseTimeoutError(p, this.#r));
          }, this.#t.response);
        }), p.once("response", () => {
          clearTimeout(v);
        });
      }
      if (this.#t.transfer) {
        let v;
        p.once("response", (y) => {
          setTimeout(() => {
            y.destroy(new o.TransferTimeoutError(p, this.#r));
          }, this.#t.transfer), y.once("close", () => {
            clearTimeout(v);
          });
        });
      }
      return super.addRequest(p, m);
    }
  };
})), ww = /* @__PURE__ */ j(((e, t) => {
  var { LRUCache: r } = an(), { normalizeOptions: i, cacheOptions: s } = fd(), { getProxy: h, proxyCache: a } = Dd(), n = hd(), l = bw(), u = new r({ max: 20 }), f = (o, { agent: c, proxy: d, noProxy: p, ...m } = {}) => {
    if (c != null) return c;
    o = new URL(o);
    const g = h(o, {
      proxy: d,
      noProxy: p
    }), v = {
      ...i(m),
      proxy: g
    }, y = s({
      ...v,
      secureEndpoint: o.protocol === "https:"
    });
    if (u.has(y)) return u.get(y);
    const w = new l(v);
    return u.set(y, w), w;
  };
  t.exports = {
    getAgent: f,
    Agent: l,
    HttpAgent: l,
    HttpsAgent: l,
    cache: {
      proxy: a,
      agent: u,
      dns: n.cache,
      clear: () => {
        a.clear(), u.clear(), n.cache.clear();
      }
    }
  };
})), Dw = /* @__PURE__ */ bt({
  author: () => Po,
  default: () => Ad,
  dependencies: () => Mo,
  description: () => Lo,
  devDependencies: () => jo,
  engines: () => Uo,
  files: () => No,
  keywords: () => Bo,
  license: () => "ISC",
  main: () => Fo,
  name: () => Io,
  repository: () => xo,
  scripts: () => $o,
  tap: () => Ho,
  templateOSS: () => qo,
  version: () => ko
}), Io, ko, Lo, Fo, No, $o, xo, Bo, Po, Aw, Mo, jo, Uo, Ho, qo, Ad, Sw = qt((() => {
  Io = "make-fetch-happen", ko = "15.0.5", Lo = "Opinionated, caching, retrying fetch client", Fo = "lib/index.js", No = ["bin/", "lib/"], $o = {
    test: "tap",
    posttest: "npm run lint",
    eslint: 'eslint "**/*.{js,cjs,ts,mjs,jsx,tsx}"',
    lint: "npm run eslint",
    lintfix: "npm run eslint -- --fix",
    postlint: "template-oss-check",
    snap: "tap",
    "template-oss-apply": "template-oss-apply --force"
  }, xo = {
    type: "git",
    url: "git+https://github.com/npm/make-fetch-happen.git"
  }, Bo = [
    "http",
    "request",
    "fetch",
    "mean girls",
    "caching",
    "cache",
    "subresource integrity"
  ], Po = "GitHub Inc.", Aw = "ISC", Mo = {
    "@gar/promise-retry": "^1.0.0",
    "@npmcli/agent": "^4.0.0",
    "@npmcli/redact": "^4.0.0",
    cacache: "^20.0.1",
    "http-cache-semantics": "^4.1.1",
    minipass: "^7.0.2",
    "minipass-fetch": "^5.0.0",
    "minipass-flush": "^1.0.5",
    "minipass-pipeline": "^1.2.4",
    negotiator: "^1.0.0",
    "proc-log": "^6.0.0",
    ssri: "^13.0.0"
  }, jo = {
    "@npmcli/eslint-config": "^5.0.0",
    "@npmcli/template-oss": "4.25.0",
    nock: "^13.2.4",
    "safe-buffer": "^5.2.1",
    "standard-version": "^9.3.2",
    tap: "^16.0.0"
  }, Uo = { node: "^20.17.0 || >=22.9.0" }, Ho = {
    color: 1,
    files: "test/*.js",
    "check-coverage": !0,
    timeout: 60,
    "nyc-arg": ["--exclude", "tap-snapshots/**"]
  }, qo = {
    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
    version: "4.25.0",
    publish: "true"
  }, Ad = {
    name: Io,
    version: ko,
    description: Lo,
    main: Fo,
    files: No,
    scripts: $o,
    repository: xo,
    keywords: Bo,
    author: Po,
    license: "ISC",
    dependencies: Mo,
    devDependencies: jo,
    engines: Uo,
    tap: Ho,
    templateOSS: qo
  };
})), Gu = /* @__PURE__ */ j(((e, t) => {
  var { Minipass: r } = Lt(), i = hn(), { promiseRetry: s } = rw(), h = qr(), { log: a } = Mu(), { redact: n } = zf(), l = cd(), { getAgent: u } = ww(), f = (Sw(), At(Dw).default), o = `${f.name}/${f.version} (+https://npm.im/${f.name})`, c = [
    "ECONNRESET",
    "ECONNREFUSED",
    "EADDRINUSE",
    "ETIMEDOUT",
    "ECONNECTIONTIMEOUT",
    "EIDLETIMEOUT",
    "ERESPONSETIMEOUT",
    "ETRANSFERTIMEOUT"
  ], d = ["request-timeout"], p = (m, g) => {
    const v = u(m.url, {
      ...g,
      signal: void 0
    });
    m.headers.has("connection") || m.headers.set("connection", v ? "keep-alive" : "close"), m.headers.has("user-agent") || m.headers.set("user-agent", o);
    const y = {
      ...g,
      agent: v,
      redirect: "manual"
    };
    return s(async (w, _) => {
      const b = new i.Request(m, y), E = n(b.url);
      try {
        let D = await i(b, y);
        if (y.integrity && D.status === 200) {
          const C = h.integrityStream({
            algorithms: y.algorithms,
            integrity: y.integrity,
            size: y.size
          }), T = new l({ events: ["integrity", "size"] }, D.body, C);
          C.on("integrity", (U) => T.emit("integrity", U)), C.on("size", (U) => T.emit("size", U)), D = new i.Response(T, D), D.body.hasIntegrityEmitter = !0;
        }
        D.headers.set("x-fetch-attempts", _);
        const S = r.isStream(b.body);
        return b.method !== "POST" && !S && ([
          408,
          420,
          429
        ].includes(D.status) || D.status >= 500) ? (typeof g.onRetry == "function" && g.onRetry(D), a.http("fetch", `${b.method} ${E} attempt ${_} failed with ${D.status}`), w(D)) : D;
      } catch (D) {
        const S = D.code === "EPROMISERETRY" ? D.retried.code : D.code, C = D.retried instanceof i.Response || c.includes(S) && d.includes(D.type);
        if (b.method === "POST" || C) throw D;
        return typeof g.onRetry == "function" && g.onRetry(D), a.http("fetch", `${b.method} ${E} attempt ${_} failed with ${D.code}`), w(D);
      }
    }, g.retry).catch((w) => {
      if (w.status >= 400 && w.type !== "system") return w;
      throw w;
    });
  };
  t.exports = p;
})), Cw = /* @__PURE__ */ j(((e, t) => {
  var { Request: r, Response: i } = hn(), { Minipass: s } = Lt(), h = ju(), a = Qb(), n = ve("url"), l = cd(), u = Vf(), f = ew(), o = Gu(), c = (_, b) => Object.prototype.hasOwnProperty.call(_, b), d = [
    "accept-charset",
    "accept-encoding",
    "accept-language",
    "accept",
    "cache-control"
  ], p = [
    "cache-control",
    "content-encoding",
    "content-language",
    "content-type",
    "date",
    "etag",
    "expires",
    "last-modified",
    "link",
    "location",
    "pragma",
    "vary"
  ], m = (_, b, E) => {
    const D = {
      time: Date.now(),
      url: _.url,
      reqHeaders: {},
      resHeaders: {},
      options: { compress: E.compress != null ? E.compress : _.compress }
    };
    b.status !== 200 && b.status !== 304 && (D.status = b.status);
    for (const T of d) _.headers.has(T) && (D.reqHeaders[T] = _.headers.get(T));
    const S = _.headers.get("host"), C = new n.URL(_.url);
    if (S && C.host !== S && (D.reqHeaders.host = S), b.headers.has("vary")) {
      const T = b.headers.get("vary");
      if (T !== "*") {
        const U = T.trim().toLowerCase().split(/\s*,\s*/);
        for (const $ of U) _.headers.has($) && (D.reqHeaders[$] = _.headers.get($));
      }
    }
    for (const T of p) b.headers.has(T) && (D.resHeaders[T] = b.headers.get(T));
    for (const T of E.cacheAdditionalHeaders) b.headers.has(T) && (D.resHeaders[T] = b.headers.get(T));
    return D;
  }, g = /* @__PURE__ */ Symbol("request"), v = /* @__PURE__ */ Symbol("response"), y = /* @__PURE__ */ Symbol("policy"), w = class ti {
    constructor({ entry: b, request: E, response: D, options: S }) {
      b ? (this.key = b.key, this.entry = b, this.entry.metadata.time = this.entry.metadata.time || this.entry.time) : this.key = f(E), this.options = S, this[g] = E, this[v] = D, this[y] = null;
    }
    static async find(b, E) {
      try {
        var D = await a.index.compact(E.cachePath, f(b), (C, T) => {
          const U = new ti({
            entry: C,
            options: E
          }), $ = new ti({
            entry: T,
            options: E
          });
          return U.policy.satisfies($.request);
        }, { validateEntry: (C) => C.metadata && C.metadata.resHeaders && C.metadata.resHeaders["content-encoding"] === null ? !1 : C.integrity === null ? !!(C.metadata && C.metadata.status) : !0 });
      } catch {
        return;
      }
      if (E.cache === "reload") return;
      let S;
      for (const C of D) {
        const T = new ti({
          entry: C,
          options: E
        });
        if (T.policy.satisfies(b)) {
          S = T;
          break;
        }
      }
      return S;
    }
    static async invalidate(b, E) {
      const D = f(b);
      try {
        await a.rm.entry(E.cachePath, D, { removeFully: !0 });
      } catch {
      }
    }
    get request() {
      return this[g] || (this[g] = new r(this.entry.metadata.url, {
        method: "GET",
        headers: this.entry.metadata.reqHeaders,
        ...this.entry.metadata.options
      })), this[g];
    }
    get response() {
      return this[v] || (this[v] = new i(null, {
        url: this.entry.metadata.url,
        counter: this.options.counter,
        status: this.entry.metadata.status || 200,
        headers: {
          ...this.entry.metadata.resHeaders,
          "content-length": this.entry.size
        }
      })), this[v];
    }
    get policy() {
      return this[y] || (this[y] = new u({
        entry: this.entry,
        request: this.request,
        response: this.response,
        options: this.options
      })), this[y];
    }
    async store(b) {
      if (this.request.method !== "GET" || ![
        200,
        301,
        308
      ].includes(this.response.status) || !this.policy.storable())
        return this.response.headers.set("x-local-cache-status", "skip"), this.response;
      const E = this.response.headers.get("content-length"), D = {
        algorithms: this.options.algorithms,
        metadata: m(this.request, this.response, this.options),
        size: E,
        integrity: this.options.integrity,
        integrityEmitter: this.response.body.hasIntegrityEmitter && this.response.body
      };
      let S = null;
      if (this.response.status === 200) {
        let C, T;
        const U = new Promise((z, Y) => {
          C = z, T = Y;
        }).catch((z) => {
          S.emit("error", z);
        });
        S = new l({ events: ["integrity", "size"] }, new h({ flush() {
          return U;
        } })), S.hasIntegrityEmitter = !0;
        const $ = () => {
          const z = new s(), Y = a.put.stream(this.options.cachePath, this.key, D);
          Y.on("integrity", (H) => S.emit("integrity", H)), Y.on("size", (H) => S.emit("size", H)), z.pipe(Y), Y.promise().then(C, T), S.unshift(z), S.unshift(this.response.body);
        };
        S.once("resume", $), S.once("end", () => S.removeListener("resume", $));
      } else await a.index.insert(this.options.cachePath, this.key, null, D);
      return this.response.headers.set("x-local-cache", encodeURIComponent(this.options.cachePath)), this.response.headers.set("x-local-cache-key", encodeURIComponent(this.key)), this.response.headers.set("x-local-cache-mode", "stream"), this.response.headers.set("x-local-cache-status", b), this.response.headers.set("x-local-cache-time", (/* @__PURE__ */ new Date()).toISOString()), new i(S, {
        url: this.response.url,
        status: this.response.status,
        headers: this.response.headers,
        counter: this.options.counter
      });
    }
    async respond(b, E, D) {
      let S;
      if (b === "HEAD" || [301, 308].includes(this.response.status)) S = this.response;
      else {
        const C = new s(), T = { ...this.policy.responseHeaders() }, U = () => {
          const $ = a.get.stream.byDigest(this.options.cachePath, this.entry.integrity, { memoize: this.options.memoize });
          $.on("error", async (z) => {
            $.pause(), z.code === "EINTEGRITY" && await a.rm.content(this.options.cachePath, this.entry.integrity, { memoize: this.options.memoize }), (z.code === "ENOENT" || z.code === "EINTEGRITY") && await ti.invalidate(this.request, this.options), C.emit("error", z), $.resume();
          }), C.emit("integrity", this.entry.integrity), C.emit("size", Number(T["content-length"])), $.pipe(C);
        };
        C.once("resume", U), C.once("end", () => C.removeListener("resume", U)), S = new i(C, {
          url: this.entry.metadata.url,
          counter: E.counter,
          status: 200,
          headers: T
        });
      }
      return S.headers.set("x-local-cache", encodeURIComponent(this.options.cachePath)), S.headers.set("x-local-cache-hash", encodeURIComponent(this.entry.integrity)), S.headers.set("x-local-cache-key", encodeURIComponent(this.key)), S.headers.set("x-local-cache-mode", "stream"), S.headers.set("x-local-cache-status", D), S.headers.set("x-local-cache-time", new Date(this.entry.metadata.time).toUTCString()), S;
    }
    async revalidate(b, E) {
      const D = new r(b, { headers: this.policy.revalidationHeaders(b) });
      try {
        var S = await o(D, {
          ...E,
          headers: void 0
        });
      } catch (C) {
        if (!this.policy.mustRevalidate) return this.respond(b.method, E, "stale");
        throw C;
      }
      if (this.policy.revalidated(D, S)) {
        const C = m(b, S, E);
        for (const T of p) !c(C.resHeaders, T) && c(this.entry.metadata.resHeaders, T) && (C.resHeaders[T] = this.entry.metadata.resHeaders[T]);
        for (const T of E.cacheAdditionalHeaders) {
          const U = c(C.resHeaders, T), $ = c(this.entry.metadata.resHeaders, T), z = c(this.policy.response.headers, T);
          !U && $ && (C.resHeaders[T] = this.entry.metadata.resHeaders[T]), !z && U && (this.policy.response.headers[T] = C.resHeaders[T]);
        }
        try {
          await a.index.insert(E.cachePath, this.key, this.entry.integrity, {
            size: this.entry.size,
            metadata: C
          });
        } catch {
        }
        return this.respond(b.method, E, "revalidated");
      }
      return new ti({
        request: b,
        response: S,
        options: E
      }).store("updated");
    }
  };
  t.exports = w;
})), Tw = /* @__PURE__ */ j(((e, t) => {
  var { NotCachedError: r } = $b(), i = Cw(), s = Gu(), h = async (a, n) => {
    const l = await i.find(a, n);
    if (!l) {
      if (n.cache === "only-if-cached") throw new r(a.url);
      return new i({
        request: a,
        response: await s(a, n),
        options: n
      }).store("miss");
    }
    if (n.cache === "no-cache") return l.revalidate(a, n);
    const u = l.policy.needsRevalidation(a);
    return n.cache === "force-cache" || n.cache === "only-if-cached" || !u ? l.respond(a.method, n, u ? "stale" : "hit") : l.revalidate(a, n);
  };
  h.invalidate = async (a, n) => {
    if (n.cachePath)
      return i.invalidate(a, n);
  }, t.exports = h;
})), Rw = /* @__PURE__ */ j(((e, t) => {
  var { FetchError: r, Request: i, isRedirect: s } = hn(), h = ve("url"), a = Vf(), n = Tw(), l = Gu(), u = (c, d, p) => {
    if (!s(d.status) || p.redirect === "manual") return !1;
    if (p.redirect === "error") throw new r(`redirect mode is set to error: ${c.url}`, "no-redirect", { code: "ENOREDIRECT" });
    if (!d.headers.has("location")) throw new r(`redirect location header missing for: ${c.url}`, "no-location", { code: "EINVALIDREDIRECT" });
    if (c.counter >= c.follow) throw new r(`maximum redirect reached at: ${c.url}`, "max-redirect", { code: "EMAXREDIRECT" });
    return !0;
  }, f = (c, d, p) => {
    const m = { ...p }, g = d.headers.get("location"), v = new h.URL(g, /^https?:/.test(g) ? void 0 : c.url);
    return new h.URL(c.url).hostname !== v.hostname && (c.headers.delete("authorization"), c.headers.delete("cookie")), (d.status === 303 || c.method === "POST" && [301, 302].includes(d.status)) && (m.method = "GET", m.body = null, c.headers.delete("content-length")), m.headers = {}, c.headers.forEach((y, w) => {
      m.headers[w] = y;
    }), m.counter = ++c.counter, {
      request: new i(h.format(v), m),
      options: m
    };
  }, o = async (c, d) => {
    const p = a.storable(c, d) ? await n(c, d) : await l(c, d);
    if (!["GET", "HEAD"].includes(c.method) && p.status >= 200 && p.status <= 399 && await n.invalidate(c, d), !u(c, p, d)) return p;
    const m = f(c, p, d);
    return o(m.request, m.options);
  };
  t.exports = o;
})), Ow = /* @__PURE__ */ j(((e, t) => {
  var { FetchError: r, Headers: i, Request: s, Response: h } = hn(), a = Rb(), n = Rw(), l = (u, f) => {
    const o = a(f);
    return n(new s(u, o), o);
  };
  l.defaults = (u, f = {}, o = l) => {
    typeof u == "object" && (f = u, u = null);
    const c = (d, p = {}) => o(d || u, {
      ...f,
      ...p,
      headers: {
        ...f.headers,
        ...p.headers
      }
    });
    return c.defaults = (d, p = {}) => l.defaults(d, p, c), c;
  }, t.exports = l, t.exports.FetchError = r, t.exports.Headers = i, t.exports.Request = s, t.exports.Response = h;
})), Iw = /* @__PURE__ */ j(((e, t) => {
  var r = {}, i = r.LEFT_BRACE = 1, s = r.RIGHT_BRACE = 2, h = r.LEFT_BRACKET = 3, a = r.RIGHT_BRACKET = 4, n = r.COLON = 5, l = r.COMMA = 6, u = r.TRUE = 7, f = r.FALSE = 8, o = r.NULL = 9, c = r.STRING = 10, d = r.NUMBER = 11, p = r.START = 17, m = r.STOP = 18, g = r.TRUE1 = 33, v = r.TRUE2 = 34, y = r.TRUE3 = 35, w = r.FALSE1 = 49, _ = r.FALSE2 = 50, b = r.FALSE3 = 51, E = r.FALSE4 = 52, D = r.NULL1 = 65, S = r.NULL2 = 66, C = r.NULL3 = 67, T = r.NUMBER1 = 81, U = r.NUMBER3 = 83, $ = r.STRING1 = 97, z = r.STRING2 = 98, Y = r.STRING3 = 99, H = r.STRING4 = 100, k = r.STRING5 = 101, F = r.STRING6 = 102, q = r.VALUE = 113, W = r.KEY = 114, P = r.OBJECT = 129, x = r.ARRAY = 130, L = 92, O = 47, N = 8, K = 12, oe = 10, pe = 13, _e = 9, V = 64 * 1024;
  function B() {
    this.tState = p, this.value = void 0, this.string = void 0, this.stringBuffer = Buffer.alloc ? Buffer.alloc(V) : new Buffer(V), this.stringBufferOffset = 0, this.unicode = void 0, this.highSurrogate = void 0, this.key = void 0, this.mode = void 0, this.stack = [], this.state = q, this.bytes_remaining = 0, this.bytes_in_sequence = 0, this.temp_buffs = {
      2: new Buffer(2),
      3: new Buffer(3),
      4: new Buffer(4)
    }, this.offset = -1;
  }
  B.toknam = function(X) {
    for (var ne = Object.keys(r), I = 0, M = ne.length; I < M; I++) {
      var ee = ne[I];
      if (r[ee] === X) return ee;
    }
    return X && "0x" + X.toString(16);
  };
  var G = B.prototype;
  G.onError = function(X) {
    throw X;
  }, G.charError = function(X, ne) {
    this.tState = m, this.onError(/* @__PURE__ */ new Error("Unexpected " + JSON.stringify(String.fromCharCode(X[ne])) + " at position " + ne + " in state " + B.toknam(this.tState)));
  }, G.appendStringChar = function(X) {
    this.stringBufferOffset >= V && (this.string += this.stringBuffer.toString("utf8"), this.stringBufferOffset = 0), this.stringBuffer[this.stringBufferOffset++] = X;
  }, G.appendStringBuf = function(X, ne, I) {
    var M = X.length;
    typeof ne == "number" && (typeof I == "number" ? I < 0 ? M = X.length - ne + I : M = I - ne : M = X.length - ne), M < 0 && (M = 0), this.stringBufferOffset + M > V && (this.string += this.stringBuffer.toString("utf8", 0, this.stringBufferOffset), this.stringBufferOffset = 0), X.copy(this.stringBuffer, this.stringBufferOffset, ne, I), this.stringBufferOffset += M;
  }, G.write = function(X) {
    typeof X == "string" && (X = new Buffer(X));
    for (var ne, I = 0, M = X.length; I < M; I++) if (this.tState === p) {
      if (ne = X[I], this.offset++, ne === 123) this.onToken(i, "{");
      else if (ne === 125) this.onToken(s, "}");
      else if (ne === 91) this.onToken(h, "[");
      else if (ne === 93) this.onToken(a, "]");
      else if (ne === 58) this.onToken(n, ":");
      else if (ne === 44) this.onToken(l, ",");
      else if (ne === 116) this.tState = g;
      else if (ne === 102) this.tState = w;
      else if (ne === 110) this.tState = D;
      else if (ne === 34)
        this.string = "", this.stringBufferOffset = 0, this.tState = $;
      else if (ne === 45)
        this.string = "-", this.tState = T;
      else if (ne >= 48 && ne < 64)
        this.string = String.fromCharCode(ne), this.tState = U;
      else if (!(ne === 32 || ne === 9 || ne === 10 || ne === 13))
        return this.charError(X, I);
    } else if (this.tState === $)
      if (ne = X[I], this.bytes_remaining > 0) {
        for (var ee = 0; ee < this.bytes_remaining; ee++) this.temp_buffs[this.bytes_in_sequence][this.bytes_in_sequence - this.bytes_remaining + ee] = X[ee];
        this.appendStringBuf(this.temp_buffs[this.bytes_in_sequence]), this.bytes_in_sequence = this.bytes_remaining = 0, I = I + ee - 1;
      } else if (this.bytes_remaining === 0 && ne >= 128) {
        if (ne <= 193 || ne > 244) return this.onError(/* @__PURE__ */ new Error("Invalid UTF-8 character at position " + I + " in state " + B.toknam(this.tState)));
        if (ne >= 194 && ne <= 223 && (this.bytes_in_sequence = 2), ne >= 224 && ne <= 239 && (this.bytes_in_sequence = 3), ne >= 240 && ne <= 244 && (this.bytes_in_sequence = 4), this.bytes_in_sequence + I > X.length) {
          for (var Ae = 0; Ae <= X.length - 1 - I; Ae++) this.temp_buffs[this.bytes_in_sequence][Ae] = X[I + Ae];
          this.bytes_remaining = I + this.bytes_in_sequence - X.length, I = X.length - 1;
        } else
          this.appendStringBuf(X, I, I + this.bytes_in_sequence), I = I + this.bytes_in_sequence - 1;
      } else if (ne === 34)
        this.tState = p, this.string += this.stringBuffer.toString("utf8", 0, this.stringBufferOffset), this.stringBufferOffset = 0, this.onToken(c, this.string), this.offset += Buffer.byteLength(this.string, "utf8") + 1, this.string = void 0;
      else if (ne === 92) this.tState = z;
      else if (ne >= 32) this.appendStringChar(ne);
      else return this.charError(X, I);
    else if (this.tState === z)
      if (ne = X[I], ne === 34)
        this.appendStringChar(ne), this.tState = $;
      else if (ne === 92)
        this.appendStringChar(L), this.tState = $;
      else if (ne === 47)
        this.appendStringChar(O), this.tState = $;
      else if (ne === 98)
        this.appendStringChar(N), this.tState = $;
      else if (ne === 102)
        this.appendStringChar(K), this.tState = $;
      else if (ne === 110)
        this.appendStringChar(oe), this.tState = $;
      else if (ne === 114)
        this.appendStringChar(pe), this.tState = $;
      else if (ne === 116)
        this.appendStringChar(_e), this.tState = $;
      else if (ne === 117)
        this.unicode = "", this.tState = Y;
      else return this.charError(X, I);
    else if (this.tState === Y || this.tState === H || this.tState === k || this.tState === F)
      if (ne = X[I], ne >= 48 && ne < 64 || ne > 64 && ne <= 70 || ne > 96 && ne <= 102) {
        if (this.unicode += String.fromCharCode(ne), this.tState++ === F) {
          var Se = parseInt(this.unicode, 16);
          this.unicode = void 0, this.highSurrogate !== void 0 && Se >= 56320 && Se < 57344 ? (this.appendStringBuf(new Buffer(String.fromCharCode(this.highSurrogate, Se))), this.highSurrogate = void 0) : this.highSurrogate === void 0 && Se >= 55296 && Se < 56320 ? this.highSurrogate = Se : (this.highSurrogate !== void 0 && (this.appendStringBuf(new Buffer(String.fromCharCode(this.highSurrogate))), this.highSurrogate = void 0), this.appendStringBuf(new Buffer(String.fromCharCode(Se)))), this.tState = $;
        }
      } else return this.charError(X, I);
    else if (this.tState === T || this.tState === U)
      switch (ne = X[I], ne) {
        case 48:
        case 49:
        case 50:
        case 51:
        case 52:
        case 53:
        case 54:
        case 55:
        case 56:
        case 57:
        case 46:
        case 101:
        case 69:
        case 43:
        case 45:
          this.string += String.fromCharCode(ne), this.tState = U;
          break;
        default:
          this.tState = p;
          var ye = Number(this.string);
          if (isNaN(ye)) return this.charError(X, I);
          this.string.match(/[0-9]+/) == this.string && ye.toString() != this.string ? this.onToken(c, this.string) : this.onToken(d, ye), this.offset += this.string.length - 1, this.string = void 0, I--;
          break;
      }
    else if (this.tState === g) if (X[I] === 114) this.tState = v;
    else return this.charError(X, I);
    else if (this.tState === v) if (X[I] === 117) this.tState = y;
    else return this.charError(X, I);
    else if (this.tState === y) if (X[I] === 101)
      this.tState = p, this.onToken(u, !0), this.offset += 3;
    else return this.charError(X, I);
    else if (this.tState === w) if (X[I] === 97) this.tState = _;
    else return this.charError(X, I);
    else if (this.tState === _) if (X[I] === 108) this.tState = b;
    else return this.charError(X, I);
    else if (this.tState === b) if (X[I] === 115) this.tState = E;
    else return this.charError(X, I);
    else if (this.tState === E) if (X[I] === 101)
      this.tState = p, this.onToken(f, !1), this.offset += 4;
    else return this.charError(X, I);
    else if (this.tState === D) if (X[I] === 117) this.tState = S;
    else return this.charError(X, I);
    else if (this.tState === S) if (X[I] === 108) this.tState = C;
    else return this.charError(X, I);
    else if (this.tState === C) if (X[I] === 108)
      this.tState = p, this.onToken(o, null), this.offset += 3;
    else return this.charError(X, I);
  }, G.onToken = function(X, ne) {
  }, G.parseError = function(X, ne) {
    this.tState = m, this.onError(/* @__PURE__ */ new Error("Unexpected " + B.toknam(X) + (ne ? "(" + JSON.stringify(ne) + ")" : "") + " in state " + B.toknam(this.state)));
  }, G.push = function() {
    this.stack.push({
      value: this.value,
      key: this.key,
      mode: this.mode
    });
  }, G.pop = function() {
    var X = this.value, ne = this.stack.pop();
    this.value = ne.value, this.key = ne.key, this.mode = ne.mode, this.emit(X), this.mode || (this.state = q);
  }, G.emit = function(X) {
    this.mode && (this.state = l), this.onValue(X);
  }, G.onValue = function(X) {
  }, G.onToken = function(X, ne) {
    if (this.state === q) if (X === c || X === d || X === u || X === f || X === o)
      this.value && (this.value[this.key] = ne), this.emit(ne);
    else if (X === i)
      this.push(), this.value ? this.value = this.value[this.key] = {} : this.value = {}, this.key = void 0, this.state = W, this.mode = P;
    else if (X === h)
      this.push(), this.value ? this.value = this.value[this.key] = [] : this.value = [], this.key = 0, this.mode = x, this.state = q;
    else if (X === s) if (this.mode === P) this.pop();
    else return this.parseError(X, ne);
    else if (X === a) if (this.mode === x) this.pop();
    else return this.parseError(X, ne);
    else return this.parseError(X, ne);
    else if (this.state === W) if (X === c)
      this.key = ne, this.state = n;
    else if (X === s) this.pop();
    else return this.parseError(X, ne);
    else if (this.state === n) if (X === n) this.state = q;
    else return this.parseError(X, ne);
    else if (this.state === l) if (X === l)
      this.mode === x ? (this.key++, this.state = q) : this.mode === P && (this.state = W);
    else if (X === a && this.mode === x || X === s && this.mode === P) this.pop();
    else return this.parseError(X, ne);
    else return this.parseError(X, ne);
  }, B.C = r, t.exports = B;
})), kw = /* @__PURE__ */ j(((e, t) => {
  var r = Iw(), { Minipass: i } = Lt(), s = class extends Error {
    constructor(n, l) {
      super(n.message), Error.captureStackTrace(this, l || this.constructor);
    }
    get name() {
      return "JSONStreamError";
    }
  }, h = (n, l) => typeof n == "string" ? String(l) === n : n && typeof n.test == "function" ? n.test(l) : typeof n == "boolean" || typeof n == "object" ? n : typeof n == "function" ? n(l) : !1, a = class Sd extends i {
    #e = 0;
    #t = !1;
    #r = null;
    #n = null;
    #a = null;
    #l;
    #f;
    #c = null;
    #o = null;
    constructor(l) {
      super({
        ...l,
        objectMode: !0
      });
      const u = this.#f = new r();
      u.onValue = (f) => this.#i(f), this.#l = u.onToken, u.onToken = (f, o) => this.#u(f, o), u.onError = (f) => this.#h(f), this.#c = typeof l.path == "string" ? l.path.split(".").map((f) => f === "$*" ? { emitKey: !0 } : f === "*" ? !0 : f === "" ? { recurse: !0 } : f) : Array.isArray(l.path) && l.path.length ? l.path : null, typeof l.map == "function" && (this.#a = l.map);
    }
    #p(l, u) {
      this.#n !== !1 && (this.#n = this.#n || {}, this.#n[l] = u), this.#r !== !1 && this.#n === !1 && (this.#r = this.#r || {}, this.#r[l] = u);
    }
    #h(l) {
      const u = this.#t ? this.end : this.write;
      return this.#t = !1, this.emit("error", new s(l, u));
    }
    #u(l, u) {
      const f = this.#f;
      if (this.#l.call(this.#f, l, u), f.stack.length === 0 && this.#o) {
        const o = this.#o;
        this.#c || super.write(o), this.#o = null, this.#e = 0;
      }
    }
    #i(l) {
      const u = this.#f;
      if (this.#o = l, !this.#c) return;
      let f = 0, o = 0, c = !1;
      for (; f < this.#c.length; ) {
        const p = this.#c[f];
        if (o++, p && !p.recurse) {
          const m = o === u.stack.length ? u : u.stack[o];
          if (!m) return;
          if (!h(p, m.key)) {
            this.#p(m.key, l);
            return;
          }
          c = !!p.emitKey, f++;
        } else {
          if (f++, f >= this.#c.length) return;
          const m = this.#c[f];
          if (!m) return;
          for (; ; ) {
            const g = o === u.stack.length ? u : u.stack[o];
            if (!g) return;
            if (h(m, g.key)) {
              f++, Object.isFrozen(u.stack[o]) || (u.stack[o].value = null);
              break;
            } else this.#p(g.key, l);
            o++;
          }
        }
      }
      if (this.#n) {
        const p = this.#n;
        this.#n = !1, this.emit("header", p);
      }
      if (o !== u.stack.length) return;
      this.#e++;
      const d = u.stack.slice(1).map((p) => p.key).concat([u.key]);
      if (l != null) {
        const p = this.#a ? this.#a(l, d) : l;
        if (p != null) {
          const m = c ? { value: p } : p;
          c && (m.key = u.key), super.write(m);
        }
      }
      u.value && delete u.value[u.key];
      for (const p of u.stack) p.value = null;
    }
    write(l, u) {
      if (typeof l == "string") l = Buffer.from(l, u);
      else if (!Buffer.isBuffer(l)) return this.emit("error", /* @__PURE__ */ new TypeError("Can only parse JSON from string or buffer input"));
      return this.#f.write(l), this.flowing;
    }
    end(l, u) {
      this.#t = !0, l && this.write(l, u);
      const f = this.#n;
      this.#n = null;
      const o = this.#r;
      return this.#r = null, f && this.emit("header", f), o && this.emit("footer", o), super.end();
    }
    static get JSONStreamError() {
      return s;
    }
    static parse(l, u) {
      return new Sd({
        path: l,
        map: u
      });
    }
  };
  t.exports = a;
})), Lw = /* @__PURE__ */ j(((e, t) => {
  var { HttpErrorAuthOTP: r } = Sf(), i = Db(), s = Tb(), h = Ow(), a = kw(), n = Wf(), l = ve("querystring"), u = ve("url"), f = Cf(), { Minipass: o } = Lt(), c = Hf(), d = (_) => {
    try {
      return !!new u.URL(_);
    } catch {
      return !1;
    }
  };
  t.exports = p;
  function p(_, b = {}) {
    const E = {
      ...c,
      ...b
    }, D = d(_);
    let S = E.registry || c.registry;
    D || (S = E.registry = E.spec && v(E.spec, E) || E.registry || S, _ = `${S.trim().replace(/\/?$/g, "")}/${_.trim().replace(/^\//, "")}`, new u.URL(_));
    const C = E.method || "GET", T = Date.now(), U = s(_, E), $ = w(_, U, E);
    let z = E.body;
    const Y = o.isStream(z), H = z && typeof z == "object" && typeof z.then == "function";
    if (z && !Y && !H && typeof z != "string" && !Buffer.isBuffer(z) ? ($["content-type"] = $["content-type"] || "application/json", z = JSON.stringify(z)) : z && !$["content-type"] && ($["content-type"] = "application/octet-stream"), E.gzip)
      if ($["content-encoding"] = "gzip", Y) {
        const q = new f.Gzip();
        z.on("error", (W) => q.emit("error", W)), z = z.pipe(q);
      } else H || (z = new f.Gzip().end(z).concat());
    const k = new u.URL(_);
    if (E.query) {
      const q = typeof E.query == "string" ? l.parse(E.query) : E.query;
      Object.keys(q).forEach((W) => {
        q[W] !== void 0 && k.searchParams.set(W, q[W]);
      }), _ = u.format(k);
    }
    k.searchParams.get("write") === "true" && C === "GET" && (E.offline = !1, E.preferOffline = !1, E.preferOnline = !0);
    const F = async (q) => {
      const W = h(_, {
        agent: E.agent,
        algorithms: E.algorithms,
        body: q,
        cache: y(E),
        cachePath: E.cache,
        ca: E.ca,
        cert: U.cert || E.cert,
        headers: $,
        integrity: E.integrity,
        key: U.key || E.key,
        localAddress: E.localAddress,
        maxSockets: E.maxSockets,
        memoize: E.memoize,
        method: C,
        noProxy: E.noProxy,
        proxy: E.httpsProxy || E.proxy,
        retry: E.retry ? E.retry : {
          retries: E.fetchRetries,
          factor: E.fetchRetryFactor,
          minTimeout: E.fetchRetryMintimeout,
          maxTimeout: E.fetchRetryMaxtimeout
        },
        strictSSL: E.strictSSL,
        timeout: E.timeout || 3e4,
        signal: E.signal
      }).then((P) => i({
        method: C,
        uri: _,
        res: P,
        registry: S,
        startTime: T,
        auth: U,
        opts: E
      }));
      return typeof E.otpPrompt == "function" ? W.catch(async (P) => {
        if (P instanceof r) {
          let x;
          try {
            x = await E.otpPrompt();
          } catch {
          }
          if (!x) throw P;
          return p(_, {
            ...E,
            otp: x
          });
        }
        throw P;
      }) : W;
    };
    return Promise.resolve(z).then(F);
  }
  t.exports.getAuth = s, t.exports.json = m;
  function m(_, b) {
    return p(_, b).then((E) => E.json());
  }
  t.exports.json.stream = g;
  function g(_, b, E = {}) {
    const D = {
      ...c,
      ...E
    }, S = a.parse(b, D.mapJSON);
    return p(_, D).then((C) => C.body.on(
      "error",
      /* istanbul ignore next: unlikely and difficult to test */
      (T) => S.emit("error", T)
    ).pipe(S)).catch((C) => S.emit("error", C)), S;
  }
  t.exports.pickRegistry = v;
  function v(_, b = {}) {
    _ = n(_);
    let E = _.scope && b[_.scope.replace(/^@?/, "@") + ":registry"];
    return !E && b.scope && (E = b[b.scope.replace(/^@?/, "@") + ":registry"]), E || (E = b.registry || c.registry), E;
  }
  function y(_) {
    return _.offline ? "only-if-cached" : _.preferOffline ? "force-cache" : _.preferOnline ? "no-cache" : "default";
  }
  function w(_, b, E) {
    const D = Object.assign({ "user-agent": E.userAgent }, E.headers || {});
    return E.authType && (D["npm-auth-type"] = E.authType), E.scope && (D["npm-scope"] = E.scope), E.npmSession && (D["npm-session"] = E.npmSession), E.npmCommand && (D["npm-command"] = E.npmCommand), b.token ? D.authorization = `Bearer ${b.token}` : b.auth && (D.authorization = `Basic ${b.auth}`), E.otp && (D["npm-otp"] = E.otp), D;
  }
})), Or = /* @__PURE__ */ zt(ME(), 1), Wu = /* @__PURE__ */ zt(jE(), 1), ha = /* @__PURE__ */ zt(Lw(), 1), ki, Rn;
function Cd(e) {
  if (typeof e != "string") throw new TypeError(`Expected a string, got ${typeof e}`);
  if (ki === void 0 && (ki = Gi.homedir()), ki && /^~(?=$|\/|\\)/.test(e)) return e.replace(/^~/, ki);
  const t = e.match(/^~([^/\\]+)(.*)/);
  if (t && (Rn === void 0 && (Rn = Gi.userInfo().username), Rn)) {
    const r = t[1], i = t[2];
    if (r === Rn) return ki + i;
  }
  return e;
}
var Fw = class {
  value;
  next;
  constructor(e) {
    this.value = e;
  }
}, Nw = class {
  #e;
  #t;
  #r;
  constructor() {
    this.clear();
  }
  enqueue(e) {
    const t = new Fw(e);
    this.#e ? (this.#t.next = t, this.#t = t) : (this.#e = t, this.#t = t), this.#r++;
  }
  dequeue() {
    const e = this.#e;
    if (e)
      return this.#e = this.#e.next, this.#r--, this.#e || (this.#t = void 0), e.value;
  }
  peek() {
    if (this.#e)
      return this.#e.value;
  }
  clear() {
    this.#e = void 0, this.#t = void 0, this.#r = 0;
  }
  get size() {
    return this.#r;
  }
  *[Symbol.iterator]() {
    let e = this.#e;
    for (; e; )
      yield e.value, e = e.next;
  }
  *drain() {
    for (; this.#e; ) yield this.dequeue();
  }
};
function Tc(e) {
  if (!((Number.isInteger(e) || e === Number.POSITIVE_INFINITY) && e > 0)) throw new TypeError("Expected `concurrency` to be a number from 1 and up");
  const t = new Nw();
  let r = 0;
  const i = () => {
    r--, t.size > 0 && t.dequeue()();
  }, s = async (n, l, u) => {
    r++;
    const f = (async () => n(...u))();
    l(f);
    try {
      await f;
    } catch {
    }
    i();
  }, h = (n, l, u) => {
    t.enqueue(s.bind(void 0, n, l, u)), (async () => (await Promise.resolve(), r < e && t.size > 0 && t.dequeue()()))();
  }, a = (n, ...l) => new Promise((u) => {
    h(n, u, l);
  });
  return Object.defineProperties(a, {
    activeCount: { get: () => r },
    pendingCount: { get: () => t.size },
    clearQueue: { value: () => {
      t.clear();
    } }
  }), a;
}
var Td = class extends Error {
  constructor(e) {
    super(), this.value = e;
  }
}, $w = async (e, t) => t(await e), xw = async (e) => {
  const t = await Promise.all(e);
  if (t[1] === !0) throw new Td(t[0]);
  return !1;
};
async function Bw(e, t, { concurrency: r = Number.POSITIVE_INFINITY, preserveOrder: i = !0 } = {}) {
  const s = Tc(r), h = [...e].map((n) => [n, s($w, n, t)]), a = Tc(i ? 1 : Number.POSITIVE_INFINITY);
  try {
    await Promise.all(h.map((n) => a(xw, n)));
  } catch (n) {
    if (n instanceof Td) return n.value;
    throw n;
  }
}
var Rd = {
  directory: "isDirectory",
  file: "isFile"
};
function Od(e) {
  if (!(e === "both" || Object.hasOwn(Rd, e)))
    throw new Error(`Invalid type specified: ${e}`);
}
var Id = (e, t) => e === "both" ? t.isFile() || t.isDirectory() : t[Rd[e]](), kd = (e) => e instanceof URL ? ou(e) : e;
async function Rc(e, { cwd: t = nn.cwd(), type: r = "file", allowSymlinks: i = !0, concurrency: s, preserveOrder: h } = {}) {
  Od(r), t = kd(t);
  const a = i ? Bl.stat : Bl.lstat;
  return Bw(e, async (n) => {
    try {
      return Id(r, await a(dt.resolve(t, n)));
    } catch {
      return !1;
    }
  }, {
    concurrency: s,
    preserveOrder: h
  });
}
function Oc(e, { cwd: t = nn.cwd(), type: r = "file", allowSymlinks: i = !0 } = {}) {
  Od(r), t = kd(t);
  const s = i ? ba.statSync : ba.lstatSync;
  for (const h of e) try {
    const a = s(dt.resolve(t, h), { throwIfNoEntry: !1 });
    if (!a) continue;
    if (Id(r, a)) return h;
  } catch {
  }
}
var TL = Ih(bm);
function Vn(e) {
  return e instanceof URL ? ou(e) : e;
}
var Ld = /* @__PURE__ */ Symbol("findUpStop");
async function Pw(e, t = {}) {
  let r = dt.resolve(Vn(t.cwd) ?? "");
  const { root: i } = dt.parse(r), s = dt.resolve(r, Vn(t.stopAt) ?? i), h = t.limit ?? Number.POSITIVE_INFINITY, a = [e].flat(), n = async (u) => {
    if (typeof e != "function") return Rc(a, u);
    const f = await e(u.cwd);
    return typeof f == "string" ? Rc([f], u) : f;
  }, l = [];
  for (; ; ) {
    const u = await n({
      ...t,
      cwd: r
    });
    if (u === Ld || (u && l.push(dt.resolve(r, u)), r === s || l.length >= h)) break;
    r = dt.dirname(r);
  }
  return l;
}
function Mw(e, t = {}) {
  let r = dt.resolve(Vn(t.cwd) ?? "");
  const { root: i } = dt.parse(r), s = dt.resolve(r, Vn(t.stopAt) ?? i), h = t.limit ?? Number.POSITIVE_INFINITY, a = [e].flat(), n = (u) => {
    if (typeof e != "function") return Oc(a, u);
    const f = e(u.cwd);
    return typeof f == "string" ? Oc([f], u) : f;
  }, l = [];
  for (; ; ) {
    const u = n({
      ...t,
      cwd: r
    });
    if (u === Ld || (u && l.push(dt.resolve(r, u)), r === s || l.length >= h)) break;
    r = dt.dirname(r);
  }
  return l;
}
async function Yn(e, t = {}) {
  return (await Pw(e, {
    ...t,
    limit: 1
  }))[0];
}
function jw(e, t = {}) {
  return Mw(e, {
    ...t,
    limit: 1
  })[0];
}
var Fd = class Nd {
  constructor(t, r, i) {
    this.__specs = t || {}, this.__opts = r || {}, this.__providers = Ic(i.filter((s) => s != null && typeof s == "object")), this.__isFiggyPudding = !0;
  }
  get(t) {
    return $d(this, t, !0);
  }
  toJSON() {
    const t = {};
    return this.forEach((r, i) => {
      t[i] = r;
    }), t;
  }
  forEach(t, r = this) {
    for (let [i, s] of this.entries()) t.call(r, s, i, this);
  }
  *entries(t) {
    for (let i of Object.keys(this.__specs)) yield [i, this.get(i)];
    const r = t || this.__opts.other;
    if (r) {
      const i = /* @__PURE__ */ new Set();
      for (let s of this.__providers) {
        const h = s.entries ? s.entries(r) : Hw(s);
        for (let [a, n] of h) r(a) && !i.has(a) && (i.add(a), yield [a, n]);
      }
    }
  }
  concat(...t) {
    return new Proxy(new Nd(this.__specs, this.__opts, Ic(this.__providers).concat(t)), xd);
  }
};
function $d(e, t, r) {
  let i = e.__specs[t];
  i || (i = {});
  let s;
  for (let h of e.__providers)
    if (s = Uw(t, h), s !== void 0) break;
  return s === void 0 && i.default !== void 0 ? typeof i.default == "function" ? i.default(e) : i.default : s;
}
function Uw(e, t) {
  let r;
  return t.__isFiggyPudding ? r = $d(t, e, !1) : r = t[e], r;
}
var xd = { get(e, t) {
  return typeof t == "symbol" || t.slice(0, 2) === "__" || t in Fd.prototype ? e[t] : e.get(t);
} };
function Bd(e, t) {
  function r(...i) {
    return new Proxy(new Fd(e, t, i), xd);
  }
  return r;
}
function Ic(e) {
  const t = [];
  return e.forEach((r) => t.unshift(r)), t;
}
function Hw(e) {
  return Object.keys(e).map((t) => [t, e[t]]);
}
var kc = Bd({}, { other() {
  return !0;
} }), qw = Bd({
  cache: { default: dt.join(process.env.HOME || Gi.homedir(), ".npm") },
  configNames: { default: ["npmrc", ".npmrc"] },
  envPrefix: { default: /^npm_config_/i },
  cwd: { default: () => process.cwd() },
  globalconfig: { default: () => dt.join(Gw(), "etc", "npmrc") },
  userconfig: { default: dt.join(process.env.HOME || Gi.homedir(), ".npmrc") }
});
function zw(e, t) {
  const r = qw(t), i = {};
  Object.keys(process.env).forEach((c) => {
    if (!c.match(r.envPrefix)) return;
    const d = c.toLowerCase().replace(r.envPrefix, "").replace(/(?!^)_/g, "-");
    i[d] = process.env[c];
  });
  const s = kc(e), h = r.userconfig || s.userconfig || i.userconfig, a = h && fa(h), n = r.globalconfig || s.globalconfig || i.globalconfig, l = n && fa(n), u = jw(r.configNames, { cwd: r.cwd });
  let f = {};
  u && u !== h && (f = fa(u));
  const o = kc(r, l, a, f, i, s);
  return o.cache ? o.concat({ cache: dt.resolve(s.cache || i.cache ? r.cwd : f.cache ? dt.dirname(u) : a.cache ? dt.dirname(h) : l.cache ? dt.dirname(n) : dt.dirname(h), o.cache) }) : o;
}
function fa(e) {
  let t;
  try {
    t = ba.readFileSync(e, "utf8");
  } catch (r) {
    if (r.code === "ENOENT") return "";
    throw r;
  }
  return Wu.default.parse(t);
}
function Gw() {
  if (process.env.PREFIX) return process.env.PREFIX;
  if (process.platform === "win32") return dt.dirname(process.execPath);
  {
    let e = dt.dirname(dt.dirname(process.execPath));
    return process.env.DESTDIR && (e = dt.join(process.env.DESTDIR, e)), e;
  }
}
async function ur(e, t, r, i) {
  if (process.platform !== "win32" || e === "bun") return (0, Pr.default)(e, t, r, i);
  try {
    return (0, Pr.default)(`${e}.cmd`, t, r, i);
  } catch (s) {
    if (s.code === "ENOENT") return (0, Pr.default)(e, t, r, i);
    throw s;
  }
}
function Ww(e, t) {
  return t.deprecated || !e.deprecated;
}
function Vw(e, t) {
  return t.pre ? !0 : !e.version || !ln(e.version);
}
function Pd(e, t) {
  if (!t) return !0;
  const r = Ve.default.minVersion(t)?.version;
  if (!r) return !0;
  const i = e?.engines?.node;
  return !i || Ve.default.satisfies(r, i);
}
function Yw(e, t) {
  return t ? Object.values(t).every((r) => r[e.name] === void 0 || Ve.default.satisfies(e.version, r[e.name])) : !0;
}
function Vu(e, t) {
  const r = e.version, i = e?.time?.[r];
  if (!t) return !0;
  if (!i) return !1;
  const s = new Date(i), h = 864e5, a = typeof t == "function" ? t(e.name) ?? 0 : t, n = typeof a == "string" ? Wn(a) ?? 0 : a;
  return Date.now() - s.getTime() >= n * h;
}
function mn(e) {
  const t = [
    (r) => Ww(r, e),
    (r) => Vw(r, e),
    e.enginesNode ? (r) => Pd(r, e.nodeEngineVersion) : null,
    e.peerDependencies ? (r) => Yw(r, e.peerDependencies) : null,
    e.cooldown ? (r) => Vu(r, e.cooldown) : null
  ];
  return (r) => t.every((i) => i ? i(r) : !0);
}
var Kw = /* @__PURE__ */ bt({
  default: () => Ts,
  defaultPrefix: () => Ud,
  distTag: () => yn,
  getEngines: () => Rs,
  getPeerDependencies: () => Zu,
  greatest: () => vn,
  latest: () => Os,
  list: () => Hd,
  minor: () => ks,
  newest: () => Is,
  normalizeNpmConfig: () => Yu,
  npmApi: () => Pt,
  packageAuthorChanged: () => Cs,
  parseJson: () => li,
  patch: () => Ls,
  semver: () => Fs
}), Zw = /* @__PURE__ */ new Set([
  "-",
  "||",
  "&&",
  "<",
  "<=",
  ">",
  ">="
]), Jw = (e) => (0, It.parseRange)(e).some((t) => Zw.has(t.operator || "")), Md = (e) => e && (!Ve.default.validRange(e) || Ou(e)), Ss = async (e, t, r, i = {}, s) => {
  const h = "application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*", a = "application/json", n = ha.default.pickRegistry(e, i), l = {
    "user-agent": i.userAgent || `npm-check-updates/${Da.version} node/${process.version}`,
    "ncu-version": Da.version,
    "ncu-pkg-id": `registry:${e}`,
    accept: i.fullMetadata ? a : h,
    ...i.headers
  }, u = new URL(encodeURIComponent(e), n.endsWith("/") ? n : `${n}/`);
  s && (u.pathname += `/${s}`);
  const f = {
    ...i,
    headers: l,
    spec: e
  };
  try {
    if (i.fullMetadata) return ha.default.json(u.href, f);
    {
      r = r || "latest";
      const o = await (0, ha.default)(u.href, f), c = new RE({
        paths: ["$.*"],
        keepStack: !1
      }), d = { name: e };
      let p = !1, m = null;
      c.onValue = ({ key: g, value: v }) => {
        if (p || g === void 0) return;
        const y = g;
        t.includes(y) && (d[y] = v, Object.keys(d).length === t.length + 1 && (p = !0));
      }, c.onError = (g) => {
        m = g;
      };
      for await (const g of o.body) {
        if (c.write(g), m) throw m;
        if (p) break;
      }
      if (m) throw m;
      return d;
    }
  } catch (o) {
    if (o.code !== "E404" || i.fullMetadata) throw o;
    return Ss(e, t, r, {
      ...i,
      fullMetadata: !0
    }, s);
  }
}, Si = (e, t) => {
  const r = e.version;
  return {
    ...e,
    name: t.name,
    ...t?.time?.[r] ? { time: t.time } : null
  };
}, Yu = (e, t) => {
  const r = {
    cafile: (a) => {
      if (!a) return;
      const n = oi.readFileSync(Ye.resolve(t || "", Cd(a)), "utf8"), l = "-----END CERTIFICATE-----";
      return { ca: n.split(l).filter((u) => !!u.trim()).map((u) => `${u.trimStart()}${l}`) };
    },
    maxsockets: "maxSockets",
    "strict-ssl": "strictSSL"
  }, i = {
    all: "boolean",
    allowsameversion: "boolean",
    audit: "boolean",
    binlinks: "boolean",
    color: "boolean",
    commithooks: "boolean",
    description: "boolean",
    dev: "boolean",
    diffignoreallspace: "boolean",
    diffnameonly: "boolean",
    diffnoprefix: "boolean",
    difftext: "boolean",
    dryrun: "boolean",
    enginestrict: "boolean",
    force: "boolean",
    foregroundscripts: "boolean",
    formatpackagelock: "boolean",
    fund: "boolean",
    gittagversion: "boolean",
    global: "boolean",
    globalstyle: "boolean",
    ifpresent: "boolean",
    ignorescripts: "boolean",
    includestaged: "boolean",
    includeworkspaceroot: "boolean",
    installlinks: "boolean",
    json: "boolean",
    legacybundling: "boolean",
    legacypeerdeps: "boolean",
    link: "boolean",
    long: "boolean",
    offline: "boolean",
    omitlockfileregistryresolved: "boolean",
    packagelock: "boolean",
    packagelockonly: "boolean",
    parseable: "boolean",
    preferoffline: "boolean",
    preferonline: "boolean",
    progress: "boolean",
    readonly: "boolean",
    rebuildbundle: "boolean",
    save: "boolean",
    savebundle: "boolean",
    savedev: "boolean",
    saveexact: "boolean",
    saveoptional: "boolean",
    savepeer: "boolean",
    saveprod: "boolean",
    shrinkwrap: "boolean",
    signgitcommit: "boolean",
    signgittag: "boolean",
    strictpeerdeps: "boolean",
    strictssl: "boolean",
    timing: "boolean",
    unicode: "boolean",
    updatenotifier: "boolean",
    usage: "boolean",
    version: "boolean",
    versions: "boolean",
    workspacesupdate: "boolean",
    diffunified: "number",
    fetchretries: "number",
    fetchretryfactor: "number",
    fetchretrymaxtimeout: "number",
    fetchretrymintimeout: "number",
    fetchtimeout: "number",
    logsmax: "number",
    maxsockets: "number",
    searchlimit: "number",
    searchstaleness: "number",
    ssopollfrequency: "number",
    timeout: "number"
  }, s = (a) => !!a && a !== "false" && a !== "0", h = (a) => parseInt(a) || 0;
  return at(e, (a, n) => {
    const l = typeof n != "string" ? n : i[a.replace(/-/g, "").toLowerCase()] === "boolean" ? s(n) : i[a.replace(/-/g, "").toLowerCase()] === "number" ? h(n) : n.replace(/\${([^}]+)}/, (f, o) => process.env[o]), { [a]: u } = r;
    return typeof u == "string" ? { [u]: l } : typeof u == "function" ? { ...u(l.toString()) } : { [a.match(/^[a-z]/i) ? PE(a) : a]: l };
  });
}, Pt = {};
Pt.findNpmConfig = (0, Or.default)((e) => {
  let t;
  if (e) try {
    t = Wu.default.parse(oi.readFileSync(e, "utf-8"));
  } catch (r) {
    if (r.code === "ENOENT") return null;
    throw r;
  }
  else t = {
    ...zw(null, { userconfig: process.env.npm_config_userconfig || process.env.NPM_CONFIG_USERCONFIG }).toJSON(),
    cache: !1
  };
  return Yu(t, e);
});
var Ku = Pt.findNpmConfig();
function li(e, t) {
  let r;
  try {
    r = JSON.parse(e);
  } catch (i) {
    throw new Error(`Expected JSON from "${t.command}".${t.packageName ? ` There could be problems with the ${t.packageName} package.` : ""} ${e ? "Instead received: " + e : "Received empty response."}`, { cause: i });
  }
  return r;
}
async function Cs(e, t, r, i = {}, s) {
  const h = await Ss(e, ["versions"], null, {
    ...s,
    ...Ku,
    fullMetadata: !0,
    ...i.registry ? {
      registry: i.registry,
      silent: !0
    } : null
  });
  if (h.versions) {
    const a = Object.keys(h.versions), n = Ve.default.minSatisfying(a, t), l = Ve.default.maxSatisfying(a, r);
    if (n && l && h.versions[n]._npmUser && h.versions[l]._npmUser) return h.versions[n]._npmUser?.name !== h.versions[l]._npmUser?.name;
  }
  return !1;
}
var Li = (e) => !!(e && (e.name || e.engines || e.version || e.versions));
Pt.mockFetchUpgradedPackument = (e) => (t, r, i, s) => {
  const h = typeof e == "function" ? e(s)?.[t] : typeof e == "string" || Li(e) ? e : e[t], a = Li(h) ? h.version : h;
  if (!a) throw new Error(`fetchUpgradedPackument is mocked, but no mock version was supplied for ${t}. Make sure that all dependencies are mocked. `);
  const n = Li(h) && h.time?.[a] || (/* @__PURE__ */ new Date()).toISOString(), l = {
    name: t,
    "dist-tags": { [s.distTag || "latest"]: a },
    engines: { node: "" },
    time: { [a]: n },
    version: a,
    versions: {},
    ...Li(h) ? h : null
  }, { versions: u, ...f } = l;
  return Promise.resolve({
    ...l,
    versions: { ...Li(h) && h.versions || { [a]: f } }
  });
};
var Xw = (0, Or.default)(({ npmConfigLocal: e, npmConfigUser: t, npmConfigWorkspaceProject: r }, i) => {
  const s = i.packageFile ? Ye.join(i.packageFile, "../.npmrc") : null, h = i.packageFile ? Pt.findNpmConfig(s || void 0) : null, a = i.cwd ? Ye.join(i.cwd, ".npmrc") : null, n = i.cwd ? Pt.findNpmConfig(a) : null;
  if (r && Object.keys(r).length > 0) {
    Me(i, `
npm config (workspace project):`, "verbose");
    const { cache: u, ...f } = r;
    yr(i, f, "verbose");
  }
  if (t && Object.keys(t).length > 0) {
    Me(i, `
npm config (user):`, "verbose");
    const { cache: u, ...f } = t;
    yr(i, f, "verbose");
  }
  if (e && Object.keys(e).length > 0) {
    Me(i, `
npm config (local override):`, "verbose");
    const { cache: u, ...f } = e;
    yr(i, f, "verbose");
  }
  if (h && Object.keys(h).length > 0) {
    Me(i, `
npm config (project: ${s}):`, "verbose");
    const { cache: u, ...f } = h;
    yr(i, f, "verbose");
  }
  if (n && Object.keys(n).length > 0) {
    Me(i, `
npm config (cwd: ${a}):`, "verbose");
    const { cache: u, ...f } = n;
    yr(i, f, "verbose");
  }
  const l = {
    ...r,
    ...t,
    ...e,
    ...h,
    ...n,
    ...i.registry ? {
      registry: i.registry,
      silent: !0
    } : null,
    ...i.timeout ? { timeout: i.timeout } : null
  };
  if (r || e || h || n) {
    Me(i, `
merged npm config:`, "verbose");
    const { cache: u, ...f } = l;
    yr(i, f, "verbose");
  }
  return l;
});
async function jd(e, t, r, i, s = 0, h, a) {
  if (process.env.STUB_VERSIONS) {
    const o = JSON.parse(process.env.STUB_VERSIONS);
    return Pt.mockFetchUpgradedPackument(o)(e, t, r, i);
  }
  if (Md(r)) return Promise.resolve({});
  const n = i.format?.includes("time") && !t.includes("time") ? [...t, "time"] : t, l = n.includes("time"), u = Xw({
    npmConfigUser: {
      ...Ku,
      fullMetadata: l
    },
    npmConfigLocal: h,
    npmConfigWorkspaceProject: a
  }, i);
  let f;
  try {
    const o = i.distTag || "latest";
    f = await Ss(e, Array.from(/* @__PURE__ */ new Set([
      "dist-tags",
      ...t,
      ...i.deprecated ? [] : ["deprecated", "versions"],
      ...i.enginesNode ? ["engines", "versions"] : []
    ])), l ? null : o, u);
  } catch (o) {
    if (i.retry && ++s <= i.retry) return jd(e, n, r, i, s, h);
    throw o;
  }
  return f;
}
Pt.fetchUpgradedPackumentMemo = (0, Or.default)(jd, { serializer: (([e, t, r, i, s, h, a]) => {
  const { packageFile: n, ...l } = i;
  return JSON.stringify([
    e,
    t,
    Md(r),
    l,
    s,
    h,
    a
  ]);
}) });
async function Ts(e, t = {}, r = {}, i = {}) {
  const { stdout: s } = await ur("npm", [
    ...t.global ? ["--global"] : [],
    ...t.prefix ? [`--prefix=${t.prefix}`] : [],
    "--json",
    ...Array.isArray(e) ? e : [e]
  ], r, i);
  return s;
}
async function Ud(e) {
  if (e.prefix) return Promise.resolve(e.prefix);
  let t;
  try {
    const { stdout: r } = await ur("npm", [
      "config",
      "get",
      "prefix"
    ]);
    t = r;
  } catch (r) {
    Me(e, "Error executing `npm config get prefix`. Caught and ignored. Unsolved: https://github.com/raineorshine/npm-check-updates/issues/703. ERROR: " + (r.message || r || "").toString(), "verbose", "error");
  }
  return e.global && t?.match("Cellar") ? "/usr/local" : process.platform === "win32" && e.global && !process.env.prefix ? t ? t.trim() : `${process.env.AppData}\\npm` : void 0;
}
var vn = async (e, t, r = {}, i, s) => {
  const h = ["versions"];
  r.cooldown && h.push("time");
  const a = await Pt.fetchUpgradedPackumentMemo(e, h, t, r, 0, i, s), n = a?.versions;
  return { version: Object.values(n || {}).filter((l) => mn(r)(Si(l, a))).map((l) => l.version).sort(ku).at(-1) || null };
}, Zu = async (e, t, r) => {
  const i = [
    "view",
    `${e}@${t}`,
    "peerDependencies"
  ], s = await Ts(i, {}, { rejectOnError: !1 }, r);
  return s ? li(s, { command: [...i, "--json"].join(" ") }) : {};
}, Rs = async (e, t, r = {}, i) => (await Ss(e, ["engines"], null, {
  ...i,
  ...Ku,
  ...r.registry ? {
    registry: r.registry,
    silent: !0
  } : null
}, t)).engines || {}, Hd = async (e = {}) => {
  const t = li(await Ts(["ls", "--depth=0"], {
    ...e.global ? { global: !0 } : null,
    ...e.prefix ? { prefix: e.prefix } : null
  }, { rejectOnError: !1 }, { ...e.cwd ? { cwd: e.cwd } : null }), { command: `npm${process.platform === "win32" ? ".cmd" : ""} ls --json${e.global ? " --global" : ""}` }).dependencies;
  return at(t, (r, i) => ({ [r]: i.version || i.required?.version }));
}, yn = async (e, t, r = {}, i, s) => {
  const h = ["dist-tags"];
  r.cooldown && h.push("time");
  const a = await Pt.fetchUpgradedPackumentMemo(e, h, t, r, 0, i, s), n = a?.["dist-tags"]?.[r.distTag || "latest"], l = a?.versions ? a.versions?.[n] : {
    name: e,
    version: n
  }, u = Si(l, a);
  if (l && mn(r)(u)) return {
    version: l.version,
    ...a?.time?.[n] ? { time: a.time[n] } : null
  };
  if (r.cooldown) {
    if (n && l && !Vu(u, r.cooldown)) {
      const f = a?.time?.[n];
      Me(r, `Skipping ${e}@${n} due to cooldown${f ? ` (published ${f})` : ""}.`, "verbose");
    }
    return {};
  }
  return r.distTag && r.distTag !== "latest" ? {} : vn(e, t, r, i, s);
}, Os = async (e, t, r = {}, i, s) => yn(e, t, {
  ...r,
  distTag: "latest"
}, i, s), Is = async (e, t, r = {}, i, s) => {
  const h = await Pt.fetchUpgradedPackumentMemo(e, ["time", "versions"], t, r, 0, i, s), a = at(h?.versions || {}, (u, f) => Pd(f, r.nodeEngineVersion) ? { [f.version]: !0 } : null), n = xr(h?.time || {}, (u) => a[u] && (r.pre !== !1 || !ln(u))), l = bs(Object.entries(n), (u) => u[1]).map(([u]) => u);
  return r.cooldown ? { version: l.filter((u) => Vu(Si(h.versions[u], h), r.cooldown)).at(-1) } : { version: l.at(-1) };
}, ks = async (e, t, r = {}, i, s) => {
  const h = ["versions"];
  r.cooldown && h.push("time");
  const a = await Pt.fetchUpgradedPackumentMemo(e, h, t, r, 0, i, s), n = a?.versions;
  return { version: Lu(Object.values(n || {}).filter((l) => mn(r)(Si(l, a))).map((l) => l.version), t, "minor") };
}, Ls = async (e, t, r = {}, i, s) => {
  const h = ["versions"];
  r.cooldown && h.push("time");
  const a = await Pt.fetchUpgradedPackumentMemo(e, h, t, r, 0, i, s), n = a?.versions;
  return { version: Lu(Object.values(n || {}).filter((l) => mn(r)(Si(l, a))).map((l) => l.version), t, "patch") };
}, Fs = async (e, t, r = {}, i, s) => {
  const h = ["versions"];
  r.cooldown && h.push("time");
  const a = await Pt.fetchUpgradedPackumentMemo(e, h, t, r, 0, i, s), n = a?.versions;
  if (Jw(t)) return { version: null };
  const l = Object.values(n || {}).filter((u) => mn(r)(Si(u, a))).map((u) => u.version);
  return { version: Ve.default.maxSatisfying(l, t) };
}, Qw = /* @__PURE__ */ bt({
  default: () => Ju,
  defaultPrefix: () => eD,
  distTag: () => yn,
  getEngines: () => Rs,
  getPeerDependencies: () => Zu,
  greatest: () => vn,
  latest: () => Os,
  list: () => tD,
  minor: () => ks,
  newest: () => Is,
  packageAuthorChanged: () => Cs,
  patch: () => Ls,
  semver: () => Fs
});
async function Ju(e, t = {}, r = {}, i = {}) {
  return (0, Pr.default)("bun", [
    ...t.global ? ["--global"] : [],
    ...t.prefix ? [`--prefix=${t.prefix}`] : [],
    ...Array.isArray(e) ? e : [e]
  ], r, i);
}
var eD = async (e) => e.global ? e.prefix || process.env.BUN_INSTALL || Ye.dirname((await (0, Pr.default)("bun", [
  "pm",
  "-g",
  "bin"
])).stdout) : void 0, tD = async (e = {}) => {
  const { stdout: t } = await Ju(["pm", "ls"], {
    ...e.global ? { global: !0 } : null,
    ...e.prefix ? { prefix: e.prefix } : null
  }, { rejectOnError: !1 }, {
    env: {
      ...process.env,
      NO_COLOR: "1"
    },
    ...e.cwd ? { cwd: e.cwd } : null
  });
  return at(_m(t).split(`
`), (r) => {
    const i = r.match(/.* (.+?)@(.+)/);
    if (i) {
      const [, s, h] = i;
      return { [s]: h };
    }
    return null;
  });
}, tt = /* @__PURE__ */ j(((e) => {
  var t = /* @__PURE__ */ Symbol.for("yaml.alias"), r = /* @__PURE__ */ Symbol.for("yaml.document"), i = /* @__PURE__ */ Symbol.for("yaml.map"), s = /* @__PURE__ */ Symbol.for("yaml.pair"), h = /* @__PURE__ */ Symbol.for("yaml.scalar"), a = /* @__PURE__ */ Symbol.for("yaml.seq"), n = /* @__PURE__ */ Symbol.for("yaml.node.type"), l = (v) => !!v && typeof v == "object" && v[n] === t, u = (v) => !!v && typeof v == "object" && v[n] === r, f = (v) => !!v && typeof v == "object" && v[n] === i, o = (v) => !!v && typeof v == "object" && v[n] === s, c = (v) => !!v && typeof v == "object" && v[n] === h, d = (v) => !!v && typeof v == "object" && v[n] === a;
  function p(v) {
    if (v && typeof v == "object") switch (v[n]) {
      case i:
      case a:
        return !0;
    }
    return !1;
  }
  function m(v) {
    if (v && typeof v == "object") switch (v[n]) {
      case t:
      case i:
      case h:
      case a:
        return !0;
    }
    return !1;
  }
  var g = (v) => (c(v) || p(v)) && !!v.anchor;
  e.ALIAS = t, e.DOC = r, e.MAP = i, e.NODE_TYPE = n, e.PAIR = s, e.SCALAR = h, e.SEQ = a, e.hasAnchor = g, e.isAlias = l, e.isCollection = p, e.isDocument = u, e.isMap = f, e.isNode = m, e.isPair = o, e.isScalar = c, e.isSeq = d;
})), Ns = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = /* @__PURE__ */ Symbol("break visit"), i = /* @__PURE__ */ Symbol("skip children"), s = /* @__PURE__ */ Symbol("remove node");
  function h(c, d) {
    const p = u(d);
    t.isDocument(c) ? a(null, c.contents, p, Object.freeze([c])) === s && (c.contents = null) : a(null, c, p, Object.freeze([]));
  }
  h.BREAK = r, h.SKIP = i, h.REMOVE = s;
  function a(c, d, p, m) {
    const g = f(c, d, p, m);
    if (t.isNode(g) || t.isPair(g))
      return o(c, m, g), a(c, g, p, m);
    if (typeof g != "symbol") {
      if (t.isCollection(d)) {
        m = Object.freeze(m.concat(d));
        for (let v = 0; v < d.items.length; ++v) {
          const y = a(v, d.items[v], p, m);
          if (typeof y == "number") v = y - 1;
          else {
            if (y === r) return r;
            y === s && (d.items.splice(v, 1), v -= 1);
          }
        }
      } else if (t.isPair(d)) {
        m = Object.freeze(m.concat(d));
        const v = a("key", d.key, p, m);
        if (v === r) return r;
        v === s && (d.key = null);
        const y = a("value", d.value, p, m);
        if (y === r) return r;
        y === s && (d.value = null);
      }
    }
    return g;
  }
  async function n(c, d) {
    const p = u(d);
    t.isDocument(c) ? await l(null, c.contents, p, Object.freeze([c])) === s && (c.contents = null) : await l(null, c, p, Object.freeze([]));
  }
  n.BREAK = r, n.SKIP = i, n.REMOVE = s;
  async function l(c, d, p, m) {
    const g = await f(c, d, p, m);
    if (t.isNode(g) || t.isPair(g))
      return o(c, m, g), l(c, g, p, m);
    if (typeof g != "symbol") {
      if (t.isCollection(d)) {
        m = Object.freeze(m.concat(d));
        for (let v = 0; v < d.items.length; ++v) {
          const y = await l(v, d.items[v], p, m);
          if (typeof y == "number") v = y - 1;
          else {
            if (y === r) return r;
            y === s && (d.items.splice(v, 1), v -= 1);
          }
        }
      } else if (t.isPair(d)) {
        m = Object.freeze(m.concat(d));
        const v = await l("key", d.key, p, m);
        if (v === r) return r;
        v === s && (d.key = null);
        const y = await l("value", d.value, p, m);
        if (y === r) return r;
        y === s && (d.value = null);
      }
    }
    return g;
  }
  function u(c) {
    return typeof c == "object" && (c.Collection || c.Node || c.Value) ? Object.assign({
      Alias: c.Node,
      Map: c.Node,
      Scalar: c.Node,
      Seq: c.Node
    }, c.Value && {
      Map: c.Value,
      Scalar: c.Value,
      Seq: c.Value
    }, c.Collection && {
      Map: c.Collection,
      Seq: c.Collection
    }, c) : c;
  }
  function f(c, d, p, m) {
    if (typeof p == "function") return p(c, d, m);
    if (t.isMap(d)) return p.Map?.(c, d, m);
    if (t.isSeq(d)) return p.Seq?.(c, d, m);
    if (t.isPair(d)) return p.Pair?.(c, d, m);
    if (t.isScalar(d)) return p.Scalar?.(c, d, m);
    if (t.isAlias(d)) return p.Alias?.(c, d, m);
  }
  function o(c, d, p) {
    const m = d[d.length - 1];
    if (t.isCollection(m)) m.items[c] = p;
    else if (t.isPair(m)) c === "key" ? m.key = p : m.value = p;
    else if (t.isDocument(m)) m.contents = p;
    else {
      const g = t.isAlias(m) ? "alias" : "scalar";
      throw new Error(`Cannot replace node with ${g} parent`);
    }
  }
  e.visit = h, e.visitAsync = n;
})), qd = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Ns(), i = {
    "!": "%21",
    ",": "%2C",
    "[": "%5B",
    "]": "%5D",
    "{": "%7B",
    "}": "%7D"
  }, s = (a) => a.replace(/[!,[\]{}]/g, (n) => i[n]), h = class fr {
    constructor(n, l) {
      this.docStart = null, this.docEnd = !1, this.yaml = Object.assign({}, fr.defaultYaml, n), this.tags = Object.assign({}, fr.defaultTags, l);
    }
    clone() {
      const n = new fr(this.yaml, this.tags);
      return n.docStart = this.docStart, n;
    }
    atDocument() {
      const n = new fr(this.yaml, this.tags);
      switch (this.yaml.version) {
        case "1.1":
          this.atNextDocument = !0;
          break;
        case "1.2":
          this.atNextDocument = !1, this.yaml = {
            explicit: fr.defaultYaml.explicit,
            version: "1.2"
          }, this.tags = Object.assign({}, fr.defaultTags);
          break;
      }
      return n;
    }
    add(n, l) {
      this.atNextDocument && (this.yaml = {
        explicit: fr.defaultYaml.explicit,
        version: "1.1"
      }, this.tags = Object.assign({}, fr.defaultTags), this.atNextDocument = !1);
      const u = n.trim().split(/[ \t]+/), f = u.shift();
      switch (f) {
        case "%TAG": {
          if (u.length !== 2 && (l(0, "%TAG directive should contain exactly two parts"), u.length < 2))
            return !1;
          const [o, c] = u;
          return this.tags[o] = c, !0;
        }
        case "%YAML": {
          if (this.yaml.explicit = !0, u.length !== 1)
            return l(0, "%YAML directive should contain exactly one part"), !1;
          const [o] = u;
          if (o === "1.1" || o === "1.2")
            return this.yaml.version = o, !0;
          {
            const c = /^\d+\.\d+$/.test(o);
            return l(6, `Unsupported YAML version ${o}`, c), !1;
          }
        }
        default:
          return l(0, `Unknown directive ${f}`, !0), !1;
      }
    }
    tagName(n, l) {
      if (n === "!") return "!";
      if (n[0] !== "!")
        return l(`Not a valid tag: ${n}`), null;
      if (n[1] === "<") {
        const c = n.slice(2, -1);
        return c === "!" || c === "!!" ? (l(`Verbatim tags aren't resolved, so ${n} is invalid.`), null) : (n[n.length - 1] !== ">" && l("Verbatim tags must end with a >"), c);
      }
      const [, u, f] = n.match(/^(.*!)([^!]*)$/s);
      f || l(`The ${n} tag has no suffix`);
      const o = this.tags[u];
      if (o) try {
        return o + decodeURIComponent(f);
      } catch (c) {
        return l(String(c)), null;
      }
      return u === "!" ? n : (l(`Could not resolve tag: ${n}`), null);
    }
    tagString(n) {
      for (const [l, u] of Object.entries(this.tags)) if (n.startsWith(u)) return l + s(n.substring(u.length));
      return n[0] === "!" ? n : `!<${n}>`;
    }
    toString(n) {
      const l = this.yaml.explicit ? [`%YAML ${this.yaml.version || "1.2"}`] : [], u = Object.entries(this.tags);
      let f;
      if (n && u.length > 0 && t.isNode(n.contents)) {
        const o = {};
        r.visit(n.contents, (c, d) => {
          t.isNode(d) && d.tag && (o[d.tag] = !0);
        }), f = Object.keys(o);
      } else f = [];
      for (const [o, c] of u)
        o === "!!" && c === "tag:yaml.org,2002:" || (!n || f.some((d) => d.startsWith(c))) && l.push(`%TAG ${o} ${c}`);
      return l.join(`
`);
    }
  };
  h.defaultYaml = {
    explicit: !1,
    version: "1.2"
  }, h.defaultTags = { "!!": "tag:yaml.org,2002:" }, e.Directives = h;
})), Xu = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Ns();
  function i(n) {
    if (/[\x00-\x19\s,[\]{}]/.test(n)) {
      const l = `Anchor must not contain whitespace or control characters: ${JSON.stringify(n)}`;
      throw new Error(l);
    }
    return !0;
  }
  function s(n) {
    const l = /* @__PURE__ */ new Set();
    return r.visit(n, { Value(u, f) {
      f.anchor && l.add(f.anchor);
    } }), l;
  }
  function h(n, l) {
    for (let u = 1; ; ++u) {
      const f = `${n}${u}`;
      if (!l.has(f)) return f;
    }
  }
  function a(n, l) {
    const u = [], f = /* @__PURE__ */ new Map();
    let o = null;
    return {
      onAnchor: (c) => {
        u.push(c), o ?? (o = s(n));
        const d = h(l, o);
        return o.add(d), d;
      },
      setAnchors: () => {
        for (const c of u) {
          const d = f.get(c);
          if (typeof d == "object" && d.anchor && (t.isScalar(d.node) || t.isCollection(d.node))) d.node.anchor = d.anchor;
          else {
            const p = /* @__PURE__ */ new Error("Failed to resolve repeated object (this should not happen)");
            throw p.source = c, p;
          }
        }
      },
      sourceObjects: f
    };
  }
  e.anchorIsValid = i, e.anchorNames = s, e.createNodeAnchors = a, e.findNewAnchor = h;
})), zd = /* @__PURE__ */ j(((e) => {
  function t(r, i, s, h) {
    if (h && typeof h == "object") if (Array.isArray(h)) for (let a = 0, n = h.length; a < n; ++a) {
      const l = h[a], u = t(r, h, String(a), l);
      u === void 0 ? delete h[a] : u !== l && (h[a] = u);
    }
    else if (h instanceof Map) for (const a of Array.from(h.keys())) {
      const n = h.get(a), l = t(r, h, a, n);
      l === void 0 ? h.delete(a) : l !== n && h.set(a, l);
    }
    else if (h instanceof Set) for (const a of Array.from(h)) {
      const n = t(r, h, a, a);
      n === void 0 ? h.delete(a) : n !== a && (h.delete(a), h.add(n));
    }
    else for (const [a, n] of Object.entries(h)) {
      const l = t(r, h, a, n);
      l === void 0 ? delete h[a] : l !== n && (h[a] = l);
    }
    return r.call(i, s, h);
  }
  e.applyReviver = t;
})), zr = /* @__PURE__ */ j(((e) => {
  var t = tt();
  function r(i, s, h) {
    if (Array.isArray(i)) return i.map((a, n) => r(a, String(n), h));
    if (i && typeof i.toJSON == "function") {
      if (!h || !t.hasAnchor(i)) return i.toJSON(s, h);
      const a = {
        aliasCount: 0,
        count: 1,
        res: void 0
      };
      h.anchors.set(i, a), h.onCreate = (l) => {
        a.res = l, delete h.onCreate;
      };
      const n = i.toJSON(s, h);
      return h.onCreate && h.onCreate(n), n;
    }
    return typeof i == "bigint" && !h?.keep ? Number(i) : i;
  }
  e.toJS = r;
})), Qu = /* @__PURE__ */ j(((e) => {
  var t = zd(), r = tt(), i = zr(), s = class {
    constructor(h) {
      Object.defineProperty(this, r.NODE_TYPE, { value: h });
    }
    clone() {
      const h = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
      return this.range && (h.range = this.range.slice()), h;
    }
    toJS(h, { mapAsMap: a, maxAliasCount: n, onAnchor: l, reviver: u } = {}) {
      if (!r.isDocument(h)) throw new TypeError("A document argument is required");
      const f = {
        anchors: /* @__PURE__ */ new Map(),
        doc: h,
        keep: !0,
        mapAsMap: a === !0,
        mapKeyWarned: !1,
        maxAliasCount: typeof n == "number" ? n : 100
      }, o = i.toJS(this, "", f);
      if (typeof l == "function") for (const { count: c, res: d } of f.anchors.values()) l(d, c);
      return typeof u == "function" ? t.applyReviver(u, { "": o }, "", o) : o;
    }
  };
  e.NodeBase = s;
})), $s = /* @__PURE__ */ j(((e) => {
  var t = Xu(), r = Ns(), i = tt(), s = Qu(), h = zr(), a = class extends s.NodeBase {
    constructor(l) {
      super(i.ALIAS), this.source = l, Object.defineProperty(this, "tag", { set() {
        throw new Error("Alias nodes cannot have tags");
      } });
    }
    resolve(l, u) {
      let f;
      u?.aliasResolveCache ? f = u.aliasResolveCache : (f = [], r.visit(l, { Node: (c, d) => {
        (i.isAlias(d) || i.hasAnchor(d)) && f.push(d);
      } }), u && (u.aliasResolveCache = f));
      let o;
      for (const c of f) {
        if (c === this) break;
        c.anchor === this.source && (o = c);
      }
      return o;
    }
    toJSON(l, u) {
      if (!u) return { source: this.source };
      const { anchors: f, doc: o, maxAliasCount: c } = u, d = this.resolve(o, u);
      if (!d) {
        const m = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
        throw new ReferenceError(m);
      }
      let p = f.get(d);
      if (p || (h.toJS(d, null, u), p = f.get(d)), p?.res === void 0) throw new ReferenceError("This should not happen: Alias anchor was not resolved?");
      if (c >= 0 && (p.count += 1, p.aliasCount === 0 && (p.aliasCount = n(o, d, f)), p.count * p.aliasCount > c))
        throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");
      return p.res;
    }
    toString(l, u, f) {
      const o = `*${this.source}`;
      if (l) {
        if (t.anchorIsValid(this.source), l.options.verifyAliasOrder && !l.anchors.has(this.source)) {
          const c = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
          throw new Error(c);
        }
        if (l.implicitKey) return `${o} `;
      }
      return o;
    }
  };
  function n(l, u, f) {
    if (i.isAlias(u)) {
      const o = u.resolve(l), c = f && o && f.get(o);
      return c ? c.count * c.aliasCount : 0;
    } else if (i.isCollection(u)) {
      let o = 0;
      for (const c of u.items) {
        const d = n(l, c, f);
        d > o && (o = d);
      }
      return o;
    } else if (i.isPair(u)) {
      const o = n(l, u.key, f), c = n(l, u.value, f);
      return Math.max(o, c);
    }
    return 1;
  }
  e.Alias = a;
})), Ct = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Qu(), i = zr(), s = (a) => !a || typeof a != "function" && typeof a != "object", h = class extends r.NodeBase {
    constructor(a) {
      super(t.SCALAR), this.value = a;
    }
    toJSON(a, n) {
      return n?.keep ? this.value : i.toJS(this.value, a, n);
    }
    toString() {
      return String(this.value);
    }
  };
  h.BLOCK_FOLDED = "BLOCK_FOLDED", h.BLOCK_LITERAL = "BLOCK_LITERAL", h.PLAIN = "PLAIN", h.QUOTE_DOUBLE = "QUOTE_DOUBLE", h.QUOTE_SINGLE = "QUOTE_SINGLE", e.Scalar = h, e.isScalarValue = s;
})), xs = /* @__PURE__ */ j(((e) => {
  var t = $s(), r = tt(), i = Ct(), s = "tag:yaml.org,2002:";
  function h(n, l, u) {
    if (l) {
      const f = u.filter((c) => c.tag === l), o = f.find((c) => !c.format) ?? f[0];
      if (!o) throw new Error(`Tag ${l} not found`);
      return o;
    }
    return u.find((f) => f.identify?.(n) && !f.format);
  }
  function a(n, l, u) {
    if (r.isDocument(n) && (n = n.contents), r.isNode(n)) return n;
    if (r.isPair(n)) {
      const y = u.schema[r.MAP].createNode?.(u.schema, null, u);
      return y.items.push(n), y;
    }
    (n instanceof String || n instanceof Number || n instanceof Boolean || typeof BigInt < "u" && n instanceof BigInt) && (n = n.valueOf());
    const { aliasDuplicateObjects: f, onAnchor: o, onTagObj: c, schema: d, sourceObjects: p } = u;
    let m;
    if (f && n && typeof n == "object") {
      if (m = p.get(n), m)
        return m.anchor ?? (m.anchor = o(n)), new t.Alias(m.anchor);
      m = {
        anchor: null,
        node: null
      }, p.set(n, m);
    }
    l?.startsWith("!!") && (l = s + l.slice(2));
    let g = h(n, l, d.tags);
    if (!g) {
      if (n && typeof n.toJSON == "function" && (n = n.toJSON()), !n || typeof n != "object") {
        const y = new i.Scalar(n);
        return m && (m.node = y), y;
      }
      g = n instanceof Map ? d[r.MAP] : Symbol.iterator in Object(n) ? d[r.SEQ] : d[r.MAP];
    }
    c && (c(g), delete u.onTagObj);
    const v = g?.createNode ? g.createNode(u.schema, n, u) : typeof g?.nodeClass?.from == "function" ? g.nodeClass.from(u.schema, n, u) : new i.Scalar(n);
    return l ? v.tag = l : g.default || (v.tag = g.tag), m && (m.node = v), v;
  }
  e.createNode = a;
})), el = /* @__PURE__ */ j(((e) => {
  var t = xs(), r = tt(), i = Qu();
  function s(n, l, u) {
    let f = u;
    for (let o = l.length - 1; o >= 0; --o) {
      const c = l[o];
      if (typeof c == "number" && Number.isInteger(c) && c >= 0) {
        const d = [];
        d[c] = f, f = d;
      } else f = /* @__PURE__ */ new Map([[c, f]]);
    }
    return t.createNode(f, void 0, {
      aliasDuplicateObjects: !1,
      keepUndefined: !1,
      onAnchor: () => {
        throw new Error("This should not happen, please report a bug.");
      },
      schema: n,
      sourceObjects: /* @__PURE__ */ new Map()
    });
  }
  var h = (n) => n == null || typeof n == "object" && !!n[Symbol.iterator]().next().done, a = class extends i.NodeBase {
    constructor(n, l) {
      super(n), Object.defineProperty(this, "schema", {
        value: l,
        configurable: !0,
        enumerable: !1,
        writable: !0
      });
    }
    clone(n) {
      const l = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
      return n && (l.schema = n), l.items = l.items.map((u) => r.isNode(u) || r.isPair(u) ? u.clone(n) : u), this.range && (l.range = this.range.slice()), l;
    }
    addIn(n, l) {
      if (h(n)) this.add(l);
      else {
        const [u, ...f] = n, o = this.get(u, !0);
        if (r.isCollection(o)) o.addIn(f, l);
        else if (o === void 0 && this.schema) this.set(u, s(this.schema, f, l));
        else throw new Error(`Expected YAML collection at ${u}. Remaining path: ${f}`);
      }
    }
    deleteIn(n) {
      const [l, ...u] = n;
      if (u.length === 0) return this.delete(l);
      const f = this.get(l, !0);
      if (r.isCollection(f)) return f.deleteIn(u);
      throw new Error(`Expected YAML collection at ${l}. Remaining path: ${u}`);
    }
    getIn(n, l) {
      const [u, ...f] = n, o = this.get(u, !0);
      return f.length === 0 ? !l && r.isScalar(o) ? o.value : o : r.isCollection(o) ? o.getIn(f, l) : void 0;
    }
    hasAllNullValues(n) {
      return this.items.every((l) => {
        if (!r.isPair(l)) return !1;
        const u = l.value;
        return u == null || n && r.isScalar(u) && u.value == null && !u.commentBefore && !u.comment && !u.tag;
      });
    }
    hasIn(n) {
      const [l, ...u] = n;
      if (u.length === 0) return this.has(l);
      const f = this.get(l, !0);
      return r.isCollection(f) ? f.hasIn(u) : !1;
    }
    setIn(n, l) {
      const [u, ...f] = n;
      if (f.length === 0) this.set(u, l);
      else {
        const o = this.get(u, !0);
        if (r.isCollection(o)) o.setIn(f, l);
        else if (o === void 0 && this.schema) this.set(u, s(this.schema, f, l));
        else throw new Error(`Expected YAML collection at ${u}. Remaining path: ${f}`);
      }
    }
  };
  e.Collection = a, e.collectionFromPath = s, e.isEmptyPath = h;
})), Bs = /* @__PURE__ */ j(((e) => {
  var t = (s) => s.replace(/^(?!$)(?: $)?/gm, "#");
  function r(s, h) {
    return /^\n+$/.test(s) ? s.substring(1) : h ? s.replace(/^(?! *$)/gm, h) : s;
  }
  var i = (s, h, a) => s.endsWith(`
`) ? r(a, h) : a.includes(`
`) ? `
` + r(a, h) : (s.endsWith(" ") ? "" : " ") + a;
  e.indentComment = r, e.lineComment = i, e.stringifyComment = t;
})), rD = /* @__PURE__ */ j(((e) => {
  var t = "flow", r = "block", i = "quoted";
  function s(a, n, l = "flow", { indentAtStart: u, lineWidth: f = 80, minContentWidth: o = 20, onFold: c, onOverflow: d } = {}) {
    if (!f || f < 0) return a;
    f < o && (o = 0);
    const p = Math.max(1 + o, 1 + f - n.length);
    if (a.length <= p) return a;
    const m = [], g = {};
    let v = f - n.length;
    typeof u == "number" && (u > f - Math.max(2, o) ? m.push(0) : v = f - u);
    let y, w, _ = !1, b = -1, E = -1, D = -1;
    l === r && (b = h(a, b, n.length), b !== -1 && (v = b + p));
    for (let C; C = a[b += 1]; ) {
      if (l === i && C === "\\") {
        switch (E = b, a[b + 1]) {
          case "x":
            b += 3;
            break;
          case "u":
            b += 5;
            break;
          case "U":
            b += 9;
            break;
          default:
            b += 1;
        }
        D = b;
      }
      if (C === `
`)
        l === r && (b = h(a, b, n.length)), v = b + n.length + p, y = void 0;
      else {
        if (C === " " && w && w !== " " && w !== `
` && w !== "	") {
          const T = a[b + 1];
          T && T !== " " && T !== `
` && T !== "	" && (y = b);
        }
        if (b >= v) if (y)
          m.push(y), v = y + p, y = void 0;
        else if (l === i) {
          for (; w === " " || w === "	"; )
            w = C, C = a[b += 1], _ = !0;
          const T = b > D + 1 ? b - 2 : E - 1;
          if (g[T]) return a;
          m.push(T), g[T] = !0, v = T + p, y = void 0;
        } else _ = !0;
      }
      w = C;
    }
    if (_ && d && d(), m.length === 0) return a;
    c && c();
    let S = a.slice(0, m[0]);
    for (let C = 0; C < m.length; ++C) {
      const T = m[C], U = m[C + 1] || a.length;
      T === 0 ? S = `
${n}${a.slice(0, U)}` : (l === i && g[T] && (S += `${a[T]}\\`), S += `
${n}${a.slice(T + 1, U)}`);
    }
    return S;
  }
  function h(a, n, l) {
    let u = n, f = n + 1, o = a[f];
    for (; o === " " || o === "	"; ) if (n < f + l) o = a[++n];
    else {
      do
        o = a[++n];
      while (o && o !== `
`);
      u = n, f = n + 1, o = a[f];
    }
    return u;
  }
  e.FOLD_BLOCK = r, e.FOLD_FLOW = t, e.FOLD_QUOTED = i, e.foldFlowLines = s;
})), Ps = /* @__PURE__ */ j(((e) => {
  var t = Ct(), r = rD(), i = (d, p) => ({
    indentAtStart: p ? d.indent.length : d.indentAtStart,
    lineWidth: d.options.lineWidth,
    minContentWidth: d.options.minContentWidth
  }), s = (d) => /^(%|---|\.\.\.)/m.test(d);
  function h(d, p, m) {
    if (!p || p < 0) return !1;
    const g = p - m, v = d.length;
    if (v <= g) return !1;
    for (let y = 0, w = 0; y < v; ++y) if (d[y] === `
`) {
      if (y - w > g) return !0;
      if (w = y + 1, v - w <= g) return !1;
    }
    return !0;
  }
  function a(d, p) {
    const m = JSON.stringify(d);
    if (p.options.doubleQuotedAsJSON) return m;
    const { implicitKey: g } = p, v = p.options.doubleQuotedMinMultiLineLength, y = p.indent || (s(d) ? "  " : "");
    let w = "", _ = 0;
    for (let b = 0, E = m[b]; E; E = m[++b])
      if (E === " " && m[b + 1] === "\\" && m[b + 2] === "n" && (w += m.slice(_, b) + "\\ ", b += 1, _ = b, E = "\\"), E === "\\") switch (m[b + 1]) {
        case "u":
          {
            w += m.slice(_, b);
            const D = m.substr(b + 2, 4);
            switch (D) {
              case "0000":
                w += "\\0";
                break;
              case "0007":
                w += "\\a";
                break;
              case "000b":
                w += "\\v";
                break;
              case "001b":
                w += "\\e";
                break;
              case "0085":
                w += "\\N";
                break;
              case "00a0":
                w += "\\_";
                break;
              case "2028":
                w += "\\L";
                break;
              case "2029":
                w += "\\P";
                break;
              default:
                D.substr(0, 2) === "00" ? w += "\\x" + D.substr(2) : w += m.substr(b, 6);
            }
            b += 5, _ = b + 1;
          }
          break;
        case "n":
          if (g || m[b + 2] === '"' || m.length < v) b += 1;
          else {
            for (w += m.slice(_, b) + `

`; m[b + 2] === "\\" && m[b + 3] === "n" && m[b + 4] !== '"'; )
              w += `
`, b += 2;
            w += y, m[b + 2] === " " && (w += "\\"), b += 1, _ = b + 1;
          }
          break;
        default:
          b += 1;
      }
    return w = _ ? w + m.slice(_) : m, g ? w : r.foldFlowLines(w, y, r.FOLD_QUOTED, i(p, !1));
  }
  function n(d, p) {
    if (p.options.singleQuote === !1 || p.implicitKey && d.includes(`
`) || /[ \t]\n|\n[ \t]/.test(d)) return a(d, p);
    const m = p.indent || (s(d) ? "  " : ""), g = "'" + d.replace(/'/g, "''").replace(/\n+/g, `$&
${m}`) + "'";
    return p.implicitKey ? g : r.foldFlowLines(g, m, r.FOLD_FLOW, i(p, !1));
  }
  function l(d, p) {
    const { singleQuote: m } = p.options;
    let g;
    if (m === !1) g = a;
    else {
      const v = d.includes('"'), y = d.includes("'");
      v && !y ? g = n : y && !v ? g = a : g = m ? n : a;
    }
    return g(d, p);
  }
  var u;
  try {
    u = /* @__PURE__ */ new RegExp(`(^|(?<!
))
+(?!
|$)`, "g");
  } catch {
    u = /\n+(?!\n|$)/g;
  }
  function f({ comment: d, type: p, value: m }, g, v, y) {
    const { blockQuote: w, commentString: _, lineWidth: b } = g.options;
    if (!w || /\n[\t ]+$/.test(m)) return l(m, g);
    const E = g.indent || (g.forceBlockIndent || s(m) ? "  " : ""), D = w === "literal" ? !0 : w === "folded" || p === t.Scalar.BLOCK_FOLDED ? !1 : p === t.Scalar.BLOCK_LITERAL ? !0 : !h(m, b, E.length);
    if (!m) return D ? `|
` : `>
`;
    let S, C;
    for (C = m.length; C > 0; --C) {
      const F = m[C - 1];
      if (F !== `
` && F !== "	" && F !== " ") break;
    }
    let T = m.substring(C);
    const U = T.indexOf(`
`);
    U === -1 ? S = "-" : m === T || U !== T.length - 1 ? (S = "+", y && y()) : S = "", T && (m = m.slice(0, -T.length), T[T.length - 1] === `
` && (T = T.slice(0, -1)), T = T.replace(u, `$&${E}`));
    let $ = !1, z, Y = -1;
    for (z = 0; z < m.length; ++z) {
      const F = m[z];
      if (F === " ") $ = !0;
      else if (F === `
`) Y = z;
      else break;
    }
    let H = m.substring(0, Y < z ? Y + 1 : z);
    H && (m = m.substring(H.length), H = H.replace(/\n+/g, `$&${E}`));
    let k = ($ ? E ? "2" : "1" : "") + S;
    if (d && (k += " " + _(d.replace(/ ?[\r\n]+/g, " ")), v && v()), !D) {
      const F = m.replace(/\n+/g, `
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${E}`);
      let q = !1;
      const W = i(g, !0);
      w !== "folded" && p !== t.Scalar.BLOCK_FOLDED && (W.onOverflow = () => {
        q = !0;
      });
      const P = r.foldFlowLines(`${H}${F}${T}`, E, r.FOLD_BLOCK, W);
      if (!q) return `>${k}
${E}${P}`;
    }
    return m = m.replace(/\n+/g, `$&${E}`), `|${k}
${E}${H}${m}${T}`;
  }
  function o(d, p, m, g) {
    const { type: v, value: y } = d, { actualString: w, implicitKey: _, indent: b, indentStep: E, inFlow: D } = p;
    if (_ && y.includes(`
`) || D && /[[\]{},]/.test(y)) return l(y, p);
    if (/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(y)) return _ || D || !y.includes(`
`) ? l(y, p) : f(d, p, m, g);
    if (!_ && !D && v !== t.Scalar.PLAIN && y.includes(`
`)) return f(d, p, m, g);
    if (s(y)) {
      if (b === "")
        return p.forceBlockIndent = !0, f(d, p, m, g);
      if (_ && b === E) return l(y, p);
    }
    const S = y.replace(/\n+/g, `$&
${b}`);
    if (w) {
      const C = ($) => $.default && $.tag !== "tag:yaml.org,2002:str" && $.test?.test(S), { compat: T, tags: U } = p.doc.schema;
      if (U.some(C) || T?.some(C)) return l(y, p);
    }
    return _ ? S : r.foldFlowLines(S, b, r.FOLD_FLOW, i(p, !1));
  }
  function c(d, p, m, g) {
    const { implicitKey: v, inFlow: y } = p, w = typeof d.value == "string" ? d : Object.assign({}, d, { value: String(d.value) });
    let { type: _ } = d;
    _ !== t.Scalar.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(w.value) && (_ = t.Scalar.QUOTE_DOUBLE);
    const b = (D) => {
      switch (D) {
        case t.Scalar.BLOCK_FOLDED:
        case t.Scalar.BLOCK_LITERAL:
          return v || y ? l(w.value, p) : f(w, p, m, g);
        case t.Scalar.QUOTE_DOUBLE:
          return a(w.value, p);
        case t.Scalar.QUOTE_SINGLE:
          return n(w.value, p);
        case t.Scalar.PLAIN:
          return o(w, p, m, g);
        default:
          return null;
      }
    };
    let E = b(_);
    if (E === null) {
      const { defaultKeyType: D, defaultStringType: S } = p.options, C = v && D || S;
      if (E = b(C), E === null) throw new Error(`Unsupported default string type ${C}`);
    }
    return E;
  }
  e.stringifyString = c;
})), Ms = /* @__PURE__ */ j(((e) => {
  var t = Xu(), r = tt(), i = Bs(), s = Ps();
  function h(u, f) {
    const o = Object.assign({
      blockQuote: !0,
      commentString: i.stringifyComment,
      defaultKeyType: null,
      defaultStringType: "PLAIN",
      directives: null,
      doubleQuotedAsJSON: !1,
      doubleQuotedMinMultiLineLength: 40,
      falseStr: "false",
      flowCollectionPadding: !0,
      indentSeq: !0,
      lineWidth: 80,
      minContentWidth: 20,
      nullStr: "null",
      simpleKeys: !1,
      singleQuote: null,
      trailingComma: !1,
      trueStr: "true",
      verifyAliasOrder: !0
    }, u.schema.toStringOptions, f);
    let c;
    switch (o.collectionStyle) {
      case "block":
        c = !1;
        break;
      case "flow":
        c = !0;
        break;
      default:
        c = null;
    }
    return {
      anchors: /* @__PURE__ */ new Set(),
      doc: u,
      flowCollectionPadding: o.flowCollectionPadding ? " " : "",
      indent: "",
      indentStep: typeof o.indent == "number" ? " ".repeat(o.indent) : "  ",
      inFlow: c,
      options: o
    };
  }
  function a(u, f) {
    if (f.tag) {
      const d = u.filter((p) => p.tag === f.tag);
      if (d.length > 0) return d.find((p) => p.format === f.format) ?? d[0];
    }
    let o, c;
    if (r.isScalar(f)) {
      c = f.value;
      let d = u.filter((p) => p.identify?.(c));
      if (d.length > 1) {
        const p = d.filter((m) => m.test);
        p.length > 0 && (d = p);
      }
      o = d.find((p) => p.format === f.format) ?? d.find((p) => !p.format);
    } else
      c = f, o = u.find((d) => d.nodeClass && c instanceof d.nodeClass);
    if (!o) {
      const d = c?.constructor?.name ?? (c === null ? "null" : typeof c);
      throw new Error(`Tag not resolved for ${d} value`);
    }
    return o;
  }
  function n(u, f, { anchors: o, doc: c }) {
    if (!c.directives) return "";
    const d = [], p = (r.isScalar(u) || r.isCollection(u)) && u.anchor;
    p && t.anchorIsValid(p) && (o.add(p), d.push(`&${p}`));
    const m = u.tag ?? (f.default ? null : f.tag);
    return m && d.push(c.directives.tagString(m)), d.join(" ");
  }
  function l(u, f, o, c) {
    if (r.isPair(u)) return u.toString(f, o, c);
    if (r.isAlias(u)) {
      if (f.doc.directives) return u.toString(f);
      if (f.resolvedAliases?.has(u)) throw new TypeError("Cannot stringify circular structure without alias nodes");
      f.resolvedAliases ? f.resolvedAliases.add(u) : f.resolvedAliases = /* @__PURE__ */ new Set([u]), u = u.resolve(f.doc);
    }
    let d;
    const p = r.isNode(u) ? u : f.doc.createNode(u, { onTagObj: (v) => d = v });
    d ?? (d = a(f.doc.schema.tags, p));
    const m = n(p, d, f);
    m.length > 0 && (f.indentAtStart = (f.indentAtStart ?? 0) + m.length + 1);
    const g = typeof d.stringify == "function" ? d.stringify(p, f, o, c) : r.isScalar(p) ? s.stringifyString(p, f, o, c) : p.toString(f, o, c);
    return m ? r.isScalar(p) || g[0] === "{" || g[0] === "[" ? `${m} ${g}` : `${m}
${f.indent}${g}` : g;
  }
  e.createStringifyContext = h, e.stringify = l;
})), iD = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Ct(), i = Ms(), s = Bs();
  function h({ key: a, value: n }, l, u, f) {
    const { allNullValues: o, doc: c, indent: d, indentStep: p, options: { commentString: m, indentSeq: g, simpleKeys: v } } = l;
    let y = t.isNode(a) && a.comment || null;
    if (v) {
      if (y) throw new Error("With simple keys, key nodes cannot have comments");
      if (t.isCollection(a) || !t.isNode(a) && typeof a == "object") throw new Error("With simple keys, collection cannot be used as a key value");
    }
    let w = !v && (!a || y && n == null && !l.inFlow || t.isCollection(a) || (t.isScalar(a) ? a.type === r.Scalar.BLOCK_FOLDED || a.type === r.Scalar.BLOCK_LITERAL : typeof a == "object"));
    l = Object.assign({}, l, {
      allNullValues: !1,
      implicitKey: !w && (v || !o),
      indent: d + p
    });
    let _ = !1, b = !1, E = i.stringify(a, l, () => _ = !0, () => b = !0);
    if (!w && !l.inFlow && E.length > 1024) {
      if (v) throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
      w = !0;
    }
    if (l.inFlow) {
      if (o || n == null)
        return _ && u && u(), E === "" ? "?" : w ? `? ${E}` : E;
    } else if (o && !v || n == null && w)
      return E = `? ${E}`, y && !_ ? E += s.lineComment(E, l.indent, m(y)) : b && f && f(), E;
    _ && (y = null), w ? (y && (E += s.lineComment(E, l.indent, m(y))), E = `? ${E}
${d}:`) : (E = `${E}:`, y && (E += s.lineComment(E, l.indent, m(y))));
    let D, S, C;
    t.isNode(n) ? (D = !!n.spaceBefore, S = n.commentBefore, C = n.comment) : (D = !1, S = null, C = null, n && typeof n == "object" && (n = c.createNode(n))), l.implicitKey = !1, !w && !y && t.isScalar(n) && (l.indentAtStart = E.length + 1), b = !1, !g && p.length >= 2 && !l.inFlow && !w && t.isSeq(n) && !n.flow && !n.tag && !n.anchor && (l.indent = l.indent.substring(2));
    let T = !1;
    const U = i.stringify(n, l, () => T = !0, () => b = !0);
    let $ = " ";
    if (y || D || S) {
      if ($ = D ? `
` : "", S) {
        const z = m(S);
        $ += `
${s.indentComment(z, l.indent)}`;
      }
      U === "" && !l.inFlow ? $ === `
` && C && ($ = `

`) : $ += `
${l.indent}`;
    } else if (!w && t.isCollection(n)) {
      const z = U[0], Y = U.indexOf(`
`), H = Y !== -1, k = l.inFlow ?? n.flow ?? n.items.length === 0;
      if (H || !k) {
        let F = !1;
        if (H && (z === "&" || z === "!")) {
          let q = U.indexOf(" ");
          z === "&" && q !== -1 && q < Y && U[q + 1] === "!" && (q = U.indexOf(" ", q + 1)), (q === -1 || Y < q) && (F = !0);
        }
        F || ($ = `
${l.indent}`);
      }
    } else (U === "" || U[0] === `
`) && ($ = "");
    return E += $ + U, l.inFlow ? T && u && u() : C && !T ? E += s.lineComment(E, l.indent, m(C)) : b && f && f(), E;
  }
  e.stringifyPair = h;
})), Gd = /* @__PURE__ */ j(((e) => {
  var t = ve("process");
  function r(s, ...h) {
    s === "debug" && console.log(...h);
  }
  function i(s, h) {
    (s === "debug" || s === "warn") && (typeof t.emitWarning == "function" ? t.emitWarning(h) : console.warn(h));
  }
  e.debug = r, e.warn = i;
})), tl = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Ct(), i = "<<", s = {
    identify: (l) => l === i || typeof l == "symbol" && l.description === i,
    default: "key",
    tag: "tag:yaml.org,2002:merge",
    test: /^<<$/,
    resolve: () => Object.assign(new r.Scalar(Symbol(i)), { addToJSMap: a }),
    stringify: () => i
  }, h = (l, u) => (s.identify(u) || t.isScalar(u) && (!u.type || u.type === r.Scalar.PLAIN) && s.identify(u.value)) && l?.doc.schema.tags.some((f) => f.tag === s.tag && f.default);
  function a(l, u, f) {
    if (f = l && t.isAlias(f) ? f.resolve(l.doc) : f, t.isSeq(f)) for (const o of f.items) n(l, u, o);
    else if (Array.isArray(f)) for (const o of f) n(l, u, o);
    else n(l, u, f);
  }
  function n(l, u, f) {
    const o = l && t.isAlias(f) ? f.resolve(l.doc) : f;
    if (!t.isMap(o)) throw new Error("Merge sources must be maps or map aliases");
    const c = o.toJSON(null, l, Map);
    for (const [d, p] of c) u instanceof Map ? u.has(d) || u.set(d, p) : u instanceof Set ? u.add(d) : Object.prototype.hasOwnProperty.call(u, d) || Object.defineProperty(u, d, {
      value: p,
      writable: !0,
      enumerable: !0,
      configurable: !0
    });
    return u;
  }
  e.addMergeToJSMap = a, e.isMergeKey = h, e.merge = s;
})), Wd = /* @__PURE__ */ j(((e) => {
  var t = Gd(), r = tl(), i = Ms(), s = tt(), h = zr();
  function a(l, u, { key: f, value: o }) {
    if (s.isNode(f) && f.addToJSMap) f.addToJSMap(l, u, o);
    else if (r.isMergeKey(l, f)) r.addMergeToJSMap(l, u, o);
    else {
      const c = h.toJS(f, "", l);
      if (u instanceof Map) u.set(c, h.toJS(o, c, l));
      else if (u instanceof Set) u.add(c);
      else {
        const d = n(f, c, l), p = h.toJS(o, d, l);
        d in u ? Object.defineProperty(u, d, {
          value: p,
          writable: !0,
          enumerable: !0,
          configurable: !0
        }) : u[d] = p;
      }
    }
    return u;
  }
  function n(l, u, f) {
    if (u === null) return "";
    if (typeof u != "object") return String(u);
    if (s.isNode(l) && f?.doc) {
      const o = i.createStringifyContext(f.doc, {});
      o.anchors = /* @__PURE__ */ new Set();
      for (const d of f.anchors.keys()) o.anchors.add(d.anchor);
      o.inFlow = !0, o.inStringifyKey = !0;
      const c = l.toString(o);
      if (!f.mapKeyWarned) {
        let d = JSON.stringify(c);
        d.length > 40 && (d = d.substring(0, 36) + '..."'), t.warn(f.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${d}. Set mapAsMap: true to use object keys.`), f.mapKeyWarned = !0;
      }
      return c;
    }
    return JSON.stringify(u);
  }
  e.addPairToJSMap = a;
})), Gr = /* @__PURE__ */ j(((e) => {
  var t = xs(), r = iD(), i = Wd(), s = tt();
  function h(n, l, u) {
    return new a(t.createNode(n, void 0, u), t.createNode(l, void 0, u));
  }
  var a = class Vd {
    constructor(l, u = null) {
      Object.defineProperty(this, s.NODE_TYPE, { value: s.PAIR }), this.key = l, this.value = u;
    }
    clone(l) {
      let { key: u, value: f } = this;
      return s.isNode(u) && (u = u.clone(l)), s.isNode(f) && (f = f.clone(l)), new Vd(u, f);
    }
    toJSON(l, u) {
      const f = u?.mapAsMap ? /* @__PURE__ */ new Map() : {};
      return i.addPairToJSMap(u, f, this);
    }
    toString(l, u, f) {
      return l?.doc ? r.stringifyPair(this, l, u, f) : JSON.stringify(this);
    }
  };
  e.Pair = a, e.createPair = h;
})), Yd = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Ms(), i = Bs();
  function s(l, u, f) {
    return (u.inFlow ?? l.flow ? a : h)(l, u, f);
  }
  function h({ comment: l, items: u }, f, { blockItemPrefix: o, flowChars: c, itemIndent: d, onChompKeep: p, onComment: m }) {
    const { indent: g, options: { commentString: v } } = f, y = Object.assign({}, f, {
      indent: d,
      type: null
    });
    let w = !1;
    const _ = [];
    for (let E = 0; E < u.length; ++E) {
      const D = u[E];
      let S = null;
      if (t.isNode(D))
        !w && D.spaceBefore && _.push(""), n(f, _, D.commentBefore, w), D.comment && (S = D.comment);
      else if (t.isPair(D)) {
        const T = t.isNode(D.key) ? D.key : null;
        T && (!w && T.spaceBefore && _.push(""), n(f, _, T.commentBefore, w));
      }
      w = !1;
      let C = r.stringify(D, y, () => S = null, () => w = !0);
      S && (C += i.lineComment(C, d, v(S))), w && S && (w = !1), _.push(o + C);
    }
    let b;
    if (_.length === 0) b = c.start + c.end;
    else {
      b = _[0];
      for (let E = 1; E < _.length; ++E) {
        const D = _[E];
        b += D ? `
${g}${D}` : `
`;
      }
    }
    return l ? (b += `
` + i.indentComment(v(l), g), m && m()) : w && p && p(), b;
  }
  function a({ items: l }, u, { flowChars: f, itemIndent: o }) {
    const { indent: c, indentStep: d, flowCollectionPadding: p, options: { commentString: m } } = u;
    o += d;
    const g = Object.assign({}, u, {
      indent: o,
      inFlow: !0,
      type: null
    });
    let v = !1, y = 0;
    const w = [];
    for (let E = 0; E < l.length; ++E) {
      const D = l[E];
      let S = null;
      if (t.isNode(D))
        D.spaceBefore && w.push(""), n(u, w, D.commentBefore, !1), D.comment && (S = D.comment);
      else if (t.isPair(D)) {
        const T = t.isNode(D.key) ? D.key : null;
        T && (T.spaceBefore && w.push(""), n(u, w, T.commentBefore, !1), T.comment && (v = !0));
        const U = t.isNode(D.value) ? D.value : null;
        U ? (U.comment && (S = U.comment), U.commentBefore && (v = !0)) : D.value == null && T?.comment && (S = T.comment);
      }
      S && (v = !0);
      let C = r.stringify(D, g, () => S = null);
      v || (v = w.length > y || C.includes(`
`)), E < l.length - 1 ? C += "," : u.options.trailingComma && (u.options.lineWidth > 0 && (v || (v = w.reduce((T, U) => T + U.length + 2, 2) + (C.length + 2) > u.options.lineWidth)), v && (C += ",")), S && (C += i.lineComment(C, o, m(S))), w.push(C), y = w.length;
    }
    const { start: _, end: b } = f;
    if (w.length === 0) return _ + b;
    if (!v) {
      const E = w.reduce((D, S) => D + S.length + 2, 2);
      v = u.options.lineWidth > 0 && E > u.options.lineWidth;
    }
    if (v) {
      let E = _;
      for (const D of w) E += D ? `
${d}${c}${D}` : `
`;
      return `${E}
${c}${b}`;
    } else return `${_}${p}${w.join(" ")}${p}${b}`;
  }
  function n({ indent: l, options: { commentString: u } }, f, o, c) {
    if (o && c && (o = o.replace(/^\n+/, "")), o) {
      const d = i.indentComment(u(o), l);
      f.push(d.trimStart());
    }
  }
  e.stringifyCollection = s;
})), Wr = /* @__PURE__ */ j(((e) => {
  var t = Yd(), r = Wd(), i = el(), s = tt(), h = Gr(), a = Ct();
  function n(u, f) {
    const o = s.isScalar(f) ? f.value : f;
    for (const c of u) if (s.isPair(c) && (c.key === f || c.key === o || s.isScalar(c.key) && c.key.value === o))
      return c;
  }
  var l = class extends i.Collection {
    static get tagName() {
      return "tag:yaml.org,2002:map";
    }
    constructor(u) {
      super(s.MAP, u), this.items = [];
    }
    static from(u, f, o) {
      const { keepUndefined: c, replacer: d } = o, p = new this(u), m = (g, v) => {
        if (typeof d == "function") v = d.call(f, g, v);
        else if (Array.isArray(d) && !d.includes(g)) return;
        (v !== void 0 || c) && p.items.push(h.createPair(g, v, o));
      };
      if (f instanceof Map) for (const [g, v] of f) m(g, v);
      else if (f && typeof f == "object") for (const g of Object.keys(f)) m(g, f[g]);
      return typeof u.sortMapEntries == "function" && p.items.sort(u.sortMapEntries), p;
    }
    add(u, f) {
      let o;
      s.isPair(u) ? o = u : !u || typeof u != "object" || !("key" in u) ? o = new h.Pair(u, u?.value) : o = new h.Pair(u.key, u.value);
      const c = n(this.items, o.key), d = this.schema?.sortMapEntries;
      if (c) {
        if (!f) throw new Error(`Key ${o.key} already set`);
        s.isScalar(c.value) && a.isScalarValue(o.value) ? c.value.value = o.value : c.value = o.value;
      } else if (d) {
        const p = this.items.findIndex((m) => d(o, m) < 0);
        p === -1 ? this.items.push(o) : this.items.splice(p, 0, o);
      } else this.items.push(o);
    }
    delete(u) {
      const f = n(this.items, u);
      return f ? this.items.splice(this.items.indexOf(f), 1).length > 0 : !1;
    }
    get(u, f) {
      const o = n(this.items, u)?.value;
      return (!f && s.isScalar(o) ? o.value : o) ?? void 0;
    }
    has(u) {
      return !!n(this.items, u);
    }
    set(u, f) {
      this.add(new h.Pair(u, f), !0);
    }
    toJSON(u, f, o) {
      const c = o ? new o() : f?.mapAsMap ? /* @__PURE__ */ new Map() : {};
      f?.onCreate && f.onCreate(c);
      for (const d of this.items) r.addPairToJSMap(f, c, d);
      return c;
    }
    toString(u, f, o) {
      if (!u) return JSON.stringify(this);
      for (const c of this.items) if (!s.isPair(c)) throw new Error(`Map items must all be pairs; found ${JSON.stringify(c)} instead`);
      return !u.allNullValues && this.hasAllNullValues(!1) && (u = Object.assign({}, u, { allNullValues: !0 })), t.stringifyCollection(this, u, {
        blockItemPrefix: "",
        flowChars: {
          start: "{",
          end: "}"
        },
        itemIndent: u.indent || "",
        onChompKeep: o,
        onComment: f
      });
    }
  };
  e.YAMLMap = l, e.findPair = n;
})), _n = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Wr(), i = {
    collection: "map",
    default: !0,
    nodeClass: r.YAMLMap,
    tag: "tag:yaml.org,2002:map",
    resolve(s, h) {
      return t.isMap(s) || h("Expected a mapping for this tag"), s;
    },
    createNode: (s, h, a) => r.YAMLMap.from(s, h, a)
  };
  e.map = i;
})), Vr = /* @__PURE__ */ j(((e) => {
  var t = xs(), r = Yd(), i = el(), s = tt(), h = Ct(), a = zr(), n = class extends i.Collection {
    static get tagName() {
      return "tag:yaml.org,2002:seq";
    }
    constructor(u) {
      super(s.SEQ, u), this.items = [];
    }
    add(u) {
      this.items.push(u);
    }
    delete(u) {
      const f = l(u);
      return typeof f != "number" ? !1 : this.items.splice(f, 1).length > 0;
    }
    get(u, f) {
      const o = l(u);
      if (typeof o != "number") return;
      const c = this.items[o];
      return !f && s.isScalar(c) ? c.value : c;
    }
    has(u) {
      const f = l(u);
      return typeof f == "number" && f < this.items.length;
    }
    set(u, f) {
      const o = l(u);
      if (typeof o != "number") throw new Error(`Expected a valid index, not ${u}.`);
      const c = this.items[o];
      s.isScalar(c) && h.isScalarValue(f) ? c.value = f : this.items[o] = f;
    }
    toJSON(u, f) {
      const o = [];
      f?.onCreate && f.onCreate(o);
      let c = 0;
      for (const d of this.items) o.push(a.toJS(d, String(c++), f));
      return o;
    }
    toString(u, f, o) {
      return u ? r.stringifyCollection(this, u, {
        blockItemPrefix: "- ",
        flowChars: {
          start: "[",
          end: "]"
        },
        itemIndent: (u.indent || "") + "  ",
        onChompKeep: o,
        onComment: f
      }) : JSON.stringify(this);
    }
    static from(u, f, o) {
      const { replacer: c } = o, d = new this(u);
      if (f && Symbol.iterator in Object(f)) {
        let p = 0;
        for (let m of f) {
          if (typeof c == "function") {
            const g = f instanceof Set ? m : String(p++);
            m = c.call(f, g, m);
          }
          d.items.push(t.createNode(m, void 0, o));
        }
      }
      return d;
    }
  };
  function l(u) {
    let f = s.isScalar(u) ? u.value : u;
    return f && typeof f == "string" && (f = Number(f)), typeof f == "number" && Number.isInteger(f) && f >= 0 ? f : null;
  }
  e.YAMLSeq = n;
})), En = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Vr(), i = {
    collection: "seq",
    default: !0,
    nodeClass: r.YAMLSeq,
    tag: "tag:yaml.org,2002:seq",
    resolve(s, h) {
      return t.isSeq(s) || h("Expected a sequence for this tag"), s;
    },
    createNode: (s, h, a) => r.YAMLSeq.from(s, h, a)
  };
  e.seq = i;
})), js = /* @__PURE__ */ j(((e) => {
  var t = Ps(), r = {
    identify: (i) => typeof i == "string",
    default: !0,
    tag: "tag:yaml.org,2002:str",
    resolve: (i) => i,
    stringify(i, s, h, a) {
      return s = Object.assign({ actualString: !0 }, s), t.stringifyString(i, s, h, a);
    }
  };
  e.string = r;
})), rl = /* @__PURE__ */ j(((e) => {
  var t = Ct(), r = {
    identify: (i) => i == null,
    createNode: () => new t.Scalar(null),
    default: !0,
    tag: "tag:yaml.org,2002:null",
    test: /^(?:~|[Nn]ull|NULL)?$/,
    resolve: () => new t.Scalar(null),
    stringify: ({ source: i }, s) => typeof i == "string" && r.test.test(i) ? i : s.options.nullStr
  };
  e.nullTag = r;
})), Kd = /* @__PURE__ */ j(((e) => {
  var t = Ct(), r = {
    identify: (i) => typeof i == "boolean",
    default: !0,
    tag: "tag:yaml.org,2002:bool",
    test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,
    resolve: (i) => new t.Scalar(i[0] === "t" || i[0] === "T"),
    stringify({ source: i, value: s }, h) {
      return i && r.test.test(i) && s === (i[0] === "t" || i[0] === "T") ? i : s ? h.options.trueStr : h.options.falseStr;
    }
  };
  e.boolTag = r;
})), bn = /* @__PURE__ */ j(((e) => {
  function t({ format: r, minFractionDigits: i, tag: s, value: h }) {
    if (typeof h == "bigint") return String(h);
    const a = typeof h == "number" ? h : Number(h);
    if (!isFinite(a)) return isNaN(a) ? ".nan" : a < 0 ? "-.inf" : ".inf";
    let n = Object.is(h, -0) ? "-0" : JSON.stringify(h);
    if (!r && i && (!s || s === "tag:yaml.org,2002:float") && /^\d/.test(n)) {
      let l = n.indexOf(".");
      l < 0 && (l = n.length, n += ".");
      let u = i - (n.length - l - 1);
      for (; u-- > 0; ) n += "0";
    }
    return n;
  }
  e.stringifyNumber = t;
})), Zd = /* @__PURE__ */ j(((e) => {
  var t = Ct(), r = bn(), i = {
    identify: (a) => typeof a == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
    resolve: (a) => a.slice(-3).toLowerCase() === "nan" ? NaN : a[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY,
    stringify: r.stringifyNumber
  }, s = {
    identify: (a) => typeof a == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    format: "EXP",
    test: /^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,
    resolve: (a) => parseFloat(a),
    stringify(a) {
      const n = Number(a.value);
      return isFinite(n) ? n.toExponential() : r.stringifyNumber(a);
    }
  }, h = {
    identify: (a) => typeof a == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    test: /^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,
    resolve(a) {
      const n = new t.Scalar(parseFloat(a)), l = a.indexOf(".");
      return l !== -1 && a[a.length - 1] === "0" && (n.minFractionDigits = a.length - l - 1), n;
    },
    stringify: r.stringifyNumber
  };
  e.float = h, e.floatExp = s, e.floatNaN = i;
})), Jd = /* @__PURE__ */ j(((e) => {
  var t = bn(), r = (l) => typeof l == "bigint" || Number.isInteger(l), i = (l, u, f, { intAsBigInt: o }) => o ? BigInt(l) : parseInt(l.substring(u), f);
  function s(l, u, f) {
    const { value: o } = l;
    return r(o) && o >= 0 ? f + o.toString(u) : t.stringifyNumber(l);
  }
  var h = {
    identify: (l) => r(l) && l >= 0,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "OCT",
    test: /^0o[0-7]+$/,
    resolve: (l, u, f) => i(l, 2, 8, f),
    stringify: (l) => s(l, 8, "0o")
  }, a = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    test: /^[-+]?[0-9]+$/,
    resolve: (l, u, f) => i(l, 0, 10, f),
    stringify: t.stringifyNumber
  }, n = {
    identify: (l) => r(l) && l >= 0,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "HEX",
    test: /^0x[0-9a-fA-F]+$/,
    resolve: (l, u, f) => i(l, 2, 16, f),
    stringify: (l) => s(l, 16, "0x")
  };
  e.int = a, e.intHex = n, e.intOct = h;
})), nD = /* @__PURE__ */ j(((e) => {
  var t = _n(), r = rl(), i = En(), s = js(), h = Kd(), a = Zd(), n = Jd(), l = [
    t.map,
    i.seq,
    s.string,
    r.nullTag,
    h.boolTag,
    n.intOct,
    n.int,
    n.intHex,
    a.floatNaN,
    a.floatExp,
    a.float
  ];
  e.schema = l;
})), sD = /* @__PURE__ */ j(((e) => {
  var t = Ct(), r = _n(), i = En();
  function s(l) {
    return typeof l == "bigint" || Number.isInteger(l);
  }
  var h = ({ value: l }) => JSON.stringify(l), a = [
    {
      identify: (l) => typeof l == "string",
      default: !0,
      tag: "tag:yaml.org,2002:str",
      resolve: (l) => l,
      stringify: h
    },
    {
      identify: (l) => l == null,
      createNode: () => new t.Scalar(null),
      default: !0,
      tag: "tag:yaml.org,2002:null",
      test: /^null$/,
      resolve: () => null,
      stringify: h
    },
    {
      identify: (l) => typeof l == "boolean",
      default: !0,
      tag: "tag:yaml.org,2002:bool",
      test: /^true$|^false$/,
      resolve: (l) => l === "true",
      stringify: h
    },
    {
      identify: s,
      default: !0,
      tag: "tag:yaml.org,2002:int",
      test: /^-?(?:0|[1-9][0-9]*)$/,
      resolve: (l, u, { intAsBigInt: f }) => f ? BigInt(l) : parseInt(l, 10),
      stringify: ({ value: l }) => s(l) ? l.toString() : JSON.stringify(l)
    },
    {
      identify: (l) => typeof l == "number",
      default: !0,
      tag: "tag:yaml.org,2002:float",
      test: /^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,
      resolve: (l) => parseFloat(l),
      stringify: h
    }
  ], n = [r.map, i.seq].concat(a, {
    default: !0,
    tag: "",
    test: /^/,
    resolve(l, u) {
      return u(`Unresolved plain scalar ${JSON.stringify(l)}`), l;
    }
  });
  e.schema = n;
})), Xd = /* @__PURE__ */ j(((e) => {
  var t = ve("buffer"), r = Ct(), i = Ps(), s = {
    identify: (h) => h instanceof Uint8Array,
    default: !1,
    tag: "tag:yaml.org,2002:binary",
    resolve(h, a) {
      if (typeof t.Buffer == "function") return t.Buffer.from(h, "base64");
      if (typeof atob == "function") {
        const n = atob(h.replace(/[\n\r]/g, "")), l = new Uint8Array(n.length);
        for (let u = 0; u < n.length; ++u) l[u] = n.charCodeAt(u);
        return l;
      } else
        return a("This environment does not support reading binary tags; either Buffer or atob is required"), h;
    },
    stringify({ comment: h, type: a, value: n }, l, u, f) {
      if (!n) return "";
      const o = n;
      let c;
      if (typeof t.Buffer == "function") c = o instanceof t.Buffer ? o.toString("base64") : t.Buffer.from(o.buffer).toString("base64");
      else if (typeof btoa == "function") {
        let d = "";
        for (let p = 0; p < o.length; ++p) d += String.fromCharCode(o[p]);
        c = btoa(d);
      } else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");
      if (a ?? (a = r.Scalar.BLOCK_LITERAL), a !== r.Scalar.QUOTE_DOUBLE) {
        const d = Math.max(l.options.lineWidth - l.indent.length, l.options.minContentWidth), p = Math.ceil(c.length / d), m = new Array(p);
        for (let g = 0, v = 0; g < p; ++g, v += d) m[g] = c.substr(v, d);
        c = m.join(a === r.Scalar.BLOCK_LITERAL ? `
` : " ");
      }
      return i.stringifyString({
        comment: h,
        type: a,
        value: c
      }, l, u, f);
    }
  };
  e.binary = s;
})), il = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Gr(), i = Ct(), s = Vr();
  function h(l, u) {
    if (t.isSeq(l)) for (let f = 0; f < l.items.length; ++f) {
      let o = l.items[f];
      if (!t.isPair(o)) {
        if (t.isMap(o)) {
          o.items.length > 1 && u("Each pair must have its own sequence indicator");
          const c = o.items[0] || new r.Pair(new i.Scalar(null));
          if (o.commentBefore && (c.key.commentBefore = c.key.commentBefore ? `${o.commentBefore}
${c.key.commentBefore}` : o.commentBefore), o.comment) {
            const d = c.value ?? c.key;
            d.comment = d.comment ? `${o.comment}
${d.comment}` : o.comment;
          }
          o = c;
        }
        l.items[f] = t.isPair(o) ? o : new r.Pair(o);
      }
    }
    else u("Expected a sequence for this tag");
    return l;
  }
  function a(l, u, f) {
    const { replacer: o } = f, c = new s.YAMLSeq(l);
    c.tag = "tag:yaml.org,2002:pairs";
    let d = 0;
    if (u && Symbol.iterator in Object(u)) for (let p of u) {
      typeof o == "function" && (p = o.call(u, String(d++), p));
      let m, g;
      if (Array.isArray(p)) if (p.length === 2)
        m = p[0], g = p[1];
      else throw new TypeError(`Expected [key, value] tuple: ${p}`);
      else if (p && p instanceof Object) {
        const v = Object.keys(p);
        if (v.length === 1)
          m = v[0], g = p[m];
        else throw new TypeError(`Expected tuple with one key, not ${v.length} keys`);
      } else m = p;
      c.items.push(r.createPair(m, g, f));
    }
    return c;
  }
  var n = {
    collection: "seq",
    default: !1,
    tag: "tag:yaml.org,2002:pairs",
    resolve: h,
    createNode: a
  };
  e.createPairs = a, e.pairs = n, e.resolvePairs = h;
})), Qd = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = zr(), i = Wr(), s = Vr(), h = il(), a = class ep extends s.YAMLSeq {
    constructor() {
      super(), this.add = i.YAMLMap.prototype.add.bind(this), this.delete = i.YAMLMap.prototype.delete.bind(this), this.get = i.YAMLMap.prototype.get.bind(this), this.has = i.YAMLMap.prototype.has.bind(this), this.set = i.YAMLMap.prototype.set.bind(this), this.tag = ep.tag;
    }
    toJSON(u, f) {
      if (!f) return super.toJSON(u);
      const o = /* @__PURE__ */ new Map();
      f?.onCreate && f.onCreate(o);
      for (const c of this.items) {
        let d, p;
        if (t.isPair(c) ? (d = r.toJS(c.key, "", f), p = r.toJS(c.value, d, f)) : d = r.toJS(c, "", f), o.has(d)) throw new Error("Ordered maps must not include duplicate keys");
        o.set(d, p);
      }
      return o;
    }
    static from(u, f, o) {
      const c = h.createPairs(u, f, o), d = new this();
      return d.items = c.items, d;
    }
  };
  a.tag = "tag:yaml.org,2002:omap";
  var n = {
    collection: "seq",
    identify: (l) => l instanceof Map,
    nodeClass: a,
    default: !1,
    tag: "tag:yaml.org,2002:omap",
    resolve(l, u) {
      const f = h.resolvePairs(l, u), o = [];
      for (const { key: c } of f.items) t.isScalar(c) && (o.includes(c.value) ? u(`Ordered maps must not include duplicate keys: ${c.value}`) : o.push(c.value));
      return Object.assign(new a(), f);
    },
    createNode: (l, u, f) => a.from(l, u, f)
  };
  e.YAMLOMap = a, e.omap = n;
})), aD = /* @__PURE__ */ j(((e) => {
  var t = Ct();
  function r({ value: h, source: a }, n) {
    return a && (h ? i : s).test.test(a) ? a : h ? n.options.trueStr : n.options.falseStr;
  }
  var i = {
    identify: (h) => h === !0,
    default: !0,
    tag: "tag:yaml.org,2002:bool",
    test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,
    resolve: () => new t.Scalar(!0),
    stringify: r
  }, s = {
    identify: (h) => h === !1,
    default: !0,
    tag: "tag:yaml.org,2002:bool",
    test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,
    resolve: () => new t.Scalar(!1),
    stringify: r
  };
  e.falseTag = s, e.trueTag = i;
})), oD = /* @__PURE__ */ j(((e) => {
  var t = Ct(), r = bn(), i = {
    identify: (a) => typeof a == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
    resolve: (a) => a.slice(-3).toLowerCase() === "nan" ? NaN : a[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY,
    stringify: r.stringifyNumber
  }, s = {
    identify: (a) => typeof a == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    format: "EXP",
    test: /^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,
    resolve: (a) => parseFloat(a.replace(/_/g, "")),
    stringify(a) {
      const n = Number(a.value);
      return isFinite(n) ? n.toExponential() : r.stringifyNumber(a);
    }
  }, h = {
    identify: (a) => typeof a == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    test: /^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,
    resolve(a) {
      const n = new t.Scalar(parseFloat(a.replace(/_/g, ""))), l = a.indexOf(".");
      if (l !== -1) {
        const u = a.substring(l + 1).replace(/_/g, "");
        u[u.length - 1] === "0" && (n.minFractionDigits = u.length);
      }
      return n;
    },
    stringify: r.stringifyNumber
  };
  e.float = h, e.floatExp = s, e.floatNaN = i;
})), uD = /* @__PURE__ */ j(((e) => {
  var t = bn(), r = (u) => typeof u == "bigint" || Number.isInteger(u);
  function i(u, f, o, { intAsBigInt: c }) {
    const d = u[0];
    if ((d === "-" || d === "+") && (f += 1), u = u.substring(f).replace(/_/g, ""), c) {
      switch (o) {
        case 2:
          u = `0b${u}`;
          break;
        case 8:
          u = `0o${u}`;
          break;
        case 16:
          u = `0x${u}`;
          break;
      }
      const m = BigInt(u);
      return d === "-" ? BigInt(-1) * m : m;
    }
    const p = parseInt(u, o);
    return d === "-" ? -1 * p : p;
  }
  function s(u, f, o) {
    const { value: c } = u;
    if (r(c)) {
      const d = c.toString(f);
      return c < 0 ? "-" + o + d.substr(1) : o + d;
    }
    return t.stringifyNumber(u);
  }
  var h = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "BIN",
    test: /^[-+]?0b[0-1_]+$/,
    resolve: (u, f, o) => i(u, 2, 2, o),
    stringify: (u) => s(u, 2, "0b")
  }, a = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "OCT",
    test: /^[-+]?0[0-7_]+$/,
    resolve: (u, f, o) => i(u, 1, 8, o),
    stringify: (u) => s(u, 8, "0")
  }, n = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    test: /^[-+]?[0-9][0-9_]*$/,
    resolve: (u, f, o) => i(u, 0, 10, o),
    stringify: t.stringifyNumber
  }, l = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "HEX",
    test: /^[-+]?0x[0-9a-fA-F_]+$/,
    resolve: (u, f, o) => i(u, 2, 16, o),
    stringify: (u) => s(u, 16, "0x")
  };
  e.int = n, e.intBin = h, e.intHex = l, e.intOct = a;
})), tp = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Gr(), i = Wr(), s = class rp extends i.YAMLMap {
    constructor(n) {
      super(n), this.tag = rp.tag;
    }
    add(n) {
      let l;
      t.isPair(n) ? l = n : n && typeof n == "object" && "key" in n && "value" in n && n.value === null ? l = new r.Pair(n.key, null) : l = new r.Pair(n, null), i.findPair(this.items, l.key) || this.items.push(l);
    }
    get(n, l) {
      const u = i.findPair(this.items, n);
      return !l && t.isPair(u) ? t.isScalar(u.key) ? u.key.value : u.key : u;
    }
    set(n, l) {
      if (typeof l != "boolean") throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof l}`);
      const u = i.findPair(this.items, n);
      u && !l ? this.items.splice(this.items.indexOf(u), 1) : !u && l && this.items.push(new r.Pair(n));
    }
    toJSON(n, l) {
      return super.toJSON(n, l, Set);
    }
    toString(n, l, u) {
      if (!n) return JSON.stringify(this);
      if (this.hasAllNullValues(!0)) return super.toString(Object.assign({}, n, { allNullValues: !0 }), l, u);
      throw new Error("Set items must all have null values");
    }
    static from(n, l, u) {
      const { replacer: f } = u, o = new this(n);
      if (l && Symbol.iterator in Object(l)) for (let c of l)
        typeof f == "function" && (c = f.call(l, c, c)), o.items.push(r.createPair(c, null, u));
      return o;
    }
  };
  s.tag = "tag:yaml.org,2002:set";
  var h = {
    collection: "map",
    identify: (a) => a instanceof Set,
    nodeClass: s,
    default: !1,
    tag: "tag:yaml.org,2002:set",
    createNode: (a, n, l) => s.from(a, n, l),
    resolve(a, n) {
      if (t.isMap(a)) {
        if (a.hasAllNullValues(!0)) return Object.assign(new s(), a);
        n("Set items must all have null values");
      } else n("Expected a mapping for this tag");
      return a;
    }
  };
  e.YAMLSet = s, e.set = h;
})), ip = /* @__PURE__ */ j(((e) => {
  var t = bn();
  function r(n, l) {
    const u = n[0], f = u === "-" || u === "+" ? n.substring(1) : n, o = (d) => l ? BigInt(d) : Number(d), c = f.replace(/_/g, "").split(":").reduce((d, p) => d * o(60) + o(p), o(0));
    return u === "-" ? o(-1) * c : c;
  }
  function i(n) {
    let { value: l } = n, u = (d) => d;
    if (typeof l == "bigint") u = (d) => BigInt(d);
    else if (isNaN(l) || !isFinite(l)) return t.stringifyNumber(n);
    let f = "";
    l < 0 && (f = "-", l *= u(-1));
    const o = u(60), c = [l % o];
    return l < 60 ? c.unshift(0) : (l = (l - c[0]) / o, c.unshift(l % o), l >= 60 && (l = (l - c[0]) / o, c.unshift(l))), f + c.map((d) => String(d).padStart(2, "0")).join(":").replace(/000000\d*$/, "");
  }
  var s = {
    identify: (n) => typeof n == "bigint" || Number.isInteger(n),
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "TIME",
    test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,
    resolve: (n, l, { intAsBigInt: u }) => r(n, u),
    stringify: i
  }, h = {
    identify: (n) => typeof n == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    format: "TIME",
    test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,
    resolve: (n) => r(n, !1),
    stringify: i
  }, a = {
    identify: (n) => n instanceof Date,
    default: !0,
    tag: "tag:yaml.org,2002:timestamp",
    test: RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),
    resolve(n) {
      const l = n.match(a.test);
      if (!l) throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");
      const [, u, f, o, c, d, p] = l.map(Number), m = l[7] ? Number((l[7] + "00").substr(1, 3)) : 0;
      let g = Date.UTC(u, f - 1, o, c || 0, d || 0, p || 0, m);
      const v = l[8];
      if (v && v !== "Z") {
        let y = r(v, !1);
        Math.abs(y) < 30 && (y *= 60), g -= 6e4 * y;
      }
      return new Date(g);
    },
    stringify: ({ value: n }) => n?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
  };
  e.floatTime = h, e.intTime = s, e.timestamp = a;
})), lD = /* @__PURE__ */ j(((e) => {
  var t = _n(), r = rl(), i = En(), s = js(), h = Xd(), a = aD(), n = oD(), l = uD(), u = tl(), f = Qd(), o = il(), c = tp(), d = ip(), p = [
    t.map,
    i.seq,
    s.string,
    r.nullTag,
    a.trueTag,
    a.falseTag,
    l.intBin,
    l.intOct,
    l.int,
    l.intHex,
    n.floatNaN,
    n.floatExp,
    n.float,
    h.binary,
    u.merge,
    f.omap,
    o.pairs,
    c.set,
    d.intTime,
    d.floatTime,
    d.timestamp
  ];
  e.schema = p;
})), cD = /* @__PURE__ */ j(((e) => {
  var t = _n(), r = rl(), i = En(), s = js(), h = Kd(), a = Zd(), n = Jd(), l = nD(), u = sD(), f = Xd(), o = tl(), c = Qd(), d = il(), p = lD(), m = tp(), g = ip(), v = /* @__PURE__ */ new Map([
    ["core", l.schema],
    ["failsafe", [
      t.map,
      i.seq,
      s.string
    ]],
    ["json", u.schema],
    ["yaml11", p.schema],
    ["yaml-1.1", p.schema]
  ]), y = {
    binary: f.binary,
    bool: h.boolTag,
    float: a.float,
    floatExp: a.floatExp,
    floatNaN: a.floatNaN,
    floatTime: g.floatTime,
    int: n.int,
    intHex: n.intHex,
    intOct: n.intOct,
    intTime: g.intTime,
    map: t.map,
    merge: o.merge,
    null: r.nullTag,
    omap: c.omap,
    pairs: d.pairs,
    seq: i.seq,
    set: m.set,
    timestamp: g.timestamp
  }, w = {
    "tag:yaml.org,2002:binary": f.binary,
    "tag:yaml.org,2002:merge": o.merge,
    "tag:yaml.org,2002:omap": c.omap,
    "tag:yaml.org,2002:pairs": d.pairs,
    "tag:yaml.org,2002:set": m.set,
    "tag:yaml.org,2002:timestamp": g.timestamp
  };
  function _(b, E, D) {
    const S = v.get(E);
    if (S && !b) return D && !S.includes(o.merge) ? S.concat(o.merge) : S.slice();
    let C = S;
    if (!C) if (Array.isArray(b)) C = [];
    else {
      const T = Array.from(v.keys()).filter((U) => U !== "yaml11").map((U) => JSON.stringify(U)).join(", ");
      throw new Error(`Unknown schema "${E}"; use one of ${T} or define customTags array`);
    }
    if (Array.isArray(b)) for (const T of b) C = C.concat(T);
    else typeof b == "function" && (C = b(C.slice()));
    return D && (C = C.concat(o.merge)), C.reduce((T, U) => {
      const $ = typeof U == "string" ? y[U] : U;
      if (!$) {
        const z = JSON.stringify(U), Y = Object.keys(y).map((H) => JSON.stringify(H)).join(", ");
        throw new Error(`Unknown custom tag ${z}; use one of ${Y}`);
      }
      return T.includes($) || T.push($), T;
    }, []);
  }
  e.coreKnownTags = w, e.getTags = _;
})), np = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = _n(), i = En(), s = js(), h = cD(), a = (l, u) => l.key < u.key ? -1 : l.key > u.key ? 1 : 0, n = class sp {
    constructor({ compat: u, customTags: f, merge: o, resolveKnownTags: c, schema: d, sortMapEntries: p, toStringDefaults: m }) {
      this.compat = Array.isArray(u) ? h.getTags(u, "compat") : u ? h.getTags(null, u) : null, this.name = typeof d == "string" && d || "core", this.knownTags = c ? h.coreKnownTags : {}, this.tags = h.getTags(f, this.name, o), this.toStringOptions = m ?? null, Object.defineProperty(this, t.MAP, { value: r.map }), Object.defineProperty(this, t.SCALAR, { value: s.string }), Object.defineProperty(this, t.SEQ, { value: i.seq }), this.sortMapEntries = typeof p == "function" ? p : p === !0 ? a : null;
    }
    clone() {
      const u = Object.create(sp.prototype, Object.getOwnPropertyDescriptors(this));
      return u.tags = this.tags.slice(), u;
    }
  };
  e.Schema = n;
})), hD = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Ms(), i = Bs();
  function s(h, a) {
    const n = [];
    let l = a.directives === !0;
    if (a.directives !== !1 && h.directives) {
      const d = h.directives.toString(h);
      d ? (n.push(d), l = !0) : h.directives.docStart && (l = !0);
    }
    l && n.push("---");
    const u = r.createStringifyContext(h, a), { commentString: f } = u.options;
    if (h.commentBefore) {
      n.length !== 1 && n.unshift("");
      const d = f(h.commentBefore);
      n.unshift(i.indentComment(d, ""));
    }
    let o = !1, c = null;
    if (h.contents) {
      if (t.isNode(h.contents)) {
        if (h.contents.spaceBefore && l && n.push(""), h.contents.commentBefore) {
          const m = f(h.contents.commentBefore);
          n.push(i.indentComment(m, ""));
        }
        u.forceBlockIndent = !!h.comment, c = h.contents.comment;
      }
      const d = c ? void 0 : () => o = !0;
      let p = r.stringify(h.contents, u, () => c = null, d);
      c && (p += i.lineComment(p, "", f(c))), (p[0] === "|" || p[0] === ">") && n[n.length - 1] === "---" ? n[n.length - 1] = `--- ${p}` : n.push(p);
    } else n.push(r.stringify(h.contents, u));
    if (h.directives?.docEnd) if (h.comment) {
      const d = f(h.comment);
      d.includes(`
`) ? (n.push("..."), n.push(i.indentComment(d, ""))) : n.push(`... ${d}`);
    } else n.push("...");
    else {
      let d = h.comment;
      d && o && (d = d.replace(/^\n+/, "")), d && ((!o || c) && n[n.length - 1] !== "" && n.push(""), n.push(i.indentComment(f(d), "")));
    }
    return n.join(`
`) + `
`;
  }
  e.stringifyDocument = s;
})), Us = /* @__PURE__ */ j(((e) => {
  var t = $s(), r = el(), i = tt(), s = Gr(), h = zr(), a = np(), n = hD(), l = Xu(), u = zd(), f = xs(), o = qd(), c = class ap {
    constructor(m, g, v) {
      this.commentBefore = null, this.comment = null, this.errors = [], this.warnings = [], Object.defineProperty(this, i.NODE_TYPE, { value: i.DOC });
      let y = null;
      typeof g == "function" || Array.isArray(g) ? y = g : v === void 0 && g && (v = g, g = void 0);
      const w = Object.assign({
        intAsBigInt: !1,
        keepSourceTokens: !1,
        logLevel: "warn",
        prettyErrors: !0,
        strict: !0,
        stringKeys: !1,
        uniqueKeys: !0,
        version: "1.2"
      }, v);
      this.options = w;
      let { version: _ } = w;
      v?._directives ? (this.directives = v._directives.atDocument(), this.directives.yaml.explicit && (_ = this.directives.yaml.version)) : this.directives = new o.Directives({ version: _ }), this.setSchema(_, v), this.contents = m === void 0 ? null : this.createNode(m, y, v);
    }
    clone() {
      const m = Object.create(ap.prototype, { [i.NODE_TYPE]: { value: i.DOC } });
      return m.commentBefore = this.commentBefore, m.comment = this.comment, m.errors = this.errors.slice(), m.warnings = this.warnings.slice(), m.options = Object.assign({}, this.options), this.directives && (m.directives = this.directives.clone()), m.schema = this.schema.clone(), m.contents = i.isNode(this.contents) ? this.contents.clone(m.schema) : this.contents, this.range && (m.range = this.range.slice()), m;
    }
    add(m) {
      d(this.contents) && this.contents.add(m);
    }
    addIn(m, g) {
      d(this.contents) && this.contents.addIn(m, g);
    }
    createAlias(m, g) {
      if (!m.anchor) {
        const v = l.anchorNames(this);
        m.anchor = !g || v.has(g) ? l.findNewAnchor(g || "a", v) : g;
      }
      return new t.Alias(m.anchor);
    }
    createNode(m, g, v) {
      let y;
      if (typeof g == "function")
        m = g.call({ "": m }, "", m), y = g;
      else if (Array.isArray(g)) {
        const Y = (k) => typeof k == "number" || k instanceof String || k instanceof Number, H = g.filter(Y).map(String);
        H.length > 0 && (g = g.concat(H)), y = g;
      } else v === void 0 && g && (v = g, g = void 0);
      const { aliasDuplicateObjects: w, anchorPrefix: _, flow: b, keepUndefined: E, onTagObj: D, tag: S } = v ?? {}, { onAnchor: C, setAnchors: T, sourceObjects: U } = l.createNodeAnchors(this, _ || "a"), $ = {
        aliasDuplicateObjects: w ?? !0,
        keepUndefined: E ?? !1,
        onAnchor: C,
        onTagObj: D,
        replacer: y,
        schema: this.schema,
        sourceObjects: U
      }, z = f.createNode(m, S, $);
      return b && i.isCollection(z) && (z.flow = !0), T(), z;
    }
    createPair(m, g, v = {}) {
      const y = this.createNode(m, null, v), w = this.createNode(g, null, v);
      return new s.Pair(y, w);
    }
    delete(m) {
      return d(this.contents) ? this.contents.delete(m) : !1;
    }
    deleteIn(m) {
      return r.isEmptyPath(m) ? this.contents == null ? !1 : (this.contents = null, !0) : d(this.contents) ? this.contents.deleteIn(m) : !1;
    }
    get(m, g) {
      return i.isCollection(this.contents) ? this.contents.get(m, g) : void 0;
    }
    getIn(m, g) {
      return r.isEmptyPath(m) ? !g && i.isScalar(this.contents) ? this.contents.value : this.contents : i.isCollection(this.contents) ? this.contents.getIn(m, g) : void 0;
    }
    has(m) {
      return i.isCollection(this.contents) ? this.contents.has(m) : !1;
    }
    hasIn(m) {
      return r.isEmptyPath(m) ? this.contents !== void 0 : i.isCollection(this.contents) ? this.contents.hasIn(m) : !1;
    }
    set(m, g) {
      this.contents == null ? this.contents = r.collectionFromPath(this.schema, [m], g) : d(this.contents) && this.contents.set(m, g);
    }
    setIn(m, g) {
      r.isEmptyPath(m) ? this.contents = g : this.contents == null ? this.contents = r.collectionFromPath(this.schema, Array.from(m), g) : d(this.contents) && this.contents.setIn(m, g);
    }
    setSchema(m, g = {}) {
      typeof m == "number" && (m = String(m));
      let v;
      switch (m) {
        case "1.1":
          this.directives ? this.directives.yaml.version = "1.1" : this.directives = new o.Directives({ version: "1.1" }), v = {
            resolveKnownTags: !1,
            schema: "yaml-1.1"
          };
          break;
        case "1.2":
        case "next":
          this.directives ? this.directives.yaml.version = m : this.directives = new o.Directives({ version: m }), v = {
            resolveKnownTags: !0,
            schema: "core"
          };
          break;
        case null:
          this.directives && delete this.directives, v = null;
          break;
        default: {
          const y = JSON.stringify(m);
          throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${y}`);
        }
      }
      if (g.schema instanceof Object) this.schema = g.schema;
      else if (v) this.schema = new a.Schema(Object.assign(v, g));
      else throw new Error("With a null YAML version, the { schema: Schema } option is required");
    }
    toJS({ json: m, jsonArg: g, mapAsMap: v, maxAliasCount: y, onAnchor: w, reviver: _ } = {}) {
      const b = {
        anchors: /* @__PURE__ */ new Map(),
        doc: this,
        keep: !m,
        mapAsMap: v === !0,
        mapKeyWarned: !1,
        maxAliasCount: typeof y == "number" ? y : 100
      }, E = h.toJS(this.contents, g ?? "", b);
      if (typeof w == "function") for (const { count: D, res: S } of b.anchors.values()) w(S, D);
      return typeof _ == "function" ? u.applyReviver(_, { "": E }, "", E) : E;
    }
    toJSON(m, g) {
      return this.toJS({
        json: !0,
        jsonArg: m,
        mapAsMap: !1,
        onAnchor: g
      });
    }
    toString(m = {}) {
      if (this.errors.length > 0) throw new Error("Document with errors cannot be stringified");
      if ("indent" in m && (!Number.isInteger(m.indent) || Number(m.indent) <= 0)) {
        const g = JSON.stringify(m.indent);
        throw new Error(`"indent" option must be a positive integer, not ${g}`);
      }
      return n.stringifyDocument(this, m);
    }
  };
  function d(p) {
    if (i.isCollection(p)) return !0;
    throw new Error("Expected a YAML collection as document contents");
  }
  e.Document = c;
})), Hs = /* @__PURE__ */ j(((e) => {
  var t = class extends Error {
    constructor(h, a, n, l) {
      super(), this.name = h, this.code = n, this.message = l, this.pos = a;
    }
  }, r = class extends t {
    constructor(h, a, n) {
      super("YAMLParseError", h, a, n);
    }
  }, i = class extends t {
    constructor(h, a, n) {
      super("YAMLWarning", h, a, n);
    }
  }, s = (h, a) => (n) => {
    if (n.pos[0] === -1) return;
    n.linePos = n.pos.map((c) => a.linePos(c));
    const { line: l, col: u } = n.linePos[0];
    n.message += ` at line ${l}, column ${u}`;
    let f = u - 1, o = h.substring(a.lineStarts[l - 1], a.lineStarts[l]).replace(/[\n\r]+$/, "");
    if (f >= 60 && o.length > 80) {
      const c = Math.min(f - 39, o.length - 79);
      o = "…" + o.substring(c), f -= c - 1;
    }
    if (o.length > 80 && (o = o.substring(0, 79) + "…"), l > 1 && /^ *$/.test(o.substring(0, f))) {
      let c = h.substring(a.lineStarts[l - 2], a.lineStarts[l - 1]);
      c.length > 80 && (c = c.substring(0, 79) + `…
`), o = c + o;
    }
    if (/[^ ]/.test(o)) {
      let c = 1;
      const d = n.linePos[1];
      d?.line === l && d.col > u && (c = Math.max(1, Math.min(d.col - u, 80 - f)));
      const p = " ".repeat(f) + "^".repeat(c);
      n.message += `:

${o}
${p}
`;
    }
  };
  e.YAMLError = t, e.YAMLParseError = r, e.YAMLWarning = i, e.prettifyError = s;
})), qs = /* @__PURE__ */ j(((e) => {
  function t(r, { flow: i, indicator: s, next: h, offset: a, onError: n, parentIndent: l, startOnNewline: u }) {
    let f = !1, o = u, c = u, d = "", p = "", m = !1, g = !1, v = null, y = null, w = null, _ = null, b = null, E = null, D = null;
    for (const T of r)
      switch (g && (T.type !== "space" && T.type !== "newline" && T.type !== "comma" && n(T.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"), g = !1), v && (o && T.type !== "comment" && T.type !== "newline" && n(v, "TAB_AS_INDENT", "Tabs are not allowed as indentation"), v = null), T.type) {
        case "space":
          !i && (s !== "doc-start" || h?.type !== "flow-collection") && T.source.includes("	") && (v = T), c = !0;
          break;
        case "comment": {
          c || n(T, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters");
          const U = T.source.substring(1) || " ";
          d ? d += p + U : d = U, p = "", o = !1;
          break;
        }
        case "newline":
          o ? d ? d += T.source : (!E || s !== "seq-item-ind") && (f = !0) : p += T.source, o = !0, m = !0, (y || w) && (_ = T), c = !0;
          break;
        case "anchor":
          y && n(T, "MULTIPLE_ANCHORS", "A node can have at most one anchor"), T.source.endsWith(":") && n(T.offset + T.source.length - 1, "BAD_ALIAS", "Anchor ending in : is ambiguous", !0), y = T, D ?? (D = T.offset), o = !1, c = !1, g = !0;
          break;
        case "tag":
          w && n(T, "MULTIPLE_TAGS", "A node can have at most one tag"), w = T, D ?? (D = T.offset), o = !1, c = !1, g = !0;
          break;
        case s:
          (y || w) && n(T, "BAD_PROP_ORDER", `Anchors and tags must be after the ${T.source} indicator`), E && n(T, "UNEXPECTED_TOKEN", `Unexpected ${T.source} in ${i ?? "collection"}`), E = T, o = s === "seq-item-ind" || s === "explicit-key-ind", c = !1;
          break;
        case "comma":
          if (i) {
            b && n(T, "UNEXPECTED_TOKEN", `Unexpected , in ${i}`), b = T, o = !1, c = !1;
            break;
          }
        default:
          n(T, "UNEXPECTED_TOKEN", `Unexpected ${T.type} token`), o = !1, c = !1;
      }
    const S = r[r.length - 1], C = S ? S.offset + S.source.length : a;
    return g && h && h.type !== "space" && h.type !== "newline" && h.type !== "comma" && (h.type !== "scalar" || h.source !== "") && n(h.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"), v && (o && v.indent <= l || h?.type === "block-map" || h?.type === "block-seq") && n(v, "TAB_AS_INDENT", "Tabs are not allowed as indentation"), {
      comma: b,
      found: E,
      spaceBefore: f,
      comment: d,
      hasNewline: m,
      anchor: y,
      tag: w,
      newlineAfterProp: _,
      end: C,
      start: D ?? C
    };
  }
  e.resolveProps = t;
})), nl = /* @__PURE__ */ j(((e) => {
  function t(r) {
    if (!r) return null;
    switch (r.type) {
      case "alias":
      case "scalar":
      case "double-quoted-scalar":
      case "single-quoted-scalar":
        if (r.source.includes(`
`)) return !0;
        if (r.end) {
          for (const i of r.end) if (i.type === "newline") return !0;
        }
        return !1;
      case "flow-collection":
        for (const i of r.items) {
          for (const s of i.start) if (s.type === "newline") return !0;
          if (i.sep) {
            for (const s of i.sep) if (s.type === "newline") return !0;
          }
          if (t(i.key) || t(i.value)) return !0;
        }
        return !1;
      default:
        return !0;
    }
  }
  e.containsNewline = t;
})), op = /* @__PURE__ */ j(((e) => {
  var t = nl();
  function r(i, s, h) {
    if (s?.type === "flow-collection") {
      const a = s.end[0];
      a.indent === i && (a.source === "]" || a.source === "}") && t.containsNewline(s) && h(a, "BAD_INDENT", "Flow end indicator should be more indented than parent", !0);
    }
  }
  e.flowIndentCheck = r;
})), up = /* @__PURE__ */ j(((e) => {
  var t = tt();
  function r(i, s, h) {
    const { uniqueKeys: a } = i.options;
    if (a === !1) return !1;
    const n = typeof a == "function" ? a : (l, u) => l === u || t.isScalar(l) && t.isScalar(u) && l.value === u.value;
    return s.some((l) => n(l.key, h));
  }
  e.mapIncludes = r;
})), fD = /* @__PURE__ */ j(((e) => {
  var t = Gr(), r = Wr(), i = qs(), s = nl(), h = op(), a = up(), n = "All mapping items must start at the same column";
  function l({ composeNode: u, composeEmptyNode: f }, o, c, d, p) {
    const m = new (p?.nodeClass ?? r.YAMLMap)(o.schema);
    o.atRoot && (o.atRoot = !1);
    let g = c.offset, v = null;
    for (const y of c.items) {
      const { start: w, key: _, sep: b, value: E } = y, D = i.resolveProps(w, {
        indicator: "explicit-key-ind",
        next: _ ?? b?.[0],
        offset: g,
        onError: d,
        parentIndent: c.indent,
        startOnNewline: !0
      }), S = !D.found;
      if (S) {
        if (_ && (_.type === "block-seq" ? d(g, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key") : "indent" in _ && _.indent !== c.indent && d(g, "BAD_INDENT", n)), !D.anchor && !D.tag && !b) {
          v = D.end, D.comment && (m.comment ? m.comment += `
` + D.comment : m.comment = D.comment);
          continue;
        }
        (D.newlineAfterProp || s.containsNewline(_)) && d(_ ?? w[w.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
      } else D.found?.indent !== c.indent && d(g, "BAD_INDENT", n);
      o.atKey = !0;
      const C = D.end, T = _ ? u(o, _, D, d) : f(o, C, w, null, D, d);
      o.schema.compat && h.flowIndentCheck(c.indent, _, d), o.atKey = !1, a.mapIncludes(o, m.items, T) && d(C, "DUPLICATE_KEY", "Map keys must be unique");
      const U = i.resolveProps(b ?? [], {
        indicator: "map-value-ind",
        next: E,
        offset: T.range[2],
        onError: d,
        parentIndent: c.indent,
        startOnNewline: !_ || _.type === "block-scalar"
      });
      if (g = U.end, U.found) {
        S && (E?.type === "block-map" && !U.hasNewline && d(g, "BLOCK_AS_IMPLICIT_KEY", "Nested mappings are not allowed in compact mappings"), o.options.strict && D.start < U.found.offset - 1024 && d(T.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));
        const $ = E ? u(o, E, U, d) : f(o, g, b, null, U, d);
        o.schema.compat && h.flowIndentCheck(c.indent, E, d), g = $.range[2];
        const z = new t.Pair(T, $);
        o.options.keepSourceTokens && (z.srcToken = y), m.items.push(z);
      } else {
        S && d(T.range, "MISSING_CHAR", "Implicit map keys need to be followed by map values"), U.comment && (T.comment ? T.comment += `
` + U.comment : T.comment = U.comment);
        const $ = new t.Pair(T);
        o.options.keepSourceTokens && ($.srcToken = y), m.items.push($);
      }
    }
    return v && v < g && d(v, "IMPOSSIBLE", "Map comment with trailing content"), m.range = [
      c.offset,
      g,
      v ?? g
    ], m;
  }
  e.resolveBlockMap = l;
})), dD = /* @__PURE__ */ j(((e) => {
  var t = Vr(), r = qs(), i = op();
  function s({ composeNode: h, composeEmptyNode: a }, n, l, u, f) {
    const o = new (f?.nodeClass ?? t.YAMLSeq)(n.schema);
    n.atRoot && (n.atRoot = !1), n.atKey && (n.atKey = !1);
    let c = l.offset, d = null;
    for (const { start: p, value: m } of l.items) {
      const g = r.resolveProps(p, {
        indicator: "seq-item-ind",
        next: m,
        offset: c,
        onError: u,
        parentIndent: l.indent,
        startOnNewline: !0
      });
      if (!g.found) if (g.anchor || g.tag || m) m?.type === "block-seq" ? u(g.end, "BAD_INDENT", "All sequence items must start at the same column") : u(c, "MISSING_CHAR", "Sequence item without - indicator");
      else {
        d = g.end, g.comment && (o.comment = g.comment);
        continue;
      }
      const v = m ? h(n, m, g, u) : a(n, g.end, p, null, g, u);
      n.schema.compat && i.flowIndentCheck(l.indent, m, u), c = v.range[2], o.items.push(v);
    }
    return o.range = [
      l.offset,
      c,
      d ?? c
    ], o;
  }
  e.resolveBlockSeq = s;
})), wn = /* @__PURE__ */ j(((e) => {
  function t(r, i, s, h) {
    let a = "";
    if (r) {
      let n = !1, l = "";
      for (const u of r) {
        const { source: f, type: o } = u;
        switch (o) {
          case "space":
            n = !0;
            break;
          case "comment": {
            s && !n && h(u, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters");
            const c = f.substring(1) || " ";
            a ? a += l + c : a = c, l = "";
            break;
          }
          case "newline":
            a && (l += f), n = !0;
            break;
          default:
            h(u, "UNEXPECTED_TOKEN", `Unexpected ${o} at node end`);
        }
        i += f.length;
      }
    }
    return {
      comment: a,
      offset: i
    };
  }
  e.resolveEnd = t;
})), pD = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Gr(), i = Wr(), s = Vr(), h = wn(), a = qs(), n = nl(), l = up(), u = "Block collections are not allowed within flow collections", f = (c) => c && (c.type === "block-map" || c.type === "block-seq");
  function o({ composeNode: c, composeEmptyNode: d }, p, m, g, v) {
    const y = m.start.source === "{", w = y ? "flow map" : "flow sequence", _ = new (v?.nodeClass ?? (y ? i.YAMLMap : s.YAMLSeq))(p.schema);
    _.flow = !0;
    const b = p.atRoot;
    b && (p.atRoot = !1), p.atKey && (p.atKey = !1);
    let E = m.offset + m.start.source.length;
    for (let U = 0; U < m.items.length; ++U) {
      const $ = m.items[U], { start: z, key: Y, sep: H, value: k } = $, F = a.resolveProps(z, {
        flow: w,
        indicator: "explicit-key-ind",
        next: Y ?? H?.[0],
        offset: E,
        onError: g,
        parentIndent: m.indent,
        startOnNewline: !1
      });
      if (!F.found) {
        if (!F.anchor && !F.tag && !H && !k) {
          U === 0 && F.comma ? g(F.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${w}`) : U < m.items.length - 1 && g(F.start, "UNEXPECTED_TOKEN", `Unexpected empty item in ${w}`), F.comment && (_.comment ? _.comment += `
` + F.comment : _.comment = F.comment), E = F.end;
          continue;
        }
        !y && p.options.strict && n.containsNewline(Y) && g(Y, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line");
      }
      if (U === 0)
        F.comma && g(F.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${w}`);
      else if (F.comma || g(F.start, "MISSING_CHAR", `Missing , between ${w} items`), F.comment) {
        let q = "";
        e: for (const W of z) switch (W.type) {
          case "comma":
          case "space":
            break;
          case "comment":
            q = W.source.substring(1);
            break e;
          default:
            break e;
        }
        if (q) {
          let W = _.items[_.items.length - 1];
          t.isPair(W) && (W = W.value ?? W.key), W.comment ? W.comment += `
` + q : W.comment = q, F.comment = F.comment.substring(q.length + 1);
        }
      }
      if (!y && !H && !F.found) {
        const q = k ? c(p, k, F, g) : d(p, F.end, H, null, F, g);
        _.items.push(q), E = q.range[2], f(k) && g(q.range, "BLOCK_IN_FLOW", u);
      } else {
        p.atKey = !0;
        const q = F.end, W = Y ? c(p, Y, F, g) : d(p, q, z, null, F, g);
        f(Y) && g(W.range, "BLOCK_IN_FLOW", u), p.atKey = !1;
        const P = a.resolveProps(H ?? [], {
          flow: w,
          indicator: "map-value-ind",
          next: k,
          offset: W.range[2],
          onError: g,
          parentIndent: m.indent,
          startOnNewline: !1
        });
        if (P.found) {
          if (!y && !F.found && p.options.strict) {
            if (H) for (const O of H) {
              if (O === P.found) break;
              if (O.type === "newline") {
                g(O, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line");
                break;
              }
            }
            F.start < P.found.offset - 1024 && g(P.found, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit flow sequence key");
          }
        } else k && ("source" in k && k.source?.[0] === ":" ? g(k, "MISSING_CHAR", `Missing space after : in ${w}`) : g(P.start, "MISSING_CHAR", `Missing , or : between ${w} items`));
        const x = k ? c(p, k, P, g) : P.found ? d(p, P.end, H, null, P, g) : null;
        x ? f(k) && g(x.range, "BLOCK_IN_FLOW", u) : P.comment && (W.comment ? W.comment += `
` + P.comment : W.comment = P.comment);
        const L = new r.Pair(W, x);
        if (p.options.keepSourceTokens && (L.srcToken = $), y) {
          const O = _;
          l.mapIncludes(p, O.items, W) && g(q, "DUPLICATE_KEY", "Map keys must be unique"), O.items.push(L);
        } else {
          const O = new i.YAMLMap(p.schema);
          O.flow = !0, O.items.push(L);
          const N = (x ?? W).range;
          O.range = [
            W.range[0],
            N[1],
            N[2]
          ], _.items.push(O);
        }
        E = x ? x.range[2] : P.end;
      }
    }
    const D = y ? "}" : "]", [S, ...C] = m.end;
    let T = E;
    if (S?.source === D) T = S.offset + S.source.length;
    else {
      const U = w[0].toUpperCase() + w.substring(1), $ = b ? `${U} must end with a ${D}` : `${U} in block collection must be sufficiently indented and end with a ${D}`;
      g(E, b ? "MISSING_CHAR" : "BAD_INDENT", $), S && S.source.length !== 1 && C.unshift(S);
    }
    if (C.length > 0) {
      const U = h.resolveEnd(C, T, p.options.strict, g);
      U.comment && (_.comment ? _.comment += `
` + U.comment : _.comment = U.comment), _.range = [
        m.offset,
        T,
        U.offset
      ];
    } else _.range = [
      m.offset,
      T,
      T
    ];
    return _;
  }
  e.resolveFlowCollection = o;
})), gD = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Ct(), i = Wr(), s = Vr(), h = fD(), a = dD(), n = pD();
  function l(f, o, c, d, p, m) {
    const g = c.type === "block-map" ? h.resolveBlockMap(f, o, c, d, m) : c.type === "block-seq" ? a.resolveBlockSeq(f, o, c, d, m) : n.resolveFlowCollection(f, o, c, d, m), v = g.constructor;
    return p === "!" || p === v.tagName ? (g.tag = v.tagName, g) : (p && (g.tag = p), g);
  }
  function u(f, o, c, d, p) {
    const m = d.tag, g = m ? o.directives.tagName(m.source, (E) => p(m, "TAG_RESOLVE_FAILED", E)) : null;
    if (c.type === "block-seq") {
      const { anchor: E, newlineAfterProp: D } = d, S = E && m ? E.offset > m.offset ? E : m : E ?? m;
      S && (!D || D.offset < S.offset) && p(S, "MISSING_CHAR", "Missing newline after block sequence props");
    }
    const v = c.type === "block-map" ? "map" : c.type === "block-seq" ? "seq" : c.start.source === "{" ? "map" : "seq";
    if (!m || !g || g === "!" || g === i.YAMLMap.tagName && v === "map" || g === s.YAMLSeq.tagName && v === "seq") return l(f, o, c, p, g);
    let y = o.schema.tags.find((E) => E.tag === g && E.collection === v);
    if (!y) {
      const E = o.schema.knownTags[g];
      if (E?.collection === v)
        o.schema.tags.push(Object.assign({}, E, { default: !1 })), y = E;
      else
        return E ? p(m, "BAD_COLLECTION_TYPE", `${E.tag} used for ${v} collection, but expects ${E.collection ?? "scalar"}`, !0) : p(m, "TAG_RESOLVE_FAILED", `Unresolved tag: ${g}`, !0), l(f, o, c, p, g);
    }
    const w = l(f, o, c, p, g, y), _ = y.resolve?.(w, (E) => p(m, "TAG_RESOLVE_FAILED", E), o.options) ?? w, b = t.isNode(_) ? _ : new r.Scalar(_);
    return b.range = w.range, b.tag = g, y?.format && (b.format = y.format), b;
  }
  e.composeCollection = u;
})), lp = /* @__PURE__ */ j(((e) => {
  var t = Ct();
  function r(h, a, n) {
    const l = a.offset, u = i(a, h.options.strict, n);
    if (!u) return {
      value: "",
      type: null,
      comment: "",
      range: [
        l,
        l,
        l
      ]
    };
    const f = u.mode === ">" ? t.Scalar.BLOCK_FOLDED : t.Scalar.BLOCK_LITERAL, o = a.source ? s(a.source) : [];
    let c = o.length;
    for (let _ = o.length - 1; _ >= 0; --_) {
      const b = o[_][1];
      if (b === "" || b === "\r") c = _;
      else break;
    }
    if (c === 0) {
      const _ = u.chomp === "+" && o.length > 0 ? `
`.repeat(Math.max(1, o.length - 1)) : "";
      let b = l + u.length;
      return a.source && (b += a.source.length), {
        value: _,
        type: f,
        comment: u.comment,
        range: [
          l,
          b,
          b
        ]
      };
    }
    let d = a.indent + u.indent, p = a.offset + u.length, m = 0;
    for (let _ = 0; _ < c; ++_) {
      const [b, E] = o[_];
      if (E === "" || E === "\r")
        u.indent === 0 && b.length > d && (d = b.length);
      else {
        b.length < d && n(p + b.length, "MISSING_CHAR", "Block scalars with more-indented leading empty lines must use an explicit indentation indicator"), u.indent === 0 && (d = b.length), m = _, d === 0 && !h.atRoot && n(p, "BAD_INDENT", "Block scalar values in collections must be indented");
        break;
      }
      p += b.length + E.length + 1;
    }
    for (let _ = o.length - 1; _ >= c; --_) o[_][0].length > d && (c = _ + 1);
    let g = "", v = "", y = !1;
    for (let _ = 0; _ < m; ++_) g += o[_][0].slice(d) + `
`;
    for (let _ = m; _ < c; ++_) {
      let [b, E] = o[_];
      p += b.length + E.length + 1;
      const D = E[E.length - 1] === "\r";
      if (D && (E = E.slice(0, -1)), E && b.length < d) {
        const S = `Block scalar lines must not be less indented than their ${u.indent ? "explicit indentation indicator" : "first line"}`;
        n(p - E.length - (D ? 2 : 1), "BAD_INDENT", S), b = "";
      }
      f === t.Scalar.BLOCK_LITERAL ? (g += v + b.slice(d) + E, v = `
`) : b.length > d || E[0] === "	" ? (v === " " ? v = `
` : !y && v === `
` && (v = `

`), g += v + b.slice(d) + E, v = `
`, y = !0) : E === "" ? v === `
` ? g += `
` : v = `
` : (g += v + E, v = " ", y = !1);
    }
    switch (u.chomp) {
      case "-":
        break;
      case "+":
        for (let _ = c; _ < o.length; ++_) g += `
` + o[_][0].slice(d);
        g[g.length - 1] !== `
` && (g += `
`);
        break;
      default:
        g += `
`;
    }
    const w = l + u.length + a.source.length;
    return {
      value: g,
      type: f,
      comment: u.comment,
      range: [
        l,
        w,
        w
      ]
    };
  }
  function i({ offset: h, props: a }, n, l) {
    if (a[0].type !== "block-scalar-header")
      return l(a[0], "IMPOSSIBLE", "Block scalar header not found"), null;
    const { source: u } = a[0], f = u[0];
    let o = 0, c = "", d = -1;
    for (let v = 1; v < u.length; ++v) {
      const y = u[v];
      if (!c && (y === "-" || y === "+")) c = y;
      else {
        const w = Number(y);
        !o && w ? o = w : d === -1 && (d = h + v);
      }
    }
    d !== -1 && l(d, "UNEXPECTED_TOKEN", `Block scalar header includes extra characters: ${u}`);
    let p = !1, m = "", g = u.length;
    for (let v = 1; v < a.length; ++v) {
      const y = a[v];
      switch (y.type) {
        case "space":
          p = !0;
        case "newline":
          g += y.source.length;
          break;
        case "comment":
          n && !p && l(y, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters"), g += y.source.length, m = y.source.substring(1);
          break;
        case "error":
          l(y, "UNEXPECTED_TOKEN", y.message), g += y.source.length;
          break;
        /* istanbul ignore next should not happen */
        default: {
          l(y, "UNEXPECTED_TOKEN", `Unexpected token in block scalar header: ${y.type}`);
          const w = y.source;
          w && typeof w == "string" && (g += w.length);
        }
      }
    }
    return {
      mode: f,
      indent: o,
      chomp: c,
      comment: m,
      length: g
    };
  }
  function s(h) {
    const a = h.split(/\n( *)/), n = a[0], l = n.match(/^( *)/), u = [l?.[1] ? [l[1], n.slice(l[1].length)] : ["", n]];
    for (let f = 1; f < a.length; f += 2) u.push([a[f], a[f + 1]]);
    return u;
  }
  e.resolveBlockScalar = r;
})), cp = /* @__PURE__ */ j(((e) => {
  var t = Ct(), r = wn();
  function i(o, c, d) {
    const { offset: p, type: m, source: g, end: v } = o;
    let y, w;
    const _ = (D, S, C) => d(p + D, S, C);
    switch (m) {
      case "scalar":
        y = t.Scalar.PLAIN, w = s(g, _);
        break;
      case "single-quoted-scalar":
        y = t.Scalar.QUOTE_SINGLE, w = h(g, _);
        break;
      case "double-quoted-scalar":
        y = t.Scalar.QUOTE_DOUBLE, w = n(g, _);
        break;
      /* istanbul ignore next should not happen */
      default:
        return d(o, "UNEXPECTED_TOKEN", `Expected a flow scalar value, but found: ${m}`), {
          value: "",
          type: null,
          comment: "",
          range: [
            p,
            p + g.length,
            p + g.length
          ]
        };
    }
    const b = p + g.length, E = r.resolveEnd(v, b, c, d);
    return {
      value: w,
      type: y,
      comment: E.comment,
      range: [
        p,
        b,
        E.offset
      ]
    };
  }
  function s(o, c) {
    let d = "";
    switch (o[0]) {
      /* istanbul ignore next should not happen */
      case "	":
        d = "a tab character";
        break;
      case ",":
        d = "flow indicator character ,";
        break;
      case "%":
        d = "directive indicator character %";
        break;
      case "|":
      case ">":
        d = `block scalar indicator ${o[0]}`;
        break;
      case "@":
      case "`":
        d = `reserved character ${o[0]}`;
        break;
    }
    return d && c(0, "BAD_SCALAR_START", `Plain value cannot start with ${d}`), a(o);
  }
  function h(o, c) {
    return (o[o.length - 1] !== "'" || o.length === 1) && c(o.length, "MISSING_CHAR", "Missing closing 'quote"), a(o.slice(1, -1)).replace(/''/g, "'");
  }
  function a(o) {
    let c, d;
    try {
      c = /* @__PURE__ */ new RegExp(`(.*?)(?<![ 	])[ 	]*\r?
`, "sy"), d = /* @__PURE__ */ new RegExp(`[ 	]*(.*?)(?:(?<![ 	])[ 	]*)?\r?
`, "sy");
    } catch {
      c = /(.*?)[ \t]*\r?\n/sy, d = /[ \t]*(.*?)[ \t]*\r?\n/sy;
    }
    let p = c.exec(o);
    if (!p) return o;
    let m = p[1], g = " ", v = c.lastIndex;
    for (d.lastIndex = v; p = d.exec(o); )
      p[1] === "" ? g === `
` ? m += g : g = `
` : (m += g + p[1], g = " "), v = d.lastIndex;
    const y = /[ \t]*(.*)/sy;
    return y.lastIndex = v, p = y.exec(o), m + g + (p?.[1] ?? "");
  }
  function n(o, c) {
    let d = "";
    for (let p = 1; p < o.length - 1; ++p) {
      const m = o[p];
      if (!(m === "\r" && o[p + 1] === `
`))
        if (m === `
`) {
          const { fold: g, offset: v } = l(o, p);
          d += g, p = v;
        } else if (m === "\\") {
          let g = o[++p];
          const v = u[g];
          if (v) d += v;
          else if (g === `
`)
            for (g = o[p + 1]; g === " " || g === "	"; ) g = o[++p + 1];
          else if (g === "\r" && o[p + 1] === `
`)
            for (g = o[++p + 1]; g === " " || g === "	"; ) g = o[++p + 1];
          else if (g === "x" || g === "u" || g === "U") {
            const y = {
              x: 2,
              u: 4,
              U: 8
            }[g];
            d += f(o, p + 1, y, c), p += y;
          } else {
            const y = o.substr(p - 1, 2);
            c(p - 1, "BAD_DQ_ESCAPE", `Invalid escape sequence ${y}`), d += y;
          }
        } else if (m === " " || m === "	") {
          const g = p;
          let v = o[p + 1];
          for (; v === " " || v === "	"; ) v = o[++p + 1];
          v !== `
` && !(v === "\r" && o[p + 2] === `
`) && (d += p > g ? o.slice(g, p + 1) : m);
        } else d += m;
    }
    return (o[o.length - 1] !== '"' || o.length === 1) && c(o.length, "MISSING_CHAR", 'Missing closing "quote'), d;
  }
  function l(o, c) {
    let d = "", p = o[c + 1];
    for (; (p === " " || p === "	" || p === `
` || p === "\r") && !(p === "\r" && o[c + 2] !== `
`); )
      p === `
` && (d += `
`), c += 1, p = o[c + 1];
    return d || (d = " "), {
      fold: d,
      offset: c
    };
  }
  var u = {
    0: "\0",
    a: "\x07",
    b: "\b",
    e: "\x1B",
    f: "\f",
    n: `
`,
    r: "\r",
    t: "	",
    v: "\v",
    N: "",
    _: " ",
    L: "\u2028",
    P: "\u2029",
    " ": " ",
    '"': '"',
    "/": "/",
    "\\": "\\",
    "	": "	"
  };
  function f(o, c, d, p) {
    const m = o.substr(c, d), g = m.length === d && /^[0-9a-fA-F]+$/.test(m) ? parseInt(m, 16) : NaN;
    if (isNaN(g)) {
      const v = o.substr(c - 2, d + 2);
      return p(c - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${v}`), v;
    }
    return String.fromCodePoint(g);
  }
  e.resolveFlowScalar = i;
})), mD = /* @__PURE__ */ j(((e) => {
  var t = tt(), r = Ct(), i = lp(), s = cp();
  function h(l, u, f, o) {
    const { value: c, type: d, comment: p, range: m } = u.type === "block-scalar" ? i.resolveBlockScalar(l, u, o) : s.resolveFlowScalar(u, l.options.strict, o), g = f ? l.directives.tagName(f.source, (w) => o(f, "TAG_RESOLVE_FAILED", w)) : null;
    let v;
    l.options.stringKeys && l.atKey ? v = l.schema[t.SCALAR] : g ? v = a(l.schema, c, g, f, o) : u.type === "scalar" ? v = n(l, c, u, o) : v = l.schema[t.SCALAR];
    let y;
    try {
      const w = v.resolve(c, (_) => o(f ?? u, "TAG_RESOLVE_FAILED", _), l.options);
      y = t.isScalar(w) ? w : new r.Scalar(w);
    } catch (w) {
      const _ = w instanceof Error ? w.message : String(w);
      o(f ?? u, "TAG_RESOLVE_FAILED", _), y = new r.Scalar(c);
    }
    return y.range = m, y.source = c, d && (y.type = d), g && (y.tag = g), v.format && (y.format = v.format), p && (y.comment = p), y;
  }
  function a(l, u, f, o, c) {
    if (f === "!") return l[t.SCALAR];
    const d = [];
    for (const m of l.tags) if (!m.collection && m.tag === f) if (m.default && m.test) d.push(m);
    else return m;
    for (const m of d) if (m.test?.test(u)) return m;
    const p = l.knownTags[f];
    return p && !p.collection ? (l.tags.push(Object.assign({}, p, {
      default: !1,
      test: void 0
    })), p) : (c(o, "TAG_RESOLVE_FAILED", `Unresolved tag: ${f}`, f !== "tag:yaml.org,2002:str"), l[t.SCALAR]);
  }
  function n({ atKey: l, directives: u, schema: f }, o, c, d) {
    const p = f.tags.find((m) => (m.default === !0 || l && m.default === "key") && m.test?.test(o)) || f[t.SCALAR];
    if (f.compat) {
      const m = f.compat.find((g) => g.default && g.test?.test(o)) ?? f[t.SCALAR];
      p.tag !== m.tag && d(c, "TAG_RESOLVE_FAILED", `Value may be parsed as either ${u.tagString(p.tag)} or ${u.tagString(m.tag)}`, !0);
    }
    return p;
  }
  e.composeScalar = h;
})), vD = /* @__PURE__ */ j(((e) => {
  function t(r, i, s) {
    if (i) {
      s ?? (s = i.length);
      for (let h = s - 1; h >= 0; --h) {
        let a = i[h];
        switch (a.type) {
          case "space":
          case "comment":
          case "newline":
            r -= a.source.length;
            continue;
        }
        for (a = i[++h]; a?.type === "space"; )
          r += a.source.length, a = i[++h];
        break;
      }
    }
    return r;
  }
  e.emptyScalarPosition = t;
})), yD = /* @__PURE__ */ j(((e) => {
  var t = $s(), r = tt(), i = gD(), s = mD(), h = wn(), a = vD(), n = {
    composeNode: l,
    composeEmptyNode: u
  };
  function l(o, c, d, p) {
    const m = o.atKey, { spaceBefore: g, comment: v, anchor: y, tag: w } = d;
    let _, b = !0;
    switch (c.type) {
      case "alias":
        _ = f(o, c, p), (y || w) && p(c, "ALIAS_PROPS", "An alias node must not specify any properties");
        break;
      case "scalar":
      case "single-quoted-scalar":
      case "double-quoted-scalar":
      case "block-scalar":
        _ = s.composeScalar(o, c, w, p), y && (_.anchor = y.source.substring(1));
        break;
      case "block-map":
      case "block-seq":
      case "flow-collection":
        try {
          _ = i.composeCollection(n, o, c, d, p), y && (_.anchor = y.source.substring(1));
        } catch (E) {
          p(c, "RESOURCE_EXHAUSTION", E instanceof Error ? E.message : String(E));
        }
        break;
      default:
        p(c, "UNEXPECTED_TOKEN", c.type === "error" ? c.message : `Unsupported token (type: ${c.type})`), b = !1;
    }
    return _ ?? (_ = u(o, c.offset, void 0, null, d, p)), y && _.anchor === "" && p(y, "BAD_ALIAS", "Anchor cannot be an empty string"), m && o.options.stringKeys && (!r.isScalar(_) || typeof _.value != "string" || _.tag && _.tag !== "tag:yaml.org,2002:str") && p(w ?? c, "NON_STRING_KEY", "With stringKeys, all keys must be strings"), g && (_.spaceBefore = !0), v && (c.type === "scalar" && c.source === "" ? _.comment = v : _.commentBefore = v), o.options.keepSourceTokens && b && (_.srcToken = c), _;
  }
  function u(o, c, d, p, { spaceBefore: m, comment: g, anchor: v, tag: y, end: w }, _) {
    const b = {
      type: "scalar",
      offset: a.emptyScalarPosition(c, d, p),
      indent: -1,
      source: ""
    }, E = s.composeScalar(o, b, y, _);
    return v && (E.anchor = v.source.substring(1), E.anchor === "" && _(v, "BAD_ALIAS", "Anchor cannot be an empty string")), m && (E.spaceBefore = !0), g && (E.comment = g, E.range[2] = w), E;
  }
  function f({ options: o }, { offset: c, source: d, end: p }, m) {
    const g = new t.Alias(d.substring(1));
    g.source === "" && m(c, "BAD_ALIAS", "Alias cannot be an empty string"), g.source.endsWith(":") && m(c + d.length - 1, "BAD_ALIAS", "Alias ending in : is ambiguous", !0);
    const v = c + d.length, y = h.resolveEnd(p, v, o.strict, m);
    return g.range = [
      c,
      v,
      y.offset
    ], y.comment && (g.comment = y.comment), g;
  }
  e.composeEmptyNode = u, e.composeNode = l;
})), _D = /* @__PURE__ */ j(((e) => {
  var t = Us(), r = yD(), i = wn(), s = qs();
  function h(a, n, { offset: l, start: u, value: f, end: o }, c) {
    const d = Object.assign({ _directives: n }, a), p = new t.Document(void 0, d), m = {
      atKey: !1,
      atRoot: !0,
      directives: p.directives,
      options: p.options,
      schema: p.schema
    }, g = s.resolveProps(u, {
      indicator: "doc-start",
      next: f ?? o?.[0],
      offset: l,
      onError: c,
      parentIndent: 0,
      startOnNewline: !0
    });
    g.found && (p.directives.docStart = !0, f && (f.type === "block-map" || f.type === "block-seq") && !g.hasNewline && c(g.end, "MISSING_CHAR", "Block collection cannot start on same line with directives-end marker")), p.contents = f ? r.composeNode(m, f, g, c) : r.composeEmptyNode(m, g.end, u, null, g, c);
    const v = p.contents.range[2], y = i.resolveEnd(o, v, !1, c);
    return y.comment && (p.comment = y.comment), p.range = [
      l,
      v,
      y.offset
    ], p;
  }
  e.composeDoc = h;
})), hp = /* @__PURE__ */ j(((e) => {
  var t = ve("process"), r = qd(), i = Us(), s = Hs(), h = tt(), a = _D(), n = wn();
  function l(o) {
    if (typeof o == "number") return [o, o + 1];
    if (Array.isArray(o)) return o.length === 2 ? o : [o[0], o[1]];
    const { offset: c, source: d } = o;
    return [c, c + (typeof d == "string" ? d.length : 1)];
  }
  function u(o) {
    let c = "", d = !1, p = !1;
    for (let m = 0; m < o.length; ++m) {
      const g = o[m];
      switch (g[0]) {
        case "#":
          c += (c === "" ? "" : p ? `

` : `
`) + (g.substring(1) || " "), d = !0, p = !1;
          break;
        case "%":
          o[m + 1]?.[0] !== "#" && (m += 1), d = !1;
          break;
        default:
          d || (p = !0), d = !1;
      }
    }
    return {
      comment: c,
      afterEmptyLine: p
    };
  }
  var f = class {
    constructor(o = {}) {
      this.doc = null, this.atDirectives = !1, this.prelude = [], this.errors = [], this.warnings = [], this.onError = (c, d, p, m) => {
        const g = l(c);
        m ? this.warnings.push(new s.YAMLWarning(g, d, p)) : this.errors.push(new s.YAMLParseError(g, d, p));
      }, this.directives = new r.Directives({ version: o.version || "1.2" }), this.options = o;
    }
    decorate(o, c) {
      const { comment: d, afterEmptyLine: p } = u(this.prelude);
      if (d) {
        const m = o.contents;
        if (c) o.comment = o.comment ? `${o.comment}
${d}` : d;
        else if (p || o.directives.docStart || !m) o.commentBefore = d;
        else if (h.isCollection(m) && !m.flow && m.items.length > 0) {
          let g = m.items[0];
          h.isPair(g) && (g = g.key);
          const v = g.commentBefore;
          g.commentBefore = v ? `${d}
${v}` : d;
        } else {
          const g = m.commentBefore;
          m.commentBefore = g ? `${d}
${g}` : d;
        }
      }
      c ? (Array.prototype.push.apply(o.errors, this.errors), Array.prototype.push.apply(o.warnings, this.warnings)) : (o.errors = this.errors, o.warnings = this.warnings), this.prelude = [], this.errors = [], this.warnings = [];
    }
    streamInfo() {
      return {
        comment: u(this.prelude).comment,
        directives: this.directives,
        errors: this.errors,
        warnings: this.warnings
      };
    }
    *compose(o, c = !1, d = -1) {
      for (const p of o) yield* this.next(p);
      yield* this.end(c, d);
    }
    *next(o) {
      switch (t.env.LOG_STREAM && console.dir(o, { depth: null }), o.type) {
        case "directive":
          this.directives.add(o.source, (c, d, p) => {
            const m = l(o);
            m[0] += c, this.onError(m, "BAD_DIRECTIVE", d, p);
          }), this.prelude.push(o.source), this.atDirectives = !0;
          break;
        case "document": {
          const c = a.composeDoc(this.options, this.directives, o, this.onError);
          this.atDirectives && !c.directives.docStart && this.onError(o, "MISSING_CHAR", "Missing directives-end/doc-start indicator line"), this.decorate(c, !1), this.doc && (yield this.doc), this.doc = c, this.atDirectives = !1;
          break;
        }
        case "byte-order-mark":
        case "space":
          break;
        case "comment":
        case "newline":
          this.prelude.push(o.source);
          break;
        case "error": {
          const c = o.source ? `${o.message}: ${JSON.stringify(o.source)}` : o.message, d = new s.YAMLParseError(l(o), "UNEXPECTED_TOKEN", c);
          this.atDirectives || !this.doc ? this.errors.push(d) : this.doc.errors.push(d);
          break;
        }
        case "doc-end": {
          if (!this.doc) {
            this.errors.push(new s.YAMLParseError(l(o), "UNEXPECTED_TOKEN", "Unexpected doc-end without preceding document"));
            break;
          }
          this.doc.directives.docEnd = !0;
          const c = n.resolveEnd(o.end, o.offset + o.source.length, this.doc.options.strict, this.onError);
          if (this.decorate(this.doc, !0), c.comment) {
            const d = this.doc.comment;
            this.doc.comment = d ? `${d}
${c.comment}` : c.comment;
          }
          this.doc.range[2] = c.offset;
          break;
        }
        default:
          this.errors.push(new s.YAMLParseError(l(o), "UNEXPECTED_TOKEN", `Unsupported token ${o.type}`));
      }
    }
    *end(o = !1, c = -1) {
      if (this.doc)
        this.decorate(this.doc, !0), yield this.doc, this.doc = null;
      else if (o) {
        const d = Object.assign({ _directives: this.directives }, this.options), p = new i.Document(void 0, d);
        this.atDirectives && this.onError(c, "MISSING_CHAR", "Missing directives-end indicator line"), p.range = [
          0,
          c,
          c
        ], this.decorate(p, !1), yield p;
      }
    }
  };
  e.Composer = f;
})), ED = /* @__PURE__ */ j(((e) => {
  var t = lp(), r = cp(), i = Hs(), s = Ps();
  function h(o, c = !0, d) {
    if (o) {
      const p = (m, g, v) => {
        const y = typeof m == "number" ? m : Array.isArray(m) ? m[0] : m.offset;
        if (d) d(y, g, v);
        else throw new i.YAMLParseError([y, y + 1], g, v);
      };
      switch (o.type) {
        case "scalar":
        case "single-quoted-scalar":
        case "double-quoted-scalar":
          return r.resolveFlowScalar(o, c, p);
        case "block-scalar":
          return t.resolveBlockScalar({ options: { strict: c } }, o, p);
      }
    }
    return null;
  }
  function a(o, c) {
    const { implicitKey: d = !1, indent: p, inFlow: m = !1, offset: g = -1, type: v = "PLAIN" } = c, y = s.stringifyString({
      type: v,
      value: o
    }, {
      implicitKey: d,
      indent: p > 0 ? " ".repeat(p) : "",
      inFlow: m,
      options: {
        blockQuote: !0,
        lineWidth: -1
      }
    }), w = c.end ?? [{
      type: "newline",
      offset: -1,
      indent: p,
      source: `
`
    }];
    switch (y[0]) {
      case "|":
      case ">": {
        const _ = y.indexOf(`
`), b = y.substring(0, _), E = y.substring(_ + 1) + `
`, D = [{
          type: "block-scalar-header",
          offset: g,
          indent: p,
          source: b
        }];
        return u(D, w) || D.push({
          type: "newline",
          offset: -1,
          indent: p,
          source: `
`
        }), {
          type: "block-scalar",
          offset: g,
          indent: p,
          props: D,
          source: E
        };
      }
      case '"':
        return {
          type: "double-quoted-scalar",
          offset: g,
          indent: p,
          source: y,
          end: w
        };
      case "'":
        return {
          type: "single-quoted-scalar",
          offset: g,
          indent: p,
          source: y,
          end: w
        };
      default:
        return {
          type: "scalar",
          offset: g,
          indent: p,
          source: y,
          end: w
        };
    }
  }
  function n(o, c, d = {}) {
    let { afterKey: p = !1, implicitKey: m = !1, inFlow: g = !1, type: v } = d, y = "indent" in o ? o.indent : null;
    if (p && typeof y == "number" && (y += 2), !v) switch (o.type) {
      case "single-quoted-scalar":
        v = "QUOTE_SINGLE";
        break;
      case "double-quoted-scalar":
        v = "QUOTE_DOUBLE";
        break;
      case "block-scalar": {
        const _ = o.props[0];
        if (_.type !== "block-scalar-header") throw new Error("Invalid block scalar header");
        v = _.source[0] === ">" ? "BLOCK_FOLDED" : "BLOCK_LITERAL";
        break;
      }
      default:
        v = "PLAIN";
    }
    const w = s.stringifyString({
      type: v,
      value: c
    }, {
      implicitKey: m || y === null,
      indent: y !== null && y > 0 ? " ".repeat(y) : "",
      inFlow: g,
      options: {
        blockQuote: !0,
        lineWidth: -1
      }
    });
    switch (w[0]) {
      case "|":
      case ">":
        l(o, w);
        break;
      case '"':
        f(o, w, "double-quoted-scalar");
        break;
      case "'":
        f(o, w, "single-quoted-scalar");
        break;
      default:
        f(o, w, "scalar");
    }
  }
  function l(o, c) {
    const d = c.indexOf(`
`), p = c.substring(0, d), m = c.substring(d + 1) + `
`;
    if (o.type === "block-scalar") {
      const g = o.props[0];
      if (g.type !== "block-scalar-header") throw new Error("Invalid block scalar header");
      g.source = p, o.source = m;
    } else {
      const { offset: g } = o, v = "indent" in o ? o.indent : -1, y = [{
        type: "block-scalar-header",
        offset: g,
        indent: v,
        source: p
      }];
      u(y, "end" in o ? o.end : void 0) || y.push({
        type: "newline",
        offset: -1,
        indent: v,
        source: `
`
      });
      for (const w of Object.keys(o)) w !== "type" && w !== "offset" && delete o[w];
      Object.assign(o, {
        type: "block-scalar",
        indent: v,
        props: y,
        source: m
      });
    }
  }
  function u(o, c) {
    if (c) for (const d of c) switch (d.type) {
      case "space":
      case "comment":
        o.push(d);
        break;
      case "newline":
        return o.push(d), !0;
    }
    return !1;
  }
  function f(o, c, d) {
    switch (o.type) {
      case "scalar":
      case "double-quoted-scalar":
      case "single-quoted-scalar":
        o.type = d, o.source = c;
        break;
      case "block-scalar": {
        const p = o.props.slice(1);
        let m = c.length;
        o.props[0].type === "block-scalar-header" && (m -= o.props[0].source.length);
        for (const g of p) g.offset += m;
        delete o.props, Object.assign(o, {
          type: d,
          source: c,
          end: p
        });
        break;
      }
      case "block-map":
      case "block-seq": {
        const p = {
          type: "newline",
          offset: o.offset + c.length,
          indent: o.indent,
          source: `
`
        };
        delete o.items, Object.assign(o, {
          type: d,
          source: c,
          end: [p]
        });
        break;
      }
      default: {
        const p = "indent" in o ? o.indent : -1, m = "end" in o && Array.isArray(o.end) ? o.end.filter((g) => g.type === "space" || g.type === "comment" || g.type === "newline") : [];
        for (const g of Object.keys(o)) g !== "type" && g !== "offset" && delete o[g];
        Object.assign(o, {
          type: d,
          indent: p,
          source: c,
          end: m
        });
      }
    }
  }
  e.createScalarToken = a, e.resolveAsScalar = h, e.setScalarValue = n;
})), bD = /* @__PURE__ */ j(((e) => {
  var t = (s) => "type" in s ? r(s) : i(s);
  function r(s) {
    switch (s.type) {
      case "block-scalar": {
        let h = "";
        for (const a of s.props) h += r(a);
        return h + s.source;
      }
      case "block-map":
      case "block-seq": {
        let h = "";
        for (const a of s.items) h += i(a);
        return h;
      }
      case "flow-collection": {
        let h = s.start.source;
        for (const a of s.items) h += i(a);
        for (const a of s.end) h += a.source;
        return h;
      }
      case "document": {
        let h = i(s);
        if (s.end) for (const a of s.end) h += a.source;
        return h;
      }
      default: {
        let h = s.source;
        if ("end" in s && s.end) for (const a of s.end) h += a.source;
        return h;
      }
    }
  }
  function i({ start: s, key: h, sep: a, value: n }) {
    let l = "";
    for (const u of s) l += u.source;
    if (h && (l += r(h)), a) for (const u of a) l += u.source;
    return n && (l += r(n)), l;
  }
  e.stringify = t;
})), wD = /* @__PURE__ */ j(((e) => {
  var t = /* @__PURE__ */ Symbol("break visit"), r = /* @__PURE__ */ Symbol("skip children"), i = /* @__PURE__ */ Symbol("remove item");
  function s(a, n) {
    "type" in a && a.type === "document" && (a = {
      start: a.start,
      value: a.value
    }), h(Object.freeze([]), a, n);
  }
  s.BREAK = t, s.SKIP = r, s.REMOVE = i, s.itemAtPath = (a, n) => {
    let l = a;
    for (const [u, f] of n) {
      const o = l?.[u];
      if (o && "items" in o) l = o.items[f];
      else return;
    }
    return l;
  }, s.parentCollection = (a, n) => {
    const l = s.itemAtPath(a, n.slice(0, -1)), u = n[n.length - 1][0], f = l?.[u];
    if (f && "items" in f) return f;
    throw new Error("Parent collection not found");
  };
  function h(a, n, l) {
    let u = l(n, a);
    if (typeof u == "symbol") return u;
    for (const f of ["key", "value"]) {
      const o = n[f];
      if (o && "items" in o) {
        for (let c = 0; c < o.items.length; ++c) {
          const d = h(Object.freeze(a.concat([[f, c]])), o.items[c], l);
          if (typeof d == "number") c = d - 1;
          else {
            if (d === t) return t;
            d === i && (o.items.splice(c, 1), c -= 1);
          }
        }
        typeof u == "function" && f === "key" && (u = u(n, a));
      }
    }
    return typeof u == "function" ? u(n, a) : u;
  }
  e.visit = s;
})), sl = /* @__PURE__ */ j(((e) => {
  var t = ED(), r = bD(), i = wD(), s = "\uFEFF", h = "", a = "", n = "", l = (c) => !!c && "items" in c, u = (c) => !!c && (c.type === "scalar" || c.type === "single-quoted-scalar" || c.type === "double-quoted-scalar" || c.type === "block-scalar");
  function f(c) {
    switch (c) {
      case s:
        return "<BOM>";
      case h:
        return "<DOC>";
      case a:
        return "<FLOW_END>";
      case n:
        return "<SCALAR>";
      default:
        return JSON.stringify(c);
    }
  }
  function o(c) {
    switch (c) {
      case s:
        return "byte-order-mark";
      case h:
        return "doc-mode";
      case a:
        return "flow-error-end";
      case n:
        return "scalar";
      case "---":
        return "doc-start";
      case "...":
        return "doc-end";
      case "":
      case `
`:
      case `\r
`:
        return "newline";
      case "-":
        return "seq-item-ind";
      case "?":
        return "explicit-key-ind";
      case ":":
        return "map-value-ind";
      case "{":
        return "flow-map-start";
      case "}":
        return "flow-map-end";
      case "[":
        return "flow-seq-start";
      case "]":
        return "flow-seq-end";
      case ",":
        return "comma";
    }
    switch (c[0]) {
      case " ":
      case "	":
        return "space";
      case "#":
        return "comment";
      case "%":
        return "directive-line";
      case "*":
        return "alias";
      case "&":
        return "anchor";
      case "!":
        return "tag";
      case "'":
        return "single-quoted-scalar";
      case '"':
        return "double-quoted-scalar";
      case "|":
      case ">":
        return "block-scalar-header";
    }
    return null;
  }
  e.createScalarToken = t.createScalarToken, e.resolveAsScalar = t.resolveAsScalar, e.setScalarValue = t.setScalarValue, e.stringify = r.stringify, e.visit = i.visit, e.BOM = s, e.DOCUMENT = h, e.FLOW_END = a, e.SCALAR = n, e.isCollection = l, e.isScalar = u, e.prettyToken = f, e.tokenType = o;
})), fp = /* @__PURE__ */ j(((e) => {
  var t = sl();
  function r(u) {
    switch (u) {
      case void 0:
      case " ":
      case `
`:
      case "\r":
      case "	":
        return !0;
      default:
        return !1;
    }
  }
  var i = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), s = /* @__PURE__ */ new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"), h = /* @__PURE__ */ new Set(",[]{}"), a = /* @__PURE__ */ new Set(` ,[]{}
\r	`), n = (u) => !u || a.has(u), l = class {
    constructor() {
      this.atEnd = !1, this.blockScalarIndent = -1, this.blockScalarKeep = !1, this.buffer = "", this.flowKey = !1, this.flowLevel = 0, this.indentNext = 0, this.indentValue = 0, this.lineEndPos = null, this.next = null, this.pos = 0;
    }
    *lex(u, f = !1) {
      if (u) {
        if (typeof u != "string") throw TypeError("source is not a string");
        this.buffer = this.buffer ? this.buffer + u : u, this.lineEndPos = null;
      }
      this.atEnd = !f;
      let o = this.next ?? "stream";
      for (; o && (f || this.hasChars(1)); ) o = yield* this.parseNext(o);
    }
    atLineEnd() {
      let u = this.pos, f = this.buffer[u];
      for (; f === " " || f === "	"; ) f = this.buffer[++u];
      return !f || f === "#" || f === `
` ? !0 : f === "\r" ? this.buffer[u + 1] === `
` : !1;
    }
    charAt(u) {
      return this.buffer[this.pos + u];
    }
    continueScalar(u) {
      let f = this.buffer[u];
      if (this.indentNext > 0) {
        let o = 0;
        for (; f === " "; ) f = this.buffer[++o + u];
        if (f === "\r") {
          const c = this.buffer[o + u + 1];
          if (c === `
` || !c && !this.atEnd) return u + o + 1;
        }
        return f === `
` || o >= this.indentNext || !f && !this.atEnd ? u + o : -1;
      }
      if (f === "-" || f === ".") {
        const o = this.buffer.substr(u, 3);
        if ((o === "---" || o === "...") && r(this.buffer[u + 3])) return -1;
      }
      return u;
    }
    getLine() {
      let u = this.lineEndPos;
      return (typeof u != "number" || u !== -1 && u < this.pos) && (u = this.buffer.indexOf(`
`, this.pos), this.lineEndPos = u), u === -1 ? this.atEnd ? this.buffer.substring(this.pos) : null : (this.buffer[u - 1] === "\r" && (u -= 1), this.buffer.substring(this.pos, u));
    }
    hasChars(u) {
      return this.pos + u <= this.buffer.length;
    }
    setNext(u) {
      return this.buffer = this.buffer.substring(this.pos), this.pos = 0, this.lineEndPos = null, this.next = u, null;
    }
    peek(u) {
      return this.buffer.substr(this.pos, u);
    }
    *parseNext(u) {
      switch (u) {
        case "stream":
          return yield* this.parseStream();
        case "line-start":
          return yield* this.parseLineStart();
        case "block-start":
          return yield* this.parseBlockStart();
        case "doc":
          return yield* this.parseDocument();
        case "flow":
          return yield* this.parseFlowCollection();
        case "quoted-scalar":
          return yield* this.parseQuotedScalar();
        case "block-scalar":
          return yield* this.parseBlockScalar();
        case "plain-scalar":
          return yield* this.parsePlainScalar();
      }
    }
    *parseStream() {
      let u = this.getLine();
      if (u === null) return this.setNext("stream");
      if (u[0] === t.BOM && (yield* this.pushCount(1), u = u.substring(1)), u[0] === "%") {
        let f = u.length, o = u.indexOf("#");
        for (; o !== -1; ) {
          const d = u[o - 1];
          if (d === " " || d === "	") {
            f = o - 1;
            break;
          } else o = u.indexOf("#", o + 1);
        }
        for (; ; ) {
          const d = u[f - 1];
          if (d === " " || d === "	") f -= 1;
          else break;
        }
        const c = (yield* this.pushCount(f)) + (yield* this.pushSpaces(!0));
        return yield* this.pushCount(u.length - c), this.pushNewline(), "stream";
      }
      if (this.atLineEnd()) {
        const f = yield* this.pushSpaces(!0);
        return yield* this.pushCount(u.length - f), yield* this.pushNewline(), "stream";
      }
      return yield t.DOCUMENT, yield* this.parseLineStart();
    }
    *parseLineStart() {
      const u = this.charAt(0);
      if (!u && !this.atEnd) return this.setNext("line-start");
      if (u === "-" || u === ".") {
        if (!this.atEnd && !this.hasChars(4)) return this.setNext("line-start");
        const f = this.peek(3);
        if ((f === "---" || f === "...") && r(this.charAt(3)))
          return yield* this.pushCount(3), this.indentValue = 0, this.indentNext = 0, f === "---" ? "doc" : "stream";
      }
      return this.indentValue = yield* this.pushSpaces(!1), this.indentNext > this.indentValue && !r(this.charAt(1)) && (this.indentNext = this.indentValue), yield* this.parseBlockStart();
    }
    *parseBlockStart() {
      const [u, f] = this.peek(2);
      if (!f && !this.atEnd) return this.setNext("block-start");
      if ((u === "-" || u === "?" || u === ":") && r(f)) {
        const o = (yield* this.pushCount(1)) + (yield* this.pushSpaces(!0));
        return this.indentNext = this.indentValue + 1, this.indentValue += o, yield* this.parseBlockStart();
      }
      return "doc";
    }
    *parseDocument() {
      yield* this.pushSpaces(!0);
      const u = this.getLine();
      if (u === null) return this.setNext("doc");
      let f = yield* this.pushIndicators();
      switch (u[f]) {
        case "#":
          yield* this.pushCount(u.length - f);
        case void 0:
          return yield* this.pushNewline(), yield* this.parseLineStart();
        case "{":
        case "[":
          return yield* this.pushCount(1), this.flowKey = !1, this.flowLevel = 1, "flow";
        case "}":
        case "]":
          return yield* this.pushCount(1), "doc";
        case "*":
          return yield* this.pushUntil(n), "doc";
        case '"':
        case "'":
          return yield* this.parseQuotedScalar();
        case "|":
        case ">":
          return f += yield* this.parseBlockScalarHeader(), f += yield* this.pushSpaces(!0), yield* this.pushCount(u.length - f), yield* this.pushNewline(), yield* this.parseBlockScalar();
        default:
          return yield* this.parsePlainScalar();
      }
    }
    *parseFlowCollection() {
      let u, f, o = -1;
      do
        u = yield* this.pushNewline(), u > 0 ? (f = yield* this.pushSpaces(!1), this.indentValue = o = f) : f = 0, f += yield* this.pushSpaces(!0);
      while (u + f > 0);
      const c = this.getLine();
      if (c === null) return this.setNext("flow");
      if ((o !== -1 && o < this.indentNext && c[0] !== "#" || o === 0 && (c.startsWith("---") || c.startsWith("...")) && r(c[3])) && !(o === this.indentNext - 1 && this.flowLevel === 1 && (c[0] === "]" || c[0] === "}")))
        return this.flowLevel = 0, yield t.FLOW_END, yield* this.parseLineStart();
      let d = 0;
      for (; c[d] === ","; )
        d += yield* this.pushCount(1), d += yield* this.pushSpaces(!0), this.flowKey = !1;
      switch (d += yield* this.pushIndicators(), c[d]) {
        case void 0:
          return "flow";
        case "#":
          return yield* this.pushCount(c.length - d), "flow";
        case "{":
        case "[":
          return yield* this.pushCount(1), this.flowKey = !1, this.flowLevel += 1, "flow";
        case "}":
        case "]":
          return yield* this.pushCount(1), this.flowKey = !0, this.flowLevel -= 1, this.flowLevel ? "flow" : "doc";
        case "*":
          return yield* this.pushUntil(n), "flow";
        case '"':
        case "'":
          return this.flowKey = !0, yield* this.parseQuotedScalar();
        case ":": {
          const p = this.charAt(1);
          if (this.flowKey || r(p) || p === ",")
            return this.flowKey = !1, yield* this.pushCount(1), yield* this.pushSpaces(!0), "flow";
        }
        default:
          return this.flowKey = !1, yield* this.parsePlainScalar();
      }
    }
    *parseQuotedScalar() {
      const u = this.charAt(0);
      let f = this.buffer.indexOf(u, this.pos + 1);
      if (u === "'") for (; f !== -1 && this.buffer[f + 1] === "'"; ) f = this.buffer.indexOf("'", f + 2);
      else for (; f !== -1; ) {
        let d = 0;
        for (; this.buffer[f - 1 - d] === "\\"; ) d += 1;
        if (d % 2 === 0) break;
        f = this.buffer.indexOf('"', f + 1);
      }
      const o = this.buffer.substring(0, f);
      let c = o.indexOf(`
`, this.pos);
      if (c !== -1) {
        for (; c !== -1; ) {
          const d = this.continueScalar(c + 1);
          if (d === -1) break;
          c = o.indexOf(`
`, d);
        }
        c !== -1 && (f = c - (o[c - 1] === "\r" ? 2 : 1));
      }
      if (f === -1) {
        if (!this.atEnd) return this.setNext("quoted-scalar");
        f = this.buffer.length;
      }
      return yield* this.pushToIndex(f + 1, !1), this.flowLevel ? "flow" : "doc";
    }
    *parseBlockScalarHeader() {
      this.blockScalarIndent = -1, this.blockScalarKeep = !1;
      let u = this.pos;
      for (; ; ) {
        const f = this.buffer[++u];
        if (f === "+") this.blockScalarKeep = !0;
        else if (f > "0" && f <= "9") this.blockScalarIndent = Number(f) - 1;
        else if (f !== "-") break;
      }
      return yield* this.pushUntil((f) => r(f) || f === "#");
    }
    *parseBlockScalar() {
      let u = this.pos - 1, f = 0, o;
      e: for (let d = this.pos; o = this.buffer[d]; ++d) switch (o) {
        case " ":
          f += 1;
          break;
        case `
`:
          u = d, f = 0;
          break;
        case "\r": {
          const p = this.buffer[d + 1];
          if (!p && !this.atEnd) return this.setNext("block-scalar");
          if (p === `
`) break;
        }
        default:
          break e;
      }
      if (!o && !this.atEnd) return this.setNext("block-scalar");
      if (f >= this.indentNext) {
        this.blockScalarIndent === -1 ? this.indentNext = f : this.indentNext = this.blockScalarIndent + (this.indentNext === 0 ? 1 : this.indentNext);
        do {
          const d = this.continueScalar(u + 1);
          if (d === -1) break;
          u = this.buffer.indexOf(`
`, d);
        } while (u !== -1);
        if (u === -1) {
          if (!this.atEnd) return this.setNext("block-scalar");
          u = this.buffer.length;
        }
      }
      let c = u + 1;
      for (o = this.buffer[c]; o === " "; ) o = this.buffer[++c];
      if (o === "	") {
        for (; o === "	" || o === " " || o === "\r" || o === `
`; ) o = this.buffer[++c];
        u = c - 1;
      } else if (!this.blockScalarKeep) do {
        let d = u - 1, p = this.buffer[d];
        p === "\r" && (p = this.buffer[--d]);
        const m = d;
        for (; p === " "; ) p = this.buffer[--d];
        if (p === `
` && d >= this.pos && d + 1 + f > m) u = d;
        else break;
      } while (!0);
      return yield t.SCALAR, yield* this.pushToIndex(u + 1, !0), yield* this.parseLineStart();
    }
    *parsePlainScalar() {
      const u = this.flowLevel > 0;
      let f = this.pos - 1, o = this.pos - 1, c;
      for (; c = this.buffer[++o]; ) if (c === ":") {
        const d = this.buffer[o + 1];
        if (r(d) || u && h.has(d)) break;
        f = o;
      } else if (r(c)) {
        let d = this.buffer[o + 1];
        if (c === "\r" && (d === `
` ? (o += 1, c = `
`, d = this.buffer[o + 1]) : f = o), d === "#" || u && h.has(d)) break;
        if (c === `
`) {
          const p = this.continueScalar(o + 1);
          if (p === -1) break;
          o = Math.max(o, p - 2);
        }
      } else {
        if (u && h.has(c)) break;
        f = o;
      }
      return !c && !this.atEnd ? this.setNext("plain-scalar") : (yield t.SCALAR, yield* this.pushToIndex(f + 1, !0), u ? "flow" : "doc");
    }
    *pushCount(u) {
      return u > 0 ? (yield this.buffer.substr(this.pos, u), this.pos += u, u) : 0;
    }
    *pushToIndex(u, f) {
      const o = this.buffer.slice(this.pos, u);
      return o ? (yield o, this.pos += o.length, o.length) : (f && (yield ""), 0);
    }
    *pushIndicators() {
      switch (this.charAt(0)) {
        case "!":
          return (yield* this.pushTag()) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
        case "&":
          return (yield* this.pushUntil(n)) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
        case "-":
        case "?":
        case ":": {
          const u = this.flowLevel > 0, f = this.charAt(1);
          if (r(f) || u && h.has(f))
            return u ? this.flowKey && (this.flowKey = !1) : this.indentNext = this.indentValue + 1, (yield* this.pushCount(1)) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
        }
      }
      return 0;
    }
    *pushTag() {
      if (this.charAt(1) === "<") {
        let u = this.pos + 2, f = this.buffer[u];
        for (; !r(f) && f !== ">"; ) f = this.buffer[++u];
        return yield* this.pushToIndex(f === ">" ? u + 1 : u, !1);
      } else {
        let u = this.pos + 1, f = this.buffer[u];
        for (; f; ) if (s.has(f)) f = this.buffer[++u];
        else if (f === "%" && i.has(this.buffer[u + 1]) && i.has(this.buffer[u + 2])) f = this.buffer[u += 3];
        else break;
        return yield* this.pushToIndex(u, !1);
      }
    }
    *pushNewline() {
      const u = this.buffer[this.pos];
      return u === `
` ? yield* this.pushCount(1) : u === "\r" && this.charAt(1) === `
` ? yield* this.pushCount(2) : 0;
    }
    *pushSpaces(u) {
      let f = this.pos - 1, o;
      do
        o = this.buffer[++f];
      while (o === " " || u && o === "	");
      const c = f - this.pos;
      return c > 0 && (yield this.buffer.substr(this.pos, c), this.pos = f), c;
    }
    *pushUntil(u) {
      let f = this.pos, o = this.buffer[f];
      for (; !u(o); ) o = this.buffer[++f];
      return yield* this.pushToIndex(f, !1);
    }
  };
  e.Lexer = l;
})), dp = /* @__PURE__ */ j(((e) => {
  var t = class {
    constructor() {
      this.lineStarts = [], this.addNewLine = (r) => this.lineStarts.push(r), this.linePos = (r) => {
        let i = 0, s = this.lineStarts.length;
        for (; i < s; ) {
          const a = i + s >> 1;
          this.lineStarts[a] < r ? i = a + 1 : s = a;
        }
        if (this.lineStarts[i] === r) return {
          line: i + 1,
          col: 1
        };
        if (i === 0) return {
          line: 0,
          col: r
        };
        const h = this.lineStarts[i - 1];
        return {
          line: i,
          col: r - h + 1
        };
      };
    }
  };
  e.LineCounter = t;
})), pp = /* @__PURE__ */ j(((e) => {
  var t = ve("process"), r = sl(), i = fp();
  function s(o, c) {
    for (let d = 0; d < o.length; ++d) if (o[d].type === c) return !0;
    return !1;
  }
  function h(o) {
    for (let c = 0; c < o.length; ++c) switch (o[c].type) {
      case "space":
      case "comment":
      case "newline":
        break;
      default:
        return c;
    }
    return -1;
  }
  function a(o) {
    switch (o?.type) {
      case "alias":
      case "scalar":
      case "single-quoted-scalar":
      case "double-quoted-scalar":
      case "flow-collection":
        return !0;
      default:
        return !1;
    }
  }
  function n(o) {
    switch (o.type) {
      case "document":
        return o.start;
      case "block-map": {
        const c = o.items[o.items.length - 1];
        return c.sep ?? c.start;
      }
      case "block-seq":
        return o.items[o.items.length - 1].start;
      /* istanbul ignore next should not happen */
      default:
        return [];
    }
  }
  function l(o) {
    if (o.length === 0) return [];
    let c = o.length;
    e: for (; --c >= 0; ) switch (o[c].type) {
      case "doc-start":
      case "explicit-key-ind":
      case "map-value-ind":
      case "seq-item-ind":
      case "newline":
        break e;
    }
    for (; o[++c]?.type === "space"; ) ;
    return o.splice(c, o.length);
  }
  function u(o) {
    if (o.start.type === "flow-seq-start")
      for (const c of o.items) c.sep && !c.value && !s(c.start, "explicit-key-ind") && !s(c.sep, "map-value-ind") && (c.key && (c.value = c.key), delete c.key, a(c.value) ? c.value.end ? Array.prototype.push.apply(c.value.end, c.sep) : c.value.end = c.sep : Array.prototype.push.apply(c.start, c.sep), delete c.sep);
  }
  var f = class {
    constructor(o) {
      this.atNewLine = !0, this.atScalar = !1, this.indent = 0, this.offset = 0, this.onKeyLine = !1, this.stack = [], this.source = "", this.type = "", this.lexer = new i.Lexer(), this.onNewLine = o;
    }
    *parse(o, c = !1) {
      this.onNewLine && this.offset === 0 && this.onNewLine(0);
      for (const d of this.lexer.lex(o, c)) yield* this.next(d);
      c || (yield* this.end());
    }
    *next(o) {
      if (this.source = o, t.env.LOG_TOKENS && console.log("|", r.prettyToken(o)), this.atScalar) {
        this.atScalar = !1, yield* this.step(), this.offset += o.length;
        return;
      }
      const c = r.tokenType(o);
      if (c)
        if (c === "scalar")
          this.atNewLine = !1, this.atScalar = !0, this.type = "scalar";
        else {
          switch (this.type = c, yield* this.step(), c) {
            case "newline":
              this.atNewLine = !0, this.indent = 0, this.onNewLine && this.onNewLine(this.offset + o.length);
              break;
            case "space":
              this.atNewLine && o[0] === " " && (this.indent += o.length);
              break;
            case "explicit-key-ind":
            case "map-value-ind":
            case "seq-item-ind":
              this.atNewLine && (this.indent += o.length);
              break;
            case "doc-mode":
            case "flow-error-end":
              return;
            default:
              this.atNewLine = !1;
          }
          this.offset += o.length;
        }
      else {
        const d = `Not a YAML token: ${o}`;
        yield* this.pop({
          type: "error",
          offset: this.offset,
          message: d,
          source: o
        }), this.offset += o.length;
      }
    }
    *end() {
      for (; this.stack.length > 0; ) yield* this.pop();
    }
    get sourceToken() {
      return {
        type: this.type,
        offset: this.offset,
        indent: this.indent,
        source: this.source
      };
    }
    *step() {
      const o = this.peek(1);
      if (this.type === "doc-end" && o?.type !== "doc-end") {
        for (; this.stack.length > 0; ) yield* this.pop();
        this.stack.push({
          type: "doc-end",
          offset: this.offset,
          source: this.source
        });
        return;
      }
      if (!o) return yield* this.stream();
      switch (o.type) {
        case "document":
          return yield* this.document(o);
        case "alias":
        case "scalar":
        case "single-quoted-scalar":
        case "double-quoted-scalar":
          return yield* this.scalar(o);
        case "block-scalar":
          return yield* this.blockScalar(o);
        case "block-map":
          return yield* this.blockMap(o);
        case "block-seq":
          return yield* this.blockSequence(o);
        case "flow-collection":
          return yield* this.flowCollection(o);
        case "doc-end":
          return yield* this.documentEnd(o);
      }
      yield* this.pop();
    }
    peek(o) {
      return this.stack[this.stack.length - o];
    }
    *pop(o) {
      const c = o ?? this.stack.pop();
      if (!c) yield {
        type: "error",
        offset: this.offset,
        source: "",
        message: "Tried to pop an empty stack"
      };
      else if (this.stack.length === 0) yield c;
      else {
        const d = this.peek(1);
        switch (c.type === "block-scalar" ? c.indent = "indent" in d ? d.indent : 0 : c.type === "flow-collection" && d.type === "document" && (c.indent = 0), c.type === "flow-collection" && u(c), d.type) {
          case "document":
            d.value = c;
            break;
          case "block-scalar":
            d.props.push(c);
            break;
          case "block-map": {
            const p = d.items[d.items.length - 1];
            if (p.value) {
              d.items.push({
                start: [],
                key: c,
                sep: []
              }), this.onKeyLine = !0;
              return;
            } else if (p.sep) p.value = c;
            else {
              Object.assign(p, {
                key: c,
                sep: []
              }), this.onKeyLine = !p.explicitKey;
              return;
            }
            break;
          }
          case "block-seq": {
            const p = d.items[d.items.length - 1];
            p.value ? d.items.push({
              start: [],
              value: c
            }) : p.value = c;
            break;
          }
          case "flow-collection": {
            const p = d.items[d.items.length - 1];
            !p || p.value ? d.items.push({
              start: [],
              key: c,
              sep: []
            }) : p.sep ? p.value = c : Object.assign(p, {
              key: c,
              sep: []
            });
            return;
          }
          /* istanbul ignore next should not happen */
          default:
            yield* this.pop(), yield* this.pop(c);
        }
        if ((d.type === "document" || d.type === "block-map" || d.type === "block-seq") && (c.type === "block-map" || c.type === "block-seq")) {
          const p = c.items[c.items.length - 1];
          p && !p.sep && !p.value && p.start.length > 0 && h(p.start) === -1 && (c.indent === 0 || p.start.every((m) => m.type !== "comment" || m.indent < c.indent)) && (d.type === "document" ? d.end = p.start : d.items.push({ start: p.start }), c.items.splice(-1, 1));
        }
      }
    }
    *stream() {
      switch (this.type) {
        case "directive-line":
          yield {
            type: "directive",
            offset: this.offset,
            source: this.source
          };
          return;
        case "byte-order-mark":
        case "space":
        case "comment":
        case "newline":
          yield this.sourceToken;
          return;
        case "doc-mode":
        case "doc-start": {
          const o = {
            type: "document",
            offset: this.offset,
            start: []
          };
          this.type === "doc-start" && o.start.push(this.sourceToken), this.stack.push(o);
          return;
        }
      }
      yield {
        type: "error",
        offset: this.offset,
        message: `Unexpected ${this.type} token in YAML stream`,
        source: this.source
      };
    }
    *document(o) {
      if (o.value) return yield* this.lineEnd(o);
      switch (this.type) {
        case "doc-start":
          h(o.start) !== -1 ? (yield* this.pop(), yield* this.step()) : o.start.push(this.sourceToken);
          return;
        case "anchor":
        case "tag":
        case "space":
        case "comment":
        case "newline":
          o.start.push(this.sourceToken);
          return;
      }
      const c = this.startBlockValue(o);
      c ? this.stack.push(c) : yield {
        type: "error",
        offset: this.offset,
        message: `Unexpected ${this.type} token in YAML document`,
        source: this.source
      };
    }
    *scalar(o) {
      if (this.type === "map-value-ind") {
        const c = l(n(this.peek(2)));
        let d;
        o.end ? (d = o.end, d.push(this.sourceToken), delete o.end) : d = [this.sourceToken];
        const p = {
          type: "block-map",
          offset: o.offset,
          indent: o.indent,
          items: [{
            start: c,
            key: o,
            sep: d
          }]
        };
        this.onKeyLine = !0, this.stack[this.stack.length - 1] = p;
      } else yield* this.lineEnd(o);
    }
    *blockScalar(o) {
      switch (this.type) {
        case "space":
        case "comment":
        case "newline":
          o.props.push(this.sourceToken);
          return;
        case "scalar":
          if (o.source = this.source, this.atNewLine = !0, this.indent = 0, this.onNewLine) {
            let c = this.source.indexOf(`
`) + 1;
            for (; c !== 0; )
              this.onNewLine(this.offset + c), c = this.source.indexOf(`
`, c) + 1;
          }
          yield* this.pop();
          break;
        /* istanbul ignore next should not happen */
        default:
          yield* this.pop(), yield* this.step();
      }
    }
    *blockMap(o) {
      const c = o.items[o.items.length - 1];
      switch (this.type) {
        case "newline":
          if (this.onKeyLine = !1, c.value) {
            const d = "end" in c.value ? c.value.end : void 0;
            (Array.isArray(d) ? d[d.length - 1] : void 0)?.type === "comment" ? d?.push(this.sourceToken) : o.items.push({ start: [this.sourceToken] });
          } else c.sep ? c.sep.push(this.sourceToken) : c.start.push(this.sourceToken);
          return;
        case "space":
        case "comment":
          if (c.value) o.items.push({ start: [this.sourceToken] });
          else if (c.sep) c.sep.push(this.sourceToken);
          else {
            if (this.atIndentedComment(c.start, o.indent)) {
              const d = o.items[o.items.length - 2]?.value?.end;
              if (Array.isArray(d)) {
                Array.prototype.push.apply(d, c.start), d.push(this.sourceToken), o.items.pop();
                return;
              }
            }
            c.start.push(this.sourceToken);
          }
          return;
      }
      if (this.indent >= o.indent) {
        const d = !this.onKeyLine && this.indent === o.indent, p = d && (c.sep || c.explicitKey) && this.type !== "seq-item-ind";
        let m = [];
        if (p && c.sep && !c.value) {
          const g = [];
          for (let v = 0; v < c.sep.length; ++v) {
            const y = c.sep[v];
            switch (y.type) {
              case "newline":
                g.push(v);
                break;
              case "space":
                break;
              case "comment":
                y.indent > o.indent && (g.length = 0);
                break;
              default:
                g.length = 0;
            }
          }
          g.length >= 2 && (m = c.sep.splice(g[1]));
        }
        switch (this.type) {
          case "anchor":
          case "tag":
            p || c.value ? (m.push(this.sourceToken), o.items.push({ start: m }), this.onKeyLine = !0) : c.sep ? c.sep.push(this.sourceToken) : c.start.push(this.sourceToken);
            return;
          case "explicit-key-ind":
            !c.sep && !c.explicitKey ? (c.start.push(this.sourceToken), c.explicitKey = !0) : p || c.value ? (m.push(this.sourceToken), o.items.push({
              start: m,
              explicitKey: !0
            })) : this.stack.push({
              type: "block-map",
              offset: this.offset,
              indent: this.indent,
              items: [{
                start: [this.sourceToken],
                explicitKey: !0
              }]
            }), this.onKeyLine = !0;
            return;
          case "map-value-ind":
            if (c.explicitKey) if (c.sep) if (c.value) o.items.push({
              start: [],
              key: null,
              sep: [this.sourceToken]
            });
            else if (s(c.sep, "map-value-ind")) this.stack.push({
              type: "block-map",
              offset: this.offset,
              indent: this.indent,
              items: [{
                start: m,
                key: null,
                sep: [this.sourceToken]
              }]
            });
            else if (a(c.key) && !s(c.sep, "newline")) {
              const g = l(c.start), v = c.key, y = c.sep;
              y.push(this.sourceToken), delete c.key, delete c.sep, this.stack.push({
                type: "block-map",
                offset: this.offset,
                indent: this.indent,
                items: [{
                  start: g,
                  key: v,
                  sep: y
                }]
              });
            } else m.length > 0 ? c.sep = c.sep.concat(m, this.sourceToken) : c.sep.push(this.sourceToken);
            else if (s(c.start, "newline")) Object.assign(c, {
              key: null,
              sep: [this.sourceToken]
            });
            else {
              const g = l(c.start);
              this.stack.push({
                type: "block-map",
                offset: this.offset,
                indent: this.indent,
                items: [{
                  start: g,
                  key: null,
                  sep: [this.sourceToken]
                }]
              });
            }
            else c.sep ? c.value || p ? o.items.push({
              start: m,
              key: null,
              sep: [this.sourceToken]
            }) : s(c.sep, "map-value-ind") ? this.stack.push({
              type: "block-map",
              offset: this.offset,
              indent: this.indent,
              items: [{
                start: [],
                key: null,
                sep: [this.sourceToken]
              }]
            }) : c.sep.push(this.sourceToken) : Object.assign(c, {
              key: null,
              sep: [this.sourceToken]
            });
            this.onKeyLine = !0;
            return;
          case "alias":
          case "scalar":
          case "single-quoted-scalar":
          case "double-quoted-scalar": {
            const g = this.flowScalar(this.type);
            p || c.value ? (o.items.push({
              start: m,
              key: g,
              sep: []
            }), this.onKeyLine = !0) : c.sep ? this.stack.push(g) : (Object.assign(c, {
              key: g,
              sep: []
            }), this.onKeyLine = !0);
            return;
          }
          default: {
            const g = this.startBlockValue(o);
            if (g) {
              if (g.type === "block-seq") {
                if (!c.explicitKey && c.sep && !s(c.sep, "newline")) {
                  yield* this.pop({
                    type: "error",
                    offset: this.offset,
                    message: "Unexpected block-seq-ind on same line with key",
                    source: this.source
                  });
                  return;
                }
              } else d && o.items.push({ start: m });
              this.stack.push(g);
              return;
            }
          }
        }
      }
      yield* this.pop(), yield* this.step();
    }
    *blockSequence(o) {
      const c = o.items[o.items.length - 1];
      switch (this.type) {
        case "newline":
          if (c.value) {
            const d = "end" in c.value ? c.value.end : void 0;
            (Array.isArray(d) ? d[d.length - 1] : void 0)?.type === "comment" ? d?.push(this.sourceToken) : o.items.push({ start: [this.sourceToken] });
          } else c.start.push(this.sourceToken);
          return;
        case "space":
        case "comment":
          if (c.value) o.items.push({ start: [this.sourceToken] });
          else {
            if (this.atIndentedComment(c.start, o.indent)) {
              const d = o.items[o.items.length - 2]?.value?.end;
              if (Array.isArray(d)) {
                Array.prototype.push.apply(d, c.start), d.push(this.sourceToken), o.items.pop();
                return;
              }
            }
            c.start.push(this.sourceToken);
          }
          return;
        case "anchor":
        case "tag":
          if (c.value || this.indent <= o.indent) break;
          c.start.push(this.sourceToken);
          return;
        case "seq-item-ind":
          if (this.indent !== o.indent) break;
          c.value || s(c.start, "seq-item-ind") ? o.items.push({ start: [this.sourceToken] }) : c.start.push(this.sourceToken);
          return;
      }
      if (this.indent > o.indent) {
        const d = this.startBlockValue(o);
        if (d) {
          this.stack.push(d);
          return;
        }
      }
      yield* this.pop(), yield* this.step();
    }
    *flowCollection(o) {
      const c = o.items[o.items.length - 1];
      if (this.type === "flow-error-end") {
        let d;
        do
          yield* this.pop(), d = this.peek(1);
        while (d?.type === "flow-collection");
      } else if (o.end.length === 0) {
        switch (this.type) {
          case "comma":
          case "explicit-key-ind":
            !c || c.sep ? o.items.push({ start: [this.sourceToken] }) : c.start.push(this.sourceToken);
            return;
          case "map-value-ind":
            !c || c.value ? o.items.push({
              start: [],
              key: null,
              sep: [this.sourceToken]
            }) : c.sep ? c.sep.push(this.sourceToken) : Object.assign(c, {
              key: null,
              sep: [this.sourceToken]
            });
            return;
          case "space":
          case "comment":
          case "newline":
          case "anchor":
          case "tag":
            !c || c.value ? o.items.push({ start: [this.sourceToken] }) : c.sep ? c.sep.push(this.sourceToken) : c.start.push(this.sourceToken);
            return;
          case "alias":
          case "scalar":
          case "single-quoted-scalar":
          case "double-quoted-scalar": {
            const p = this.flowScalar(this.type);
            !c || c.value ? o.items.push({
              start: [],
              key: p,
              sep: []
            }) : c.sep ? this.stack.push(p) : Object.assign(c, {
              key: p,
              sep: []
            });
            return;
          }
          case "flow-map-end":
          case "flow-seq-end":
            o.end.push(this.sourceToken);
            return;
        }
        const d = this.startBlockValue(o);
        d ? this.stack.push(d) : (yield* this.pop(), yield* this.step());
      } else {
        const d = this.peek(2);
        if (d.type === "block-map" && (this.type === "map-value-ind" && d.indent === o.indent || this.type === "newline" && !d.items[d.items.length - 1].sep))
          yield* this.pop(), yield* this.step();
        else if (this.type === "map-value-ind" && d.type !== "flow-collection") {
          const p = l(n(d));
          u(o);
          const m = o.end.splice(1, o.end.length);
          m.push(this.sourceToken);
          const g = {
            type: "block-map",
            offset: o.offset,
            indent: o.indent,
            items: [{
              start: p,
              key: o,
              sep: m
            }]
          };
          this.onKeyLine = !0, this.stack[this.stack.length - 1] = g;
        } else yield* this.lineEnd(o);
      }
    }
    flowScalar(o) {
      if (this.onNewLine) {
        let c = this.source.indexOf(`
`) + 1;
        for (; c !== 0; )
          this.onNewLine(this.offset + c), c = this.source.indexOf(`
`, c) + 1;
      }
      return {
        type: o,
        offset: this.offset,
        indent: this.indent,
        source: this.source
      };
    }
    startBlockValue(o) {
      switch (this.type) {
        case "alias":
        case "scalar":
        case "single-quoted-scalar":
        case "double-quoted-scalar":
          return this.flowScalar(this.type);
        case "block-scalar-header":
          return {
            type: "block-scalar",
            offset: this.offset,
            indent: this.indent,
            props: [this.sourceToken],
            source: ""
          };
        case "flow-map-start":
        case "flow-seq-start":
          return {
            type: "flow-collection",
            offset: this.offset,
            indent: this.indent,
            start: this.sourceToken,
            items: [],
            end: []
          };
        case "seq-item-ind":
          return {
            type: "block-seq",
            offset: this.offset,
            indent: this.indent,
            items: [{ start: [this.sourceToken] }]
          };
        case "explicit-key-ind": {
          this.onKeyLine = !0;
          const c = l(n(o));
          return c.push(this.sourceToken), {
            type: "block-map",
            offset: this.offset,
            indent: this.indent,
            items: [{
              start: c,
              explicitKey: !0
            }]
          };
        }
        case "map-value-ind": {
          this.onKeyLine = !0;
          const c = l(n(o));
          return {
            type: "block-map",
            offset: this.offset,
            indent: this.indent,
            items: [{
              start: c,
              key: null,
              sep: [this.sourceToken]
            }]
          };
        }
      }
      return null;
    }
    atIndentedComment(o, c) {
      return this.type !== "comment" || this.indent <= c ? !1 : o.every((d) => d.type === "newline" || d.type === "space");
    }
    *documentEnd(o) {
      this.type !== "doc-mode" && (o.end ? o.end.push(this.sourceToken) : o.end = [this.sourceToken], this.type === "newline" && (yield* this.pop()));
    }
    *lineEnd(o) {
      switch (this.type) {
        case "comma":
        case "doc-start":
        case "doc-end":
        case "flow-seq-end":
        case "flow-map-end":
        case "map-value-ind":
          yield* this.pop(), yield* this.step();
          break;
        case "newline":
          this.onKeyLine = !1;
        default:
          o.end ? o.end.push(this.sourceToken) : o.end = [this.sourceToken], this.type === "newline" && (yield* this.pop());
      }
    }
  };
  e.Parser = f;
})), DD = /* @__PURE__ */ j(((e) => {
  var t = hp(), r = Us(), i = Hs(), s = Gd(), h = tt(), a = dp(), n = pp();
  function l(d) {
    const p = d.prettyErrors !== !1;
    return {
      lineCounter: d.lineCounter || p && new a.LineCounter() || null,
      prettyErrors: p
    };
  }
  function u(d, p = {}) {
    const { lineCounter: m, prettyErrors: g } = l(p), v = new n.Parser(m?.addNewLine), y = new t.Composer(p), w = Array.from(y.compose(v.parse(d)));
    if (g && m) for (const _ of w)
      _.errors.forEach(i.prettifyError(d, m)), _.warnings.forEach(i.prettifyError(d, m));
    return w.length > 0 ? w : Object.assign([], { empty: !0 }, y.streamInfo());
  }
  function f(d, p = {}) {
    const { lineCounter: m, prettyErrors: g } = l(p), v = new n.Parser(m?.addNewLine), y = new t.Composer(p);
    let w = null;
    for (const _ of y.compose(v.parse(d), !0, d.length)) if (!w) w = _;
    else if (w.options.logLevel !== "silent") {
      w.errors.push(new i.YAMLParseError(_.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
      break;
    }
    return g && m && (w.errors.forEach(i.prettifyError(d, m)), w.warnings.forEach(i.prettifyError(d, m))), w;
  }
  function o(d, p, m) {
    let g;
    typeof p == "function" ? g = p : m === void 0 && p && typeof p == "object" && (m = p);
    const v = f(d, m);
    if (!v) return null;
    if (v.warnings.forEach((y) => s.warn(v.options.logLevel, y)), v.errors.length > 0) {
      if (v.options.logLevel !== "silent") throw v.errors[0];
      v.errors = [];
    }
    return v.toJS(Object.assign({ reviver: g }, m));
  }
  function c(d, p, m) {
    let g = null;
    if (typeof p == "function" || Array.isArray(p) ? g = p : m === void 0 && p && (m = p), typeof m == "string" && (m = m.length), typeof m == "number") {
      const v = Math.round(m);
      m = v < 1 ? void 0 : v > 8 ? { indent: 8 } : { indent: v };
    }
    if (d === void 0) {
      const { keepUndefined: v } = m ?? p ?? {};
      if (!v) return;
    }
    return h.isDocument(d) && !g ? d.toString(m) : new r.Document(d, g, m).toString(m);
  }
  e.parse = o, e.parseAllDocuments = u, e.parseDocument = f, e.stringify = c;
})), AD = /* @__PURE__ */ j(((e) => {
  var t = hp(), r = Us(), i = np(), s = Hs(), h = $s(), a = tt(), n = Gr(), l = Ct(), u = Wr(), f = Vr(), o = sl(), c = fp(), d = dp(), p = pp(), m = DD(), g = Ns();
  e.Composer = t.Composer, e.Document = r.Document, e.Schema = i.Schema, e.YAMLError = s.YAMLError, e.YAMLParseError = s.YAMLParseError, e.YAMLWarning = s.YAMLWarning, e.Alias = h.Alias, e.isAlias = a.isAlias, e.isCollection = a.isCollection, e.isDocument = a.isDocument, e.isMap = a.isMap, e.isNode = a.isNode, e.isPair = a.isPair, e.isScalar = a.isScalar, e.isSeq = a.isSeq, e.Pair = n.Pair, e.Scalar = l.Scalar, e.YAMLMap = u.YAMLMap, e.YAMLSeq = f.YAMLSeq, e.CST = o, e.Lexer = c.Lexer, e.LineCounter = d.LineCounter, e.Parser = p.Parser, e.parse = m.parse, e.parseAllDocuments = m.parseAllDocuments, e.parseDocument = m.parseDocument, e.stringify = m.stringify, e.visit = g.visit, e.visitAsync = g.visitAsync;
})), SD = /* @__PURE__ */ bt({
  default: () => gp,
  defaultPrefix: () => Ud,
  distTag: () => OD,
  getEngines: () => Rs,
  getPeerDependencies: () => Zu,
  greatest: () => ID,
  latest: () => kD,
  list: () => RD,
  minor: () => LD,
  newest: () => FD,
  packageAuthorChanged: () => Cs,
  patch: () => ND,
  pnpmApi: () => mp,
  semver: () => $D
}), Kt = AD(), CD = (0, Or.default)(async (e) => {
  const t = await Yn("pnpm-workspace.yaml");
  if (!t) return {};
  const r = Ye.dirname(t), i = Ye.join(r, ".npmrc");
  let s;
  try {
    s = await it.readFile(i, "utf-8");
  } catch {
    return {};
  }
  Me(e, `
Using pnpm workspace config at ${i}:`, "verbose");
  const h = Yu(Wu.default.parse(s), r);
  return Me(e, h, "verbose"), h;
}), TD = (0, Or.default)(async () => {
  const e = await Yn("pnpm-workspace.yaml");
  if (!e) return null;
  let t;
  try {
    t = await it.readFile(e, "utf-8");
  } catch {
    return null;
  }
  let r;
  try {
    r = (0, Kt.parse)(t) ?? {};
  } catch {
    return null;
  }
  const i = r.minimumReleaseAge;
  if (typeof i != "number" || isNaN(i) || i < 0) return null;
  const s = r.minimumReleaseAgeExclude;
  return {
    minimumReleaseAge: i,
    minimumReleaseAgeExclude: Array.isArray(s) ? s.filter((h) => typeof h == "string") : []
  };
}), RD = async (e = {}) => {
  if (!e.global) return Hd(e);
  const { stdout: t } = await ur("pnpm", [
    "ls",
    "-g",
    "--json"
  ]);
  return at(JSON.parse(t)[0].dependencies || {}, (r, { version: i }) => ({ [r]: i }));
}, Yr = (e) => async (t, r, i = {}) => e(t, r, i, {}, await CD(i)), OD = Yr(yn), ID = Yr(vn), kD = Yr(Os), LD = Yr(ks), FD = Yr(Is), ND = Yr(Ls), $D = Yr(Fs);
async function gp(e, t = {}, r, i) {
  const { stdout: s } = await ur("pnpm", [
    ...t.global ? "global" : [],
    ...Array.isArray(e) ? e : [e],
    ...t.prefix ? `--prefix=${t.prefix}` : []
  ], i, r);
  return s;
}
var mp = { getPnpmWorkspaceMinimumReleaseAge: TD };
function vp(e) {
  return typeof e > "u" || e === null;
}
function xD(e) {
  return typeof e == "object" && e !== null;
}
function BD(e) {
  return Array.isArray(e) ? e : vp(e) ? [] : [e];
}
function PD(e, t) {
  var r, i, s, h;
  if (t)
    for (h = Object.keys(t), r = 0, i = h.length; r < i; r += 1)
      s = h[r], e[s] = t[s];
  return e;
}
function MD(e, t) {
  var r = "", i;
  for (i = 0; i < t; i += 1) r += e;
  return r;
}
function jD(e) {
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
}
var St = {
  isNothing: vp,
  isObject: xD,
  toArray: BD,
  repeat: MD,
  isNegativeZero: jD,
  extend: PD
};
function yp(e, t) {
  var r = "", i = e.reason || "(unknown reason)";
  return e.mark ? (e.mark.name && (r += 'in "' + e.mark.name + '" '), r += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (r += `

` + e.mark.snippet), i + " " + r) : i;
}
function Ji(e, t) {
  Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = yp(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ new Error()).stack || "";
}
Ji.prototype = Object.create(Error.prototype);
Ji.prototype.constructor = Ji;
Ji.prototype.toString = function(t) {
  return this.name + ": " + yp(this, t);
};
var Bt = Ji;
function da(e, t, r, i, s) {
  var h = "", a = "", n = Math.floor(s / 2) - 1;
  return i - t > n && (h = " ... ", t = i - n + h.length), r - i > n && (a = " ...", r = i + n - a.length), {
    str: h + e.slice(t, r).replace(/\t/g, "→") + a,
    pos: i - t + h.length
  };
}
function pa(e, t) {
  return St.repeat(" ", t - e.length) + e;
}
function UD(e, t) {
  if (t = Object.create(t || null), !e.buffer) return null;
  t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
  for (var r = /\r?\n|\r|\0/g, i = [0], s = [], h, a = -1; h = r.exec(e.buffer); )
    s.push(h.index), i.push(h.index + h[0].length), e.position <= h.index && a < 0 && (a = i.length - 2);
  a < 0 && (a = i.length - 1);
  var n = "", l, u, f = Math.min(e.line + t.linesAfter, s.length).toString().length, o = t.maxLength - (t.indent + f + 3);
  for (l = 1; l <= t.linesBefore && !(a - l < 0); l++)
    u = da(e.buffer, i[a - l], s[a - l], e.position - (i[a] - i[a - l]), o), n = St.repeat(" ", t.indent) + pa((e.line - l + 1).toString(), f) + " | " + u.str + `
` + n;
  for (u = da(e.buffer, i[a], s[a], e.position, o), n += St.repeat(" ", t.indent) + pa((e.line + 1).toString(), f) + " | " + u.str + `
`, n += St.repeat("-", t.indent + f + 3 + u.pos) + `^
`, l = 1; l <= t.linesAfter && !(a + l >= s.length); l++)
    u = da(e.buffer, i[a + l], s[a + l], e.position - (i[a] - i[a + l]), o), n += St.repeat(" ", t.indent) + pa((e.line + l + 1).toString(), f) + " | " + u.str + `
`;
  return n.replace(/\n$/, "");
}
var HD = UD, qD = [
  "kind",
  "multi",
  "resolve",
  "construct",
  "instanceOf",
  "predicate",
  "represent",
  "representName",
  "defaultStyle",
  "styleAliases"
], zD = [
  "scalar",
  "sequence",
  "mapping"
];
function GD(e) {
  var t = {};
  return e !== null && Object.keys(e).forEach(function(r) {
    e[r].forEach(function(i) {
      t[String(i)] = r;
    });
  }), t;
}
function WD(e, t) {
  if (t = t || {}, Object.keys(t).forEach(function(r) {
    if (qD.indexOf(r) === -1) throw new Bt('Unknown option "' + r + '" is met in definition of "' + e + '" YAML type.');
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
    return !0;
  }, this.construct = t.construct || function(r) {
    return r;
  }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = GD(t.styleAliases || null), zD.indexOf(this.kind) === -1) throw new Bt('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
}
var kt = WD;
function Lc(e, t) {
  var r = [];
  return e[t].forEach(function(i) {
    var s = r.length;
    r.forEach(function(h, a) {
      h.tag === i.tag && h.kind === i.kind && h.multi === i.multi && (s = a);
    }), r[s] = i;
  }), r;
}
function VD() {
  var e = {
    scalar: {},
    sequence: {},
    mapping: {},
    fallback: {},
    multi: {
      scalar: [],
      sequence: [],
      mapping: [],
      fallback: []
    }
  }, t, r;
  function i(s) {
    s.multi ? (e.multi[s.kind].push(s), e.multi.fallback.push(s)) : e[s.kind][s.tag] = e.fallback[s.tag] = s;
  }
  for (t = 0, r = arguments.length; t < r; t += 1) arguments[t].forEach(i);
  return e;
}
function zo(e) {
  return this.extend(e);
}
zo.prototype.extend = function(t) {
  var r = [], i = [];
  if (t instanceof kt) i.push(t);
  else if (Array.isArray(t)) i = i.concat(t);
  else if (t && (Array.isArray(t.implicit) || Array.isArray(t.explicit)))
    t.implicit && (r = r.concat(t.implicit)), t.explicit && (i = i.concat(t.explicit));
  else throw new Bt("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
  r.forEach(function(h) {
    if (!(h instanceof kt)) throw new Bt("Specified list of YAML types (or a single Type object) contains a non-Type object.");
    if (h.loadKind && h.loadKind !== "scalar") throw new Bt("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
    if (h.multi) throw new Bt("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
  }), i.forEach(function(h) {
    if (!(h instanceof kt)) throw new Bt("Specified list of YAML types (or a single Type object) contains a non-Type object.");
  });
  var s = Object.create(zo.prototype);
  return s.implicit = (this.implicit || []).concat(r), s.explicit = (this.explicit || []).concat(i), s.compiledImplicit = Lc(s, "implicit"), s.compiledExplicit = Lc(s, "explicit"), s.compiledTypeMap = VD(s.compiledImplicit, s.compiledExplicit), s;
};
var _p = zo, Ep = new kt("tag:yaml.org,2002:str", {
  kind: "scalar",
  construct: function(e) {
    return e !== null ? e : "";
  }
}), bp = new kt("tag:yaml.org,2002:seq", {
  kind: "sequence",
  construct: function(e) {
    return e !== null ? e : [];
  }
}), wp = new kt("tag:yaml.org,2002:map", {
  kind: "mapping",
  construct: function(e) {
    return e !== null ? e : {};
  }
}), Dp = new _p({ explicit: [
  Ep,
  bp,
  wp
] });
function YD(e) {
  if (e === null) return !0;
  var t = e.length;
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
}
function KD() {
  return null;
}
function ZD(e) {
  return e === null;
}
var Ap = new kt("tag:yaml.org,2002:null", {
  kind: "scalar",
  resolve: YD,
  construct: KD,
  predicate: ZD,
  represent: {
    canonical: function() {
      return "~";
    },
    lowercase: function() {
      return "null";
    },
    uppercase: function() {
      return "NULL";
    },
    camelcase: function() {
      return "Null";
    },
    empty: function() {
      return "";
    }
  },
  defaultStyle: "lowercase"
});
function JD(e) {
  if (e === null) return !1;
  var t = e.length;
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
}
function XD(e) {
  return e === "true" || e === "True" || e === "TRUE";
}
function QD(e) {
  return Object.prototype.toString.call(e) === "[object Boolean]";
}
var Sp = new kt("tag:yaml.org,2002:bool", {
  kind: "scalar",
  resolve: JD,
  construct: XD,
  predicate: QD,
  represent: {
    lowercase: function(e) {
      return e ? "true" : "false";
    },
    uppercase: function(e) {
      return e ? "TRUE" : "FALSE";
    },
    camelcase: function(e) {
      return e ? "True" : "False";
    }
  },
  defaultStyle: "lowercase"
});
function eA(e) {
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
}
function tA(e) {
  return 48 <= e && e <= 55;
}
function rA(e) {
  return 48 <= e && e <= 57;
}
function iA(e) {
  if (e === null) return !1;
  var t = e.length, r = 0, i = !1, s;
  if (!t) return !1;
  if (s = e[r], (s === "-" || s === "+") && (s = e[++r]), s === "0") {
    if (r + 1 === t) return !0;
    if (s = e[++r], s === "b") {
      for (r++; r < t; r++)
        if (s = e[r], s !== "_") {
          if (s !== "0" && s !== "1") return !1;
          i = !0;
        }
      return i && s !== "_";
    }
    if (s === "x") {
      for (r++; r < t; r++)
        if (s = e[r], s !== "_") {
          if (!eA(e.charCodeAt(r))) return !1;
          i = !0;
        }
      return i && s !== "_";
    }
    if (s === "o") {
      for (r++; r < t; r++)
        if (s = e[r], s !== "_") {
          if (!tA(e.charCodeAt(r))) return !1;
          i = !0;
        }
      return i && s !== "_";
    }
  }
  if (s === "_") return !1;
  for (; r < t; r++)
    if (s = e[r], s !== "_") {
      if (!rA(e.charCodeAt(r))) return !1;
      i = !0;
    }
  return !(!i || s === "_");
}
function nA(e) {
  var t = e, r = 1, i;
  if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), i = t[0], (i === "-" || i === "+") && (i === "-" && (r = -1), t = t.slice(1), i = t[0]), t === "0") return 0;
  if (i === "0") {
    if (t[1] === "b") return r * parseInt(t.slice(2), 2);
    if (t[1] === "x") return r * parseInt(t.slice(2), 16);
    if (t[1] === "o") return r * parseInt(t.slice(2), 8);
  }
  return r * parseInt(t, 10);
}
function sA(e) {
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !St.isNegativeZero(e);
}
var Cp = new kt("tag:yaml.org,2002:int", {
  kind: "scalar",
  resolve: iA,
  construct: nA,
  predicate: sA,
  represent: {
    binary: function(e) {
      return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
    },
    octal: function(e) {
      return e >= 0 ? "0o" + e.toString(8) : "-0o" + e.toString(8).slice(1);
    },
    decimal: function(e) {
      return e.toString(10);
    },
    hexadecimal: function(e) {
      return e >= 0 ? "0x" + e.toString(16).toUpperCase() : "-0x" + e.toString(16).toUpperCase().slice(1);
    }
  },
  defaultStyle: "decimal",
  styleAliases: {
    binary: [2, "bin"],
    octal: [8, "oct"],
    decimal: [10, "dec"],
    hexadecimal: [16, "hex"]
  }
}), aA = new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
function oA(e) {
  return !(e === null || !aA.test(e) || e[e.length - 1] === "_");
}
function uA(e) {
  var t = e.replace(/_/g, "").toLowerCase(), r = t[0] === "-" ? -1 : 1;
  return "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? r === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : t === ".nan" ? NaN : r * parseFloat(t, 10);
}
var lA = /^[-+]?[0-9]+e/;
function cA(e, t) {
  var r;
  if (isNaN(e)) switch (t) {
    case "lowercase":
      return ".nan";
    case "uppercase":
      return ".NAN";
    case "camelcase":
      return ".NaN";
  }
  else if (Number.POSITIVE_INFINITY === e) switch (t) {
    case "lowercase":
      return ".inf";
    case "uppercase":
      return ".INF";
    case "camelcase":
      return ".Inf";
  }
  else if (Number.NEGATIVE_INFINITY === e) switch (t) {
    case "lowercase":
      return "-.inf";
    case "uppercase":
      return "-.INF";
    case "camelcase":
      return "-.Inf";
  }
  else if (St.isNegativeZero(e)) return "-0.0";
  return r = e.toString(10), lA.test(r) ? r.replace("e", ".e") : r;
}
function hA(e) {
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || St.isNegativeZero(e));
}
var Tp = new kt("tag:yaml.org,2002:float", {
  kind: "scalar",
  resolve: oA,
  construct: uA,
  predicate: hA,
  represent: cA,
  defaultStyle: "lowercase"
}), Rp = Dp.extend({ implicit: [
  Ap,
  Sp,
  Cp,
  Tp
] }), Op = Rp, Ip = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), kp = 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]))?))?$");
function fA(e) {
  return e === null ? !1 : Ip.exec(e) !== null || kp.exec(e) !== null;
}
function dA(e) {
  var t, r, i, s, h, a, n, l = 0, u = null, f, o, c;
  if (t = Ip.exec(e), t === null && (t = kp.exec(e)), t === null) throw new Error("Date resolve error");
  if (r = +t[1], i = +t[2] - 1, s = +t[3], !t[4]) return new Date(Date.UTC(r, i, s));
  if (h = +t[4], a = +t[5], n = +t[6], t[7]) {
    for (l = t[7].slice(0, 3); l.length < 3; ) l += "0";
    l = +l;
  }
  return t[9] && (f = +t[10], o = +(t[11] || 0), u = (f * 60 + o) * 6e4, t[9] === "-" && (u = -u)), c = new Date(Date.UTC(r, i, s, h, a, n, l)), u && c.setTime(c.getTime() - u), c;
}
function pA(e) {
  return e.toISOString();
}
var Lp = new kt("tag:yaml.org,2002:timestamp", {
  kind: "scalar",
  resolve: fA,
  construct: dA,
  instanceOf: Date,
  represent: pA
});
function gA(e) {
  return e === "<<" || e === null;
}
var Fp = new kt("tag:yaml.org,2002:merge", {
  kind: "scalar",
  resolve: gA
}), al = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;
function mA(e) {
  if (e === null) return !1;
  var t, r, i = 0, s = e.length, h = al;
  for (r = 0; r < s; r++)
    if (t = h.indexOf(e.charAt(r)), !(t > 64)) {
      if (t < 0) return !1;
      i += 6;
    }
  return i % 8 === 0;
}
function vA(e) {
  var t, r, i = e.replace(/[\r\n=]/g, ""), s = i.length, h = al, a = 0, n = [];
  for (t = 0; t < s; t++)
    t % 4 === 0 && t && (n.push(a >> 16 & 255), n.push(a >> 8 & 255), n.push(a & 255)), a = a << 6 | h.indexOf(i.charAt(t));
  return r = s % 4 * 6, r === 0 ? (n.push(a >> 16 & 255), n.push(a >> 8 & 255), n.push(a & 255)) : r === 18 ? (n.push(a >> 10 & 255), n.push(a >> 2 & 255)) : r === 12 && n.push(a >> 4 & 255), new Uint8Array(n);
}
function yA(e) {
  var t = "", r = 0, i, s, h = e.length, a = al;
  for (i = 0; i < h; i++)
    i % 3 === 0 && i && (t += a[r >> 18 & 63], t += a[r >> 12 & 63], t += a[r >> 6 & 63], t += a[r & 63]), r = (r << 8) + e[i];
  return s = h % 3, s === 0 ? (t += a[r >> 18 & 63], t += a[r >> 12 & 63], t += a[r >> 6 & 63], t += a[r & 63]) : s === 2 ? (t += a[r >> 10 & 63], t += a[r >> 4 & 63], t += a[r << 2 & 63], t += a[64]) : s === 1 && (t += a[r >> 2 & 63], t += a[r << 4 & 63], t += a[64], t += a[64]), t;
}
function _A(e) {
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
}
var Np = new kt("tag:yaml.org,2002:binary", {
  kind: "scalar",
  resolve: mA,
  construct: vA,
  predicate: _A,
  represent: yA
}), EA = Object.prototype.hasOwnProperty, bA = Object.prototype.toString;
function wA(e) {
  if (e === null) return !0;
  var t = [], r, i, s, h, a, n = e;
  for (r = 0, i = n.length; r < i; r += 1) {
    if (s = n[r], a = !1, bA.call(s) !== "[object Object]") return !1;
    for (h in s) if (EA.call(s, h)) if (!a) a = !0;
    else return !1;
    if (!a) return !1;
    if (t.indexOf(h) === -1) t.push(h);
    else return !1;
  }
  return !0;
}
function DA(e) {
  return e !== null ? e : [];
}
var $p = new kt("tag:yaml.org,2002:omap", {
  kind: "sequence",
  resolve: wA,
  construct: DA
}), AA = Object.prototype.toString;
function SA(e) {
  if (e === null) return !0;
  var t, r, i, s, h, a = e;
  for (h = new Array(a.length), t = 0, r = a.length; t < r; t += 1) {
    if (i = a[t], AA.call(i) !== "[object Object]" || (s = Object.keys(i), s.length !== 1)) return !1;
    h[t] = [s[0], i[s[0]]];
  }
  return !0;
}
function CA(e) {
  if (e === null) return [];
  var t, r, i, s, h, a = e;
  for (h = new Array(a.length), t = 0, r = a.length; t < r; t += 1)
    i = a[t], s = Object.keys(i), h[t] = [s[0], i[s[0]]];
  return h;
}
var xp = new kt("tag:yaml.org,2002:pairs", {
  kind: "sequence",
  resolve: SA,
  construct: CA
}), TA = Object.prototype.hasOwnProperty;
function RA(e) {
  if (e === null) return !0;
  var t, r = e;
  for (t in r) if (TA.call(r, t) && r[t] !== null)
    return !1;
  return !0;
}
function OA(e) {
  return e !== null ? e : {};
}
var Bp = new kt("tag:yaml.org,2002:set", {
  kind: "mapping",
  resolve: RA,
  construct: OA
}), ol = Op.extend({
  implicit: [Lp, Fp],
  explicit: [
    Np,
    $p,
    xp,
    Bp
  ]
}), wr = Object.prototype.hasOwnProperty, Kn = 1, Pp = 2, Mp = 3, Zn = 4, ga = 1, IA = 2, Fc = 3, kA = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, LA = /[\x85\u2028\u2029]/, FA = /[,\[\]\{\}]/, jp = /^(?:!|!!|![a-z\-]+!)$/i, Up = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
function Nc(e) {
  return Object.prototype.toString.call(e);
}
function lr(e) {
  return e === 10 || e === 13;
}
function Mr(e) {
  return e === 9 || e === 32;
}
function Ht(e) {
  return e === 9 || e === 32 || e === 10 || e === 13;
}
function ii(e) {
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
}
function NA(e) {
  var t;
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
}
function $A(e) {
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
}
function xA(e) {
  return 48 <= e && e <= 57 ? e - 48 : -1;
}
function $c(e) {
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? "	" : e === 110 ? `
` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
}
function BA(e) {
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
}
function Hp(e, t, r) {
  t === "__proto__" ? Object.defineProperty(e, t, {
    configurable: !0,
    enumerable: !0,
    writable: !0,
    value: r
  }) : e[t] = r;
}
var qp = new Array(256), zp = new Array(256);
for (var Xr = 0; Xr < 256; Xr++)
  qp[Xr] = $c(Xr) ? 1 : 0, zp[Xr] = $c(Xr);
function PA(e, t) {
  this.input = e, this.filename = t.filename || null, this.schema = t.schema || ol, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
}
function Gp(e, t) {
  var r = {
    name: e.filename,
    buffer: e.input.slice(0, -1),
    position: e.position,
    line: e.line,
    column: e.position - e.lineStart
  };
  return r.snippet = HD(r), new Bt(t, r);
}
function qe(e, t) {
  throw Gp(e, t);
}
function Jn(e, t) {
  e.onWarning && e.onWarning.call(null, Gp(e, t));
}
var xc = {
  YAML: function(t, r, i) {
    var s, h, a;
    t.version !== null && qe(t, "duplication of %YAML directive"), i.length !== 1 && qe(t, "YAML directive accepts exactly one argument"), s = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), s === null && qe(t, "ill-formed argument of the YAML directive"), h = parseInt(s[1], 10), a = parseInt(s[2], 10), h !== 1 && qe(t, "unacceptable YAML version of the document"), t.version = i[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Jn(t, "unsupported YAML version of the document");
  },
  TAG: function(t, r, i) {
    var s, h;
    i.length !== 2 && qe(t, "TAG directive accepts exactly two arguments"), s = i[0], h = i[1], jp.test(s) || qe(t, "ill-formed tag handle (first argument) of the TAG directive"), wr.call(t.tagMap, s) && qe(t, 'there is a previously declared suffix for "' + s + '" tag handle'), Up.test(h) || qe(t, "ill-formed tag prefix (second argument) of the TAG directive");
    try {
      h = decodeURIComponent(h);
    } catch {
      qe(t, "tag prefix is malformed: " + h);
    }
    t.tagMap[s] = h;
  }
};
function _r(e, t, r, i) {
  var s, h, a, n;
  if (t < r) {
    if (n = e.input.slice(t, r), i) for (s = 0, h = n.length; s < h; s += 1)
      a = n.charCodeAt(s), a === 9 || 32 <= a && a <= 1114111 || qe(e, "expected valid JSON character");
    else kA.test(n) && qe(e, "the stream contains non-printable characters");
    e.result += n;
  }
}
function Bc(e, t, r, i) {
  var s, h, a, n;
  for (St.isObject(r) || qe(e, "cannot merge mappings; the provided source object is unacceptable"), s = Object.keys(r), a = 0, n = s.length; a < n; a += 1)
    h = s[a], wr.call(t, h) || (Hp(t, h, r[h]), i[h] = !0);
}
function ni(e, t, r, i, s, h, a, n, l) {
  var u, f;
  if (Array.isArray(s))
    for (s = Array.prototype.slice.call(s), u = 0, f = s.length; u < f; u += 1)
      Array.isArray(s[u]) && qe(e, "nested arrays are not supported inside keys"), typeof s == "object" && Nc(s[u]) === "[object Object]" && (s[u] = "[object Object]");
  if (typeof s == "object" && Nc(s) === "[object Object]" && (s = "[object Object]"), s = String(s), t === null && (t = {}), i === "tag:yaml.org,2002:merge") if (Array.isArray(h)) for (u = 0, f = h.length; u < f; u += 1) Bc(e, t, h[u], r);
  else Bc(e, t, h, r);
  else
    !e.json && !wr.call(r, s) && wr.call(t, s) && (e.line = a || e.line, e.lineStart = n || e.lineStart, e.position = l || e.position, qe(e, "duplicated mapping key")), Hp(t, s, h), delete r[s];
  return t;
}
function ul(e) {
  var t = e.input.charCodeAt(e.position);
  t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : qe(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
}
function _t(e, t, r) {
  for (var i = 0, s = e.input.charCodeAt(e.position); s !== 0; ) {
    for (; Mr(s); )
      s === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), s = e.input.charCodeAt(++e.position);
    if (t && s === 35) do
      s = e.input.charCodeAt(++e.position);
    while (s !== 10 && s !== 13 && s !== 0);
    if (lr(s))
      for (ul(e), s = e.input.charCodeAt(e.position), i++, e.lineIndent = 0; s === 32; )
        e.lineIndent++, s = e.input.charCodeAt(++e.position);
    else break;
  }
  return r !== -1 && i !== 0 && e.lineIndent < r && Jn(e, "deficient indentation"), i;
}
function zs(e) {
  var t = e.position, r = e.input.charCodeAt(t);
  return !!((r === 45 || r === 46) && r === e.input.charCodeAt(t + 1) && r === e.input.charCodeAt(t + 2) && (t += 3, r = e.input.charCodeAt(t), r === 0 || Ht(r)));
}
function ll(e, t) {
  t === 1 ? e.result += " " : t > 1 && (e.result += St.repeat(`
`, t - 1));
}
function MA(e, t, r) {
  var i, s, h, a, n, l, u, f, o = e.kind, c = e.result, d = e.input.charCodeAt(e.position);
  if (Ht(d) || ii(d) || d === 35 || d === 38 || d === 42 || d === 33 || d === 124 || d === 62 || d === 39 || d === 34 || d === 37 || d === 64 || d === 96 || (d === 63 || d === 45) && (s = e.input.charCodeAt(e.position + 1), Ht(s) || r && ii(s)))
    return !1;
  for (e.kind = "scalar", e.result = "", h = a = e.position, n = !1; d !== 0; ) {
    if (d === 58) {
      if (s = e.input.charCodeAt(e.position + 1), Ht(s) || r && ii(s)) break;
    } else if (d === 35) {
      if (i = e.input.charCodeAt(e.position - 1), Ht(i)) break;
    } else {
      if (e.position === e.lineStart && zs(e) || r && ii(d)) break;
      if (lr(d))
        if (l = e.line, u = e.lineStart, f = e.lineIndent, _t(e, !1, -1), e.lineIndent >= t) {
          n = !0, d = e.input.charCodeAt(e.position);
          continue;
        } else {
          e.position = a, e.line = l, e.lineStart = u, e.lineIndent = f;
          break;
        }
    }
    n && (_r(e, h, a, !1), ll(e, e.line - l), h = a = e.position, n = !1), Mr(d) || (a = e.position + 1), d = e.input.charCodeAt(++e.position);
  }
  return _r(e, h, a, !1), e.result ? !0 : (e.kind = o, e.result = c, !1);
}
function jA(e, t) {
  var r = e.input.charCodeAt(e.position), i, s;
  if (r !== 39) return !1;
  for (e.kind = "scalar", e.result = "", e.position++, i = s = e.position; (r = e.input.charCodeAt(e.position)) !== 0; ) if (r === 39)
    if (_r(e, i, e.position, !0), r = e.input.charCodeAt(++e.position), r === 39)
      i = e.position, e.position++, s = e.position;
    else return !0;
  else lr(r) ? (_r(e, i, s, !0), ll(e, _t(e, !1, t)), i = s = e.position) : e.position === e.lineStart && zs(e) ? qe(e, "unexpected end of the document within a single quoted scalar") : (e.position++, s = e.position);
  qe(e, "unexpected end of the stream within a single quoted scalar");
}
function UA(e, t) {
  var r, i, s, h, a, n = e.input.charCodeAt(e.position);
  if (n !== 34) return !1;
  for (e.kind = "scalar", e.result = "", e.position++, r = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0; ) {
    if (n === 34)
      return _r(e, r, e.position, !0), e.position++, !0;
    if (n === 92) {
      if (_r(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), lr(n)) _t(e, !1, t);
      else if (n < 256 && qp[n])
        e.result += zp[n], e.position++;
      else if ((a = $A(n)) > 0) {
        for (s = a, h = 0; s > 0; s--)
          n = e.input.charCodeAt(++e.position), (a = NA(n)) >= 0 ? h = (h << 4) + a : qe(e, "expected hexadecimal character");
        e.result += BA(h), e.position++;
      } else qe(e, "unknown escape sequence");
      r = i = e.position;
    } else lr(n) ? (_r(e, r, i, !0), ll(e, _t(e, !1, t)), r = i = e.position) : e.position === e.lineStart && zs(e) ? qe(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
  }
  qe(e, "unexpected end of the stream within a double quoted scalar");
}
function HA(e, t) {
  var r = !0, i, s, h, a = e.tag, n, l = e.anchor, u, f, o, c, d, p = /* @__PURE__ */ Object.create(null), m, g, v, y = e.input.charCodeAt(e.position);
  if (y === 91)
    f = 93, d = !1, n = [];
  else if (y === 123)
    f = 125, d = !0, n = {};
  else return !1;
  for (e.anchor !== null && (e.anchorMap[e.anchor] = n), y = e.input.charCodeAt(++e.position); y !== 0; ) {
    if (_t(e, !0, t), y = e.input.charCodeAt(e.position), y === f)
      return e.position++, e.tag = a, e.anchor = l, e.kind = d ? "mapping" : "sequence", e.result = n, !0;
    r ? y === 44 && qe(e, "expected the node content, but found ','") : qe(e, "missed comma between flow collection entries"), g = m = v = null, o = c = !1, y === 63 && (u = e.input.charCodeAt(e.position + 1), Ht(u) && (o = c = !0, e.position++, _t(e, !0, t))), i = e.line, s = e.lineStart, h = e.position, vi(e, t, Kn, !1, !0), g = e.tag, m = e.result, _t(e, !0, t), y = e.input.charCodeAt(e.position), (c || e.line === i) && y === 58 && (o = !0, y = e.input.charCodeAt(++e.position), _t(e, !0, t), vi(e, t, Kn, !1, !0), v = e.result), d ? ni(e, n, p, g, m, v, i, s, h) : o ? n.push(ni(e, null, p, g, m, v, i, s, h)) : n.push(m), _t(e, !0, t), y = e.input.charCodeAt(e.position), y === 44 ? (r = !0, y = e.input.charCodeAt(++e.position)) : r = !1;
  }
  qe(e, "unexpected end of the stream within a flow collection");
}
function qA(e, t) {
  var r, i, s = ga, h = !1, a = !1, n = t, l = 0, u = !1, f, o = e.input.charCodeAt(e.position);
  if (o === 124) i = !1;
  else if (o === 62) i = !0;
  else return !1;
  for (e.kind = "scalar", e.result = ""; o !== 0; )
    if (o = e.input.charCodeAt(++e.position), o === 43 || o === 45) ga === s ? s = o === 43 ? Fc : IA : qe(e, "repeat of a chomping mode identifier");
    else if ((f = xA(o)) >= 0) f === 0 ? qe(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? qe(e, "repeat of an indentation width identifier") : (n = t + f - 1, a = !0);
    else break;
  if (Mr(o)) {
    do
      o = e.input.charCodeAt(++e.position);
    while (Mr(o));
    if (o === 35) do
      o = e.input.charCodeAt(++e.position);
    while (!lr(o) && o !== 0);
  }
  for (; o !== 0; ) {
    for (ul(e), e.lineIndent = 0, o = e.input.charCodeAt(e.position); (!a || e.lineIndent < n) && o === 32; )
      e.lineIndent++, o = e.input.charCodeAt(++e.position);
    if (!a && e.lineIndent > n && (n = e.lineIndent), lr(o)) {
      l++;
      continue;
    }
    if (e.lineIndent < n) {
      s === Fc ? e.result += St.repeat(`
`, h ? 1 + l : l) : s === ga && h && (e.result += `
`);
      break;
    }
    for (i ? Mr(o) ? (u = !0, e.result += St.repeat(`
`, h ? 1 + l : l)) : u ? (u = !1, e.result += St.repeat(`
`, l + 1)) : l === 0 ? h && (e.result += " ") : e.result += St.repeat(`
`, l) : e.result += St.repeat(`
`, h ? 1 + l : l), h = !0, a = !0, l = 0, r = e.position; !lr(o) && o !== 0; ) o = e.input.charCodeAt(++e.position);
    _r(e, r, e.position, !1);
  }
  return !0;
}
function Pc(e, t) {
  var r, i = e.tag, s = e.anchor, h = [], a, n = !1, l;
  if (e.firstTabInLine !== -1) return !1;
  for (e.anchor !== null && (e.anchorMap[e.anchor] = h), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, qe(e, "tab characters must not be used in indentation")), !(l !== 45 || (a = e.input.charCodeAt(e.position + 1), !Ht(a)))); ) {
    if (n = !0, e.position++, _t(e, !0, -1) && e.lineIndent <= t) {
      h.push(null), l = e.input.charCodeAt(e.position);
      continue;
    }
    if (r = e.line, vi(e, t, Mp, !1, !0), h.push(e.result), _t(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === r || e.lineIndent > t) && l !== 0) qe(e, "bad indentation of a sequence entry");
    else if (e.lineIndent < t) break;
  }
  return n ? (e.tag = i, e.anchor = s, e.kind = "sequence", e.result = h, !0) : !1;
}
function zA(e, t, r) {
  var i, s, h, a, n, l, u = e.tag, f = e.anchor, o = {}, c = /* @__PURE__ */ Object.create(null), d = null, p = null, m = null, g = !1, v = !1, y;
  if (e.firstTabInLine !== -1) return !1;
  for (e.anchor !== null && (e.anchorMap[e.anchor] = o), y = e.input.charCodeAt(e.position); y !== 0; ) {
    if (!g && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, qe(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), h = e.line, (y === 63 || y === 58) && Ht(i))
      y === 63 ? (g && (ni(e, o, c, d, p, null, a, n, l), d = p = m = null), v = !0, g = !0, s = !0) : g ? (g = !1, s = !0) : qe(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, y = i;
    else {
      if (a = e.line, n = e.lineStart, l = e.position, !vi(e, r, Pp, !1, !0)) break;
      if (e.line === h) {
        for (y = e.input.charCodeAt(e.position); Mr(y); ) y = e.input.charCodeAt(++e.position);
        if (y === 58)
          y = e.input.charCodeAt(++e.position), Ht(y) || qe(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (ni(e, o, c, d, p, null, a, n, l), d = p = m = null), v = !0, g = !1, s = !1, d = e.tag, p = e.result;
        else if (v) qe(e, "can not read an implicit mapping pair; a colon is missed");
        else
          return e.tag = u, e.anchor = f, !0;
      } else if (v) qe(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
      else
        return e.tag = u, e.anchor = f, !0;
    }
    if ((e.line === h || e.lineIndent > t) && (g && (a = e.line, n = e.lineStart, l = e.position), vi(e, t, Zn, !0, s) && (g ? p = e.result : m = e.result), g || (ni(e, o, c, d, p, m, a, n, l), d = p = m = null), _t(e, !0, -1), y = e.input.charCodeAt(e.position)), (e.line === h || e.lineIndent > t) && y !== 0) qe(e, "bad indentation of a mapping entry");
    else if (e.lineIndent < t) break;
  }
  return g && ni(e, o, c, d, p, null, a, n, l), v && (e.tag = u, e.anchor = f, e.kind = "mapping", e.result = o), v;
}
function GA(e) {
  var t, r = !1, i = !1, s, h, a = e.input.charCodeAt(e.position);
  if (a !== 33) return !1;
  if (e.tag !== null && qe(e, "duplication of a tag property"), a = e.input.charCodeAt(++e.position), a === 60 ? (r = !0, a = e.input.charCodeAt(++e.position)) : a === 33 ? (i = !0, s = "!!", a = e.input.charCodeAt(++e.position)) : s = "!", t = e.position, r) {
    do
      a = e.input.charCodeAt(++e.position);
    while (a !== 0 && a !== 62);
    e.position < e.length ? (h = e.input.slice(t, e.position), a = e.input.charCodeAt(++e.position)) : qe(e, "unexpected end of the stream within a verbatim tag");
  } else {
    for (; a !== 0 && !Ht(a); )
      a === 33 && (i ? qe(e, "tag suffix cannot contain exclamation marks") : (s = e.input.slice(t - 1, e.position + 1), jp.test(s) || qe(e, "named tag handle cannot contain such characters"), i = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
    h = e.input.slice(t, e.position), FA.test(h) && qe(e, "tag suffix cannot contain flow indicator characters");
  }
  h && !Up.test(h) && qe(e, "tag name cannot contain such characters: " + h);
  try {
    h = decodeURIComponent(h);
  } catch {
    qe(e, "tag name is malformed: " + h);
  }
  return r ? e.tag = h : wr.call(e.tagMap, s) ? e.tag = e.tagMap[s] + h : s === "!" ? e.tag = "!" + h : s === "!!" ? e.tag = "tag:yaml.org,2002:" + h : qe(e, 'undeclared tag handle "' + s + '"'), !0;
}
function WA(e) {
  var t, r = e.input.charCodeAt(e.position);
  if (r !== 38) return !1;
  for (e.anchor !== null && qe(e, "duplication of an anchor property"), r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !Ht(r) && !ii(r); ) r = e.input.charCodeAt(++e.position);
  return e.position === t && qe(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
}
function VA(e) {
  var t, r, i = e.input.charCodeAt(e.position);
  if (i !== 42) return !1;
  for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !Ht(i) && !ii(i); ) i = e.input.charCodeAt(++e.position);
  return e.position === t && qe(e, "name of an alias node must contain at least one character"), r = e.input.slice(t, e.position), wr.call(e.anchorMap, r) || qe(e, 'unidentified alias "' + r + '"'), e.result = e.anchorMap[r], _t(e, !0, -1), !0;
}
function vi(e, t, r, i, s) {
  var h, a, n, l = 1, u = !1, f = !1, o, c, d, p, m, g;
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, h = a = n = Zn === r || Mp === r, i && _t(e, !0, -1) && (u = !0, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)), l === 1) for (; GA(e) || WA(e); ) _t(e, !0, -1) ? (u = !0, n = h, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)) : n = !1;
  if (n && (n = u || s), (l === 1 || Zn === r) && (Kn === r || Pp === r ? m = t : m = t + 1, g = e.position - e.lineStart, l === 1 ? n && (Pc(e, g) || zA(e, g, m)) || HA(e, m) ? f = !0 : (a && qA(e, m) || jA(e, m) || UA(e, m) ? f = !0 : VA(e) ? (f = !0, (e.tag !== null || e.anchor !== null) && qe(e, "alias node should not have any properties")) : MA(e, m, Kn === r) && (f = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (f = n && Pc(e, g))), e.tag === null)
    e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
  else if (e.tag === "?") {
    for (e.result !== null && e.kind !== "scalar" && qe(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), o = 0, c = e.implicitTypes.length; o < c; o += 1)
      if (p = e.implicitTypes[o], p.resolve(e.result)) {
        e.result = p.construct(e.result), e.tag = p.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
        break;
      }
  } else if (e.tag !== "!") {
    if (wr.call(e.typeMap[e.kind || "fallback"], e.tag)) p = e.typeMap[e.kind || "fallback"][e.tag];
    else
      for (p = null, d = e.typeMap.multi[e.kind || "fallback"], o = 0, c = d.length; o < c; o += 1) if (e.tag.slice(0, d[o].tag.length) === d[o].tag) {
        p = d[o];
        break;
      }
    p || qe(e, "unknown tag !<" + e.tag + ">"), e.result !== null && p.kind !== e.kind && qe(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + p.kind + '", not "' + e.kind + '"'), p.resolve(e.result, e.tag) ? (e.result = p.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : qe(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
  }
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || f;
}
function YA(e) {
  var t = e.position, r, i, s, h = !1, a;
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (a = e.input.charCodeAt(e.position)) !== 0 && (_t(e, !0, -1), a = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || a !== 37)); ) {
    for (h = !0, a = e.input.charCodeAt(++e.position), r = e.position; a !== 0 && !Ht(a); ) a = e.input.charCodeAt(++e.position);
    for (i = e.input.slice(r, e.position), s = [], i.length < 1 && qe(e, "directive name must not be less than one character in length"); a !== 0; ) {
      for (; Mr(a); ) a = e.input.charCodeAt(++e.position);
      if (a === 35) {
        do
          a = e.input.charCodeAt(++e.position);
        while (a !== 0 && !lr(a));
        break;
      }
      if (lr(a)) break;
      for (r = e.position; a !== 0 && !Ht(a); ) a = e.input.charCodeAt(++e.position);
      s.push(e.input.slice(r, e.position));
    }
    a !== 0 && ul(e), wr.call(xc, i) ? xc[i](e, i, s) : Jn(e, 'unknown document directive "' + i + '"');
  }
  if (_t(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, _t(e, !0, -1)) : h && qe(e, "directives end mark is expected"), vi(e, e.lineIndent - 1, Zn, !1, !0), _t(e, !0, -1), e.checkLineBreaks && LA.test(e.input.slice(t, e.position)) && Jn(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && zs(e)) {
    e.input.charCodeAt(e.position) === 46 && (e.position += 3, _t(e, !0, -1));
    return;
  }
  if (e.position < e.length - 1) qe(e, "end of the stream or a document separator is expected");
  else return;
}
function Wp(e, t) {
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
`), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
  var r = new PA(e, t), i = e.indexOf("\0");
  for (i !== -1 && (r.position = i, qe(r, "null byte is not allowed in input")), r.input += "\0"; r.input.charCodeAt(r.position) === 32; )
    r.lineIndent += 1, r.position += 1;
  for (; r.position < r.length - 1; ) YA(r);
  return r.documents;
}
function KA(e, t, r) {
  t !== null && typeof t == "object" && typeof r > "u" && (r = t, t = null);
  var i = Wp(e, r);
  if (typeof t != "function") return i;
  for (var s = 0, h = i.length; s < h; s += 1) t(i[s]);
}
function ZA(e, t) {
  var r = Wp(e, t);
  if (r.length !== 0) {
    if (r.length === 1) return r[0];
    throw new Bt("expected a single document in the stream, but found more");
  }
}
var Vp = {
  loadAll: KA,
  load: ZA
}, Yp = Object.prototype.toString, Kp = Object.prototype.hasOwnProperty, cl = 65279, JA = 9, Xi = 10, XA = 13, QA = 32, eS = 33, tS = 34, Go = 35, rS = 37, iS = 38, nS = 39, sS = 42, Zp = 44, aS = 45, Xn = 58, oS = 61, uS = 62, lS = 63, cS = 64, Jp = 91, Xp = 93, hS = 96, Qp = 123, fS = 124, eg = 125, Ft = {};
Ft[0] = "\\0";
Ft[7] = "\\a";
Ft[8] = "\\b";
Ft[9] = "\\t";
Ft[10] = "\\n";
Ft[11] = "\\v";
Ft[12] = "\\f";
Ft[13] = "\\r";
Ft[27] = "\\e";
Ft[34] = '\\"';
Ft[92] = "\\\\";
Ft[133] = "\\N";
Ft[160] = "\\_";
Ft[8232] = "\\L";
Ft[8233] = "\\P";
var dS = [
  "y",
  "Y",
  "yes",
  "Yes",
  "YES",
  "on",
  "On",
  "ON",
  "n",
  "N",
  "no",
  "No",
  "NO",
  "off",
  "Off",
  "OFF"
], pS = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
function gS(e, t) {
  var r, i, s, h, a, n, l;
  if (t === null) return {};
  for (r = {}, i = Object.keys(t), s = 0, h = i.length; s < h; s += 1)
    a = i[s], n = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), l = e.compiledTypeMap.fallback[a], l && Kp.call(l.styleAliases, n) && (n = l.styleAliases[n]), r[a] = n;
  return r;
}
function mS(e) {
  var t = e.toString(16).toUpperCase(), r, i;
  if (e <= 255)
    r = "x", i = 2;
  else if (e <= 65535)
    r = "u", i = 4;
  else if (e <= 4294967295)
    r = "U", i = 8;
  else throw new Bt("code point within a string may not be greater than 0xFFFFFFFF");
  return "\\" + r + St.repeat("0", i - t.length) + t;
}
var vS = 1, Qi = 2;
function yS(e) {
  this.schema = e.schema || ol, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = St.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = gS(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Qi : vS, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
}
function Mc(e, t) {
  for (var r = St.repeat(" ", t), i = 0, s = -1, h = "", a, n = e.length; i < n; )
    s = e.indexOf(`
`, i), s === -1 ? (a = e.slice(i), i = n) : (a = e.slice(i, s + 1), i = s + 1), a.length && a !== `
` && (h += r), h += a;
  return h;
}
function Wo(e, t) {
  return `
` + St.repeat(" ", e.indent * t);
}
function _S(e, t) {
  var r, i, s;
  for (r = 0, i = e.implicitTypes.length; r < i; r += 1)
    if (s = e.implicitTypes[r], s.resolve(t)) return !0;
  return !1;
}
function Qn(e) {
  return e === QA || e === JA;
}
function en(e) {
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== cl || 65536 <= e && e <= 1114111;
}
function jc(e) {
  return en(e) && e !== cl && e !== XA && e !== Xi;
}
function Uc(e, t, r) {
  var i = jc(e), s = i && !Qn(e);
  return (r ? i : i && e !== Zp && e !== Jp && e !== Xp && e !== Qp && e !== eg) && e !== Go && !(t === Xn && !s) || jc(t) && !Qn(t) && e === Go || t === Xn && s;
}
function ES(e) {
  return en(e) && e !== cl && !Qn(e) && e !== aS && e !== lS && e !== Xn && e !== Zp && e !== Jp && e !== Xp && e !== Qp && e !== eg && e !== Go && e !== iS && e !== sS && e !== eS && e !== fS && e !== oS && e !== uS && e !== nS && e !== tS && e !== rS && e !== cS && e !== hS;
}
function bS(e) {
  return !Qn(e) && e !== Xn;
}
function Pi(e, t) {
  var r = e.charCodeAt(t), i;
  return r >= 55296 && r <= 56319 && t + 1 < e.length && (i = e.charCodeAt(t + 1), i >= 56320 && i <= 57343) ? (r - 55296) * 1024 + i - 56320 + 65536 : r;
}
function tg(e) {
  return /^\n* /.test(e);
}
var rg = 1, Vo = 2, ig = 3, ng = 4, ri = 5;
function wS(e, t, r, i, s, h, a, n) {
  var l, u = 0, f = null, o = !1, c = !1, d = i !== -1, p = -1, m = ES(Pi(e, 0)) && bS(Pi(e, e.length - 1));
  if (t || a) for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
    if (u = Pi(e, l), !en(u)) return ri;
    m = m && Uc(u, f, n), f = u;
  }
  else {
    for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
      if (u = Pi(e, l), u === Xi)
        o = !0, d && (c = c || l - p - 1 > i && e[p + 1] !== " ", p = l);
      else if (!en(u)) return ri;
      m = m && Uc(u, f, n), f = u;
    }
    c = c || d && l - p - 1 > i && e[p + 1] !== " ";
  }
  return !o && !c ? m && !a && !s(e) ? rg : h === Qi ? ri : Vo : r > 9 && tg(e) ? ri : a ? h === Qi ? ri : Vo : c ? ng : ig;
}
function DS(e, t, r, i, s) {
  e.dump = (function() {
    if (t.length === 0) return e.quotingType === Qi ? '""' : "''";
    if (!e.noCompatMode && (dS.indexOf(t) !== -1 || pS.test(t)))
      return e.quotingType === Qi ? '"' + t + '"' : "'" + t + "'";
    var h = e.indent * Math.max(1, r), a = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - h), n = i || e.flowLevel > -1 && r >= e.flowLevel;
    function l(u) {
      return _S(e, u);
    }
    switch (wS(t, n, e.indent, a, l, e.quotingType, e.forceQuotes && !i, s)) {
      case rg:
        return t;
      case Vo:
        return "'" + t.replace(/'/g, "''") + "'";
      case ig:
        return "|" + Hc(t, e.indent) + qc(Mc(t, h));
      case ng:
        return ">" + Hc(t, e.indent) + qc(Mc(AS(t, a), h));
      case ri:
        return '"' + SS(t) + '"';
      default:
        throw new Bt("impossible error: invalid scalar style");
    }
  })();
}
function Hc(e, t) {
  var r = tg(e) ? String(t) : "", i = e[e.length - 1] === `
`;
  return r + (i && (e[e.length - 2] === `
` || e === `
`) ? "+" : i ? "" : "-") + `
`;
}
function qc(e) {
  return e[e.length - 1] === `
` ? e.slice(0, -1) : e;
}
function AS(e, t) {
  for (var r = /(\n+)([^\n]*)/g, i = (function() {
    var u = e.indexOf(`
`);
    return u = u !== -1 ? u : e.length, r.lastIndex = u, zc(e.slice(0, u), t);
  })(), s = e[0] === `
` || e[0] === " ", h, a; a = r.exec(e); ) {
    var n = a[1], l = a[2];
    h = l[0] === " ", i += n + (!s && !h && l !== "" ? `
` : "") + zc(l, t), s = h;
  }
  return i;
}
function zc(e, t) {
  if (e === "" || e[0] === " ") return e;
  for (var r = / [^ ]/g, i, s = 0, h, a = 0, n = 0, l = ""; i = r.exec(e); )
    n = i.index, n - s > t && (h = a > s ? a : n, l += `
` + e.slice(s, h), s = h + 1), a = n;
  return l += `
`, e.length - s > t && a > s ? l += e.slice(s, a) + `
` + e.slice(a + 1) : l += e.slice(s), l.slice(1);
}
function SS(e) {
  for (var t = "", r = 0, i, s = 0; s < e.length; r >= 65536 ? s += 2 : s++)
    r = Pi(e, s), i = Ft[r], !i && en(r) ? (t += e[s], r >= 65536 && (t += e[s + 1])) : t += i || mS(r);
  return t;
}
function CS(e, t, r) {
  var i = "", s = e.tag, h, a, n;
  for (h = 0, a = r.length; h < a; h += 1)
    n = r[h], e.replacer && (n = e.replacer.call(r, String(h), n)), (mr(e, t, n, !1, !1) || typeof n > "u" && mr(e, t, null, !1, !1)) && (i !== "" && (i += "," + (e.condenseFlow ? "" : " ")), i += e.dump);
  e.tag = s, e.dump = "[" + i + "]";
}
function Gc(e, t, r, i) {
  var s = "", h = e.tag, a, n, l;
  for (a = 0, n = r.length; a < n; a += 1)
    l = r[a], e.replacer && (l = e.replacer.call(r, String(a), l)), (mr(e, t + 1, l, !0, !0, !1, !0) || typeof l > "u" && mr(e, t + 1, null, !0, !0, !1, !0)) && ((!i || s !== "") && (s += Wo(e, t)), e.dump && Xi === e.dump.charCodeAt(0) ? s += "-" : s += "- ", s += e.dump);
  e.tag = h, e.dump = s || "[]";
}
function TS(e, t, r) {
  var i = "", s = e.tag, h = Object.keys(r), a, n, l, u, f;
  for (a = 0, n = h.length; a < n; a += 1)
    f = "", i !== "" && (f += ", "), e.condenseFlow && (f += '"'), l = h[a], u = r[l], e.replacer && (u = e.replacer.call(r, l, u)), mr(e, t, l, !1, !1) && (e.dump.length > 1024 && (f += "? "), f += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), mr(e, t, u, !1, !1) && (f += e.dump, i += f));
  e.tag = s, e.dump = "{" + i + "}";
}
function RS(e, t, r, i) {
  var s = "", h = e.tag, a = Object.keys(r), n, l, u, f, o, c;
  if (e.sortKeys === !0) a.sort();
  else if (typeof e.sortKeys == "function") a.sort(e.sortKeys);
  else if (e.sortKeys) throw new Bt("sortKeys must be a boolean or a function");
  for (n = 0, l = a.length; n < l; n += 1)
    c = "", (!i || s !== "") && (c += Wo(e, t)), u = a[n], f = r[u], e.replacer && (f = e.replacer.call(r, u, f)), mr(e, t + 1, u, !0, !0, !0) && (o = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, o && (e.dump && Xi === e.dump.charCodeAt(0) ? c += "?" : c += "? "), c += e.dump, o && (c += Wo(e, t)), mr(e, t + 1, f, !0, o) && (e.dump && Xi === e.dump.charCodeAt(0) ? c += ":" : c += ": ", c += e.dump, s += c));
  e.tag = h, e.dump = s || "{}";
}
function Wc(e, t, r) {
  var i, s = r ? e.explicitTypes : e.implicitTypes, h, a, n, l;
  for (h = 0, a = s.length; h < a; h += 1)
    if (n = s[h], (n.instanceOf || n.predicate) && (!n.instanceOf || typeof t == "object" && t instanceof n.instanceOf) && (!n.predicate || n.predicate(t))) {
      if (r ? n.multi && n.representName ? e.tag = n.representName(t) : e.tag = n.tag : e.tag = "?", n.represent) {
        if (l = e.styleMap[n.tag] || n.defaultStyle, Yp.call(n.represent) === "[object Function]") i = n.represent(t, l);
        else if (Kp.call(n.represent, l)) i = n.represent[l](t, l);
        else throw new Bt("!<" + n.tag + '> tag resolver accepts not "' + l + '" style');
        e.dump = i;
      }
      return !0;
    }
  return !1;
}
function mr(e, t, r, i, s, h, a) {
  e.tag = null, e.dump = r, Wc(e, r, !1) || Wc(e, r, !0);
  var n = Yp.call(e.dump), l = i, u;
  i && (i = e.flowLevel < 0 || e.flowLevel > t);
  var f = n === "[object Object]" || n === "[object Array]", o, c;
  if (f && (o = e.duplicates.indexOf(r), c = o !== -1), (e.tag !== null && e.tag !== "?" || c || e.indent !== 2 && t > 0) && (s = !1), c && e.usedDuplicates[o]) e.dump = "*ref_" + o;
  else {
    if (f && c && !e.usedDuplicates[o] && (e.usedDuplicates[o] = !0), n === "[object Object]") i && Object.keys(e.dump).length !== 0 ? (RS(e, t, e.dump, s), c && (e.dump = "&ref_" + o + e.dump)) : (TS(e, t, e.dump), c && (e.dump = "&ref_" + o + " " + e.dump));
    else if (n === "[object Array]") i && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Gc(e, t - 1, e.dump, s) : Gc(e, t, e.dump, s), c && (e.dump = "&ref_" + o + e.dump)) : (CS(e, t, e.dump), c && (e.dump = "&ref_" + o + " " + e.dump));
    else if (n === "[object String]")
      e.tag !== "?" && DS(e, e.dump, t, h, l);
    else {
      if (n === "[object Undefined]") return !1;
      if (e.skipInvalid) return !1;
      throw new Bt("unacceptable kind of an object to dump " + n);
    }
    e.tag !== null && e.tag !== "?" && (u = encodeURI(e.tag[0] === "!" ? e.tag.slice(1) : e.tag).replace(/!/g, "%21"), e.tag[0] === "!" ? u = "!" + u : u.slice(0, 18) === "tag:yaml.org,2002:" ? u = "!!" + u.slice(18) : u = "!<" + u + ">", e.dump = u + " " + e.dump);
  }
  return !0;
}
function OS(e, t) {
  var r = [], i = [], s, h;
  for (Yo(e, r, i), s = 0, h = i.length; s < h; s += 1) t.duplicates.push(r[i[s]]);
  t.usedDuplicates = new Array(h);
}
function Yo(e, t, r) {
  var i, s, h;
  if (e !== null && typeof e == "object")
    if (s = t.indexOf(e), s !== -1)
      r.indexOf(s) === -1 && r.push(s);
    else if (t.push(e), Array.isArray(e)) for (s = 0, h = e.length; s < h; s += 1) Yo(e[s], t, r);
    else
      for (i = Object.keys(e), s = 0, h = i.length; s < h; s += 1) Yo(e[i[s]], t, r);
}
function IS(e, t) {
  t = t || {};
  var r = new yS(t);
  r.noRefs || OS(e, r);
  var i = e;
  return r.replacer && (i = r.replacer.call({ "": i }, "", i)), mr(r, 0, i, !0, !0) ? r.dump + `
` : "";
}
var kS = { dump: IS };
function hl(e, t) {
  return function() {
    throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
  };
}
var LS = kt, FS = _p, NS = Dp, $S = Rp, xS = Op, BS = ol, PS = Vp.load, MS = Vp.loadAll, jS = kS.dump, US = Bt, HS = {
  binary: Np,
  float: Tp,
  map: wp,
  null: Ap,
  pairs: xp,
  set: Bp,
  timestamp: Lp,
  bool: Sp,
  int: Cp,
  merge: Fp,
  omap: $p,
  seq: bp,
  str: Ep
}, qS = hl("safeLoad", "load"), zS = hl("safeLoadAll", "loadAll"), GS = hl("safeDump", "dump"), tn = {
  Type: LS,
  Schema: FS,
  FAILSAFE_SCHEMA: NS,
  JSON_SCHEMA: $S,
  CORE_SCHEMA: xS,
  DEFAULT_SCHEMA: BS,
  load: PS,
  loadAll: MS,
  dump: jS,
  YAMLException: US,
  types: HS,
  safeLoad: qS,
  safeLoadAll: zS,
  safeDump: GS
}, WS = /* @__PURE__ */ j(((e, t) => {
  var r = ve("stream").Transform;
  function i(s) {
    if (!(this instanceof i)) throw new TypeError("Cannot call a class as a function");
    s = s || {}, r.call(this, { objectMode: !0 }), this._memory = "", this._emitInvalidLines = s.emitInvalidLines || !1;
  }
  i.prototype = Object.create(r.prototype), i.prototype._handleLines = function(s, h) {
    for (var a = 0; a < s.length; a++)
      if (s[a] !== "") {
        var n = null, l = null;
        try {
          l = JSON.parse(s[a]);
        } catch (u) {
          u.source = s[a], n = u;
        }
        if (n) if (this._emitInvalidLines) this.emit("invalid-line", n);
        else return h(n);
        else this.push(l);
      }
    h(null);
  }, i.prototype._transform = function(s, h, a) {
    var n = (this._memory + s.toString()).split(`
`);
    this._memory = n.pop(), this._handleLines(n, a);
  }, i.prototype._flush = function(s) {
    if (!this._memory) return s(null);
    var h = this._memory;
    this._memory = "", this._handleLines([h], s);
  }, t.exports = i;
})), VS = /* @__PURE__ */ j(((e, t) => {
  var r = ve("stream").Transform;
  function i() {
    if (!(this instanceof i)) throw new TypeError("Cannot call a class as a function");
    r.call(this, { objectMode: !0 });
  }
  i.prototype = Object.create(r.prototype), i.prototype._transform = function(s, h, a) {
    var n;
    try {
      n = JSON.stringify(s);
    } catch (l) {
      return l.source = s, a(l);
    }
    a(null, n + `
`);
  }, t.exports = i;
})), YS = /* @__PURE__ */ j(((e) => {
  var t = WS(), r = VS();
  e.parse = function(s) {
    return new t(s);
  };
})), KS = /* @__PURE__ */ bt({
  default: () => pl,
  defaultPrefix: () => QS,
  distTag: () => tC,
  getEngines: () => lC,
  getPathToLookForYarnrc: () => fl,
  getPeerDependencies: () => uC,
  greatest: () => rC,
  latest: () => iC,
  list: () => eC,
  minor: () => nC,
  newest: () => sC,
  npmAuthTokenKeyValue: () => Ko,
  packageAuthorChanged: () => cC,
  patch: () => aC,
  semver: () => oC,
  yarnApi: () => og
}), sg = /* @__PURE__ */ zt(YS(), 1), ag = (e, t) => e.replace(/\$\{([^:-]+)(?:(:)?-([^}]*))?\}/g, (r, i, s, h, a) => t[i] || (h ? a : "")), Ko = Eu((e, t, r) => {
  if (r.npmAuthToken) {
    const i = r.npmRegistryServer || e[`@${t}:registry`];
    if (i) {
      let s = i.replace(/^https?:/, "");
      return s.endsWith("/") && (s = s.slice(0, -1)), { [`${s}/:_authToken`]: ag(r.npmAuthToken, process.env) };
    }
  }
  return null;
}), Vc = (e, t) => t.npmRegistryServer ? { [`@${e}:registry`]: ag(t.npmRegistryServer, process.env) } : null;
async function fl(e, t = it.readdir) {
  if (e.global) return;
  const r = (await bf(e, t))?.directoryPath;
  if (r)
    return Ye.join(r, ".yarnrc.yml");
}
var dl = (0, Or.default)(async (e) => {
  const t = await fl(e), r = Ye.join(hi.homedir(), ".yarnrc.yml"), i = typeof t == "string" && await Vi(t), s = await Vi(r), h = i ? await it.readFile(t, "utf-8") : "", a = s ? await it.readFile(r, "utf-8") : "", n = tn.load(h), l = tn.load(a);
  let u = {
    ...at(l?.npmScopes || {}, Vc),
    ...at(n?.npmScopes || {}, Vc)
  };
  return u = {
    ...u,
    ...at(l?.npmScopes || {}, Ko(u)),
    ...at(n?.npmScopes || {}, Ko(u))
  }, i && (Me(e, `
Using local yarn config at ${t}:`, "verbose"), Me(e, n, "verbose")), s && (Me(e, `
Using user yarn config at ${r}:`, "verbose"), Me(e, n, "verbose")), Object.keys(u) && (Me(e, `
Merged yarn config in npm format:`, "verbose"), Me(e, u, "verbose")), u;
}), ZS = (0, Or.default)(async (e) => {
  const t = await fl(e), r = Ye.join(hi.homedir(), ".yarnrc.yml");
  for (const i of [t, r]) {
    if (!i || !await Vi(i)) continue;
    let s;
    try {
      s = await it.readFile(i, "utf-8");
    } catch {
      continue;
    }
    let h;
    try {
      h = tn.load(s) ?? {};
    } catch {
      continue;
    }
    const { npmMinimalAgeGate: a } = h;
    if (typeof a != "number" || isNaN(a) || a <= 0) continue;
    const n = h.npmPreapprovedPackages;
    return {
      npmMinimalAgeGate: a,
      npmPreapprovedPackages: Array.isArray(n) ? n.filter((l) => typeof l == "string") : []
    };
  }
  return null;
});
function JS(e) {
  return new Promise((t, r) => {
    const i = {}, s = sg.parse();
    s.on("data", (h) => {
      if (h.type === "info" && !h.data.match(/^Visit/)) {
        const [, a, n] = h.data.match(/"(@?.*)@(.*)"/) || [];
        i[a] = {
          version: n,
          from: a
        };
      } else h.type === "error" && r(new Error(h.data));
    }), s.on("end", () => {
      t({ dependencies: i });
    }), s.on("error", r), s.write(e), s.end();
  });
}
function XS(e) {
  return new Promise((t, r) => {
    const i = sg.parse();
    let s = !1;
    i.on("data", (h) => {
      s || (s = !0, t(JSON.stringify(h)));
    }), i.on("error", r), i.write(e), i.end();
  });
}
async function pl(e, t = {}, r = {}, i = {}) {
  const { stdout: s } = await ur("yarn", [
    ...t.global ? ["global"] : [],
    ...t.prefix ? [`--prefix=${t.prefix}`] : [],
    "--depth=0",
    "--json",
    "--no-progress",
    ...Array.isArray(e) ? e : [e]
  ], r, i);
  return s;
}
async function QS(e) {
  if (e.prefix) return Promise.resolve(e.prefix);
  const { stdout: t } = await ur("yarn", ["global", "dir"]).catch(() => ({ stdout: null }));
  return e.global && t && t.match("Cellar") ? "/usr/local" : process.platform === "win32" && e.global && !process.env.prefix ? t ? t.trim() : `${process.env.LOCALAPPDATA}\\Yarn\\Data\\global` : null;
}
var eC = async (e = {}, t) => at((await JS(await pl("list", e, {}, {
  ...e.cwd ? { cwd: e.cwd } : {},
  ...t
}))).dependencies, (r, i) => ({ [r]: i.version || i.required?.version })), Kr = (e) => async (t, r, i = {}) => e(t, r, i, await dl(i)), tC = Kr(yn), rC = Kr(vn), iC = Kr(Os), nC = Kr(ks), sC = Kr(Is), aC = Kr(Ls), oC = Kr(Fs), uC = async (e, t, r) => {
  const { stdout: i } = await ur("yarn", ["--version"], { rejectOnError: !1 }, r);
  if (i.startsWith("1")) {
    const s = [
      "--json",
      "info",
      `${e}@${t}`,
      "peerDependencies"
    ], { stdout: h } = await ur("yarn", s, { rejectOnError: !1 }, r);
    return h ? li(h, { command: s.join(" ") }).data || {} : {};
  } else {
    const s = [
      "--json",
      "npm",
      "info",
      `${e}@${t}`,
      "--fields",
      "peerDependencies"
    ], { stdout: h } = await ur("yarn", s, { rejectOnError: !1 }, r);
    if (!h) return {};
    try {
      return li(h, { command: s.join(" ") }).peerDependencies || {};
    } catch (a) {
      try {
        const n = await XS(h);
        if (n) return li(n, { command: s.join(" ") }).peerDependencies || {};
      } catch {
      }
      throw a;
    }
  }
}, lC = async (e, t, r = {}) => Rs(e, t, r, await dl(r)), cC = async (e, t, r, i = {}) => Cs(e, t, r, i, await dl(i)), og = { getYarnMinimalAgeGate: ZS };
function Qe(e, t, { color: r = !0 } = {}) {
  if (e.cli)
    Me(e, r ? me.red(t) : t, null, "error"), process.exit(1);
  else throw new Error(t);
}
var gl = async (e, t) => {
  let r, i;
  try {
    i = await it.readFile(t, "utf-8"), r = JSON.parse(i);
  } catch {
    Qe(e, `Missing or invalid ${t}`);
  }
  return {
    name: void 0,
    pkg: r,
    pkgFile: i,
    filepath: t
  };
}, RL = Object.freeze({ status: "aborted" });
function Le(e, t, r) {
  function i(n, l) {
    if (n._zod || Object.defineProperty(n, "_zod", {
      value: {
        def: l,
        constr: a,
        traits: /* @__PURE__ */ new Set()
      },
      enumerable: !1
    }), n._zod.traits.has(e)) return;
    n._zod.traits.add(e), t(n, l);
    const u = a.prototype, f = Object.keys(u);
    for (let o = 0; o < f.length; o++) {
      const c = f[o];
      c in n || (n[c] = u[c].bind(n));
    }
  }
  const s = r?.Parent ?? Object;
  class h extends s {
  }
  Object.defineProperty(h, "name", { value: e });
  function a(n) {
    var l;
    const u = r?.Parent ? new h() : this;
    i(u, n), (l = u._zod).deferred ?? (l.deferred = []);
    for (const f of u._zod.deferred) f();
    return u;
  }
  return Object.defineProperty(a, "init", { value: i }), Object.defineProperty(a, Symbol.hasInstance, { value: (n) => r?.Parent && n instanceof r.Parent ? !0 : n?._zod?.traits?.has(e) }), Object.defineProperty(a, "name", { value: e }), a;
}
var ci = class extends Error {
  constructor() {
    super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
  }
}, ug = class extends Error {
  constructor(e) {
    super(`Encountered unidirectional transform during encode: ${e}`), this.name = "ZodEncodeError";
  }
}, Zo = {};
function Dr(e) {
  return e && Object.assign(Zo, e), Zo;
}
function lg(e) {
  const t = Object.values(e).filter((r) => typeof r == "number");
  return Object.entries(e).filter(([r, i]) => t.indexOf(+r) === -1).map(([r, i]) => i);
}
function Jo(e, t) {
  return typeof t == "bigint" ? t.toString() : t;
}
function ml(e) {
  return { get value() {
    {
      const t = e();
      return Object.defineProperty(this, "value", { value: t }), t;
    }
    throw new Error("cached value already set");
  } };
}
function vl(e) {
  return e == null;
}
function yl(e) {
  const t = e.startsWith("^") ? 1 : 0, r = e.endsWith("$") ? e.length - 1 : e.length;
  return e.slice(t, r);
}
var Yc = /* @__PURE__ */ Symbol("evaluating");
function nt(e, t, r) {
  let i;
  Object.defineProperty(e, t, {
    get() {
      if (i !== Yc)
        return i === void 0 && (i = Yc, i = r()), i;
    },
    set(s) {
      Object.defineProperty(e, t, { value: s });
    },
    configurable: !0
  });
}
function Zr(e, t, r) {
  Object.defineProperty(e, t, {
    value: r,
    writable: !0,
    enumerable: !0,
    configurable: !0
  });
}
function Ir(...e) {
  const t = {};
  for (const r of e) Object.assign(t, Object.getOwnPropertyDescriptors(r));
  return Object.defineProperties({}, t);
}
function Kc(e) {
  return JSON.stringify(e);
}
function hC(e) {
  return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
}
var cg = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
};
function es(e) {
  return typeof e == "object" && e !== null && !Array.isArray(e);
}
var fC = ml(() => {
  if (typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare")) return !1;
  try {
    return new Function(""), !0;
  } catch {
    return !1;
  }
});
function yi(e) {
  if (es(e) === !1) return !1;
  const t = e.constructor;
  if (t === void 0 || typeof t != "function") return !0;
  const r = t.prototype;
  return !(es(r) === !1 || Object.prototype.hasOwnProperty.call(r, "isPrototypeOf") === !1);
}
function hg(e) {
  return yi(e) ? { ...e } : Array.isArray(e) ? [...e] : e;
}
var dC = /* @__PURE__ */ new Set([
  "string",
  "number",
  "symbol"
]);
function Gs(e) {
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
}
function kr(e, t, r) {
  const i = new e._zod.constr(t ?? e._zod.def);
  return (!t || r?.parent) && (i._zod.parent = e), i;
}
function ze(e) {
  const t = e;
  if (!t) return {};
  if (typeof t == "string") return { error: () => t };
  if (t?.message !== void 0) {
    if (t?.error !== void 0) throw new Error("Cannot specify both `message` and `error` params");
    t.error = t.message;
  }
  return delete t.message, typeof t.error == "string" ? {
    ...t,
    error: () => t.error
  } : t;
}
function pC(e) {
  return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
}
var OL = {
  safeint: [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER],
  int32: [-2147483648, 2147483647],
  uint32: [0, 4294967295],
  float32: [-34028234663852886e22, 34028234663852886e22],
  float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
};
function gC(e, t) {
  const r = e._zod.def, i = r.checks;
  if (i && i.length > 0) throw new Error(".pick() cannot be used on object schemas containing refinements");
  return kr(e, Ir(e._zod.def, {
    get shape() {
      const s = {};
      for (const h in t) {
        if (!(h in r.shape)) throw new Error(`Unrecognized key: "${h}"`);
        t[h] && (s[h] = r.shape[h]);
      }
      return Zr(this, "shape", s), s;
    },
    checks: []
  }));
}
function mC(e, t) {
  const r = e._zod.def, i = r.checks;
  if (i && i.length > 0) throw new Error(".omit() cannot be used on object schemas containing refinements");
  return kr(e, Ir(e._zod.def, {
    get shape() {
      const s = { ...e._zod.def.shape };
      for (const h in t) {
        if (!(h in r.shape)) throw new Error(`Unrecognized key: "${h}"`);
        t[h] && delete s[h];
      }
      return Zr(this, "shape", s), s;
    },
    checks: []
  }));
}
function vC(e, t) {
  if (!yi(t)) throw new Error("Invalid input to extend: expected a plain object");
  const r = e._zod.def.checks;
  if (r && r.length > 0) {
    const i = e._zod.def.shape;
    for (const s in t) if (Object.getOwnPropertyDescriptor(i, s) !== void 0) throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
  }
  return kr(e, Ir(e._zod.def, { get shape() {
    const i = {
      ...e._zod.def.shape,
      ...t
    };
    return Zr(this, "shape", i), i;
  } }));
}
function yC(e, t) {
  if (!yi(t)) throw new Error("Invalid input to safeExtend: expected a plain object");
  return kr(e, Ir(e._zod.def, { get shape() {
    const r = {
      ...e._zod.def.shape,
      ...t
    };
    return Zr(this, "shape", r), r;
  } }));
}
function _C(e, t) {
  return kr(e, Ir(e._zod.def, {
    get shape() {
      const r = {
        ...e._zod.def.shape,
        ...t._zod.def.shape
      };
      return Zr(this, "shape", r), r;
    },
    get catchall() {
      return t._zod.def.catchall;
    },
    checks: []
  }));
}
function EC(e, t, r) {
  const i = t._zod.def.checks;
  if (i && i.length > 0) throw new Error(".partial() cannot be used on object schemas containing refinements");
  return kr(t, Ir(t._zod.def, {
    get shape() {
      const s = t._zod.def.shape, h = { ...s };
      if (r) for (const a in r) {
        if (!(a in s)) throw new Error(`Unrecognized key: "${a}"`);
        r[a] && (h[a] = e ? new e({
          type: "optional",
          innerType: s[a]
        }) : s[a]);
      }
      else for (const a in s) h[a] = e ? new e({
        type: "optional",
        innerType: s[a]
      }) : s[a];
      return Zr(this, "shape", h), h;
    },
    checks: []
  }));
}
function bC(e, t, r) {
  return kr(t, Ir(t._zod.def, { get shape() {
    const i = t._zod.def.shape, s = { ...i };
    if (r) for (const h in r) {
      if (!(h in s)) throw new Error(`Unrecognized key: "${h}"`);
      r[h] && (s[h] = new e({
        type: "nonoptional",
        innerType: i[h]
      }));
    }
    else for (const h in i) s[h] = new e({
      type: "nonoptional",
      innerType: i[h]
    });
    return Zr(this, "shape", s), s;
  } }));
}
function si(e, t = 0) {
  if (e.aborted === !0) return !0;
  for (let r = t; r < e.issues.length; r++) if (e.issues[r]?.continue !== !0) return !0;
  return !1;
}
function ai(e, t) {
  return t.map((r) => {
    var i;
    return (i = r).path ?? (i.path = []), r.path.unshift(e), r;
  });
}
function On(e) {
  return typeof e == "string" ? e : e?.message;
}
function Ar(e, t, r) {
  const i = {
    ...e,
    path: e.path ?? []
  };
  return e.message || (i.message = On(e.inst?._zod.def?.error?.(e)) ?? On(t?.error?.(e)) ?? On(r.customError?.(e)) ?? On(r.localeError?.(e)) ?? "Invalid input"), delete i.inst, delete i.continue, t?.reportInput || delete i.input, i;
}
function _l(e) {
  return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
}
function rn(...e) {
  const [t, r, i] = e;
  return typeof t == "string" ? {
    message: t,
    code: "custom",
    input: r,
    inst: i
  } : { ...t };
}
var fg = (e, t) => {
  e.name = "$ZodError", Object.defineProperty(e, "_zod", {
    value: e._zod,
    enumerable: !1
  }), Object.defineProperty(e, "issues", {
    value: t,
    enumerable: !1
  }), e.message = JSON.stringify(t, Jo, 2), Object.defineProperty(e, "toString", {
    value: () => e.message,
    enumerable: !1
  });
}, dg = Le("$ZodError", fg), pg = Le("$ZodError", fg, { Parent: Error });
function wC(e, t = (r) => r.message) {
  const r = {}, i = [];
  for (const s of e.issues) s.path.length > 0 ? (r[s.path[0]] = r[s.path[0]] || [], r[s.path[0]].push(t(s))) : i.push(t(s));
  return {
    formErrors: i,
    fieldErrors: r
  };
}
function DC(e, t = (r) => r.message) {
  const r = { _errors: [] }, i = (s) => {
    for (const h of s.issues) if (h.code === "invalid_union" && h.errors.length) h.errors.map((a) => i({ issues: a }));
    else if (h.code === "invalid_key") i({ issues: h.issues });
    else if (h.code === "invalid_element") i({ issues: h.issues });
    else if (h.path.length === 0) r._errors.push(t(h));
    else {
      let a = r, n = 0;
      for (; n < h.path.length; ) {
        const l = h.path[n];
        n !== h.path.length - 1 ? a[l] = a[l] || { _errors: [] } : (a[l] = a[l] || { _errors: [] }, a[l]._errors.push(t(h))), a = a[l], n++;
      }
    }
  };
  return i(e), r;
}
var El = (e) => (t, r, i, s) => {
  const h = i ? Object.assign(i, { async: !1 }) : { async: !1 }, a = t._zod.run({
    value: r,
    issues: []
  }, h);
  if (a instanceof Promise) throw new ci();
  if (a.issues.length) {
    const n = new (s?.Err ?? e)(a.issues.map((l) => Ar(l, h, Dr())));
    throw cg(n, s?.callee), n;
  }
  return a.value;
};
var bl = (e) => async (t, r, i, s) => {
  const h = i ? Object.assign(i, { async: !0 }) : { async: !0 };
  let a = t._zod.run({
    value: r,
    issues: []
  }, h);
  if (a instanceof Promise && (a = await a), a.issues.length) {
    const n = new (s?.Err ?? e)(a.issues.map((l) => Ar(l, h, Dr())));
    throw cg(n, s?.callee), n;
  }
  return a.value;
};
var Ws = (e) => (t, r, i) => {
  const s = i ? {
    ...i,
    async: !1
  } : { async: !1 }, h = t._zod.run({
    value: r,
    issues: []
  }, s);
  if (h instanceof Promise) throw new ci();
  return h.issues.length ? {
    success: !1,
    error: new (e ?? dg)(h.issues.map((a) => Ar(a, s, Dr())))
  } : {
    success: !0,
    data: h.value
  };
}, AC = /* @__PURE__ */ Ws(pg), Vs = (e) => async (t, r, i) => {
  const s = i ? Object.assign(i, { async: !0 }) : { async: !0 };
  let h = t._zod.run({
    value: r,
    issues: []
  }, s);
  return h instanceof Promise && (h = await h), h.issues.length ? {
    success: !1,
    error: new e(h.issues.map((a) => Ar(a, s, Dr())))
  } : {
    success: !0,
    data: h.value
  };
}, SC = /* @__PURE__ */ Vs(pg), CC = (e) => (t, r, i) => {
  const s = i ? Object.assign(i, { direction: "backward" }) : { direction: "backward" };
  return El(e)(t, r, s);
};
var TC = (e) => (t, r, i) => El(e)(t, r, i);
var RC = (e) => async (t, r, i) => {
  const s = i ? Object.assign(i, { direction: "backward" }) : { direction: "backward" };
  return bl(e)(t, r, s);
};
var OC = (e) => async (t, r, i) => bl(e)(t, r, i);
var IC = (e) => (t, r, i) => {
  const s = i ? Object.assign(i, { direction: "backward" }) : { direction: "backward" };
  return Ws(e)(t, r, s);
};
var kC = (e) => (t, r, i) => Ws(e)(t, r, i);
var LC = (e) => async (t, r, i) => {
  const s = i ? Object.assign(i, { direction: "backward" }) : { direction: "backward" };
  return Vs(e)(t, r, s);
};
var FC = (e) => async (t, r, i) => Vs(e)(t, r, i);
var NC = /^[cC][^\s-]{8,}$/, $C = /^[0-9a-z]+$/, xC = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, BC = /^[0-9a-vA-V]{20}$/, PC = /^[A-Za-z0-9]{27}$/, MC = /^[a-zA-Z0-9_-]{21}$/, jC = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, UC = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, Zc = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, HC = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, qC = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
function zC() {
  return new RegExp(qC, "u");
}
var GC = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, WC = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, VC = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, YC = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, KC = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, gg = /^[A-Za-z0-9_-]*$/, ZC = /^\+[1-9]\d{6,14}$/, mg = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", JC = /* @__PURE__ */ new RegExp(`^${mg}$`);
function vg(e) {
  const t = "(?:[01]\\d|2[0-3]):[0-5]\\d";
  return typeof e.precision == "number" ? e.precision === -1 ? `${t}` : e.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${e.precision}}` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;
}
function XC(e) {
  return new RegExp(`^${vg(e)}$`);
}
function QC(e) {
  const t = vg({ precision: e.precision }), r = ["Z"];
  e.local && r.push(""), e.offset && r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");
  const i = `${t}(?:${r.join("|")})`;
  return new RegExp(`^${mg}T(?:${i})$`);
}
var eT = (e) => {
  const t = e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*";
  return new RegExp(`^${t}$`);
}, tT = /^-?\d+(?:\.\d+)?$/, rT = /^[^A-Z]*$/, iT = /^[^a-z]*$/, hr = /* @__PURE__ */ Le("$ZodCheck", (e, t) => {
  var r;
  e._zod ?? (e._zod = {}), e._zod.def = t, (r = e._zod).onattach ?? (r.onattach = []);
}), nT = /* @__PURE__ */ Le("$ZodCheckMaxLength", (e, t) => {
  var r;
  hr.init(e, t), (r = e._zod.def).when ?? (r.when = (i) => {
    const s = i.value;
    return !vl(s) && s.length !== void 0;
  }), e._zod.onattach.push((i) => {
    const s = i._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
    t.maximum < s && (i._zod.bag.maximum = t.maximum);
  }), e._zod.check = (i) => {
    const s = i.value;
    if (s.length <= t.maximum) return;
    const h = _l(s);
    i.issues.push({
      origin: h,
      code: "too_big",
      maximum: t.maximum,
      inclusive: !0,
      input: s,
      inst: e,
      continue: !t.abort
    });
  };
}), sT = /* @__PURE__ */ Le("$ZodCheckMinLength", (e, t) => {
  var r;
  hr.init(e, t), (r = e._zod.def).when ?? (r.when = (i) => {
    const s = i.value;
    return !vl(s) && s.length !== void 0;
  }), e._zod.onattach.push((i) => {
    const s = i._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
    t.minimum > s && (i._zod.bag.minimum = t.minimum);
  }), e._zod.check = (i) => {
    const s = i.value;
    if (s.length >= t.minimum) return;
    const h = _l(s);
    i.issues.push({
      origin: h,
      code: "too_small",
      minimum: t.minimum,
      inclusive: !0,
      input: s,
      inst: e,
      continue: !t.abort
    });
  };
}), aT = /* @__PURE__ */ Le("$ZodCheckLengthEquals", (e, t) => {
  var r;
  hr.init(e, t), (r = e._zod.def).when ?? (r.when = (i) => {
    const s = i.value;
    return !vl(s) && s.length !== void 0;
  }), e._zod.onattach.push((i) => {
    const s = i._zod.bag;
    s.minimum = t.length, s.maximum = t.length, s.length = t.length;
  }), e._zod.check = (i) => {
    const s = i.value, h = s.length;
    if (h === t.length) return;
    const a = _l(s), n = h > t.length;
    i.issues.push({
      origin: a,
      ...n ? {
        code: "too_big",
        maximum: t.length
      } : {
        code: "too_small",
        minimum: t.length
      },
      inclusive: !0,
      exact: !0,
      input: i.value,
      inst: e,
      continue: !t.abort
    });
  };
}), Ys = /* @__PURE__ */ Le("$ZodCheckStringFormat", (e, t) => {
  var r, i;
  hr.init(e, t), e._zod.onattach.push((s) => {
    const h = s._zod.bag;
    h.format = t.format, t.pattern && (h.patterns ?? (h.patterns = /* @__PURE__ */ new Set()), h.patterns.add(t.pattern));
  }), t.pattern ? (r = e._zod).check ?? (r.check = (s) => {
    t.pattern.lastIndex = 0, !t.pattern.test(s.value) && s.issues.push({
      origin: "string",
      code: "invalid_format",
      format: t.format,
      input: s.value,
      ...t.pattern ? { pattern: t.pattern.toString() } : {},
      inst: e,
      continue: !t.abort
    });
  }) : (i = e._zod).check ?? (i.check = () => {
  });
}), oT = /* @__PURE__ */ Le("$ZodCheckRegex", (e, t) => {
  Ys.init(e, t), e._zod.check = (r) => {
    t.pattern.lastIndex = 0, !t.pattern.test(r.value) && r.issues.push({
      origin: "string",
      code: "invalid_format",
      format: "regex",
      input: r.value,
      pattern: t.pattern.toString(),
      inst: e,
      continue: !t.abort
    });
  };
}), uT = /* @__PURE__ */ Le("$ZodCheckLowerCase", (e, t) => {
  t.pattern ?? (t.pattern = rT), Ys.init(e, t);
}), lT = /* @__PURE__ */ Le("$ZodCheckUpperCase", (e, t) => {
  t.pattern ?? (t.pattern = iT), Ys.init(e, t);
}), cT = /* @__PURE__ */ Le("$ZodCheckIncludes", (e, t) => {
  hr.init(e, t);
  const r = Gs(t.includes), i = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${r}` : r);
  t.pattern = i, e._zod.onattach.push((s) => {
    const h = s._zod.bag;
    h.patterns ?? (h.patterns = /* @__PURE__ */ new Set()), h.patterns.add(i);
  }), e._zod.check = (s) => {
    s.value.includes(t.includes, t.position) || s.issues.push({
      origin: "string",
      code: "invalid_format",
      format: "includes",
      includes: t.includes,
      input: s.value,
      inst: e,
      continue: !t.abort
    });
  };
}), hT = /* @__PURE__ */ Le("$ZodCheckStartsWith", (e, t) => {
  hr.init(e, t);
  const r = new RegExp(`^${Gs(t.prefix)}.*`);
  t.pattern ?? (t.pattern = r), e._zod.onattach.push((i) => {
    const s = i._zod.bag;
    s.patterns ?? (s.patterns = /* @__PURE__ */ new Set()), s.patterns.add(r);
  }), e._zod.check = (i) => {
    i.value.startsWith(t.prefix) || i.issues.push({
      origin: "string",
      code: "invalid_format",
      format: "starts_with",
      prefix: t.prefix,
      input: i.value,
      inst: e,
      continue: !t.abort
    });
  };
}), fT = /* @__PURE__ */ Le("$ZodCheckEndsWith", (e, t) => {
  hr.init(e, t);
  const r = new RegExp(`.*${Gs(t.suffix)}$`);
  t.pattern ?? (t.pattern = r), e._zod.onattach.push((i) => {
    const s = i._zod.bag;
    s.patterns ?? (s.patterns = /* @__PURE__ */ new Set()), s.patterns.add(r);
  }), e._zod.check = (i) => {
    i.value.endsWith(t.suffix) || i.issues.push({
      origin: "string",
      code: "invalid_format",
      format: "ends_with",
      suffix: t.suffix,
      input: i.value,
      inst: e,
      continue: !t.abort
    });
  };
}), dT = /* @__PURE__ */ Le("$ZodCheckOverwrite", (e, t) => {
  hr.init(e, t), e._zod.check = (r) => {
    r.value = t.tx(r.value);
  };
}), pT = class {
  constructor(e = []) {
    this.content = [], this.indent = 0, this && (this.args = e);
  }
  indented(e) {
    this.indent += 1, e(this), this.indent -= 1;
  }
  write(e) {
    if (typeof e == "function") {
      e(this, { execution: "sync" }), e(this, { execution: "async" });
      return;
    }
    const t = e.split(`
`).filter((s) => s), r = Math.min(...t.map((s) => s.length - s.trimStart().length)), i = t.map((s) => s.slice(r)).map((s) => " ".repeat(this.indent * 2) + s);
    for (const s of i) this.content.push(s);
  }
  compile() {
    const e = Function, t = this?.args, r = [...(this?.content ?? [""]).map((i) => `  ${i}`)];
    return new e(...t, r.join(`
`));
  }
}, gT = {
  major: 4,
  minor: 3,
  patch: 6
}, wt = /* @__PURE__ */ Le("$ZodType", (e, t) => {
  var r;
  e ?? (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = gT;
  const i = [...e._zod.def.checks ?? []];
  e._zod.traits.has("$ZodCheck") && i.unshift(e);
  for (const s of i) for (const h of s._zod.onattach) h(e);
  if (i.length === 0)
    (r = e._zod).deferred ?? (r.deferred = []), e._zod.deferred?.push(() => {
      e._zod.run = e._zod.parse;
    });
  else {
    const s = (a, n, l) => {
      let u = si(a), f;
      for (const o of n) {
        if (o._zod.def.when) {
          if (!o._zod.def.when(a)) continue;
        } else if (u) continue;
        const c = a.issues.length, d = o._zod.check(a);
        if (d instanceof Promise && l?.async === !1) throw new ci();
        if (f || d instanceof Promise) f = (f ?? Promise.resolve()).then(async () => {
          await d, a.issues.length !== c && (u || (u = si(a, c)));
        });
        else {
          if (a.issues.length === c) continue;
          u || (u = si(a, c));
        }
      }
      return f ? f.then(() => a) : a;
    }, h = (a, n, l) => {
      if (si(a))
        return a.aborted = !0, a;
      const u = s(n, i, l);
      if (u instanceof Promise) {
        if (l.async === !1) throw new ci();
        return u.then((f) => e._zod.parse(f, l));
      }
      return e._zod.parse(u, l);
    };
    e._zod.run = (a, n) => {
      if (n.skipChecks) return e._zod.parse(a, n);
      if (n.direction === "backward") {
        const u = e._zod.parse({
          value: a.value,
          issues: []
        }, {
          ...n,
          skipChecks: !0
        });
        return u instanceof Promise ? u.then((f) => h(f, a, n)) : h(u, a, n);
      }
      const l = e._zod.parse(a, n);
      if (l instanceof Promise) {
        if (n.async === !1) throw new ci();
        return l.then((u) => s(u, i, n));
      }
      return s(l, i, n);
    };
  }
  nt(e, "~standard", () => ({
    validate: (s) => {
      try {
        const h = AC(e, s);
        return h.success ? { value: h.data } : { issues: h.error?.issues };
      } catch {
        return SC(e, s).then((a) => a.success ? { value: a.data } : { issues: a.error?.issues });
      }
    },
    vendor: "zod",
    version: 1
  }));
}), wl = /* @__PURE__ */ Le("$ZodString", (e, t) => {
  wt.init(e, t), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? eT(e._zod.bag), e._zod.parse = (r, i) => {
    if (t.coerce) try {
      r.value = String(r.value);
    } catch {
    }
    return typeof r.value == "string" || r.issues.push({
      expected: "string",
      code: "invalid_type",
      input: r.value,
      inst: e
    }), r;
  };
}), pt = /* @__PURE__ */ Le("$ZodStringFormat", (e, t) => {
  Ys.init(e, t), wl.init(e, t);
}), mT = /* @__PURE__ */ Le("$ZodGUID", (e, t) => {
  t.pattern ?? (t.pattern = UC), pt.init(e, t);
}), vT = /* @__PURE__ */ Le("$ZodUUID", (e, t) => {
  if (t.version) {
    const r = {
      v1: 1,
      v2: 2,
      v3: 3,
      v4: 4,
      v5: 5,
      v6: 6,
      v7: 7,
      v8: 8
    }[t.version];
    if (r === void 0) throw new Error(`Invalid UUID version: "${t.version}"`);
    t.pattern ?? (t.pattern = Zc(r));
  } else t.pattern ?? (t.pattern = Zc());
  pt.init(e, t);
}), yT = /* @__PURE__ */ Le("$ZodEmail", (e, t) => {
  t.pattern ?? (t.pattern = HC), pt.init(e, t);
}), _T = /* @__PURE__ */ Le("$ZodURL", (e, t) => {
  pt.init(e, t), e._zod.check = (r) => {
    try {
      const i = r.value.trim(), s = new URL(i);
      t.hostname && (t.hostname.lastIndex = 0, t.hostname.test(s.hostname) || r.issues.push({
        code: "invalid_format",
        format: "url",
        note: "Invalid hostname",
        pattern: t.hostname.source,
        input: r.value,
        inst: e,
        continue: !t.abort
      })), t.protocol && (t.protocol.lastIndex = 0, t.protocol.test(s.protocol.endsWith(":") ? s.protocol.slice(0, -1) : s.protocol) || r.issues.push({
        code: "invalid_format",
        format: "url",
        note: "Invalid protocol",
        pattern: t.protocol.source,
        input: r.value,
        inst: e,
        continue: !t.abort
      })), t.normalize ? r.value = s.href : r.value = i;
      return;
    } catch {
      r.issues.push({
        code: "invalid_format",
        format: "url",
        input: r.value,
        inst: e,
        continue: !t.abort
      });
    }
  };
}), ET = /* @__PURE__ */ Le("$ZodEmoji", (e, t) => {
  t.pattern ?? (t.pattern = zC()), pt.init(e, t);
}), bT = /* @__PURE__ */ Le("$ZodNanoID", (e, t) => {
  t.pattern ?? (t.pattern = MC), pt.init(e, t);
}), wT = /* @__PURE__ */ Le("$ZodCUID", (e, t) => {
  t.pattern ?? (t.pattern = NC), pt.init(e, t);
}), DT = /* @__PURE__ */ Le("$ZodCUID2", (e, t) => {
  t.pattern ?? (t.pattern = $C), pt.init(e, t);
}), AT = /* @__PURE__ */ Le("$ZodULID", (e, t) => {
  t.pattern ?? (t.pattern = xC), pt.init(e, t);
}), ST = /* @__PURE__ */ Le("$ZodXID", (e, t) => {
  t.pattern ?? (t.pattern = BC), pt.init(e, t);
}), CT = /* @__PURE__ */ Le("$ZodKSUID", (e, t) => {
  t.pattern ?? (t.pattern = PC), pt.init(e, t);
}), TT = /* @__PURE__ */ Le("$ZodISODateTime", (e, t) => {
  t.pattern ?? (t.pattern = QC(t)), pt.init(e, t);
}), RT = /* @__PURE__ */ Le("$ZodISODate", (e, t) => {
  t.pattern ?? (t.pattern = JC), pt.init(e, t);
}), OT = /* @__PURE__ */ Le("$ZodISOTime", (e, t) => {
  t.pattern ?? (t.pattern = XC(t)), pt.init(e, t);
}), IT = /* @__PURE__ */ Le("$ZodISODuration", (e, t) => {
  t.pattern ?? (t.pattern = jC), pt.init(e, t);
}), kT = /* @__PURE__ */ Le("$ZodIPv4", (e, t) => {
  t.pattern ?? (t.pattern = GC), pt.init(e, t), e._zod.bag.format = "ipv4";
}), LT = /* @__PURE__ */ Le("$ZodIPv6", (e, t) => {
  t.pattern ?? (t.pattern = WC), pt.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (r) => {
    try {
      new URL(`http://[${r.value}]`);
    } catch {
      r.issues.push({
        code: "invalid_format",
        format: "ipv6",
        input: r.value,
        inst: e,
        continue: !t.abort
      });
    }
  };
}), FT = /* @__PURE__ */ Le("$ZodCIDRv4", (e, t) => {
  t.pattern ?? (t.pattern = VC), pt.init(e, t);
}), NT = /* @__PURE__ */ Le("$ZodCIDRv6", (e, t) => {
  t.pattern ?? (t.pattern = YC), pt.init(e, t), e._zod.check = (r) => {
    const i = r.value.split("/");
    try {
      if (i.length !== 2) throw new Error();
      const [s, h] = i;
      if (!h) throw new Error();
      const a = Number(h);
      if (`${a}` !== h) throw new Error();
      if (a < 0 || a > 128) throw new Error();
      new URL(`http://[${s}]`);
    } catch {
      r.issues.push({
        code: "invalid_format",
        format: "cidrv6",
        input: r.value,
        inst: e,
        continue: !t.abort
      });
    }
  };
});
function yg(e) {
  if (e === "") return !0;
  if (e.length % 4 !== 0) return !1;
  try {
    return atob(e), !0;
  } catch {
    return !1;
  }
}
var $T = /* @__PURE__ */ Le("$ZodBase64", (e, t) => {
  t.pattern ?? (t.pattern = KC), pt.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (r) => {
    yg(r.value) || r.issues.push({
      code: "invalid_format",
      format: "base64",
      input: r.value,
      inst: e,
      continue: !t.abort
    });
  };
});
function xT(e) {
  if (!gg.test(e)) return !1;
  const t = e.replace(/[-_]/g, (r) => r === "-" ? "+" : "/");
  return yg(t.padEnd(Math.ceil(t.length / 4) * 4, "="));
}
var BT = /* @__PURE__ */ Le("$ZodBase64URL", (e, t) => {
  t.pattern ?? (t.pattern = gg), pt.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (r) => {
    xT(r.value) || r.issues.push({
      code: "invalid_format",
      format: "base64url",
      input: r.value,
      inst: e,
      continue: !t.abort
    });
  };
}), PT = /* @__PURE__ */ Le("$ZodE164", (e, t) => {
  t.pattern ?? (t.pattern = ZC), pt.init(e, t);
});
function MT(e, t = null) {
  try {
    const r = e.split(".");
    if (r.length !== 3) return !1;
    const [i] = r;
    if (!i) return !1;
    const s = JSON.parse(atob(i));
    return !("typ" in s && s?.typ !== "JWT" || !s.alg || t && (!("alg" in s) || s.alg !== t));
  } catch {
    return !1;
  }
}
var jT = /* @__PURE__ */ Le("$ZodJWT", (e, t) => {
  pt.init(e, t), e._zod.check = (r) => {
    MT(r.value, t.alg) || r.issues.push({
      code: "invalid_format",
      format: "jwt",
      input: r.value,
      inst: e,
      continue: !t.abort
    });
  };
}), UT = /* @__PURE__ */ Le("$ZodUnknown", (e, t) => {
  wt.init(e, t), e._zod.parse = (r) => r;
}), HT = /* @__PURE__ */ Le("$ZodNever", (e, t) => {
  wt.init(e, t), e._zod.parse = (r, i) => (r.issues.push({
    expected: "never",
    code: "invalid_type",
    input: r.value,
    inst: e
  }), r);
});
function Jc(e, t, r) {
  e.issues.length && t.issues.push(...ai(r, e.issues)), t.value[r] = e.value;
}
var qT = /* @__PURE__ */ Le("$ZodArray", (e, t) => {
  wt.init(e, t), e._zod.parse = (r, i) => {
    const s = r.value;
    if (!Array.isArray(s))
      return r.issues.push({
        expected: "array",
        code: "invalid_type",
        input: s,
        inst: e
      }), r;
    r.value = Array(s.length);
    const h = [];
    for (let a = 0; a < s.length; a++) {
      const n = s[a], l = t.element._zod.run({
        value: n,
        issues: []
      }, i);
      l instanceof Promise ? h.push(l.then((u) => Jc(u, r, a))) : Jc(l, r, a);
    }
    return h.length ? Promise.all(h).then(() => r) : r;
  };
});
function ts(e, t, r, i, s) {
  if (e.issues.length) {
    if (s && !(r in i)) return;
    t.issues.push(...ai(r, e.issues));
  }
  e.value === void 0 ? r in i && (t.value[r] = void 0) : t.value[r] = e.value;
}
function _g(e) {
  const t = Object.keys(e.shape);
  for (const i of t) if (!e.shape?.[i]?._zod?.traits?.has("$ZodType")) throw new Error(`Invalid element at key "${i}": expected a Zod schema`);
  const r = pC(e.shape);
  return {
    ...e,
    keys: t,
    keySet: new Set(t),
    numKeys: t.length,
    optionalKeys: new Set(r)
  };
}
function Eg(e, t, r, i, s, h) {
  const a = [], n = s.keySet, l = s.catchall._zod, u = l.def.type, f = l.optout === "optional";
  for (const o in t) {
    if (n.has(o)) continue;
    if (u === "never") {
      a.push(o);
      continue;
    }
    const c = l.run({
      value: t[o],
      issues: []
    }, i);
    c instanceof Promise ? e.push(c.then((d) => ts(d, r, o, t, f))) : ts(c, r, o, t, f);
  }
  return a.length && r.issues.push({
    code: "unrecognized_keys",
    keys: a,
    input: t,
    inst: h
  }), e.length ? Promise.all(e).then(() => r) : r;
}
var zT = /* @__PURE__ */ Le("$ZodObject", (e, t) => {
  if (wt.init(e, t), !Object.getOwnPropertyDescriptor(t, "shape")?.get) {
    const a = t.shape;
    Object.defineProperty(t, "shape", { get: () => {
      const n = { ...a };
      return Object.defineProperty(t, "shape", { value: n }), n;
    } });
  }
  const r = ml(() => _g(t));
  nt(e._zod, "propValues", () => {
    const a = t.shape, n = {};
    for (const l in a) {
      const u = a[l]._zod;
      if (u.values) {
        n[l] ?? (n[l] = /* @__PURE__ */ new Set());
        for (const f of u.values) n[l].add(f);
      }
    }
    return n;
  });
  const i = es, s = t.catchall;
  let h;
  e._zod.parse = (a, n) => {
    h ?? (h = r.value);
    const l = a.value;
    if (!i(l))
      return a.issues.push({
        expected: "object",
        code: "invalid_type",
        input: l,
        inst: e
      }), a;
    a.value = {};
    const u = [], f = h.shape;
    for (const o of h.keys) {
      const c = f[o], d = c._zod.optout === "optional", p = c._zod.run({
        value: l[o],
        issues: []
      }, n);
      p instanceof Promise ? u.push(p.then((m) => ts(m, a, o, l, d))) : ts(p, a, o, l, d);
    }
    return s ? Eg(u, l, a, n, r.value, e) : u.length ? Promise.all(u).then(() => a) : a;
  };
}), GT = /* @__PURE__ */ Le("$ZodObjectJIT", (e, t) => {
  zT.init(e, t);
  const r = e._zod.parse, i = ml(() => _g(t)), s = (c) => {
    const d = new pT([
      "shape",
      "payload",
      "ctx"
    ]), p = i.value, m = (w) => {
      const _ = Kc(w);
      return `shape[${_}]._zod.run({ value: input[${_}], issues: [] }, ctx)`;
    };
    d.write("const input = payload.value;");
    const g = /* @__PURE__ */ Object.create(null);
    let v = 0;
    for (const w of p.keys) g[w] = `key_${v++}`;
    d.write("const newResult = {};");
    for (const w of p.keys) {
      const _ = g[w], b = Kc(w), E = c[w]?._zod?.optout === "optional";
      d.write(`const ${_} = ${m(w)};`), E ? d.write(`
        if (${_}.issues.length) {
          if (${b} in input) {
            payload.issues = payload.issues.concat(${_}.issues.map(iss => ({
              ...iss,
              path: iss.path ? [${b}, ...iss.path] : [${b}]
            })));
          }
        }
        
        if (${_}.value === undefined) {
          if (${b} in input) {
            newResult[${b}] = undefined;
          }
        } else {
          newResult[${b}] = ${_}.value;
        }
        
      `) : d.write(`
        if (${_}.issues.length) {
          payload.issues = payload.issues.concat(${_}.issues.map(iss => ({
            ...iss,
            path: iss.path ? [${b}, ...iss.path] : [${b}]
          })));
        }
        
        if (${_}.value === undefined) {
          if (${b} in input) {
            newResult[${b}] = undefined;
          }
        } else {
          newResult[${b}] = ${_}.value;
        }
        
      `);
    }
    d.write("payload.value = newResult;"), d.write("return payload;");
    const y = d.compile();
    return (w, _) => y(c, w, _);
  };
  let h;
  const a = es, n = !Zo.jitless, u = n && fC.value, f = t.catchall;
  let o;
  e._zod.parse = (c, d) => {
    o ?? (o = i.value);
    const p = c.value;
    return a(p) ? n && u && d?.async === !1 && d.jitless !== !0 ? (h || (h = s(t.shape)), c = h(c, d), f ? Eg([], p, c, d, o, e) : c) : r(c, d) : (c.issues.push({
      expected: "object",
      code: "invalid_type",
      input: p,
      inst: e
    }), c);
  };
});
function Xc(e, t, r, i) {
  for (const h of e) if (h.issues.length === 0)
    return t.value = h.value, t;
  const s = e.filter((h) => !si(h));
  return s.length === 1 ? (t.value = s[0].value, s[0]) : (t.issues.push({
    code: "invalid_union",
    input: t.value,
    inst: r,
    errors: e.map((h) => h.issues.map((a) => Ar(a, i, Dr())))
  }), t);
}
var WT = /* @__PURE__ */ Le("$ZodUnion", (e, t) => {
  wt.init(e, t), nt(e._zod, "optin", () => t.options.some((s) => s._zod.optin === "optional") ? "optional" : void 0), nt(e._zod, "optout", () => t.options.some((s) => s._zod.optout === "optional") ? "optional" : void 0), nt(e._zod, "values", () => {
    if (t.options.every((s) => s._zod.values)) return new Set(t.options.flatMap((s) => Array.from(s._zod.values)));
  }), nt(e._zod, "pattern", () => {
    if (t.options.every((s) => s._zod.pattern)) {
      const s = t.options.map((h) => h._zod.pattern);
      return new RegExp(`^(${s.map((h) => yl(h.source)).join("|")})$`);
    }
  });
  const r = t.options.length === 1, i = t.options[0]._zod.run;
  e._zod.parse = (s, h) => {
    if (r) return i(s, h);
    let a = !1;
    const n = [];
    for (const l of t.options) {
      const u = l._zod.run({
        value: s.value,
        issues: []
      }, h);
      if (u instanceof Promise)
        n.push(u), a = !0;
      else {
        if (u.issues.length === 0) return u;
        n.push(u);
      }
    }
    return a ? Promise.all(n).then((l) => Xc(l, s, e, h)) : Xc(n, s, e, h);
  };
}), VT = /* @__PURE__ */ Le("$ZodIntersection", (e, t) => {
  wt.init(e, t), e._zod.parse = (r, i) => {
    const s = r.value, h = t.left._zod.run({
      value: s,
      issues: []
    }, i), a = t.right._zod.run({
      value: s,
      issues: []
    }, i);
    return h instanceof Promise || a instanceof Promise ? Promise.all([h, a]).then(([n, l]) => Qc(r, n, l)) : Qc(r, h, a);
  };
});
function Xo(e, t) {
  if (e === t) return {
    valid: !0,
    data: e
  };
  if (e instanceof Date && t instanceof Date && +e == +t) return {
    valid: !0,
    data: e
  };
  if (yi(e) && yi(t)) {
    const r = Object.keys(t), i = Object.keys(e).filter((h) => r.indexOf(h) !== -1), s = {
      ...e,
      ...t
    };
    for (const h of i) {
      const a = Xo(e[h], t[h]);
      if (!a.valid) return {
        valid: !1,
        mergeErrorPath: [h, ...a.mergeErrorPath]
      };
      s[h] = a.data;
    }
    return {
      valid: !0,
      data: s
    };
  }
  if (Array.isArray(e) && Array.isArray(t)) {
    if (e.length !== t.length) return {
      valid: !1,
      mergeErrorPath: []
    };
    const r = [];
    for (let i = 0; i < e.length; i++) {
      const s = e[i], h = t[i], a = Xo(s, h);
      if (!a.valid) return {
        valid: !1,
        mergeErrorPath: [i, ...a.mergeErrorPath]
      };
      r.push(a.data);
    }
    return {
      valid: !0,
      data: r
    };
  }
  return {
    valid: !1,
    mergeErrorPath: []
  };
}
function Qc(e, t, r) {
  const i = /* @__PURE__ */ new Map();
  let s;
  for (const n of t.issues) if (n.code === "unrecognized_keys") {
    s ?? (s = n);
    for (const l of n.keys)
      i.has(l) || i.set(l, {}), i.get(l).l = !0;
  } else e.issues.push(n);
  for (const n of r.issues) if (n.code === "unrecognized_keys") for (const l of n.keys)
    i.has(l) || i.set(l, {}), i.get(l).r = !0;
  else e.issues.push(n);
  const h = [...i].filter(([, n]) => n.l && n.r).map(([n]) => n);
  if (h.length && s && e.issues.push({
    ...s,
    keys: h
  }), si(e)) return e;
  const a = Xo(t.value, r.value);
  if (!a.valid) throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);
  return e.value = a.data, e;
}
var YT = /* @__PURE__ */ Le("$ZodRecord", (e, t) => {
  wt.init(e, t), e._zod.parse = (r, i) => {
    const s = r.value;
    if (!yi(s))
      return r.issues.push({
        expected: "record",
        code: "invalid_type",
        input: s,
        inst: e
      }), r;
    const h = [], a = t.keyType._zod.values;
    if (a) {
      r.value = {};
      const n = /* @__PURE__ */ new Set();
      for (const u of a) if (typeof u == "string" || typeof u == "number" || typeof u == "symbol") {
        n.add(typeof u == "number" ? u.toString() : u);
        const f = t.valueType._zod.run({
          value: s[u],
          issues: []
        }, i);
        f instanceof Promise ? h.push(f.then((o) => {
          o.issues.length && r.issues.push(...ai(u, o.issues)), r.value[u] = o.value;
        })) : (f.issues.length && r.issues.push(...ai(u, f.issues)), r.value[u] = f.value);
      }
      let l;
      for (const u in s) n.has(u) || (l = l ?? [], l.push(u));
      l && l.length > 0 && r.issues.push({
        code: "unrecognized_keys",
        input: s,
        inst: e,
        keys: l
      });
    } else {
      r.value = {};
      for (const n of Reflect.ownKeys(s)) {
        if (n === "__proto__") continue;
        let l = t.keyType._zod.run({
          value: n,
          issues: []
        }, i);
        if (l instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
        if (typeof n == "string" && tT.test(n) && l.issues.length) {
          const f = t.keyType._zod.run({
            value: Number(n),
            issues: []
          }, i);
          if (f instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
          f.issues.length === 0 && (l = f);
        }
        if (l.issues.length) {
          t.mode === "loose" ? r.value[n] = s[n] : r.issues.push({
            code: "invalid_key",
            origin: "record",
            issues: l.issues.map((f) => Ar(f, i, Dr())),
            input: n,
            path: [n],
            inst: e
          });
          continue;
        }
        const u = t.valueType._zod.run({
          value: s[n],
          issues: []
        }, i);
        u instanceof Promise ? h.push(u.then((f) => {
          f.issues.length && r.issues.push(...ai(n, f.issues)), r.value[l.value] = f.value;
        })) : (u.issues.length && r.issues.push(...ai(n, u.issues)), r.value[l.value] = u.value);
      }
    }
    return h.length ? Promise.all(h).then(() => r) : r;
  };
}), KT = /* @__PURE__ */ Le("$ZodEnum", (e, t) => {
  wt.init(e, t);
  const r = lg(t.entries), i = new Set(r);
  e._zod.values = i, e._zod.pattern = new RegExp(`^(${r.filter((s) => dC.has(typeof s)).map((s) => typeof s == "string" ? Gs(s) : s.toString()).join("|")})$`), e._zod.parse = (s, h) => {
    const a = s.value;
    return i.has(a) || s.issues.push({
      code: "invalid_value",
      values: r,
      input: a,
      inst: e
    }), s;
  };
}), ZT = /* @__PURE__ */ Le("$ZodTransform", (e, t) => {
  wt.init(e, t), e._zod.parse = (r, i) => {
    if (i.direction === "backward") throw new ug(e.constructor.name);
    const s = t.transform(r.value, r);
    if (i.async) return (s instanceof Promise ? s : Promise.resolve(s)).then((h) => (r.value = h, r));
    if (s instanceof Promise) throw new ci();
    return r.value = s, r;
  };
});
function eh(e, t) {
  return e.issues.length && t === void 0 ? {
    issues: [],
    value: void 0
  } : e;
}
var bg = /* @__PURE__ */ Le("$ZodOptional", (e, t) => {
  wt.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", nt(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), nt(e._zod, "pattern", () => {
    const r = t.innerType._zod.pattern;
    return r ? new RegExp(`^(${yl(r.source)})?$`) : void 0;
  }), e._zod.parse = (r, i) => {
    if (t.innerType._zod.optin === "optional") {
      const s = t.innerType._zod.run(r, i);
      return s instanceof Promise ? s.then((h) => eh(h, r.value)) : eh(s, r.value);
    }
    return r.value === void 0 ? r : t.innerType._zod.run(r, i);
  };
}), JT = /* @__PURE__ */ Le("$ZodExactOptional", (e, t) => {
  bg.init(e, t), nt(e._zod, "values", () => t.innerType._zod.values), nt(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (r, i) => t.innerType._zod.run(r, i);
}), XT = /* @__PURE__ */ Le("$ZodNullable", (e, t) => {
  wt.init(e, t), nt(e._zod, "optin", () => t.innerType._zod.optin), nt(e._zod, "optout", () => t.innerType._zod.optout), nt(e._zod, "pattern", () => {
    const r = t.innerType._zod.pattern;
    return r ? new RegExp(`^(${yl(r.source)}|null)$`) : void 0;
  }), nt(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (r, i) => r.value === null ? r : t.innerType._zod.run(r, i);
}), QT = /* @__PURE__ */ Le("$ZodDefault", (e, t) => {
  wt.init(e, t), e._zod.optin = "optional", nt(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (r, i) => {
    if (i.direction === "backward") return t.innerType._zod.run(r, i);
    if (r.value === void 0)
      return r.value = t.defaultValue, r;
    const s = t.innerType._zod.run(r, i);
    return s instanceof Promise ? s.then((h) => th(h, t)) : th(s, t);
  };
});
function th(e, t) {
  return e.value === void 0 && (e.value = t.defaultValue), e;
}
var eR = /* @__PURE__ */ Le("$ZodPrefault", (e, t) => {
  wt.init(e, t), e._zod.optin = "optional", nt(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (r, i) => (i.direction === "backward" || r.value === void 0 && (r.value = t.defaultValue), t.innerType._zod.run(r, i));
}), tR = /* @__PURE__ */ Le("$ZodNonOptional", (e, t) => {
  wt.init(e, t), nt(e._zod, "values", () => {
    const r = t.innerType._zod.values;
    return r ? new Set([...r].filter((i) => i !== void 0)) : void 0;
  }), e._zod.parse = (r, i) => {
    const s = t.innerType._zod.run(r, i);
    return s instanceof Promise ? s.then((h) => rh(h, e)) : rh(s, e);
  };
});
function rh(e, t) {
  return !e.issues.length && e.value === void 0 && e.issues.push({
    code: "invalid_type",
    expected: "nonoptional",
    input: e.value,
    inst: t
  }), e;
}
var rR = /* @__PURE__ */ Le("$ZodCatch", (e, t) => {
  wt.init(e, t), nt(e._zod, "optin", () => t.innerType._zod.optin), nt(e._zod, "optout", () => t.innerType._zod.optout), nt(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (r, i) => {
    if (i.direction === "backward") return t.innerType._zod.run(r, i);
    const s = t.innerType._zod.run(r, i);
    return s instanceof Promise ? s.then((h) => (r.value = h.value, h.issues.length && (r.value = t.catchValue({
      ...r,
      error: { issues: h.issues.map((a) => Ar(a, i, Dr())) },
      input: r.value
    }), r.issues = []), r)) : (r.value = s.value, s.issues.length && (r.value = t.catchValue({
      ...r,
      error: { issues: s.issues.map((h) => Ar(h, i, Dr())) },
      input: r.value
    }), r.issues = []), r);
  };
}), iR = /* @__PURE__ */ Le("$ZodPipe", (e, t) => {
  wt.init(e, t), nt(e._zod, "values", () => t.in._zod.values), nt(e._zod, "optin", () => t.in._zod.optin), nt(e._zod, "optout", () => t.out._zod.optout), nt(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (r, i) => {
    if (i.direction === "backward") {
      const h = t.out._zod.run(r, i);
      return h instanceof Promise ? h.then((a) => In(a, t.in, i)) : In(h, t.in, i);
    }
    const s = t.in._zod.run(r, i);
    return s instanceof Promise ? s.then((h) => In(h, t.out, i)) : In(s, t.out, i);
  };
});
function In(e, t, r) {
  return e.issues.length ? (e.aborted = !0, e) : t._zod.run({
    value: e.value,
    issues: e.issues
  }, r);
}
var nR = /* @__PURE__ */ Le("$ZodReadonly", (e, t) => {
  wt.init(e, t), nt(e._zod, "propValues", () => t.innerType._zod.propValues), nt(e._zod, "values", () => t.innerType._zod.values), nt(e._zod, "optin", () => t.innerType?._zod?.optin), nt(e._zod, "optout", () => t.innerType?._zod?.optout), e._zod.parse = (r, i) => {
    if (i.direction === "backward") return t.innerType._zod.run(r, i);
    const s = t.innerType._zod.run(r, i);
    return s instanceof Promise ? s.then(ih) : ih(s);
  };
});
function ih(e) {
  return e.value = Object.freeze(e.value), e;
}
var sR = /* @__PURE__ */ Le("$ZodCustom", (e, t) => {
  hr.init(e, t), wt.init(e, t), e._zod.parse = (r, i) => r, e._zod.check = (r) => {
    const i = r.value, s = t.fn(i);
    if (s instanceof Promise) return s.then((h) => nh(h, r, i, e));
    nh(s, r, i, e);
  };
});
function nh(e, t, r, i) {
  if (!e) {
    const s = {
      code: "custom",
      input: r,
      inst: i,
      path: [...i._zod.def.path ?? []],
      continue: !i._zod.def.abort
    };
    i._zod.def.params && (s.params = i._zod.def.params), t.issues.push(rn(s));
  }
}
var sh, aR = class {
  constructor() {
    this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
  }
  add(e, ...t) {
    const r = t[0];
    return this._map.set(e, r), r && typeof r == "object" && "id" in r && this._idmap.set(r.id, e), this;
  }
  clear() {
    return this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map(), this;
  }
  remove(e) {
    const t = this._map.get(e);
    return t && typeof t == "object" && "id" in t && this._idmap.delete(t.id), this._map.delete(e), this;
  }
  get(e) {
    const t = e._zod.parent;
    if (t) {
      const r = { ...this.get(t) ?? {} };
      delete r.id;
      const i = {
        ...r,
        ...this._map.get(e)
      };
      return Object.keys(i).length ? i : void 0;
    }
    return this._map.get(e);
  }
  has(e) {
    return this._map.has(e);
  }
};
function oR() {
  return new aR();
}
(sh = globalThis).__zod_globalRegistry ?? (sh.__zod_globalRegistry = oR());
var Mi = globalThis.__zod_globalRegistry;
// @__NO_SIDE_EFFECTS__
function uR(e, t) {
  return new e({
    type: "string",
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function lR(e, t) {
  return new e({
    type: "string",
    format: "email",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function ah(e, t) {
  return new e({
    type: "string",
    format: "guid",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function cR(e, t) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function hR(e, t) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    version: "v4",
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function fR(e, t) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    version: "v6",
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function dR(e, t) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    version: "v7",
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function pR(e, t) {
  return new e({
    type: "string",
    format: "url",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function gR(e, t) {
  return new e({
    type: "string",
    format: "emoji",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function mR(e, t) {
  return new e({
    type: "string",
    format: "nanoid",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function vR(e, t) {
  return new e({
    type: "string",
    format: "cuid",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function yR(e, t) {
  return new e({
    type: "string",
    format: "cuid2",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function _R(e, t) {
  return new e({
    type: "string",
    format: "ulid",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function ER(e, t) {
  return new e({
    type: "string",
    format: "xid",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function bR(e, t) {
  return new e({
    type: "string",
    format: "ksuid",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function wR(e, t) {
  return new e({
    type: "string",
    format: "ipv4",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function DR(e, t) {
  return new e({
    type: "string",
    format: "ipv6",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function AR(e, t) {
  return new e({
    type: "string",
    format: "cidrv4",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function SR(e, t) {
  return new e({
    type: "string",
    format: "cidrv6",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function CR(e, t) {
  return new e({
    type: "string",
    format: "base64",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function TR(e, t) {
  return new e({
    type: "string",
    format: "base64url",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function RR(e, t) {
  return new e({
    type: "string",
    format: "e164",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function OR(e, t) {
  return new e({
    type: "string",
    format: "jwt",
    check: "string_format",
    abort: !1,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function IR(e, t) {
  return new e({
    type: "string",
    format: "datetime",
    check: "string_format",
    offset: !1,
    local: !1,
    precision: null,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function kR(e, t) {
  return new e({
    type: "string",
    format: "date",
    check: "string_format",
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function LR(e, t) {
  return new e({
    type: "string",
    format: "time",
    check: "string_format",
    precision: null,
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function FR(e, t) {
  return new e({
    type: "string",
    format: "duration",
    check: "string_format",
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function NR(e) {
  return new e({ type: "unknown" });
}
// @__NO_SIDE_EFFECTS__
function $R(e, t) {
  return new e({
    type: "never",
    ...ze(t)
  });
}
// @__NO_SIDE_EFFECTS__
function wg(e, t) {
  return new nT({
    check: "max_length",
    ...ze(t),
    maximum: e
  });
}
// @__NO_SIDE_EFFECTS__
function rs(e, t) {
  return new sT({
    check: "min_length",
    ...ze(t),
    minimum: e
  });
}
// @__NO_SIDE_EFFECTS__
function Dg(e, t) {
  return new aT({
    check: "length_equals",
    ...ze(t),
    length: e
  });
}
// @__NO_SIDE_EFFECTS__
function xR(e, t) {
  return new oT({
    check: "string_format",
    format: "regex",
    ...ze(t),
    pattern: e
  });
}
// @__NO_SIDE_EFFECTS__
function BR(e) {
  return new uT({
    check: "string_format",
    format: "lowercase",
    ...ze(e)
  });
}
// @__NO_SIDE_EFFECTS__
function PR(e) {
  return new lT({
    check: "string_format",
    format: "uppercase",
    ...ze(e)
  });
}
// @__NO_SIDE_EFFECTS__
function MR(e, t) {
  return new cT({
    check: "string_format",
    format: "includes",
    ...ze(t),
    includes: e
  });
}
// @__NO_SIDE_EFFECTS__
function jR(e, t) {
  return new hT({
    check: "string_format",
    format: "starts_with",
    ...ze(t),
    prefix: e
  });
}
// @__NO_SIDE_EFFECTS__
function UR(e, t) {
  return new fT({
    check: "string_format",
    format: "ends_with",
    ...ze(t),
    suffix: e
  });
}
// @__NO_SIDE_EFFECTS__
function Ci(e) {
  return new dT({
    check: "overwrite",
    tx: e
  });
}
// @__NO_SIDE_EFFECTS__
function HR(e) {
  return /* @__PURE__ */ Ci((t) => t.normalize(e));
}
// @__NO_SIDE_EFFECTS__
function qR() {
  return /* @__PURE__ */ Ci((e) => e.trim());
}
// @__NO_SIDE_EFFECTS__
function zR() {
  return /* @__PURE__ */ Ci((e) => e.toLowerCase());
}
// @__NO_SIDE_EFFECTS__
function GR() {
  return /* @__PURE__ */ Ci((e) => e.toUpperCase());
}
// @__NO_SIDE_EFFECTS__
function WR() {
  return /* @__PURE__ */ Ci((e) => hC(e));
}
// @__NO_SIDE_EFFECTS__
function VR(e, t, r) {
  return new e({
    type: "array",
    element: t,
    ...ze(r)
  });
}
// @__NO_SIDE_EFFECTS__
function YR(e, t, r) {
  return new e({
    type: "custom",
    check: "custom",
    fn: t,
    ...ze(r)
  });
}
// @__NO_SIDE_EFFECTS__
function KR(e) {
  const t = /* @__PURE__ */ ZR((r) => (r.addIssue = (i) => {
    if (typeof i == "string") r.issues.push(rn(i, r.value, t._zod.def));
    else {
      const s = i;
      s.fatal && (s.continue = !1), s.code ?? (s.code = "custom"), s.input ?? (s.input = r.value), s.inst ?? (s.inst = t), s.continue ?? (s.continue = !t._zod.def.abort), r.issues.push(rn(s));
    }
  }, e(r.value, r)));
  return t;
}
// @__NO_SIDE_EFFECTS__
function ZR(e, t) {
  const r = new hr({
    check: "custom",
    ...ze(t)
  });
  return r._zod.check = e, r;
}
function Ag(e) {
  let t = e?.target ?? "draft-2020-12";
  return t === "draft-4" && (t = "draft-04"), t === "draft-7" && (t = "draft-07"), {
    processors: e.processors ?? {},
    metadataRegistry: e?.metadata ?? Mi,
    target: t,
    unrepresentable: e?.unrepresentable ?? "throw",
    override: e?.override ?? (() => {
    }),
    io: e?.io ?? "output",
    counter: 0,
    seen: /* @__PURE__ */ new Map(),
    cycles: e?.cycles ?? "ref",
    reused: e?.reused ?? "inline",
    external: e?.external ?? void 0
  };
}
function Et(e, t, r = {
  path: [],
  schemaPath: []
}) {
  var i;
  const s = e._zod.def, h = t.seen.get(e);
  if (h)
    return h.count++, r.schemaPath.includes(e) && (h.cycle = r.path), h.schema;
  const a = {
    schema: {},
    count: 1,
    cycle: void 0,
    path: r.path
  };
  t.seen.set(e, a);
  const n = e._zod.toJSONSchema?.();
  if (n) a.schema = n;
  else {
    const u = {
      ...r,
      schemaPath: [...r.schemaPath, e],
      path: r.path
    };
    if (e._zod.processJSONSchema) e._zod.processJSONSchema(t, a.schema, u);
    else {
      const o = a.schema, c = t.processors[s.type];
      if (!c) throw new Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);
      c(e, t, o, u);
    }
    const f = e._zod.parent;
    f && (a.ref || (a.ref = f), Et(f, t, u), t.seen.get(f).isParent = !0);
  }
  const l = t.metadataRegistry.get(e);
  return l && Object.assign(a.schema, l), t.io === "input" && Nt(e) && (delete a.schema.examples, delete a.schema.default), t.io === "input" && a.schema._prefault && ((i = a.schema).default ?? (i.default = a.schema._prefault)), delete a.schema._prefault, t.seen.get(e).schema;
}
function Sg(e, t) {
  const r = e.seen.get(t);
  if (!r) throw new Error("Unprocessed schema. This is a bug in Zod.");
  const i = /* @__PURE__ */ new Map();
  for (const a of e.seen.entries()) {
    const n = e.metadataRegistry.get(a[0])?.id;
    if (n) {
      const l = i.get(n);
      if (l && l !== a[0]) throw new Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);
      i.set(n, a[0]);
    }
  }
  const s = (a) => {
    const n = e.target === "draft-2020-12" ? "$defs" : "definitions";
    if (e.external) {
      const f = e.external.registry.get(a[0])?.id, o = e.external.uri ?? ((d) => d);
      if (f) return { ref: o(f) };
      const c = a[1].defId ?? a[1].schema.id ?? `schema${e.counter++}`;
      return a[1].defId = c, {
        defId: c,
        ref: `${o("__shared")}#/${n}/${c}`
      };
    }
    if (a[1] === r) return { ref: "#" };
    const l = `#/${n}/`, u = a[1].schema.id ?? `__schema${e.counter++}`;
    return {
      defId: u,
      ref: l + u
    };
  }, h = (a) => {
    if (a[1].schema.$ref) return;
    const n = a[1], { ref: l, defId: u } = s(a);
    n.def = { ...n.schema }, u && (n.defId = u);
    const f = n.schema;
    for (const o in f) delete f[o];
    f.$ref = l;
  };
  if (e.cycles === "throw") for (const a of e.seen.entries()) {
    const n = a[1];
    if (n.cycle) throw new Error(`Cycle detected: #/${n.cycle?.join("/")}/<root>

Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`);
  }
  for (const a of e.seen.entries()) {
    const n = a[1];
    if (t === a[0]) {
      h(a);
      continue;
    }
    if (e.external) {
      const l = e.external.registry.get(a[0])?.id;
      if (t !== a[0] && l) {
        h(a);
        continue;
      }
    }
    if (e.metadataRegistry.get(a[0])?.id) {
      h(a);
      continue;
    }
    if (n.cycle) {
      h(a);
      continue;
    }
    if (n.count > 1 && e.reused === "ref") {
      h(a);
      continue;
    }
  }
}
function Cg(e, t) {
  const r = e.seen.get(t);
  if (!r) throw new Error("Unprocessed schema. This is a bug in Zod.");
  const i = (a) => {
    const n = e.seen.get(a);
    if (n.ref === null) return;
    const l = n.def ?? n.schema, u = { ...l }, f = n.ref;
    if (n.ref = null, f) {
      i(f);
      const c = e.seen.get(f), d = c.schema;
      if (d.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (l.allOf = l.allOf ?? [], l.allOf.push(d)) : Object.assign(l, d), Object.assign(l, u), a._zod.parent === f) for (const p in l)
        p === "$ref" || p === "allOf" || p in u || delete l[p];
      if (d.$ref && c.def) for (const p in l)
        p === "$ref" || p === "allOf" || p in c.def && JSON.stringify(l[p]) === JSON.stringify(c.def[p]) && delete l[p];
    }
    const o = a._zod.parent;
    if (o && o !== f) {
      i(o);
      const c = e.seen.get(o);
      if (c?.schema.$ref && (l.$ref = c.schema.$ref, c.def))
        for (const d in l)
          d === "$ref" || d === "allOf" || d in c.def && JSON.stringify(l[d]) === JSON.stringify(c.def[d]) && delete l[d];
    }
    e.override({
      zodSchema: a,
      jsonSchema: l,
      path: n.path ?? []
    });
  };
  for (const a of [...e.seen.entries()].reverse()) i(a[0]);
  const s = {};
  if (e.target === "draft-2020-12" ? s.$schema = "https://json-schema.org/draft/2020-12/schema" : e.target === "draft-07" ? s.$schema = "http://json-schema.org/draft-07/schema#" : e.target === "draft-04" ? s.$schema = "http://json-schema.org/draft-04/schema#" : e.target, e.external?.uri) {
    const a = e.external.registry.get(t)?.id;
    if (!a) throw new Error("Schema is missing an `id` property");
    s.$id = e.external.uri(a);
  }
  Object.assign(s, r.def ?? r.schema);
  const h = e.external?.defs ?? {};
  for (const a of e.seen.entries()) {
    const n = a[1];
    n.def && n.defId && (h[n.defId] = n.def);
  }
  e.external || Object.keys(h).length > 0 && (e.target === "draft-2020-12" ? s.$defs = h : s.definitions = h);
  try {
    const a = JSON.parse(JSON.stringify(s));
    return Object.defineProperty(a, "~standard", {
      value: {
        ...t["~standard"],
        jsonSchema: {
          input: is(t, "input", e.processors),
          output: is(t, "output", e.processors)
        }
      },
      enumerable: !1,
      writable: !1
    }), a;
  } catch {
    throw new Error("Error converting schema to JSON.");
  }
}
function Nt(e, t) {
  const r = t ?? { seen: /* @__PURE__ */ new Set() };
  if (r.seen.has(e)) return !1;
  r.seen.add(e);
  const i = e._zod.def;
  if (i.type === "transform") return !0;
  if (i.type === "array") return Nt(i.element, r);
  if (i.type === "set") return Nt(i.valueType, r);
  if (i.type === "lazy") return Nt(i.getter(), r);
  if (i.type === "promise" || i.type === "optional" || i.type === "nonoptional" || i.type === "nullable" || i.type === "readonly" || i.type === "default" || i.type === "prefault") return Nt(i.innerType, r);
  if (i.type === "intersection") return Nt(i.left, r) || Nt(i.right, r);
  if (i.type === "record" || i.type === "map") return Nt(i.keyType, r) || Nt(i.valueType, r);
  if (i.type === "pipe") return Nt(i.in, r) || Nt(i.out, r);
  if (i.type === "object") {
    for (const s in i.shape) if (Nt(i.shape[s], r)) return !0;
    return !1;
  }
  if (i.type === "union") {
    for (const s of i.options) if (Nt(s, r)) return !0;
    return !1;
  }
  if (i.type === "tuple") {
    for (const s of i.items) if (Nt(s, r)) return !0;
    return !!(i.rest && Nt(i.rest, r));
  }
  return !1;
}
var JR = (e, t = {}) => (r) => {
  const i = Ag({
    ...r,
    processors: t
  });
  return Et(e, i), Sg(i, e), Cg(i, e);
}, is = (e, t, r = {}) => (i) => {
  const { libraryOptions: s, target: h } = i ?? {}, a = Ag({
    ...s ?? {},
    target: h,
    io: t,
    processors: r
  });
  return Et(e, a), Sg(a, e), Cg(a, e);
}, XR = {
  guid: "uuid",
  url: "uri",
  datetime: "date-time",
  json_string: "json-string",
  regex: ""
}, QR = (e, t, r, i) => {
  const s = r;
  s.type = "string";
  const { minimum: h, maximum: a, format: n, patterns: l, contentEncoding: u } = e._zod.bag;
  if (typeof h == "number" && (s.minLength = h), typeof a == "number" && (s.maxLength = a), n && (s.format = XR[n] ?? n, s.format === "" && delete s.format, n === "time" && delete s.format), u && (s.contentEncoding = u), l && l.size > 0) {
    const f = [...l];
    f.length === 1 ? s.pattern = f[0].source : f.length > 1 && (s.allOf = [...f.map((o) => ({
      ...t.target === "draft-07" || t.target === "draft-04" || t.target === "openapi-3.0" ? { type: "string" } : {},
      pattern: o.source
    }))]);
  }
}, eO = (e, t, r, i) => {
  r.not = {};
}, tO = (e, t, r, i) => {
}, rO = (e, t, r, i) => {
  const s = e._zod.def, h = lg(s.entries);
  h.every((a) => typeof a == "number") && (r.type = "number"), h.every((a) => typeof a == "string") && (r.type = "string"), r.enum = h;
}, iO = (e, t, r, i) => {
  if (t.unrepresentable === "throw") throw new Error("Custom types cannot be represented in JSON Schema");
}, nO = (e, t, r, i) => {
  if (t.unrepresentable === "throw") throw new Error("Transforms cannot be represented in JSON Schema");
}, sO = (e, t, r, i) => {
  const s = r, h = e._zod.def, { minimum: a, maximum: n } = e._zod.bag;
  typeof a == "number" && (s.minItems = a), typeof n == "number" && (s.maxItems = n), s.type = "array", s.items = Et(h.element, t, {
    ...i,
    path: [...i.path, "items"]
  });
}, aO = (e, t, r, i) => {
  const s = r, h = e._zod.def;
  s.type = "object", s.properties = {};
  const a = h.shape;
  for (const u in a) s.properties[u] = Et(a[u], t, {
    ...i,
    path: [
      ...i.path,
      "properties",
      u
    ]
  });
  const n = new Set(Object.keys(a)), l = new Set([...n].filter((u) => {
    const f = h.shape[u]._zod;
    return t.io === "input" ? f.optin === void 0 : f.optout === void 0;
  }));
  l.size > 0 && (s.required = Array.from(l)), h.catchall?._zod.def.type === "never" ? s.additionalProperties = !1 : h.catchall ? h.catchall && (s.additionalProperties = Et(h.catchall, t, {
    ...i,
    path: [...i.path, "additionalProperties"]
  })) : t.io === "output" && (s.additionalProperties = !1);
}, oO = (e, t, r, i) => {
  const s = e._zod.def, h = s.inclusive === !1, a = s.options.map((n, l) => Et(n, t, {
    ...i,
    path: [
      ...i.path,
      h ? "oneOf" : "anyOf",
      l
    ]
  }));
  h ? r.oneOf = a : r.anyOf = a;
}, uO = (e, t, r, i) => {
  const s = e._zod.def, h = Et(s.left, t, {
    ...i,
    path: [
      ...i.path,
      "allOf",
      0
    ]
  }), a = Et(s.right, t, {
    ...i,
    path: [
      ...i.path,
      "allOf",
      1
    ]
  }), n = (l) => "allOf" in l && Object.keys(l).length === 1;
  r.allOf = [...n(h) ? h.allOf : [h], ...n(a) ? a.allOf : [a]];
}, lO = (e, t, r, i) => {
  const s = r, h = e._zod.def;
  s.type = "object";
  const a = h.keyType, n = a._zod.bag?.patterns;
  if (h.mode === "loose" && n && n.size > 0) {
    const u = Et(h.valueType, t, {
      ...i,
      path: [
        ...i.path,
        "patternProperties",
        "*"
      ]
    });
    s.patternProperties = {};
    for (const f of n) s.patternProperties[f.source] = u;
  } else
    (t.target === "draft-07" || t.target === "draft-2020-12") && (s.propertyNames = Et(h.keyType, t, {
      ...i,
      path: [...i.path, "propertyNames"]
    })), s.additionalProperties = Et(h.valueType, t, {
      ...i,
      path: [...i.path, "additionalProperties"]
    });
  const l = a._zod.values;
  if (l) {
    const u = [...l].filter((f) => typeof f == "string" || typeof f == "number");
    u.length > 0 && (s.required = u);
  }
}, cO = (e, t, r, i) => {
  const s = e._zod.def, h = Et(s.innerType, t, i), a = t.seen.get(e);
  t.target === "openapi-3.0" ? (a.ref = s.innerType, r.nullable = !0) : r.anyOf = [h, { type: "null" }];
}, hO = (e, t, r, i) => {
  const s = e._zod.def;
  Et(s.innerType, t, i);
  const h = t.seen.get(e);
  h.ref = s.innerType;
}, fO = (e, t, r, i) => {
  const s = e._zod.def;
  Et(s.innerType, t, i);
  const h = t.seen.get(e);
  h.ref = s.innerType, r.default = JSON.parse(JSON.stringify(s.defaultValue));
}, dO = (e, t, r, i) => {
  const s = e._zod.def;
  Et(s.innerType, t, i);
  const h = t.seen.get(e);
  h.ref = s.innerType, t.io === "input" && (r._prefault = JSON.parse(JSON.stringify(s.defaultValue)));
}, pO = (e, t, r, i) => {
  const s = e._zod.def;
  Et(s.innerType, t, i);
  const h = t.seen.get(e);
  h.ref = s.innerType;
  let a;
  try {
    a = s.catchValue(void 0);
  } catch {
    throw new Error("Dynamic catch values are not supported in JSON Schema");
  }
  r.default = a;
}, gO = (e, t, r, i) => {
  const s = e._zod.def, h = t.io === "input" ? s.in._zod.def.type === "transform" ? s.out : s.in : s.out;
  Et(h, t, i);
  const a = t.seen.get(e);
  a.ref = h;
}, mO = (e, t, r, i) => {
  const s = e._zod.def;
  Et(s.innerType, t, i);
  const h = t.seen.get(e);
  h.ref = s.innerType, r.readOnly = !0;
}, Tg = (e, t, r, i) => {
  const s = e._zod.def;
  Et(s.innerType, t, i);
  const h = t.seen.get(e);
  h.ref = s.innerType;
}, vO = /* @__PURE__ */ Le("ZodISODateTime", (e, t) => {
  TT.init(e, t), gt.init(e, t);
});
function yO(e) {
  return /* @__PURE__ */ IR(vO, e);
}
var _O = /* @__PURE__ */ Le("ZodISODate", (e, t) => {
  RT.init(e, t), gt.init(e, t);
});
function EO(e) {
  return /* @__PURE__ */ kR(_O, e);
}
var bO = /* @__PURE__ */ Le("ZodISOTime", (e, t) => {
  OT.init(e, t), gt.init(e, t);
});
function wO(e) {
  return /* @__PURE__ */ LR(bO, e);
}
var DO = /* @__PURE__ */ Le("ZodISODuration", (e, t) => {
  IT.init(e, t), gt.init(e, t);
});
function AO(e) {
  return /* @__PURE__ */ FR(DO, e);
}
var Rg = (e, t) => {
  dg.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
    format: { value: (r) => DC(e, r) },
    flatten: { value: (r) => wC(e, r) },
    addIssue: { value: (r) => {
      e.issues.push(r), e.message = JSON.stringify(e.issues, Jo, 2);
    } },
    addIssues: { value: (r) => {
      e.issues.push(...r), e.message = JSON.stringify(e.issues, Jo, 2);
    } },
    isEmpty: { get() {
      return e.issues.length === 0;
    } }
  });
}, IL = Le("ZodError", Rg), Jt = Le("ZodError", Rg, { Parent: Error }), SO = /* @__PURE__ */ El(Jt), CO = /* @__PURE__ */ bl(Jt), TO = /* @__PURE__ */ Ws(Jt), RO = /* @__PURE__ */ Vs(Jt), OO = /* @__PURE__ */ CC(Jt), IO = /* @__PURE__ */ TC(Jt), kO = /* @__PURE__ */ RC(Jt), LO = /* @__PURE__ */ OC(Jt), FO = /* @__PURE__ */ IC(Jt), NO = /* @__PURE__ */ kC(Jt), $O = /* @__PURE__ */ LC(Jt), xO = /* @__PURE__ */ FC(Jt), Dt = /* @__PURE__ */ Le("ZodType", (e, t) => (wt.init(e, t), Object.assign(e["~standard"], { jsonSchema: {
  input: is(e, "input"),
  output: is(e, "output")
} }), e.toJSONSchema = JR(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.check = (...r) => e.clone(Ir(t, { checks: [...t.checks ?? [], ...r.map((i) => typeof i == "function" ? { _zod: {
  check: i,
  def: { check: "custom" },
  onattach: []
} } : i)] }), { parent: !0 }), e.with = e.check, e.clone = (r, i) => kr(e, r, i), e.brand = () => e, e.register = ((r, i) => (r.add(e, i), e)), e.parse = (r, i) => SO(e, r, i, { callee: e.parse }), e.safeParse = (r, i) => TO(e, r, i), e.parseAsync = async (r, i) => CO(e, r, i, { callee: e.parseAsync }), e.safeParseAsync = async (r, i) => RO(e, r, i), e.spa = e.safeParseAsync, e.encode = (r, i) => OO(e, r, i), e.decode = (r, i) => IO(e, r, i), e.encodeAsync = async (r, i) => kO(e, r, i), e.decodeAsync = async (r, i) => LO(e, r, i), e.safeEncode = (r, i) => FO(e, r, i), e.safeDecode = (r, i) => NO(e, r, i), e.safeEncodeAsync = async (r, i) => $O(e, r, i), e.safeDecodeAsync = async (r, i) => xO(e, r, i), e.refine = (r, i) => e.check(I2(r, i)), e.superRefine = (r) => e.check(k2(r)), e.overwrite = (r) => e.check(/* @__PURE__ */ Ci(r)), e.optional = () => ns(e), e.exactOptional = () => v2(e), e.nullable = () => lh(e), e.nullish = () => ns(lh(e)), e.nonoptional = (r) => D2(e, r), e.array = () => s2(e), e.or = (r) => l2([e, r]), e.and = (r) => h2(e, r), e.transform = (r) => ch(e, g2(r)), e.default = (r) => E2(e, r), e.prefault = (r) => w2(e, r), e.catch = (r) => S2(e, r), e.pipe = (r) => ch(e, r), e.readonly = () => R2(e), e.describe = (r) => {
  const i = e.clone();
  return Mi.add(i, { description: r }), i;
}, Object.defineProperty(e, "description", {
  get() {
    return Mi.get(e)?.description;
  },
  configurable: !0
}), e.meta = (...r) => {
  if (r.length === 0) return Mi.get(e);
  const i = e.clone();
  return Mi.add(i, r[0]), i;
}, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e.apply = (r) => r(e), e)), Og = /* @__PURE__ */ Le("_ZodString", (e, t) => {
  wl.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (i, s, h) => QR(e, i, s, h);
  const r = e._zod.bag;
  e.format = r.format ?? null, e.minLength = r.minimum ?? null, e.maxLength = r.maximum ?? null, e.regex = (...i) => e.check(/* @__PURE__ */ xR(...i)), e.includes = (...i) => e.check(/* @__PURE__ */ MR(...i)), e.startsWith = (...i) => e.check(/* @__PURE__ */ jR(...i)), e.endsWith = (...i) => e.check(/* @__PURE__ */ UR(...i)), e.min = (...i) => e.check(/* @__PURE__ */ rs(...i)), e.max = (...i) => e.check(/* @__PURE__ */ wg(...i)), e.length = (...i) => e.check(/* @__PURE__ */ Dg(...i)), e.nonempty = (...i) => e.check(/* @__PURE__ */ rs(1, ...i)), e.lowercase = (i) => e.check(/* @__PURE__ */ BR(i)), e.uppercase = (i) => e.check(/* @__PURE__ */ PR(i)), e.trim = () => e.check(/* @__PURE__ */ qR()), e.normalize = (...i) => e.check(/* @__PURE__ */ HR(...i)), e.toLowerCase = () => e.check(/* @__PURE__ */ zR()), e.toUpperCase = () => e.check(/* @__PURE__ */ GR()), e.slugify = () => e.check(/* @__PURE__ */ WR());
}), BO = /* @__PURE__ */ Le("ZodString", (e, t) => {
  wl.init(e, t), Og.init(e, t), e.email = (r) => e.check(/* @__PURE__ */ lR(PO, r)), e.url = (r) => e.check(/* @__PURE__ */ pR(MO, r)), e.jwt = (r) => e.check(/* @__PURE__ */ OR(e2, r)), e.emoji = (r) => e.check(/* @__PURE__ */ gR(jO, r)), e.guid = (r) => e.check(/* @__PURE__ */ ah(oh, r)), e.uuid = (r) => e.check(/* @__PURE__ */ cR(kn, r)), e.uuidv4 = (r) => e.check(/* @__PURE__ */ hR(kn, r)), e.uuidv6 = (r) => e.check(/* @__PURE__ */ fR(kn, r)), e.uuidv7 = (r) => e.check(/* @__PURE__ */ dR(kn, r)), e.nanoid = (r) => e.check(/* @__PURE__ */ mR(UO, r)), e.guid = (r) => e.check(/* @__PURE__ */ ah(oh, r)), e.cuid = (r) => e.check(/* @__PURE__ */ vR(HO, r)), e.cuid2 = (r) => e.check(/* @__PURE__ */ yR(qO, r)), e.ulid = (r) => e.check(/* @__PURE__ */ _R(zO, r)), e.base64 = (r) => e.check(/* @__PURE__ */ CR(JO, r)), e.base64url = (r) => e.check(/* @__PURE__ */ TR(XO, r)), e.xid = (r) => e.check(/* @__PURE__ */ ER(GO, r)), e.ksuid = (r) => e.check(/* @__PURE__ */ bR(WO, r)), e.ipv4 = (r) => e.check(/* @__PURE__ */ wR(VO, r)), e.ipv6 = (r) => e.check(/* @__PURE__ */ DR(YO, r)), e.cidrv4 = (r) => e.check(/* @__PURE__ */ AR(KO, r)), e.cidrv6 = (r) => e.check(/* @__PURE__ */ SR(ZO, r)), e.e164 = (r) => e.check(/* @__PURE__ */ RR(QO, r)), e.datetime = (r) => e.check(yO(r)), e.date = (r) => e.check(EO(r)), e.time = (r) => e.check(wO(r)), e.duration = (r) => e.check(AO(r));
});
function Fi(e) {
  return /* @__PURE__ */ uR(BO, e);
}
var gt = /* @__PURE__ */ Le("ZodStringFormat", (e, t) => {
  pt.init(e, t), Og.init(e, t);
}), PO = /* @__PURE__ */ Le("ZodEmail", (e, t) => {
  yT.init(e, t), gt.init(e, t);
}), oh = /* @__PURE__ */ Le("ZodGUID", (e, t) => {
  mT.init(e, t), gt.init(e, t);
}), kn = /* @__PURE__ */ Le("ZodUUID", (e, t) => {
  vT.init(e, t), gt.init(e, t);
}), MO = /* @__PURE__ */ Le("ZodURL", (e, t) => {
  _T.init(e, t), gt.init(e, t);
}), jO = /* @__PURE__ */ Le("ZodEmoji", (e, t) => {
  ET.init(e, t), gt.init(e, t);
}), UO = /* @__PURE__ */ Le("ZodNanoID", (e, t) => {
  bT.init(e, t), gt.init(e, t);
}), HO = /* @__PURE__ */ Le("ZodCUID", (e, t) => {
  wT.init(e, t), gt.init(e, t);
}), qO = /* @__PURE__ */ Le("ZodCUID2", (e, t) => {
  DT.init(e, t), gt.init(e, t);
}), zO = /* @__PURE__ */ Le("ZodULID", (e, t) => {
  AT.init(e, t), gt.init(e, t);
}), GO = /* @__PURE__ */ Le("ZodXID", (e, t) => {
  ST.init(e, t), gt.init(e, t);
}), WO = /* @__PURE__ */ Le("ZodKSUID", (e, t) => {
  CT.init(e, t), gt.init(e, t);
}), VO = /* @__PURE__ */ Le("ZodIPv4", (e, t) => {
  kT.init(e, t), gt.init(e, t);
}), YO = /* @__PURE__ */ Le("ZodIPv6", (e, t) => {
  LT.init(e, t), gt.init(e, t);
}), KO = /* @__PURE__ */ Le("ZodCIDRv4", (e, t) => {
  FT.init(e, t), gt.init(e, t);
}), ZO = /* @__PURE__ */ Le("ZodCIDRv6", (e, t) => {
  NT.init(e, t), gt.init(e, t);
}), JO = /* @__PURE__ */ Le("ZodBase64", (e, t) => {
  $T.init(e, t), gt.init(e, t);
}), XO = /* @__PURE__ */ Le("ZodBase64URL", (e, t) => {
  BT.init(e, t), gt.init(e, t);
}), QO = /* @__PURE__ */ Le("ZodE164", (e, t) => {
  PT.init(e, t), gt.init(e, t);
}), e2 = /* @__PURE__ */ Le("ZodJWT", (e, t) => {
  jT.init(e, t), gt.init(e, t);
}), t2 = /* @__PURE__ */ Le("ZodUnknown", (e, t) => {
  UT.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => tO(e, r, i, s);
});
function uh() {
  return /* @__PURE__ */ NR(t2);
}
var r2 = /* @__PURE__ */ Le("ZodNever", (e, t) => {
  HT.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => eO(e, r, i, s);
});
function i2(e) {
  return /* @__PURE__ */ $R(r2, e);
}
var n2 = /* @__PURE__ */ Le("ZodArray", (e, t) => {
  qT.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => sO(e, r, i, s), e.element = t.element, e.min = (r, i) => e.check(/* @__PURE__ */ rs(r, i)), e.nonempty = (r) => e.check(/* @__PURE__ */ rs(1, r)), e.max = (r, i) => e.check(/* @__PURE__ */ wg(r, i)), e.length = (r, i) => e.check(/* @__PURE__ */ Dg(r, i)), e.unwrap = () => e.element;
});
function s2(e, t) {
  return /* @__PURE__ */ VR(n2, e, t);
}
var a2 = /* @__PURE__ */ Le("ZodObject", (e, t) => {
  GT.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => aO(e, r, i, s), nt(e, "shape", () => t.shape), e.keyof = () => d2(Object.keys(e._zod.def.shape)), e.catchall = (r) => e.clone({
    ...e._zod.def,
    catchall: r
  }), e.passthrough = () => e.clone({
    ...e._zod.def,
    catchall: uh()
  }), e.loose = () => e.clone({
    ...e._zod.def,
    catchall: uh()
  }), e.strict = () => e.clone({
    ...e._zod.def,
    catchall: i2()
  }), e.strip = () => e.clone({
    ...e._zod.def,
    catchall: void 0
  }), e.extend = (r) => vC(e, r), e.safeExtend = (r) => yC(e, r), e.merge = (r) => _C(e, r), e.pick = (r) => gC(e, r), e.omit = (r) => mC(e, r), e.partial = (...r) => EC(Ig, e, r[0]), e.required = (...r) => bC(kg, e, r[0]);
});
function o2(e, t) {
  return new a2({
    type: "object",
    shape: e ?? {},
    ...ze(t)
  });
}
var u2 = /* @__PURE__ */ Le("ZodUnion", (e, t) => {
  WT.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => oO(e, r, i, s), e.options = t.options;
});
function l2(e, t) {
  return new u2({
    type: "union",
    options: e,
    ...ze(t)
  });
}
var c2 = /* @__PURE__ */ Le("ZodIntersection", (e, t) => {
  VT.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => uO(e, r, i, s);
});
function h2(e, t) {
  return new c2({
    type: "intersection",
    left: e,
    right: t
  });
}
var f2 = /* @__PURE__ */ Le("ZodRecord", (e, t) => {
  YT.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => lO(e, r, i, s), e.keyType = t.keyType, e.valueType = t.valueType;
});
function ma(e, t, r) {
  return new f2({
    type: "record",
    keyType: e,
    valueType: t,
    ...ze(r)
  });
}
var Qo = /* @__PURE__ */ Le("ZodEnum", (e, t) => {
  KT.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (i, s, h) => rO(e, i, s, h), e.enum = t.entries, e.options = Object.values(t.entries);
  const r = new Set(Object.keys(t.entries));
  e.extract = (i, s) => {
    const h = {};
    for (const a of i) if (r.has(a)) h[a] = t.entries[a];
    else throw new Error(`Key ${a} not found in enum`);
    return new Qo({
      ...t,
      checks: [],
      ...ze(s),
      entries: h
    });
  }, e.exclude = (i, s) => {
    const h = { ...t.entries };
    for (const a of i) if (r.has(a)) delete h[a];
    else throw new Error(`Key ${a} not found in enum`);
    return new Qo({
      ...t,
      checks: [],
      ...ze(s),
      entries: h
    });
  };
});
function d2(e, t) {
  return new Qo({
    type: "enum",
    entries: Array.isArray(e) ? Object.fromEntries(e.map((r) => [r, r])) : e,
    ...ze(t)
  });
}
var p2 = /* @__PURE__ */ Le("ZodTransform", (e, t) => {
  ZT.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => nO(e, r, i, s), e._zod.parse = (r, i) => {
    if (i.direction === "backward") throw new ug(e.constructor.name);
    r.addIssue = (h) => {
      if (typeof h == "string") r.issues.push(rn(h, r.value, t));
      else {
        const a = h;
        a.fatal && (a.continue = !1), a.code ?? (a.code = "custom"), a.input ?? (a.input = r.value), a.inst ?? (a.inst = e), r.issues.push(rn(a));
      }
    };
    const s = t.transform(r.value, r);
    return s instanceof Promise ? s.then((h) => (r.value = h, r)) : (r.value = s, r);
  };
});
function g2(e) {
  return new p2({
    type: "transform",
    transform: e
  });
}
var Ig = /* @__PURE__ */ Le("ZodOptional", (e, t) => {
  bg.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => Tg(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function ns(e) {
  return new Ig({
    type: "optional",
    innerType: e
  });
}
var m2 = /* @__PURE__ */ Le("ZodExactOptional", (e, t) => {
  JT.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => Tg(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function v2(e) {
  return new m2({
    type: "optional",
    innerType: e
  });
}
var y2 = /* @__PURE__ */ Le("ZodNullable", (e, t) => {
  XT.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => cO(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function lh(e) {
  return new y2({
    type: "nullable",
    innerType: e
  });
}
var _2 = /* @__PURE__ */ Le("ZodDefault", (e, t) => {
  QT.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => fO(e, r, i, s), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
});
function E2(e, t) {
  return new _2({
    type: "default",
    innerType: e,
    get defaultValue() {
      return typeof t == "function" ? t() : hg(t);
    }
  });
}
var b2 = /* @__PURE__ */ Le("ZodPrefault", (e, t) => {
  eR.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => dO(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function w2(e, t) {
  return new b2({
    type: "prefault",
    innerType: e,
    get defaultValue() {
      return typeof t == "function" ? t() : hg(t);
    }
  });
}
var kg = /* @__PURE__ */ Le("ZodNonOptional", (e, t) => {
  tR.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => hO(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function D2(e, t) {
  return new kg({
    type: "nonoptional",
    innerType: e,
    ...ze(t)
  });
}
var A2 = /* @__PURE__ */ Le("ZodCatch", (e, t) => {
  rR.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => pO(e, r, i, s), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
});
function S2(e, t) {
  return new A2({
    type: "catch",
    innerType: e,
    catchValue: typeof t == "function" ? t : () => t
  });
}
var C2 = /* @__PURE__ */ Le("ZodPipe", (e, t) => {
  iR.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => gO(e, r, i, s), e.in = t.in, e.out = t.out;
});
function ch(e, t) {
  return new C2({
    type: "pipe",
    in: e,
    out: t
  });
}
var T2 = /* @__PURE__ */ Le("ZodReadonly", (e, t) => {
  nR.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => mO(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function R2(e) {
  return new T2({
    type: "readonly",
    innerType: e
  });
}
var O2 = /* @__PURE__ */ Le("ZodCustom", (e, t) => {
  sR.init(e, t), Dt.init(e, t), e._zod.processJSONSchema = (r, i, s) => iO(e, r, i, s);
});
function I2(e, t = {}) {
  return /* @__PURE__ */ YR(O2, e, t);
}
function k2(e) {
  return /* @__PURE__ */ KR(e);
}
var Lg = o2({
  catalog: ns(ma(Fi(), Fi())),
  catalogs: ns(ma(Fi(), ma(Fi(), Fi()))).catch(void 0)
}), L2 = {
  dev: "devDependencies",
  peer: "peerDependencies",
  prod: "dependencies",
  optional: "optionalDependencies"
}, Dl = (e) => (e ? typeof e == "string" ? e.split(",") : e : Br.dep.default).map((t) => L2[t] || t);
function hh(e) {
  return e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
}
async function fh(e, t, r) {
  const i = await it.readFile(e, "utf-8");
  return Object.entries(r).filter(([s]) => t[s]).reduce((s, [h, a]) => {
    const n = t[h], l = `("${hh(h)}"\\s*:\\s*")(${hh(n)})(")`, u = new RegExp(l, "g");
    return s.replace(u, `$1${a}$3`);
  }, i);
}
function dh(e, { options: t, filePath: r }) {
  const i = e instanceof Error ? e.message : String(e), s = `Invalid YAML syntax${r ? ` in ${r}` : ""}. Unable to read catalog dependencies.
${i}`;
  throw t && Qe(t, s), new Error(s);
}
function F2(e, t, { newName: r, newValue: i }) {
  const s = t.slice(0, -1), h = t.at(-1), a = e.getIn(s);
  if (!a || !(0, Kt.isCollection)(a)) return !1;
  const n = a.items.find((l) => (0, Kt.isPair)(l) && (0, Kt.isScalar)(l.key) && l.key.value === h);
  if (!n || !(0, Kt.isPair)(n)) return !1;
  if (r && Kt.CST.setScalarValue(n.srcToken.key, r), i) {
    if (!Kt.CST.isScalar(n.srcToken?.value)) return !1;
    Kt.CST.setScalarValue(n.srcToken.value, i);
  }
  return !0;
}
function N2({ fileContent: e, upgrade: t, options: r, filePath: i }) {
  const { path: s } = t;
  if (!(s.length > 1) && s[0] !== "catalog" && s[0] !== "catalogs") return null;
  const { newValue: h } = t;
  let a, n;
  try {
    a = (0, Kt.parseDocument)(e, { keepSourceTokens: !0 });
  } catch (l) {
    dh(l, {
      options: r,
      filePath: i
    });
  }
  a.errors.length > 0 && dh(a.errors[0], {
    options: r,
    filePath: i
  });
  try {
    n = Lg.parse(a.toJSON());
  } catch {
    return null;
  }
  return (s[0] === "catalog" ? n.catalog?.[s[1]] : n.catalogs?.[s[1]] ? n.catalogs?.[s[1]][s[2]] : void 0) === h ? e : F2(a, s, {
    newValue: h,
    newName: t.path.at(-1)
  }) ? Kt.CST.stringify(a.contents.srcToken) : null;
}
function $2(e) {
  return e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
}
async function Fg(e, t, r, i, s) {
  if (s) {
    const l = Ye.basename(s), u = Ye.extname(s);
    if (s.includes("#catalog")) {
      const f = s.replace("#catalog", "");
      if (Ye.extname(f) === ".json") return fh(f, t, r);
    }
    if (l === "pnpm-workspace.yaml" || l === ".yarnrc.yml") {
      const f = await it.readFile(s, "utf-8"), o = Lg.parse((0, Kt.parseDocument)(f).toJSON()), c = [];
      o.catalogs && Object.entries(o.catalogs).forEach(([p, m]) => {
        Object.entries(r).forEach(([g, v]) => {
          m[g] && c.push({
            path: [
              "catalogs",
              p,
              g
            ],
            newValue: v
          });
        });
      }), o.catalog && Object.entries(r).forEach(([p, m]) => {
        o.catalog?.[p] && c.push({
          path: ["catalog", p],
          newValue: m
        });
      });
      let d = f;
      return c.forEach((p) => {
        const m = N2({
          fileContent: d,
          upgrade: p,
          options: i,
          filePath: s
        });
        m && (d = m);
      }), d;
    }
    if (u === ".json") {
      const f = JSON.parse(e), o = f.catalog || f.catalogs, c = f.workspaces && !Array.isArray(f.workspaces) && (f.workspaces.catalog || f.workspaces.catalogs);
      if (o || c) return fh(s, t, r);
    }
  }
  const h = [...Dl(i.dep), "overrides"], a = new RegExp(`"(${h.join("|")})"s*:[^}]*`, "g");
  let n = e.replace(a, (l) => Object.entries(r).reduce((u, [f]) => {
    const o = `"${f}"\\s*:\\s*("|{\\s*"."\\s*:\\s*")(${$2(t[f])})"`, c = new RegExp(o, "g");
    return u.replace(c, (d, p) => `"${f}${p ? `": ${p}` : ": "}${r[f]}"`);
  }, l));
  if (h.includes("packageManager")) {
    const l = JSON.parse(e);
    if (l.packageManager) {
      const [u] = l.packageManager.split("@");
      r[u] && (n = n.replace(/"packageManager"\s*:\s*".*?@[^"]*"/, `"packageManager": "${u}@${r[u]}"`));
    }
  }
  return n;
}
var Ln = (e, t, r, { spawnOptions: i, spawnPleaseOptions: s } = {}) => {
  r && console.log(me.blue([t.packageManager, ...e].join(" ")));
  const h = {
    cwd: t.cwd || process.cwd(),
    env: {
      ...process.env,
      ...t.packageManager !== "pnpm" ? { CI: "1" } : null,
      FORCE_COLOR: "1",
      ...i?.env
    },
    ...i
  }, a = {
    ...t.global ? { global: !0 } : null,
    ...t.prefix ? { prefix: t.prefix } : null
  };
  return (t.packageManager === "pnpm" ? gp : t.packageManager === "yarn" ? pl : t.packageManager === "bun" ? Ju : Ts)(e, a, s, h);
}, x2 = async (e) => {
  (e.packageData || e.packageFile) && (console.error('--packageData and --packageFile are not allowed with --doctor. You must execute "ncu --doctor" in a directory with a package file so it can install dependencies and test them.'), process.exit(1));
  let t;
  try {
    t = await gl(e, "package.json");
  } catch {
    console.error("Missing or invalid package.json"), process.exit(1);
  }
  return !e.doctorTest && !t.pkg.scripts?.test && (console.error('No npm "test" script defined. You must define a "test" script in the "scripts" section of your package.json to use --doctor.'), process.exit(1)), t;
}, B2 = async (e, t) => {
  await xh();
  let r = t.packageManager === "yarn" ? "yarn.lock" : t.packageManager === "pnpm" ? "pnpm-lock.yaml" : t.packageManager === "bun" ? "bun.lock" : "package-lock.json";
  const { pkg: i, pkgFile: s } = await x2(t), h = {
    ...i.dependencies,
    ...i.devDependencies,
    ...i.optionalDependencies
  }, a = async () => {
    if (t.doctorInstall) {
      const [o, ...c] = t.doctorInstall.split(" ");
      console.log(me.blue(t.doctorInstall)), await (0, Pr.default)(o, c);
    } else await Ln(["install"], { packageManager: t.packageManager }, !0);
  }, n = async () => {
    const o = {
      stderr: (c) => {
        console.error(me.red(c.toString()));
      },
      stdout: (c) => {
        process.stdout.write(c.toString());
      }
    };
    if (t.doctorTest) {
      const c = t.doctorTest.matchAll(/"(.+?)"|'(.+?)'|[^ ]+/g);
      let d = [];
      for (const g of c) d = [...d, g[2] || g[1] || g[0]];
      const [p, ...m] = d;
      console.log(me.blue(t.doctorTest)), await (0, Pr.default)(p, m, o);
    } else await Ln(["run", "test"], { packageManager: t.packageManager }, !0, { spawnPleaseOptions: o });
  };
  console.log("Running tests before upgrading"), await a();
  let l = "";
  try {
    l = await it.readFile(r, "utf-8");
  } catch {
    if (t.packageManager === "bun") {
      r = "bun.lockb";
      try {
        l = await it.readFile(r, "utf-8");
      } catch {
      }
    }
  }
  try {
    await n();
  } catch {
    console.error("Tests failed before we even got started!"), process.exit(1);
  }
  t.interactive || console.log("Upgrading all dependencies and re-running tests"), console.log(me.blue("ncu " + process.argv.slice(2).filter((o) => o !== "--doctor").join(" "))), process.env.NCU_DOCTOR = "1";
  const u = await e({
    ...t,
    silent: !0,
    doctor: !1
  });
  if (Object.keys(u || {}).length === 0) {
    console.log("All dependencies are up-to-date " + me.green.bold(":)"));
    return;
  }
  let f = !1;
  try {
    await a(), f = !0, await n(), console.log(`${me.green("✓")} Tests pass`), await xu(t, {
      current: h,
      upgraded: u,
      total: Object.keys(u || {}).length
    }), console.log(`
${t.interactive ? "Chosen" : "All"} dependencies upgraded and installed ${me.green(":)")}`);
  } catch {
    console.error(me.red(f ? "Tests failed" : "Install failed")), console.log("Identifying broken dependencies"), await it.writeFile("package.json", s), l ? await it.writeFile(r, l) : await it.rm(r, {
      recursive: !0,
      force: !0
    });
    let o = s;
    if (f) try {
      await a();
    } catch (p) {
      const m = (t.packageManager || "npm") + " install";
      throw new Error(`Error: Doctor mode was about to test individual upgrades, but ${me.cyan(m)} failed after rolling back to your existing package and lock files. This is unexpected since the initial install before any upgrades succeeded. Either npm failed to revert a partial install, or failed anomalously on the second run. Please check your internet connection and retry. If doctor mode fails consistently, report a bug with your complete list of dependency versions at https://github.com/raineorshine/npm-check-updates/issues.`, { cause: p });
    }
    let c, d;
    for ([c, d] of Object.entries(u)) try {
      if (await Ln([...t.packageManager === "yarn" || t.packageManager === "pnpm" || t.packageManager === "bun" ? ["add"] : ["install", "--no-save"], `${c}@${d}`], { packageManager: t.packageManager }, !0), i.scripts?.prepare) try {
        await Ln(["run", "prepare"], { packageManager: t.packageManager }, !0);
      } catch (p) {
        throw console.error(me.red("Prepare script failed")), p;
      }
      await n(), console.log(`  ${me.green("✓")} ${c} ${h[c]} → ${d}`), o = await Fg(o, { [c]: h[c] }, { [c]: d }, t), l = await it.readFile(r, "utf-8");
    } catch (p) {
      console.error(`  ${me.red("✗")} ${c} ${h[c]} → ${d}
`), console.error(me.red(p)), await it.writeFile(r, l), (t.packageManager === "yarn" || t.packageManager === "pnpm" || t.packageManager === "bun") && await it.writeFile("package.json", o);
    }
    o !== s && (console.log("Saving partially upgraded package.json"), await it.writeFile("package.json", o)), await a();
  }
};
async function ss(e) {
  let t, r = null;
  const i = e.packageFile || "package.json";
  function s(h, a) {
    if (h != null) {
      const n = Ye.resolve(h);
      Me(e, `${e.upgrade ? "Upgrading" : "Checking"} ${n}`);
    } else Qe(e, `${me.red(`No ${a}`)}

Please add a ${a} to the current directory, specify the ${me.cyan("--packageFile")} or ${me.cyan("--packageData")} options, or pipe a ${a} to stdin and specify ${me.cyan("--stdin")}.`, { color: !1 });
    return it.readFile(h, "utf-8").catch((n) => {
      Qe(e, n);
    });
  }
  if (Me(e, "Running in local mode", "verbose"), Me(e, "Finding package file data", "verbose"), e.packageData)
    r = null, t = Promise.resolve(e.packageData);
  else if (e.packageFile)
    r = e.packageFile, t = s(r, i);
  else if (e.stdin) {
    Me(e, "Waiting for package data on stdin", "verbose");
    const h = await wm(process.stdin), a = h.trim().length > 0 ? h : null;
    r = a || !i ? null : await Yn(i), t = a || s(await r, i);
  } else
    r = i ? await Yn(!e.packageFile && e.packageManager === "deno" ? ["deno.json", "deno.jsonc"] : i, { cwd: e.cwd || process.cwd() }) : null, t = s(r, i);
  return {
    pkgData: await t,
    pkgFile: r || null,
    pkgPath: i
  };
}
var P2 = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.splitWhen = e.flatten = void 0;
  function t(i) {
    return i.reduce((s, h) => [].concat(s, h), []);
  }
  e.flatten = t;
  function r(i, s) {
    const h = [[]];
    let a = 0;
    for (const n of i) s(n) ? (a++, h[a] = []) : h[a].push(n);
    return h;
  }
  e.splitWhen = r;
})), M2 = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isEnoentCodeError = void 0;
  function t(r) {
    return r.code === "ENOENT";
  }
  e.isEnoentCodeError = t;
})), j2 = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.createDirentFromStats = void 0;
  var t = class {
    constructor(i, s) {
      this.name = i, this.isBlockDevice = s.isBlockDevice.bind(s), this.isCharacterDevice = s.isCharacterDevice.bind(s), this.isDirectory = s.isDirectory.bind(s), this.isFIFO = s.isFIFO.bind(s), this.isFile = s.isFile.bind(s), this.isSocket = s.isSocket.bind(s), this.isSymbolicLink = s.isSymbolicLink.bind(s);
    }
  };
  function r(i, s) {
    return new t(i, s);
  }
  e.createDirentFromStats = r;
})), U2 = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.convertPosixPathToPattern = e.convertWindowsPathToPattern = e.convertPathToPattern = e.escapePosixPath = e.escapeWindowsPath = e.escape = e.removeLeadingDotSegment = e.makeAbsolute = e.unixify = void 0;
  var t = ve("os"), r = ve("path"), i = t.platform() === "win32", s = 2, h = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g, a = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g, n = /^\\\\([.?])/, l = /\\(?![!()+@[\]{}])/g;
  function u(g) {
    return g.replace(/\\/g, "/");
  }
  e.unixify = u;
  function f(g, v) {
    return r.resolve(g, v);
  }
  e.makeAbsolute = f;
  function o(g) {
    if (g.charAt(0) === ".") {
      const v = g.charAt(1);
      if (v === "/" || v === "\\") return g.slice(s);
    }
    return g;
  }
  e.removeLeadingDotSegment = o, e.escape = i ? c : d;
  function c(g) {
    return g.replace(a, "\\$2");
  }
  e.escapeWindowsPath = c;
  function d(g) {
    return g.replace(h, "\\$2");
  }
  e.escapePosixPath = d, e.convertPathToPattern = i ? p : m;
  function p(g) {
    return c(g).replace(n, "//$1").replace(l, "/");
  }
  e.convertWindowsPathToPattern = p;
  function m(g) {
    return d(g);
  }
  e.convertPosixPathToPattern = m;
})), H2 = /* @__PURE__ */ j(((e, t) => {
  t.exports = function(i) {
    if (typeof i != "string" || i === "") return !1;
    for (var s; s = /(\\).|([@?!+*]\(.*\))/g.exec(i); ) {
      if (s[2]) return !0;
      i = i.slice(s.index + s[0].length);
    }
    return !1;
  };
})), q2 = /* @__PURE__ */ j(((e, t) => {
  var r = H2(), i = {
    "{": "}",
    "(": ")",
    "[": "]"
  }, s = function(a) {
    if (a[0] === "!") return !0;
    for (var n = 0, l = -2, u = -2, f = -2, o = -2, c = -2; n < a.length; ) {
      if (a[n] === "*" || a[n + 1] === "?" && /[\].+)]/.test(a[n]) || u !== -1 && a[n] === "[" && a[n + 1] !== "]" && (u < n && (u = a.indexOf("]", n)), u > n && (c === -1 || c > u || (c = a.indexOf("\\", n), c === -1 || c > u))) || f !== -1 && a[n] === "{" && a[n + 1] !== "}" && (f = a.indexOf("}", n), f > n && (c = a.indexOf("\\", n), c === -1 || c > f)) || o !== -1 && a[n] === "(" && a[n + 1] === "?" && /[:!=]/.test(a[n + 2]) && a[n + 3] !== ")" && (o = a.indexOf(")", n), o > n && (c = a.indexOf("\\", n), c === -1 || c > o)) || l !== -1 && a[n] === "(" && a[n + 1] !== "|" && (l < n && (l = a.indexOf("|", n)), l !== -1 && a[l + 1] !== ")" && (o = a.indexOf(")", l), o > l && (c = a.indexOf("\\", l), c === -1 || c > o))))
        return !0;
      if (a[n] === "\\") {
        var d = a[n + 1];
        n += 2;
        var p = i[d];
        if (p) {
          var m = a.indexOf(p, n);
          m !== -1 && (n = m + 1);
        }
        if (a[n] === "!") return !0;
      } else n++;
    }
    return !1;
  }, h = function(a) {
    if (a[0] === "!") return !0;
    for (var n = 0; n < a.length; ) {
      if (/[*?{}()[\]]/.test(a[n])) return !0;
      if (a[n] === "\\") {
        var l = a[n + 1];
        n += 2;
        var u = i[l];
        if (u) {
          var f = a.indexOf(u, n);
          f !== -1 && (n = f + 1);
        }
        if (a[n] === "!") return !0;
      } else n++;
    }
    return !1;
  };
  t.exports = function(n, l) {
    if (typeof n != "string" || n === "") return !1;
    if (r(n)) return !0;
    var u = s;
    return l && l.strict === !1 && (u = h), u(n);
  };
})), z2 = /* @__PURE__ */ j(((e, t) => {
  var r = q2(), i = ve("path").posix.dirname, s = ve("os").platform() === "win32", h = "/", a = /\\/g, n = /[\{\[].*[\}\]]$/, l = /(^|[^\\])([\{\[]|\([^\)]+$)/, u = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
  t.exports = function(o, c) {
    Object.assign({ flipBackslashes: !0 }, c).flipBackslashes && s && o.indexOf(h) < 0 && (o = o.replace(a, h)), n.test(o) && (o += h), o += "a";
    do
      o = i(o);
    while (r(o) || l.test(o));
    return o.replace(u, "$1");
  };
})), Al = /* @__PURE__ */ j(((e) => {
  e.isInteger = (t) => typeof t == "number" ? Number.isInteger(t) : typeof t == "string" && t.trim() !== "" ? Number.isInteger(Number(t)) : !1, e.find = (t, r) => t.nodes.find((i) => i.type === r), e.exceedsLimit = (t, r, i = 1, s) => s === !1 || !e.isInteger(t) || !e.isInteger(r) ? !1 : (Number(r) - Number(t)) / Number(i) >= s, e.escapeNode = (t, r = 0, i) => {
    const s = t.nodes[r];
    s && (i && s.type === i || s.type === "open" || s.type === "close") && s.escaped !== !0 && (s.value = "\\" + s.value, s.escaped = !0);
  }, e.encloseBrace = (t) => t.type !== "brace" ? !1 : t.commas >> 0 + t.ranges >> 0 === 0 ? (t.invalid = !0, !0) : !1, e.isInvalidBrace = (t) => t.type !== "brace" ? !1 : t.invalid === !0 || t.dollar ? !0 : t.commas >> 0 + t.ranges >> 0 === 0 || t.open !== !0 || t.close !== !0 ? (t.invalid = !0, !0) : !1, e.isOpenOrClose = (t) => t.type === "open" || t.type === "close" ? !0 : t.open === !0 || t.close === !0, e.reduce = (t) => t.reduce((r, i) => (i.type === "text" && r.push(i.value), i.type === "range" && (i.type = "text"), r), []), e.flatten = (...t) => {
    const r = [], i = (s) => {
      for (let h = 0; h < s.length; h++) {
        const a = s[h];
        if (Array.isArray(a)) {
          i(a);
          continue;
        }
        a !== void 0 && r.push(a);
      }
      return r;
    };
    return i(t), r;
  };
})), Sl = /* @__PURE__ */ j(((e, t) => {
  var r = Al();
  t.exports = (i, s = {}) => {
    const h = (a, n = {}) => {
      const l = s.escapeInvalid && r.isInvalidBrace(n), u = a.invalid === !0 && s.escapeInvalid === !0;
      let f = "";
      if (a.value)
        return (l || u) && r.isOpenOrClose(a) ? "\\" + a.value : a.value;
      if (a.value) return a.value;
      if (a.nodes) for (const o of a.nodes) f += h(o);
      return f;
    };
    return h(i);
  };
})), G2 = /* @__PURE__ */ j(((e, t) => {
  t.exports = function(r) {
    return typeof r == "number" ? r - r === 0 : typeof r == "string" && r.trim() !== "" ? Number.isFinite ? Number.isFinite(+r) : isFinite(+r) : !1;
  };
})), W2 = /* @__PURE__ */ j(((e, t) => {
  var r = G2(), i = (y, w, _) => {
    if (r(y) === !1) throw new TypeError("toRegexRange: expected the first argument to be a number");
    if (w === void 0 || y === w) return String(y);
    if (r(w) === !1) throw new TypeError("toRegexRange: expected the second argument to be a number.");
    let b = {
      relaxZeros: !0,
      ..._
    };
    typeof b.strictZeros == "boolean" && (b.relaxZeros = b.strictZeros === !1);
    let E = String(b.relaxZeros), D = String(b.shorthand), S = String(b.capture), C = String(b.wrap), T = y + ":" + w + "=" + E + D + S + C;
    if (i.cache.hasOwnProperty(T)) return i.cache[T].result;
    let U = Math.min(y, w), $ = Math.max(y, w);
    if (Math.abs(U - $) === 1) {
      let F = y + "|" + w;
      return b.capture ? `(${F})` : b.wrap === !1 ? F : `(?:${F})`;
    }
    let z = g(y) || g(w), Y = {
      min: y,
      max: w,
      a: U,
      b: $
    }, H = [], k = [];
    return z && (Y.isPadded = z, Y.maxLen = String(Y.max).length), U < 0 && (k = n($ < 0 ? Math.abs($) : 1, Math.abs(U), Y, b), U = Y.a = 0), $ >= 0 && (H = n(U, $, Y, b)), Y.negatives = k, Y.positives = H, Y.result = s(k, H, b), b.capture === !0 ? Y.result = `(${Y.result})` : b.wrap !== !1 && H.length + k.length > 1 && (Y.result = `(?:${Y.result})`), i.cache[T] = Y, Y.result;
  };
  function s(y, w, _) {
    let b = l(y, w, "-", !1, _) || [], E = l(w, y, "", !1, _) || [], D = l(y, w, "-?", !0, _) || [];
    return b.concat(D).concat(E).join("|");
  }
  function h(y, w) {
    let _ = 1, b = 1, E = c(y, _), D = /* @__PURE__ */ new Set([w]);
    for (; y <= E && E <= w; )
      D.add(E), _ += 1, E = c(y, _);
    for (E = d(w + 1, b) - 1; y < E && E <= w; )
      D.add(E), b += 1, E = d(w + 1, b) - 1;
    return D = [...D], D.sort(f), D;
  }
  function a(y, w, _) {
    if (y === w) return {
      pattern: y,
      count: [],
      digits: 0
    };
    let b = u(y, w), E = b.length, D = "", S = 0;
    for (let C = 0; C < E; C++) {
      let [T, U] = b[C];
      T === U ? D += T : T !== "0" || U !== "9" ? D += m(T, U, _) : S++;
    }
    return S && (D += _.shorthand === !0 ? "\\d" : "[0-9]"), {
      pattern: D,
      count: [S],
      digits: E
    };
  }
  function n(y, w, _, b) {
    let E = h(y, w), D = [], S = y, C;
    for (let T = 0; T < E.length; T++) {
      let U = E[T], $ = a(String(S), String(U), b), z = "";
      if (!_.isPadded && C && C.pattern === $.pattern) {
        C.count.length > 1 && C.count.pop(), C.count.push($.count[0]), C.string = C.pattern + p(C.count), S = U + 1;
        continue;
      }
      _.isPadded && (z = v(U, _, b)), $.string = z + $.pattern + p($.count), D.push($), S = U + 1, C = $;
    }
    return D;
  }
  function l(y, w, _, b, E) {
    let D = [];
    for (let S of y) {
      let { string: C } = S;
      !b && !o(w, "string", C) && D.push(_ + C), b && o(w, "string", C) && D.push(_ + C);
    }
    return D;
  }
  function u(y, w) {
    let _ = [];
    for (let b = 0; b < y.length; b++) _.push([y[b], w[b]]);
    return _;
  }
  function f(y, w) {
    return y > w ? 1 : w > y ? -1 : 0;
  }
  function o(y, w, _) {
    return y.some((b) => b[w] === _);
  }
  function c(y, w) {
    return Number(String(y).slice(0, -w) + "9".repeat(w));
  }
  function d(y, w) {
    return y - y % Math.pow(10, w);
  }
  function p(y) {
    let [w = 0, _ = ""] = y;
    return _ || w > 1 ? `{${w + (_ ? "," + _ : "")}}` : "";
  }
  function m(y, w, _) {
    return `[${y}${w - y === 1 ? "" : "-"}${w}]`;
  }
  function g(y) {
    return /^-?(0+)\d/.test(y);
  }
  function v(y, w, _) {
    if (!w.isPadded) return y;
    let b = Math.abs(w.maxLen - String(y).length), E = _.relaxZeros !== !1;
    switch (b) {
      case 0:
        return "";
      case 1:
        return E ? "0?" : "0";
      case 2:
        return E ? "0{0,2}" : "00";
      default:
        return E ? `0{0,${b}}` : `0{${b}}`;
    }
  }
  i.cache = {}, i.clearCache = () => i.cache = {}, t.exports = i;
})), Ng = /* @__PURE__ */ j(((e, t) => {
  var r = ve("util"), i = W2(), s = (b) => b !== null && typeof b == "object" && !Array.isArray(b), h = (b) => (E) => b === !0 ? Number(E) : String(E), a = (b) => typeof b == "number" || typeof b == "string" && b !== "", n = (b) => Number.isInteger(+b), l = (b) => {
    let E = `${b}`, D = -1;
    if (E[0] === "-" && (E = E.slice(1)), E === "0") return !1;
    for (; E[++D] === "0"; ) ;
    return D > 0;
  }, u = (b, E, D) => typeof b == "string" || typeof E == "string" ? !0 : D.stringify === !0, f = (b, E, D) => {
    if (E > 0) {
      let S = b[0] === "-" ? "-" : "";
      S && (b = b.slice(1)), b = S + b.padStart(S ? E - 1 : E, "0");
    }
    return D === !1 ? String(b) : b;
  }, o = (b, E) => {
    let D = b[0] === "-" ? "-" : "";
    for (D && (b = b.slice(1), E--); b.length < E; ) b = "0" + b;
    return D ? "-" + b : b;
  }, c = (b, E, D) => {
    b.negatives.sort(($, z) => $ < z ? -1 : $ > z ? 1 : 0), b.positives.sort(($, z) => $ < z ? -1 : $ > z ? 1 : 0);
    let S = E.capture ? "" : "?:", C = "", T = "", U;
    return b.positives.length && (C = b.positives.map(($) => o(String($), D)).join("|")), b.negatives.length && (T = `-(${S}${b.negatives.map(($) => o(String($), D)).join("|")})`), C && T ? U = `${C}|${T}` : U = C || T, E.wrap ? `(${S}${U})` : U;
  }, d = (b, E, D, S) => {
    if (D) return i(b, E, {
      wrap: !1,
      ...S
    });
    let C = String.fromCharCode(b);
    return b === E ? C : `[${C}-${String.fromCharCode(E)}]`;
  }, p = (b, E, D) => {
    if (Array.isArray(b)) {
      let S = D.wrap === !0, C = D.capture ? "" : "?:";
      return S ? `(${C}${b.join("|")})` : b.join("|");
    }
    return i(b, E, D);
  }, m = (...b) => /* @__PURE__ */ new RangeError("Invalid range arguments: " + r.inspect(...b)), g = (b, E, D) => {
    if (D.strictRanges === !0) throw m([b, E]);
    return [];
  }, v = (b, E) => {
    if (E.strictRanges === !0) throw new TypeError(`Expected step "${b}" to be a number`);
    return [];
  }, y = (b, E, D = 1, S = {}) => {
    let C = Number(b), T = Number(E);
    if (!Number.isInteger(C) || !Number.isInteger(T)) {
      if (S.strictRanges === !0) throw m([b, E]);
      return [];
    }
    C === 0 && (C = 0), T === 0 && (T = 0);
    let U = C > T, $ = String(b), z = String(E), Y = String(D);
    D = Math.max(Math.abs(D), 1);
    let H = l($) || l(z) || l(Y), k = H ? Math.max($.length, z.length, Y.length) : 0, F = H === !1 && u(b, E, S) === !1, q = S.transform || h(F);
    if (S.toRegex && D === 1) return d(o(b, k), o(E, k), !0, S);
    let W = {
      negatives: [],
      positives: []
    }, P = (O) => W[O < 0 ? "negatives" : "positives"].push(Math.abs(O)), x = [], L = 0;
    for (; U ? C >= T : C <= T; )
      S.toRegex === !0 && D > 1 ? P(C) : x.push(f(q(C, L), k, F)), C = U ? C - D : C + D, L++;
    return S.toRegex === !0 ? D > 1 ? c(W, S, k) : p(x, null, {
      wrap: !1,
      ...S
    }) : x;
  }, w = (b, E, D = 1, S = {}) => {
    if (!n(b) && b.length > 1 || !n(E) && E.length > 1) return g(b, E, S);
    let C = S.transform || ((F) => String.fromCharCode(F)), T = `${b}`.charCodeAt(0), U = `${E}`.charCodeAt(0), $ = T > U, z = Math.min(T, U), Y = Math.max(T, U);
    if (S.toRegex && D === 1) return d(z, Y, !1, S);
    let H = [], k = 0;
    for (; $ ? T >= U : T <= U; )
      H.push(C(T, k)), T = $ ? T - D : T + D, k++;
    return S.toRegex === !0 ? p(H, null, {
      wrap: !1,
      options: S
    }) : H;
  }, _ = (b, E, D, S = {}) => {
    if (E == null && a(b)) return [b];
    if (!a(b) || !a(E)) return g(b, E, S);
    if (typeof D == "function") return _(b, E, 1, { transform: D });
    if (s(D)) return _(b, E, 0, D);
    let C = { ...S };
    return C.capture === !0 && (C.wrap = !0), D = D || C.step || 1, n(D) ? n(b) && n(E) ? y(b, E, D, C) : w(b, E, Math.max(Math.abs(D), 1), C) : D != null && !s(D) ? v(D, C) : _(b, E, 1, D);
  };
  t.exports = _;
})), V2 = /* @__PURE__ */ j(((e, t) => {
  var r = Ng(), i = Al(), s = (h, a = {}) => {
    const n = (l, u = {}) => {
      const f = i.isInvalidBrace(u), o = l.invalid === !0 && a.escapeInvalid === !0, c = f === !0 || o === !0, d = a.escapeInvalid === !0 ? "\\" : "";
      let p = "";
      if (l.isOpen === !0) return d + l.value;
      if (l.isClose === !0)
        return console.log("node.isClose", d, l.value), d + l.value;
      if (l.type === "open") return c ? d + l.value : "(";
      if (l.type === "close") return c ? d + l.value : ")";
      if (l.type === "comma") return l.prev.type === "comma" ? "" : c ? l.value : "|";
      if (l.value) return l.value;
      if (l.nodes && l.ranges > 0) {
        const m = i.reduce(l.nodes), g = r(...m, {
          ...a,
          wrap: !1,
          toRegex: !0,
          strictZeros: !0
        });
        if (g.length !== 0) return m.length > 1 && g.length > 1 ? `(${g})` : g;
      }
      if (l.nodes) for (const m of l.nodes) p += n(m, l);
      return p;
    };
    return n(h);
  };
  t.exports = s;
})), Y2 = /* @__PURE__ */ j(((e, t) => {
  var r = Ng(), i = Sl(), s = Al(), h = (n = "", l = "", u = !1) => {
    const f = [];
    if (n = [].concat(n), l = [].concat(l), !l.length) return n;
    if (!n.length) return u ? s.flatten(l).map((o) => `{${o}}`) : l;
    for (const o of n) if (Array.isArray(o)) for (const c of o) f.push(h(c, l, u));
    else for (let c of l)
      u === !0 && typeof c == "string" && (c = `{${c}}`), f.push(Array.isArray(c) ? h(o, c, u) : o + c);
    return s.flatten(f);
  }, a = (n, l = {}) => {
    const u = l.rangeLimit === void 0 ? 1e3 : l.rangeLimit, f = (o, c = {}) => {
      o.queue = [];
      let d = c, p = c.queue;
      for (; d.type !== "brace" && d.type !== "root" && d.parent; )
        d = d.parent, p = d.queue;
      if (o.invalid || o.dollar) {
        p.push(h(p.pop(), i(o, l)));
        return;
      }
      if (o.type === "brace" && o.invalid !== !0 && o.nodes.length === 2) {
        p.push(h(p.pop(), ["{}"]));
        return;
      }
      if (o.nodes && o.ranges > 0) {
        const y = s.reduce(o.nodes);
        if (s.exceedsLimit(...y, l.step, u)) throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
        let w = r(...y, l);
        w.length === 0 && (w = i(o, l)), p.push(h(p.pop(), w)), o.nodes = [];
        return;
      }
      const m = s.encloseBrace(o);
      let g = o.queue, v = o;
      for (; v.type !== "brace" && v.type !== "root" && v.parent; )
        v = v.parent, g = v.queue;
      for (let y = 0; y < o.nodes.length; y++) {
        const w = o.nodes[y];
        if (w.type === "comma" && o.type === "brace") {
          y === 1 && g.push(""), g.push("");
          continue;
        }
        if (w.type === "close") {
          p.push(h(p.pop(), g, m));
          continue;
        }
        if (w.value && w.type !== "open") {
          g.push(h(g.pop(), w.value));
          continue;
        }
        w.nodes && f(w, o);
      }
      return g;
    };
    return s.flatten(f(n));
  };
  t.exports = a;
})), K2 = /* @__PURE__ */ j(((e, t) => {
  t.exports = {
    MAX_LENGTH: 1e4,
    CHAR_0: "0",
    CHAR_9: "9",
    CHAR_UPPERCASE_A: "A",
    CHAR_LOWERCASE_A: "a",
    CHAR_UPPERCASE_Z: "Z",
    CHAR_LOWERCASE_Z: "z",
    CHAR_LEFT_PARENTHESES: "(",
    CHAR_RIGHT_PARENTHESES: ")",
    CHAR_ASTERISK: "*",
    CHAR_AMPERSAND: "&",
    CHAR_AT: "@",
    CHAR_BACKSLASH: "\\",
    CHAR_BACKTICK: "`",
    CHAR_CARRIAGE_RETURN: "\r",
    CHAR_CIRCUMFLEX_ACCENT: "^",
    CHAR_COLON: ":",
    CHAR_COMMA: ",",
    CHAR_DOLLAR: "$",
    CHAR_DOT: ".",
    CHAR_DOUBLE_QUOTE: '"',
    CHAR_EQUAL: "=",
    CHAR_EXCLAMATION_MARK: "!",
    CHAR_FORM_FEED: "\f",
    CHAR_FORWARD_SLASH: "/",
    CHAR_HASH: "#",
    CHAR_HYPHEN_MINUS: "-",
    CHAR_LEFT_ANGLE_BRACKET: "<",
    CHAR_LEFT_CURLY_BRACE: "{",
    CHAR_LEFT_SQUARE_BRACKET: "[",
    CHAR_LINE_FEED: `
`,
    CHAR_NO_BREAK_SPACE: " ",
    CHAR_PERCENT: "%",
    CHAR_PLUS: "+",
    CHAR_QUESTION_MARK: "?",
    CHAR_RIGHT_ANGLE_BRACKET: ">",
    CHAR_RIGHT_CURLY_BRACE: "}",
    CHAR_RIGHT_SQUARE_BRACKET: "]",
    CHAR_SEMICOLON: ";",
    CHAR_SINGLE_QUOTE: "'",
    CHAR_SPACE: " ",
    CHAR_TAB: "	",
    CHAR_UNDERSCORE: "_",
    CHAR_VERTICAL_LINE: "|",
    CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\uFEFF"
  };
})), Z2 = /* @__PURE__ */ j(((e, t) => {
  var r = Sl(), { MAX_LENGTH: i, CHAR_BACKSLASH: s, CHAR_BACKTICK: h, CHAR_COMMA: a, CHAR_DOT: n, CHAR_LEFT_PARENTHESES: l, CHAR_RIGHT_PARENTHESES: u, CHAR_LEFT_CURLY_BRACE: f, CHAR_RIGHT_CURLY_BRACE: o, CHAR_LEFT_SQUARE_BRACKET: c, CHAR_RIGHT_SQUARE_BRACKET: d, CHAR_DOUBLE_QUOTE: p, CHAR_SINGLE_QUOTE: m, CHAR_NO_BREAK_SPACE: g, CHAR_ZERO_WIDTH_NOBREAK_SPACE: v } = K2(), y = (w, _ = {}) => {
    if (typeof w != "string") throw new TypeError("Expected a string");
    const b = _ || {}, E = typeof b.maxLength == "number" ? Math.min(i, b.maxLength) : i;
    if (w.length > E) throw new SyntaxError(`Input length (${w.length}), exceeds max characters (${E})`);
    const D = {
      type: "root",
      input: w,
      nodes: []
    }, S = [D];
    let C = D, T = D, U = 0;
    const $ = w.length;
    let z = 0, Y = 0, H;
    const k = () => w[z++], F = (q) => {
      if (q.type === "text" && T.type === "dot" && (T.type = "text"), T && T.type === "text" && q.type === "text") {
        T.value += q.value;
        return;
      }
      return C.nodes.push(q), q.parent = C, q.prev = T, T = q, q;
    };
    for (F({ type: "bos" }); z < $; )
      if (C = S[S.length - 1], H = k(), !(H === v || H === g)) {
        if (H === s) {
          F({
            type: "text",
            value: (_.keepEscaping ? H : "") + k()
          });
          continue;
        }
        if (H === d) {
          F({
            type: "text",
            value: "\\" + H
          });
          continue;
        }
        if (H === c) {
          U++;
          let q;
          for (; z < $ && (q = k()); ) {
            if (H += q, q === c) {
              U++;
              continue;
            }
            if (q === s) {
              H += k();
              continue;
            }
            if (q === d && (U--, U === 0))
              break;
          }
          F({
            type: "text",
            value: H
          });
          continue;
        }
        if (H === l) {
          C = F({
            type: "paren",
            nodes: []
          }), S.push(C), F({
            type: "text",
            value: H
          });
          continue;
        }
        if (H === u) {
          if (C.type !== "paren") {
            F({
              type: "text",
              value: H
            });
            continue;
          }
          C = S.pop(), F({
            type: "text",
            value: H
          }), C = S[S.length - 1];
          continue;
        }
        if (H === p || H === m || H === h) {
          const q = H;
          let W;
          for (_.keepQuotes !== !0 && (H = ""); z < $ && (W = k()); ) {
            if (W === s) {
              H += W + k();
              continue;
            }
            if (W === q) {
              _.keepQuotes === !0 && (H += W);
              break;
            }
            H += W;
          }
          F({
            type: "text",
            value: H
          });
          continue;
        }
        if (H === f) {
          Y++, C = F({
            type: "brace",
            open: !0,
            close: !1,
            dollar: T.value && T.value.slice(-1) === "$" || C.dollar === !0,
            depth: Y,
            commas: 0,
            ranges: 0,
            nodes: []
          }), S.push(C), F({
            type: "open",
            value: H
          });
          continue;
        }
        if (H === o) {
          if (C.type !== "brace") {
            F({
              type: "text",
              value: H
            });
            continue;
          }
          const q = "close";
          C = S.pop(), C.close = !0, F({
            type: q,
            value: H
          }), Y--, C = S[S.length - 1];
          continue;
        }
        if (H === a && Y > 0) {
          if (C.ranges > 0) {
            C.ranges = 0;
            const q = C.nodes.shift();
            C.nodes = [q, {
              type: "text",
              value: r(C)
            }];
          }
          F({
            type: "comma",
            value: H
          }), C.commas++;
          continue;
        }
        if (H === n && Y > 0 && C.commas === 0) {
          const q = C.nodes;
          if (Y === 0 || q.length === 0) {
            F({
              type: "text",
              value: H
            });
            continue;
          }
          if (T.type === "dot") {
            if (C.range = [], T.value += H, T.type = "range", C.nodes.length !== 3 && C.nodes.length !== 5) {
              C.invalid = !0, C.ranges = 0, T.type = "text";
              continue;
            }
            C.ranges++, C.args = [];
            continue;
          }
          if (T.type === "range") {
            q.pop();
            const W = q[q.length - 1];
            W.value += T.value + H, T = W, C.ranges--;
            continue;
          }
          F({
            type: "dot",
            value: H
          });
          continue;
        }
        F({
          type: "text",
          value: H
        });
      }
    do
      if (C = S.pop(), C.type !== "root") {
        C.nodes.forEach((P) => {
          P.nodes || (P.type === "open" && (P.isOpen = !0), P.type === "close" && (P.isClose = !0), P.nodes || (P.type = "text"), P.invalid = !0);
        });
        const q = S[S.length - 1], W = q.nodes.indexOf(C);
        q.nodes.splice(W, 1, ...C.nodes);
      }
    while (S.length > 0);
    return F({ type: "eos" }), D;
  };
  t.exports = y;
})), J2 = /* @__PURE__ */ j(((e, t) => {
  var r = Sl(), i = V2(), s = Y2(), h = Z2(), a = (n, l = {}) => {
    let u = [];
    if (Array.isArray(n)) for (const f of n) {
      const o = a.create(f, l);
      Array.isArray(o) ? u.push(...o) : u.push(o);
    }
    else u = [].concat(a.create(n, l));
    return l && l.expand === !0 && l.nodupes === !0 && (u = [...new Set(u)]), u;
  };
  a.parse = (n, l = {}) => h(n, l), a.stringify = (n, l = {}) => r(typeof n == "string" ? a.parse(n, l) : n, l), a.compile = (n, l = {}) => (typeof n == "string" && (n = a.parse(n, l)), i(n, l)), a.expand = (n, l = {}) => {
    typeof n == "string" && (n = a.parse(n, l));
    let u = s(n, l);
    return l.noempty === !0 && (u = u.filter(Boolean)), l.nodupes === !0 && (u = [...new Set(u)]), u;
  }, a.create = (n, l = {}) => n === "" || n.length < 3 ? [n] : l.expand !== !0 ? a.compile(n, l) : a.expand(n, l), t.exports = a;
})), Ks = /* @__PURE__ */ j(((e, t) => {
  var r = ve("path"), i = "\\\\/", s = `[^${i}]`, h = 0, a = "\\.", n = "\\+", l = "\\?", u = "\\/", f = "(?=.)", o = "[^/]", c = `(?:${u}|$)`, d = `(?:^|${u})`, p = `${a}{1,2}${c}`, m = {
    DOT_LITERAL: a,
    PLUS_LITERAL: n,
    QMARK_LITERAL: l,
    SLASH_LITERAL: u,
    ONE_CHAR: f,
    QMARK: o,
    END_ANCHOR: c,
    DOTS_SLASH: p,
    NO_DOT: `(?!${a})`,
    NO_DOTS: `(?!${d}${p})`,
    NO_DOT_SLASH: `(?!${a}{0,1}${c})`,
    NO_DOTS_SLASH: `(?!${p})`,
    QMARK_NO_DOT: `[^.${u}]`,
    STAR: `${o}*?`,
    START_ANCHOR: d
  }, g = {
    ...m,
    SLASH_LITERAL: `[${i}]`,
    QMARK: s,
    STAR: `${s}*?`,
    DOTS_SLASH: `${a}{1,2}(?:[${i}]|$)`,
    NO_DOT: `(?!${a})`,
    NO_DOTS: `(?!(?:^|[${i}])${a}{1,2}(?:[${i}]|$))`,
    NO_DOT_SLASH: `(?!${a}{0,1}(?:[${i}]|$))`,
    NO_DOTS_SLASH: `(?!${a}{1,2}(?:[${i}]|$))`,
    QMARK_NO_DOT: `[^.${i}]`,
    START_ANCHOR: `(?:^|[${i}])`,
    END_ANCHOR: `(?:[${i}]|$)`
  }, v = {
    __proto__: null,
    alnum: "a-zA-Z0-9",
    alpha: "a-zA-Z",
    ascii: "\\x00-\\x7F",
    blank: " \\t",
    cntrl: "\\x00-\\x1F\\x7F",
    digit: "0-9",
    graph: "\\x21-\\x7E",
    lower: "a-z",
    print: "\\x20-\\x7E ",
    punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
    space: " \\t\\r\\n\\v\\f",
    upper: "A-Z",
    word: "A-Za-z0-9_",
    xdigit: "A-Fa-f0-9"
  };
  t.exports = {
    DEFAULT_MAX_EXTGLOB_RECURSION: h,
    MAX_LENGTH: 1024 * 64,
    POSIX_REGEX_SOURCE: v,
    REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
    REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
    REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
    REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
    REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
    REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
    REPLACEMENTS: {
      __proto__: null,
      "***": "*",
      "**/**": "**",
      "**/**/**": "**"
    },
    CHAR_0: 48,
    CHAR_9: 57,
    CHAR_UPPERCASE_A: 65,
    CHAR_LOWERCASE_A: 97,
    CHAR_UPPERCASE_Z: 90,
    CHAR_LOWERCASE_Z: 122,
    CHAR_LEFT_PARENTHESES: 40,
    CHAR_RIGHT_PARENTHESES: 41,
    CHAR_ASTERISK: 42,
    CHAR_AMPERSAND: 38,
    CHAR_AT: 64,
    CHAR_BACKWARD_SLASH: 92,
    CHAR_CARRIAGE_RETURN: 13,
    CHAR_CIRCUMFLEX_ACCENT: 94,
    CHAR_COLON: 58,
    CHAR_COMMA: 44,
    CHAR_DOT: 46,
    CHAR_DOUBLE_QUOTE: 34,
    CHAR_EQUAL: 61,
    CHAR_EXCLAMATION_MARK: 33,
    CHAR_FORM_FEED: 12,
    CHAR_FORWARD_SLASH: 47,
    CHAR_GRAVE_ACCENT: 96,
    CHAR_HASH: 35,
    CHAR_HYPHEN_MINUS: 45,
    CHAR_LEFT_ANGLE_BRACKET: 60,
    CHAR_LEFT_CURLY_BRACE: 123,
    CHAR_LEFT_SQUARE_BRACKET: 91,
    CHAR_LINE_FEED: 10,
    CHAR_NO_BREAK_SPACE: 160,
    CHAR_PERCENT: 37,
    CHAR_PLUS: 43,
    CHAR_QUESTION_MARK: 63,
    CHAR_RIGHT_ANGLE_BRACKET: 62,
    CHAR_RIGHT_CURLY_BRACE: 125,
    CHAR_RIGHT_SQUARE_BRACKET: 93,
    CHAR_SEMICOLON: 59,
    CHAR_SINGLE_QUOTE: 39,
    CHAR_SPACE: 32,
    CHAR_TAB: 9,
    CHAR_UNDERSCORE: 95,
    CHAR_VERTICAL_LINE: 124,
    CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
    SEP: r.sep,
    extglobChars(y) {
      return {
        "!": {
          type: "negate",
          open: "(?:(?!(?:",
          close: `))${y.STAR})`
        },
        "?": {
          type: "qmark",
          open: "(?:",
          close: ")?"
        },
        "+": {
          type: "plus",
          open: "(?:",
          close: ")+"
        },
        "*": {
          type: "star",
          open: "(?:",
          close: ")*"
        },
        "@": {
          type: "at",
          open: "(?:",
          close: ")"
        }
      };
    },
    globChars(y) {
      return y === !0 ? g : m;
    }
  };
})), Zs = /* @__PURE__ */ j(((e) => {
  var t = ve("path"), r = process.platform === "win32", { REGEX_BACKSLASH: i, REGEX_REMOVE_BACKSLASH: s, REGEX_SPECIAL_CHARS: h, REGEX_SPECIAL_CHARS_GLOBAL: a } = Ks();
  e.isObject = (n) => n !== null && typeof n == "object" && !Array.isArray(n), e.hasRegexChars = (n) => h.test(n), e.isRegexChar = (n) => n.length === 1 && e.hasRegexChars(n), e.escapeRegex = (n) => n.replace(a, "\\$1"), e.toPosixSlashes = (n) => n.replace(i, "/"), e.removeBackslashes = (n) => n.replace(s, (l) => l === "\\" ? "" : l), e.supportsLookbehinds = () => {
    const n = process.version.slice(1).split(".").map(Number);
    return n.length === 3 && n[0] >= 9 || n[0] === 8 && n[1] >= 10;
  }, e.isWindows = (n) => n && typeof n.windows == "boolean" ? n.windows : r === !0 || t.sep === "\\", e.escapeLast = (n, l, u) => {
    const f = n.lastIndexOf(l, u);
    return f === -1 ? n : n[f - 1] === "\\" ? e.escapeLast(n, l, f - 1) : `${n.slice(0, f)}\\${n.slice(f)}`;
  }, e.removePrefix = (n, l = {}) => {
    let u = n;
    return u.startsWith("./") && (u = u.slice(2), l.prefix = "./"), u;
  }, e.wrapOutput = (n, l = {}, u = {}) => {
    let f = `${u.contains ? "" : "^"}(?:${n})${u.contains ? "" : "$"}`;
    return l.negated === !0 && (f = `(?:^(?!${f}).*$)`), f;
  };
})), X2 = /* @__PURE__ */ j(((e, t) => {
  var r = Zs(), { CHAR_ASTERISK: i, CHAR_AT: s, CHAR_BACKWARD_SLASH: h, CHAR_COMMA: a, CHAR_DOT: n, CHAR_EXCLAMATION_MARK: l, CHAR_FORWARD_SLASH: u, CHAR_LEFT_CURLY_BRACE: f, CHAR_LEFT_PARENTHESES: o, CHAR_LEFT_SQUARE_BRACKET: c, CHAR_PLUS: d, CHAR_QUESTION_MARK: p, CHAR_RIGHT_CURLY_BRACE: m, CHAR_RIGHT_PARENTHESES: g, CHAR_RIGHT_SQUARE_BRACKET: v } = Ks(), y = (b) => b === u || b === h, w = (b) => {
    b.isPrefix !== !0 && (b.depth = b.isGlobstar ? 1 / 0 : 1);
  }, _ = (b, E) => {
    const D = E || {}, S = b.length - 1, C = D.parts === !0 || D.scanToEnd === !0, T = [], U = [], $ = [];
    let z = b, Y = -1, H = 0, k = 0, F = !1, q = !1, W = !1, P = !1, x = !1, L = !1, O = !1, N = !1, K = !1, oe = !1, pe = 0, _e, V, B = {
      value: "",
      depth: 0,
      isGlob: !1
    };
    const G = () => Y >= S, X = () => z.charCodeAt(Y + 1), ne = () => (_e = V, z.charCodeAt(++Y));
    for (; Y < S; ) {
      V = ne();
      let Se;
      if (V === h) {
        O = B.backslashes = !0, V = ne(), V === f && (L = !0);
        continue;
      }
      if (L === !0 || V === f) {
        for (pe++; G() !== !0 && (V = ne()); ) {
          if (V === h) {
            O = B.backslashes = !0, ne();
            continue;
          }
          if (V === f) {
            pe++;
            continue;
          }
          if (L !== !0 && V === n && (V = ne()) === n) {
            if (F = B.isBrace = !0, W = B.isGlob = !0, oe = !0, C === !0) continue;
            break;
          }
          if (L !== !0 && V === a) {
            if (F = B.isBrace = !0, W = B.isGlob = !0, oe = !0, C === !0) continue;
            break;
          }
          if (V === m && (pe--, pe === 0)) {
            L = !1, F = B.isBrace = !0, oe = !0;
            break;
          }
        }
        if (C === !0) continue;
        break;
      }
      if (V === u) {
        if (T.push(Y), U.push(B), B = {
          value: "",
          depth: 0,
          isGlob: !1
        }, oe === !0) continue;
        if (_e === n && Y === H + 1) {
          H += 2;
          continue;
        }
        k = Y + 1;
        continue;
      }
      if (D.noext !== !0 && (V === d || V === s || V === i || V === p || V === l) && X() === o) {
        if (W = B.isGlob = !0, P = B.isExtglob = !0, oe = !0, V === l && Y === H && (K = !0), C === !0) {
          for (; G() !== !0 && (V = ne()); ) {
            if (V === h) {
              O = B.backslashes = !0, V = ne();
              continue;
            }
            if (V === g) {
              W = B.isGlob = !0, oe = !0;
              break;
            }
          }
          continue;
        }
        break;
      }
      if (V === i) {
        if (_e === i && (x = B.isGlobstar = !0), W = B.isGlob = !0, oe = !0, C === !0) continue;
        break;
      }
      if (V === p) {
        if (W = B.isGlob = !0, oe = !0, C === !0) continue;
        break;
      }
      if (V === c) {
        for (; G() !== !0 && (Se = ne()); ) {
          if (Se === h) {
            O = B.backslashes = !0, ne();
            continue;
          }
          if (Se === v) {
            q = B.isBracket = !0, W = B.isGlob = !0, oe = !0;
            break;
          }
        }
        if (C === !0) continue;
        break;
      }
      if (D.nonegate !== !0 && V === l && Y === H) {
        N = B.negated = !0, H++;
        continue;
      }
      if (D.noparen !== !0 && V === o) {
        if (W = B.isGlob = !0, C === !0) {
          for (; G() !== !0 && (V = ne()); ) {
            if (V === o) {
              O = B.backslashes = !0, V = ne();
              continue;
            }
            if (V === g) {
              oe = !0;
              break;
            }
          }
          continue;
        }
        break;
      }
      if (W === !0) {
        if (oe = !0, C === !0) continue;
        break;
      }
    }
    D.noext === !0 && (P = !1, W = !1);
    let I = z, M = "", ee = "";
    H > 0 && (M = z.slice(0, H), z = z.slice(H), k -= H), I && W === !0 && k > 0 ? (I = z.slice(0, k), ee = z.slice(k)) : W === !0 ? (I = "", ee = z) : I = z, I && I !== "" && I !== "/" && I !== z && y(I.charCodeAt(I.length - 1)) && (I = I.slice(0, -1)), D.unescape === !0 && (ee && (ee = r.removeBackslashes(ee)), I && O === !0 && (I = r.removeBackslashes(I)));
    const Ae = {
      prefix: M,
      input: b,
      start: H,
      base: I,
      glob: ee,
      isBrace: F,
      isBracket: q,
      isGlob: W,
      isExtglob: P,
      isGlobstar: x,
      negated: N,
      negatedExtglob: K
    };
    if (D.tokens === !0 && (Ae.maxDepth = 0, y(V) || U.push(B), Ae.tokens = U), D.parts === !0 || D.tokens === !0) {
      let Se;
      for (let ye = 0; ye < T.length; ye++) {
        const Be = Se ? Se + 1 : H, xe = T[ye], je = b.slice(Be, xe);
        D.tokens && (ye === 0 && H !== 0 ? (U[ye].isPrefix = !0, U[ye].value = M) : U[ye].value = je, w(U[ye]), Ae.maxDepth += U[ye].depth), (ye !== 0 || je !== "") && $.push(je), Se = xe;
      }
      if (Se && Se + 1 < b.length) {
        const ye = b.slice(Se + 1);
        $.push(ye), D.tokens && (U[U.length - 1].value = ye, w(U[U.length - 1]), Ae.maxDepth += U[U.length - 1].depth);
      }
      Ae.slashes = T, Ae.parts = $;
    }
    return Ae;
  };
  t.exports = _;
})), Q2 = /* @__PURE__ */ j(((e, t) => {
  var r = Ks(), i = Zs(), { MAX_LENGTH: s, POSIX_REGEX_SOURCE: h, REGEX_NON_SPECIAL_CHARS: a, REGEX_SPECIAL_CHARS_BACKREF: n, REPLACEMENTS: l } = r, u = (_, b) => {
    if (typeof b.expandRange == "function") return b.expandRange(..._, b);
    _.sort();
    const E = `[${_.join("-")}]`;
    try {
      new RegExp(E);
    } catch {
      return _.map((S) => i.escapeRegex(S)).join("..");
    }
    return E;
  }, f = (_, b) => `Missing ${_}: "${b}" - use "\\\\${b}" to match literal characters`, o = (_) => {
    const b = [];
    let E = 0, D = 0, S = 0, C = "", T = !1;
    for (const U of _) {
      if (T === !0) {
        C += U, T = !1;
        continue;
      }
      if (U === "\\") {
        C += U, T = !0;
        continue;
      }
      if (U === '"') {
        S = S === 1 ? 0 : 1, C += U;
        continue;
      }
      if (S === 0) {
        if (U === "[") E++;
        else if (U === "]" && E > 0) E--;
        else if (E === 0) {
          if (U === "(") D++;
          else if (U === ")" && D > 0) D--;
          else if (U === "|" && D === 0) {
            b.push(C), C = "";
            continue;
          }
        }
      }
      C += U;
    }
    return b.push(C), b;
  }, c = (_) => {
    let b = !1;
    for (const E of _) {
      if (b === !0) {
        b = !1;
        continue;
      }
      if (E === "\\") {
        b = !0;
        continue;
      }
      if (/[?*+@!()[\]{}]/.test(E)) return !1;
    }
    return !0;
  }, d = (_) => {
    let b = _.trim(), E = !0;
    for (; E === !0; )
      E = !1, /^@\([^\\()[\]{}|]+\)$/.test(b) && (b = b.slice(2, -1), E = !0);
    if (c(b))
      return b.replace(/\\(.)/g, "$1");
  }, p = (_) => {
    const b = _.map(d).filter(Boolean);
    for (let E = 0; E < b.length; E++) for (let D = E + 1; D < b.length; D++) {
      const S = b[E], C = b[D], T = S[0];
      if (!(!T || S !== T.repeat(S.length) || C !== T.repeat(C.length)) && (S === C || S.startsWith(C) || C.startsWith(S)))
        return !0;
    }
    return !1;
  }, m = (_, b = !0) => {
    if (_[0] !== "+" && _[0] !== "*" || _[1] !== "(") return;
    let E = 0, D = 0, S = 0, C = !1;
    for (let T = 1; T < _.length; T++) {
      const U = _[T];
      if (C === !0) {
        C = !1;
        continue;
      }
      if (U === "\\") {
        C = !0;
        continue;
      }
      if (U === '"') {
        S = S === 1 ? 0 : 1;
        continue;
      }
      if (S !== 1) {
        if (U === "[") {
          E++;
          continue;
        }
        if (U === "]" && E > 0) {
          E--;
          continue;
        }
        if (!(E > 0)) {
          if (U === "(") {
            D++;
            continue;
          }
          if (U === ")" && (D--, D === 0))
            return b === !0 && T !== _.length - 1 ? void 0 : {
              type: _[0],
              body: _.slice(2, T),
              end: T
            };
        }
      }
    }
  }, g = (_) => {
    let b = 0;
    const E = [];
    for (; b < _.length; ) {
      const D = m(_.slice(b), !1);
      if (!D || D.type !== "*") return;
      const S = o(D.body).map((T) => T.trim());
      if (S.length !== 1) return;
      const C = d(S[0]);
      if (!C || C.length !== 1) return;
      E.push(C), b += D.end + 1;
    }
    if (!(E.length < 1))
      return `${E.length === 1 ? i.escapeRegex(E[0]) : `[${E.map((D) => i.escapeRegex(D)).join("")}]`}*`;
  }, v = (_) => {
    let b = 0, E = _.trim(), D = m(E);
    for (; D; )
      b++, E = D.body.trim(), D = m(E);
    return b;
  }, y = (_, b) => {
    if (b.maxExtglobRecursion === !1) return { risky: !1 };
    const E = typeof b.maxExtglobRecursion == "number" ? b.maxExtglobRecursion : r.DEFAULT_MAX_EXTGLOB_RECURSION, D = o(_).map((S) => S.trim());
    if (D.length > 1 && (D.some((S) => S === "") || D.some((S) => /^[*?]+$/.test(S)) || p(D)))
      return { risky: !0 };
    for (const S of D) {
      const C = g(S);
      if (C) return {
        risky: !0,
        safeOutput: C
      };
      if (v(S) > E) return { risky: !0 };
    }
    return { risky: !1 };
  }, w = (_, b) => {
    if (typeof _ != "string") throw new TypeError("Expected a string");
    _ = l[_] || _;
    const E = { ...b }, D = typeof E.maxLength == "number" ? Math.min(s, E.maxLength) : s;
    let S = _.length;
    if (S > D) throw new SyntaxError(`Input length: ${S}, exceeds maximum allowed length: ${D}`);
    const C = {
      type: "bos",
      value: "",
      output: E.prepend || ""
    }, T = [C], U = E.capture ? "" : "?:", $ = i.isWindows(b), z = r.globChars($), Y = r.extglobChars(z), { DOT_LITERAL: H, PLUS_LITERAL: k, SLASH_LITERAL: F, ONE_CHAR: q, DOTS_SLASH: W, NO_DOT: P, NO_DOT_SLASH: x, NO_DOTS_SLASH: L, QMARK: O, QMARK_NO_DOT: N, STAR: K, START_ANCHOR: oe } = z, pe = (Q) => `(${U}(?:(?!${oe}${Q.dot ? W : H}).)*?)`, _e = E.dot ? "" : P, V = E.dot ? O : N;
    let B = E.bash === !0 ? pe(E) : K;
    E.capture && (B = `(${B})`), typeof E.noext == "boolean" && (E.noextglob = E.noext);
    const G = {
      input: _,
      index: -1,
      start: 0,
      dot: E.dot === !0,
      consumed: "",
      output: "",
      prefix: "",
      backtrack: !1,
      negated: !1,
      brackets: 0,
      braces: 0,
      parens: 0,
      quotes: 0,
      globstar: !1,
      tokens: T
    };
    _ = i.removePrefix(_, G), S = _.length;
    const X = [], ne = [], I = [];
    let M = C, ee;
    const Ae = () => G.index === S - 1, Se = G.peek = (Q = 1) => _[G.index + Q], ye = G.advance = () => _[++G.index] || "", Be = () => _.slice(G.index + 1), xe = (Q = "", ie = 0) => {
      G.consumed += Q, G.index += ie;
    }, je = (Q) => {
      G.output += Q.output != null ? Q.output : Q.value, xe(Q.value);
    }, Oe = () => {
      let Q = 1;
      for (; Se() === "!" && (Se(2) !== "(" || Se(3) === "?"); )
        ye(), G.start++, Q++;
      return Q % 2 === 0 ? !1 : (G.negated = !0, G.start++, !0);
    }, A = (Q) => {
      G[Q]++, I.push(Q);
    }, se = (Q) => {
      G[Q]--, I.pop();
    }, he = (Q) => {
      if (M.type === "globstar") {
        const ie = G.braces > 0 && (Q.type === "comma" || Q.type === "brace"), ae = Q.extglob === !0 || X.length && (Q.type === "pipe" || Q.type === "paren");
        Q.type !== "slash" && Q.type !== "paren" && !ie && !ae && (G.output = G.output.slice(0, -M.output.length), M.type = "star", M.value = "*", M.output = B, G.output += M.output);
      }
      if (X.length && Q.type !== "paren" && (X[X.length - 1].inner += Q.value), (Q.value || Q.output) && je(Q), M && M.type === "text" && Q.type === "text") {
        M.value += Q.value, M.output = (M.output || "") + Q.value;
        return;
      }
      Q.prev = M, T.push(Q), M = Q;
    }, de = (Q, ie) => {
      const ae = {
        ...Y[ie],
        conditions: 1,
        inner: ""
      };
      ae.prev = M, ae.parens = G.parens, ae.output = G.output, ae.startIndex = G.index, ae.tokensIndex = T.length;
      const Ee = (E.capture ? "(" : "") + ae.open;
      A("parens"), he({
        type: Q,
        value: ie,
        output: G.output ? "" : q
      }), he({
        type: "paren",
        extglob: !0,
        value: ye(),
        output: Ee
      }), X.push(ae);
    }, re = (Q) => {
      const ie = _.slice(Q.startIndex, G.index + 1), ae = y(_.slice(Q.startIndex + 2, G.index), E);
      if ((Q.type === "plus" || Q.type === "star") && ae.risky) {
        const Ce = ae.safeOutput ? (Q.output ? "" : q) + (E.capture ? `(${ae.safeOutput})` : ae.safeOutput) : void 0, Re = T[Q.tokensIndex];
        Re.type = "text", Re.value = ie, Re.output = Ce || i.escapeRegex(ie);
        for (let Z = Q.tokensIndex + 1; Z < T.length; Z++)
          T[Z].value = "", T[Z].output = "", delete T[Z].suffix;
        G.output = Q.output + Re.output, G.backtrack = !0, he({
          type: "paren",
          extglob: !0,
          value: ee,
          output: ""
        }), se("parens");
        return;
      }
      let Ee = Q.close + (E.capture ? ")" : ""), Fe;
      if (Q.type === "negate") {
        let Ce = B;
        Q.inner && Q.inner.length > 1 && Q.inner.includes("/") && (Ce = pe(E)), (Ce !== B || Ae() || /^\)+$/.test(Be())) && (Ee = Q.close = `)$))${Ce}`), Q.inner.includes("*") && (Fe = Be()) && /^\.[^\\/.]+$/.test(Fe) && (Ee = Q.close = `)${w(Fe, {
          ...b,
          fastpaths: !1
        }).output})${Ce})`), Q.prev.type === "bos" && (G.negatedExtglob = !0);
      }
      he({
        type: "paren",
        extglob: !0,
        value: ee,
        output: Ee
      }), se("parens");
    };
    if (E.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(_)) {
      let Q = !1, ie = _.replace(n, (ae, Ee, Fe, Ce, Re, Z) => Ce === "\\" ? (Q = !0, ae) : Ce === "?" ? Ee ? Ee + Ce + (Re ? O.repeat(Re.length) : "") : Z === 0 ? V + (Re ? O.repeat(Re.length) : "") : O.repeat(Fe.length) : Ce === "." ? H.repeat(Fe.length) : Ce === "*" ? Ee ? Ee + Ce + (Re ? B : "") : B : Ee ? ae : `\\${ae}`);
      return Q === !0 && (E.unescape === !0 ? ie = ie.replace(/\\/g, "") : ie = ie.replace(/\\+/g, (ae) => ae.length % 2 === 0 ? "\\\\" : ae ? "\\" : "")), ie === _ && E.contains === !0 ? (G.output = _, G) : (G.output = i.wrapOutput(ie, G, b), G);
    }
    for (; !Ae(); ) {
      if (ee = ye(), ee === "\0") continue;
      if (ee === "\\") {
        const ae = Se();
        if (ae === "/" && E.bash !== !0 || ae === "." || ae === ";") continue;
        if (!ae) {
          ee += "\\", he({
            type: "text",
            value: ee
          });
          continue;
        }
        const Ee = /^\\+/.exec(Be());
        let Fe = 0;
        if (Ee && Ee[0].length > 2 && (Fe = Ee[0].length, G.index += Fe, Fe % 2 !== 0 && (ee += "\\")), E.unescape === !0 ? ee = ye() : ee += ye(), G.brackets === 0) {
          he({
            type: "text",
            value: ee
          });
          continue;
        }
      }
      if (G.brackets > 0 && (ee !== "]" || M.value === "[" || M.value === "[^")) {
        if (E.posix !== !1 && ee === ":") {
          const ae = M.value.slice(1);
          if (ae.includes("[") && (M.posix = !0, ae.includes(":"))) {
            const Ee = M.value.lastIndexOf("["), Fe = M.value.slice(0, Ee), Ce = h[M.value.slice(Ee + 2)];
            if (Ce) {
              M.value = Fe + Ce, G.backtrack = !0, ye(), !C.output && T.indexOf(M) === 1 && (C.output = q);
              continue;
            }
          }
        }
        (ee === "[" && Se() !== ":" || ee === "-" && Se() === "]") && (ee = `\\${ee}`), ee === "]" && (M.value === "[" || M.value === "[^") && (ee = `\\${ee}`), E.posix === !0 && ee === "!" && M.value === "[" && (ee = "^"), M.value += ee, je({ value: ee });
        continue;
      }
      if (G.quotes === 1 && ee !== '"') {
        ee = i.escapeRegex(ee), M.value += ee, je({ value: ee });
        continue;
      }
      if (ee === '"') {
        G.quotes = G.quotes === 1 ? 0 : 1, E.keepQuotes === !0 && he({
          type: "text",
          value: ee
        });
        continue;
      }
      if (ee === "(") {
        A("parens"), he({
          type: "paren",
          value: ee
        });
        continue;
      }
      if (ee === ")") {
        if (G.parens === 0 && E.strictBrackets === !0) throw new SyntaxError(f("opening", "("));
        const ae = X[X.length - 1];
        if (ae && G.parens === ae.parens + 1) {
          re(X.pop());
          continue;
        }
        he({
          type: "paren",
          value: ee,
          output: G.parens ? ")" : "\\)"
        }), se("parens");
        continue;
      }
      if (ee === "[") {
        if (E.nobracket === !0 || !Be().includes("]")) {
          if (E.nobracket !== !0 && E.strictBrackets === !0) throw new SyntaxError(f("closing", "]"));
          ee = `\\${ee}`;
        } else A("brackets");
        he({
          type: "bracket",
          value: ee
        });
        continue;
      }
      if (ee === "]") {
        if (E.nobracket === !0 || M && M.type === "bracket" && M.value.length === 1) {
          he({
            type: "text",
            value: ee,
            output: `\\${ee}`
          });
          continue;
        }
        if (G.brackets === 0) {
          if (E.strictBrackets === !0) throw new SyntaxError(f("opening", "["));
          he({
            type: "text",
            value: ee,
            output: `\\${ee}`
          });
          continue;
        }
        se("brackets");
        const ae = M.value.slice(1);
        if (M.posix !== !0 && ae[0] === "^" && !ae.includes("/") && (ee = `/${ee}`), M.value += ee, je({ value: ee }), E.literalBrackets === !1 || i.hasRegexChars(ae)) continue;
        const Ee = i.escapeRegex(M.value);
        if (G.output = G.output.slice(0, -M.value.length), E.literalBrackets === !0) {
          G.output += Ee, M.value = Ee;
          continue;
        }
        M.value = `(${U}${Ee}|${M.value})`, G.output += M.value;
        continue;
      }
      if (ee === "{" && E.nobrace !== !0) {
        A("braces");
        const ae = {
          type: "brace",
          value: ee,
          output: "(",
          outputIndex: G.output.length,
          tokensIndex: G.tokens.length
        };
        ne.push(ae), he(ae);
        continue;
      }
      if (ee === "}") {
        const ae = ne[ne.length - 1];
        if (E.nobrace === !0 || !ae) {
          he({
            type: "text",
            value: ee,
            output: ee
          });
          continue;
        }
        let Ee = ")";
        if (ae.dots === !0) {
          const Fe = T.slice(), Ce = [];
          for (let Re = Fe.length - 1; Re >= 0 && (T.pop(), Fe[Re].type !== "brace"); Re--)
            Fe[Re].type !== "dots" && Ce.unshift(Fe[Re].value);
          Ee = u(Ce, E), G.backtrack = !0;
        }
        if (ae.comma !== !0 && ae.dots !== !0) {
          const Fe = G.output.slice(0, ae.outputIndex), Ce = G.tokens.slice(ae.tokensIndex);
          ae.value = ae.output = "\\{", ee = Ee = "\\}", G.output = Fe;
          for (const Re of Ce) G.output += Re.output || Re.value;
        }
        he({
          type: "brace",
          value: ee,
          output: Ee
        }), se("braces"), ne.pop();
        continue;
      }
      if (ee === "|") {
        X.length > 0 && X[X.length - 1].conditions++, he({
          type: "text",
          value: ee
        });
        continue;
      }
      if (ee === ",") {
        let ae = ee;
        const Ee = ne[ne.length - 1];
        Ee && I[I.length - 1] === "braces" && (Ee.comma = !0, ae = "|"), he({
          type: "comma",
          value: ee,
          output: ae
        });
        continue;
      }
      if (ee === "/") {
        if (M.type === "dot" && G.index === G.start + 1) {
          G.start = G.index + 1, G.consumed = "", G.output = "", T.pop(), M = C;
          continue;
        }
        he({
          type: "slash",
          value: ee,
          output: F
        });
        continue;
      }
      if (ee === ".") {
        if (G.braces > 0 && M.type === "dot") {
          M.value === "." && (M.output = H);
          const ae = ne[ne.length - 1];
          M.type = "dots", M.output += ee, M.value += ee, ae.dots = !0;
          continue;
        }
        if (G.braces + G.parens === 0 && M.type !== "bos" && M.type !== "slash") {
          he({
            type: "text",
            value: ee,
            output: H
          });
          continue;
        }
        he({
          type: "dot",
          value: ee,
          output: H
        });
        continue;
      }
      if (ee === "?") {
        if (!(M && M.value === "(") && E.noextglob !== !0 && Se() === "(" && Se(2) !== "?") {
          de("qmark", ee);
          continue;
        }
        if (M && M.type === "paren") {
          const ae = Se();
          let Ee = ee;
          if (ae === "<" && !i.supportsLookbehinds()) throw new Error("Node.js v10 or higher is required for regex lookbehinds");
          (M.value === "(" && !/[!=<:]/.test(ae) || ae === "<" && !/<([!=]|\w+>)/.test(Be())) && (Ee = `\\${ee}`), he({
            type: "text",
            value: ee,
            output: Ee
          });
          continue;
        }
        if (E.dot !== !0 && (M.type === "slash" || M.type === "bos")) {
          he({
            type: "qmark",
            value: ee,
            output: N
          });
          continue;
        }
        he({
          type: "qmark",
          value: ee,
          output: O
        });
        continue;
      }
      if (ee === "!") {
        if (E.noextglob !== !0 && Se() === "(" && (Se(2) !== "?" || !/[!=<:]/.test(Se(3)))) {
          de("negate", ee);
          continue;
        }
        if (E.nonegate !== !0 && G.index === 0) {
          Oe();
          continue;
        }
      }
      if (ee === "+") {
        if (E.noextglob !== !0 && Se() === "(" && Se(2) !== "?") {
          de("plus", ee);
          continue;
        }
        if (M && M.value === "(" || E.regex === !1) {
          he({
            type: "plus",
            value: ee,
            output: k
          });
          continue;
        }
        if (M && (M.type === "bracket" || M.type === "paren" || M.type === "brace") || G.parens > 0) {
          he({
            type: "plus",
            value: ee
          });
          continue;
        }
        he({
          type: "plus",
          value: k
        });
        continue;
      }
      if (ee === "@") {
        if (E.noextglob !== !0 && Se() === "(" && Se(2) !== "?") {
          he({
            type: "at",
            extglob: !0,
            value: ee,
            output: ""
          });
          continue;
        }
        he({
          type: "text",
          value: ee
        });
        continue;
      }
      if (ee !== "*") {
        (ee === "$" || ee === "^") && (ee = `\\${ee}`);
        const ae = a.exec(Be());
        ae && (ee += ae[0], G.index += ae[0].length), he({
          type: "text",
          value: ee
        });
        continue;
      }
      if (M && (M.type === "globstar" || M.star === !0)) {
        M.type = "star", M.star = !0, M.value += ee, M.output = B, G.backtrack = !0, G.globstar = !0, xe(ee);
        continue;
      }
      let Q = Be();
      if (E.noextglob !== !0 && /^\([^?]/.test(Q)) {
        de("star", ee);
        continue;
      }
      if (M.type === "star") {
        if (E.noglobstar === !0) {
          xe(ee);
          continue;
        }
        const ae = M.prev, Ee = ae.prev, Fe = ae.type === "slash" || ae.type === "bos", Ce = Ee && (Ee.type === "star" || Ee.type === "globstar");
        if (E.bash === !0 && (!Fe || Q[0] && Q[0] !== "/")) {
          he({
            type: "star",
            value: ee,
            output: ""
          });
          continue;
        }
        const Re = G.braces > 0 && (ae.type === "comma" || ae.type === "brace"), Z = X.length && (ae.type === "pipe" || ae.type === "paren");
        if (!Fe && ae.type !== "paren" && !Re && !Z) {
          he({
            type: "star",
            value: ee,
            output: ""
          });
          continue;
        }
        for (; Q.slice(0, 3) === "/**"; ) {
          const ge = _[G.index + 4];
          if (ge && ge !== "/") break;
          Q = Q.slice(3), xe("/**", 3);
        }
        if (ae.type === "bos" && Ae()) {
          M.type = "globstar", M.value += ee, M.output = pe(E), G.output = M.output, G.globstar = !0, xe(ee);
          continue;
        }
        if (ae.type === "slash" && ae.prev.type !== "bos" && !Ce && Ae()) {
          G.output = G.output.slice(0, -(ae.output + M.output).length), ae.output = `(?:${ae.output}`, M.type = "globstar", M.output = pe(E) + (E.strictSlashes ? ")" : "|$)"), M.value += ee, G.globstar = !0, G.output += ae.output + M.output, xe(ee);
          continue;
        }
        if (ae.type === "slash" && ae.prev.type !== "bos" && Q[0] === "/") {
          const ge = Q[1] !== void 0 ? "|$" : "";
          G.output = G.output.slice(0, -(ae.output + M.output).length), ae.output = `(?:${ae.output}`, M.type = "globstar", M.output = `${pe(E)}${F}|${F}${ge})`, M.value += ee, G.output += ae.output + M.output, G.globstar = !0, xe(ee + ye()), he({
            type: "slash",
            value: "/",
            output: ""
          });
          continue;
        }
        if (ae.type === "bos" && Q[0] === "/") {
          M.type = "globstar", M.value += ee, M.output = `(?:^|${F}|${pe(E)}${F})`, G.output = M.output, G.globstar = !0, xe(ee + ye()), he({
            type: "slash",
            value: "/",
            output: ""
          });
          continue;
        }
        G.output = G.output.slice(0, -M.output.length), M.type = "globstar", M.output = pe(E), M.value += ee, G.output += M.output, G.globstar = !0, xe(ee);
        continue;
      }
      const ie = {
        type: "star",
        value: ee,
        output: B
      };
      if (E.bash === !0) {
        ie.output = ".*?", (M.type === "bos" || M.type === "slash") && (ie.output = _e + ie.output), he(ie);
        continue;
      }
      if (M && (M.type === "bracket" || M.type === "paren") && E.regex === !0) {
        ie.output = ee, he(ie);
        continue;
      }
      (G.index === G.start || M.type === "slash" || M.type === "dot") && (M.type === "dot" ? (G.output += x, M.output += x) : E.dot === !0 ? (G.output += L, M.output += L) : (G.output += _e, M.output += _e), Se() !== "*" && (G.output += q, M.output += q)), he(ie);
    }
    for (; G.brackets > 0; ) {
      if (E.strictBrackets === !0) throw new SyntaxError(f("closing", "]"));
      G.output = i.escapeLast(G.output, "["), se("brackets");
    }
    for (; G.parens > 0; ) {
      if (E.strictBrackets === !0) throw new SyntaxError(f("closing", ")"));
      G.output = i.escapeLast(G.output, "("), se("parens");
    }
    for (; G.braces > 0; ) {
      if (E.strictBrackets === !0) throw new SyntaxError(f("closing", "}"));
      G.output = i.escapeLast(G.output, "{"), se("braces");
    }
    if (E.strictSlashes !== !0 && (M.type === "star" || M.type === "bracket") && he({
      type: "maybe_slash",
      value: "",
      output: `${F}?`
    }), G.backtrack === !0) {
      G.output = "";
      for (const Q of G.tokens)
        G.output += Q.output != null ? Q.output : Q.value, Q.suffix && (G.output += Q.suffix);
    }
    return G;
  };
  w.fastpaths = (_, b) => {
    const E = { ...b }, D = typeof E.maxLength == "number" ? Math.min(s, E.maxLength) : s, S = _.length;
    if (S > D) throw new SyntaxError(`Input length: ${S}, exceeds maximum allowed length: ${D}`);
    _ = l[_] || _;
    const C = i.isWindows(b), { DOT_LITERAL: T, SLASH_LITERAL: U, ONE_CHAR: $, DOTS_SLASH: z, NO_DOT: Y, NO_DOTS: H, NO_DOTS_SLASH: k, STAR: F, START_ANCHOR: q } = r.globChars(C), W = E.dot ? H : Y, P = E.dot ? k : Y, x = E.capture ? "" : "?:", L = {
      negated: !1,
      prefix: ""
    };
    let O = E.bash === !0 ? ".*?" : F;
    E.capture && (O = `(${O})`);
    const N = (pe) => pe.noglobstar === !0 ? O : `(${x}(?:(?!${q}${pe.dot ? z : T}).)*?)`, K = (pe) => {
      switch (pe) {
        case "*":
          return `${W}${$}${O}`;
        case ".*":
          return `${T}${$}${O}`;
        case "*.*":
          return `${W}${O}${T}${$}${O}`;
        case "*/*":
          return `${W}${O}${U}${$}${P}${O}`;
        case "**":
          return W + N(E);
        case "**/*":
          return `(?:${W}${N(E)}${U})?${P}${$}${O}`;
        case "**/*.*":
          return `(?:${W}${N(E)}${U})?${P}${O}${T}${$}${O}`;
        case "**/.*":
          return `(?:${W}${N(E)}${U})?${T}${$}${O}`;
        default: {
          const _e = /^(.*?)\.(\w+)$/.exec(pe);
          if (!_e) return;
          const V = K(_e[1]);
          return V ? V + T + _e[2] : void 0;
        }
      }
    };
    let oe = K(i.removePrefix(_, L));
    return oe && E.strictSlashes !== !0 && (oe += `${U}?`), oe;
  }, t.exports = w;
})), eI = /* @__PURE__ */ j(((e, t) => {
  var r = ve("path"), i = X2(), s = Q2(), h = Zs(), a = Ks(), n = (u) => u && typeof u == "object" && !Array.isArray(u), l = (u, f, o = !1) => {
    if (Array.isArray(u)) {
      const w = u.map((b) => l(b, f, o));
      return (b) => {
        for (const E of w) {
          const D = E(b);
          if (D) return D;
        }
        return !1;
      };
    }
    const c = n(u) && u.tokens && u.input;
    if (u === "" || typeof u != "string" && !c) throw new TypeError("Expected pattern to be a non-empty string");
    const d = f || {}, p = h.isWindows(f), m = c ? l.compileRe(u, f) : l.makeRe(u, f, !1, !0), g = m.state;
    delete m.state;
    let v = () => !1;
    if (d.ignore) {
      const w = {
        ...f,
        ignore: null,
        onMatch: null,
        onResult: null
      };
      v = l(d.ignore, w, o);
    }
    const y = (w, _ = !1) => {
      const { isMatch: b, match: E, output: D } = l.test(w, m, f, {
        glob: u,
        posix: p
      }), S = {
        glob: u,
        state: g,
        regex: m,
        posix: p,
        input: w,
        output: D,
        match: E,
        isMatch: b
      };
      return typeof d.onResult == "function" && d.onResult(S), b === !1 ? (S.isMatch = !1, _ ? S : !1) : v(w) ? (typeof d.onIgnore == "function" && d.onIgnore(S), S.isMatch = !1, _ ? S : !1) : (typeof d.onMatch == "function" && d.onMatch(S), _ ? S : !0);
    };
    return o && (y.state = g), y;
  };
  l.test = (u, f, o, { glob: c, posix: d } = {}) => {
    if (typeof u != "string") throw new TypeError("Expected input to be a string");
    if (u === "") return {
      isMatch: !1,
      output: ""
    };
    const p = o || {}, m = p.format || (d ? h.toPosixSlashes : null);
    let g = u === c, v = g && m ? m(u) : u;
    return g === !1 && (v = m ? m(u) : u, g = v === c), (g === !1 || p.capture === !0) && (p.matchBase === !0 || p.basename === !0 ? g = l.matchBase(u, f, o, d) : g = f.exec(v)), {
      isMatch: !!g,
      match: g,
      output: v
    };
  }, l.matchBase = (u, f, o, c = h.isWindows(o)) => (f instanceof RegExp ? f : l.makeRe(f, o)).test(r.basename(u)), l.isMatch = (u, f, o) => l(f, o)(u), l.parse = (u, f) => Array.isArray(u) ? u.map((o) => l.parse(o, f)) : s(u, {
    ...f,
    fastpaths: !1
  }), l.scan = (u, f) => i(u, f), l.compileRe = (u, f, o = !1, c = !1) => {
    if (o === !0) return u.output;
    const d = f || {}, p = d.contains ? "" : "^", m = d.contains ? "" : "$";
    let g = `${p}(?:${u.output})${m}`;
    u && u.negated === !0 && (g = `^(?!${g}).*$`);
    const v = l.toRegex(g, f);
    return c === !0 && (v.state = u), v;
  }, l.makeRe = (u, f = {}, o = !1, c = !1) => {
    if (!u || typeof u != "string") throw new TypeError("Expected a non-empty string");
    let d = {
      negated: !1,
      fastpaths: !0
    };
    return f.fastpaths !== !1 && (u[0] === "." || u[0] === "*") && (d.output = s.fastpaths(u, f)), d.output || (d = s(u, f)), l.compileRe(d, f, o, c);
  }, l.toRegex = (u, f) => {
    try {
      const o = f || {};
      return new RegExp(u, o.flags || (o.nocase ? "i" : ""));
    } catch (o) {
      if (f && f.debug === !0) throw o;
      return /$^/;
    }
  }, l.constants = a, t.exports = l;
})), tI = /* @__PURE__ */ j(((e, t) => {
  t.exports = eI();
})), rI = /* @__PURE__ */ j(((e, t) => {
  var r = ve("util"), i = J2(), s = tI(), h = Zs(), a = (u) => u === "" || u === "./", n = (u) => {
    const f = u.indexOf("{");
    return f > -1 && u.indexOf("}", f) > -1;
  }, l = (u, f, o) => {
    f = [].concat(f), u = [].concat(u);
    let c = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set(), p = /* @__PURE__ */ new Set(), m = 0, g = (y) => {
      p.add(y.output), o && o.onResult && o.onResult(y);
    };
    for (let y = 0; y < f.length; y++) {
      let w = s(String(f[y]), {
        ...o,
        onResult: g
      }, !0), _ = w.state.negated || w.state.negatedExtglob;
      _ && m++;
      for (let b of u) {
        let E = w(b, !0);
        (_ ? !E.isMatch : E.isMatch) && (_ ? c.add(E.output) : (c.delete(E.output), d.add(E.output)));
      }
    }
    let v = (m === f.length ? [...p] : [...d]).filter((y) => !c.has(y));
    if (o && v.length === 0) {
      if (o.failglob === !0) throw new Error(`No matches found for "${f.join(", ")}"`);
      if (o.nonull === !0 || o.nullglob === !0) return o.unescape ? f.map((y) => y.replace(/\\/g, "")) : f;
    }
    return v;
  };
  l.match = l, l.matcher = (u, f) => s(u, f), l.isMatch = (u, f, o) => s(f, o)(u), l.any = l.isMatch, l.not = (u, f, o = {}) => {
    f = [].concat(f).map(String);
    let c = /* @__PURE__ */ new Set(), d = [], p = (g) => {
      o.onResult && o.onResult(g), d.push(g.output);
    }, m = new Set(l(u, f, {
      ...o,
      onResult: p
    }));
    for (let g of d) m.has(g) || c.add(g);
    return [...c];
  }, l.contains = (u, f, o) => {
    if (typeof u != "string") throw new TypeError(`Expected a string: "${r.inspect(u)}"`);
    if (Array.isArray(f)) return f.some((c) => l.contains(u, c, o));
    if (typeof f == "string") {
      if (a(u) || a(f)) return !1;
      if (u.includes(f) || u.startsWith("./") && u.slice(2).includes(f)) return !0;
    }
    return l.isMatch(u, f, {
      ...o,
      contains: !0
    });
  }, l.matchKeys = (u, f, o) => {
    if (!h.isObject(u)) throw new TypeError("Expected the first argument to be an object");
    let c = l(Object.keys(u), f, o), d = {};
    for (let p of c) d[p] = u[p];
    return d;
  }, l.some = (u, f, o) => {
    let c = [].concat(u);
    for (let d of [].concat(f)) {
      let p = s(String(d), o);
      if (c.some((m) => p(m))) return !0;
    }
    return !1;
  }, l.every = (u, f, o) => {
    let c = [].concat(u);
    for (let d of [].concat(f)) {
      let p = s(String(d), o);
      if (!c.every((m) => p(m))) return !1;
    }
    return !0;
  }, l.all = (u, f, o) => {
    if (typeof u != "string") throw new TypeError(`Expected a string: "${r.inspect(u)}"`);
    return [].concat(f).every((c) => s(c, o)(u));
  }, l.capture = (u, f, o) => {
    let c = h.isWindows(o), d = s.makeRe(String(u), {
      ...o,
      capture: !0
    }).exec(c ? h.toPosixSlashes(f) : f);
    if (d) return d.slice(1).map((p) => p === void 0 ? "" : p);
  }, l.makeRe = (...u) => s.makeRe(...u), l.scan = (...u) => s.scan(...u), l.parse = (u, f) => {
    let o = [];
    for (let c of [].concat(u || [])) for (let d of i(String(c), f)) o.push(s.parse(d, f));
    return o;
  }, l.braces = (u, f) => {
    if (typeof u != "string") throw new TypeError("Expected a string");
    return f && f.nobrace === !0 || !n(u) ? [u] : i(u, f);
  }, l.braceExpand = (u, f) => {
    if (typeof u != "string") throw new TypeError("Expected a string");
    return l.braces(u, {
      ...f,
      expand: !0
    });
  }, l.hasBraces = n, t.exports = l;
})), iI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isAbsolute = e.partitionAbsoluteAndRelative = e.removeDuplicateSlashes = e.matchAny = e.convertPatternsToRe = e.makeRe = e.getPatternParts = e.expandBraceExpansion = e.expandPatternsWithBraceExpansion = e.isAffectDepthOfReadingPattern = e.endsWithSlashGlobStar = e.hasGlobStar = e.getBaseDirectory = e.isPatternRelatedToParentDirectory = e.getPatternsOutsideCurrentDirectory = e.getPatternsInsideCurrentDirectory = e.getPositivePatterns = e.getNegativePatterns = e.isPositivePattern = e.isNegativePattern = e.convertToNegativePattern = e.convertToPositivePattern = e.isDynamicPattern = e.isStaticPattern = void 0;
  var t = ve("path"), r = z2(), i = rI(), s = "**", h = "\\", a = /[*?]|^!/, n = /\[[^[]*]/, l = /(?:^|[^!*+?@])\([^(]*\|[^|]*\)/, u = /[!*+?@]\([^(]*\)/, f = /,|\.\./, o = /(?!^)\/{2,}/g;
  function c(x, L = {}) {
    return !d(x, L);
  }
  e.isStaticPattern = c;
  function d(x, L = {}) {
    return x === "" ? !1 : !!(L.caseSensitiveMatch === !1 || x.includes(h) || a.test(x) || n.test(x) || l.test(x) || L.extglob !== !1 && u.test(x) || L.braceExpansion !== !1 && p(x));
  }
  e.isDynamicPattern = d;
  function p(x) {
    const L = x.indexOf("{");
    if (L === -1) return !1;
    const O = x.indexOf("}", L + 1);
    if (O === -1) return !1;
    const N = x.slice(L, O);
    return f.test(N);
  }
  function m(x) {
    return v(x) ? x.slice(1) : x;
  }
  e.convertToPositivePattern = m;
  function g(x) {
    return "!" + x;
  }
  e.convertToNegativePattern = g;
  function v(x) {
    return x.startsWith("!") && x[1] !== "(";
  }
  e.isNegativePattern = v;
  function y(x) {
    return !v(x);
  }
  e.isPositivePattern = y;
  function w(x) {
    return x.filter(v);
  }
  e.getNegativePatterns = w;
  function _(x) {
    return x.filter(y);
  }
  e.getPositivePatterns = _;
  function b(x) {
    return x.filter((L) => !D(L));
  }
  e.getPatternsInsideCurrentDirectory = b;
  function E(x) {
    return x.filter(D);
  }
  e.getPatternsOutsideCurrentDirectory = E;
  function D(x) {
    return x.startsWith("..") || x.startsWith("./..");
  }
  e.isPatternRelatedToParentDirectory = D;
  function S(x) {
    return r(x, { flipBackslashes: !1 });
  }
  e.getBaseDirectory = S;
  function C(x) {
    return x.includes(s);
  }
  e.hasGlobStar = C;
  function T(x) {
    return x.endsWith("/" + s);
  }
  e.endsWithSlashGlobStar = T;
  function U(x) {
    const L = t.basename(x);
    return T(x) || c(L);
  }
  e.isAffectDepthOfReadingPattern = U;
  function $(x) {
    return x.reduce((L, O) => L.concat(z(O)), []);
  }
  e.expandPatternsWithBraceExpansion = $;
  function z(x) {
    const L = i.braces(x, {
      expand: !0,
      nodupes: !0,
      keepEscaping: !0
    });
    return L.sort((O, N) => O.length - N.length), L.filter((O) => O !== "");
  }
  e.expandBraceExpansion = z;
  function Y(x, L) {
    let { parts: O } = i.scan(x, Object.assign(Object.assign({}, L), { parts: !0 }));
    return O.length === 0 && (O = [x]), O[0].startsWith("/") && (O[0] = O[0].slice(1), O.unshift("")), O;
  }
  e.getPatternParts = Y;
  function H(x, L) {
    return i.makeRe(x, L);
  }
  e.makeRe = H;
  function k(x, L) {
    return x.map((O) => H(O, L));
  }
  e.convertPatternsToRe = k;
  function F(x, L) {
    return L.some((O) => O.test(x));
  }
  e.matchAny = F;
  function q(x) {
    return x.replace(o, "/");
  }
  e.removeDuplicateSlashes = q;
  function W(x) {
    const L = [], O = [];
    for (const N of x) P(N) ? L.push(N) : O.push(N);
    return [L, O];
  }
  e.partitionAbsoluteAndRelative = W;
  function P(x) {
    return t.isAbsolute(x);
  }
  e.isAbsolute = P;
})), nI = /* @__PURE__ */ j(((e, t) => {
  var r = ve("stream").PassThrough, i = Array.prototype.slice;
  t.exports = s;
  function s() {
    const a = [], n = i.call(arguments);
    let l = !1, u = n[n.length - 1];
    u && !Array.isArray(u) && u.pipe == null ? n.pop() : u = {};
    const f = u.end !== !1, o = u.pipeError === !0;
    u.objectMode == null && (u.objectMode = !0), u.highWaterMark == null && (u.highWaterMark = 64 * 1024);
    const c = r(u);
    function d() {
      for (let g = 0, v = arguments.length; g < v; g++) a.push(h(arguments[g], u));
      return p(), this;
    }
    function p() {
      if (l) return;
      l = !0;
      let g = a.shift();
      if (!g) {
        process.nextTick(m);
        return;
      }
      Array.isArray(g) || (g = [g]);
      let v = g.length + 1;
      function y() {
        --v > 0 || (l = !1, p());
      }
      function w(_) {
        function b() {
          _.removeListener("merge2UnpipeEnd", b), _.removeListener("end", b), o && _.removeListener("error", E), y();
        }
        function E(D) {
          c.emit("error", D);
        }
        if (_._readableState.endEmitted) return y();
        _.on("merge2UnpipeEnd", b), _.on("end", b), o && _.on("error", E), _.pipe(c, { end: !1 }), _.resume();
      }
      for (let _ = 0; _ < g.length; _++) w(g[_]);
      y();
    }
    function m() {
      l = !1, c.emit("queueDrain"), f && c.end();
    }
    return c.setMaxListeners(0), c.add = d, c.on("unpipe", function(g) {
      g.emit("merge2UnpipeEnd");
    }), n.length && d.apply(null, n), c;
  }
  function h(a, n) {
    if (Array.isArray(a))
      for (let l = 0, u = a.length; l < u; l++) a[l] = h(a[l], n);
    else {
      if (!a._readableState && a.pipe && (a = a.pipe(r(n))), !a._readableState || !a.pause || !a.pipe) throw new Error("Only readable stream can be merged.");
      a.pause();
    }
    return a;
  }
})), sI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.merge = void 0;
  var t = nI();
  function r(s) {
    const h = t(s);
    return s.forEach((a) => {
      a.once("error", (n) => h.emit("error", n));
    }), h.once("close", () => i(s)), h.once("end", () => i(s)), h;
  }
  e.merge = r;
  function i(s) {
    s.forEach((h) => h.emit("close"));
  }
})), aI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isEmpty = e.isString = void 0;
  function t(i) {
    return typeof i == "string";
  }
  e.isString = t;
  function r(i) {
    return i === "";
  }
  e.isEmpty = r;
})), Lr = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.string = e.stream = e.pattern = e.path = e.fs = e.errno = e.array = void 0;
  var t = P2();
  e.array = t;
  var r = M2();
  e.errno = r;
  var i = j2();
  e.fs = i;
  var s = U2();
  e.path = s;
  var h = iI();
  e.pattern = h;
  var a = sI();
  e.stream = a;
  var n = aI();
  e.string = n;
})), oI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.convertPatternGroupToTask = e.convertPatternGroupsToTasks = e.groupPatternsByBaseDirectory = e.getNegativePatternsAsPositive = e.getPositivePatterns = e.convertPatternsToTasks = e.generate = void 0;
  var t = Lr();
  function r(f, o) {
    const c = i(f, o), d = i(o.ignore, o), p = h(c), m = a(c, d), g = p.filter((_) => t.pattern.isStaticPattern(_, o)), v = p.filter((_) => t.pattern.isDynamicPattern(_, o)), y = s(g, m, !1), w = s(v, m, !0);
    return y.concat(w);
  }
  e.generate = r;
  function i(f, o) {
    let c = f;
    return o.braceExpansion && (c = t.pattern.expandPatternsWithBraceExpansion(c)), o.baseNameMatch && (c = c.map((d) => d.includes("/") ? d : `**/${d}`)), c.map((d) => t.pattern.removeDuplicateSlashes(d));
  }
  function s(f, o, c) {
    const d = [], p = t.pattern.getPatternsOutsideCurrentDirectory(f), m = t.pattern.getPatternsInsideCurrentDirectory(f), g = n(p), v = n(m);
    return d.push(...l(g, o, c)), "." in v ? d.push(u(".", m, o, c)) : d.push(...l(v, o, c)), d;
  }
  e.convertPatternsToTasks = s;
  function h(f) {
    return t.pattern.getPositivePatterns(f);
  }
  e.getPositivePatterns = h;
  function a(f, o) {
    return t.pattern.getNegativePatterns(f).concat(o).map(t.pattern.convertToPositivePattern);
  }
  e.getNegativePatternsAsPositive = a;
  function n(f) {
    return f.reduce((o, c) => {
      const d = t.pattern.getBaseDirectory(c);
      return d in o ? o[d].push(c) : o[d] = [c], o;
    }, {});
  }
  e.groupPatternsByBaseDirectory = n;
  function l(f, o, c) {
    return Object.keys(f).map((d) => u(d, f[d], o, c));
  }
  e.convertPatternGroupsToTasks = l;
  function u(f, o, c, d) {
    return {
      dynamic: d,
      positive: o,
      negative: c,
      base: f,
      patterns: [].concat(o, c.map(t.pattern.convertToNegativePattern))
    };
  }
  e.convertPatternGroupToTask = u;
})), uI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.read = void 0;
  function t(s, h, a) {
    h.fs.lstat(s, (n, l) => {
      if (n !== null) {
        r(a, n);
        return;
      }
      if (!l.isSymbolicLink() || !h.followSymbolicLink) {
        i(a, l);
        return;
      }
      h.fs.stat(s, (u, f) => {
        if (u !== null) {
          if (h.throwErrorOnBrokenSymbolicLink) {
            r(a, u);
            return;
          }
          i(a, l);
          return;
        }
        h.markSymbolicLink && (f.isSymbolicLink = () => !0), i(a, f);
      });
    });
  }
  e.read = t;
  function r(s, h) {
    s(h);
  }
  function i(s, h) {
    s(null, h);
  }
})), lI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.read = void 0;
  function t(r, i) {
    const s = i.fs.lstatSync(r);
    if (!s.isSymbolicLink() || !i.followSymbolicLink) return s;
    try {
      const h = i.fs.statSync(r);
      return i.markSymbolicLink && (h.isSymbolicLink = () => !0), h;
    } catch (h) {
      if (!i.throwErrorOnBrokenSymbolicLink) return s;
      throw h;
    }
  }
  e.read = t;
})), cI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.createFileSystemAdapter = e.FILE_SYSTEM_ADAPTER = void 0;
  var t = ve("fs");
  e.FILE_SYSTEM_ADAPTER = {
    lstat: t.lstat,
    stat: t.stat,
    lstatSync: t.lstatSync,
    statSync: t.statSync
  };
  function r(i) {
    return i === void 0 ? e.FILE_SYSTEM_ADAPTER : Object.assign(Object.assign({}, e.FILE_SYSTEM_ADAPTER), i);
  }
  e.createFileSystemAdapter = r;
})), hI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = cI(), r = class {
    constructor(i = {}) {
      this._options = i, this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, !0), this.fs = t.createFileSystemAdapter(this._options.fs), this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !0);
    }
    _getValue(i, s) {
      return i ?? s;
    }
  };
  e.default = r;
})), Ti = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.statSync = e.stat = e.Settings = void 0;
  var t = uI(), r = lI(), i = hI();
  e.Settings = i.default;
  function s(n, l, u) {
    if (typeof l == "function") {
      t.read(n, a(), l);
      return;
    }
    t.read(n, a(l), u);
  }
  e.stat = s;
  function h(n, l) {
    const u = a(l);
    return r.read(n, u);
  }
  e.statSync = h;
  function a(n = {}) {
    return n instanceof i.default ? n : new i.default(n);
  }
})), fI = /* @__PURE__ */ j(((e, t) => {
  var r;
  t.exports = typeof queueMicrotask == "function" ? queueMicrotask.bind(typeof window < "u" ? window : global) : (i) => (r || (r = Promise.resolve())).then(i).catch((s) => setTimeout(() => {
    throw s;
  }, 0));
})), dI = /* @__PURE__ */ j(((e, t) => {
  t.exports = i;
  var r = fI();
  function i(s, h) {
    let a, n, l, u = !0;
    Array.isArray(s) ? (a = [], n = s.length) : (l = Object.keys(s), a = {}, n = l.length);
    function f(c) {
      function d() {
        h && h(c, a), h = null;
      }
      u ? r(d) : d();
    }
    function o(c, d, p) {
      a[c] = p, (--n === 0 || d) && f(d);
    }
    n ? l ? l.forEach(function(c) {
      s[c](function(d, p) {
        o(c, d, p);
      });
    }) : s.forEach(function(c, d) {
      c(function(p, m) {
        o(d, p, m);
      });
    }) : f(null), u = !1;
  }
})), $g = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
  var t = process.versions.node.split(".");
  if (t[0] === void 0 || t[1] === void 0) throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
  var r = Number.parseInt(t[0], 10), i = Number.parseInt(t[1], 10), s = 10, h = 10, a = r > s, n = r === s && i >= h;
  e.IS_SUPPORT_READDIR_WITH_FILE_TYPES = a || n;
})), pI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.createDirentFromStats = void 0;
  var t = class {
    constructor(i, s) {
      this.name = i, this.isBlockDevice = s.isBlockDevice.bind(s), this.isCharacterDevice = s.isCharacterDevice.bind(s), this.isDirectory = s.isDirectory.bind(s), this.isFIFO = s.isFIFO.bind(s), this.isFile = s.isFile.bind(s), this.isSocket = s.isSocket.bind(s), this.isSymbolicLink = s.isSymbolicLink.bind(s);
    }
  };
  function r(i, s) {
    return new t(i, s);
  }
  e.createDirentFromStats = r;
})), xg = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.fs = void 0;
  var t = pI();
  e.fs = t;
})), Bg = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.joinPathSegments = void 0;
  function t(r, i, s) {
    return r.endsWith(s) ? r + i : r + s + i;
  }
  e.joinPathSegments = t;
})), gI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.readdir = e.readdirWithFileTypes = e.read = void 0;
  var t = Ti(), r = dI(), i = $g(), s = xg(), h = Bg();
  function a(c, d, p) {
    if (!d.stats && i.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
      n(c, d, p);
      return;
    }
    u(c, d, p);
  }
  e.read = a;
  function n(c, d, p) {
    d.fs.readdir(c, { withFileTypes: !0 }, (m, g) => {
      if (m !== null) {
        f(p, m);
        return;
      }
      const v = g.map((y) => ({
        dirent: y,
        name: y.name,
        path: h.joinPathSegments(c, y.name, d.pathSegmentSeparator)
      }));
      if (!d.followSymbolicLinks) {
        o(p, v);
        return;
      }
      r(v.map((y) => l(y, d)), (y, w) => {
        if (y !== null) {
          f(p, y);
          return;
        }
        o(p, w);
      });
    });
  }
  e.readdirWithFileTypes = n;
  function l(c, d) {
    return (p) => {
      if (!c.dirent.isSymbolicLink()) {
        p(null, c);
        return;
      }
      d.fs.stat(c.path, (m, g) => {
        if (m !== null) {
          if (d.throwErrorOnBrokenSymbolicLink) {
            p(m);
            return;
          }
          p(null, c);
          return;
        }
        c.dirent = s.fs.createDirentFromStats(c.name, g), p(null, c);
      });
    };
  }
  function u(c, d, p) {
    d.fs.readdir(c, (m, g) => {
      if (m !== null) {
        f(p, m);
        return;
      }
      r(g.map((v) => {
        const y = h.joinPathSegments(c, v, d.pathSegmentSeparator);
        return (w) => {
          t.stat(y, d.fsStatSettings, (_, b) => {
            if (_ !== null) {
              w(_);
              return;
            }
            const E = {
              name: v,
              path: y,
              dirent: s.fs.createDirentFromStats(v, b)
            };
            d.stats && (E.stats = b), w(null, E);
          });
        };
      }), (v, y) => {
        if (v !== null) {
          f(p, v);
          return;
        }
        o(p, y);
      });
    });
  }
  e.readdir = u;
  function f(c, d) {
    c(d);
  }
  function o(c, d) {
    c(null, d);
  }
})), mI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.readdir = e.readdirWithFileTypes = e.read = void 0;
  var t = Ti(), r = $g(), i = xg(), s = Bg();
  function h(l, u) {
    return !u.stats && r.IS_SUPPORT_READDIR_WITH_FILE_TYPES ? a(l, u) : n(l, u);
  }
  e.read = h;
  function a(l, u) {
    return u.fs.readdirSync(l, { withFileTypes: !0 }).map((f) => {
      const o = {
        dirent: f,
        name: f.name,
        path: s.joinPathSegments(l, f.name, u.pathSegmentSeparator)
      };
      if (o.dirent.isSymbolicLink() && u.followSymbolicLinks) try {
        const c = u.fs.statSync(o.path);
        o.dirent = i.fs.createDirentFromStats(o.name, c);
      } catch (c) {
        if (u.throwErrorOnBrokenSymbolicLink) throw c;
      }
      return o;
    });
  }
  e.readdirWithFileTypes = a;
  function n(l, u) {
    return u.fs.readdirSync(l).map((f) => {
      const o = s.joinPathSegments(l, f, u.pathSegmentSeparator), c = t.statSync(o, u.fsStatSettings), d = {
        name: f,
        path: o,
        dirent: i.fs.createDirentFromStats(f, c)
      };
      return u.stats && (d.stats = c), d;
    });
  }
  e.readdir = n;
})), vI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.createFileSystemAdapter = e.FILE_SYSTEM_ADAPTER = void 0;
  var t = ve("fs");
  e.FILE_SYSTEM_ADAPTER = {
    lstat: t.lstat,
    stat: t.stat,
    lstatSync: t.lstatSync,
    statSync: t.statSync,
    readdir: t.readdir,
    readdirSync: t.readdirSync
  };
  function r(i) {
    return i === void 0 ? e.FILE_SYSTEM_ADAPTER : Object.assign(Object.assign({}, e.FILE_SYSTEM_ADAPTER), i);
  }
  e.createFileSystemAdapter = r;
})), yI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = ve("path"), r = Ti(), i = vI(), s = class {
    constructor(h = {}) {
      this._options = h, this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, !1), this.fs = i.createFileSystemAdapter(this._options.fs), this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, t.sep), this.stats = this._getValue(this._options.stats, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !0), this.fsStatSettings = new r.Settings({
        followSymbolicLink: this.followSymbolicLinks,
        fs: this.fs,
        throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink
      });
    }
    _getValue(h, a) {
      return h ?? a;
    }
  };
  e.default = s;
})), Cl = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Settings = e.scandirSync = e.scandir = void 0;
  var t = gI(), r = mI(), i = yI();
  e.Settings = i.default;
  function s(n, l, u) {
    if (typeof l == "function") {
      t.read(n, a(), l);
      return;
    }
    t.read(n, a(l), u);
  }
  e.scandir = s;
  function h(n, l) {
    const u = a(l);
    return r.read(n, u);
  }
  e.scandirSync = h;
  function a(n = {}) {
    return n instanceof i.default ? n : new i.default(n);
  }
})), _I = /* @__PURE__ */ j(((e, t) => {
  function r(i) {
    var s = new i(), h = s;
    function a() {
      var l = s;
      return l.next ? s = l.next : (s = new i(), h = s), l.next = null, l;
    }
    function n(l) {
      h.next = l, h = l;
    }
    return {
      get: a,
      release: n
    };
  }
  t.exports = r;
})), EI = /* @__PURE__ */ j(((e, t) => {
  var r = _I();
  function i(n, l, u) {
    if (typeof n == "function" && (u = l, l = n, n = null), !(u >= 1)) throw new Error("fastqueue concurrency must be equal to or greater than 1");
    var f = r(h), o = null, c = null, d = 0, p = null, m = {
      push: E,
      drain: s,
      saturated: s,
      pause: v,
      paused: !1,
      get concurrency() {
        return u;
      },
      set concurrency(z) {
        if (!(z >= 1)) throw new Error("fastqueue concurrency must be equal to or greater than 1");
        if (u = z, !m.paused)
          for (; o && d < u; )
            d++, S();
      },
      running: g,
      resume: _,
      idle: b,
      length: y,
      getQueue: w,
      unshift: D,
      empty: s,
      kill: C,
      killAndDrain: T,
      error: $,
      abort: U
    };
    return m;
    function g() {
      return d;
    }
    function v() {
      m.paused = !0;
    }
    function y() {
      for (var z = o, Y = 0; z; )
        z = z.next, Y++;
      return Y;
    }
    function w() {
      for (var z = o, Y = []; z; )
        Y.push(z.value), z = z.next;
      return Y;
    }
    function _() {
      if (m.paused) {
        if (m.paused = !1, o === null) {
          d++, S();
          return;
        }
        for (; o && d < u; )
          d++, S();
      }
    }
    function b() {
      return d === 0 && m.length() === 0;
    }
    function E(z, Y) {
      var H = f.get();
      H.context = n, H.release = S, H.value = z, H.callback = Y || s, H.errorHandler = p, d >= u || m.paused ? c ? (c.next = H, c = H) : (o = H, c = H, m.saturated()) : (d++, l.call(n, H.value, H.worked));
    }
    function D(z, Y) {
      var H = f.get();
      H.context = n, H.release = S, H.value = z, H.callback = Y || s, H.errorHandler = p, d >= u || m.paused ? o ? (H.next = o, o = H) : (o = H, c = H, m.saturated()) : (d++, l.call(n, H.value, H.worked));
    }
    function S(z) {
      z && f.release(z);
      var Y = o;
      Y && d <= u ? m.paused ? d-- : (c === o && (c = null), o = Y.next, Y.next = null, l.call(n, Y.value, Y.worked), c === null && m.empty()) : --d === 0 && m.drain();
    }
    function C() {
      o = null, c = null, m.drain = s;
    }
    function T() {
      o = null, c = null, m.drain(), m.drain = s;
    }
    function U() {
      var z = o;
      for (o = null, c = null; z; ) {
        var Y = z.next, H = z.callback, k = z.errorHandler, F = z.value, q = z.context;
        z.value = null, z.callback = s, z.errorHandler = null, k && k(/* @__PURE__ */ new Error("abort"), F), H.call(q, /* @__PURE__ */ new Error("abort")), z.release(z), z = Y;
      }
      m.drain = s;
    }
    function $(z) {
      p = z;
    }
  }
  function s() {
  }
  function h() {
    this.value = null, this.callback = s, this.next = null, this.release = s, this.context = null, this.errorHandler = null;
    var n = this;
    this.worked = function(u, f) {
      var o = n.callback, c = n.errorHandler, d = n.value;
      n.value = null, n.callback = s, n.errorHandler && c(u, d), o.call(n.context, u, f), n.release(n);
    };
  }
  function a(n, l, u) {
    typeof n == "function" && (u = l, l = n, n = null);
    function f(v, y) {
      l.call(this, v).then(function(w) {
        y(null, w);
      }, y);
    }
    var o = i(n, f, u), c = o.push, d = o.unshift;
    return o.push = p, o.unshift = m, o.drained = g, o;
    function p(v) {
      var y = new Promise(function(w, _) {
        c(v, function(b, E) {
          if (b) {
            _(b);
            return;
          }
          w(E);
        });
      });
      return y.catch(s), y;
    }
    function m(v) {
      var y = new Promise(function(w, _) {
        d(v, function(b, E) {
          if (b) {
            _(b);
            return;
          }
          w(E);
        });
      });
      return y.catch(s), y;
    }
    function g() {
      return new Promise(function(v) {
        process.nextTick(function() {
          if (o.idle()) v();
          else {
            var y = o.drain;
            o.drain = function() {
              typeof y == "function" && y(), v(), o.drain = y;
            };
          }
        });
      });
    }
  }
  t.exports = i, t.exports.promise = a;
})), Tl = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.joinPathSegments = e.replacePathSegmentSeparator = e.isAppliedFilter = e.isFatalError = void 0;
  function t(h, a) {
    return h.errorFilter === null ? !0 : !h.errorFilter(a);
  }
  e.isFatalError = t;
  function r(h, a) {
    return h === null || h(a);
  }
  e.isAppliedFilter = r;
  function i(h, a) {
    return h.split(/[/\\]/).join(a);
  }
  e.replacePathSegmentSeparator = i;
  function s(h, a, n) {
    return h === "" ? a : h.endsWith(n) ? h + a : h + n + a;
  }
  e.joinPathSegments = s;
})), Pg = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Tl(), r = class {
    constructor(i, s) {
      this._root = i, this._settings = s, this._root = t.replacePathSegmentSeparator(i, s.pathSegmentSeparator);
    }
  };
  e.default = r;
})), Mg = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = ve("events"), r = Cl(), i = EI(), s = Tl(), h = Pg(), a = class extends h.default {
    constructor(n, l) {
      super(n, l), this._settings = l, this._scandir = r.scandir, this._emitter = new t.EventEmitter(), this._queue = i(this._worker.bind(this), this._settings.concurrency), this._isFatalError = !1, this._isDestroyed = !1, this._queue.drain = () => {
        this._isFatalError || this._emitter.emit("end");
      };
    }
    read() {
      return this._isFatalError = !1, this._isDestroyed = !1, setImmediate(() => {
        this._pushToQueue(this._root, this._settings.basePath);
      }), this._emitter;
    }
    get isDestroyed() {
      return this._isDestroyed;
    }
    destroy() {
      if (this._isDestroyed) throw new Error("The reader is already destroyed");
      this._isDestroyed = !0, this._queue.killAndDrain();
    }
    onEntry(n) {
      this._emitter.on("entry", n);
    }
    onError(n) {
      this._emitter.once("error", n);
    }
    onEnd(n) {
      this._emitter.once("end", n);
    }
    _pushToQueue(n, l) {
      const u = {
        directory: n,
        base: l
      };
      this._queue.push(u, (f) => {
        f !== null && this._handleError(f);
      });
    }
    _worker(n, l) {
      this._scandir(n.directory, this._settings.fsScandirSettings, (u, f) => {
        if (u !== null) {
          l(u, void 0);
          return;
        }
        for (const o of f) this._handleEntry(o, n.base);
        l(null, void 0);
      });
    }
    _handleError(n) {
      this._isDestroyed || !s.isFatalError(this._settings, n) || (this._isFatalError = !0, this._isDestroyed = !0, this._emitter.emit("error", n));
    }
    _handleEntry(n, l) {
      if (this._isDestroyed || this._isFatalError) return;
      const u = n.path;
      l !== void 0 && (n.path = s.joinPathSegments(l, n.name, this._settings.pathSegmentSeparator)), s.isAppliedFilter(this._settings.entryFilter, n) && this._emitEntry(n), n.dirent.isDirectory() && s.isAppliedFilter(this._settings.deepFilter, n) && this._pushToQueue(u, l === void 0 ? void 0 : n.path);
    }
    _emitEntry(n) {
      this._emitter.emit("entry", n);
    }
  };
  e.default = a;
})), bI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Mg(), r = class {
    constructor(h, a) {
      this._root = h, this._settings = a, this._reader = new t.default(this._root, this._settings), this._storage = [];
    }
    read(h) {
      this._reader.onError((a) => {
        i(h, a);
      }), this._reader.onEntry((a) => {
        this._storage.push(a);
      }), this._reader.onEnd(() => {
        s(h, this._storage);
      }), this._reader.read();
    }
  };
  e.default = r;
  function i(h, a) {
    h(a);
  }
  function s(h, a) {
    h(null, a);
  }
})), wI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = ve("stream"), r = Mg(), i = class {
    constructor(s, h) {
      this._root = s, this._settings = h, this._reader = new r.default(this._root, this._settings), this._stream = new t.Readable({
        objectMode: !0,
        read: () => {
        },
        destroy: () => {
          this._reader.isDestroyed || this._reader.destroy();
        }
      });
    }
    read() {
      return this._reader.onError((s) => {
        this._stream.emit("error", s);
      }), this._reader.onEntry((s) => {
        this._stream.push(s);
      }), this._reader.onEnd(() => {
        this._stream.push(null);
      }), this._reader.read(), this._stream;
    }
  };
  e.default = i;
})), DI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Cl(), r = Tl(), i = Pg(), s = class extends i.default {
    constructor() {
      super(...arguments), this._scandir = t.scandirSync, this._storage = [], this._queue = /* @__PURE__ */ new Set();
    }
    read() {
      return this._pushToQueue(this._root, this._settings.basePath), this._handleQueue(), this._storage;
    }
    _pushToQueue(h, a) {
      this._queue.add({
        directory: h,
        base: a
      });
    }
    _handleQueue() {
      for (const h of this._queue.values()) this._handleDirectory(h.directory, h.base);
    }
    _handleDirectory(h, a) {
      try {
        const n = this._scandir(h, this._settings.fsScandirSettings);
        for (const l of n) this._handleEntry(l, a);
      } catch (n) {
        this._handleError(n);
      }
    }
    _handleError(h) {
      if (r.isFatalError(this._settings, h))
        throw h;
    }
    _handleEntry(h, a) {
      const n = h.path;
      a !== void 0 && (h.path = r.joinPathSegments(a, h.name, this._settings.pathSegmentSeparator)), r.isAppliedFilter(this._settings.entryFilter, h) && this._pushToStorage(h), h.dirent.isDirectory() && r.isAppliedFilter(this._settings.deepFilter, h) && this._pushToQueue(n, a === void 0 ? void 0 : h.path);
    }
    _pushToStorage(h) {
      this._storage.push(h);
    }
  };
  e.default = s;
})), AI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = DI(), r = class {
    constructor(i, s) {
      this._root = i, this._settings = s, this._reader = new t.default(this._root, this._settings);
    }
    read() {
      return this._reader.read();
    }
  };
  e.default = r;
})), SI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = ve("path"), r = Cl(), i = class {
    constructor(s = {}) {
      this._options = s, this.basePath = this._getValue(this._options.basePath, void 0), this.concurrency = this._getValue(this._options.concurrency, Number.POSITIVE_INFINITY), this.deepFilter = this._getValue(this._options.deepFilter, null), this.entryFilter = this._getValue(this._options.entryFilter, null), this.errorFilter = this._getValue(this._options.errorFilter, null), this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, t.sep), this.fsScandirSettings = new r.Settings({
        followSymbolicLinks: this._options.followSymbolicLinks,
        fs: this._options.fs,
        pathSegmentSeparator: this._options.pathSegmentSeparator,
        stats: this._options.stats,
        throwErrorOnBrokenSymbolicLink: this._options.throwErrorOnBrokenSymbolicLink
      });
    }
    _getValue(s, h) {
      return s ?? h;
    }
  };
  e.default = i;
})), Rl = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Settings = e.walkStream = e.walkSync = e.walk = void 0;
  var t = bI(), r = wI(), i = AI(), s = SI();
  e.Settings = s.default;
  function h(u, f, o) {
    if (typeof f == "function") {
      new t.default(u, l()).read(f);
      return;
    }
    new t.default(u, l(f)).read(o);
  }
  e.walk = h;
  function a(u, f) {
    const o = l(f);
    return new i.default(u, o).read();
  }
  e.walkSync = a;
  function n(u, f) {
    const o = l(f);
    return new r.default(u, o).read();
  }
  e.walkStream = n;
  function l(u = {}) {
    return u instanceof s.default ? u : new s.default(u);
  }
})), Ol = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = ve("path"), r = Ti(), i = Lr(), s = class {
    constructor(h) {
      this._settings = h, this._fsStatSettings = new r.Settings({
        followSymbolicLink: this._settings.followSymbolicLinks,
        fs: this._settings.fs,
        throwErrorOnBrokenSymbolicLink: this._settings.followSymbolicLinks
      });
    }
    _getFullEntryPath(h) {
      return t.resolve(this._settings.cwd, h);
    }
    _makeEntry(h, a) {
      const n = {
        name: a,
        path: a,
        dirent: i.fs.createDirentFromStats(a, h)
      };
      return this._settings.stats && (n.stats = h), n;
    }
    _isFatalError(h) {
      return !i.errno.isEnoentCodeError(h) && !this._settings.suppressErrors;
    }
  };
  e.default = s;
})), jg = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = ve("stream"), r = Ti(), i = Rl(), s = Ol(), h = class extends s.default {
    constructor() {
      super(...arguments), this._walkStream = i.walkStream, this._stat = r.stat;
    }
    dynamic(a, n) {
      return this._walkStream(a, n);
    }
    static(a, n) {
      const l = a.map(this._getFullEntryPath, this), u = new t.PassThrough({ objectMode: !0 });
      u._write = (f, o, c) => this._getEntry(l[f], a[f], n).then((d) => {
        d !== null && n.entryFilter(d) && u.push(d), f === l.length - 1 && u.end(), c();
      }).catch(c);
      for (let f = 0; f < l.length; f++) u.write(f);
      return u;
    }
    _getEntry(a, n, l) {
      return this._getStat(a).then((u) => this._makeEntry(u, n)).catch((u) => {
        if (l.errorFilter(u)) return null;
        throw u;
      });
    }
    _getStat(a) {
      return new Promise((n, l) => {
        this._stat(a, this._fsStatSettings, (u, f) => u === null ? n(f) : l(u));
      });
    }
  };
  e.default = h;
})), CI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Rl(), r = Ol(), i = jg(), s = class extends r.default {
    constructor() {
      super(...arguments), this._walkAsync = t.walk, this._readerStream = new i.default(this._settings);
    }
    dynamic(h, a) {
      return new Promise((n, l) => {
        this._walkAsync(h, a, (u, f) => {
          u === null ? n(f) : l(u);
        });
      });
    }
    async static(h, a) {
      const n = [], l = this._readerStream.static(h, a);
      return new Promise((u, f) => {
        l.once("error", f), l.on("data", (o) => n.push(o)), l.once("end", () => u(n));
      });
    }
  };
  e.default = s;
})), TI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Lr(), r = class {
    constructor(i, s, h) {
      this._patterns = i, this._settings = s, this._micromatchOptions = h, this._storage = [], this._fillStorage();
    }
    _fillStorage() {
      for (const i of this._patterns) {
        const s = this._getPatternSegments(i), h = this._splitSegmentsIntoSections(s);
        this._storage.push({
          complete: h.length <= 1,
          pattern: i,
          segments: s,
          sections: h
        });
      }
    }
    _getPatternSegments(i) {
      return t.pattern.getPatternParts(i, this._micromatchOptions).map((s) => t.pattern.isDynamicPattern(s, this._settings) ? {
        dynamic: !0,
        pattern: s,
        patternRe: t.pattern.makeRe(s, this._micromatchOptions)
      } : {
        dynamic: !1,
        pattern: s
      });
    }
    _splitSegmentsIntoSections(i) {
      return t.array.splitWhen(i, (s) => s.dynamic && t.pattern.hasGlobStar(s.pattern));
    }
  };
  e.default = r;
})), RI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = TI(), r = class extends t.default {
    match(i) {
      const s = i.split("/"), h = s.length, a = this._storage.filter((n) => !n.complete || n.segments.length > h);
      for (const n of a) {
        const l = n.sections[0];
        if (!n.complete && h > l.length || s.every((u, f) => {
          const o = n.segments[f];
          return !!(o.dynamic && o.patternRe.test(u) || !o.dynamic && o.pattern === u);
        })) return !0;
      }
      return !1;
    }
  };
  e.default = r;
})), OI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Lr(), r = RI(), i = class {
    constructor(s, h) {
      this._settings = s, this._micromatchOptions = h;
    }
    getFilter(s, h, a) {
      const n = this._getMatcher(h), l = this._getNegativePatternsRe(a);
      return (u) => this._filter(s, u, n, l);
    }
    _getMatcher(s) {
      return new r.default(s, this._settings, this._micromatchOptions);
    }
    _getNegativePatternsRe(s) {
      const h = s.filter(t.pattern.isAffectDepthOfReadingPattern);
      return t.pattern.convertPatternsToRe(h, this._micromatchOptions);
    }
    _filter(s, h, a, n) {
      if (this._isSkippedByDeep(s, h.path) || this._isSkippedSymbolicLink(h)) return !1;
      const l = t.path.removeLeadingDotSegment(h.path);
      return this._isSkippedByPositivePatterns(l, a) ? !1 : this._isSkippedByNegativePatterns(l, n);
    }
    _isSkippedByDeep(s, h) {
      return this._settings.deep === 1 / 0 ? !1 : this._getEntryLevel(s, h) >= this._settings.deep;
    }
    _getEntryLevel(s, h) {
      const a = h.split("/").length;
      return s === "" ? a : a - s.split("/").length;
    }
    _isSkippedSymbolicLink(s) {
      return !this._settings.followSymbolicLinks && s.dirent.isSymbolicLink();
    }
    _isSkippedByPositivePatterns(s, h) {
      return !this._settings.baseNameMatch && !h.match(s);
    }
    _isSkippedByNegativePatterns(s, h) {
      return !t.pattern.matchAny(s, h);
    }
  };
  e.default = i;
})), II = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Lr(), r = class {
    constructor(i, s) {
      this._settings = i, this._micromatchOptions = s, this.index = /* @__PURE__ */ new Map();
    }
    getFilter(i, s) {
      const [h, a] = t.pattern.partitionAbsoluteAndRelative(s), n = {
        positive: { all: t.pattern.convertPatternsToRe(i, this._micromatchOptions) },
        negative: {
          absolute: t.pattern.convertPatternsToRe(h, Object.assign(Object.assign({}, this._micromatchOptions), { dot: !0 })),
          relative: t.pattern.convertPatternsToRe(a, Object.assign(Object.assign({}, this._micromatchOptions), { dot: !0 }))
        }
      };
      return (l) => this._filter(l, n);
    }
    _filter(i, s) {
      const h = t.path.removeLeadingDotSegment(i.path);
      if (this._settings.unique && this._isDuplicateEntry(h) || this._onlyFileFilter(i) || this._onlyDirectoryFilter(i)) return !1;
      const a = this._isMatchToPatternsSet(h, s, i.dirent.isDirectory());
      return this._settings.unique && a && this._createIndexRecord(h), a;
    }
    _isDuplicateEntry(i) {
      return this.index.has(i);
    }
    _createIndexRecord(i) {
      this.index.set(i, void 0);
    }
    _onlyFileFilter(i) {
      return this._settings.onlyFiles && !i.dirent.isFile();
    }
    _onlyDirectoryFilter(i) {
      return this._settings.onlyDirectories && !i.dirent.isDirectory();
    }
    _isMatchToPatternsSet(i, s, h) {
      return !(!this._isMatchToPatterns(i, s.positive.all, h) || this._isMatchToPatterns(i, s.negative.relative, h) || this._isMatchToAbsoluteNegative(i, s.negative.absolute, h));
    }
    _isMatchToAbsoluteNegative(i, s, h) {
      if (s.length === 0) return !1;
      const a = t.path.makeAbsolute(this._settings.cwd, i);
      return this._isMatchToPatterns(a, s, h);
    }
    _isMatchToPatterns(i, s, h) {
      if (s.length === 0) return !1;
      const a = t.pattern.matchAny(i, s);
      return !a && h ? t.pattern.matchAny(i + "/", s) : a;
    }
  };
  e.default = r;
})), kI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Lr(), r = class {
    constructor(i) {
      this._settings = i;
    }
    getFilter() {
      return (i) => this._isNonFatalError(i);
    }
    _isNonFatalError(i) {
      return t.errno.isEnoentCodeError(i) || this._settings.suppressErrors;
    }
  };
  e.default = r;
})), LI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Lr(), r = class {
    constructor(i) {
      this._settings = i;
    }
    getTransformer() {
      return (i) => this._transform(i);
    }
    _transform(i) {
      let s = i.path;
      return this._settings.absolute && (s = t.path.makeAbsolute(this._settings.cwd, s), s = t.path.unixify(s)), this._settings.markDirectories && i.dirent.isDirectory() && (s += "/"), this._settings.objectMode ? Object.assign(Object.assign({}, i), { path: s }) : s;
    }
  };
  e.default = r;
})), Il = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = ve("path"), r = OI(), i = II(), s = kI(), h = LI(), a = class {
    constructor(n) {
      this._settings = n, this.errorFilter = new s.default(this._settings), this.entryFilter = new i.default(this._settings, this._getMicromatchOptions()), this.deepFilter = new r.default(this._settings, this._getMicromatchOptions()), this.entryTransformer = new h.default(this._settings);
    }
    _getRootDirectory(n) {
      return t.resolve(this._settings.cwd, n.base);
    }
    _getReaderOptions(n) {
      const l = n.base === "." ? "" : n.base;
      return {
        basePath: l,
        pathSegmentSeparator: "/",
        concurrency: this._settings.concurrency,
        deepFilter: this.deepFilter.getFilter(l, n.positive, n.negative),
        entryFilter: this.entryFilter.getFilter(n.positive, n.negative),
        errorFilter: this.errorFilter.getFilter(),
        followSymbolicLinks: this._settings.followSymbolicLinks,
        fs: this._settings.fs,
        stats: this._settings.stats,
        throwErrorOnBrokenSymbolicLink: this._settings.throwErrorOnBrokenSymbolicLink,
        transform: this.entryTransformer.getTransformer()
      };
    }
    _getMicromatchOptions() {
      return {
        dot: this._settings.dot,
        matchBase: this._settings.baseNameMatch,
        nobrace: !this._settings.braceExpansion,
        nocase: !this._settings.caseSensitiveMatch,
        noext: !this._settings.extglob,
        noglobstar: !this._settings.globstar,
        posix: !0,
        strictSlashes: !1
      };
    }
  };
  e.default = a;
})), FI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = CI(), r = Il(), i = class extends r.default {
    constructor() {
      super(...arguments), this._reader = new t.default(this._settings);
    }
    async read(s) {
      const h = this._getRootDirectory(s), a = this._getReaderOptions(s);
      return (await this.api(h, s, a)).map((n) => a.transform(n));
    }
    api(s, h, a) {
      return h.dynamic ? this._reader.dynamic(s, a) : this._reader.static(h.patterns, a);
    }
  };
  e.default = i;
})), NI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = ve("stream"), r = jg(), i = Il(), s = class extends i.default {
    constructor() {
      super(...arguments), this._reader = new r.default(this._settings);
    }
    read(h) {
      const a = this._getRootDirectory(h), n = this._getReaderOptions(h), l = this.api(a, h, n), u = new t.Readable({
        objectMode: !0,
        read: () => {
        }
      });
      return l.once("error", (f) => u.emit("error", f)).on("data", (f) => u.emit("data", n.transform(f))).once("end", () => u.emit("end")), u.once("close", () => l.destroy()), u;
    }
    api(h, a, n) {
      return a.dynamic ? this._reader.dynamic(h, n) : this._reader.static(a.patterns, n);
    }
  };
  e.default = s;
})), $I = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Ti(), r = Rl(), i = Ol(), s = class extends i.default {
    constructor() {
      super(...arguments), this._walkSync = r.walkSync, this._statSync = t.statSync;
    }
    dynamic(h, a) {
      return this._walkSync(h, a);
    }
    static(h, a) {
      const n = [];
      for (const l of h) {
        const u = this._getFullEntryPath(l), f = this._getEntry(u, l, a);
        f === null || !a.entryFilter(f) || n.push(f);
      }
      return n;
    }
    _getEntry(h, a, n) {
      try {
        const l = this._getStat(h);
        return this._makeEntry(l, a);
      } catch (l) {
        if (n.errorFilter(l)) return null;
        throw l;
      }
    }
    _getStat(h) {
      return this._statSync(h, this._fsStatSettings);
    }
  };
  e.default = s;
})), xI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = $I(), r = Il(), i = class extends r.default {
    constructor() {
      super(...arguments), this._reader = new t.default(this._settings);
    }
    read(s) {
      const h = this._getRootDirectory(s), a = this._getReaderOptions(s);
      return this.api(h, s, a).map(a.transform);
    }
    api(s, h, a) {
      return h.dynamic ? this._reader.dynamic(s, a) : this._reader.static(h.patterns, a);
    }
  };
  e.default = i;
})), BI = /* @__PURE__ */ j(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
  var t = ve("fs"), r = ve("os"), i = Math.max(r.cpus().length, 1);
  e.DEFAULT_FILE_SYSTEM_ADAPTER = {
    lstat: t.lstat,
    lstatSync: t.lstatSync,
    stat: t.stat,
    statSync: t.statSync,
    readdir: t.readdir,
    readdirSync: t.readdirSync
  };
  var s = class {
    constructor(h = {}) {
      this._options = h, this.absolute = this._getValue(this._options.absolute, !1), this.baseNameMatch = this._getValue(this._options.baseNameMatch, !1), this.braceExpansion = this._getValue(this._options.braceExpansion, !0), this.caseSensitiveMatch = this._getValue(this._options.caseSensitiveMatch, !0), this.concurrency = this._getValue(this._options.concurrency, i), this.cwd = this._getValue(this._options.cwd, process.cwd()), this.deep = this._getValue(this._options.deep, 1 / 0), this.dot = this._getValue(this._options.dot, !1), this.extglob = this._getValue(this._options.extglob, !0), this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, !0), this.fs = this._getFileSystemMethods(this._options.fs), this.globstar = this._getValue(this._options.globstar, !0), this.ignore = this._getValue(this._options.ignore, []), this.markDirectories = this._getValue(this._options.markDirectories, !1), this.objectMode = this._getValue(this._options.objectMode, !1), this.onlyDirectories = this._getValue(this._options.onlyDirectories, !1), this.onlyFiles = this._getValue(this._options.onlyFiles, !0), this.stats = this._getValue(this._options.stats, !1), this.suppressErrors = this._getValue(this._options.suppressErrors, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !1), this.unique = this._getValue(this._options.unique, !0), this.onlyDirectories && (this.onlyFiles = !1), this.stats && (this.objectMode = !0), this.ignore = [].concat(this.ignore);
    }
    _getValue(h, a) {
      return h === void 0 ? a : h;
    }
    _getFileSystemMethods(h = {}) {
      return Object.assign(Object.assign({}, e.DEFAULT_FILE_SYSTEM_ADAPTER), h);
    }
  };
  e.default = s;
})), PI = /* @__PURE__ */ j(((e, t) => {
  var r = oI(), i = FI(), s = NI(), h = xI(), a = BI(), n = Lr();
  async function l(o, c) {
    f(o);
    const d = u(o, i.default, c), p = await Promise.all(d);
    return n.array.flatten(p);
  }
  (function(o) {
    o.glob = o, o.globSync = c, o.globStream = d, o.async = o;
    function c(y, w) {
      f(y);
      const _ = u(y, h.default, w);
      return n.array.flatten(_);
    }
    o.sync = c;
    function d(y, w) {
      f(y);
      const _ = u(y, s.default, w);
      return n.stream.merge(_);
    }
    o.stream = d;
    function p(y, w) {
      f(y);
      const _ = [].concat(y), b = new a.default(w);
      return r.generate(_, b);
    }
    o.generateTasks = p;
    function m(y, w) {
      f(y);
      const _ = new a.default(w);
      return n.pattern.isDynamicPattern(y, _);
    }
    o.isDynamicPattern = m;
    function g(y) {
      return f(y), n.path.escape(y);
    }
    o.escapePath = g;
    function v(y) {
      return f(y), n.path.convertPathToPattern(y);
    }
    o.convertPathToPattern = v, (function(y) {
      function w(b) {
        return f(b), n.path.escapePosixPath(b);
      }
      y.escapePath = w;
      function _(b) {
        return f(b), n.path.convertPosixPathToPattern(b);
      }
      y.convertPathToPattern = _;
    })(o.posix || (o.posix = {})), (function(y) {
      function w(b) {
        return f(b), n.path.escapeWindowsPath(b);
      }
      y.escapePath = w;
      function _(b) {
        return f(b), n.path.convertWindowsPathToPattern(b);
      }
      y.convertPathToPattern = _;
    })(o.win32 || (o.win32 = {}));
  })(l || (l = {}));
  function u(o, c, d) {
    const p = [].concat(o), m = new a.default(d), g = r.generate(p, m), v = new c(m);
    return g.map(v.read, v);
  }
  function f(o) {
    if (![].concat(o).every((c) => n.string.isString(c) && !n.string.isEmpty(c))) throw new TypeError("Patterns must be a string (non empty) or an array of strings");
  }
  t.exports = l;
})), Ug = /* @__PURE__ */ zt(PI(), 1), Hg = { ignore: ["**/node_modules/**"] }, qg = async (e) => {
  const t = Ye.join(Ye.dirname(e), "pnpm-workspace.yaml");
  let r;
  try {
    r = await it.readFile(t, "utf-8");
  } catch {
    return null;
  }
  return tn.load(r);
}, MI = async (e) => {
  const t = Ye.join(Ye.dirname(e), ".yarnrc.yml");
  let r;
  try {
    r = await it.readFile(t, "utf-8");
  } catch {
    return null;
  }
  return tn.load(r);
}, jI = async (e, t) => {
  const r = {};
  if (e.packageManager === "pnpm") {
    const s = await qg(t);
    s && !Array.isArray(s) && (s.catalog && Object.assign(r, s.catalog), s.catalogs && Object.assign(r, ...Object.values(s.catalogs)));
  }
  if (e.packageManager === "yarn") {
    const s = await MI(t);
    s && (s.catalog && Object.assign(r, s.catalog), s.catalogs && Object.assign(r, ...Object.values(s.catalogs)));
  }
  const i = JSON.parse(await it.readFile(t, "utf-8"));
  return Object.assign(r, i.catalog, ...Object.values(i.catalogs ?? {})), i.workspaces && !Array.isArray(i.workspaces) && Object.assign(r, i.workspaces.catalog, ...Object.values(i.workspaces.catalogs ?? {})), Object.keys(r).length > 0 ? r : null;
};
async function UI(e, t, r, i) {
  const { pkgData: s, pkgPath: h } = await ss({
    ...e,
    packageFile: r,
    loglevel: "silent"
  }), a = (typeof s == "string" ? JSON.parse(s) : s).workspaces || await qg(h || ""), n = Array.isArray(a) ? a : a?.packages;
  n || Qe(e, `workspaces property missing from package.json. --workspace${e.workspaces ? "s" : ""} only works when you specify a "workspaces" property in your package.json.`);
  const l = (n || []).map((c) => Ye.join(i, c, "package.json").replace(/\\/g, "/")), u = Ug.default.sync(l, Hg), f = await Promise.all(u.map(async (c) => {
    const d = await gl(e, c);
    return d.name = d.pkg.name || c.split("/").slice(-2)[0], d;
  })), o = f.map((c) => c.name || "");
  return e.workspaces === !0 ? [f, o] : [f.filter((c) => e.workspace?.some((d) => n?.some((p) => c.name === d || c.filepath === Ye.join(i, Ye.dirname(p), d, t).replace(/\\/g, "/")))), o];
}
async function HI(e, t) {
  if (!t) return null;
  const r = await jI(e, t);
  if (!r) return null;
  const i = {
    name: "catalog-dependencies",
    version: "1.0.0",
    dependencies: r
  };
  return {
    filepath: e.packageManager === "pnpm" ? Ye.join(Ye.dirname(t), "pnpm-workspace.yaml") : e.packageManager === "yarn" ? Ye.join(Ye.dirname(t), ".yarnrc.yml") : `${t}#catalog`,
    pkg: i,
    pkgFile: JSON.stringify(i, null, 2),
    name: "catalogs"
  };
}
async function qI(e) {
  const t = e.packageFile || "package.json", r = e.cwd ? Cd(e.cwd) : "./", i = e.packageFile || (e.cwd ? Ye.join(r, "package.json") : "package.json"), s = e.workspaces === !0 || e.workspace !== void 0 && e.workspace.length !== 0;
  let h = [];
  if (!s || e.root === !0) {
    const u = i.replace(/\\/g, "/"), f = Ug.default.sync(u, Hg), o = await Promise.all(f.map(async (c) => await gl(e, c)));
    h = [...h, ...o];
  }
  if (!s) return [h, []];
  let a = null;
  if (s) {
    const { pkgPath: u } = await ss({
      ...e,
      packageFile: i,
      loglevel: "silent"
    });
    u && (a = await HI(e, u));
  }
  const [n, l] = await UI(e, t, i, r);
  return h = [...h, ...n], a && (h = [...h, a]), [h, l];
}
var zI = /* @__PURE__ */ j(((e, t) => {
  var r = ve("module"), i = ve("path");
  t.exports = function(h, a, n) {
    if (typeof a == "object" && (n = a, a = void 0), n = n || {}, a = a || "", n.appendPaths = n.appendPaths || [], n.prependPaths = n.prependPaths || [], typeof h != "string") throw new Error("code must be a string, not " + typeof h);
    var l = r._nodeModulePaths(i.dirname(a)), u = t.parent, f = new r(a, u);
    f.filename = a, f.paths = [].concat(n.prependPaths).concat(l).concat(n.appendPaths), f._compile(h, a);
    var o = f.exports;
    return u && u.children && u.children.splice(u.children.indexOf(f), 1), o;
  };
})), GI = /* @__PURE__ */ bt({ default: () => Gg });
function eu(e, t, r) {
  const i = e[t];
  if (i != null && typeof i == "object") if (Array.isArray(i)) for (let s = 0; s < i.length; s++) {
    const h = String(s), a = eu(i, h, r);
    a === void 0 ? delete i[h] : Object.defineProperty(i, h, {
      value: a,
      writable: !0,
      enumerable: !0,
      configurable: !0
    });
  }
  else for (const s in i) {
    const h = eu(i, s, r);
    h === void 0 ? delete i[s] : Object.defineProperty(i, s, {
      value: h,
      writable: !0,
      enumerable: !0,
      configurable: !0
    });
  }
  return r.call(e, t, i);
}
function WI() {
  for (Ke = "default", We = "", ji = !1, dr = 1; ; ) {
    Ze = gr();
    const e = nu[Ke]();
    if (e) return e;
  }
}
function gr() {
  if (ru[os]) return String.fromCodePoint(ru.codePointAt(os));
}
function Ie() {
  const e = gr();
  return e === `
` ? (Sr++, Qt = 0) : e ? Qt += e.length : Qt++, e && (os += e.length), e;
}
function ut(e, t) {
  return {
    type: e,
    value: t,
    line: Sr,
    column: Qt
  };
}
function Fr(e) {
  for (const t of e) {
    if (gr() !== t) throw lt(Ie());
    Ie();
  }
}
function VI() {
  switch (gr()) {
    case "b":
      return Ie(), "\b";
    case "f":
      return Ie(), "\f";
    case "n":
      return Ie(), `
`;
    case "r":
      return Ie(), "\r";
    case "t":
      return Ie(), "	";
    case "v":
      return Ie(), "\v";
    case "0":
      if (Ie(), mt.isDigit(gr())) throw lt(Ie());
      return "\0";
    case "x":
      return Ie(), YI();
    case "u":
      return Ie(), tu();
    case `
`:
    case "\u2028":
    case "\u2029":
      return Ie(), "";
    case "\r":
      return Ie(), gr() === `
` && Ie(), "";
    case "1":
    case "2":
    case "3":
    case "4":
    case "5":
    case "6":
    case "7":
    case "8":
    case "9":
      throw lt(Ie());
    case void 0:
      throw lt(Ie());
  }
  return Ie();
}
function YI() {
  let e = "", t = gr();
  if (!mt.isHexDigit(t) || (e += Ie(), t = gr(), !mt.isHexDigit(t))) throw lt(Ie());
  return e += Ie(), String.fromCodePoint(parseInt(e, 16));
}
function tu() {
  let e = "", t = 4;
  for (; t-- > 0; ) {
    const r = gr();
    if (!mt.isHexDigit(r)) throw lt(Ie());
    e += Ie();
  }
  return String.fromCodePoint(parseInt(e, 16));
}
function va() {
  let e;
  switch (Tt.type) {
    case "punctuator":
      switch (Tt.value) {
        case "{":
          e = {};
          break;
        case "[":
          e = [];
          break;
      }
      break;
    case "null":
    case "boolean":
    case "numeric":
    case "string":
      e = Tt.value;
      break;
  }
  if (zi === void 0) zi = e;
  else {
    const t = pr[pr.length - 1];
    Array.isArray(t) ? t.push(e) : Object.defineProperty(t, iu, {
      value: e,
      writable: !0,
      enumerable: !0,
      configurable: !0
    });
  }
  if (e !== null && typeof e == "object")
    pr.push(e), Array.isArray(e) ? xt = "beforeArrayValue" : xt = "beforePropertyName";
  else {
    const t = pr[pr.length - 1];
    t == null ? xt = "end" : Array.isArray(t) ? xt = "afterArrayValue" : xt = "afterPropertyValue";
  }
}
function Fn() {
  pr.pop();
  const e = pr[pr.length - 1];
  e == null ? xt = "end" : Array.isArray(e) ? xt = "afterArrayValue" : xt = "afterPropertyValue";
}
function lt(e) {
  return as(e === void 0 ? `JSON5: invalid end of input at ${Sr}:${Qt}` : `JSON5: invalid character '${zg(e)}' at ${Sr}:${Qt}`);
}
function Nr() {
  return as(`JSON5: invalid end of input at ${Sr}:${Qt}`);
}
function ph() {
  return Qt -= 5, as(`JSON5: invalid identifier character at ${Sr}:${Qt}`);
}
function KI(e) {
  console.warn(`JSON5: '${zg(e)}' in strings is not valid ECMAScript; consider escaping`);
}
function zg(e) {
  const t = {
    "'": "\\'",
    '"': '\\"',
    "\\": "\\\\",
    "\b": "\\b",
    "\f": "\\f",
    "\n": "\\n",
    "\r": "\\r",
    "	": "\\t",
    "\v": "\\v",
    "\0": "\\0",
    "\u2028": "\\u2028",
    "\u2029": "\\u2029"
  };
  if (t[e]) return t[e];
  if (e < " ") {
    const r = e.charCodeAt(0).toString(16);
    return "\\x" + ("00" + r).substring(r.length);
  }
  return e;
}
function as(e) {
  const t = new SyntaxError(e);
  return t.lineNumber = Sr, t.columnNumber = Qt, t;
}
var Nn, mt, ru, xt, pr, os, Sr, Qt, Tt, iu, zi, gh, Ke, We, ji, dr, Ze, nu, mh, Gg, ZI = qt((() => {
  Nn = {
    Space_Separator: /[\u1680\u2000-\u200A\u202F\u205F\u3000]/,
    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]/,
    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]/
  }, mt = {
    isSpaceSeparator(e) {
      return typeof e == "string" && Nn.Space_Separator.test(e);
    },
    isIdStartChar(e) {
      return typeof e == "string" && (e >= "a" && e <= "z" || e >= "A" && e <= "Z" || e === "$" || e === "_" || Nn.ID_Start.test(e));
    },
    isIdContinueChar(e) {
      return typeof e == "string" && (e >= "a" && e <= "z" || e >= "A" && e <= "Z" || e >= "0" && e <= "9" || e === "$" || e === "_" || e === "‌" || e === "‍" || Nn.ID_Continue.test(e));
    },
    isDigit(e) {
      return typeof e == "string" && /[0-9]/.test(e);
    },
    isHexDigit(e) {
      return typeof e == "string" && /[0-9A-Fa-f]/.test(e);
    }
  }, gh = function(t, r) {
    ru = String(t), xt = "start", pr = [], os = 0, Sr = 1, Qt = 0, Tt = void 0, iu = void 0, zi = void 0;
    do
      Tt = WI(), mh[xt]();
    while (Tt.type !== "eof");
    return typeof r == "function" ? eu({ "": zi }, "", r) : zi;
  }, nu = {
    default() {
      switch (Ze) {
        case "	":
        case "\v":
        case "\f":
        case " ":
        case " ":
        case "\uFEFF":
        case `
`:
        case "\r":
        case "\u2028":
        case "\u2029":
          Ie();
          return;
        case "/":
          Ie(), Ke = "comment";
          return;
        case void 0:
          return Ie(), ut("eof");
      }
      if (mt.isSpaceSeparator(Ze)) {
        Ie();
        return;
      }
      return nu[xt]();
    },
    comment() {
      switch (Ze) {
        case "*":
          Ie(), Ke = "multiLineComment";
          return;
        case "/":
          Ie(), Ke = "singleLineComment";
          return;
      }
      throw lt(Ie());
    },
    multiLineComment() {
      switch (Ze) {
        case "*":
          Ie(), Ke = "multiLineCommentAsterisk";
          return;
        case void 0:
          throw lt(Ie());
      }
      Ie();
    },
    multiLineCommentAsterisk() {
      switch (Ze) {
        case "*":
          Ie();
          return;
        case "/":
          Ie(), Ke = "default";
          return;
        case void 0:
          throw lt(Ie());
      }
      Ie(), Ke = "multiLineComment";
    },
    singleLineComment() {
      switch (Ze) {
        case `
`:
        case "\r":
        case "\u2028":
        case "\u2029":
          Ie(), Ke = "default";
          return;
        case void 0:
          return Ie(), ut("eof");
      }
      Ie();
    },
    value() {
      switch (Ze) {
        case "{":
        case "[":
          return ut("punctuator", Ie());
        case "n":
          return Ie(), Fr("ull"), ut("null", null);
        case "t":
          return Ie(), Fr("rue"), ut("boolean", !0);
        case "f":
          return Ie(), Fr("alse"), ut("boolean", !1);
        case "-":
        case "+":
          Ie() === "-" && (dr = -1), Ke = "sign";
          return;
        case ".":
          We = Ie(), Ke = "decimalPointLeading";
          return;
        case "0":
          We = Ie(), Ke = "zero";
          return;
        case "1":
        case "2":
        case "3":
        case "4":
        case "5":
        case "6":
        case "7":
        case "8":
        case "9":
          We = Ie(), Ke = "decimalInteger";
          return;
        case "I":
          return Ie(), Fr("nfinity"), ut("numeric", 1 / 0);
        case "N":
          return Ie(), Fr("aN"), ut("numeric", NaN);
        case '"':
        case "'":
          ji = Ie() === '"', We = "", Ke = "string";
          return;
      }
      throw lt(Ie());
    },
    identifierNameStartEscape() {
      if (Ze !== "u") throw lt(Ie());
      Ie();
      const e = tu();
      switch (e) {
        case "$":
        case "_":
          break;
        default:
          if (!mt.isIdStartChar(e)) throw ph();
          break;
      }
      We += e, Ke = "identifierName";
    },
    identifierName() {
      switch (Ze) {
        case "$":
        case "_":
        case "‌":
        case "‍":
          We += Ie();
          return;
        case "\\":
          Ie(), Ke = "identifierNameEscape";
          return;
      }
      if (mt.isIdContinueChar(Ze)) {
        We += Ie();
        return;
      }
      return ut("identifier", We);
    },
    identifierNameEscape() {
      if (Ze !== "u") throw lt(Ie());
      Ie();
      const e = tu();
      switch (e) {
        case "$":
        case "_":
        case "‌":
        case "‍":
          break;
        default:
          if (!mt.isIdContinueChar(e)) throw ph();
          break;
      }
      We += e, Ke = "identifierName";
    },
    sign() {
      switch (Ze) {
        case ".":
          We = Ie(), Ke = "decimalPointLeading";
          return;
        case "0":
          We = Ie(), Ke = "zero";
          return;
        case "1":
        case "2":
        case "3":
        case "4":
        case "5":
        case "6":
        case "7":
        case "8":
        case "9":
          We = Ie(), Ke = "decimalInteger";
          return;
        case "I":
          return Ie(), Fr("nfinity"), ut("numeric", dr * (1 / 0));
        case "N":
          return Ie(), Fr("aN"), ut("numeric", NaN);
      }
      throw lt(Ie());
    },
    zero() {
      switch (Ze) {
        case ".":
          We += Ie(), Ke = "decimalPoint";
          return;
        case "e":
        case "E":
          We += Ie(), Ke = "decimalExponent";
          return;
        case "x":
        case "X":
          We += Ie(), Ke = "hexadecimal";
          return;
      }
      return ut("numeric", dr * 0);
    },
    decimalInteger() {
      switch (Ze) {
        case ".":
          We += Ie(), Ke = "decimalPoint";
          return;
        case "e":
        case "E":
          We += Ie(), Ke = "decimalExponent";
          return;
      }
      if (mt.isDigit(Ze)) {
        We += Ie();
        return;
      }
      return ut("numeric", dr * Number(We));
    },
    decimalPointLeading() {
      if (mt.isDigit(Ze)) {
        We += Ie(), Ke = "decimalFraction";
        return;
      }
      throw lt(Ie());
    },
    decimalPoint() {
      switch (Ze) {
        case "e":
        case "E":
          We += Ie(), Ke = "decimalExponent";
          return;
      }
      if (mt.isDigit(Ze)) {
        We += Ie(), Ke = "decimalFraction";
        return;
      }
      return ut("numeric", dr * Number(We));
    },
    decimalFraction() {
      switch (Ze) {
        case "e":
        case "E":
          We += Ie(), Ke = "decimalExponent";
          return;
      }
      if (mt.isDigit(Ze)) {
        We += Ie();
        return;
      }
      return ut("numeric", dr * Number(We));
    },
    decimalExponent() {
      switch (Ze) {
        case "+":
        case "-":
          We += Ie(), Ke = "decimalExponentSign";
          return;
      }
      if (mt.isDigit(Ze)) {
        We += Ie(), Ke = "decimalExponentInteger";
        return;
      }
      throw lt(Ie());
    },
    decimalExponentSign() {
      if (mt.isDigit(Ze)) {
        We += Ie(), Ke = "decimalExponentInteger";
        return;
      }
      throw lt(Ie());
    },
    decimalExponentInteger() {
      if (mt.isDigit(Ze)) {
        We += Ie();
        return;
      }
      return ut("numeric", dr * Number(We));
    },
    hexadecimal() {
      if (mt.isHexDigit(Ze)) {
        We += Ie(), Ke = "hexadecimalInteger";
        return;
      }
      throw lt(Ie());
    },
    hexadecimalInteger() {
      if (mt.isHexDigit(Ze)) {
        We += Ie();
        return;
      }
      return ut("numeric", dr * Number(We));
    },
    string() {
      switch (Ze) {
        case "\\":
          Ie(), We += VI();
          return;
        case '"':
          if (ji)
            return Ie(), ut("string", We);
          We += Ie();
          return;
        case "'":
          if (!ji)
            return Ie(), ut("string", We);
          We += Ie();
          return;
        case `
`:
        case "\r":
          throw lt(Ie());
        case "\u2028":
        case "\u2029":
          KI(Ze);
          break;
        case void 0:
          throw lt(Ie());
      }
      We += Ie();
    },
    start() {
      switch (Ze) {
        case "{":
        case "[":
          return ut("punctuator", Ie());
      }
      Ke = "value";
    },
    beforePropertyName() {
      switch (Ze) {
        case "$":
        case "_":
          We = Ie(), Ke = "identifierName";
          return;
        case "\\":
          Ie(), Ke = "identifierNameStartEscape";
          return;
        case "}":
          return ut("punctuator", Ie());
        case '"':
        case "'":
          ji = Ie() === '"', Ke = "string";
          return;
      }
      if (mt.isIdStartChar(Ze)) {
        We += Ie(), Ke = "identifierName";
        return;
      }
      throw lt(Ie());
    },
    afterPropertyName() {
      if (Ze === ":") return ut("punctuator", Ie());
      throw lt(Ie());
    },
    beforePropertyValue() {
      Ke = "value";
    },
    afterPropertyValue() {
      switch (Ze) {
        case ",":
        case "}":
          return ut("punctuator", Ie());
      }
      throw lt(Ie());
    },
    beforeArrayValue() {
      if (Ze === "]") return ut("punctuator", Ie());
      Ke = "value";
    },
    afterArrayValue() {
      switch (Ze) {
        case ",":
        case "]":
          return ut("punctuator", Ie());
      }
      throw lt(Ie());
    },
    end() {
      throw lt(Ie());
    }
  }, mh = {
    start() {
      if (Tt.type === "eof") throw Nr();
      va();
    },
    beforePropertyName() {
      switch (Tt.type) {
        case "identifier":
        case "string":
          iu = Tt.value, xt = "afterPropertyName";
          return;
        case "punctuator":
          Fn();
          return;
        case "eof":
          throw Nr();
      }
    },
    afterPropertyName() {
      if (Tt.type === "eof") throw Nr();
      xt = "beforePropertyValue";
    },
    beforePropertyValue() {
      if (Tt.type === "eof") throw Nr();
      va();
    },
    beforeArrayValue() {
      if (Tt.type === "eof") throw Nr();
      if (Tt.type === "punctuator" && Tt.value === "]") {
        Fn();
        return;
      }
      va();
    },
    afterPropertyValue() {
      if (Tt.type === "eof") throw Nr();
      switch (Tt.value) {
        case ",":
          xt = "beforePropertyName";
          return;
        case "}":
          Fn();
      }
    },
    afterArrayValue() {
      if (Tt.type === "eof") throw Nr();
      switch (Tt.value) {
        case ",":
          xt = "beforeArrayValue";
          return;
        case "]":
          Fn();
      }
    },
    end() {
    }
  }, Gg = {
    parse: gh,
    stringify: function(t, r, i) {
      const s = [];
      let h = "", a, n, l = "", u;
      if (r != null && typeof r == "object" && !Array.isArray(r) && (i = r.space, u = r.quote, r = r.replacer), typeof r == "function") n = r;
      else if (Array.isArray(r)) {
        a = [];
        for (const m of r) {
          let g;
          typeof m == "string" ? g = m : (typeof m == "number" || m instanceof String || m instanceof Number) && (g = String(m)), g !== void 0 && a.indexOf(g) < 0 && a.push(g);
        }
      }
      return i instanceof Number ? i = Number(i) : i instanceof String && (i = String(i)), typeof i == "number" ? i > 0 && (i = Math.min(10, Math.floor(i)), l = "          ".substr(0, i)) : typeof i == "string" && (l = i.substr(0, 10)), f("", { "": t });
      function f(m, g) {
        let v = g[m];
        switch (v != null && (typeof v.toJSON5 == "function" ? v = v.toJSON5(m) : typeof v.toJSON == "function" && (v = v.toJSON(m))), n && (v = n.call(g, m, v)), v instanceof Number ? v = Number(v) : v instanceof String ? v = String(v) : v instanceof Boolean && (v = v.valueOf()), v) {
          case null:
            return "null";
          case !0:
            return "true";
          case !1:
            return "false";
        }
        if (typeof v == "string") return o(v, !1);
        if (typeof v == "number") return String(v);
        if (typeof v == "object") return Array.isArray(v) ? p(v) : c(v);
      }
      function o(m) {
        const g = {
          "'": 0.1,
          '"': 0.2
        }, v = {
          "'": "\\'",
          '"': '\\"',
          "\\": "\\\\",
          "\b": "\\b",
          "\f": "\\f",
          "\n": "\\n",
          "\r": "\\r",
          "	": "\\t",
          "\v": "\\v",
          "\0": "\\0",
          "\u2028": "\\u2028",
          "\u2029": "\\u2029"
        };
        let y = "";
        for (let _ = 0; _ < m.length; _++) {
          const b = m[_];
          switch (b) {
            case "'":
            case '"':
              g[b]++, y += b;
              continue;
            case "\0":
              if (mt.isDigit(m[_ + 1])) {
                y += "\\x00";
                continue;
              }
          }
          if (v[b]) {
            y += v[b];
            continue;
          }
          if (b < " ") {
            let E = b.charCodeAt(0).toString(16);
            y += "\\x" + ("00" + E).substring(E.length);
            continue;
          }
          y += b;
        }
        const w = u || Object.keys(g).reduce((_, b) => g[_] < g[b] ? _ : b);
        return y = y.replace(new RegExp(w, "g"), v[w]), w + y + w;
      }
      function c(m) {
        if (s.indexOf(m) >= 0) throw TypeError("Converting circular structure to JSON5");
        s.push(m);
        let g = h;
        h = h + l;
        let v = a || Object.keys(m), y = [];
        for (const _ of v) {
          const b = f(_, m);
          if (b !== void 0) {
            let E = d(_) + ":";
            l !== "" && (E += " "), E += b, y.push(E);
          }
        }
        let w;
        if (y.length === 0) w = "{}";
        else {
          let _;
          if (l === "")
            _ = y.join(","), w = "{" + _ + "}";
          else {
            let b = `,
` + h;
            _ = y.join(b), w = `{
` + h + _ + `,
` + g + "}";
          }
        }
        return s.pop(), h = g, w;
      }
      function d(m) {
        if (m.length === 0) return o(m, !0);
        const g = String.fromCodePoint(m.codePointAt(0));
        if (!mt.isIdStartChar(g)) return o(m, !0);
        for (let v = g.length; v < m.length; v++) if (!mt.isIdContinueChar(String.fromCodePoint(m.codePointAt(v)))) return o(m, !0);
        return m;
      }
      function p(m) {
        if (s.indexOf(m) >= 0) throw TypeError("Converting circular structure to JSON5");
        s.push(m);
        let g = h;
        h = h + l;
        let v = [];
        for (let w = 0; w < m.length; w++) {
          const _ = f(String(w), m);
          v.push(_ !== void 0 ? _ : "null");
        }
        let y;
        if (v.length === 0) y = "[]";
        else if (l === "") y = "[" + v.join(",") + "]";
        else {
          let w = `,
` + h, _ = v.join(w);
          y = `[
` + h + _ + `,
` + g + "]";
        }
        return s.pop(), h = g, y;
      }
    }
  };
})), Dn = /* @__PURE__ */ j(((e, t) => {
  function r(l) {
    return typeof l > "u" || l === null;
  }
  function i(l) {
    return typeof l == "object" && l !== null;
  }
  function s(l) {
    return Array.isArray(l) ? l : r(l) ? [] : [l];
  }
  function h(l, u) {
    var f, o, c, d;
    if (u)
      for (d = Object.keys(u), f = 0, o = d.length; f < o; f += 1)
        c = d[f], l[c] = u[c];
    return l;
  }
  function a(l, u) {
    var f = "", o;
    for (o = 0; o < u; o += 1) f += l;
    return f;
  }
  function n(l) {
    return l === 0 && Number.NEGATIVE_INFINITY === 1 / l;
  }
  t.exports.isNothing = r, t.exports.isObject = i, t.exports.toArray = s, t.exports.repeat = a, t.exports.isNegativeZero = n, t.exports.extend = h;
})), An = /* @__PURE__ */ j(((e, t) => {
  function r(s, h) {
    var a = "", n = s.reason || "(unknown reason)";
    return s.mark ? (s.mark.name && (a += 'in "' + s.mark.name + '" '), a += "(" + (s.mark.line + 1) + ":" + (s.mark.column + 1) + ")", !h && s.mark.snippet && (a += `

` + s.mark.snippet), n + " " + a) : n;
  }
  function i(s, h) {
    Error.call(this), this.name = "YAMLException", this.reason = s, this.mark = h, this.message = r(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ new Error()).stack || "";
  }
  i.prototype = Object.create(Error.prototype), i.prototype.constructor = i, i.prototype.toString = function(h) {
    return this.name + ": " + r(this, h);
  }, t.exports = i;
})), JI = /* @__PURE__ */ j(((e, t) => {
  var r = Dn();
  function i(a, n, l, u, f) {
    var o = "", c = "", d = Math.floor(f / 2) - 1;
    return u - n > d && (o = " ... ", n = u - d + o.length), l - u > d && (c = " ...", l = u + d - c.length), {
      str: o + a.slice(n, l).replace(/\t/g, "→") + c,
      pos: u - n + o.length
    };
  }
  function s(a, n) {
    return r.repeat(" ", n - a.length) + a;
  }
  function h(a, n) {
    if (n = Object.create(n || null), !a.buffer) return null;
    n.maxLength || (n.maxLength = 79), typeof n.indent != "number" && (n.indent = 1), typeof n.linesBefore != "number" && (n.linesBefore = 3), typeof n.linesAfter != "number" && (n.linesAfter = 2);
    for (var l = /\r?\n|\r|\0/g, u = [0], f = [], o, c = -1; o = l.exec(a.buffer); )
      f.push(o.index), u.push(o.index + o[0].length), a.position <= o.index && c < 0 && (c = u.length - 2);
    c < 0 && (c = u.length - 1);
    var d = "", p, m, g = Math.min(a.line + n.linesAfter, f.length).toString().length, v = n.maxLength - (n.indent + g + 3);
    for (p = 1; p <= n.linesBefore && !(c - p < 0); p++)
      m = i(a.buffer, u[c - p], f[c - p], a.position - (u[c] - u[c - p]), v), d = r.repeat(" ", n.indent) + s((a.line - p + 1).toString(), g) + " | " + m.str + `
` + d;
    for (m = i(a.buffer, u[c], f[c], a.position, v), d += r.repeat(" ", n.indent) + s((a.line + 1).toString(), g) + " | " + m.str + `
`, d += r.repeat("-", n.indent + g + 3 + m.pos) + `^
`, p = 1; p <= n.linesAfter && !(c + p >= f.length); p++)
      m = i(a.buffer, u[c + p], f[c + p], a.position - (u[c] - u[c + p]), v), d += r.repeat(" ", n.indent) + s((a.line + p + 1).toString(), g) + " | " + m.str + `
`;
    return d.replace(/\n$/, "");
  }
  t.exports = h;
})), jt = /* @__PURE__ */ j(((e, t) => {
  var r = An(), i = [
    "kind",
    "multi",
    "resolve",
    "construct",
    "instanceOf",
    "predicate",
    "represent",
    "representName",
    "defaultStyle",
    "styleAliases"
  ], s = [
    "scalar",
    "sequence",
    "mapping"
  ];
  function h(n) {
    var l = {};
    return n !== null && Object.keys(n).forEach(function(u) {
      n[u].forEach(function(f) {
        l[String(f)] = u;
      });
    }), l;
  }
  function a(n, l) {
    if (l = l || {}, Object.keys(l).forEach(function(u) {
      if (i.indexOf(u) === -1) throw new r('Unknown option "' + u + '" is met in definition of "' + n + '" YAML type.');
    }), this.options = l, this.tag = n, this.kind = l.kind || null, this.resolve = l.resolve || function() {
      return !0;
    }, this.construct = l.construct || function(u) {
      return u;
    }, this.instanceOf = l.instanceOf || null, this.predicate = l.predicate || null, this.represent = l.represent || null, this.representName = l.representName || null, this.defaultStyle = l.defaultStyle || null, this.multi = l.multi || !1, this.styleAliases = h(l.styleAliases || null), s.indexOf(this.kind) === -1) throw new r('Unknown kind "' + this.kind + '" is specified for "' + n + '" YAML type.');
  }
  t.exports = a;
})), Wg = /* @__PURE__ */ j(((e, t) => {
  var r = An(), i = jt();
  function s(n, l) {
    var u = [];
    return n[l].forEach(function(f) {
      var o = u.length;
      u.forEach(function(c, d) {
        c.tag === f.tag && c.kind === f.kind && c.multi === f.multi && (o = d);
      }), u[o] = f;
    }), u;
  }
  function h() {
    var n = {
      scalar: {},
      sequence: {},
      mapping: {},
      fallback: {},
      multi: {
        scalar: [],
        sequence: [],
        mapping: [],
        fallback: []
      }
    }, l, u;
    function f(o) {
      o.multi ? (n.multi[o.kind].push(o), n.multi.fallback.push(o)) : n[o.kind][o.tag] = n.fallback[o.tag] = o;
    }
    for (l = 0, u = arguments.length; l < u; l += 1) arguments[l].forEach(f);
    return n;
  }
  function a(n) {
    return this.extend(n);
  }
  a.prototype.extend = function(l) {
    var u = [], f = [];
    if (l instanceof i) f.push(l);
    else if (Array.isArray(l)) f = f.concat(l);
    else if (l && (Array.isArray(l.implicit) || Array.isArray(l.explicit)))
      l.implicit && (u = u.concat(l.implicit)), l.explicit && (f = f.concat(l.explicit));
    else throw new r("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
    u.forEach(function(c) {
      if (!(c instanceof i)) throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.");
      if (c.loadKind && c.loadKind !== "scalar") throw new r("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
      if (c.multi) throw new r("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
    }), f.forEach(function(c) {
      if (!(c instanceof i)) throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.");
    });
    var o = Object.create(a.prototype);
    return o.implicit = (this.implicit || []).concat(u), o.explicit = (this.explicit || []).concat(f), o.compiledImplicit = s(o, "implicit"), o.compiledExplicit = s(o, "explicit"), o.compiledTypeMap = h(o.compiledImplicit, o.compiledExplicit), o;
  }, t.exports = a;
})), Vg = /* @__PURE__ */ j(((e, t) => {
  var r = jt();
  t.exports = new r("tag:yaml.org,2002:str", {
    kind: "scalar",
    construct: function(i) {
      return i !== null ? i : "";
    }
  });
})), Yg = /* @__PURE__ */ j(((e, t) => {
  var r = jt();
  t.exports = new r("tag:yaml.org,2002:seq", {
    kind: "sequence",
    construct: function(i) {
      return i !== null ? i : [];
    }
  });
})), Kg = /* @__PURE__ */ j(((e, t) => {
  var r = jt();
  t.exports = new r("tag:yaml.org,2002:map", {
    kind: "mapping",
    construct: function(i) {
      return i !== null ? i : {};
    }
  });
})), Zg = /* @__PURE__ */ j(((e, t) => {
  var r = Wg();
  t.exports = new r({ explicit: [
    Vg(),
    Yg(),
    Kg()
  ] });
})), Jg = /* @__PURE__ */ j(((e, t) => {
  var r = jt();
  function i(a) {
    if (a === null) return !0;
    var n = a.length;
    return n === 1 && a === "~" || n === 4 && (a === "null" || a === "Null" || a === "NULL");
  }
  function s() {
    return null;
  }
  function h(a) {
    return a === null;
  }
  t.exports = new r("tag:yaml.org,2002:null", {
    kind: "scalar",
    resolve: i,
    construct: s,
    predicate: h,
    represent: {
      canonical: function() {
        return "~";
      },
      lowercase: function() {
        return "null";
      },
      uppercase: function() {
        return "NULL";
      },
      camelcase: function() {
        return "Null";
      },
      empty: function() {
        return "";
      }
    },
    defaultStyle: "lowercase"
  });
})), Xg = /* @__PURE__ */ j(((e, t) => {
  var r = jt();
  function i(a) {
    if (a === null) return !1;
    var n = a.length;
    return n === 4 && (a === "true" || a === "True" || a === "TRUE") || n === 5 && (a === "false" || a === "False" || a === "FALSE");
  }
  function s(a) {
    return a === "true" || a === "True" || a === "TRUE";
  }
  function h(a) {
    return Object.prototype.toString.call(a) === "[object Boolean]";
  }
  t.exports = new r("tag:yaml.org,2002:bool", {
    kind: "scalar",
    resolve: i,
    construct: s,
    predicate: h,
    represent: {
      lowercase: function(a) {
        return a ? "true" : "false";
      },
      uppercase: function(a) {
        return a ? "TRUE" : "FALSE";
      },
      camelcase: function(a) {
        return a ? "True" : "False";
      }
    },
    defaultStyle: "lowercase"
  });
})), Qg = /* @__PURE__ */ j(((e, t) => {
  var r = Dn(), i = jt();
  function s(f) {
    return 48 <= f && f <= 57 || 65 <= f && f <= 70 || 97 <= f && f <= 102;
  }
  function h(f) {
    return 48 <= f && f <= 55;
  }
  function a(f) {
    return 48 <= f && f <= 57;
  }
  function n(f) {
    if (f === null) return !1;
    var o = f.length, c = 0, d = !1, p;
    if (!o) return !1;
    if (p = f[c], (p === "-" || p === "+") && (p = f[++c]), p === "0") {
      if (c + 1 === o) return !0;
      if (p = f[++c], p === "b") {
        for (c++; c < o; c++)
          if (p = f[c], p !== "_") {
            if (p !== "0" && p !== "1") return !1;
            d = !0;
          }
        return d && p !== "_";
      }
      if (p === "x") {
        for (c++; c < o; c++)
          if (p = f[c], p !== "_") {
            if (!s(f.charCodeAt(c))) return !1;
            d = !0;
          }
        return d && p !== "_";
      }
      if (p === "o") {
        for (c++; c < o; c++)
          if (p = f[c], p !== "_") {
            if (!h(f.charCodeAt(c))) return !1;
            d = !0;
          }
        return d && p !== "_";
      }
    }
    if (p === "_") return !1;
    for (; c < o; c++)
      if (p = f[c], p !== "_") {
        if (!a(f.charCodeAt(c))) return !1;
        d = !0;
      }
    return !(!d || p === "_");
  }
  function l(f) {
    var o = f, c = 1, d;
    if (o.indexOf("_") !== -1 && (o = o.replace(/_/g, "")), d = o[0], (d === "-" || d === "+") && (d === "-" && (c = -1), o = o.slice(1), d = o[0]), o === "0") return 0;
    if (d === "0") {
      if (o[1] === "b") return c * parseInt(o.slice(2), 2);
      if (o[1] === "x") return c * parseInt(o.slice(2), 16);
      if (o[1] === "o") return c * parseInt(o.slice(2), 8);
    }
    return c * parseInt(o, 10);
  }
  function u(f) {
    return Object.prototype.toString.call(f) === "[object Number]" && f % 1 === 0 && !r.isNegativeZero(f);
  }
  t.exports = new i("tag:yaml.org,2002:int", {
    kind: "scalar",
    resolve: n,
    construct: l,
    predicate: u,
    represent: {
      binary: function(f) {
        return f >= 0 ? "0b" + f.toString(2) : "-0b" + f.toString(2).slice(1);
      },
      octal: function(f) {
        return f >= 0 ? "0o" + f.toString(8) : "-0o" + f.toString(8).slice(1);
      },
      decimal: function(f) {
        return f.toString(10);
      },
      hexadecimal: function(f) {
        return f >= 0 ? "0x" + f.toString(16).toUpperCase() : "-0x" + f.toString(16).toUpperCase().slice(1);
      }
    },
    defaultStyle: "decimal",
    styleAliases: {
      binary: [2, "bin"],
      octal: [8, "oct"],
      decimal: [10, "dec"],
      hexadecimal: [16, "hex"]
    }
  });
})), em = /* @__PURE__ */ j(((e, t) => {
  var r = Dn(), i = jt(), s = new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
  function h(f) {
    return !(f === null || !s.test(f) || f[f.length - 1] === "_");
  }
  function a(f) {
    var o = f.replace(/_/g, "").toLowerCase(), c = o[0] === "-" ? -1 : 1;
    return "+-".indexOf(o[0]) >= 0 && (o = o.slice(1)), o === ".inf" ? c === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : o === ".nan" ? NaN : c * parseFloat(o, 10);
  }
  var n = /^[-+]?[0-9]+e/;
  function l(f, o) {
    var c;
    if (isNaN(f)) switch (o) {
      case "lowercase":
        return ".nan";
      case "uppercase":
        return ".NAN";
      case "camelcase":
        return ".NaN";
    }
    else if (Number.POSITIVE_INFINITY === f) switch (o) {
      case "lowercase":
        return ".inf";
      case "uppercase":
        return ".INF";
      case "camelcase":
        return ".Inf";
    }
    else if (Number.NEGATIVE_INFINITY === f) switch (o) {
      case "lowercase":
        return "-.inf";
      case "uppercase":
        return "-.INF";
      case "camelcase":
        return "-.Inf";
    }
    else if (r.isNegativeZero(f)) return "-0.0";
    return c = f.toString(10), n.test(c) ? c.replace("e", ".e") : c;
  }
  function u(f) {
    return Object.prototype.toString.call(f) === "[object Number]" && (f % 1 !== 0 || r.isNegativeZero(f));
  }
  t.exports = new i("tag:yaml.org,2002:float", {
    kind: "scalar",
    resolve: h,
    construct: a,
    predicate: u,
    represent: l,
    defaultStyle: "lowercase"
  });
})), tm = /* @__PURE__ */ j(((e, t) => {
  t.exports = Zg().extend({ implicit: [
    Jg(),
    Xg(),
    Qg(),
    em()
  ] });
})), rm = /* @__PURE__ */ j(((e, t) => {
  t.exports = tm();
})), im = /* @__PURE__ */ j(((e, t) => {
  var r = jt(), i = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), s = 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]))?))?$");
  function h(l) {
    return l === null ? !1 : i.exec(l) !== null || s.exec(l) !== null;
  }
  function a(l) {
    var u, f, o, c, d, p, m, g = 0, v = null, y, w, _;
    if (u = i.exec(l), u === null && (u = s.exec(l)), u === null) throw new Error("Date resolve error");
    if (f = +u[1], o = +u[2] - 1, c = +u[3], !u[4]) return new Date(Date.UTC(f, o, c));
    if (d = +u[4], p = +u[5], m = +u[6], u[7]) {
      for (g = u[7].slice(0, 3); g.length < 3; ) g += "0";
      g = +g;
    }
    return u[9] && (y = +u[10], w = +(u[11] || 0), v = (y * 60 + w) * 6e4, u[9] === "-" && (v = -v)), _ = new Date(Date.UTC(f, o, c, d, p, m, g)), v && _.setTime(_.getTime() - v), _;
  }
  function n(l) {
    return l.toISOString();
  }
  t.exports = new r("tag:yaml.org,2002:timestamp", {
    kind: "scalar",
    resolve: h,
    construct: a,
    instanceOf: Date,
    represent: n
  });
})), nm = /* @__PURE__ */ j(((e, t) => {
  var r = jt();
  function i(s) {
    return s === "<<" || s === null;
  }
  t.exports = new r("tag:yaml.org,2002:merge", {
    kind: "scalar",
    resolve: i
  });
})), sm = /* @__PURE__ */ j(((e, t) => {
  var r = jt(), i = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;
  function s(l) {
    if (l === null) return !1;
    var u, f, o = 0, c = l.length, d = i;
    for (f = 0; f < c; f++)
      if (u = d.indexOf(l.charAt(f)), !(u > 64)) {
        if (u < 0) return !1;
        o += 6;
      }
    return o % 8 === 0;
  }
  function h(l) {
    var u, f, o = l.replace(/[\r\n=]/g, ""), c = o.length, d = i, p = 0, m = [];
    for (u = 0; u < c; u++)
      u % 4 === 0 && u && (m.push(p >> 16 & 255), m.push(p >> 8 & 255), m.push(p & 255)), p = p << 6 | d.indexOf(o.charAt(u));
    return f = c % 4 * 6, f === 0 ? (m.push(p >> 16 & 255), m.push(p >> 8 & 255), m.push(p & 255)) : f === 18 ? (m.push(p >> 10 & 255), m.push(p >> 2 & 255)) : f === 12 && m.push(p >> 4 & 255), new Uint8Array(m);
  }
  function a(l) {
    var u = "", f = 0, o, c, d = l.length, p = i;
    for (o = 0; o < d; o++)
      o % 3 === 0 && o && (u += p[f >> 18 & 63], u += p[f >> 12 & 63], u += p[f >> 6 & 63], u += p[f & 63]), f = (f << 8) + l[o];
    return c = d % 3, c === 0 ? (u += p[f >> 18 & 63], u += p[f >> 12 & 63], u += p[f >> 6 & 63], u += p[f & 63]) : c === 2 ? (u += p[f >> 10 & 63], u += p[f >> 4 & 63], u += p[f << 2 & 63], u += p[64]) : c === 1 && (u += p[f >> 2 & 63], u += p[f << 4 & 63], u += p[64], u += p[64]), u;
  }
  function n(l) {
    return Object.prototype.toString.call(l) === "[object Uint8Array]";
  }
  t.exports = new r("tag:yaml.org,2002:binary", {
    kind: "scalar",
    resolve: s,
    construct: h,
    predicate: n,
    represent: a
  });
})), am = /* @__PURE__ */ j(((e, t) => {
  var r = jt(), i = Object.prototype.hasOwnProperty, s = Object.prototype.toString;
  function h(n) {
    if (n === null) return !0;
    var l = [], u, f, o, c, d, p = n;
    for (u = 0, f = p.length; u < f; u += 1) {
      if (o = p[u], d = !1, s.call(o) !== "[object Object]") return !1;
      for (c in o) if (i.call(o, c)) if (!d) d = !0;
      else return !1;
      if (!d) return !1;
      if (l.indexOf(c) === -1) l.push(c);
      else return !1;
    }
    return !0;
  }
  function a(n) {
    return n !== null ? n : [];
  }
  t.exports = new r("tag:yaml.org,2002:omap", {
    kind: "sequence",
    resolve: h,
    construct: a
  });
})), om = /* @__PURE__ */ j(((e, t) => {
  var r = jt(), i = Object.prototype.toString;
  function s(a) {
    if (a === null) return !0;
    var n, l, u, f, o, c = a;
    for (o = new Array(c.length), n = 0, l = c.length; n < l; n += 1) {
      if (u = c[n], i.call(u) !== "[object Object]" || (f = Object.keys(u), f.length !== 1)) return !1;
      o[n] = [f[0], u[f[0]]];
    }
    return !0;
  }
  function h(a) {
    if (a === null) return [];
    var n, l, u, f, o, c = a;
    for (o = new Array(c.length), n = 0, l = c.length; n < l; n += 1)
      u = c[n], f = Object.keys(u), o[n] = [f[0], u[f[0]]];
    return o;
  }
  t.exports = new r("tag:yaml.org,2002:pairs", {
    kind: "sequence",
    resolve: s,
    construct: h
  });
})), um = /* @__PURE__ */ j(((e, t) => {
  var r = jt(), i = Object.prototype.hasOwnProperty;
  function s(a) {
    if (a === null) return !0;
    var n, l = a;
    for (n in l) if (i.call(l, n) && l[n] !== null)
      return !1;
    return !0;
  }
  function h(a) {
    return a !== null ? a : {};
  }
  t.exports = new r("tag:yaml.org,2002:set", {
    kind: "mapping",
    resolve: s,
    construct: h
  });
})), kl = /* @__PURE__ */ j(((e, t) => {
  t.exports = rm().extend({
    implicit: [im(), nm()],
    explicit: [
      sm(),
      am(),
      om(),
      um()
    ]
  });
})), XI = /* @__PURE__ */ j(((e, t) => {
  var r = Dn(), i = An(), s = JI(), h = kl(), a = Object.prototype.hasOwnProperty, n = 1, l = 2, u = 3, f = 4, o = 1, c = 2, d = 3, p = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, m = /[\x85\u2028\u2029]/, g = /[,\[\]\{\}]/, v = /^(?:!|!!|![a-z\-]+!)$/i, y = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
  function w(A) {
    return Object.prototype.toString.call(A);
  }
  function _(A) {
    return A === 10 || A === 13;
  }
  function b(A) {
    return A === 9 || A === 32;
  }
  function E(A) {
    return A === 9 || A === 32 || A === 10 || A === 13;
  }
  function D(A) {
    return A === 44 || A === 91 || A === 93 || A === 123 || A === 125;
  }
  function S(A) {
    var se;
    return 48 <= A && A <= 57 ? A - 48 : (se = A | 32, 97 <= se && se <= 102 ? se - 97 + 10 : -1);
  }
  function C(A) {
    return A === 120 ? 2 : A === 117 ? 4 : A === 85 ? 8 : 0;
  }
  function T(A) {
    return 48 <= A && A <= 57 ? A - 48 : -1;
  }
  function U(A) {
    return A === 48 ? "\0" : A === 97 ? "\x07" : A === 98 ? "\b" : A === 116 || A === 9 ? "	" : A === 110 ? `
` : A === 118 ? "\v" : A === 102 ? "\f" : A === 114 ? "\r" : A === 101 ? "\x1B" : A === 32 ? " " : A === 34 ? '"' : A === 47 ? "/" : A === 92 ? "\\" : A === 78 ? "" : A === 95 ? " " : A === 76 ? "\u2028" : A === 80 ? "\u2029" : "";
  }
  function $(A) {
    return A <= 65535 ? String.fromCharCode(A) : String.fromCharCode((A - 65536 >> 10) + 55296, (A - 65536 & 1023) + 56320);
  }
  function z(A, se, he) {
    se === "__proto__" ? Object.defineProperty(A, se, {
      configurable: !0,
      enumerable: !0,
      writable: !0,
      value: he
    }) : A[se] = he;
  }
  for (var Y = new Array(256), H = new Array(256), k = 0; k < 256; k++)
    Y[k] = U(k) ? 1 : 0, H[k] = U(k);
  function F(A, se) {
    this.input = A, this.filename = se.filename || null, this.schema = se.schema || h, this.onWarning = se.onWarning || null, this.legacy = se.legacy || !1, this.json = se.json || !1, this.listener = se.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = A.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
  }
  function q(A, se) {
    var he = {
      name: A.filename,
      buffer: A.input.slice(0, -1),
      position: A.position,
      line: A.line,
      column: A.position - A.lineStart
    };
    return he.snippet = s(he), new i(se, he);
  }
  function W(A, se) {
    throw q(A, se);
  }
  function P(A, se) {
    A.onWarning && A.onWarning.call(null, q(A, se));
  }
  var x = {
    YAML: function(se, he, de) {
      var re, Q, ie;
      se.version !== null && W(se, "duplication of %YAML directive"), de.length !== 1 && W(se, "YAML directive accepts exactly one argument"), re = /^([0-9]+)\.([0-9]+)$/.exec(de[0]), re === null && W(se, "ill-formed argument of the YAML directive"), Q = parseInt(re[1], 10), ie = parseInt(re[2], 10), Q !== 1 && W(se, "unacceptable YAML version of the document"), se.version = de[0], se.checkLineBreaks = ie < 2, ie !== 1 && ie !== 2 && P(se, "unsupported YAML version of the document");
    },
    TAG: function(se, he, de) {
      var re, Q;
      de.length !== 2 && W(se, "TAG directive accepts exactly two arguments"), re = de[0], Q = de[1], v.test(re) || W(se, "ill-formed tag handle (first argument) of the TAG directive"), a.call(se.tagMap, re) && W(se, 'there is a previously declared suffix for "' + re + '" tag handle'), y.test(Q) || W(se, "ill-formed tag prefix (second argument) of the TAG directive");
      try {
        Q = decodeURIComponent(Q);
      } catch {
        W(se, "tag prefix is malformed: " + Q);
      }
      se.tagMap[re] = Q;
    }
  };
  function L(A, se, he, de) {
    var re, Q, ie, ae;
    if (se < he) {
      if (ae = A.input.slice(se, he), de) for (re = 0, Q = ae.length; re < Q; re += 1)
        ie = ae.charCodeAt(re), ie === 9 || 32 <= ie && ie <= 1114111 || W(A, "expected valid JSON character");
      else p.test(ae) && W(A, "the stream contains non-printable characters");
      A.result += ae;
    }
  }
  function O(A, se, he, de) {
    var re, Q, ie, ae;
    for (r.isObject(he) || W(A, "cannot merge mappings; the provided source object is unacceptable"), re = Object.keys(he), ie = 0, ae = re.length; ie < ae; ie += 1)
      Q = re[ie], a.call(se, Q) || (z(se, Q, he[Q]), de[Q] = !0);
  }
  function N(A, se, he, de, re, Q, ie, ae, Ee) {
    var Fe, Ce;
    if (Array.isArray(re))
      for (re = Array.prototype.slice.call(re), Fe = 0, Ce = re.length; Fe < Ce; Fe += 1)
        Array.isArray(re[Fe]) && W(A, "nested arrays are not supported inside keys"), typeof re == "object" && w(re[Fe]) === "[object Object]" && (re[Fe] = "[object Object]");
    if (typeof re == "object" && w(re) === "[object Object]" && (re = "[object Object]"), re = String(re), se === null && (se = {}), de === "tag:yaml.org,2002:merge") if (Array.isArray(Q)) for (Fe = 0, Ce = Q.length; Fe < Ce; Fe += 1) O(A, se, Q[Fe], he);
    else O(A, se, Q, he);
    else
      !A.json && !a.call(he, re) && a.call(se, re) && (A.line = ie || A.line, A.lineStart = ae || A.lineStart, A.position = Ee || A.position, W(A, "duplicated mapping key")), z(se, re, Q), delete he[re];
    return se;
  }
  function K(A) {
    var se = A.input.charCodeAt(A.position);
    se === 10 ? A.position++ : se === 13 ? (A.position++, A.input.charCodeAt(A.position) === 10 && A.position++) : W(A, "a line break is expected"), A.line += 1, A.lineStart = A.position, A.firstTabInLine = -1;
  }
  function oe(A, se, he) {
    for (var de = 0, re = A.input.charCodeAt(A.position); re !== 0; ) {
      for (; b(re); )
        re === 9 && A.firstTabInLine === -1 && (A.firstTabInLine = A.position), re = A.input.charCodeAt(++A.position);
      if (se && re === 35) do
        re = A.input.charCodeAt(++A.position);
      while (re !== 10 && re !== 13 && re !== 0);
      if (_(re))
        for (K(A), re = A.input.charCodeAt(A.position), de++, A.lineIndent = 0; re === 32; )
          A.lineIndent++, re = A.input.charCodeAt(++A.position);
      else break;
    }
    return he !== -1 && de !== 0 && A.lineIndent < he && P(A, "deficient indentation"), de;
  }
  function pe(A) {
    var se = A.position, he = A.input.charCodeAt(se);
    return !!((he === 45 || he === 46) && he === A.input.charCodeAt(se + 1) && he === A.input.charCodeAt(se + 2) && (se += 3, he = A.input.charCodeAt(se), he === 0 || E(he)));
  }
  function _e(A, se) {
    se === 1 ? A.result += " " : se > 1 && (A.result += r.repeat(`
`, se - 1));
  }
  function V(A, se, he) {
    var de, re, Q, ie, ae, Ee, Fe, Ce, Re = A.kind, Z = A.result, ge = A.input.charCodeAt(A.position);
    if (E(ge) || D(ge) || ge === 35 || ge === 38 || ge === 42 || ge === 33 || ge === 124 || ge === 62 || ge === 39 || ge === 34 || ge === 37 || ge === 64 || ge === 96 || (ge === 63 || ge === 45) && (re = A.input.charCodeAt(A.position + 1), E(re) || he && D(re)))
      return !1;
    for (A.kind = "scalar", A.result = "", Q = ie = A.position, ae = !1; ge !== 0; ) {
      if (ge === 58) {
        if (re = A.input.charCodeAt(A.position + 1), E(re) || he && D(re)) break;
      } else if (ge === 35) {
        if (de = A.input.charCodeAt(A.position - 1), E(de)) break;
      } else {
        if (A.position === A.lineStart && pe(A) || he && D(ge)) break;
        if (_(ge))
          if (Ee = A.line, Fe = A.lineStart, Ce = A.lineIndent, oe(A, !1, -1), A.lineIndent >= se) {
            ae = !0, ge = A.input.charCodeAt(A.position);
            continue;
          } else {
            A.position = ie, A.line = Ee, A.lineStart = Fe, A.lineIndent = Ce;
            break;
          }
      }
      ae && (L(A, Q, ie, !1), _e(A, A.line - Ee), Q = ie = A.position, ae = !1), b(ge) || (ie = A.position + 1), ge = A.input.charCodeAt(++A.position);
    }
    return L(A, Q, ie, !1), A.result ? !0 : (A.kind = Re, A.result = Z, !1);
  }
  function B(A, se) {
    var he = A.input.charCodeAt(A.position), de, re;
    if (he !== 39) return !1;
    for (A.kind = "scalar", A.result = "", A.position++, de = re = A.position; (he = A.input.charCodeAt(A.position)) !== 0; ) if (he === 39)
      if (L(A, de, A.position, !0), he = A.input.charCodeAt(++A.position), he === 39)
        de = A.position, A.position++, re = A.position;
      else return !0;
    else _(he) ? (L(A, de, re, !0), _e(A, oe(A, !1, se)), de = re = A.position) : A.position === A.lineStart && pe(A) ? W(A, "unexpected end of the document within a single quoted scalar") : (A.position++, re = A.position);
    W(A, "unexpected end of the stream within a single quoted scalar");
  }
  function G(A, se) {
    var he, de, re, Q, ie, ae = A.input.charCodeAt(A.position);
    if (ae !== 34) return !1;
    for (A.kind = "scalar", A.result = "", A.position++, he = de = A.position; (ae = A.input.charCodeAt(A.position)) !== 0; ) {
      if (ae === 34)
        return L(A, he, A.position, !0), A.position++, !0;
      if (ae === 92) {
        if (L(A, he, A.position, !0), ae = A.input.charCodeAt(++A.position), _(ae)) oe(A, !1, se);
        else if (ae < 256 && Y[ae])
          A.result += H[ae], A.position++;
        else if ((ie = C(ae)) > 0) {
          for (re = ie, Q = 0; re > 0; re--)
            ae = A.input.charCodeAt(++A.position), (ie = S(ae)) >= 0 ? Q = (Q << 4) + ie : W(A, "expected hexadecimal character");
          A.result += $(Q), A.position++;
        } else W(A, "unknown escape sequence");
        he = de = A.position;
      } else _(ae) ? (L(A, he, de, !0), _e(A, oe(A, !1, se)), he = de = A.position) : A.position === A.lineStart && pe(A) ? W(A, "unexpected end of the document within a double quoted scalar") : (A.position++, de = A.position);
    }
    W(A, "unexpected end of the stream within a double quoted scalar");
  }
  function X(A, se) {
    var he = !0, de, re, Q, ie = A.tag, ae, Ee = A.anchor, Fe, Ce, Re, Z, ge, Te = /* @__PURE__ */ Object.create(null), De, te, le, ce = A.input.charCodeAt(A.position);
    if (ce === 91)
      Ce = 93, ge = !1, ae = [];
    else if (ce === 123)
      Ce = 125, ge = !0, ae = {};
    else return !1;
    for (A.anchor !== null && (A.anchorMap[A.anchor] = ae), ce = A.input.charCodeAt(++A.position); ce !== 0; ) {
      if (oe(A, !0, se), ce = A.input.charCodeAt(A.position), ce === Ce)
        return A.position++, A.tag = ie, A.anchor = Ee, A.kind = ge ? "mapping" : "sequence", A.result = ae, !0;
      he ? ce === 44 && W(A, "expected the node content, but found ','") : W(A, "missed comma between flow collection entries"), te = De = le = null, Re = Z = !1, ce === 63 && (Fe = A.input.charCodeAt(A.position + 1), E(Fe) && (Re = Z = !0, A.position++, oe(A, !0, se))), de = A.line, re = A.lineStart, Q = A.position, ye(A, se, n, !1, !0), te = A.tag, De = A.result, oe(A, !0, se), ce = A.input.charCodeAt(A.position), (Z || A.line === de) && ce === 58 && (Re = !0, ce = A.input.charCodeAt(++A.position), oe(A, !0, se), ye(A, se, n, !1, !0), le = A.result), ge ? N(A, ae, Te, te, De, le, de, re, Q) : Re ? ae.push(N(A, null, Te, te, De, le, de, re, Q)) : ae.push(De), oe(A, !0, se), ce = A.input.charCodeAt(A.position), ce === 44 ? (he = !0, ce = A.input.charCodeAt(++A.position)) : he = !1;
    }
    W(A, "unexpected end of the stream within a flow collection");
  }
  function ne(A, se) {
    var he, de, re = o, Q = !1, ie = !1, ae = se, Ee = 0, Fe = !1, Ce, Re = A.input.charCodeAt(A.position);
    if (Re === 124) de = !1;
    else if (Re === 62) de = !0;
    else return !1;
    for (A.kind = "scalar", A.result = ""; Re !== 0; )
      if (Re = A.input.charCodeAt(++A.position), Re === 43 || Re === 45) o === re ? re = Re === 43 ? d : c : W(A, "repeat of a chomping mode identifier");
      else if ((Ce = T(Re)) >= 0) Ce === 0 ? W(A, "bad explicit indentation width of a block scalar; it cannot be less than one") : ie ? W(A, "repeat of an indentation width identifier") : (ae = se + Ce - 1, ie = !0);
      else break;
    if (b(Re)) {
      do
        Re = A.input.charCodeAt(++A.position);
      while (b(Re));
      if (Re === 35) do
        Re = A.input.charCodeAt(++A.position);
      while (!_(Re) && Re !== 0);
    }
    for (; Re !== 0; ) {
      for (K(A), A.lineIndent = 0, Re = A.input.charCodeAt(A.position); (!ie || A.lineIndent < ae) && Re === 32; )
        A.lineIndent++, Re = A.input.charCodeAt(++A.position);
      if (!ie && A.lineIndent > ae && (ae = A.lineIndent), _(Re)) {
        Ee++;
        continue;
      }
      if (A.lineIndent < ae) {
        re === d ? A.result += r.repeat(`
`, Q ? 1 + Ee : Ee) : re === o && Q && (A.result += `
`);
        break;
      }
      for (de ? b(Re) ? (Fe = !0, A.result += r.repeat(`
`, Q ? 1 + Ee : Ee)) : Fe ? (Fe = !1, A.result += r.repeat(`
`, Ee + 1)) : Ee === 0 ? Q && (A.result += " ") : A.result += r.repeat(`
`, Ee) : A.result += r.repeat(`
`, Q ? 1 + Ee : Ee), Q = !0, ie = !0, Ee = 0, he = A.position; !_(Re) && Re !== 0; ) Re = A.input.charCodeAt(++A.position);
      L(A, he, A.position, !1);
    }
    return !0;
  }
  function I(A, se) {
    var he, de = A.tag, re = A.anchor, Q = [], ie, ae = !1, Ee;
    if (A.firstTabInLine !== -1) return !1;
    for (A.anchor !== null && (A.anchorMap[A.anchor] = Q), Ee = A.input.charCodeAt(A.position); Ee !== 0 && (A.firstTabInLine !== -1 && (A.position = A.firstTabInLine, W(A, "tab characters must not be used in indentation")), !(Ee !== 45 || (ie = A.input.charCodeAt(A.position + 1), !E(ie)))); ) {
      if (ae = !0, A.position++, oe(A, !0, -1) && A.lineIndent <= se) {
        Q.push(null), Ee = A.input.charCodeAt(A.position);
        continue;
      }
      if (he = A.line, ye(A, se, u, !1, !0), Q.push(A.result), oe(A, !0, -1), Ee = A.input.charCodeAt(A.position), (A.line === he || A.lineIndent > se) && Ee !== 0) W(A, "bad indentation of a sequence entry");
      else if (A.lineIndent < se) break;
    }
    return ae ? (A.tag = de, A.anchor = re, A.kind = "sequence", A.result = Q, !0) : !1;
  }
  function M(A, se, he) {
    var de, re, Q, ie, ae, Ee, Fe = A.tag, Ce = A.anchor, Re = {}, Z = /* @__PURE__ */ Object.create(null), ge = null, Te = null, De = null, te = !1, le = !1, ce;
    if (A.firstTabInLine !== -1) return !1;
    for (A.anchor !== null && (A.anchorMap[A.anchor] = Re), ce = A.input.charCodeAt(A.position); ce !== 0; ) {
      if (!te && A.firstTabInLine !== -1 && (A.position = A.firstTabInLine, W(A, "tab characters must not be used in indentation")), de = A.input.charCodeAt(A.position + 1), Q = A.line, (ce === 63 || ce === 58) && E(de))
        ce === 63 ? (te && (N(A, Re, Z, ge, Te, null, ie, ae, Ee), ge = Te = De = null), le = !0, te = !0, re = !0) : te ? (te = !1, re = !0) : W(A, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), A.position += 1, ce = de;
      else {
        if (ie = A.line, ae = A.lineStart, Ee = A.position, !ye(A, he, l, !1, !0)) break;
        if (A.line === Q) {
          for (ce = A.input.charCodeAt(A.position); b(ce); ) ce = A.input.charCodeAt(++A.position);
          if (ce === 58)
            ce = A.input.charCodeAt(++A.position), E(ce) || W(A, "a whitespace character is expected after the key-value separator within a block mapping"), te && (N(A, Re, Z, ge, Te, null, ie, ae, Ee), ge = Te = De = null), le = !0, te = !1, re = !1, ge = A.tag, Te = A.result;
          else if (le) W(A, "can not read an implicit mapping pair; a colon is missed");
          else
            return A.tag = Fe, A.anchor = Ce, !0;
        } else if (le) W(A, "can not read a block mapping entry; a multiline key may not be an implicit key");
        else
          return A.tag = Fe, A.anchor = Ce, !0;
      }
      if ((A.line === Q || A.lineIndent > se) && (te && (ie = A.line, ae = A.lineStart, Ee = A.position), ye(A, se, f, !0, re) && (te ? Te = A.result : De = A.result), te || (N(A, Re, Z, ge, Te, De, ie, ae, Ee), ge = Te = De = null), oe(A, !0, -1), ce = A.input.charCodeAt(A.position)), (A.line === Q || A.lineIndent > se) && ce !== 0) W(A, "bad indentation of a mapping entry");
      else if (A.lineIndent < se) break;
    }
    return te && N(A, Re, Z, ge, Te, null, ie, ae, Ee), le && (A.tag = Fe, A.anchor = Ce, A.kind = "mapping", A.result = Re), le;
  }
  function ee(A) {
    var se, he = !1, de = !1, re, Q, ie = A.input.charCodeAt(A.position);
    if (ie !== 33) return !1;
    if (A.tag !== null && W(A, "duplication of a tag property"), ie = A.input.charCodeAt(++A.position), ie === 60 ? (he = !0, ie = A.input.charCodeAt(++A.position)) : ie === 33 ? (de = !0, re = "!!", ie = A.input.charCodeAt(++A.position)) : re = "!", se = A.position, he) {
      do
        ie = A.input.charCodeAt(++A.position);
      while (ie !== 0 && ie !== 62);
      A.position < A.length ? (Q = A.input.slice(se, A.position), ie = A.input.charCodeAt(++A.position)) : W(A, "unexpected end of the stream within a verbatim tag");
    } else {
      for (; ie !== 0 && !E(ie); )
        ie === 33 && (de ? W(A, "tag suffix cannot contain exclamation marks") : (re = A.input.slice(se - 1, A.position + 1), v.test(re) || W(A, "named tag handle cannot contain such characters"), de = !0, se = A.position + 1)), ie = A.input.charCodeAt(++A.position);
      Q = A.input.slice(se, A.position), g.test(Q) && W(A, "tag suffix cannot contain flow indicator characters");
    }
    Q && !y.test(Q) && W(A, "tag name cannot contain such characters: " + Q);
    try {
      Q = decodeURIComponent(Q);
    } catch {
      W(A, "tag name is malformed: " + Q);
    }
    return he ? A.tag = Q : a.call(A.tagMap, re) ? A.tag = A.tagMap[re] + Q : re === "!" ? A.tag = "!" + Q : re === "!!" ? A.tag = "tag:yaml.org,2002:" + Q : W(A, 'undeclared tag handle "' + re + '"'), !0;
  }
  function Ae(A) {
    var se, he = A.input.charCodeAt(A.position);
    if (he !== 38) return !1;
    for (A.anchor !== null && W(A, "duplication of an anchor property"), he = A.input.charCodeAt(++A.position), se = A.position; he !== 0 && !E(he) && !D(he); ) he = A.input.charCodeAt(++A.position);
    return A.position === se && W(A, "name of an anchor node must contain at least one character"), A.anchor = A.input.slice(se, A.position), !0;
  }
  function Se(A) {
    var se, he, de = A.input.charCodeAt(A.position);
    if (de !== 42) return !1;
    for (de = A.input.charCodeAt(++A.position), se = A.position; de !== 0 && !E(de) && !D(de); ) de = A.input.charCodeAt(++A.position);
    return A.position === se && W(A, "name of an alias node must contain at least one character"), he = A.input.slice(se, A.position), a.call(A.anchorMap, he) || W(A, 'unidentified alias "' + he + '"'), A.result = A.anchorMap[he], oe(A, !0, -1), !0;
  }
  function ye(A, se, he, de, re) {
    var Q, ie, ae, Ee = 1, Fe = !1, Ce = !1, Re, Z, ge, Te, De, te;
    if (A.listener !== null && A.listener("open", A), A.tag = null, A.anchor = null, A.kind = null, A.result = null, Q = ie = ae = f === he || u === he, de && oe(A, !0, -1) && (Fe = !0, A.lineIndent > se ? Ee = 1 : A.lineIndent === se ? Ee = 0 : A.lineIndent < se && (Ee = -1)), Ee === 1) for (; ee(A) || Ae(A); ) oe(A, !0, -1) ? (Fe = !0, ae = Q, A.lineIndent > se ? Ee = 1 : A.lineIndent === se ? Ee = 0 : A.lineIndent < se && (Ee = -1)) : ae = !1;
    if (ae && (ae = Fe || re), (Ee === 1 || f === he) && (n === he || l === he ? De = se : De = se + 1, te = A.position - A.lineStart, Ee === 1 ? ae && (I(A, te) || M(A, te, De)) || X(A, De) ? Ce = !0 : (ie && ne(A, De) || B(A, De) || G(A, De) ? Ce = !0 : Se(A) ? (Ce = !0, (A.tag !== null || A.anchor !== null) && W(A, "alias node should not have any properties")) : V(A, De, n === he) && (Ce = !0, A.tag === null && (A.tag = "?")), A.anchor !== null && (A.anchorMap[A.anchor] = A.result)) : Ee === 0 && (Ce = ae && I(A, te))), A.tag === null)
      A.anchor !== null && (A.anchorMap[A.anchor] = A.result);
    else if (A.tag === "?") {
      for (A.result !== null && A.kind !== "scalar" && W(A, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + A.kind + '"'), Re = 0, Z = A.implicitTypes.length; Re < Z; Re += 1)
        if (Te = A.implicitTypes[Re], Te.resolve(A.result)) {
          A.result = Te.construct(A.result), A.tag = Te.tag, A.anchor !== null && (A.anchorMap[A.anchor] = A.result);
          break;
        }
    } else if (A.tag !== "!") {
      if (a.call(A.typeMap[A.kind || "fallback"], A.tag)) Te = A.typeMap[A.kind || "fallback"][A.tag];
      else
        for (Te = null, ge = A.typeMap.multi[A.kind || "fallback"], Re = 0, Z = ge.length; Re < Z; Re += 1) if (A.tag.slice(0, ge[Re].tag.length) === ge[Re].tag) {
          Te = ge[Re];
          break;
        }
      Te || W(A, "unknown tag !<" + A.tag + ">"), A.result !== null && Te.kind !== A.kind && W(A, "unacceptable node kind for !<" + A.tag + '> tag; it should be "' + Te.kind + '", not "' + A.kind + '"'), Te.resolve(A.result, A.tag) ? (A.result = Te.construct(A.result, A.tag), A.anchor !== null && (A.anchorMap[A.anchor] = A.result)) : W(A, "cannot resolve a node with !<" + A.tag + "> explicit tag");
    }
    return A.listener !== null && A.listener("close", A), A.tag !== null || A.anchor !== null || Ce;
  }
  function Be(A) {
    var se = A.position, he, de, re, Q = !1, ie;
    for (A.version = null, A.checkLineBreaks = A.legacy, A.tagMap = /* @__PURE__ */ Object.create(null), A.anchorMap = /* @__PURE__ */ Object.create(null); (ie = A.input.charCodeAt(A.position)) !== 0 && (oe(A, !0, -1), ie = A.input.charCodeAt(A.position), !(A.lineIndent > 0 || ie !== 37)); ) {
      for (Q = !0, ie = A.input.charCodeAt(++A.position), he = A.position; ie !== 0 && !E(ie); ) ie = A.input.charCodeAt(++A.position);
      for (de = A.input.slice(he, A.position), re = [], de.length < 1 && W(A, "directive name must not be less than one character in length"); ie !== 0; ) {
        for (; b(ie); ) ie = A.input.charCodeAt(++A.position);
        if (ie === 35) {
          do
            ie = A.input.charCodeAt(++A.position);
          while (ie !== 0 && !_(ie));
          break;
        }
        if (_(ie)) break;
        for (he = A.position; ie !== 0 && !E(ie); ) ie = A.input.charCodeAt(++A.position);
        re.push(A.input.slice(he, A.position));
      }
      ie !== 0 && K(A), a.call(x, de) ? x[de](A, de, re) : P(A, 'unknown document directive "' + de + '"');
    }
    if (oe(A, !0, -1), A.lineIndent === 0 && A.input.charCodeAt(A.position) === 45 && A.input.charCodeAt(A.position + 1) === 45 && A.input.charCodeAt(A.position + 2) === 45 ? (A.position += 3, oe(A, !0, -1)) : Q && W(A, "directives end mark is expected"), ye(A, A.lineIndent - 1, f, !1, !0), oe(A, !0, -1), A.checkLineBreaks && m.test(A.input.slice(se, A.position)) && P(A, "non-ASCII line breaks are interpreted as content"), A.documents.push(A.result), A.position === A.lineStart && pe(A)) {
      A.input.charCodeAt(A.position) === 46 && (A.position += 3, oe(A, !0, -1));
      return;
    }
    if (A.position < A.length - 1) W(A, "end of the stream or a document separator is expected");
    else return;
  }
  function xe(A, se) {
    A = String(A), se = se || {}, A.length !== 0 && (A.charCodeAt(A.length - 1) !== 10 && A.charCodeAt(A.length - 1) !== 13 && (A += `
`), A.charCodeAt(0) === 65279 && (A = A.slice(1)));
    var he = new F(A, se), de = A.indexOf("\0");
    for (de !== -1 && (he.position = de, W(he, "null byte is not allowed in input")), he.input += "\0"; he.input.charCodeAt(he.position) === 32; )
      he.lineIndent += 1, he.position += 1;
    for (; he.position < he.length - 1; ) Be(he);
    return he.documents;
  }
  function je(A, se, he) {
    se !== null && typeof se == "object" && typeof he > "u" && (he = se, se = null);
    var de = xe(A, he);
    if (typeof se != "function") return de;
    for (var re = 0, Q = de.length; re < Q; re += 1) se(de[re]);
  }
  function Oe(A, se) {
    var he = xe(A, se);
    if (he.length !== 0) {
      if (he.length === 1) return he[0];
      throw new i("expected a single document in the stream, but found more");
    }
  }
  t.exports.loadAll = je, t.exports.load = Oe;
})), QI = /* @__PURE__ */ j(((e, t) => {
  var r = Dn(), i = An(), s = kl(), h = Object.prototype.toString, a = Object.prototype.hasOwnProperty, n = 65279, l = 9, u = 10, f = 13, o = 32, c = 33, d = 34, p = 35, m = 37, g = 38, v = 39, y = 42, w = 44, _ = 45, b = 58, E = 61, D = 62, S = 63, C = 64, T = 91, U = 93, $ = 96, z = 123, Y = 124, H = 125, k = {};
  k[0] = "\\0", k[7] = "\\a", k[8] = "\\b", k[9] = "\\t", k[10] = "\\n", k[11] = "\\v", k[12] = "\\f", k[13] = "\\r", k[27] = "\\e", k[34] = '\\"', k[92] = "\\\\", k[133] = "\\N", k[160] = "\\_", k[8232] = "\\L", k[8233] = "\\P";
  var F = [
    "y",
    "Y",
    "yes",
    "Yes",
    "YES",
    "on",
    "On",
    "ON",
    "n",
    "N",
    "no",
    "No",
    "NO",
    "off",
    "Off",
    "OFF"
  ], q = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
  function W(Z, ge) {
    var Te, De, te, le, ce, fe, be;
    if (ge === null) return {};
    for (Te = {}, De = Object.keys(ge), te = 0, le = De.length; te < le; te += 1)
      ce = De[te], fe = String(ge[ce]), ce.slice(0, 2) === "!!" && (ce = "tag:yaml.org,2002:" + ce.slice(2)), be = Z.compiledTypeMap.fallback[ce], be && a.call(be.styleAliases, fe) && (fe = be.styleAliases[fe]), Te[ce] = fe;
    return Te;
  }
  function P(Z) {
    var ge = Z.toString(16).toUpperCase(), Te, De;
    if (Z <= 255)
      Te = "x", De = 2;
    else if (Z <= 65535)
      Te = "u", De = 4;
    else if (Z <= 4294967295)
      Te = "U", De = 8;
    else throw new i("code point within a string may not be greater than 0xFFFFFFFF");
    return "\\" + Te + r.repeat("0", De - ge.length) + ge;
  }
  var x = 1, L = 2;
  function O(Z) {
    this.schema = Z.schema || s, this.indent = Math.max(1, Z.indent || 2), this.noArrayIndent = Z.noArrayIndent || !1, this.skipInvalid = Z.skipInvalid || !1, this.flowLevel = r.isNothing(Z.flowLevel) ? -1 : Z.flowLevel, this.styleMap = W(this.schema, Z.styles || null), this.sortKeys = Z.sortKeys || !1, this.lineWidth = Z.lineWidth || 80, this.noRefs = Z.noRefs || !1, this.noCompatMode = Z.noCompatMode || !1, this.condenseFlow = Z.condenseFlow || !1, this.quotingType = Z.quotingType === '"' ? L : x, this.forceQuotes = Z.forceQuotes || !1, this.replacer = typeof Z.replacer == "function" ? Z.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
  }
  function N(Z, ge) {
    for (var Te = r.repeat(" ", ge), De = 0, te = -1, le = "", ce, fe = Z.length; De < fe; )
      te = Z.indexOf(`
`, De), te === -1 ? (ce = Z.slice(De), De = fe) : (ce = Z.slice(De, te + 1), De = te + 1), ce.length && ce !== `
` && (le += Te), le += ce;
    return le;
  }
  function K(Z, ge) {
    return `
` + r.repeat(" ", Z.indent * ge);
  }
  function oe(Z, ge) {
    var Te, De, te;
    for (Te = 0, De = Z.implicitTypes.length; Te < De; Te += 1)
      if (te = Z.implicitTypes[Te], te.resolve(ge)) return !0;
    return !1;
  }
  function pe(Z) {
    return Z === o || Z === l;
  }
  function _e(Z) {
    return 32 <= Z && Z <= 126 || 161 <= Z && Z <= 55295 && Z !== 8232 && Z !== 8233 || 57344 <= Z && Z <= 65533 && Z !== n || 65536 <= Z && Z <= 1114111;
  }
  function V(Z) {
    return _e(Z) && Z !== n && Z !== f && Z !== u;
  }
  function B(Z, ge, Te) {
    var De = V(Z), te = De && !pe(Z);
    return (Te ? De : De && Z !== w && Z !== T && Z !== U && Z !== z && Z !== H) && Z !== p && !(ge === b && !te) || V(ge) && !pe(ge) && Z === p || ge === b && te;
  }
  function G(Z) {
    return _e(Z) && Z !== n && !pe(Z) && Z !== _ && Z !== S && Z !== b && Z !== w && Z !== T && Z !== U && Z !== z && Z !== H && Z !== p && Z !== g && Z !== y && Z !== c && Z !== Y && Z !== E && Z !== D && Z !== v && Z !== d && Z !== m && Z !== C && Z !== $;
  }
  function X(Z) {
    return !pe(Z) && Z !== b;
  }
  function ne(Z, ge) {
    var Te = Z.charCodeAt(ge), De;
    return Te >= 55296 && Te <= 56319 && ge + 1 < Z.length && (De = Z.charCodeAt(ge + 1), De >= 56320 && De <= 57343) ? (Te - 55296) * 1024 + De - 56320 + 65536 : Te;
  }
  function I(Z) {
    return /^\n* /.test(Z);
  }
  var M = 1, ee = 2, Ae = 3, Se = 4, ye = 5;
  function Be(Z, ge, Te, De, te, le, ce, fe) {
    var be, $e = 0, R = null, J = !1, ue = !1, we = De !== -1, Ne = -1, Ue = G(ne(Z, 0)) && X(ne(Z, Z.length - 1));
    if (ge || ce) for (be = 0; be < Z.length; $e >= 65536 ? be += 2 : be++) {
      if ($e = ne(Z, be), !_e($e)) return ye;
      Ue = Ue && B($e, R, fe), R = $e;
    }
    else {
      for (be = 0; be < Z.length; $e >= 65536 ? be += 2 : be++) {
        if ($e = ne(Z, be), $e === u)
          J = !0, we && (ue = ue || be - Ne - 1 > De && Z[Ne + 1] !== " ", Ne = be);
        else if (!_e($e)) return ye;
        Ue = Ue && B($e, R, fe), R = $e;
      }
      ue = ue || we && be - Ne - 1 > De && Z[Ne + 1] !== " ";
    }
    return !J && !ue ? Ue && !ce && !te(Z) ? M : le === L ? ye : ee : Te > 9 && I(Z) ? ye : ce ? le === L ? ye : ee : ue ? Se : Ae;
  }
  function xe(Z, ge, Te, De, te) {
    Z.dump = (function() {
      if (ge.length === 0) return Z.quotingType === L ? '""' : "''";
      if (!Z.noCompatMode && (F.indexOf(ge) !== -1 || q.test(ge)))
        return Z.quotingType === L ? '"' + ge + '"' : "'" + ge + "'";
      var le = Z.indent * Math.max(1, Te), ce = Z.lineWidth === -1 ? -1 : Math.max(Math.min(Z.lineWidth, 40), Z.lineWidth - le), fe = De || Z.flowLevel > -1 && Te >= Z.flowLevel;
      function be($e) {
        return oe(Z, $e);
      }
      switch (Be(ge, fe, Z.indent, ce, be, Z.quotingType, Z.forceQuotes && !De, te)) {
        case M:
          return ge;
        case ee:
          return "'" + ge.replace(/'/g, "''") + "'";
        case Ae:
          return "|" + je(ge, Z.indent) + Oe(N(ge, le));
        case Se:
          return ">" + je(ge, Z.indent) + Oe(N(A(ge, ce), le));
        case ye:
          return '"' + he(ge, ce) + '"';
        default:
          throw new i("impossible error: invalid scalar style");
      }
    })();
  }
  function je(Z, ge) {
    var Te = I(Z) ? String(ge) : "", De = Z[Z.length - 1] === `
`;
    return Te + (De && (Z[Z.length - 2] === `
` || Z === `
`) ? "+" : De ? "" : "-") + `
`;
  }
  function Oe(Z) {
    return Z[Z.length - 1] === `
` ? Z.slice(0, -1) : Z;
  }
  function A(Z, ge) {
    for (var Te = /(\n+)([^\n]*)/g, De = (function() {
      var $e = Z.indexOf(`
`);
      return $e = $e !== -1 ? $e : Z.length, Te.lastIndex = $e, se(Z.slice(0, $e), ge);
    })(), te = Z[0] === `
` || Z[0] === " ", le, ce; ce = Te.exec(Z); ) {
      var fe = ce[1], be = ce[2];
      le = be[0] === " ", De += fe + (!te && !le && be !== "" ? `
` : "") + se(be, ge), te = le;
    }
    return De;
  }
  function se(Z, ge) {
    if (Z === "" || Z[0] === " ") return Z;
    for (var Te = / [^ ]/g, De, te = 0, le, ce = 0, fe = 0, be = ""; De = Te.exec(Z); )
      fe = De.index, fe - te > ge && (le = ce > te ? ce : fe, be += `
` + Z.slice(te, le), te = le + 1), ce = fe;
    return be += `
`, Z.length - te > ge && ce > te ? be += Z.slice(te, ce) + `
` + Z.slice(ce + 1) : be += Z.slice(te), be.slice(1);
  }
  function he(Z) {
    for (var ge = "", Te = 0, De, te = 0; te < Z.length; Te >= 65536 ? te += 2 : te++)
      Te = ne(Z, te), De = k[Te], !De && _e(Te) ? (ge += Z[te], Te >= 65536 && (ge += Z[te + 1])) : ge += De || P(Te);
    return ge;
  }
  function de(Z, ge, Te) {
    var De = "", te = Z.tag, le, ce, fe;
    for (le = 0, ce = Te.length; le < ce; le += 1)
      fe = Te[le], Z.replacer && (fe = Z.replacer.call(Te, String(le), fe)), (Ee(Z, ge, fe, !1, !1) || typeof fe > "u" && Ee(Z, ge, null, !1, !1)) && (De !== "" && (De += "," + (Z.condenseFlow ? "" : " ")), De += Z.dump);
    Z.tag = te, Z.dump = "[" + De + "]";
  }
  function re(Z, ge, Te, De) {
    var te = "", le = Z.tag, ce, fe, be;
    for (ce = 0, fe = Te.length; ce < fe; ce += 1)
      be = Te[ce], Z.replacer && (be = Z.replacer.call(Te, String(ce), be)), (Ee(Z, ge + 1, be, !0, !0, !1, !0) || typeof be > "u" && Ee(Z, ge + 1, null, !0, !0, !1, !0)) && ((!De || te !== "") && (te += K(Z, ge)), Z.dump && u === Z.dump.charCodeAt(0) ? te += "-" : te += "- ", te += Z.dump);
    Z.tag = le, Z.dump = te || "[]";
  }
  function Q(Z, ge, Te) {
    var De = "", te = Z.tag, le = Object.keys(Te), ce, fe, be, $e, R;
    for (ce = 0, fe = le.length; ce < fe; ce += 1)
      R = "", De !== "" && (R += ", "), Z.condenseFlow && (R += '"'), be = le[ce], $e = Te[be], Z.replacer && ($e = Z.replacer.call(Te, be, $e)), Ee(Z, ge, be, !1, !1) && (Z.dump.length > 1024 && (R += "? "), R += Z.dump + (Z.condenseFlow ? '"' : "") + ":" + (Z.condenseFlow ? "" : " "), Ee(Z, ge, $e, !1, !1) && (R += Z.dump, De += R));
    Z.tag = te, Z.dump = "{" + De + "}";
  }
  function ie(Z, ge, Te, De) {
    var te = "", le = Z.tag, ce = Object.keys(Te), fe, be, $e, R, J, ue;
    if (Z.sortKeys === !0) ce.sort();
    else if (typeof Z.sortKeys == "function") ce.sort(Z.sortKeys);
    else if (Z.sortKeys) throw new i("sortKeys must be a boolean or a function");
    for (fe = 0, be = ce.length; fe < be; fe += 1)
      ue = "", (!De || te !== "") && (ue += K(Z, ge)), $e = ce[fe], R = Te[$e], Z.replacer && (R = Z.replacer.call(Te, $e, R)), Ee(Z, ge + 1, $e, !0, !0, !0) && (J = Z.tag !== null && Z.tag !== "?" || Z.dump && Z.dump.length > 1024, J && (Z.dump && u === Z.dump.charCodeAt(0) ? ue += "?" : ue += "? "), ue += Z.dump, J && (ue += K(Z, ge)), Ee(Z, ge + 1, R, !0, J) && (Z.dump && u === Z.dump.charCodeAt(0) ? ue += ":" : ue += ": ", ue += Z.dump, te += ue));
    Z.tag = le, Z.dump = te || "{}";
  }
  function ae(Z, ge, Te) {
    var De, te = Te ? Z.explicitTypes : Z.implicitTypes, le, ce, fe, be;
    for (le = 0, ce = te.length; le < ce; le += 1)
      if (fe = te[le], (fe.instanceOf || fe.predicate) && (!fe.instanceOf || typeof ge == "object" && ge instanceof fe.instanceOf) && (!fe.predicate || fe.predicate(ge))) {
        if (Te ? fe.multi && fe.representName ? Z.tag = fe.representName(ge) : Z.tag = fe.tag : Z.tag = "?", fe.represent) {
          if (be = Z.styleMap[fe.tag] || fe.defaultStyle, h.call(fe.represent) === "[object Function]") De = fe.represent(ge, be);
          else if (a.call(fe.represent, be)) De = fe.represent[be](ge, be);
          else throw new i("!<" + fe.tag + '> tag resolver accepts not "' + be + '" style');
          Z.dump = De;
        }
        return !0;
      }
    return !1;
  }
  function Ee(Z, ge, Te, De, te, le, ce) {
    Z.tag = null, Z.dump = Te, ae(Z, Te, !1) || ae(Z, Te, !0);
    var fe = h.call(Z.dump), be = De, $e;
    De && (De = Z.flowLevel < 0 || Z.flowLevel > ge);
    var R = fe === "[object Object]" || fe === "[object Array]", J, ue;
    if (R && (J = Z.duplicates.indexOf(Te), ue = J !== -1), (Z.tag !== null && Z.tag !== "?" || ue || Z.indent !== 2 && ge > 0) && (te = !1), ue && Z.usedDuplicates[J]) Z.dump = "*ref_" + J;
    else {
      if (R && ue && !Z.usedDuplicates[J] && (Z.usedDuplicates[J] = !0), fe === "[object Object]") De && Object.keys(Z.dump).length !== 0 ? (ie(Z, ge, Z.dump, te), ue && (Z.dump = "&ref_" + J + Z.dump)) : (Q(Z, ge, Z.dump), ue && (Z.dump = "&ref_" + J + " " + Z.dump));
      else if (fe === "[object Array]") De && Z.dump.length !== 0 ? (Z.noArrayIndent && !ce && ge > 0 ? re(Z, ge - 1, Z.dump, te) : re(Z, ge, Z.dump, te), ue && (Z.dump = "&ref_" + J + Z.dump)) : (de(Z, ge, Z.dump), ue && (Z.dump = "&ref_" + J + " " + Z.dump));
      else if (fe === "[object String]")
        Z.tag !== "?" && xe(Z, Z.dump, ge, le, be);
      else {
        if (fe === "[object Undefined]") return !1;
        if (Z.skipInvalid) return !1;
        throw new i("unacceptable kind of an object to dump " + fe);
      }
      Z.tag !== null && Z.tag !== "?" && ($e = encodeURI(Z.tag[0] === "!" ? Z.tag.slice(1) : Z.tag).replace(/!/g, "%21"), Z.tag[0] === "!" ? $e = "!" + $e : $e.slice(0, 18) === "tag:yaml.org,2002:" ? $e = "!!" + $e.slice(18) : $e = "!<" + $e + ">", Z.dump = $e + " " + Z.dump);
    }
    return !0;
  }
  function Fe(Z, ge) {
    var Te = [], De = [], te, le;
    for (Ce(Z, Te, De), te = 0, le = De.length; te < le; te += 1) ge.duplicates.push(Te[De[te]]);
    ge.usedDuplicates = new Array(le);
  }
  function Ce(Z, ge, Te) {
    var De, te, le;
    if (Z !== null && typeof Z == "object")
      if (te = ge.indexOf(Z), te !== -1)
        Te.indexOf(te) === -1 && Te.push(te);
      else if (ge.push(Z), Array.isArray(Z)) for (te = 0, le = Z.length; te < le; te += 1) Ce(Z[te], ge, Te);
      else
        for (De = Object.keys(Z), te = 0, le = De.length; te < le; te += 1) Ce(Z[De[te]], ge, Te);
  }
  function Re(Z, ge) {
    ge = ge || {};
    var Te = new O(ge);
    Te.noRefs || Fe(Z, Te);
    var De = Z;
    return Te.replacer && (De = Te.replacer.call({ "": De }, "", De)), Ee(Te, 0, De, !0, !0) ? Te.dump + `
` : "";
  }
  t.exports.dump = Re;
})), ek = /* @__PURE__ */ j(((e, t) => {
  var r = XI(), i = QI();
  function s(h, a) {
    return function() {
      throw new Error("Function yaml." + h + " is removed in js-yaml 4. Use yaml." + a + " instead, which is now safe by default.");
    };
  }
  t.exports.Type = jt(), t.exports.Schema = Wg(), t.exports.FAILSAFE_SCHEMA = Zg(), t.exports.JSON_SCHEMA = tm(), t.exports.CORE_SCHEMA = rm(), t.exports.DEFAULT_SCHEMA = kl(), t.exports.load = r.load, t.exports.loadAll = r.loadAll, t.exports.dump = i.dump, t.exports.YAMLException = An(), t.exports.types = {
    binary: sm(),
    float: em(),
    map: Kg(),
    null: Jg(),
    pairs: om(),
    set: um(),
    timestamp: im(),
    bool: Xg(),
    int: Qg(),
    merge: nm(),
    omap: am(),
    seq: Yg(),
    str: Vg()
  }, t.exports.safeLoad = s("safeLoad", "load"), t.exports.safeLoadAll = s("safeLoadAll", "loadAll"), t.exports.safeDump = s("safeDump", "dump");
})), tk = /* @__PURE__ */ j(((e) => {
  var t = e && e.__importDefault || function(y) {
    return y && y.__esModule ? y : { default: y };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.rcFile = f;
  var r = t(ve("path")), i = t(ve("fs")), s = t(zI()), h = t((ZI(), At(GI))), a = gn()("rc-config-loader"), n = {
    ".cjs": p,
    ".js": p,
    ".json": m,
    ".yaml": v,
    ".yml": v
  }, l = {
    packageJSON: !1,
    defaultExtension: [
      ".json",
      ".yaml",
      ".yml",
      ".js",
      ".cjs"
    ],
    cwd: process.cwd()
  }, u = (y, w) => {
    if (!l.defaultExtension.includes(w)) throw new Error(`${w} is not supported.`);
    return y[w];
  };
  function f(y, w = {}) {
    const _ = w.configFileName || `.${y}rc`, b = w.defaultExtension || l.defaultExtension, E = w.cwd || l.cwd, D = w.packageJSON || l.packageJSON, S = typeof D == "object" ? D.fieldName : y, C = c(E), T = Array.isArray(b) ? b.map((U) => u(n, U)) : u(n, b);
    return o({
      parts: C,
      loaderByExt: Object.assign(Object.assign({}, n), { "": T }),
      loadersByOrder: T,
      configFileName: _,
      packageJSON: D,
      packageJSONFieldName: S
    });
  }
  function o({ parts: y, loaderByExt: w, loadersByOrder: _, configFileName: b, packageJSON: E, packageJSONFieldName: D }) {
    const S = Object.keys(w);
    for (; S.length; ) {
      const C = S.shift(), T = d(y, b + C);
      if (!i.default.existsSync(T)) continue;
      const U = C ? w[C] : _;
      if (!Array.isArray(U)) {
        const $ = U(T, !1);
        if (!$) continue;
        return {
          config: $,
          filePath: T
        };
      }
      for (let $ = 0; $ < U.length; $++) {
        const z = U[$], Y = z(T, !0);
        if (Y)
          return {
            config: Y,
            filePath: T
          };
      }
    }
    if (E) {
      const C = d(y, "package.json");
      if (i.default.existsSync(C)) {
        const T = h.default.parse(g(C));
        if (T[D]) return {
          config: T[D],
          filePath: C
        };
      }
    }
    if (y.pop()) return o({
      parts: y,
      loaderByExt: w,
      loadersByOrder: _,
      configFileName: b,
      packageJSON: E,
      packageJSONFieldName: D
    });
  }
  function c(y) {
    return r.default.resolve(y || "").split(r.default.sep);
  }
  function d(y, w) {
    return r.default.resolve(y.join(r.default.sep) + r.default.sep, w);
  }
  function p(y, w) {
    a(`Loading JavaScript config file: ${y}`);
    try {
      const _ = i.default.readFileSync(y, "utf-8");
      return (0, s.default)(_, y);
    } catch (_) {
      if (a(`Error reading JavaScript file: ${y}`), !w)
        throw _.message = `Cannot read config file: ${y}
Error: ${_.message}`, _;
    }
  }
  function m(y, w) {
    a(`Loading JSON config file: ${y}`);
    try {
      return h.default.parse(g(y));
    } catch (_) {
      if (a(`Error reading JSON file: ${y}`), !w)
        throw _.message = `Cannot read config file: ${y}
Error: ${_.message}`, _;
    }
  }
  function g(y) {
    return i.default.readFileSync(y, "utf8");
  }
  function v(y, w) {
    a(`Loading YAML config file: ${y}`);
    const _ = ek();
    try {
      return _.load(g(y)) || {};
    } catch (b) {
      if (a(`Error reading YAML file: ${y}`), !w)
        throw b.message = `Cannot read config file: ${y}
Error: ${b.message}`, b;
    }
  }
})), rk = tk();
async function ik({ configFileName: e, configFilePath: t, packageFile: r, global: i, options: s }) {
  const h = cs(s?.color), a = (0, rk.rcFile)("ncurc", {
    configFileName: e || ".ncurc",
    defaultExtension: [
      ".json",
      ".yml",
      ".js"
    ],
    cwd: t || (i ? hi.homedir() : r ? Ye.dirname(r) : void 0)
  }), n = a?.filePath;
  e && !n && Qe(s, `Config file ${e} not found in ${t || process.cwd()}`);
  const { $schema: l, ...u } = a?.config || {}, f = u;
  typeof f.format == "string" && (f.format = Br.format.parse(f.format));
  const o = Object.keys(f).filter((c) => !Br[c]);
  return o.length > 0 && (console.error(h.red(`Unknown option${o.length === 1 ? "" : "s"} found in config file:`), h.gray(o.join(", "))), console.info("Using config file " + n), console.info(`You can change the config file path with ${h.blue("--configFilePath")}`)), {
    filePath: n,
    args: Object.entries(f).flatMap(([c, d]) => typeof d == "boolean" || Br[c]?.type === "boolean" ? d ? [`--${c}`] : [] : [`--${c}`, d]),
    config: f
  };
}
var vh = Object.prototype.hasOwnProperty;
function yh(e, t, r) {
  for (r of e.keys()) if (jr(r, t)) return r;
}
function jr(e, t) {
  var r, i, s;
  if (e === t) return !0;
  if (e && t && (r = e.constructor) === t.constructor) {
    if (r === Date) return e.getTime() === t.getTime();
    if (r === RegExp) return e.toString() === t.toString();
    if (r === Array) {
      if ((i = e.length) === t.length) for (; i-- && jr(e[i], t[i]); ) ;
      return i === -1;
    }
    if (r === Set) {
      if (e.size !== t.size) return !1;
      for (i of e)
        if (s = i, s && typeof s == "object" && (s = yh(t, s), !s) || !t.has(s)) return !1;
      return !0;
    }
    if (r === Map) {
      if (e.size !== t.size) return !1;
      for (i of e)
        if (s = i[0], s && typeof s == "object" && (s = yh(t, s), !s) || !jr(i[1], t.get(s))) return !1;
      return !0;
    }
    if (r === ArrayBuffer)
      e = new Uint8Array(e), t = new Uint8Array(t);
    else if (r === DataView) {
      if ((i = e.byteLength) === t.byteLength) for (; i-- && e.getInt8(i) === t.getInt8(i); ) ;
      return i === -1;
    }
    if (ArrayBuffer.isView(e)) {
      if ((i = e.byteLength) === t.byteLength) for (; i-- && e[i] === t[i]; ) ;
      return i === -1;
    }
    if (!r || typeof e == "object") {
      i = 0;
      for (r in e)
        if (vh.call(e, r) && ++i && !vh.call(t, r) || !(r in t) || !jr(e[r], t[r])) return !1;
      return Object.keys(t).length === i;
    }
  }
  return e !== e && t !== t;
}
var Js = /* @__PURE__ */ j(((e, t) => {
  var r = "\\\\/", i = `[^${r}]`, s = 0, h = "\\.", a = "\\+", n = "\\?", l = "\\/", u = "(?=.)", f = "[^/]", o = `(?:${l}|$)`, c = `(?:^|${l})`, d = `${h}{1,2}${o}`, p = {
    DOT_LITERAL: h,
    PLUS_LITERAL: a,
    QMARK_LITERAL: n,
    SLASH_LITERAL: l,
    ONE_CHAR: u,
    QMARK: f,
    END_ANCHOR: o,
    DOTS_SLASH: d,
    NO_DOT: `(?!${h})`,
    NO_DOTS: `(?!${c}${d})`,
    NO_DOT_SLASH: `(?!${h}{0,1}${o})`,
    NO_DOTS_SLASH: `(?!${d})`,
    QMARK_NO_DOT: `[^.${l}]`,
    STAR: `${f}*?`,
    START_ANCHOR: c,
    SEP: "/"
  }, m = {
    ...p,
    SLASH_LITERAL: `[${r}]`,
    QMARK: i,
    STAR: `${i}*?`,
    DOTS_SLASH: `${h}{1,2}(?:[${r}]|$)`,
    NO_DOT: `(?!${h})`,
    NO_DOTS: `(?!(?:^|[${r}])${h}{1,2}(?:[${r}]|$))`,
    NO_DOT_SLASH: `(?!${h}{0,1}(?:[${r}]|$))`,
    NO_DOTS_SLASH: `(?!${h}{1,2}(?:[${r}]|$))`,
    QMARK_NO_DOT: `[^.${r}]`,
    START_ANCHOR: `(?:^|[${r}])`,
    END_ANCHOR: `(?:[${r}]|$)`,
    SEP: "\\"
  }, g = {
    __proto__: null,
    alnum: "a-zA-Z0-9",
    alpha: "a-zA-Z",
    ascii: "\\x00-\\x7F",
    blank: " \\t",
    cntrl: "\\x00-\\x1F\\x7F",
    digit: "0-9",
    graph: "\\x21-\\x7E",
    lower: "a-z",
    print: "\\x20-\\x7E ",
    punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
    space: " \\t\\r\\n\\v\\f",
    upper: "A-Z",
    word: "A-Za-z0-9_",
    xdigit: "A-Fa-f0-9"
  };
  t.exports = {
    DEFAULT_MAX_EXTGLOB_RECURSION: s,
    MAX_LENGTH: 1024 * 64,
    POSIX_REGEX_SOURCE: g,
    REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
    REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
    REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
    REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
    REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
    REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
    REPLACEMENTS: {
      __proto__: null,
      "***": "*",
      "**/**": "**",
      "**/**/**": "**"
    },
    CHAR_0: 48,
    CHAR_9: 57,
    CHAR_UPPERCASE_A: 65,
    CHAR_LOWERCASE_A: 97,
    CHAR_UPPERCASE_Z: 90,
    CHAR_LOWERCASE_Z: 122,
    CHAR_LEFT_PARENTHESES: 40,
    CHAR_RIGHT_PARENTHESES: 41,
    CHAR_ASTERISK: 42,
    CHAR_AMPERSAND: 38,
    CHAR_AT: 64,
    CHAR_BACKWARD_SLASH: 92,
    CHAR_CARRIAGE_RETURN: 13,
    CHAR_CIRCUMFLEX_ACCENT: 94,
    CHAR_COLON: 58,
    CHAR_COMMA: 44,
    CHAR_DOT: 46,
    CHAR_DOUBLE_QUOTE: 34,
    CHAR_EQUAL: 61,
    CHAR_EXCLAMATION_MARK: 33,
    CHAR_FORM_FEED: 12,
    CHAR_FORWARD_SLASH: 47,
    CHAR_GRAVE_ACCENT: 96,
    CHAR_HASH: 35,
    CHAR_HYPHEN_MINUS: 45,
    CHAR_LEFT_ANGLE_BRACKET: 60,
    CHAR_LEFT_CURLY_BRACE: 123,
    CHAR_LEFT_SQUARE_BRACKET: 91,
    CHAR_LINE_FEED: 10,
    CHAR_NO_BREAK_SPACE: 160,
    CHAR_PERCENT: 37,
    CHAR_PLUS: 43,
    CHAR_QUESTION_MARK: 63,
    CHAR_RIGHT_ANGLE_BRACKET: 62,
    CHAR_RIGHT_CURLY_BRACE: 125,
    CHAR_RIGHT_SQUARE_BRACKET: 93,
    CHAR_SEMICOLON: 59,
    CHAR_SINGLE_QUOTE: 39,
    CHAR_SPACE: 32,
    CHAR_TAB: 9,
    CHAR_UNDERSCORE: 95,
    CHAR_VERTICAL_LINE: 124,
    CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
    extglobChars(v) {
      return {
        "!": {
          type: "negate",
          open: "(?:(?!(?:",
          close: `))${v.STAR})`
        },
        "?": {
          type: "qmark",
          open: "(?:",
          close: ")?"
        },
        "+": {
          type: "plus",
          open: "(?:",
          close: ")+"
        },
        "*": {
          type: "star",
          open: "(?:",
          close: ")*"
        },
        "@": {
          type: "at",
          open: "(?:",
          close: ")"
        }
      };
    },
    globChars(v) {
      return v === !0 ? m : p;
    }
  };
})), Xs = /* @__PURE__ */ j(((e) => {
  var { REGEX_BACKSLASH: t, REGEX_REMOVE_BACKSLASH: r, REGEX_SPECIAL_CHARS: i, REGEX_SPECIAL_CHARS_GLOBAL: s } = Js();
  e.isObject = (h) => h !== null && typeof h == "object" && !Array.isArray(h), e.hasRegexChars = (h) => i.test(h), e.isRegexChar = (h) => h.length === 1 && e.hasRegexChars(h), e.escapeRegex = (h) => h.replace(s, "\\$1"), e.toPosixSlashes = (h) => h.replace(t, "/"), e.isWindows = () => {
    if (typeof navigator < "u" && navigator.platform) {
      const h = navigator.platform.toLowerCase();
      return h === "win32" || h === "windows";
    }
    return typeof process < "u" && process.platform ? process.platform === "win32" : !1;
  }, e.removeBackslashes = (h) => h.replace(r, (a) => a === "\\" ? "" : a), e.escapeLast = (h, a, n) => {
    const l = h.lastIndexOf(a, n);
    return l === -1 ? h : h[l - 1] === "\\" ? e.escapeLast(h, a, l - 1) : `${h.slice(0, l)}\\${h.slice(l)}`;
  }, e.removePrefix = (h, a = {}) => {
    let n = h;
    return n.startsWith("./") && (n = n.slice(2), a.prefix = "./"), n;
  }, e.wrapOutput = (h, a = {}, n = {}) => {
    let l = `${n.contains ? "" : "^"}(?:${h})${n.contains ? "" : "$"}`;
    return a.negated === !0 && (l = `(?:^(?!${l}).*$)`), l;
  }, e.basename = (h, { windows: a } = {}) => {
    const n = h.split(a ? /[\\/]/ : "/"), l = n[n.length - 1];
    return l === "" ? n[n.length - 2] : l;
  };
})), nk = /* @__PURE__ */ j(((e, t) => {
  var r = Xs(), { CHAR_ASTERISK: i, CHAR_AT: s, CHAR_BACKWARD_SLASH: h, CHAR_COMMA: a, CHAR_DOT: n, CHAR_EXCLAMATION_MARK: l, CHAR_FORWARD_SLASH: u, CHAR_LEFT_CURLY_BRACE: f, CHAR_LEFT_PARENTHESES: o, CHAR_LEFT_SQUARE_BRACKET: c, CHAR_PLUS: d, CHAR_QUESTION_MARK: p, CHAR_RIGHT_CURLY_BRACE: m, CHAR_RIGHT_PARENTHESES: g, CHAR_RIGHT_SQUARE_BRACKET: v } = Js(), y = (b) => b === u || b === h, w = (b) => {
    b.isPrefix !== !0 && (b.depth = b.isGlobstar ? 1 / 0 : 1);
  }, _ = (b, E) => {
    const D = E || {}, S = b.length - 1, C = D.parts === !0 || D.scanToEnd === !0, T = [], U = [], $ = [];
    let z = b, Y = -1, H = 0, k = 0, F = !1, q = !1, W = !1, P = !1, x = !1, L = !1, O = !1, N = !1, K = !1, oe = !1, pe = 0, _e, V, B = {
      value: "",
      depth: 0,
      isGlob: !1
    };
    const G = () => Y >= S, X = () => z.charCodeAt(Y + 1), ne = () => (_e = V, z.charCodeAt(++Y));
    for (; Y < S; ) {
      V = ne();
      let Se;
      if (V === h) {
        O = B.backslashes = !0, V = ne(), V === f && (L = !0);
        continue;
      }
      if (L === !0 || V === f) {
        for (pe++; G() !== !0 && (V = ne()); ) {
          if (V === h) {
            O = B.backslashes = !0, ne();
            continue;
          }
          if (V === f) {
            pe++;
            continue;
          }
          if (L !== !0 && V === n && (V = ne()) === n) {
            if (F = B.isBrace = !0, W = B.isGlob = !0, oe = !0, C === !0) continue;
            break;
          }
          if (L !== !0 && V === a) {
            if (F = B.isBrace = !0, W = B.isGlob = !0, oe = !0, C === !0) continue;
            break;
          }
          if (V === m && (pe--, pe === 0)) {
            L = !1, F = B.isBrace = !0, oe = !0;
            break;
          }
        }
        if (C === !0) continue;
        break;
      }
      if (V === u) {
        if (T.push(Y), U.push(B), B = {
          value: "",
          depth: 0,
          isGlob: !1
        }, oe === !0) continue;
        if (_e === n && Y === H + 1) {
          H += 2;
          continue;
        }
        k = Y + 1;
        continue;
      }
      if (D.noext !== !0 && (V === d || V === s || V === i || V === p || V === l) && X() === o) {
        if (W = B.isGlob = !0, P = B.isExtglob = !0, oe = !0, V === l && Y === H && (K = !0), C === !0) {
          for (; G() !== !0 && (V = ne()); ) {
            if (V === h) {
              O = B.backslashes = !0, V = ne();
              continue;
            }
            if (V === g) {
              W = B.isGlob = !0, oe = !0;
              break;
            }
          }
          continue;
        }
        break;
      }
      if (V === i) {
        if (_e === i && (x = B.isGlobstar = !0), W = B.isGlob = !0, oe = !0, C === !0) continue;
        break;
      }
      if (V === p) {
        if (W = B.isGlob = !0, oe = !0, C === !0) continue;
        break;
      }
      if (V === c) {
        for (; G() !== !0 && (Se = ne()); ) {
          if (Se === h) {
            O = B.backslashes = !0, ne();
            continue;
          }
          if (Se === v) {
            q = B.isBracket = !0, W = B.isGlob = !0, oe = !0;
            break;
          }
        }
        if (C === !0) continue;
        break;
      }
      if (D.nonegate !== !0 && V === l && Y === H) {
        N = B.negated = !0, H++;
        continue;
      }
      if (D.noparen !== !0 && V === o) {
        if (W = B.isGlob = !0, C === !0) {
          for (; G() !== !0 && (V = ne()); ) {
            if (V === o) {
              O = B.backslashes = !0, V = ne();
              continue;
            }
            if (V === g) {
              oe = !0;
              break;
            }
          }
          continue;
        }
        break;
      }
      if (W === !0) {
        if (oe = !0, C === !0) continue;
        break;
      }
    }
    D.noext === !0 && (P = !1, W = !1);
    let I = z, M = "", ee = "";
    H > 0 && (M = z.slice(0, H), z = z.slice(H), k -= H), I && W === !0 && k > 0 ? (I = z.slice(0, k), ee = z.slice(k)) : W === !0 ? (I = "", ee = z) : I = z, I && I !== "" && I !== "/" && I !== z && y(I.charCodeAt(I.length - 1)) && (I = I.slice(0, -1)), D.unescape === !0 && (ee && (ee = r.removeBackslashes(ee)), I && O === !0 && (I = r.removeBackslashes(I)));
    const Ae = {
      prefix: M,
      input: b,
      start: H,
      base: I,
      glob: ee,
      isBrace: F,
      isBracket: q,
      isGlob: W,
      isExtglob: P,
      isGlobstar: x,
      negated: N,
      negatedExtglob: K
    };
    if (D.tokens === !0 && (Ae.maxDepth = 0, y(V) || U.push(B), Ae.tokens = U), D.parts === !0 || D.tokens === !0) {
      let Se;
      for (let ye = 0; ye < T.length; ye++) {
        const Be = Se ? Se + 1 : H, xe = T[ye], je = b.slice(Be, xe);
        D.tokens && (ye === 0 && H !== 0 ? (U[ye].isPrefix = !0, U[ye].value = M) : U[ye].value = je, w(U[ye]), Ae.maxDepth += U[ye].depth), (ye !== 0 || je !== "") && $.push(je), Se = xe;
      }
      if (Se && Se + 1 < b.length) {
        const ye = b.slice(Se + 1);
        $.push(ye), D.tokens && (U[U.length - 1].value = ye, w(U[U.length - 1]), Ae.maxDepth += U[U.length - 1].depth);
      }
      Ae.slashes = T, Ae.parts = $;
    }
    return Ae;
  };
  t.exports = _;
})), sk = /* @__PURE__ */ j(((e, t) => {
  var r = Js(), i = Xs(), { MAX_LENGTH: s, POSIX_REGEX_SOURCE: h, REGEX_NON_SPECIAL_CHARS: a, REGEX_SPECIAL_CHARS_BACKREF: n, REPLACEMENTS: l } = r, u = (_, b) => {
    if (typeof b.expandRange == "function") return b.expandRange(..._, b);
    _.sort();
    const E = `[${_.join("-")}]`;
    try {
      new RegExp(E);
    } catch {
      return _.map((S) => i.escapeRegex(S)).join("..");
    }
    return E;
  }, f = (_, b) => `Missing ${_}: "${b}" - use "\\\\${b}" to match literal characters`, o = (_) => {
    const b = [];
    let E = 0, D = 0, S = 0, C = "", T = !1;
    for (const U of _) {
      if (T === !0) {
        C += U, T = !1;
        continue;
      }
      if (U === "\\") {
        C += U, T = !0;
        continue;
      }
      if (U === '"') {
        S = S === 1 ? 0 : 1, C += U;
        continue;
      }
      if (S === 0) {
        if (U === "[") E++;
        else if (U === "]" && E > 0) E--;
        else if (E === 0) {
          if (U === "(") D++;
          else if (U === ")" && D > 0) D--;
          else if (U === "|" && D === 0) {
            b.push(C), C = "";
            continue;
          }
        }
      }
      C += U;
    }
    return b.push(C), b;
  }, c = (_) => {
    let b = !1;
    for (const E of _) {
      if (b === !0) {
        b = !1;
        continue;
      }
      if (E === "\\") {
        b = !0;
        continue;
      }
      if (/[?*+@!()[\]{}]/.test(E)) return !1;
    }
    return !0;
  }, d = (_) => {
    let b = _.trim(), E = !0;
    for (; E === !0; )
      E = !1, /^@\([^\\()[\]{}|]+\)$/.test(b) && (b = b.slice(2, -1), E = !0);
    if (c(b))
      return b.replace(/\\(.)/g, "$1");
  }, p = (_) => {
    const b = _.map(d).filter(Boolean);
    for (let E = 0; E < b.length; E++) for (let D = E + 1; D < b.length; D++) {
      const S = b[E], C = b[D], T = S[0];
      if (!(!T || S !== T.repeat(S.length) || C !== T.repeat(C.length)) && (S === C || S.startsWith(C) || C.startsWith(S)))
        return !0;
    }
    return !1;
  }, m = (_, b = !0) => {
    if (_[0] !== "+" && _[0] !== "*" || _[1] !== "(") return;
    let E = 0, D = 0, S = 0, C = !1;
    for (let T = 1; T < _.length; T++) {
      const U = _[T];
      if (C === !0) {
        C = !1;
        continue;
      }
      if (U === "\\") {
        C = !0;
        continue;
      }
      if (U === '"') {
        S = S === 1 ? 0 : 1;
        continue;
      }
      if (S !== 1) {
        if (U === "[") {
          E++;
          continue;
        }
        if (U === "]" && E > 0) {
          E--;
          continue;
        }
        if (!(E > 0)) {
          if (U === "(") {
            D++;
            continue;
          }
          if (U === ")" && (D--, D === 0))
            return b === !0 && T !== _.length - 1 ? void 0 : {
              type: _[0],
              body: _.slice(2, T),
              end: T
            };
        }
      }
    }
  }, g = (_) => {
    let b = 0;
    const E = [];
    for (; b < _.length; ) {
      const D = m(_.slice(b), !1);
      if (!D || D.type !== "*") return;
      const S = o(D.body).map((T) => T.trim());
      if (S.length !== 1) return;
      const C = d(S[0]);
      if (!C || C.length !== 1) return;
      E.push(C), b += D.end + 1;
    }
    if (!(E.length < 1))
      return `${E.length === 1 ? i.escapeRegex(E[0]) : `[${E.map((D) => i.escapeRegex(D)).join("")}]`}*`;
  }, v = (_) => {
    let b = 0, E = _.trim(), D = m(E);
    for (; D; )
      b++, E = D.body.trim(), D = m(E);
    return b;
  }, y = (_, b) => {
    if (b.maxExtglobRecursion === !1) return { risky: !1 };
    const E = typeof b.maxExtglobRecursion == "number" ? b.maxExtglobRecursion : r.DEFAULT_MAX_EXTGLOB_RECURSION, D = o(_).map((S) => S.trim());
    if (D.length > 1 && (D.some((S) => S === "") || D.some((S) => /^[*?]+$/.test(S)) || p(D)))
      return { risky: !0 };
    for (const S of D) {
      const C = g(S);
      if (C) return {
        risky: !0,
        safeOutput: C
      };
      if (v(S) > E) return { risky: !0 };
    }
    return { risky: !1 };
  }, w = (_, b) => {
    if (typeof _ != "string") throw new TypeError("Expected a string");
    _ = l[_] || _;
    const E = { ...b }, D = typeof E.maxLength == "number" ? Math.min(s, E.maxLength) : s;
    let S = _.length;
    if (S > D) throw new SyntaxError(`Input length: ${S}, exceeds maximum allowed length: ${D}`);
    const C = {
      type: "bos",
      value: "",
      output: E.prepend || ""
    }, T = [C], U = E.capture ? "" : "?:", $ = r.globChars(E.windows), z = r.extglobChars($), { DOT_LITERAL: Y, PLUS_LITERAL: H, SLASH_LITERAL: k, ONE_CHAR: F, DOTS_SLASH: q, NO_DOT: W, NO_DOT_SLASH: P, NO_DOTS_SLASH: x, QMARK: L, QMARK_NO_DOT: O, STAR: N, START_ANCHOR: K } = $, oe = (re) => `(${U}(?:(?!${K}${re.dot ? q : Y}).)*?)`, pe = E.dot ? "" : W, _e = E.dot ? L : O;
    let V = E.bash === !0 ? oe(E) : N;
    E.capture && (V = `(${V})`), typeof E.noext == "boolean" && (E.noextglob = E.noext);
    const B = {
      input: _,
      index: -1,
      start: 0,
      dot: E.dot === !0,
      consumed: "",
      output: "",
      prefix: "",
      backtrack: !1,
      negated: !1,
      brackets: 0,
      braces: 0,
      parens: 0,
      quotes: 0,
      globstar: !1,
      tokens: T
    };
    _ = i.removePrefix(_, B), S = _.length;
    const G = [], X = [], ne = [];
    let I = C, M;
    const ee = () => B.index === S - 1, Ae = B.peek = (re = 1) => _[B.index + re], Se = B.advance = () => _[++B.index] || "", ye = () => _.slice(B.index + 1), Be = (re = "", Q = 0) => {
      B.consumed += re, B.index += Q;
    }, xe = (re) => {
      B.output += re.output != null ? re.output : re.value, Be(re.value);
    }, je = () => {
      let re = 1;
      for (; Ae() === "!" && (Ae(2) !== "(" || Ae(3) === "?"); )
        Se(), B.start++, re++;
      return re % 2 === 0 ? !1 : (B.negated = !0, B.start++, !0);
    }, Oe = (re) => {
      B[re]++, ne.push(re);
    }, A = (re) => {
      B[re]--, ne.pop();
    }, se = (re) => {
      if (I.type === "globstar") {
        const Q = B.braces > 0 && (re.type === "comma" || re.type === "brace"), ie = re.extglob === !0 || G.length && (re.type === "pipe" || re.type === "paren");
        re.type !== "slash" && re.type !== "paren" && !Q && !ie && (B.output = B.output.slice(0, -I.output.length), I.type = "star", I.value = "*", I.output = V, B.output += I.output);
      }
      if (G.length && re.type !== "paren" && (G[G.length - 1].inner += re.value), (re.value || re.output) && xe(re), I && I.type === "text" && re.type === "text") {
        I.output = (I.output || I.value) + re.value, I.value += re.value;
        return;
      }
      re.prev = I, T.push(re), I = re;
    }, he = (re, Q) => {
      const ie = {
        ...z[Q],
        conditions: 1,
        inner: ""
      };
      ie.prev = I, ie.parens = B.parens, ie.output = B.output, ie.startIndex = B.index, ie.tokensIndex = T.length;
      const ae = (E.capture ? "(" : "") + ie.open;
      Oe("parens"), se({
        type: re,
        value: Q,
        output: B.output ? "" : F
      }), se({
        type: "paren",
        extglob: !0,
        value: Se(),
        output: ae
      }), G.push(ie);
    }, de = (re) => {
      const Q = _.slice(re.startIndex, B.index + 1), ie = y(_.slice(re.startIndex + 2, B.index), E);
      if ((re.type === "plus" || re.type === "star") && ie.risky) {
        const Fe = ie.safeOutput ? (re.output ? "" : F) + (E.capture ? `(${ie.safeOutput})` : ie.safeOutput) : void 0, Ce = T[re.tokensIndex];
        Ce.type = "text", Ce.value = Q, Ce.output = Fe || i.escapeRegex(Q);
        for (let Re = re.tokensIndex + 1; Re < T.length; Re++)
          T[Re].value = "", T[Re].output = "", delete T[Re].suffix;
        B.output = re.output + Ce.output, B.backtrack = !0, se({
          type: "paren",
          extglob: !0,
          value: M,
          output: ""
        }), A("parens");
        return;
      }
      let ae = re.close + (E.capture ? ")" : ""), Ee;
      if (re.type === "negate") {
        let Fe = V;
        re.inner && re.inner.length > 1 && re.inner.includes("/") && (Fe = oe(E)), (Fe !== V || ee() || /^\)+$/.test(ye())) && (ae = re.close = `)$))${Fe}`), re.inner.includes("*") && (Ee = ye()) && /^\.[^\\/.]+$/.test(Ee) && (ae = re.close = `)${w(Ee, {
          ...b,
          fastpaths: !1
        }).output})${Fe})`), re.prev.type === "bos" && (B.negatedExtglob = !0);
      }
      se({
        type: "paren",
        extglob: !0,
        value: M,
        output: ae
      }), A("parens");
    };
    if (E.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(_)) {
      let re = !1, Q = _.replace(n, (ie, ae, Ee, Fe, Ce, Re) => Fe === "\\" ? (re = !0, ie) : Fe === "?" ? ae ? ae + Fe + (Ce ? L.repeat(Ce.length) : "") : Re === 0 ? _e + (Ce ? L.repeat(Ce.length) : "") : L.repeat(Ee.length) : Fe === "." ? Y.repeat(Ee.length) : Fe === "*" ? ae ? ae + Fe + (Ce ? V : "") : V : ae ? ie : `\\${ie}`);
      return re === !0 && (E.unescape === !0 ? Q = Q.replace(/\\/g, "") : Q = Q.replace(/\\+/g, (ie) => ie.length % 2 === 0 ? "\\\\" : ie ? "\\" : "")), Q === _ && E.contains === !0 ? (B.output = _, B) : (B.output = i.wrapOutput(Q, B, b), B);
    }
    for (; !ee(); ) {
      if (M = Se(), M === "\0") continue;
      if (M === "\\") {
        const ie = Ae();
        if (ie === "/" && E.bash !== !0 || ie === "." || ie === ";") continue;
        if (!ie) {
          M += "\\", se({
            type: "text",
            value: M
          });
          continue;
        }
        const ae = /^\\+/.exec(ye());
        let Ee = 0;
        if (ae && ae[0].length > 2 && (Ee = ae[0].length, B.index += Ee, Ee % 2 !== 0 && (M += "\\")), E.unescape === !0 ? M = Se() : M += Se(), B.brackets === 0) {
          se({
            type: "text",
            value: M
          });
          continue;
        }
      }
      if (B.brackets > 0 && (M !== "]" || I.value === "[" || I.value === "[^")) {
        if (E.posix !== !1 && M === ":") {
          const ie = I.value.slice(1);
          if (ie.includes("[") && (I.posix = !0, ie.includes(":"))) {
            const ae = I.value.lastIndexOf("["), Ee = I.value.slice(0, ae), Fe = h[I.value.slice(ae + 2)];
            if (Fe) {
              I.value = Ee + Fe, B.backtrack = !0, Se(), !C.output && T.indexOf(I) === 1 && (C.output = F);
              continue;
            }
          }
        }
        (M === "[" && Ae() !== ":" || M === "-" && Ae() === "]") && (M = `\\${M}`), M === "]" && (I.value === "[" || I.value === "[^") && (M = `\\${M}`), E.posix === !0 && M === "!" && I.value === "[" && (M = "^"), I.value += M, xe({ value: M });
        continue;
      }
      if (B.quotes === 1 && M !== '"') {
        M = i.escapeRegex(M), I.value += M, xe({ value: M });
        continue;
      }
      if (M === '"') {
        B.quotes = B.quotes === 1 ? 0 : 1, E.keepQuotes === !0 && se({
          type: "text",
          value: M
        });
        continue;
      }
      if (M === "(") {
        Oe("parens"), se({
          type: "paren",
          value: M
        });
        continue;
      }
      if (M === ")") {
        if (B.parens === 0 && E.strictBrackets === !0) throw new SyntaxError(f("opening", "("));
        const ie = G[G.length - 1];
        if (ie && B.parens === ie.parens + 1) {
          de(G.pop());
          continue;
        }
        se({
          type: "paren",
          value: M,
          output: B.parens ? ")" : "\\)"
        }), A("parens");
        continue;
      }
      if (M === "[") {
        if (E.nobracket === !0 || !ye().includes("]")) {
          if (E.nobracket !== !0 && E.strictBrackets === !0) throw new SyntaxError(f("closing", "]"));
          M = `\\${M}`;
        } else Oe("brackets");
        se({
          type: "bracket",
          value: M
        });
        continue;
      }
      if (M === "]") {
        if (E.nobracket === !0 || I && I.type === "bracket" && I.value.length === 1) {
          se({
            type: "text",
            value: M,
            output: `\\${M}`
          });
          continue;
        }
        if (B.brackets === 0) {
          if (E.strictBrackets === !0) throw new SyntaxError(f("opening", "["));
          se({
            type: "text",
            value: M,
            output: `\\${M}`
          });
          continue;
        }
        A("brackets");
        const ie = I.value.slice(1);
        if (I.posix !== !0 && ie[0] === "^" && !ie.includes("/") && (M = `/${M}`), I.value += M, xe({ value: M }), E.literalBrackets === !1 || i.hasRegexChars(ie)) continue;
        const ae = i.escapeRegex(I.value);
        if (B.output = B.output.slice(0, -I.value.length), E.literalBrackets === !0) {
          B.output += ae, I.value = ae;
          continue;
        }
        I.value = `(${U}${ae}|${I.value})`, B.output += I.value;
        continue;
      }
      if (M === "{" && E.nobrace !== !0) {
        Oe("braces");
        const ie = {
          type: "brace",
          value: M,
          output: "(",
          outputIndex: B.output.length,
          tokensIndex: B.tokens.length
        };
        X.push(ie), se(ie);
        continue;
      }
      if (M === "}") {
        const ie = X[X.length - 1];
        if (E.nobrace === !0 || !ie) {
          se({
            type: "text",
            value: M,
            output: M
          });
          continue;
        }
        let ae = ")";
        if (ie.dots === !0) {
          const Ee = T.slice(), Fe = [];
          for (let Ce = Ee.length - 1; Ce >= 0 && (T.pop(), Ee[Ce].type !== "brace"); Ce--)
            Ee[Ce].type !== "dots" && Fe.unshift(Ee[Ce].value);
          ae = u(Fe, E), B.backtrack = !0;
        }
        if (ie.comma !== !0 && ie.dots !== !0) {
          const Ee = B.output.slice(0, ie.outputIndex), Fe = B.tokens.slice(ie.tokensIndex);
          ie.value = ie.output = "\\{", M = ae = "\\}", B.output = Ee;
          for (const Ce of Fe) B.output += Ce.output || Ce.value;
        }
        se({
          type: "brace",
          value: M,
          output: ae
        }), A("braces"), X.pop();
        continue;
      }
      if (M === "|") {
        G.length > 0 && G[G.length - 1].conditions++, se({
          type: "text",
          value: M
        });
        continue;
      }
      if (M === ",") {
        let ie = M;
        const ae = X[X.length - 1];
        ae && ne[ne.length - 1] === "braces" && (ae.comma = !0, ie = "|"), se({
          type: "comma",
          value: M,
          output: ie
        });
        continue;
      }
      if (M === "/") {
        if (I.type === "dot" && B.index === B.start + 1) {
          B.start = B.index + 1, B.consumed = "", B.output = "", T.pop(), I = C;
          continue;
        }
        se({
          type: "slash",
          value: M,
          output: k
        });
        continue;
      }
      if (M === ".") {
        if (B.braces > 0 && I.type === "dot") {
          I.value === "." && (I.output = Y);
          const ie = X[X.length - 1];
          I.type = "dots", I.output += M, I.value += M, ie.dots = !0;
          continue;
        }
        if (B.braces + B.parens === 0 && I.type !== "bos" && I.type !== "slash") {
          se({
            type: "text",
            value: M,
            output: Y
          });
          continue;
        }
        se({
          type: "dot",
          value: M,
          output: Y
        });
        continue;
      }
      if (M === "?") {
        if (!(I && I.value === "(") && E.noextglob !== !0 && Ae() === "(" && Ae(2) !== "?") {
          he("qmark", M);
          continue;
        }
        if (I && I.type === "paren") {
          const ie = Ae();
          let ae = M;
          (I.value === "(" && !/[!=<:]/.test(ie) || ie === "<" && !/<([!=]|\w+>)/.test(ye())) && (ae = `\\${M}`), se({
            type: "text",
            value: M,
            output: ae
          });
          continue;
        }
        if (E.dot !== !0 && (I.type === "slash" || I.type === "bos")) {
          se({
            type: "qmark",
            value: M,
            output: O
          });
          continue;
        }
        se({
          type: "qmark",
          value: M,
          output: L
        });
        continue;
      }
      if (M === "!") {
        if (E.noextglob !== !0 && Ae() === "(" && (Ae(2) !== "?" || !/[!=<:]/.test(Ae(3)))) {
          he("negate", M);
          continue;
        }
        if (E.nonegate !== !0 && B.index === 0) {
          je();
          continue;
        }
      }
      if (M === "+") {
        if (E.noextglob !== !0 && Ae() === "(" && Ae(2) !== "?") {
          he("plus", M);
          continue;
        }
        if (I && I.value === "(" || E.regex === !1) {
          se({
            type: "plus",
            value: M,
            output: H
          });
          continue;
        }
        if (I && (I.type === "bracket" || I.type === "paren" || I.type === "brace") || B.parens > 0) {
          se({
            type: "plus",
            value: M
          });
          continue;
        }
        se({
          type: "plus",
          value: H
        });
        continue;
      }
      if (M === "@") {
        if (E.noextglob !== !0 && Ae() === "(" && Ae(2) !== "?") {
          se({
            type: "at",
            extglob: !0,
            value: M,
            output: ""
          });
          continue;
        }
        se({
          type: "text",
          value: M
        });
        continue;
      }
      if (M !== "*") {
        (M === "$" || M === "^") && (M = `\\${M}`);
        const ie = a.exec(ye());
        ie && (M += ie[0], B.index += ie[0].length), se({
          type: "text",
          value: M
        });
        continue;
      }
      if (I && (I.type === "globstar" || I.star === !0)) {
        I.type = "star", I.star = !0, I.value += M, I.output = V, B.backtrack = !0, B.globstar = !0, Be(M);
        continue;
      }
      let re = ye();
      if (E.noextglob !== !0 && /^\([^?]/.test(re)) {
        he("star", M);
        continue;
      }
      if (I.type === "star") {
        if (E.noglobstar === !0) {
          Be(M);
          continue;
        }
        const ie = I.prev, ae = ie.prev, Ee = ie.type === "slash" || ie.type === "bos", Fe = ae && (ae.type === "star" || ae.type === "globstar");
        if (E.bash === !0 && (!Ee || re[0] && re[0] !== "/")) {
          se({
            type: "star",
            value: M,
            output: ""
          });
          continue;
        }
        const Ce = B.braces > 0 && (ie.type === "comma" || ie.type === "brace"), Re = G.length && (ie.type === "pipe" || ie.type === "paren");
        if (!Ee && ie.type !== "paren" && !Ce && !Re) {
          se({
            type: "star",
            value: M,
            output: ""
          });
          continue;
        }
        for (; re.slice(0, 3) === "/**"; ) {
          const Z = _[B.index + 4];
          if (Z && Z !== "/") break;
          re = re.slice(3), Be("/**", 3);
        }
        if (ie.type === "bos" && ee()) {
          I.type = "globstar", I.value += M, I.output = oe(E), B.output = I.output, B.globstar = !0, Be(M);
          continue;
        }
        if (ie.type === "slash" && ie.prev.type !== "bos" && !Fe && ee()) {
          B.output = B.output.slice(0, -(ie.output + I.output).length), ie.output = `(?:${ie.output}`, I.type = "globstar", I.output = oe(E) + (E.strictSlashes ? ")" : "|$)"), I.value += M, B.globstar = !0, B.output += ie.output + I.output, Be(M);
          continue;
        }
        if (ie.type === "slash" && ie.prev.type !== "bos" && re[0] === "/") {
          const Z = re[1] !== void 0 ? "|$" : "";
          B.output = B.output.slice(0, -(ie.output + I.output).length), ie.output = `(?:${ie.output}`, I.type = "globstar", I.output = `${oe(E)}${k}|${k}${Z})`, I.value += M, B.output += ie.output + I.output, B.globstar = !0, Be(M + Se()), se({
            type: "slash",
            value: "/",
            output: ""
          });
          continue;
        }
        if (ie.type === "bos" && re[0] === "/") {
          I.type = "globstar", I.value += M, I.output = `(?:^|${k}|${oe(E)}${k})`, B.output = I.output, B.globstar = !0, Be(M + Se()), se({
            type: "slash",
            value: "/",
            output: ""
          });
          continue;
        }
        B.output = B.output.slice(0, -I.output.length), I.type = "globstar", I.output = oe(E), I.value += M, B.output += I.output, B.globstar = !0, Be(M);
        continue;
      }
      const Q = {
        type: "star",
        value: M,
        output: V
      };
      if (E.bash === !0) {
        Q.output = ".*?", (I.type === "bos" || I.type === "slash") && (Q.output = pe + Q.output), se(Q);
        continue;
      }
      if (I && (I.type === "bracket" || I.type === "paren") && E.regex === !0) {
        Q.output = M, se(Q);
        continue;
      }
      (B.index === B.start || I.type === "slash" || I.type === "dot") && (I.type === "dot" ? (B.output += P, I.output += P) : E.dot === !0 ? (B.output += x, I.output += x) : (B.output += pe, I.output += pe), Ae() !== "*" && (B.output += F, I.output += F)), se(Q);
    }
    for (; B.brackets > 0; ) {
      if (E.strictBrackets === !0) throw new SyntaxError(f("closing", "]"));
      B.output = i.escapeLast(B.output, "["), A("brackets");
    }
    for (; B.parens > 0; ) {
      if (E.strictBrackets === !0) throw new SyntaxError(f("closing", ")"));
      B.output = i.escapeLast(B.output, "("), A("parens");
    }
    for (; B.braces > 0; ) {
      if (E.strictBrackets === !0) throw new SyntaxError(f("closing", "}"));
      B.output = i.escapeLast(B.output, "{"), A("braces");
    }
    if (E.strictSlashes !== !0 && (I.type === "star" || I.type === "bracket") && se({
      type: "maybe_slash",
      value: "",
      output: `${k}?`
    }), B.backtrack === !0) {
      B.output = "";
      for (const re of B.tokens)
        B.output += re.output != null ? re.output : re.value, re.suffix && (B.output += re.suffix);
    }
    return B;
  };
  w.fastpaths = (_, b) => {
    const E = { ...b }, D = typeof E.maxLength == "number" ? Math.min(s, E.maxLength) : s, S = _.length;
    if (S > D) throw new SyntaxError(`Input length: ${S}, exceeds maximum allowed length: ${D}`);
    _ = l[_] || _;
    const { DOT_LITERAL: C, SLASH_LITERAL: T, ONE_CHAR: U, DOTS_SLASH: $, NO_DOT: z, NO_DOTS: Y, NO_DOTS_SLASH: H, STAR: k, START_ANCHOR: F } = r.globChars(E.windows), q = E.dot ? Y : z, W = E.dot ? H : z, P = E.capture ? "" : "?:", x = {
      negated: !1,
      prefix: ""
    };
    let L = E.bash === !0 ? ".*?" : k;
    E.capture && (L = `(${L})`);
    const O = (oe) => oe.noglobstar === !0 ? L : `(${P}(?:(?!${F}${oe.dot ? $ : C}).)*?)`, N = (oe) => {
      switch (oe) {
        case "*":
          return `${q}${U}${L}`;
        case ".*":
          return `${C}${U}${L}`;
        case "*.*":
          return `${q}${L}${C}${U}${L}`;
        case "*/*":
          return `${q}${L}${T}${U}${W}${L}`;
        case "**":
          return q + O(E);
        case "**/*":
          return `(?:${q}${O(E)}${T})?${W}${U}${L}`;
        case "**/*.*":
          return `(?:${q}${O(E)}${T})?${W}${L}${C}${U}${L}`;
        case "**/.*":
          return `(?:${q}${O(E)}${T})?${C}${U}${L}`;
        default: {
          const pe = /^(.*?)\.(\w+)$/.exec(oe);
          if (!pe) return;
          const _e = N(pe[1]);
          return _e ? _e + C + pe[2] : void 0;
        }
      }
    };
    let K = N(i.removePrefix(_, x));
    return K && E.strictSlashes !== !0 && (K += `${T}?`), K;
  }, t.exports = w;
})), ak = /* @__PURE__ */ j(((e, t) => {
  var r = nk(), i = sk(), s = Xs(), h = Js(), a = (l) => l && typeof l == "object" && !Array.isArray(l), n = (l, u, f = !1) => {
    if (Array.isArray(l)) {
      const y = l.map((_) => n(_, u, f));
      return (_) => {
        for (const b of y) {
          const E = b(_);
          if (E) return E;
        }
        return !1;
      };
    }
    const o = a(l) && l.tokens && l.input;
    if (l === "" || typeof l != "string" && !o) throw new TypeError("Expected pattern to be a non-empty string");
    const c = u || {}, d = c.windows, p = o ? n.compileRe(l, u) : n.makeRe(l, u, !1, !0), m = p.state;
    delete p.state;
    let g = () => !1;
    if (c.ignore) {
      const y = {
        ...u,
        ignore: null,
        onMatch: null,
        onResult: null
      };
      g = n(c.ignore, y, f);
    }
    const v = (y, w = !1) => {
      const { isMatch: _, match: b, output: E } = n.test(y, p, u, {
        glob: l,
        posix: d
      }), D = {
        glob: l,
        state: m,
        regex: p,
        posix: d,
        input: y,
        output: E,
        match: b,
        isMatch: _
      };
      return typeof c.onResult == "function" && c.onResult(D), _ === !1 ? (D.isMatch = !1, w ? D : !1) : g(y) ? (typeof c.onIgnore == "function" && c.onIgnore(D), D.isMatch = !1, w ? D : !1) : (typeof c.onMatch == "function" && c.onMatch(D), w ? D : !0);
    };
    return f && (v.state = m), v;
  };
  n.test = (l, u, f, { glob: o, posix: c } = {}) => {
    if (typeof l != "string") throw new TypeError("Expected input to be a string");
    if (l === "") return {
      isMatch: !1,
      output: ""
    };
    const d = f || {}, p = d.format || (c ? s.toPosixSlashes : null);
    let m = l === o, g = m && p ? p(l) : l;
    return m === !1 && (g = p ? p(l) : l, m = g === o), (m === !1 || d.capture === !0) && (d.matchBase === !0 || d.basename === !0 ? m = n.matchBase(l, u, f, c) : m = u.exec(g)), {
      isMatch: !!m,
      match: m,
      output: g
    };
  }, n.matchBase = (l, u, f) => (u instanceof RegExp ? u : n.makeRe(u, f)).test(s.basename(l)), n.isMatch = (l, u, f) => n(u, f)(l), n.parse = (l, u) => Array.isArray(l) ? l.map((f) => n.parse(f, u)) : i(l, {
    ...u,
    fastpaths: !1
  }), n.scan = (l, u) => r(l, u), n.compileRe = (l, u, f = !1, o = !1) => {
    if (f === !0) return l.output;
    const c = u || {}, d = c.contains ? "" : "^", p = c.contains ? "" : "$";
    let m = `${d}(?:${l.output})${p}`;
    l && l.negated === !0 && (m = `^(?!${m}).*$`);
    const g = n.toRegex(m, u);
    return o === !0 && (g.state = l), g;
  }, n.makeRe = (l, u = {}, f = !1, o = !1) => {
    if (!l || typeof l != "string") throw new TypeError("Expected a non-empty string");
    let c = {
      negated: !1,
      fastpaths: !0
    };
    return u.fastpaths !== !1 && (l[0] === "." || l[0] === "*") && (c.output = i.fastpaths(l, u)), c.output || (c = i(l, u)), n.compileRe(c, u, f, o);
  }, n.toRegex = (l, u) => {
    try {
      const f = u || {};
      return new RegExp(l, f.flags || (f.nocase ? "i" : ""));
    } catch (f) {
      if (u && u.debug === !0) throw f;
      return /$^/;
    }
  }, n.constants = h, t.exports = n;
})), ok = /* @__PURE__ */ j(((e, t) => {
  var r = ak(), i = Xs();
  function s(h, a, n = !1) {
    return a && (a.windows === null || a.windows === void 0) && (a = {
      ...a,
      windows: i.isWindows()
    }), r(h, a, n);
  }
  Object.assign(s, r), t.exports = s;
})), us = /* @__PURE__ */ zt(ok(), 1), uk = /* @__PURE__ */ bt({
  greatest: () => lm,
  greatestLevel: () => Fl,
  latest: () => ck,
  minor: () => hk,
  newest: () => pk,
  patch: () => fk,
  semver: () => dk
}), lk = Ih(Em.execFile);
async function ya(e) {
  const t = (await lk("git", [
    "ls-remote",
    "--tags",
    e
  ])).stdout, r = {};
  for (const i of t.trim().split(`
`)) {
    const s = i.split("	");
    r[s[1].replace(/^refs\/tags\/|\^{}$/g, "")] = s[0];
  }
  return r;
}
async function Ll(e, t, r) {
  t = t.replace(/^github:/, "");
  const { auth: i, protocol: s, host: h, path: a } = (0, un.default)(t);
  let n;
  try {
    if (s !== null) n = await ya(`${s ? s.replace("git+", "") : "https:"}//${i ? i + "@" : ""}${h}/${a?.replace(/^:/, "")}`);
    else try {
      n = await ya(`ssh://git@${h}/${a?.replace(/^:/, "")}`);
    } catch {
      n = await ya(`https://${i ? i + "@" : ""}${h}/${a}`);
    }
  } catch {
    Me(r ?? {}, `Invalid, private repo, or no tags for ${e}: ${t}`, "verbose");
    return;
  }
  return Object.keys(n).map(Fu).filter((l) => (0, Ve.valid)(l)).sort(ku);
}
var ck = async (e, t, r) => {
  const i = await Ll(e, t, r);
  if (!i) return { version: null };
  const s = r?.pre ? i : i.filter((a) => !ln(a)), h = s[s.length - 1];
  return { version: h ? ws(t, h) : null };
}, lm = async (e, t, r) => {
  const i = await Ll(e, t, r);
  if (!i) return { version: null };
  const s = i[i.length - 1];
  return { version: s ? ws(t, s) : null };
}, Fl = (e) => async (t, r, i = {}) => {
  const s = decodeURIComponent((0, un.default)(r).branch).replace(/^semver:/, ""), h = await Ll(t, r, i);
  if (!h) return { version: null };
  const a = Lu(h.map((n) => n.replace(/^v/, "")), s, e);
  return { version: a ? ws(r, a) : null };
}, hk = Fl("minor"), fk = Fl("patch"), dk = async (e, t, r) => ({ version: null }), pk = lm, gk = /* @__PURE__ */ bt({ latest: () => _k }), mk = (e) => e && e.startsWith("http://") || e.startsWith("https://"), vk = async (e) => {
  const t = e.registry;
  let r;
  if (mk(t)) r = await (await fetch(t)).text();
  else try {
    r = await it.readFile(t, "utf8");
  } catch {
    Qe(e, `
The specified static registry file does not exist: ${e.registry}`);
  }
  return JSON.parse(r);
}, yk = (0, Or.default)(vk), _k = async (e, t, r) => ({ version: (await yk(r || {}))[e] || null }), $r = {
  npm: Kw,
  pnpm: SD,
  yarn: KS,
  bun: Qw,
  gitTags: uk,
  staticRegistry: gk
};
function Ni(e) {
  if (typeof e == "string") return e.trim();
  if (Array.isArray(e) && (e.length === 0 || typeof e[0] == "string")) {
    const t = e.map((r) => typeof r == "string" ? r.trim() : r).filter((r) => r);
    return t.length > 0 ? t : void 0;
  } else return e;
}
function Ek(e) {
  try {
    return new URL(e), !0;
  } catch {
    return !1;
  }
}
async function bk(e, { cli: t } = {}) {
  const r = cs(e.color);
  if (!t) {
    const y = oa.reduce((_, b) => ({
      ..._,
      ...b.default != null ? { [b.long]: b.default } : null
    }), {}), w = {
      jsonUpgraded: !0,
      silent: e.silent || e.loglevel === void 0 && !e.verbose,
      args: []
    };
    e = {
      ...y,
      ...w,
      ...e
    };
  }
  const i = {
    ...e,
    ...e.packageData && typeof e.packageData != "string" ? { packageData: JSON.stringify(e.packageData, null, 2) } : null,
    cli: t
  }, s = i.silent || i.format?.includes("lines") ? "silent" : i.verbose ? "verbose" : i.loglevel, h = Object.keys(i).filter((y) => y.startsWith("json")).some(rf(i));
  !h && s !== "silent" && i.rcConfigPath && !i.doctor && Me(i, `Using config file ${i.rcConfigPath}`);
  const a = oa.filter(({ long: y, deprecated: w }) => w && i[y] || y === "packageManager" && i.packageManager === "staticRegistry");
  a.length > 0 && (a.forEach(({ long: y, description: w }) => {
    const _ = y === "packageManager" ? "--packageManager staticRegistry is deprecated. Use --registryType json." : `--${y}: ${w}`;
    Me(i, r.yellow(_), "warn");
  }), Me(i, "", "warn")), oa.forEach(({ long: y, choices: w }) => {
    if (!w || w.length === 0) return;
    const _ = i[y], b = Array.isArray(_) ? _ : [_];
    b.length !== 0 && b.every((E) => !w.includes(E)) && Qe(i, `Invalid option value: --${y} ${_}. Valid values are: ${w.join(", ")}.`);
  }), i.cwd && !await Vi(i.cwd) && Qe(i, `No such directory: ${i.cwd}`);
  const n = Ni(i.args), l = Ni(i.filter), u = Ni(i.filterVersion), f = Ni(i.reject), o = Ni(i.rejectVersion), c = i.registryType || (i.registry?.endsWith(".json") ? "json" : "npm");
  i.filter && n && !jr(n.join(" "), Array.isArray(l) ? l.join(" ") : l) ? Qe(i, `Cannot specify a filter using both --filter and args. Did you forget to quote an argument?
See: https://github.com/raineorshine/npm-check-updates/issues/759#issuecomment-723587297`) : i.packageFile && i.deep ? Qe(i, "Cannot specify both --packageFile and --deep. --deep is an alias for --packageFile '**/package.json'") : i.format?.includes("lines") && i.jsonUpgraded ? Qe(i, "Cannot specify both --format lines and --jsonUpgraded.") : i.format?.includes("lines") && i.jsonAll ? Qe(i, "Cannot specify both --format lines and --jsonAll.") : i.format?.includes("lines") && i.format.length > 1 ? Qe(i, "Cannot use --format lines with other formatting options.") : i.workspace?.length && i.workspaces ? Qe(i, "Cannot specify both --workspace and --workspaces.") : i.deep && (i.workspace?.length || i.workspaces) ? Qe(i, `Cannot specify both --deep and --workspace${i.workspaces ? "s" : ""}.`) : i.doctor && (i.workspace?.length || i.workspaces) ? Qe(i, `Doctor mode is not currently supported with --workspace${i.workspaces ? "s" : ""}.`) : i.packageManager === "staticRegistry" && !i.registry ? Qe(i, "When --package-manager staticRegistry is specified, you must provide the path for the registry file with --registry.") : i.registryType === "json" && !i.registry ? Qe(i, 'When --registryType json is specified, you must provide the path for the registry file with --registry. Run "ncu --help registryType" for details.') : c !== "json" && i.registry && !Ek(i.registry) && Qe(i, `--registry must be a valid URL. Invalid value: "${i.registry}"`);
  const d = await La(i);
  if (i.cooldown != null) {
    if (typeof i.cooldown == "string") {
      const _ = Wn(i.cooldown);
      _ === null ? Qe(i, `Invalid cooldown value: "${i.cooldown}". Use a number (days) or a string like "7d", "12h", or "30m".`) : i.cooldown = _;
    }
    const y = typeof i.cooldown == "number" && !isNaN(i.cooldown) && i.cooldown >= 0, w = typeof i.cooldown == "function";
    !y && !w && Qe(i, 'Cooldown must be a non-negative number (days), a string like "7d", "12h", or "30m", or a predicate function.');
  } else {
    const y = Pt.findNpmConfig()?.minReleaseAge;
    if (y != null) {
      const w = typeof y == "string" ? Wn(y) ?? parseInt(y, 10) : typeof y == "number" ? y : null;
      w != null && !isNaN(w) && (i.cooldown = w, Me(i, `Using min-release-age from .npmrc: ${w} day${w !== 1 ? "s" : ""}`));
    } else if (d === "pnpm") {
      const w = await mp.getPnpmWorkspaceMinimumReleaseAge();
      if (w != null) {
        const { minimumReleaseAge: _, minimumReleaseAgeExclude: b } = w, E = _ / 1440;
        if (b.length > 0) {
          const D = b.map((S) => (0, us.default)(S));
          i.cooldown = (S) => D.some((C) => C(S)) ? null : E, Me(i, `Using minimumReleaseAge from pnpm-workspace.yaml: ${E} day${E !== 1 ? "s" : ""} (${b.length} excluded pattern${b.length !== 1 ? "s" : ""})`);
        } else
          i.cooldown = E, Me(i, `Using minimumReleaseAge from pnpm-workspace.yaml: ${E} day${E !== 1 ? "s" : ""}`);
      }
    } else if (d === "yarn") {
      const w = await og.getYarnMinimalAgeGate(i);
      if (w != null) {
        const { npmMinimalAgeGate: _, npmPreapprovedPackages: b } = w, E = _ / (1440 * 60);
        if (b.length > 0) {
          const D = b.map((S) => (0, us.default)(S));
          i.cooldown = (S) => D.some((C) => C(S)) ? null : E, Me(i, `Using npmMinimalAgeGate from .yarnrc.yml: ${E} day${E !== 1 ? "s" : ""} (${b.length} pre-approved package${b.length !== 1 ? "s" : ""})`);
        } else
          i.cooldown = E, Me(i, `Using npmMinimalAgeGate from .yarnrc.yml: ${E} day${E !== 1 ? "s" : ""}`);
      }
    }
  }
  const p = i.target || "latest", m = p === "newest" || p === "greatest", g = {
    ...i,
    ...i.deep ? { packageFile: "**/package.json" } : null,
    ...d === "deno" ? { dep: ["imports"] } : null,
    ...i.format && i.format.length > 0 ? { format: i.format } : null,
    filter: n || l,
    filterVersion: u,
    json: h,
    loglevel: s,
    minimal: i.minimal === void 0 ? !1 : i.minimal,
    ...i.pre != null || m ? { pre: i.pre != null ? !!i.pre : m } : null,
    reject: f,
    rejectVersion: o,
    target: p,
    ...i.interactive && i.upgrade === void 0 ? { upgrade: !h } : null,
    packageManager: d,
    ...i.prefix ? { prefix: await ($r[d || ""]?.defaultPrefix || $r.npm.defaultPrefix)(i) } : null,
    registryType: c
  };
  g.cacher = await U_(g);
  const v = at(g, (y, w) => w !== void 0 ? { [y]: w } : null);
  return !i.packageManager && d !== "npm" && Me(v, `Using ${d}`), v;
}
function wk(e, t) {
  return Array.from(/* @__PURE__ */ new Set([...e || [], ...t || []]));
}
function Dk(e, t) {
  const r = e || {}, i = t || {}, s = {
    ...r,
    ...i
  };
  return Object.keys(s).forEach((h) => {
    Array.isArray(r[h]) && Array.isArray(i[h]) && (s[h] = wk(r[h], i[h]));
  }), s;
}
var Ak = /* @__PURE__ */ j(((e, t) => {
  var r = (h) => typeof h == "function" ? h : () => h, i = (...h) => (...a) => h.length === 0 || !!r(h[0])(...a) && i(...h.slice(1))(...a), s = (...h) => (...a) => h.length > 0 && (!!r(h[0])(...a) || s(...h.slice(1))(...a));
  t.exports = {
    and: i,
    or: s
  };
})), Mn = Ak();
function Ui(e) {
  let t;
  if (!e) t = du;
  else if (typeof e == "string") if (e[0] === "/" && e.at(-1) === "/") {
    const r = new RegExp(e.slice(1, -1));
    t = (i) => r.test(i);
  } else {
    const r = e.split(/[\s,]+/);
    t = (i) => {
      const s = (a) => (0, us.default)(a)(i), h = (a) => !a.includes("/") && i.includes("/") && (0, us.default)(a)(i.replace(/\//g, "_"));
      return r.some((0, Mn.or)(s, h));
    };
  }
  else if (Array.isArray(e)) t = (r, i) => e.some((s) => Ui(s)(r, i));
  else if (e instanceof RegExp) t = (r) => e.test(r);
  else if (typeof e == "function") t = (r, i) => e(r, (0, It.parseRange)(i ?? r));
  else throw new TypeError("Invalid filter. Must be a RegExp, array, or comma-or-space-delimited list.");
  return t;
}
function cm(e, t, r, i) {
  return (0, Mn.and)((s, h) => (0, Mn.and)(e ? Ui(e) : !0, t ? (...a) => !Ui(t)(...a) : !0)(s, h), (s, h) => (0, Mn.and)(r ? Ui(r) : !0, i ? (...a) => !Ui(i)(...a) : !0)(h));
}
function Sn(e, t) {
  return !t || t === "deno" ? $r.npm : e.registryType === "json" ? $r.staticRegistry : ($r[t] || Qe(e, `Invalid package manager: ${t}`), $r[t]);
}
async function Sk(e = {}) {
  const t = await Sn(e, e.packageManager).list?.({
    cwd: e.cwd,
    prefix: e.prefix,
    global: e.global
  });
  t || Qe(e, "Unable to retrieve package list");
  const r = cm(e.filter, e.reject, e.filterVersion, e.rejectVersion);
  let i = {};
  try {
    i = xr(t, (s, h) => !!h && !hf(h) && r(s, h));
  } catch (s) {
    Qe(e, "Invalid filter: " + s.message || s);
  }
  return i;
}
var Ck = /* @__PURE__ */ j(((e, t) => {
  e = t.exports = r;
  function r(i, s) {
    if (this.stream = s.stream || process.stderr, typeof s == "number") {
      var h = s;
      s = {}, s.total = h;
    } else {
      if (s = s || {}, typeof i != "string") throw new Error("format required");
      if (typeof s.total != "number") throw new Error("total required");
    }
    this.fmt = i, this.curr = s.curr || 0, this.total = s.total, this.width = s.width || this.total, this.clear = s.clear, this.chars = {
      complete: s.complete || "=",
      incomplete: s.incomplete || "-",
      head: s.head || s.complete || "="
    }, this.renderThrottle = s.renderThrottle !== 0 ? s.renderThrottle || 16 : 0, this.lastRender = -1 / 0, this.callback = s.callback || function() {
    }, this.tokens = {}, this.lastDraw = "";
  }
  r.prototype.tick = function(i, s) {
    if (i !== 0 && (i = i || 1), typeof i == "object" && (s = i, i = 1), s && (this.tokens = s), this.curr == 0 && (this.start = /* @__PURE__ */ new Date()), this.curr += i, this.render(), this.curr >= this.total) {
      this.render(void 0, !0), this.complete = !0, this.terminate(), this.callback(this);
      return;
    }
  }, r.prototype.render = function(i, s) {
    if (s = s !== void 0 ? s : !1, i && (this.tokens = i), !!this.stream.isTTY) {
      var h = Date.now(), a = h - this.lastRender;
      if (!(!s && a < this.renderThrottle)) {
        this.lastRender = h;
        var n = this.curr / this.total;
        n = Math.min(Math.max(n, 0), 1);
        var l = Math.floor(n * 100), u, f, o, c = /* @__PURE__ */ new Date() - this.start, d = l == 100 ? 0 : c * (this.total / this.curr - 1), p = this.curr / (c / 1e3), m = this.fmt.replace(":current", this.curr).replace(":total", this.total).replace(":elapsed", isNaN(c) ? "0.0" : (c / 1e3).toFixed(1)).replace(":eta", isNaN(d) || !isFinite(d) ? "0.0" : (d / 1e3).toFixed(1)).replace(":percent", l.toFixed(0) + "%").replace(":rate", Math.round(p)), g = Math.max(0, this.stream.columns - m.replace(":bar", "").length);
        g && process.platform === "win32" && (g = g - 1);
        var v = Math.min(this.width, g);
        if (o = Math.round(v * n), f = Array(Math.max(0, o + 1)).join(this.chars.complete), u = Array(Math.max(0, v - o + 1)).join(this.chars.incomplete), o > 0 && (f = f.slice(0, -1) + this.chars.head), m = m.replace(":bar", f + u), this.tokens) for (var y in this.tokens) m = m.replace(":" + y, this.tokens[y]);
        this.lastDraw !== m && (this.stream.cursorTo(0), this.stream.write(m), this.stream.clearLine(1), this.lastDraw = m);
      }
    }
  }, r.prototype.update = function(i, s) {
    var h = Math.floor(i * this.total) - this.curr;
    this.tick(h, s);
  }, r.prototype.interrupt = function(i) {
    this.stream.clearLine(), this.stream.cursorTo(0), this.stream.write(i), this.stream.write(`
`), this.stream.write(this.lastDraw);
  }, r.prototype.terminate = function() {
    this.clear ? this.stream.clearLine && (this.stream.clearLine(), this.stream.cursorTo(0)) : this.stream.write(`
`);
  };
})), Tk = /* @__PURE__ */ j(((e, t) => {
  t.exports = Ck();
}));
Oh();
var Nl = /* @__PURE__ */ zt(Tk(), 1);
function Rk(e, t) {
  let r = [[t]];
  for (; r.length > 0; ) {
    const i = [];
    for (const s of r) {
      const h = Object.keys(e[s[0]] ?? {});
      for (const a of h) {
        if (a === s.at(-1)) return {
          isCircular: !0,
          offendingPackage: s[0]
        };
        i.push([a, ...s]);
      }
    }
    r = i;
  }
  return { isCircular: !1 };
}
async function $l(e, t) {
  const r = Sn(t, t.packageManager);
  if (!r.getPeerDependencies) return {};
  const i = Object.keys(e).length;
  let s;
  !t.json && t.loglevel !== "silent" && t.loglevel !== "verbose" && i > 0 && (s = new Nl.default("[:bar] :current/:total :percent", {
    total: i,
    width: 20
  }), s.render());
  const h = Object.entries(e), n = await Rh(h, async ([u, f]) => {
    let o;
    const c = t.cacher?.getPeers(u, f);
    return c ? o = c : (o = await r.getPeerDependencies(u, f, { cwd: t.cwd }), t.cacher?.setPeers(u, f, o)), s && s.tick(), {
      pkg: u,
      dependencies: o
    };
  }, { concurrency: t.concurrency }), l = {};
  for (const { pkg: u, dependencies: f } of n) {
    l[u] = f;
    const o = Rk(l, u);
    o.isCircular && delete l[u][o.offendingPackage];
  }
  return await t.cacher?.save(), t.cacher?.log(!0), l;
}
function Ok(e, t) {
  const r = {};
  for (const i of t) r[i] = e[i];
  return r;
}
function _i(e, t) {
  const r = {};
  for (const [i, s] of Object.entries(e ?? {})) {
    const h = i;
    t(s, h) && (r[h] = s);
  }
  return r;
}
var Ik = [
  "latest",
  "newest",
  "greatest",
  "minor",
  "patch",
  "semver"
];
Oh();
async function kk(e, t = {}) {
  const r = cs(t.color), i = Object.keys(e), s = Sn(t, t.packageManager);
  let h;
  !t.json && t.loglevel !== "silent" && t.loglevel !== "verbose" && i.length > 0 && (h = new Nl.default("[:bar] :current/:total :percent", {
    total: i.length,
    width: 20
  }), h.render());
  async function a(l) {
    const u = Zi(e[l]), [f, o] = u || [l, e[l]], c = t.target || "latest", d = typeof c == "string" ? c : c(f, (0, It.parseRange)(o)), [p, m] = d.startsWith("@") ? ["distTag", d.slice(1)] : [d, "latest"], g = t.cacher?.get(f, p);
    if (g)
      return h?.tick(), { version: g };
    let v;
    const y = qi(e[l]), w = y ? $r.gitTags : s, _ = y ? "github urls" : t.packageManager || "npm", b = w[p];
    if (!b) {
      const E = Ik.filter((D) => D in w);
      Qe(t, r.red(`
Unsupported target "${p}" using ${_}`) + `
Supported version targets are: ` + E.join(", ") + (y ? "" : ", and tags (e.g. @next)"), { color: !1 });
    }
    try {
      v = await b(f, o, {
        ...t,
        distTag: m,
        pre: t.pre != null ? t.pre : d.startsWith("@") || ln(o),
        retry: t.retry ?? 2
      }).catch((E) => ({ error: E?.body?.error || E.toString() })), v.version = !y && u && v?.version ? mf(f, v.version) : v?.version ?? null;
    } catch (E) {
      const D = E ? (E.message || E).toString() : "";
      if (D.match(/E504|Gateway Timeout/i)) return { error: `${D}. All ${t.retry} retry attempts failed.` };
      if (D.match(/E400|E404|ENOTFOUND|404 Not Found|400 Bad Request/i)) return { error: `${D.replace(/ - Not found$/i, "")}. All ${t.retry} retry attempts failed. Either your internet connection is down, the registry is inaccessible, the authentication credentials are invalid, or the package does not exist.` };
      if (E.code === "ERR_INVALID_URL") return { error: D || "Invalid URL" };
      throw !process.env.NCU_TESTS && /(Response|network) timeout/i.test(D) && console.error(`

` + r.red("FetchError: Request Timeout. npm-registry-fetch defaults to 30000 (30 seconds). Try setting the --timeout option (in milliseconds) to override this.") + `
`), E;
    }
    return h?.tick(), v.version && t.cacher?.set(f, p, v.version), v;
  }
  const n = await Rh(i, a, { concurrency: t.concurrency });
  return await t.cacher?.save(), t.cacher?.log(), at(n, (l, u) => l.version || l.error ? { [i[u]]: l } : null);
}
function Lk(e) {
  if (Object.keys(e).length === 0) return null;
  const t = Object.values(e).reduce((i, s) => {
    const h = lf.find((a) => s && s.includes(a));
    return h !== void 0 && (i[h] ||= [], i[h].push(s)), i;
  }, {}), r = bs(Object.entries(t).map(([i, s]) => ({
    wildcard: i,
    instances: s
  })), (i) => -i.instances.length);
  return r.length > 0 ? r[0].wildcard : null;
}
function Fk(e, t, { downgrade: r } = {}) {
  if (!Ve.validRange(e) || Ou(e)) return !1;
  const [i] = It.default.parseRange(e);
  if (!i) throw new Error(`"${e}" could not be parsed by semver-utils. This is probably a bug. Please file an issue at https://github.com/raineorshine/npm-check-updates.`);
  const s = Fu(t), h = mi(i), a = !!Ve.validRange(h), n = !!Ve.valid(s);
  return a && n && (!C_(s, h) || !Ve.satisfies(s, i.operator === "<" ? e : h) && (r || !Ve.ltr(s, h)));
}
function Nk(e, t, r = {}) {
  const i = r.target || "latest";
  e = xr(e, (a, n) => !!n);
  const s = Lk(e) || "^", h = (a, n) => vf(a, n, {
    wildcard: s,
    removeRange: r.removeRange
  });
  return G1([
    (a) => _i(a, (n, l) => l in t),
    (a) => Object.entries(a).reduce((n, [l, u]) => {
      const f = t[l];
      let o = null, c = null;
      if (Pn(u) && (o = Zi(u)[1]), Pn(f) && (c = Zi(f)[1]), qi(u)) {
        const [d] = (0, It.parseRange)(Oa(u));
        o = mi(d);
      }
      if (qi(f)) {
        const [d] = (0, It.parseRange)(Oa(f));
        c = mi(d);
      }
      return n[l] = {
        current: u,
        currentParsed: o,
        latest: f,
        latestParsed: c
      }, n;
    }, {}),
    (a) => _i(a, ({ current: n, currentParsed: l, latest: u, latestParsed: f }, o) => {
      const c = ln(n) && (typeof i == "string" ? i : i(o, (0, It.parseRange)(n))).startsWith("@");
      return Fk(l || n, f || u, { downgrade: c });
    }),
    (a) => Object.entries(a).reduce((n, [l, { current: u, currentParsed: f, latest: o, latestParsed: c }]) => {
      const d = h(f || u, c || o);
      return n[l] = Pn(u) ? I_(u, d) : qi(u) ? ws(u, d) : d, n;
    }, {})
  ])(e);
}
var _h = (e, t, r) => {
  const i = {
    ...e,
    ...t
  }, s = _i(t, (n, l) => {
    const u = r[l];
    return u ? Object.entries(u).every(([f, o]) => i[f] === void 0 || !(0, Ve.validRange)(o) || (0, Ve.intersects)(i[f], o)) : !0;
  }), h = Object.keys(t).length > Object.keys(s).length;
  let a = r;
  return h && (a = _i(r, (n, l) => s[l] || !t[l])), {
    violated: h,
    filteredUpgradedDependencies: s,
    upgradedPeerDependencies: a
  };
};
async function Cn(e, t) {
  const r = await kk(e, t), i = at(r, (n, l) => l?.version && (!t.filterResults || t.filterResults(n, {
    currentVersion: e[n],
    currentVersionSemver: (0, It.parseRange)(e[n]),
    upgradedVersion: l.version,
    upgradedVersionSemver: (0, It.parse)(l.version)
  })) ? { [n]: l.version } : null), s = _i(Nk(e, i, t), (n, l) => !t.jsonUpgraded || !t.minimal || !(0, Ve.satisfies)(i[l], e[l])), h = _i(i, (n, l) => s[l]);
  let a = [
    s,
    r,
    t.peerDependencies
  ];
  if (!t.peer || Object.keys(h).length === 0) return a;
  if (t.peer && Object.keys(h).length > 0) {
    const n = await $l(h, t);
    let l;
    if (jr(t.peerDependencies, {
      ...t.peerDependencies,
      ...n
    })) {
      if (l = _h(e, s, t.peerDependencies), !l.violated) return a;
    } else l = {
      violated: !1,
      filteredUpgradedDependencies: s,
      upgradedPeerDependencies: n
    };
    let u = 0;
    do {
      if (u++ > 6) throw new Error("Stuck in a while loop. Please report an issue");
      const f = {
        ...t.peerDependencies,
        ...l.upgradedPeerDependencies
      };
      if (jr(t.peerDependencies, f)) return [
        {},
        r,
        t.peerDependencies
      ];
      const [o, c, d] = await Cn({
        ...e,
        ...l.filteredUpgradedDependencies
      }, {
        ...t,
        peerDependencies: f,
        loglevel: "silent"
      });
      a = [
        {
          ...l.filteredUpgradedDependencies,
          ...o
        },
        {
          ...r,
          ...c
        },
        d
      ], l = _h(e, a[0], a[2]);
    } while (l.violated);
  }
  return a;
}
async function $k(e) {
  Me(e, `
Options:`, "verbose"), yr(e, e, "verbose"), Me(e, `
Getting installed packages`, "verbose");
  let t = {};
  try {
    const { cli: n, cwd: l, filter: u, filterVersion: f, global: o, packageManager: c, prefix: d, reject: p, rejectVersion: m } = e;
    t = await Sk({
      cli: n,
      cwd: l,
      filter: u,
      filterVersion: f,
      global: o,
      packageManager: c,
      prefix: d,
      reject: p,
      rejectVersion: m
    });
  } catch (n) {
    Qe(e, n.message);
  }
  Me(e, "globalPackages:", "verbose"), Me(e, t, "verbose"), Me(e, "", "verbose"), Me(e, `Fetching ${e.target} versions`, "verbose");
  const [r, i] = await Cn(t, e);
  Me(e, i, "verbose");
  const s = at(i, (n, l) => l.time ? { [n]: l.time } : null), h = Object.keys(r);
  await xu(e, {
    current: t,
    upgraded: r,
    latest: i,
    total: h.length,
    time: s
  });
  const a = r ? h.map((n) => n + "@" + r[n]).join(" ") : "[package]";
  if (e.json) Nu(e, r);
  else if (a.length) {
    const n = e.packageManager === "yarn" ? "yarn global upgrade" : e.packageManager === "pnpm" ? "pnpm -g add" : e.packageManager === "bun" ? "bun add -g" : "npm -g install";
    Me(e, `
` + me.cyan("ncu") + ` itself cannot upgrade global packages. Run the following to upgrade all global packages: 

` + me.cyan(`${n} ` + a) + `
`);
  }
  return e.cli && e.errorLevel === 2 && h.length > 0 && process.exit(1), r;
}
var xk = (e, t) => Ve.validRange(e) && Ve.validRange(t) && Ve.gt(Ve.minVersion(e), Ve.minVersion(t)), Bk = (e) => {
  if (!e.packageManager) return {};
  const [t, r] = e.packageManager.split("@");
  return { [t]: r };
};
function Pk(e = {}, t = {}) {
  const r = Dl(t.dep).reduce((h, a) => ({
    ...h,
    ...a === "packageManager" ? Bk(e) : xr(e[a] || {}, (n, l) => !xk(l, h[n]))
  }), {}), i = at(t.workspacePackages || []);
  let s = {};
  try {
    s = xr(xr(r, (h) => !i[h]), cm(t.filter || null, t.reject || null, t.filterVersion || null, t.rejectVersion || null));
  } catch (h) {
    Qe(t, "Invalid filter: " + h.message || h);
  }
  return s;
}
async function Mk(e, t) {
  const r = Sn(t, t.packageManager);
  if (!r.getEngines) return {};
  const i = Object.keys(e).length;
  let s;
  return !t.json && t.loglevel !== "silent" && t.loglevel !== "verbose" && i > 0 && (s = new Nl.default("[:bar] :current/:total :percent", {
    total: i,
    width: 20
  }), s.render()), Object.entries(e).reduce(async (h, [a, n]) => {
    const l = (await r.getEngines(a, n, t)).node;
    return s && s.tick(), {
      ...await h,
      [a]: l
    };
  }, Promise.resolve({}));
}
var jk = (e, t) => !e || (0, Ve.satisfies)(t, e);
async function Uk(e, t, r = {}) {
  if (!r.nodeEngineVersion) return {};
  const i = (0, Ve.minVersion)(r.nodeEngineVersion)?.version;
  if (!i) return {};
  const [s, h] = await Cn(e, {
    ...r,
    enginesNode: !1,
    nodeEngineVersion: void 0,
    loglevel: "silent"
  }), a = await Mk(at(h, (n, l) => s[n] && l?.version ? { [n]: l.version } : null), r);
  return Object.entries(s).filter(([n, l]) => t[n] !== l && !jk(a[n], i)).reduce((n, [l, u]) => ({
    ...n,
    [l]: {
      from: e[l],
      to: u,
      enginesNode: a[l]
    }
  }), {});
}
async function Hk(e, t, r, i = {}) {
  const s = {
    ...e,
    ...t
  }, [h, a] = await Cn(e, {
    ...i,
    peer: !1,
    peerDependencies: void 0,
    loglevel: "silent"
  }), n = await $l(Object.fromEntries(Object.entries(h).map(([l, u]) => [l, (0, Ve.validRange)(u) ? (0, Ve.minVersion)(u)?.version ?? u : u])), i);
  return Object.entries(h).filter(([l, u]) => t[l] !== u).reduce((l, [u, f]) => {
    let o = Object.entries(r).filter(([, c]) => c[u] !== void 0 && a[u]?.version && !(0, Ve.satisfies)(a[u].version, c[u])).reduce((c, [d, p]) => ({
      ...c,
      [d]: (0, Ve.validRange)(p[u]) ? p[u] : `a range that semver does not understand: ${p[u]}. This range does not work with semver.satisfies or semver.intersects, which npm-check-updates relies on to determine peer dependency compatibility. Either this is a mistake in ${d}, or it relies on a new syntax that is not compatible with the semver package.`
    }), {});
    if (Object.keys(o).length === 0) {
      const c = n?.[u] || {};
      o = Object.entries(c).filter(([d, p]) => s[d] && !(!(0, Ve.validRange)(p) || (0, Ve.intersects)(s[d], p))).reduce((d, [p, m]) => ({
        ...d,
        [u]: `${p} ${m}`
      }), {});
    }
    return {
      ...l,
      [u]: {
        from: e[u],
        to: f,
        reason: o
      }
    };
  }, {});
}
function hm(e, t = !1) {
  const r = e.length;
  let i = 0, s = "", h = 0, a = 16, n = 0, l = 0, u = 0, f = 0, o = 0;
  function c(w, _) {
    let b = 0, E = 0;
    for (; b < w || !_; ) {
      let D = e.charCodeAt(i);
      if (D >= 48 && D <= 57) E = E * 16 + D - 48;
      else if (D >= 65 && D <= 70) E = E * 16 + D - 65 + 10;
      else if (D >= 97 && D <= 102) E = E * 16 + D - 97 + 10;
      else break;
      i++, b++;
    }
    return b < w && (E = -1), E;
  }
  function d(w) {
    i = w, s = "", h = 0, a = 16, o = 0;
  }
  function p() {
    let w = i;
    if (e.charCodeAt(i) === 48) i++;
    else
      for (i++; i < e.length && Qr(e.charCodeAt(i)); ) i++;
    if (i < e.length && e.charCodeAt(i) === 46)
      if (i++, i < e.length && Qr(e.charCodeAt(i)))
        for (i++; i < e.length && Qr(e.charCodeAt(i)); ) i++;
      else
        return o = 3, e.substring(w, i);
    let _ = i;
    if (i < e.length && (e.charCodeAt(i) === 69 || e.charCodeAt(i) === 101))
      if (i++, (i < e.length && e.charCodeAt(i) === 43 || e.charCodeAt(i) === 45) && i++, i < e.length && Qr(e.charCodeAt(i))) {
        for (i++; i < e.length && Qr(e.charCodeAt(i)); ) i++;
        _ = i;
      } else o = 3;
    return e.substring(w, _);
  }
  function m() {
    let w = "", _ = i;
    for (; ; ) {
      if (i >= r) {
        w += e.substring(_, i), o = 2;
        break;
      }
      const b = e.charCodeAt(i);
      if (b === 34) {
        w += e.substring(_, i), i++;
        break;
      }
      if (b === 92) {
        if (w += e.substring(_, i), i++, i >= r) {
          o = 2;
          break;
        }
        switch (e.charCodeAt(i++)) {
          case 34:
            w += '"';
            break;
          case 92:
            w += "\\";
            break;
          case 47:
            w += "/";
            break;
          case 98:
            w += "\b";
            break;
          case 102:
            w += "\f";
            break;
          case 110:
            w += `
`;
            break;
          case 114:
            w += "\r";
            break;
          case 116:
            w += "	";
            break;
          case 117:
            const E = c(4, !0);
            E >= 0 ? w += String.fromCharCode(E) : o = 4;
            break;
          default:
            o = 5;
        }
        _ = i;
        continue;
      }
      if (b >= 0 && b <= 31) if ($i(b)) {
        w += e.substring(_, i), o = 2;
        break;
      } else o = 6;
      i++;
    }
    return w;
  }
  function g() {
    if (s = "", o = 0, h = i, l = n, f = u, i >= r)
      return h = r, a = 17;
    let w = e.charCodeAt(i);
    if (_a(w)) {
      do
        i++, s += String.fromCharCode(w), w = e.charCodeAt(i);
      while (_a(w));
      return a = 15;
    }
    if ($i(w))
      return i++, s += String.fromCharCode(w), w === 13 && e.charCodeAt(i) === 10 && (i++, s += `
`), n++, u = i, a = 14;
    switch (w) {
      case 123:
        return i++, a = 1;
      case 125:
        return i++, a = 2;
      case 91:
        return i++, a = 3;
      case 93:
        return i++, a = 4;
      case 58:
        return i++, a = 6;
      case 44:
        return i++, a = 5;
      case 34:
        return i++, s = m(), a = 10;
      case 47:
        const _ = i - 1;
        if (e.charCodeAt(i + 1) === 47) {
          for (i += 2; i < r && !$i(e.charCodeAt(i)); )
            i++;
          return s = e.substring(_, i), a = 12;
        }
        if (e.charCodeAt(i + 1) === 42) {
          i += 2;
          const b = r - 1;
          let E = !1;
          for (; i < b; ) {
            const D = e.charCodeAt(i);
            if (D === 42 && e.charCodeAt(i + 1) === 47) {
              i += 2, E = !0;
              break;
            }
            i++, $i(D) && (D === 13 && e.charCodeAt(i) === 10 && i++, n++, u = i);
          }
          return E || (i++, o = 1), s = e.substring(_, i), a = 13;
        }
        return s += String.fromCharCode(w), i++, a = 16;
      case 45:
        if (s += String.fromCharCode(w), i++, i === r || !Qr(e.charCodeAt(i))) return a = 16;
      case 48:
      case 49:
      case 50:
      case 51:
      case 52:
      case 53:
      case 54:
      case 55:
      case 56:
      case 57:
        return s += p(), a = 11;
      default:
        for (; i < r && v(w); )
          i++, w = e.charCodeAt(i);
        if (h !== i) {
          switch (s = e.substring(h, i), s) {
            case "true":
              return a = 8;
            case "false":
              return a = 9;
            case "null":
              return a = 7;
          }
          return a = 16;
        }
        return s += String.fromCharCode(w), i++, a = 16;
    }
  }
  function v(w) {
    if (_a(w) || $i(w)) return !1;
    switch (w) {
      case 125:
      case 93:
      case 123:
      case 91:
      case 34:
      case 58:
      case 44:
      case 47:
        return !1;
    }
    return !0;
  }
  function y() {
    let w;
    do
      w = g();
    while (w >= 12 && w <= 15);
    return w;
  }
  return {
    setPosition: d,
    getPosition: () => i,
    scan: t ? y : g,
    getToken: () => a,
    getTokenValue: () => s,
    getTokenOffset: () => h,
    getTokenLength: () => i - h,
    getTokenStartLine: () => l,
    getTokenStartCharacter: () => h - f,
    getTokenError: () => o
  };
}
function _a(e) {
  return e === 32 || e === 9;
}
function $i(e) {
  return e === 10 || e === 13;
}
function Qr(e) {
  return e >= 48 && e <= 57;
}
var Eh;
(function(e) {
  e[e.lineFeed = 10] = "lineFeed", e[e.carriageReturn = 13] = "carriageReturn", e[e.space = 32] = "space", e[e._0 = 48] = "_0", e[e._1 = 49] = "_1", e[e._2 = 50] = "_2", e[e._3 = 51] = "_3", e[e._4 = 52] = "_4", e[e._5 = 53] = "_5", e[e._6 = 54] = "_6", e[e._7 = 55] = "_7", e[e._8 = 56] = "_8", e[e._9 = 57] = "_9", e[e.a = 97] = "a", e[e.b = 98] = "b", e[e.c = 99] = "c", e[e.d = 100] = "d", e[e.e = 101] = "e", e[e.f = 102] = "f", e[e.g = 103] = "g", e[e.h = 104] = "h", e[e.i = 105] = "i", e[e.j = 106] = "j", e[e.k = 107] = "k", e[e.l = 108] = "l", e[e.m = 109] = "m", e[e.n = 110] = "n", e[e.o = 111] = "o", e[e.p = 112] = "p", e[e.q = 113] = "q", e[e.r = 114] = "r", e[e.s = 115] = "s", e[e.t = 116] = "t", e[e.u = 117] = "u", e[e.v = 118] = "v", e[e.w = 119] = "w", e[e.x = 120] = "x", e[e.y = 121] = "y", e[e.z = 122] = "z", e[e.A = 65] = "A", e[e.B = 66] = "B", e[e.C = 67] = "C", e[e.D = 68] = "D", e[e.E = 69] = "E", e[e.F = 70] = "F", e[e.G = 71] = "G", e[e.H = 72] = "H", e[e.I = 73] = "I", e[e.J = 74] = "J", e[e.K = 75] = "K", e[e.L = 76] = "L", e[e.M = 77] = "M", e[e.N = 78] = "N", e[e.O = 79] = "O", e[e.P = 80] = "P", e[e.Q = 81] = "Q", e[e.R = 82] = "R", e[e.S = 83] = "S", e[e.T = 84] = "T", e[e.U = 85] = "U", e[e.V = 86] = "V", e[e.W = 87] = "W", e[e.X = 88] = "X", e[e.Y = 89] = "Y", e[e.Z = 90] = "Z", e[e.asterisk = 42] = "asterisk", e[e.backslash = 92] = "backslash", e[e.closeBrace = 125] = "closeBrace", e[e.closeBracket = 93] = "closeBracket", e[e.colon = 58] = "colon", e[e.comma = 44] = "comma", e[e.dot = 46] = "dot", e[e.doubleQuote = 34] = "doubleQuote", e[e.minus = 45] = "minus", e[e.openBrace = 123] = "openBrace", e[e.openBracket = 91] = "openBracket", e[e.plus = 43] = "plus", e[e.slash = 47] = "slash", e[e.formFeed = 12] = "formFeed", e[e.tab = 9] = "tab";
})(Eh || (Eh = {}));
var kL = new Array(20).fill(0).map((e, t) => " ".repeat(t)), ei = 200, LL = {
  " ": {
    "\n": new Array(ei).fill(0).map((e, t) => `
` + " ".repeat(t)),
    "\r": new Array(ei).fill(0).map((e, t) => "\r" + " ".repeat(t)),
    "\r\n": new Array(ei).fill(0).map((e, t) => `\r
` + " ".repeat(t))
  },
  "	": {
    "\n": new Array(ei).fill(0).map((e, t) => `
` + "	".repeat(t)),
    "\r": new Array(ei).fill(0).map((e, t) => "\r" + "	".repeat(t)),
    "\r\n": new Array(ei).fill(0).map((e, t) => `\r
` + "	".repeat(t))
  }
}, ls;
(function(e) {
  e.DEFAULT = { allowTrailingComma: !1 };
})(ls || (ls = {}));
function qk(e, t = [], r = ls.DEFAULT) {
  let i = null, s = [];
  const h = [];
  function a(n) {
    Array.isArray(s) ? s.push(n) : i !== null && (s[i] = n);
  }
  return zk(e, {
    onObjectBegin: () => {
      const n = {};
      a(n), h.push(s), s = n, i = null;
    },
    onObjectProperty: (n) => {
      i = n;
    },
    onObjectEnd: () => {
      s = h.pop();
    },
    onArrayBegin: () => {
      const n = [];
      a(n), h.push(s), s = n, i = null;
    },
    onArrayEnd: () => {
      s = h.pop();
    },
    onLiteralValue: a,
    onError: (n, l, u) => {
      t.push({
        error: n,
        offset: l,
        length: u
      });
    }
  }, r), s[0];
}
function zk(e, t, r = ls.DEFAULT) {
  const i = hm(e, !1), s = [];
  let h = 0;
  function a(Y) {
    return Y ? () => h === 0 && Y(i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter()) : () => !0;
  }
  function n(Y) {
    return Y ? (H) => h === 0 && Y(H, i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter()) : () => !0;
  }
  function l(Y) {
    return Y ? (H) => h === 0 && Y(H, i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter(), () => s.slice()) : () => !0;
  }
  function u(Y) {
    return Y ? () => {
      h > 0 ? h++ : Y(i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter(), () => s.slice()) === !1 && (h = 1);
    } : () => !0;
  }
  function f(Y) {
    return Y ? () => {
      h > 0 && h--, h === 0 && Y(i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter());
    } : () => !0;
  }
  const o = u(t.onObjectBegin), c = l(t.onObjectProperty), d = f(t.onObjectEnd), p = u(t.onArrayBegin), m = f(t.onArrayEnd), g = l(t.onLiteralValue), v = n(t.onSeparator), y = a(t.onComment), w = n(t.onError), _ = r && r.disallowComments, b = r && r.allowTrailingComma;
  function E() {
    for (; ; ) {
      const Y = i.scan();
      switch (i.getTokenError()) {
        case 4:
          D(14);
          break;
        case 5:
          D(15);
          break;
        case 3:
          D(13);
          break;
        case 1:
          _ || D(11);
          break;
        case 2:
          D(12);
          break;
        case 6:
          D(16);
          break;
      }
      switch (Y) {
        case 12:
        case 13:
          _ ? D(10) : y();
          break;
        case 16:
          D(1);
          break;
        case 15:
        case 14:
          break;
        default:
          return Y;
      }
    }
  }
  function D(Y, H = [], k = []) {
    if (w(Y), H.length + k.length > 0) {
      let F = i.getToken();
      for (; F !== 17; ) {
        if (H.indexOf(F) !== -1) {
          E();
          break;
        } else if (k.indexOf(F) !== -1) break;
        F = E();
      }
    }
  }
  function S(Y) {
    const H = i.getTokenValue();
    return Y ? g(H) : (c(H), s.push(H)), E(), !0;
  }
  function C() {
    switch (i.getToken()) {
      case 11:
        const Y = i.getTokenValue();
        let H = Number(Y);
        isNaN(H) && (D(2), H = 0), g(H);
        break;
      case 7:
        g(null);
        break;
      case 8:
        g(!0);
        break;
      case 9:
        g(!1);
        break;
      default:
        return !1;
    }
    return E(), !0;
  }
  function T() {
    return i.getToken() !== 10 ? (D(3, [], [2, 5]), !1) : (S(!1), i.getToken() === 6 ? (v(":"), E(), z() || D(4, [], [2, 5])) : D(5, [], [2, 5]), s.pop(), !0);
  }
  function U() {
    o(), E();
    let Y = !1;
    for (; i.getToken() !== 2 && i.getToken() !== 17; ) {
      if (i.getToken() === 5) {
        if (Y || D(4, [], []), v(","), E(), i.getToken() === 2 && b) break;
      } else Y && D(6, [], []);
      T() || D(4, [], [2, 5]), Y = !0;
    }
    return d(), i.getToken() !== 2 ? D(7, [2], []) : E(), !0;
  }
  function $() {
    p(), E();
    let Y = !0, H = !1;
    for (; i.getToken() !== 4 && i.getToken() !== 17; ) {
      if (i.getToken() === 5) {
        if (H || D(4, [], []), v(","), E(), i.getToken() === 4 && b) break;
      } else H && D(6, [], []);
      Y ? (s.push(0), Y = !1) : s[s.length - 1]++, z() || D(4, [], [4, 5]), H = !0;
    }
    return m(), Y || s.pop(), i.getToken() !== 4 ? D(8, [4], []) : E(), !0;
  }
  function z() {
    switch (i.getToken()) {
      case 3:
        return $();
      case 1:
        return U();
      case 10:
        return S(!0);
      default:
        return C();
    }
  }
  return E(), i.getToken() === 17 ? r.allowEmptyContent ? !0 : (D(4, [], []), !1) : z() ? (i.getToken() !== 17 && D(9, [], []), !0) : (D(4, [], []), !1);
}
function Gk(e, t) {
  let r = hm(e), i = [], s, h = 0, a;
  do
    switch (a = r.getPosition(), s = r.scan(), s) {
      case 12:
      case 13:
      case 17:
        h !== a && i.push(e.substring(h, a)), t !== void 0 && i.push(r.getTokenValue().replace(/[^\r\n]/g, t)), h = r.getPosition();
        break;
    }
  while (s !== 17);
  return i.join("");
}
var bh;
(function(e) {
  e[e.None = 0] = "None", e[e.UnexpectedEndOfComment = 1] = "UnexpectedEndOfComment", e[e.UnexpectedEndOfString = 2] = "UnexpectedEndOfString", e[e.UnexpectedEndOfNumber = 3] = "UnexpectedEndOfNumber", e[e.InvalidUnicode = 4] = "InvalidUnicode", e[e.InvalidEscapeCharacter = 5] = "InvalidEscapeCharacter", e[e.InvalidCharacter = 6] = "InvalidCharacter";
})(bh || (bh = {}));
var wh;
(function(e) {
  e[e.OpenBraceToken = 1] = "OpenBraceToken", e[e.CloseBraceToken = 2] = "CloseBraceToken", e[e.OpenBracketToken = 3] = "OpenBracketToken", e[e.CloseBracketToken = 4] = "CloseBracketToken", e[e.CommaToken = 5] = "CommaToken", e[e.ColonToken = 6] = "ColonToken", e[e.NullKeyword = 7] = "NullKeyword", e[e.TrueKeyword = 8] = "TrueKeyword", e[e.FalseKeyword = 9] = "FalseKeyword", e[e.StringLiteral = 10] = "StringLiteral", e[e.NumericLiteral = 11] = "NumericLiteral", e[e.LineCommentTrivia = 12] = "LineCommentTrivia", e[e.BlockCommentTrivia = 13] = "BlockCommentTrivia", e[e.LineBreakTrivia = 14] = "LineBreakTrivia", e[e.Trivia = 15] = "Trivia", e[e.Unknown = 16] = "Unknown", e[e.EOF = 17] = "EOF";
})(wh || (wh = {}));
var Wk = qk;
var Vk = Gk, su;
(function(e) {
  e[e.InvalidSymbol = 1] = "InvalidSymbol", e[e.InvalidNumberFormat = 2] = "InvalidNumberFormat", e[e.PropertyNameExpected = 3] = "PropertyNameExpected", e[e.ValueExpected = 4] = "ValueExpected", e[e.ColonExpected = 5] = "ColonExpected", e[e.CommaExpected = 6] = "CommaExpected", e[e.CloseBraceExpected = 7] = "CloseBraceExpected", e[e.CloseBracketExpected = 8] = "CloseBracketExpected", e[e.EndOfFileExpected = 9] = "EndOfFileExpected", e[e.InvalidCommentToken = 10] = "InvalidCommentToken", e[e.UnexpectedEndOfComment = 11] = "UnexpectedEndOfComment", e[e.UnexpectedEndOfString = 12] = "UnexpectedEndOfString", e[e.UnexpectedEndOfNumber = 13] = "UnexpectedEndOfNumber", e[e.InvalidUnicode = 14] = "InvalidUnicode", e[e.InvalidEscapeCharacter = 15] = "InvalidEscapeCharacter", e[e.InvalidCharacter = 16] = "InvalidCharacter";
})(su || (su = {}));
var fm = process.stdout.columns || 80;
function Dh(e) {
  return `${e.length ? e.slice(0, Math.min(e.length, fm)) : "<empty>"}
`;
}
function Ah(e) {
  return e > fm ? "" : `${" ".repeat(e - 1)}^
`;
}
function Yk(e, t, r) {
  const i = e.length;
  if (i === 0) return "<empty>";
  if (i === 1) return `${Dh(e[0])}${Ah(r)}`;
  const s = Math.min(t + 2, i);
  let h = "";
  for (let a = Math.max(t - 2, 1); a <= s; a++)
    h += Dh(e[a - 1]), a === t && (h += Ah(r));
  return `${h}
`;
}
function Ea(e) {
  e = Vk(e);
  try {
    return JSON.parse(e);
  } catch {
    const t = [], r = Wk(e, t);
    if (t.length === 0) return r;
    let i = "";
    const s = e.split(`
`);
    for (const h of t) {
      const a = h.offset;
      let n = 1, l = 1, u = 0;
      for (const f of s) {
        if (u + f.length >= a) {
          l = a - u + 1;
          break;
        }
        u += f.length + 1, n++;
      }
      i += `Error at line ${n}, column ${l}: ${su[h.error]}
${Yk(s, n, l)}
`;
    }
    throw new SyntaxError(i);
  }
}
var au = `
  ↑/↓: Select a package
  Space: Toggle selection
  a: Toggle all
  Enter: Upgrade`;
function Sh(e, t) {
  const r = e ? au.split(`
`).length : 0;
  return process.stdout.rows ? Math.max(3, process.stdout.rows - r - 1 - (t?.length ?? 0) * 2) : 50;
}
async function Kk(e, t, r) {
  const i = Sn(r, r.packageManager);
  return await Object.keys(t).reduce(async (s, h) => {
    const a = e[h] || null, n = t[h] || null, l = await i.packageAuthorChanged(h, a, n, r);
    return {
      ...await s,
      [h]: l
    };
  }, {});
}
var Zk = async (e, t, r, i) => {
  let s = [];
  const h = process.stdout.rows > 18, a = at((await Ia({
    from: e,
    to: t,
    format: i.format,
    pkgFile: r || void 0
  })).toString().split(`
`), (n) => ({ [n.trim().split(" ")[0]]: n.trim() }));
  if (Object.keys(t).length > 0)
    if (Me(i, ""), i.format?.includes("group")) {
      const n = ff(t, e, i);
      s = (await (0, jn.default)({
        choices: [...n.flatMap(({ heading: l, groupName: u, packages: f }) => [{
          title: `
` + l,
          heading: !0
        }, ...Object.keys(f).sort().map((o) => ({
          title: a[o],
          value: o,
          selected: ["patch", "minor"].includes(u)
        }))]), {
          title: " ",
          heading: !0
        }],
        hint: h && au,
        instructions: !1,
        message: "Choose which packages to update",
        name: "value",
        optionsPerPage: Sh(h, n),
        type: "multiselect",
        onState: (l) => {
          l.aborted && process.nextTick(() => process.exit(1));
        }
      })).value;
    } else s = (await (0, jn.default)({
      choices: [...Object.keys(t).sort().map((n) => ({
        title: a[n],
        value: n,
        selected: !0
      })), {
        title: " ",
        heading: !0
      }],
      hint: h && au + `
`,
      instructions: !1,
      message: "Choose which packages to update",
      name: "value",
      optionsPerPage: Sh(h),
      type: "multiselect",
      onState: (n) => {
        n.aborted && process.nextTick(() => process.exit(1));
      }
    })).value;
  return at(s, (n) => ({ [n]: t[n] }));
};
async function Ch(e, t, r) {
  Me(e, `
Options:`, "verbose"), yr(e, e, "verbose");
  let i;
  try {
    t ? i = Ea(t) : Qe(e, "Missing package data");
  } catch (v) {
    Qe(e, `Invalid package file${r ? `: ${r}` : " from stdin"}. Error details:
${v.message}`);
  }
  const s = Pk(i, e);
  Me(e, `
Current versions:`, "verbose"), Me(e, s, "verbose"), e.enginesNode && (e.nodeEngineVersion = i?.engines?.node), e.peer && (e.peerDependencies = await $l(Object.fromEntries(Object.entries(s).map(([v, y]) => [v, Ve.default.validRange(y) ? Ve.default.minVersion(y)?.version ?? y : y])), e));
  const [h, a, n] = await Cn(s, e), l = at(a, (v, y) => y.version ? { [v]: y.version } : null), u = at(a, (v, y) => y.error ? { [v]: y.error } : null), f = at(a, (v, y) => y.time ? { [v]: y.time } : null);
  e.peer && (Me(e, `
upgradedPeerDependencies:`, "verbose"), Me(e, n, "verbose")), Me(e, `
${typeof e.target == "string" ? `${e.target[0].toUpperCase()}${e.target.slice(1)}` : "Fetched"} versions:`, "verbose"), Me(e, l, "verbose"), Me(e, `
Upgraded versions:`, "verbose"), Me(e, h, "verbose");
  const o = e.minimal ? at(h, (v, y) => Ve.default.satisfies(l[v], s[v]) ? null : { [v]: y }) : h, c = (e.format || []).includes("ownerChanged") ? await Kk(s, o, e) : void 0, d = e.interactive ? await Zk(s, o, r, e) : o;
  if (!e.json || e.deep) {
    if (await xu(e.interactive ? {
      ...e,
      format: (e.format || []).filter((v) => v !== "group")
    } : e, {
      current: s,
      upgraded: d,
      total: Object.keys(h).length,
      latest: a,
      ownersChangedDeps: c,
      pkgFile: r || void 0,
      errors: u,
      time: f
    }), e.peer) {
      const v = await Hk(s, h, n, e);
      Object.keys(v).length > 0 && x_(e, v);
    }
    if (e.enginesNode) {
      const v = await Uk(s, h, e);
      Object.keys(v).length > 0 && B_(e, v);
    }
  }
  const p = await Fg(t, s, d, e, r || void 0), m = e.jsonAll ? r?.endsWith(".yaml") || r?.endsWith(".yml") ? (0, Kt.parseDocument)(p).toJSON() : Ea(p) : e.jsonDeps && r?.endsWith(".json") ? Ok(Ea(p), Dl(e.dep)) : d;
  let g;
  if (e.json && !e.deep && Nu(e, m), Object.keys(o).length > 0 && r)
    if (e.upgrade) g = it.writeFile(r.replace("#catalog", ""), p);
    else {
      const v = process.env.npm_lifecycle_event === "npx" ? "npx npm-check-updates" : "ncu", y = process.argv.slice(2).map((_) => _.includes(" ") ? `"${_}"` : _).join(" "), w = y && " " + y;
      Me(e, `
Run ${me.cyan(`${v}${w} -u`)} to upgrade ${e.packageFile || "package.json"}`);
    }
  return await g, m;
}
function FL(e) {
  return e;
}
process.env.INJECT_PROMPTS && jn.default.inject(JSON.parse(process.env.INJECT_PROMPTS));
var dm = !1;
process.on("unhandledRejection", (e) => {
  console.error(e), dm = !0;
});
var Jk = (e) => {
  e.global && (process.env.VOLTA_HOME || process.env.PATH?.includes("\\Volta")) && (Me(e, "It appears you are using Volta. `npm-check-updates --global` cannot be used with Volta because Volta has its own system for managing global packages which circumvents npm.\n\nIf you are still receiving this message after uninstalling Volta, ensure your PATH does not contain an entry for Volta and your shell profile does not define VOLTA_HOME. You may need to reboot for changes to your shell profile to take effect.", "error"), process.exit(1));
}, Th = async (e, t) => {
  const r = {
    ...e,
    cwd: e.cwd || Ye.resolve(t, ".."),
    packageFile: t
  };
  return e.packageManager === "staticRegistry" ? await La({
    ...r,
    packageManager: void 0
  }) : e.packageManager && e.packageManager !== "npm" ? e.packageManager : await La(r);
}, pm = (e, t, r) => {
  const i = !r.deep && !r.workspaces && !r.workspace ? { [e[0]]: t } : t;
  return Object.values(i).some((s) => Object.keys(s).length > 0);
}, Xk = async (e, t, r) => {
  if (r.install === "never") {
    Me(r, "");
    return;
  }
  if (!pm(e, t, r)) return;
  const i = await Th(r, e[0]), s = `Run ${me.cyan(i + " install")}${e.length > 1 && !r.workspace && !r.workspaces ? " in each project directory" : ""} to install new versions`, h = r.interactive && (process.env.NCU_TESTS || !process.env.NCU_DOCTOR);
  let a;
  if (h && r.install === "prompt" && (Me(r, ""), a = await (0, jn.default)({
    type: "confirm",
    name: "value",
    message: `${s}?`,
    initial: !0,
    onState: (n) => {
      n.aborted && process.nextTick(() => process.exit(1));
    }
  })), r.install === "always" || h && a.value) {
    r.install === "always" && Me(r, ""), Me(r, "Installing dependencies...");
    const n = r.workspaces || r.workspace?.length ? ["package.json"] : e;
    for await (const l of n) {
      const u = await Th(r, l), f = r.cwd || Ye.resolve(l, "..");
      let o = "";
      try {
        await ur(u, ["install"], {
          stdout: (c) => {
            o += c;
          },
          stderr: (c) => {
            console.error(me.red(c.toString()));
          }
        }, {
          cwd: f,
          env: {
            ...process.env,
            ...r.color !== !1 ? { FORCE_COLOR: !0 } : null,
            ...u === "pnpm" ? { npm_config_strict_peer_dependencies: !1 } : null
          }
        }), Me(r, o), Me(r, "Done");
      } catch (c) {
        console.error(c?.message || c || o), Qe(r, "Install failed. This is not a bug in npm-check-updates. The most common causes are invalid peer dependencies, networking issues, or failing postinstall scripts. Consider using --peer to filter updates to compatible versions (takes longer) or --doctor to identify breaking upgrades.");
      }
    }
  } else h || Me(r, `
${s}.`);
};
async function Qk(e, t) {
  const [r, i] = await qI(e), s = r.map((n) => n.filepath), h = e.workspaces || !!e.workspace?.length;
  e.deep = e.deep || h || r.length > 1;
  let a;
  if (e.global) {
    const n = await $k(e);
    return clearTimeout(t), n;
  } else if (e.deep)
    a = await r.reduce(async (n, l) => {
      const u = await n;
      let f = (await ik({
        packageFile: l.filepath,
        options: e
      })).config;
      e.mergeConfig && Object.keys(f).length && (f = Dk(e, f));
      const o = {
        ...e,
        ...f,
        packageFile: l.filepath,
        workspacePackages: i
      };
      let c, d, p;
      if (l.filepath.includes("#") || l.name === "catalogs") {
        c = l.pkgFile, d = l.filepath, p = l.filepath.includes("#catalog") ? l.filepath.replace("#catalog", "") : l.filepath;
        const m = Ye.resolve(p);
        Me(o, `${o.upgrade ? "Upgrading" : "Checking"} ${m} catalog dependencies`);
      } else {
        const m = await ss(o);
        c = m.pkgData, d = m.pkgFile || l.filepath, p = d;
      }
      return {
        ...u,
        [o.cwd ? Ye.relative(Ye.resolve(o.cwd), p).replace(/\\/g, "/") : p]: await Ch(o, c, d)
      };
    }, Promise.resolve({})), e.json && Nu(e, a);
  else {
    r.length === 1 && r[0].filepath !== (e.packageFile || "package.json") && (e.packageFile = r[0].filepath);
    const { pkgData: n, pkgFile: l } = await ss(e);
    a = await Ch(e, n, l);
  }
  return clearTimeout(t), e.errorLevel === 2 && pm(s, a, e) && Qe(e, `
Dependencies not up-to-date`), e.upgrade && (e.packageManager === "deno" ? Me(e, "") : await Xk(s, a, e)), a;
}
async function eL(e = {}, { cli: t } = {}) {
  const r = await bk(e, { cli: t }), i = Da.bugs.url;
  process.on("exit", () => {
    dm && Qe(r, `Unhandled Rejection! This is a bug and should be reported: ${i}`);
  }), await xh(r.color), Jk(r), Me(r, "Initializing", "verbose"), r.cacheClear && await j_(r);
  let s, h = new Promise(() => null);
  if (r.timeout) {
    const a = typeof r.timeout == "string" ? Number.parseInt(r.timeout, 10) : r.timeout;
    h = new Promise((n, l) => {
      s = setTimeout(() => {
        const u = `Exceeded global timeout of ${a}ms`;
        l(u);
        try {
          Qe(r, u);
        } catch {
        }
      }, a);
    });
  }
  if (r.doctor) {
    if (r.upgrade) return Promise.race([h, B2(eL, r)]);
    Me(r, `Usage: ncu --doctor

${typeof Br.doctor.help == "function" ? Br.doctor.help({}) : Br.doctor.help}`, "warn");
  } else return Promise.race([h, Qk(r, s)]);
}
export {
  Tu as a,
  xh as c,
  E0 as d,
  eL as default,
  FL as defineConfig,
  Da as f,
  bL as i,
  cs as l,
  ik as n,
  ys as o,
  oa as r,
  eL as run,
  J1 as s,
  _i as t,
  J0 as u
};

//# sourceMappingURL=index.js.map