import { cL as re, Q as ne, cI as De } from "./index-CSzw0A9y.mjs";
function ae(e, t) {
  for (var u = 0; u < t.length; u++) {
    const r = t[u];
    if (typeof r != "string" && !Array.isArray(r)) {
      for (const D in r)
        if (D !== "default" && !(D in e)) {
          const n = Object.getOwnPropertyDescriptor(r, D);
          n && Object.defineProperty(e, D, n.get ? n : {
            enumerable: !0,
            get: () => r[D]
          });
        }
    }
  }
  return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
}
var Z = re();
const oe = /* @__PURE__ */ ne(Z), vt = /* @__PURE__ */ ae({
  __proto__: null,
  default: oe
}, [Z]);
function ie(e, t) {
  if (e.length >= 255)
    throw new TypeError("Alphabet too long");
  for (var u = new Uint8Array(256), r = 0; r < u.length; r++)
    u[r] = 255;
  for (var D = 0; D < e.length; D++) {
    var n = e.charAt(D), a = n.charCodeAt(0);
    if (u[a] !== 255)
      throw new TypeError(n + " is ambiguous");
    u[a] = D;
  }
  var o = e.length, f = e.charAt(0), i = Math.log(o) / Math.log(256), s = Math.log(256) / Math.log(o);
  function h(c) {
    if (c instanceof Uint8Array || (ArrayBuffer.isView(c) ? c = new Uint8Array(c.buffer, c.byteOffset, c.byteLength) : Array.isArray(c) && (c = Uint8Array.from(c))), !(c instanceof Uint8Array))
      throw new TypeError("Expected Uint8Array");
    if (c.length === 0)
      return "";
    for (var d = 0, w = 0, b = 0, C = c.length; b !== C && c[b] === 0; )
      b++, d++;
    for (var p = (C - b) * s + 1 >>> 0, _ = new Uint8Array(p); b !== C; ) {
      for (var O = c[b], v = 0, y = p - 1; (O !== 0 || v < w) && y !== -1; y--, v++)
        O += 256 * _[y] >>> 0, _[y] = O % o >>> 0, O = O / o >>> 0;
      if (O !== 0)
        throw new Error("Non-zero carry");
      w = v, b++;
    }
    for (var S = p - w; S !== p && _[S] === 0; )
      S++;
    for (var R = f.repeat(d); S < p; ++S)
      R += e.charAt(_[S]);
    return R;
  }
  function l(c) {
    if (typeof c != "string")
      throw new TypeError("Expected String");
    if (c.length === 0)
      return new Uint8Array();
    var d = 0;
    if (c[d] !== " ") {
      for (var w = 0, b = 0; c[d] === f; )
        w++, d++;
      for (var C = (c.length - d) * i + 1 >>> 0, p = new Uint8Array(C); c[d]; ) {
        var _ = u[c.charCodeAt(d)];
        if (_ === 255)
          return;
        for (var O = 0, v = C - 1; (_ !== 0 || O < b) && v !== -1; v--, O++)
          _ += o * p[v] >>> 0, p[v] = _ % 256 >>> 0, _ = _ / 256 >>> 0;
        if (_ !== 0)
          throw new Error("Non-zero carry");
        b = O, d++;
      }
      if (c[d] !== " ") {
        for (var y = C - b; y !== C && p[y] === 0; )
          y++;
        for (var S = new Uint8Array(w + (C - y)), R = w; y !== C; )
          S[R++] = p[y++];
        return S;
      }
    }
  }
  function m(c) {
    var d = l(c);
    if (d)
      return d;
    throw new Error(`Non-${t} character`);
  }
  return {
    encode: h,
    decodeUnsafe: l,
    decode: m
  };
}
var ce = ie, se = ce;
const fe = (e) => {
  if (e instanceof Uint8Array && e.constructor.name === "Uint8Array")
    return e;
  if (e instanceof ArrayBuffer)
    return new Uint8Array(e);
  if (ArrayBuffer.isView(e))
    return new Uint8Array(e.buffer, e.byteOffset, e.byteLength);
  throw new Error("Unknown type, must be binary type");
}, le = (e) => new TextEncoder().encode(e), Ee = (e) => new TextDecoder().decode(e);
class de {
  constructor(t, u, r) {
    this.name = t, this.prefix = u, this.baseEncode = r;
  }
  encode(t) {
    if (t instanceof Uint8Array)
      return `${this.prefix}${this.baseEncode(t)}`;
    throw Error("Unknown type, must be binary type");
  }
}
class _e {
  constructor(t, u, r) {
    if (this.name = t, this.prefix = u, u.codePointAt(0) === void 0)
      throw new Error("Invalid prefix character");
    this.prefixCodePoint = u.codePointAt(0), this.baseDecode = r;
  }
  decode(t) {
    if (typeof t == "string") {
      if (t.codePointAt(0) !== this.prefixCodePoint)
        throw Error(`Unable to decode multibase string ${JSON.stringify(t)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);
      return this.baseDecode(t.slice(this.prefix.length));
    } else
      throw Error("Can only multibase decode strings");
  }
  or(t) {
    return x(this, t);
  }
}
class he {
  constructor(t) {
    this.decoders = t;
  }
  or(t) {
    return x(this, t);
  }
  decode(t) {
    const u = t[0], r = this.decoders[u];
    if (r)
      return r.decode(t);
    throw RangeError(`Unable to decode multibase string ${JSON.stringify(t)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`);
  }
}
const x = (e, t) => new he({
  ...e.decoders || { [e.prefix]: e },
  ...t.decoders || { [t.prefix]: t }
});
class be {
  constructor(t, u, r, D) {
    this.name = t, this.prefix = u, this.baseEncode = r, this.baseDecode = D, this.encoder = new de(t, u, r), this.decoder = new _e(t, u, D);
  }
  encode(t) {
    return this.encoder.encode(t);
  }
  decode(t) {
    return this.decoder.decode(t);
  }
}
const M = ({ name: e, prefix: t, encode: u, decode: r }) => new be(e, t, u, r), j = ({ prefix: e, name: t, alphabet: u }) => {
  const { encode: r, decode: D } = se(u, t);
  return M({
    prefix: e,
    name: t,
    encode: r,
    decode: (n) => fe(D(n))
  });
}, ye = (e, t, u, r) => {
  const D = {};
  for (let s = 0; s < t.length; ++s)
    D[t[s]] = s;
  let n = e.length;
  for (; e[n - 1] === "="; )
    --n;
  const a = new Uint8Array(n * u / 8 | 0);
  let o = 0, f = 0, i = 0;
  for (let s = 0; s < n; ++s) {
    const h = D[e[s]];
    if (h === void 0)
      throw new SyntaxError(`Non-${r} character`);
    f = f << u | h, o += u, o >= 8 && (o -= 8, a[i++] = 255 & f >> o);
  }
  if (o >= u || 255 & f << 8 - o)
    throw new SyntaxError("Unexpected end of data");
  return a;
}, Ce = (e, t, u) => {
  const r = t[t.length - 1] === "=", D = (1 << u) - 1;
  let n = "", a = 0, o = 0;
  for (let f = 0; f < e.length; ++f)
    for (o = o << 8 | e[f], a += 8; a > u; )
      a -= u, n += t[D & o >> a];
  if (a && (n += t[D & o << u - a]), r)
    for (; n.length * u & 7; )
      n += "=";
  return n;
}, E = ({ name: e, prefix: t, bitsPerChar: u, alphabet: r }) => M({
  prefix: t,
  name: e,
  encode(D) {
    return Ce(D, r, u);
  },
  decode(D) {
    return ye(D, r, u, e);
  }
}), pe = M({
  prefix: "\0",
  name: "identity",
  encode: (e) => Ee(e),
  decode: (e) => le(e)
}), wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  identity: pe
}, Symbol.toStringTag, { value: "Module" })), Oe = E({
  prefix: "0",
  name: "base2",
  alphabet: "01",
  bitsPerChar: 1
}), gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  base2: Oe
}, Symbol.toStringTag, { value: "Module" })), Se = E({
  prefix: "7",
  name: "base8",
  alphabet: "01234567",
  bitsPerChar: 3
}), At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  base8: Se
}, Symbol.toStringTag, { value: "Module" })), me = j({
  prefix: "9",
  name: "base10",
  alphabet: "0123456789"
}), Tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  base10: me
}, Symbol.toStringTag, { value: "Module" })), ve = E({
  prefix: "f",
  name: "base16",
  alphabet: "0123456789abcdef",
  bitsPerChar: 4
}), we = E({
  prefix: "F",
  name: "base16upper",
  alphabet: "0123456789ABCDEF",
  bitsPerChar: 4
}), Nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  base16: ve,
  base16upper: we
}, Symbol.toStringTag, { value: "Module" })), ge = E({
  prefix: "b",
  name: "base32",
  alphabet: "abcdefghijklmnopqrstuvwxyz234567",
  bitsPerChar: 5
}), Ae = E({
  prefix: "B",
  name: "base32upper",
  alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",
  bitsPerChar: 5
}), Te = E({
  prefix: "c",
  name: "base32pad",
  alphabet: "abcdefghijklmnopqrstuvwxyz234567=",
  bitsPerChar: 5
}), Ne = E({
  prefix: "C",
  name: "base32padupper",
  alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",
  bitsPerChar: 5
}), Fe = E({
  prefix: "v",
  name: "base32hex",
  alphabet: "0123456789abcdefghijklmnopqrstuv",
  bitsPerChar: 5
}), Ue = E({
  prefix: "V",
  name: "base32hexupper",
  alphabet: "0123456789ABCDEFGHIJKLMNOPQRSTUV",
  bitsPerChar: 5
}), je = E({
  prefix: "t",
  name: "base32hexpad",
  alphabet: "0123456789abcdefghijklmnopqrstuv=",
  bitsPerChar: 5
}), Re = E({
  prefix: "T",
  name: "base32hexpadupper",
  alphabet: "0123456789ABCDEFGHIJKLMNOPQRSTUV=",
  bitsPerChar: 5
}), Me = E({
  prefix: "h",
  name: "base32z",
  alphabet: "ybndrfg8ejkmcpqxot1uwisza345h769",
  bitsPerChar: 5
}), Ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  base32: ge,
  base32hex: Fe,
  base32hexpad: je,
  base32hexpadupper: Re,
  base32hexupper: Ue,
  base32pad: Te,
  base32padupper: Ne,
  base32upper: Ae,
  base32z: Me
}, Symbol.toStringTag, { value: "Module" })), Pe = j({
  prefix: "k",
  name: "base36",
  alphabet: "0123456789abcdefghijklmnopqrstuvwxyz"
}), Ie = j({
  prefix: "K",
  name: "base36upper",
  alphabet: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
}), Ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  base36: Pe,
  base36upper: Ie
}, Symbol.toStringTag, { value: "Module" })), Be = j({
  name: "base58btc",
  prefix: "z",
  alphabet: "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
}), Ye = j({
  name: "base58flickr",
  prefix: "Z",
  alphabet: "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
}), jt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  base58btc: Be,
  base58flickr: Ye
}, Symbol.toStringTag, { value: "Module" })), He = E({
  prefix: "m",
  name: "base64",
  alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  bitsPerChar: 6
}), We = E({
  prefix: "M",
  name: "base64pad",
  alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
  bitsPerChar: 6
}), qe = E({
  prefix: "u",
  name: "base64url",
  alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",
  bitsPerChar: 6
}), ze = E({
  prefix: "U",
  name: "base64urlpad",
  alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",
  bitsPerChar: 6
}), Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  base64: He,
  base64pad: We,
  base64url: qe,
  base64urlpad: ze
}, Symbol.toStringTag, { value: "Module" })), ee = Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"), $e = ee.reduce((e, t, u) => (e[u] = t, e), []), Ve = ee.reduce((e, t, u) => (e[t.codePointAt(0)] = u, e), []);
function Ke(e) {
  return e.reduce((t, u) => (t += $e[u], t), "");
}
function Xe(e) {
  const t = [];
  for (const u of e) {
    const r = Ve[u.codePointAt(0)];
    if (r === void 0)
      throw new Error(`Non-base256emoji character: ${u}`);
    t.push(r);
  }
  return new Uint8Array(t);
}
const ke = M({
  prefix: "🚀",
  name: "base256emoji",
  encode: Ke,
  decode: Xe
}), Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  base256emoji: ke
}, Symbol.toStringTag, { value: "Module" }));
new TextEncoder();
new TextDecoder();
var Ge = {};
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var W = function(e, t) {
  return W = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(u, r) {
    u.__proto__ = r;
  } || function(u, r) {
    for (var D in r) r.hasOwnProperty(D) && (u[D] = r[D]);
  }, W(e, t);
};
function Je(e, t) {
  W(e, t);
  function u() {
    this.constructor = e;
  }
  e.prototype = t === null ? Object.create(t) : (u.prototype = t.prototype, new u());
}
var q = function() {
  return q = Object.assign || function(t) {
    for (var u, r = 1, D = arguments.length; r < D; r++) {
      u = arguments[r];
      for (var n in u) Object.prototype.hasOwnProperty.call(u, n) && (t[n] = u[n]);
    }
    return t;
  }, q.apply(this, arguments);
};
function Le(e, t) {
  var u = {};
  for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (u[r] = e[r]);
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
    for (var D = 0, r = Object.getOwnPropertySymbols(e); D < r.length; D++)
      t.indexOf(r[D]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[D]) && (u[r[D]] = e[r[D]]);
  return u;
}
function Qe(e, t, u, r) {
  var D = arguments.length, n = D < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, u) : r, a;
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n = Reflect.decorate(e, t, u, r);
  else for (var o = e.length - 1; o >= 0; o--) (a = e[o]) && (n = (D < 3 ? a(n) : D > 3 ? a(t, u, n) : a(t, u)) || n);
  return D > 3 && n && Object.defineProperty(t, u, n), n;
}
function Ze(e, t) {
  return function(u, r) {
    t(u, r, e);
  };
}
function xe(e, t) {
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
}
function et(e, t, u, r) {
  function D(n) {
    return n instanceof u ? n : new u(function(a) {
      a(n);
    });
  }
  return new (u || (u = Promise))(function(n, a) {
    function o(s) {
      try {
        i(r.next(s));
      } catch (h) {
        a(h);
      }
    }
    function f(s) {
      try {
        i(r.throw(s));
      } catch (h) {
        a(h);
      }
    }
    function i(s) {
      s.done ? n(s.value) : D(s.value).then(o, f);
    }
    i((r = r.apply(e, t || [])).next());
  });
}
function tt(e, t) {
  var u = { label: 0, sent: function() {
    if (n[0] & 1) throw n[1];
    return n[1];
  }, trys: [], ops: [] }, r, D, n, a;
  return a = { next: o(0), throw: o(1), return: o(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
    return this;
  }), a;
  function o(i) {
    return function(s) {
      return f([i, s]);
    };
  }
  function f(i) {
    if (r) throw new TypeError("Generator is already executing.");
    for (; u; ) try {
      if (r = 1, D && (n = i[0] & 2 ? D.return : i[0] ? D.throw || ((n = D.return) && n.call(D), 0) : D.next) && !(n = n.call(D, i[1])).done) return n;
      switch (D = 0, n && (i = [i[0] & 2, n.value]), i[0]) {
        case 0:
        case 1:
          n = i;
          break;
        case 4:
          return u.label++, { value: i[1], done: !1 };
        case 5:
          u.label++, D = i[1], i = [0];
          continue;
        case 7:
          i = u.ops.pop(), u.trys.pop();
          continue;
        default:
          if (n = u.trys, !(n = n.length > 0 && n[n.length - 1]) && (i[0] === 6 || i[0] === 2)) {
            u = 0;
            continue;
          }
          if (i[0] === 3 && (!n || i[1] > n[0] && i[1] < n[3])) {
            u.label = i[1];
            break;
          }
          if (i[0] === 6 && u.label < n[1]) {
            u.label = n[1], n = i;
            break;
          }
          if (n && u.label < n[2]) {
            u.label = n[2], u.ops.push(i);
            break;
          }
          n[2] && u.ops.pop(), u.trys.pop();
          continue;
      }
      i = t.call(e, u);
    } catch (s) {
      i = [6, s], D = 0;
    } finally {
      r = n = 0;
    }
    if (i[0] & 5) throw i[1];
    return { value: i[0] ? i[1] : void 0, done: !0 };
  }
}
function ut(e, t, u, r) {
  r === void 0 && (r = u), e[r] = t[u];
}
function rt(e, t) {
  for (var u in e) u !== "default" && !t.hasOwnProperty(u) && (t[u] = e[u]);
}
function z(e) {
  var t = typeof Symbol == "function" && Symbol.iterator, u = t && e[t], r = 0;
  if (u) return u.call(e);
  if (e && typeof e.length == "number") return {
    next: function() {
      return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
    }
  };
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
}
function te(e, t) {
  var u = typeof Symbol == "function" && e[Symbol.iterator];
  if (!u) return e;
  var r = u.call(e), D, n = [], a;
  try {
    for (; (t === void 0 || t-- > 0) && !(D = r.next()).done; ) n.push(D.value);
  } catch (o) {
    a = { error: o };
  } finally {
    try {
      D && !D.done && (u = r.return) && u.call(r);
    } finally {
      if (a) throw a.error;
    }
  }
  return n;
}
function nt() {
  for (var e = [], t = 0; t < arguments.length; t++)
    e = e.concat(te(arguments[t]));
  return e;
}
function Dt() {
  for (var e = 0, t = 0, u = arguments.length; t < u; t++) e += arguments[t].length;
  for (var r = Array(e), D = 0, t = 0; t < u; t++)
    for (var n = arguments[t], a = 0, o = n.length; a < o; a++, D++)
      r[D] = n[a];
  return r;
}
function U(e) {
  return this instanceof U ? (this.v = e, this) : new U(e);
}
function at(e, t, u) {
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  var r = u.apply(e, t || []), D, n = [];
  return D = {}, a("next"), a("throw"), a("return"), D[Symbol.asyncIterator] = function() {
    return this;
  }, D;
  function a(l) {
    r[l] && (D[l] = function(m) {
      return new Promise(function(c, d) {
        n.push([l, m, c, d]) > 1 || o(l, m);
      });
    });
  }
  function o(l, m) {
    try {
      f(r[l](m));
    } catch (c) {
      h(n[0][3], c);
    }
  }
  function f(l) {
    l.value instanceof U ? Promise.resolve(l.value.v).then(i, s) : h(n[0][2], l);
  }
  function i(l) {
    o("next", l);
  }
  function s(l) {
    o("throw", l);
  }
  function h(l, m) {
    l(m), n.shift(), n.length && o(n[0][0], n[0][1]);
  }
}
function ot(e) {
  var t, u;
  return t = {}, r("next"), r("throw", function(D) {
    throw D;
  }), r("return"), t[Symbol.iterator] = function() {
    return this;
  }, t;
  function r(D, n) {
    t[D] = e[D] ? function(a) {
      return (u = !u) ? { value: U(e[D](a)), done: D === "return" } : n ? n(a) : a;
    } : n;
  }
}
function it(e) {
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  var t = e[Symbol.asyncIterator], u;
  return t ? t.call(e) : (e = typeof z == "function" ? z(e) : e[Symbol.iterator](), u = {}, r("next"), r("throw"), r("return"), u[Symbol.asyncIterator] = function() {
    return this;
  }, u);
  function r(n) {
    u[n] = e[n] && function(a) {
      return new Promise(function(o, f) {
        a = e[n](a), D(o, f, a.done, a.value);
      });
    };
  }
  function D(n, a, o, f) {
    Promise.resolve(f).then(function(i) {
      n({ value: i, done: o });
    }, a);
  }
}
function ct(e, t) {
  return Object.defineProperty ? Object.defineProperty(e, "raw", { value: t }) : e.raw = t, e;
}
function st(e) {
  if (e && e.__esModule) return e;
  var t = {};
  if (e != null) for (var u in e) Object.hasOwnProperty.call(e, u) && (t[u] = e[u]);
  return t.default = e, t;
}
function ft(e) {
  return e && e.__esModule ? e : { default: e };
}
function lt(e, t) {
  if (!t.has(e))
    throw new TypeError("attempted to get private field on non-instance");
  return t.get(e);
}
function Et(e, t, u) {
  if (!t.has(e))
    throw new TypeError("attempted to set private field on non-instance");
  return t.set(e, u), u;
}
const dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  get __assign() {
    return q;
  },
  __asyncDelegator: ot,
  __asyncGenerator: at,
  __asyncValues: it,
  __await: U,
  __awaiter: et,
  __classPrivateFieldGet: lt,
  __classPrivateFieldSet: Et,
  __createBinding: ut,
  __decorate: Qe,
  __exportStar: rt,
  __extends: Je,
  __generator: tt,
  __importDefault: ft,
  __importStar: st,
  __makeTemplateObject: ct,
  __metadata: xe,
  __param: Ze,
  __read: te,
  __rest: Le,
  __spread: nt,
  __spreadArrays: Dt,
  __values: z
}, Symbol.toStringTag, { value: "Module" })), P = /* @__PURE__ */ De(dt);
var I = {}, N = {}, $;
function _t() {
  if ($) return N;
  $ = 1, Object.defineProperty(N, "__esModule", { value: !0 }), N.delay = void 0;
  function e(t) {
    return new Promise((u) => {
      setTimeout(() => {
        u(!0);
      }, t);
    });
  }
  return N.delay = e, N;
}
var g = {}, B = {}, A = {}, V;
function ht() {
  return V || (V = 1, Object.defineProperty(A, "__esModule", { value: !0 }), A.ONE_THOUSAND = A.ONE_HUNDRED = void 0, A.ONE_HUNDRED = 100, A.ONE_THOUSAND = 1e3), A;
}
var Y = {}, K;
function bt() {
  return K || (K = 1, function(e) {
    Object.defineProperty(e, "__esModule", { value: !0 }), e.ONE_YEAR = e.FOUR_WEEKS = e.THREE_WEEKS = e.TWO_WEEKS = e.ONE_WEEK = e.THIRTY_DAYS = e.SEVEN_DAYS = e.FIVE_DAYS = e.THREE_DAYS = e.ONE_DAY = e.TWENTY_FOUR_HOURS = e.TWELVE_HOURS = e.SIX_HOURS = e.THREE_HOURS = e.ONE_HOUR = e.SIXTY_MINUTES = e.THIRTY_MINUTES = e.TEN_MINUTES = e.FIVE_MINUTES = e.ONE_MINUTE = e.SIXTY_SECONDS = e.THIRTY_SECONDS = e.TEN_SECONDS = e.FIVE_SECONDS = e.ONE_SECOND = void 0, e.ONE_SECOND = 1, e.FIVE_SECONDS = 5, e.TEN_SECONDS = 10, e.THIRTY_SECONDS = 30, e.SIXTY_SECONDS = 60, e.ONE_MINUTE = e.SIXTY_SECONDS, e.FIVE_MINUTES = e.ONE_MINUTE * 5, e.TEN_MINUTES = e.ONE_MINUTE * 10, e.THIRTY_MINUTES = e.ONE_MINUTE * 30, e.SIXTY_MINUTES = e.ONE_MINUTE * 60, e.ONE_HOUR = e.SIXTY_MINUTES, e.THREE_HOURS = e.ONE_HOUR * 3, e.SIX_HOURS = e.ONE_HOUR * 6, e.TWELVE_HOURS = e.ONE_HOUR * 12, e.TWENTY_FOUR_HOURS = e.ONE_HOUR * 24, e.ONE_DAY = e.TWENTY_FOUR_HOURS, e.THREE_DAYS = e.ONE_DAY * 3, e.FIVE_DAYS = e.ONE_DAY * 5, e.SEVEN_DAYS = e.ONE_DAY * 7, e.THIRTY_DAYS = e.ONE_DAY * 30, e.ONE_WEEK = e.SEVEN_DAYS, e.TWO_WEEKS = e.ONE_WEEK * 2, e.THREE_WEEKS = e.ONE_WEEK * 3, e.FOUR_WEEKS = e.ONE_WEEK * 4, e.ONE_YEAR = e.ONE_DAY * 365;
  }(Y)), Y;
}
var X;
function ue() {
  return X || (X = 1, function(e) {
    Object.defineProperty(e, "__esModule", { value: !0 });
    const t = P;
    t.__exportStar(ht(), e), t.__exportStar(bt(), e);
  }(B)), B;
}
var k;
function yt() {
  if (k) return g;
  k = 1, Object.defineProperty(g, "__esModule", { value: !0 }), g.fromMiliseconds = g.toMiliseconds = void 0;
  const e = ue();
  function t(r) {
    return r * e.ONE_THOUSAND;
  }
  g.toMiliseconds = t;
  function u(r) {
    return Math.floor(r / e.ONE_THOUSAND);
  }
  return g.fromMiliseconds = u, g;
}
var G;
function Ct() {
  return G || (G = 1, function(e) {
    Object.defineProperty(e, "__esModule", { value: !0 });
    const t = P;
    t.__exportStar(_t(), e), t.__exportStar(yt(), e);
  }(I)), I;
}
var T = {}, J;
function pt() {
  if (J) return T;
  J = 1, Object.defineProperty(T, "__esModule", { value: !0 }), T.Watch = void 0;
  class e {
    constructor() {
      this.timestamps = /* @__PURE__ */ new Map();
    }
    start(u) {
      if (this.timestamps.has(u))
        throw new Error(`Watch already started for label: ${u}`);
      this.timestamps.set(u, { started: Date.now() });
    }
    stop(u) {
      const r = this.get(u);
      if (typeof r.elapsed < "u")
        throw new Error(`Watch already stopped for label: ${u}`);
      const D = Date.now() - r.started;
      this.timestamps.set(u, { started: r.started, elapsed: D });
    }
    get(u) {
      const r = this.timestamps.get(u);
      if (typeof r > "u")
        throw new Error(`No timestamp found for label: ${u}`);
      return r;
    }
    elapsed(u) {
      const r = this.get(u);
      return r.elapsed || Date.now() - r.started;
    }
  }
  return T.Watch = e, T.default = e, T;
}
var H = {}, F = {}, L;
function Ot() {
  if (L) return F;
  L = 1, Object.defineProperty(F, "__esModule", { value: !0 }), F.IWatch = void 0;
  class e {
  }
  return F.IWatch = e, F;
}
var Q;
function St() {
  return Q || (Q = 1, function(e) {
    Object.defineProperty(e, "__esModule", { value: !0 }), P.__exportStar(Ot(), e);
  }(H)), H;
}
(function(e) {
  Object.defineProperty(e, "__esModule", { value: !0 });
  const t = P;
  t.__exportStar(Ct(), e), t.__exportStar(pt(), e), t.__exportStar(St(), e), t.__exportStar(ue(), e);
})(Ge);
export {
  oe as a,
  Mt as b,
  Ge as c,
  Rt as d,
  vt as e,
  jt as f,
  Ut as g,
  Z as h,
  Ft as i,
  Nt as j,
  Tt as k,
  At as l,
  gt as m,
  wt as n
};
