function Yh(e, t) {
  const r = Object.create(null),
    n = e.split(",");
  for (let A = 0; A < n.length; A++) r[n[A]] = !0;
  return t ? (A) => !!r[A.toLowerCase()] : (A) => !!r[A];
}
const zt = {},
  Ka = [],
  rA = () => {},
  eE = () => !1,
  tE = /^on[^a-z]/,
  Pc = (e) => tE.test(e),
  N7 = (e) => e.startsWith("onUpdate:"),
  ar = Object.assign,
  Xh = (e, t) => {
    const r = e.indexOf(t);
    r > -1 && e.splice(r, 1);
  },
  rE = Object.prototype.hasOwnProperty,
  St = (e, t) => rE.call(e, t),
  ot = Array.isArray,
  Va = (e) => o0(e) === "[object Map]",
  $7 = (e) => o0(e) === "[object Set]",
  nE = (e) => o0(e) === "[object RegExp]",
  gt = (e) => typeof e == "function",
  pr = (e) => typeof e == "string",
  Jh = (e) => typeof e == "symbol",
  jt = (e) => e !== null && typeof e == "object",
  qh = (e) => jt(e) && gt(e.then) && gt(e.catch),
  K7 = Object.prototype.toString,
  o0 = (e) => K7.call(e),
  AE = (e) => o0(e).slice(8, -1),
  V7 = (e) => o0(e) === "[object Object]",
  Zh = (e) =>
    pr(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e,
  Bl = Yh(
    ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted",
  ),
  Oc = (e) => {
    const t = Object.create(null);
    return (r) => t[r] || (t[r] = e(r));
  },
  iE = /-(\w)/g,
  iA = Oc((e) => e.replace(iE, (t, r) => (r ? r.toUpperCase() : ""))),
  sE = /\B([A-Z])/g,
  Lc = Oc((e) => e.replace(sE, "-$1").toLowerCase()),
  kc = Oc((e) => e.charAt(0).toUpperCase() + e.slice(1)),
  wl = Oc((e) => (e ? `on${kc(e)}` : "")),
  Ja = (e, t) => !Object.is(e, t),
  yl = (e, t) => {
    for (let r = 0; r < e.length; r++) e[r](t);
  },
  ec = (e, t, r) => {
    Object.defineProperty(e, t, { configurable: !0, enumerable: !1, value: r });
  },
  aE = (e) => {
    const t = parseFloat(e);
    return isNaN(t) ? e : t;
  },
  oE = (e) => {
    const t = pr(e) ? Number(e) : NaN;
    return isNaN(t) ? e : t;
  };
let G5;
const l2 = () =>
    G5 ||
    (G5 =
      typeof globalThis < "u"
        ? globalThis
        : typeof self < "u"
          ? self
          : typeof window < "u"
            ? window
            : typeof global < "u"
              ? global
              : {}),
  lE =
    "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",
  uE = Yh(lE);
function l0(e) {
  if (ot(e)) {
    const t = {};
    for (let r = 0; r < e.length; r++) {
      const n = e[r],
        A = pr(n) ? hE(n) : l0(n);
      if (A) for (const i in A) t[i] = A[i];
    }
    return t;
  } else {
    if (pr(e)) return e;
    if (jt(e)) return e;
  }
}
const cE = /;(?![^(]*\))/g,
  fE = /:([^]+)/,
  dE = /\/\*[^]*?\*\//g;
function hE(e) {
  const t = {};
  return (
    e
      .replace(dE, "")
      .split(cE)
      .forEach((r) => {
        if (r) {
          const n = r.split(fE);
          n.length > 1 && (t[n[0].trim()] = n[1].trim());
        }
      }),
    t
  );
}
function u0(e) {
  let t = "";
  if (pr(e)) t = e;
  else if (ot(e))
    for (let r = 0; r < e.length; r++) {
      const n = u0(e[r]);
      n && (t += n + " ");
    }
  else if (jt(e)) for (const r in e) e[r] && (t += r + " ");
  return t.trim();
}
function pE(e) {
  if (!e) return null;
  let { class: t, style: r } = e;
  return t && !pr(t) && (e.class = u0(t)), r && (e.style = l0(r)), e;
}
const gE = (e) =>
    pr(e)
      ? e
      : e == null
        ? ""
        : ot(e) || (jt(e) && (e.toString === K7 || !gt(e.toString)))
          ? JSON.stringify(e, G7, 2)
          : String(e),
  G7 = (e, t) =>
    t && t.__v_isRef
      ? G7(e, t.value)
      : Va(t)
        ? {
            [`Map(${t.size})`]: [...t.entries()].reduce(
              (r, [n, A]) => ((r[`${n} =>`] = A), r),
              {},
            ),
          }
        : $7(t)
          ? { [`Set(${t.size})`]: [...t.values()] }
          : jt(t) && !ot(t) && !V7(t)
            ? String(t)
            : t;
let bn;
class e6 {
  constructor(t = !1) {
    (this.detached = t),
      (this._active = !0),
      (this.effects = []),
      (this.cleanups = []),
      (this.parent = bn),
      !t && bn && (this.index = (bn.scopes || (bn.scopes = [])).push(this) - 1);
  }
  get active() {
    return this._active;
  }
  run(t) {
    if (this._active) {
      const r = bn;
      try {
        return (bn = this), t();
      } finally {
        bn = r;
      }
    }
  }
  on() {
    bn = this;
  }
  off() {
    bn = this.parent;
  }
  stop(t) {
    if (this._active) {
      let r, n;
      for (r = 0, n = this.effects.length; r < n; r++) this.effects[r].stop();
      for (r = 0, n = this.cleanups.length; r < n; r++) this.cleanups[r]();
      if (this.scopes)
        for (r = 0, n = this.scopes.length; r < n; r++) this.scopes[r].stop(!0);
      if (!this.detached && this.parent && !t) {
        const A = this.parent.scopes.pop();
        A &&
          A !== this &&
          ((this.parent.scopes[this.index] = A), (A.index = this.index));
      }
      (this.parent = void 0), (this._active = !1);
    }
  }
}
function Hc(e) {
  return new e6(e);
}
function W7(e, t = bn) {
  t && t.active && t.effects.push(e);
}
function c0() {
  return bn;
}
function t6(e) {
  bn && bn.cleanups.push(e);
}
const r6 = (e) => {
    const t = new Set(e);
    return (t.w = 0), (t.n = 0), t;
  },
  z7 = (e) => (e.w & es) > 0,
  j7 = (e) => (e.n & es) > 0,
  vE = ({ deps: e }) => {
    if (e.length) for (let t = 0; t < e.length; t++) e[t].w |= es;
  },
  mE = (e) => {
    const { deps: t } = e;
    if (t.length) {
      let r = 0;
      for (let n = 0; n < t.length; n++) {
        const A = t[n];
        z7(A) && !j7(A) ? A.delete(e) : (t[r++] = A),
          (A.w &= ~es),
          (A.n &= ~es);
      }
      t.length = r;
    }
  },
  tc = new WeakMap();
let ll = 0,
  es = 1;
const u2 = 30;
let Zn;
const $s = Symbol(""),
  c2 = Symbol("");
class f0 {
  constructor(t, r = null, n) {
    (this.fn = t),
      (this.scheduler = r),
      (this.active = !0),
      (this.deps = []),
      (this.parent = void 0),
      W7(this, n);
  }
  run() {
    if (!this.active) return this.fn();
    let t = Zn,
      r = Yi;
    for (; t; ) {
      if (t === this) return;
      t = t.parent;
    }
    try {
      return (
        (this.parent = Zn),
        (Zn = this),
        (Yi = !0),
        (es = 1 << ++ll),
        ll <= u2 ? vE(this) : W5(this),
        this.fn()
      );
    } finally {
      ll <= u2 && mE(this),
        (es = 1 << --ll),
        (Zn = this.parent),
        (Yi = r),
        (this.parent = void 0),
        this.deferStop && this.stop();
    }
  }
  stop() {
    Zn === this
      ? (this.deferStop = !0)
      : this.active &&
        (W5(this), this.onStop && this.onStop(), (this.active = !1));
  }
}
function W5(e) {
  const { deps: t } = e;
  if (t.length) {
    for (let r = 0; r < t.length; r++) t[r].delete(e);
    t.length = 0;
  }
}
function BE(e, t) {
  e.effect && (e = e.effect.fn);
  const r = new f0(e);
  t && (ar(r, t), t.scope && W7(r, t.scope)), (!t || !t.lazy) && r.run();
  const n = r.run.bind(r);
  return (n.effect = r), n;
}
function wE(e) {
  e.effect.stop();
}
let Yi = !0;
const Y7 = [];
function wo() {
  Y7.push(Yi), (Yi = !1);
}
function yo() {
  const e = Y7.pop();
  Yi = e === void 0 ? !0 : e;
}
function vn(e, t, r) {
  if (Yi && Zn) {
    let n = tc.get(e);
    n || tc.set(e, (n = new Map()));
    let A = n.get(r);
    A || n.set(r, (A = r6())), X7(A);
  }
}
function X7(e, t) {
  let r = !1;
  ll <= u2 ? j7(e) || ((e.n |= es), (r = !z7(e))) : (r = !e.has(Zn)),
    r && (e.add(Zn), Zn.deps.push(e));
}
function ri(e, t, r, n, A, i) {
  const s = tc.get(e);
  if (!s) return;
  let a = [];
  if (t === "clear") a = [...s.values()];
  else if (r === "length" && ot(e)) {
    const o = Number(n);
    s.forEach((l, u) => {
      (u === "length" || u >= o) && a.push(l);
    });
  } else
    switch ((r !== void 0 && a.push(s.get(r)), t)) {
      case "add":
        ot(e)
          ? Zh(r) && a.push(s.get("length"))
          : (a.push(s.get($s)), Va(e) && a.push(s.get(c2)));
        break;
      case "delete":
        ot(e) || (a.push(s.get($s)), Va(e) && a.push(s.get(c2)));
        break;
      case "set":
        Va(e) && a.push(s.get($s));
        break;
    }
  if (a.length === 1) a[0] && f2(a[0]);
  else {
    const o = [];
    for (const l of a) l && o.push(...l);
    f2(r6(o));
  }
}
function f2(e, t) {
  const r = ot(e) ? e : [...e];
  for (const n of r) n.computed && z5(n);
  for (const n of r) n.computed || z5(n);
}
function z5(e, t) {
  (e !== Zn || e.allowRecurse) && (e.scheduler ? e.scheduler() : e.run());
}
function yE(e, t) {
  var r;
  return (r = tc.get(e)) == null ? void 0 : r.get(t);
}
const CE = Yh("__proto__,__v_isRef,__isVue"),
  J7 = new Set(
    Object.getOwnPropertyNames(Symbol)
      .filter((e) => e !== "arguments" && e !== "caller")
      .map((e) => Symbol[e])
      .filter(Jh),
  ),
  xE = Mc(),
  EE = Mc(!1, !0),
  bE = Mc(!0),
  FE = Mc(!0, !0),
  j5 = _E();
function _E() {
  const e = {};
  return (
    ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
      e[t] = function (...r) {
        const n = Et(this);
        for (let i = 0, s = this.length; i < s; i++) vn(n, "get", i + "");
        const A = n[t](...r);
        return A === -1 || A === !1 ? n[t](...r.map(Et)) : A;
      };
    }),
    ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
      e[t] = function (...r) {
        wo();
        const n = Et(this)[t].apply(this, r);
        return yo(), n;
      };
    }),
    e
  );
}
function SE(e) {
  const t = Et(this);
  return vn(t, "has", e), t.hasOwnProperty(e);
}
function Mc(e = !1, t = !1) {
  return function (n, A, i) {
    if (A === "__v_isReactive") return !e;
    if (A === "__v_isReadonly") return e;
    if (A === "__v_isShallow") return t;
    if (A === "__v_raw" && i === (e ? (t ? A8 : n8) : t ? r8 : t8).get(n))
      return n;
    const s = ot(n);
    if (!e) {
      if (s && St(j5, A)) return Reflect.get(j5, A, i);
      if (A === "hasOwnProperty") return SE;
    }
    const a = Reflect.get(n, A, i);
    return (Jh(A) ? J7.has(A) : CE(A)) || (e || vn(n, "get", A), t)
      ? a
      : Nt(a)
        ? s && Zh(A)
          ? a
          : a.value
        : jt(a)
          ? e
            ? Co(a)
            : Rt(a)
          : a;
  };
}
const QE = q7(),
  UE = q7(!0);
function q7(e = !1) {
  return function (r, n, A, i) {
    let s = r[n];
    if (Xs(s) && Nt(s) && !Nt(A)) return !1;
    if (
      !e &&
      (!Rl(A) && !Xs(A) && ((s = Et(s)), (A = Et(A))),
      !ot(r) && Nt(s) && !Nt(A))
    )
      return (s.value = A), !0;
    const a = ot(r) && Zh(n) ? Number(n) < r.length : St(r, n),
      o = Reflect.set(r, n, A, i);
    return (
      r === Et(i) && (a ? Ja(A, s) && ri(r, "set", n, A) : ri(r, "add", n, A)),
      o
    );
  };
}
function TE(e, t) {
  const r = St(e, t);
  e[t];
  const n = Reflect.deleteProperty(e, t);
  return n && r && ri(e, "delete", t, void 0), n;
}
function IE(e, t) {
  const r = Reflect.has(e, t);
  return (!Jh(t) || !J7.has(t)) && vn(e, "has", t), r;
}
function DE(e) {
  return vn(e, "iterate", ot(e) ? "length" : $s), Reflect.ownKeys(e);
}
const Z7 = { get: xE, set: QE, deleteProperty: TE, has: IE, ownKeys: DE },
  e8 = {
    get: bE,
    set(e, t) {
      return !0;
    },
    deleteProperty(e, t) {
      return !0;
    },
  },
  PE = ar({}, Z7, { get: EE, set: UE }),
  OE = ar({}, e8, { get: FE }),
  n6 = (e) => e,
  Rc = (e) => Reflect.getPrototypeOf(e);
function N0(e, t, r = !1, n = !1) {
  e = e.__v_raw;
  const A = Et(e),
    i = Et(t);
  r || (t !== i && vn(A, "get", t), vn(A, "get", i));
  const { has: s } = Rc(A),
    a = n ? n6 : r ? i6 : Nl;
  if (s.call(A, t)) return a(e.get(t));
  if (s.call(A, i)) return a(e.get(i));
  e !== A && e.get(t);
}
function $0(e, t = !1) {
  const r = this.__v_raw,
    n = Et(r),
    A = Et(e);
  return (
    t || (e !== A && vn(n, "has", e), vn(n, "has", A)),
    e === A ? r.has(e) : r.has(e) || r.has(A)
  );
}
function K0(e, t = !1) {
  return (
    (e = e.__v_raw), !t && vn(Et(e), "iterate", $s), Reflect.get(e, "size", e)
  );
}
function Y5(e) {
  e = Et(e);
  const t = Et(this);
  return Rc(t).has.call(t, e) || (t.add(e), ri(t, "add", e, e)), this;
}
function X5(e, t) {
  t = Et(t);
  const r = Et(this),
    { has: n, get: A } = Rc(r);
  let i = n.call(r, e);
  i || ((e = Et(e)), (i = n.call(r, e)));
  const s = A.call(r, e);
  return (
    r.set(e, t), i ? Ja(t, s) && ri(r, "set", e, t) : ri(r, "add", e, t), this
  );
}
function J5(e) {
  const t = Et(this),
    { has: r, get: n } = Rc(t);
  let A = r.call(t, e);
  A || ((e = Et(e)), (A = r.call(t, e))), n && n.call(t, e);
  const i = t.delete(e);
  return A && ri(t, "delete", e, void 0), i;
}
function q5() {
  const e = Et(this),
    t = e.size !== 0,
    r = e.clear();
  return t && ri(e, "clear", void 0, void 0), r;
}
function V0(e, t) {
  return function (n, A) {
    const i = this,
      s = i.__v_raw,
      a = Et(s),
      o = t ? n6 : e ? i6 : Nl;
    return (
      !e && vn(a, "iterate", $s), s.forEach((l, u) => n.call(A, o(l), o(u), i))
    );
  };
}
function G0(e, t, r) {
  return function (...n) {
    const A = this.__v_raw,
      i = Et(A),
      s = Va(i),
      a = e === "entries" || (e === Symbol.iterator && s),
      o = e === "keys" && s,
      l = A[e](...n),
      u = r ? n6 : t ? i6 : Nl;
    return (
      !t && vn(i, "iterate", o ? c2 : $s),
      {
        next() {
          const { value: f, done: d } = l.next();
          return d
            ? { value: f, done: d }
            : { value: a ? [u(f[0]), u(f[1])] : u(f), done: d };
        },
        [Symbol.iterator]() {
          return this;
        },
      }
    );
  };
}
function Ei(e) {
  return function (...t) {
    return e === "delete" ? !1 : this;
  };
}
function LE() {
  const e = {
      get(i) {
        return N0(this, i);
      },
      get size() {
        return K0(this);
      },
      has: $0,
      add: Y5,
      set: X5,
      delete: J5,
      clear: q5,
      forEach: V0(!1, !1),
    },
    t = {
      get(i) {
        return N0(this, i, !1, !0);
      },
      get size() {
        return K0(this);
      },
      has: $0,
      add: Y5,
      set: X5,
      delete: J5,
      clear: q5,
      forEach: V0(!1, !0),
    },
    r = {
      get(i) {
        return N0(this, i, !0);
      },
      get size() {
        return K0(this, !0);
      },
      has(i) {
        return $0.call(this, i, !0);
      },
      add: Ei("add"),
      set: Ei("set"),
      delete: Ei("delete"),
      clear: Ei("clear"),
      forEach: V0(!0, !1),
    },
    n = {
      get(i) {
        return N0(this, i, !0, !0);
      },
      get size() {
        return K0(this, !0);
      },
      has(i) {
        return $0.call(this, i, !0);
      },
      add: Ei("add"),
      set: Ei("set"),
      delete: Ei("delete"),
      clear: Ei("clear"),
      forEach: V0(!0, !0),
    };
  return (
    ["keys", "values", "entries", Symbol.iterator].forEach((i) => {
      (e[i] = G0(i, !1, !1)),
        (r[i] = G0(i, !0, !1)),
        (t[i] = G0(i, !1, !0)),
        (n[i] = G0(i, !0, !0));
    }),
    [e, r, t, n]
  );
}
const [kE, HE, ME, RE] = LE();
function Nc(e, t) {
  const r = t ? (e ? RE : ME) : e ? HE : kE;
  return (n, A, i) =>
    A === "__v_isReactive"
      ? !e
      : A === "__v_isReadonly"
        ? e
        : A === "__v_raw"
          ? n
          : Reflect.get(St(r, A) && A in n ? r : n, A, i);
}
const NE = { get: Nc(!1, !1) },
  $E = { get: Nc(!1, !0) },
  KE = { get: Nc(!0, !1) },
  VE = { get: Nc(!0, !0) },
  t8 = new WeakMap(),
  r8 = new WeakMap(),
  n8 = new WeakMap(),
  A8 = new WeakMap();
function GE(e) {
  switch (e) {
    case "Object":
    case "Array":
      return 1;
    case "Map":
    case "Set":
    case "WeakMap":
    case "WeakSet":
      return 2;
    default:
      return 0;
  }
}
function WE(e) {
  return e.__v_skip || !Object.isExtensible(e) ? 0 : GE(AE(e));
}
function Rt(e) {
  return Xs(e) ? e : $c(e, !1, Z7, NE, t8);
}
function i8(e) {
  return $c(e, !1, PE, $E, r8);
}
function Co(e) {
  return $c(e, !0, e8, KE, n8);
}
function zE(e) {
  return $c(e, !0, OE, VE, A8);
}
function $c(e, t, r, n, A) {
  if (!jt(e) || (e.__v_raw && !(t && e.__v_isReactive))) return e;
  const i = A.get(e);
  if (i) return i;
  const s = WE(e);
  if (s === 0) return e;
  const a = new Proxy(e, s === 2 ? n : r);
  return A.set(e, a), a;
}
function jA(e) {
  return Xs(e) ? jA(e.__v_raw) : !!(e && e.__v_isReactive);
}
function Xs(e) {
  return !!(e && e.__v_isReadonly);
}
function Rl(e) {
  return !!(e && e.__v_isShallow);
}
function A6(e) {
  return jA(e) || Xs(e);
}
function Et(e) {
  const t = e && e.__v_raw;
  return t ? Et(t) : e;
}
function d0(e) {
  return ec(e, "__v_skip", !0), e;
}
const Nl = (e) => (jt(e) ? Rt(e) : e),
  i6 = (e) => (jt(e) ? Co(e) : e);
function s6(e) {
  Yi && Zn && ((e = Et(e)), X7(e.dep || (e.dep = r6())));
}
function Kc(e, t) {
  e = Et(e);
  const r = e.dep;
  r && f2(r);
}
function Nt(e) {
  return !!(e && e.__v_isRef === !0);
}
function Ue(e) {
  return s8(e, !1);
}
function Vc(e) {
  return s8(e, !0);
}
function s8(e, t) {
  return Nt(e) ? e : new jE(e, t);
}
class jE {
  constructor(t, r) {
    (this.__v_isShallow = r),
      (this.dep = void 0),
      (this.__v_isRef = !0),
      (this._rawValue = r ? t : Et(t)),
      (this._value = r ? t : Nl(t));
  }
  get value() {
    return s6(this), this._value;
  }
  set value(t) {
    const r = this.__v_isShallow || Rl(t) || Xs(t);
    (t = r ? t : Et(t)),
      Ja(t, this._rawValue) &&
        ((this._rawValue = t), (this._value = r ? t : Nl(t)), Kc(this));
  }
}
function YE(e) {
  Kc(e);
}
function pn(e) {
  return Nt(e) ? e.value : e;
}
function XE(e) {
  return gt(e) ? e() : pn(e);
}
const JE = {
  get: (e, t, r) => pn(Reflect.get(e, t, r)),
  set: (e, t, r, n) => {
    const A = e[t];
    return Nt(A) && !Nt(r) ? ((A.value = r), !0) : Reflect.set(e, t, r, n);
  },
};
function a6(e) {
  return jA(e) ? e : new Proxy(e, JE);
}
class qE {
  constructor(t) {
    (this.dep = void 0), (this.__v_isRef = !0);
    const { get: r, set: n } = t(
      () => s6(this),
      () => Kc(this),
    );
    (this._get = r), (this._set = n);
  }
  get value() {
    return this._get();
  }
  set value(t) {
    this._set(t);
  }
}
function o6(e) {
  return new qE(e);
}
function l6(e) {
  const t = ot(e) ? new Array(e.length) : {};
  for (const r in e) t[r] = o8(e, r);
  return t;
}
class ZE {
  constructor(t, r, n) {
    (this._object = t),
      (this._key = r),
      (this._defaultValue = n),
      (this.__v_isRef = !0);
  }
  get value() {
    const t = this._object[this._key];
    return t === void 0 ? this._defaultValue : t;
  }
  set value(t) {
    this._object[this._key] = t;
  }
  get dep() {
    return yE(Et(this._object), this._key);
  }
}
class eb {
  constructor(t) {
    (this._getter = t), (this.__v_isRef = !0), (this.__v_isReadonly = !0);
  }
  get value() {
    return this._getter();
  }
}
function a8(e, t, r) {
  return Nt(e)
    ? e
    : gt(e)
      ? new eb(e)
      : jt(e) && arguments.length > 1
        ? o8(e, t, r)
        : Ue(e);
}
function o8(e, t, r) {
  const n = e[t];
  return Nt(n) ? n : new ZE(e, t, r);
}
class tb {
  constructor(t, r, n, A) {
    (this._setter = r),
      (this.dep = void 0),
      (this.__v_isRef = !0),
      (this.__v_isReadonly = !1),
      (this._dirty = !0),
      (this.effect = new f0(t, () => {
        this._dirty || ((this._dirty = !0), Kc(this));
      })),
      (this.effect.computed = this),
      (this.effect.active = this._cacheable = !A),
      (this.__v_isReadonly = n);
  }
  get value() {
    const t = Et(this);
    return (
      s6(t),
      (t._dirty || !t._cacheable) &&
        ((t._dirty = !1), (t._value = t.effect.run())),
      t._value
    );
  }
  set value(t) {
    this._setter(t);
  }
}
function rb(e, t, r = !1) {
  let n, A;
  const i = gt(e);
  return (
    i ? ((n = e), (A = rA)) : ((n = e.get), (A = e.set)),
    new tb(n, A, i || !A, r)
  );
}
function nb(e, ...t) {}
function Ab(e, t) {}
function YA(e, t, r, n) {
  let A;
  try {
    A = n ? e(...n) : e();
  } catch (i) {
    na(i, t, r);
  }
  return A;
}
function Qn(e, t, r, n) {
  if (gt(e)) {
    const i = YA(e, t, r, n);
    return (
      i &&
        qh(i) &&
        i.catch((s) => {
          na(s, t, r);
        }),
      i
    );
  }
  const A = [];
  for (let i = 0; i < e.length; i++) A.push(Qn(e[i], t, r, n));
  return A;
}
function na(e, t, r, n = !0) {
  const A = t ? t.vnode : null;
  if (t) {
    let i = t.parent;
    const s = t.proxy,
      a = r;
    for (; i; ) {
      const l = i.ec;
      if (l) {
        for (let u = 0; u < l.length; u++) if (l[u](e, s, a) === !1) return;
      }
      i = i.parent;
    }
    const o = t.appContext.config.errorHandler;
    if (o) {
      YA(o, null, 10, [e, s, a]);
      return;
    }
  }
  ib(e, r, A, n);
}
function ib(e, t, r, n = !0) {
  console.error(e);
}
let $l = !1,
  d2 = !1;
const jr = [];
let wA = 0;
const Ga = [];
let VA = null,
  Ds = 0;
const l8 = Promise.resolve();
let u6 = null;
function yt(e) {
  const t = u6 || l8;
  return e ? t.then(this ? e.bind(this) : e) : t;
}
function sb(e) {
  let t = wA + 1,
    r = jr.length;
  for (; t < r; ) {
    const n = (t + r) >>> 1;
    Kl(jr[n]) < e ? (t = n + 1) : (r = n);
  }
  return t;
}
function Gc(e) {
  (!jr.length || !jr.includes(e, $l && e.allowRecurse ? wA + 1 : wA)) &&
    (e.id == null ? jr.push(e) : jr.splice(sb(e.id), 0, e), u8());
}
function u8() {
  !$l && !d2 && ((d2 = !0), (u6 = l8.then(c8)));
}
function ab(e) {
  const t = jr.indexOf(e);
  t > wA && jr.splice(t, 1);
}
function c6(e) {
  ot(e)
    ? Ga.push(...e)
    : (!VA || !VA.includes(e, e.allowRecurse ? Ds + 1 : Ds)) && Ga.push(e),
    u8();
}
function Z5(e, t = $l ? wA + 1 : 0) {
  for (; t < jr.length; t++) {
    const r = jr[t];
    r && r.pre && (jr.splice(t, 1), t--, r());
  }
}
function rc(e) {
  if (Ga.length) {
    const t = [...new Set(Ga)];
    if (((Ga.length = 0), VA)) {
      VA.push(...t);
      return;
    }
    for (VA = t, VA.sort((r, n) => Kl(r) - Kl(n)), Ds = 0; Ds < VA.length; Ds++)
      VA[Ds]();
    (VA = null), (Ds = 0);
  }
}
const Kl = (e) => (e.id == null ? 1 / 0 : e.id),
  ob = (e, t) => {
    const r = Kl(e) - Kl(t);
    if (r === 0) {
      if (e.pre && !t.pre) return -1;
      if (t.pre && !e.pre) return 1;
    }
    return r;
  };
function c8(e) {
  (d2 = !1), ($l = !0), jr.sort(ob);
  const t = rA;
  try {
    for (wA = 0; wA < jr.length; wA++) {
      const r = jr[wA];
      r && r.active !== !1 && YA(r, null, 14);
    }
  } finally {
    (wA = 0),
      (jr.length = 0),
      rc(),
      ($l = !1),
      (u6 = null),
      (jr.length || Ga.length) && c8();
  }
}
let Pa,
  W0 = [];
function f8(e, t) {
  var r, n;
  (Pa = e),
    Pa
      ? ((Pa.enabled = !0),
        W0.forEach(({ event: A, args: i }) => Pa.emit(A, ...i)),
        (W0 = []))
      : typeof window < "u" &&
          window.HTMLElement &&
          !(
            (n = (r = window.navigator) == null ? void 0 : r.userAgent) !=
              null && n.includes("jsdom")
          )
        ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ =
            t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((i) => {
            f8(i, t);
          }),
          setTimeout(() => {
            Pa || ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null), (W0 = []));
          }, 3e3))
        : (W0 = []);
}
function lb(e, t, ...r) {
  if (e.isUnmounted) return;
  const n = e.vnode.props || zt;
  let A = r;
  const i = t.startsWith("update:"),
    s = i && t.slice(7);
  if (s && s in n) {
    const u = `${s === "modelValue" ? "model" : s}Modifiers`,
      { number: f, trim: d } = n[u] || zt;
    d && (A = r.map((g) => (pr(g) ? g.trim() : g))), f && (A = r.map(aE));
  }
  let a,
    o = n[(a = wl(t))] || n[(a = wl(iA(t)))];
  !o && i && (o = n[(a = wl(Lc(t)))]), o && Qn(o, e, 6, A);
  const l = n[a + "Once"];
  if (l) {
    if (!e.emitted) e.emitted = {};
    else if (e.emitted[a]) return;
    (e.emitted[a] = !0), Qn(l, e, 6, A);
  }
}
function d8(e, t, r = !1) {
  const n = t.emitsCache,
    A = n.get(e);
  if (A !== void 0) return A;
  const i = e.emits;
  let s = {},
    a = !1;
  if (!gt(e)) {
    const o = (l) => {
      const u = d8(l, t, !0);
      u && ((a = !0), ar(s, u));
    };
    !r && t.mixins.length && t.mixins.forEach(o),
      e.extends && o(e.extends),
      e.mixins && e.mixins.forEach(o);
  }
  return !i && !a
    ? (jt(e) && n.set(e, null), null)
    : (ot(i) ? i.forEach((o) => (s[o] = null)) : ar(s, i),
      jt(e) && n.set(e, s),
      s);
}
function Wc(e, t) {
  return !e || !Pc(t)
    ? !1
    : ((t = t.slice(2).replace(/Once$/, "")),
      St(e, t[0].toLowerCase() + t.slice(1)) || St(e, Lc(t)) || St(e, t));
}
let Tr = null,
  zc = null;
function Vl(e) {
  const t = Tr;
  return (Tr = e), (zc = (e && e.type.__scopeId) || null), t;
}
function ub(e) {
  zc = e;
}
function cb() {
  zc = null;
}
const fb = (e) => f6;
function f6(e, t = Tr, r) {
  if (!t || e._n) return e;
  const n = (...A) => {
    n._d && w2(-1);
    const i = Vl(t);
    let s;
    try {
      s = e(...A);
    } finally {
      Vl(i), n._d && w2(1);
    }
    return s;
  };
  return (n._n = !0), (n._c = !0), (n._d = !0), n;
}
function Ru(e) {
  const {
    type: t,
    vnode: r,
    proxy: n,
    withProxy: A,
    props: i,
    propsOptions: [s],
    slots: a,
    attrs: o,
    emit: l,
    render: u,
    renderCache: f,
    data: d,
    setupState: g,
    ctx: v,
    inheritAttrs: B,
  } = e;
  let y, w;
  const m = Vl(e);
  try {
    if (r.shapeFlag & 4) {
      const C = A || n;
      (y = Sn(u.call(C, C, f, i, g, d, v))), (w = o);
    } else {
      const C = t;
      (y = Sn(
        C.length > 1 ? C(i, { attrs: o, slots: a, emit: l }) : C(i, null),
      )),
        (w = t.props ? o : hb(o));
    }
  } catch (C) {
    (El.length = 0), na(C, e, 1), (y = Z(Yr));
  }
  let x = y;
  if (w && B !== !1) {
    const C = Object.keys(w),
      { shapeFlag: b } = x;
    C.length && b & 7 && (s && C.some(N7) && (w = pb(w, s)), (x = xA(x, w)));
  }
  return (
    r.dirs && ((x = xA(x)), (x.dirs = x.dirs ? x.dirs.concat(r.dirs) : r.dirs)),
    r.transition && (x.transition = r.transition),
    (y = x),
    Vl(m),
    y
  );
}
function db(e) {
  let t;
  for (let r = 0; r < e.length; r++) {
    const n = e[r];
    if (ni(n)) {
      if (n.type !== Yr || n.children === "v-if") {
        if (t) return;
        t = n;
      }
    } else return;
  }
  return t;
}
const hb = (e) => {
    let t;
    for (const r in e)
      (r === "class" || r === "style" || Pc(r)) && ((t || (t = {}))[r] = e[r]);
    return t;
  },
  pb = (e, t) => {
    const r = {};
    for (const n in e) (!N7(n) || !(n.slice(9) in t)) && (r[n] = e[n]);
    return r;
  };
function gb(e, t, r) {
  const { props: n, children: A, component: i } = e,
    { props: s, children: a, patchFlag: o } = t,
    l = i.emitsOptions;
  if (t.dirs || t.transition) return !0;
  if (r && o >= 0) {
    if (o & 1024) return !0;
    if (o & 16) return n ? eg(n, s, l) : !!s;
    if (o & 8) {
      const u = t.dynamicProps;
      for (let f = 0; f < u.length; f++) {
        const d = u[f];
        if (s[d] !== n[d] && !Wc(l, d)) return !0;
      }
    }
  } else
    return (A || a) && (!a || !a.$stable)
      ? !0
      : n === s
        ? !1
        : n
          ? s
            ? eg(n, s, l)
            : !0
          : !!s;
  return !1;
}
function eg(e, t, r) {
  const n = Object.keys(t);
  if (n.length !== Object.keys(e).length) return !0;
  for (let A = 0; A < n.length; A++) {
    const i = n[A];
    if (t[i] !== e[i] && !Wc(r, i)) return !0;
  }
  return !1;
}
function d6({ vnode: e, parent: t }, r) {
  for (; t && t.subTree === e; ) ((e = t.vnode).el = r), (t = t.parent);
}
const h8 = (e) => e.__isSuspense,
  vb = {
    name: "Suspense",
    __isSuspense: !0,
    process(e, t, r, n, A, i, s, a, o, l) {
      e == null ? Bb(t, r, n, A, i, s, a, o, l) : wb(e, t, r, n, A, s, a, o, l);
    },
    hydrate: yb,
    create: h6,
    normalize: Cb,
  },
  mb = vb;
function Gl(e, t) {
  const r = e.props && e.props[t];
  gt(r) && r();
}
function Bb(e, t, r, n, A, i, s, a, o) {
  const {
      p: l,
      o: { createElement: u },
    } = o,
    f = u("div"),
    d = (e.suspense = h6(e, A, n, t, f, r, i, s, a, o));
  l(null, (d.pendingBranch = e.ssContent), f, null, n, d, i, s),
    d.deps > 0
      ? (Gl(e, "onPending"),
        Gl(e, "onFallback"),
        l(null, e.ssFallback, t, r, n, null, i, s),
        Wa(d, e.ssFallback))
      : d.resolve(!1, !0);
}
function wb(e, t, r, n, A, i, s, a, { p: o, um: l, o: { createElement: u } }) {
  const f = (t.suspense = e.suspense);
  (f.vnode = t), (t.el = e.el);
  const d = t.ssContent,
    g = t.ssFallback,
    { activeBranch: v, pendingBranch: B, isInFallback: y, isHydrating: w } = f;
  if (B)
    (f.pendingBranch = d),
      eA(d, B)
        ? (o(B, d, f.hiddenContainer, null, A, f, i, s, a),
          f.deps <= 0
            ? f.resolve()
            : y && (o(v, g, r, n, A, null, i, s, a), Wa(f, g)))
        : (f.pendingId++,
          w ? ((f.isHydrating = !1), (f.activeBranch = B)) : l(B, A, f),
          (f.deps = 0),
          (f.effects.length = 0),
          (f.hiddenContainer = u("div")),
          y
            ? (o(null, d, f.hiddenContainer, null, A, f, i, s, a),
              f.deps <= 0
                ? f.resolve()
                : (o(v, g, r, n, A, null, i, s, a), Wa(f, g)))
            : v && eA(d, v)
              ? (o(v, d, r, n, A, f, i, s, a), f.resolve(!0))
              : (o(null, d, f.hiddenContainer, null, A, f, i, s, a),
                f.deps <= 0 && f.resolve()));
  else if (v && eA(d, v)) o(v, d, r, n, A, f, i, s, a), Wa(f, d);
  else if (
    (Gl(t, "onPending"),
    (f.pendingBranch = d),
    f.pendingId++,
    o(null, d, f.hiddenContainer, null, A, f, i, s, a),
    f.deps <= 0)
  )
    f.resolve();
  else {
    const { timeout: m, pendingId: x } = f;
    m > 0
      ? setTimeout(() => {
          f.pendingId === x && f.fallback(g);
        }, m)
      : m === 0 && f.fallback(g);
  }
}
function h6(e, t, r, n, A, i, s, a, o, l, u = !1) {
  const {
    p: f,
    m: d,
    um: g,
    n: v,
    o: { parentNode: B, remove: y },
  } = l;
  let w;
  const m = xb(e);
  m && t != null && t.pendingBranch && ((w = t.pendingId), t.deps++);
  const x = e.props ? oE(e.props.timeout) : void 0,
    C = {
      vnode: e,
      parent: t,
      parentComponent: r,
      isSVG: s,
      container: n,
      hiddenContainer: A,
      anchor: i,
      deps: 0,
      pendingId: 0,
      timeout: typeof x == "number" ? x : -1,
      activeBranch: null,
      pendingBranch: null,
      isInFallback: !0,
      isHydrating: u,
      isUnmounted: !1,
      effects: [],
      resolve(b = !1, F = !1) {
        const {
          vnode: I,
          activeBranch: T,
          pendingBranch: D,
          pendingId: U,
          effects: Q,
          parentComponent: L,
          container: $,
        } = C;
        if (C.isHydrating) C.isHydrating = !1;
        else if (!b) {
          const G = T && D.transition && D.transition.mode === "out-in";
          G &&
            (T.transition.afterLeave = () => {
              U === C.pendingId && d(D, $, le, 0);
            });
          let { anchor: le } = C;
          T && ((le = v(T)), g(T, L, C, !0)), G || d(D, $, le, 0);
        }
        Wa(C, D), (C.pendingBranch = null), (C.isInFallback = !1);
        let X = C.parent,
          V = !1;
        for (; X; ) {
          if (X.pendingBranch) {
            X.effects.push(...Q), (V = !0);
            break;
          }
          X = X.parent;
        }
        V || c6(Q),
          (C.effects = []),
          m &&
            t &&
            t.pendingBranch &&
            w === t.pendingId &&
            (t.deps--, t.deps === 0 && !F && t.resolve()),
          Gl(I, "onResolve");
      },
      fallback(b) {
        if (!C.pendingBranch) return;
        const {
          vnode: F,
          activeBranch: I,
          parentComponent: T,
          container: D,
          isSVG: U,
        } = C;
        Gl(F, "onFallback");
        const Q = v(I),
          L = () => {
            C.isInFallback && (f(null, b, D, Q, T, null, U, a, o), Wa(C, b));
          },
          $ = b.transition && b.transition.mode === "out-in";
        $ && (I.transition.afterLeave = L),
          (C.isInFallback = !0),
          g(I, T, null, !0),
          $ || L();
      },
      move(b, F, I) {
        C.activeBranch && d(C.activeBranch, b, F, I), (C.container = b);
      },
      next() {
        return C.activeBranch && v(C.activeBranch);
      },
      registerDep(b, F) {
        const I = !!C.pendingBranch;
        I && C.deps++;
        const T = b.vnode.el;
        b.asyncDep
          .catch((D) => {
            na(D, b, 0);
          })
          .then((D) => {
            if (b.isUnmounted || C.isUnmounted || C.pendingId !== b.suspenseId)
              return;
            b.asyncResolved = !0;
            const { vnode: U } = b;
            y2(b, D, !1), T && (U.el = T);
            const Q = !T && b.subTree.el;
            F(b, U, B(T || b.subTree.el), T ? null : v(b.subTree), C, s, o),
              Q && y(Q),
              d6(b, U.el),
              I && --C.deps === 0 && C.resolve();
          });
      },
      unmount(b, F) {
        (C.isUnmounted = !0),
          C.activeBranch && g(C.activeBranch, r, b, F),
          C.pendingBranch && g(C.pendingBranch, r, b, F);
      },
    };
  return C;
}
function yb(e, t, r, n, A, i, s, a, o) {
  const l = (t.suspense = h6(
      t,
      n,
      r,
      e.parentNode,
      document.createElement("div"),
      null,
      A,
      i,
      s,
      a,
      !0,
    )),
    u = o(e, (l.pendingBranch = t.ssContent), r, l, i, s);
  return l.deps === 0 && l.resolve(!1, !0), u;
}
function Cb(e) {
  const { shapeFlag: t, children: r } = e,
    n = t & 32;
  (e.ssContent = tg(n ? r.default : r)),
    (e.ssFallback = n ? tg(r.fallback) : Z(Yr));
}
function tg(e) {
  let t;
  if (gt(e)) {
    const r = qs && e._c;
    r && ((e._d = !1), qc()), (e = e()), r && ((e._d = !0), (t = hn), $8());
  }
  return (
    ot(e) && (e = db(e)),
    (e = Sn(e)),
    t && !e.dynamicChildren && (e.dynamicChildren = t.filter((r) => r !== e)),
    e
  );
}
function p8(e, t) {
  t && t.pendingBranch
    ? ot(e)
      ? t.effects.push(...e)
      : t.effects.push(e)
    : c6(e);
}
function Wa(e, t) {
  e.activeBranch = t;
  const { vnode: r, parentComponent: n } = e,
    A = (r.el = t.el);
  n && n.subTree === r && ((n.vnode.el = A), d6(n, A));
}
function xb(e) {
  var t;
  return (
    ((t = e.props) == null ? void 0 : t.suspensible) != null &&
    e.props.suspensible !== !1
  );
}
function jc(e, t) {
  return h0(e, null, t);
}
function g8(e, t) {
  return h0(e, null, { flush: "post" });
}
function Eb(e, t) {
  return h0(e, null, { flush: "sync" });
}
const z0 = {};
function Ye(e, t, r) {
  return h0(e, t, r);
}
function h0(
  e,
  t,
  { immediate: r, deep: n, flush: A, onTrack: i, onTrigger: s } = zt,
) {
  var a;
  const o = c0() === ((a = fr) == null ? void 0 : a.scope) ? fr : null;
  let l,
    u = !1,
    f = !1;
  if (
    (Nt(e)
      ? ((l = () => e.value), (u = Rl(e)))
      : jA(e)
        ? ((l = () => e), (n = !0))
        : ot(e)
          ? ((f = !0),
            (u = e.some((C) => jA(C) || Rl(C))),
            (l = () =>
              e.map((C) => {
                if (Nt(C)) return C.value;
                if (jA(C)) return ks(C);
                if (gt(C)) return YA(C, o, 2);
              })))
          : gt(e)
            ? t
              ? (l = () => YA(e, o, 2))
              : (l = () => {
                  if (!(o && o.isUnmounted)) return d && d(), Qn(e, o, 3, [g]);
                })
            : (l = rA),
    t && n)
  ) {
    const C = l;
    l = () => ks(C());
  }
  let d,
    g = (C) => {
      d = m.onStop = () => {
        YA(C, o, 4);
      };
    },
    v;
  if (Za)
    if (
      ((g = rA),
      t ? r && Qn(t, o, 3, [l(), f ? [] : void 0, g]) : l(),
      A === "sync")
    ) {
      const C = q8();
      v = C.__watcherHandles || (C.__watcherHandles = []);
    } else return rA;
  let B = f ? new Array(e.length).fill(z0) : z0;
  const y = () => {
    if (m.active)
      if (t) {
        const C = m.run();
        (n || u || (f ? C.some((b, F) => Ja(b, B[F])) : Ja(C, B))) &&
          (d && d(),
          Qn(t, o, 3, [C, B === z0 ? void 0 : f && B[0] === z0 ? [] : B, g]),
          (B = C));
      } else m.run();
  };
  y.allowRecurse = !!t;
  let w;
  A === "sync"
    ? (w = y)
    : A === "post"
      ? (w = () => Mr(y, o && o.suspense))
      : ((y.pre = !0), o && (y.id = o.uid), (w = () => Gc(y)));
  const m = new f0(l, w);
  t
    ? r
      ? y()
      : (B = m.run())
    : A === "post"
      ? Mr(m.run.bind(m), o && o.suspense)
      : m.run();
  const x = () => {
    m.stop(), o && o.scope && Xh(o.scope.effects, m);
  };
  return v && v.push(x), x;
}
function bb(e, t, r) {
  const n = this.proxy,
    A = pr(e) ? (e.includes(".") ? v8(n, e) : () => n[e]) : e.bind(n, n);
  let i;
  gt(t) ? (i = t) : ((i = t.handler), (r = t));
  const s = fr;
  ns(this);
  const a = h0(A, i.bind(n), r);
  return s ? ns(s) : Xi(), a;
}
function v8(e, t) {
  const r = t.split(".");
  return () => {
    let n = e;
    for (let A = 0; A < r.length && n; A++) n = n[r[A]];
    return n;
  };
}
function ks(e, t) {
  if (!jt(e) || e.__v_skip || ((t = t || new Set()), t.has(e))) return e;
  if ((t.add(e), Nt(e))) ks(e.value, t);
  else if (ot(e)) for (let r = 0; r < e.length; r++) ks(e[r], t);
  else if ($7(e) || Va(e))
    e.forEach((r) => {
      ks(r, t);
    });
  else if (V7(e)) for (const r in e) ks(e[r], t);
  return e;
}
function ts(e, t) {
  const r = Tr;
  if (r === null) return e;
  const n = tf(r) || r.proxy,
    A = e.dirs || (e.dirs = []);
  for (let i = 0; i < t.length; i++) {
    let [s, a, o, l = zt] = t[i];
    s &&
      (gt(s) && (s = { mounted: s, updated: s }),
      s.deep && ks(a),
      A.push({
        dir: s,
        instance: n,
        value: a,
        oldValue: void 0,
        arg: o,
        modifiers: l,
      }));
  }
  return e;
}
function mA(e, t, r, n) {
  const A = e.dirs,
    i = t && t.dirs;
  for (let s = 0; s < A.length; s++) {
    const a = A[s];
    i && (a.oldValue = i[s].value);
    let o = a.dir[n];
    o && (wo(), Qn(o, r, 8, [e.el, a, e, t]), yo());
  }
}
function p6() {
  const e = {
    isMounted: !1,
    isLeaving: !1,
    isUnmounting: !1,
    leavingVNodes: new Map(),
  };
  return (
    Zt(() => {
      e.isMounted = !0;
    }),
    Tn(() => {
      e.isUnmounting = !0;
    }),
    e
  );
}
const kn = [Function, Array],
  g6 = {
    mode: String,
    appear: Boolean,
    persisted: Boolean,
    onBeforeEnter: kn,
    onEnter: kn,
    onAfterEnter: kn,
    onEnterCancelled: kn,
    onBeforeLeave: kn,
    onLeave: kn,
    onAfterLeave: kn,
    onLeaveCancelled: kn,
    onBeforeAppear: kn,
    onAppear: kn,
    onAfterAppear: kn,
    onAppearCancelled: kn,
  },
  Fb = {
    name: "BaseTransition",
    props: g6,
    setup(e, { slots: t }) {
      const r = Wt(),
        n = p6();
      let A;
      return () => {
        const i = t.default && Yc(t.default(), !0);
        if (!i || !i.length) return;
        let s = i[0];
        if (i.length > 1) {
          for (const B of i)
            if (B.type !== Yr) {
              s = B;
              break;
            }
        }
        const a = Et(e),
          { mode: o } = a;
        if (n.isLeaving) return u1(s);
        const l = rg(s);
        if (!l) return u1(s);
        const u = qa(l, a, n, r);
        Js(l, u);
        const f = r.subTree,
          d = f && rg(f);
        let g = !1;
        const { getTransitionKey: v } = l.type;
        if (v) {
          const B = v();
          A === void 0 ? (A = B) : B !== A && ((A = B), (g = !0));
        }
        if (d && d.type !== Yr && (!eA(l, d) || g)) {
          const B = qa(d, a, n, r);
          if ((Js(d, B), o === "out-in"))
            return (
              (n.isLeaving = !0),
              (B.afterLeave = () => {
                (n.isLeaving = !1), r.update.active !== !1 && r.update();
              }),
              u1(s)
            );
          o === "in-out" &&
            l.type !== Yr &&
            (B.delayLeave = (y, w, m) => {
              const x = B8(n, d);
              (x[String(d.key)] = d),
                (y._leaveCb = () => {
                  w(), (y._leaveCb = void 0), delete u.delayedLeave;
                }),
                (u.delayedLeave = m);
            });
        }
        return s;
      };
    },
  },
  m8 = Fb;
function B8(e, t) {
  const { leavingVNodes: r } = e;
  let n = r.get(t.type);
  return n || ((n = Object.create(null)), r.set(t.type, n)), n;
}
function qa(e, t, r, n) {
  const {
      appear: A,
      mode: i,
      persisted: s = !1,
      onBeforeEnter: a,
      onEnter: o,
      onAfterEnter: l,
      onEnterCancelled: u,
      onBeforeLeave: f,
      onLeave: d,
      onAfterLeave: g,
      onLeaveCancelled: v,
      onBeforeAppear: B,
      onAppear: y,
      onAfterAppear: w,
      onAppearCancelled: m,
    } = t,
    x = String(e.key),
    C = B8(r, e),
    b = (T, D) => {
      T && Qn(T, n, 9, D);
    },
    F = (T, D) => {
      const U = D[1];
      b(T, D),
        ot(T) ? T.every((Q) => Q.length <= 1) && U() : T.length <= 1 && U();
    },
    I = {
      mode: i,
      persisted: s,
      beforeEnter(T) {
        let D = a;
        if (!r.isMounted)
          if (A) D = B || a;
          else return;
        T._leaveCb && T._leaveCb(!0);
        const U = C[x];
        U && eA(e, U) && U.el._leaveCb && U.el._leaveCb(), b(D, [T]);
      },
      enter(T) {
        let D = o,
          U = l,
          Q = u;
        if (!r.isMounted)
          if (A) (D = y || o), (U = w || l), (Q = m || u);
          else return;
        let L = !1;
        const $ = (T._enterCb = (X) => {
          L ||
            ((L = !0),
            X ? b(Q, [T]) : b(U, [T]),
            I.delayedLeave && I.delayedLeave(),
            (T._enterCb = void 0));
        });
        D ? F(D, [T, $]) : $();
      },
      leave(T, D) {
        const U = String(e.key);
        if ((T._enterCb && T._enterCb(!0), r.isUnmounting)) return D();
        b(f, [T]);
        let Q = !1;
        const L = (T._leaveCb = ($) => {
          Q ||
            ((Q = !0),
            D(),
            $ ? b(v, [T]) : b(g, [T]),
            (T._leaveCb = void 0),
            C[U] === e && delete C[U]);
        });
        (C[U] = e), d ? F(d, [T, L]) : L();
      },
      clone(T) {
        return qa(T, t, r, n);
      },
    };
  return I;
}
function u1(e) {
  if (p0(e)) return (e = xA(e)), (e.children = null), e;
}
function rg(e) {
  return p0(e) ? (e.children ? e.children[0] : void 0) : e;
}
function Js(e, t) {
  e.shapeFlag & 6 && e.component
    ? Js(e.component.subTree, t)
    : e.shapeFlag & 128
      ? ((e.ssContent.transition = t.clone(e.ssContent)),
        (e.ssFallback.transition = t.clone(e.ssFallback)))
      : (e.transition = t);
}
function Yc(e, t = !1, r) {
  let n = [],
    A = 0;
  for (let i = 0; i < e.length; i++) {
    let s = e[i];
    const a = r == null ? s.key : String(r) + String(s.key != null ? s.key : i);
    s.type === Ar
      ? (s.patchFlag & 128 && A++, (n = n.concat(Yc(s.children, t, a))))
      : (t || s.type !== Yr) && n.push(a != null ? xA(s, { key: a }) : s);
  }
  if (A > 1) for (let i = 0; i < n.length; i++) n[i].patchFlag = -2;
  return n;
}
function et(e, t) {
  return gt(e) ? (() => ar({ name: e.name }, t, { setup: e }))() : e;
}
const Ks = (e) => !!e.type.__asyncLoader;
function _b(e) {
  gt(e) && (e = { loader: e });
  const {
    loader: t,
    loadingComponent: r,
    errorComponent: n,
    delay: A = 200,
    timeout: i,
    suspensible: s = !0,
    onError: a,
  } = e;
  let o = null,
    l,
    u = 0;
  const f = () => (u++, (o = null), d()),
    d = () => {
      let g;
      return (
        o ||
        (g = o =
          t()
            .catch((v) => {
              if (((v = v instanceof Error ? v : new Error(String(v))), a))
                return new Promise((B, y) => {
                  a(
                    v,
                    () => B(f()),
                    () => y(v),
                    u + 1,
                  );
                });
              throw v;
            })
            .then((v) =>
              g !== o && o
                ? o
                : (v &&
                    (v.__esModule || v[Symbol.toStringTag] === "Module") &&
                    (v = v.default),
                  (l = v),
                  v),
            ))
      );
    };
  return et({
    name: "AsyncComponentWrapper",
    __asyncLoader: d,
    get __asyncResolved() {
      return l;
    },
    setup() {
      const g = fr;
      if (l) return () => c1(l, g);
      const v = (m) => {
        (o = null), na(m, g, 13, !n);
      };
      if ((s && g.suspense) || Za)
        return d()
          .then((m) => () => c1(m, g))
          .catch((m) => (v(m), () => (n ? Z(n, { error: m }) : null)));
      const B = Ue(!1),
        y = Ue(),
        w = Ue(!!A);
      return (
        A &&
          setTimeout(() => {
            w.value = !1;
          }, A),
        i != null &&
          setTimeout(() => {
            if (!B.value && !y.value) {
              const m = new Error(`Async component timed out after ${i}ms.`);
              v(m), (y.value = m);
            }
          }, i),
        d()
          .then(() => {
            (B.value = !0),
              g.parent && p0(g.parent.vnode) && Gc(g.parent.update);
          })
          .catch((m) => {
            v(m), (y.value = m);
          }),
        () => {
          if (B.value && l) return c1(l, g);
          if (y.value && n) return Z(n, { error: y.value });
          if (r && !w.value) return Z(r);
        }
      );
    },
  });
}
function c1(e, t) {
  const { ref: r, props: n, children: A, ce: i } = t.vnode,
    s = Z(e, n, A);
  return (s.ref = r), (s.ce = i), delete t.vnode.ce, s;
}
const p0 = (e) => e.type.__isKeepAlive,
  Sb = {
    name: "KeepAlive",
    __isKeepAlive: !0,
    props: {
      include: [String, RegExp, Array],
      exclude: [String, RegExp, Array],
      max: [String, Number],
    },
    setup(e, { slots: t }) {
      const r = Wt(),
        n = r.ctx;
      if (!n.renderer)
        return () => {
          const m = t.default && t.default();
          return m && m.length === 1 ? m[0] : m;
        };
      const A = new Map(),
        i = new Set();
      let s = null;
      const a = r.suspense,
        {
          renderer: {
            p: o,
            m: l,
            um: u,
            o: { createElement: f },
          },
        } = n,
        d = f("div");
      (n.activate = (m, x, C, b, F) => {
        const I = m.component;
        l(m, x, C, 0, a),
          o(I.vnode, m, x, C, I, a, b, m.slotScopeIds, F),
          Mr(() => {
            (I.isDeactivated = !1), I.a && yl(I.a);
            const T = m.props && m.props.onVnodeMounted;
            T && cn(T, I.parent, m);
          }, a);
      }),
        (n.deactivate = (m) => {
          const x = m.component;
          l(m, d, null, 1, a),
            Mr(() => {
              x.da && yl(x.da);
              const C = m.props && m.props.onVnodeUnmounted;
              C && cn(C, x.parent, m), (x.isDeactivated = !0);
            }, a);
        });
      function g(m) {
        f1(m), u(m, r, a, !0);
      }
      function v(m) {
        A.forEach((x, C) => {
          const b = x2(x.type);
          b && (!m || !m(b)) && B(C);
        });
      }
      function B(m) {
        const x = A.get(m);
        !s || !eA(x, s) ? g(x) : s && f1(s), A.delete(m), i.delete(m);
      }
      Ye(
        () => [e.include, e.exclude],
        ([m, x]) => {
          m && v((C) => ul(m, C)), x && v((C) => !ul(x, C));
        },
        { flush: "post", deep: !0 },
      );
      let y = null;
      const w = () => {
        y != null && A.set(y, d1(r.subTree));
      };
      return (
        Zt(w),
        Aa(w),
        Tn(() => {
          A.forEach((m) => {
            const { subTree: x, suspense: C } = r,
              b = d1(x);
            if (m.type === b.type && m.key === b.key) {
              f1(b);
              const F = b.component.da;
              F && Mr(F, C);
              return;
            }
            g(m);
          });
        }),
        () => {
          if (((y = null), !t.default)) return null;
          const m = t.default(),
            x = m[0];
          if (m.length > 1) return (s = null), m;
          if (!ni(x) || (!(x.shapeFlag & 4) && !(x.shapeFlag & 128)))
            return (s = null), x;
          let C = d1(x);
          const b = C.type,
            F = x2(Ks(C) ? C.type.__asyncResolved || {} : b),
            { include: I, exclude: T, max: D } = e;
          if ((I && (!F || !ul(I, F))) || (T && F && ul(T, F)))
            return (s = C), x;
          const U = C.key == null ? b : C.key,
            Q = A.get(U);
          return (
            C.el && ((C = xA(C)), x.shapeFlag & 128 && (x.ssContent = C)),
            (y = U),
            Q
              ? ((C.el = Q.el),
                (C.component = Q.component),
                C.transition && Js(C, C.transition),
                (C.shapeFlag |= 512),
                i.delete(U),
                i.add(U))
              : (i.add(U),
                D && i.size > parseInt(D, 10) && B(i.values().next().value)),
            (C.shapeFlag |= 256),
            (s = C),
            h8(x.type) ? x : C
          );
        }
      );
    },
  },
  Qb = Sb;
function ul(e, t) {
  return ot(e)
    ? e.some((r) => ul(r, t))
    : pr(e)
      ? e.split(",").includes(t)
      : nE(e)
        ? e.test(t)
        : !1;
}
function cs(e, t) {
  w8(e, "a", t);
}
function li(e, t) {
  w8(e, "da", t);
}
function w8(e, t, r = fr) {
  const n =
    e.__wdc ||
    (e.__wdc = () => {
      let A = r;
      for (; A; ) {
        if (A.isDeactivated) return;
        A = A.parent;
      }
      return e();
    });
  if ((Xc(t, n, r), r)) {
    let A = r.parent;
    for (; A && A.parent; )
      p0(A.parent.vnode) && Ub(n, t, r, A), (A = A.parent);
  }
}
function Ub(e, t, r, n) {
  const A = Xc(t, e, n, !0);
  ci(() => {
    Xh(n[t], A);
  }, r);
}
function f1(e) {
  (e.shapeFlag &= -257), (e.shapeFlag &= -513);
}
function d1(e) {
  return e.shapeFlag & 128 ? e.ssContent : e;
}
function Xc(e, t, r = fr, n = !1) {
  if (r) {
    const A = r[e] || (r[e] = []),
      i =
        t.__weh ||
        (t.__weh = (...s) => {
          if (r.isUnmounted) return;
          wo(), ns(r);
          const a = Qn(t, r, e, s);
          return Xi(), yo(), a;
        });
    return n ? A.unshift(i) : A.push(i), i;
  }
}
const ui =
    (e) =>
    (t, r = fr) =>
      (!Za || e === "sp") && Xc(e, (...n) => t(...n), r),
  v6 = ui("bm"),
  Zt = ui("m"),
  Jc = ui("bu"),
  Aa = ui("u"),
  Tn = ui("bum"),
  ci = ui("um"),
  y8 = ui("sp"),
  C8 = ui("rtg"),
  x8 = ui("rtc");
function E8(e, t = fr) {
  Xc("ec", e, t);
}
const m6 = "components",
  Tb = "directives";
function Ib(e, t) {
  return B6(m6, e, !0, t) || e;
}
const b8 = Symbol.for("v-ndc");
function Db(e) {
  return pr(e) ? B6(m6, e, !1) || e : e || b8;
}
function F8(e) {
  return B6(Tb, e);
}
function B6(e, t, r = !0, n = !1) {
  const A = Tr || fr;
  if (A) {
    const i = A.type;
    if (e === m6) {
      const a = x2(i, !1);
      if (a && (a === t || a === iA(t) || a === kc(iA(t)))) return i;
    }
    const s = ng(A[e] || i[e], t) || ng(A.appContext[e], t);
    return !s && n ? i : s;
  }
}
function ng(e, t) {
  return e && (e[t] || e[iA(t)] || e[kc(iA(t))]);
}
function Pb(e, t, r, n) {
  let A;
  const i = r && r[n];
  if (ot(e) || pr(e)) {
    A = new Array(e.length);
    for (let s = 0, a = e.length; s < a; s++)
      A[s] = t(e[s], s, void 0, i && i[s]);
  } else if (typeof e == "number") {
    A = new Array(e);
    for (let s = 0; s < e; s++) A[s] = t(s + 1, s, void 0, i && i[s]);
  } else if (jt(e))
    if (e[Symbol.iterator])
      A = Array.from(e, (s, a) => t(s, a, void 0, i && i[a]));
    else {
      const s = Object.keys(e);
      A = new Array(s.length);
      for (let a = 0, o = s.length; a < o; a++) {
        const l = s[a];
        A[a] = t(e[l], l, a, i && i[a]);
      }
    }
  else A = [];
  return r && (r[n] = A), A;
}
function Ob(e, t) {
  for (let r = 0; r < t.length; r++) {
    const n = t[r];
    if (ot(n)) for (let A = 0; A < n.length; A++) e[n[A].name] = n[A].fn;
    else
      n &&
        (e[n.name] = n.key
          ? (...A) => {
              const i = n.fn(...A);
              return i && (i.key = n.key), i;
            }
          : n.fn);
  }
  return e;
}
function Lb(e, t, r = {}, n, A) {
  if (Tr.isCE || (Tr.parent && Ks(Tr.parent) && Tr.parent.isCE))
    return t !== "default" && (r.name = t), Z("slot", r, n && n());
  let i = e[t];
  i && i._c && (i._d = !1), qc();
  const s = i && _8(i(r)),
    a = x6(
      Ar,
      { key: r.key || (s && s.key) || `_${t}` },
      s || (n ? n() : []),
      s && e._ === 1 ? 64 : -2,
    );
  return (
    !A && a.scopeId && (a.slotScopeIds = [a.scopeId + "-s"]),
    i && i._c && (i._d = !0),
    a
  );
}
function _8(e) {
  return e.some((t) =>
    ni(t) ? !(t.type === Yr || (t.type === Ar && !_8(t.children))) : !0,
  )
    ? e
    : null;
}
function kb(e, t) {
  const r = {};
  for (const n in e) r[t && /[A-Z]/.test(n) ? `on:${n}` : wl(n)] = e[n];
  return r;
}
const h2 = (e) => (e ? (z8(e) ? tf(e) || e.proxy : h2(e.parent)) : null),
  Cl = ar(Object.create(null), {
    $: (e) => e,
    $el: (e) => e.vnode.el,
    $data: (e) => e.data,
    $props: (e) => e.props,
    $attrs: (e) => e.attrs,
    $slots: (e) => e.slots,
    $refs: (e) => e.refs,
    $parent: (e) => h2(e.parent),
    $root: (e) => h2(e.root),
    $emit: (e) => e.emit,
    $options: (e) => w6(e),
    $forceUpdate: (e) => e.f || (e.f = () => Gc(e.update)),
    $nextTick: (e) => e.n || (e.n = yt.bind(e.proxy)),
    $watch: (e) => bb.bind(e),
  }),
  h1 = (e, t) => e !== zt && !e.__isScriptSetup && St(e, t),
  p2 = {
    get({ _: e }, t) {
      const {
        ctx: r,
        setupState: n,
        data: A,
        props: i,
        accessCache: s,
        type: a,
        appContext: o,
      } = e;
      let l;
      if (t[0] !== "$") {
        const g = s[t];
        if (g !== void 0)
          switch (g) {
            case 1:
              return n[t];
            case 2:
              return A[t];
            case 4:
              return r[t];
            case 3:
              return i[t];
          }
        else {
          if (h1(n, t)) return (s[t] = 1), n[t];
          if (A !== zt && St(A, t)) return (s[t] = 2), A[t];
          if ((l = e.propsOptions[0]) && St(l, t)) return (s[t] = 3), i[t];
          if (r !== zt && St(r, t)) return (s[t] = 4), r[t];
          g2 && (s[t] = 0);
        }
      }
      const u = Cl[t];
      let f, d;
      if (u) return t === "$attrs" && vn(e, "get", t), u(e);
      if ((f = a.__cssModules) && (f = f[t])) return f;
      if (r !== zt && St(r, t)) return (s[t] = 4), r[t];
      if (((d = o.config.globalProperties), St(d, t))) return d[t];
    },
    set({ _: e }, t, r) {
      const { data: n, setupState: A, ctx: i } = e;
      return h1(A, t)
        ? ((A[t] = r), !0)
        : n !== zt && St(n, t)
          ? ((n[t] = r), !0)
          : St(e.props, t) || (t[0] === "$" && t.slice(1) in e)
            ? !1
            : ((i[t] = r), !0);
    },
    has(
      {
        _: {
          data: e,
          setupState: t,
          accessCache: r,
          ctx: n,
          appContext: A,
          propsOptions: i,
        },
      },
      s,
    ) {
      let a;
      return (
        !!r[s] ||
        (e !== zt && St(e, s)) ||
        h1(t, s) ||
        ((a = i[0]) && St(a, s)) ||
        St(n, s) ||
        St(Cl, s) ||
        St(A.config.globalProperties, s)
      );
    },
    defineProperty(e, t, r) {
      return (
        r.get != null
          ? (e._.accessCache[t] = 0)
          : St(r, "value") && this.set(e, t, r.value, null),
        Reflect.defineProperty(e, t, r)
      );
    },
  },
  Hb = ar({}, p2, {
    get(e, t) {
      if (t !== Symbol.unscopables) return p2.get(e, t, e);
    },
    has(e, t) {
      return t[0] !== "_" && !uE(t);
    },
  });
function Mb() {
  return null;
}
function Rb() {
  return null;
}
function Nb(e) {}
function $b(e) {}
function Kb() {
  return null;
}
function Vb() {}
function Gb(e, t) {
  return null;
}
function Wb() {
  return S8().slots;
}
function zb() {
  return S8().attrs;
}
function jb(e, t, r) {
  const n = Wt();
  if (r && r.local) {
    const A = Ue(e[t]);
    return (
      Ye(
        () => e[t],
        (i) => (A.value = i),
      ),
      Ye(A, (i) => {
        i !== e[t] && n.emit(`update:${t}`, i);
      }),
      A
    );
  } else
    return {
      __v_isRef: !0,
      get value() {
        return e[t];
      },
      set value(A) {
        n.emit(`update:${t}`, A);
      },
    };
}
function S8() {
  const e = Wt();
  return e.setupContext || (e.setupContext = X8(e));
}
function Wl(e) {
  return ot(e) ? e.reduce((t, r) => ((t[r] = null), t), {}) : e;
}
function Yb(e, t) {
  const r = Wl(e);
  for (const n in t) {
    if (n.startsWith("__skip")) continue;
    let A = r[n];
    A
      ? ot(A) || gt(A)
        ? (A = r[n] = { type: A, default: t[n] })
        : (A.default = t[n])
      : A === null && (A = r[n] = { default: t[n] }),
      A && t[`__skip_${n}`] && (A.skipFactory = !0);
  }
  return r;
}
function Xb(e, t) {
  return !e || !t
    ? e || t
    : ot(e) && ot(t)
      ? e.concat(t)
      : ar({}, Wl(e), Wl(t));
}
function Jb(e, t) {
  const r = {};
  for (const n in e)
    t.includes(n) ||
      Object.defineProperty(r, n, { enumerable: !0, get: () => e[n] });
  return r;
}
function qb(e) {
  const t = Wt();
  let r = e();
  return (
    Xi(),
    qh(r) &&
      (r = r.catch((n) => {
        throw (ns(t), n);
      })),
    [r, () => ns(t)]
  );
}
let g2 = !0;
function Zb(e) {
  const t = w6(e),
    r = e.proxy,
    n = e.ctx;
  (g2 = !1), t.beforeCreate && Ag(t.beforeCreate, e, "bc");
  const {
    data: A,
    computed: i,
    methods: s,
    watch: a,
    provide: o,
    inject: l,
    created: u,
    beforeMount: f,
    mounted: d,
    beforeUpdate: g,
    updated: v,
    activated: B,
    deactivated: y,
    beforeDestroy: w,
    beforeUnmount: m,
    destroyed: x,
    unmounted: C,
    render: b,
    renderTracked: F,
    renderTriggered: I,
    errorCaptured: T,
    serverPrefetch: D,
    expose: U,
    inheritAttrs: Q,
    components: L,
    directives: $,
    filters: X,
  } = t;
  if ((l && eF(l, n, null), s))
    for (const le in s) {
      const q = s[le];
      gt(q) && (n[le] = q.bind(r));
    }
  if (A) {
    const le = A.call(r, r);
    jt(le) && (e.data = Rt(le));
  }
  if (((g2 = !0), i))
    for (const le in i) {
      const q = i[le],
        ue = gt(q) ? q.bind(r, r) : gt(q.get) ? q.get.bind(r, r) : rA,
        Ce = !gt(q) && gt(q.set) ? q.set.bind(r) : rA,
        ee = Oe({ get: ue, set: Ce });
      Object.defineProperty(n, le, {
        enumerable: !0,
        configurable: !0,
        get: () => ee.value,
        set: (ce) => (ee.value = ce),
      });
    }
  if (a) for (const le in a) Q8(a[le], n, r, le);
  if (o) {
    const le = gt(o) ? o.call(r) : o;
    Reflect.ownKeys(le).forEach((q) => {
      nA(q, le[q]);
    });
  }
  u && Ag(u, e, "c");
  function G(le, q) {
    ot(q) ? q.forEach((ue) => le(ue.bind(r))) : q && le(q.bind(r));
  }
  if (
    (G(v6, f),
    G(Zt, d),
    G(Jc, g),
    G(Aa, v),
    G(cs, B),
    G(li, y),
    G(E8, T),
    G(x8, F),
    G(C8, I),
    G(Tn, m),
    G(ci, C),
    G(y8, D),
    ot(U))
  )
    if (U.length) {
      const le = e.exposed || (e.exposed = {});
      U.forEach((q) => {
        Object.defineProperty(le, q, {
          get: () => r[q],
          set: (ue) => (r[q] = ue),
        });
      });
    } else e.exposed || (e.exposed = {});
  b && e.render === rA && (e.render = b),
    Q != null && (e.inheritAttrs = Q),
    L && (e.components = L),
    $ && (e.directives = $);
}
function eF(e, t, r = rA) {
  ot(e) && (e = v2(e));
  for (const n in e) {
    const A = e[n];
    let i;
    jt(A)
      ? "default" in A
        ? (i = dr(A.from || n, A.default, !0))
        : (i = dr(A.from || n))
      : (i = dr(A)),
      Nt(i)
        ? Object.defineProperty(t, n, {
            enumerable: !0,
            configurable: !0,
            get: () => i.value,
            set: (s) => (i.value = s),
          })
        : (t[n] = i);
  }
}
function Ag(e, t, r) {
  Qn(ot(e) ? e.map((n) => n.bind(t.proxy)) : e.bind(t.proxy), t, r);
}
function Q8(e, t, r, n) {
  const A = n.includes(".") ? v8(r, n) : () => r[n];
  if (pr(e)) {
    const i = t[e];
    gt(i) && Ye(A, i);
  } else if (gt(e)) Ye(A, e.bind(r));
  else if (jt(e))
    if (ot(e)) e.forEach((i) => Q8(i, t, r, n));
    else {
      const i = gt(e.handler) ? e.handler.bind(r) : t[e.handler];
      gt(i) && Ye(A, i, e);
    }
}
function w6(e) {
  const t = e.type,
    { mixins: r, extends: n } = t,
    {
      mixins: A,
      optionsCache: i,
      config: { optionMergeStrategies: s },
    } = e.appContext,
    a = i.get(t);
  let o;
  return (
    a
      ? (o = a)
      : !A.length && !r && !n
        ? (o = t)
        : ((o = {}),
          A.length && A.forEach((l) => nc(o, l, s, !0)),
          nc(o, t, s)),
    jt(t) && i.set(t, o),
    o
  );
}
function nc(e, t, r, n = !1) {
  const { mixins: A, extends: i } = t;
  i && nc(e, i, r, !0), A && A.forEach((s) => nc(e, s, r, !0));
  for (const s in t)
    if (!(n && s === "expose")) {
      const a = tF[s] || (r && r[s]);
      e[s] = a ? a(e[s], t[s]) : t[s];
    }
  return e;
}
const tF = {
  data: ig,
  props: sg,
  emits: sg,
  methods: cl,
  computed: cl,
  beforeCreate: qr,
  created: qr,
  beforeMount: qr,
  mounted: qr,
  beforeUpdate: qr,
  updated: qr,
  beforeDestroy: qr,
  beforeUnmount: qr,
  destroyed: qr,
  unmounted: qr,
  activated: qr,
  deactivated: qr,
  errorCaptured: qr,
  serverPrefetch: qr,
  components: cl,
  directives: cl,
  watch: nF,
  provide: ig,
  inject: rF,
};
function ig(e, t) {
  return t
    ? e
      ? function () {
          return ar(
            gt(e) ? e.call(this, this) : e,
            gt(t) ? t.call(this, this) : t,
          );
        }
      : t
    : e;
}
function rF(e, t) {
  return cl(v2(e), v2(t));
}
function v2(e) {
  if (ot(e)) {
    const t = {};
    for (let r = 0; r < e.length; r++) t[e[r]] = e[r];
    return t;
  }
  return e;
}
function qr(e, t) {
  return e ? [...new Set([].concat(e, t))] : t;
}
function cl(e, t) {
  return e ? ar(Object.create(null), e, t) : t;
}
function sg(e, t) {
  return e
    ? ot(e) && ot(t)
      ? [...new Set([...e, ...t])]
      : ar(Object.create(null), Wl(e), Wl(t ?? {}))
    : t;
}
function nF(e, t) {
  if (!e) return t;
  if (!t) return e;
  const r = ar(Object.create(null), e);
  for (const n in t) r[n] = qr(e[n], t[n]);
  return r;
}
function U8() {
  return {
    app: null,
    config: {
      isNativeTag: eE,
      performance: !1,
      globalProperties: {},
      optionMergeStrategies: {},
      errorHandler: void 0,
      warnHandler: void 0,
      compilerOptions: {},
    },
    mixins: [],
    components: {},
    directives: {},
    provides: Object.create(null),
    optionsCache: new WeakMap(),
    propsCache: new WeakMap(),
    emitsCache: new WeakMap(),
  };
}
let AF = 0;
function iF(e, t) {
  return function (n, A = null) {
    gt(n) || (n = ar({}, n)), A != null && !jt(A) && (A = null);
    const i = U8(),
      s = new Set();
    let a = !1;
    const o = (i.app = {
      _uid: AF++,
      _component: n,
      _props: A,
      _container: null,
      _context: i,
      _instance: null,
      version: e3,
      get config() {
        return i.config;
      },
      set config(l) {},
      use(l, ...u) {
        return (
          s.has(l) ||
            (l && gt(l.install)
              ? (s.add(l), l.install(o, ...u))
              : gt(l) && (s.add(l), l(o, ...u))),
          o
        );
      },
      mixin(l) {
        return i.mixins.includes(l) || i.mixins.push(l), o;
      },
      component(l, u) {
        return u ? ((i.components[l] = u), o) : i.components[l];
      },
      directive(l, u) {
        return u ? ((i.directives[l] = u), o) : i.directives[l];
      },
      mount(l, u, f) {
        if (!a) {
          const d = Z(n, A);
          return (
            (d.appContext = i),
            u && t ? t(d, l) : e(d, l, f),
            (a = !0),
            (o._container = l),
            (l.__vue_app__ = o),
            tf(d.component) || d.component.proxy
          );
        }
      },
      unmount() {
        a && (e(null, o._container), delete o._container.__vue_app__);
      },
      provide(l, u) {
        return (i.provides[l] = u), o;
      },
      runWithContext(l) {
        zl = o;
        try {
          return l();
        } finally {
          zl = null;
        }
      },
    });
    return o;
  };
}
let zl = null;
function nA(e, t) {
  if (fr) {
    let r = fr.provides;
    const n = fr.parent && fr.parent.provides;
    n === r && (r = fr.provides = Object.create(n)), (r[e] = t);
  }
}
function dr(e, t, r = !1) {
  const n = fr || Tr;
  if (n || zl) {
    const A = n
      ? n.parent == null
        ? n.vnode.appContext && n.vnode.appContext.provides
        : n.parent.provides
      : zl._context.provides;
    if (A && e in A) return A[e];
    if (arguments.length > 1) return r && gt(t) ? t.call(n && n.proxy) : t;
  }
}
function T8() {
  return !!(fr || Tr || zl);
}
function sF(e, t, r, n = !1) {
  const A = {},
    i = {};
  ec(i, Zc, 1), (e.propsDefaults = Object.create(null)), I8(e, t, A, i);
  for (const s in e.propsOptions[0]) s in A || (A[s] = void 0);
  r ? (e.props = n ? A : i8(A)) : e.type.props ? (e.props = A) : (e.props = i),
    (e.attrs = i);
}
function aF(e, t, r, n) {
  const {
      props: A,
      attrs: i,
      vnode: { patchFlag: s },
    } = e,
    a = Et(A),
    [o] = e.propsOptions;
  let l = !1;
  if ((n || s > 0) && !(s & 16)) {
    if (s & 8) {
      const u = e.vnode.dynamicProps;
      for (let f = 0; f < u.length; f++) {
        let d = u[f];
        if (Wc(e.emitsOptions, d)) continue;
        const g = t[d];
        if (o)
          if (St(i, d)) g !== i[d] && ((i[d] = g), (l = !0));
          else {
            const v = iA(d);
            A[v] = m2(o, a, v, g, e, !1);
          }
        else g !== i[d] && ((i[d] = g), (l = !0));
      }
    }
  } else {
    I8(e, t, A, i) && (l = !0);
    let u;
    for (const f in a)
      (!t || (!St(t, f) && ((u = Lc(f)) === f || !St(t, u)))) &&
        (o
          ? r &&
            (r[f] !== void 0 || r[u] !== void 0) &&
            (A[f] = m2(o, a, f, void 0, e, !0))
          : delete A[f]);
    if (i !== a)
      for (const f in i) (!t || !St(t, f)) && (delete i[f], (l = !0));
  }
  l && ri(e, "set", "$attrs");
}
function I8(e, t, r, n) {
  const [A, i] = e.propsOptions;
  let s = !1,
    a;
  if (t)
    for (let o in t) {
      if (Bl(o)) continue;
      const l = t[o];
      let u;
      A && St(A, (u = iA(o)))
        ? !i || !i.includes(u)
          ? (r[u] = l)
          : ((a || (a = {}))[u] = l)
        : Wc(e.emitsOptions, o) ||
          ((!(o in n) || l !== n[o]) && ((n[o] = l), (s = !0)));
    }
  if (i) {
    const o = Et(r),
      l = a || zt;
    for (let u = 0; u < i.length; u++) {
      const f = i[u];
      r[f] = m2(A, o, f, l[f], e, !St(l, f));
    }
  }
  return s;
}
function m2(e, t, r, n, A, i) {
  const s = e[r];
  if (s != null) {
    const a = St(s, "default");
    if (a && n === void 0) {
      const o = s.default;
      if (s.type !== Function && !s.skipFactory && gt(o)) {
        const { propsDefaults: l } = A;
        r in l ? (n = l[r]) : (ns(A), (n = l[r] = o.call(null, t)), Xi());
      } else n = o;
    }
    s[0] &&
      (i && !a ? (n = !1) : s[1] && (n === "" || n === Lc(r)) && (n = !0));
  }
  return n;
}
function D8(e, t, r = !1) {
  const n = t.propsCache,
    A = n.get(e);
  if (A) return A;
  const i = e.props,
    s = {},
    a = [];
  let o = !1;
  if (!gt(e)) {
    const u = (f) => {
      o = !0;
      const [d, g] = D8(f, t, !0);
      ar(s, d), g && a.push(...g);
    };
    !r && t.mixins.length && t.mixins.forEach(u),
      e.extends && u(e.extends),
      e.mixins && e.mixins.forEach(u);
  }
  if (!i && !o) return jt(e) && n.set(e, Ka), Ka;
  if (ot(i))
    for (let u = 0; u < i.length; u++) {
      const f = iA(i[u]);
      ag(f) && (s[f] = zt);
    }
  else if (i)
    for (const u in i) {
      const f = iA(u);
      if (ag(f)) {
        const d = i[u],
          g = (s[f] = ot(d) || gt(d) ? { type: d } : ar({}, d));
        if (g) {
          const v = ug(Boolean, g.type),
            B = ug(String, g.type);
          (g[0] = v > -1),
            (g[1] = B < 0 || v < B),
            (v > -1 || St(g, "default")) && a.push(f);
        }
      }
    }
  const l = [s, a];
  return jt(e) && n.set(e, l), l;
}
function ag(e) {
  return e[0] !== "$";
}
function og(e) {
  const t = e && e.toString().match(/^\s*(function|class) (\w+)/);
  return t ? t[2] : e === null ? "null" : "";
}
function lg(e, t) {
  return og(e) === og(t);
}
function ug(e, t) {
  return ot(t) ? t.findIndex((r) => lg(r, e)) : gt(t) && lg(t, e) ? 0 : -1;
}
const P8 = (e) => e[0] === "_" || e === "$stable",
  y6 = (e) => (ot(e) ? e.map(Sn) : [Sn(e)]),
  oF = (e, t, r) => {
    if (t._n) return t;
    const n = f6((...A) => y6(t(...A)), r);
    return (n._c = !1), n;
  },
  O8 = (e, t, r) => {
    const n = e._ctx;
    for (const A in e) {
      if (P8(A)) continue;
      const i = e[A];
      if (gt(i)) t[A] = oF(A, i, n);
      else if (i != null) {
        const s = y6(i);
        t[A] = () => s;
      }
    }
  },
  L8 = (e, t) => {
    const r = y6(t);
    e.slots.default = () => r;
  },
  lF = (e, t) => {
    if (e.vnode.shapeFlag & 32) {
      const r = t._;
      r ? ((e.slots = Et(t)), ec(t, "_", r)) : O8(t, (e.slots = {}));
    } else (e.slots = {}), t && L8(e, t);
    ec(e.slots, Zc, 1);
  },
  uF = (e, t, r) => {
    const { vnode: n, slots: A } = e;
    let i = !0,
      s = zt;
    if (n.shapeFlag & 32) {
      const a = t._;
      a
        ? r && a === 1
          ? (i = !1)
          : (ar(A, t), !r && a === 1 && delete A._)
        : ((i = !t.$stable), O8(t, A)),
        (s = t);
    } else t && (L8(e, t), (s = { default: 1 }));
    if (i) for (const a in A) !P8(a) && !(a in s) && delete A[a];
  };
function Ac(e, t, r, n, A = !1) {
  if (ot(e)) {
    e.forEach((d, g) => Ac(d, t && (ot(t) ? t[g] : t), r, n, A));
    return;
  }
  if (Ks(n) && !A) return;
  const i = n.shapeFlag & 4 ? tf(n.component) || n.component.proxy : n.el,
    s = A ? null : i,
    { i: a, r: o } = e,
    l = t && t.r,
    u = a.refs === zt ? (a.refs = {}) : a.refs,
    f = a.setupState;
  if (
    (l != null &&
      l !== o &&
      (pr(l)
        ? ((u[l] = null), St(f, l) && (f[l] = null))
        : Nt(l) && (l.value = null)),
    gt(o))
  )
    YA(o, a, 12, [s, u]);
  else {
    const d = pr(o),
      g = Nt(o);
    if (d || g) {
      const v = () => {
        if (e.f) {
          const B = d ? (St(f, o) ? f[o] : u[o]) : o.value;
          A
            ? ot(B) && Xh(B, i)
            : ot(B)
              ? B.includes(i) || B.push(i)
              : d
                ? ((u[o] = [i]), St(f, o) && (f[o] = u[o]))
                : ((o.value = [i]), e.k && (u[e.k] = o.value));
        } else
          d
            ? ((u[o] = s), St(f, o) && (f[o] = s))
            : g && ((o.value = s), e.k && (u[e.k] = s));
      };
      s ? ((v.id = -1), Mr(v, r)) : v();
    }
  }
}
let bi = !1;
const j0 = (e) => /svg/.test(e.namespaceURI) && e.tagName !== "foreignObject",
  Y0 = (e) => e.nodeType === 8;
function cF(e) {
  const {
      mt: t,
      p: r,
      o: {
        patchProp: n,
        createText: A,
        nextSibling: i,
        parentNode: s,
        remove: a,
        insert: o,
        createComment: l,
      },
    } = e,
    u = (w, m) => {
      if (!m.hasChildNodes()) {
        r(null, w, m), rc(), (m._vnode = w);
        return;
      }
      (bi = !1),
        f(m.firstChild, w, null, null, null),
        rc(),
        (m._vnode = w),
        bi && console.error("Hydration completed but contains mismatches.");
    },
    f = (w, m, x, C, b, F = !1) => {
      const I = Y0(w) && w.data === "[",
        T = () => B(w, m, x, C, b, I),
        { type: D, ref: U, shapeFlag: Q, patchFlag: L } = m;
      let $ = w.nodeType;
      (m.el = w), L === -2 && ((F = !1), (m.dynamicChildren = null));
      let X = null;
      switch (D) {
        case rs:
          $ !== 3
            ? m.children === ""
              ? (o((m.el = A("")), s(w), w), (X = w))
              : (X = T())
            : (w.data !== m.children && ((bi = !0), (w.data = m.children)),
              (X = i(w)));
          break;
        case Yr:
          $ !== 8 || I ? (X = T()) : (X = i(w));
          break;
        case Vs:
          if ((I && ((w = i(w)), ($ = w.nodeType)), $ === 1 || $ === 3)) {
            X = w;
            const V = !m.children.length;
            for (let G = 0; G < m.staticCount; G++)
              V && (m.children += X.nodeType === 1 ? X.outerHTML : X.data),
                G === m.staticCount - 1 && (m.anchor = X),
                (X = i(X));
            return I ? i(X) : X;
          } else T();
          break;
        case Ar:
          I ? (X = v(w, m, x, C, b, F)) : (X = T());
          break;
        default:
          if (Q & 1)
            $ !== 1 || m.type.toLowerCase() !== w.tagName.toLowerCase()
              ? (X = T())
              : (X = d(w, m, x, C, b, F));
          else if (Q & 6) {
            m.slotScopeIds = b;
            const V = s(w);
            if (
              (t(m, V, null, x, C, j0(V), F),
              (X = I ? y(w) : i(w)),
              X && Y0(X) && X.data === "teleport end" && (X = i(X)),
              Ks(m))
            ) {
              let G;
              I
                ? ((G = Z(Ar)),
                  (G.anchor = X ? X.previousSibling : V.lastChild))
                : (G = w.nodeType === 3 ? ef("") : Z("div")),
                (G.el = w),
                (m.component.subTree = G);
            }
          } else
            Q & 64
              ? $ !== 8
                ? (X = T())
                : (X = m.type.hydrate(w, m, x, C, b, F, e, g))
              : Q & 128 &&
                (X = m.type.hydrate(w, m, x, C, j0(s(w)), b, F, e, f));
      }
      return U != null && Ac(U, null, C, m), X;
    },
    d = (w, m, x, C, b, F) => {
      F = F || !!m.dynamicChildren;
      const { type: I, props: T, patchFlag: D, shapeFlag: U, dirs: Q } = m,
        L = (I === "input" && Q) || I === "option";
      if (L || D !== -1) {
        if ((Q && mA(m, null, x, "created"), T))
          if (L || !F || D & 48)
            for (const X in T)
              ((L && X.endsWith("value")) || (Pc(X) && !Bl(X))) &&
                n(w, X, null, T[X], !1, void 0, x);
          else T.onClick && n(w, "onClick", null, T.onClick, !1, void 0, x);
        let $;
        if (
          (($ = T && T.onVnodeBeforeMount) && cn($, x, m),
          Q && mA(m, null, x, "beforeMount"),
          (($ = T && T.onVnodeMounted) || Q) &&
            p8(() => {
              $ && cn($, x, m), Q && mA(m, null, x, "mounted");
            }, C),
          U & 16 && !(T && (T.innerHTML || T.textContent)))
        ) {
          let X = g(w.firstChild, m, w, x, C, b, F);
          for (; X; ) {
            bi = !0;
            const V = X;
            (X = X.nextSibling), a(V);
          }
        } else
          U & 8 &&
            w.textContent !== m.children &&
            ((bi = !0), (w.textContent = m.children));
      }
      return w.nextSibling;
    },
    g = (w, m, x, C, b, F, I) => {
      I = I || !!m.dynamicChildren;
      const T = m.children,
        D = T.length;
      for (let U = 0; U < D; U++) {
        const Q = I ? T[U] : (T[U] = Sn(T[U]));
        if (w) w = f(w, Q, C, b, F, I);
        else {
          if (Q.type === rs && !Q.children) continue;
          (bi = !0), r(null, Q, x, null, C, b, j0(x), F);
        }
      }
      return w;
    },
    v = (w, m, x, C, b, F) => {
      const { slotScopeIds: I } = m;
      I && (b = b ? b.concat(I) : I);
      const T = s(w),
        D = g(i(w), m, T, x, C, b, F);
      return D && Y0(D) && D.data === "]"
        ? i((m.anchor = D))
        : ((bi = !0), o((m.anchor = l("]")), T, D), D);
    },
    B = (w, m, x, C, b, F) => {
      if (((bi = !0), (m.el = null), F)) {
        const D = y(w);
        for (;;) {
          const U = i(w);
          if (U && U !== D) a(U);
          else break;
        }
      }
      const I = i(w),
        T = s(w);
      return a(w), r(null, m, T, I, x, C, j0(T), b), I;
    },
    y = (w) => {
      let m = 0;
      for (; w; )
        if (
          ((w = i(w)), w && Y0(w) && (w.data === "[" && m++, w.data === "]"))
        ) {
          if (m === 0) return i(w);
          m--;
        }
      return w;
    };
  return [u, f];
}
const Mr = p8;
function k8(e) {
  return M8(e);
}
function H8(e) {
  return M8(e, cF);
}
function M8(e, t) {
  const r = l2();
  r.__VUE__ = !0;
  const {
      insert: n,
      remove: A,
      patchProp: i,
      createElement: s,
      createText: a,
      createComment: o,
      setText: l,
      setElementText: u,
      parentNode: f,
      nextSibling: d,
      setScopeId: g = rA,
      insertStaticContent: v,
    } = e,
    B = (
      j,
      P,
      M,
      te = null,
      Be = null,
      Ie = null,
      Le = !1,
      He = null,
      Ne = !!P.dynamicChildren,
    ) => {
      if (j === P) return;
      j && !eA(j, P) && ((te = ie(j)), ce(j, Be, Ie, !0), (j = null)),
        P.patchFlag === -2 && ((Ne = !1), (P.dynamicChildren = null));
      const { type: Pe, ref: we, shapeFlag: he } = P;
      switch (Pe) {
        case rs:
          y(j, P, M, te);
          break;
        case Yr:
          w(j, P, M, te);
          break;
        case Vs:
          j == null && m(P, M, te, Le);
          break;
        case Ar:
          L(j, P, M, te, Be, Ie, Le, He, Ne);
          break;
        default:
          he & 1
            ? b(j, P, M, te, Be, Ie, Le, He, Ne)
            : he & 6
              ? $(j, P, M, te, Be, Ie, Le, He, Ne)
              : (he & 64 || he & 128) &&
                Pe.process(j, P, M, te, Be, Ie, Le, He, Ne, De);
      }
      we != null && Be && Ac(we, j && j.ref, Ie, P || j, !P);
    },
    y = (j, P, M, te) => {
      if (j == null) n((P.el = a(P.children)), M, te);
      else {
        const Be = (P.el = j.el);
        P.children !== j.children && l(Be, P.children);
      }
    },
    w = (j, P, M, te) => {
      j == null ? n((P.el = o(P.children || "")), M, te) : (P.el = j.el);
    },
    m = (j, P, M, te) => {
      [j.el, j.anchor] = v(j.children, P, M, te, j.el, j.anchor);
    },
    x = ({ el: j, anchor: P }, M, te) => {
      let Be;
      for (; j && j !== P; ) (Be = d(j)), n(j, M, te), (j = Be);
      n(P, M, te);
    },
    C = ({ el: j, anchor: P }) => {
      let M;
      for (; j && j !== P; ) (M = d(j)), A(j), (j = M);
      A(P);
    },
    b = (j, P, M, te, Be, Ie, Le, He, Ne) => {
      (Le = Le || P.type === "svg"),
        j == null
          ? F(P, M, te, Be, Ie, Le, He, Ne)
          : D(j, P, Be, Ie, Le, He, Ne);
    },
    F = (j, P, M, te, Be, Ie, Le, He) => {
      let Ne, Pe;
      const {
        type: we,
        props: he,
        shapeFlag: Ke,
        transition: Je,
        dirs: lt,
      } = j;
      if (
        ((Ne = j.el = s(j.type, Ie, he && he.is, he)),
        Ke & 8
          ? u(Ne, j.children)
          : Ke & 16 &&
            T(
              j.children,
              Ne,
              null,
              te,
              Be,
              Ie && we !== "foreignObject",
              Le,
              He,
            ),
        lt && mA(j, null, te, "created"),
        I(Ne, j, j.scopeId, Le, te),
        he)
      ) {
        for (const Bt in he)
          Bt !== "value" &&
            !Bl(Bt) &&
            i(Ne, Bt, null, he[Bt], Ie, j.children, te, Be, Fe);
        "value" in he && i(Ne, "value", null, he.value),
          (Pe = he.onVnodeBeforeMount) && cn(Pe, te, j);
      }
      lt && mA(j, null, te, "beforeMount");
      const mt = (!Be || (Be && !Be.pendingBranch)) && Je && !Je.persisted;
      mt && Je.beforeEnter(Ne),
        n(Ne, P, M),
        ((Pe = he && he.onVnodeMounted) || mt || lt) &&
          Mr(() => {
            Pe && cn(Pe, te, j),
              mt && Je.enter(Ne),
              lt && mA(j, null, te, "mounted");
          }, Be);
    },
    I = (j, P, M, te, Be) => {
      if ((M && g(j, M), te))
        for (let Ie = 0; Ie < te.length; Ie++) g(j, te[Ie]);
      if (Be) {
        let Ie = Be.subTree;
        if (P === Ie) {
          const Le = Be.vnode;
          I(j, Le, Le.scopeId, Le.slotScopeIds, Be.parent);
        }
      }
    },
    T = (j, P, M, te, Be, Ie, Le, He, Ne = 0) => {
      for (let Pe = Ne; Pe < j.length; Pe++) {
        const we = (j[Pe] = He ? Li(j[Pe]) : Sn(j[Pe]));
        B(null, we, P, M, te, Be, Ie, Le, He);
      }
    },
    D = (j, P, M, te, Be, Ie, Le) => {
      const He = (P.el = j.el);
      let { patchFlag: Ne, dynamicChildren: Pe, dirs: we } = P;
      Ne |= j.patchFlag & 16;
      const he = j.props || zt,
        Ke = P.props || zt;
      let Je;
      M && bs(M, !1),
        (Je = Ke.onVnodeBeforeUpdate) && cn(Je, M, P, j),
        we && mA(P, j, M, "beforeUpdate"),
        M && bs(M, !0);
      const lt = Be && P.type !== "foreignObject";
      if (
        (Pe
          ? U(j.dynamicChildren, Pe, He, M, te, lt, Ie)
          : Le || q(j, P, He, null, M, te, lt, Ie, !1),
        Ne > 0)
      ) {
        if (Ne & 16) Q(He, P, he, Ke, M, te, Be);
        else if (
          (Ne & 2 &&
            he.class !== Ke.class &&
            i(He, "class", null, Ke.class, Be),
          Ne & 4 && i(He, "style", he.style, Ke.style, Be),
          Ne & 8)
        ) {
          const mt = P.dynamicProps;
          for (let Bt = 0; Bt < mt.length; Bt++) {
            const kt = mt[Bt],
              kr = he[kt],
              Xt = Ke[kt];
            (Xt !== kr || kt === "value") &&
              i(He, kt, kr, Xt, Be, j.children, M, te, Fe);
          }
        }
        Ne & 1 && j.children !== P.children && u(He, P.children);
      } else !Le && Pe == null && Q(He, P, he, Ke, M, te, Be);
      ((Je = Ke.onVnodeUpdated) || we) &&
        Mr(() => {
          Je && cn(Je, M, P, j), we && mA(P, j, M, "updated");
        }, te);
    },
    U = (j, P, M, te, Be, Ie, Le) => {
      for (let He = 0; He < P.length; He++) {
        const Ne = j[He],
          Pe = P[He],
          we =
            Ne.el && (Ne.type === Ar || !eA(Ne, Pe) || Ne.shapeFlag & 70)
              ? f(Ne.el)
              : M;
        B(Ne, Pe, we, null, te, Be, Ie, Le, !0);
      }
    },
    Q = (j, P, M, te, Be, Ie, Le) => {
      if (M !== te) {
        if (M !== zt)
          for (const He in M)
            !Bl(He) &&
              !(He in te) &&
              i(j, He, M[He], null, Le, P.children, Be, Ie, Fe);
        for (const He in te) {
          if (Bl(He)) continue;
          const Ne = te[He],
            Pe = M[He];
          Ne !== Pe &&
            He !== "value" &&
            i(j, He, Pe, Ne, Le, P.children, Be, Ie, Fe);
        }
        "value" in te && i(j, "value", M.value, te.value);
      }
    },
    L = (j, P, M, te, Be, Ie, Le, He, Ne) => {
      const Pe = (P.el = j ? j.el : a("")),
        we = (P.anchor = j ? j.anchor : a(""));
      let { patchFlag: he, dynamicChildren: Ke, slotScopeIds: Je } = P;
      Je && (He = He ? He.concat(Je) : Je),
        j == null
          ? (n(Pe, M, te),
            n(we, M, te),
            T(P.children, M, we, Be, Ie, Le, He, Ne))
          : he > 0 && he & 64 && Ke && j.dynamicChildren
            ? (U(j.dynamicChildren, Ke, M, Be, Ie, Le, He),
              (P.key != null || (Be && P === Be.subTree)) && C6(j, P, !0))
            : q(j, P, M, we, Be, Ie, Le, He, Ne);
    },
    $ = (j, P, M, te, Be, Ie, Le, He, Ne) => {
      (P.slotScopeIds = He),
        j == null
          ? P.shapeFlag & 512
            ? Be.ctx.activate(P, M, te, Le, Ne)
            : X(P, M, te, Be, Ie, Le, Ne)
          : V(j, P, Ne);
    },
    X = (j, P, M, te, Be, Ie, Le) => {
      const He = (j.component = W8(j, te, Be));
      if ((p0(j) && (He.ctx.renderer = De), j8(He), He.asyncDep)) {
        if ((Be && Be.registerDep(He, G), !j.el)) {
          const Ne = (He.subTree = Z(Yr));
          w(null, Ne, P, M);
        }
        return;
      }
      G(He, j, P, M, Be, Ie, Le);
    },
    V = (j, P, M) => {
      const te = (P.component = j.component);
      if (gb(j, P, M))
        if (te.asyncDep && !te.asyncResolved) {
          le(te, P, M);
          return;
        } else (te.next = P), ab(te.update), te.update();
      else (P.el = j.el), (te.vnode = P);
    },
    G = (j, P, M, te, Be, Ie, Le) => {
      const He = () => {
          if (j.isMounted) {
            let { next: we, bu: he, u: Ke, parent: Je, vnode: lt } = j,
              mt = we,
              Bt;
            bs(j, !1),
              we ? ((we.el = lt.el), le(j, we, Le)) : (we = lt),
              he && yl(he),
              (Bt = we.props && we.props.onVnodeBeforeUpdate) &&
                cn(Bt, Je, we, lt),
              bs(j, !0);
            const kt = Ru(j),
              kr = j.subTree;
            (j.subTree = kt),
              B(kr, kt, f(kr.el), ie(kr), j, Be, Ie),
              (we.el = kt.el),
              mt === null && d6(j, kt.el),
              Ke && Mr(Ke, Be),
              (Bt = we.props && we.props.onVnodeUpdated) &&
                Mr(() => cn(Bt, Je, we, lt), Be);
          } else {
            let we;
            const { el: he, props: Ke } = P,
              { bm: Je, m: lt, parent: mt } = j,
              Bt = Ks(P);
            if (
              (bs(j, !1),
              Je && yl(Je),
              !Bt && (we = Ke && Ke.onVnodeBeforeMount) && cn(we, mt, P),
              bs(j, !0),
              he && Te)
            ) {
              const kt = () => {
                (j.subTree = Ru(j)), Te(he, j.subTree, j, Be, null);
              };
              Bt
                ? P.type.__asyncLoader().then(() => !j.isUnmounted && kt())
                : kt();
            } else {
              const kt = (j.subTree = Ru(j));
              B(null, kt, M, te, j, Be, Ie), (P.el = kt.el);
            }
            if ((lt && Mr(lt, Be), !Bt && (we = Ke && Ke.onVnodeMounted))) {
              const kt = P;
              Mr(() => cn(we, mt, kt), Be);
            }
            (P.shapeFlag & 256 ||
              (mt && Ks(mt.vnode) && mt.vnode.shapeFlag & 256)) &&
              j.a &&
              Mr(j.a, Be),
              (j.isMounted = !0),
              (P = M = te = null);
          }
        },
        Ne = (j.effect = new f0(He, () => Gc(Pe), j.scope)),
        Pe = (j.update = () => Ne.run());
      (Pe.id = j.uid), bs(j, !0), Pe();
    },
    le = (j, P, M) => {
      P.component = j;
      const te = j.vnode.props;
      (j.vnode = P),
        (j.next = null),
        aF(j, P.props, te, M),
        uF(j, P.children, M),
        wo(),
        Z5(),
        yo();
    },
    q = (j, P, M, te, Be, Ie, Le, He, Ne = !1) => {
      const Pe = j && j.children,
        we = j ? j.shapeFlag : 0,
        he = P.children,
        { patchFlag: Ke, shapeFlag: Je } = P;
      if (Ke > 0) {
        if (Ke & 128) {
          Ce(Pe, he, M, te, Be, Ie, Le, He, Ne);
          return;
        } else if (Ke & 256) {
          ue(Pe, he, M, te, Be, Ie, Le, He, Ne);
          return;
        }
      }
      Je & 8
        ? (we & 16 && Fe(Pe, Be, Ie), he !== Pe && u(M, he))
        : we & 16
          ? Je & 16
            ? Ce(Pe, he, M, te, Be, Ie, Le, He, Ne)
            : Fe(Pe, Be, Ie, !0)
          : (we & 8 && u(M, ""), Je & 16 && T(he, M, te, Be, Ie, Le, He, Ne));
    },
    ue = (j, P, M, te, Be, Ie, Le, He, Ne) => {
      (j = j || Ka), (P = P || Ka);
      const Pe = j.length,
        we = P.length,
        he = Math.min(Pe, we);
      let Ke;
      for (Ke = 0; Ke < he; Ke++) {
        const Je = (P[Ke] = Ne ? Li(P[Ke]) : Sn(P[Ke]));
        B(j[Ke], Je, M, null, Be, Ie, Le, He, Ne);
      }
      Pe > we ? Fe(j, Be, Ie, !0, !1, he) : T(P, M, te, Be, Ie, Le, He, Ne, he);
    },
    Ce = (j, P, M, te, Be, Ie, Le, He, Ne) => {
      let Pe = 0;
      const we = P.length;
      let he = j.length - 1,
        Ke = we - 1;
      for (; Pe <= he && Pe <= Ke; ) {
        const Je = j[Pe],
          lt = (P[Pe] = Ne ? Li(P[Pe]) : Sn(P[Pe]));
        if (eA(Je, lt)) B(Je, lt, M, null, Be, Ie, Le, He, Ne);
        else break;
        Pe++;
      }
      for (; Pe <= he && Pe <= Ke; ) {
        const Je = j[he],
          lt = (P[Ke] = Ne ? Li(P[Ke]) : Sn(P[Ke]));
        if (eA(Je, lt)) B(Je, lt, M, null, Be, Ie, Le, He, Ne);
        else break;
        he--, Ke--;
      }
      if (Pe > he) {
        if (Pe <= Ke) {
          const Je = Ke + 1,
            lt = Je < we ? P[Je].el : te;
          for (; Pe <= Ke; )
            B(
              null,
              (P[Pe] = Ne ? Li(P[Pe]) : Sn(P[Pe])),
              M,
              lt,
              Be,
              Ie,
              Le,
              He,
              Ne,
            ),
              Pe++;
        }
      } else if (Pe > Ke) for (; Pe <= he; ) ce(j[Pe], Be, Ie, !0), Pe++;
      else {
        const Je = Pe,
          lt = Pe,
          mt = new Map();
        for (Pe = lt; Pe <= Ke; Pe++) {
          const Fr = (P[Pe] = Ne ? Li(P[Pe]) : Sn(P[Pe]));
          Fr.key != null && mt.set(Fr.key, Pe);
        }
        let Bt,
          kt = 0;
        const kr = Ke - lt + 1;
        let Xt = !1,
          Vr = 0;
        const uA = new Array(kr);
        for (Pe = 0; Pe < kr; Pe++) uA[Pe] = 0;
        for (Pe = Je; Pe <= he; Pe++) {
          const Fr = j[Pe];
          if (kt >= kr) {
            ce(Fr, Be, Ie, !0);
            continue;
          }
          let An;
          if (Fr.key != null) An = mt.get(Fr.key);
          else
            for (Bt = lt; Bt <= Ke; Bt++)
              if (uA[Bt - lt] === 0 && eA(Fr, P[Bt])) {
                An = Bt;
                break;
              }
          An === void 0
            ? ce(Fr, Be, Ie, !0)
            : ((uA[An - lt] = Pe + 1),
              An >= Vr ? (Vr = An) : (Xt = !0),
              B(Fr, P[An], M, null, Be, Ie, Le, He, Ne),
              kt++);
        }
        const di = Xt ? fF(uA) : Ka;
        for (Bt = di.length - 1, Pe = kr - 1; Pe >= 0; Pe--) {
          const Fr = lt + Pe,
            An = P[Fr],
            Bs = Fr + 1 < we ? P[Fr + 1].el : te;
          uA[Pe] === 0
            ? B(null, An, M, Bs, Be, Ie, Le, He, Ne)
            : Xt && (Bt < 0 || Pe !== di[Bt] ? ee(An, M, Bs, 2) : Bt--);
        }
      }
    },
    ee = (j, P, M, te, Be = null) => {
      const {
        el: Ie,
        type: Le,
        transition: He,
        children: Ne,
        shapeFlag: Pe,
      } = j;
      if (Pe & 6) {
        ee(j.component.subTree, P, M, te);
        return;
      }
      if (Pe & 128) {
        j.suspense.move(P, M, te);
        return;
      }
      if (Pe & 64) {
        Le.move(j, P, M, De);
        return;
      }
      if (Le === Ar) {
        n(Ie, P, M);
        for (let he = 0; he < Ne.length; he++) ee(Ne[he], P, M, te);
        n(j.anchor, P, M);
        return;
      }
      if (Le === Vs) {
        x(j, P, M);
        return;
      }
      if (te !== 2 && Pe & 1 && He)
        if (te === 0)
          He.beforeEnter(Ie), n(Ie, P, M), Mr(() => He.enter(Ie), Be);
        else {
          const { leave: he, delayLeave: Ke, afterLeave: Je } = He,
            lt = () => n(Ie, P, M),
            mt = () => {
              he(Ie, () => {
                lt(), Je && Je();
              });
            };
          Ke ? Ke(Ie, lt, mt) : mt();
        }
      else n(Ie, P, M);
    },
    ce = (j, P, M, te = !1, Be = !1) => {
      const {
        type: Ie,
        props: Le,
        ref: He,
        children: Ne,
        dynamicChildren: Pe,
        shapeFlag: we,
        patchFlag: he,
        dirs: Ke,
      } = j;
      if ((He != null && Ac(He, null, M, j, !0), we & 256)) {
        P.ctx.deactivate(j);
        return;
      }
      const Je = we & 1 && Ke,
        lt = !Ks(j);
      let mt;
      if ((lt && (mt = Le && Le.onVnodeBeforeUnmount) && cn(mt, P, j), we & 6))
        se(j.component, M, te);
      else {
        if (we & 128) {
          j.suspense.unmount(M, te);
          return;
        }
        Je && mA(j, null, P, "beforeUnmount"),
          we & 64
            ? j.type.remove(j, P, M, Be, De, te)
            : Pe && (Ie !== Ar || (he > 0 && he & 64))
              ? Fe(Pe, P, M, !1, !0)
              : ((Ie === Ar && he & 384) || (!Be && we & 16)) && Fe(Ne, P, M),
          te && ve(j);
      }
      ((lt && (mt = Le && Le.onVnodeUnmounted)) || Je) &&
        Mr(() => {
          mt && cn(mt, P, j), Je && mA(j, null, P, "unmounted");
        }, M);
    },
    ve = (j) => {
      const { type: P, el: M, anchor: te, transition: Be } = j;
      if (P === Ar) {
        xe(M, te);
        return;
      }
      if (P === Vs) {
        C(j);
        return;
      }
      const Ie = () => {
        A(M), Be && !Be.persisted && Be.afterLeave && Be.afterLeave();
      };
      if (j.shapeFlag & 1 && Be && !Be.persisted) {
        const { leave: Le, delayLeave: He } = Be,
          Ne = () => Le(M, Ie);
        He ? He(j.el, Ie, Ne) : Ne();
      } else Ie();
    },
    xe = (j, P) => {
      let M;
      for (; j !== P; ) (M = d(j)), A(j), (j = M);
      A(P);
    },
    se = (j, P, M) => {
      const { bum: te, scope: Be, update: Ie, subTree: Le, um: He } = j;
      te && yl(te),
        Be.stop(),
        Ie && ((Ie.active = !1), ce(Le, j, P, M)),
        He && Mr(He, P),
        Mr(() => {
          j.isUnmounted = !0;
        }, P),
        P &&
          P.pendingBranch &&
          !P.isUnmounted &&
          j.asyncDep &&
          !j.asyncResolved &&
          j.suspenseId === P.pendingId &&
          (P.deps--, P.deps === 0 && P.resolve());
    },
    Fe = (j, P, M, te = !1, Be = !1, Ie = 0) => {
      for (let Le = Ie; Le < j.length; Le++) ce(j[Le], P, M, te, Be);
    },
    ie = (j) =>
      j.shapeFlag & 6
        ? ie(j.component.subTree)
        : j.shapeFlag & 128
          ? j.suspense.next()
          : d(j.anchor || j.el),
    _e = (j, P, M) => {
      j == null
        ? P._vnode && ce(P._vnode, null, null, !0)
        : B(P._vnode || null, j, P, null, null, null, M),
        Z5(),
        rc(),
        (P._vnode = j);
    },
    De = {
      p: B,
      um: ce,
      m: ee,
      r: ve,
      mt: X,
      mc: T,
      pc: q,
      pbc: U,
      n: ie,
      o: e,
    };
  let $e, Te;
  return (
    t && ([$e, Te] = t(De)), { render: _e, hydrate: $e, createApp: iF(_e, $e) }
  );
}
function bs({ effect: e, update: t }, r) {
  e.allowRecurse = t.allowRecurse = r;
}
function C6(e, t, r = !1) {
  const n = e.children,
    A = t.children;
  if (ot(n) && ot(A))
    for (let i = 0; i < n.length; i++) {
      const s = n[i];
      let a = A[i];
      a.shapeFlag & 1 &&
        !a.dynamicChildren &&
        ((a.patchFlag <= 0 || a.patchFlag === 32) &&
          ((a = A[i] = Li(A[i])), (a.el = s.el)),
        r || C6(s, a)),
        a.type === rs && (a.el = s.el);
    }
}
function fF(e) {
  const t = e.slice(),
    r = [0];
  let n, A, i, s, a;
  const o = e.length;
  for (n = 0; n < o; n++) {
    const l = e[n];
    if (l !== 0) {
      if (((A = r[r.length - 1]), e[A] < l)) {
        (t[n] = A), r.push(n);
        continue;
      }
      for (i = 0, s = r.length - 1; i < s; )
        (a = (i + s) >> 1), e[r[a]] < l ? (i = a + 1) : (s = a);
      l < e[r[i]] && (i > 0 && (t[n] = r[i - 1]), (r[i] = n));
    }
  }
  for (i = r.length, s = r[i - 1]; i-- > 0; ) (r[i] = s), (s = t[s]);
  return r;
}
const dF = (e) => e.__isTeleport,
  xl = (e) => e && (e.disabled || e.disabled === ""),
  cg = (e) => typeof SVGElement < "u" && e instanceof SVGElement,
  B2 = (e, t) => {
    const r = e && e.to;
    return pr(r) ? (t ? t(r) : null) : r;
  },
  hF = {
    __isTeleport: !0,
    process(e, t, r, n, A, i, s, a, o, l) {
      const {
          mc: u,
          pc: f,
          pbc: d,
          o: { insert: g, querySelector: v, createText: B, createComment: y },
        } = l,
        w = xl(t.props);
      let { shapeFlag: m, children: x, dynamicChildren: C } = t;
      if (e == null) {
        const b = (t.el = B("")),
          F = (t.anchor = B(""));
        g(b, r, n), g(F, r, n);
        const I = (t.target = B2(t.props, v)),
          T = (t.targetAnchor = B(""));
        I && (g(T, I), (s = s || cg(I)));
        const D = (U, Q) => {
          m & 16 && u(x, U, Q, A, i, s, a, o);
        };
        w ? D(r, F) : I && D(I, T);
      } else {
        t.el = e.el;
        const b = (t.anchor = e.anchor),
          F = (t.target = e.target),
          I = (t.targetAnchor = e.targetAnchor),
          T = xl(e.props),
          D = T ? r : F,
          U = T ? b : I;
        if (
          ((s = s || cg(F)),
          C
            ? (d(e.dynamicChildren, C, D, A, i, s, a), C6(e, t, !0))
            : o || f(e, t, D, U, A, i, s, a, !1),
          w)
        )
          T || X0(t, r, b, l, 1);
        else if ((t.props && t.props.to) !== (e.props && e.props.to)) {
          const Q = (t.target = B2(t.props, v));
          Q && X0(t, Q, null, l, 0);
        } else T && X0(t, F, I, l, 1);
      }
      N8(t);
    },
    remove(e, t, r, n, { um: A, o: { remove: i } }, s) {
      const {
        shapeFlag: a,
        children: o,
        anchor: l,
        targetAnchor: u,
        target: f,
        props: d,
      } = e;
      if ((f && i(u), (s || !xl(d)) && (i(l), a & 16)))
        for (let g = 0; g < o.length; g++) {
          const v = o[g];
          A(v, t, r, !0, !!v.dynamicChildren);
        }
    },
    move: X0,
    hydrate: pF,
  };
function X0(e, t, r, { o: { insert: n }, m: A }, i = 2) {
  i === 0 && n(e.targetAnchor, t, r);
  const { el: s, anchor: a, shapeFlag: o, children: l, props: u } = e,
    f = i === 2;
  if ((f && n(s, t, r), (!f || xl(u)) && o & 16))
    for (let d = 0; d < l.length; d++) A(l[d], t, r, 2);
  f && n(a, t, r);
}
function pF(
  e,
  t,
  r,
  n,
  A,
  i,
  { o: { nextSibling: s, parentNode: a, querySelector: o } },
  l,
) {
  const u = (t.target = B2(t.props, o));
  if (u) {
    const f = u._lpa || u.firstChild;
    if (t.shapeFlag & 16)
      if (xl(t.props))
        (t.anchor = l(s(e), t, a(e), r, n, A, i)), (t.targetAnchor = f);
      else {
        t.anchor = s(e);
        let d = f;
        for (; d; )
          if (
            ((d = s(d)), d && d.nodeType === 8 && d.data === "teleport anchor")
          ) {
            (t.targetAnchor = d),
              (u._lpa = t.targetAnchor && s(t.targetAnchor));
            break;
          }
        l(f, t, u, r, n, A, i);
      }
    N8(t);
  }
  return t.anchor && s(t.anchor);
}
const R8 = hF;
function N8(e) {
  const t = e.ctx;
  if (t && t.ut) {
    let r = e.children[0].el;
    for (; r !== e.targetAnchor; )
      r.nodeType === 1 && r.setAttribute("data-v-owner", t.uid),
        (r = r.nextSibling);
    t.ut();
  }
}
const Ar = Symbol.for("v-fgt"),
  rs = Symbol.for("v-txt"),
  Yr = Symbol.for("v-cmt"),
  Vs = Symbol.for("v-stc"),
  El = [];
let hn = null;
function qc(e = !1) {
  El.push((hn = e ? null : []));
}
function $8() {
  El.pop(), (hn = El[El.length - 1] || null);
}
let qs = 1;
function w2(e) {
  qs += e;
}
function K8(e) {
  return (
    (e.dynamicChildren = qs > 0 ? hn || Ka : null),
    $8(),
    qs > 0 && hn && hn.push(e),
    e
  );
}
function gF(e, t, r, n, A, i) {
  return K8(E6(e, t, r, n, A, i, !0));
}
function x6(e, t, r, n, A) {
  return K8(Z(e, t, r, n, A, !0));
}
function ni(e) {
  return e ? e.__v_isVNode === !0 : !1;
}
function eA(e, t) {
  return e.type === t.type && e.key === t.key;
}
function vF(e) {}
const Zc = "__vInternal",
  V8 = ({ key: e }) => e ?? null,
  Nu = ({ ref: e, ref_key: t, ref_for: r }) => (
    typeof e == "number" && (e = "" + e),
    e != null
      ? pr(e) || Nt(e) || gt(e)
        ? { i: Tr, r: e, k: t, f: !!r }
        : e
      : null
  );
function E6(
  e,
  t = null,
  r = null,
  n = 0,
  A = null,
  i = e === Ar ? 0 : 1,
  s = !1,
  a = !1,
) {
  const o = {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e,
    props: t,
    key: t && V8(t),
    ref: t && Nu(t),
    scopeId: zc,
    slotScopeIds: null,
    children: r,
    component: null,
    suspense: null,
    ssContent: null,
    ssFallback: null,
    dirs: null,
    transition: null,
    el: null,
    anchor: null,
    target: null,
    targetAnchor: null,
    staticCount: 0,
    shapeFlag: i,
    patchFlag: n,
    dynamicProps: A,
    dynamicChildren: null,
    appContext: null,
    ctx: Tr,
  };
  return (
    a
      ? (b6(o, r), i & 128 && e.normalize(o))
      : r && (o.shapeFlag |= pr(r) ? 8 : 16),
    qs > 0 &&
      !s &&
      hn &&
      (o.patchFlag > 0 || i & 6) &&
      o.patchFlag !== 32 &&
      hn.push(o),
    o
  );
}
const Z = mF;
function mF(e, t = null, r = null, n = 0, A = null, i = !1) {
  if (((!e || e === b8) && (e = Yr), ni(e))) {
    const a = xA(e, t, !0);
    return (
      r && b6(a, r),
      qs > 0 &&
        !i &&
        hn &&
        (a.shapeFlag & 6 ? (hn[hn.indexOf(e)] = a) : hn.push(a)),
      (a.patchFlag |= -2),
      a
    );
  }
  if ((_F(e) && (e = e.__vccOpts), t)) {
    t = G8(t);
    let { class: a, style: o } = t;
    a && !pr(a) && (t.class = u0(a)),
      jt(o) && (A6(o) && !ot(o) && (o = ar({}, o)), (t.style = l0(o)));
  }
  const s = pr(e) ? 1 : h8(e) ? 128 : dF(e) ? 64 : jt(e) ? 4 : gt(e) ? 2 : 0;
  return E6(e, t, r, n, A, s, i, !0);
}
function G8(e) {
  return e ? (A6(e) || Zc in e ? ar({}, e) : e) : null;
}
function xA(e, t, r = !1) {
  const { props: n, ref: A, patchFlag: i, children: s } = e,
    a = t ? $t(n || {}, t) : n;
  return {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e.type,
    props: a,
    key: a && V8(a),
    ref:
      t && t.ref
        ? r && A
          ? ot(A)
            ? A.concat(Nu(t))
            : [A, Nu(t)]
          : Nu(t)
        : A,
    scopeId: e.scopeId,
    slotScopeIds: e.slotScopeIds,
    children: s,
    target: e.target,
    targetAnchor: e.targetAnchor,
    staticCount: e.staticCount,
    shapeFlag: e.shapeFlag,
    patchFlag: t && e.type !== Ar ? (i === -1 ? 16 : i | 16) : i,
    dynamicProps: e.dynamicProps,
    dynamicChildren: e.dynamicChildren,
    appContext: e.appContext,
    dirs: e.dirs,
    transition: e.transition,
    component: e.component,
    suspense: e.suspense,
    ssContent: e.ssContent && xA(e.ssContent),
    ssFallback: e.ssFallback && xA(e.ssFallback),
    el: e.el,
    anchor: e.anchor,
    ctx: e.ctx,
    ce: e.ce,
  };
}
function ef(e = " ", t = 0) {
  return Z(rs, null, e, t);
}
function BF(e, t) {
  const r = Z(Vs, null, e);
  return (r.staticCount = t), r;
}
function wF(e = "", t = !1) {
  return t ? (qc(), x6(Yr, null, e)) : Z(Yr, null, e);
}
function Sn(e) {
  return e == null || typeof e == "boolean"
    ? Z(Yr)
    : ot(e)
      ? Z(Ar, null, e.slice())
      : typeof e == "object"
        ? Li(e)
        : Z(rs, null, String(e));
}
function Li(e) {
  return (e.el === null && e.patchFlag !== -1) || e.memo ? e : xA(e);
}
function b6(e, t) {
  let r = 0;
  const { shapeFlag: n } = e;
  if (t == null) t = null;
  else if (ot(t)) r = 16;
  else if (typeof t == "object")
    if (n & 65) {
      const A = t.default;
      A && (A._c && (A._d = !1), b6(e, A()), A._c && (A._d = !0));
      return;
    } else {
      r = 32;
      const A = t._;
      !A && !(Zc in t)
        ? (t._ctx = Tr)
        : A === 3 &&
          Tr &&
          (Tr.slots._ === 1 ? (t._ = 1) : ((t._ = 2), (e.patchFlag |= 1024)));
    }
  else
    gt(t)
      ? ((t = { default: t, _ctx: Tr }), (r = 32))
      : ((t = String(t)), n & 64 ? ((r = 16), (t = [ef(t)])) : (r = 8));
  (e.children = t), (e.shapeFlag |= r);
}
function $t(...e) {
  const t = {};
  for (let r = 0; r < e.length; r++) {
    const n = e[r];
    for (const A in n)
      if (A === "class")
        t.class !== n.class && (t.class = u0([t.class, n.class]));
      else if (A === "style") t.style = l0([t.style, n.style]);
      else if (Pc(A)) {
        const i = t[A],
          s = n[A];
        s &&
          i !== s &&
          !(ot(i) && i.includes(s)) &&
          (t[A] = i ? [].concat(i, s) : s);
      } else A !== "" && (t[A] = n[A]);
  }
  return t;
}
function cn(e, t, r, n = null) {
  Qn(e, t, 7, [r, n]);
}
const yF = U8();
let CF = 0;
function W8(e, t, r) {
  const n = e.type,
    A = (t ? t.appContext : e.appContext) || yF,
    i = {
      uid: CF++,
      vnode: e,
      type: n,
      parent: t,
      appContext: A,
      root: null,
      next: null,
      subTree: null,
      effect: null,
      update: null,
      scope: new e6(!0),
      render: null,
      proxy: null,
      exposed: null,
      exposeProxy: null,
      withProxy: null,
      provides: t ? t.provides : Object.create(A.provides),
      accessCache: null,
      renderCache: [],
      components: null,
      directives: null,
      propsOptions: D8(n, A),
      emitsOptions: d8(n, A),
      emit: null,
      emitted: null,
      propsDefaults: zt,
      inheritAttrs: n.inheritAttrs,
      ctx: zt,
      data: zt,
      props: zt,
      attrs: zt,
      slots: zt,
      refs: zt,
      setupState: zt,
      setupContext: null,
      attrsProxy: null,
      slotsProxy: null,
      suspense: r,
      suspenseId: r ? r.pendingId : 0,
      asyncDep: null,
      asyncResolved: !1,
      isMounted: !1,
      isUnmounted: !1,
      isDeactivated: !1,
      bc: null,
      c: null,
      bm: null,
      m: null,
      bu: null,
      u: null,
      um: null,
      bum: null,
      da: null,
      a: null,
      rtg: null,
      rtc: null,
      ec: null,
      sp: null,
    };
  return (
    (i.ctx = { _: i }),
    (i.root = t ? t.root : i),
    (i.emit = lb.bind(null, i)),
    e.ce && e.ce(i),
    i
  );
}
let fr = null;
const Wt = () => fr || Tr;
let F6,
  ma,
  fg = "__VUE_INSTANCE_SETTERS__";
(ma = l2()[fg]) || (ma = l2()[fg] = []),
  ma.push((e) => (fr = e)),
  (F6 = (e) => {
    ma.length > 1 ? ma.forEach((t) => t(e)) : ma[0](e);
  });
const ns = (e) => {
    F6(e), e.scope.on();
  },
  Xi = () => {
    fr && fr.scope.off(), F6(null);
  };
function z8(e) {
  return e.vnode.shapeFlag & 4;
}
let Za = !1;
function j8(e, t = !1) {
  Za = t;
  const { props: r, children: n } = e.vnode,
    A = z8(e);
  sF(e, r, A, t), lF(e, n);
  const i = A ? xF(e, t) : void 0;
  return (Za = !1), i;
}
function xF(e, t) {
  const r = e.type;
  (e.accessCache = Object.create(null)), (e.proxy = d0(new Proxy(e.ctx, p2)));
  const { setup: n } = r;
  if (n) {
    const A = (e.setupContext = n.length > 1 ? X8(e) : null);
    ns(e), wo();
    const i = YA(n, e, 0, [e.props, A]);
    if ((yo(), Xi(), qh(i))) {
      if ((i.then(Xi, Xi), t))
        return i
          .then((s) => {
            y2(e, s, t);
          })
          .catch((s) => {
            na(s, e, 0);
          });
      e.asyncDep = i;
    } else y2(e, i, t);
  } else Y8(e, t);
}
function y2(e, t, r) {
  gt(t)
    ? e.type.__ssrInlineRender
      ? (e.ssrRender = t)
      : (e.render = t)
    : jt(t) && (e.setupState = a6(t)),
    Y8(e, r);
}
let ic, C2;
function EF(e) {
  (ic = e),
    (C2 = (t) => {
      t.render._rc && (t.withProxy = new Proxy(t.ctx, Hb));
    });
}
const bF = () => !ic;
function Y8(e, t, r) {
  const n = e.type;
  if (!e.render) {
    if (!t && ic && !n.render) {
      const A = n.template || w6(e).template;
      if (A) {
        const { isCustomElement: i, compilerOptions: s } = e.appContext.config,
          { delimiters: a, compilerOptions: o } = n,
          l = ar(ar({ isCustomElement: i, delimiters: a }, s), o);
        n.render = ic(A, l);
      }
    }
    (e.render = n.render || rA), C2 && C2(e);
  }
  ns(e), wo(), Zb(e), yo(), Xi();
}
function FF(e) {
  return (
    e.attrsProxy ||
    (e.attrsProxy = new Proxy(e.attrs, {
      get(t, r) {
        return vn(e, "get", "$attrs"), t[r];
      },
    }))
  );
}
function X8(e) {
  const t = (r) => {
    e.exposed = r || {};
  };
  return {
    get attrs() {
      return FF(e);
    },
    slots: e.slots,
    emit: e.emit,
    expose: t,
  };
}
function tf(e) {
  if (e.exposed)
    return (
      e.exposeProxy ||
      (e.exposeProxy = new Proxy(a6(d0(e.exposed)), {
        get(t, r) {
          if (r in t) return t[r];
          if (r in Cl) return Cl[r](e);
        },
        has(t, r) {
          return r in t || r in Cl;
        },
      }))
    );
}
function x2(e, t = !0) {
  return gt(e) ? e.displayName || e.name : e.name || (t && e.__name);
}
function _F(e) {
  return gt(e) && "__vccOpts" in e;
}
const Oe = (e, t) => rb(e, t, Za);
function Ur(e, t, r) {
  const n = arguments.length;
  return n === 2
    ? jt(t) && !ot(t)
      ? ni(t)
        ? Z(e, null, [t])
        : Z(e, t)
      : Z(e, null, t)
    : (n > 3
        ? (r = Array.prototype.slice.call(arguments, 2))
        : n === 3 && ni(r) && (r = [r]),
      Z(e, t, r));
}
const J8 = Symbol.for("v-scx"),
  q8 = () => dr(J8);
function SF() {}
function QF(e, t, r, n) {
  const A = r[n];
  if (A && Z8(A, e)) return A;
  const i = t();
  return (i.memo = e.slice()), (r[n] = i);
}
function Z8(e, t) {
  const r = e.memo;
  if (r.length != t.length) return !1;
  for (let n = 0; n < r.length; n++) if (Ja(r[n], t[n])) return !1;
  return qs > 0 && hn && hn.push(e), !0;
}
const e3 = "3.3.4",
  UF = {
    createComponentInstance: W8,
    setupComponent: j8,
    renderComponentRoot: Ru,
    setCurrentRenderingInstance: Vl,
    isVNode: ni,
    normalizeVNode: Sn,
  },
  TF = UF,
  IF = null,
  DF = null;
function PF(e, t) {
  const r = Object.create(null),
    n = e.split(",");
  for (let A = 0; A < n.length; A++) r[n[A]] = !0;
  return t ? (A) => !!r[A.toLowerCase()] : (A) => !!r[A];
}
const p1 = {},
  OF = /^on[^a-z]/,
  LF = (e) => OF.test(e),
  kF = (e) => e.startsWith("onUpdate:"),
  g0 = Object.assign,
  mn = Array.isArray,
  v0 = (e) => r3(e) === "[object Set]",
  dg = (e) => r3(e) === "[object Date]",
  t3 = (e) => typeof e == "function",
  jl = (e) => typeof e == "string",
  hg = (e) => typeof e == "symbol",
  E2 = (e) => e !== null && typeof e == "object",
  HF = Object.prototype.toString,
  r3 = (e) => HF.call(e),
  _6 = (e) => {
    const t = Object.create(null);
    return (r) => t[r] || (t[r] = e(r));
  },
  MF = /-(\w)/g,
  g1 = _6((e) => e.replace(MF, (t, r) => (r ? r.toUpperCase() : ""))),
  RF = /\B([A-Z])/g,
  Mi = _6((e) => e.replace(RF, "-$1").toLowerCase()),
  NF = _6((e) => e.charAt(0).toUpperCase() + e.slice(1)),
  $F = (e, t) => {
    for (let r = 0; r < e.length; r++) e[r](t);
  },
  b2 = (e) => {
    const t = parseFloat(e);
    return isNaN(t) ? e : t;
  },
  F2 = (e) => {
    const t = jl(e) ? Number(e) : NaN;
    return isNaN(t) ? e : t;
  },
  KF =
    "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",
  VF = PF(KF);
function n3(e) {
  return !!e || e === "";
}
function GF(e, t) {
  if (e.length !== t.length) return !1;
  let r = !0;
  for (let n = 0; r && n < e.length; n++) r = As(e[n], t[n]);
  return r;
}
function As(e, t) {
  if (e === t) return !0;
  let r = dg(e),
    n = dg(t);
  if (r || n) return r && n ? e.getTime() === t.getTime() : !1;
  if (((r = hg(e)), (n = hg(t)), r || n)) return e === t;
  if (((r = mn(e)), (n = mn(t)), r || n)) return r && n ? GF(e, t) : !1;
  if (((r = E2(e)), (n = E2(t)), r || n)) {
    if (!r || !n) return !1;
    const A = Object.keys(e).length,
      i = Object.keys(t).length;
    if (A !== i) return !1;
    for (const s in e) {
      const a = e.hasOwnProperty(s),
        o = t.hasOwnProperty(s);
      if ((a && !o) || (!a && o) || !As(e[s], t[s])) return !1;
    }
  }
  return String(e) === String(t);
}
function rf(e, t) {
  return e.findIndex((r) => As(r, t));
}
const WF = "http://www.w3.org/2000/svg",
  Ps = typeof document < "u" ? document : null,
  pg = Ps && Ps.createElement("template"),
  zF = {
    insert: (e, t, r) => {
      t.insertBefore(e, r || null);
    },
    remove: (e) => {
      const t = e.parentNode;
      t && t.removeChild(e);
    },
    createElement: (e, t, r, n) => {
      const A = t
        ? Ps.createElementNS(WF, e)
        : Ps.createElement(e, r ? { is: r } : void 0);
      return (
        e === "select" &&
          n &&
          n.multiple != null &&
          A.setAttribute("multiple", n.multiple),
        A
      );
    },
    createText: (e) => Ps.createTextNode(e),
    createComment: (e) => Ps.createComment(e),
    setText: (e, t) => {
      e.nodeValue = t;
    },
    setElementText: (e, t) => {
      e.textContent = t;
    },
    parentNode: (e) => e.parentNode,
    nextSibling: (e) => e.nextSibling,
    querySelector: (e) => Ps.querySelector(e),
    setScopeId(e, t) {
      e.setAttribute(t, "");
    },
    insertStaticContent(e, t, r, n, A, i) {
      const s = r ? r.previousSibling : t.lastChild;
      if (A && (A === i || A.nextSibling))
        for (
          ;
          t.insertBefore(A.cloneNode(!0), r),
            !(A === i || !(A = A.nextSibling));

        );
      else {
        pg.innerHTML = n ? `<svg>${e}</svg>` : e;
        const a = pg.content;
        if (n) {
          const o = a.firstChild;
          for (; o.firstChild; ) a.appendChild(o.firstChild);
          a.removeChild(o);
        }
        t.insertBefore(a, r);
      }
      return [
        s ? s.nextSibling : t.firstChild,
        r ? r.previousSibling : t.lastChild,
      ];
    },
  };
function jF(e, t, r) {
  const n = e._vtc;
  n && (t = (t ? [t, ...n] : [...n]).join(" ")),
    t == null
      ? e.removeAttribute("class")
      : r
        ? e.setAttribute("class", t)
        : (e.className = t);
}
function YF(e, t, r) {
  const n = e.style,
    A = jl(r);
  if (r && !A) {
    if (t && !jl(t)) for (const i in t) r[i] == null && _2(n, i, "");
    for (const i in r) _2(n, i, r[i]);
  } else {
    const i = n.display;
    A ? t !== r && (n.cssText = r) : t && e.removeAttribute("style"),
      "_vod" in e && (n.display = i);
  }
}
const gg = /\s*!important$/;
function _2(e, t, r) {
  if (mn(r)) r.forEach((n) => _2(e, t, n));
  else if ((r == null && (r = ""), t.startsWith("--"))) e.setProperty(t, r);
  else {
    const n = XF(e, t);
    gg.test(r)
      ? e.setProperty(Mi(n), r.replace(gg, ""), "important")
      : (e[n] = r);
  }
}
const vg = ["Webkit", "Moz", "ms"],
  v1 = {};
function XF(e, t) {
  const r = v1[t];
  if (r) return r;
  let n = iA(t);
  if (n !== "filter" && n in e) return (v1[t] = n);
  n = NF(n);
  for (let A = 0; A < vg.length; A++) {
    const i = vg[A] + n;
    if (i in e) return (v1[t] = i);
  }
  return t;
}
const mg = "http://www.w3.org/1999/xlink";
function JF(e, t, r, n, A) {
  if (n && t.startsWith("xlink:"))
    r == null
      ? e.removeAttributeNS(mg, t.slice(6, t.length))
      : e.setAttributeNS(mg, t, r);
  else {
    const i = VF(t);
    r == null || (i && !n3(r))
      ? e.removeAttribute(t)
      : e.setAttribute(t, i ? "" : r);
  }
}
function qF(e, t, r, n, A, i, s) {
  if (t === "innerHTML" || t === "textContent") {
    n && s(n, A, i), (e[t] = r ?? "");
    return;
  }
  const a = e.tagName;
  if (t === "value" && a !== "PROGRESS" && !a.includes("-")) {
    e._value = r;
    const l = a === "OPTION" ? e.getAttribute("value") : e.value,
      u = r ?? "";
    l !== u && (e.value = u), r == null && e.removeAttribute(t);
    return;
  }
  let o = !1;
  if (r === "" || r == null) {
    const l = typeof e[t];
    l === "boolean"
      ? (r = n3(r))
      : r == null && l === "string"
        ? ((r = ""), (o = !0))
        : l === "number" && ((r = 0), (o = !0));
  }
  try {
    e[t] = r;
  } catch {}
  o && e.removeAttribute(t);
}
function GA(e, t, r, n) {
  e.addEventListener(t, r, n);
}
function ZF(e, t, r, n) {
  e.removeEventListener(t, r, n);
}
function e_(e, t, r, n, A = null) {
  const i = e._vei || (e._vei = {}),
    s = i[t];
  if (n && s) s.value = n;
  else {
    const [a, o] = t_(t);
    if (n) {
      const l = (i[t] = A_(n, A));
      GA(e, a, l, o);
    } else s && (ZF(e, a, s, o), (i[t] = void 0));
  }
}
const Bg = /(?:Once|Passive|Capture)$/;
function t_(e) {
  let t;
  if (Bg.test(e)) {
    t = {};
    let n;
    for (; (n = e.match(Bg)); )
      (e = e.slice(0, e.length - n[0].length)), (t[n[0].toLowerCase()] = !0);
  }
  return [e[2] === ":" ? e.slice(3) : Mi(e.slice(2)), t];
}
let m1 = 0;
const r_ = Promise.resolve(),
  n_ = () => m1 || (r_.then(() => (m1 = 0)), (m1 = Date.now()));
function A_(e, t) {
  const r = (n) => {
    if (!n._vts) n._vts = Date.now();
    else if (n._vts <= r.attached) return;
    Qn(i_(n, r.value), t, 5, [n]);
  };
  return (r.value = e), (r.attached = n_()), r;
}
function i_(e, t) {
  if (mn(t)) {
    const r = e.stopImmediatePropagation;
    return (
      (e.stopImmediatePropagation = () => {
        r.call(e), (e._stopped = !0);
      }),
      t.map((n) => (A) => !A._stopped && n && n(A))
    );
  } else return t;
}
const wg = /^on[a-z]/,
  s_ = (e, t, r, n, A = !1, i, s, a, o) => {
    t === "class"
      ? jF(e, n, A)
      : t === "style"
        ? YF(e, r, n)
        : LF(t)
          ? kF(t) || e_(e, t, r, n, s)
          : (
                t[0] === "."
                  ? ((t = t.slice(1)), !0)
                  : t[0] === "^"
                    ? ((t = t.slice(1)), !1)
                    : a_(e, t, n, A)
              )
            ? qF(e, t, n, i, s, a, o)
            : (t === "true-value"
                ? (e._trueValue = n)
                : t === "false-value" && (e._falseValue = n),
              JF(e, t, n, A));
  };
function a_(e, t, r, n) {
  return n
    ? !!(
        t === "innerHTML" ||
        t === "textContent" ||
        (t in e && wg.test(t) && t3(r))
      )
    : t === "spellcheck" ||
        t === "draggable" ||
        t === "translate" ||
        t === "form" ||
        (t === "list" && e.tagName === "INPUT") ||
        (t === "type" && e.tagName === "TEXTAREA") ||
        (wg.test(t) && jl(r))
      ? !1
      : t in e;
}
function A3(e, t) {
  const r = et(e);
  class n extends nf {
    constructor(i) {
      super(r, i, t);
    }
  }
  return (n.def = r), n;
}
const o_ = (e) => A3(e, w3),
  l_ = typeof HTMLElement < "u" ? HTMLElement : class {};
class nf extends l_ {
  constructor(t, r = {}, n) {
    super(),
      (this._def = t),
      (this._props = r),
      (this._instance = null),
      (this._connected = !1),
      (this._resolved = !1),
      (this._numberProps = null),
      this.shadowRoot && n
        ? n(this._createVNode(), this.shadowRoot)
        : (this.attachShadow({ mode: "open" }),
          this._def.__asyncLoader || this._resolveProps(this._def));
  }
  connectedCallback() {
    (this._connected = !0),
      this._instance || (this._resolved ? this._update() : this._resolveDef());
  }
  disconnectedCallback() {
    (this._connected = !1),
      yt(() => {
        this._connected || (U2(null, this.shadowRoot), (this._instance = null));
      });
  }
  _resolveDef() {
    this._resolved = !0;
    for (let n = 0; n < this.attributes.length; n++)
      this._setAttr(this.attributes[n].name);
    new MutationObserver((n) => {
      for (const A of n) this._setAttr(A.attributeName);
    }).observe(this, { attributes: !0 });
    const t = (n, A = !1) => {
        const { props: i, styles: s } = n;
        let a;
        if (i && !mn(i))
          for (const o in i) {
            const l = i[o];
            (l === Number || (l && l.type === Number)) &&
              (o in this._props && (this._props[o] = F2(this._props[o])),
              ((a || (a = Object.create(null)))[g1(o)] = !0));
          }
        (this._numberProps = a),
          A && this._resolveProps(n),
          this._applyStyles(s),
          this._update();
      },
      r = this._def.__asyncLoader;
    r ? r().then((n) => t(n, !0)) : t(this._def);
  }
  _resolveProps(t) {
    const { props: r } = t,
      n = mn(r) ? r : Object.keys(r || {});
    for (const A of Object.keys(this))
      A[0] !== "_" && n.includes(A) && this._setProp(A, this[A], !0, !1);
    for (const A of n.map(g1))
      Object.defineProperty(this, A, {
        get() {
          return this._getProp(A);
        },
        set(i) {
          this._setProp(A, i);
        },
      });
  }
  _setAttr(t) {
    let r = this.getAttribute(t);
    const n = g1(t);
    this._numberProps && this._numberProps[n] && (r = F2(r)),
      this._setProp(n, r, !1);
  }
  _getProp(t) {
    return this._props[t];
  }
  _setProp(t, r, n = !0, A = !0) {
    r !== this._props[t] &&
      ((this._props[t] = r),
      A && this._instance && this._update(),
      n &&
        (r === !0
          ? this.setAttribute(Mi(t), "")
          : typeof r == "string" || typeof r == "number"
            ? this.setAttribute(Mi(t), r + "")
            : r || this.removeAttribute(Mi(t))));
  }
  _update() {
    U2(this._createVNode(), this.shadowRoot);
  }
  _createVNode() {
    const t = Z(this._def, g0({}, this._props));
    return (
      this._instance ||
        (t.ce = (r) => {
          (this._instance = r), (r.isCE = !0);
          const n = (i, s) => {
            this.dispatchEvent(new CustomEvent(i, { detail: s }));
          };
          r.emit = (i, ...s) => {
            n(i, s), Mi(i) !== i && n(Mi(i), s);
          };
          let A = this;
          for (; (A = A && (A.parentNode || A.host)); )
            if (A instanceof nf) {
              (r.parent = A._instance), (r.provides = A._instance.provides);
              break;
            }
        }),
      t
    );
  }
  _applyStyles(t) {
    t &&
      t.forEach((r) => {
        const n = document.createElement("style");
        (n.textContent = r), this.shadowRoot.appendChild(n);
      });
  }
}
function u_(e = "$style") {
  {
    const t = Wt();
    if (!t) return p1;
    const r = t.type.__cssModules;
    if (!r) return p1;
    const n = r[e];
    return n || p1;
  }
}
function c_(e) {
  const t = Wt();
  if (!t) return;
  const r = (t.ut = (A = e(t.proxy)) => {
      Array.from(
        document.querySelectorAll(`[data-v-owner="${t.uid}"]`),
      ).forEach((i) => Q2(i, A));
    }),
    n = () => {
      const A = e(t.proxy);
      S2(t.subTree, A), r(A);
    };
  g8(n),
    Zt(() => {
      const A = new MutationObserver(n);
      A.observe(t.subTree.el.parentNode, { childList: !0 }),
        ci(() => A.disconnect());
    });
}
function S2(e, t) {
  if (e.shapeFlag & 128) {
    const r = e.suspense;
    (e = r.activeBranch),
      r.pendingBranch &&
        !r.isHydrating &&
        r.effects.push(() => {
          S2(r.activeBranch, t);
        });
  }
  for (; e.component; ) e = e.component.subTree;
  if (e.shapeFlag & 1 && e.el) Q2(e.el, t);
  else if (e.type === Ar) e.children.forEach((r) => S2(r, t));
  else if (e.type === Vs) {
    let { el: r, anchor: n } = e;
    for (; r && (Q2(r, t), r !== n); ) r = r.nextSibling;
  }
}
function Q2(e, t) {
  if (e.nodeType === 1) {
    const r = e.style;
    for (const n in t) r.setProperty(`--${n}`, t[n]);
  }
}
const Fi = "transition",
  Wo = "animation",
  m0 = (e, { slots: t }) => Ur(m8, s3(e), t);
m0.displayName = "Transition";
const i3 = {
    name: String,
    type: String,
    css: { type: Boolean, default: !0 },
    duration: [String, Number, Object],
    enterFromClass: String,
    enterActiveClass: String,
    enterToClass: String,
    appearFromClass: String,
    appearActiveClass: String,
    appearToClass: String,
    leaveFromClass: String,
    leaveActiveClass: String,
    leaveToClass: String,
  },
  f_ = (m0.props = g0({}, g6, i3)),
  Fs = (e, t = []) => {
    mn(e) ? e.forEach((r) => r(...t)) : e && e(...t);
  },
  yg = (e) => (e ? (mn(e) ? e.some((t) => t.length > 1) : e.length > 1) : !1);
function s3(e) {
  const t = {};
  for (const L in e) L in i3 || (t[L] = e[L]);
  if (e.css === !1) return t;
  const {
      name: r = "v",
      type: n,
      duration: A,
      enterFromClass: i = `${r}-enter-from`,
      enterActiveClass: s = `${r}-enter-active`,
      enterToClass: a = `${r}-enter-to`,
      appearFromClass: o = i,
      appearActiveClass: l = s,
      appearToClass: u = a,
      leaveFromClass: f = `${r}-leave-from`,
      leaveActiveClass: d = `${r}-leave-active`,
      leaveToClass: g = `${r}-leave-to`,
    } = e,
    v = d_(A),
    B = v && v[0],
    y = v && v[1],
    {
      onBeforeEnter: w,
      onEnter: m,
      onEnterCancelled: x,
      onLeave: C,
      onLeaveCancelled: b,
      onBeforeAppear: F = w,
      onAppear: I = m,
      onAppearCancelled: T = x,
    } = t,
    D = (L, $, X) => {
      Ii(L, $ ? u : a), Ii(L, $ ? l : s), X && X();
    },
    U = (L, $) => {
      (L._isLeaving = !1), Ii(L, f), Ii(L, g), Ii(L, d), $ && $();
    },
    Q = (L) => ($, X) => {
      const V = L ? I : m,
        G = () => D($, L, X);
      Fs(V, [$, G]),
        Cg(() => {
          Ii($, L ? o : i), $A($, L ? u : a), yg(V) || xg($, n, B, G);
        });
    };
  return g0(t, {
    onBeforeEnter(L) {
      Fs(w, [L]), $A(L, i), $A(L, s);
    },
    onBeforeAppear(L) {
      Fs(F, [L]), $A(L, o), $A(L, l);
    },
    onEnter: Q(!1),
    onAppear: Q(!0),
    onLeave(L, $) {
      L._isLeaving = !0;
      const X = () => U(L, $);
      $A(L, f),
        o3(),
        $A(L, d),
        Cg(() => {
          L._isLeaving && (Ii(L, f), $A(L, g), yg(C) || xg(L, n, y, X));
        }),
        Fs(C, [L, X]);
    },
    onEnterCancelled(L) {
      D(L, !1), Fs(x, [L]);
    },
    onAppearCancelled(L) {
      D(L, !0), Fs(T, [L]);
    },
    onLeaveCancelled(L) {
      U(L), Fs(b, [L]);
    },
  });
}
function d_(e) {
  if (e == null) return null;
  if (E2(e)) return [B1(e.enter), B1(e.leave)];
  {
    const t = B1(e);
    return [t, t];
  }
}
function B1(e) {
  return F2(e);
}
function $A(e, t) {
  t.split(/\s+/).forEach((r) => r && e.classList.add(r)),
    (e._vtc || (e._vtc = new Set())).add(t);
}
function Ii(e, t) {
  t.split(/\s+/).forEach((n) => n && e.classList.remove(n));
  const { _vtc: r } = e;
  r && (r.delete(t), r.size || (e._vtc = void 0));
}
function Cg(e) {
  requestAnimationFrame(() => {
    requestAnimationFrame(e);
  });
}
let h_ = 0;
function xg(e, t, r, n) {
  const A = (e._endId = ++h_),
    i = () => {
      A === e._endId && n();
    };
  if (r) return setTimeout(i, r);
  const { type: s, timeout: a, propCount: o } = a3(e, t);
  if (!s) return n();
  const l = s + "end";
  let u = 0;
  const f = () => {
      e.removeEventListener(l, d), i();
    },
    d = (g) => {
      g.target === e && ++u >= o && f();
    };
  setTimeout(() => {
    u < o && f();
  }, a + 1),
    e.addEventListener(l, d);
}
function a3(e, t) {
  const r = window.getComputedStyle(e),
    n = (v) => (r[v] || "").split(", "),
    A = n(`${Fi}Delay`),
    i = n(`${Fi}Duration`),
    s = Eg(A, i),
    a = n(`${Wo}Delay`),
    o = n(`${Wo}Duration`),
    l = Eg(a, o);
  let u = null,
    f = 0,
    d = 0;
  t === Fi
    ? s > 0 && ((u = Fi), (f = s), (d = i.length))
    : t === Wo
      ? l > 0 && ((u = Wo), (f = l), (d = o.length))
      : ((f = Math.max(s, l)),
        (u = f > 0 ? (s > l ? Fi : Wo) : null),
        (d = u ? (u === Fi ? i.length : o.length) : 0));
  const g =
    u === Fi && /\b(transform|all)(,|$)/.test(n(`${Fi}Property`).toString());
  return { type: u, timeout: f, propCount: d, hasTransform: g };
}
function Eg(e, t) {
  for (; e.length < t.length; ) e = e.concat(e);
  return Math.max(...t.map((r, n) => bg(r) + bg(e[n])));
}
function bg(e) {
  return Number(e.slice(0, -1).replace(",", ".")) * 1e3;
}
function o3() {
  return document.body.offsetHeight;
}
const l3 = new WeakMap(),
  u3 = new WeakMap(),
  c3 = {
    name: "TransitionGroup",
    props: g0({}, f_, { tag: String, moveClass: String }),
    setup(e, { slots: t }) {
      const r = Wt(),
        n = p6();
      let A, i;
      return (
        Aa(() => {
          if (!A.length) return;
          const s = e.moveClass || `${e.name || "v"}-move`;
          if (!w_(A[0].el, r.vnode.el, s)) return;
          A.forEach(v_), A.forEach(m_);
          const a = A.filter(B_);
          o3(),
            a.forEach((o) => {
              const l = o.el,
                u = l.style;
              $A(l, s),
                (u.transform = u.webkitTransform = u.transitionDuration = "");
              const f = (l._moveCb = (d) => {
                (d && d.target !== l) ||
                  ((!d || /transform$/.test(d.propertyName)) &&
                    (l.removeEventListener("transitionend", f),
                    (l._moveCb = null),
                    Ii(l, s)));
              });
              l.addEventListener("transitionend", f);
            });
        }),
        () => {
          const s = Et(e),
            a = s3(s);
          let o = s.tag || Ar;
          (A = i), (i = t.default ? Yc(t.default()) : []);
          for (let l = 0; l < i.length; l++) {
            const u = i[l];
            u.key != null && Js(u, qa(u, a, n, r));
          }
          if (A)
            for (let l = 0; l < A.length; l++) {
              const u = A[l];
              Js(u, qa(u, a, n, r)), l3.set(u, u.el.getBoundingClientRect());
            }
          return Z(o, null, i);
        }
      );
    },
  },
  p_ = (e) => delete e.mode;
c3.props;
const g_ = c3;
function v_(e) {
  const t = e.el;
  t._moveCb && t._moveCb(), t._enterCb && t._enterCb();
}
function m_(e) {
  u3.set(e, e.el.getBoundingClientRect());
}
function B_(e) {
  const t = l3.get(e),
    r = u3.get(e),
    n = t.left - r.left,
    A = t.top - r.top;
  if (n || A) {
    const i = e.el.style;
    return (
      (i.transform = i.webkitTransform = `translate(${n}px,${A}px)`),
      (i.transitionDuration = "0s"),
      e
    );
  }
}
function w_(e, t, r) {
  const n = e.cloneNode();
  e._vtc &&
    e._vtc.forEach((s) => {
      s.split(/\s+/).forEach((a) => a && n.classList.remove(a));
    }),
    r.split(/\s+/).forEach((s) => s && n.classList.add(s)),
    (n.style.display = "none");
  const A = t.nodeType === 1 ? t : t.parentNode;
  A.appendChild(n);
  const { hasTransform: i } = a3(n);
  return A.removeChild(n), i;
}
const is = (e) => {
  const t = e.props["onUpdate:modelValue"] || !1;
  return mn(t) ? (r) => $F(t, r) : t;
};
function y_(e) {
  e.target.composing = !0;
}
function Fg(e) {
  const t = e.target;
  t.composing && ((t.composing = !1), t.dispatchEvent(new Event("input")));
}
const sc = {
    created(e, { modifiers: { lazy: t, trim: r, number: n } }, A) {
      e._assign = is(A);
      const i = n || (A.props && A.props.type === "number");
      GA(e, t ? "change" : "input", (s) => {
        if (s.target.composing) return;
        let a = e.value;
        r && (a = a.trim()), i && (a = b2(a)), e._assign(a);
      }),
        r &&
          GA(e, "change", () => {
            e.value = e.value.trim();
          }),
        t ||
          (GA(e, "compositionstart", y_),
          GA(e, "compositionend", Fg),
          GA(e, "change", Fg));
    },
    mounted(e, { value: t }) {
      e.value = t ?? "";
    },
    beforeUpdate(
      e,
      { value: t, modifiers: { lazy: r, trim: n, number: A } },
      i,
    ) {
      if (
        ((e._assign = is(i)),
        e.composing ||
          (document.activeElement === e &&
            e.type !== "range" &&
            (r ||
              (n && e.value.trim() === t) ||
              ((A || e.type === "number") && b2(e.value) === t))))
      )
        return;
      const s = t ?? "";
      e.value !== s && (e.value = s);
    },
  },
  S6 = {
    deep: !0,
    created(e, t, r) {
      (e._assign = is(r)),
        GA(e, "change", () => {
          const n = e._modelValue,
            A = eo(e),
            i = e.checked,
            s = e._assign;
          if (mn(n)) {
            const a = rf(n, A),
              o = a !== -1;
            if (i && !o) s(n.concat(A));
            else if (!i && o) {
              const l = [...n];
              l.splice(a, 1), s(l);
            }
          } else if (v0(n)) {
            const a = new Set(n);
            i ? a.add(A) : a.delete(A), s(a);
          } else s(d3(e, i));
        });
    },
    mounted: _g,
    beforeUpdate(e, t, r) {
      (e._assign = is(r)), _g(e, t, r);
    },
  };
function _g(e, { value: t, oldValue: r }, n) {
  (e._modelValue = t),
    mn(t)
      ? (e.checked = rf(t, n.props.value) > -1)
      : v0(t)
        ? (e.checked = t.has(n.props.value))
        : t !== r && (e.checked = As(t, d3(e, !0)));
}
const Q6 = {
    created(e, { value: t }, r) {
      (e.checked = As(t, r.props.value)),
        (e._assign = is(r)),
        GA(e, "change", () => {
          e._assign(eo(e));
        });
    },
    beforeUpdate(e, { value: t, oldValue: r }, n) {
      (e._assign = is(n)), t !== r && (e.checked = As(t, n.props.value));
    },
  },
  f3 = {
    deep: !0,
    created(e, { value: t, modifiers: { number: r } }, n) {
      const A = v0(t);
      GA(e, "change", () => {
        const i = Array.prototype.filter
          .call(e.options, (s) => s.selected)
          .map((s) => (r ? b2(eo(s)) : eo(s)));
        e._assign(e.multiple ? (A ? new Set(i) : i) : i[0]);
      }),
        (e._assign = is(n));
    },
    mounted(e, { value: t }) {
      Sg(e, t);
    },
    beforeUpdate(e, t, r) {
      e._assign = is(r);
    },
    updated(e, { value: t }) {
      Sg(e, t);
    },
  };
function Sg(e, t) {
  const r = e.multiple;
  if (!(r && !mn(t) && !v0(t))) {
    for (let n = 0, A = e.options.length; n < A; n++) {
      const i = e.options[n],
        s = eo(i);
      if (r) mn(t) ? (i.selected = rf(t, s) > -1) : (i.selected = t.has(s));
      else if (As(eo(i), t)) {
        e.selectedIndex !== n && (e.selectedIndex = n);
        return;
      }
    }
    !r && e.selectedIndex !== -1 && (e.selectedIndex = -1);
  }
}
function eo(e) {
  return "_value" in e ? e._value : e.value;
}
function d3(e, t) {
  const r = t ? "_trueValue" : "_falseValue";
  return r in e ? e[r] : t;
}
const h3 = {
  created(e, t, r) {
    J0(e, t, r, null, "created");
  },
  mounted(e, t, r) {
    J0(e, t, r, null, "mounted");
  },
  beforeUpdate(e, t, r, n) {
    J0(e, t, r, n, "beforeUpdate");
  },
  updated(e, t, r, n) {
    J0(e, t, r, n, "updated");
  },
};
function p3(e, t) {
  switch (e) {
    case "SELECT":
      return f3;
    case "TEXTAREA":
      return sc;
    default:
      switch (t) {
        case "checkbox":
          return S6;
        case "radio":
          return Q6;
        default:
          return sc;
      }
  }
}
function J0(e, t, r, n, A) {
  const s = p3(e.tagName, r.props && r.props.type)[A];
  s && s(e, t, r, n);
}
function C_() {
  (sc.getSSRProps = ({ value: e }) => ({ value: e })),
    (Q6.getSSRProps = ({ value: e }, t) => {
      if (t.props && As(t.props.value, e)) return { checked: !0 };
    }),
    (S6.getSSRProps = ({ value: e }, t) => {
      if (mn(e)) {
        if (t.props && rf(e, t.props.value) > -1) return { checked: !0 };
      } else if (v0(e)) {
        if (t.props && e.has(t.props.value)) return { checked: !0 };
      } else if (e) return { checked: !0 };
    }),
    (h3.getSSRProps = (e, t) => {
      if (typeof t.type != "string") return;
      const r = p3(t.type.toUpperCase(), t.props && t.props.type);
      if (r.getSSRProps) return r.getSSRProps(e, t);
    });
}
const x_ = ["ctrl", "shift", "alt", "meta"],
  E_ = {
    stop: (e) => e.stopPropagation(),
    prevent: (e) => e.preventDefault(),
    self: (e) => e.target !== e.currentTarget,
    ctrl: (e) => !e.ctrlKey,
    shift: (e) => !e.shiftKey,
    alt: (e) => !e.altKey,
    meta: (e) => !e.metaKey,
    left: (e) => "button" in e && e.button !== 0,
    middle: (e) => "button" in e && e.button !== 1,
    right: (e) => "button" in e && e.button !== 2,
    exact: (e, t) => x_.some((r) => e[`${r}Key`] && !t.includes(r)),
  },
  b_ =
    (e, t) =>
    (r, ...n) => {
      for (let A = 0; A < t.length; A++) {
        const i = E_[t[A]];
        if (i && i(r, t)) return;
      }
      return e(r, ...n);
    },
  F_ = {
    esc: "escape",
    space: " ",
    up: "arrow-up",
    left: "arrow-left",
    right: "arrow-right",
    down: "arrow-down",
    delete: "backspace",
  },
  g3 = (e, t) => (r) => {
    if (!("key" in r)) return;
    const n = Mi(r.key);
    if (t.some((A) => A === n || F_[A] === n)) return e(r);
  },
  ss = {
    beforeMount(e, { value: t }, { transition: r }) {
      (e._vod = e.style.display === "none" ? "" : e.style.display),
        r && t ? r.beforeEnter(e) : zo(e, t);
    },
    mounted(e, { value: t }, { transition: r }) {
      r && t && r.enter(e);
    },
    updated(e, { value: t, oldValue: r }, { transition: n }) {
      !t != !r &&
        (n
          ? t
            ? (n.beforeEnter(e), zo(e, !0), n.enter(e))
            : n.leave(e, () => {
                zo(e, !1);
              })
          : zo(e, t));
    },
    beforeUnmount(e, { value: t }) {
      zo(e, t);
    },
  };
function zo(e, t) {
  e.style.display = t ? e._vod : "none";
}
function __() {
  ss.getSSRProps = ({ value: e }) => {
    if (!e) return { style: { display: "none" } };
  };
}
const v3 = g0({ patchProp: s_ }, zF);
let bl,
  Qg = !1;
function m3() {
  return bl || (bl = k8(v3));
}
function B3() {
  return (bl = Qg ? bl : H8(v3)), (Qg = !0), bl;
}
const U2 = (...e) => {
    m3().render(...e);
  },
  w3 = (...e) => {
    B3().hydrate(...e);
  },
  y3 = (...e) => {
    const t = m3().createApp(...e),
      { mount: r } = t;
    return (
      (t.mount = (n) => {
        const A = C3(n);
        if (!A) return;
        const i = t._component;
        !t3(i) && !i.render && !i.template && (i.template = A.innerHTML),
          (A.innerHTML = "");
        const s = r(A, !1, A instanceof SVGElement);
        return (
          A instanceof Element &&
            (A.removeAttribute("v-cloak"), A.setAttribute("data-v-app", "")),
          s
        );
      }),
      t
    );
  },
  S_ = (...e) => {
    const t = B3().createApp(...e),
      { mount: r } = t;
    return (
      (t.mount = (n) => {
        const A = C3(n);
        if (A) return r(A, !0, A instanceof SVGElement);
      }),
      t
    );
  };
function C3(e) {
  return jl(e) ? document.querySelector(e) : e;
}
let Ug = !1;
const Q_ = () => {
    Ug || ((Ug = !0), C_(), __());
  },
  U_ = () => {},
  T_ = Object.freeze(
    Object.defineProperty(
      {
        __proto__: null,
        BaseTransition: m8,
        BaseTransitionPropsValidators: g6,
        Comment: Yr,
        EffectScope: e6,
        Fragment: Ar,
        KeepAlive: Qb,
        ReactiveEffect: f0,
        Static: Vs,
        Suspense: mb,
        Teleport: R8,
        Text: rs,
        Transition: m0,
        TransitionGroup: g_,
        VueElement: nf,
        assertNumber: Ab,
        callWithAsyncErrorHandling: Qn,
        callWithErrorHandling: YA,
        camelize: iA,
        capitalize: kc,
        cloneVNode: xA,
        compatUtils: DF,
        compile: U_,
        computed: Oe,
        createApp: y3,
        createBlock: x6,
        createCommentVNode: wF,
        createElementBlock: gF,
        createElementVNode: E6,
        createHydrationRenderer: H8,
        createPropsRestProxy: Jb,
        createRenderer: k8,
        createSSRApp: S_,
        createSlots: Ob,
        createStaticVNode: BF,
        createTextVNode: ef,
        createVNode: Z,
        customRef: o6,
        defineAsyncComponent: _b,
        defineComponent: et,
        defineCustomElement: A3,
        defineEmits: Rb,
        defineExpose: Nb,
        defineModel: Vb,
        defineOptions: $b,
        defineProps: Mb,
        defineSSRCustomElement: o_,
        defineSlots: Kb,
        get devtools() {
          return Pa;
        },
        effect: BE,
        effectScope: Hc,
        getCurrentInstance: Wt,
        getCurrentScope: c0,
        getTransitionRawChildren: Yc,
        guardReactiveProps: G8,
        h: Ur,
        handleError: na,
        hasInjectionContext: T8,
        hydrate: w3,
        initCustomFormatter: SF,
        initDirectivesForSSR: Q_,
        inject: dr,
        isMemoSame: Z8,
        isProxy: A6,
        isReactive: jA,
        isReadonly: Xs,
        isRef: Nt,
        isRuntimeOnly: bF,
        isShallow: Rl,
        isVNode: ni,
        markRaw: d0,
        mergeDefaults: Yb,
        mergeModels: Xb,
        mergeProps: $t,
        nextTick: yt,
        normalizeClass: u0,
        normalizeProps: pE,
        normalizeStyle: l0,
        onActivated: cs,
        onBeforeMount: v6,
        onBeforeUnmount: Tn,
        onBeforeUpdate: Jc,
        onDeactivated: li,
        onErrorCaptured: E8,
        onMounted: Zt,
        onRenderTracked: x8,
        onRenderTriggered: C8,
        onScopeDispose: t6,
        onServerPrefetch: y8,
        onUnmounted: ci,
        onUpdated: Aa,
        openBlock: qc,
        popScopeId: cb,
        provide: nA,
        proxyRefs: a6,
        pushScopeId: ub,
        queuePostFlushCb: c6,
        reactive: Rt,
        readonly: Co,
        ref: Ue,
        registerRuntimeCompiler: EF,
        render: U2,
        renderList: Pb,
        renderSlot: Lb,
        resolveComponent: Ib,
        resolveDirective: F8,
        resolveDynamicComponent: Db,
        resolveFilter: IF,
        resolveTransitionHooks: qa,
        setBlockTracking: w2,
        setDevtoolsHook: f8,
        setTransitionHooks: Js,
        shallowReactive: i8,
        shallowReadonly: zE,
        shallowRef: Vc,
        ssrContextKey: J8,
        ssrUtils: TF,
        stop: wE,
        toDisplayString: gE,
        toHandlerKey: wl,
        toHandlers: kb,
        toRaw: Et,
        toRef: a8,
        toRefs: l6,
        toValue: XE,
        transformVNodeArgs: vF,
        triggerRef: YE,
        unref: pn,
        useAttrs: zb,
        useCssModule: u_,
        useCssVars: c_,
        useModel: jb,
        useSSRContext: q8,
        useSlots: Wb,
        useTransitionState: p6,
        vModelCheckbox: S6,
        vModelDynamic: h3,
        vModelRadio: Q6,
        vModelSelect: f3,
        vModelText: sc,
        vShow: ss,
        version: e3,
        warn: nb,
        watch: Ye,
        watchEffect: jc,
        watchPostEffect: g8,
        watchSyncEffect: Eb,
        withAsyncContext: qb,
        withCtx: f6,
        withDefaults: Gb,
        withDirectives: ts,
        withKeys: g3,
        withMemo: QF,
        withModifiers: b_,
        withScopeId: fb,
      },
      Symbol.toStringTag,
      { value: "Module" },
    ),
  );
var I_ = !1;
/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */ let x3;
const Af = (e) => (x3 = e),
  E3 = Symbol();
function T2(e) {
  return (
    e &&
    typeof e == "object" &&
    Object.prototype.toString.call(e) === "[object Object]" &&
    typeof e.toJSON != "function"
  );
}
var Fl;
(function (e) {
  (e.direct = "direct"),
    (e.patchObject = "patch object"),
    (e.patchFunction = "patch function");
})(Fl || (Fl = {}));
function Rte() {
  const e = Hc(!0),
    t = e.run(() => Ue({}));
  let r = [],
    n = [];
  const A = d0({
    install(i) {
      Af(A),
        (A._a = i),
        i.provide(E3, A),
        (i.config.globalProperties.$pinia = A),
        n.forEach((s) => r.push(s)),
        (n = []);
    },
    use(i) {
      return !this._a && !I_ ? n.push(i) : r.push(i), this;
    },
    _p: r,
    _a: null,
    _e: e,
    _s: new Map(),
    state: t,
  });
  return A;
}
const b3 = () => {};
function Tg(e, t, r, n = b3) {
  e.push(t);
  const A = () => {
    const i = e.indexOf(t);
    i > -1 && (e.splice(i, 1), n());
  };
  return !r && c0() && t6(A), A;
}
function Ba(e, ...t) {
  e.slice().forEach((r) => {
    r(...t);
  });
}
const D_ = (e) => e();
function I2(e, t) {
  e instanceof Map && t instanceof Map && t.forEach((r, n) => e.set(n, r)),
    e instanceof Set && t instanceof Set && t.forEach(e.add, e);
  for (const r in t) {
    if (!t.hasOwnProperty(r)) continue;
    const n = t[r],
      A = e[r];
    T2(A) && T2(n) && e.hasOwnProperty(r) && !Nt(n) && !jA(n)
      ? (e[r] = I2(A, n))
      : (e[r] = n);
  }
  return e;
}
const P_ = Symbol();
function O_(e) {
  return !T2(e) || !e.hasOwnProperty(P_);
}
const { assign: Di } = Object;
function L_(e) {
  return !!(Nt(e) && e.effect);
}
function k_(e, t, r, n) {
  const { state: A, actions: i, getters: s } = t,
    a = r.state.value[e];
  let o;
  function l() {
    a || (r.state.value[e] = A ? A() : {});
    const u = l6(r.state.value[e]);
    return Di(
      u,
      i,
      Object.keys(s || {}).reduce(
        (f, d) => (
          (f[d] = d0(
            Oe(() => {
              Af(r);
              const g = r._s.get(e);
              return s[d].call(g, g);
            }),
          )),
          f
        ),
        {},
      ),
    );
  }
  return (o = F3(e, l, t, r, n, !0)), o;
}
function F3(e, t, r = {}, n, A, i) {
  let s;
  const a = Di({ actions: {} }, r),
    o = { deep: !0 };
  let l,
    u,
    f = [],
    d = [],
    g;
  const v = n.state.value[e];
  !i && !v && (n.state.value[e] = {}), Ue({});
  let B;
  function y(T) {
    let D;
    (l = u = !1),
      typeof T == "function"
        ? (T(n.state.value[e]),
          (D = { type: Fl.patchFunction, storeId: e, events: g }))
        : (I2(n.state.value[e], T),
          (D = { type: Fl.patchObject, payload: T, storeId: e, events: g }));
    const U = (B = Symbol());
    yt().then(() => {
      B === U && (l = !0);
    }),
      (u = !0),
      Ba(f, D, n.state.value[e]);
  }
  const w = i
    ? function () {
        const { state: D } = r,
          U = D ? D() : {};
        this.$patch((Q) => {
          Di(Q, U);
        });
      }
    : b3;
  function m() {
    s.stop(), (f = []), (d = []), n._s.delete(e);
  }
  function x(T, D) {
    return function () {
      Af(n);
      const U = Array.from(arguments),
        Q = [],
        L = [];
      function $(G) {
        Q.push(G);
      }
      function X(G) {
        L.push(G);
      }
      Ba(d, { args: U, name: T, store: b, after: $, onError: X });
      let V;
      try {
        V = D.apply(this && this.$id === e ? this : b, U);
      } catch (G) {
        throw (Ba(L, G), G);
      }
      return V instanceof Promise
        ? V.then((G) => (Ba(Q, G), G)).catch(
            (G) => (Ba(L, G), Promise.reject(G)),
          )
        : (Ba(Q, V), V);
    };
  }
  const C = {
      _p: n,
      $id: e,
      $onAction: Tg.bind(null, d),
      $patch: y,
      $reset: w,
      $subscribe(T, D = {}) {
        const U = Tg(f, T, D.detached, () => Q()),
          Q = s.run(() =>
            Ye(
              () => n.state.value[e],
              (L) => {
                (D.flush === "sync" ? u : l) &&
                  T({ storeId: e, type: Fl.direct, events: g }, L);
              },
              Di({}, o, D),
            ),
          );
        return U;
      },
      $dispose: m,
    },
    b = Rt(C);
  n._s.set(e, b);
  const I = ((n._a && n._a.runWithContext) || D_)(() =>
    n._e.run(() => (s = Hc()).run(t)),
  );
  for (const T in I) {
    const D = I[T];
    if ((Nt(D) && !L_(D)) || jA(D))
      i ||
        (v && O_(D) && (Nt(D) ? (D.value = v[T]) : I2(D, v[T])),
        (n.state.value[e][T] = D));
    else if (typeof D == "function") {
      const U = x(T, D);
      (I[T] = U), (a.actions[T] = D);
    }
  }
  return (
    Di(b, I),
    Di(Et(b), I),
    Object.defineProperty(b, "$state", {
      get: () => n.state.value[e],
      set: (T) => {
        y((D) => {
          Di(D, T);
        });
      },
    }),
    n._p.forEach((T) => {
      Di(
        b,
        s.run(() => T({ store: b, app: n._a, pinia: n, options: a })),
      );
    }),
    v && i && r.hydrate && r.hydrate(b.$state, v),
    (l = !0),
    (u = !0),
    b
  );
}
function Nte(e, t, r) {
  let n, A;
  const i = typeof t == "function";
  typeof e == "string" ? ((n = e), (A = i ? r : t)) : ((A = e), (n = e.id));
  function s(a, o) {
    const l = T8();
    return (
      (a = a || (l ? dr(E3, null) : null)),
      a && Af(a),
      (a = x3),
      a._s.has(n) || (i ? F3(n, t, A, a) : k_(n, A, a)),
      a._s.get(n)
    );
  }
  return (s.$id = n), s;
}
(function (e, t) {
  var r = e.document,
    n = r.documentElement,
    A = r.querySelector('meta[name="viewport"]'),
    i = r.querySelector('meta[name="flexible"]'),
    s = 0,
    a = 0,
    o,
    l = t.flexible || (t.flexible = {});
  if (A) {
    console.warn("");
    var u = A.getAttribute("content").match(/initial\-scale=([\d\.]+)/);
    u && ((a = parseFloat(u[1])), (s = parseInt(1 / a)));
  } else if (i) {
    var f = i.getAttribute("content");
    if (f) {
      var d = f.match(/initial\-dpr=([\d\.]+)/),
        g = f.match(/maximum\-dpr=([\d\.]+)/);
      d && ((s = parseFloat(d[1])), (a = parseFloat((1 / s).toFixed(2)))),
        g && ((s = parseFloat(g[1])), (a = parseFloat((1 / s).toFixed(2))));
    }
  }
  if (!s && !a) {
    e.navigator.appVersion.match(/android/gi);
    var v = e.navigator.appVersion.match(/iphone/gi),
      B = e.devicePixelRatio;
    v
      ? B >= 3 && (!s || s >= 3)
        ? (s = 3)
        : B >= 2 && (!s || s >= 2)
          ? (s = 2)
          : (s = 1)
      : (s = 1),
      (a = 1 / s);
  }
  if ((n.setAttribute("data-dpr", s), !A))
    if (
      ((A = r.createElement("meta")),
      A.setAttribute("name", "viewport"),
      A.setAttribute(
        "content",
        "initial-scale=" +
          a +
          ", maximum-scale=" +
          a +
          ", minimum-scale=" +
          a +
          ", user-scalable=no",
      ),
      n.firstElementChild)
    )
      n.firstElementChild.appendChild(A);
    else {
      var y = r.createElement("div");
      y.appendChild(A), r.write(y.innerHTML);
    }
  function w() {
    var m = n.getBoundingClientRect().width;
    m / s > 540 && (m = 540 * s);
    var x = m / 10;
    (n.style.fontSize = x + "px"), (l.rem = e.rem = x);
  }
  e.addEventListener(
    "resize",
    function () {
      clearTimeout(o), (o = setTimeout(w, 300));
    },
    !1,
  ),
    e.addEventListener(
      "pageshow",
      function (m) {
        m.persisted && (clearTimeout(o), (o = setTimeout(w, 300)));
      },
      !1,
    ),
    r.readyState === "complete"
      ? (r.body.style.fontSize = 12 * s + "px")
      : r.addEventListener(
          "DOMContentLoaded",
          function (m) {
            r.body.style.fontSize = 12 * s + "px";
          },
          !1,
        ),
    w(),
    (l.dpr = e.dpr = s),
    (l.refreshRem = w),
    (l.rem2px = function (m) {
      var x = parseFloat(m) * this.rem;
      return typeof m == "string" && m.match(/rem$/) && (x += "px"), x;
    }),
    (l.px2rem = function (m) {
      var x = parseFloat(m) / this.rem;
      return typeof m == "string" && m.match(/px$/) && (x += "rem"), x;
    });
})(window, window.lib || (window.lib = {}));
function H_(e) {
  return typeof e == "object" && e !== null;
}
function Ig(e, t) {
  return (
    (e = H_(e) ? e : Object.create(null)),
    new Proxy(e, {
      get(r, n, A) {
        return n === "key"
          ? Reflect.get(r, n, A)
          : Reflect.get(r, n, A) || Reflect.get(t, n, A);
      },
    })
  );
}
function M_(e, t) {
  return t.reduce((r, n) => (r == null ? void 0 : r[n]), e);
}
function R_(e, t, r) {
  return (
    (t
      .slice(0, -1)
      .reduce(
        (n, A) => (/^(__proto__)$/.test(A) ? {} : (n[A] = n[A] || {})),
        e,
      )[t[t.length - 1]] = r),
    e
  );
}
function N_(e, t) {
  return t.reduce((r, n) => {
    const A = n.split(".");
    return R_(r, A, M_(e, A));
  }, {});
}
function Dg(e, { storage: t, serializer: r, key: n, debug: A }) {
  try {
    const i = t == null ? void 0 : t.getItem(n);
    i && e.$patch(r == null ? void 0 : r.deserialize(i));
  } catch (i) {
    A && console.error(i);
  }
}
function Pg(e, { storage: t, serializer: r, key: n, paths: A, debug: i }) {
  try {
    const s = Array.isArray(A) ? N_(e, A) : e;
    t.setItem(n, r.serialize(s));
  } catch (s) {
    i && console.error(s);
  }
}
function $_(e = {}) {
  return (t) => {
    const { auto: r = !1 } = e,
      {
        options: { persist: n = r },
        store: A,
        pinia: i,
      } = t;
    if (!n) return;
    if (!(A.$id in i.state.value)) {
      const a = i._s.get(A.$id.replace("__hot:", ""));
      a && Promise.resolve().then(() => a.$persist());
      return;
    }
    const s = (Array.isArray(n) ? n.map((a) => Ig(a, e)) : [Ig(n, e)]).map(
      ({
        storage: a = localStorage,
        beforeRestore: o = null,
        afterRestore: l = null,
        serializer: u = { serialize: JSON.stringify, deserialize: JSON.parse },
        key: f = A.$id,
        paths: d = null,
        debug: g = !1,
      }) => {
        var v;
        return {
          storage: a,
          beforeRestore: o,
          afterRestore: l,
          serializer: u,
          key: ((v = e.key) != null ? v : (B) => B)(
            typeof f == "string" ? f : f(A.$id),
          ),
          paths: d,
          debug: g,
        };
      },
    );
    (A.$persist = () => {
      s.forEach((a) => {
        Pg(A.$state, a);
      });
    }),
      (A.$hydrate = ({ runHooks: a = !0 } = {}) => {
        s.forEach((o) => {
          const { beforeRestore: l, afterRestore: u } = o;
          a && (l == null || l(t)), Dg(A, o), a && (u == null || u(t));
        });
      }),
      s.forEach((a) => {
        const { beforeRestore: o, afterRestore: l } = a;
        o == null || o(t),
          Dg(A, a),
          l == null || l(t),
          A.$subscribe(
            (u, f) => {
              Pg(f, a);
            },
            { detached: !0 },
          );
      });
  };
}
var $te = $_(),
  pt =
    typeof globalThis < "u"
      ? globalThis
      : typeof window < "u"
        ? window
        : typeof global < "u"
          ? global
          : typeof self < "u"
            ? self
            : {};
function xo(e) {
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default")
    ? e.default
    : e;
}
function U6(e) {
  if (e.__esModule) return e;
  var t = e.default;
  if (typeof t == "function") {
    var r = function n() {
      return this instanceof n
        ? Reflect.construct(t, arguments, this.constructor)
        : t.apply(this, arguments);
    };
    r.prototype = t.prototype;
  } else r = {};
  return (
    Object.defineProperty(r, "__esModule", { value: !0 }),
    Object.keys(e).forEach(function (n) {
      var A = Object.getOwnPropertyDescriptor(e, n);
      Object.defineProperty(
        r,
        n,
        A.get
          ? A
          : {
              enumerable: !0,
              get: function () {
                return e[n];
              },
            },
      );
    }),
    r
  );
}
const Yt = U6(T_);
var _3 = { exports: {} },
  T6 = Object.defineProperty,
  K_ = Object.getOwnPropertyDescriptor,
  V_ = Object.getOwnPropertyNames,
  G_ = Object.prototype.hasOwnProperty,
  W_ = (e, t) => {
    for (var r in t) T6(e, r, { get: t[r], enumerable: !0 });
  },
  z_ = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of V_(t))
        !G_.call(e, A) &&
          A !== r &&
          T6(e, A, {
            get: () => t[A],
            enumerable: !(n = K_(t, A)) || n.enumerable,
          });
    return e;
  },
  j_ = (e) => z_(T6({}, "__esModule", { value: !0 }), e),
  S3 = {};
W_(S3, {
  extend: () => X_,
  get: () => nS,
  inBrowser: () => Q3,
  isDate: () => Z_,
  isDef: () => J_,
  isFunction: () => D2,
  isIOS: () => rS,
  isMobile: () => eS,
  isNumeric: () => tS,
  isObject: () => I6,
  isPromise: () => q_,
  isSameValue: () => iS,
  noop: () => Y_,
  pick: () => AS,
  toArray: () => sS,
});
var fs = j_(S3);
function Y_() {}
const X_ = Object.assign,
  Q3 = typeof window < "u",
  I6 = (e) => e !== null && typeof e == "object",
  J_ = (e) => e != null,
  D2 = (e) => typeof e == "function",
  q_ = (e) => I6(e) && D2(e.then) && D2(e.catch),
  Z_ = (e) =>
    Object.prototype.toString.call(e) === "[object Date]" &&
    !Number.isNaN(e.getTime());
function eS(e) {
  return (
    (e = e.replace(/[^-|\d]/g, "")),
    /^((\+86)|(86))?(1)\d{10}$/.test(e) || /^0[0-9-]{10,13}$/.test(e)
  );
}
const tS = (e) => typeof e == "number" || /^\d+(\.\d+)?$/.test(e),
  rS = () =>
    Q3 ? /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()) : !1;
function nS(e, t) {
  const r = t.split(".");
  let n = e;
  return (
    r.forEach((A) => {
      var i;
      n = I6(n) && (i = n[A]) != null ? i : "";
    }),
    n
  );
}
function AS(e, t, r) {
  return t.reduce((n, A) => ((!r || e[A] !== void 0) && (n[A] = e[A]), n), {});
}
const iS = (e, t) => JSON.stringify(e) === JSON.stringify(t),
  sS = (e) => (Array.isArray(e) ? e : [e]);
var D6 = Object.defineProperty,
  aS = Object.getOwnPropertyDescriptor,
  oS = Object.getOwnPropertyNames,
  lS = Object.prototype.hasOwnProperty,
  uS = (e, t) => {
    for (var r in t) D6(e, r, { get: t[r], enumerable: !0 });
  },
  cS = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of oS(t))
        !lS.call(e, A) &&
          A !== r &&
          D6(e, A, {
            get: () => t[A],
            enumerable: !(n = aS(t, A)) || n.enumerable,
          });
    return e;
  },
  fS = (e) => cS(D6({}, "__esModule", { value: !0 }), e),
  U3 = {};
uS(U3, {
  makeArrayProp: () => vS,
  makeNumberProp: () => mS,
  makeNumericProp: () => BS,
  makeRequiredProp: () => gS,
  makeStringProp: () => wS,
  numericProp: () => T3,
  truthProp: () => pS,
  unknownProp: () => hS,
});
var dS = fS(U3);
const hS = null,
  T3 = [Number, String],
  pS = { type: Boolean, default: !0 },
  gS = (e) => ({ type: e, required: !0 }),
  vS = () => ({ type: Array, default: () => [] }),
  mS = (e) => ({ type: Number, default: e }),
  BS = (e) => ({ type: T3, default: e }),
  wS = (e) => ({ type: String, default: e });
var EA = typeof window < "u",
  yS = !0;
function nn(e) {
  return EA ? requestAnimationFrame(e) : -1;
}
function B0(e) {
  EA && cancelAnimationFrame(e);
}
function Hs(e) {
  nn(() => nn(e));
}
var CS = (e) => e === window,
  Og = (e, t) => ({
    top: 0,
    left: 0,
    right: e,
    bottom: t,
    width: e,
    height: t,
  }),
  Ir = (e) => {
    const t = pn(e);
    if (CS(t)) {
      const r = t.innerWidth,
        n = t.innerHeight;
      return Og(r, n);
    }
    return t != null && t.getBoundingClientRect
      ? t.getBoundingClientRect()
      : Og(0, 0);
  };
function I3(e = !1) {
  const t = Ue(e);
  return [
    t,
    (n = !t.value) => {
      t.value = n;
    },
  ];
}
function In(e) {
  const t = dr(e, null);
  if (t) {
    const r = Wt(),
      { link: n, unlink: A, internalChildren: i } = t;
    n(r), ci(() => A(r));
    const s = Oe(() => i.indexOf(r));
    return { parent: t, index: s };
  }
  return { parent: null, index: Ue(-1) };
}
function D3(e) {
  const t = [],
    r = (n) => {
      Array.isArray(n) &&
        n.forEach((A) => {
          var i;
          ni(A) &&
            (t.push(A),
            (i = A.component) != null &&
              i.subTree &&
              (t.push(A.component.subTree), r(A.component.subTree.children)),
            A.children && r(A.children));
        });
    };
  return r(e), t;
}
var Lg = (e, t) => {
  const r = e.indexOf(t);
  return r === -1
    ? e.findIndex(
        (n) =>
          t.key !== void 0 &&
          t.key !== null &&
          n.type === t.type &&
          n.key === t.key,
      )
    : r;
};
function P3(e, t, r) {
  const n = D3(e.subTree.children);
  r.sort((i, s) => Lg(n, i.vnode) - Lg(n, s.vnode));
  const A = r.map((i) => i.proxy);
  t.sort((i, s) => {
    const a = A.indexOf(i),
      o = A.indexOf(s);
    return a - o;
  });
}
function bA(e) {
  const t = Rt([]),
    r = Rt([]),
    n = Wt();
  return {
    children: t,
    linkChildren: (i) => {
      nA(
        e,
        Object.assign(
          {
            link: (o) => {
              o.proxy && (r.push(o), t.push(o.proxy), P3(n, t, r));
            },
            unlink: (o) => {
              const l = r.indexOf(o);
              t.splice(l, 1), r.splice(l, 1);
            },
            children: t,
            internalChildren: r,
          },
          i,
        ),
      );
    },
  };
}
var P2 = 1e3,
  O2 = 60 * P2,
  L2 = 60 * O2,
  kg = 24 * L2;
function xS(e) {
  const t = Math.floor(e / kg),
    r = Math.floor((e % kg) / L2),
    n = Math.floor((e % L2) / O2),
    A = Math.floor((e % O2) / P2),
    i = Math.floor(e % P2);
  return {
    total: e,
    days: t,
    hours: r,
    minutes: n,
    seconds: A,
    milliseconds: i,
  };
}
function ES(e, t) {
  return Math.floor(e / 1e3) === Math.floor(t / 1e3);
}
function O3(e) {
  let t, r, n, A;
  const i = Ue(e.time),
    s = Oe(() => xS(i.value)),
    a = () => {
      (n = !1), B0(t);
    },
    o = () => Math.max(r - Date.now(), 0),
    l = (B) => {
      var y, w;
      (i.value = B),
        (y = e.onChange) == null || y.call(e, s.value),
        B === 0 && (a(), (w = e.onFinish) == null || w.call(e));
    },
    u = () => {
      t = nn(() => {
        n && (l(o()), i.value > 0 && u());
      });
    },
    f = () => {
      t = nn(() => {
        if (n) {
          const B = o();
          (!ES(B, i.value) || B === 0) && l(B), i.value > 0 && f();
        }
      });
    },
    d = () => {
      EA && (e.millisecond ? u() : f());
    },
    g = () => {
      n || ((r = Date.now() + i.value), (n = !0), d());
    },
    v = (B = e.time) => {
      a(), (i.value = B);
    };
  return (
    Tn(a),
    cs(() => {
      A && ((n = !0), (A = !1), d());
    }),
    li(() => {
      n && (a(), (A = !0));
    }),
    { start: g, pause: a, reset: v, current: s }
  );
}
function Eo(e) {
  let t;
  Zt(() => {
    e(),
      yt(() => {
        t = !0;
      });
  }),
    cs(() => {
      t && e();
    });
}
function wn(e, t, r = {}) {
  if (!EA) return;
  const { target: n = window, passive: A = !1, capture: i = !1 } = r;
  let s = !1,
    a;
  const o = (f) => {
      if (s) return;
      const d = pn(f);
      d &&
        !a &&
        (d.addEventListener(e, t, { capture: i, passive: A }), (a = !0));
    },
    l = (f) => {
      if (s) return;
      const d = pn(f);
      d && a && (d.removeEventListener(e, t, i), (a = !1));
    };
  ci(() => l(n)), li(() => l(n)), Eo(() => o(n));
  let u;
  return (
    Nt(n) &&
      (u = Ye(n, (f, d) => {
        l(d), o(f);
      })),
    () => {
      u == null || u(), l(n), (s = !0);
    }
  );
}
function L3(e, t, r = {}) {
  if (!EA) return;
  const { eventName: n = "click" } = r;
  wn(
    n,
    (i) => {
      (Array.isArray(e) ? e : [e]).every((o) => {
        const l = pn(o);
        return l && !l.contains(i.target);
      }) && t(i);
    },
    { target: document },
  );
}
var q0, w1;
function k3() {
  if (!q0 && ((q0 = Ue(0)), (w1 = Ue(0)), EA)) {
    const e = () => {
      (q0.value = window.innerWidth), (w1.value = window.innerHeight);
    };
    e(),
      window.addEventListener("resize", e, { passive: !0 }),
      window.addEventListener("orientationchange", e, { passive: !0 });
  }
  return { width: q0, height: w1 };
}
var bS = /scroll|auto|overlay/i,
  H3 = EA ? window : void 0;
function FS(e) {
  return e.tagName !== "HTML" && e.tagName !== "BODY" && e.nodeType === 1;
}
function P6(e, t = H3) {
  let r = e;
  for (; r && r !== t && FS(r); ) {
    const { overflowY: n } = window.getComputedStyle(r);
    if (bS.test(n)) return r;
    r = r.parentNode;
  }
  return t;
}
function w0(e, t = H3) {
  const r = Ue();
  return (
    Zt(() => {
      e.value && (r.value = P6(e.value, t));
    }),
    r
  );
}
var Z0;
function M3() {
  if (!Z0 && ((Z0 = Ue("visible")), EA)) {
    const e = () => {
      Z0.value = document.hidden ? "hidden" : "visible";
    };
    e(), window.addEventListener("visibilitychange", e);
  }
  return Z0;
}
var O6 = Symbol("van-field");
function bo(e) {
  const t = dr(O6, null);
  t &&
    !t.customValue.value &&
    ((t.customValue.value = e),
    Ye(e, () => {
      t.resetValidation(), t.validateWithTrigger("onChange");
    }));
}
function _S(e, t) {
  if (EA) {
    const { interval: r = 0, isLoop: n = !1 } = t || {};
    let A,
      i = !1,
      s;
    const a = () => {
        (i = !0), cancelAnimationFrame(s);
      },
      o = (l) => {
        if (!i) {
          if (A === void 0) A = l;
          else if (l - A > r && (e(l), (A = l), !n)) {
            a();
            return;
          }
          s = requestAnimationFrame(o);
        }
      };
    return (s = requestAnimationFrame(o)), a;
  }
  return () => {};
}
const SS = Object.freeze(
    Object.defineProperty(
      {
        __proto__: null,
        CUSTOM_FIELD_INJECTION_KEY: O6,
        cancelRaf: B0,
        doubleRaf: Hs,
        flattenVNodes: D3,
        getScrollParent: P6,
        inBrowser: EA,
        onMountedOrActivated: Eo,
        raf: nn,
        sortChildren: P3,
        supportsPassive: yS,
        useChildren: bA,
        useClickAway: L3,
        useCountDown: O3,
        useCustomFieldValue: bo,
        useEventListener: wn,
        usePageVisibility: M3,
        useParent: In,
        useRaf: _S,
        useRect: Ir,
        useScrollParent: w0,
        useToggle: I3,
        useWindowSize: k3,
      },
      Symbol.toStringTag,
      { value: "Module" },
    ),
  ),
  sf = U6(SS);
var L6 = Object.defineProperty,
  QS = Object.getOwnPropertyDescriptor,
  US = Object.getOwnPropertyNames,
  TS = Object.prototype.hasOwnProperty,
  IS = (e, t) => {
    for (var r in t) L6(e, r, { get: t[r], enumerable: !0 });
  },
  DS = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of US(t))
        !TS.call(e, A) &&
          A !== r &&
          L6(e, A, {
            get: () => t[A],
            enumerable: !(n = QS(t, A)) || n.enumerable,
          });
    return e;
  },
  PS = (e) => DS(L6({}, "__esModule", { value: !0 }), e),
  R3 = {};
IS(R3, {
  getElementTop: () => kS,
  getRootScrollTop: () => k6,
  getScrollTop: () => K3,
  isHidden: () => NS,
  preventDefault: () => RS,
  resetScroll: () => MS,
  setRootScrollTop: () => V3,
  setScrollTop: () => k2,
  stopPropagation: () => G3,
  windowHeight: () => KS,
  windowWidth: () => $S,
});
var N3 = PS(R3),
  $3 = sf,
  OS = Yt,
  LS = fs;
function K3(e) {
  const t = "scrollTop" in e ? e.scrollTop : e.pageYOffset;
  return Math.max(t, 0);
}
function k2(e, t) {
  "scrollTop" in e ? (e.scrollTop = t) : e.scrollTo(e.scrollX, t);
}
function k6() {
  return (
    window.pageYOffset ||
    document.documentElement.scrollTop ||
    document.body.scrollTop ||
    0
  );
}
function V3(e) {
  k2(window, e), k2(document.body, e);
}
function kS(e, t) {
  if (e === window) return 0;
  const r = t ? K3(t) : k6();
  return (0, $3.useRect)(e).top + r;
}
const HS = (0, LS.isIOS)();
function MS() {
  HS && V3(k6());
}
const G3 = (e) => e.stopPropagation();
function RS(e, t) {
  (typeof e.cancelable != "boolean" || e.cancelable) && e.preventDefault(),
    t && G3(e);
}
function NS(e) {
  const t = (0, OS.unref)(e);
  if (!t) return !1;
  const r = window.getComputedStyle(t),
    n = r.display === "none",
    A = t.offsetParent === null && r.position !== "fixed";
  return n || A;
}
const { width: $S, height: KS } = (0, $3.useWindowSize)();
var H6 = Object.defineProperty,
  VS = Object.getOwnPropertyDescriptor,
  GS = Object.getOwnPropertyNames,
  WS = Object.prototype.hasOwnProperty,
  zS = (e, t) => {
    for (var r in t) H6(e, r, { get: t[r], enumerable: !0 });
  },
  jS = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of GS(t))
        !WS.call(e, A) &&
          A !== r &&
          H6(e, A, {
            get: () => t[A],
            enumerable: !(n = VS(t, A)) || n.enumerable,
          });
    return e;
  },
  YS = (e) => jS(H6({}, "__esModule", { value: !0 }), e),
  W3 = {};
zS(W3, {
  addNumber: () => uQ,
  addUnit: () => $u,
  camelize: () => iQ,
  clamp: () => oQ,
  formatNumber: () => lQ,
  getSizeStyle: () => JS,
  getZIndexStyle: () => qS,
  kebabCase: () => sQ,
  padZero: () => aQ,
  unitToPx: () => nQ,
});
var M6 = YS(W3),
  XS = fs,
  z3 = N3,
  H2 = fs;
function $u(e) {
  if ((0, H2.isDef)(e)) return (0, H2.isNumeric)(e) ? `${e}px` : String(e);
}
function JS(e) {
  if ((0, H2.isDef)(e)) {
    if (Array.isArray(e)) return { width: $u(e[0]), height: $u(e[1]) };
    const t = $u(e);
    return { width: t, height: t };
  }
}
function qS(e) {
  const t = {};
  return e !== void 0 && (t.zIndex = +e), t;
}
let y1;
function ZS() {
  if (!y1) {
    const e = document.documentElement,
      t = e.style.fontSize || window.getComputedStyle(e).fontSize;
    y1 = parseFloat(t);
  }
  return y1;
}
function eQ(e) {
  return (e = e.replace(/rem/g, "")), +e * ZS();
}
function tQ(e) {
  return (e = e.replace(/vw/g, "")), (+e * z3.windowWidth.value) / 100;
}
function rQ(e) {
  return (e = e.replace(/vh/g, "")), (+e * z3.windowHeight.value) / 100;
}
function nQ(e) {
  if (typeof e == "number") return e;
  if (XS.inBrowser) {
    if (e.includes("rem")) return eQ(e);
    if (e.includes("vw")) return tQ(e);
    if (e.includes("vh")) return rQ(e);
  }
  return parseFloat(e);
}
const AQ = /-(\w)/g,
  iQ = (e) => e.replace(AQ, (t, r) => r.toUpperCase()),
  sQ = (e) =>
    e
      .replace(/([A-Z])/g, "-$1")
      .toLowerCase()
      .replace(/^-/, "");
function aQ(e, t = 2) {
  let r = e + "";
  for (; r.length < t; ) r = "0" + r;
  return r;
}
const oQ = (e, t, r) => Math.min(Math.max(e, t), r);
function Hg(e, t, r) {
  const n = e.indexOf(t);
  return n === -1
    ? e
    : t === "-" && n !== 0
      ? e.slice(0, n)
      : e.slice(0, n + 1) + e.slice(n).replace(r, "");
}
function lQ(e, t = !0, r = !0) {
  t ? (e = Hg(e, ".", /\./g)) : (e = e.split(".")[0]),
    r ? (e = Hg(e, "-", /-/g)) : (e = e.replace(/-/, ""));
  const n = t ? /[^-0-9.]/g : /[^-0-9]/g;
  return e.replace(n, "");
}
function uQ(e, t) {
  return Math.round((e + t) * 1e10) / 1e10;
}
var R6 = Object.defineProperty,
  cQ = Object.getOwnPropertyDescriptor,
  fQ = Object.getOwnPropertyNames,
  dQ = Object.prototype.hasOwnProperty,
  hQ = (e, t) => {
    for (var r in t) R6(e, r, { get: t[r], enumerable: !0 });
  },
  pQ = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of fQ(t))
        !dQ.call(e, A) &&
          A !== r &&
          R6(e, A, {
            get: () => t[A],
            enumerable: !(n = cQ(t, A)) || n.enumerable,
          });
    return e;
  },
  gQ = (e) => pQ(R6({}, "__esModule", { value: !0 }), e),
  j3 = {};
hQ(j3, { deepAssign: () => Y3 });
var vQ = gQ(j3),
  Mg = fs;
const { hasOwnProperty: mQ } = Object.prototype;
function BQ(e, t, r) {
  const n = t[r];
  (0, Mg.isDef)(n) &&
    (!mQ.call(e, r) || !(0, Mg.isObject)(n)
      ? (e[r] = n)
      : (e[r] = Y3(Object(e[r]), n)));
}
function Y3(e, t) {
  return (
    Object.keys(t).forEach((r) => {
      BQ(e, t, r);
    }),
    e
  );
}
var N6 = Object.defineProperty,
  wQ = Object.getOwnPropertyDescriptor,
  yQ = Object.getOwnPropertyNames,
  CQ = Object.prototype.hasOwnProperty,
  xQ = (e, t) => {
    for (var r in t) N6(e, r, { get: t[r], enumerable: !0 });
  },
  EQ = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of yQ(t))
        !CQ.call(e, A) &&
          A !== r &&
          N6(e, A, {
            get: () => t[A],
            enumerable: !(n = wQ(t, A)) || n.enumerable,
          });
    return e;
  },
  bQ = (e) => EQ(N6({}, "__esModule", { value: !0 }), e),
  X3 = {};
xQ(X3, { default: () => _Q });
var FQ = bQ(X3),
  _Q = {
    name: "姓名",
    tel: "电话",
    save: "保存",
    clear: "清空",
    cancel: "取消",
    confirm: "确认",
    delete: "删除",
    loading: "加载中...",
    noCoupon: "暂无优惠券",
    nameEmpty: "请填写姓名",
    addContact: "添加联系人",
    telInvalid: "请填写正确的电话",
    vanCalendar: {
      end: "结束",
      start: "开始",
      title: "日期选择",
      weekdays: ["日", "一", "二", "三", "四", "五", "六"],
      monthTitle: (e, t) => `${e}年${t}月`,
      rangePrompt: (e) => `最多选择 ${e} 天`,
    },
    vanCascader: { select: "请选择" },
    vanPagination: { prev: "上一页", next: "下一页" },
    vanPullRefresh: { pulling: "下拉即可刷新...", loosing: "释放即可刷新..." },
    vanSubmitBar: { label: "合计:" },
    vanCoupon: {
      unlimited: "无门槛",
      discount: (e) => `${e}折`,
      condition: (e) => `满${e}元可用`,
    },
    vanCouponCell: { title: "优惠券", count: (e) => `${e}张可用` },
    vanCouponList: {
      exchange: "兑换",
      close: "不使用",
      enable: "可用",
      disabled: "不可用",
      placeholder: "输入优惠码",
    },
    vanAddressEdit: {
      area: "地区",
      areaEmpty: "请选择地区",
      addressEmpty: "请填写详细地址",
      addressDetail: "详细地址",
      defaultAddress: "设为默认收货地址",
    },
    vanAddressList: { add: "新增地址" },
  },
  SQ = Object.create,
  af = Object.defineProperty,
  QQ = Object.getOwnPropertyDescriptor,
  UQ = Object.getOwnPropertyNames,
  TQ = Object.getPrototypeOf,
  IQ = Object.prototype.hasOwnProperty,
  DQ = (e, t) => {
    for (var r in t) af(e, r, { get: t[r], enumerable: !0 });
  },
  J3 = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of UQ(t))
        !IQ.call(e, A) &&
          A !== r &&
          af(e, A, {
            get: () => t[A],
            enumerable: !(n = QQ(t, A)) || n.enumerable,
          });
    return e;
  },
  PQ = (e, t, r) => (
    (r = e != null ? SQ(TQ(e)) : {}),
    J3(
      t || !e || !e.__esModule
        ? af(r, "default", { value: e, enumerable: !0 })
        : r,
      e,
    )
  ),
  OQ = (e) => J3(af({}, "__esModule", { value: !0 }), e),
  q3 = {};
DQ(q3, { Locale: () => eB, default: () => RQ, useCurrentLang: () => MQ });
var LQ = OQ(q3),
  Z3 = Yt,
  kQ = vQ,
  HQ = PQ(FQ);
const M2 = (0, Z3.ref)("zh-CN"),
  Rg = (0, Z3.reactive)({ "zh-CN": HQ.default }),
  eB = {
    messages() {
      return Rg[M2.value];
    },
    use(e, t) {
      (M2.value = e), this.add({ [e]: t });
    },
    add(e = {}) {
      (0, kQ.deepAssign)(Rg, e);
    },
  },
  MQ = () => M2;
var RQ = eB,
  NQ = Object.create,
  of = Object.defineProperty,
  $Q = Object.getOwnPropertyDescriptor,
  KQ = Object.getOwnPropertyNames,
  VQ = Object.getPrototypeOf,
  GQ = Object.prototype.hasOwnProperty,
  WQ = (e, t) => {
    for (var r in t) of(e, r, { get: t[r], enumerable: !0 });
  },
  tB = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of KQ(t))
        !GQ.call(e, A) &&
          A !== r &&
          of(e, A, {
            get: () => t[A],
            enumerable: !(n = $Q(t, A)) || n.enumerable,
          });
    return e;
  },
  zQ = (e, t, r) => (
    (r = e != null ? NQ(VQ(e)) : {}),
    tB(
      t || !e || !e.__esModule
        ? of(r, "default", { value: e, enumerable: !0 })
        : r,
      e,
    )
  ),
  jQ = (e) => tB(of({}, "__esModule", { value: !0 }), e),
  rB = {};
WQ(rB, {
  createBEM: () => AB,
  createNamespace: () => qQ,
  createTranslate: () => nB,
});
var YQ = jQ(rB),
  C1 = fs,
  XQ = M6,
  JQ = zQ(LQ);
function nB(e) {
  const t = (0, XQ.camelize)(e) + ".";
  return (r, ...n) => {
    const A = JQ.default.messages(),
      i = (0, C1.get)(A, t + r) || (0, C1.get)(A, r);
    return (0, C1.isFunction)(i) ? i(...n) : i;
  };
}
function R2(e, t) {
  return t
    ? typeof t == "string"
      ? ` ${e}--${t}`
      : Array.isArray(t)
        ? t.reduce((r, n) => r + R2(e, n), "")
        : Object.keys(t).reduce((r, n) => r + (t[n] ? R2(e, n) : ""), "")
    : "";
}
function AB(e) {
  return (t, r) => (
    t && typeof t != "string" && ((r = t), (t = "")),
    (t = t ? `${e}__${t}` : e),
    `${t}${R2(t, r)}`
  );
}
function qQ(e) {
  const t = `van-${e}`;
  return [t, AB(t), nB(t)];
}
var $6 = Object.defineProperty,
  ZQ = Object.getOwnPropertyDescriptor,
  eU = Object.getOwnPropertyNames,
  tU = Object.prototype.hasOwnProperty,
  rU = (e, t) => {
    for (var r in t) $6(e, r, { get: t[r], enumerable: !0 });
  },
  nU = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of eU(t))
        !tU.call(e, A) &&
          A !== r &&
          $6(e, A, {
            get: () => t[A],
            enumerable: !(n = ZQ(t, A)) || n.enumerable,
          });
    return e;
  },
  AU = (e) => nU($6({}, "__esModule", { value: !0 }), e),
  iB = {};
rU(iB, {
  BORDER: () => ds,
  BORDER_BOTTOM: () => lU,
  BORDER_LEFT: () => aU,
  BORDER_RIGHT: () => oU,
  BORDER_SURROUND: () => uU,
  BORDER_TOP: () => sU,
  BORDER_TOP_BOTTOM: () => cU,
  BORDER_UNSET_TOP_BOTTOM: () => fU,
  FORM_KEY: () => hU,
  HAPTICS_FEEDBACK: () => dU,
  LONG_PRESS_START_TIME: () => pU,
  TAP_OFFSET: () => gU,
});
var iU = AU(iB);
const ds = "van-hairline",
  sU = `${ds}--top`,
  aU = `${ds}--left`,
  oU = `${ds}--right`,
  lU = `${ds}--bottom`,
  uU = `${ds}--surround`,
  cU = `${ds}--top-bottom`,
  fU = `${ds}-unset--top-bottom`,
  dU = "van-haptics-feedback",
  hU = Symbol("van-form"),
  pU = 500,
  gU = 5;
var K6 = Object.defineProperty,
  vU = Object.getOwnPropertyDescriptor,
  mU = Object.getOwnPropertyNames,
  BU = Object.prototype.hasOwnProperty,
  wU = (e, t) => {
    for (var r in t) K6(e, r, { get: t[r], enumerable: !0 });
  },
  yU = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of mU(t))
        !BU.call(e, A) &&
          A !== r &&
          K6(e, A, {
            get: () => t[A],
            enumerable: !(n = vU(t, A)) || n.enumerable,
          });
    return e;
  },
  CU = (e) => yU(K6({}, "__esModule", { value: !0 }), e),
  sB = {};
wU(sB, { callInterceptor: () => EU });
var xU = CU(sB),
  Ng = fs;
function EU(e, { args: t = [], done: r, canceled: n, error: A }) {
  if (e) {
    const i = e.apply(null, t);
    (0, Ng.isPromise)(i)
      ? i
          .then((s) => {
            s ? r() : n && n();
          })
          .catch(A || Ng.noop)
      : i
        ? r()
        : n && n();
  } else r();
}
var V6 = Object.defineProperty,
  bU = Object.getOwnPropertyDescriptor,
  FU = Object.getOwnPropertyNames,
  _U = Object.prototype.hasOwnProperty,
  SU = (e, t) => {
    for (var r in t) V6(e, r, { get: t[r], enumerable: !0 });
  },
  QU = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of FU(t))
        !_U.call(e, A) &&
          A !== r &&
          V6(e, A, {
            get: () => t[A],
            enumerable: !(n = bU(t, A)) || n.enumerable,
          });
    return e;
  },
  UU = (e) => QU(V6({}, "__esModule", { value: !0 }), e),
  aB = {};
SU(aB, { withInstall: () => DU });
var TU = UU(aB),
  IU = M6;
function DU(e) {
  return (
    (e.install = (t) => {
      const { name: r } = e;
      r && (t.component(r, e), t.component((0, IU.camelize)(`-${r}`), e));
    }),
    e
  );
}
var G6 = Object.defineProperty,
  PU = Object.getOwnPropertyDescriptor,
  OU = Object.getOwnPropertyNames,
  LU = Object.prototype.hasOwnProperty,
  kU = (e, t) => {
    for (var r in t) G6(e, r, { get: t[r], enumerable: !0 });
  },
  HU = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of OU(t))
        !LU.call(e, A) &&
          A !== r &&
          G6(e, A, {
            get: () => t[A],
            enumerable: !(n = PU(t, A)) || n.enumerable,
          });
    return e;
  },
  MU = (e) => HU(G6({}, "__esModule", { value: !0 }), e),
  oB = {};
kU(oB, { closest: () => NU });
var RU = MU(oB);
function NU(e, t) {
  return e.reduce((r, n) => (Math.abs(r - t) < Math.abs(n - t) ? r : n));
}
(function (e) {
  var t = Object.defineProperty,
    r = Object.getOwnPropertyDescriptor,
    n = Object.getOwnPropertyNames,
    A = Object.prototype.hasOwnProperty,
    i = (l, u, f, d) => {
      if ((u && typeof u == "object") || typeof u == "function")
        for (let g of n(u))
          !A.call(l, g) &&
            g !== f &&
            t(l, g, {
              get: () => u[g],
              enumerable: !(d = r(u, g)) || d.enumerable,
            });
      return l;
    },
    s = (l, u, f) => (i(l, u, "default"), f && i(f, u, "default")),
    a = (l) => i(t({}, "__esModule", { value: !0 }), l),
    o = {};
  (e.exports = a(o)),
    s(o, fs, e.exports),
    s(o, dS, e.exports),
    s(o, N3, e.exports),
    s(o, YQ, e.exports),
    s(o, M6, e.exports),
    s(o, iU, e.exports),
    s(o, xU, e.exports),
    s(o, TU, e.exports),
    s(o, RU, e.exports);
})(_3);
var Kr = _3.exports,
  W6 = Object.defineProperty,
  $U = Object.getOwnPropertyDescriptor,
  KU = Object.getOwnPropertyNames,
  VU = Object.prototype.hasOwnProperty,
  GU = (e, t) => {
    for (var r in t) W6(e, r, { get: t[r], enumerable: !0 });
  },
  WU = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of KU(t))
        !VU.call(e, A) &&
          A !== r &&
          W6(e, A, {
            get: () => t[A],
            enumerable: !(n = $U(t, A)) || n.enumerable,
          });
    return e;
  },
  zU = (e) => WU(W6({}, "__esModule", { value: !0 }), e),
  lB = {};
GU(lB, { useExpose: () => XU });
var uB = zU(lB),
  jU = Yt,
  YU = Kr;
function XU(e) {
  const t = (0, jU.getCurrentInstance)();
  t && (0, YU.extend)(t.proxy, e);
}
var z6 = Object.defineProperty,
  JU = Object.getOwnPropertyDescriptor,
  qU = Object.getOwnPropertyNames,
  ZU = Object.prototype.hasOwnProperty,
  eT = (e, t) => {
    for (var r in t) z6(e, r, { get: t[r], enumerable: !0 });
  },
  tT = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of qU(t))
        !ZU.call(e, A) &&
          A !== r &&
          z6(e, A, {
            get: () => t[A],
            enumerable: !(n = JU(t, A)) || n.enumerable,
          });
    return e;
  },
  rT = (e) => tT(z6({}, "__esModule", { value: !0 }), e),
  cB = {};
eT(cB, { mountComponent: () => aT, usePopupState: () => sT });
var nT = rT(cB),
  fB = Yt,
  AT = fs,
  iT = uB;
function sT() {
  const e = (0, fB.reactive)({ show: !1 }),
    t = (A) => {
      e.show = A;
    },
    r = (A) => {
      (0, AT.extend)(e, A, { transitionAppear: !0 }), t(!0);
    },
    n = () => t(!1);
  return (
    (0, iT.useExpose)({ open: r, close: n, toggle: t }),
    { open: r, close: n, state: e, toggle: t }
  );
}
function aT(e) {
  const t = (0, fB.createApp)(e),
    r = document.createElement("div");
  return (
    document.body.appendChild(r),
    {
      instance: t.mount(r),
      unmount() {
        t.unmount(), document.body.removeChild(r);
      },
    }
  );
}
var j6 = Object.defineProperty,
  oT = Object.getOwnPropertyDescriptor,
  lT = Object.getOwnPropertyNames,
  uT = Object.prototype.hasOwnProperty,
  cT = (e, t) => {
    for (var r in t) j6(e, r, { get: t[r], enumerable: !0 });
  },
  fT = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of lT(t))
        !uT.call(e, A) &&
          A !== r &&
          j6(e, A, {
            get: () => t[A],
            enumerable: !(n = oT(t, A)) || n.enumerable,
          });
    return e;
  },
  dT = (e) => fT(j6({}, "__esModule", { value: !0 }), e),
  dB = {};
cT(dB, { lockClick: () => pT });
var hT = dT(dB);
let jo = 0;
function pT(e) {
  e
    ? (jo || document.body.classList.add("van-toast--unclickable"), jo++)
    : jo &&
      (jo--, jo || document.body.classList.remove("van-toast--unclickable"));
}
var Y6 = Object.defineProperty,
  gT = Object.getOwnPropertyDescriptor,
  vT = Object.getOwnPropertyNames,
  mT = Object.prototype.hasOwnProperty,
  BT = (e, t) => {
    for (var r in t) Y6(e, r, { get: t[r], enumerable: !0 });
  },
  wT = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of vT(t))
        !mT.call(e, A) &&
          A !== r &&
          Y6(e, A, {
            get: () => t[A],
            enumerable: !(n = gT(t, A)) || n.enumerable,
          });
    return e;
  },
  yT = (e) => wT(Y6({}, "__esModule", { value: !0 }), e),
  hB = {};
BT(hB, { badgeProps: () => gB, default: () => xT });
var pB = yT(hB),
  $g = Yt,
  Kg = Yt,
  tn = Kr;
const [CT, Vg] = (0, tn.createNamespace)("badge"),
  gB = {
    dot: Boolean,
    max: tn.numericProp,
    tag: (0, tn.makeStringProp)("div"),
    color: String,
    offset: Array,
    content: tn.numericProp,
    showZero: tn.truthProp,
    position: (0, tn.makeStringProp)("top-right"),
  };
var xT = (0, Kg.defineComponent)({
    name: CT,
    props: gB,
    setup(e, { slots: t }) {
      const r = () => {
          if (t.content) return !0;
          const { content: a, showZero: o } = e;
          return (0, tn.isDef)(a) && a !== "" && (o || (a !== 0 && a !== "0"));
        },
        n = () => {
          const { dot: a, max: o, content: l } = e;
          if (!a && r())
            return t.content
              ? t.content()
              : (0, tn.isDef)(o) && (0, tn.isNumeric)(l) && +l > +o
                ? `${o}+`
                : l;
        },
        A = (a) => (a.startsWith("-") ? a.replace("-", "") : `-${a}`),
        i = (0, Kg.computed)(() => {
          const a = { background: e.color };
          if (e.offset) {
            const [o, l] = e.offset,
              { position: u } = e,
              [f, d] = u.split("-");
            t.default
              ? (typeof l == "number"
                  ? (a[f] = (0, tn.addUnit)(f === "top" ? l : -l))
                  : (a[f] = f === "top" ? (0, tn.addUnit)(l) : A(l)),
                typeof o == "number"
                  ? (a[d] = (0, tn.addUnit)(d === "left" ? o : -o))
                  : (a[d] = d === "left" ? (0, tn.addUnit)(o) : A(o)))
              : ((a.marginTop = (0, tn.addUnit)(l)),
                (a.marginLeft = (0, tn.addUnit)(o)));
          }
          return a;
        }),
        s = () => {
          if (r() || e.dot)
            return (0, $g.createVNode)(
              "div",
              {
                class: Vg([e.position, { dot: e.dot, fixed: !!t.default }]),
                style: i.value,
              },
              [n()],
            );
        };
      return () => {
        if (t.default) {
          const { tag: a } = e;
          return (0, $g.createVNode)(
            a,
            { class: Vg("wrapper") },
            { default: () => [t.default(), s()] },
          );
        }
        return s();
      };
    },
  }),
  ET = Object.create,
  lf = Object.defineProperty,
  bT = Object.getOwnPropertyDescriptor,
  FT = Object.getOwnPropertyNames,
  _T = Object.getPrototypeOf,
  ST = Object.prototype.hasOwnProperty,
  QT = (e, t) => {
    for (var r in t) lf(e, r, { get: t[r], enumerable: !0 });
  },
  vB = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of FT(t))
        !ST.call(e, A) &&
          A !== r &&
          lf(e, A, {
            get: () => t[A],
            enumerable: !(n = bT(t, A)) || n.enumerable,
          });
    return e;
  },
  UT = (e, t, r) => (
    (r = e != null ? ET(_T(e)) : {}),
    vB(
      t || !e || !e.__esModule
        ? lf(r, "default", { value: e, enumerable: !0 })
        : r,
      e,
    )
  ),
  TT = (e) => vB(lf({}, "__esModule", { value: !0 }), e),
  mB = {};
QT(mB, { Badge: () => BB, badgeProps: () => OT.badgeProps, default: () => LT });
var IT = TT(mB),
  DT = Kr,
  PT = UT(pB),
  OT = pB;
const BB = (0, DT.withInstall)(PT.default);
var LT = BB,
  X6 = Object.defineProperty,
  kT = Object.getOwnPropertyDescriptor,
  HT = Object.getOwnPropertyNames,
  MT = Object.prototype.hasOwnProperty,
  RT = (e, t) => {
    for (var r in t) X6(e, r, { get: t[r], enumerable: !0 });
  },
  NT = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of HT(t))
        !MT.call(e, A) &&
          A !== r &&
          X6(e, A, {
            get: () => t[A],
            enumerable: !(n = kT(t, A)) || n.enumerable,
          });
    return e;
  },
  $T = (e) => NT(X6({}, "__esModule", { value: !0 }), e),
  wB = {};
RT(wB, { setGlobalZIndex: () => VT, useGlobalZIndex: () => KT });
var yB = $T(wB);
let CB = 2e3;
const KT = () => ++CB,
  VT = (e) => {
    CB = e;
  };
var J6 = Object.defineProperty,
  GT = Object.getOwnPropertyDescriptor,
  WT = Object.getOwnPropertyNames,
  zT = Object.prototype.hasOwnProperty,
  jT = (e, t) => {
    for (var r in t) J6(e, r, { get: t[r], enumerable: !0 });
  },
  YT = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of WT(t))
        !zT.call(e, A) &&
          A !== r &&
          J6(e, A, {
            get: () => t[A],
            enumerable: !(n = GT(t, A)) || n.enumerable,
          });
    return e;
  },
  XT = (e) => YT(J6({}, "__esModule", { value: !0 }), e),
  xB = {};
jT(xB, {
  CONFIG_PROVIDER_KEY: () => bB,
  configProviderProps: () => FB,
  default: () => nI,
});
var JT = XT(xB),
  qT = Yt,
  hA = Yt,
  Gs = Kr,
  ZT = yB;
const [EB, eI] = (0, Gs.createNamespace)("config-provider"),
  bB = Symbol(EB),
  FB = {
    tag: (0, Gs.makeStringProp)("div"),
    theme: (0, Gs.makeStringProp)("light"),
    zIndex: Number,
    themeVars: Object,
    themeVarsDark: Object,
    themeVarsLight: Object,
    themeVarsScope: (0, Gs.makeStringProp)("local"),
    iconPrefix: String,
  };
function tI(e) {
  return e.replace(/([a-zA-Z])(\d)/g, "$1-$2");
}
function rI(e) {
  const t = {};
  return (
    Object.keys(e).forEach((r) => {
      const n = tI((0, Gs.kebabCase)(r));
      t[`--van-${n}`] = e[r];
    }),
    t
  );
}
function eu(e = {}, t = {}) {
  Object.keys(e).forEach((r) => {
    e[r] !== t[r] && document.documentElement.style.setProperty(r, e[r]);
  }),
    Object.keys(t).forEach((r) => {
      e[r] || document.documentElement.style.removeProperty(r);
    });
}
var nI = (0, hA.defineComponent)({
    name: EB,
    props: FB,
    setup(e, { slots: t }) {
      const r = (0, hA.computed)(() =>
        rI(
          (0, Gs.extend)(
            {},
            e.themeVars,
            e.theme === "dark" ? e.themeVarsDark : e.themeVarsLight,
          ),
        ),
      );
      if (Gs.inBrowser) {
        const n = () => {
            document.documentElement.classList.add(`van-theme-${e.theme}`);
          },
          A = (i = e.theme) => {
            document.documentElement.classList.remove(`van-theme-${i}`);
          };
        (0, hA.watch)(
          () => e.theme,
          (i, s) => {
            s && A(s), n();
          },
          { immediate: !0 },
        ),
          (0, hA.onActivated)(n),
          (0, hA.onDeactivated)(A),
          (0, hA.onBeforeUnmount)(A),
          (0, hA.watch)(r, (i, s) => {
            e.themeVarsScope === "global" && eu(i, s);
          }),
          (0, hA.watch)(
            () => e.themeVarsScope,
            (i, s) => {
              s === "global" && eu({}, r.value),
                i === "global" && eu(r.value, {});
            },
          ),
          e.themeVarsScope === "global" && eu(r.value, {});
      }
      return (
        (0, hA.provide)(bB, e),
        (0, hA.watchEffect)(() => {
          e.zIndex !== void 0 && (0, ZT.setGlobalZIndex)(e.zIndex);
        }),
        () =>
          (0, qT.createVNode)(
            e.tag,
            {
              class: eI(),
              style: e.themeVarsScope === "local" ? r.value : void 0,
            },
            {
              default: () => {
                var n;
                return [(n = t.default) == null ? void 0 : n.call(t)];
              },
            },
          )
      );
    },
  }),
  q6 = Object.defineProperty,
  AI = Object.getOwnPropertyDescriptor,
  iI = Object.getOwnPropertyNames,
  sI = Object.prototype.hasOwnProperty,
  aI = (e, t) => {
    for (var r in t) q6(e, r, { get: t[r], enumerable: !0 });
  },
  oI = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of iI(t))
        !sI.call(e, A) &&
          A !== r &&
          q6(e, A, {
            get: () => t[A],
            enumerable: !(n = AI(t, A)) || n.enumerable,
          });
    return e;
  },
  lI = (e) => oI(q6({}, "__esModule", { value: !0 }), e),
  _B = {};
aI(_B, { default: () => hI, iconProps: () => QB });
var SB = lI(_B),
  x1 = Yt,
  E1 = Yt,
  _l = Kr,
  uI = IT,
  cI = JT;
const [fI, Gg] = (0, _l.createNamespace)("icon"),
  dI = (e) => (e == null ? void 0 : e.includes("/")),
  QB = {
    dot: Boolean,
    tag: (0, _l.makeStringProp)("i"),
    name: String,
    size: _l.numericProp,
    badge: _l.numericProp,
    color: String,
    badgeProps: Object,
    classPrefix: String,
  };
var hI = (0, E1.defineComponent)({
    name: fI,
    props: QB,
    setup(e, { slots: t }) {
      const r = (0, E1.inject)(cI.CONFIG_PROVIDER_KEY, null),
        n = (0, E1.computed)(
          () => e.classPrefix || (r == null ? void 0 : r.iconPrefix) || Gg(),
        );
      return () => {
        const { tag: A, dot: i, name: s, size: a, badge: o, color: l } = e,
          u = dI(s);
        return (0, x1.createVNode)(
          uI.Badge,
          (0, x1.mergeProps)(
            {
              dot: i,
              tag: A,
              class: [n.value, u ? "" : `${n.value}-${s}`],
              style: { color: l, fontSize: (0, _l.addUnit)(a) },
              content: o,
            },
            e.badgeProps,
          ),
          {
            default: () => {
              var f;
              return [
                (f = t.default) == null ? void 0 : f.call(t),
                u &&
                  (0, x1.createVNode)(
                    "img",
                    { class: Gg("image"), src: s },
                    null,
                  ),
              ];
            },
          },
        );
      };
    },
  }),
  pI = Object.create,
  uf = Object.defineProperty,
  gI = Object.getOwnPropertyDescriptor,
  vI = Object.getOwnPropertyNames,
  mI = Object.getPrototypeOf,
  BI = Object.prototype.hasOwnProperty,
  wI = (e, t) => {
    for (var r in t) uf(e, r, { get: t[r], enumerable: !0 });
  },
  UB = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of vI(t))
        !BI.call(e, A) &&
          A !== r &&
          uf(e, A, {
            get: () => t[A],
            enumerable: !(n = gI(t, A)) || n.enumerable,
          });
    return e;
  },
  yI = (e, t, r) => (
    (r = e != null ? pI(mI(e)) : {}),
    UB(
      t || !e || !e.__esModule
        ? uf(r, "default", { value: e, enumerable: !0 })
        : r,
      e,
    )
  ),
  CI = (e) => UB(uf({}, "__esModule", { value: !0 }), e),
  TB = {};
wI(TB, { Icon: () => DB, default: () => FI, iconProps: () => bI.iconProps });
var IB = CI(TB),
  xI = Kr,
  EI = yI(SB),
  bI = SB;
const DB = (0, xI.withInstall)(EI.default);
var FI = DB,
  Z6 = Object.defineProperty,
  _I = Object.getOwnPropertyDescriptor,
  SI = Object.getOwnPropertyNames,
  QI = Object.prototype.hasOwnProperty,
  UI = (e, t) => {
    for (var r in t) Z6(e, r, { get: t[r], enumerable: !0 });
  },
  TI = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of SI(t))
        !QI.call(e, A) &&
          A !== r &&
          Z6(e, A, {
            get: () => t[A],
            enumerable: !(n = _I(t, A)) || n.enumerable,
          });
    return e;
  },
  II = (e) => TI(Z6({}, "__esModule", { value: !0 }), e),
  PB = {};
UI(PB, { popupSharedPropKeys: () => PI, popupSharedProps: () => OB });
var DI = II(PB),
  _s = Kr;
const OB = {
    show: Boolean,
    zIndex: _s.numericProp,
    overlay: _s.truthProp,
    duration: _s.numericProp,
    teleport: [String, Object],
    lockScroll: _s.truthProp,
    lazyRender: _s.truthProp,
    beforeClose: Function,
    overlayStyle: Object,
    overlayClass: _s.unknownProp,
    transitionAppear: Boolean,
    closeOnClickOverlay: _s.truthProp,
  },
  PI = Object.keys(OB);
var ep = Object.defineProperty,
  OI = Object.getOwnPropertyDescriptor,
  LI = Object.getOwnPropertyNames,
  kI = Object.prototype.hasOwnProperty,
  HI = (e, t) => {
    for (var r in t) ep(e, r, { get: t[r], enumerable: !0 });
  },
  MI = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of LI(t))
        !kI.call(e, A) &&
          A !== r &&
          ep(e, A, {
            get: () => t[A],
            enumerable: !(n = OI(t, A)) || n.enumerable,
          });
    return e;
  },
  RI = (e) => MI(ep({}, "__esModule", { value: !0 }), e),
  LB = {};
HI(LB, { useTouch: () => KI });
var NI = RI(LB),
  _i = Yt,
  Wg = Kr;
function $I(e, t) {
  return e > t ? "horizontal" : t > e ? "vertical" : "";
}
function KI() {
  const e = (0, _i.ref)(0),
    t = (0, _i.ref)(0),
    r = (0, _i.ref)(0),
    n = (0, _i.ref)(0),
    A = (0, _i.ref)(0),
    i = (0, _i.ref)(0),
    s = (0, _i.ref)(""),
    a = (0, _i.ref)(!0),
    o = () => s.value === "vertical",
    l = () => s.value === "horizontal",
    u = () => {
      (r.value = 0),
        (n.value = 0),
        (A.value = 0),
        (i.value = 0),
        (s.value = ""),
        (a.value = !0);
    };
  return {
    move: (g) => {
      const v = g.touches[0];
      (r.value = (v.clientX < 0 ? 0 : v.clientX) - e.value),
        (n.value = v.clientY - t.value),
        (A.value = Math.abs(r.value)),
        (i.value = Math.abs(n.value));
      const B = 10;
      (!s.value || (A.value < B && i.value < B)) &&
        (s.value = $I(A.value, i.value)),
        a.value &&
          (A.value > Wg.TAP_OFFSET || i.value > Wg.TAP_OFFSET) &&
          (a.value = !1);
    },
    start: (g) => {
      u(), (e.value = g.touches[0].clientX), (t.value = g.touches[0].clientY);
    },
    reset: u,
    startX: e,
    startY: t,
    deltaX: r,
    deltaY: n,
    offsetX: A,
    offsetY: i,
    direction: s,
    isVertical: o,
    isHorizontal: l,
    isTap: a,
  };
}
var tp = Object.defineProperty,
  VI = Object.getOwnPropertyDescriptor,
  GI = Object.getOwnPropertyNames,
  WI = Object.prototype.hasOwnProperty,
  zI = (e, t) => {
    for (var r in t) tp(e, r, { get: t[r], enumerable: !0 });
  },
  jI = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of GI(t))
        !WI.call(e, A) &&
          A !== r &&
          tp(e, A, {
            get: () => t[A],
            enumerable: !(n = VI(t, A)) || n.enumerable,
          });
    return e;
  },
  YI = (e) => jI(tp({}, "__esModule", { value: !0 }), e),
  kB = {};
zI(kB, { useLockScroll: () => ZI });
var XI = YI(kB),
  b1 = Yt,
  zg = sf,
  JI = NI,
  qI = Kr;
let Yo = 0;
const jg = "van-overflow-hidden";
function ZI(e, t) {
  const r = (0, JI.useTouch)(),
    n = "01",
    A = "10",
    i = (u) => {
      r.move(u);
      const f = r.deltaY.value > 0 ? A : n,
        d = (0, zg.getScrollParent)(u.target, e.value),
        { scrollHeight: g, offsetHeight: v, scrollTop: B } = d;
      let y = "11";
      B === 0 ? (y = v >= g ? "00" : "01") : B + v >= g && (y = "10"),
        y !== "11" &&
          r.isVertical() &&
          !(parseInt(y, 2) & parseInt(f, 2)) &&
          (0, qI.preventDefault)(u, !0);
    },
    s = () => {
      document.addEventListener("touchstart", r.start),
        document.addEventListener("touchmove", i, { passive: !1 }),
        Yo || document.body.classList.add(jg),
        Yo++;
    },
    a = () => {
      Yo &&
        (document.removeEventListener("touchstart", r.start),
        document.removeEventListener("touchmove", i),
        Yo--,
        Yo || document.body.classList.remove(jg));
    },
    o = () => t() && s(),
    l = () => t() && a();
  (0, zg.onMountedOrActivated)(o),
    (0, b1.onDeactivated)(l),
    (0, b1.onBeforeUnmount)(l),
    (0, b1.watch)(t, (u) => {
      u ? s() : a();
    });
}
var rp = Object.defineProperty,
  eD = Object.getOwnPropertyDescriptor,
  tD = Object.getOwnPropertyNames,
  rD = Object.prototype.hasOwnProperty,
  nD = (e, t) => {
    for (var r in t) rp(e, r, { get: t[r], enumerable: !0 });
  },
  AD = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of tD(t))
        !rD.call(e, A) &&
          A !== r &&
          rp(e, A, {
            get: () => t[A],
            enumerable: !(n = eD(t, A)) || n.enumerable,
          });
    return e;
  },
  iD = (e) => AD(rp({}, "__esModule", { value: !0 }), e),
  HB = {};
nD(HB, { useLazyRender: () => sD });
var MB = iD(HB),
  Yg = Yt;
function sD(e) {
  const t = (0, Yg.ref)(!1);
  return (
    (0, Yg.watch)(
      e,
      (r) => {
        r && (t.value = r);
      },
      { immediate: !0 },
    ),
    (r) => () => (t.value ? r() : null)
  );
}
var np = Object.defineProperty,
  aD = Object.getOwnPropertyDescriptor,
  oD = Object.getOwnPropertyNames,
  lD = Object.prototype.hasOwnProperty,
  uD = (e, t) => {
    for (var r in t) np(e, r, { get: t[r], enumerable: !0 });
  },
  cD = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of oD(t))
        !lD.call(e, A) &&
          A !== r &&
          np(e, A, {
            get: () => t[A],
            enumerable: !(n = aD(t, A)) || n.enumerable,
          });
    return e;
  },
  fD = (e) => cD(np({}, "__esModule", { value: !0 }), e),
  RB = {};
uD(RB, { POPUP_TOGGLE_KEY: () => NB, onPopupReopen: () => hD });
var dD = fD(RB),
  Xg = Yt;
const NB = Symbol();
function hD(e) {
  const t = (0, Xg.inject)(NB, null);
  t &&
    (0, Xg.watch)(t, (r) => {
      r && e();
    });
}
var Ap = Object.defineProperty,
  pD = Object.getOwnPropertyDescriptor,
  gD = Object.getOwnPropertyNames,
  vD = Object.prototype.hasOwnProperty,
  mD = (e, t) => {
    for (var r in t) Ap(e, r, { get: t[r], enumerable: !0 });
  },
  BD = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of gD(t))
        !vD.call(e, A) &&
          A !== r &&
          Ap(e, A, {
            get: () => t[A],
            enumerable: !(n = pD(t, A)) || n.enumerable,
          });
    return e;
  },
  wD = (e) => BD(Ap({}, "__esModule", { value: !0 }), e),
  $B = {};
mD($B, { useScopeId: () => xD });
var yD = wD($B),
  CD = Yt;
const xD = () => {
  var e;
  const { scopeId: t } =
    ((e = (0, CD.getCurrentInstance)()) == null ? void 0 : e.vnode) || {};
  return t ? { [t]: "" } : null;
};
var ip = Object.defineProperty,
  ED = Object.getOwnPropertyDescriptor,
  bD = Object.getOwnPropertyNames,
  FD = Object.prototype.hasOwnProperty,
  _D = (e, t) => {
    for (var r in t) ip(e, r, { get: t[r], enumerable: !0 });
  },
  SD = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of bD(t))
        !FD.call(e, A) &&
          A !== r &&
          ip(e, A, {
            get: () => t[A],
            enumerable: !(n = ED(t, A)) || n.enumerable,
          });
    return e;
  },
  QD = (e) => SD(ip({}, "__esModule", { value: !0 }), e),
  KB = {};
_D(KB, { default: () => PD, overlayProps: () => GB });
var VB = QD(KB),
  tu = Yt,
  F1 = Yt,
  yA = Kr,
  UD = sf,
  TD = MB;
const [ID, DD] = (0, yA.createNamespace)("overlay"),
  GB = {
    show: Boolean,
    zIndex: yA.numericProp,
    duration: yA.numericProp,
    className: yA.unknownProp,
    lockScroll: yA.truthProp,
    lazyRender: yA.truthProp,
    customStyle: Object,
  };
var PD = (0, F1.defineComponent)({
    name: ID,
    props: GB,
    setup(e, { slots: t }) {
      const r = (0, F1.ref)(),
        n = (0, TD.useLazyRender)(() => e.show || !e.lazyRender),
        A = (s) => {
          e.lockScroll && (0, yA.preventDefault)(s, !0);
        },
        i = n(() => {
          var s;
          const a = (0, yA.extend)(
            (0, yA.getZIndexStyle)(e.zIndex),
            e.customStyle,
          );
          return (
            (0, yA.isDef)(e.duration) &&
              (a.animationDuration = `${e.duration}s`),
            (0, tu.withDirectives)(
              (0, tu.createVNode)(
                "div",
                { ref: r, style: a, class: [DD(), e.className] },
                [(s = t.default) == null ? void 0 : s.call(t)],
              ),
              [[tu.vShow, e.show]],
            )
          );
        });
      return (
        (0, UD.useEventListener)("touchmove", A, { target: r }),
        () =>
          (0, tu.createVNode)(
            F1.Transition,
            { name: "van-fade", appear: !0 },
            { default: i },
          )
      );
    },
  }),
  OD = Object.create,
  cf = Object.defineProperty,
  LD = Object.getOwnPropertyDescriptor,
  kD = Object.getOwnPropertyNames,
  HD = Object.getPrototypeOf,
  MD = Object.prototype.hasOwnProperty,
  RD = (e, t) => {
    for (var r in t) cf(e, r, { get: t[r], enumerable: !0 });
  },
  WB = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of kD(t))
        !MD.call(e, A) &&
          A !== r &&
          cf(e, A, {
            get: () => t[A],
            enumerable: !(n = LD(t, A)) || n.enumerable,
          });
    return e;
  },
  ND = (e, t, r) => (
    (r = e != null ? OD(HD(e)) : {}),
    WB(
      t || !e || !e.__esModule
        ? cf(r, "default", { value: e, enumerable: !0 })
        : r,
      e,
    )
  ),
  $D = (e) => WB(cf({}, "__esModule", { value: !0 }), e),
  zB = {};
RD(zB, {
  Overlay: () => jB,
  default: () => zD,
  overlayProps: () => WD.overlayProps,
});
var KD = $D(zB),
  VD = Kr,
  GD = ND(VB),
  WD = VB;
const jB = (0, VD.withInstall)(GD.default);
var zD = jB,
  sp = Object.defineProperty,
  jD = Object.getOwnPropertyDescriptor,
  YD = Object.getOwnPropertyNames,
  XD = Object.prototype.hasOwnProperty,
  JD = (e, t) => {
    for (var r in t) sp(e, r, { get: t[r], enumerable: !0 });
  },
  qD = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of YD(t))
        !XD.call(e, A) &&
          A !== r &&
          sp(e, A, {
            get: () => t[A],
            enumerable: !(n = jD(t, A)) || n.enumerable,
          });
    return e;
  },
  ZD = (e) => qD(sp({}, "__esModule", { value: !0 }), e),
  YB = {};
JD(YB, { default: () => uP, popupProps: () => JB });
var XB = ZD(YB),
  jn = Yt,
  Hn = Yt,
  eP = DI,
  Ri = Kr,
  tP = sf,
  rP = uB,
  nP = XI,
  AP = MB,
  iP = dD,
  sP = yB,
  Jg = yD,
  aP = IB,
  oP = KD;
const JB = (0, Ri.extend)({}, eP.popupSharedProps, {
    round: Boolean,
    position: (0, Ri.makeStringProp)("center"),
    closeIcon: (0, Ri.makeStringProp)("cross"),
    closeable: Boolean,
    transition: String,
    iconPrefix: String,
    closeOnPopstate: Boolean,
    closeIconPosition: (0, Ri.makeStringProp)("top-right"),
    safeAreaInsetTop: Boolean,
    safeAreaInsetBottom: Boolean,
  }),
  [lP, qg] = (0, Ri.createNamespace)("popup");
var uP = (0, Hn.defineComponent)({
    name: lP,
    inheritAttrs: !1,
    props: JB,
    emits: [
      "open",
      "close",
      "opened",
      "closed",
      "keydown",
      "update:show",
      "clickOverlay",
      "clickCloseIcon",
    ],
    setup(e, { emit: t, attrs: r, slots: n }) {
      let A, i;
      const s = (0, Hn.ref)(),
        a = (0, Hn.ref)(),
        o = (0, AP.useLazyRender)(() => e.show || !e.lazyRender),
        l = (0, Hn.computed)(() => {
          const F = { zIndex: s.value };
          if ((0, Ri.isDef)(e.duration)) {
            const I =
              e.position === "center"
                ? "animationDuration"
                : "transitionDuration";
            F[I] = `${e.duration}s`;
          }
          return F;
        }),
        u = () => {
          A ||
            ((A = !0),
            (s.value =
              e.zIndex !== void 0 ? +e.zIndex : (0, sP.useGlobalZIndex)()),
            t("open"));
        },
        f = () => {
          A &&
            (0, Ri.callInterceptor)(e.beforeClose, {
              done() {
                (A = !1), t("close"), t("update:show", !1);
              },
            });
        },
        d = (F) => {
          t("clickOverlay", F), e.closeOnClickOverlay && f();
        },
        g = () => {
          if (e.overlay)
            return (0, jn.createVNode)(
              oP.Overlay,
              (0, jn.mergeProps)(
                {
                  show: e.show,
                  class: e.overlayClass,
                  zIndex: s.value,
                  duration: e.duration,
                  customStyle: e.overlayStyle,
                  role: e.closeOnClickOverlay ? "button" : void 0,
                  tabindex: e.closeOnClickOverlay ? 0 : void 0,
                },
                (0, Jg.useScopeId)(),
                { onClick: d },
              ),
              { default: n["overlay-content"] },
            );
        },
        v = (F) => {
          t("clickCloseIcon", F), f();
        },
        B = () => {
          if (e.closeable)
            return (0, jn.createVNode)(
              aP.Icon,
              {
                role: "button",
                tabindex: 0,
                name: e.closeIcon,
                class: [
                  qg("close-icon", e.closeIconPosition),
                  Ri.HAPTICS_FEEDBACK,
                ],
                classPrefix: e.iconPrefix,
                onClick: v,
              },
              null,
            );
        };
      let y;
      const w = () => {
          y && clearTimeout(y),
            (y = setTimeout(() => {
              t("opened");
            }));
        },
        m = () => t("closed"),
        x = (F) => t("keydown", F),
        C = o(() => {
          var F;
          const {
            round: I,
            position: T,
            safeAreaInsetTop: D,
            safeAreaInsetBottom: U,
          } = e;
          return (0, jn.withDirectives)(
            (0, jn.createVNode)(
              "div",
              (0, jn.mergeProps)(
                {
                  ref: a,
                  style: l.value,
                  role: "dialog",
                  tabindex: 0,
                  class: [
                    qg({ round: I, [T]: T }),
                    { "van-safe-area-top": D, "van-safe-area-bottom": U },
                  ],
                  onKeydown: x,
                },
                r,
                (0, Jg.useScopeId)(),
              ),
              [(F = n.default) == null ? void 0 : F.call(n), B()],
            ),
            [[jn.vShow, e.show]],
          );
        }),
        b = () => {
          const { position: F, transition: I, transitionAppear: T } = e,
            D = F === "center" ? "van-fade" : `van-popup-slide-${F}`;
          return (0, jn.createVNode)(
            Hn.Transition,
            { name: I || D, appear: T, onAfterEnter: w, onAfterLeave: m },
            { default: C },
          );
        };
      return (
        (0, Hn.watch)(
          () => e.show,
          (F) => {
            F &&
              !A &&
              (u(),
              r.tabindex === 0 &&
                (0, Hn.nextTick)(() => {
                  var I;
                  (I = a.value) == null || I.focus();
                })),
              !F && A && ((A = !1), t("close"));
          },
        ),
        (0, rP.useExpose)({ popupRef: a }),
        (0, nP.useLockScroll)(a, () => e.show && e.lockScroll),
        (0, tP.useEventListener)("popstate", () => {
          e.closeOnPopstate && (f(), (i = !1));
        }),
        (0, Hn.onMounted)(() => {
          e.show && u();
        }),
        (0, Hn.onActivated)(() => {
          i && (t("update:show", !0), (i = !1));
        }),
        (0, Hn.onDeactivated)(() => {
          e.show && e.teleport && (f(), (i = !0));
        }),
        (0, Hn.provide)(iP.POPUP_TOGGLE_KEY, () => e.show),
        () =>
          e.teleport
            ? (0, jn.createVNode)(
                Hn.Teleport,
                { to: e.teleport },
                { default: () => [g(), b()] },
              )
            : (0, jn.createVNode)(jn.Fragment, null, [g(), b()])
      );
    },
  }),
  cP = Object.create,
  ff = Object.defineProperty,
  fP = Object.getOwnPropertyDescriptor,
  dP = Object.getOwnPropertyNames,
  hP = Object.getPrototypeOf,
  pP = Object.prototype.hasOwnProperty,
  gP = (e, t) => {
    for (var r in t) ff(e, r, { get: t[r], enumerable: !0 });
  },
  qB = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of dP(t))
        !pP.call(e, A) &&
          A !== r &&
          ff(e, A, {
            get: () => t[A],
            enumerable: !(n = fP(t, A)) || n.enumerable,
          });
    return e;
  },
  vP = (e, t, r) => (
    (r = e != null ? cP(hP(e)) : {}),
    qB(
      t || !e || !e.__esModule
        ? ff(r, "default", { value: e, enumerable: !0 })
        : r,
      e,
    )
  ),
  mP = (e) => qB(ff({}, "__esModule", { value: !0 }), e),
  ZB = {};
gP(ZB, { Popup: () => e9, default: () => xP, popupProps: () => CP.popupProps });
var BP = mP(ZB),
  wP = Kr,
  yP = vP(XB),
  CP = XB;
const e9 = (0, wP.withInstall)(yP.default);
var xP = e9,
  ap = Object.defineProperty,
  EP = Object.getOwnPropertyDescriptor,
  bP = Object.getOwnPropertyNames,
  FP = Object.prototype.hasOwnProperty,
  _P = (e, t) => {
    for (var r in t) ap(e, r, { get: t[r], enumerable: !0 });
  },
  SP = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of bP(t))
        !FP.call(e, A) &&
          A !== r &&
          ap(e, A, {
            get: () => t[A],
            enumerable: !(n = EP(t, A)) || n.enumerable,
          });
    return e;
  },
  QP = (e) => SP(ap({}, "__esModule", { value: !0 }), e),
  t9 = {};
_P(t9, { default: () => DP, loadingProps: () => n9 });
var r9 = QP(t9),
  za = Yt,
  Zg = Yt,
  Ws = Kr;
const [UP, Sl] = (0, Ws.createNamespace)("loading"),
  TP = Array(12)
    .fill(null)
    .map((e, t) =>
      (0, za.createVNode)("i", { class: Sl("line", String(t + 1)) }, null),
    ),
  IP = (0, za.createVNode)(
    "svg",
    { class: Sl("circular"), viewBox: "25 25 50 50" },
    [
      (0, za.createVNode)(
        "circle",
        { cx: "50", cy: "50", r: "20", fill: "none" },
        null,
      ),
    ],
  ),
  n9 = {
    size: Ws.numericProp,
    type: (0, Ws.makeStringProp)("circular"),
    color: String,
    vertical: Boolean,
    textSize: Ws.numericProp,
    textColor: String,
  };
var DP = (0, Zg.defineComponent)({
    name: UP,
    props: n9,
    setup(e, { slots: t }) {
      const r = (0, Zg.computed)(() =>
          (0, Ws.extend)({ color: e.color }, (0, Ws.getSizeStyle)(e.size)),
        ),
        n = () => {
          const i = e.type === "spinner" ? TP : IP;
          return (0, za.createVNode)(
            "span",
            { class: Sl("spinner", e.type), style: r.value },
            [t.icon ? t.icon() : i],
          );
        },
        A = () => {
          var i;
          if (t.default)
            return (0, za.createVNode)(
              "span",
              {
                class: Sl("text"),
                style: {
                  fontSize: (0, Ws.addUnit)(e.textSize),
                  color: (i = e.textColor) != null ? i : e.color,
                },
              },
              [t.default()],
            );
        };
      return () => {
        const { type: i, vertical: s } = e;
        return (0, za.createVNode)(
          "div",
          {
            class: Sl([i, { vertical: s }]),
            "aria-live": "polite",
            "aria-busy": !0,
          },
          [n(), A()],
        );
      };
    },
  }),
  PP = Object.create,
  df = Object.defineProperty,
  OP = Object.getOwnPropertyDescriptor,
  LP = Object.getOwnPropertyNames,
  kP = Object.getPrototypeOf,
  HP = Object.prototype.hasOwnProperty,
  MP = (e, t) => {
    for (var r in t) df(e, r, { get: t[r], enumerable: !0 });
  },
  A9 = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of LP(t))
        !HP.call(e, A) &&
          A !== r &&
          df(e, A, {
            get: () => t[A],
            enumerable: !(n = OP(t, A)) || n.enumerable,
          });
    return e;
  },
  RP = (e, t, r) => (
    (r = e != null ? PP(kP(e)) : {}),
    A9(
      t || !e || !e.__esModule
        ? df(r, "default", { value: e, enumerable: !0 })
        : r,
      e,
    )
  ),
  NP = (e) => A9(df({}, "__esModule", { value: !0 }), e),
  i9 = {};
MP(i9, {
  Loading: () => s9,
  default: () => WP,
  loadingProps: () => GP.loadingProps,
});
var $P = NP(i9),
  KP = Kr,
  VP = RP(r9),
  GP = r9;
const s9 = (0, KP.withInstall)(VP.default);
var WP = s9,
  op = Object.defineProperty,
  zP = Object.getOwnPropertyDescriptor,
  jP = Object.getOwnPropertyNames,
  YP = Object.prototype.hasOwnProperty,
  XP = (e, t) => {
    for (var r in t) op(e, r, { get: t[r], enumerable: !0 });
  },
  JP = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of jP(t))
        !YP.call(e, A) &&
          A !== r &&
          op(e, A, {
            get: () => t[A],
            enumerable: !(n = zP(t, A)) || n.enumerable,
          });
    return e;
  },
  qP = (e) => JP(op({}, "__esModule", { value: !0 }), e),
  a9 = {};
XP(a9, { default: () => sO, toastProps: () => o9 });
var ZP = qP(a9),
  Ss = Yt,
  Xo = Yt,
  qn = Kr,
  eO = hT,
  tO = IB,
  rO = BP,
  nO = $P;
const [AO, wa] = (0, qn.createNamespace)("toast"),
  iO = [
    "show",
    "overlay",
    "teleport",
    "transition",
    "overlayClass",
    "overlayStyle",
    "closeOnClickOverlay",
  ],
  o9 = {
    icon: String,
    show: Boolean,
    type: (0, qn.makeStringProp)("text"),
    overlay: Boolean,
    message: qn.numericProp,
    iconSize: qn.numericProp,
    duration: (0, qn.makeNumberProp)(2e3),
    position: (0, qn.makeStringProp)("middle"),
    teleport: [String, Object],
    wordBreak: String,
    className: qn.unknownProp,
    iconPrefix: String,
    transition: (0, qn.makeStringProp)("van-fade"),
    loadingType: String,
    forbidClick: Boolean,
    overlayClass: qn.unknownProp,
    overlayStyle: Object,
    closeOnClick: Boolean,
    closeOnClickOverlay: Boolean,
  };
var sO = (0, Xo.defineComponent)({
    name: AO,
    props: o9,
    emits: ["update:show"],
    setup(e, { emit: t, slots: r }) {
      let n,
        A = !1;
      const i = () => {
          const f = e.show && e.forbidClick;
          A !== f && ((A = f), (0, eO.lockClick)(A));
        },
        s = (f) => t("update:show", f),
        a = () => {
          e.closeOnClick && s(!1);
        },
        o = () => clearTimeout(n),
        l = () => {
          const {
            icon: f,
            type: d,
            iconSize: g,
            iconPrefix: v,
            loadingType: B,
          } = e;
          if (f || d === "success" || d === "fail")
            return (0, Ss.createVNode)(
              tO.Icon,
              { name: f || d, size: g, class: wa("icon"), classPrefix: v },
              null,
            );
          if (d === "loading")
            return (0, Ss.createVNode)(
              nO.Loading,
              { class: wa("loading"), size: g, type: B },
              null,
            );
        },
        u = () => {
          const { type: f, message: d } = e;
          if (r.message)
            return (0, Ss.createVNode)("div", { class: wa("text") }, [
              r.message(),
            ]);
          if ((0, qn.isDef)(d) && d !== "")
            return f === "html"
              ? (0, Ss.createVNode)(
                  "div",
                  { key: 0, class: wa("text"), innerHTML: String(d) },
                  null,
                )
              : (0, Ss.createVNode)("div", { class: wa("text") }, [d]);
        };
      return (
        (0, Xo.watch)(() => [e.show, e.forbidClick], i),
        (0, Xo.watch)(
          () => [e.show, e.type, e.message, e.duration],
          () => {
            o(),
              e.show &&
                e.duration > 0 &&
                (n = setTimeout(() => {
                  s(!1);
                }, e.duration));
          },
        ),
        (0, Xo.onMounted)(i),
        (0, Xo.onUnmounted)(i),
        () =>
          (0, Ss.createVNode)(
            rO.Popup,
            (0, Ss.mergeProps)(
              {
                class: [
                  wa([
                    e.position,
                    e.wordBreak === "normal" ? "break-normal" : e.wordBreak,
                    { [e.type]: !e.icon },
                  ]),
                  e.className,
                ],
                lockScroll: !1,
                onClick: a,
                onClosed: o,
                "onUpdate:show": s,
              },
              (0, qn.pick)(e, iO),
            ),
            { default: () => [l(), u()] },
          )
      );
    },
  }),
  aO = Object.create,
  hf = Object.defineProperty,
  oO = Object.getOwnPropertyDescriptor,
  lO = Object.getOwnPropertyNames,
  uO = Object.getPrototypeOf,
  cO = Object.prototype.hasOwnProperty,
  fO = (e, t) => {
    for (var r in t) hf(e, r, { get: t[r], enumerable: !0 });
  },
  l9 = (e, t, r, n) => {
    if ((t && typeof t == "object") || typeof t == "function")
      for (let A of lO(t))
        !cO.call(e, A) &&
          A !== r &&
          hf(e, A, {
            get: () => t[A],
            enumerable: !(n = oO(t, A)) || n.enumerable,
          });
    return e;
  },
  dO = (e, t, r) => (
    (r = e != null ? aO(uO(e)) : {}),
    l9(
      t || !e || !e.__esModule
        ? hf(r, "default", { value: e, enumerable: !0 })
        : r,
      e,
    )
  ),
  hO = (e) => l9(hf({}, "__esModule", { value: !0 }), e),
  u9 = {};
fO(u9, {
  allowMultipleToast: () => EO,
  closeToast: () => yO,
  resetToastDefaultOptions: () => xO,
  setToastDefaultOptions: () => CO,
  showFailToast: () => wO,
  showLoadingToast: () => mO,
  showSuccessToast: () => BO,
  showToast: () => d9,
});
var Kte = hO(u9),
  e4 = Yt,
  _1 = Yt,
  Zs = Kr,
  t4 = nT,
  pO = dO(ZP);
const c9 = {
  icon: "",
  type: "text",
  message: "",
  className: "",
  overlay: !1,
  onClose: void 0,
  onOpened: void 0,
  duration: 2e3,
  teleport: "body",
  iconSize: void 0,
  iconPrefix: void 0,
  position: "middle",
  transition: "van-fade",
  forbidClick: !1,
  loadingType: void 0,
  overlayClass: "",
  overlayStyle: void 0,
  closeOnClick: !1,
  closeOnClickOverlay: !1,
};
let tA = [],
  pf = !1,
  ac = (0, Zs.extend)({}, c9);
const oc = new Map();
function f9(e) {
  return (0, Zs.isObject)(e) ? e : { message: e };
}
function gO() {
  const { instance: e, unmount: t } = (0, t4.mountComponent)({
    setup() {
      const r = (0, _1.ref)(""),
        { open: n, state: A, close: i, toggle: s } = (0, t4.usePopupState)(),
        a = () => {
          pf && ((tA = tA.filter((l) => l !== e)), t());
        },
        o = () => {
          const l = { onClosed: a, "onUpdate:show": s };
          return (0, e4.createVNode)(
            pO.default,
            (0, e4.mergeProps)(A, l),
            null,
          );
        };
      return (
        (0, _1.watch)(r, (l) => {
          A.message = l;
        }),
        ((0, _1.getCurrentInstance)().render = o),
        { open: n, close: i, message: r }
      );
    },
  });
  return e;
}
function vO() {
  if (!tA.length || pf) {
    const e = gO();
    tA.push(e);
  }
  return tA[tA.length - 1];
}
function d9(e = {}) {
  if (!Zs.inBrowser) return {};
  const t = vO(),
    r = f9(e);
  return t.open((0, Zs.extend)({}, ac, oc.get(r.type || ac.type), r)), t;
}
const lp = (e) => (t) => d9((0, Zs.extend)({ type: e }, f9(t))),
  mO = lp("loading"),
  BO = lp("success"),
  wO = lp("fail"),
  yO = (e) => {
    var t;
    tA.length &&
      (e
        ? (tA.forEach((r) => {
            r.close();
          }),
          (tA = []))
        : pf
          ? (t = tA.shift()) == null || t.close()
          : tA[0].close());
  };
function CO(e, t) {
  typeof e == "string" ? oc.set(e, t) : (0, Zs.extend)(ac, e);
}
const xO = (e) => {
    typeof e == "string"
      ? oc.delete(e)
      : ((ac = (0, Zs.extend)({}, c9)), oc.clear());
  },
  EO = (e = !0) => {
    pf = e;
  };
var h9 = { exports: {} };
function bO(e) {
  throw new Error(
    'Could not dynamically require "' +
      e +
      '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.',
  );
}
var S1 = { exports: {} };
const FO = {},
  _O = Object.freeze(
    Object.defineProperty(
      { __proto__: null, default: FO },
      Symbol.toStringTag,
      { value: "Module" },
    ),
  ),
  SO = U6(_O);
var r4;
function Ft() {
  return (
    r4 ||
      ((r4 = 1),
      (function (e, t) {
        (function (r, n) {
          e.exports = n();
        })(pt, function () {
          var r =
            r ||
            (function (n, A) {
              var i;
              if (
                (typeof window < "u" && window.crypto && (i = window.crypto),
                typeof self < "u" && self.crypto && (i = self.crypto),
                typeof globalThis < "u" &&
                  globalThis.crypto &&
                  (i = globalThis.crypto),
                !i &&
                  typeof window < "u" &&
                  window.msCrypto &&
                  (i = window.msCrypto),
                !i && typeof pt < "u" && pt.crypto && (i = pt.crypto),
                !i && typeof bO == "function")
              )
                try {
                  i = SO;
                } catch {}
              var s = function () {
                  if (i) {
                    if (typeof i.getRandomValues == "function")
                      try {
                        return i.getRandomValues(new Uint32Array(1))[0];
                      } catch {}
                    if (typeof i.randomBytes == "function")
                      try {
                        return i.randomBytes(4).readInt32LE();
                      } catch {}
                  }
                  throw new Error(
                    "Native crypto module could not be used to get secure random number.",
                  );
                },
                a =
                  Object.create ||
                  (function () {
                    function m() {}
                    return function (x) {
                      var C;
                      return (
                        (m.prototype = x),
                        (C = new m()),
                        (m.prototype = null),
                        C
                      );
                    };
                  })(),
                o = {},
                l = (o.lib = {}),
                u = (l.Base = (function () {
                  return {
                    extend: function (m) {
                      var x = a(this);
                      return (
                        m && x.mixIn(m),
                        (!x.hasOwnProperty("init") || this.init === x.init) &&
                          (x.init = function () {
                            x.$super.init.apply(this, arguments);
                          }),
                        (x.init.prototype = x),
                        (x.$super = this),
                        x
                      );
                    },
                    create: function () {
                      var m = this.extend();
                      return m.init.apply(m, arguments), m;
                    },
                    init: function () {},
                    mixIn: function (m) {
                      for (var x in m) m.hasOwnProperty(x) && (this[x] = m[x]);
                      m.hasOwnProperty("toString") &&
                        (this.toString = m.toString);
                    },
                    clone: function () {
                      return this.init.prototype.extend(this);
                    },
                  };
                })()),
                f = (l.WordArray = u.extend({
                  init: function (m, x) {
                    (m = this.words = m || []),
                      x != A
                        ? (this.sigBytes = x)
                        : (this.sigBytes = m.length * 4);
                  },
                  toString: function (m) {
                    return (m || g).stringify(this);
                  },
                  concat: function (m) {
                    var x = this.words,
                      C = m.words,
                      b = this.sigBytes,
                      F = m.sigBytes;
                    if ((this.clamp(), b % 4))
                      for (var I = 0; I < F; I++) {
                        var T = (C[I >>> 2] >>> (24 - (I % 4) * 8)) & 255;
                        x[(b + I) >>> 2] |= T << (24 - ((b + I) % 4) * 8);
                      }
                    else
                      for (var D = 0; D < F; D += 4)
                        x[(b + D) >>> 2] = C[D >>> 2];
                    return (this.sigBytes += F), this;
                  },
                  clamp: function () {
                    var m = this.words,
                      x = this.sigBytes;
                    (m[x >>> 2] &= 4294967295 << (32 - (x % 4) * 8)),
                      (m.length = n.ceil(x / 4));
                  },
                  clone: function () {
                    var m = u.clone.call(this);
                    return (m.words = this.words.slice(0)), m;
                  },
                  random: function (m) {
                    for (var x = [], C = 0; C < m; C += 4) x.push(s());
                    return new f.init(x, m);
                  },
                })),
                d = (o.enc = {}),
                g = (d.Hex = {
                  stringify: function (m) {
                    for (
                      var x = m.words, C = m.sigBytes, b = [], F = 0;
                      F < C;
                      F++
                    ) {
                      var I = (x[F >>> 2] >>> (24 - (F % 4) * 8)) & 255;
                      b.push((I >>> 4).toString(16)),
                        b.push((I & 15).toString(16));
                    }
                    return b.join("");
                  },
                  parse: function (m) {
                    for (var x = m.length, C = [], b = 0; b < x; b += 2)
                      C[b >>> 3] |=
                        parseInt(m.substr(b, 2), 16) << (24 - (b % 8) * 4);
                    return new f.init(C, x / 2);
                  },
                }),
                v = (d.Latin1 = {
                  stringify: function (m) {
                    for (
                      var x = m.words, C = m.sigBytes, b = [], F = 0;
                      F < C;
                      F++
                    ) {
                      var I = (x[F >>> 2] >>> (24 - (F % 4) * 8)) & 255;
                      b.push(String.fromCharCode(I));
                    }
                    return b.join("");
                  },
                  parse: function (m) {
                    for (var x = m.length, C = [], b = 0; b < x; b++)
                      C[b >>> 2] |=
                        (m.charCodeAt(b) & 255) << (24 - (b % 4) * 8);
                    return new f.init(C, x);
                  },
                }),
                B = (d.Utf8 = {
                  stringify: function (m) {
                    try {
                      return decodeURIComponent(escape(v.stringify(m)));
                    } catch {
                      throw new Error("Malformed UTF-8 data");
                    }
                  },
                  parse: function (m) {
                    return v.parse(unescape(encodeURIComponent(m)));
                  },
                }),
                y = (l.BufferedBlockAlgorithm = u.extend({
                  reset: function () {
                    (this._data = new f.init()), (this._nDataBytes = 0);
                  },
                  _append: function (m) {
                    typeof m == "string" && (m = B.parse(m)),
                      this._data.concat(m),
                      (this._nDataBytes += m.sigBytes);
                  },
                  _process: function (m) {
                    var x,
                      C = this._data,
                      b = C.words,
                      F = C.sigBytes,
                      I = this.blockSize,
                      T = I * 4,
                      D = F / T;
                    m
                      ? (D = n.ceil(D))
                      : (D = n.max((D | 0) - this._minBufferSize, 0));
                    var U = D * I,
                      Q = n.min(U * 4, F);
                    if (U) {
                      for (var L = 0; L < U; L += I) this._doProcessBlock(b, L);
                      (x = b.splice(0, U)), (C.sigBytes -= Q);
                    }
                    return new f.init(x, Q);
                  },
                  clone: function () {
                    var m = u.clone.call(this);
                    return (m._data = this._data.clone()), m;
                  },
                  _minBufferSize: 0,
                }));
              l.Hasher = y.extend({
                cfg: u.extend(),
                init: function (m) {
                  (this.cfg = this.cfg.extend(m)), this.reset();
                },
                reset: function () {
                  y.reset.call(this), this._doReset();
                },
                update: function (m) {
                  return this._append(m), this._process(), this;
                },
                finalize: function (m) {
                  m && this._append(m);
                  var x = this._doFinalize();
                  return x;
                },
                blockSize: 16,
                _createHelper: function (m) {
                  return function (x, C) {
                    return new m.init(C).finalize(x);
                  };
                },
                _createHmacHelper: function (m) {
                  return function (x, C) {
                    return new w.HMAC.init(m, C).finalize(x);
                  };
                },
              });
              var w = (o.algo = {});
              return o;
            })(Math);
          return r;
        });
      })(S1)),
    S1.exports
  );
}
var Q1 = { exports: {} },
  n4;
function gf() {
  return (
    n4 ||
      ((n4 = 1),
      (function (e, t) {
        (function (r, n) {
          e.exports = n(Ft());
        })(pt, function (r) {
          return (
            (function (n) {
              var A = r,
                i = A.lib,
                s = i.Base,
                a = i.WordArray,
                o = (A.x64 = {});
              (o.Word = s.extend({
                init: function (l, u) {
                  (this.high = l), (this.low = u);
                },
              })),
                (o.WordArray = s.extend({
                  init: function (l, u) {
                    (l = this.words = l || []),
                      u != n
                        ? (this.sigBytes = u)
                        : (this.sigBytes = l.length * 8);
                  },
                  toX32: function () {
                    for (
                      var l = this.words, u = l.length, f = [], d = 0;
                      d < u;
                      d++
                    ) {
                      var g = l[d];
                      f.push(g.high), f.push(g.low);
                    }
                    return a.create(f, this.sigBytes);
                  },
                  clone: function () {
                    for (
                      var l = s.clone.call(this),
                        u = (l.words = this.words.slice(0)),
                        f = u.length,
                        d = 0;
                      d < f;
                      d++
                    )
                      u[d] = u[d].clone();
                    return l;
                  },
                }));
            })(),
            r
          );
        });
      })(Q1)),
    Q1.exports
  );
}
var U1 = { exports: {} },
  A4;
function QO() {
  return (
    A4 ||
      ((A4 = 1),
      (function (e, t) {
        (function (r, n) {
          e.exports = n(Ft());
        })(pt, function (r) {
          return (
            (function () {
              if (typeof ArrayBuffer == "function") {
                var n = r,
                  A = n.lib,
                  i = A.WordArray,
                  s = i.init,
                  a = (i.init = function (o) {
                    if (
                      (o instanceof ArrayBuffer && (o = new Uint8Array(o)),
                      (o instanceof Int8Array ||
                        (typeof Uint8ClampedArray < "u" &&
                          o instanceof Uint8ClampedArray) ||
                        o instanceof Int16Array ||
                        o instanceof Uint16Array ||
                        o instanceof Int32Array ||
                        o instanceof Uint32Array ||
                        o instanceof Float32Array ||
                        o instanceof Float64Array) &&
                        (o = new Uint8Array(
                          o.buffer,
                          o.byteOffset,
                          o.byteLength,
                        )),
                      o instanceof Uint8Array)
                    ) {
                      for (var l = o.byteLength, u = [], f = 0; f < l; f++)
                        u[f >>> 2] |= o[f] << (24 - (f % 4) * 8);
                      s.call(this, u, l);
                    } else s.apply(this, arguments);
                  });
                a.prototype = i;
              }
            })(),
            r.lib.WordArray
          );
        });
      })(U1)),
    U1.exports
  );
}
var T1 = { exports: {} },
  i4;
function UO() {
  return (
    i4 ||
      ((i4 = 1),
      (function (e, t) {
        (function (r, n) {
          e.exports = n(Ft());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.WordArray,
                s = n.enc;
              (s.Utf16 = s.Utf16BE =
                {
                  stringify: function (o) {
                    for (
                      var l = o.words, u = o.sigBytes, f = [], d = 0;
                      d < u;
                      d += 2
                    ) {
                      var g = (l[d >>> 2] >>> (16 - (d % 4) * 8)) & 65535;
                      f.push(String.fromCharCode(g));
                    }
                    return f.join("");
                  },
                  parse: function (o) {
                    for (var l = o.length, u = [], f = 0; f < l; f++)
                      u[f >>> 1] |= o.charCodeAt(f) << (16 - (f % 2) * 16);
                    return i.create(u, l * 2);
                  },
                }),
                (s.Utf16LE = {
                  stringify: function (o) {
                    for (
                      var l = o.words, u = o.sigBytes, f = [], d = 0;
                      d < u;
                      d += 2
                    ) {
                      var g = a((l[d >>> 2] >>> (16 - (d % 4) * 8)) & 65535);
                      f.push(String.fromCharCode(g));
                    }
                    return f.join("");
                  },
                  parse: function (o) {
                    for (var l = o.length, u = [], f = 0; f < l; f++)
                      u[f >>> 1] |= a(o.charCodeAt(f) << (16 - (f % 2) * 16));
                    return i.create(u, l * 2);
                  },
                });
              function a(o) {
                return ((o << 8) & 4278255360) | ((o >>> 8) & 16711935);
              }
            })(),
            r.enc.Utf16
          );
        });
      })(T1)),
    T1.exports
  );
}
var I1 = { exports: {} },
  s4;
function ia() {
  return (
    s4 ||
      ((s4 = 1),
      (function (e, t) {
        (function (r, n) {
          e.exports = n(Ft());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.WordArray,
                s = n.enc;
              s.Base64 = {
                stringify: function (o) {
                  var l = o.words,
                    u = o.sigBytes,
                    f = this._map;
                  o.clamp();
                  for (var d = [], g = 0; g < u; g += 3)
                    for (
                      var v = (l[g >>> 2] >>> (24 - (g % 4) * 8)) & 255,
                        B =
                          (l[(g + 1) >>> 2] >>> (24 - ((g + 1) % 4) * 8)) & 255,
                        y =
                          (l[(g + 2) >>> 2] >>> (24 - ((g + 2) % 4) * 8)) & 255,
                        w = (v << 16) | (B << 8) | y,
                        m = 0;
                      m < 4 && g + m * 0.75 < u;
                      m++
                    )
                      d.push(f.charAt((w >>> (6 * (3 - m))) & 63));
                  var x = f.charAt(64);
                  if (x) for (; d.length % 4; ) d.push(x);
                  return d.join("");
                },
                parse: function (o) {
                  var l = o.length,
                    u = this._map,
                    f = this._reverseMap;
                  if (!f) {
                    f = this._reverseMap = [];
                    for (var d = 0; d < u.length; d++) f[u.charCodeAt(d)] = d;
                  }
                  var g = u.charAt(64);
                  if (g) {
                    var v = o.indexOf(g);
                    v !== -1 && (l = v);
                  }
                  return a(o, l, f);
                },
                _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
              };
              function a(o, l, u) {
                for (var f = [], d = 0, g = 0; g < l; g++)
                  if (g % 4) {
                    var v = u[o.charCodeAt(g - 1)] << ((g % 4) * 2),
                      B = u[o.charCodeAt(g)] >>> (6 - (g % 4) * 2),
                      y = v | B;
                    (f[d >>> 2] |= y << (24 - (d % 4) * 8)), d++;
                  }
                return i.create(f, d);
              }
            })(),
            r.enc.Base64
          );
        });
      })(I1)),
    I1.exports
  );
}
var D1 = { exports: {} },
  a4;
function TO() {
  return (
    a4 ||
      ((a4 = 1),
      (function (e, t) {
        (function (r, n) {
          e.exports = n(Ft());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.WordArray,
                s = n.enc;
              s.Base64url = {
                stringify: function (o, l) {
                  l === void 0 && (l = !0);
                  var u = o.words,
                    f = o.sigBytes,
                    d = l ? this._safe_map : this._map;
                  o.clamp();
                  for (var g = [], v = 0; v < f; v += 3)
                    for (
                      var B = (u[v >>> 2] >>> (24 - (v % 4) * 8)) & 255,
                        y =
                          (u[(v + 1) >>> 2] >>> (24 - ((v + 1) % 4) * 8)) & 255,
                        w =
                          (u[(v + 2) >>> 2] >>> (24 - ((v + 2) % 4) * 8)) & 255,
                        m = (B << 16) | (y << 8) | w,
                        x = 0;
                      x < 4 && v + x * 0.75 < f;
                      x++
                    )
                      g.push(d.charAt((m >>> (6 * (3 - x))) & 63));
                  var C = d.charAt(64);
                  if (C) for (; g.length % 4; ) g.push(C);
                  return g.join("");
                },
                parse: function (o, l) {
                  l === void 0 && (l = !0);
                  var u = o.length,
                    f = l ? this._safe_map : this._map,
                    d = this._reverseMap;
                  if (!d) {
                    d = this._reverseMap = [];
                    for (var g = 0; g < f.length; g++) d[f.charCodeAt(g)] = g;
                  }
                  var v = f.charAt(64);
                  if (v) {
                    var B = o.indexOf(v);
                    B !== -1 && (u = B);
                  }
                  return a(o, u, d);
                },
                _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
                _safe_map:
                  "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",
              };
              function a(o, l, u) {
                for (var f = [], d = 0, g = 0; g < l; g++)
                  if (g % 4) {
                    var v = u[o.charCodeAt(g - 1)] << ((g % 4) * 2),
                      B = u[o.charCodeAt(g)] >>> (6 - (g % 4) * 2),
                      y = v | B;
                    (f[d >>> 2] |= y << (24 - (d % 4) * 8)), d++;
                  }
                return i.create(f, d);
              }
            })(),
            r.enc.Base64url
          );
        });
      })(D1)),
    D1.exports
  );
}
var P1 = { exports: {} },
  o4;
function sa() {
  return (
    o4 ||
      ((o4 = 1),
      (function (e, t) {
        (function (r, n) {
          e.exports = n(Ft());
        })(pt, function (r) {
          return (
            (function (n) {
              var A = r,
                i = A.lib,
                s = i.WordArray,
                a = i.Hasher,
                o = A.algo,
                l = [];
              (function () {
                for (var B = 0; B < 64; B++)
                  l[B] = (n.abs(n.sin(B + 1)) * 4294967296) | 0;
              })();
              var u = (o.MD5 = a.extend({
                _doReset: function () {
                  this._hash = new s.init([
                    1732584193, 4023233417, 2562383102, 271733878,
                  ]);
                },
                _doProcessBlock: function (B, y) {
                  for (var w = 0; w < 16; w++) {
                    var m = y + w,
                      x = B[m];
                    B[m] =
                      (((x << 8) | (x >>> 24)) & 16711935) |
                      (((x << 24) | (x >>> 8)) & 4278255360);
                  }
                  var C = this._hash.words,
                    b = B[y + 0],
                    F = B[y + 1],
                    I = B[y + 2],
                    T = B[y + 3],
                    D = B[y + 4],
                    U = B[y + 5],
                    Q = B[y + 6],
                    L = B[y + 7],
                    $ = B[y + 8],
                    X = B[y + 9],
                    V = B[y + 10],
                    G = B[y + 11],
                    le = B[y + 12],
                    q = B[y + 13],
                    ue = B[y + 14],
                    Ce = B[y + 15],
                    ee = C[0],
                    ce = C[1],
                    ve = C[2],
                    xe = C[3];
                  (ee = f(ee, ce, ve, xe, b, 7, l[0])),
                    (xe = f(xe, ee, ce, ve, F, 12, l[1])),
                    (ve = f(ve, xe, ee, ce, I, 17, l[2])),
                    (ce = f(ce, ve, xe, ee, T, 22, l[3])),
                    (ee = f(ee, ce, ve, xe, D, 7, l[4])),
                    (xe = f(xe, ee, ce, ve, U, 12, l[5])),
                    (ve = f(ve, xe, ee, ce, Q, 17, l[6])),
                    (ce = f(ce, ve, xe, ee, L, 22, l[7])),
                    (ee = f(ee, ce, ve, xe, $, 7, l[8])),
                    (xe = f(xe, ee, ce, ve, X, 12, l[9])),
                    (ve = f(ve, xe, ee, ce, V, 17, l[10])),
                    (ce = f(ce, ve, xe, ee, G, 22, l[11])),
                    (ee = f(ee, ce, ve, xe, le, 7, l[12])),
                    (xe = f(xe, ee, ce, ve, q, 12, l[13])),
                    (ve = f(ve, xe, ee, ce, ue, 17, l[14])),
                    (ce = f(ce, ve, xe, ee, Ce, 22, l[15])),
                    (ee = d(ee, ce, ve, xe, F, 5, l[16])),
                    (xe = d(xe, ee, ce, ve, Q, 9, l[17])),
                    (ve = d(ve, xe, ee, ce, G, 14, l[18])),
                    (ce = d(ce, ve, xe, ee, b, 20, l[19])),
                    (ee = d(ee, ce, ve, xe, U, 5, l[20])),
                    (xe = d(xe, ee, ce, ve, V, 9, l[21])),
                    (ve = d(ve, xe, ee, ce, Ce, 14, l[22])),
                    (ce = d(ce, ve, xe, ee, D, 20, l[23])),
                    (ee = d(ee, ce, ve, xe, X, 5, l[24])),
                    (xe = d(xe, ee, ce, ve, ue, 9, l[25])),
                    (ve = d(ve, xe, ee, ce, T, 14, l[26])),
                    (ce = d(ce, ve, xe, ee, $, 20, l[27])),
                    (ee = d(ee, ce, ve, xe, q, 5, l[28])),
                    (xe = d(xe, ee, ce, ve, I, 9, l[29])),
                    (ve = d(ve, xe, ee, ce, L, 14, l[30])),
                    (ce = d(ce, ve, xe, ee, le, 20, l[31])),
                    (ee = g(ee, ce, ve, xe, U, 4, l[32])),
                    (xe = g(xe, ee, ce, ve, $, 11, l[33])),
                    (ve = g(ve, xe, ee, ce, G, 16, l[34])),
                    (ce = g(ce, ve, xe, ee, ue, 23, l[35])),
                    (ee = g(ee, ce, ve, xe, F, 4, l[36])),
                    (xe = g(xe, ee, ce, ve, D, 11, l[37])),
                    (ve = g(ve, xe, ee, ce, L, 16, l[38])),
                    (ce = g(ce, ve, xe, ee, V, 23, l[39])),
                    (ee = g(ee, ce, ve, xe, q, 4, l[40])),
                    (xe = g(xe, ee, ce, ve, b, 11, l[41])),
                    (ve = g(ve, xe, ee, ce, T, 16, l[42])),
                    (ce = g(ce, ve, xe, ee, Q, 23, l[43])),
                    (ee = g(ee, ce, ve, xe, X, 4, l[44])),
                    (xe = g(xe, ee, ce, ve, le, 11, l[45])),
                    (ve = g(ve, xe, ee, ce, Ce, 16, l[46])),
                    (ce = g(ce, ve, xe, ee, I, 23, l[47])),
                    (ee = v(ee, ce, ve, xe, b, 6, l[48])),
                    (xe = v(xe, ee, ce, ve, L, 10, l[49])),
                    (ve = v(ve, xe, ee, ce, ue, 15, l[50])),
                    (ce = v(ce, ve, xe, ee, U, 21, l[51])),
                    (ee = v(ee, ce, ve, xe, le, 6, l[52])),
                    (xe = v(xe, ee, ce, ve, T, 10, l[53])),
                    (ve = v(ve, xe, ee, ce, V, 15, l[54])),
                    (ce = v(ce, ve, xe, ee, F, 21, l[55])),
                    (ee = v(ee, ce, ve, xe, $, 6, l[56])),
                    (xe = v(xe, ee, ce, ve, Ce, 10, l[57])),
                    (ve = v(ve, xe, ee, ce, Q, 15, l[58])),
                    (ce = v(ce, ve, xe, ee, q, 21, l[59])),
                    (ee = v(ee, ce, ve, xe, D, 6, l[60])),
                    (xe = v(xe, ee, ce, ve, G, 10, l[61])),
                    (ve = v(ve, xe, ee, ce, I, 15, l[62])),
                    (ce = v(ce, ve, xe, ee, X, 21, l[63])),
                    (C[0] = (C[0] + ee) | 0),
                    (C[1] = (C[1] + ce) | 0),
                    (C[2] = (C[2] + ve) | 0),
                    (C[3] = (C[3] + xe) | 0);
                },
                _doFinalize: function () {
                  var B = this._data,
                    y = B.words,
                    w = this._nDataBytes * 8,
                    m = B.sigBytes * 8;
                  y[m >>> 5] |= 128 << (24 - (m % 32));
                  var x = n.floor(w / 4294967296),
                    C = w;
                  (y[(((m + 64) >>> 9) << 4) + 15] =
                    (((x << 8) | (x >>> 24)) & 16711935) |
                    (((x << 24) | (x >>> 8)) & 4278255360)),
                    (y[(((m + 64) >>> 9) << 4) + 14] =
                      (((C << 8) | (C >>> 24)) & 16711935) |
                      (((C << 24) | (C >>> 8)) & 4278255360)),
                    (B.sigBytes = (y.length + 1) * 4),
                    this._process();
                  for (var b = this._hash, F = b.words, I = 0; I < 4; I++) {
                    var T = F[I];
                    F[I] =
                      (((T << 8) | (T >>> 24)) & 16711935) |
                      (((T << 24) | (T >>> 8)) & 4278255360);
                  }
                  return b;
                },
                clone: function () {
                  var B = a.clone.call(this);
                  return (B._hash = this._hash.clone()), B;
                },
              }));
              function f(B, y, w, m, x, C, b) {
                var F = B + ((y & w) | (~y & m)) + x + b;
                return ((F << C) | (F >>> (32 - C))) + y;
              }
              function d(B, y, w, m, x, C, b) {
                var F = B + ((y & m) | (w & ~m)) + x + b;
                return ((F << C) | (F >>> (32 - C))) + y;
              }
              function g(B, y, w, m, x, C, b) {
                var F = B + (y ^ w ^ m) + x + b;
                return ((F << C) | (F >>> (32 - C))) + y;
              }
              function v(B, y, w, m, x, C, b) {
                var F = B + (w ^ (y | ~m)) + x + b;
                return ((F << C) | (F >>> (32 - C))) + y;
              }
              (A.MD5 = a._createHelper(u)),
                (A.HmacMD5 = a._createHmacHelper(u));
            })(Math),
            r.MD5
          );
        });
      })(P1)),
    P1.exports
  );
}
var O1 = { exports: {} },
  l4;
function p9() {
  return (
    l4 ||
      ((l4 = 1),
      (function (e, t) {
        (function (r, n) {
          e.exports = n(Ft());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.WordArray,
                s = A.Hasher,
                a = n.algo,
                o = [],
                l = (a.SHA1 = s.extend({
                  _doReset: function () {
                    this._hash = new i.init([
                      1732584193, 4023233417, 2562383102, 271733878, 3285377520,
                    ]);
                  },
                  _doProcessBlock: function (u, f) {
                    for (
                      var d = this._hash.words,
                        g = d[0],
                        v = d[1],
                        B = d[2],
                        y = d[3],
                        w = d[4],
                        m = 0;
                      m < 80;
                      m++
                    ) {
                      if (m < 16) o[m] = u[f + m] | 0;
                      else {
                        var x = o[m - 3] ^ o[m - 8] ^ o[m - 14] ^ o[m - 16];
                        o[m] = (x << 1) | (x >>> 31);
                      }
                      var C = ((g << 5) | (g >>> 27)) + w + o[m];
                      m < 20
                        ? (C += ((v & B) | (~v & y)) + 1518500249)
                        : m < 40
                          ? (C += (v ^ B ^ y) + 1859775393)
                          : m < 60
                            ? (C += ((v & B) | (v & y) | (B & y)) - 1894007588)
                            : (C += (v ^ B ^ y) - 899497514),
                        (w = y),
                        (y = B),
                        (B = (v << 30) | (v >>> 2)),
                        (v = g),
                        (g = C);
                    }
                    (d[0] = (d[0] + g) | 0),
                      (d[1] = (d[1] + v) | 0),
                      (d[2] = (d[2] + B) | 0),
                      (d[3] = (d[3] + y) | 0),
                      (d[4] = (d[4] + w) | 0);
                  },
                  _doFinalize: function () {
                    var u = this._data,
                      f = u.words,
                      d = this._nDataBytes * 8,
                      g = u.sigBytes * 8;
                    return (
                      (f[g >>> 5] |= 128 << (24 - (g % 32))),
                      (f[(((g + 64) >>> 9) << 4) + 14] = Math.floor(
                        d / 4294967296,
                      )),
                      (f[(((g + 64) >>> 9) << 4) + 15] = d),
                      (u.sigBytes = f.length * 4),
                      this._process(),
                      this._hash
                    );
                  },
                  clone: function () {
                    var u = s.clone.call(this);
                    return (u._hash = this._hash.clone()), u;
                  },
                }));
              (n.SHA1 = s._createHelper(l)),
                (n.HmacSHA1 = s._createHmacHelper(l));
            })(),
            r.SHA1
          );
        });
      })(O1)),
    O1.exports
  );
}
var L1 = { exports: {} },
  u4;
function up() {
  return (
    u4 ||
      ((u4 = 1),
      (function (e, t) {
        (function (r, n) {
          e.exports = n(Ft());
        })(pt, function (r) {
          return (
            (function (n) {
              var A = r,
                i = A.lib,
                s = i.WordArray,
                a = i.Hasher,
                o = A.algo,
                l = [],
                u = [];
              (function () {
                function g(w) {
                  for (var m = n.sqrt(w), x = 2; x <= m; x++)
                    if (!(w % x)) return !1;
                  return !0;
                }
                function v(w) {
                  return ((w - (w | 0)) * 4294967296) | 0;
                }
                for (var B = 2, y = 0; y < 64; )
                  g(B) &&
                    (y < 8 && (l[y] = v(n.pow(B, 1 / 2))),
                    (u[y] = v(n.pow(B, 1 / 3))),
                    y++),
                    B++;
              })();
              var f = [],
                d = (o.SHA256 = a.extend({
                  _doReset: function () {
                    this._hash = new s.init(l.slice(0));
                  },
                  _doProcessBlock: function (g, v) {
                    for (
                      var B = this._hash.words,
                        y = B[0],
                        w = B[1],
                        m = B[2],
                        x = B[3],
                        C = B[4],
                        b = B[5],
                        F = B[6],
                        I = B[7],
                        T = 0;
                      T < 64;
                      T++
                    ) {
                      if (T < 16) f[T] = g[v + T] | 0;
                      else {
                        var D = f[T - 15],
                          U =
                            ((D << 25) | (D >>> 7)) ^
                            ((D << 14) | (D >>> 18)) ^
                            (D >>> 3),
                          Q = f[T - 2],
                          L =
                            ((Q << 15) | (Q >>> 17)) ^
                            ((Q << 13) | (Q >>> 19)) ^
                            (Q >>> 10);
                        f[T] = U + f[T - 7] + L + f[T - 16];
                      }
                      var $ = (C & b) ^ (~C & F),
                        X = (y & w) ^ (y & m) ^ (w & m),
                        V =
                          ((y << 30) | (y >>> 2)) ^
                          ((y << 19) | (y >>> 13)) ^
                          ((y << 10) | (y >>> 22)),
                        G =
                          ((C << 26) | (C >>> 6)) ^
                          ((C << 21) | (C >>> 11)) ^
                          ((C << 7) | (C >>> 25)),
                        le = I + G + $ + u[T] + f[T],
                        q = V + X;
                      (I = F),
                        (F = b),
                        (b = C),
                        (C = (x + le) | 0),
                        (x = m),
                        (m = w),
                        (w = y),
                        (y = (le + q) | 0);
                    }
                    (B[0] = (B[0] + y) | 0),
                      (B[1] = (B[1] + w) | 0),
                      (B[2] = (B[2] + m) | 0),
                      (B[3] = (B[3] + x) | 0),
                      (B[4] = (B[4] + C) | 0),
                      (B[5] = (B[5] + b) | 0),
                      (B[6] = (B[6] + F) | 0),
                      (B[7] = (B[7] + I) | 0);
                  },
                  _doFinalize: function () {
                    var g = this._data,
                      v = g.words,
                      B = this._nDataBytes * 8,
                      y = g.sigBytes * 8;
                    return (
                      (v[y >>> 5] |= 128 << (24 - (y % 32))),
                      (v[(((y + 64) >>> 9) << 4) + 14] = n.floor(
                        B / 4294967296,
                      )),
                      (v[(((y + 64) >>> 9) << 4) + 15] = B),
                      (g.sigBytes = v.length * 4),
                      this._process(),
                      this._hash
                    );
                  },
                  clone: function () {
                    var g = a.clone.call(this);
                    return (g._hash = this._hash.clone()), g;
                  },
                }));
              (A.SHA256 = a._createHelper(d)),
                (A.HmacSHA256 = a._createHmacHelper(d));
            })(Math),
            r.SHA256
          );
        });
      })(L1)),
    L1.exports
  );
}
var k1 = { exports: {} },
  c4;
function IO() {
  return (
    c4 ||
      ((c4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), up());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.WordArray,
                s = n.algo,
                a = s.SHA256,
                o = (s.SHA224 = a.extend({
                  _doReset: function () {
                    this._hash = new i.init([
                      3238371032, 914150663, 812702999, 4144912697, 4290775857,
                      1750603025, 1694076839, 3204075428,
                    ]);
                  },
                  _doFinalize: function () {
                    var l = a._doFinalize.call(this);
                    return (l.sigBytes -= 4), l;
                  },
                }));
              (n.SHA224 = a._createHelper(o)),
                (n.HmacSHA224 = a._createHmacHelper(o));
            })(),
            r.SHA224
          );
        });
      })(k1)),
    k1.exports
  );
}
var H1 = { exports: {} },
  f4;
function g9() {
  return (
    f4 ||
      ((f4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), gf());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.Hasher,
                s = n.x64,
                a = s.Word,
                o = s.WordArray,
                l = n.algo;
              function u() {
                return a.create.apply(a, arguments);
              }
              var f = [
                  u(1116352408, 3609767458),
                  u(1899447441, 602891725),
                  u(3049323471, 3964484399),
                  u(3921009573, 2173295548),
                  u(961987163, 4081628472),
                  u(1508970993, 3053834265),
                  u(2453635748, 2937671579),
                  u(2870763221, 3664609560),
                  u(3624381080, 2734883394),
                  u(310598401, 1164996542),
                  u(607225278, 1323610764),
                  u(1426881987, 3590304994),
                  u(1925078388, 4068182383),
                  u(2162078206, 991336113),
                  u(2614888103, 633803317),
                  u(3248222580, 3479774868),
                  u(3835390401, 2666613458),
                  u(4022224774, 944711139),
                  u(264347078, 2341262773),
                  u(604807628, 2007800933),
                  u(770255983, 1495990901),
                  u(1249150122, 1856431235),
                  u(1555081692, 3175218132),
                  u(1996064986, 2198950837),
                  u(2554220882, 3999719339),
                  u(2821834349, 766784016),
                  u(2952996808, 2566594879),
                  u(3210313671, 3203337956),
                  u(3336571891, 1034457026),
                  u(3584528711, 2466948901),
                  u(113926993, 3758326383),
                  u(338241895, 168717936),
                  u(666307205, 1188179964),
                  u(773529912, 1546045734),
                  u(1294757372, 1522805485),
                  u(1396182291, 2643833823),
                  u(1695183700, 2343527390),
                  u(1986661051, 1014477480),
                  u(2177026350, 1206759142),
                  u(2456956037, 344077627),
                  u(2730485921, 1290863460),
                  u(2820302411, 3158454273),
                  u(3259730800, 3505952657),
                  u(3345764771, 106217008),
                  u(3516065817, 3606008344),
                  u(3600352804, 1432725776),
                  u(4094571909, 1467031594),
                  u(275423344, 851169720),
                  u(430227734, 3100823752),
                  u(506948616, 1363258195),
                  u(659060556, 3750685593),
                  u(883997877, 3785050280),
                  u(958139571, 3318307427),
                  u(1322822218, 3812723403),
                  u(1537002063, 2003034995),
                  u(1747873779, 3602036899),
                  u(1955562222, 1575990012),
                  u(2024104815, 1125592928),
                  u(2227730452, 2716904306),
                  u(2361852424, 442776044),
                  u(2428436474, 593698344),
                  u(2756734187, 3733110249),
                  u(3204031479, 2999351573),
                  u(3329325298, 3815920427),
                  u(3391569614, 3928383900),
                  u(3515267271, 566280711),
                  u(3940187606, 3454069534),
                  u(4118630271, 4000239992),
                  u(116418474, 1914138554),
                  u(174292421, 2731055270),
                  u(289380356, 3203993006),
                  u(460393269, 320620315),
                  u(685471733, 587496836),
                  u(852142971, 1086792851),
                  u(1017036298, 365543100),
                  u(1126000580, 2618297676),
                  u(1288033470, 3409855158),
                  u(1501505948, 4234509866),
                  u(1607167915, 987167468),
                  u(1816402316, 1246189591),
                ],
                d = [];
              (function () {
                for (var v = 0; v < 80; v++) d[v] = u();
              })();
              var g = (l.SHA512 = i.extend({
                _doReset: function () {
                  this._hash = new o.init([
                    new a.init(1779033703, 4089235720),
                    new a.init(3144134277, 2227873595),
                    new a.init(1013904242, 4271175723),
                    new a.init(2773480762, 1595750129),
                    new a.init(1359893119, 2917565137),
                    new a.init(2600822924, 725511199),
                    new a.init(528734635, 4215389547),
                    new a.init(1541459225, 327033209),
                  ]);
                },
                _doProcessBlock: function (v, B) {
                  for (
                    var y = this._hash.words,
                      w = y[0],
                      m = y[1],
                      x = y[2],
                      C = y[3],
                      b = y[4],
                      F = y[5],
                      I = y[6],
                      T = y[7],
                      D = w.high,
                      U = w.low,
                      Q = m.high,
                      L = m.low,
                      $ = x.high,
                      X = x.low,
                      V = C.high,
                      G = C.low,
                      le = b.high,
                      q = b.low,
                      ue = F.high,
                      Ce = F.low,
                      ee = I.high,
                      ce = I.low,
                      ve = T.high,
                      xe = T.low,
                      se = D,
                      Fe = U,
                      ie = Q,
                      _e = L,
                      De = $,
                      $e = X,
                      Te = V,
                      j = G,
                      P = le,
                      M = q,
                      te = ue,
                      Be = Ce,
                      Ie = ee,
                      Le = ce,
                      He = ve,
                      Ne = xe,
                      Pe = 0;
                    Pe < 80;
                    Pe++
                  ) {
                    var we,
                      he,
                      Ke = d[Pe];
                    if (Pe < 16)
                      (he = Ke.high = v[B + Pe * 2] | 0),
                        (we = Ke.low = v[B + Pe * 2 + 1] | 0);
                    else {
                      var Je = d[Pe - 15],
                        lt = Je.high,
                        mt = Je.low,
                        Bt =
                          ((lt >>> 1) | (mt << 31)) ^
                          ((lt >>> 8) | (mt << 24)) ^
                          (lt >>> 7),
                        kt =
                          ((mt >>> 1) | (lt << 31)) ^
                          ((mt >>> 8) | (lt << 24)) ^
                          ((mt >>> 7) | (lt << 25)),
                        kr = d[Pe - 2],
                        Xt = kr.high,
                        Vr = kr.low,
                        uA =
                          ((Xt >>> 19) | (Vr << 13)) ^
                          ((Xt << 3) | (Vr >>> 29)) ^
                          (Xt >>> 6),
                        di =
                          ((Vr >>> 19) | (Xt << 13)) ^
                          ((Vr << 3) | (Xt >>> 29)) ^
                          ((Vr >>> 6) | (Xt << 26)),
                        Fr = d[Pe - 7],
                        An = Fr.high,
                        Bs = Fr.low,
                        Do = d[Pe - 16],
                        oa = Do.high,
                        ws = Do.low;
                      (we = kt + Bs),
                        (he = Bt + An + (we >>> 0 < kt >>> 0 ? 1 : 0)),
                        (we = we + di),
                        (he = he + uA + (we >>> 0 < di >>> 0 ? 1 : 0)),
                        (we = we + ws),
                        (he = he + oa + (we >>> 0 < ws >>> 0 ? 1 : 0)),
                        (Ke.high = he),
                        (Ke.low = we);
                    }
                    var la = (P & te) ^ (~P & Ie),
                      I0 = (M & Be) ^ (~M & Le),
                      Xf = (se & ie) ^ (se & De) ^ (ie & De),
                      Jf = (Fe & _e) ^ (Fe & $e) ^ (_e & $e),
                      qf =
                        ((se >>> 28) | (Fe << 4)) ^
                        ((se << 30) | (Fe >>> 2)) ^
                        ((se << 25) | (Fe >>> 7)),
                      Ge =
                        ((Fe >>> 28) | (se << 4)) ^
                        ((Fe << 30) | (se >>> 2)) ^
                        ((Fe << 25) | (se >>> 7)),
                      vr =
                        ((P >>> 14) | (M << 18)) ^
                        ((P >>> 18) | (M << 14)) ^
                        ((P << 23) | (M >>> 9)),
                      UA =
                        ((M >>> 14) | (P << 18)) ^
                        ((M >>> 18) | (P << 14)) ^
                        ((M << 23) | (P >>> 9)),
                      Pn = f[Pe],
                      _r = Pn.high,
                      ua = Pn.low,
                      lr = Ne + UA,
                      yn = He + vr + (lr >>> 0 < Ne >>> 0 ? 1 : 0),
                      lr = lr + I0,
                      yn = yn + la + (lr >>> 0 < I0 >>> 0 ? 1 : 0),
                      lr = lr + ua,
                      yn = yn + _r + (lr >>> 0 < ua >>> 0 ? 1 : 0),
                      lr = lr + we,
                      yn = yn + he + (lr >>> 0 < we >>> 0 ? 1 : 0),
                      mr = Ge + Jf,
                      ca = qf + Xf + (mr >>> 0 < Ge >>> 0 ? 1 : 0);
                    (He = Ie),
                      (Ne = Le),
                      (Ie = te),
                      (Le = Be),
                      (te = P),
                      (Be = M),
                      (M = (j + lr) | 0),
                      (P = (Te + yn + (M >>> 0 < j >>> 0 ? 1 : 0)) | 0),
                      (Te = De),
                      (j = $e),
                      (De = ie),
                      ($e = _e),
                      (ie = se),
                      (_e = Fe),
                      (Fe = (lr + mr) | 0),
                      (se = (yn + ca + (Fe >>> 0 < lr >>> 0 ? 1 : 0)) | 0);
                  }
                  (U = w.low = U + Fe),
                    (w.high = D + se + (U >>> 0 < Fe >>> 0 ? 1 : 0)),
                    (L = m.low = L + _e),
                    (m.high = Q + ie + (L >>> 0 < _e >>> 0 ? 1 : 0)),
                    (X = x.low = X + $e),
                    (x.high = $ + De + (X >>> 0 < $e >>> 0 ? 1 : 0)),
                    (G = C.low = G + j),
                    (C.high = V + Te + (G >>> 0 < j >>> 0 ? 1 : 0)),
                    (q = b.low = q + M),
                    (b.high = le + P + (q >>> 0 < M >>> 0 ? 1 : 0)),
                    (Ce = F.low = Ce + Be),
                    (F.high = ue + te + (Ce >>> 0 < Be >>> 0 ? 1 : 0)),
                    (ce = I.low = ce + Le),
                    (I.high = ee + Ie + (ce >>> 0 < Le >>> 0 ? 1 : 0)),
                    (xe = T.low = xe + Ne),
                    (T.high = ve + He + (xe >>> 0 < Ne >>> 0 ? 1 : 0));
                },
                _doFinalize: function () {
                  var v = this._data,
                    B = v.words,
                    y = this._nDataBytes * 8,
                    w = v.sigBytes * 8;
                  (B[w >>> 5] |= 128 << (24 - (w % 32))),
                    (B[(((w + 128) >>> 10) << 5) + 30] = Math.floor(
                      y / 4294967296,
                    )),
                    (B[(((w + 128) >>> 10) << 5) + 31] = y),
                    (v.sigBytes = B.length * 4),
                    this._process();
                  var m = this._hash.toX32();
                  return m;
                },
                clone: function () {
                  var v = i.clone.call(this);
                  return (v._hash = this._hash.clone()), v;
                },
                blockSize: 1024 / 32,
              }));
              (n.SHA512 = i._createHelper(g)),
                (n.HmacSHA512 = i._createHmacHelper(g));
            })(),
            r.SHA512
          );
        });
      })(H1)),
    H1.exports
  );
}
var M1 = { exports: {} },
  d4;
function DO() {
  return (
    d4 ||
      ((d4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), gf(), g9());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.x64,
                i = A.Word,
                s = A.WordArray,
                a = n.algo,
                o = a.SHA512,
                l = (a.SHA384 = o.extend({
                  _doReset: function () {
                    this._hash = new s.init([
                      new i.init(3418070365, 3238371032),
                      new i.init(1654270250, 914150663),
                      new i.init(2438529370, 812702999),
                      new i.init(355462360, 4144912697),
                      new i.init(1731405415, 4290775857),
                      new i.init(2394180231, 1750603025),
                      new i.init(3675008525, 1694076839),
                      new i.init(1203062813, 3204075428),
                    ]);
                  },
                  _doFinalize: function () {
                    var u = o._doFinalize.call(this);
                    return (u.sigBytes -= 16), u;
                  },
                }));
              (n.SHA384 = o._createHelper(l)),
                (n.HmacSHA384 = o._createHmacHelper(l));
            })(),
            r.SHA384
          );
        });
      })(M1)),
    M1.exports
  );
}
var R1 = { exports: {} },
  h4;
function PO() {
  return (
    h4 ||
      ((h4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), gf());
        })(pt, function (r) {
          return (
            (function (n) {
              var A = r,
                i = A.lib,
                s = i.WordArray,
                a = i.Hasher,
                o = A.x64,
                l = o.Word,
                u = A.algo,
                f = [],
                d = [],
                g = [];
              (function () {
                for (var y = 1, w = 0, m = 0; m < 24; m++) {
                  f[y + 5 * w] = (((m + 1) * (m + 2)) / 2) % 64;
                  var x = w % 5,
                    C = (2 * y + 3 * w) % 5;
                  (y = x), (w = C);
                }
                for (var y = 0; y < 5; y++)
                  for (var w = 0; w < 5; w++)
                    d[y + 5 * w] = w + ((2 * y + 3 * w) % 5) * 5;
                for (var b = 1, F = 0; F < 24; F++) {
                  for (var I = 0, T = 0, D = 0; D < 7; D++) {
                    if (b & 1) {
                      var U = (1 << D) - 1;
                      U < 32 ? (T ^= 1 << U) : (I ^= 1 << (U - 32));
                    }
                    b & 128 ? (b = (b << 1) ^ 113) : (b <<= 1);
                  }
                  g[F] = l.create(I, T);
                }
              })();
              var v = [];
              (function () {
                for (var y = 0; y < 25; y++) v[y] = l.create();
              })();
              var B = (u.SHA3 = a.extend({
                cfg: a.cfg.extend({ outputLength: 512 }),
                _doReset: function () {
                  for (var y = (this._state = []), w = 0; w < 25; w++)
                    y[w] = new l.init();
                  this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
                },
                _doProcessBlock: function (y, w) {
                  for (
                    var m = this._state, x = this.blockSize / 2, C = 0;
                    C < x;
                    C++
                  ) {
                    var b = y[w + 2 * C],
                      F = y[w + 2 * C + 1];
                    (b =
                      (((b << 8) | (b >>> 24)) & 16711935) |
                      (((b << 24) | (b >>> 8)) & 4278255360)),
                      (F =
                        (((F << 8) | (F >>> 24)) & 16711935) |
                        (((F << 24) | (F >>> 8)) & 4278255360));
                    var I = m[C];
                    (I.high ^= F), (I.low ^= b);
                  }
                  for (var T = 0; T < 24; T++) {
                    for (var D = 0; D < 5; D++) {
                      for (var U = 0, Q = 0, L = 0; L < 5; L++) {
                        var I = m[D + 5 * L];
                        (U ^= I.high), (Q ^= I.low);
                      }
                      var $ = v[D];
                      ($.high = U), ($.low = Q);
                    }
                    for (var D = 0; D < 5; D++)
                      for (
                        var X = v[(D + 4) % 5],
                          V = v[(D + 1) % 5],
                          G = V.high,
                          le = V.low,
                          U = X.high ^ ((G << 1) | (le >>> 31)),
                          Q = X.low ^ ((le << 1) | (G >>> 31)),
                          L = 0;
                        L < 5;
                        L++
                      ) {
                        var I = m[D + 5 * L];
                        (I.high ^= U), (I.low ^= Q);
                      }
                    for (var q = 1; q < 25; q++) {
                      var U,
                        Q,
                        I = m[q],
                        ue = I.high,
                        Ce = I.low,
                        ee = f[q];
                      ee < 32
                        ? ((U = (ue << ee) | (Ce >>> (32 - ee))),
                          (Q = (Ce << ee) | (ue >>> (32 - ee))))
                        : ((U = (Ce << (ee - 32)) | (ue >>> (64 - ee))),
                          (Q = (ue << (ee - 32)) | (Ce >>> (64 - ee))));
                      var ce = v[d[q]];
                      (ce.high = U), (ce.low = Q);
                    }
                    var ve = v[0],
                      xe = m[0];
                    (ve.high = xe.high), (ve.low = xe.low);
                    for (var D = 0; D < 5; D++)
                      for (var L = 0; L < 5; L++) {
                        var q = D + 5 * L,
                          I = m[q],
                          se = v[q],
                          Fe = v[((D + 1) % 5) + 5 * L],
                          ie = v[((D + 2) % 5) + 5 * L];
                        (I.high = se.high ^ (~Fe.high & ie.high)),
                          (I.low = se.low ^ (~Fe.low & ie.low));
                      }
                    var I = m[0],
                      _e = g[T];
                    (I.high ^= _e.high), (I.low ^= _e.low);
                  }
                },
                _doFinalize: function () {
                  var y = this._data,
                    w = y.words;
                  this._nDataBytes * 8;
                  var m = y.sigBytes * 8,
                    x = this.blockSize * 32;
                  (w[m >>> 5] |= 1 << (24 - (m % 32))),
                    (w[((n.ceil((m + 1) / x) * x) >>> 5) - 1] |= 128),
                    (y.sigBytes = w.length * 4),
                    this._process();
                  for (
                    var C = this._state,
                      b = this.cfg.outputLength / 8,
                      F = b / 8,
                      I = [],
                      T = 0;
                    T < F;
                    T++
                  ) {
                    var D = C[T],
                      U = D.high,
                      Q = D.low;
                    (U =
                      (((U << 8) | (U >>> 24)) & 16711935) |
                      (((U << 24) | (U >>> 8)) & 4278255360)),
                      (Q =
                        (((Q << 8) | (Q >>> 24)) & 16711935) |
                        (((Q << 24) | (Q >>> 8)) & 4278255360)),
                      I.push(Q),
                      I.push(U);
                  }
                  return new s.init(I, b);
                },
                clone: function () {
                  for (
                    var y = a.clone.call(this),
                      w = (y._state = this._state.slice(0)),
                      m = 0;
                    m < 25;
                    m++
                  )
                    w[m] = w[m].clone();
                  return y;
                },
              }));
              (A.SHA3 = a._createHelper(B)),
                (A.HmacSHA3 = a._createHmacHelper(B));
            })(Math),
            r.SHA3
          );
        });
      })(R1)),
    R1.exports
  );
}
var N1 = { exports: {} },
  p4;
function OO() {
  return (
    p4 ||
      ((p4 = 1),
      (function (e, t) {
        (function (r, n) {
          e.exports = n(Ft());
        })(pt, function (r) {
          /** @preserve
			(c) 2012 by Cédric Mesnil. All rights reserved.

			Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

			    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
			    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

			THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
			*/ return (
            (function (n) {
              var A = r,
                i = A.lib,
                s = i.WordArray,
                a = i.Hasher,
                o = A.algo,
                l = s.create([
                  0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4,
                  13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4,
                  9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8,
                  12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10,
                  14, 1, 3, 8, 11, 6, 15, 13,
                ]),
                u = s.create([
                  5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11,
                  3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7,
                  14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15,
                  0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6,
                  2, 13, 14, 0, 3, 9, 11,
                ]),
                f = s.create([
                  11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6,
                  8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6,
                  7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15,
                  14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8,
                  13, 12, 5, 12, 13, 14, 11, 8, 5, 6,
                ]),
                d = s.create([
                  8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13,
                  15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11,
                  8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14,
                  14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14,
                  6, 8, 13, 6, 5, 15, 13, 11, 11,
                ]),
                g = s.create([
                  0, 1518500249, 1859775393, 2400959708, 2840853838,
                ]),
                v = s.create([
                  1352829926, 1548603684, 1836072691, 2053994217, 0,
                ]),
                B = (o.RIPEMD160 = a.extend({
                  _doReset: function () {
                    this._hash = s.create([
                      1732584193, 4023233417, 2562383102, 271733878, 3285377520,
                    ]);
                  },
                  _doProcessBlock: function (F, I) {
                    for (var T = 0; T < 16; T++) {
                      var D = I + T,
                        U = F[D];
                      F[D] =
                        (((U << 8) | (U >>> 24)) & 16711935) |
                        (((U << 24) | (U >>> 8)) & 4278255360);
                    }
                    var Q = this._hash.words,
                      L = g.words,
                      $ = v.words,
                      X = l.words,
                      V = u.words,
                      G = f.words,
                      le = d.words,
                      q,
                      ue,
                      Ce,
                      ee,
                      ce,
                      ve,
                      xe,
                      se,
                      Fe,
                      ie;
                    (ve = q = Q[0]),
                      (xe = ue = Q[1]),
                      (se = Ce = Q[2]),
                      (Fe = ee = Q[3]),
                      (ie = ce = Q[4]);
                    for (var _e, T = 0; T < 80; T += 1)
                      (_e = (q + F[I + X[T]]) | 0),
                        T < 16
                          ? (_e += y(ue, Ce, ee) + L[0])
                          : T < 32
                            ? (_e += w(ue, Ce, ee) + L[1])
                            : T < 48
                              ? (_e += m(ue, Ce, ee) + L[2])
                              : T < 64
                                ? (_e += x(ue, Ce, ee) + L[3])
                                : (_e += C(ue, Ce, ee) + L[4]),
                        (_e = _e | 0),
                        (_e = b(_e, G[T])),
                        (_e = (_e + ce) | 0),
                        (q = ce),
                        (ce = ee),
                        (ee = b(Ce, 10)),
                        (Ce = ue),
                        (ue = _e),
                        (_e = (ve + F[I + V[T]]) | 0),
                        T < 16
                          ? (_e += C(xe, se, Fe) + $[0])
                          : T < 32
                            ? (_e += x(xe, se, Fe) + $[1])
                            : T < 48
                              ? (_e += m(xe, se, Fe) + $[2])
                              : T < 64
                                ? (_e += w(xe, se, Fe) + $[3])
                                : (_e += y(xe, se, Fe) + $[4]),
                        (_e = _e | 0),
                        (_e = b(_e, le[T])),
                        (_e = (_e + ie) | 0),
                        (ve = ie),
                        (ie = Fe),
                        (Fe = b(se, 10)),
                        (se = xe),
                        (xe = _e);
                    (_e = (Q[1] + Ce + Fe) | 0),
                      (Q[1] = (Q[2] + ee + ie) | 0),
                      (Q[2] = (Q[3] + ce + ve) | 0),
                      (Q[3] = (Q[4] + q + xe) | 0),
                      (Q[4] = (Q[0] + ue + se) | 0),
                      (Q[0] = _e);
                  },
                  _doFinalize: function () {
                    var F = this._data,
                      I = F.words,
                      T = this._nDataBytes * 8,
                      D = F.sigBytes * 8;
                    (I[D >>> 5] |= 128 << (24 - (D % 32))),
                      (I[(((D + 64) >>> 9) << 4) + 14] =
                        (((T << 8) | (T >>> 24)) & 16711935) |
                        (((T << 24) | (T >>> 8)) & 4278255360)),
                      (F.sigBytes = (I.length + 1) * 4),
                      this._process();
                    for (var U = this._hash, Q = U.words, L = 0; L < 5; L++) {
                      var $ = Q[L];
                      Q[L] =
                        ((($ << 8) | ($ >>> 24)) & 16711935) |
                        ((($ << 24) | ($ >>> 8)) & 4278255360);
                    }
                    return U;
                  },
                  clone: function () {
                    var F = a.clone.call(this);
                    return (F._hash = this._hash.clone()), F;
                  },
                }));
              function y(F, I, T) {
                return F ^ I ^ T;
              }
              function w(F, I, T) {
                return (F & I) | (~F & T);
              }
              function m(F, I, T) {
                return (F | ~I) ^ T;
              }
              function x(F, I, T) {
                return (F & T) | (I & ~T);
              }
              function C(F, I, T) {
                return F ^ (I | ~T);
              }
              function b(F, I) {
                return (F << I) | (F >>> (32 - I));
              }
              (A.RIPEMD160 = a._createHelper(B)),
                (A.HmacRIPEMD160 = a._createHmacHelper(B));
            })(),
            r.RIPEMD160
          );
        });
      })(N1)),
    N1.exports
  );
}
var $1 = { exports: {} },
  g4;
function cp() {
  return (
    g4 ||
      ((g4 = 1),
      (function (e, t) {
        (function (r, n) {
          e.exports = n(Ft());
        })(pt, function (r) {
          (function () {
            var n = r,
              A = n.lib,
              i = A.Base,
              s = n.enc,
              a = s.Utf8,
              o = n.algo;
            o.HMAC = i.extend({
              init: function (l, u) {
                (l = this._hasher = new l.init()),
                  typeof u == "string" && (u = a.parse(u));
                var f = l.blockSize,
                  d = f * 4;
                u.sigBytes > d && (u = l.finalize(u)), u.clamp();
                for (
                  var g = (this._oKey = u.clone()),
                    v = (this._iKey = u.clone()),
                    B = g.words,
                    y = v.words,
                    w = 0;
                  w < f;
                  w++
                )
                  (B[w] ^= 1549556828), (y[w] ^= 909522486);
                (g.sigBytes = v.sigBytes = d), this.reset();
              },
              reset: function () {
                var l = this._hasher;
                l.reset(), l.update(this._iKey);
              },
              update: function (l) {
                return this._hasher.update(l), this;
              },
              finalize: function (l) {
                var u = this._hasher,
                  f = u.finalize(l);
                u.reset();
                var d = u.finalize(this._oKey.clone().concat(f));
                return d;
              },
            });
          })();
        });
      })($1)),
    $1.exports
  );
}
var K1 = { exports: {} },
  v4;
function LO() {
  return (
    v4 ||
      ((v4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), up(), cp());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.Base,
                s = A.WordArray,
                a = n.algo,
                o = a.SHA256,
                l = a.HMAC,
                u = (a.PBKDF2 = i.extend({
                  cfg: i.extend({
                    keySize: 128 / 32,
                    hasher: o,
                    iterations: 25e4,
                  }),
                  init: function (f) {
                    this.cfg = this.cfg.extend(f);
                  },
                  compute: function (f, d) {
                    for (
                      var g = this.cfg,
                        v = l.create(g.hasher, f),
                        B = s.create(),
                        y = s.create([1]),
                        w = B.words,
                        m = y.words,
                        x = g.keySize,
                        C = g.iterations;
                      w.length < x;

                    ) {
                      var b = v.update(d).finalize(y);
                      v.reset();
                      for (
                        var F = b.words, I = F.length, T = b, D = 1;
                        D < C;
                        D++
                      ) {
                        (T = v.finalize(T)), v.reset();
                        for (var U = T.words, Q = 0; Q < I; Q++) F[Q] ^= U[Q];
                      }
                      B.concat(b), m[0]++;
                    }
                    return (B.sigBytes = x * 4), B;
                  },
                }));
              n.PBKDF2 = function (f, d, g) {
                return u.create(g).compute(f, d);
              };
            })(),
            r.PBKDF2
          );
        });
      })(K1)),
    K1.exports
  );
}
var V1 = { exports: {} },
  m4;
function hs() {
  return (
    m4 ||
      ((m4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), p9(), cp());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.Base,
                s = A.WordArray,
                a = n.algo,
                o = a.MD5,
                l = (a.EvpKDF = i.extend({
                  cfg: i.extend({
                    keySize: 128 / 32,
                    hasher: o,
                    iterations: 1,
                  }),
                  init: function (u) {
                    this.cfg = this.cfg.extend(u);
                  },
                  compute: function (u, f) {
                    for (
                      var d,
                        g = this.cfg,
                        v = g.hasher.create(),
                        B = s.create(),
                        y = B.words,
                        w = g.keySize,
                        m = g.iterations;
                      y.length < w;

                    ) {
                      d && v.update(d),
                        (d = v.update(u).finalize(f)),
                        v.reset();
                      for (var x = 1; x < m; x++)
                        (d = v.finalize(d)), v.reset();
                      B.concat(d);
                    }
                    return (B.sigBytes = w * 4), B;
                  },
                }));
              n.EvpKDF = function (u, f, d) {
                return l.create(d).compute(u, f);
              };
            })(),
            r.EvpKDF
          );
        });
      })(V1)),
    V1.exports
  );
}
var G1 = { exports: {} },
  B4;
function Or() {
  return (
    B4 ||
      ((B4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), hs());
        })(pt, function (r) {
          r.lib.Cipher ||
            (function (n) {
              var A = r,
                i = A.lib,
                s = i.Base,
                a = i.WordArray,
                o = i.BufferedBlockAlgorithm,
                l = A.enc;
              l.Utf8;
              var u = l.Base64,
                f = A.algo,
                d = f.EvpKDF,
                g = (i.Cipher = o.extend({
                  cfg: s.extend(),
                  createEncryptor: function (U, Q) {
                    return this.create(this._ENC_XFORM_MODE, U, Q);
                  },
                  createDecryptor: function (U, Q) {
                    return this.create(this._DEC_XFORM_MODE, U, Q);
                  },
                  init: function (U, Q, L) {
                    (this.cfg = this.cfg.extend(L)),
                      (this._xformMode = U),
                      (this._key = Q),
                      this.reset();
                  },
                  reset: function () {
                    o.reset.call(this), this._doReset();
                  },
                  process: function (U) {
                    return this._append(U), this._process();
                  },
                  finalize: function (U) {
                    U && this._append(U);
                    var Q = this._doFinalize();
                    return Q;
                  },
                  keySize: 128 / 32,
                  ivSize: 128 / 32,
                  _ENC_XFORM_MODE: 1,
                  _DEC_XFORM_MODE: 2,
                  _createHelper: (function () {
                    function U(Q) {
                      return typeof Q == "string" ? D : F;
                    }
                    return function (Q) {
                      return {
                        encrypt: function (L, $, X) {
                          return U($).encrypt(Q, L, $, X);
                        },
                        decrypt: function (L, $, X) {
                          return U($).decrypt(Q, L, $, X);
                        },
                      };
                    };
                  })(),
                }));
              i.StreamCipher = g.extend({
                _doFinalize: function () {
                  var U = this._process(!0);
                  return U;
                },
                blockSize: 1,
              });
              var v = (A.mode = {}),
                B = (i.BlockCipherMode = s.extend({
                  createEncryptor: function (U, Q) {
                    return this.Encryptor.create(U, Q);
                  },
                  createDecryptor: function (U, Q) {
                    return this.Decryptor.create(U, Q);
                  },
                  init: function (U, Q) {
                    (this._cipher = U), (this._iv = Q);
                  },
                })),
                y = (v.CBC = (function () {
                  var U = B.extend();
                  (U.Encryptor = U.extend({
                    processBlock: function (L, $) {
                      var X = this._cipher,
                        V = X.blockSize;
                      Q.call(this, L, $, V),
                        X.encryptBlock(L, $),
                        (this._prevBlock = L.slice($, $ + V));
                    },
                  })),
                    (U.Decryptor = U.extend({
                      processBlock: function (L, $) {
                        var X = this._cipher,
                          V = X.blockSize,
                          G = L.slice($, $ + V);
                        X.decryptBlock(L, $),
                          Q.call(this, L, $, V),
                          (this._prevBlock = G);
                      },
                    }));
                  function Q(L, $, X) {
                    var V,
                      G = this._iv;
                    G ? ((V = G), (this._iv = n)) : (V = this._prevBlock);
                    for (var le = 0; le < X; le++) L[$ + le] ^= V[le];
                  }
                  return U;
                })()),
                w = (A.pad = {}),
                m = (w.Pkcs7 = {
                  pad: function (U, Q) {
                    for (
                      var L = Q * 4,
                        $ = L - (U.sigBytes % L),
                        X = ($ << 24) | ($ << 16) | ($ << 8) | $,
                        V = [],
                        G = 0;
                      G < $;
                      G += 4
                    )
                      V.push(X);
                    var le = a.create(V, $);
                    U.concat(le);
                  },
                  unpad: function (U) {
                    var Q = U.words[(U.sigBytes - 1) >>> 2] & 255;
                    U.sigBytes -= Q;
                  },
                });
              i.BlockCipher = g.extend({
                cfg: g.cfg.extend({ mode: y, padding: m }),
                reset: function () {
                  var U;
                  g.reset.call(this);
                  var Q = this.cfg,
                    L = Q.iv,
                    $ = Q.mode;
                  this._xformMode == this._ENC_XFORM_MODE
                    ? (U = $.createEncryptor)
                    : ((U = $.createDecryptor), (this._minBufferSize = 1)),
                    this._mode && this._mode.__creator == U
                      ? this._mode.init(this, L && L.words)
                      : ((this._mode = U.call($, this, L && L.words)),
                        (this._mode.__creator = U));
                },
                _doProcessBlock: function (U, Q) {
                  this._mode.processBlock(U, Q);
                },
                _doFinalize: function () {
                  var U,
                    Q = this.cfg.padding;
                  return (
                    this._xformMode == this._ENC_XFORM_MODE
                      ? (Q.pad(this._data, this.blockSize),
                        (U = this._process(!0)))
                      : ((U = this._process(!0)), Q.unpad(U)),
                    U
                  );
                },
                blockSize: 128 / 32,
              });
              var x = (i.CipherParams = s.extend({
                  init: function (U) {
                    this.mixIn(U);
                  },
                  toString: function (U) {
                    return (U || this.formatter).stringify(this);
                  },
                })),
                C = (A.format = {}),
                b = (C.OpenSSL = {
                  stringify: function (U) {
                    var Q,
                      L = U.ciphertext,
                      $ = U.salt;
                    return (
                      $
                        ? (Q = a
                            .create([1398893684, 1701076831])
                            .concat($)
                            .concat(L))
                        : (Q = L),
                      Q.toString(u)
                    );
                  },
                  parse: function (U) {
                    var Q,
                      L = u.parse(U),
                      $ = L.words;
                    return (
                      $[0] == 1398893684 &&
                        $[1] == 1701076831 &&
                        ((Q = a.create($.slice(2, 4))),
                        $.splice(0, 4),
                        (L.sigBytes -= 16)),
                      x.create({ ciphertext: L, salt: Q })
                    );
                  },
                }),
                F = (i.SerializableCipher = s.extend({
                  cfg: s.extend({ format: b }),
                  encrypt: function (U, Q, L, $) {
                    $ = this.cfg.extend($);
                    var X = U.createEncryptor(L, $),
                      V = X.finalize(Q),
                      G = X.cfg;
                    return x.create({
                      ciphertext: V,
                      key: L,
                      iv: G.iv,
                      algorithm: U,
                      mode: G.mode,
                      padding: G.padding,
                      blockSize: U.blockSize,
                      formatter: $.format,
                    });
                  },
                  decrypt: function (U, Q, L, $) {
                    ($ = this.cfg.extend($)), (Q = this._parse(Q, $.format));
                    var X = U.createDecryptor(L, $).finalize(Q.ciphertext);
                    return X;
                  },
                  _parse: function (U, Q) {
                    return typeof U == "string" ? Q.parse(U, this) : U;
                  },
                })),
                I = (A.kdf = {}),
                T = (I.OpenSSL = {
                  execute: function (U, Q, L, $, X) {
                    if (($ || ($ = a.random(64 / 8)), X))
                      var V = d
                        .create({ keySize: Q + L, hasher: X })
                        .compute(U, $);
                    else var V = d.create({ keySize: Q + L }).compute(U, $);
                    var G = a.create(V.words.slice(Q), L * 4);
                    return (
                      (V.sigBytes = Q * 4), x.create({ key: V, iv: G, salt: $ })
                    );
                  },
                }),
                D = (i.PasswordBasedCipher = F.extend({
                  cfg: F.cfg.extend({ kdf: T }),
                  encrypt: function (U, Q, L, $) {
                    $ = this.cfg.extend($);
                    var X = $.kdf.execute(
                      L,
                      U.keySize,
                      U.ivSize,
                      $.salt,
                      $.hasher,
                    );
                    $.iv = X.iv;
                    var V = F.encrypt.call(this, U, Q, X.key, $);
                    return V.mixIn(X), V;
                  },
                  decrypt: function (U, Q, L, $) {
                    ($ = this.cfg.extend($)), (Q = this._parse(Q, $.format));
                    var X = $.kdf.execute(
                      L,
                      U.keySize,
                      U.ivSize,
                      Q.salt,
                      $.hasher,
                    );
                    $.iv = X.iv;
                    var V = F.decrypt.call(this, U, Q, X.key, $);
                    return V;
                  },
                }));
            })();
        });
      })(G1)),
    G1.exports
  );
}
var W1 = { exports: {} },
  w4;
function kO() {
  return (
    w4 ||
      ((w4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), Or());
        })(pt, function (r) {
          return (
            (r.mode.CFB = (function () {
              var n = r.lib.BlockCipherMode.extend();
              (n.Encryptor = n.extend({
                processBlock: function (i, s) {
                  var a = this._cipher,
                    o = a.blockSize;
                  A.call(this, i, s, o, a),
                    (this._prevBlock = i.slice(s, s + o));
                },
              })),
                (n.Decryptor = n.extend({
                  processBlock: function (i, s) {
                    var a = this._cipher,
                      o = a.blockSize,
                      l = i.slice(s, s + o);
                    A.call(this, i, s, o, a), (this._prevBlock = l);
                  },
                }));
              function A(i, s, a, o) {
                var l,
                  u = this._iv;
                u
                  ? ((l = u.slice(0)), (this._iv = void 0))
                  : (l = this._prevBlock),
                  o.encryptBlock(l, 0);
                for (var f = 0; f < a; f++) i[s + f] ^= l[f];
              }
              return n;
            })()),
            r.mode.CFB
          );
        });
      })(W1)),
    W1.exports
  );
}
var z1 = { exports: {} },
  y4;
function HO() {
  return (
    y4 ||
      ((y4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), Or());
        })(pt, function (r) {
          return (
            (r.mode.CTR = (function () {
              var n = r.lib.BlockCipherMode.extend(),
                A = (n.Encryptor = n.extend({
                  processBlock: function (i, s) {
                    var a = this._cipher,
                      o = a.blockSize,
                      l = this._iv,
                      u = this._counter;
                    l &&
                      ((u = this._counter = l.slice(0)), (this._iv = void 0));
                    var f = u.slice(0);
                    a.encryptBlock(f, 0), (u[o - 1] = (u[o - 1] + 1) | 0);
                    for (var d = 0; d < o; d++) i[s + d] ^= f[d];
                  },
                }));
              return (n.Decryptor = A), n;
            })()),
            r.mode.CTR
          );
        });
      })(z1)),
    z1.exports
  );
}
var j1 = { exports: {} },
  C4;
function MO() {
  return (
    C4 ||
      ((C4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), Or());
        })(pt, function (r) {
          /** @preserve
           * Counter block mode compatible with  Dr Brian Gladman fileenc.c
           * derived from CryptoJS.mode.CTR
           * Jan Hruby jhruby.web@gmail.com
           */ return (
            (r.mode.CTRGladman = (function () {
              var n = r.lib.BlockCipherMode.extend();
              function A(a) {
                if (((a >> 24) & 255) === 255) {
                  var o = (a >> 16) & 255,
                    l = (a >> 8) & 255,
                    u = a & 255;
                  o === 255
                    ? ((o = 0),
                      l === 255 ? ((l = 0), u === 255 ? (u = 0) : ++u) : ++l)
                    : ++o,
                    (a = 0),
                    (a += o << 16),
                    (a += l << 8),
                    (a += u);
                } else a += 1 << 24;
                return a;
              }
              function i(a) {
                return (a[0] = A(a[0])) === 0 && (a[1] = A(a[1])), a;
              }
              var s = (n.Encryptor = n.extend({
                processBlock: function (a, o) {
                  var l = this._cipher,
                    u = l.blockSize,
                    f = this._iv,
                    d = this._counter;
                  f && ((d = this._counter = f.slice(0)), (this._iv = void 0)),
                    i(d);
                  var g = d.slice(0);
                  l.encryptBlock(g, 0);
                  for (var v = 0; v < u; v++) a[o + v] ^= g[v];
                },
              }));
              return (n.Decryptor = s), n;
            })()),
            r.mode.CTRGladman
          );
        });
      })(j1)),
    j1.exports
  );
}
var Y1 = { exports: {} },
  x4;
function RO() {
  return (
    x4 ||
      ((x4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), Or());
        })(pt, function (r) {
          return (
            (r.mode.OFB = (function () {
              var n = r.lib.BlockCipherMode.extend(),
                A = (n.Encryptor = n.extend({
                  processBlock: function (i, s) {
                    var a = this._cipher,
                      o = a.blockSize,
                      l = this._iv,
                      u = this._keystream;
                    l &&
                      ((u = this._keystream = l.slice(0)), (this._iv = void 0)),
                      a.encryptBlock(u, 0);
                    for (var f = 0; f < o; f++) i[s + f] ^= u[f];
                  },
                }));
              return (n.Decryptor = A), n;
            })()),
            r.mode.OFB
          );
        });
      })(Y1)),
    Y1.exports
  );
}
var X1 = { exports: {} },
  E4;
function NO() {
  return (
    E4 ||
      ((E4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), Or());
        })(pt, function (r) {
          return (
            (r.mode.ECB = (function () {
              var n = r.lib.BlockCipherMode.extend();
              return (
                (n.Encryptor = n.extend({
                  processBlock: function (A, i) {
                    this._cipher.encryptBlock(A, i);
                  },
                })),
                (n.Decryptor = n.extend({
                  processBlock: function (A, i) {
                    this._cipher.decryptBlock(A, i);
                  },
                })),
                n
              );
            })()),
            r.mode.ECB
          );
        });
      })(X1)),
    X1.exports
  );
}
var J1 = { exports: {} },
  b4;
function $O() {
  return (
    b4 ||
      ((b4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), Or());
        })(pt, function (r) {
          return (
            (r.pad.AnsiX923 = {
              pad: function (n, A) {
                var i = n.sigBytes,
                  s = A * 4,
                  a = s - (i % s),
                  o = i + a - 1;
                n.clamp(),
                  (n.words[o >>> 2] |= a << (24 - (o % 4) * 8)),
                  (n.sigBytes += a);
              },
              unpad: function (n) {
                var A = n.words[(n.sigBytes - 1) >>> 2] & 255;
                n.sigBytes -= A;
              },
            }),
            r.pad.Ansix923
          );
        });
      })(J1)),
    J1.exports
  );
}
var q1 = { exports: {} },
  F4;
function KO() {
  return (
    F4 ||
      ((F4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), Or());
        })(pt, function (r) {
          return (
            (r.pad.Iso10126 = {
              pad: function (n, A) {
                var i = A * 4,
                  s = i - (n.sigBytes % i);
                n.concat(r.lib.WordArray.random(s - 1)).concat(
                  r.lib.WordArray.create([s << 24], 1),
                );
              },
              unpad: function (n) {
                var A = n.words[(n.sigBytes - 1) >>> 2] & 255;
                n.sigBytes -= A;
              },
            }),
            r.pad.Iso10126
          );
        });
      })(q1)),
    q1.exports
  );
}
var Z1 = { exports: {} },
  _4;
function VO() {
  return (
    _4 ||
      ((_4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), Or());
        })(pt, function (r) {
          return (
            (r.pad.Iso97971 = {
              pad: function (n, A) {
                n.concat(r.lib.WordArray.create([2147483648], 1)),
                  r.pad.ZeroPadding.pad(n, A);
              },
              unpad: function (n) {
                r.pad.ZeroPadding.unpad(n), n.sigBytes--;
              },
            }),
            r.pad.Iso97971
          );
        });
      })(Z1)),
    Z1.exports
  );
}
var ed = { exports: {} },
  S4;
function GO() {
  return (
    S4 ||
      ((S4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), Or());
        })(pt, function (r) {
          return (
            (r.pad.ZeroPadding = {
              pad: function (n, A) {
                var i = A * 4;
                n.clamp(), (n.sigBytes += i - (n.sigBytes % i || i));
              },
              unpad: function (n) {
                for (
                  var A = n.words, i = n.sigBytes - 1, i = n.sigBytes - 1;
                  i >= 0;
                  i--
                )
                  if ((A[i >>> 2] >>> (24 - (i % 4) * 8)) & 255) {
                    n.sigBytes = i + 1;
                    break;
                  }
              },
            }),
            r.pad.ZeroPadding
          );
        });
      })(ed)),
    ed.exports
  );
}
var td = { exports: {} },
  Q4;
function WO() {
  return (
    Q4 ||
      ((Q4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), Or());
        })(pt, function (r) {
          return (
            (r.pad.NoPadding = { pad: function () {}, unpad: function () {} }),
            r.pad.NoPadding
          );
        });
      })(td)),
    td.exports
  );
}
var rd = { exports: {} },
  U4;
function zO() {
  return (
    U4 ||
      ((U4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), Or());
        })(pt, function (r) {
          return (
            (function (n) {
              var A = r,
                i = A.lib,
                s = i.CipherParams,
                a = A.enc,
                o = a.Hex,
                l = A.format;
              l.Hex = {
                stringify: function (u) {
                  return u.ciphertext.toString(o);
                },
                parse: function (u) {
                  var f = o.parse(u);
                  return s.create({ ciphertext: f });
                },
              };
            })(),
            r.format.Hex
          );
        });
      })(rd)),
    rd.exports
  );
}
var nd = { exports: {} },
  T4;
function jO() {
  return (
    T4 ||
      ((T4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), ia(), sa(), hs(), Or());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.BlockCipher,
                s = n.algo,
                a = [],
                o = [],
                l = [],
                u = [],
                f = [],
                d = [],
                g = [],
                v = [],
                B = [],
                y = [];
              (function () {
                for (var x = [], C = 0; C < 256; C++)
                  C < 128 ? (x[C] = C << 1) : (x[C] = (C << 1) ^ 283);
                for (var b = 0, F = 0, C = 0; C < 256; C++) {
                  var I = F ^ (F << 1) ^ (F << 2) ^ (F << 3) ^ (F << 4);
                  (I = (I >>> 8) ^ (I & 255) ^ 99), (a[b] = I), (o[I] = b);
                  var T = x[b],
                    D = x[T],
                    U = x[D],
                    Q = (x[I] * 257) ^ (I * 16843008);
                  (l[b] = (Q << 24) | (Q >>> 8)),
                    (u[b] = (Q << 16) | (Q >>> 16)),
                    (f[b] = (Q << 8) | (Q >>> 24)),
                    (d[b] = Q);
                  var Q =
                    (U * 16843009) ^ (D * 65537) ^ (T * 257) ^ (b * 16843008);
                  (g[I] = (Q << 24) | (Q >>> 8)),
                    (v[I] = (Q << 16) | (Q >>> 16)),
                    (B[I] = (Q << 8) | (Q >>> 24)),
                    (y[I] = Q),
                    b
                      ? ((b = T ^ x[x[x[U ^ T]]]), (F ^= x[x[F]]))
                      : (b = F = 1);
                }
              })();
              var w = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54],
                m = (s.AES = i.extend({
                  _doReset: function () {
                    var x;
                    if (!(this._nRounds && this._keyPriorReset === this._key)) {
                      for (
                        var C = (this._keyPriorReset = this._key),
                          b = C.words,
                          F = C.sigBytes / 4,
                          I = (this._nRounds = F + 6),
                          T = (I + 1) * 4,
                          D = (this._keySchedule = []),
                          U = 0;
                        U < T;
                        U++
                      )
                        U < F
                          ? (D[U] = b[U])
                          : ((x = D[U - 1]),
                            U % F
                              ? F > 6 &&
                                U % F == 4 &&
                                (x =
                                  (a[x >>> 24] << 24) |
                                  (a[(x >>> 16) & 255] << 16) |
                                  (a[(x >>> 8) & 255] << 8) |
                                  a[x & 255])
                              : ((x = (x << 8) | (x >>> 24)),
                                (x =
                                  (a[x >>> 24] << 24) |
                                  (a[(x >>> 16) & 255] << 16) |
                                  (a[(x >>> 8) & 255] << 8) |
                                  a[x & 255]),
                                (x ^= w[(U / F) | 0] << 24)),
                            (D[U] = D[U - F] ^ x));
                      for (
                        var Q = (this._invKeySchedule = []), L = 0;
                        L < T;
                        L++
                      ) {
                        var U = T - L;
                        if (L % 4) var x = D[U];
                        else var x = D[U - 4];
                        L < 4 || U <= 4
                          ? (Q[L] = x)
                          : (Q[L] =
                              g[a[x >>> 24]] ^
                              v[a[(x >>> 16) & 255]] ^
                              B[a[(x >>> 8) & 255]] ^
                              y[a[x & 255]]);
                      }
                    }
                  },
                  encryptBlock: function (x, C) {
                    this._doCryptBlock(x, C, this._keySchedule, l, u, f, d, a);
                  },
                  decryptBlock: function (x, C) {
                    var b = x[C + 1];
                    (x[C + 1] = x[C + 3]),
                      (x[C + 3] = b),
                      this._doCryptBlock(
                        x,
                        C,
                        this._invKeySchedule,
                        g,
                        v,
                        B,
                        y,
                        o,
                      );
                    var b = x[C + 1];
                    (x[C + 1] = x[C + 3]), (x[C + 3] = b);
                  },
                  _doCryptBlock: function (x, C, b, F, I, T, D, U) {
                    for (
                      var Q = this._nRounds,
                        L = x[C] ^ b[0],
                        $ = x[C + 1] ^ b[1],
                        X = x[C + 2] ^ b[2],
                        V = x[C + 3] ^ b[3],
                        G = 4,
                        le = 1;
                      le < Q;
                      le++
                    ) {
                      var q =
                          F[L >>> 24] ^
                          I[($ >>> 16) & 255] ^
                          T[(X >>> 8) & 255] ^
                          D[V & 255] ^
                          b[G++],
                        ue =
                          F[$ >>> 24] ^
                          I[(X >>> 16) & 255] ^
                          T[(V >>> 8) & 255] ^
                          D[L & 255] ^
                          b[G++],
                        Ce =
                          F[X >>> 24] ^
                          I[(V >>> 16) & 255] ^
                          T[(L >>> 8) & 255] ^
                          D[$ & 255] ^
                          b[G++],
                        ee =
                          F[V >>> 24] ^
                          I[(L >>> 16) & 255] ^
                          T[($ >>> 8) & 255] ^
                          D[X & 255] ^
                          b[G++];
                      (L = q), ($ = ue), (X = Ce), (V = ee);
                    }
                    var q =
                        ((U[L >>> 24] << 24) |
                          (U[($ >>> 16) & 255] << 16) |
                          (U[(X >>> 8) & 255] << 8) |
                          U[V & 255]) ^
                        b[G++],
                      ue =
                        ((U[$ >>> 24] << 24) |
                          (U[(X >>> 16) & 255] << 16) |
                          (U[(V >>> 8) & 255] << 8) |
                          U[L & 255]) ^
                        b[G++],
                      Ce =
                        ((U[X >>> 24] << 24) |
                          (U[(V >>> 16) & 255] << 16) |
                          (U[(L >>> 8) & 255] << 8) |
                          U[$ & 255]) ^
                        b[G++],
                      ee =
                        ((U[V >>> 24] << 24) |
                          (U[(L >>> 16) & 255] << 16) |
                          (U[($ >>> 8) & 255] << 8) |
                          U[X & 255]) ^
                        b[G++];
                    (x[C] = q),
                      (x[C + 1] = ue),
                      (x[C + 2] = Ce),
                      (x[C + 3] = ee);
                  },
                  keySize: 256 / 32,
                }));
              n.AES = i._createHelper(m);
            })(),
            r.AES
          );
        });
      })(nd)),
    nd.exports
  );
}
var Ad = { exports: {} },
  I4;
function YO() {
  return (
    I4 ||
      ((I4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), ia(), sa(), hs(), Or());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.WordArray,
                s = A.BlockCipher,
                a = n.algo,
                o = [
                  57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2,
                  59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39,
                  31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37,
                  29, 21, 13, 5, 28, 20, 12, 4,
                ],
                l = [
                  14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26,
                  8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 37, 47, 55, 30, 40, 51,
                  45, 33, 48, 44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32,
                ],
                u = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28],
                f = [
                  {
                    0: 8421888,
                    268435456: 32768,
                    536870912: 8421378,
                    805306368: 2,
                    1073741824: 512,
                    1342177280: 8421890,
                    1610612736: 8389122,
                    1879048192: 8388608,
                    2147483648: 514,
                    2415919104: 8389120,
                    2684354560: 33280,
                    2952790016: 8421376,
                    3221225472: 32770,
                    3489660928: 8388610,
                    3758096384: 0,
                    4026531840: 33282,
                    134217728: 0,
                    402653184: 8421890,
                    671088640: 33282,
                    939524096: 32768,
                    1207959552: 8421888,
                    1476395008: 512,
                    1744830464: 8421378,
                    2013265920: 2,
                    2281701376: 8389120,
                    2550136832: 33280,
                    2818572288: 8421376,
                    3087007744: 8389122,
                    3355443200: 8388610,
                    3623878656: 32770,
                    3892314112: 514,
                    4160749568: 8388608,
                    1: 32768,
                    268435457: 2,
                    536870913: 8421888,
                    805306369: 8388608,
                    1073741825: 8421378,
                    1342177281: 33280,
                    1610612737: 512,
                    1879048193: 8389122,
                    2147483649: 8421890,
                    2415919105: 8421376,
                    2684354561: 8388610,
                    2952790017: 33282,
                    3221225473: 514,
                    3489660929: 8389120,
                    3758096385: 32770,
                    4026531841: 0,
                    134217729: 8421890,
                    402653185: 8421376,
                    671088641: 8388608,
                    939524097: 512,
                    1207959553: 32768,
                    1476395009: 8388610,
                    1744830465: 2,
                    2013265921: 33282,
                    2281701377: 32770,
                    2550136833: 8389122,
                    2818572289: 514,
                    3087007745: 8421888,
                    3355443201: 8389120,
                    3623878657: 0,
                    3892314113: 33280,
                    4160749569: 8421378,
                  },
                  {
                    0: 1074282512,
                    16777216: 16384,
                    33554432: 524288,
                    50331648: 1074266128,
                    67108864: 1073741840,
                    83886080: 1074282496,
                    100663296: 1073758208,
                    117440512: 16,
                    134217728: 540672,
                    150994944: 1073758224,
                    167772160: 1073741824,
                    184549376: 540688,
                    201326592: 524304,
                    218103808: 0,
                    234881024: 16400,
                    251658240: 1074266112,
                    8388608: 1073758208,
                    25165824: 540688,
                    41943040: 16,
                    58720256: 1073758224,
                    75497472: 1074282512,
                    92274688: 1073741824,
                    109051904: 524288,
                    125829120: 1074266128,
                    142606336: 524304,
                    159383552: 0,
                    176160768: 16384,
                    192937984: 1074266112,
                    209715200: 1073741840,
                    226492416: 540672,
                    243269632: 1074282496,
                    260046848: 16400,
                    268435456: 0,
                    285212672: 1074266128,
                    301989888: 1073758224,
                    318767104: 1074282496,
                    335544320: 1074266112,
                    352321536: 16,
                    369098752: 540688,
                    385875968: 16384,
                    402653184: 16400,
                    419430400: 524288,
                    436207616: 524304,
                    452984832: 1073741840,
                    469762048: 540672,
                    486539264: 1073758208,
                    503316480: 1073741824,
                    520093696: 1074282512,
                    276824064: 540688,
                    293601280: 524288,
                    310378496: 1074266112,
                    327155712: 16384,
                    343932928: 1073758208,
                    360710144: 1074282512,
                    377487360: 16,
                    394264576: 1073741824,
                    411041792: 1074282496,
                    427819008: 1073741840,
                    444596224: 1073758224,
                    461373440: 524304,
                    478150656: 0,
                    494927872: 16400,
                    511705088: 1074266128,
                    528482304: 540672,
                  },
                  {
                    0: 260,
                    1048576: 0,
                    2097152: 67109120,
                    3145728: 65796,
                    4194304: 65540,
                    5242880: 67108868,
                    6291456: 67174660,
                    7340032: 67174400,
                    8388608: 67108864,
                    9437184: 67174656,
                    10485760: 65792,
                    11534336: 67174404,
                    12582912: 67109124,
                    13631488: 65536,
                    14680064: 4,
                    15728640: 256,
                    524288: 67174656,
                    1572864: 67174404,
                    2621440: 0,
                    3670016: 67109120,
                    4718592: 67108868,
                    5767168: 65536,
                    6815744: 65540,
                    7864320: 260,
                    8912896: 4,
                    9961472: 256,
                    11010048: 67174400,
                    12058624: 65796,
                    13107200: 65792,
                    14155776: 67109124,
                    15204352: 67174660,
                    16252928: 67108864,
                    16777216: 67174656,
                    17825792: 65540,
                    18874368: 65536,
                    19922944: 67109120,
                    20971520: 256,
                    22020096: 67174660,
                    23068672: 67108868,
                    24117248: 0,
                    25165824: 67109124,
                    26214400: 67108864,
                    27262976: 4,
                    28311552: 65792,
                    29360128: 67174400,
                    30408704: 260,
                    31457280: 65796,
                    32505856: 67174404,
                    17301504: 67108864,
                    18350080: 260,
                    19398656: 67174656,
                    20447232: 0,
                    21495808: 65540,
                    22544384: 67109120,
                    23592960: 256,
                    24641536: 67174404,
                    25690112: 65536,
                    26738688: 67174660,
                    27787264: 65796,
                    28835840: 67108868,
                    29884416: 67109124,
                    30932992: 67174400,
                    31981568: 4,
                    33030144: 65792,
                  },
                  {
                    0: 2151682048,
                    65536: 2147487808,
                    131072: 4198464,
                    196608: 2151677952,
                    262144: 0,
                    327680: 4198400,
                    393216: 2147483712,
                    458752: 4194368,
                    524288: 2147483648,
                    589824: 4194304,
                    655360: 64,
                    720896: 2147487744,
                    786432: 2151678016,
                    851968: 4160,
                    917504: 4096,
                    983040: 2151682112,
                    32768: 2147487808,
                    98304: 64,
                    163840: 2151678016,
                    229376: 2147487744,
                    294912: 4198400,
                    360448: 2151682112,
                    425984: 0,
                    491520: 2151677952,
                    557056: 4096,
                    622592: 2151682048,
                    688128: 4194304,
                    753664: 4160,
                    819200: 2147483648,
                    884736: 4194368,
                    950272: 4198464,
                    1015808: 2147483712,
                    1048576: 4194368,
                    1114112: 4198400,
                    1179648: 2147483712,
                    1245184: 0,
                    1310720: 4160,
                    1376256: 2151678016,
                    1441792: 2151682048,
                    1507328: 2147487808,
                    1572864: 2151682112,
                    1638400: 2147483648,
                    1703936: 2151677952,
                    1769472: 4198464,
                    1835008: 2147487744,
                    1900544: 4194304,
                    1966080: 64,
                    2031616: 4096,
                    1081344: 2151677952,
                    1146880: 2151682112,
                    1212416: 0,
                    1277952: 4198400,
                    1343488: 4194368,
                    1409024: 2147483648,
                    1474560: 2147487808,
                    1540096: 64,
                    1605632: 2147483712,
                    1671168: 4096,
                    1736704: 2147487744,
                    1802240: 2151678016,
                    1867776: 4160,
                    1933312: 2151682048,
                    1998848: 4194304,
                    2064384: 4198464,
                  },
                  {
                    0: 128,
                    4096: 17039360,
                    8192: 262144,
                    12288: 536870912,
                    16384: 537133184,
                    20480: 16777344,
                    24576: 553648256,
                    28672: 262272,
                    32768: 16777216,
                    36864: 537133056,
                    40960: 536871040,
                    45056: 553910400,
                    49152: 553910272,
                    53248: 0,
                    57344: 17039488,
                    61440: 553648128,
                    2048: 17039488,
                    6144: 553648256,
                    10240: 128,
                    14336: 17039360,
                    18432: 262144,
                    22528: 537133184,
                    26624: 553910272,
                    30720: 536870912,
                    34816: 537133056,
                    38912: 0,
                    43008: 553910400,
                    47104: 16777344,
                    51200: 536871040,
                    55296: 553648128,
                    59392: 16777216,
                    63488: 262272,
                    65536: 262144,
                    69632: 128,
                    73728: 536870912,
                    77824: 553648256,
                    81920: 16777344,
                    86016: 553910272,
                    90112: 537133184,
                    94208: 16777216,
                    98304: 553910400,
                    102400: 553648128,
                    106496: 17039360,
                    110592: 537133056,
                    114688: 262272,
                    118784: 536871040,
                    122880: 0,
                    126976: 17039488,
                    67584: 553648256,
                    71680: 16777216,
                    75776: 17039360,
                    79872: 537133184,
                    83968: 536870912,
                    88064: 17039488,
                    92160: 128,
                    96256: 553910272,
                    100352: 262272,
                    104448: 553910400,
                    108544: 0,
                    112640: 553648128,
                    116736: 16777344,
                    120832: 262144,
                    124928: 537133056,
                    129024: 536871040,
                  },
                  {
                    0: 268435464,
                    256: 8192,
                    512: 270532608,
                    768: 270540808,
                    1024: 268443648,
                    1280: 2097152,
                    1536: 2097160,
                    1792: 268435456,
                    2048: 0,
                    2304: 268443656,
                    2560: 2105344,
                    2816: 8,
                    3072: 270532616,
                    3328: 2105352,
                    3584: 8200,
                    3840: 270540800,
                    128: 270532608,
                    384: 270540808,
                    640: 8,
                    896: 2097152,
                    1152: 2105352,
                    1408: 268435464,
                    1664: 268443648,
                    1920: 8200,
                    2176: 2097160,
                    2432: 8192,
                    2688: 268443656,
                    2944: 270532616,
                    3200: 0,
                    3456: 270540800,
                    3712: 2105344,
                    3968: 268435456,
                    4096: 268443648,
                    4352: 270532616,
                    4608: 270540808,
                    4864: 8200,
                    5120: 2097152,
                    5376: 268435456,
                    5632: 268435464,
                    5888: 2105344,
                    6144: 2105352,
                    6400: 0,
                    6656: 8,
                    6912: 270532608,
                    7168: 8192,
                    7424: 268443656,
                    7680: 270540800,
                    7936: 2097160,
                    4224: 8,
                    4480: 2105344,
                    4736: 2097152,
                    4992: 268435464,
                    5248: 268443648,
                    5504: 8200,
                    5760: 270540808,
                    6016: 270532608,
                    6272: 270540800,
                    6528: 270532616,
                    6784: 8192,
                    7040: 2105352,
                    7296: 2097160,
                    7552: 0,
                    7808: 268435456,
                    8064: 268443656,
                  },
                  {
                    0: 1048576,
                    16: 33555457,
                    32: 1024,
                    48: 1049601,
                    64: 34604033,
                    80: 0,
                    96: 1,
                    112: 34603009,
                    128: 33555456,
                    144: 1048577,
                    160: 33554433,
                    176: 34604032,
                    192: 34603008,
                    208: 1025,
                    224: 1049600,
                    240: 33554432,
                    8: 34603009,
                    24: 0,
                    40: 33555457,
                    56: 34604032,
                    72: 1048576,
                    88: 33554433,
                    104: 33554432,
                    120: 1025,
                    136: 1049601,
                    152: 33555456,
                    168: 34603008,
                    184: 1048577,
                    200: 1024,
                    216: 34604033,
                    232: 1,
                    248: 1049600,
                    256: 33554432,
                    272: 1048576,
                    288: 33555457,
                    304: 34603009,
                    320: 1048577,
                    336: 33555456,
                    352: 34604032,
                    368: 1049601,
                    384: 1025,
                    400: 34604033,
                    416: 1049600,
                    432: 1,
                    448: 0,
                    464: 34603008,
                    480: 33554433,
                    496: 1024,
                    264: 1049600,
                    280: 33555457,
                    296: 34603009,
                    312: 1,
                    328: 33554432,
                    344: 1048576,
                    360: 1025,
                    376: 34604032,
                    392: 33554433,
                    408: 34603008,
                    424: 0,
                    440: 34604033,
                    456: 1049601,
                    472: 1024,
                    488: 33555456,
                    504: 1048577,
                  },
                  {
                    0: 134219808,
                    1: 131072,
                    2: 134217728,
                    3: 32,
                    4: 131104,
                    5: 134350880,
                    6: 134350848,
                    7: 2048,
                    8: 134348800,
                    9: 134219776,
                    10: 133120,
                    11: 134348832,
                    12: 2080,
                    13: 0,
                    14: 134217760,
                    15: 133152,
                    2147483648: 2048,
                    2147483649: 134350880,
                    2147483650: 134219808,
                    2147483651: 134217728,
                    2147483652: 134348800,
                    2147483653: 133120,
                    2147483654: 133152,
                    2147483655: 32,
                    2147483656: 134217760,
                    2147483657: 2080,
                    2147483658: 131104,
                    2147483659: 134350848,
                    2147483660: 0,
                    2147483661: 134348832,
                    2147483662: 134219776,
                    2147483663: 131072,
                    16: 133152,
                    17: 134350848,
                    18: 32,
                    19: 2048,
                    20: 134219776,
                    21: 134217760,
                    22: 134348832,
                    23: 131072,
                    24: 0,
                    25: 131104,
                    26: 134348800,
                    27: 134219808,
                    28: 134350880,
                    29: 133120,
                    30: 2080,
                    31: 134217728,
                    2147483664: 131072,
                    2147483665: 2048,
                    2147483666: 134348832,
                    2147483667: 133152,
                    2147483668: 32,
                    2147483669: 134348800,
                    2147483670: 134217728,
                    2147483671: 134219808,
                    2147483672: 134350880,
                    2147483673: 134217760,
                    2147483674: 134219776,
                    2147483675: 0,
                    2147483676: 133120,
                    2147483677: 2080,
                    2147483678: 131104,
                    2147483679: 134350848,
                  },
                ],
                d = [
                  4160749569, 528482304, 33030144, 2064384, 129024, 8064, 504,
                  2147483679,
                ],
                g = (a.DES = s.extend({
                  _doReset: function () {
                    for (
                      var w = this._key, m = w.words, x = [], C = 0;
                      C < 56;
                      C++
                    ) {
                      var b = o[C] - 1;
                      x[C] = (m[b >>> 5] >>> (31 - (b % 32))) & 1;
                    }
                    for (var F = (this._subKeys = []), I = 0; I < 16; I++) {
                      for (var T = (F[I] = []), D = u[I], C = 0; C < 24; C++)
                        (T[(C / 6) | 0] |=
                          x[(l[C] - 1 + D) % 28] << (31 - (C % 6))),
                          (T[4 + ((C / 6) | 0)] |=
                            x[28 + ((l[C + 24] - 1 + D) % 28)] <<
                            (31 - (C % 6)));
                      T[0] = (T[0] << 1) | (T[0] >>> 31);
                      for (var C = 1; C < 7; C++)
                        T[C] = T[C] >>> ((C - 1) * 4 + 3);
                      T[7] = (T[7] << 5) | (T[7] >>> 27);
                    }
                    for (var U = (this._invSubKeys = []), C = 0; C < 16; C++)
                      U[C] = F[15 - C];
                  },
                  encryptBlock: function (w, m) {
                    this._doCryptBlock(w, m, this._subKeys);
                  },
                  decryptBlock: function (w, m) {
                    this._doCryptBlock(w, m, this._invSubKeys);
                  },
                  _doCryptBlock: function (w, m, x) {
                    (this._lBlock = w[m]),
                      (this._rBlock = w[m + 1]),
                      v.call(this, 4, 252645135),
                      v.call(this, 16, 65535),
                      B.call(this, 2, 858993459),
                      B.call(this, 8, 16711935),
                      v.call(this, 1, 1431655765);
                    for (var C = 0; C < 16; C++) {
                      for (
                        var b = x[C],
                          F = this._lBlock,
                          I = this._rBlock,
                          T = 0,
                          D = 0;
                        D < 8;
                        D++
                      )
                        T |= f[D][((I ^ b[D]) & d[D]) >>> 0];
                      (this._lBlock = I), (this._rBlock = F ^ T);
                    }
                    var U = this._lBlock;
                    (this._lBlock = this._rBlock),
                      (this._rBlock = U),
                      v.call(this, 1, 1431655765),
                      B.call(this, 8, 16711935),
                      B.call(this, 2, 858993459),
                      v.call(this, 16, 65535),
                      v.call(this, 4, 252645135),
                      (w[m] = this._lBlock),
                      (w[m + 1] = this._rBlock);
                  },
                  keySize: 64 / 32,
                  ivSize: 64 / 32,
                  blockSize: 64 / 32,
                }));
              function v(w, m) {
                var x = ((this._lBlock >>> w) ^ this._rBlock) & m;
                (this._rBlock ^= x), (this._lBlock ^= x << w);
              }
              function B(w, m) {
                var x = ((this._rBlock >>> w) ^ this._lBlock) & m;
                (this._lBlock ^= x), (this._rBlock ^= x << w);
              }
              n.DES = s._createHelper(g);
              var y = (a.TripleDES = s.extend({
                _doReset: function () {
                  var w = this._key,
                    m = w.words;
                  if (m.length !== 2 && m.length !== 4 && m.length < 6)
                    throw new Error(
                      "Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.",
                    );
                  var x = m.slice(0, 2),
                    C = m.length < 4 ? m.slice(0, 2) : m.slice(2, 4),
                    b = m.length < 6 ? m.slice(0, 2) : m.slice(4, 6);
                  (this._des1 = g.createEncryptor(i.create(x))),
                    (this._des2 = g.createEncryptor(i.create(C))),
                    (this._des3 = g.createEncryptor(i.create(b)));
                },
                encryptBlock: function (w, m) {
                  this._des1.encryptBlock(w, m),
                    this._des2.decryptBlock(w, m),
                    this._des3.encryptBlock(w, m);
                },
                decryptBlock: function (w, m) {
                  this._des3.decryptBlock(w, m),
                    this._des2.encryptBlock(w, m),
                    this._des1.decryptBlock(w, m);
                },
                keySize: 192 / 32,
                ivSize: 64 / 32,
                blockSize: 64 / 32,
              }));
              n.TripleDES = s._createHelper(y);
            })(),
            r.TripleDES
          );
        });
      })(Ad)),
    Ad.exports
  );
}
var id = { exports: {} },
  D4;
function XO() {
  return (
    D4 ||
      ((D4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), ia(), sa(), hs(), Or());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.StreamCipher,
                s = n.algo,
                a = (s.RC4 = i.extend({
                  _doReset: function () {
                    for (
                      var u = this._key,
                        f = u.words,
                        d = u.sigBytes,
                        g = (this._S = []),
                        v = 0;
                      v < 256;
                      v++
                    )
                      g[v] = v;
                    for (var v = 0, B = 0; v < 256; v++) {
                      var y = v % d,
                        w = (f[y >>> 2] >>> (24 - (y % 4) * 8)) & 255;
                      B = (B + g[v] + w) % 256;
                      var m = g[v];
                      (g[v] = g[B]), (g[B] = m);
                    }
                    this._i = this._j = 0;
                  },
                  _doProcessBlock: function (u, f) {
                    u[f] ^= o.call(this);
                  },
                  keySize: 256 / 32,
                  ivSize: 0,
                }));
              function o() {
                for (
                  var u = this._S, f = this._i, d = this._j, g = 0, v = 0;
                  v < 4;
                  v++
                ) {
                  (f = (f + 1) % 256), (d = (d + u[f]) % 256);
                  var B = u[f];
                  (u[f] = u[d]),
                    (u[d] = B),
                    (g |= u[(u[f] + u[d]) % 256] << (24 - v * 8));
                }
                return (this._i = f), (this._j = d), g;
              }
              n.RC4 = i._createHelper(a);
              var l = (s.RC4Drop = a.extend({
                cfg: a.cfg.extend({ drop: 192 }),
                _doReset: function () {
                  a._doReset.call(this);
                  for (var u = this.cfg.drop; u > 0; u--) o.call(this);
                },
              }));
              n.RC4Drop = i._createHelper(l);
            })(),
            r.RC4
          );
        });
      })(id)),
    id.exports
  );
}
var sd = { exports: {} },
  P4;
function JO() {
  return (
    P4 ||
      ((P4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), ia(), sa(), hs(), Or());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.StreamCipher,
                s = n.algo,
                a = [],
                o = [],
                l = [],
                u = (s.Rabbit = i.extend({
                  _doReset: function () {
                    for (
                      var d = this._key.words, g = this.cfg.iv, v = 0;
                      v < 4;
                      v++
                    )
                      d[v] =
                        (((d[v] << 8) | (d[v] >>> 24)) & 16711935) |
                        (((d[v] << 24) | (d[v] >>> 8)) & 4278255360);
                    var B = (this._X = [
                        d[0],
                        (d[3] << 16) | (d[2] >>> 16),
                        d[1],
                        (d[0] << 16) | (d[3] >>> 16),
                        d[2],
                        (d[1] << 16) | (d[0] >>> 16),
                        d[3],
                        (d[2] << 16) | (d[1] >>> 16),
                      ]),
                      y = (this._C = [
                        (d[2] << 16) | (d[2] >>> 16),
                        (d[0] & 4294901760) | (d[1] & 65535),
                        (d[3] << 16) | (d[3] >>> 16),
                        (d[1] & 4294901760) | (d[2] & 65535),
                        (d[0] << 16) | (d[0] >>> 16),
                        (d[2] & 4294901760) | (d[3] & 65535),
                        (d[1] << 16) | (d[1] >>> 16),
                        (d[3] & 4294901760) | (d[0] & 65535),
                      ]);
                    this._b = 0;
                    for (var v = 0; v < 4; v++) f.call(this);
                    for (var v = 0; v < 8; v++) y[v] ^= B[(v + 4) & 7];
                    if (g) {
                      var w = g.words,
                        m = w[0],
                        x = w[1],
                        C =
                          (((m << 8) | (m >>> 24)) & 16711935) |
                          (((m << 24) | (m >>> 8)) & 4278255360),
                        b =
                          (((x << 8) | (x >>> 24)) & 16711935) |
                          (((x << 24) | (x >>> 8)) & 4278255360),
                        F = (C >>> 16) | (b & 4294901760),
                        I = (b << 16) | (C & 65535);
                      (y[0] ^= C),
                        (y[1] ^= F),
                        (y[2] ^= b),
                        (y[3] ^= I),
                        (y[4] ^= C),
                        (y[5] ^= F),
                        (y[6] ^= b),
                        (y[7] ^= I);
                      for (var v = 0; v < 4; v++) f.call(this);
                    }
                  },
                  _doProcessBlock: function (d, g) {
                    var v = this._X;
                    f.call(this),
                      (a[0] = v[0] ^ (v[5] >>> 16) ^ (v[3] << 16)),
                      (a[1] = v[2] ^ (v[7] >>> 16) ^ (v[5] << 16)),
                      (a[2] = v[4] ^ (v[1] >>> 16) ^ (v[7] << 16)),
                      (a[3] = v[6] ^ (v[3] >>> 16) ^ (v[1] << 16));
                    for (var B = 0; B < 4; B++)
                      (a[B] =
                        (((a[B] << 8) | (a[B] >>> 24)) & 16711935) |
                        (((a[B] << 24) | (a[B] >>> 8)) & 4278255360)),
                        (d[g + B] ^= a[B]);
                  },
                  blockSize: 128 / 32,
                  ivSize: 64 / 32,
                }));
              function f() {
                for (var d = this._X, g = this._C, v = 0; v < 8; v++)
                  o[v] = g[v];
                (g[0] = (g[0] + 1295307597 + this._b) | 0),
                  (g[1] =
                    (g[1] + 3545052371 + (g[0] >>> 0 < o[0] >>> 0 ? 1 : 0)) |
                    0),
                  (g[2] =
                    (g[2] + 886263092 + (g[1] >>> 0 < o[1] >>> 0 ? 1 : 0)) | 0),
                  (g[3] =
                    (g[3] + 1295307597 + (g[2] >>> 0 < o[2] >>> 0 ? 1 : 0)) |
                    0),
                  (g[4] =
                    (g[4] + 3545052371 + (g[3] >>> 0 < o[3] >>> 0 ? 1 : 0)) |
                    0),
                  (g[5] =
                    (g[5] + 886263092 + (g[4] >>> 0 < o[4] >>> 0 ? 1 : 0)) | 0),
                  (g[6] =
                    (g[6] + 1295307597 + (g[5] >>> 0 < o[5] >>> 0 ? 1 : 0)) |
                    0),
                  (g[7] =
                    (g[7] + 3545052371 + (g[6] >>> 0 < o[6] >>> 0 ? 1 : 0)) |
                    0),
                  (this._b = g[7] >>> 0 < o[7] >>> 0 ? 1 : 0);
                for (var v = 0; v < 8; v++) {
                  var B = d[v] + g[v],
                    y = B & 65535,
                    w = B >>> 16,
                    m = ((((y * y) >>> 17) + y * w) >>> 15) + w * w,
                    x = (((B & 4294901760) * B) | 0) + (((B & 65535) * B) | 0);
                  l[v] = m ^ x;
                }
                (d[0] =
                  (l[0] +
                    ((l[7] << 16) | (l[7] >>> 16)) +
                    ((l[6] << 16) | (l[6] >>> 16))) |
                  0),
                  (d[1] = (l[1] + ((l[0] << 8) | (l[0] >>> 24)) + l[7]) | 0),
                  (d[2] =
                    (l[2] +
                      ((l[1] << 16) | (l[1] >>> 16)) +
                      ((l[0] << 16) | (l[0] >>> 16))) |
                    0),
                  (d[3] = (l[3] + ((l[2] << 8) | (l[2] >>> 24)) + l[1]) | 0),
                  (d[4] =
                    (l[4] +
                      ((l[3] << 16) | (l[3] >>> 16)) +
                      ((l[2] << 16) | (l[2] >>> 16))) |
                    0),
                  (d[5] = (l[5] + ((l[4] << 8) | (l[4] >>> 24)) + l[3]) | 0),
                  (d[6] =
                    (l[6] +
                      ((l[5] << 16) | (l[5] >>> 16)) +
                      ((l[4] << 16) | (l[4] >>> 16))) |
                    0),
                  (d[7] = (l[7] + ((l[6] << 8) | (l[6] >>> 24)) + l[5]) | 0);
              }
              n.Rabbit = i._createHelper(u);
            })(),
            r.Rabbit
          );
        });
      })(sd)),
    sd.exports
  );
}
var ad = { exports: {} },
  O4;
function qO() {
  return (
    O4 ||
      ((O4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), ia(), sa(), hs(), Or());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.StreamCipher,
                s = n.algo,
                a = [],
                o = [],
                l = [],
                u = (s.RabbitLegacy = i.extend({
                  _doReset: function () {
                    var d = this._key.words,
                      g = this.cfg.iv,
                      v = (this._X = [
                        d[0],
                        (d[3] << 16) | (d[2] >>> 16),
                        d[1],
                        (d[0] << 16) | (d[3] >>> 16),
                        d[2],
                        (d[1] << 16) | (d[0] >>> 16),
                        d[3],
                        (d[2] << 16) | (d[1] >>> 16),
                      ]),
                      B = (this._C = [
                        (d[2] << 16) | (d[2] >>> 16),
                        (d[0] & 4294901760) | (d[1] & 65535),
                        (d[3] << 16) | (d[3] >>> 16),
                        (d[1] & 4294901760) | (d[2] & 65535),
                        (d[0] << 16) | (d[0] >>> 16),
                        (d[2] & 4294901760) | (d[3] & 65535),
                        (d[1] << 16) | (d[1] >>> 16),
                        (d[3] & 4294901760) | (d[0] & 65535),
                      ]);
                    this._b = 0;
                    for (var y = 0; y < 4; y++) f.call(this);
                    for (var y = 0; y < 8; y++) B[y] ^= v[(y + 4) & 7];
                    if (g) {
                      var w = g.words,
                        m = w[0],
                        x = w[1],
                        C =
                          (((m << 8) | (m >>> 24)) & 16711935) |
                          (((m << 24) | (m >>> 8)) & 4278255360),
                        b =
                          (((x << 8) | (x >>> 24)) & 16711935) |
                          (((x << 24) | (x >>> 8)) & 4278255360),
                        F = (C >>> 16) | (b & 4294901760),
                        I = (b << 16) | (C & 65535);
                      (B[0] ^= C),
                        (B[1] ^= F),
                        (B[2] ^= b),
                        (B[3] ^= I),
                        (B[4] ^= C),
                        (B[5] ^= F),
                        (B[6] ^= b),
                        (B[7] ^= I);
                      for (var y = 0; y < 4; y++) f.call(this);
                    }
                  },
                  _doProcessBlock: function (d, g) {
                    var v = this._X;
                    f.call(this),
                      (a[0] = v[0] ^ (v[5] >>> 16) ^ (v[3] << 16)),
                      (a[1] = v[2] ^ (v[7] >>> 16) ^ (v[5] << 16)),
                      (a[2] = v[4] ^ (v[1] >>> 16) ^ (v[7] << 16)),
                      (a[3] = v[6] ^ (v[3] >>> 16) ^ (v[1] << 16));
                    for (var B = 0; B < 4; B++)
                      (a[B] =
                        (((a[B] << 8) | (a[B] >>> 24)) & 16711935) |
                        (((a[B] << 24) | (a[B] >>> 8)) & 4278255360)),
                        (d[g + B] ^= a[B]);
                  },
                  blockSize: 128 / 32,
                  ivSize: 64 / 32,
                }));
              function f() {
                for (var d = this._X, g = this._C, v = 0; v < 8; v++)
                  o[v] = g[v];
                (g[0] = (g[0] + 1295307597 + this._b) | 0),
                  (g[1] =
                    (g[1] + 3545052371 + (g[0] >>> 0 < o[0] >>> 0 ? 1 : 0)) |
                    0),
                  (g[2] =
                    (g[2] + 886263092 + (g[1] >>> 0 < o[1] >>> 0 ? 1 : 0)) | 0),
                  (g[3] =
                    (g[3] + 1295307597 + (g[2] >>> 0 < o[2] >>> 0 ? 1 : 0)) |
                    0),
                  (g[4] =
                    (g[4] + 3545052371 + (g[3] >>> 0 < o[3] >>> 0 ? 1 : 0)) |
                    0),
                  (g[5] =
                    (g[5] + 886263092 + (g[4] >>> 0 < o[4] >>> 0 ? 1 : 0)) | 0),
                  (g[6] =
                    (g[6] + 1295307597 + (g[5] >>> 0 < o[5] >>> 0 ? 1 : 0)) |
                    0),
                  (g[7] =
                    (g[7] + 3545052371 + (g[6] >>> 0 < o[6] >>> 0 ? 1 : 0)) |
                    0),
                  (this._b = g[7] >>> 0 < o[7] >>> 0 ? 1 : 0);
                for (var v = 0; v < 8; v++) {
                  var B = d[v] + g[v],
                    y = B & 65535,
                    w = B >>> 16,
                    m = ((((y * y) >>> 17) + y * w) >>> 15) + w * w,
                    x = (((B & 4294901760) * B) | 0) + (((B & 65535) * B) | 0);
                  l[v] = m ^ x;
                }
                (d[0] =
                  (l[0] +
                    ((l[7] << 16) | (l[7] >>> 16)) +
                    ((l[6] << 16) | (l[6] >>> 16))) |
                  0),
                  (d[1] = (l[1] + ((l[0] << 8) | (l[0] >>> 24)) + l[7]) | 0),
                  (d[2] =
                    (l[2] +
                      ((l[1] << 16) | (l[1] >>> 16)) +
                      ((l[0] << 16) | (l[0] >>> 16))) |
                    0),
                  (d[3] = (l[3] + ((l[2] << 8) | (l[2] >>> 24)) + l[1]) | 0),
                  (d[4] =
                    (l[4] +
                      ((l[3] << 16) | (l[3] >>> 16)) +
                      ((l[2] << 16) | (l[2] >>> 16))) |
                    0),
                  (d[5] = (l[5] + ((l[4] << 8) | (l[4] >>> 24)) + l[3]) | 0),
                  (d[6] =
                    (l[6] +
                      ((l[5] << 16) | (l[5] >>> 16)) +
                      ((l[4] << 16) | (l[4] >>> 16))) |
                    0),
                  (d[7] = (l[7] + ((l[6] << 8) | (l[6] >>> 24)) + l[5]) | 0);
              }
              n.RabbitLegacy = i._createHelper(u);
            })(),
            r.RabbitLegacy
          );
        });
      })(ad)),
    ad.exports
  );
}
var od = { exports: {} },
  L4;
function ZO() {
  return (
    L4 ||
      ((L4 = 1),
      (function (e, t) {
        (function (r, n, A) {
          e.exports = n(Ft(), ia(), sa(), hs(), Or());
        })(pt, function (r) {
          return (
            (function () {
              var n = r,
                A = n.lib,
                i = A.BlockCipher,
                s = n.algo;
              const a = 16,
                o = [
                  608135816, 2242054355, 320440878, 57701188, 2752067618,
                  698298832, 137296536, 3964562569, 1160258022, 953160567,
                  3193202383, 887688300, 3232508343, 3380367581, 1065670069,
                  3041331479, 2450970073, 2306472731,
                ],
                l = [
                  [
                    3509652390, 2564797868, 805139163, 3491422135, 3101798381,
                    1780907670, 3128725573, 4046225305, 614570311, 3012652279,
                    134345442, 2240740374, 1667834072, 1901547113, 2757295779,
                    4103290238, 227898511, 1921955416, 1904987480, 2182433518,
                    2069144605, 3260701109, 2620446009, 720527379, 3318853667,
                    677414384, 3393288472, 3101374703, 2390351024, 1614419982,
                    1822297739, 2954791486, 3608508353, 3174124327, 2024746970,
                    1432378464, 3864339955, 2857741204, 1464375394, 1676153920,
                    1439316330, 715854006, 3033291828, 289532110, 2706671279,
                    2087905683, 3018724369, 1668267050, 732546397, 1947742710,
                    3462151702, 2609353502, 2950085171, 1814351708, 2050118529,
                    680887927, 999245976, 1800124847, 3300911131, 1713906067,
                    1641548236, 4213287313, 1216130144, 1575780402, 4018429277,
                    3917837745, 3693486850, 3949271944, 596196993, 3549867205,
                    258830323, 2213823033, 772490370, 2760122372, 1774776394,
                    2652871518, 566650946, 4142492826, 1728879713, 2882767088,
                    1783734482, 3629395816, 2517608232, 2874225571, 1861159788,
                    326777828, 3124490320, 2130389656, 2716951837, 967770486,
                    1724537150, 2185432712, 2364442137, 1164943284, 2105845187,
                    998989502, 3765401048, 2244026483, 1075463327, 1455516326,
                    1322494562, 910128902, 469688178, 1117454909, 936433444,
                    3490320968, 3675253459, 1240580251, 122909385, 2157517691,
                    634681816, 4142456567, 3825094682, 3061402683, 2540495037,
                    79693498, 3249098678, 1084186820, 1583128258, 426386531,
                    1761308591, 1047286709, 322548459, 995290223, 1845252383,
                    2603652396, 3431023940, 2942221577, 3202600964, 3727903485,
                    1712269319, 422464435, 3234572375, 1170764815, 3523960633,
                    3117677531, 1434042557, 442511882, 3600875718, 1076654713,
                    1738483198, 4213154764, 2393238008, 3677496056, 1014306527,
                    4251020053, 793779912, 2902807211, 842905082, 4246964064,
                    1395751752, 1040244610, 2656851899, 3396308128, 445077038,
                    3742853595, 3577915638, 679411651, 2892444358, 2354009459,
                    1767581616, 3150600392, 3791627101, 3102740896, 284835224,
                    4246832056, 1258075500, 768725851, 2589189241, 3069724005,
                    3532540348, 1274779536, 3789419226, 2764799539, 1660621633,
                    3471099624, 4011903706, 913787905, 3497959166, 737222580,
                    2514213453, 2928710040, 3937242737, 1804850592, 3499020752,
                    2949064160, 2386320175, 2390070455, 2415321851, 4061277028,
                    2290661394, 2416832540, 1336762016, 1754252060, 3520065937,
                    3014181293, 791618072, 3188594551, 3933548030, 2332172193,
                    3852520463, 3043980520, 413987798, 3465142937, 3030929376,
                    4245938359, 2093235073, 3534596313, 375366246, 2157278981,
                    2479649556, 555357303, 3870105701, 2008414854, 3344188149,
                    4221384143, 3956125452, 2067696032, 3594591187, 2921233993,
                    2428461, 544322398, 577241275, 1471733935, 610547355,
                    4027169054, 1432588573, 1507829418, 2025931657, 3646575487,
                    545086370, 48609733, 2200306550, 1653985193, 298326376,
                    1316178497, 3007786442, 2064951626, 458293330, 2589141269,
                    3591329599, 3164325604, 727753846, 2179363840, 146436021,
                    1461446943, 4069977195, 705550613, 3059967265, 3887724982,
                    4281599278, 3313849956, 1404054877, 2845806497, 146425753,
                    1854211946,
                  ],
                  [
                    1266315497, 3048417604, 3681880366, 3289982499, 290971e4,
                    1235738493, 2632868024, 2414719590, 3970600049, 1771706367,
                    1449415276, 3266420449, 422970021, 1963543593, 2690192192,
                    3826793022, 1062508698, 1531092325, 1804592342, 2583117782,
                    2714934279, 4024971509, 1294809318, 4028980673, 1289560198,
                    2221992742, 1669523910, 35572830, 157838143, 1052438473,
                    1016535060, 1802137761, 1753167236, 1386275462, 3080475397,
                    2857371447, 1040679964, 2145300060, 2390574316, 1461121720,
                    2956646967, 4031777805, 4028374788, 33600511, 2920084762,
                    1018524850, 629373528, 3691585981, 3515945977, 2091462646,
                    2486323059, 586499841, 988145025, 935516892, 3367335476,
                    2599673255, 2839830854, 265290510, 3972581182, 2759138881,
                    3795373465, 1005194799, 847297441, 406762289, 1314163512,
                    1332590856, 1866599683, 4127851711, 750260880, 613907577,
                    1450815602, 3165620655, 3734664991, 3650291728, 3012275730,
                    3704569646, 1427272223, 778793252, 1343938022, 2676280711,
                    2052605720, 1946737175, 3164576444, 3914038668, 3967478842,
                    3682934266, 1661551462, 3294938066, 4011595847, 840292616,
                    3712170807, 616741398, 312560963, 711312465, 1351876610,
                    322626781, 1910503582, 271666773, 2175563734, 1594956187,
                    70604529, 3617834859, 1007753275, 1495573769, 4069517037,
                    2549218298, 2663038764, 504708206, 2263041392, 3941167025,
                    2249088522, 1514023603, 1998579484, 1312622330, 694541497,
                    2582060303, 2151582166, 1382467621, 776784248, 2618340202,
                    3323268794, 2497899128, 2784771155, 503983604, 4076293799,
                    907881277, 423175695, 432175456, 1378068232, 4145222326,
                    3954048622, 3938656102, 3820766613, 2793130115, 2977904593,
                    26017576, 3274890735, 3194772133, 1700274565, 1756076034,
                    4006520079, 3677328699, 720338349, 1533947780, 354530856,
                    688349552, 3973924725, 1637815568, 332179504, 3949051286,
                    53804574, 2852348879, 3044236432, 1282449977, 3583942155,
                    3416972820, 4006381244, 1617046695, 2628476075, 3002303598,
                    1686838959, 431878346, 2686675385, 1700445008, 1080580658,
                    1009431731, 832498133, 3223435511, 2605976345, 2271191193,
                    2516031870, 1648197032, 4164389018, 2548247927, 300782431,
                    375919233, 238389289, 3353747414, 2531188641, 2019080857,
                    1475708069, 455242339, 2609103871, 448939670, 3451063019,
                    1395535956, 2413381860, 1841049896, 1491858159, 885456874,
                    4264095073, 4001119347, 1565136089, 3898914787, 1108368660,
                    540939232, 1173283510, 2745871338, 3681308437, 4207628240,
                    3343053890, 4016749493, 1699691293, 1103962373, 3625875870,
                    2256883143, 3830138730, 1031889488, 3479347698, 1535977030,
                    4236805024, 3251091107, 2132092099, 1774941330, 1199868427,
                    1452454533, 157007616, 2904115357, 342012276, 595725824,
                    1480756522, 206960106, 497939518, 591360097, 863170706,
                    2375253569, 3596610801, 1814182875, 2094937945, 3421402208,
                    1082520231, 3463918190, 2785509508, 435703966, 3908032597,
                    1641649973, 2842273706, 3305899714, 1510255612, 2148256476,
                    2655287854, 3276092548, 4258621189, 236887753, 3681803219,
                    274041037, 1734335097, 3815195456, 3317970021, 1899903192,
                    1026095262, 4050517792, 356393447, 2410691914, 3873677099,
                    3682840055,
                  ],
                  [
                    3913112168, 2491498743, 4132185628, 2489919796, 1091903735,
                    1979897079, 3170134830, 3567386728, 3557303409, 857797738,
                    1136121015, 1342202287, 507115054, 2535736646, 337727348,
                    3213592640, 1301675037, 2528481711, 1895095763, 1721773893,
                    3216771564, 62756741, 2142006736, 835421444, 2531993523,
                    1442658625, 3659876326, 2882144922, 676362277, 1392781812,
                    170690266, 3921047035, 1759253602, 3611846912, 1745797284,
                    664899054, 1329594018, 3901205900, 3045908486, 2062866102,
                    2865634940, 3543621612, 3464012697, 1080764994, 553557557,
                    3656615353, 3996768171, 991055499, 499776247, 1265440854,
                    648242737, 3940784050, 980351604, 3713745714, 1749149687,
                    3396870395, 4211799374, 3640570775, 1161844396, 3125318951,
                    1431517754, 545492359, 4268468663, 3499529547, 1437099964,
                    2702547544, 3433638243, 2581715763, 2787789398, 1060185593,
                    1593081372, 2418618748, 4260947970, 69676912, 2159744348,
                    86519011, 2512459080, 3838209314, 1220612927, 3339683548,
                    133810670, 1090789135, 1078426020, 1569222167, 845107691,
                    3583754449, 4072456591, 1091646820, 628848692, 1613405280,
                    3757631651, 526609435, 236106946, 48312990, 2942717905,
                    3402727701, 1797494240, 859738849, 992217954, 4005476642,
                    2243076622, 3870952857, 3732016268, 765654824, 3490871365,
                    2511836413, 1685915746, 3888969200, 1414112111, 2273134842,
                    3281911079, 4080962846, 172450625, 2569994100, 980381355,
                    4109958455, 2819808352, 2716589560, 2568741196, 3681446669,
                    3329971472, 1835478071, 660984891, 3704678404, 4045999559,
                    3422617507, 3040415634, 1762651403, 1719377915, 3470491036,
                    2693910283, 3642056355, 3138596744, 1364962596, 2073328063,
                    1983633131, 926494387, 3423689081, 2150032023, 4096667949,
                    1749200295, 3328846651, 309677260, 2016342300, 1779581495,
                    3079819751, 111262694, 1274766160, 443224088, 298511866,
                    1025883608, 3806446537, 1145181785, 168956806, 3641502830,
                    3584813610, 1689216846, 3666258015, 3200248200, 1692713982,
                    2646376535, 4042768518, 1618508792, 1610833997, 3523052358,
                    4130873264, 2001055236, 3610705100, 2202168115, 4028541809,
                    2961195399, 1006657119, 2006996926, 3186142756, 1430667929,
                    3210227297, 1314452623, 4074634658, 4101304120, 2273951170,
                    1399257539, 3367210612, 3027628629, 1190975929, 2062231137,
                    2333990788, 2221543033, 2438960610, 1181637006, 548689776,
                    2362791313, 3372408396, 3104550113, 3145860560, 296247880,
                    1970579870, 3078560182, 3769228297, 1714227617, 3291629107,
                    3898220290, 166772364, 1251581989, 493813264, 448347421,
                    195405023, 2709975567, 677966185, 3703036547, 1463355134,
                    2715995803, 1338867538, 1343315457, 2802222074, 2684532164,
                    233230375, 2599980071, 2000651841, 3277868038, 1638401717,
                    4028070440, 3237316320, 6314154, 819756386, 300326615,
                    590932579, 1405279636, 3267499572, 3150704214, 2428286686,
                    3959192993, 3461946742, 1862657033, 1266418056, 963775037,
                    2089974820, 2263052895, 1917689273, 448879540, 3550394620,
                    3981727096, 150775221, 3627908307, 1303187396, 508620638,
                    2975983352, 2726630617, 1817252668, 1876281319, 1457606340,
                    908771278, 3720792119, 3617206836, 2455994898, 1729034894,
                    1080033504,
                  ],
                  [
                    976866871, 3556439503, 2881648439, 1522871579, 1555064734,
                    1336096578, 3548522304, 2579274686, 3574697629, 3205460757,
                    3593280638, 3338716283, 3079412587, 564236357, 2993598910,
                    1781952180, 1464380207, 3163844217, 3332601554, 1699332808,
                    1393555694, 1183702653, 3581086237, 1288719814, 691649499,
                    2847557200, 2895455976, 3193889540, 2717570544, 1781354906,
                    1676643554, 2592534050, 3230253752, 1126444790, 2770207658,
                    2633158820, 2210423226, 2615765581, 2414155088, 3127139286,
                    673620729, 2805611233, 1269405062, 4015350505, 3341807571,
                    4149409754, 1057255273, 2012875353, 2162469141, 2276492801,
                    2601117357, 993977747, 3918593370, 2654263191, 753973209,
                    36408145, 2530585658, 25011837, 3520020182, 2088578344,
                    530523599, 2918365339, 1524020338, 1518925132, 3760827505,
                    3759777254, 1202760957, 3985898139, 3906192525, 674977740,
                    4174734889, 2031300136, 2019492241, 3983892565, 4153806404,
                    3822280332, 352677332, 2297720250, 60907813, 90501309,
                    3286998549, 1016092578, 2535922412, 2839152426, 457141659,
                    509813237, 4120667899, 652014361, 1966332200, 2975202805,
                    55981186, 2327461051, 676427537, 3255491064, 2882294119,
                    3433927263, 1307055953, 942726286, 933058658, 2468411793,
                    3933900994, 4215176142, 1361170020, 2001714738, 2830558078,
                    3274259782, 1222529897, 1679025792, 2729314320, 3714953764,
                    1770335741, 151462246, 3013232138, 1682292957, 1483529935,
                    471910574, 1539241949, 458788160, 3436315007, 1807016891,
                    3718408830, 978976581, 1043663428, 3165965781, 1927990952,
                    4200891579, 2372276910, 3208408903, 3533431907, 1412390302,
                    2931980059, 4132332400, 1947078029, 3881505623, 4168226417,
                    2941484381, 1077988104, 1320477388, 886195818, 18198404,
                    3786409e3, 2509781533, 112762804, 3463356488, 1866414978,
                    891333506, 18488651, 661792760, 1628790961, 3885187036,
                    3141171499, 876946877, 2693282273, 1372485963, 791857591,
                    2686433993, 3759982718, 3167212022, 3472953795, 2716379847,
                    445679433, 3561995674, 3504004811, 3574258232, 54117162,
                    3331405415, 2381918588, 3769707343, 4154350007, 1140177722,
                    4074052095, 668550556, 3214352940, 367459370, 261225585,
                    2610173221, 4209349473, 3468074219, 3265815641, 314222801,
                    3066103646, 3808782860, 282218597, 3406013506, 3773591054,
                    379116347, 1285071038, 846784868, 2669647154, 3771962079,
                    3550491691, 2305946142, 453669953, 1268987020, 3317592352,
                    3279303384, 3744833421, 2610507566, 3859509063, 266596637,
                    3847019092, 517658769, 3462560207, 3443424879, 370717030,
                    4247526661, 2224018117, 4143653529, 4112773975, 2788324899,
                    2477274417, 1456262402, 2901442914, 1517677493, 1846949527,
                    2295493580, 3734397586, 2176403920, 1280348187, 1908823572,
                    3871786941, 846861322, 1172426758, 3287448474, 3383383037,
                    1655181056, 3139813346, 901632758, 1897031941, 2986607138,
                    3066810236, 3447102507, 1393639104, 373351379, 950779232,
                    625454576, 3124240540, 4148612726, 2007998917, 544563296,
                    2244738638, 2330496472, 2058025392, 1291430526, 424198748,
                    50039436, 29584100, 3605783033, 2429876329, 2791104160,
                    1057563949, 3255363231, 3075367218, 3463963227, 1469046755,
                    985887462,
                  ],
                ];
              var u = { pbox: [], sbox: [] };
              function f(y, w) {
                let m = (w >> 24) & 255,
                  x = (w >> 16) & 255,
                  C = (w >> 8) & 255,
                  b = w & 255,
                  F = y.sbox[0][m] + y.sbox[1][x];
                return (F = F ^ y.sbox[2][C]), (F = F + y.sbox[3][b]), F;
              }
              function d(y, w, m) {
                let x = w,
                  C = m,
                  b;
                for (let F = 0; F < a; ++F)
                  (x = x ^ y.pbox[F]),
                    (C = f(y, x) ^ C),
                    (b = x),
                    (x = C),
                    (C = b);
                return (
                  (b = x),
                  (x = C),
                  (C = b),
                  (C = C ^ y.pbox[a]),
                  (x = x ^ y.pbox[a + 1]),
                  { left: x, right: C }
                );
              }
              function g(y, w, m) {
                let x = w,
                  C = m,
                  b;
                for (let F = a + 1; F > 1; --F)
                  (x = x ^ y.pbox[F]),
                    (C = f(y, x) ^ C),
                    (b = x),
                    (x = C),
                    (C = b);
                return (
                  (b = x),
                  (x = C),
                  (C = b),
                  (C = C ^ y.pbox[1]),
                  (x = x ^ y.pbox[0]),
                  { left: x, right: C }
                );
              }
              function v(y, w, m) {
                for (let I = 0; I < 4; I++) {
                  y.sbox[I] = [];
                  for (let T = 0; T < 256; T++) y.sbox[I][T] = l[I][T];
                }
                let x = 0;
                for (let I = 0; I < a + 2; I++)
                  (y.pbox[I] = o[I] ^ w[x]), x++, x >= m && (x = 0);
                let C = 0,
                  b = 0,
                  F = 0;
                for (let I = 0; I < a + 2; I += 2)
                  (F = d(y, C, b)),
                    (C = F.left),
                    (b = F.right),
                    (y.pbox[I] = C),
                    (y.pbox[I + 1] = b);
                for (let I = 0; I < 4; I++)
                  for (let T = 0; T < 256; T += 2)
                    (F = d(y, C, b)),
                      (C = F.left),
                      (b = F.right),
                      (y.sbox[I][T] = C),
                      (y.sbox[I][T + 1] = b);
                return !0;
              }
              var B = (s.Blowfish = i.extend({
                _doReset: function () {
                  if (this._keyPriorReset !== this._key) {
                    var y = (this._keyPriorReset = this._key),
                      w = y.words,
                      m = y.sigBytes / 4;
                    v(u, w, m);
                  }
                },
                encryptBlock: function (y, w) {
                  var m = d(u, y[w], y[w + 1]);
                  (y[w] = m.left), (y[w + 1] = m.right);
                },
                decryptBlock: function (y, w) {
                  var m = g(u, y[w], y[w + 1]);
                  (y[w] = m.left), (y[w + 1] = m.right);
                },
                blockSize: 64 / 32,
                keySize: 128 / 32,
                ivSize: 64 / 32,
              }));
              n.Blowfish = i._createHelper(B);
            })(),
            r.Blowfish
          );
        });
      })(od)),
    od.exports
  );
}
(function (e, t) {
  (function (r, n, A) {
    e.exports = n(
      Ft(),
      gf(),
      QO(),
      UO(),
      ia(),
      TO(),
      sa(),
      p9(),
      up(),
      IO(),
      g9(),
      DO(),
      PO(),
      OO(),
      cp(),
      LO(),
      hs(),
      Or(),
      kO(),
      HO(),
      MO(),
      RO(),
      NO(),
      $O(),
      KO(),
      VO(),
      GO(),
      WO(),
      zO(),
      jO(),
      YO(),
      XO(),
      JO(),
      qO(),
      ZO(),
    );
  })(pt, function (r) {
    return r;
  });
})(h9);
var Vte = h9.exports,
  v9 = { exports: {} };
(function (e, t) {
  (function (r, n) {
    e.exports = n();
  })(pt, function () {
    var r = 1e3,
      n = 6e4,
      A = 36e5,
      i = "millisecond",
      s = "second",
      a = "minute",
      o = "hour",
      l = "day",
      u = "week",
      f = "month",
      d = "quarter",
      g = "year",
      v = "date",
      B = "Invalid Date",
      y =
        /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
      w =
        /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
      m = {
        name: "en",
        weekdays:
          "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
        months:
          "January_February_March_April_May_June_July_August_September_October_November_December".split(
            "_",
          ),
        ordinal: function (X) {
          var V = ["th", "st", "nd", "rd"],
            G = X % 100;
          return "[" + X + (V[(G - 20) % 10] || V[G] || V[0]) + "]";
        },
      },
      x = function (X, V, G) {
        var le = String(X);
        return !le || le.length >= V
          ? X
          : "" + Array(V + 1 - le.length).join(G) + X;
      },
      C = {
        s: x,
        z: function (X) {
          var V = -X.utcOffset(),
            G = Math.abs(V),
            le = Math.floor(G / 60),
            q = G % 60;
          return (V <= 0 ? "+" : "-") + x(le, 2, "0") + ":" + x(q, 2, "0");
        },
        m: function X(V, G) {
          if (V.date() < G.date()) return -X(G, V);
          var le = 12 * (G.year() - V.year()) + (G.month() - V.month()),
            q = V.clone().add(le, f),
            ue = G - q < 0,
            Ce = V.clone().add(le + (ue ? -1 : 1), f);
          return +(-(le + (G - q) / (ue ? q - Ce : Ce - q)) || 0);
        },
        a: function (X) {
          return X < 0 ? Math.ceil(X) || 0 : Math.floor(X);
        },
        p: function (X) {
          return (
            { M: f, y: g, w: u, d: l, D: v, h: o, m: a, s, ms: i, Q: d }[X] ||
            String(X || "")
              .toLowerCase()
              .replace(/s$/, "")
          );
        },
        u: function (X) {
          return X === void 0;
        },
      },
      b = "en",
      F = {};
    F[b] = m;
    var I = "$isDayjsObject",
      T = function (X) {
        return X instanceof L || !(!X || !X[I]);
      },
      D = function X(V, G, le) {
        var q;
        if (!V) return b;
        if (typeof V == "string") {
          var ue = V.toLowerCase();
          F[ue] && (q = ue), G && ((F[ue] = G), (q = ue));
          var Ce = V.split("-");
          if (!q && Ce.length > 1) return X(Ce[0]);
        } else {
          var ee = V.name;
          (F[ee] = V), (q = ee);
        }
        return !le && q && (b = q), q || (!le && b);
      },
      U = function (X, V) {
        if (T(X)) return X.clone();
        var G = typeof V == "object" ? V : {};
        return (G.date = X), (G.args = arguments), new L(G);
      },
      Q = C;
    (Q.l = D),
      (Q.i = T),
      (Q.w = function (X, V) {
        return U(X, { locale: V.$L, utc: V.$u, x: V.$x, $offset: V.$offset });
      });
    var L = (function () {
        function X(G) {
          (this.$L = D(G.locale, null, !0)),
            this.parse(G),
            (this.$x = this.$x || G.x || {}),
            (this[I] = !0);
        }
        var V = X.prototype;
        return (
          (V.parse = function (G) {
            (this.$d = (function (le) {
              var q = le.date,
                ue = le.utc;
              if (q === null) return new Date(NaN);
              if (Q.u(q)) return new Date();
              if (q instanceof Date) return new Date(q);
              if (typeof q == "string" && !/Z$/i.test(q)) {
                var Ce = q.match(y);
                if (Ce) {
                  var ee = Ce[2] - 1 || 0,
                    ce = (Ce[7] || "0").substring(0, 3);
                  return ue
                    ? new Date(
                        Date.UTC(
                          Ce[1],
                          ee,
                          Ce[3] || 1,
                          Ce[4] || 0,
                          Ce[5] || 0,
                          Ce[6] || 0,
                          ce,
                        ),
                      )
                    : new Date(
                        Ce[1],
                        ee,
                        Ce[3] || 1,
                        Ce[4] || 0,
                        Ce[5] || 0,
                        Ce[6] || 0,
                        ce,
                      );
                }
              }
              return new Date(q);
            })(G)),
              this.init();
          }),
          (V.init = function () {
            var G = this.$d;
            (this.$y = G.getFullYear()),
              (this.$M = G.getMonth()),
              (this.$D = G.getDate()),
              (this.$W = G.getDay()),
              (this.$H = G.getHours()),
              (this.$m = G.getMinutes()),
              (this.$s = G.getSeconds()),
              (this.$ms = G.getMilliseconds());
          }),
          (V.$utils = function () {
            return Q;
          }),
          (V.isValid = function () {
            return this.$d.toString() !== B;
          }),
          (V.isSame = function (G, le) {
            var q = U(G);
            return this.startOf(le) <= q && q <= this.endOf(le);
          }),
          (V.isAfter = function (G, le) {
            return U(G) < this.startOf(le);
          }),
          (V.isBefore = function (G, le) {
            return this.endOf(le) < U(G);
          }),
          (V.$g = function (G, le, q) {
            return Q.u(G) ? this[le] : this.set(q, G);
          }),
          (V.unix = function () {
            return Math.floor(this.valueOf() / 1e3);
          }),
          (V.valueOf = function () {
            return this.$d.getTime();
          }),
          (V.startOf = function (G, le) {
            var q = this,
              ue = !!Q.u(le) || le,
              Ce = Q.p(G),
              ee = function (De, $e) {
                var Te = Q.w(
                  q.$u ? Date.UTC(q.$y, $e, De) : new Date(q.$y, $e, De),
                  q,
                );
                return ue ? Te : Te.endOf(l);
              },
              ce = function (De, $e) {
                return Q.w(
                  q
                    .toDate()
                    [
                      De
                    ].apply(q.toDate("s"), (ue ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($e)),
                  q,
                );
              },
              ve = this.$W,
              xe = this.$M,
              se = this.$D,
              Fe = "set" + (this.$u ? "UTC" : "");
            switch (Ce) {
              case g:
                return ue ? ee(1, 0) : ee(31, 11);
              case f:
                return ue ? ee(1, xe) : ee(0, xe + 1);
              case u:
                var ie = this.$locale().weekStart || 0,
                  _e = (ve < ie ? ve + 7 : ve) - ie;
                return ee(ue ? se - _e : se + (6 - _e), xe);
              case l:
              case v:
                return ce(Fe + "Hours", 0);
              case o:
                return ce(Fe + "Minutes", 1);
              case a:
                return ce(Fe + "Seconds", 2);
              case s:
                return ce(Fe + "Milliseconds", 3);
              default:
                return this.clone();
            }
          }),
          (V.endOf = function (G) {
            return this.startOf(G, !1);
          }),
          (V.$set = function (G, le) {
            var q,
              ue = Q.p(G),
              Ce = "set" + (this.$u ? "UTC" : ""),
              ee = ((q = {}),
              (q[l] = Ce + "Date"),
              (q[v] = Ce + "Date"),
              (q[f] = Ce + "Month"),
              (q[g] = Ce + "FullYear"),
              (q[o] = Ce + "Hours"),
              (q[a] = Ce + "Minutes"),
              (q[s] = Ce + "Seconds"),
              (q[i] = Ce + "Milliseconds"),
              q)[ue],
              ce = ue === l ? this.$D + (le - this.$W) : le;
            if (ue === f || ue === g) {
              var ve = this.clone().set(v, 1);
              ve.$d[ee](ce),
                ve.init(),
                (this.$d = ve.set(v, Math.min(this.$D, ve.daysInMonth())).$d);
            } else ee && this.$d[ee](ce);
            return this.init(), this;
          }),
          (V.set = function (G, le) {
            return this.clone().$set(G, le);
          }),
          (V.get = function (G) {
            return this[Q.p(G)]();
          }),
          (V.add = function (G, le) {
            var q,
              ue = this;
            G = Number(G);
            var Ce = Q.p(le),
              ee = function (xe) {
                var se = U(ue);
                return Q.w(se.date(se.date() + Math.round(xe * G)), ue);
              };
            if (Ce === f) return this.set(f, this.$M + G);
            if (Ce === g) return this.set(g, this.$y + G);
            if (Ce === l) return ee(1);
            if (Ce === u) return ee(7);
            var ce = ((q = {}), (q[a] = n), (q[o] = A), (q[s] = r), q)[Ce] || 1,
              ve = this.$d.getTime() + G * ce;
            return Q.w(ve, this);
          }),
          (V.subtract = function (G, le) {
            return this.add(-1 * G, le);
          }),
          (V.format = function (G) {
            var le = this,
              q = this.$locale();
            if (!this.isValid()) return q.invalidDate || B;
            var ue = G || "YYYY-MM-DDTHH:mm:ssZ",
              Ce = Q.z(this),
              ee = this.$H,
              ce = this.$m,
              ve = this.$M,
              xe = q.weekdays,
              se = q.months,
              Fe = q.meridiem,
              ie = function ($e, Te, j, P) {
                return ($e && ($e[Te] || $e(le, ue))) || j[Te].slice(0, P);
              },
              _e = function ($e) {
                return Q.s(ee % 12 || 12, $e, "0");
              },
              De =
                Fe ||
                function ($e, Te, j) {
                  var P = $e < 12 ? "AM" : "PM";
                  return j ? P.toLowerCase() : P;
                };
            return ue.replace(w, function ($e, Te) {
              return (
                Te ||
                (function (j) {
                  switch (j) {
                    case "YY":
                      return String(le.$y).slice(-2);
                    case "YYYY":
                      return Q.s(le.$y, 4, "0");
                    case "M":
                      return ve + 1;
                    case "MM":
                      return Q.s(ve + 1, 2, "0");
                    case "MMM":
                      return ie(q.monthsShort, ve, se, 3);
                    case "MMMM":
                      return ie(se, ve);
                    case "D":
                      return le.$D;
                    case "DD":
                      return Q.s(le.$D, 2, "0");
                    case "d":
                      return String(le.$W);
                    case "dd":
                      return ie(q.weekdaysMin, le.$W, xe, 2);
                    case "ddd":
                      return ie(q.weekdaysShort, le.$W, xe, 3);
                    case "dddd":
                      return xe[le.$W];
                    case "H":
                      return String(ee);
                    case "HH":
                      return Q.s(ee, 2, "0");
                    case "h":
                      return _e(1);
                    case "hh":
                      return _e(2);
                    case "a":
                      return De(ee, ce, !0);
                    case "A":
                      return De(ee, ce, !1);
                    case "m":
                      return String(ce);
                    case "mm":
                      return Q.s(ce, 2, "0");
                    case "s":
                      return String(le.$s);
                    case "ss":
                      return Q.s(le.$s, 2, "0");
                    case "SSS":
                      return Q.s(le.$ms, 3, "0");
                    case "Z":
                      return Ce;
                  }
                  return null;
                })($e) ||
                Ce.replace(":", "")
              );
            });
          }),
          (V.utcOffset = function () {
            return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
          }),
          (V.diff = function (G, le, q) {
            var ue,
              Ce = this,
              ee = Q.p(le),
              ce = U(G),
              ve = (ce.utcOffset() - this.utcOffset()) * n,
              xe = this - ce,
              se = function () {
                return Q.m(Ce, ce);
              };
            switch (ee) {
              case g:
                ue = se() / 12;
                break;
              case f:
                ue = se();
                break;
              case d:
                ue = se() / 3;
                break;
              case u:
                ue = (xe - ve) / 6048e5;
                break;
              case l:
                ue = (xe - ve) / 864e5;
                break;
              case o:
                ue = xe / A;
                break;
              case a:
                ue = xe / n;
                break;
              case s:
                ue = xe / r;
                break;
              default:
                ue = xe;
            }
            return q ? ue : Q.a(ue);
          }),
          (V.daysInMonth = function () {
            return this.endOf(f).$D;
          }),
          (V.$locale = function () {
            return F[this.$L];
          }),
          (V.locale = function (G, le) {
            if (!G) return this.$L;
            var q = this.clone(),
              ue = D(G, le, !0);
            return ue && (q.$L = ue), q;
          }),
          (V.clone = function () {
            return Q.w(this.$d, this);
          }),
          (V.toDate = function () {
            return new Date(this.valueOf());
          }),
          (V.toJSON = function () {
            return this.isValid() ? this.toISOString() : null;
          }),
          (V.toISOString = function () {
            return this.$d.toISOString();
          }),
          (V.toString = function () {
            return this.$d.toUTCString();
          }),
          X
        );
      })(),
      $ = L.prototype;
    return (
      (U.prototype = $),
      [
        ["$ms", i],
        ["$s", s],
        ["$m", a],
        ["$H", o],
        ["$W", l],
        ["$M", f],
        ["$y", g],
        ["$D", v],
      ].forEach(function (X) {
        $[X[1]] = function (V) {
          return this.$g(V, X[0], X[1]);
        };
      }),
      (U.extend = function (X, V) {
        return X.$i || (X(V, L, U), (X.$i = !0)), U;
      }),
      (U.locale = D),
      (U.isDayjs = T),
      (U.unix = function (X) {
        return U(1e3 * X);
      }),
      (U.en = F[b]),
      (U.Ls = F),
      (U.p = {}),
      U
    );
  });
})(v9);
var fp = v9.exports;
const Gte = xo(fp);
function N2() {}
const wt = Object.assign,
  Ai = typeof window < "u",
  ea = (e) => e !== null && typeof e == "object",
  qt = (e) => e != null,
  to = (e) => typeof e == "function",
  dp = (e) => ea(e) && to(e.then) && to(e.catch),
  Yl = (e) =>
    Object.prototype.toString.call(e) === "[object Date]" &&
    !Number.isNaN(e.getTime()),
  m9 = (e) => typeof e == "number" || /^\d+(\.\d+)?$/.test(e),
  eL = () =>
    Ai ? /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()) : !1;
function k4(e, t) {
  const r = t.split(".");
  let n = e;
  return (
    r.forEach((A) => {
      var i;
      n = ea(n) && (i = n[A]) != null ? i : "";
    }),
    n
  );
}
function er(e, t, r) {
  return t.reduce((n, A) => ((!r || e[A] !== void 0) && (n[A] = e[A]), n), {});
}
const Ji = (e, t) => JSON.stringify(e) === JSON.stringify(t),
  lc = (e) => (Array.isArray(e) ? e : [e]),
  Er = null,
  tt = [Number, String],
  Ze = { type: Boolean, default: !0 },
  Nr = (e) => ({ type: e, required: !0 }),
  ii = () => ({ type: Array, default: () => [] }),
  hp = (e) => ({ type: Number, default: e }),
  xt = (e) => ({ type: tt, default: e }),
  dt = (e) => ({ type: String, default: e });
function y0(e) {
  const t = "scrollTop" in e ? e.scrollTop : e.pageYOffset;
  return Math.max(t, 0);
}
function uc(e, t) {
  "scrollTop" in e ? (e.scrollTop = t) : e.scrollTo(e.scrollX, t);
}
function pp() {
  return (
    window.pageYOffset ||
    document.documentElement.scrollTop ||
    document.body.scrollTop ||
    0
  );
}
function gp(e) {
  uc(window, e), uc(document.body, e);
}
function H4(e, t) {
  if (e === window) return 0;
  const r = t ? y0(t) : pp();
  return Ir(e).top + r;
}
const tL = eL();
function rL() {
  tL && gp(pp());
}
const B9 = (e) => e.stopPropagation();
function gn(e, t) {
  (typeof e.cancelable != "boolean" || e.cancelable) && e.preventDefault(),
    t && B9(e);
}
function ro(e) {
  const t = pn(e);
  if (!t) return !1;
  const r = window.getComputedStyle(t),
    n = r.display === "none",
    A = t.offsetParent === null && r.position !== "fixed";
  return n || A;
}
const { width: Fo, height: C0 } = k3();
function It(e) {
  if (qt(e)) return m9(e) ? `${e}px` : String(e);
}
function _o(e) {
  if (qt(e)) {
    if (Array.isArray(e)) return { width: It(e[0]), height: It(e[1]) };
    const t = It(e);
    return { width: t, height: t };
  }
}
function w9(e) {
  const t = {};
  return e !== void 0 && (t.zIndex = +e), t;
}
let ld;
function nL() {
  if (!ld) {
    const e = document.documentElement,
      t = e.style.fontSize || window.getComputedStyle(e).fontSize;
    ld = parseFloat(t);
  }
  return ld;
}
function AL(e) {
  return (e = e.replace(/rem/g, "")), +e * nL();
}
function iL(e) {
  return (e = e.replace(/vw/g, "")), (+e * Fo.value) / 100;
}
function sL(e) {
  return (e = e.replace(/vh/g, "")), (+e * C0.value) / 100;
}
function vp(e) {
  if (typeof e == "number") return e;
  if (Ai) {
    if (e.includes("rem")) return AL(e);
    if (e.includes("vw")) return iL(e);
    if (e.includes("vh")) return sL(e);
  }
  return parseFloat(e);
}
const aL = /-(\w)/g,
  y9 = (e) => e.replace(aL, (t, r) => r.toUpperCase());
function Os(e, t = 2) {
  let r = e + "";
  for (; r.length < t; ) r = "0" + r;
  return r;
}
const rn = (e, t, r) => Math.min(Math.max(e, t), r);
function M4(e, t, r) {
  const n = e.indexOf(t);
  return n === -1
    ? e
    : t === "-" && n !== 0
      ? e.slice(0, n)
      : e.slice(0, n + 1) + e.slice(n).replace(r, "");
}
function oL(e, t = !0, r = !0) {
  t ? (e = M4(e, ".", /\./g)) : (e = e.split(".")[0]),
    r ? (e = M4(e, "-", /-/g)) : (e = e.replace(/-/, ""));
  const n = t ? /[^-0-9.]/g : /[^-0-9]/g;
  return e.replace(n, "");
}
function lL(e, t) {
  return Math.round((e + t) * 1e10) / 1e10;
}
const { hasOwnProperty: uL } = Object.prototype;
function cL(e, t, r) {
  const n = t[r];
  qt(n) &&
    (!uL.call(e, r) || !ea(n) ? (e[r] = n) : (e[r] = C9(Object(e[r]), n)));
}
function C9(e, t) {
  return (
    Object.keys(t).forEach((r) => {
      cL(e, t, r);
    }),
    e
  );
}
var fL = {
  name: "姓名",
  tel: "电话",
  save: "保存",
  clear: "清空",
  cancel: "取消",
  confirm: "确认",
  delete: "删除",
  loading: "加载中...",
  noCoupon: "暂无优惠券",
  nameEmpty: "请填写姓名",
  addContact: "添加联系人",
  telInvalid: "请填写正确的电话",
  vanCalendar: {
    end: "结束",
    start: "开始",
    title: "日期选择",
    weekdays: ["日", "一", "二", "三", "四", "五", "六"],
    monthTitle: (e, t) => `${e}年${t}月`,
    rangePrompt: (e) => `最多选择 ${e} 天`,
  },
  vanCascader: { select: "请选择" },
  vanPagination: { prev: "上一页", next: "下一页" },
  vanPullRefresh: { pulling: "下拉即可刷新...", loosing: "释放即可刷新..." },
  vanSubmitBar: { label: "合计:" },
  vanCoupon: {
    unlimited: "无门槛",
    discount: (e) => `${e}折`,
    condition: (e) => `满${e}元可用`,
  },
  vanCouponCell: { title: "优惠券", count: (e) => `${e}张可用` },
  vanCouponList: {
    exchange: "兑换",
    close: "不使用",
    enable: "可用",
    disabled: "不可用",
    placeholder: "输入优惠码",
  },
  vanAddressEdit: {
    area: "地区",
    areaEmpty: "请选择地区",
    addressEmpty: "请填写详细地址",
    addressDetail: "详细地址",
    defaultAddress: "设为默认收货地址",
  },
  vanAddressList: { add: "新增地址" },
};
const R4 = Ue("zh-CN"),
  N4 = Rt({ "zh-CN": fL }),
  dL = {
    messages() {
      return N4[R4.value];
    },
    use(e, t) {
      (R4.value = e), this.add({ [e]: t });
    },
    add(e = {}) {
      C9(N4, e);
    },
  };
var hL = dL;
function pL(e) {
  const t = y9(e) + ".";
  return (r, ...n) => {
    const A = hL.messages(),
      i = k4(A, t + r) || k4(A, r);
    return to(i) ? i(...n) : i;
  };
}
function $2(e, t) {
  return t
    ? typeof t == "string"
      ? ` ${e}--${t}`
      : Array.isArray(t)
        ? t.reduce((r, n) => r + $2(e, n), "")
        : Object.keys(t).reduce((r, n) => r + (t[n] ? $2(e, n) : ""), "")
    : "";
}
function gL(e) {
  return (t, r) => (
    t && typeof t != "string" && ((r = t), (t = "")),
    (t = t ? `${e}__${t}` : e),
    `${t}${$2(t, r)}`
  );
}
function st(e) {
  const t = `van-${e}`;
  return [t, gL(t), pL(t)];
}
const ps = "van-hairline",
  x9 = `${ps}--top`,
  vL = `${ps}--left`,
  mL = `${ps}--right`,
  BL = `${ps}--bottom`,
  wL = `${ps}--surround`,
  E9 = `${ps}--top-bottom`,
  yL = `${ps}-unset--top-bottom`,
  Xl = "van-haptics-feedback",
  CL = Symbol("van-form"),
  xL = 500,
  cc = 5;
function x0(e, { args: t = [], done: r, canceled: n, error: A }) {
  if (e) {
    const i = e.apply(null, t);
    dp(i)
      ? i
          .then((s) => {
            s ? r() : n && n();
          })
          .catch(A || N2)
      : i
        ? r()
        : n && n();
  } else r();
}
function ht(e) {
  return (
    (e.install = (t) => {
      const { name: r } = e;
      r && (t.component(r, e), t.component(y9(`-${r}`), e));
    }),
    e
  );
}
const b9 = Symbol();
function mp(e) {
  const t = dr(b9, null);
  t &&
    Ye(t, (r) => {
      r && e();
    });
}
const F9 = (e, t) => {
  const r = Ue(),
    n = () => {
      r.value = Ir(e).height;
    };
  return (
    Zt(() => {
      if ((yt(n), t)) for (let A = 1; A <= 3; A++) setTimeout(n, 100 * A);
    }),
    mp(() => yt(n)),
    Ye([Fo, C0], n),
    r
  );
};
function EL(e, t) {
  const r = F9(e, !0);
  return (n) =>
    Z(
      "div",
      {
        class: t("placeholder"),
        style: { height: r.value ? `${r.value}px` : void 0 },
      },
      [n()],
    );
}
const [_9, $4] = st("action-bar"),
  S9 = Symbol(_9),
  bL = { placeholder: Boolean, safeAreaInsetBottom: Ze };
var FL = et({
  name: _9,
  props: bL,
  setup(e, { slots: t }) {
    const r = Ue(),
      n = EL(r, $4),
      { linkChildren: A } = bA(S9);
    A();
    const i = () => {
      var s;
      return Z(
        "div",
        {
          ref: r,
          class: [$4(), { "van-safe-area-bottom": e.safeAreaInsetBottom }],
        },
        [(s = t.default) == null ? void 0 : s.call(t)],
      );
    };
    return () => (e.placeholder ? n(i) : i());
  },
});
const _L = ht(FL);
function or(e) {
  const t = Wt();
  t && wt(t.proxy, e);
}
const So = { to: [String, Object], url: String, replace: Boolean };
function Q9({ to: e, url: t, replace: r, $router: n }) {
  e && n
    ? n[r ? "replace" : "push"](e)
    : t && (r ? location.replace(t) : (location.href = t));
}
function E0() {
  const e = Wt().proxy;
  return () => Q9(e);
}
const [SL, K4] = st("badge"),
  QL = {
    dot: Boolean,
    max: tt,
    tag: dt("div"),
    color: String,
    offset: Array,
    content: tt,
    showZero: Ze,
    position: dt("top-right"),
  };
var UL = et({
  name: SL,
  props: QL,
  setup(e, { slots: t }) {
    const r = () => {
        if (t.content) return !0;
        const { content: a, showZero: o } = e;
        return qt(a) && a !== "" && (o || (a !== 0 && a !== "0"));
      },
      n = () => {
        const { dot: a, max: o, content: l } = e;
        if (!a && r())
          return t.content
            ? t.content()
            : qt(o) && m9(l) && +l > +o
              ? `${o}+`
              : l;
      },
      A = (a) => (a.startsWith("-") ? a.replace("-", "") : `-${a}`),
      i = Oe(() => {
        const a = { background: e.color };
        if (e.offset) {
          const [o, l] = e.offset,
            { position: u } = e,
            [f, d] = u.split("-");
          t.default
            ? (typeof l == "number"
                ? (a[f] = It(f === "top" ? l : -l))
                : (a[f] = f === "top" ? It(l) : A(l)),
              typeof o == "number"
                ? (a[d] = It(d === "left" ? o : -o))
                : (a[d] = d === "left" ? It(o) : A(o)))
            : ((a.marginTop = It(l)), (a.marginLeft = It(o)));
        }
        return a;
      }),
      s = () => {
        if (r() || e.dot)
          return Z(
            "div",
            {
              class: K4([e.position, { dot: e.dot, fixed: !!t.default }]),
              style: i.value,
            },
            [n()],
          );
      };
    return () => {
      if (t.default) {
        const { tag: a } = e;
        return Z(
          a,
          { class: K4("wrapper") },
          { default: () => [t.default(), s()] },
        );
      }
      return s();
    };
  },
});
const vf = ht(UL);
let TL = 2e3;
const IL = () => ++TL,
  [DL, Wte] = st("config-provider"),
  PL = Symbol(DL),
  [OL, V4] = st("icon"),
  LL = (e) => (e == null ? void 0 : e.includes("/")),
  kL = {
    dot: Boolean,
    tag: dt("i"),
    name: String,
    size: tt,
    badge: tt,
    color: String,
    badgeProps: Object,
    classPrefix: String,
  };
var HL = et({
  name: OL,
  props: kL,
  setup(e, { slots: t }) {
    const r = dr(PL, null),
      n = Oe(
        () => e.classPrefix || (r == null ? void 0 : r.iconPrefix) || V4(),
      );
    return () => {
      const { tag: A, dot: i, name: s, size: a, badge: o, color: l } = e,
        u = LL(s);
      return Z(
        vf,
        $t(
          {
            dot: i,
            tag: A,
            class: [n.value, u ? "" : `${n.value}-${s}`],
            style: { color: l, fontSize: It(a) },
            content: o,
          },
          e.badgeProps,
        ),
        {
          default: () => {
            var f;
            return [
              (f = t.default) == null ? void 0 : f.call(t),
              u && Z("img", { class: V4("image"), src: s }, null),
            ];
          },
        },
      );
    };
  },
});
const Dr = ht(HL),
  [ML, Ql] = st("loading"),
  RL = Array(12)
    .fill(null)
    .map((e, t) => Z("i", { class: Ql("line", String(t + 1)) }, null)),
  NL = Z("svg", { class: Ql("circular"), viewBox: "25 25 50 50" }, [
    Z("circle", { cx: "50", cy: "50", r: "20", fill: "none" }, null),
  ]),
  $L = {
    size: tt,
    type: dt("circular"),
    color: String,
    vertical: Boolean,
    textSize: tt,
    textColor: String,
  };
var KL = et({
  name: ML,
  props: $L,
  setup(e, { slots: t }) {
    const r = Oe(() => wt({ color: e.color }, _o(e.size))),
      n = () => {
        const i = e.type === "spinner" ? RL : NL;
        return Z("span", { class: Ql("spinner", e.type), style: r.value }, [
          t.icon ? t.icon() : i,
        ]);
      },
      A = () => {
        var i;
        if (t.default)
          return Z(
            "span",
            {
              class: Ql("text"),
              style: {
                fontSize: It(e.textSize),
                color: (i = e.textColor) != null ? i : e.color,
              },
            },
            [t.default()],
          );
      };
    return () => {
      const { type: i, vertical: s } = e;
      return Z(
        "div",
        {
          class: Ql([i, { vertical: s }]),
          "aria-live": "polite",
          "aria-busy": !0,
        },
        [n(), A()],
      );
    };
  },
});
const fi = ht(KL),
  [VL, ya] = st("button"),
  GL = wt({}, So, {
    tag: dt("button"),
    text: String,
    icon: String,
    type: dt("default"),
    size: dt("normal"),
    color: String,
    block: Boolean,
    plain: Boolean,
    round: Boolean,
    square: Boolean,
    loading: Boolean,
    hairline: Boolean,
    disabled: Boolean,
    iconPrefix: String,
    nativeType: dt("button"),
    loadingSize: tt,
    loadingText: String,
    loadingType: String,
    iconPosition: dt("left"),
  });
var WL = et({
  name: VL,
  props: GL,
  emits: ["click"],
  setup(e, { emit: t, slots: r }) {
    const n = E0(),
      A = () =>
        r.loading
          ? r.loading()
          : Z(
              fi,
              {
                size: e.loadingSize,
                type: e.loadingType,
                class: ya("loading"),
              },
              null,
            ),
      i = () => {
        if (e.loading) return A();
        if (r.icon) return Z("div", { class: ya("icon") }, [r.icon()]);
        if (e.icon)
          return Z(
            Dr,
            { name: e.icon, class: ya("icon"), classPrefix: e.iconPrefix },
            null,
          );
      },
      s = () => {
        let l;
        if (
          (e.loading
            ? (l = e.loadingText)
            : (l = r.default ? r.default() : e.text),
          l)
        )
          return Z("span", { class: ya("text") }, [l]);
      },
      a = () => {
        const { color: l, plain: u } = e;
        if (l) {
          const f = { color: u ? l : "white" };
          return (
            u || (f.background = l),
            l.includes("gradient") ? (f.border = 0) : (f.borderColor = l),
            f
          );
        }
      },
      o = (l) => {
        e.loading ? gn(l) : e.disabled || (t("click", l), n());
      };
    return () => {
      const {
          tag: l,
          type: u,
          size: f,
          block: d,
          round: g,
          plain: v,
          square: B,
          loading: y,
          disabled: w,
          hairline: m,
          nativeType: x,
          iconPosition: C,
        } = e,
        b = [
          ya([
            u,
            f,
            {
              plain: v,
              block: d,
              round: g,
              square: B,
              loading: y,
              disabled: w,
              hairline: m,
            },
          ]),
          { [wL]: m },
        ];
      return Z(
        l,
        { type: x, class: b, style: a(), disabled: w, onClick: o },
        {
          default: () => [
            Z("div", { class: ya("content") }, [
              C === "left" && i(),
              s(),
              C === "right" && i(),
            ]),
          ],
        },
      );
    };
  },
});
const fc = ht(WL),
  [zL, jL] = st("action-bar-button"),
  YL = wt({}, So, {
    type: String,
    text: String,
    icon: String,
    color: String,
    loading: Boolean,
    disabled: Boolean,
  });
var XL = et({
  name: zL,
  props: YL,
  setup(e, { slots: t }) {
    const r = E0(),
      { parent: n, index: A } = In(S9),
      i = Oe(() => {
        if (n) {
          const a = n.children[A.value - 1];
          return !(a && "isButton" in a);
        }
      }),
      s = Oe(() => {
        if (n) {
          const a = n.children[A.value + 1];
          return !(a && "isButton" in a);
        }
      });
    return (
      or({ isButton: !0 }),
      () => {
        const {
          type: a,
          icon: o,
          text: l,
          color: u,
          loading: f,
          disabled: d,
        } = e;
        return Z(
          fc,
          {
            class: jL([a, { last: s.value, first: i.value }]),
            size: "large",
            type: a,
            icon: o,
            color: u,
            loading: f,
            disabled: d,
            onClick: r,
          },
          { default: () => [t.default ? t.default() : l] },
        );
      }
    );
  },
});
const G4 = ht(XL),
  mf = {
    show: Boolean,
    zIndex: tt,
    overlay: Ze,
    duration: tt,
    teleport: [String, Object],
    lockScroll: Ze,
    lazyRender: Ze,
    beforeClose: Function,
    overlayStyle: Object,
    overlayClass: Er,
    transitionAppear: Boolean,
    closeOnClickOverlay: Ze,
  },
  U9 = Object.keys(mf);
function JL(e, t) {
  return e > t ? "horizontal" : t > e ? "vertical" : "";
}
function Qo() {
  const e = Ue(0),
    t = Ue(0),
    r = Ue(0),
    n = Ue(0),
    A = Ue(0),
    i = Ue(0),
    s = Ue(""),
    a = Ue(!0),
    o = () => s.value === "vertical",
    l = () => s.value === "horizontal",
    u = () => {
      (r.value = 0),
        (n.value = 0),
        (A.value = 0),
        (i.value = 0),
        (s.value = ""),
        (a.value = !0);
    };
  return {
    move: (g) => {
      const v = g.touches[0];
      (r.value = (v.clientX < 0 ? 0 : v.clientX) - e.value),
        (n.value = v.clientY - t.value),
        (A.value = Math.abs(r.value)),
        (i.value = Math.abs(n.value));
      const B = 10;
      (!s.value || (A.value < B && i.value < B)) &&
        (s.value = JL(A.value, i.value)),
        a.value && (A.value > cc || i.value > cc) && (a.value = !1);
    },
    start: (g) => {
      u(), (e.value = g.touches[0].clientX), (t.value = g.touches[0].clientY);
    },
    reset: u,
    startX: e,
    startY: t,
    deltaX: r,
    deltaY: n,
    offsetX: A,
    offsetY: i,
    direction: s,
    isVertical: o,
    isHorizontal: l,
    isTap: a,
  };
}
let Jo = 0;
const W4 = "van-overflow-hidden";
function qL(e, t) {
  const r = Qo(),
    n = "01",
    A = "10",
    i = (u) => {
      r.move(u);
      const f = r.deltaY.value > 0 ? A : n,
        d = P6(u.target, e.value),
        { scrollHeight: g, offsetHeight: v, scrollTop: B } = d;
      let y = "11";
      B === 0 ? (y = v >= g ? "00" : "01") : B + v >= g && (y = "10"),
        y !== "11" &&
          r.isVertical() &&
          !(parseInt(y, 2) & parseInt(f, 2)) &&
          gn(u, !0);
    },
    s = () => {
      document.addEventListener("touchstart", r.start),
        document.addEventListener("touchmove", i, { passive: !1 }),
        Jo || document.body.classList.add(W4),
        Jo++;
    },
    a = () => {
      Jo &&
        (document.removeEventListener("touchstart", r.start),
        document.removeEventListener("touchmove", i),
        Jo--,
        Jo || document.body.classList.remove(W4));
    },
    o = () => t() && s(),
    l = () => t() && a();
  Eo(o),
    li(l),
    Tn(l),
    Ye(t, (u) => {
      u ? s() : a();
    });
}
function Bp(e) {
  const t = Ue(!1);
  return (
    Ye(
      e,
      (r) => {
        r && (t.value = r);
      },
      { immediate: !0 },
    ),
    (r) => () => (t.value ? r() : null)
  );
}
const K2 = () => {
    var e;
    const { scopeId: t } = ((e = Wt()) == null ? void 0 : e.vnode) || {};
    return t ? { [t]: "" } : null;
  },
  [ZL, ek] = st("overlay"),
  tk = {
    show: Boolean,
    zIndex: tt,
    duration: tt,
    className: Er,
    lockScroll: Ze,
    lazyRender: Ze,
    customStyle: Object,
  };
var rk = et({
  name: ZL,
  props: tk,
  setup(e, { slots: t }) {
    const r = Ue(),
      n = Bp(() => e.show || !e.lazyRender),
      A = (s) => {
        e.lockScroll && gn(s, !0);
      },
      i = n(() => {
        var s;
        const a = wt(w9(e.zIndex), e.customStyle);
        return (
          qt(e.duration) && (a.animationDuration = `${e.duration}s`),
          ts(
            Z("div", { ref: r, style: a, class: [ek(), e.className] }, [
              (s = t.default) == null ? void 0 : s.call(t),
            ]),
            [[ss, e.show]],
          )
        );
      });
    return (
      wn("touchmove", A, { target: r }),
      () => Z(m0, { name: "van-fade", appear: !0 }, { default: i })
    );
  },
});
const nk = ht(rk),
  Ak = wt({}, mf, {
    round: Boolean,
    position: dt("center"),
    closeIcon: dt("cross"),
    closeable: Boolean,
    transition: String,
    iconPrefix: String,
    closeOnPopstate: Boolean,
    closeIconPosition: dt("top-right"),
    safeAreaInsetTop: Boolean,
    safeAreaInsetBottom: Boolean,
  }),
  [ik, z4] = st("popup");
var sk = et({
  name: ik,
  inheritAttrs: !1,
  props: Ak,
  emits: [
    "open",
    "close",
    "opened",
    "closed",
    "keydown",
    "update:show",
    "clickOverlay",
    "clickCloseIcon",
  ],
  setup(e, { emit: t, attrs: r, slots: n }) {
    let A, i;
    const s = Ue(),
      a = Ue(),
      o = Bp(() => e.show || !e.lazyRender),
      l = Oe(() => {
        const F = { zIndex: s.value };
        if (qt(e.duration)) {
          const I =
            e.position === "center"
              ? "animationDuration"
              : "transitionDuration";
          F[I] = `${e.duration}s`;
        }
        return F;
      }),
      u = () => {
        A ||
          ((A = !0),
          (s.value = e.zIndex !== void 0 ? +e.zIndex : IL()),
          t("open"));
      },
      f = () => {
        A &&
          x0(e.beforeClose, {
            done() {
              (A = !1), t("close"), t("update:show", !1);
            },
          });
      },
      d = (F) => {
        t("clickOverlay", F), e.closeOnClickOverlay && f();
      },
      g = () => {
        if (e.overlay)
          return Z(
            nk,
            $t(
              {
                show: e.show,
                class: e.overlayClass,
                zIndex: s.value,
                duration: e.duration,
                customStyle: e.overlayStyle,
                role: e.closeOnClickOverlay ? "button" : void 0,
                tabindex: e.closeOnClickOverlay ? 0 : void 0,
              },
              K2(),
              { onClick: d },
            ),
            { default: n["overlay-content"] },
          );
      },
      v = (F) => {
        t("clickCloseIcon", F), f();
      },
      B = () => {
        if (e.closeable)
          return Z(
            Dr,
            {
              role: "button",
              tabindex: 0,
              name: e.closeIcon,
              class: [z4("close-icon", e.closeIconPosition), Xl],
              classPrefix: e.iconPrefix,
              onClick: v,
            },
            null,
          );
      };
    let y;
    const w = () => {
        y && clearTimeout(y),
          (y = setTimeout(() => {
            t("opened");
          }));
      },
      m = () => t("closed"),
      x = (F) => t("keydown", F),
      C = o(() => {
        var F;
        const {
          round: I,
          position: T,
          safeAreaInsetTop: D,
          safeAreaInsetBottom: U,
        } = e;
        return ts(
          Z(
            "div",
            $t(
              {
                ref: a,
                style: l.value,
                role: "dialog",
                tabindex: 0,
                class: [
                  z4({ round: I, [T]: T }),
                  { "van-safe-area-top": D, "van-safe-area-bottom": U },
                ],
                onKeydown: x,
              },
              r,
              K2(),
            ),
            [(F = n.default) == null ? void 0 : F.call(n), B()],
          ),
          [[ss, e.show]],
        );
      }),
      b = () => {
        const { position: F, transition: I, transitionAppear: T } = e,
          D = F === "center" ? "van-fade" : `van-popup-slide-${F}`;
        return Z(
          m0,
          { name: I || D, appear: T, onAfterEnter: w, onAfterLeave: m },
          { default: C },
        );
      };
    return (
      Ye(
        () => e.show,
        (F) => {
          F &&
            !A &&
            (u(),
            r.tabindex === 0 &&
              yt(() => {
                var I;
                (I = a.value) == null || I.focus();
              })),
            !F && A && ((A = !1), t("close"));
        },
      ),
      or({ popupRef: a }),
      qL(a, () => e.show && e.lockScroll),
      wn("popstate", () => {
        e.closeOnPopstate && (f(), (i = !1));
      }),
      Zt(() => {
        e.show && u();
      }),
      cs(() => {
        i && (t("update:show", !0), (i = !1));
      }),
      li(() => {
        e.show && e.teleport && (f(), (i = !0));
      }),
      nA(b9, () => e.show),
      () =>
        e.teleport
          ? Z(R8, { to: e.teleport }, { default: () => [g(), b()] })
          : Z(Ar, null, [g(), b()])
    );
  },
});
const Uo = ht(sk),
  [ak, Yn] = st("action-sheet"),
  ok = wt({}, mf, {
    title: String,
    round: Ze,
    actions: ii(),
    closeIcon: dt("cross"),
    closeable: Ze,
    cancelText: String,
    description: String,
    closeOnPopstate: Ze,
    closeOnClickAction: Boolean,
    safeAreaInsetBottom: Ze,
  }),
  lk = [...U9, "round", "closeOnPopstate", "safeAreaInsetBottom"];
var uk = et({
  name: ak,
  props: ok,
  emits: ["select", "cancel", "update:show"],
  setup(e, { slots: t, emit: r }) {
    const n = (u) => r("update:show", u),
      A = () => {
        n(!1), r("cancel");
      },
      i = () => {
        if (e.title)
          return Z("div", { class: Yn("header") }, [
            e.title,
            e.closeable &&
              Z(
                Dr,
                { name: e.closeIcon, class: [Yn("close"), Xl], onClick: A },
                null,
              ),
          ]);
      },
      s = () => {
        if (t.cancel || e.cancelText)
          return [
            Z("div", { class: Yn("gap") }, null),
            Z("button", { type: "button", class: Yn("cancel"), onClick: A }, [
              t.cancel ? t.cancel() : e.cancelText,
            ]),
          ];
      },
      a = (u, f) =>
        u.loading
          ? Z(fi, { class: Yn("loading-icon") }, null)
          : t.action
            ? t.action({ action: u, index: f })
            : [
                Z("span", { class: Yn("name") }, [u.name]),
                u.subname && Z("div", { class: Yn("subname") }, [u.subname]),
              ],
      o = (u, f) => {
        const {
            color: d,
            loading: g,
            callback: v,
            disabled: B,
            className: y,
          } = u,
          w = () => {
            B ||
              g ||
              (v && v(u),
              e.closeOnClickAction && n(!1),
              yt(() => r("select", u, f)));
          };
        return Z(
          "button",
          {
            type: "button",
            style: { color: d },
            class: [Yn("item", { loading: g, disabled: B }), y],
            onClick: w,
          },
          [a(u, f)],
        );
      },
      l = () => {
        if (e.description || t.description) {
          const u = t.description ? t.description() : e.description;
          return Z("div", { class: Yn("description") }, [u]);
        }
      };
    return () =>
      Z(
        Uo,
        $t({ class: Yn(), position: "bottom", "onUpdate:show": n }, er(e, lk)),
        {
          default: () => {
            var u;
            return [
              i(),
              l(),
              Z("div", { class: Yn("content") }, [
                e.actions.map(o),
                (u = t.default) == null ? void 0 : u.call(t),
              ]),
              s(),
            ];
          },
        },
      );
  },
});
const zte = ht(uk),
  [ck, WA, j4] = st("picker"),
  T9 = (e) => e.find((t) => !t.disabled) || e[0];
function fk(e, t) {
  const r = e[0];
  if (r) {
    if (Array.isArray(r)) return "multiple";
    if (t.children in r) return "cascade";
  }
  return "default";
}
function Ku(e, t) {
  t = rn(t, 0, e.length);
  for (let r = t; r < e.length; r++) if (!e[r].disabled) return r;
  for (let r = t - 1; r >= 0; r--) if (!e[r].disabled) return r;
  return 0;
}
const Y4 = (e, t, r) => t !== void 0 && !!e.find((n) => n[r.value] === t);
function V2(e, t, r) {
  const n = e.findIndex((i) => i[r.value] === t),
    A = Ku(e, n);
  return e[A];
}
function dk(e, t, r) {
  const n = [];
  let A = { [t.children]: e },
    i = 0;
  for (; A && A[t.children]; ) {
    const s = A[t.children],
      a = r.value[i];
    if (((A = qt(a) ? V2(s, a, t) : void 0), !A && s.length)) {
      const o = T9(s)[t.value];
      A = V2(s, o, t);
    }
    i++, n.push(s);
  }
  return n;
}
function hk(e) {
  const { transform: t } = window.getComputedStyle(e),
    r = t.slice(7, t.length - 1).split(", ")[5];
  return Number(r);
}
function pk(e) {
  return wt({ text: "text", value: "value", children: "children" }, e);
}
const X4 = 200,
  J4 = 300,
  gk = 15,
  [I9, ud] = st("picker-column"),
  D9 = Symbol(I9);
var vk = et({
  name: I9,
  props: {
    value: tt,
    fields: Nr(Object),
    options: ii(),
    readonly: Boolean,
    allowHtml: Boolean,
    optionHeight: Nr(Number),
    swipeDuration: Nr(tt),
    visibleOptionNum: Nr(tt),
  },
  emits: ["change", "clickOption", "scrollInto"],
  setup(e, { emit: t, slots: r }) {
    let n, A, i, s, a;
    const o = Ue(),
      l = Ue(),
      u = Ue(0),
      f = Ue(0),
      d = Qo(),
      g = () => e.options.length,
      v = () => (e.optionHeight * (+e.visibleOptionNum - 1)) / 2,
      B = (U) => {
        let Q = Ku(e.options, U);
        const L = -Q * e.optionHeight,
          $ = () => {
            Q > g() - 1 && (Q = Ku(e.options, U));
            const X = e.options[Q][e.fields.value];
            X !== e.value && t("change", X);
          };
        n && L !== u.value ? (a = $) : $(), (u.value = L);
      },
      y = () => e.readonly || !e.options.length,
      w = (U) => {
        n ||
          y() ||
          ((a = null), (f.value = X4), B(U), t("clickOption", e.options[U]));
      },
      m = (U) => rn(Math.round(-U / e.optionHeight), 0, g() - 1),
      x = Oe(() => m(u.value)),
      C = (U, Q) => {
        const L = Math.abs(U / Q);
        U = u.value + (L / 0.003) * (U < 0 ? -1 : 1);
        const $ = m(U);
        (f.value = +e.swipeDuration), B($);
      },
      b = () => {
        (n = !1), (f.value = 0), a && (a(), (a = null));
      },
      F = (U) => {
        if (!y()) {
          if ((d.start(U), n)) {
            const Q = hk(l.value);
            u.value = Math.min(0, Q - v());
          }
          (f.value = 0), (A = u.value), (i = Date.now()), (s = A), (a = null);
        }
      },
      I = (U) => {
        if (y()) return;
        d.move(U), d.isVertical() && ((n = !0), gn(U, !0));
        const Q = rn(
            A + d.deltaY.value,
            -(g() * e.optionHeight),
            e.optionHeight,
          ),
          L = m(Q);
        L !== x.value && t("scrollInto", e.options[L]), (u.value = Q);
        const $ = Date.now();
        $ - i > J4 && ((i = $), (s = Q));
      },
      T = () => {
        if (y()) return;
        const U = u.value - s,
          Q = Date.now() - i;
        if (Q < J4 && Math.abs(U) > gk) {
          C(U, Q);
          return;
        }
        const $ = m(u.value);
        (f.value = X4),
          B($),
          setTimeout(() => {
            n = !1;
          }, 0);
      },
      D = () => {
        const U = { height: `${e.optionHeight}px` };
        return e.options.map((Q, L) => {
          const $ = Q[e.fields.text],
            { disabled: X } = Q,
            V = Q[e.fields.value],
            G = {
              role: "button",
              style: U,
              tabindex: X ? -1 : 0,
              class: [
                ud("item", { disabled: X, selected: V === e.value }),
                Q.className,
              ],
              onClick: () => w(L),
            },
            le = {
              class: "van-ellipsis",
              [e.allowHtml ? "innerHTML" : "textContent"]: $,
            };
          return Z("li", G, [r.option ? r.option(Q, L) : Z("div", le, null)]);
        });
      };
    return (
      In(D9),
      or({ stopMomentum: b }),
      jc(() => {
        const U = n
            ? Math.floor(-u.value / e.optionHeight)
            : e.options.findIndex(($) => $[e.fields.value] === e.value),
          Q = Ku(e.options, U),
          L = -Q * e.optionHeight;
        n && Q < U && b(), (u.value = L);
      }),
      wn("touchmove", I, { target: o }),
      () =>
        Z(
          "div",
          {
            ref: o,
            class: ud(),
            onTouchstartPassive: F,
            onTouchend: T,
            onTouchcancel: T,
          },
          [
            Z(
              "ul",
              {
                ref: l,
                style: {
                  transform: `translate3d(0, ${u.value + v()}px, 0)`,
                  transitionDuration: `${f.value}ms`,
                  transitionProperty: f.value ? "all" : "none",
                },
                class: ud("wrapper"),
                onTransitionend: b,
              },
              [D()],
            ),
          ],
        )
    );
  },
});
const [mk] = st("picker-toolbar"),
  Bf = { title: String, cancelButtonText: String, confirmButtonText: String },
  Bk = ["cancel", "confirm", "title", "toolbar"],
  wk = Object.keys(Bf);
var yk = et({
  name: mk,
  props: Bf,
  emits: ["confirm", "cancel"],
  setup(e, { emit: t, slots: r }) {
    const n = () => {
        if (r.title) return r.title();
        if (e.title)
          return Z("div", { class: [WA("title"), "van-ellipsis"] }, [e.title]);
      },
      A = () => t("cancel"),
      i = () => t("confirm"),
      s = () => {
        const o = e.cancelButtonText || j4("cancel");
        return Z(
          "button",
          { type: "button", class: [WA("cancel"), Xl], onClick: A },
          [r.cancel ? r.cancel() : o],
        );
      },
      a = () => {
        const o = e.confirmButtonText || j4("confirm");
        return Z(
          "button",
          { type: "button", class: [WA("confirm"), Xl], onClick: i },
          [r.confirm ? r.confirm() : o],
        );
      };
    return () =>
      Z("div", { class: WA("toolbar") }, [
        r.toolbar ? r.toolbar() : [s(), n(), a()],
      ]);
  },
});
const Ck = (e, t) => {
    const r = Ue(e());
    return (
      Ye(e, (n) => {
        n !== r.value && (r.value = n);
      }),
      Ye(r, (n) => {
        n !== e() && t(n);
      }),
      r
    );
  },
  P9 = Array.isArray,
  Jl = (e) => typeof e == "string",
  O9 = (e) => e !== null && typeof e == "object",
  xk = (e) => {
    const t = Object.create(null);
    return (r) => t[r] || (t[r] = e(r));
  },
  Ek = /\B([A-Z])/g,
  bk = xk((e) => e.replace(Ek, "-$1").toLowerCase());
function L9(e) {
  if (P9(e)) {
    const t = {};
    for (let r = 0; r < e.length; r++) {
      const n = e[r],
        A = Jl(n) ? Qk(n) : L9(n);
      if (A) for (const i in A) t[i] = A[i];
    }
    return t;
  } else if (Jl(e) || O9(e)) return e;
}
const Fk = /;(?![^(]*\))/g,
  _k = /:([^]+)/,
  Sk = /\/\*[^]*?\*\//g;
function Qk(e) {
  const t = {};
  return (
    e
      .replace(Sk, "")
      .split(Fk)
      .forEach((r) => {
        if (r) {
          const n = r.split(_k);
          n.length > 1 && (t[n[0].trim()] = n[1].trim());
        }
      }),
    t
  );
}
function Uk(e) {
  let t = "";
  if (!e || Jl(e)) return t;
  for (const r in e) {
    const n = e[r],
      A = r.startsWith("--") ? r : bk(r);
    (Jl(n) || typeof n == "number") && (t += `${A}:${n};`);
  }
  return t;
}
function k9(e) {
  let t = "";
  if (Jl(e)) t = e;
  else if (P9(e))
    for (let r = 0; r < e.length; r++) {
      const n = k9(e[r]);
      n && (t += n + " ");
    }
  else if (O9(e)) for (const r in e) e[r] && (t += r + " ");
  return t.trim();
}
function Tk(e, t, r) {
  let n,
    A = 0;
  const i = e.scrollLeft,
    s = r === 0 ? 1 : Math.round((r * 1e3) / 16);
  function a() {
    B0(n);
  }
  function o() {
    (e.scrollLeft += (t - i) / s), ++A < s && (n = nn(o));
  }
  return o(), a;
}
function Ik(e, t, r, n) {
  let A,
    i = y0(e);
  const s = i < t,
    a = r === 0 ? 1 : Math.round((r * 1e3) / 16),
    o = (t - i) / a;
  function l() {
    B0(A);
  }
  function u() {
    (i += o),
      ((s && i > t) || (!s && i < t)) && (i = t),
      uc(e, i),
      (s && i < t) || (!s && i > t) ? (A = nn(u)) : n && (A = nn(n));
  }
  return u(), l;
}
let Dk = 0;
function wp() {
  const e = Wt(),
    { name: t = "unknown" } = (e == null ? void 0 : e.type) || {};
  return `${t}-${++Dk}`;
}
function H9() {
  const e = Ue([]),
    t = [];
  return (
    Jc(() => {
      e.value = [];
    }),
    [
      e,
      (n) => (
        t[n] ||
          (t[n] = (A) => {
            e.value[n] = A;
          }),
        t[n]
      ),
    ]
  );
}
function M9(e, t) {
  if (!Ai || !window.IntersectionObserver) return;
  const r = new IntersectionObserver(
      (i) => {
        t(i[0].intersectionRatio > 0);
      },
      { root: document.body },
    ),
    n = () => {
      e.value && r.observe(e.value);
    },
    A = () => {
      e.value && r.unobserve(e.value);
    };
  li(A), Tn(A), Eo(n);
}
const [Pk, Ok] = st("sticky"),
  Lk = {
    zIndex: tt,
    position: dt("top"),
    container: Object,
    offsetTop: xt(0),
    offsetBottom: xt(0),
  };
var kk = et({
  name: Pk,
  props: Lk,
  emits: ["scroll", "change"],
  setup(e, { emit: t, slots: r }) {
    const n = Ue(),
      A = w0(n),
      i = Rt({ fixed: !1, width: 0, height: 0, transform: 0 }),
      s = Ue(!1),
      a = Oe(() => vp(e.position === "top" ? e.offsetTop : e.offsetBottom)),
      o = Oe(() => {
        if (s.value) return;
        const { fixed: d, height: g, width: v } = i;
        if (d) return { width: `${v}px`, height: `${g}px` };
      }),
      l = Oe(() => {
        if (!i.fixed || s.value) return;
        const d = wt(w9(e.zIndex), {
          width: `${i.width}px`,
          height: `${i.height}px`,
          [e.position]: `${a.value}px`,
        });
        return (
          i.transform && (d.transform = `translate3d(0, ${i.transform}px, 0)`),
          d
        );
      }),
      u = (d) => t("scroll", { scrollTop: d, isFixed: i.fixed }),
      f = () => {
        if (!n.value || ro(n)) return;
        const { container: d, position: g } = e,
          v = Ir(n),
          B = y0(window);
        if (((i.width = v.width), (i.height = v.height), g === "top"))
          if (d) {
            const y = Ir(d),
              w = y.bottom - a.value - i.height;
            (i.fixed = a.value > v.top && y.bottom > 0),
              (i.transform = w < 0 ? w : 0);
          } else i.fixed = a.value > v.top;
        else {
          const { clientHeight: y } = document.documentElement;
          if (d) {
            const w = Ir(d),
              m = y - w.top - a.value - i.height;
            (i.fixed = y - a.value < v.bottom && y > w.top),
              (i.transform = m < 0 ? -m : 0);
          } else i.fixed = y - a.value < v.bottom;
        }
        u(B);
      };
    return (
      Ye(
        () => i.fixed,
        (d) => t("change", d),
      ),
      wn("scroll", f, { target: A, passive: !0 }),
      M9(n, f),
      Ye([Fo, C0], () => {
        !n.value ||
          ro(n) ||
          !i.fixed ||
          ((s.value = !0),
          yt(() => {
            const d = Ir(n);
            (i.width = d.width), (i.height = d.height), (s.value = !1);
          }));
      }),
      () => {
        var d;
        return Z("div", { ref: n, style: o.value }, [
          Z(
            "div",
            { class: Ok({ fixed: i.fixed && !s.value }), style: l.value },
            [(d = r.default) == null ? void 0 : d.call(r)],
          ),
        ]);
      }
    );
  },
});
const Hk = ht(kk),
  [R9, ru] = st("swipe"),
  Mk = {
    loop: Ze,
    width: tt,
    height: tt,
    vertical: Boolean,
    autoplay: xt(0),
    duration: xt(500),
    touchable: Ze,
    lazyRender: Boolean,
    initialSwipe: xt(0),
    indicatorColor: String,
    showIndicators: Ze,
    stopPropagation: Ze,
  },
  N9 = Symbol(R9);
var Rk = et({
  name: R9,
  props: Mk,
  emits: ["change", "dragStart", "dragEnd"],
  setup(e, { emit: t, slots: r }) {
    const n = Ue(),
      A = Ue(),
      i = Rt({
        rect: null,
        width: 0,
        height: 0,
        offset: 0,
        active: 0,
        swiping: !1,
      });
    let s = !1;
    const a = Qo(),
      { children: o, linkChildren: l } = bA(N9),
      u = Oe(() => o.length),
      f = Oe(() => i[e.vertical ? "height" : "width"]),
      d = Oe(() => (e.vertical ? a.deltaY.value : a.deltaX.value)),
      g = Oe(() =>
        i.rect
          ? (e.vertical ? i.rect.height : i.rect.width) - f.value * u.value
          : 0,
      ),
      v = Oe(() =>
        f.value ? Math.ceil(Math.abs(g.value) / f.value) : u.value,
      ),
      B = Oe(() => u.value * f.value),
      y = Oe(() => (i.active + u.value) % u.value),
      w = Oe(() => {
        const ee = e.vertical ? "vertical" : "horizontal";
        return a.direction.value === ee;
      }),
      m = Oe(() => {
        const ee = {
          transitionDuration: `${i.swiping ? 0 : e.duration}ms`,
          transform: `translate${e.vertical ? "Y" : "X"}(${+i.offset.toFixed(2)}px)`,
        };
        if (f.value) {
          const ce = e.vertical ? "height" : "width",
            ve = e.vertical ? "width" : "height";
          (ee[ce] = `${B.value}px`), (ee[ve] = e[ve] ? `${e[ve]}px` : "");
        }
        return ee;
      }),
      x = (ee) => {
        const { active: ce } = i;
        return ee
          ? e.loop
            ? rn(ce + ee, -1, u.value)
            : rn(ce + ee, 0, v.value)
          : ce;
      },
      C = (ee, ce = 0) => {
        let ve = ee * f.value;
        e.loop || (ve = Math.min(ve, -g.value));
        let xe = ce - ve;
        return e.loop || (xe = rn(xe, g.value, 0)), xe;
      },
      b = ({ pace: ee = 0, offset: ce = 0, emitChange: ve }) => {
        if (u.value <= 1) return;
        const { active: xe } = i,
          se = x(ee),
          Fe = C(se, ce);
        if (e.loop) {
          if (o[0] && Fe !== g.value) {
            const ie = Fe < g.value;
            o[0].setOffset(ie ? B.value : 0);
          }
          if (o[u.value - 1] && Fe !== 0) {
            const ie = Fe > 0;
            o[u.value - 1].setOffset(ie ? -B.value : 0);
          }
        }
        (i.active = se),
          (i.offset = Fe),
          ve && se !== xe && t("change", y.value);
      },
      F = () => {
        (i.swiping = !0),
          i.active <= -1
            ? b({ pace: u.value })
            : i.active >= u.value && b({ pace: -u.value });
      },
      I = () => {
        F(),
          a.reset(),
          Hs(() => {
            (i.swiping = !1), b({ pace: -1, emitChange: !0 });
          });
      },
      T = () => {
        F(),
          a.reset(),
          Hs(() => {
            (i.swiping = !1), b({ pace: 1, emitChange: !0 });
          });
      };
    let D;
    const U = () => clearTimeout(D),
      Q = () => {
        U(),
          +e.autoplay > 0 &&
            u.value > 1 &&
            (D = setTimeout(() => {
              T(), Q();
            }, +e.autoplay));
      },
      L = (ee = +e.initialSwipe) => {
        if (!n.value) return;
        const ce = () => {
          var ve, xe;
          if (!ro(n)) {
            const se = {
              width: n.value.offsetWidth,
              height: n.value.offsetHeight,
            };
            (i.rect = se),
              (i.width = +((ve = e.width) != null ? ve : se.width)),
              (i.height = +((xe = e.height) != null ? xe : se.height));
          }
          u.value &&
            ((ee = Math.min(u.value - 1, ee)), ee === -1 && (ee = u.value - 1)),
            (i.active = ee),
            (i.swiping = !0),
            (i.offset = C(ee)),
            o.forEach((se) => {
              se.setOffset(0);
            }),
            Q();
        };
        ro(n) ? yt().then(ce) : ce();
      },
      $ = () => L(i.active);
    let X;
    const V = (ee) => {
        !e.touchable ||
          ee.touches.length > 1 ||
          (a.start(ee), (s = !1), (X = Date.now()), U(), F());
      },
      G = (ee) => {
        e.touchable &&
          i.swiping &&
          (a.move(ee),
          w.value &&
            ((!e.loop &&
              ((i.active === 0 && d.value > 0) ||
                (i.active === u.value - 1 && d.value < 0))) ||
              (gn(ee, e.stopPropagation),
              b({ offset: d.value }),
              s || (t("dragStart", { index: y.value }), (s = !0)))));
      },
      le = () => {
        if (!e.touchable || !i.swiping) return;
        const ee = Date.now() - X,
          ce = d.value / ee;
        if (
          (Math.abs(ce) > 0.25 || Math.abs(d.value) > f.value / 2) &&
          w.value
        ) {
          const xe = e.vertical ? a.offsetY.value : a.offsetX.value;
          let se = 0;
          e.loop
            ? (se = xe > 0 ? (d.value > 0 ? -1 : 1) : 0)
            : (se = -Math[d.value > 0 ? "ceil" : "floor"](d.value / f.value)),
            b({ pace: se, emitChange: !0 });
        } else d.value && b({ pace: 0 });
        (s = !1), (i.swiping = !1), t("dragEnd", { index: y.value }), Q();
      },
      q = (ee, ce = {}) => {
        F(),
          a.reset(),
          Hs(() => {
            let ve;
            e.loop && ee === u.value
              ? (ve = i.active === 0 ? 0 : ee)
              : (ve = ee % u.value),
              ce.immediate
                ? Hs(() => {
                    i.swiping = !1;
                  })
                : (i.swiping = !1),
              b({ pace: ve - i.active, emitChange: !0 });
          });
      },
      ue = (ee, ce) => {
        const ve = ce === y.value,
          xe = ve ? { backgroundColor: e.indicatorColor } : void 0;
        return Z(
          "i",
          { style: xe, class: ru("indicator", { active: ve }) },
          null,
        );
      },
      Ce = () => {
        if (r.indicator)
          return r.indicator({ active: y.value, total: u.value });
        if (e.showIndicators && u.value > 1)
          return Z(
            "div",
            { class: ru("indicators", { vertical: e.vertical }) },
            [Array(u.value).fill("").map(ue)],
          );
      };
    return (
      or({ prev: I, next: T, state: i, resize: $, swipeTo: q }),
      l({ size: f, props: e, count: u, activeIndicator: y }),
      Ye(
        () => e.initialSwipe,
        (ee) => L(+ee),
      ),
      Ye(u, () => L(i.active)),
      Ye(() => e.autoplay, Q),
      Ye([Fo, C0, () => e.width, () => e.height], $),
      Ye(M3(), (ee) => {
        ee === "visible" ? Q() : U();
      }),
      Zt(L),
      cs(() => L(i.active)),
      mp(() => L(i.active)),
      li(U),
      Tn(U),
      wn("touchmove", G, { target: A }),
      () => {
        var ee;
        return Z("div", { ref: n, class: ru() }, [
          Z(
            "div",
            {
              ref: A,
              style: m.value,
              class: ru("track", { vertical: e.vertical }),
              onTouchstartPassive: V,
              onTouchend: le,
              onTouchcancel: le,
            },
            [(ee = r.default) == null ? void 0 : ee.call(r)],
          ),
          Ce(),
        ]);
      }
    );
  },
});
const $9 = ht(Rk),
  [Nk, q4] = st("tabs");
var $k = et({
  name: Nk,
  props: {
    count: Nr(Number),
    inited: Boolean,
    animated: Boolean,
    duration: Nr(tt),
    swipeable: Boolean,
    lazyRender: Boolean,
    currentIndex: Nr(Number),
  },
  emits: ["change"],
  setup(e, { emit: t, slots: r }) {
    const n = Ue(),
      A = (a) => t("change", a),
      i = () => {
        var a;
        const o = (a = r.default) == null ? void 0 : a.call(r);
        return e.animated || e.swipeable
          ? Z(
              $9,
              {
                ref: n,
                loop: !1,
                class: q4("track"),
                duration: +e.duration * 1e3,
                touchable: e.swipeable,
                lazyRender: e.lazyRender,
                showIndicators: !1,
                onChange: A,
              },
              { default: () => [o] },
            )
          : o;
      },
      s = (a) => {
        const o = n.value;
        o && o.state.active !== a && o.swipeTo(a, { immediate: !e.inited });
      };
    return (
      Ye(() => e.currentIndex, s),
      Zt(() => {
        s(e.currentIndex);
      }),
      or({ swipeRef: n }),
      () =>
        Z(
          "div",
          { class: q4("content", { animated: e.animated || e.swipeable }) },
          [i()],
        )
    );
  },
});
const [K9, nu] = st("tabs"),
  Kk = {
    type: dt("line"),
    color: String,
    border: Boolean,
    sticky: Boolean,
    shrink: Boolean,
    active: xt(0),
    duration: xt(0.3),
    animated: Boolean,
    ellipsis: Ze,
    swipeable: Boolean,
    scrollspy: Boolean,
    offsetTop: xt(0),
    background: String,
    lazyRender: Ze,
    showHeader: Ze,
    lineWidth: tt,
    lineHeight: tt,
    beforeChange: Function,
    swipeThreshold: xt(5),
    titleActiveColor: String,
    titleInactiveColor: String,
  },
  V9 = Symbol(K9);
var Vk = et({
  name: K9,
  props: Kk,
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
  setup(e, { emit: t, slots: r }) {
    let n, A, i, s, a;
    const o = Ue(),
      l = Ue(),
      u = Ue(),
      f = Ue(),
      d = wp(),
      g = w0(o),
      [v, B] = H9(),
      { children: y, linkChildren: w } = bA(V9),
      m = Rt({ inited: !1, position: "", lineStyle: {}, currentIndex: -1 }),
      x = Oe(() => y.length > +e.swipeThreshold || !e.ellipsis || e.shrink),
      C = Oe(() => ({ borderColor: e.color, background: e.background })),
      b = (se, Fe) => {
        var ie;
        return (ie = se.name) != null ? ie : Fe;
      },
      F = Oe(() => {
        const se = y[m.currentIndex];
        if (se) return b(se, m.currentIndex);
      }),
      I = Oe(() => vp(e.offsetTop)),
      T = Oe(() => (e.sticky ? I.value + n : 0)),
      D = (se) => {
        const Fe = l.value,
          ie = v.value;
        if (!x.value || !Fe || !ie || !ie[m.currentIndex]) return;
        const _e = ie[m.currentIndex].$el,
          De = _e.offsetLeft - (Fe.offsetWidth - _e.offsetWidth) / 2;
        s && s(), (s = Tk(Fe, De, se ? 0 : +e.duration));
      },
      U = () => {
        const se = m.inited;
        yt(() => {
          const Fe = v.value;
          if (!Fe || !Fe[m.currentIndex] || e.type !== "line" || ro(o.value))
            return;
          const ie = Fe[m.currentIndex].$el,
            { lineWidth: _e, lineHeight: De } = e,
            $e = ie.offsetLeft + ie.offsetWidth / 2,
            Te = {
              width: It(_e),
              backgroundColor: e.color,
              transform: `translateX(${$e}px) translateX(-50%)`,
            };
          if ((se && (Te.transitionDuration = `${e.duration}s`), qt(De))) {
            const j = It(De);
            (Te.height = j), (Te.borderRadius = j);
          }
          m.lineStyle = Te;
        });
      },
      Q = (se) => {
        const Fe = se < m.currentIndex ? -1 : 1;
        for (; se >= 0 && se < y.length; ) {
          if (!y[se].disabled) return se;
          se += Fe;
        }
      },
      L = (se, Fe) => {
        const ie = Q(se);
        if (!qt(ie)) return;
        const _e = y[ie],
          De = b(_e, ie),
          $e = m.currentIndex !== null;
        m.currentIndex !== ie && ((m.currentIndex = ie), Fe || D(), U()),
          De !== e.active &&
            (t("update:active", De), $e && t("change", De, _e.title)),
          i && !e.scrollspy && gp(Math.ceil(H4(o.value) - I.value));
      },
      $ = (se, Fe) => {
        const ie = y.find((De, $e) => b(De, $e) === se),
          _e = ie ? y.indexOf(ie) : 0;
        L(_e, Fe);
      },
      X = (se = !1) => {
        if (e.scrollspy) {
          const Fe = y[m.currentIndex].$el;
          if (Fe && g.value) {
            const ie = H4(Fe, g.value) - T.value;
            (A = !0),
              a && a(),
              (a = Ik(g.value, ie, se ? 0 : +e.duration, () => {
                A = !1;
              }));
          }
        }
      },
      V = (se, Fe, ie) => {
        const { title: _e, disabled: De } = y[Fe],
          $e = b(y[Fe], Fe);
        De ||
          (x0(e.beforeChange, {
            args: [$e],
            done: () => {
              L(Fe), X();
            },
          }),
          Q9(se)),
          t("clickTab", { name: $e, title: _e, event: ie, disabled: De });
      },
      G = (se) => {
        (i = se.isFixed), t("scroll", se);
      },
      le = (se) => {
        yt(() => {
          $(se), X(!0);
        });
      },
      q = () => {
        for (let se = 0; se < y.length; se++) {
          const { top: Fe } = Ir(y[se].$el);
          if (Fe > T.value) return se === 0 ? 0 : se - 1;
        }
        return y.length - 1;
      },
      ue = () => {
        if (e.scrollspy && !A) {
          const se = q();
          L(se);
        }
      },
      Ce = () => {
        if (e.type === "line" && y.length)
          return Z("div", { class: nu("line"), style: m.lineStyle }, null);
      },
      ee = () => {
        var se, Fe, ie;
        const { type: _e, border: De, sticky: $e } = e,
          Te = [
            Z(
              "div",
              {
                ref: $e ? void 0 : u,
                class: [nu("wrap"), { [E9]: _e === "line" && De }],
              },
              [
                Z(
                  "div",
                  {
                    ref: l,
                    role: "tablist",
                    class: nu("nav", [
                      _e,
                      { shrink: e.shrink, complete: x.value },
                    ]),
                    style: C.value,
                    "aria-orientation": "horizontal",
                  },
                  [
                    (se = r["nav-left"]) == null ? void 0 : se.call(r),
                    y.map((j) => j.renderTitle(V)),
                    Ce(),
                    (Fe = r["nav-right"]) == null ? void 0 : Fe.call(r),
                  ],
                ),
              ],
            ),
            (ie = r["nav-bottom"]) == null ? void 0 : ie.call(r),
          ];
        return $e ? Z("div", { ref: u }, [Te]) : Te;
      },
      ce = () => {
        U(),
          yt(() => {
            var se, Fe;
            D(!0),
              (Fe = (se = f.value) == null ? void 0 : se.swipeRef.value) ==
                null || Fe.resize();
          });
      };
    Ye(() => [e.color, e.duration, e.lineWidth, e.lineHeight], U),
      Ye(Fo, ce),
      Ye(
        () => e.active,
        (se) => {
          se !== F.value && $(se);
        },
      ),
      Ye(
        () => y.length,
        () => {
          m.inited &&
            ($(e.active),
            U(),
            yt(() => {
              D(!0);
            }));
        },
      );
    const ve = () => {
        $(e.active, !0),
          yt(() => {
            (m.inited = !0), u.value && (n = Ir(u.value).height), D(!0);
          });
      },
      xe = (se, Fe) => t("rendered", se, Fe);
    return (
      or({ resize: ce, scrollTo: le }),
      cs(U),
      mp(U),
      Eo(ve),
      M9(o, U),
      wn("scroll", ue, { target: g, passive: !0 }),
      w({
        id: d,
        props: e,
        setLine: U,
        scrollable: x,
        onRendered: xe,
        currentName: F,
        setTitleRefs: B,
        scrollIntoView: D,
      }),
      () =>
        Z("div", { ref: o, class: nu([e.type]) }, [
          e.showHeader
            ? e.sticky
              ? Z(
                  Hk,
                  { container: o.value, offsetTop: I.value, onScroll: G },
                  { default: () => [ee()] },
                )
              : ee()
            : null,
          Z(
            $k,
            {
              ref: f,
              count: y.length,
              inited: m.inited,
              animated: e.animated,
              duration: e.duration,
              swipeable: e.swipeable,
              lazyRender: e.lazyRender,
              currentIndex: m.currentIndex,
              onChange: L,
            },
            {
              default: () => {
                var se;
                return [(se = r.default) == null ? void 0 : se.call(r)];
              },
            },
          ),
        ])
    );
  },
});
const G9 = Symbol(),
  Gk = () => dr(G9, null),
  [Wk, Z4] = st("tab"),
  zk = et({
    name: Wk,
    props: {
      id: String,
      dot: Boolean,
      type: String,
      color: String,
      title: String,
      badge: tt,
      shrink: Boolean,
      isActive: Boolean,
      disabled: Boolean,
      controls: String,
      scrollable: Boolean,
      activeColor: String,
      inactiveColor: String,
      showZeroBadge: Ze,
    },
    setup(e, { slots: t }) {
      const r = Oe(() => {
          const A = {},
            {
              type: i,
              color: s,
              disabled: a,
              isActive: o,
              activeColor: l,
              inactiveColor: u,
            } = e;
          s &&
            i === "card" &&
            ((A.borderColor = s),
            a || (o ? (A.backgroundColor = s) : (A.color = s)));
          const d = o ? l : u;
          return d && (A.color = d), A;
        }),
        n = () => {
          const A = Z(
            "span",
            { class: Z4("text", { ellipsis: !e.scrollable }) },
            [t.title ? t.title() : e.title],
          );
          return e.dot || (qt(e.badge) && e.badge !== "")
            ? Z(
                vf,
                { dot: e.dot, content: e.badge, showZero: e.showZeroBadge },
                { default: () => [A] },
              )
            : A;
        };
      return () =>
        Z(
          "div",
          {
            id: e.id,
            role: "tab",
            class: [
              Z4([
                e.type,
                {
                  grow: e.scrollable && !e.shrink,
                  shrink: e.shrink,
                  active: e.isActive,
                  disabled: e.disabled,
                },
              ]),
            ],
            style: r.value,
            tabindex: e.disabled ? void 0 : e.isActive ? 0 : -1,
            "aria-selected": e.isActive,
            "aria-disabled": e.disabled || void 0,
            "aria-controls": e.controls,
          },
          [n()],
        );
    },
  }),
  [jk, Yk] = st("swipe-item");
var Xk = et({
  name: jk,
  setup(e, { slots: t }) {
    let r;
    const n = Rt({ offset: 0, inited: !1, mounted: !1 }),
      { parent: A, index: i } = In(N9);
    if (!A) return;
    const s = Oe(() => {
        const l = {},
          { vertical: u } = A.props;
        return (
          A.size.value && (l[u ? "height" : "width"] = `${A.size.value}px`),
          n.offset &&
            (l.transform = `translate${u ? "Y" : "X"}(${n.offset}px)`),
          l
        );
      }),
      a = Oe(() => {
        const { loop: l, lazyRender: u } = A.props;
        if (!u || r) return !0;
        if (!n.mounted) return !1;
        const f = A.activeIndicator.value,
          d = A.count.value - 1,
          g = f === 0 && l ? d : f - 1,
          v = f === d && l ? 0 : f + 1;
        return (r = i.value === f || i.value === g || i.value === v), r;
      }),
      o = (l) => {
        n.offset = l;
      };
    return (
      Zt(() => {
        yt(() => {
          n.mounted = !0;
        });
      }),
      or({ setOffset: o }),
      () => {
        var l;
        return Z("div", { class: Yk(), style: s.value }, [
          a.value ? ((l = t.default) == null ? void 0 : l.call(t)) : null,
        ]);
      }
    );
  },
});
const W9 = ht(Xk),
  [Jk, cd] = st("tab"),
  qk = wt({}, So, {
    dot: Boolean,
    name: tt,
    badge: tt,
    title: String,
    disabled: Boolean,
    titleClass: Er,
    titleStyle: [String, Object],
    showZeroBadge: Ze,
  });
var Zk = et({
  name: Jk,
  props: qk,
  setup(e, { slots: t }) {
    const r = wp(),
      n = Ue(!1),
      A = Wt(),
      { parent: i, index: s } = In(V9);
    if (!i) return;
    const a = () => {
        var v;
        return (v = e.name) != null ? v : s.value;
      },
      o = () => {
        (n.value = !0),
          i.props.lazyRender &&
            yt(() => {
              i.onRendered(a(), e.title);
            });
      },
      l = Oe(() => {
        const v = a() === i.currentName.value;
        return v && !n.value && o(), v;
      }),
      u = Ue(""),
      f = Ue("");
    jc(() => {
      const { titleClass: v, titleStyle: B } = e;
      (u.value = v ? k9(v) : ""),
        (f.value = B && typeof B != "string" ? Uk(L9(B)) : B);
    });
    const d = (v) =>
        Z(
          zk,
          $t(
            {
              key: r,
              id: `${i.id}-${s.value}`,
              ref: i.setTitleRefs(s.value),
              style: f.value,
              class: u.value,
              isActive: l.value,
              controls: r,
              scrollable: i.scrollable.value,
              activeColor: i.props.titleActiveColor,
              inactiveColor: i.props.titleInactiveColor,
              onClick: (B) => v(A.proxy, s.value, B),
            },
            er(i.props, ["type", "color", "shrink"]),
            er(e, ["dot", "badge", "title", "disabled", "showZeroBadge"]),
          ),
          { title: t.title },
        ),
      g = Ue(!l.value);
    return (
      Ye(l, (v) => {
        v
          ? (g.value = !1)
          : Hs(() => {
              g.value = !0;
            });
      }),
      Ye(
        () => e.title,
        () => {
          i.setLine(), i.scrollIntoView();
        },
      ),
      nA(G9, l),
      or({ id: r, renderTitle: d }),
      () => {
        var v;
        const B = `${i.id}-${s.value}`,
          { animated: y, swipeable: w, scrollspy: m, lazyRender: x } = i.props;
        if (!t.default && !y) return;
        const C = m || l.value;
        if (y || w)
          return Z(
            W9,
            {
              id: r,
              role: "tabpanel",
              class: cd("panel-wrapper", { inactive: g.value }),
              tabindex: l.value ? 0 : -1,
              "aria-hidden": !l.value,
              "aria-labelledby": B,
            },
            {
              default: () => {
                var I;
                return [
                  Z("div", { class: cd("panel") }, [
                    (I = t.default) == null ? void 0 : I.call(t),
                  ]),
                ];
              },
            },
          );
        const F =
          n.value || m || !x
            ? (v = t.default) == null
              ? void 0
              : v.call(t)
            : null;
        return ts(
          Z(
            "div",
            {
              id: r,
              role: "tabpanel",
              class: cd("panel"),
              tabindex: C ? 0 : -1,
              "aria-labelledby": B,
            },
            [F],
          ),
          [[ss, C]],
        );
      }
    );
  },
});
const jte = ht(Zk),
  Yte = ht(Vk),
  [eH, Xte] = st("picker-group"),
  tH = Symbol(eH);
wt({ tabs: ii(), activeTab: xt(0), nextStepText: String }, Bf);
const yp = wt(
    {
      loading: Boolean,
      readonly: Boolean,
      allowHtml: Boolean,
      optionHeight: xt(44),
      showToolbar: Ze,
      swipeDuration: xt(1e3),
      visibleOptionNum: xt(6),
    },
    Bf,
  ),
  rH = wt({}, yp, {
    columns: ii(),
    modelValue: ii(),
    toolbarPosition: dt("top"),
    columnsFieldNames: Object,
  });
var nH = et({
  name: ck,
  props: rH,
  emits: [
    "confirm",
    "cancel",
    "change",
    "scrollInto",
    "clickOption",
    "update:modelValue",
  ],
  setup(e, { emit: t, slots: r }) {
    const n = Ue(),
      A = Ue(e.modelValue.slice(0)),
      { parent: i } = In(tH),
      { children: s, linkChildren: a } = bA(D9);
    a();
    const o = Oe(() => pk(e.columnsFieldNames)),
      l = Oe(() => vp(e.optionHeight)),
      u = Oe(() => fk(e.columns, o.value)),
      f = Oe(() => {
        const { columns: Q } = e;
        switch (u.value) {
          case "multiple":
            return Q;
          case "cascade":
            return dk(Q, o.value, A);
          default:
            return [Q];
        }
      }),
      d = Oe(() => f.value.some((Q) => Q.length)),
      g = Oe(() => f.value.map((Q, L) => V2(Q, A.value[L], o.value))),
      v = Oe(() =>
        f.value.map((Q, L) =>
          Q.findIndex(($) => $[o.value.value] === A.value[L]),
        ),
      ),
      B = (Q, L) => {
        if (A.value[Q] !== L) {
          const $ = A.value.slice(0);
          ($[Q] = L), (A.value = $);
        }
      },
      y = () => ({
        selectedValues: A.value.slice(0),
        selectedOptions: g.value,
        selectedIndexes: v.value,
      }),
      w = (Q, L) => {
        B(L, Q),
          u.value === "cascade" &&
            A.value.forEach(($, X) => {
              const V = f.value[X];
              Y4(V, $, o.value) ||
                B(X, V.length ? V[0][o.value.value] : void 0);
            }),
          yt(() => {
            t("change", wt({ columnIndex: L }, y()));
          });
      },
      m = (Q, L) => {
        const $ = { columnIndex: L, currentOption: Q };
        t("clickOption", wt(y(), $)), t("scrollInto", $);
      },
      x = () => {
        s.forEach((L) => L.stopMomentum());
        const Q = y();
        return (
          yt(() => {
            t("confirm", Q);
          }),
          Q
        );
      },
      C = () => t("cancel", y()),
      b = () =>
        f.value.map((Q, L) =>
          Z(
            vk,
            {
              value: A.value[L],
              fields: o.value,
              options: Q,
              readonly: e.readonly,
              allowHtml: e.allowHtml,
              optionHeight: l.value,
              swipeDuration: e.swipeDuration,
              visibleOptionNum: e.visibleOptionNum,
              onChange: ($) => w($, L),
              onClickOption: ($) => m($, L),
              onScrollInto: ($) => {
                t("scrollInto", { currentOption: $, columnIndex: L });
              },
            },
            { option: r.option },
          ),
        ),
      F = (Q) => {
        if (d.value) {
          const L = { height: `${l.value}px` },
            $ = { backgroundSize: `100% ${(Q - l.value) / 2}px` };
          return [
            Z("div", { class: WA("mask"), style: $ }, null),
            Z("div", { class: [yL, WA("frame")], style: L }, null),
          ];
        }
      },
      I = () => {
        const Q = l.value * +e.visibleOptionNum,
          L = { height: `${Q}px` };
        return Z("div", { ref: n, class: WA("columns"), style: L }, [
          b(),
          F(Q),
        ]);
      },
      T = () => {
        if (e.showToolbar && !i)
          return Z(yk, $t(er(e, wk), { onConfirm: x, onCancel: C }), er(r, Bk));
      };
    Ye(
      f,
      (Q) => {
        Q.forEach((L, $) => {
          L.length && !Y4(L, A.value[$], o.value) && B($, T9(L)[o.value.value]);
        });
      },
      { immediate: !0 },
    );
    let D;
    return (
      Ye(
        () => e.modelValue,
        (Q) => {
          !Ji(Q, A.value) &&
            !Ji(Q, D) &&
            ((A.value = Q.slice(0)), (D = Q.slice(0)));
        },
        { deep: !0 },
      ),
      Ye(
        A,
        (Q) => {
          Ji(Q, e.modelValue) || ((D = Q.slice(0)), t("update:modelValue", D));
        },
        { immediate: !0 },
      ),
      wn("touchmove", gn, { target: n }),
      or({ confirm: x, getSelectedOptions: () => g.value }),
      () => {
        var Q, L;
        return Z("div", { class: WA() }, [
          e.toolbarPosition === "top" ? T() : null,
          e.loading ? Z(fi, { class: WA("loading") }, null) : null,
          (Q = r["columns-top"]) == null ? void 0 : Q.call(r),
          I(),
          (L = r["columns-bottom"]) == null ? void 0 : L.call(r),
          e.toolbarPosition === "bottom" ? T() : null,
        ]);
      }
    );
  },
});
const AH = ht(nH),
  [iH, Ca] = st("cell"),
  wf = {
    tag: dt("div"),
    icon: String,
    size: String,
    title: tt,
    value: tt,
    label: tt,
    center: Boolean,
    isLink: Boolean,
    border: Ze,
    iconPrefix: String,
    valueClass: Er,
    labelClass: Er,
    titleClass: Er,
    titleStyle: null,
    arrowDirection: String,
    required: { type: [Boolean, String], default: null },
    clickable: { type: Boolean, default: null },
  },
  sH = wt({}, wf, So);
var aH = et({
  name: iH,
  props: sH,
  setup(e, { slots: t }) {
    const r = E0(),
      n = () => {
        if (t.label || qt(e.label))
          return Z("div", { class: [Ca("label"), e.labelClass] }, [
            t.label ? t.label() : e.label,
          ]);
      },
      A = () => {
        var o;
        if (t.title || qt(e.title)) {
          const l = (o = t.title) == null ? void 0 : o.call(t);
          return Array.isArray(l) && l.length === 0
            ? void 0
            : Z(
                "div",
                { class: [Ca("title"), e.titleClass], style: e.titleStyle },
                [l || Z("span", null, [e.title]), n()],
              );
        }
      },
      i = () => {
        const o = t.value || t.default;
        if (o || qt(e.value))
          return Z("div", { class: [Ca("value"), e.valueClass] }, [
            o ? o() : Z("span", null, [e.value]),
          ]);
      },
      s = () => {
        if (t.icon) return t.icon();
        if (e.icon)
          return Z(
            Dr,
            { name: e.icon, class: Ca("left-icon"), classPrefix: e.iconPrefix },
            null,
          );
      },
      a = () => {
        if (t["right-icon"]) return t["right-icon"]();
        if (e.isLink) {
          const o =
            e.arrowDirection && e.arrowDirection !== "right"
              ? `arrow-${e.arrowDirection}`
              : "arrow";
          return Z(Dr, { name: o, class: Ca("right-icon") }, null);
        }
      };
    return () => {
      var o;
      const {
          tag: l,
          size: u,
          center: f,
          border: d,
          isLink: g,
          required: v,
        } = e,
        B = (o = e.clickable) != null ? o : g,
        y = { center: f, required: !!v, clickable: B, borderless: !d };
      return (
        u && (y[u] = !!u),
        Z(
          l,
          {
            class: Ca(y),
            role: B ? "button" : void 0,
            tabindex: B ? 0 : void 0,
            onClick: r,
          },
          {
            default: () => {
              var w;
              return [
                s(),
                A(),
                i(),
                a(),
                (w = t.extra) == null ? void 0 : w.call(t),
              ];
            },
          },
        )
      );
    };
  },
});
const z9 = ht(aH);
function j9(e) {
  return Array.isArray(e) ? !e.length : e === 0 ? !1 : !e;
}
function oH(e, t) {
  if (j9(e)) {
    if (t.required) return !1;
    if (t.validateEmpty === !1) return !0;
  }
  return !(t.pattern && !t.pattern.test(String(e)));
}
function lH(e, t) {
  return new Promise((r) => {
    const n = t.validator(e, t);
    if (dp(n)) {
      n.then(r);
      return;
    }
    r(n);
  });
}
function ev(e, t) {
  const { message: r } = t;
  return to(r) ? r(e, t) : r || "";
}
function uH({ target: e }) {
  e.composing = !0;
}
function tv({ target: e }) {
  e.composing && ((e.composing = !1), e.dispatchEvent(new Event("input")));
}
function cH(e, t) {
  const r = pp();
  e.style.height = "auto";
  let n = e.scrollHeight;
  if (ea(t)) {
    const { maxHeight: A, minHeight: i } = t;
    A !== void 0 && (n = Math.min(n, A)), i !== void 0 && (n = Math.max(n, i));
  }
  n && ((e.style.height = `${n}px`), gp(r));
}
function fH(e) {
  return e === "number"
    ? { type: "text", inputmode: "decimal" }
    : e === "digit"
      ? { type: "tel", inputmode: "numeric" }
      : { type: e };
}
function kA(e) {
  return [...e].length;
}
function fd(e, t) {
  return [...e].slice(0, t).join("");
}
const [dH, Mn] = st("field"),
  hH = {
    id: String,
    name: String,
    leftIcon: String,
    rightIcon: String,
    autofocus: Boolean,
    clearable: Boolean,
    maxlength: tt,
    formatter: Function,
    clearIcon: dt("clear"),
    modelValue: xt(""),
    inputAlign: String,
    placeholder: String,
    autocomplete: String,
    autocapitalize: String,
    autocorrect: String,
    errorMessage: String,
    enterkeyhint: String,
    clearTrigger: dt("focus"),
    formatTrigger: dt("onChange"),
    spellcheck: { type: Boolean, default: null },
    error: { type: Boolean, default: null },
    disabled: { type: Boolean, default: null },
    readonly: { type: Boolean, default: null },
  },
  pH = wt({}, wf, hH, {
    rows: tt,
    type: dt("text"),
    rules: Array,
    autosize: [Boolean, Object],
    labelWidth: tt,
    labelClass: Er,
    labelAlign: String,
    showWordLimit: Boolean,
    errorMessageAlign: String,
    colon: { type: Boolean, default: null },
  });
var gH = et({
  name: dH,
  props: pH,
  emits: [
    "blur",
    "focus",
    "clear",
    "keypress",
    "clickInput",
    "endValidate",
    "startValidate",
    "clickLeftIcon",
    "clickRightIcon",
    "update:modelValue",
  ],
  setup(e, { emit: t, slots: r }) {
    const n = wp(),
      A = Rt({ status: "unvalidated", focused: !1, validateMessage: "" }),
      i = Ue(),
      s = Ue(),
      a = Ue(),
      { parent: o } = In(CL),
      l = () => {
        var ie;
        return String((ie = e.modelValue) != null ? ie : "");
      },
      u = (ie) => {
        if (qt(e[ie])) return e[ie];
        if (o && qt(o.props[ie])) return o.props[ie];
      },
      f = Oe(() => {
        const ie = u("readonly");
        if (e.clearable && !ie) {
          const _e = l() !== "",
            De =
              e.clearTrigger === "always" ||
              (e.clearTrigger === "focus" && A.focused);
          return _e && De;
        }
        return !1;
      }),
      d = Oe(() => (a.value && r.input ? a.value() : e.modelValue)),
      g = Oe(() => {
        var ie;
        const _e = u("required");
        return _e === "auto"
          ? (ie = e.rules) == null
            ? void 0
            : ie.some((De) => De.required)
          : _e;
      }),
      v = (ie) =>
        ie.reduce(
          (_e, De) =>
            _e.then(() => {
              if (A.status === "failed") return;
              let { value: $e } = d;
              if ((De.formatter && ($e = De.formatter($e, De)), !oH($e, De))) {
                (A.status = "failed"), (A.validateMessage = ev($e, De));
                return;
              }
              if (De.validator)
                return j9($e) && De.validateEmpty === !1
                  ? void 0
                  : lH($e, De).then((Te) => {
                      Te && typeof Te == "string"
                        ? ((A.status = "failed"), (A.validateMessage = Te))
                        : Te === !1 &&
                          ((A.status = "failed"),
                          (A.validateMessage = ev($e, De)));
                    });
            }),
          Promise.resolve(),
        ),
      B = () => {
        (A.status = "unvalidated"), (A.validateMessage = "");
      },
      y = () =>
        t("endValidate", { status: A.status, message: A.validateMessage }),
      w = (ie = e.rules) =>
        new Promise((_e) => {
          B(),
            ie
              ? (t("startValidate"),
                v(ie).then(() => {
                  A.status === "failed"
                    ? (_e({ name: e.name, message: A.validateMessage }), y())
                    : ((A.status = "passed"), _e(), y());
                }))
              : _e();
        }),
      m = (ie) => {
        if (o && e.rules) {
          const { validateTrigger: _e } = o.props,
            De = lc(_e).includes(ie),
            $e = e.rules.filter((Te) =>
              Te.trigger ? lc(Te.trigger).includes(ie) : De,
            );
          $e.length && w($e);
        }
      },
      x = (ie) => {
        var _e;
        const { maxlength: De } = e;
        if (qt(De) && kA(ie) > +De) {
          const $e = l();
          if ($e && kA($e) === +De) return $e;
          const Te = (_e = i.value) == null ? void 0 : _e.selectionEnd;
          if (A.focused && Te) {
            const j = [...ie],
              P = j.length - +De;
            return j.splice(Te - P, P), j.join("");
          }
          return fd(ie, +De);
        }
        return ie;
      },
      C = (ie, _e = "onChange") => {
        const De = ie;
        ie = x(ie);
        const $e = kA(De) - kA(ie);
        if (e.type === "number" || e.type === "digit") {
          const j = e.type === "number";
          ie = oL(ie, j, j);
        }
        let Te = 0;
        if (e.formatter && _e === e.formatTrigger) {
          const { formatter: j, maxlength: P } = e;
          if (
            ((ie = j(ie)),
            qt(P) && kA(ie) > +P && (ie = fd(ie, +P)),
            i.value && A.focused)
          ) {
            const { selectionEnd: M } = i.value,
              te = fd(De, M);
            Te = kA(j(te)) - kA(te);
          }
        }
        if (i.value && i.value.value !== ie)
          if (A.focused) {
            let { selectionStart: j, selectionEnd: P } = i.value;
            if (((i.value.value = ie), qt(j) && qt(P))) {
              const M = kA(ie);
              $e ? ((j -= $e), (P -= $e)) : Te && ((j += Te), (P += Te)),
                i.value.setSelectionRange(Math.min(j, M), Math.min(P, M));
            }
          } else i.value.value = ie;
        ie !== e.modelValue && t("update:modelValue", ie);
      },
      b = (ie) => {
        ie.target.composing || C(ie.target.value);
      },
      F = () => {
        var ie;
        return (ie = i.value) == null ? void 0 : ie.blur();
      },
      I = () => {
        var ie;
        return (ie = i.value) == null ? void 0 : ie.focus();
      },
      T = () => {
        const ie = i.value;
        e.type === "textarea" && e.autosize && ie && cH(ie, e.autosize);
      },
      D = (ie) => {
        (A.focused = !0), t("focus", ie), yt(T), u("readonly") && F();
      },
      U = (ie) => {
        (A.focused = !1),
          C(l(), "onBlur"),
          t("blur", ie),
          !u("readonly") && (m("onBlur"), yt(T), rL());
      },
      Q = (ie) => t("clickInput", ie),
      L = (ie) => t("clickLeftIcon", ie),
      $ = (ie) => t("clickRightIcon", ie),
      X = (ie) => {
        gn(ie), t("update:modelValue", ""), t("clear", ie);
      },
      V = Oe(() => {
        if (typeof e.error == "boolean") return e.error;
        if (o && o.props.showError && A.status === "failed") return !0;
      }),
      G = Oe(() => {
        const ie = u("labelWidth"),
          _e = u("labelAlign");
        if (ie && _e !== "top") return { width: It(ie) };
      }),
      le = (ie) => {
        ie.keyCode === 13 &&
          (!(o && o.props.submitOnEnter) && e.type !== "textarea" && gn(ie),
          e.type === "search" && F()),
          t("keypress", ie);
      },
      q = () => e.id || `${n}-input`,
      ue = () => A.status,
      Ce = () => {
        const ie = Mn("control", [
          u("inputAlign"),
          {
            error: V.value,
            custom: !!r.input,
            "min-height": e.type === "textarea" && !e.autosize,
          },
        ]);
        if (r.input) return Z("div", { class: ie, onClick: Q }, [r.input()]);
        const _e = {
          id: q(),
          ref: i,
          name: e.name,
          rows: e.rows !== void 0 ? +e.rows : void 0,
          class: ie,
          disabled: u("disabled"),
          readonly: u("readonly"),
          autofocus: e.autofocus,
          placeholder: e.placeholder,
          autocomplete: e.autocomplete,
          autocapitalize: e.autocapitalize,
          autocorrect: e.autocorrect,
          enterkeyhint: e.enterkeyhint,
          spellcheck: e.spellcheck,
          "aria-labelledby": e.label ? `${n}-label` : void 0,
          onBlur: U,
          onFocus: D,
          onInput: b,
          onClick: Q,
          onChange: tv,
          onKeypress: le,
          onCompositionend: tv,
          onCompositionstart: uH,
        };
        return e.type === "textarea"
          ? Z("textarea", _e, null)
          : Z("input", $t(fH(e.type), _e), null);
      },
      ee = () => {
        const ie = r["left-icon"];
        if (e.leftIcon || ie)
          return Z("div", { class: Mn("left-icon"), onClick: L }, [
            ie
              ? ie()
              : Z(Dr, { name: e.leftIcon, classPrefix: e.iconPrefix }, null),
          ]);
      },
      ce = () => {
        const ie = r["right-icon"];
        if (e.rightIcon || ie)
          return Z("div", { class: Mn("right-icon"), onClick: $ }, [
            ie
              ? ie()
              : Z(Dr, { name: e.rightIcon, classPrefix: e.iconPrefix }, null),
          ]);
      },
      ve = () => {
        if (e.showWordLimit && e.maxlength) {
          const ie = kA(l());
          return Z("div", { class: Mn("word-limit") }, [
            Z("span", { class: Mn("word-num") }, [ie]),
            ef("/"),
            e.maxlength,
          ]);
        }
      },
      xe = () => {
        if (o && o.props.showErrorMessage === !1) return;
        const ie = e.errorMessage || A.validateMessage;
        if (ie) {
          const _e = r["error-message"],
            De = u("errorMessageAlign");
          return Z("div", { class: Mn("error-message", De) }, [
            _e ? _e({ message: ie }) : ie,
          ]);
        }
      },
      se = () => {
        const ie = u("labelWidth"),
          _e = u("labelAlign"),
          De = u("colon") ? ":" : "";
        if (r.label) return [r.label(), De];
        if (e.label)
          return Z(
            "label",
            {
              id: `${n}-label`,
              for: r.input ? void 0 : q(),
              onClick: ($e) => {
                gn($e), I();
              },
              style: _e === "top" && ie ? { width: It(ie) } : void 0,
            },
            [e.label + De],
          );
      },
      Fe = () => [
        Z("div", { class: Mn("body") }, [
          Ce(),
          f.value &&
            Z(Dr, { ref: s, name: e.clearIcon, class: Mn("clear") }, null),
          ce(),
          r.button && Z("div", { class: Mn("button") }, [r.button()]),
        ]),
        ve(),
        xe(),
      ];
    return (
      or({
        blur: F,
        focus: I,
        validate: w,
        formValue: d,
        resetValidation: B,
        getValidationStatus: ue,
      }),
      nA(O6, { customValue: a, resetValidation: B, validateWithTrigger: m }),
      Ye(
        () => e.modelValue,
        () => {
          C(l()), B(), m("onChange"), yt(T);
        },
      ),
      Zt(() => {
        C(l(), e.formatTrigger), yt(T);
      }),
      wn("touchstart", X, {
        target: Oe(() => {
          var ie;
          return (ie = s.value) == null ? void 0 : ie.$el;
        }),
      }),
      () => {
        const ie = u("disabled"),
          _e = u("labelAlign"),
          De = ee(),
          $e = () => {
            const Te = se();
            return _e === "top" ? [De, Te].filter(Boolean) : Te || [];
          };
        return Z(
          z9,
          {
            size: e.size,
            class: Mn({ error: V.value, disabled: ie, [`label-${_e}`]: _e }),
            center: e.center,
            border: e.border,
            isLink: e.isLink,
            clickable: e.clickable,
            titleStyle: G.value,
            valueClass: Mn("value"),
            titleClass: [
              Mn("label", [_e, { required: g.value }]),
              e.labelClass,
            ],
            arrowDirection: e.arrowDirection,
          },
          {
            icon: De && _e !== "top" ? () => De : null,
            title: $e,
            value: Fe,
            extra: r.extra,
          },
        );
      }
    );
  },
});
const Jte = ht(gH);
let qo = 0;
function vH(e) {
  e
    ? (qo || document.body.classList.add("van-toast--unclickable"), qo++)
    : qo &&
      (qo--, qo || document.body.classList.remove("van-toast--unclickable"));
}
const [mH, xa] = st("toast"),
  BH = [
    "show",
    "overlay",
    "teleport",
    "transition",
    "overlayClass",
    "overlayStyle",
    "closeOnClickOverlay",
  ],
  wH = {
    icon: String,
    show: Boolean,
    type: dt("text"),
    overlay: Boolean,
    message: tt,
    iconSize: tt,
    duration: hp(2e3),
    position: dt("middle"),
    teleport: [String, Object],
    wordBreak: String,
    className: Er,
    iconPrefix: String,
    transition: dt("van-fade"),
    loadingType: String,
    forbidClick: Boolean,
    overlayClass: Er,
    overlayStyle: Object,
    closeOnClick: Boolean,
    closeOnClickOverlay: Boolean,
  };
var Y9 = et({
  name: mH,
  props: wH,
  emits: ["update:show"],
  setup(e, { emit: t, slots: r }) {
    let n,
      A = !1;
    const i = () => {
        const f = e.show && e.forbidClick;
        A !== f && ((A = f), vH(A));
      },
      s = (f) => t("update:show", f),
      a = () => {
        e.closeOnClick && s(!1);
      },
      o = () => clearTimeout(n),
      l = () => {
        const {
          icon: f,
          type: d,
          iconSize: g,
          iconPrefix: v,
          loadingType: B,
        } = e;
        if (f || d === "success" || d === "fail")
          return Z(
            Dr,
            { name: f || d, size: g, class: xa("icon"), classPrefix: v },
            null,
          );
        if (d === "loading")
          return Z(fi, { class: xa("loading"), size: g, type: B }, null);
      },
      u = () => {
        const { type: f, message: d } = e;
        if (r.message) return Z("div", { class: xa("text") }, [r.message()]);
        if (qt(d) && d !== "")
          return f === "html"
            ? Z(
                "div",
                { key: 0, class: xa("text"), innerHTML: String(d) },
                null,
              )
            : Z("div", { class: xa("text") }, [d]);
      };
    return (
      Ye(() => [e.show, e.forbidClick], i),
      Ye(
        () => [e.show, e.type, e.message, e.duration],
        () => {
          o(),
            e.show &&
              e.duration > 0 &&
              (n = setTimeout(() => {
                s(!1);
              }, e.duration));
        },
      ),
      Zt(i),
      ci(i),
      () =>
        Z(
          Uo,
          $t(
            {
              class: [
                xa([
                  e.position,
                  e.wordBreak === "normal" ? "break-normal" : e.wordBreak,
                  { [e.type]: !e.icon },
                ]),
                e.className,
              ],
              lockScroll: !1,
              onClick: a,
              onClosed: o,
              "onUpdate:show": s,
            },
            er(e, BH),
          ),
          { default: () => [l(), u()] },
        )
    );
  },
});
function Cp() {
  const e = Rt({ show: !1 }),
    t = (A) => {
      e.show = A;
    },
    r = (A) => {
      wt(e, A, { transitionAppear: !0 }), t(!0);
    },
    n = () => t(!1);
  return (
    or({ open: r, close: n, toggle: t }),
    { open: r, close: n, state: e, toggle: t }
  );
}
function xp(e) {
  const t = y3(e),
    r = document.createElement("div");
  return (
    document.body.appendChild(r),
    {
      instance: t.mount(r),
      unmount() {
        t.unmount(), document.body.removeChild(r);
      },
    }
  );
}
const yH = {
  icon: "",
  type: "text",
  message: "",
  className: "",
  overlay: !1,
  onClose: void 0,
  onOpened: void 0,
  duration: 2e3,
  teleport: "body",
  iconSize: void 0,
  iconPrefix: void 0,
  position: "middle",
  transition: "van-fade",
  forbidClick: !1,
  loadingType: void 0,
  overlayClass: "",
  overlayStyle: void 0,
  closeOnClick: !1,
  closeOnClickOverlay: !1,
};
let Ni = [],
  CH = !1,
  rv = wt({}, yH);
const xH = new Map();
function X9(e) {
  return ea(e) ? e : { message: e };
}
function EH() {
  const { instance: e, unmount: t } = xp({
    setup() {
      const r = Ue(""),
        { open: n, state: A, close: i, toggle: s } = Cp(),
        a = () => {},
        o = () => Z(Y9, $t(A, { onClosed: a, "onUpdate:show": s }), null);
      return (
        Ye(r, (l) => {
          A.message = l;
        }),
        (Wt().render = o),
        { open: n, close: i, message: r }
      );
    },
  });
  return e;
}
function bH() {
  if (!Ni.length || CH) {
    const e = EH();
    Ni.push(e);
  }
  return Ni[Ni.length - 1];
}
function G2(e = {}) {
  if (!Ai) return {};
  const t = bH(),
    r = X9(e);
  return t.open(wt({}, rv, xH.get(r.type || rv.type), r)), t;
}
const Ep = (e) => (t) => G2(wt({ type: e }, X9(t))),
  qte = Ep("loading"),
  Zte = Ep("success"),
  ere = Ep("fail"),
  tre = (e) => {
    Ni.length &&
      (e
        ? (Ni.forEach((t) => {
            t.close();
          }),
          (Ni = []))
        : Ni[0].close());
  },
  rre = ht(Y9),
  [FH, dd] = st("switch"),
  _H = {
    size: tt,
    loading: Boolean,
    disabled: Boolean,
    modelValue: Er,
    activeColor: String,
    inactiveColor: String,
    activeValue: { type: Er, default: !0 },
    inactiveValue: { type: Er, default: !1 },
  };
var SH = et({
  name: FH,
  props: _H,
  emits: ["change", "update:modelValue"],
  setup(e, { emit: t, slots: r }) {
    const n = () => e.modelValue === e.activeValue,
      A = () => {
        if (!e.disabled && !e.loading) {
          const s = n() ? e.inactiveValue : e.activeValue;
          t("update:modelValue", s), t("change", s);
        }
      },
      i = () => {
        if (e.loading) {
          const s = n() ? e.activeColor : e.inactiveColor;
          return Z(fi, { class: dd("loading"), color: s }, null);
        }
        if (r.node) return r.node();
      };
    return (
      bo(() => e.modelValue),
      () => {
        var s;
        const {
            size: a,
            loading: o,
            disabled: l,
            activeColor: u,
            inactiveColor: f,
          } = e,
          d = n(),
          g = { fontSize: It(a), backgroundColor: d ? u : f };
        return Z(
          "div",
          {
            role: "switch",
            class: dd({ on: d, loading: o, disabled: l }),
            style: g,
            tabindex: l ? void 0 : 0,
            "aria-checked": d,
            onClick: A,
          },
          [
            Z("div", { class: dd("node") }, [i()]),
            (s = r.background) == null ? void 0 : s.call(r),
          ],
        );
      }
    );
  },
});
const nre = ht(SH),
  [J9, QH] = st("radio-group"),
  UH = {
    shape: String,
    disabled: Boolean,
    iconSize: tt,
    direction: String,
    modelValue: Er,
    checkedColor: String,
  },
  q9 = Symbol(J9);
var TH = et({
  name: J9,
  props: UH,
  emits: ["change", "update:modelValue"],
  setup(e, { emit: t, slots: r }) {
    const { linkChildren: n } = bA(q9),
      A = (i) => t("update:modelValue", i);
    return (
      Ye(
        () => e.modelValue,
        (i) => t("change", i),
      ),
      n({ props: e, updateValue: A }),
      bo(() => e.modelValue),
      () => {
        var i;
        return Z("div", { class: QH([e.direction]), role: "radiogroup" }, [
          (i = r.default) == null ? void 0 : i.call(r),
        ]);
      }
    );
  },
});
const Are = ht(TH),
  bp = {
    name: Er,
    disabled: Boolean,
    iconSize: tt,
    modelValue: Er,
    checkedColor: String,
    labelPosition: String,
    labelDisabled: Boolean,
  };
var Z9 = et({
  props: wt({}, bp, {
    bem: Nr(Function),
    role: String,
    shape: String,
    parent: Object,
    checked: Boolean,
    bindGroup: Ze,
    indeterminate: { type: Boolean, default: null },
  }),
  emits: ["click", "toggle"],
  setup(e, { emit: t, slots: r }) {
    const n = Ue(),
      A = (d) => {
        if (e.parent && e.bindGroup) return e.parent.props[d];
      },
      i = Oe(() => {
        if (e.parent && e.bindGroup) {
          const d = A("disabled") || e.disabled;
          if (e.role === "checkbox") {
            const g = A("modelValue").length,
              v = A("max"),
              B = v && g >= +v;
            return d || (B && !e.checked);
          }
          return d;
        }
        return e.disabled;
      }),
      s = Oe(() => A("direction")),
      a = Oe(() => {
        const d = e.checkedColor || A("checkedColor");
        if (d && e.checked && !i.value)
          return { borderColor: d, backgroundColor: d };
      }),
      o = Oe(() => e.shape || A("shape") || "round"),
      l = (d) => {
        const { target: g } = d,
          v = n.value,
          B = v === g || (v == null ? void 0 : v.contains(g));
        !i.value && (B || !e.labelDisabled) && t("toggle"), t("click", d);
      },
      u = () => {
        var d, g;
        const { bem: v, checked: B, indeterminate: y } = e,
          w = e.iconSize || A("iconSize");
        return Z(
          "div",
          {
            ref: n,
            class: v("icon", [
              o.value,
              { disabled: i.value, checked: B, indeterminate: y },
            ]),
            style:
              o.value !== "dot"
                ? { fontSize: It(w) }
                : {
                    width: It(w),
                    height: It(w),
                    borderColor: (d = a.value) == null ? void 0 : d.borderColor,
                  },
          },
          [
            r.icon
              ? r.icon({ checked: B, disabled: i.value })
              : o.value !== "dot"
                ? Z(Dr, { name: y ? "minus" : "success", style: a.value }, null)
                : Z(
                    "div",
                    {
                      class: v("icon--dot__icon"),
                      style: {
                        backgroundColor:
                          (g = a.value) == null ? void 0 : g.backgroundColor,
                      },
                    },
                    null,
                  ),
          ],
        );
      },
      f = () => {
        const { checked: d } = e;
        if (r.default)
          return Z(
            "span",
            { class: e.bem("label", [e.labelPosition, { disabled: i.value }]) },
            [r.default({ checked: d, disabled: i.value })],
          );
      };
    return () => {
      const d = e.labelPosition === "left" ? [f(), u()] : [u(), f()];
      return Z(
        "div",
        {
          role: e.role,
          class: e.bem([
            { disabled: i.value, "label-disabled": e.labelDisabled },
            s.value,
          ]),
          tabindex: i.value ? void 0 : 0,
          "aria-checked": e.checked,
          onClick: l,
        },
        [d],
      );
    };
  },
});
const IH = wt({}, bp, { shape: String }),
  [DH, PH] = st("radio");
var OH = et({
  name: DH,
  props: IH,
  emits: ["update:modelValue"],
  setup(e, { emit: t, slots: r }) {
    const { parent: n } = In(q9),
      A = () => (n ? n.props.modelValue : e.modelValue) === e.name,
      i = () => {
        n ? n.updateValue(e.name) : t("update:modelValue", e.name);
      };
    return () =>
      Z(
        Z9,
        $t({ bem: PH, role: "radio", parent: n, checked: A(), onToggle: i }, e),
        er(r, ["default", "icon"]),
      );
  },
});
const ire = ht(OH),
  [LH, Cr, XA] = st("calendar"),
  kH = (e) => XA("monthTitle", e.getFullYear(), e.getMonth() + 1);
function W2(e, t) {
  const r = e.getFullYear(),
    n = t.getFullYear();
  if (r === n) {
    const A = e.getMonth(),
      i = t.getMonth();
    return A === i ? 0 : A > i ? 1 : -1;
  }
  return r > n ? 1 : -1;
}
function Fn(e, t) {
  const r = W2(e, t);
  if (r === 0) {
    const n = e.getDate(),
      A = t.getDate();
    return n === A ? 0 : n > A ? 1 : -1;
  }
  return r;
}
const dc = (e) => new Date(e),
  nv = (e) => (Array.isArray(e) ? e.map(dc) : dc(e));
function Fp(e, t) {
  const r = dc(e);
  return r.setDate(r.getDate() + t), r;
}
const z2 = (e) => Fp(e, -1),
  ew = (e) => Fp(e, 1),
  j2 = () => {
    const e = new Date();
    return e.setHours(0, 0, 0, 0), e;
  };
function HH(e) {
  const t = e[0].getTime();
  return (e[1].getTime() - t) / (1e3 * 60 * 60 * 24) + 1;
}
const MH = wt({}, yp, {
    modelValue: ii(),
    filter: Function,
    formatter: { type: Function, default: (e, t) => t },
  }),
  RH = Object.keys(yp);
function NH(e, t) {
  if (e < 0) return [];
  const r = Array(e);
  let n = -1;
  for (; ++n < e; ) r[n] = t(n);
  return r;
}
const tw = (e, t) => 32 - new Date(e, t - 1, 32).getDate(),
  hd = (e, t, r, n, A, i) => {
    const s = NH(t - e + 1, (a) => {
      const o = Os(e + a);
      return n(r, { text: o, value: o });
    });
    return A ? A(r, s, i) : s;
  },
  $H = (e, t) =>
    e.map((r, n) => {
      const A = t[n];
      if (A.length) {
        const i = +A[0].value,
          s = +A[A.length - 1].value;
        return Os(rn(+r, i, s));
      }
      return r;
    }),
  [KH] = st("calendar-day");
var VH = et({
  name: KH,
  props: {
    item: Nr(Object),
    color: String,
    index: Number,
    offset: hp(0),
    rowHeight: String,
  },
  emits: ["click", "clickDisabledDate"],
  setup(e, { emit: t, slots: r }) {
    const n = Oe(() => {
        var o;
        const { item: l, index: u, color: f, offset: d, rowHeight: g } = e,
          v = { height: g };
        if (l.type === "placeholder") return (v.width = "100%"), v;
        if ((u === 0 && (v.marginLeft = `${(100 * d) / 7}%`), f))
          switch (l.type) {
            case "end":
            case "start":
            case "start-end":
            case "multiple-middle":
            case "multiple-selected":
              v.background = f;
              break;
            case "middle":
              v.color = f;
              break;
          }
        return (
          d + (((o = l.date) == null ? void 0 : o.getDate()) || 1) > 28 &&
            (v.marginBottom = 0),
          v
        );
      }),
      A = () => {
        e.item.type !== "disabled"
          ? t("click", e.item)
          : t("clickDisabledDate", e.item);
      },
      i = () => {
        const { topInfo: o } = e.item;
        if (o || r["top-info"])
          return Z("div", { class: Cr("top-info") }, [
            r["top-info"] ? r["top-info"](e.item) : o,
          ]);
      },
      s = () => {
        const { bottomInfo: o } = e.item;
        if (o || r["bottom-info"])
          return Z("div", { class: Cr("bottom-info") }, [
            r["bottom-info"] ? r["bottom-info"](e.item) : o,
          ]);
      },
      a = () => {
        const { item: o, color: l, rowHeight: u } = e,
          { type: f, text: d } = o,
          g = [i(), d, s()];
        return f === "selected"
          ? Z(
              "div",
              {
                class: Cr("selected-day"),
                style: { width: u, height: u, background: l },
              },
              [g],
            )
          : g;
      };
    return () => {
      const { type: o, className: l } = e.item;
      return o === "placeholder"
        ? Z("div", { class: Cr("day"), style: n.value }, null)
        : Z(
            "div",
            {
              role: "gridcell",
              style: n.value,
              class: [Cr("day", o), l],
              tabindex: o === "disabled" ? void 0 : -1,
              onClick: A,
            },
            [a()],
          );
    };
  },
});
const [GH] = st("calendar-month"),
  WH = {
    date: Nr(Date),
    type: String,
    color: String,
    minDate: Nr(Date),
    maxDate: Nr(Date),
    showMark: Boolean,
    rowHeight: tt,
    formatter: Function,
    lazyRender: Boolean,
    currentDate: [Date, Array],
    allowSameDay: Boolean,
    showSubtitle: Boolean,
    showMonthTitle: Boolean,
    firstDayOfWeek: Number,
  };
var zH = et({
  name: GH,
  props: WH,
  emits: ["click", "clickDisabledDate"],
  setup(e, { emit: t, slots: r }) {
    const [n, A] = I3(),
      i = Ue(),
      s = Ue(),
      a = F9(s),
      o = Oe(() => kH(e.date)),
      l = Oe(() => It(e.rowHeight)),
      u = Oe(() => {
        const U = e.date.getDay();
        return e.firstDayOfWeek ? (U + 7 - e.firstDayOfWeek) % 7 : U;
      }),
      f = Oe(() => tw(e.date.getFullYear(), e.date.getMonth() + 1)),
      d = Oe(() => n.value || !e.lazyRender),
      g = () => o.value,
      v = (U) => {
        const Q = (L) => e.currentDate.some(($) => Fn($, L) === 0);
        if (Q(U)) {
          const L = z2(U),
            $ = ew(U),
            X = Q(L),
            V = Q($);
          return X && V
            ? "multiple-middle"
            : X
              ? "end"
              : V
                ? "start"
                : "multiple-selected";
        }
        return "";
      },
      B = (U) => {
        const [Q, L] = e.currentDate;
        if (!Q) return "";
        const $ = Fn(U, Q);
        if (!L) return $ === 0 ? "start" : "";
        const X = Fn(U, L);
        return e.allowSameDay && $ === 0 && X === 0
          ? "start-end"
          : $ === 0
            ? "start"
            : X === 0
              ? "end"
              : $ > 0 && X < 0
                ? "middle"
                : "";
      },
      y = (U) => {
        const { type: Q, minDate: L, maxDate: $, currentDate: X } = e;
        if (Fn(U, L) < 0 || Fn(U, $) > 0) return "disabled";
        if (X === null) return "";
        if (Array.isArray(X)) {
          if (Q === "multiple") return v(U);
          if (Q === "range") return B(U);
        } else if (Q === "single") return Fn(U, X) === 0 ? "selected" : "";
        return "";
      },
      w = (U) => {
        if (e.type === "range") {
          if (U === "start" || U === "end") return XA(U);
          if (U === "start-end") return `${XA("start")}/${XA("end")}`;
        }
      },
      m = () => {
        if (e.showMonthTitle)
          return Z("div", { class: Cr("month-title") }, [
            r["month-title"]
              ? r["month-title"]({ date: e.date, text: o.value })
              : o.value,
          ]);
      },
      x = () => {
        if (e.showMark && d.value)
          return Z("div", { class: Cr("month-mark") }, [e.date.getMonth() + 1]);
      },
      C = Oe(() => {
        const U = Math.ceil((f.value + u.value) / 7);
        return Array(U).fill({ type: "placeholder" });
      }),
      b = Oe(() => {
        const U = [],
          Q = e.date.getFullYear(),
          L = e.date.getMonth();
        for (let $ = 1; $ <= f.value; $++) {
          const X = new Date(Q, L, $),
            V = y(X);
          let G = { date: X, type: V, text: $, bottomInfo: w(V) };
          e.formatter && (G = e.formatter(G)), U.push(G);
        }
        return U;
      }),
      F = Oe(() => b.value.filter((U) => U.type === "disabled")),
      I = (U, Q) => {
        if (i.value) {
          const L = Ir(i.value),
            $ = C.value.length,
            V = ((Math.ceil((Q.getDate() + u.value) / 7) - 1) * L.height) / $;
          uc(U, L.top + V + U.scrollTop - Ir(U).top);
        }
      },
      T = (U, Q) =>
        Z(
          VH,
          {
            item: U,
            index: Q,
            color: e.color,
            offset: u.value,
            rowHeight: l.value,
            onClick: (L) => t("click", L),
            onClickDisabledDate: (L) => t("clickDisabledDate", L),
          },
          er(r, ["top-info", "bottom-info"]),
        ),
      D = () =>
        Z("div", { ref: i, role: "grid", class: Cr("days") }, [
          x(),
          (d.value ? b : C).value.map(T),
        ]);
    return (
      or({
        getTitle: g,
        getHeight: () => a.value,
        setVisible: A,
        scrollToDate: I,
        disabledDays: F,
      }),
      () => Z("div", { class: Cr("month"), ref: s }, [m(), D()])
    );
  },
});
const [jH] = st("calendar-header");
var YH = et({
  name: jH,
  props: {
    date: Date,
    title: String,
    subtitle: String,
    showTitle: Boolean,
    showSubtitle: Boolean,
    firstDayOfWeek: Number,
  },
  emits: ["clickSubtitle"],
  setup(e, { slots: t, emit: r }) {
    const n = () => {
        if (e.showTitle) {
          const a = e.title || XA("title"),
            o = t.title ? t.title() : a;
          return Z("div", { class: Cr("header-title") }, [o]);
        }
      },
      A = (a) => r("clickSubtitle", a),
      i = () => {
        if (e.showSubtitle) {
          const a = t.subtitle
            ? t.subtitle({ date: e.date, text: e.subtitle })
            : e.subtitle;
          return Z("div", { class: Cr("header-subtitle"), onClick: A }, [a]);
        }
      },
      s = () => {
        const { firstDayOfWeek: a } = e,
          o = XA("weekdays"),
          l = [...o.slice(a, 7), ...o.slice(0, a)];
        return Z("div", { class: Cr("weekdays") }, [
          l.map((u) => Z("span", { class: Cr("weekday") }, [u])),
        ]);
      };
    return () => Z("div", { class: Cr("header") }, [n(), i(), s()]);
  },
});
const XH = {
  show: Boolean,
  type: dt("single"),
  title: String,
  color: String,
  round: Ze,
  readonly: Boolean,
  poppable: Ze,
  maxRange: xt(null),
  position: dt("bottom"),
  teleport: [String, Object],
  showMark: Ze,
  showTitle: Ze,
  formatter: Function,
  rowHeight: tt,
  confirmText: String,
  rangePrompt: String,
  lazyRender: Ze,
  showConfirm: Ze,
  defaultDate: [Date, Array],
  allowSameDay: Boolean,
  showSubtitle: Ze,
  closeOnPopstate: Ze,
  showRangePrompt: Ze,
  confirmDisabledText: String,
  closeOnClickOverlay: Ze,
  safeAreaInsetTop: Boolean,
  safeAreaInsetBottom: Ze,
  minDate: { type: Date, validator: Yl, default: j2 },
  maxDate: {
    type: Date,
    validator: Yl,
    default: () => {
      const e = j2();
      return new Date(e.getFullYear(), e.getMonth() + 6, e.getDate());
    },
  },
  firstDayOfWeek: { type: tt, default: 0, validator: (e) => e >= 0 && e <= 6 },
};
var JH = et({
  name: LH,
  props: XH,
  emits: [
    "select",
    "confirm",
    "unselect",
    "monthShow",
    "overRange",
    "update:show",
    "clickSubtitle",
    "clickDisabledDate",
  ],
  setup(e, { emit: t, slots: r }) {
    const n = (V, G = e.minDate, le = e.maxDate) =>
        Fn(V, G) === -1 ? G : Fn(V, le) === 1 ? le : V,
      A = (V = e.defaultDate) => {
        const { type: G, minDate: le, maxDate: q, allowSameDay: ue } = e;
        if (V === null) return V;
        const Ce = j2();
        if (G === "range") {
          Array.isArray(V) || (V = []);
          const ee = n(V[0] || Ce, le, ue ? q : z2(q)),
            ce = n(V[1] || Ce, ue ? le : ew(le));
          return [ee, ce];
        }
        return G === "multiple"
          ? Array.isArray(V)
            ? V.map((ee) => n(ee))
            : [n(Ce)]
          : ((!V || Array.isArray(V)) && (V = Ce), n(V));
      };
    let i;
    const s = Ue(),
      a = Ue({ textFn: () => "", date: void 0 }),
      o = Ue(A()),
      [l, u] = H9(),
      f = Oe(() => (e.firstDayOfWeek ? +e.firstDayOfWeek % 7 : 0)),
      d = Oe(() => {
        const V = [],
          G = new Date(e.minDate);
        G.setDate(1);
        do V.push(new Date(G)), G.setMonth(G.getMonth() + 1);
        while (W2(G, e.maxDate) !== 1);
        return V;
      }),
      g = Oe(() => {
        if (o.value) {
          if (e.type === "range") return !o.value[0] || !o.value[1];
          if (e.type === "multiple") return !o.value.length;
        }
        return !o.value;
      }),
      v = () => o.value,
      B = () => {
        const V = y0(s.value),
          G = V + i,
          le = d.value.map((ce, ve) => l.value[ve].getHeight()),
          q = le.reduce((ce, ve) => ce + ve, 0);
        if (G > q && V > 0) return;
        let ue = 0,
          Ce;
        const ee = [-1, -1];
        for (let ce = 0; ce < d.value.length; ce++) {
          const ve = l.value[ce];
          ue <= G &&
            ue + le[ce] >= V &&
            ((ee[1] = ce),
            Ce || ((Ce = ve), (ee[0] = ce)),
            l.value[ce].showed ||
              ((l.value[ce].showed = !0),
              t("monthShow", { date: ve.date, title: ve.getTitle() }))),
            (ue += le[ce]);
        }
        d.value.forEach((ce, ve) => {
          const xe = ve >= ee[0] - 1 && ve <= ee[1] + 1;
          l.value[ve].setVisible(xe);
        }),
          Ce && (a.value = { textFn: Ce.getTitle, date: Ce.date });
      },
      y = (V) => {
        nn(() => {
          d.value.some((G, le) =>
            W2(G, V) === 0
              ? (s.value && l.value[le].scrollToDate(s.value, V), !0)
              : !1,
          ),
            B();
        });
      },
      w = () => {
        if (!(e.poppable && !e.show))
          if (o.value) {
            const V = e.type === "single" ? o.value : o.value[0];
            Yl(V) && y(V);
          } else nn(B);
      },
      m = () => {
        (e.poppable && !e.show) ||
          (nn(() => {
            i = Math.floor(Ir(s).height);
          }),
          w());
      },
      x = (V = A()) => {
        (o.value = V), w();
      },
      C = (V) => {
        const { maxRange: G, rangePrompt: le, showRangePrompt: q } = e;
        return G && HH(V) > +G
          ? (q && G2(le || XA("rangePrompt", G)), t("overRange"), !1)
          : !0;
      },
      b = () => {
        var V;
        return t("confirm", (V = o.value) != null ? V : nv(o.value));
      },
      F = (V, G) => {
        const le = (q) => {
          (o.value = q), t("select", nv(q));
        };
        if (G && e.type === "range" && !C(V)) {
          le([V[0], Fp(V[0], +e.maxRange - 1)]);
          return;
        }
        le(V), G && !e.showConfirm && b();
      },
      I = (V, G, le) => {
        var q;
        return (q = V.find(
          (ue) => Fn(G, ue.date) === -1 && Fn(ue.date, le) === -1,
        )) == null
          ? void 0
          : q.date;
      },
      T = Oe(() =>
        l.value.reduce((V, G) => {
          var le, q;
          return (
            V.push(
              ...((q = (le = G.disabledDays) == null ? void 0 : le.value) !=
              null
                ? q
                : []),
            ),
            V
          );
        }, []),
      ),
      D = (V) => {
        if (e.readonly || !V.date) return;
        const { date: G } = V,
          { type: le } = e;
        if (le === "range") {
          if (!o.value) {
            F([G]);
            return;
          }
          const [q, ue] = o.value;
          if (q && !ue) {
            const Ce = Fn(G, q);
            if (Ce === 1) {
              const ee = I(T.value, q, G);
              if (ee) {
                const ce = z2(ee);
                Fn(q, ce) === -1 ? F([q, ce]) : F([G]);
              } else F([q, G], !0);
            } else Ce === -1 ? F([G]) : e.allowSameDay && F([G, G], !0);
          } else F([G]);
        } else if (le === "multiple") {
          if (!o.value) {
            F([G]);
            return;
          }
          const q = o.value,
            ue = q.findIndex((Ce) => Fn(Ce, G) === 0);
          if (ue !== -1) {
            const [Ce] = q.splice(ue, 1);
            t("unselect", dc(Ce));
          } else
            e.maxRange && q.length >= +e.maxRange
              ? G2(e.rangePrompt || XA("rangePrompt", e.maxRange))
              : F([...q, G]);
        } else F(G, !0);
      },
      U = (V) => t("update:show", V),
      Q = (V, G) => {
        const le = G !== 0 || !e.showSubtitle;
        return Z(
          zH,
          $t(
            {
              ref: u(G),
              date: V,
              currentDate: o.value,
              showMonthTitle: le,
              firstDayOfWeek: f.value,
            },
            er(e, [
              "type",
              "color",
              "minDate",
              "maxDate",
              "showMark",
              "formatter",
              "rowHeight",
              "lazyRender",
              "showSubtitle",
              "allowSameDay",
            ]),
            {
              onClick: D,
              onClickDisabledDate: (q) => t("clickDisabledDate", q),
            },
          ),
          er(r, ["top-info", "bottom-info", "month-title"]),
        );
      },
      L = () => {
        if (r.footer) return r.footer();
        if (e.showConfirm) {
          const V = r["confirm-text"],
            G = g.value,
            le = G ? e.confirmDisabledText : e.confirmText;
          return Z(
            fc,
            {
              round: !0,
              block: !0,
              type: "primary",
              color: e.color,
              class: Cr("confirm"),
              disabled: G,
              nativeType: "button",
              onClick: b,
            },
            { default: () => [V ? V({ disabled: G }) : le || XA("confirm")] },
          );
        }
      },
      $ = () =>
        Z(
          "div",
          {
            class: [
              Cr("footer"),
              { "van-safe-area-bottom": e.safeAreaInsetBottom },
            ],
          },
          [L()],
        ),
      X = () => {
        const V = a.value.textFn();
        return Z("div", { class: Cr() }, [
          Z(
            YH,
            {
              date: a.value.date,
              title: e.title,
              subtitle: V,
              showTitle: e.showTitle,
              showSubtitle: e.showSubtitle,
              firstDayOfWeek: f.value,
              onClickSubtitle: (G) => t("clickSubtitle", G),
            },
            er(r, ["title", "subtitle"]),
          ),
          Z("div", { ref: s, class: Cr("body"), onScroll: B }, [
            d.value.map(Q),
          ]),
          $(),
        ]);
      };
    return (
      Ye(() => e.show, m),
      Ye(
        () => [e.type, e.minDate, e.maxDate],
        () => x(A(o.value)),
      ),
      Ye(
        () => e.defaultDate,
        (V = null) => {
          (o.value = V), w();
        },
      ),
      or({ reset: x, scrollToDate: y, getSelectedDate: v }),
      Eo(m),
      () =>
        e.poppable
          ? Z(
              Uo,
              {
                show: e.show,
                class: Cr("popup"),
                round: e.round,
                position: e.position,
                closeable: e.showTitle || e.showSubtitle,
                teleport: e.teleport,
                closeOnPopstate: e.closeOnPopstate,
                safeAreaInsetTop: e.safeAreaInsetTop,
                closeOnClickOverlay: e.closeOnClickOverlay,
                "onUpdate:show": U,
              },
              { default: X },
            )
          : X()
    );
  },
});
const sre = ht(JH),
  [qH, Ea] = st("image"),
  ZH = {
    src: String,
    alt: String,
    fit: String,
    position: String,
    round: Boolean,
    block: Boolean,
    width: tt,
    height: tt,
    radius: tt,
    lazyLoad: Boolean,
    iconSize: tt,
    showError: Ze,
    errorIcon: dt("photo-fail"),
    iconPrefix: String,
    showLoading: Ze,
    loadingIcon: dt("photo"),
  };
var eM = et({
  name: qH,
  props: ZH,
  emits: ["load", "error"],
  setup(e, { emit: t, slots: r }) {
    const n = Ue(!1),
      A = Ue(!0),
      i = Ue(),
      { $Lazyload: s } = Wt().proxy,
      a = Oe(() => {
        const y = { width: It(e.width), height: It(e.height) };
        return (
          qt(e.radius) &&
            ((y.overflow = "hidden"), (y.borderRadius = It(e.radius))),
          y
        );
      });
    Ye(
      () => e.src,
      () => {
        (n.value = !1), (A.value = !0);
      },
    );
    const o = (y) => {
        A.value && ((A.value = !1), t("load", y));
      },
      l = () => {
        const y = new Event("load");
        Object.defineProperty(y, "target", { value: i.value, enumerable: !0 }),
          o(y);
      },
      u = (y) => {
        (n.value = !0), (A.value = !1), t("error", y);
      },
      f = (y, w, m) =>
        m
          ? m()
          : Z(
              Dr,
              {
                name: y,
                size: e.iconSize,
                class: w,
                classPrefix: e.iconPrefix,
              },
              null,
            ),
      d = () => {
        if (A.value && e.showLoading)
          return Z("div", { class: Ea("loading") }, [
            f(e.loadingIcon, Ea("loading-icon"), r.loading),
          ]);
        if (n.value && e.showError)
          return Z("div", { class: Ea("error") }, [
            f(e.errorIcon, Ea("error-icon"), r.error),
          ]);
      },
      g = () => {
        if (n.value || !e.src) return;
        const y = {
          alt: e.alt,
          class: Ea("img"),
          style: { objectFit: e.fit, objectPosition: e.position },
        };
        return e.lazyLoad
          ? ts(Z("img", $t({ ref: i }, y), null), [[F8("lazy"), e.src]])
          : Z(
              "img",
              $t({ ref: i, src: e.src, onLoad: o, onError: u }, y),
              null,
            );
      },
      v = ({ el: y }) => {
        const w = () => {
          y === i.value && A.value && l();
        };
        i.value ? w() : yt(w);
      },
      B = ({ el: y }) => {
        y === i.value && !n.value && u();
      };
    return (
      s &&
        Ai &&
        (s.$on("loaded", v),
        s.$on("error", B),
        Tn(() => {
          s.$off("loaded", v), s.$off("error", B);
        })),
      Zt(() => {
        yt(() => {
          var y;
          (y = i.value) != null && y.complete && !e.lazyLoad && l();
        });
      }),
      () => {
        var y;
        return Z(
          "div",
          { class: Ea({ round: e.round, block: e.block }), style: a.value },
          [g(), d(), (y = r.default) == null ? void 0 : y.call(r)],
        );
      }
    );
  },
});
const rw = ht(eM),
  [tM, are] = st("checkbox-group"),
  rM = Symbol(tM),
  [nM, AM] = st("checkbox"),
  iM = wt({}, bp, {
    shape: String,
    bindGroup: Ze,
    indeterminate: { type: Boolean, default: null },
  });
var sM = et({
  name: nM,
  props: iM,
  emits: ["change", "update:modelValue"],
  setup(e, { emit: t, slots: r }) {
    const { parent: n } = In(rM),
      A = (a) => {
        const { name: o } = e,
          { max: l, modelValue: u } = n.props,
          f = u.slice();
        if (a)
          !(l && f.length >= +l) &&
            !f.includes(o) &&
            (f.push(o), e.bindGroup && n.updateValue(f));
        else {
          const d = f.indexOf(o);
          d !== -1 && (f.splice(d, 1), e.bindGroup && n.updateValue(f));
        }
      },
      i = Oe(() =>
        n && e.bindGroup
          ? n.props.modelValue.indexOf(e.name) !== -1
          : !!e.modelValue,
      ),
      s = (a = !i.value) => {
        n && e.bindGroup ? A(a) : t("update:modelValue", a),
          e.indeterminate !== null && t("change", a);
      };
    return (
      Ye(
        () => e.modelValue,
        (a) => {
          e.indeterminate === null && t("change", a);
        },
      ),
      or({ toggle: s, props: e, checked: i }),
      bo(() => e.modelValue),
      () =>
        Z(
          Z9,
          $t(
            {
              bem: AM,
              role: "checkbox",
              parent: n,
              checked: i.value,
              onToggle: s,
            },
            e,
          ),
          er(r, ["default", "icon"]),
        )
    );
  },
});
const ore = ht(sM),
  [aM, Au] = st("circle");
let oM = 0;
const Av = (e) => Math.min(Math.max(+e, 0), 100);
function lM(e, t) {
  const r = e ? 1 : 0;
  return `M ${t / 2} ${t / 2} m 0, -500 a 500, 500 0 1, ${r} 0, 1000 a 500, 500 0 1, ${r} 0, -1000`;
}
const uM = {
  text: String,
  size: tt,
  fill: dt("none"),
  rate: xt(100),
  speed: xt(0),
  color: [String, Object],
  clockwise: Ze,
  layerColor: String,
  currentRate: hp(0),
  strokeWidth: xt(40),
  strokeLinecap: String,
  startPosition: dt("top"),
};
var cM = et({
  name: aM,
  props: uM,
  emits: ["update:currentRate"],
  setup(e, { emit: t, slots: r }) {
    const n = `van-circle-${oM++}`,
      A = Oe(() => +e.strokeWidth + 1e3),
      i = Oe(() => lM(e.clockwise, A.value)),
      s = Oe(() => {
        const d = { top: 0, right: 90, bottom: 180, left: 270 }[
          e.startPosition
        ];
        if (d) return { transform: `rotate(${d}deg)` };
      });
    Ye(
      () => e.rate,
      (f) => {
        let d;
        const g = Date.now(),
          v = e.currentRate,
          B = Av(f),
          y = Math.abs(((v - B) * 1e3) / +e.speed),
          w = () => {
            const m = Date.now(),
              C = Math.min((m - g) / y, 1) * (B - v) + v;
            t("update:currentRate", Av(parseFloat(C.toFixed(1)))),
              (B > v ? C < B : C > B) && (d = nn(w));
          };
        e.speed ? (d && B0(d), (d = nn(w))) : t("update:currentRate", B);
      },
      { immediate: !0 },
    );
    const a = () => {
        const { strokeWidth: d, currentRate: g, strokeLinecap: v } = e,
          B = (3140 * g) / 100,
          y = ea(e.color) ? `url(#${n})` : e.color,
          w = {
            stroke: y,
            strokeWidth: `${+d + 1}px`,
            strokeLinecap: v,
            strokeDasharray: `${B}px 3140px`,
          };
        return Z(
          "path",
          { d: i.value, style: w, class: Au("hover"), stroke: y },
          null,
        );
      },
      o = () => {
        const f = {
          fill: e.fill,
          stroke: e.layerColor,
          strokeWidth: `${e.strokeWidth}px`,
        };
        return Z("path", { class: Au("layer"), style: f, d: i.value }, null);
      },
      l = () => {
        const { color: f } = e;
        if (!ea(f)) return;
        const d = Object.keys(f)
          .sort((g, v) => parseFloat(g) - parseFloat(v))
          .map((g, v) =>
            Z("stop", { key: v, offset: g, "stop-color": f[g] }, null),
          );
        return Z("defs", null, [
          Z(
            "linearGradient",
            { id: n, x1: "100%", y1: "0%", x2: "0%", y2: "0%" },
            [d],
          ),
        ]);
      },
      u = () => {
        if (r.default) return r.default();
        if (e.text) return Z("div", { class: Au("text") }, [e.text]);
      };
    return () =>
      Z("div", { class: Au(), style: _o(e.size) }, [
        Z("svg", { viewBox: `0 0 ${A.value} ${A.value}`, style: s.value }, [
          l(),
          o(),
          a(),
        ]),
        u(),
      ]);
  },
});
const lre = ht(cM),
  [nw, fM] = st("row"),
  Aw = Symbol(nw),
  dM = {
    tag: dt("div"),
    wrap: Ze,
    align: String,
    gutter: { type: [String, Number, Array], default: 0 },
    justify: String,
  };
var hM = et({
  name: nw,
  props: dM,
  setup(e, { slots: t }) {
    const { children: r, linkChildren: n } = bA(Aw),
      A = Oe(() => {
        const a = [[]];
        let o = 0;
        return (
          r.forEach((l, u) => {
            (o += Number(l.span)),
              o > 24 ? (a.push([u]), (o -= 24)) : a[a.length - 1].push(u);
          }),
          a
        );
      }),
      i = Oe(() => {
        let a = 0;
        Array.isArray(e.gutter)
          ? (a = Number(e.gutter[0]) || 0)
          : (a = Number(e.gutter));
        const o = [];
        return (
          a &&
            A.value.forEach((l) => {
              const u = (a * (l.length - 1)) / l.length;
              l.forEach((f, d) => {
                if (d === 0) o.push({ right: u });
                else {
                  const g = a - o[f - 1].right,
                    v = u - g;
                  o.push({ left: g, right: v });
                }
              });
            }),
          o
        );
      }),
      s = Oe(() => {
        const { gutter: a } = e,
          o = [];
        if (Array.isArray(a) && a.length > 1) {
          const l = Number(a[1]) || 0;
          if (l <= 0) return o;
          A.value.forEach((u, f) => {
            f !== A.value.length - 1 &&
              u.forEach(() => {
                o.push({ bottom: l });
              });
          });
        }
        return o;
      });
    return (
      n({ spaces: i, verticalSpaces: s }),
      () => {
        const { tag: a, wrap: o, align: l, justify: u } = e;
        return Z(
          a,
          { class: fM({ [`align-${l}`]: l, [`justify-${u}`]: u, nowrap: !o }) },
          {
            default: () => {
              var f;
              return [(f = t.default) == null ? void 0 : f.call(t)];
            },
          },
        );
      }
    );
  },
});
const [pM, gM] = st("col"),
  vM = { tag: dt("div"), span: xt(0), offset: tt };
var mM = et({
  name: pM,
  props: vM,
  setup(e, { slots: t }) {
    const { parent: r, index: n } = In(Aw),
      A = Oe(() => {
        if (!r) return;
        const { spaces: i, verticalSpaces: s } = r;
        let a = {};
        if (i && i.value && i.value[n.value]) {
          const { left: l, right: u } = i.value[n.value];
          a = {
            paddingLeft: l ? `${l}px` : null,
            paddingRight: u ? `${u}px` : null,
          };
        }
        const { bottom: o } = s.value[n.value] || {};
        return wt(a, { marginBottom: o ? `${o}px` : null });
      });
    return () => {
      const { tag: i, span: s, offset: a } = e;
      return Z(
        i,
        { style: A.value, class: gM({ [s]: s, [`offset-${a}`]: a }) },
        {
          default: () => {
            var o;
            return [(o = t.default) == null ? void 0 : o.call(t)];
          },
        },
      );
    };
  },
});
const ure = ht(mM),
  [iw, BM] = st("collapse"),
  sw = Symbol(iw),
  wM = {
    border: Ze,
    accordion: Boolean,
    modelValue: { type: [String, Number, Array], default: "" },
  };
var yM = et({
  name: iw,
  props: wM,
  emits: ["change", "update:modelValue"],
  setup(e, { emit: t, slots: r }) {
    const { linkChildren: n, children: A } = bA(sw),
      i = (l) => {
        t("change", l), t("update:modelValue", l);
      },
      s = (l, u) => {
        const { accordion: f, modelValue: d } = e;
        i(f ? (l === d ? "" : l) : u ? d.concat(l) : d.filter((g) => g !== l));
      },
      a = (l = {}) => {
        if (e.accordion) return;
        typeof l == "boolean" && (l = { expanded: l });
        const { expanded: u, skipDisabled: f } = l,
          g = A.filter((v) =>
            v.disabled && f ? v.expanded.value : u ?? !v.expanded.value,
          ).map((v) => v.itemName.value);
        i(g);
      },
      o = (l) => {
        const { accordion: u, modelValue: f } = e;
        return u ? f === l : f.includes(l);
      };
    return (
      or({ toggleAll: a }),
      n({ toggle: s, isExpanded: o }),
      () => {
        var l;
        return Z("div", { class: [BM(), { [E9]: e.border }] }, [
          (l = r.default) == null ? void 0 : l.call(r),
        ]);
      }
    );
  },
});
const cre = ht(yM),
  [CM, iu] = st("collapse-item"),
  xM = ["icon", "title", "value", "label", "right-icon"],
  EM = wt({}, wf, {
    name: tt,
    isLink: Ze,
    disabled: Boolean,
    readonly: Boolean,
    lazyRender: Ze,
  });
var bM = et({
  name: CM,
  props: EM,
  setup(e, { slots: t }) {
    const r = Ue(),
      n = Ue(),
      { parent: A, index: i } = In(sw);
    if (!A) return;
    const s = Oe(() => {
        var B;
        return (B = e.name) != null ? B : i.value;
      }),
      a = Oe(() => A.isExpanded(s.value)),
      o = Ue(a.value),
      l = Bp(() => o.value || !e.lazyRender),
      u = () => {
        a.value ? r.value && (r.value.style.height = "") : (o.value = !1);
      };
    Ye(a, (B, y) => {
      if (y === null) return;
      B && (o.value = !0),
        (B ? yt : nn)(() => {
          if (!n.value || !r.value) return;
          const { offsetHeight: m } = n.value;
          if (m) {
            const x = `${m}px`;
            (r.value.style.height = B ? "0" : x),
              Hs(() => {
                r.value && (r.value.style.height = B ? x : "0");
              });
          } else u();
        });
    });
    const f = (B = !a.value) => {
        A.toggle(s.value, B);
      },
      d = () => {
        !e.disabled && !e.readonly && f();
      },
      g = () => {
        const { border: B, disabled: y, readonly: w } = e,
          m = er(e, Object.keys(wf));
        return (
          w && (m.isLink = !1),
          (y || w) && (m.clickable = !1),
          Z(
            z9,
            $t(
              {
                role: "button",
                class: iu("title", {
                  disabled: y,
                  expanded: a.value,
                  borderless: !B,
                }),
                "aria-expanded": String(a.value),
                onClick: d,
              },
              m,
            ),
            er(t, xM),
          )
        );
      },
      v = l(() => {
        var B;
        return ts(
          Z("div", { ref: r, class: iu("wrapper"), onTransitionend: u }, [
            Z("div", { ref: n, class: iu("content") }, [
              (B = t.default) == null ? void 0 : B.call(t),
            ]),
          ]),
          [[ss, o.value]],
        );
      });
    return (
      or({ toggle: f, expanded: a, itemName: s }),
      () =>
        Z("div", { class: [iu({ border: i.value && e.border })] }, [g(), v()])
    );
  },
});
const fre = ht(bM);
function FM(e, t) {
  const { days: r } = t;
  let { hours: n, minutes: A, seconds: i, milliseconds: s } = t;
  if (
    (e.includes("DD") ? (e = e.replace("DD", Os(r))) : (n += r * 24),
    e.includes("HH") ? (e = e.replace("HH", Os(n))) : (A += n * 60),
    e.includes("mm") ? (e = e.replace("mm", Os(A))) : (i += A * 60),
    e.includes("ss") ? (e = e.replace("ss", Os(i))) : (s += i * 1e3),
    e.includes("S"))
  ) {
    const a = Os(s, 3);
    e.includes("SSS")
      ? (e = e.replace("SSS", a))
      : e.includes("SS")
        ? (e = e.replace("SS", a.slice(0, 2)))
        : (e = e.replace("S", a.charAt(0)));
  }
  return e;
}
const [_M, SM] = st("count-down"),
  QM = {
    time: xt(0),
    format: dt("HH:mm:ss"),
    autoStart: Ze,
    millisecond: Boolean,
  };
var UM = et({
  name: _M,
  props: QM,
  emits: ["change", "finish"],
  setup(e, { emit: t, slots: r }) {
    const {
        start: n,
        pause: A,
        reset: i,
        current: s,
      } = O3({
        time: +e.time,
        millisecond: e.millisecond,
        onChange: (l) => t("change", l),
        onFinish: () => t("finish"),
      }),
      a = Oe(() => FM(e.format, s.value)),
      o = () => {
        i(+e.time), e.autoStart && n();
      };
    return (
      Ye(() => e.time, o, { immediate: !0 }),
      or({ start: n, pause: A, reset: o }),
      () =>
        Z("div", { role: "timer", class: SM() }, [
          r.default ? r.default(s.value) : a.value,
        ])
    );
  },
});
const dre = ht(UM),
  iv = new Date().getFullYear(),
  [TM] = st("date-picker"),
  IM = wt({}, MH, {
    columnsType: { type: Array, default: () => ["year", "month", "day"] },
    minDate: {
      type: Date,
      default: () => new Date(iv - 10, 0, 1),
      validator: Yl,
    },
    maxDate: {
      type: Date,
      default: () => new Date(iv + 10, 11, 31),
      validator: Yl,
    },
  });
var DM = et({
  name: TM,
  props: IM,
  emits: ["confirm", "cancel", "change", "update:modelValue"],
  setup(e, { emit: t, slots: r }) {
    const n = Ue(e.modelValue),
      A = Ue(!1),
      i = () => {
        const w = e.minDate.getFullYear(),
          m = e.maxDate.getFullYear();
        return hd(w, m, "year", e.formatter, e.filter);
      },
      s = (w) => w === e.minDate.getFullYear(),
      a = (w) => w === e.maxDate.getFullYear(),
      o = (w) => w === e.minDate.getMonth() + 1,
      l = (w) => w === e.maxDate.getMonth() + 1,
      u = (w) => {
        const { minDate: m, columnsType: x } = e,
          C = x.indexOf(w),
          b = A.value ? e.modelValue[C] : n.value[C];
        if (b) return +b;
        switch (w) {
          case "year":
            return m.getFullYear();
          case "month":
            return m.getMonth() + 1;
          case "day":
            return m.getDate();
        }
      },
      f = () => {
        const w = u("year"),
          m = s(w) ? e.minDate.getMonth() + 1 : 1,
          x = a(w) ? e.maxDate.getMonth() + 1 : 12;
        return hd(m, x, "month", e.formatter, e.filter);
      },
      d = () => {
        const w = u("year"),
          m = u("month"),
          x = s(w) && o(m) ? e.minDate.getDate() : 1,
          C = a(w) && l(m) ? e.maxDate.getDate() : tw(w, m);
        return hd(x, C, "day", e.formatter, e.filter);
      },
      g = Oe(() =>
        e.columnsType.map((w) => {
          switch (w) {
            case "year":
              return i();
            case "month":
              return f();
            case "day":
              return d();
            default:
              return [];
          }
        }),
      );
    Ye(n, (w) => {
      Ji(w, e.modelValue) || t("update:modelValue", w);
    }),
      Ye(
        () => e.modelValue,
        (w, m) => {
          (A.value = Ji(m, n.value)),
            (w = $H(w, g.value)),
            Ji(w, n.value) || (n.value = w),
            (A.value = !1);
        },
        { immediate: !0 },
      );
    const v = (...w) => t("change", ...w),
      B = (...w) => t("cancel", ...w),
      y = (...w) => t("confirm", ...w);
    return () =>
      Z(
        AH,
        $t(
          {
            modelValue: n.value,
            "onUpdate:modelValue": (w) => (n.value = w),
            columns: g.value,
            onChange: v,
            onCancel: B,
            onConfirm: y,
          },
          er(e, RH),
        ),
        r,
      );
  },
});
const hre = ht(DM),
  [PM, Xn, su] = st("dialog"),
  OM = wt({}, mf, {
    title: String,
    theme: String,
    width: tt,
    message: [String, Function],
    callback: Function,
    allowHtml: Boolean,
    className: Er,
    transition: dt("van-dialog-bounce"),
    messageAlign: String,
    closeOnPopstate: Ze,
    showCancelButton: Boolean,
    cancelButtonText: String,
    cancelButtonColor: String,
    cancelButtonDisabled: Boolean,
    confirmButtonText: String,
    confirmButtonColor: String,
    confirmButtonDisabled: Boolean,
    showConfirmButton: Ze,
    closeOnClickOverlay: Boolean,
  }),
  LM = [...U9, "transition", "closeOnPopstate"];
var aw = et({
  name: PM,
  props: OM,
  emits: ["confirm", "cancel", "keydown", "update:show"],
  setup(e, { emit: t, slots: r }) {
    const n = Ue(),
      A = Rt({ confirm: !1, cancel: !1 }),
      i = (w) => t("update:show", w),
      s = (w) => {
        var m;
        i(!1), (m = e.callback) == null || m.call(e, w);
      },
      a = (w) => () => {
        e.show &&
          (t(w),
          e.beforeClose
            ? ((A[w] = !0),
              x0(e.beforeClose, {
                args: [w],
                done() {
                  s(w), (A[w] = !1);
                },
                canceled() {
                  A[w] = !1;
                },
              }))
            : s(w));
      },
      o = a("cancel"),
      l = a("confirm"),
      u = g3(
        (w) => {
          var m, x;
          if (
            w.target !==
            ((x = (m = n.value) == null ? void 0 : m.popupRef) == null
              ? void 0
              : x.value)
          )
            return;
          ({
            Enter: e.showConfirmButton ? l : N2,
            Escape: e.showCancelButton ? o : N2,
          })[w.key](),
            t("keydown", w);
        },
        ["enter", "esc"],
      ),
      f = () => {
        const w = r.title ? r.title() : e.title;
        if (w)
          return Z(
            "div",
            { class: Xn("header", { isolated: !e.message && !r.default }) },
            [w],
          );
      },
      d = (w) => {
        const { message: m, allowHtml: x, messageAlign: C } = e,
          b = Xn("message", { "has-title": w, [C]: C }),
          F = to(m) ? m() : m;
        return x && typeof F == "string"
          ? Z("div", { class: b, innerHTML: F }, null)
          : Z("div", { class: b }, [F]);
      },
      g = () => {
        if (r.default) return Z("div", { class: Xn("content") }, [r.default()]);
        const { title: w, message: m, allowHtml: x } = e;
        if (m) {
          const C = !!(w || r.title);
          return Z(
            "div",
            { key: x ? 1 : 0, class: Xn("content", { isolated: !C }) },
            [d(C)],
          );
        }
      },
      v = () =>
        Z("div", { class: [x9, Xn("footer")] }, [
          e.showCancelButton &&
            Z(
              fc,
              {
                size: "large",
                text: e.cancelButtonText || su("cancel"),
                class: Xn("cancel"),
                style: { color: e.cancelButtonColor },
                loading: A.cancel,
                disabled: e.cancelButtonDisabled,
                onClick: o,
              },
              null,
            ),
          e.showConfirmButton &&
            Z(
              fc,
              {
                size: "large",
                text: e.confirmButtonText || su("confirm"),
                class: [Xn("confirm"), { [vL]: e.showCancelButton }],
                style: { color: e.confirmButtonColor },
                loading: A.confirm,
                disabled: e.confirmButtonDisabled,
                onClick: l,
              },
              null,
            ),
        ]),
      B = () =>
        Z(
          _L,
          { class: Xn("footer") },
          {
            default: () => [
              e.showCancelButton &&
                Z(
                  G4,
                  {
                    type: "warning",
                    text: e.cancelButtonText || su("cancel"),
                    class: Xn("cancel"),
                    color: e.cancelButtonColor,
                    loading: A.cancel,
                    disabled: e.cancelButtonDisabled,
                    onClick: o,
                  },
                  null,
                ),
              e.showConfirmButton &&
                Z(
                  G4,
                  {
                    type: "danger",
                    text: e.confirmButtonText || su("confirm"),
                    class: Xn("confirm"),
                    color: e.confirmButtonColor,
                    loading: A.confirm,
                    disabled: e.confirmButtonDisabled,
                    onClick: l,
                  },
                  null,
                ),
            ],
          },
        ),
      y = () =>
        r.footer ? r.footer() : e.theme === "round-button" ? B() : v();
    return () => {
      const { width: w, title: m, theme: x, message: C, className: b } = e;
      return Z(
        Uo,
        $t(
          {
            ref: n,
            role: "dialog",
            class: [Xn([x]), b],
            style: { width: It(w) },
            tabindex: 0,
            "aria-labelledby": m || C,
            onKeydown: u,
            "onUpdate:show": i,
          },
          er(e, LM),
        ),
        { default: () => [f(), g(), y()] },
      );
    };
  },
});
let Y2;
const kM = {
  title: "",
  width: "",
  theme: null,
  message: "",
  overlay: !0,
  callback: null,
  teleport: "body",
  className: "",
  allowHtml: !1,
  lockScroll: !0,
  transition: void 0,
  beforeClose: null,
  overlayClass: "",
  overlayStyle: void 0,
  messageAlign: "",
  cancelButtonText: "",
  cancelButtonColor: null,
  cancelButtonDisabled: !1,
  confirmButtonText: "",
  confirmButtonColor: null,
  confirmButtonDisabled: !1,
  showConfirmButton: !0,
  showCancelButton: !1,
  closeOnPopstate: !0,
  closeOnClickOverlay: !1,
};
let HM = wt({}, kM);
function MM() {
  ({ instance: Y2 } = xp({
    setup() {
      const { state: t, toggle: r } = Cp();
      return () => Z(aw, $t(t, { "onUpdate:show": r }), null);
    },
  }));
}
function RM(e) {
  return Ai
    ? new Promise((t, r) => {
        Y2 || MM(),
          Y2.open(
            wt({}, HM, e, {
              callback: (n) => {
                (n === "confirm" ? t : r)(n);
              },
            }),
          );
      })
    : Promise.resolve(void 0);
}
const pre = (e) => RM(wt({ showCancelButton: !0 }, e)),
  gre = ht(aw),
  [NM, $M] = st("divider"),
  KM = {
    dashed: Boolean,
    hairline: Ze,
    vertical: Boolean,
    contentPosition: dt("center"),
  };
var VM = et({
  name: NM,
  props: KM,
  setup(e, { slots: t }) {
    return () => {
      var r;
      return Z(
        "div",
        {
          role: "separator",
          class: $M({
            dashed: e.dashed,
            hairline: e.hairline,
            vertical: e.vertical,
            [`content-${e.contentPosition}`]: !!t.default && !e.vertical,
          }),
        },
        [!e.vertical && ((r = t.default) == null ? void 0 : r.call(t))],
      );
    };
  },
});
const vre = ht(VM),
  [ow, GM] = st("grid"),
  WM = {
    square: Boolean,
    center: Ze,
    border: Ze,
    gutter: tt,
    reverse: Boolean,
    iconSize: tt,
    direction: String,
    clickable: Boolean,
    columnNum: xt(4),
  },
  lw = Symbol(ow);
var zM = et({
  name: ow,
  props: WM,
  setup(e, { slots: t }) {
    const { linkChildren: r } = bA(lw);
    return (
      r({ props: e }),
      () => {
        var n;
        return Z(
          "div",
          {
            style: { paddingLeft: It(e.gutter) },
            class: [GM(), { [x9]: e.border && !e.gutter }],
          },
          [(n = t.default) == null ? void 0 : n.call(t)],
        );
      }
    );
  },
});
const mre = ht(zM),
  [jM, au] = st("grid-item"),
  YM = wt({}, So, {
    dot: Boolean,
    text: String,
    icon: String,
    badge: tt,
    iconColor: String,
    iconPrefix: String,
    badgeProps: Object,
  });
var XM = et({
  name: jM,
  props: YM,
  setup(e, { slots: t }) {
    const { parent: r, index: n } = In(lw),
      A = E0();
    if (!r) return;
    const i = Oe(() => {
        const { square: u, gutter: f, columnNum: d } = r.props,
          g = `${100 / +d}%`,
          v = { flexBasis: g };
        if (u) v.paddingTop = g;
        else if (f) {
          const B = It(f);
          (v.paddingRight = B), n.value >= +d && (v.marginTop = B);
        }
        return v;
      }),
      s = Oe(() => {
        const { square: u, gutter: f } = r.props;
        if (u && f) {
          const d = It(f);
          return { right: d, bottom: d, height: "auto" };
        }
      }),
      a = () => {
        if (t.icon)
          return Z(vf, $t({ dot: e.dot, content: e.badge }, e.badgeProps), {
            default: t.icon,
          });
        if (e.icon)
          return Z(
            Dr,
            {
              dot: e.dot,
              name: e.icon,
              size: r.props.iconSize,
              badge: e.badge,
              class: au("icon"),
              color: e.iconColor,
              badgeProps: e.badgeProps,
              classPrefix: e.iconPrefix,
            },
            null,
          );
      },
      o = () => {
        if (t.text) return t.text();
        if (e.text) return Z("span", { class: au("text") }, [e.text]);
      },
      l = () => (t.default ? t.default() : [a(), o()]);
    return () => {
      const {
          center: u,
          border: f,
          square: d,
          gutter: g,
          reverse: v,
          direction: B,
          clickable: y,
        } = r.props,
        w = [
          au("content", [
            B,
            {
              center: u,
              square: d,
              reverse: v,
              clickable: y,
              surround: f && g,
            },
          ]),
          { [ps]: f },
        ];
      return Z("div", { class: [au({ square: d })], style: i.value }, [
        Z(
          "div",
          {
            role: y ? "button" : void 0,
            class: w,
            style: s.value,
            tabindex: y ? 0 : void 0,
            onClick: A,
          },
          [l()],
        ),
      ]);
    };
  },
});
const Bre = ht(XM),
  sv = (e) =>
    Math.sqrt(
      (e[0].clientX - e[1].clientX) ** 2 + (e[0].clientY - e[1].clientY) ** 2,
    ),
  JM = (e) => ({
    x: (e[0].clientX + e[1].clientX) / 2,
    y: (e[0].clientY + e[1].clientY) / 2,
  }),
  pd = st("image-preview")[1],
  av = 2.6,
  qM = {
    src: String,
    show: Boolean,
    active: Number,
    minZoom: Nr(tt),
    maxZoom: Nr(tt),
    rootWidth: Nr(Number),
    rootHeight: Nr(Number),
    disableZoom: Boolean,
    doubleScale: Boolean,
    closeOnClickOverlay: Boolean,
  };
var ZM = et({
  props: qM,
  emits: ["scale", "close", "longPress"],
  setup(e, { emit: t, slots: r }) {
    const n = Rt({
        scale: 1,
        moveX: 0,
        moveY: 0,
        moving: !1,
        zooming: !1,
        initializing: !1,
        imageRatio: 0,
      }),
      A = Qo(),
      i = Ue(),
      s = Ue(),
      a = Ue(!1),
      o = Ue(!1);
    let l = 0;
    const u = Oe(() => {
        const {
            scale: V,
            moveX: G,
            moveY: le,
            moving: q,
            zooming: ue,
            initializing: Ce,
          } = n,
          ee = { transitionDuration: ue || q || Ce ? "0s" : ".3s" };
        return (
          (V !== 1 || o.value) &&
            (ee.transform = `matrix(${V}, 0, 0, ${V}, ${G}, ${le})`),
          ee
        );
      }),
      f = Oe(() => {
        if (n.imageRatio) {
          const { rootWidth: V, rootHeight: G } = e,
            le = a.value ? G / n.imageRatio : V;
          return Math.max(0, (n.scale * le - V) / 2);
        }
        return 0;
      }),
      d = Oe(() => {
        if (n.imageRatio) {
          const { rootWidth: V, rootHeight: G } = e,
            le = a.value ? G : V * n.imageRatio;
          return Math.max(0, (n.scale * le - G) / 2);
        }
        return 0;
      }),
      g = (V, G) => {
        var le;
        if (((V = rn(V, +e.minZoom, +e.maxZoom + 1)), V !== n.scale)) {
          const q = V / n.scale;
          if (((n.scale = V), G)) {
            const ue = Ir((le = i.value) == null ? void 0 : le.$el),
              Ce = { x: ue.width * 0.5, y: ue.height * 0.5 },
              ee = n.moveX - (G.x - ue.left - Ce.x) * (q - 1),
              ce = n.moveY - (G.y - ue.top - Ce.y) * (q - 1);
            (n.moveX = rn(ee, -f.value, f.value)),
              (n.moveY = rn(ce, -d.value, d.value));
          } else (n.moveX = 0), (n.moveY = o.value ? l : 0);
          t("scale", { scale: V, index: e.active });
        }
      },
      v = () => {
        g(1);
      },
      B = () => {
        const V = n.scale > 1 ? 1 : 2;
        g(
          V,
          V === 2 || o.value
            ? { x: A.startX.value, y: A.startY.value }
            : void 0,
        );
      };
    let y,
      w,
      m,
      x,
      C,
      b,
      F,
      I,
      T = !1;
    const D = (V) => {
        const { touches: G } = V;
        if (((y = G.length), y === 2 && e.disableZoom)) return;
        const { offsetX: le } = A;
        A.start(V),
          (w = n.moveX),
          (m = n.moveY),
          (I = Date.now()),
          (T = !1),
          (n.moving = y === 1 && (n.scale !== 1 || o.value)),
          (n.zooming = y === 2 && !le.value),
          n.zooming && ((x = n.scale), (C = sv(G)));
      },
      U = (V) => {
        const { touches: G } = V;
        if ((A.move(V), n.moving)) {
          const { deltaX: le, deltaY: q } = A,
            ue = le.value + w,
            Ce = q.value + m;
          if ((ue > f.value || ue < -f.value) && !T && A.isHorizontal()) {
            n.moving = !1;
            return;
          }
          (T = !0),
            gn(V, !0),
            (n.moveX = rn(ue, -f.value, f.value)),
            (n.moveY = rn(Ce, -d.value, d.value));
        }
        if (n.zooming && (gn(V, !0), G.length === 2)) {
          const le = sv(G),
            q = (x * le) / C;
          (b = JM(G)), g(q, b);
        }
      },
      Q = (V) => {
        var G;
        if (y > 1) return;
        const { offsetX: le, offsetY: q } = A,
          ue = Date.now() - I,
          Ce = 250;
        if (le.value < cc && q.value < cc)
          if (ue < Ce)
            if (e.doubleScale)
              if (F) clearTimeout(F), (F = null), B();
              else {
                if (
                  !e.closeOnClickOverlay &&
                  V.target === ((G = s.value) == null ? void 0 : G.$el)
                )
                  return;
                F = setTimeout(() => {
                  t("close"), (F = null);
                }, Ce);
              }
            else t("close");
          else ue > xL && t("longPress");
      },
      L = (V) => {
        let G = !1;
        if (
          (n.moving || n.zooming) &&
          ((G = !0),
          n.moving && w === n.moveX && m === n.moveY && (G = !1),
          !V.touches.length)
        ) {
          n.zooming &&
            ((n.moveX = rn(n.moveX, -f.value, f.value)),
            (n.moveY = rn(n.moveY, -d.value, d.value)),
            (n.zooming = !1)),
            (n.moving = !1),
            (w = 0),
            (m = 0),
            (x = 1),
            n.scale < 1 && v();
          const le = +e.maxZoom;
          n.scale > le && g(le, b);
        }
        gn(V, G), Q(V), A.reset();
      },
      $ = () => {
        const { rootWidth: V, rootHeight: G } = e,
          le = G / V,
          { imageRatio: q } = n;
        (a.value = n.imageRatio > le && q < av),
          (o.value = n.imageRatio > le && q >= av),
          o.value &&
            ((l = (q * V - G) / 2),
            (n.moveY = l),
            (n.initializing = !0),
            nn(() => {
              n.initializing = !1;
            })),
          v();
      },
      X = (V) => {
        const { naturalWidth: G, naturalHeight: le } = V.target;
        (n.imageRatio = le / G), $();
      };
    return (
      Ye(() => e.active, v),
      Ye(
        () => e.show,
        (V) => {
          V || v();
        },
      ),
      Ye(() => [e.rootWidth, e.rootHeight], $),
      wn("touchmove", U, {
        target: Oe(() => {
          var V;
          return (V = s.value) == null ? void 0 : V.$el;
        }),
      }),
      or({ resetScale: v }),
      () => {
        const V = { loading: () => Z(fi, { type: "spinner" }, null) };
        return Z(
          W9,
          {
            ref: s,
            class: pd("swipe-item"),
            onTouchstartPassive: D,
            onTouchend: L,
            onTouchcancel: L,
          },
          {
            default: () => [
              r.image
                ? Z("div", { class: pd("image-wrap") }, [
                    r.image({ src: e.src }),
                  ])
                : Z(
                    rw,
                    {
                      ref: i,
                      src: e.src,
                      fit: "contain",
                      class: pd("image", { vertical: a.value }),
                      style: u.value,
                      onLoad: X,
                    },
                    V,
                  ),
            ],
          },
        );
      }
    );
  },
});
const [eR, ba] = st("image-preview"),
  tR = ["show", "teleport", "transition", "overlayStyle", "closeOnPopstate"],
  rR = {
    show: Boolean,
    loop: Ze,
    images: ii(),
    minZoom: xt(1 / 3),
    maxZoom: xt(3),
    overlay: Ze,
    closeable: Boolean,
    showIndex: Ze,
    className: Er,
    closeIcon: dt("clear"),
    transition: String,
    beforeClose: Function,
    doubleScale: Ze,
    overlayClass: Er,
    overlayStyle: Object,
    swipeDuration: xt(300),
    startPosition: xt(0),
    showIndicators: Boolean,
    closeOnPopstate: Ze,
    closeOnClickOverlay: Ze,
    closeIconPosition: dt("top-right"),
    teleport: [String, Object],
  };
var uw = et({
  name: eR,
  props: rR,
  emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
  setup(e, { emit: t, slots: r }) {
    const n = Ue(),
      A = Ue(),
      i = Rt({ active: 0, rootWidth: 0, rootHeight: 0, disableZoom: !1 }),
      s = () => {
        if (n.value) {
          const x = Ir(n.value.$el);
          (i.rootWidth = x.width), (i.rootHeight = x.height), n.value.resize();
        }
      },
      a = (x) => t("scale", x),
      o = (x) => t("update:show", x),
      l = () => {
        x0(e.beforeClose, { args: [i.active], done: () => o(!1) });
      },
      u = (x) => {
        x !== i.active && ((i.active = x), t("change", x));
      },
      f = () => {
        if (e.showIndex)
          return Z("div", { class: ba("index") }, [
            r.index
              ? r.index({ index: i.active })
              : `${i.active + 1} / ${e.images.length}`,
          ]);
      },
      d = () => {
        if (r.cover) return Z("div", { class: ba("cover") }, [r.cover()]);
      },
      g = () => {
        i.disableZoom = !0;
      },
      v = () => {
        i.disableZoom = !1;
      },
      B = () =>
        Z(
          $9,
          {
            ref: n,
            lazyRender: !0,
            loop: e.loop,
            class: ba("swipe"),
            duration: e.swipeDuration,
            initialSwipe: e.startPosition,
            showIndicators: e.showIndicators,
            indicatorColor: "white",
            onChange: u,
            onDragEnd: v,
            onDragStart: g,
          },
          {
            default: () => [
              e.images.map((x, C) =>
                Z(
                  ZM,
                  {
                    ref: (b) => {
                      C === i.active && (A.value = b);
                    },
                    src: x,
                    show: e.show,
                    active: i.active,
                    maxZoom: e.maxZoom,
                    minZoom: e.minZoom,
                    rootWidth: i.rootWidth,
                    rootHeight: i.rootHeight,
                    disableZoom: i.disableZoom,
                    doubleScale: e.doubleScale,
                    closeOnClickOverlay: e.closeOnClickOverlay,
                    onScale: a,
                    onClose: l,
                    onLongPress: () => t("longPress", { index: C }),
                  },
                  { image: r.image },
                ),
              ),
            ],
          },
        ),
      y = () => {
        if (e.closeable)
          return Z(
            Dr,
            {
              role: "button",
              name: e.closeIcon,
              class: [ba("close-icon", e.closeIconPosition), Xl],
              onClick: l,
            },
            null,
          );
      },
      w = () => t("closed"),
      m = (x, C) => {
        var b;
        return (b = n.value) == null ? void 0 : b.swipeTo(x, C);
      };
    return (
      or({
        resetScale: () => {
          var x;
          (x = A.value) == null || x.resetScale();
        },
        swipeTo: m,
      }),
      Zt(s),
      Ye([Fo, C0], s),
      Ye(
        () => e.startPosition,
        (x) => u(+x),
      ),
      Ye(
        () => e.show,
        (x) => {
          const { images: C, startPosition: b } = e;
          x
            ? (u(+b),
              yt(() => {
                s(), m(+b, { immediate: !0 });
              }))
            : t("close", { index: i.active, url: C[i.active] });
        },
      ),
      () =>
        Z(
          Uo,
          $t(
            {
              class: [ba(), e.className],
              overlayClass: [ba("overlay"), e.overlayClass],
              onClosed: w,
              "onUpdate:show": o,
            },
            er(e, tR),
          ),
          { default: () => [y(), B(), f(), d()] },
        )
    );
  },
});
let Vu;
const nR = {
  loop: !0,
  images: [],
  maxZoom: 3,
  minZoom: 1 / 3,
  onScale: void 0,
  onClose: void 0,
  onChange: void 0,
  teleport: "body",
  className: "",
  showIndex: !0,
  closeable: !1,
  closeIcon: "clear",
  transition: void 0,
  beforeClose: void 0,
  doubleScale: !0,
  overlayStyle: void 0,
  overlayClass: void 0,
  startPosition: 0,
  swipeDuration: 300,
  showIndicators: !1,
  closeOnPopstate: !0,
  closeOnClickOverlay: !0,
  closeIconPosition: "top-right",
};
function AR() {
  ({ instance: Vu } = xp({
    setup() {
      const { state: e, toggle: t } = Cp(),
        r = () => {
          e.images = [];
        };
      return () => Z(uw, $t(e, { onClosed: r, "onUpdate:show": t }), null);
    },
  }));
}
const iR = (e, t = 0) => {
  if (Ai)
    return (
      Vu || AR(),
      (e = Array.isArray(e) ? { images: e, startPosition: t } : e),
      Vu.open(wt({}, nR, e)),
      Vu
    );
};
ht(uw);
const [sR, Fa, aR] = st("list"),
  oR = {
    error: Boolean,
    offset: xt(300),
    loading: Boolean,
    disabled: Boolean,
    finished: Boolean,
    scroller: Object,
    errorText: String,
    direction: dt("down"),
    loadingText: String,
    finishedText: String,
    immediateCheck: Ze,
  };
var lR = et({
  name: sR,
  props: oR,
  emits: ["load", "update:error", "update:loading"],
  setup(e, { emit: t, slots: r }) {
    const n = Ue(e.loading),
      A = Ue(),
      i = Ue(),
      s = Gk(),
      a = w0(A),
      o = Oe(() => e.scroller || a.value),
      l = () => {
        yt(() => {
          if (
            n.value ||
            e.finished ||
            e.disabled ||
            e.error ||
            (s == null ? void 0 : s.value) === !1
          )
            return;
          const { direction: v } = e,
            B = +e.offset,
            y = Ir(o);
          if (!y.height || ro(A)) return;
          let w = !1;
          const m = Ir(i);
          v === "up"
            ? (w = y.top - m.top <= B)
            : (w = m.bottom - y.bottom <= B),
            w && ((n.value = !0), t("update:loading", !0), t("load"));
        });
      },
      u = () => {
        if (e.finished) {
          const v = r.finished ? r.finished() : e.finishedText;
          if (v) return Z("div", { class: Fa("finished-text") }, [v]);
        }
      },
      f = () => {
        t("update:error", !1), l();
      },
      d = () => {
        if (e.error) {
          const v = r.error ? r.error() : e.errorText;
          if (v)
            return Z(
              "div",
              {
                role: "button",
                class: Fa("error-text"),
                tabindex: 0,
                onClick: f,
              },
              [v],
            );
        }
      },
      g = () => {
        if (n.value && !e.finished && !e.disabled)
          return Z("div", { class: Fa("loading") }, [
            r.loading
              ? r.loading()
              : Z(
                  fi,
                  { class: Fa("loading-icon") },
                  { default: () => [e.loadingText || aR("loading")] },
                ),
          ]);
      };
    return (
      Ye(() => [e.loading, e.finished, e.error], l),
      s &&
        Ye(s, (v) => {
          v && l();
        }),
      Aa(() => {
        n.value = e.loading;
      }),
      Zt(() => {
        e.immediateCheck && l();
      }),
      or({ check: l }),
      wn("scroll", l, { target: o, passive: !0 }),
      () => {
        var v;
        const B = (v = r.default) == null ? void 0 : v.call(r),
          y = Z("div", { ref: i, class: Fa("placeholder") }, null);
        return Z(
          "div",
          { ref: A, role: "feed", class: Fa(), "aria-busy": n.value },
          [
            e.direction === "down" ? B : y,
            g(),
            u(),
            d(),
            e.direction === "up" ? B : y,
          ],
        );
      }
    );
  },
});
const wre = ht(lR);
function oA(e) {
  if (e == null) return window;
  if (e.toString() !== "[object Window]") {
    var t = e.ownerDocument;
    return (t && t.defaultView) || window;
  }
  return e;
}
function _p(e) {
  var t = oA(e).Element;
  return e instanceof t || e instanceof Element;
}
function AA(e) {
  var t = oA(e).HTMLElement;
  return e instanceof t || e instanceof HTMLElement;
}
function cw(e) {
  if (typeof ShadowRoot > "u") return !1;
  var t = oA(e).ShadowRoot;
  return e instanceof t || e instanceof ShadowRoot;
}
var no = Math.round;
function X2() {
  var e = navigator.userAgentData;
  return e != null && e.brands
    ? e.brands
        .map(function (t) {
          return t.brand + "/" + t.version;
        })
        .join(" ")
    : navigator.userAgent;
}
function uR() {
  return !/^((?!chrome|android).)*safari/i.test(X2());
}
function hc(e, t, r) {
  t === void 0 && (t = !1), r === void 0 && (r = !1);
  var n = e.getBoundingClientRect(),
    A = 1,
    i = 1;
  t &&
    AA(e) &&
    ((A = (e.offsetWidth > 0 && no(n.width) / e.offsetWidth) || 1),
    (i = (e.offsetHeight > 0 && no(n.height) / e.offsetHeight) || 1));
  var s = _p(e) ? oA(e) : window,
    a = s.visualViewport,
    o = !uR() && r,
    l = (n.left + (o && a ? a.offsetLeft : 0)) / A,
    u = (n.top + (o && a ? a.offsetTop : 0)) / i,
    f = n.width / A,
    d = n.height / i;
  return {
    width: f,
    height: d,
    top: u,
    right: l + f,
    bottom: u + d,
    left: l,
    x: l,
    y: u,
  };
}
function fw(e) {
  var t = oA(e),
    r = t.pageXOffset,
    n = t.pageYOffset;
  return { scrollLeft: r, scrollTop: n };
}
function cR(e) {
  return { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop };
}
function fR(e) {
  return e === oA(e) || !AA(e) ? fw(e) : cR(e);
}
function si(e) {
  return e ? (e.nodeName || "").toLowerCase() : null;
}
function yf(e) {
  return ((_p(e) ? e.ownerDocument : e.document) || window.document)
    .documentElement;
}
function dR(e) {
  return hc(yf(e)).left + fw(e).scrollLeft;
}
function ai(e) {
  return oA(e).getComputedStyle(e);
}
function Sp(e) {
  var t = ai(e),
    r = t.overflow,
    n = t.overflowX,
    A = t.overflowY;
  return /auto|scroll|overlay|hidden/.test(r + A + n);
}
function hR(e) {
  var t = e.getBoundingClientRect(),
    r = no(t.width) / e.offsetWidth || 1,
    n = no(t.height) / e.offsetHeight || 1;
  return r !== 1 || n !== 1;
}
function pR(e, t, r) {
  r === void 0 && (r = !1);
  var n = AA(t),
    A = AA(t) && hR(t),
    i = yf(t),
    s = hc(e, A, r),
    a = { scrollLeft: 0, scrollTop: 0 },
    o = { x: 0, y: 0 };
  return (
    (n || (!n && !r)) &&
      ((si(t) !== "body" || Sp(i)) && (a = fR(t)),
      AA(t)
        ? ((o = hc(t, !0)), (o.x += t.clientLeft), (o.y += t.clientTop))
        : i && (o.x = dR(i))),
    {
      x: s.left + a.scrollLeft - o.x,
      y: s.top + a.scrollTop - o.y,
      width: s.width,
      height: s.height,
    }
  );
}
function gR(e) {
  var t = hc(e),
    r = e.offsetWidth,
    n = e.offsetHeight;
  return (
    Math.abs(t.width - r) <= 1 && (r = t.width),
    Math.abs(t.height - n) <= 1 && (n = t.height),
    { x: e.offsetLeft, y: e.offsetTop, width: r, height: n }
  );
}
function Qp(e) {
  return si(e) === "html"
    ? e
    : e.assignedSlot || e.parentNode || (cw(e) ? e.host : null) || yf(e);
}
function dw(e) {
  return ["html", "body", "#document"].indexOf(si(e)) >= 0
    ? e.ownerDocument.body
    : AA(e) && Sp(e)
      ? e
      : dw(Qp(e));
}
function Gu(e, t) {
  var r;
  t === void 0 && (t = []);
  var n = dw(e),
    A = n === ((r = e.ownerDocument) == null ? void 0 : r.body),
    i = oA(n),
    s = A ? [i].concat(i.visualViewport || [], Sp(n) ? n : []) : n,
    a = t.concat(s);
  return A ? a : a.concat(Gu(Qp(s)));
}
function vR(e) {
  return ["table", "td", "th"].indexOf(si(e)) >= 0;
}
function ov(e) {
  return !AA(e) || ai(e).position === "fixed" ? null : e.offsetParent;
}
function mR(e) {
  var t = /firefox/i.test(X2()),
    r = /Trident/i.test(X2());
  if (r && AA(e)) {
    var n = ai(e);
    if (n.position === "fixed") return null;
  }
  var A = Qp(e);
  for (cw(A) && (A = A.host); AA(A) && ["html", "body"].indexOf(si(A)) < 0; ) {
    var i = ai(A);
    if (
      i.transform !== "none" ||
      i.perspective !== "none" ||
      i.contain === "paint" ||
      ["transform", "perspective"].indexOf(i.willChange) !== -1 ||
      (t && i.willChange === "filter") ||
      (t && i.filter && i.filter !== "none")
    )
      return A;
    A = A.parentNode;
  }
  return null;
}
function hw(e) {
  for (var t = oA(e), r = ov(e); r && vR(r) && ai(r).position === "static"; )
    r = ov(r);
  return r &&
    (si(r) === "html" || (si(r) === "body" && ai(r).position === "static"))
    ? t
    : r || mR(e) || t;
}
var ja = "top",
  pc = "bottom",
  ql = "right",
  zs = "left",
  pw = "auto",
  BR = [ja, pc, ql, zs],
  gw = "start",
  gc = "end",
  wR = [].concat(BR, [pw]).reduce(function (e, t) {
    return e.concat([t, t + "-" + gw, t + "-" + gc]);
  }, []),
  yR = "beforeRead",
  CR = "read",
  xR = "afterRead",
  ER = "beforeMain",
  bR = "main",
  FR = "afterMain",
  _R = "beforeWrite",
  SR = "write",
  QR = "afterWrite",
  J2 = [yR, CR, xR, ER, bR, FR, _R, SR, QR];
function UR(e) {
  var t = new Map(),
    r = new Set(),
    n = [];
  e.forEach(function (i) {
    t.set(i.name, i);
  });
  function A(i) {
    r.add(i.name);
    var s = [].concat(i.requires || [], i.requiresIfExists || []);
    s.forEach(function (a) {
      if (!r.has(a)) {
        var o = t.get(a);
        o && A(o);
      }
    }),
      n.push(i);
  }
  return (
    e.forEach(function (i) {
      r.has(i.name) || A(i);
    }),
    n
  );
}
function TR(e) {
  var t = UR(e);
  return J2.reduce(function (r, n) {
    return r.concat(
      t.filter(function (A) {
        return A.phase === n;
      }),
    );
  }, []);
}
function IR(e) {
  var t;
  return function () {
    return (
      t ||
        (t = new Promise(function (r) {
          Promise.resolve().then(function () {
            (t = void 0), r(e());
          });
        })),
      t
    );
  };
}
function Si(e) {
  for (
    var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1;
    n < t;
    n++
  )
    r[n - 1] = arguments[n];
  return [].concat(r).reduce(function (A, i) {
    return A.replace(/%s/, i);
  }, e);
}
var Qs =
    'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',
  DR =
    'Popper: modifier "%s" requires "%s", but "%s" modifier is not available',
  lv = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
function PR(e) {
  e.forEach(function (t) {
    []
      .concat(Object.keys(t), lv)
      .filter(function (r, n, A) {
        return A.indexOf(r) === n;
      })
      .forEach(function (r) {
        switch (r) {
          case "name":
            typeof t.name != "string" &&
              console.error(
                Si(
                  Qs,
                  String(t.name),
                  '"name"',
                  '"string"',
                  '"' + String(t.name) + '"',
                ),
              );
            break;
          case "enabled":
            typeof t.enabled != "boolean" &&
              console.error(
                Si(
                  Qs,
                  t.name,
                  '"enabled"',
                  '"boolean"',
                  '"' + String(t.enabled) + '"',
                ),
              );
            break;
          case "phase":
            J2.indexOf(t.phase) < 0 &&
              console.error(
                Si(
                  Qs,
                  t.name,
                  '"phase"',
                  "either " + J2.join(", "),
                  '"' + String(t.phase) + '"',
                ),
              );
            break;
          case "fn":
            typeof t.fn != "function" &&
              console.error(
                Si(Qs, t.name, '"fn"', '"function"', '"' + String(t.fn) + '"'),
              );
            break;
          case "effect":
            t.effect != null &&
              typeof t.effect != "function" &&
              console.error(
                Si(
                  Qs,
                  t.name,
                  '"effect"',
                  '"function"',
                  '"' + String(t.fn) + '"',
                ),
              );
            break;
          case "requires":
            t.requires != null &&
              !Array.isArray(t.requires) &&
              console.error(
                Si(
                  Qs,
                  t.name,
                  '"requires"',
                  '"array"',
                  '"' + String(t.requires) + '"',
                ),
              );
            break;
          case "requiresIfExists":
            Array.isArray(t.requiresIfExists) ||
              console.error(
                Si(
                  Qs,
                  t.name,
                  '"requiresIfExists"',
                  '"array"',
                  '"' + String(t.requiresIfExists) + '"',
                ),
              );
            break;
          case "options":
          case "data":
            break;
          default:
            console.error(
              'PopperJS: an invalid property has been provided to the "' +
                t.name +
                '" modifier, valid properties are ' +
                lv
                  .map(function (n) {
                    return '"' + n + '"';
                  })
                  .join(", ") +
                '; but "' +
                r +
                '" was provided.',
            );
        }
        t.requires &&
          t.requires.forEach(function (n) {
            e.find(function (A) {
              return A.name === n;
            }) == null && console.error(Si(DR, String(t.name), n, n));
          });
      });
  });
}
function OR(e, t) {
  var r = new Set();
  return e.filter(function (n) {
    var A = t(n);
    if (!r.has(A)) return r.add(A), !0;
  });
}
function Cf(e) {
  return e.split("-")[0];
}
function LR(e) {
  var t = e.reduce(function (r, n) {
    var A = r[n.name];
    return (
      (r[n.name] = A
        ? Object.assign({}, A, n, {
            options: Object.assign({}, A.options, n.options),
            data: Object.assign({}, A.data, n.data),
          })
        : n),
      r
    );
  }, {});
  return Object.keys(t).map(function (r) {
    return t[r];
  });
}
function vw(e) {
  return e.split("-")[1];
}
function kR(e) {
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
}
function HR(e) {
  var t = e.reference,
    r = e.element,
    n = e.placement,
    A = n ? Cf(n) : null,
    i = n ? vw(n) : null,
    s = t.x + t.width / 2 - r.width / 2,
    a = t.y + t.height / 2 - r.height / 2,
    o;
  switch (A) {
    case ja:
      o = { x: s, y: t.y - r.height };
      break;
    case pc:
      o = { x: s, y: t.y + t.height };
      break;
    case ql:
      o = { x: t.x + t.width, y: a };
      break;
    case zs:
      o = { x: t.x - r.width, y: a };
      break;
    default:
      o = { x: t.x, y: t.y };
  }
  var l = A ? kR(A) : null;
  if (l != null) {
    var u = l === "y" ? "height" : "width";
    switch (i) {
      case gw:
        o[l] = o[l] - (t[u] / 2 - r[u] / 2);
        break;
      case gc:
        o[l] = o[l] + (t[u] / 2 - r[u] / 2);
        break;
    }
  }
  return o;
}
var uv =
    "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",
  MR =
    "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",
  cv = { placement: "bottom", modifiers: [], strategy: "absolute" };
function fv() {
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
    t[r] = arguments[r];
  return !t.some(function (n) {
    return !(n && typeof n.getBoundingClientRect == "function");
  });
}
function RR(e) {
  e === void 0 && (e = {});
  var t = e,
    r = t.defaultModifiers,
    n = r === void 0 ? [] : r,
    A = t.defaultOptions,
    i = A === void 0 ? cv : A;
  return function (a, o, l) {
    l === void 0 && (l = i);
    var u = {
        placement: "bottom",
        orderedModifiers: [],
        options: Object.assign({}, cv, i),
        modifiersData: {},
        elements: { reference: a, popper: o },
        attributes: {},
        styles: {},
      },
      f = [],
      d = !1,
      g = {
        state: u,
        setOptions: function (w) {
          var m = typeof w == "function" ? w(u.options) : w;
          B(),
            (u.options = Object.assign({}, i, u.options, m)),
            (u.scrollParents = {
              reference: _p(a)
                ? Gu(a)
                : a.contextElement
                  ? Gu(a.contextElement)
                  : [],
              popper: Gu(o),
            });
          var x = TR(LR([].concat(n, u.options.modifiers)));
          u.orderedModifiers = x.filter(function (Q) {
            return Q.enabled;
          });
          {
            var C = OR([].concat(x, u.options.modifiers), function (Q) {
              var L = Q.name;
              return L;
            });
            if ((PR(C), Cf(u.options.placement) === pw)) {
              var b = u.orderedModifiers.find(function (Q) {
                var L = Q.name;
                return L === "flip";
              });
              b ||
                console.error(
                  [
                    'Popper: "auto" placements require the "flip" modifier be',
                    "present and enabled to work.",
                  ].join(" "),
                );
            }
            var F = ai(o),
              I = F.marginTop,
              T = F.marginRight,
              D = F.marginBottom,
              U = F.marginLeft;
            [I, T, D, U].some(function (Q) {
              return parseFloat(Q);
            }) &&
              console.warn(
                [
                  'Popper: CSS "margin" styles cannot be used to apply padding',
                  "between the popper and its reference element or boundary.",
                  "To replicate margin, use the `offset` modifier, as well as",
                  "the `padding` option in the `preventOverflow` and `flip`",
                  "modifiers.",
                ].join(" "),
              );
          }
          return v(), g.update();
        },
        forceUpdate: function () {
          if (!d) {
            var w = u.elements,
              m = w.reference,
              x = w.popper;
            if (!fv(m, x)) {
              console.error(uv);
              return;
            }
            (u.rects = {
              reference: pR(m, hw(x), u.options.strategy === "fixed"),
              popper: gR(x),
            }),
              (u.reset = !1),
              (u.placement = u.options.placement),
              u.orderedModifiers.forEach(function (Q) {
                return (u.modifiersData[Q.name] = Object.assign({}, Q.data));
              });
            for (var C = 0, b = 0; b < u.orderedModifiers.length; b++) {
              if (((C += 1), C > 100)) {
                console.error(MR);
                break;
              }
              if (u.reset === !0) {
                (u.reset = !1), (b = -1);
                continue;
              }
              var F = u.orderedModifiers[b],
                I = F.fn,
                T = F.options,
                D = T === void 0 ? {} : T,
                U = F.name;
              typeof I == "function" &&
                (u = I({ state: u, options: D, name: U, instance: g }) || u);
            }
          }
        },
        update: IR(function () {
          return new Promise(function (y) {
            g.forceUpdate(), y(u);
          });
        }),
        destroy: function () {
          B(), (d = !0);
        },
      };
    if (!fv(a, o)) return console.error(uv), g;
    g.setOptions(l).then(function (y) {
      !d && l.onFirstUpdate && l.onFirstUpdate(y);
    });
    function v() {
      u.orderedModifiers.forEach(function (y) {
        var w = y.name,
          m = y.options,
          x = m === void 0 ? {} : m,
          C = y.effect;
        if (typeof C == "function") {
          var b = C({ state: u, name: w, instance: g, options: x }),
            F = function () {};
          f.push(b || F);
        }
      });
    }
    function B() {
      f.forEach(function (y) {
        return y();
      }),
        (f = []);
    }
    return g;
  };
}
var ou = { passive: !0 };
function NR(e) {
  var t = e.state,
    r = e.instance,
    n = e.options,
    A = n.scroll,
    i = A === void 0 ? !0 : A,
    s = n.resize,
    a = s === void 0 ? !0 : s,
    o = oA(t.elements.popper),
    l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
  return (
    i &&
      l.forEach(function (u) {
        u.addEventListener("scroll", r.update, ou);
      }),
    a && o.addEventListener("resize", r.update, ou),
    function () {
      i &&
        l.forEach(function (u) {
          u.removeEventListener("scroll", r.update, ou);
        }),
        a && o.removeEventListener("resize", r.update, ou);
    }
  );
}
var $R = {
  name: "eventListeners",
  enabled: !0,
  phase: "write",
  fn: function () {},
  effect: NR,
  data: {},
};
function KR(e) {
  var t = e.state,
    r = e.name;
  t.modifiersData[r] = HR({
    reference: t.rects.reference,
    element: t.rects.popper,
    strategy: "absolute",
    placement: t.placement,
  });
}
var VR = {
    name: "popperOffsets",
    enabled: !0,
    phase: "read",
    fn: KR,
    data: {},
  },
  GR = { top: "auto", right: "auto", bottom: "auto", left: "auto" };
function WR(e) {
  var t = e.x,
    r = e.y,
    n = window,
    A = n.devicePixelRatio || 1;
  return { x: no(t * A) / A || 0, y: no(r * A) / A || 0 };
}
function dv(e) {
  var t,
    r = e.popper,
    n = e.popperRect,
    A = e.placement,
    i = e.variation,
    s = e.offsets,
    a = e.position,
    o = e.gpuAcceleration,
    l = e.adaptive,
    u = e.roundOffsets,
    f = e.isFixed,
    d = s.x,
    g = d === void 0 ? 0 : d,
    v = s.y,
    B = v === void 0 ? 0 : v,
    y = typeof u == "function" ? u({ x: g, y: B }) : { x: g, y: B };
  (g = y.x), (B = y.y);
  var w = s.hasOwnProperty("x"),
    m = s.hasOwnProperty("y"),
    x = zs,
    C = ja,
    b = window;
  if (l) {
    var F = hw(r),
      I = "clientHeight",
      T = "clientWidth";
    if (
      (F === oA(r) &&
        ((F = yf(r)),
        ai(F).position !== "static" &&
          a === "absolute" &&
          ((I = "scrollHeight"), (T = "scrollWidth"))),
      (F = F),
      A === ja || ((A === zs || A === ql) && i === gc))
    ) {
      C = pc;
      var D = f && F === b && b.visualViewport ? b.visualViewport.height : F[I];
      (B -= D - n.height), (B *= o ? 1 : -1);
    }
    if (A === zs || ((A === ja || A === pc) && i === gc)) {
      x = ql;
      var U = f && F === b && b.visualViewport ? b.visualViewport.width : F[T];
      (g -= U - n.width), (g *= o ? 1 : -1);
    }
  }
  var Q = Object.assign({ position: a }, l && GR),
    L = u === !0 ? WR({ x: g, y: B }) : { x: g, y: B };
  if (((g = L.x), (B = L.y), o)) {
    var $;
    return Object.assign(
      {},
      Q,
      (($ = {}),
      ($[C] = m ? "0" : ""),
      ($[x] = w ? "0" : ""),
      ($.transform =
        (b.devicePixelRatio || 1) <= 1
          ? "translate(" + g + "px, " + B + "px)"
          : "translate3d(" + g + "px, " + B + "px, 0)"),
      $),
    );
  }
  return Object.assign(
    {},
    Q,
    ((t = {}),
    (t[C] = m ? B + "px" : ""),
    (t[x] = w ? g + "px" : ""),
    (t.transform = ""),
    t),
  );
}
function zR(e) {
  var t = e.state,
    r = e.options,
    n = r.gpuAcceleration,
    A = n === void 0 ? !0 : n,
    i = r.adaptive,
    s = i === void 0 ? !0 : i,
    a = r.roundOffsets,
    o = a === void 0 ? !0 : a;
  {
    var l = ai(t.elements.popper).transitionProperty || "";
    s &&
      ["transform", "top", "right", "bottom", "left"].some(function (f) {
        return l.indexOf(f) >= 0;
      }) &&
      console.warn(
        [
          "Popper: Detected CSS transitions on at least one of the following",
          'CSS properties: "transform", "top", "right", "bottom", "left".',
          `

`,
          'Disable the "computeStyles" modifier\'s `adaptive` option to allow',
          "for smooth transitions, or remove these properties from the CSS",
          "transition declaration on the popper element if only transitioning",
          "opacity or background-color for example.",
          `

`,
          "We recommend using the popper element as a wrapper around an inner",
          "element that can have any CSS property transitioned for animations.",
        ].join(" "),
      );
  }
  var u = {
    placement: Cf(t.placement),
    variation: vw(t.placement),
    popper: t.elements.popper,
    popperRect: t.rects.popper,
    gpuAcceleration: A,
    isFixed: t.options.strategy === "fixed",
  };
  t.modifiersData.popperOffsets != null &&
    (t.styles.popper = Object.assign(
      {},
      t.styles.popper,
      dv(
        Object.assign({}, u, {
          offsets: t.modifiersData.popperOffsets,
          position: t.options.strategy,
          adaptive: s,
          roundOffsets: o,
        }),
      ),
    )),
    t.modifiersData.arrow != null &&
      (t.styles.arrow = Object.assign(
        {},
        t.styles.arrow,
        dv(
          Object.assign({}, u, {
            offsets: t.modifiersData.arrow,
            position: "absolute",
            adaptive: !1,
            roundOffsets: o,
          }),
        ),
      )),
    (t.attributes.popper = Object.assign({}, t.attributes.popper, {
      "data-popper-placement": t.placement,
    }));
}
var jR = {
  name: "computeStyles",
  enabled: !0,
  phase: "beforeWrite",
  fn: zR,
  data: {},
};
function YR(e) {
  var t = e.state;
  Object.keys(t.elements).forEach(function (r) {
    var n = t.styles[r] || {},
      A = t.attributes[r] || {},
      i = t.elements[r];
    !AA(i) ||
      !si(i) ||
      (Object.assign(i.style, n),
      Object.keys(A).forEach(function (s) {
        var a = A[s];
        a === !1 ? i.removeAttribute(s) : i.setAttribute(s, a === !0 ? "" : a);
      }));
  });
}
function XR(e) {
  var t = e.state,
    r = {
      popper: {
        position: t.options.strategy,
        left: "0",
        top: "0",
        margin: "0",
      },
      arrow: { position: "absolute" },
      reference: {},
    };
  return (
    Object.assign(t.elements.popper.style, r.popper),
    (t.styles = r),
    t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow),
    function () {
      Object.keys(t.elements).forEach(function (n) {
        var A = t.elements[n],
          i = t.attributes[n] || {},
          s = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]),
          a = s.reduce(function (o, l) {
            return (o[l] = ""), o;
          }, {});
        !AA(A) ||
          !si(A) ||
          (Object.assign(A.style, a),
          Object.keys(i).forEach(function (o) {
            A.removeAttribute(o);
          }));
      });
    }
  );
}
var JR = {
    name: "applyStyles",
    enabled: !0,
    phase: "write",
    fn: YR,
    effect: XR,
    requires: ["computeStyles"],
  },
  qR = [$R, VR, jR, JR],
  ZR = RR({ defaultModifiers: qR });
function eN(e, t, r) {
  var n = Cf(e),
    A = [zs, ja].indexOf(n) >= 0 ? -1 : 1,
    i = typeof r == "function" ? r(Object.assign({}, t, { placement: e })) : r,
    s = i[0],
    a = i[1];
  return (
    (s = s || 0),
    (a = (a || 0) * A),
    [zs, ql].indexOf(n) >= 0 ? { x: a, y: s } : { x: s, y: a }
  );
}
function tN(e) {
  var t = e.state,
    r = e.options,
    n = e.name,
    A = r.offset,
    i = A === void 0 ? [0, 0] : A,
    s = wR.reduce(function (u, f) {
      return (u[f] = eN(f, t.rects, i)), u;
    }, {}),
    a = s[t.placement],
    o = a.x,
    l = a.y;
  t.modifiersData.popperOffsets != null &&
    ((t.modifiersData.popperOffsets.x += o),
    (t.modifiersData.popperOffsets.y += l)),
    (t.modifiersData[n] = s);
}
var rN = {
  name: "offset",
  enabled: !0,
  phase: "main",
  requires: ["popperOffsets"],
  fn: tN,
};
const [nN, Us] = st("popover"),
  AN = [
    "overlay",
    "duration",
    "teleport",
    "overlayStyle",
    "overlayClass",
    "closeOnClickOverlay",
  ],
  iN = {
    show: Boolean,
    theme: dt("light"),
    overlay: Boolean,
    actions: ii(),
    actionsDirection: dt("vertical"),
    trigger: dt("click"),
    duration: tt,
    showArrow: Ze,
    placement: dt("bottom"),
    iconPrefix: String,
    overlayClass: Er,
    overlayStyle: Object,
    closeOnClickAction: Ze,
    closeOnClickOverlay: Ze,
    closeOnClickOutside: Ze,
    offset: { type: Array, default: () => [0, 8] },
    teleport: { type: [String, Object], default: "body" },
  };
var sN = et({
  name: nN,
  props: iN,
  emits: ["select", "touchstart", "update:show"],
  setup(e, { emit: t, slots: r, attrs: n }) {
    let A;
    const i = Ue(),
      s = Ue(),
      a = Ue(),
      o = Ck(
        () => e.show,
        (m) => t("update:show", m),
      ),
      l = () => ({
        placement: e.placement,
        modifiers: [
          {
            name: "computeStyles",
            options: { adaptive: !1, gpuAcceleration: !1 },
          },
          wt({}, rN, { options: { offset: e.offset } }),
        ],
      }),
      u = () =>
        s.value && a.value ? ZR(s.value, a.value.popupRef.value, l()) : null,
      f = () => {
        yt(() => {
          o.value &&
            (A
              ? A.setOptions(l())
              : ((A = u()),
                Ai &&
                  (window.addEventListener("animationend", f),
                  window.addEventListener("transitionend", f))));
        });
      },
      d = (m) => {
        o.value = m;
      },
      g = () => {
        e.trigger === "click" && (o.value = !o.value);
      },
      v = (m, x) => {
        m.disabled ||
          (t("select", m, x), e.closeOnClickAction && (o.value = !1));
      },
      B = () => {
        o.value &&
          e.closeOnClickOutside &&
          (!e.overlay || e.closeOnClickOverlay) &&
          (o.value = !1);
      },
      y = (m, x) =>
        r.action
          ? r.action({ action: m, index: x })
          : [
              m.icon &&
                Z(
                  Dr,
                  {
                    name: m.icon,
                    classPrefix: e.iconPrefix,
                    class: Us("action-icon"),
                  },
                  null,
                ),
              Z(
                "div",
                {
                  class: [
                    Us("action-text"),
                    { [BL]: e.actionsDirection === "vertical" },
                  ],
                },
                [m.text],
              ),
            ],
      w = (m, x) => {
        const { icon: C, color: b, disabled: F, className: I } = m;
        return Z(
          "div",
          {
            role: "menuitem",
            class: [
              Us("action", { disabled: F, "with-icon": C }),
              { [mL]: e.actionsDirection === "horizontal" },
              I,
            ],
            style: { color: b },
            tabindex: F ? void 0 : 0,
            "aria-disabled": F || void 0,
            onClick: () => v(m, x),
          },
          [y(m, x)],
        );
      };
    return (
      Zt(() => {
        f(),
          jc(() => {
            var m;
            i.value = (m = a.value) == null ? void 0 : m.popupRef.value;
          });
      }),
      Tn(() => {
        A &&
          (Ai &&
            (window.removeEventListener("animationend", f),
            window.removeEventListener("transitionend", f)),
          A.destroy(),
          (A = null));
      }),
      Ye(() => [o.value, e.offset, e.placement], f),
      L3([s, i], B, { eventName: "touchstart" }),
      () => {
        var m;
        return Z(Ar, null, [
          Z("span", { ref: s, class: Us("wrapper"), onClick: g }, [
            (m = r.reference) == null ? void 0 : m.call(r),
          ]),
          Z(
            Uo,
            $t(
              {
                ref: a,
                show: o.value,
                class: Us([e.theme]),
                position: "",
                transition: "van-popover-zoom",
                lockScroll: !1,
                "onUpdate:show": d,
              },
              n,
              K2(),
              er(e, AN),
            ),
            {
              default: () => [
                e.showArrow && Z("div", { class: Us("arrow") }, null),
                Z(
                  "div",
                  { role: "menu", class: Us("content", e.actionsDirection) },
                  [r.default ? r.default() : e.actions.map(w)],
                ),
              ],
            },
          ),
        ]);
      }
    );
  },
});
const yre = ht(sN),
  [aN, gd] = st("progress"),
  oN = {
    color: String,
    inactive: Boolean,
    pivotText: String,
    textColor: String,
    showPivot: Ze,
    pivotColor: String,
    trackColor: String,
    strokeWidth: tt,
    percentage: {
      type: tt,
      default: 0,
      validator: (e) => +e >= 0 && +e <= 100,
    },
  };
var lN = et({
  name: aN,
  props: oN,
  setup(e) {
    const t = Oe(() => (e.inactive ? void 0 : e.color)),
      r = () => {
        const { textColor: n, pivotText: A, pivotColor: i, percentage: s } = e,
          a = A ?? `${s}%`;
        if (e.showPivot && a) {
          const o = {
            color: n,
            left: `${+s}%`,
            transform: `translate(-${+s}%,-50%)`,
            background: i || t.value,
          };
          return Z(
            "span",
            { style: o, class: gd("pivot", { inactive: e.inactive }) },
            [a],
          );
        }
      };
    return () => {
      const { trackColor: n, percentage: A, strokeWidth: i } = e,
        s = { background: n, height: It(i) },
        a = { width: `${A}%`, background: t.value };
      return Z("div", { class: gd(), style: s }, [
        Z(
          "span",
          { class: gd("portion", { inactive: e.inactive }), style: a },
          null,
        ),
        r(),
      ]);
    };
  },
});
const Cre = ht(lN),
  [uN, Zo, cN] = st("pull-refresh"),
  mw = 50,
  fN = ["pulling", "loosing", "success"],
  dN = {
    disabled: Boolean,
    modelValue: Boolean,
    headHeight: xt(mw),
    successText: String,
    pullingText: String,
    loosingText: String,
    loadingText: String,
    pullDistance: tt,
    successDuration: xt(500),
    animationDuration: xt(300),
  };
var hN = et({
  name: uN,
  props: dN,
  emits: ["change", "refresh", "update:modelValue"],
  setup(e, { emit: t, slots: r }) {
    let n;
    const A = Ue(),
      i = Ue(),
      s = w0(A),
      a = Rt({ status: "normal", distance: 0, duration: 0 }),
      o = Qo(),
      l = () => {
        if (e.headHeight !== mw) return { height: `${e.headHeight}px` };
      },
      u = () => a.status !== "loading" && a.status !== "success" && !e.disabled,
      f = (C) => {
        const b = +(e.pullDistance || e.headHeight);
        return (
          C > b &&
            (C < b * 2
              ? (C = b + (C - b) / 2)
              : (C = b * 1.5 + (C - b * 2) / 4)),
          Math.round(C)
        );
      },
      d = (C, b) => {
        const F = +(e.pullDistance || e.headHeight);
        (a.distance = C),
          b
            ? (a.status = "loading")
            : C === 0
              ? (a.status = "normal")
              : C < F
                ? (a.status = "pulling")
                : (a.status = "loosing"),
          t("change", { status: a.status, distance: C });
      },
      g = () => {
        const { status: C } = a;
        return C === "normal" ? "" : e[`${C}Text`] || cN(C);
      },
      v = () => {
        const { status: C, distance: b } = a;
        if (r[C]) return r[C]({ distance: b });
        const F = [];
        return (
          fN.includes(C) && F.push(Z("div", { class: Zo("text") }, [g()])),
          C === "loading" &&
            F.push(Z(fi, { class: Zo("loading") }, { default: g })),
          F
        );
      },
      B = () => {
        (a.status = "success"),
          setTimeout(() => {
            d(0);
          }, +e.successDuration);
      },
      y = (C) => {
        (n = y0(s.value) === 0), n && ((a.duration = 0), o.start(C));
      },
      w = (C) => {
        u() && y(C);
      },
      m = (C) => {
        if (u()) {
          n || y(C);
          const { deltaY: b } = o;
          o.move(C),
            n && b.value >= 0 && o.isVertical() && (gn(C), d(f(b.value)));
        }
      },
      x = () => {
        n &&
          o.deltaY.value &&
          u() &&
          ((a.duration = +e.animationDuration),
          a.status === "loosing"
            ? (d(+e.headHeight, !0),
              t("update:modelValue", !0),
              yt(() => t("refresh")))
            : d(0));
      };
    return (
      Ye(
        () => e.modelValue,
        (C) => {
          (a.duration = +e.animationDuration),
            C
              ? d(+e.headHeight, !0)
              : r.success || e.successText
                ? B()
                : d(0, !1);
        },
      ),
      wn("touchmove", m, { target: i }),
      () => {
        var C;
        const b = {
          transitionDuration: `${a.duration}ms`,
          transform: a.distance ? `translate3d(0,${a.distance}px, 0)` : "",
        };
        return Z("div", { ref: A, class: Zo() }, [
          Z(
            "div",
            {
              ref: i,
              class: Zo("track"),
              style: b,
              onTouchstartPassive: w,
              onTouchend: x,
              onTouchcancel: x,
            },
            [
              Z("div", { class: Zo("head"), style: l() }, [v()]),
              (C = r.default) == null ? void 0 : C.call(r),
            ],
          ),
        ]);
      }
    );
  },
});
const xre = ht(hN),
  Ere = ht(hM),
  [Bw, pN] = st("sidebar"),
  ww = Symbol(Bw),
  gN = { modelValue: xt(0) };
var vN = et({
  name: Bw,
  props: gN,
  emits: ["change", "update:modelValue"],
  setup(e, { emit: t, slots: r }) {
    const { linkChildren: n } = bA(ww),
      A = () => +e.modelValue;
    return (
      n({
        getActive: A,
        setActive: (s) => {
          s !== A() && (t("update:modelValue", s), t("change", s));
        },
      }),
      () => {
        var s;
        return Z("div", { role: "tablist", class: pN() }, [
          (s = r.default) == null ? void 0 : s.call(r),
        ]);
      }
    );
  },
});
const bre = ht(vN),
  [mN, hv] = st("sidebar-item"),
  BN = wt({}, So, {
    dot: Boolean,
    title: String,
    badge: tt,
    disabled: Boolean,
    badgeProps: Object,
  });
var wN = et({
  name: mN,
  props: BN,
  emits: ["click"],
  setup(e, { emit: t, slots: r }) {
    const n = E0(),
      { parent: A, index: i } = In(ww);
    if (!A) return;
    const s = () => {
      e.disabled || (t("click", i.value), A.setActive(i.value), n());
    };
    return () => {
      const { dot: a, badge: o, title: l, disabled: u } = e,
        f = i.value === A.getActive();
      return Z(
        "div",
        {
          role: "tab",
          class: hv({ select: f, disabled: u }),
          tabindex: u ? void 0 : 0,
          "aria-selected": f,
          onClick: s,
        },
        [
          Z(vf, $t({ dot: a, class: hv("text"), content: o }, e.badgeProps), {
            default: () => [r.title ? r.title() : l],
          }),
        ],
      );
    };
  },
});
const Fre = ht(wN),
  [yN, CN] = st("skeleton-title"),
  xN = { round: Boolean, titleWidth: tt };
var EN = et({
  name: yN,
  props: xN,
  setup(e) {
    return () =>
      Z(
        "h3",
        { class: CN([{ round: e.round }]), style: { width: It(e.titleWidth) } },
        null,
      );
  },
});
const bN = ht(EN);
var FN = bN;
const [_N, SN] = st("skeleton-avatar"),
  QN = { avatarSize: tt, avatarShape: dt("round") };
var UN = et({
  name: _N,
  props: QN,
  setup(e) {
    return () =>
      Z("div", { class: SN([e.avatarShape]), style: _o(e.avatarSize) }, null);
  },
});
const TN = ht(UN);
var IN = TN;
const Up = "100%",
  DN = { round: Boolean, rowWidth: { type: tt, default: Up } },
  [PN, ON] = st("skeleton-paragraph");
var LN = et({
  name: PN,
  props: DN,
  setup(e) {
    return () =>
      Z(
        "div",
        { class: ON([{ round: e.round }]), style: { width: e.rowWidth } },
        null,
      );
  },
});
const kN = ht(LN);
var HN = kN;
const [MN, pv] = st("skeleton"),
  RN = "60%",
  NN = {
    row: xt(0),
    round: Boolean,
    title: Boolean,
    titleWidth: tt,
    avatar: Boolean,
    avatarSize: tt,
    avatarShape: dt("round"),
    loading: Ze,
    animate: Ze,
    rowWidth: { type: [Number, String, Array], default: Up },
  };
var $N = et({
  name: MN,
  inheritAttrs: !1,
  props: NN,
  setup(e, { slots: t, attrs: r }) {
    const n = () => {
        if (e.avatar)
          return Z(
            IN,
            { avatarShape: e.avatarShape, avatarSize: e.avatarSize },
            null,
          );
      },
      A = () => {
        if (e.title)
          return Z(FN, { round: e.round, titleWidth: e.titleWidth }, null);
      },
      i = (o) => {
        const { rowWidth: l } = e;
        return l === Up && o === +e.row - 1 ? RN : Array.isArray(l) ? l[o] : l;
      },
      s = () =>
        Array(+e.row)
          .fill("")
          .map((o, l) =>
            Z(HN, { key: l, round: e.round, rowWidth: It(i(l)) }, null),
          ),
      a = () =>
        t.template
          ? t.template()
          : Z(Ar, null, [n(), Z("div", { class: pv("content") }, [A(), s()])]);
    return () => {
      var o;
      return e.loading
        ? Z(
            "div",
            $t({ class: pv({ animate: e.animate, round: e.round }) }, r),
            [a()],
          )
        : (o = t.default) == null
          ? void 0
          : o.call(t);
    };
  },
});
const _re = ht($N),
  [KN, el] = st("slider"),
  VN = {
    min: xt(0),
    max: xt(100),
    step: xt(1),
    range: Boolean,
    reverse: Boolean,
    disabled: Boolean,
    readonly: Boolean,
    vertical: Boolean,
    barHeight: tt,
    buttonSize: tt,
    activeColor: String,
    inactiveColor: String,
    modelValue: { type: [Number, Array], default: 0 },
  };
var GN = et({
  name: KN,
  props: VN,
  emits: ["change", "dragEnd", "dragStart", "update:modelValue"],
  setup(e, { emit: t, slots: r }) {
    let n, A, i;
    const s = Ue(),
      a = [Ue(), Ue()],
      o = Ue(),
      l = Qo(),
      u = Oe(() => Number(e.max) - Number(e.min)),
      f = Oe(() => {
        const Q = e.vertical ? "width" : "height";
        return { background: e.inactiveColor, [Q]: It(e.barHeight) };
      }),
      d = (Q) => e.range && Array.isArray(Q),
      g = () => {
        const { modelValue: Q, min: L } = e;
        return d(Q)
          ? `${((Q[1] - Q[0]) * 100) / u.value}%`
          : `${((Q - Number(L)) * 100) / u.value}%`;
      },
      v = () => {
        const { modelValue: Q, min: L } = e;
        return d(Q) ? `${((Q[0] - Number(L)) * 100) / u.value}%` : "0%";
      },
      B = Oe(() => {
        const L = {
          [e.vertical ? "height" : "width"]: g(),
          background: e.activeColor,
        };
        o.value && (L.transition = "none");
        const $ = () =>
          e.vertical
            ? e.reverse
              ? "bottom"
              : "top"
            : e.reverse
              ? "right"
              : "left";
        return (L[$()] = v()), L;
      }),
      y = (Q) => {
        const L = +e.min,
          $ = +e.max,
          X = +e.step;
        Q = rn(Q, L, $);
        const V = Math.round((Q - L) / X) * X;
        return lL(L, V);
      },
      w = () => {
        const Q = e.modelValue;
        d(Q) ? (i = Q.map(y)) : (i = y(Q));
      },
      m = (Q) => {
        var L, $;
        const X = (L = Q[0]) != null ? L : Number(e.min),
          V = ($ = Q[1]) != null ? $ : Number(e.max);
        return X > V ? [V, X] : [X, V];
      },
      x = (Q, L) => {
        d(Q) ? (Q = m(Q).map(y)) : (Q = y(Q)),
          Ji(Q, e.modelValue) || t("update:modelValue", Q),
          L && !Ji(Q, i) && t("change", Q);
      },
      C = (Q) => {
        if ((Q.stopPropagation(), e.disabled || e.readonly)) return;
        w();
        const { min: L, reverse: $, vertical: X, modelValue: V } = e,
          G = Ir(s),
          le = () =>
            X
              ? $
                ? G.bottom - Q.clientY
                : Q.clientY - G.top
              : $
                ? G.right - Q.clientX
                : Q.clientX - G.left,
          q = X ? G.height : G.width,
          ue = Number(L) + (le() / q) * u.value;
        if (d(V)) {
          const [Ce, ee] = V,
            ce = (Ce + ee) / 2;
          ue <= ce ? x([ue, ee], !0) : x([Ce, ue], !0);
        } else x(ue, !0);
      },
      b = (Q) => {
        e.disabled ||
          e.readonly ||
          (l.start(Q), (A = e.modelValue), w(), (o.value = "start"));
      },
      F = (Q) => {
        if (e.disabled || e.readonly) return;
        o.value === "start" && t("dragStart", Q),
          gn(Q, !0),
          l.move(Q),
          (o.value = "dragging");
        const L = Ir(s),
          $ = e.vertical ? l.deltaY.value : l.deltaX.value,
          X = e.vertical ? L.height : L.width;
        let V = ($ / X) * u.value;
        if ((e.reverse && (V = -V), d(i))) {
          const G = e.reverse ? 1 - n : n;
          A[G] = i[G] + V;
        } else A = i + V;
        x(A);
      },
      I = (Q) => {
        e.disabled ||
          e.readonly ||
          (o.value === "dragging" && (x(A, !0), t("dragEnd", Q)),
          (o.value = ""));
      },
      T = (Q) =>
        typeof Q == "number"
          ? el("button-wrapper", ["left", "right"][Q])
          : el("button-wrapper", e.reverse ? "left" : "right"),
      D = (Q, L) => {
        const $ = o.value === "dragging";
        if (typeof L == "number") {
          const X = r[L === 0 ? "left-button" : "right-button"];
          let V;
          if (($ && Array.isArray(A) && (V = A[0] > A[1] ? n ^ 1 : n), X))
            return X({ value: Q, dragging: $, dragIndex: V });
        }
        return r.button
          ? r.button({ value: Q, dragging: $ })
          : Z("div", { class: el("button"), style: _o(e.buttonSize) }, null);
      },
      U = (Q) => {
        const L = typeof Q == "number" ? e.modelValue[Q] : e.modelValue;
        return Z(
          "div",
          {
            ref: a[Q ?? 0],
            role: "slider",
            class: T(Q),
            tabindex: e.disabled ? void 0 : 0,
            "aria-valuemin": e.min,
            "aria-valuenow": L,
            "aria-valuemax": e.max,
            "aria-disabled": e.disabled || void 0,
            "aria-readonly": e.readonly || void 0,
            "aria-orientation": e.vertical ? "vertical" : "horizontal",
            onTouchstartPassive: ($) => {
              typeof Q == "number" && (n = Q), b($);
            },
            onTouchend: I,
            onTouchcancel: I,
            onClick: B9,
          },
          [D(L, Q)],
        );
      };
    return (
      x(e.modelValue),
      bo(() => e.modelValue),
      a.forEach((Q) => {
        wn("touchmove", F, { target: Q });
      }),
      () =>
        Z(
          "div",
          {
            ref: s,
            style: f.value,
            class: el({ vertical: e.vertical, disabled: e.disabled }),
            onClick: C,
          },
          [
            Z("div", { class: el("bar"), style: B.value }, [
              e.range ? [U(0), U(1)] : U(),
            ]),
          ],
        )
    );
  },
});
const Sre = ht(GN),
  [WN, wr, zN] = st("uploader");
function gv(e, t) {
  return new Promise((r) => {
    if (t === "file") {
      r();
      return;
    }
    const n = new FileReader();
    (n.onload = (A) => {
      r(A.target.result);
    }),
      t === "dataUrl" ? n.readAsDataURL(e) : t === "text" && n.readAsText(e);
  });
}
function yw(e, t) {
  return lc(e).some((r) =>
    r.file ? (to(t) ? t(r.file) : r.file.size > +t) : !1,
  );
}
function jN(e, t) {
  const r = [],
    n = [];
  return (
    e.forEach((A) => {
      yw(A, t) ? n.push(A) : r.push(A);
    }),
    { valid: r, invalid: n }
  );
}
const YN = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg|avif)/i,
  XN = (e) => YN.test(e);
function Cw(e) {
  return e.isImage
    ? !0
    : e.file && e.file.type
      ? e.file.type.indexOf("image") === 0
      : e.url
        ? XN(e.url)
        : typeof e.content == "string"
          ? e.content.indexOf("data:image") === 0
          : !1;
}
var JN = et({
  props: {
    name: tt,
    item: Nr(Object),
    index: Number,
    imageFit: String,
    lazyLoad: Boolean,
    deletable: Boolean,
    reupload: Boolean,
    previewSize: [Number, String, Array],
    beforeDelete: Function,
  },
  emits: ["delete", "preview", "reupload"],
  setup(e, { emit: t, slots: r }) {
    const n = () => {
        const { status: u, message: f } = e.item;
        if (u === "uploading" || u === "failed") {
          const d =
              u === "failed"
                ? Z(Dr, { name: "close", class: wr("mask-icon") }, null)
                : Z(fi, { class: wr("loading") }, null),
            g = qt(f) && f !== "";
          return Z("div", { class: wr("mask") }, [
            d,
            g && Z("div", { class: wr("mask-message") }, [f]),
          ]);
        }
      },
      A = (u) => {
        const { name: f, item: d, index: g, beforeDelete: v } = e;
        u.stopPropagation(),
          x0(v, { args: [d, { name: f, index: g }], done: () => t("delete") });
      },
      i = () => t("preview"),
      s = () => t("reupload"),
      a = () => {
        if (e.deletable && e.item.status !== "uploading") {
          const u = r["preview-delete"];
          return Z(
            "div",
            {
              role: "button",
              class: wr("preview-delete", { shadow: !u }),
              tabindex: 0,
              "aria-label": zN("delete"),
              onClick: A,
            },
            [
              u
                ? u()
                : Z(
                    Dr,
                    { name: "cross", class: wr("preview-delete-icon") },
                    null,
                  ),
            ],
          );
        }
      },
      o = () => {
        if (r["preview-cover"]) {
          const { index: u, item: f } = e;
          return Z("div", { class: wr("preview-cover") }, [
            r["preview-cover"](wt({ index: u }, f)),
          ]);
        }
      },
      l = () => {
        const {
          item: u,
          lazyLoad: f,
          imageFit: d,
          previewSize: g,
          reupload: v,
        } = e;
        return Cw(u)
          ? Z(
              rw,
              {
                fit: d,
                src: u.objectUrl || u.content || u.url,
                class: wr("preview-image"),
                width: Array.isArray(g) ? g[0] : g,
                height: Array.isArray(g) ? g[1] : g,
                lazyLoad: f,
                onClick: v ? s : i,
              },
              { default: o },
            )
          : Z("div", { class: wr("file"), style: _o(e.previewSize) }, [
              Z(Dr, { class: wr("file-icon"), name: "description" }, null),
              Z("div", { class: [wr("file-name"), "van-ellipsis"] }, [
                u.file ? u.file.name : u.url,
              ]),
              o(),
            ]);
      };
    return () => Z("div", { class: wr("preview") }, [l(), n(), a()]);
  },
});
const qN = {
  name: xt(""),
  accept: dt("image/*"),
  capture: String,
  multiple: Boolean,
  disabled: Boolean,
  readonly: Boolean,
  lazyLoad: Boolean,
  maxCount: xt(1 / 0),
  imageFit: dt("cover"),
  resultType: dt("dataUrl"),
  uploadIcon: dt("photograph"),
  uploadText: String,
  deletable: Ze,
  reupload: Boolean,
  afterRead: Function,
  showUpload: Ze,
  modelValue: ii(),
  beforeRead: Function,
  beforeDelete: Function,
  previewSize: [Number, String, Array],
  previewImage: Ze,
  previewOptions: Object,
  previewFullImage: Ze,
  maxSize: { type: [Number, String, Function], default: 1 / 0 },
};
var ZN = et({
  name: WN,
  props: qN,
  emits: [
    "delete",
    "oversize",
    "clickUpload",
    "closePreview",
    "clickPreview",
    "clickReupload",
    "update:modelValue",
  ],
  setup(e, { emit: t, slots: r }) {
    const n = Ue(),
      A = [],
      i = Ue(-1),
      s = Ue(!1),
      a = (T = e.modelValue.length) => ({ name: e.name, index: T }),
      o = () => {
        n.value && (n.value.value = "");
      },
      l = (T) => {
        if ((o(), yw(T, e.maxSize)))
          if (Array.isArray(T)) {
            const D = jN(T, e.maxSize);
            if (((T = D.valid), t("oversize", D.invalid, a()), !T.length))
              return;
          } else {
            t("oversize", T, a());
            return;
          }
        if (((T = Rt(T)), i.value > -1)) {
          const D = [...e.modelValue];
          D.splice(i.value, 1, T), t("update:modelValue", D), (i.value = -1);
        } else t("update:modelValue", [...e.modelValue, ...lc(T)]);
        e.afterRead && e.afterRead(T, a());
      },
      u = (T) => {
        const { maxCount: D, modelValue: U, resultType: Q } = e;
        if (Array.isArray(T)) {
          const L = +D - U.length;
          T.length > L && (T = T.slice(0, L)),
            Promise.all(T.map(($) => gv($, Q))).then(($) => {
              const X = T.map((V, G) => {
                const le = {
                  file: V,
                  status: "",
                  message: "",
                  objectUrl: URL.createObjectURL(V),
                };
                return $[G] && (le.content = $[G]), le;
              });
              l(X);
            });
        } else
          gv(T, Q).then((L) => {
            const $ = {
              file: T,
              status: "",
              message: "",
              objectUrl: URL.createObjectURL(T),
            };
            L && ($.content = L), l($);
          });
      },
      f = (T) => {
        const { files: D } = T.target;
        if (e.disabled || !D || !D.length) return;
        const U = D.length === 1 ? D[0] : [].slice.call(D);
        if (e.beforeRead) {
          const Q = e.beforeRead(U, a());
          if (!Q) {
            o();
            return;
          }
          if (dp(Q)) {
            Q.then((L) => {
              u(L || U);
            }).catch(o);
            return;
          }
        }
        u(U);
      };
    let d;
    const g = () => t("closePreview"),
      v = (T) => {
        if (e.previewFullImage) {
          const D = e.modelValue.filter(Cw),
            U = D.map(
              (Q) => (
                Q.objectUrl &&
                  !Q.url &&
                  Q.status !== "failed" &&
                  ((Q.url = Q.objectUrl), A.push(Q.url)),
                Q.url
              ),
            ).filter(Boolean);
          d = iR(
            wt(
              { images: U, startPosition: D.indexOf(T), onClose: g },
              e.previewOptions,
            ),
          );
        }
      },
      B = () => {
        d && d.close();
      },
      y = (T, D) => {
        const U = e.modelValue.slice(0);
        U.splice(D, 1), t("update:modelValue", U), t("delete", T, a(D));
      },
      w = (T) => {
        (s.value = !0), (i.value = T), yt(() => I());
      },
      m = () => {
        s.value || (i.value = -1), (s.value = !1);
      },
      x = (T, D) => {
        const U = [
            "imageFit",
            "deletable",
            "reupload",
            "previewSize",
            "beforeDelete",
          ],
          Q = wt(er(e, U), er(T, U, !0));
        return Z(
          JN,
          $t(
            {
              item: T,
              index: D,
              onClick: () =>
                t(e.reupload ? "clickReupload" : "clickPreview", T, a(D)),
              onDelete: () => y(T, D),
              onPreview: () => v(T),
              onReupload: () => w(D),
            },
            er(e, ["name", "lazyLoad"]),
            Q,
          ),
          er(r, ["preview-cover", "preview-delete"]),
        );
      },
      C = () => {
        if (e.previewImage) return e.modelValue.map(x);
      },
      b = (T) => t("clickUpload", T),
      F = () => {
        if (e.modelValue.length >= +e.maxCount && !e.reupload) return;
        const T = e.modelValue.length >= +e.maxCount && e.reupload,
          D = e.readonly
            ? null
            : Z(
                "input",
                {
                  ref: n,
                  type: "file",
                  class: wr("input"),
                  accept: e.accept,
                  capture: e.capture,
                  multiple: e.multiple && i.value === -1,
                  disabled: e.disabled,
                  onChange: f,
                  onClick: m,
                },
                null,
              );
        return r.default
          ? ts(
              Z("div", { class: wr("input-wrapper"), onClick: b }, [
                r.default(),
                D,
              ]),
              [[ss, !T]],
            )
          : ts(
              Z(
                "div",
                {
                  class: wr("upload", { readonly: e.readonly }),
                  style: _o(e.previewSize),
                  onClick: b,
                },
                [
                  Z(Dr, { name: e.uploadIcon, class: wr("upload-icon") }, null),
                  e.uploadText &&
                    Z("span", { class: wr("upload-text") }, [e.uploadText]),
                  D,
                ],
              ),
              [[ss, e.showUpload && !T]],
            );
      },
      I = () => {
        n.value && !e.disabled && n.value.click();
      };
    return (
      Tn(() => {
        A.forEach((T) => URL.revokeObjectURL(T));
      }),
      or({ chooseFile: I, closeImagePreview: B }),
      bo(() => e.modelValue),
      () =>
        Z("div", { class: wr() }, [
          Z("div", { class: wr("wrapper", { disabled: e.disabled }) }, [
            C(),
            F(),
          ]),
        ])
    );
  },
});
const Qre = ht(ZN);
/*!
 * shared v9.2.2
 * (c) 2022 kazuya kawaguchi
 * Released under the MIT License.
 */ const q2 = typeof window < "u",
  e$ = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol",
  gs = (e) => (e$ ? Symbol(e) : e),
  t$ = (e, t, r) => r$({ l: e, k: t, s: r }),
  r$ = (e) =>
    JSON.stringify(e)
      .replace(/\u2028/g, "\\u2028")
      .replace(/\u2029/g, "\\u2029")
      .replace(/\u0027/g, "\\u0027"),
  xr = (e) => typeof e == "number" && isFinite(e),
  n$ = (e) => Ip(e) === "[object Date]",
  as = (e) => Ip(e) === "[object RegExp]",
  xf = (e) => vt(e) && Object.keys(e).length === 0;
function A$(e, t) {
  typeof console < "u" &&
    (console.warn("[intlify] " + e), t && console.warn(t.stack));
}
const Pr = Object.assign;
let vv;
const Ul = () =>
  vv ||
  (vv =
    typeof globalThis < "u"
      ? globalThis
      : typeof self < "u"
        ? self
        : typeof window < "u"
          ? window
          : typeof global < "u"
            ? global
            : {});
function mv(e) {
  return e
    .replace(/</g, "&lt;")
    .replace(/>/g, "&gt;")
    .replace(/"/g, "'")
    .replace(/'/g, "&apos;");
}
const i$ = Object.prototype.hasOwnProperty;
function Tp(e, t) {
  return i$.call(e, t);
}
const Vt = Array.isArray,
  ir = (e) => typeof e == "function",
  ze = (e) => typeof e == "string",
  bt = (e) => typeof e == "boolean",
  Gt = (e) => e !== null && typeof e == "object",
  xw = Object.prototype.toString,
  Ip = (e) => xw.call(e),
  vt = (e) => Ip(e) === "[object Object]",
  s$ = (e) =>
    e == null
      ? ""
      : Vt(e) || (vt(e) && e.toString === xw)
        ? JSON.stringify(e, null, 2)
        : String(e);
/*!
 * message-compiler v9.2.2
 * (c) 2022 kazuya kawaguchi
 * Released under the MIT License.
 */ const Tt = {
  EXPECTED_TOKEN: 1,
  INVALID_TOKEN_IN_PLACEHOLDER: 2,
  UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER: 3,
  UNKNOWN_ESCAPE_SEQUENCE: 4,
  INVALID_UNICODE_ESCAPE_SEQUENCE: 5,
  UNBALANCED_CLOSING_BRACE: 6,
  UNTERMINATED_CLOSING_BRACE: 7,
  EMPTY_PLACEHOLDER: 8,
  NOT_ALLOW_NEST_PLACEHOLDER: 9,
  INVALID_LINKED_FORMAT: 10,
  MUST_HAVE_MESSAGES_IN_PLURAL: 11,
  UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
  UNEXPECTED_EMPTY_LINKED_KEY: 13,
  UNEXPECTED_LEXICAL_ANALYSIS: 14,
  __EXTEND_POINT__: 15,
};
function Ef(e, t, r = {}) {
  const { domain: n, messages: A, args: i } = r,
    s = e,
    a = new SyntaxError(String(s));
  return (a.code = e), t && (a.location = t), (a.domain = n), a;
}
function a$(e) {
  throw e;
}
function o$(e, t, r) {
  return { line: e, column: t, offset: r };
}
function Z2(e, t, r) {
  const n = { start: e, end: t };
  return r != null && (n.source = r), n;
}
const HA = " ",
  l$ = "\r",
  Zr = `
`,
  u$ = String.fromCharCode(8232),
  c$ = String.fromCharCode(8233);
function f$(e) {
  const t = e;
  let r = 0,
    n = 1,
    A = 1,
    i = 0;
  const s = (I) => t[I] === l$ && t[I + 1] === Zr,
    a = (I) => t[I] === Zr,
    o = (I) => t[I] === c$,
    l = (I) => t[I] === u$,
    u = (I) => s(I) || a(I) || o(I) || l(I),
    f = () => r,
    d = () => n,
    g = () => A,
    v = () => i,
    B = (I) => (s(I) || o(I) || l(I) ? Zr : t[I]),
    y = () => B(r),
    w = () => B(r + i);
  function m() {
    return (i = 0), u(r) && (n++, (A = 0)), s(r) && r++, r++, A++, t[r];
  }
  function x() {
    return s(r + i) && i++, i++, t[r + i];
  }
  function C() {
    (r = 0), (n = 1), (A = 1), (i = 0);
  }
  function b(I = 0) {
    i = I;
  }
  function F() {
    const I = r + i;
    for (; I !== r; ) m();
    i = 0;
  }
  return {
    index: f,
    line: d,
    column: g,
    peekOffset: v,
    charAt: B,
    currentChar: y,
    currentPeek: w,
    next: m,
    peek: x,
    reset: C,
    resetPeek: b,
    skipToPeek: F,
  };
}
const Qi = void 0,
  Bv = "'",
  d$ = "tokenizer";
function h$(e, t = {}) {
  const r = t.location !== !1,
    n = f$(e),
    A = () => n.index(),
    i = () => o$(n.line(), n.column(), n.index()),
    s = i(),
    a = A(),
    o = {
      currentType: 14,
      offset: a,
      startLoc: s,
      endLoc: s,
      lastType: 14,
      lastOffset: a,
      lastStartLoc: s,
      lastEndLoc: s,
      braceNest: 0,
      inLinked: !1,
      text: "",
    },
    l = () => o,
    { onError: u } = t;
  function f(P, M, te, ...Be) {
    const Ie = l();
    if (((M.column += te), (M.offset += te), u)) {
      const Le = Z2(Ie.startLoc, M),
        He = Ef(P, Le, { domain: d$, args: Be });
      u(He);
    }
  }
  function d(P, M, te) {
    (P.endLoc = i()), (P.currentType = M);
    const Be = { type: M };
    return (
      r && (Be.loc = Z2(P.startLoc, P.endLoc)),
      te != null && (Be.value = te),
      Be
    );
  }
  const g = (P) => d(P, 14);
  function v(P, M) {
    return P.currentChar() === M
      ? (P.next(), M)
      : (f(Tt.EXPECTED_TOKEN, i(), 0, M), "");
  }
  function B(P) {
    let M = "";
    for (; P.currentPeek() === HA || P.currentPeek() === Zr; )
      (M += P.currentPeek()), P.peek();
    return M;
  }
  function y(P) {
    const M = B(P);
    return P.skipToPeek(), M;
  }
  function w(P) {
    if (P === Qi) return !1;
    const M = P.charCodeAt(0);
    return (M >= 97 && M <= 122) || (M >= 65 && M <= 90) || M === 95;
  }
  function m(P) {
    if (P === Qi) return !1;
    const M = P.charCodeAt(0);
    return M >= 48 && M <= 57;
  }
  function x(P, M) {
    const { currentType: te } = M;
    if (te !== 2) return !1;
    B(P);
    const Be = w(P.currentPeek());
    return P.resetPeek(), Be;
  }
  function C(P, M) {
    const { currentType: te } = M;
    if (te !== 2) return !1;
    B(P);
    const Be = P.currentPeek() === "-" ? P.peek() : P.currentPeek(),
      Ie = m(Be);
    return P.resetPeek(), Ie;
  }
  function b(P, M) {
    const { currentType: te } = M;
    if (te !== 2) return !1;
    B(P);
    const Be = P.currentPeek() === Bv;
    return P.resetPeek(), Be;
  }
  function F(P, M) {
    const { currentType: te } = M;
    if (te !== 8) return !1;
    B(P);
    const Be = P.currentPeek() === ".";
    return P.resetPeek(), Be;
  }
  function I(P, M) {
    const { currentType: te } = M;
    if (te !== 9) return !1;
    B(P);
    const Be = w(P.currentPeek());
    return P.resetPeek(), Be;
  }
  function T(P, M) {
    const { currentType: te } = M;
    if (!(te === 8 || te === 12)) return !1;
    B(P);
    const Be = P.currentPeek() === ":";
    return P.resetPeek(), Be;
  }
  function D(P, M) {
    const { currentType: te } = M;
    if (te !== 10) return !1;
    const Be = () => {
        const Le = P.currentPeek();
        return Le === "{"
          ? w(P.peek())
          : Le === "@" ||
              Le === "%" ||
              Le === "|" ||
              Le === ":" ||
              Le === "." ||
              Le === HA ||
              !Le
            ? !1
            : Le === Zr
              ? (P.peek(), Be())
              : w(Le);
      },
      Ie = Be();
    return P.resetPeek(), Ie;
  }
  function U(P) {
    B(P);
    const M = P.currentPeek() === "|";
    return P.resetPeek(), M;
  }
  function Q(P) {
    const M = B(P),
      te = P.currentPeek() === "%" && P.peek() === "{";
    return P.resetPeek(), { isModulo: te, hasSpace: M.length > 0 };
  }
  function L(P, M = !0) {
    const te = (Ie = !1, Le = "", He = !1) => {
        const Ne = P.currentPeek();
        return Ne === "{"
          ? Le === "%"
            ? !1
            : Ie
          : Ne === "@" || !Ne
            ? Le === "%"
              ? !0
              : Ie
            : Ne === "%"
              ? (P.peek(), te(Ie, "%", !0))
              : Ne === "|"
                ? Le === "%" || He
                  ? !0
                  : !(Le === HA || Le === Zr)
                : Ne === HA
                  ? (P.peek(), te(!0, HA, He))
                  : Ne === Zr
                    ? (P.peek(), te(!0, Zr, He))
                    : !0;
      },
      Be = te();
    return M && P.resetPeek(), Be;
  }
  function $(P, M) {
    const te = P.currentChar();
    return te === Qi ? Qi : M(te) ? (P.next(), te) : null;
  }
  function X(P) {
    return $(P, (te) => {
      const Be = te.charCodeAt(0);
      return (
        (Be >= 97 && Be <= 122) ||
        (Be >= 65 && Be <= 90) ||
        (Be >= 48 && Be <= 57) ||
        Be === 95 ||
        Be === 36
      );
    });
  }
  function V(P) {
    return $(P, (te) => {
      const Be = te.charCodeAt(0);
      return Be >= 48 && Be <= 57;
    });
  }
  function G(P) {
    return $(P, (te) => {
      const Be = te.charCodeAt(0);
      return (
        (Be >= 48 && Be <= 57) ||
        (Be >= 65 && Be <= 70) ||
        (Be >= 97 && Be <= 102)
      );
    });
  }
  function le(P) {
    let M = "",
      te = "";
    for (; (M = V(P)); ) te += M;
    return te;
  }
  function q(P) {
    y(P);
    const M = P.currentChar();
    return M !== "%" && f(Tt.EXPECTED_TOKEN, i(), 0, M), P.next(), "%";
  }
  function ue(P) {
    let M = "";
    for (;;) {
      const te = P.currentChar();
      if (te === "{" || te === "}" || te === "@" || te === "|" || !te) break;
      if (te === "%")
        if (L(P)) (M += te), P.next();
        else break;
      else if (te === HA || te === Zr)
        if (L(P)) (M += te), P.next();
        else {
          if (U(P)) break;
          (M += te), P.next();
        }
      else (M += te), P.next();
    }
    return M;
  }
  function Ce(P) {
    y(P);
    let M = "",
      te = "";
    for (; (M = X(P)); ) te += M;
    return (
      P.currentChar() === Qi && f(Tt.UNTERMINATED_CLOSING_BRACE, i(), 0), te
    );
  }
  function ee(P) {
    y(P);
    let M = "";
    return (
      P.currentChar() === "-" ? (P.next(), (M += `-${le(P)}`)) : (M += le(P)),
      P.currentChar() === Qi && f(Tt.UNTERMINATED_CLOSING_BRACE, i(), 0),
      M
    );
  }
  function ce(P) {
    y(P), v(P, "'");
    let M = "",
      te = "";
    const Be = (Le) => Le !== Bv && Le !== Zr;
    for (; (M = $(P, Be)); ) M === "\\" ? (te += ve(P)) : (te += M);
    const Ie = P.currentChar();
    return Ie === Zr || Ie === Qi
      ? (f(Tt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0),
        Ie === Zr && (P.next(), v(P, "'")),
        te)
      : (v(P, "'"), te);
  }
  function ve(P) {
    const M = P.currentChar();
    switch (M) {
      case "\\":
      case "'":
        return P.next(), `\\${M}`;
      case "u":
        return xe(P, M, 4);
      case "U":
        return xe(P, M, 6);
      default:
        return f(Tt.UNKNOWN_ESCAPE_SEQUENCE, i(), 0, M), "";
    }
  }
  function xe(P, M, te) {
    v(P, M);
    let Be = "";
    for (let Ie = 0; Ie < te; Ie++) {
      const Le = G(P);
      if (!Le) {
        f(
          Tt.INVALID_UNICODE_ESCAPE_SEQUENCE,
          i(),
          0,
          `\\${M}${Be}${P.currentChar()}`,
        );
        break;
      }
      Be += Le;
    }
    return `\\${M}${Be}`;
  }
  function se(P) {
    y(P);
    let M = "",
      te = "";
    const Be = (Ie) => Ie !== "{" && Ie !== "}" && Ie !== HA && Ie !== Zr;
    for (; (M = $(P, Be)); ) te += M;
    return te;
  }
  function Fe(P) {
    let M = "",
      te = "";
    for (; (M = X(P)); ) te += M;
    return te;
  }
  function ie(P) {
    const M = (te = !1, Be) => {
      const Ie = P.currentChar();
      return Ie === "{" ||
        Ie === "%" ||
        Ie === "@" ||
        Ie === "|" ||
        !Ie ||
        Ie === HA
        ? Be
        : Ie === Zr
          ? ((Be += Ie), P.next(), M(te, Be))
          : ((Be += Ie), P.next(), M(!0, Be));
    };
    return M(!1, "");
  }
  function _e(P) {
    y(P);
    const M = v(P, "|");
    return y(P), M;
  }
  function De(P, M) {
    let te = null;
    switch (P.currentChar()) {
      case "{":
        return (
          M.braceNest >= 1 && f(Tt.NOT_ALLOW_NEST_PLACEHOLDER, i(), 0),
          P.next(),
          (te = d(M, 2, "{")),
          y(P),
          M.braceNest++,
          te
        );
      case "}":
        return (
          M.braceNest > 0 &&
            M.currentType === 2 &&
            f(Tt.EMPTY_PLACEHOLDER, i(), 0),
          P.next(),
          (te = d(M, 3, "}")),
          M.braceNest--,
          M.braceNest > 0 && y(P),
          M.inLinked && M.braceNest === 0 && (M.inLinked = !1),
          te
        );
      case "@":
        return (
          M.braceNest > 0 && f(Tt.UNTERMINATED_CLOSING_BRACE, i(), 0),
          (te = $e(P, M) || g(M)),
          (M.braceNest = 0),
          te
        );
      default:
        let Ie = !0,
          Le = !0,
          He = !0;
        if (U(P))
          return (
            M.braceNest > 0 && f(Tt.UNTERMINATED_CLOSING_BRACE, i(), 0),
            (te = d(M, 1, _e(P))),
            (M.braceNest = 0),
            (M.inLinked = !1),
            te
          );
        if (
          M.braceNest > 0 &&
          (M.currentType === 5 || M.currentType === 6 || M.currentType === 7)
        )
          return (
            f(Tt.UNTERMINATED_CLOSING_BRACE, i(), 0),
            (M.braceNest = 0),
            Te(P, M)
          );
        if ((Ie = x(P, M))) return (te = d(M, 5, Ce(P))), y(P), te;
        if ((Le = C(P, M))) return (te = d(M, 6, ee(P))), y(P), te;
        if ((He = b(P, M))) return (te = d(M, 7, ce(P))), y(P), te;
        if (!Ie && !Le && !He)
          return (
            (te = d(M, 13, se(P))),
            f(Tt.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, te.value),
            y(P),
            te
          );
        break;
    }
    return te;
  }
  function $e(P, M) {
    const { currentType: te } = M;
    let Be = null;
    const Ie = P.currentChar();
    switch (
      ((te === 8 || te === 9 || te === 12 || te === 10) &&
        (Ie === Zr || Ie === HA) &&
        f(Tt.INVALID_LINKED_FORMAT, i(), 0),
      Ie)
    ) {
      case "@":
        return P.next(), (Be = d(M, 8, "@")), (M.inLinked = !0), Be;
      case ".":
        return y(P), P.next(), d(M, 9, ".");
      case ":":
        return y(P), P.next(), d(M, 10, ":");
      default:
        return U(P)
          ? ((Be = d(M, 1, _e(P))), (M.braceNest = 0), (M.inLinked = !1), Be)
          : F(P, M) || T(P, M)
            ? (y(P), $e(P, M))
            : I(P, M)
              ? (y(P), d(M, 12, Fe(P)))
              : D(P, M)
                ? (y(P), Ie === "{" ? De(P, M) || Be : d(M, 11, ie(P)))
                : (te === 8 && f(Tt.INVALID_LINKED_FORMAT, i(), 0),
                  (M.braceNest = 0),
                  (M.inLinked = !1),
                  Te(P, M));
    }
  }
  function Te(P, M) {
    let te = { type: 14 };
    if (M.braceNest > 0) return De(P, M) || g(M);
    if (M.inLinked) return $e(P, M) || g(M);
    switch (P.currentChar()) {
      case "{":
        return De(P, M) || g(M);
      case "}":
        return f(Tt.UNBALANCED_CLOSING_BRACE, i(), 0), P.next(), d(M, 3, "}");
      case "@":
        return $e(P, M) || g(M);
      default:
        if (U(P))
          return (
            (te = d(M, 1, _e(P))), (M.braceNest = 0), (M.inLinked = !1), te
          );
        const { isModulo: Ie, hasSpace: Le } = Q(P);
        if (Ie) return Le ? d(M, 0, ue(P)) : d(M, 4, q(P));
        if (L(P)) return d(M, 0, ue(P));
        break;
    }
    return te;
  }
  function j() {
    const { currentType: P, offset: M, startLoc: te, endLoc: Be } = o;
    return (
      (o.lastType = P),
      (o.lastOffset = M),
      (o.lastStartLoc = te),
      (o.lastEndLoc = Be),
      (o.offset = A()),
      (o.startLoc = i()),
      n.currentChar() === Qi ? d(o, 14) : Te(n, o)
    );
  }
  return { nextToken: j, currentOffset: A, currentPosition: i, context: l };
}
const p$ = "parser",
  g$ = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
function v$(e, t, r) {
  switch (e) {
    case "\\\\":
      return "\\";
    case "\\'":
      return "'";
    default: {
      const n = parseInt(t || r, 16);
      return n <= 55295 || n >= 57344 ? String.fromCodePoint(n) : "�";
    }
  }
}
function m$(e = {}) {
  const t = e.location !== !1,
    { onError: r } = e;
  function n(w, m, x, C, ...b) {
    const F = w.currentPosition();
    if (((F.offset += C), (F.column += C), r)) {
      const I = Z2(x, F),
        T = Ef(m, I, { domain: p$, args: b });
      r(T);
    }
  }
  function A(w, m, x) {
    const C = { type: w, start: m, end: m };
    return t && (C.loc = { start: x, end: x }), C;
  }
  function i(w, m, x, C) {
    (w.end = m), C && (w.type = C), t && w.loc && (w.loc.end = x);
  }
  function s(w, m) {
    const x = w.context(),
      C = A(3, x.offset, x.startLoc);
    return (C.value = m), i(C, w.currentOffset(), w.currentPosition()), C;
  }
  function a(w, m) {
    const x = w.context(),
      { lastOffset: C, lastStartLoc: b } = x,
      F = A(5, C, b);
    return (
      (F.index = parseInt(m, 10)),
      w.nextToken(),
      i(F, w.currentOffset(), w.currentPosition()),
      F
    );
  }
  function o(w, m) {
    const x = w.context(),
      { lastOffset: C, lastStartLoc: b } = x,
      F = A(4, C, b);
    return (
      (F.key = m),
      w.nextToken(),
      i(F, w.currentOffset(), w.currentPosition()),
      F
    );
  }
  function l(w, m) {
    const x = w.context(),
      { lastOffset: C, lastStartLoc: b } = x,
      F = A(9, C, b);
    return (
      (F.value = m.replace(g$, v$)),
      w.nextToken(),
      i(F, w.currentOffset(), w.currentPosition()),
      F
    );
  }
  function u(w) {
    const m = w.nextToken(),
      x = w.context(),
      { lastOffset: C, lastStartLoc: b } = x,
      F = A(8, C, b);
    return m.type !== 12
      ? (n(w, Tt.UNEXPECTED_EMPTY_LINKED_MODIFIER, x.lastStartLoc, 0),
        (F.value = ""),
        i(F, C, b),
        { nextConsumeToken: m, node: F })
      : (m.value == null &&
          n(w, Tt.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, pA(m)),
        (F.value = m.value || ""),
        i(F, w.currentOffset(), w.currentPosition()),
        { node: F });
  }
  function f(w, m) {
    const x = w.context(),
      C = A(7, x.offset, x.startLoc);
    return (C.value = m), i(C, w.currentOffset(), w.currentPosition()), C;
  }
  function d(w) {
    const m = w.context(),
      x = A(6, m.offset, m.startLoc);
    let C = w.nextToken();
    if (C.type === 9) {
      const b = u(w);
      (x.modifier = b.node), (C = b.nextConsumeToken || w.nextToken());
    }
    switch (
      (C.type !== 10 &&
        n(w, Tt.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, pA(C)),
      (C = w.nextToken()),
      C.type === 2 && (C = w.nextToken()),
      C.type)
    ) {
      case 11:
        C.value == null &&
          n(w, Tt.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, pA(C)),
          (x.key = f(w, C.value || ""));
        break;
      case 5:
        C.value == null &&
          n(w, Tt.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, pA(C)),
          (x.key = o(w, C.value || ""));
        break;
      case 6:
        C.value == null &&
          n(w, Tt.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, pA(C)),
          (x.key = a(w, C.value || ""));
        break;
      case 7:
        C.value == null &&
          n(w, Tt.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, pA(C)),
          (x.key = l(w, C.value || ""));
        break;
      default:
        n(w, Tt.UNEXPECTED_EMPTY_LINKED_KEY, m.lastStartLoc, 0);
        const b = w.context(),
          F = A(7, b.offset, b.startLoc);
        return (
          (F.value = ""),
          i(F, b.offset, b.startLoc),
          (x.key = F),
          i(x, b.offset, b.startLoc),
          { nextConsumeToken: C, node: x }
        );
    }
    return i(x, w.currentOffset(), w.currentPosition()), { node: x };
  }
  function g(w) {
    const m = w.context(),
      x = m.currentType === 1 ? w.currentOffset() : m.offset,
      C = m.currentType === 1 ? m.endLoc : m.startLoc,
      b = A(2, x, C);
    b.items = [];
    let F = null;
    do {
      const D = F || w.nextToken();
      switch (((F = null), D.type)) {
        case 0:
          D.value == null &&
            n(w, Tt.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, pA(D)),
            b.items.push(s(w, D.value || ""));
          break;
        case 6:
          D.value == null &&
            n(w, Tt.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, pA(D)),
            b.items.push(a(w, D.value || ""));
          break;
        case 5:
          D.value == null &&
            n(w, Tt.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, pA(D)),
            b.items.push(o(w, D.value || ""));
          break;
        case 7:
          D.value == null &&
            n(w, Tt.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, pA(D)),
            b.items.push(l(w, D.value || ""));
          break;
        case 8:
          const U = d(w);
          b.items.push(U.node), (F = U.nextConsumeToken || null);
          break;
      }
    } while (m.currentType !== 14 && m.currentType !== 1);
    const I = m.currentType === 1 ? m.lastOffset : w.currentOffset(),
      T = m.currentType === 1 ? m.lastEndLoc : w.currentPosition();
    return i(b, I, T), b;
  }
  function v(w, m, x, C) {
    const b = w.context();
    let F = C.items.length === 0;
    const I = A(1, m, x);
    (I.cases = []), I.cases.push(C);
    do {
      const T = g(w);
      F || (F = T.items.length === 0), I.cases.push(T);
    } while (b.currentType !== 14);
    return (
      F && n(w, Tt.MUST_HAVE_MESSAGES_IN_PLURAL, x, 0),
      i(I, w.currentOffset(), w.currentPosition()),
      I
    );
  }
  function B(w) {
    const m = w.context(),
      { offset: x, startLoc: C } = m,
      b = g(w);
    return m.currentType === 14 ? b : v(w, x, C, b);
  }
  function y(w) {
    const m = h$(w, Pr({}, e)),
      x = m.context(),
      C = A(0, x.offset, x.startLoc);
    return (
      t && C.loc && (C.loc.source = w),
      (C.body = B(m)),
      x.currentType !== 14 &&
        n(
          m,
          Tt.UNEXPECTED_LEXICAL_ANALYSIS,
          x.lastStartLoc,
          0,
          w[x.offset] || "",
        ),
      i(C, m.currentOffset(), m.currentPosition()),
      C
    );
  }
  return { parse: y };
}
function pA(e) {
  if (e.type === 14) return "EOF";
  const t = (e.value || "").replace(/\r?\n/gu, "\\n");
  return t.length > 10 ? t.slice(0, 9) + "…" : t;
}
function B$(e, t = {}) {
  const r = { ast: e, helpers: new Set() };
  return { context: () => r, helper: (i) => (r.helpers.add(i), i) };
}
function wv(e, t) {
  for (let r = 0; r < e.length; r++) Dp(e[r], t);
}
function Dp(e, t) {
  switch (e.type) {
    case 1:
      wv(e.cases, t), t.helper("plural");
      break;
    case 2:
      wv(e.items, t);
      break;
    case 6:
      Dp(e.key, t), t.helper("linked"), t.helper("type");
      break;
    case 5:
      t.helper("interpolate"), t.helper("list");
      break;
    case 4:
      t.helper("interpolate"), t.helper("named");
      break;
  }
}
function w$(e, t = {}) {
  const r = B$(e);
  r.helper("normalize"), e.body && Dp(e.body, r);
  const n = r.context();
  e.helpers = Array.from(n.helpers);
}
function y$(e, t) {
  const { sourceMap: r, filename: n, breakLineCode: A, needIndent: i } = t,
    s = {
      source: e.loc.source,
      filename: n,
      code: "",
      column: 1,
      line: 1,
      offset: 0,
      map: void 0,
      breakLineCode: A,
      needIndent: i,
      indentLevel: 0,
    },
    a = () => s;
  function o(B, y) {
    s.code += B;
  }
  function l(B, y = !0) {
    const w = y ? A : "";
    o(i ? w + "  ".repeat(B) : w);
  }
  function u(B = !0) {
    const y = ++s.indentLevel;
    B && l(y);
  }
  function f(B = !0) {
    const y = --s.indentLevel;
    B && l(y);
  }
  function d() {
    l(s.indentLevel);
  }
  return {
    context: a,
    push: o,
    indent: u,
    deindent: f,
    newline: d,
    helper: (B) => `_${B}`,
    needIndent: () => s.needIndent,
  };
}
function C$(e, t) {
  const { helper: r } = e;
  e.push(`${r("linked")}(`),
    Ao(e, t.key),
    t.modifier
      ? (e.push(", "), Ao(e, t.modifier), e.push(", _type"))
      : e.push(", undefined, _type"),
    e.push(")");
}
function x$(e, t) {
  const { helper: r, needIndent: n } = e;
  e.push(`${r("normalize")}([`), e.indent(n());
  const A = t.items.length;
  for (let i = 0; i < A && (Ao(e, t.items[i]), i !== A - 1); i++) e.push(", ");
  e.deindent(n()), e.push("])");
}
function E$(e, t) {
  const { helper: r, needIndent: n } = e;
  if (t.cases.length > 1) {
    e.push(`${r("plural")}([`), e.indent(n());
    const A = t.cases.length;
    for (let i = 0; i < A && (Ao(e, t.cases[i]), i !== A - 1); i++)
      e.push(", ");
    e.deindent(n()), e.push("])");
  }
}
function b$(e, t) {
  t.body ? Ao(e, t.body) : e.push("null");
}
function Ao(e, t) {
  const { helper: r } = e;
  switch (t.type) {
    case 0:
      b$(e, t);
      break;
    case 1:
      E$(e, t);
      break;
    case 2:
      x$(e, t);
      break;
    case 6:
      C$(e, t);
      break;
    case 8:
      e.push(JSON.stringify(t.value), t);
      break;
    case 7:
      e.push(JSON.stringify(t.value), t);
      break;
    case 5:
      e.push(`${r("interpolate")}(${r("list")}(${t.index}))`, t);
      break;
    case 4:
      e.push(`${r("interpolate")}(${r("named")}(${JSON.stringify(t.key)}))`, t);
      break;
    case 9:
      e.push(JSON.stringify(t.value), t);
      break;
    case 3:
      e.push(JSON.stringify(t.value), t);
      break;
  }
}
const F$ = (e, t = {}) => {
  const r = ze(t.mode) ? t.mode : "normal",
    n = ze(t.filename) ? t.filename : "message.intl",
    A = !!t.sourceMap,
    i =
      t.breakLineCode != null
        ? t.breakLineCode
        : r === "arrow"
          ? ";"
          : `
`,
    s = t.needIndent ? t.needIndent : r !== "arrow",
    a = e.helpers || [],
    o = y$(e, {
      mode: r,
      filename: n,
      sourceMap: A,
      breakLineCode: i,
      needIndent: s,
    });
  o.push(r === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"),
    o.indent(s),
    a.length > 0 &&
      (o.push(`const { ${a.map((f) => `${f}: _${f}`).join(", ")} } = ctx`),
      o.newline()),
    o.push("return "),
    Ao(o, e),
    o.deindent(s),
    o.push("}");
  const { code: l, map: u } = o.context();
  return { ast: e, code: l, map: u ? u.toJSON() : void 0 };
};
function _$(e, t = {}) {
  const r = Pr({}, t),
    A = m$(r).parse(e);
  return w$(A, r), F$(A, r);
}
/*!
 * devtools-if v9.2.2
 * (c) 2022 kazuya kawaguchi
 * Released under the MIT License.
 */ const Ew = {
  I18nInit: "i18n:init",
  FunctionTranslate: "function:translate",
};
/*!
 * core-base v9.2.2
 * (c) 2022 kazuya kawaguchi
 * Released under the MIT License.
 */ const vs = [];
vs[0] = { w: [0], i: [3, 0], "[": [4], o: [7] };
vs[1] = { w: [1], ".": [2], "[": [4], o: [7] };
vs[2] = { w: [2], i: [3, 0], 0: [3, 0] };
vs[3] = {
  i: [3, 0],
  0: [3, 0],
  w: [1, 1],
  ".": [2, 1],
  "[": [4, 1],
  o: [7, 1],
};
vs[4] = { "'": [5, 0], '"': [6, 0], "[": [4, 2], "]": [1, 3], o: 8, l: [4, 0] };
vs[5] = { "'": [4, 0], o: 8, l: [5, 0] };
vs[6] = { '"': [4, 0], o: 8, l: [6, 0] };
const S$ = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
function Q$(e) {
  return S$.test(e);
}
function U$(e) {
  const t = e.charCodeAt(0),
    r = e.charCodeAt(e.length - 1);
  return t === r && (t === 34 || t === 39) ? e.slice(1, -1) : e;
}
function T$(e) {
  if (e == null) return "o";
  switch (e.charCodeAt(0)) {
    case 91:
    case 93:
    case 46:
    case 34:
    case 39:
      return e;
    case 95:
    case 36:
    case 45:
      return "i";
    case 9:
    case 10:
    case 13:
    case 160:
    case 65279:
    case 8232:
    case 8233:
      return "w";
  }
  return "i";
}
function I$(e) {
  const t = e.trim();
  return e.charAt(0) === "0" && isNaN(parseInt(e))
    ? !1
    : Q$(t)
      ? U$(t)
      : "*" + t;
}
function D$(e) {
  const t = [];
  let r = -1,
    n = 0,
    A = 0,
    i,
    s,
    a,
    o,
    l,
    u,
    f;
  const d = [];
  (d[0] = () => {
    s === void 0 ? (s = a) : (s += a);
  }),
    (d[1] = () => {
      s !== void 0 && (t.push(s), (s = void 0));
    }),
    (d[2] = () => {
      d[0](), A++;
    }),
    (d[3] = () => {
      if (A > 0) A--, (n = 4), d[0]();
      else {
        if (((A = 0), s === void 0 || ((s = I$(s)), s === !1))) return !1;
        d[1]();
      }
    });
  function g() {
    const v = e[r + 1];
    if ((n === 5 && v === "'") || (n === 6 && v === '"'))
      return r++, (a = "\\" + v), d[0](), !0;
  }
  for (; n !== null; )
    if ((r++, (i = e[r]), !(i === "\\" && g()))) {
      if (
        ((o = T$(i)),
        (f = vs[n]),
        (l = f[o] || f.l || 8),
        l === 8 ||
          ((n = l[0]),
          l[1] !== void 0 && ((u = d[l[1]]), u && ((a = i), u() === !1))))
      )
        return;
      if (n === 7) return t;
    }
}
const yv = new Map();
function P$(e, t) {
  return Gt(e) ? e[t] : null;
}
function O$(e, t) {
  if (!Gt(e)) return null;
  let r = yv.get(t);
  if ((r || ((r = D$(t)), r && yv.set(t, r)), !r)) return null;
  const n = r.length;
  let A = e,
    i = 0;
  for (; i < n; ) {
    const s = A[r[i]];
    if (s === void 0) return null;
    (A = s), i++;
  }
  return A;
}
const L$ = (e) => e,
  k$ = (e) => "",
  H$ = "text",
  M$ = (e) => (e.length === 0 ? "" : e.join("")),
  R$ = s$;
function Cv(e, t) {
  return (
    (e = Math.abs(e)),
    t === 2 ? (e ? (e > 1 ? 1 : 0) : 1) : e ? Math.min(e, 2) : 0
  );
}
function N$(e) {
  const t = xr(e.pluralIndex) ? e.pluralIndex : -1;
  return e.named && (xr(e.named.count) || xr(e.named.n))
    ? xr(e.named.count)
      ? e.named.count
      : xr(e.named.n)
        ? e.named.n
        : t
    : t;
}
function $$(e, t) {
  t.count || (t.count = e), t.n || (t.n = e);
}
function K$(e = {}) {
  const t = e.locale,
    r = N$(e),
    n =
      Gt(e.pluralRules) && ze(t) && ir(e.pluralRules[t])
        ? e.pluralRules[t]
        : Cv,
    A = Gt(e.pluralRules) && ze(t) && ir(e.pluralRules[t]) ? Cv : void 0,
    i = (w) => w[n(r, w.length, A)],
    s = e.list || [],
    a = (w) => s[w],
    o = e.named || {};
  xr(e.pluralIndex) && $$(r, o);
  const l = (w) => o[w];
  function u(w) {
    const m = ir(e.messages)
      ? e.messages(w)
      : Gt(e.messages)
        ? e.messages[w]
        : !1;
    return m || (e.parent ? e.parent.message(w) : k$);
  }
  const f = (w) => (e.modifiers ? e.modifiers[w] : L$),
    d =
      vt(e.processor) && ir(e.processor.normalize) ? e.processor.normalize : M$,
    g =
      vt(e.processor) && ir(e.processor.interpolate)
        ? e.processor.interpolate
        : R$,
    v = vt(e.processor) && ze(e.processor.type) ? e.processor.type : H$,
    y = {
      list: a,
      named: l,
      plural: i,
      linked: (w, ...m) => {
        const [x, C] = m;
        let b = "text",
          F = "";
        m.length === 1
          ? Gt(x)
            ? ((F = x.modifier || F), (b = x.type || b))
            : ze(x) && (F = x || F)
          : m.length === 2 && (ze(x) && (F = x || F), ze(C) && (b = C || b));
        let I = u(w)(y);
        return b === "vnode" && Vt(I) && F && (I = I[0]), F ? f(F)(I, b) : I;
      },
      message: u,
      type: v,
      interpolate: g,
      normalize: d,
    };
  return y;
}
let Zl = null;
function V$(e) {
  Zl = e;
}
function G$(e, t, r) {
  Zl &&
    Zl.emit(Ew.I18nInit, {
      timestamp: Date.now(),
      i18n: e,
      version: t,
      meta: r,
    });
}
const W$ = z$(Ew.FunctionTranslate);
function z$(e) {
  return (t) => Zl && Zl.emit(e, t);
}
function j$(e, t, r) {
  return [
    ...new Set([
      r,
      ...(Vt(t) ? t : Gt(t) ? Object.keys(t) : ze(t) ? [t] : [r]),
    ]),
  ];
}
function bw(e, t, r) {
  const n = ze(r) ? r : b0,
    A = e;
  A.__localeChainCache || (A.__localeChainCache = new Map());
  let i = A.__localeChainCache.get(n);
  if (!i) {
    i = [];
    let s = [r];
    for (; Vt(s); ) s = xv(i, s, t);
    const a = Vt(t) || !vt(t) ? t : t.default ? t.default : null;
    (s = ze(a) ? [a] : a),
      Vt(s) && xv(i, s, !1),
      A.__localeChainCache.set(n, i);
  }
  return i;
}
function xv(e, t, r) {
  let n = !0;
  for (let A = 0; A < t.length && bt(n); A++) {
    const i = t[A];
    ze(i) && (n = Y$(e, t[A], r));
  }
  return n;
}
function Y$(e, t, r) {
  let n;
  const A = t.split("-");
  do {
    const i = A.join("-");
    (n = X$(e, i, r)), A.splice(-1, 1);
  } while (A.length && n === !0);
  return n;
}
function X$(e, t, r) {
  let n = !1;
  if (!e.includes(t) && ((n = !0), t)) {
    n = t[t.length - 1] !== "!";
    const A = t.replace(/!/g, "");
    e.push(A), (Vt(r) || vt(r)) && r[A] && (n = r[A]);
  }
  return n;
}
const J$ = "9.2.2",
  bf = -1,
  b0 = "en-US",
  Ev = "",
  bv = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
function q$() {
  return {
    upper: (e, t) =>
      t === "text" && ze(e)
        ? e.toUpperCase()
        : t === "vnode" && Gt(e) && "__v_isVNode" in e
          ? e.children.toUpperCase()
          : e,
    lower: (e, t) =>
      t === "text" && ze(e)
        ? e.toLowerCase()
        : t === "vnode" && Gt(e) && "__v_isVNode" in e
          ? e.children.toLowerCase()
          : e,
    capitalize: (e, t) =>
      t === "text" && ze(e)
        ? bv(e)
        : t === "vnode" && Gt(e) && "__v_isVNode" in e
          ? bv(e.children)
          : e,
  };
}
let Fw;
function Z$(e) {
  Fw = e;
}
let _w;
function eK(e) {
  _w = e;
}
let Sw;
function tK(e) {
  Sw = e;
}
let Qw = null;
const Fv = (e) => {
    Qw = e;
  },
  rK = () => Qw;
let Uw = null;
const _v = (e) => {
    Uw = e;
  },
  nK = () => Uw;
let Sv = 0;
function AK(e = {}) {
  const t = ze(e.version) ? e.version : J$,
    r = ze(e.locale) ? e.locale : b0,
    n =
      Vt(e.fallbackLocale) ||
      vt(e.fallbackLocale) ||
      ze(e.fallbackLocale) ||
      e.fallbackLocale === !1
        ? e.fallbackLocale
        : r,
    A = vt(e.messages) ? e.messages : { [r]: {} },
    i = vt(e.datetimeFormats) ? e.datetimeFormats : { [r]: {} },
    s = vt(e.numberFormats) ? e.numberFormats : { [r]: {} },
    a = Pr({}, e.modifiers || {}, q$()),
    o = e.pluralRules || {},
    l = ir(e.missing) ? e.missing : null,
    u = bt(e.missingWarn) || as(e.missingWarn) ? e.missingWarn : !0,
    f = bt(e.fallbackWarn) || as(e.fallbackWarn) ? e.fallbackWarn : !0,
    d = !!e.fallbackFormat,
    g = !!e.unresolving,
    v = ir(e.postTranslation) ? e.postTranslation : null,
    B = vt(e.processor) ? e.processor : null,
    y = bt(e.warnHtmlMessage) ? e.warnHtmlMessage : !0,
    w = !!e.escapeParameter,
    m = ir(e.messageCompiler) ? e.messageCompiler : Fw,
    x = ir(e.messageResolver) ? e.messageResolver : _w || P$,
    C = ir(e.localeFallbacker) ? e.localeFallbacker : Sw || j$,
    b = Gt(e.fallbackContext) ? e.fallbackContext : void 0,
    F = ir(e.onWarn) ? e.onWarn : A$,
    I = e,
    T = Gt(I.__datetimeFormatters) ? I.__datetimeFormatters : new Map(),
    D = Gt(I.__numberFormatters) ? I.__numberFormatters : new Map(),
    U = Gt(I.__meta) ? I.__meta : {};
  Sv++;
  const Q = {
    version: t,
    cid: Sv,
    locale: r,
    fallbackLocale: n,
    messages: A,
    modifiers: a,
    pluralRules: o,
    missing: l,
    missingWarn: u,
    fallbackWarn: f,
    fallbackFormat: d,
    unresolving: g,
    postTranslation: v,
    processor: B,
    warnHtmlMessage: y,
    escapeParameter: w,
    messageCompiler: m,
    messageResolver: x,
    localeFallbacker: C,
    fallbackContext: b,
    onWarn: F,
    __meta: U,
  };
  return (
    (Q.datetimeFormats = i),
    (Q.numberFormats = s),
    (Q.__datetimeFormatters = T),
    (Q.__numberFormatters = D),
    __INTLIFY_PROD_DEVTOOLS__ && G$(Q, t, U),
    Q
  );
}
function Pp(e, t, r, n, A) {
  const { missing: i, onWarn: s } = e;
  if (i !== null) {
    const a = i(e, r, t, A);
    return ze(a) ? a : t;
  } else return t;
}
function tl(e, t, r) {
  const n = e;
  (n.__localeChainCache = new Map()), e.localeFallbacker(e, r, t);
}
const iK = (e) => e;
let Qv = Object.create(null);
function sK(e, t = {}) {
  {
    const n = (t.onCacheKey || iK)(e),
      A = Qv[n];
    if (A) return A;
    let i = !1;
    const s = t.onError || a$;
    t.onError = (l) => {
      (i = !0), s(l);
    };
    const { code: a } = _$(e, t),
      o = new Function(`return ${a}`)();
    return i ? o : (Qv[n] = o);
  }
}
let Tw = Tt.__EXTEND_POINT__;
const vd = () => ++Tw,
  Ha = {
    INVALID_ARGUMENT: Tw,
    INVALID_DATE_ARGUMENT: vd(),
    INVALID_ISO_DATE_ARGUMENT: vd(),
    __EXTEND_POINT__: vd(),
  };
function Ma(e) {
  return Ef(e, null, void 0);
}
const Uv = () => "",
  BA = (e) => ir(e);
function Tv(e, ...t) {
  const {
      fallbackFormat: r,
      postTranslation: n,
      unresolving: A,
      messageCompiler: i,
      fallbackLocale: s,
      messages: a,
    } = e,
    [o, l] = eh(...t),
    u = bt(l.missingWarn) ? l.missingWarn : e.missingWarn,
    f = bt(l.fallbackWarn) ? l.fallbackWarn : e.fallbackWarn,
    d = bt(l.escapeParameter) ? l.escapeParameter : e.escapeParameter,
    g = !!l.resolvedMessage,
    v =
      ze(l.default) || bt(l.default)
        ? bt(l.default)
          ? i
            ? o
            : () => o
          : l.default
        : r
          ? i
            ? o
            : () => o
          : "",
    B = r || v !== "",
    y = ze(l.locale) ? l.locale : e.locale;
  d && aK(l);
  let [w, m, x] = g ? [o, y, a[y] || {}] : Iw(e, o, y, s, f, u),
    C = w,
    b = o;
  if (
    (!g && !(ze(C) || BA(C)) && B && ((C = v), (b = C)),
    !g && (!(ze(C) || BA(C)) || !ze(m)))
  )
    return A ? bf : o;
  let F = !1;
  const I = () => {
      F = !0;
    },
    T = BA(C) ? C : Dw(e, o, m, C, b, I);
  if (F) return C;
  const D = uK(e, m, x, l),
    U = K$(D),
    Q = oK(e, T, U),
    L = n ? n(Q, o) : Q;
  if (__INTLIFY_PROD_DEVTOOLS__) {
    const $ = {
      timestamp: Date.now(),
      key: ze(o) ? o : BA(C) ? C.key : "",
      locale: m || (BA(C) ? C.locale : ""),
      format: ze(C) ? C : BA(C) ? C.source : "",
      message: L,
    };
    ($.meta = Pr({}, e.__meta, rK() || {})), W$($);
  }
  return L;
}
function aK(e) {
  Vt(e.list)
    ? (e.list = e.list.map((t) => (ze(t) ? mv(t) : t)))
    : Gt(e.named) &&
      Object.keys(e.named).forEach((t) => {
        ze(e.named[t]) && (e.named[t] = mv(e.named[t]));
      });
}
function Iw(e, t, r, n, A, i) {
  const { messages: s, onWarn: a, messageResolver: o, localeFallbacker: l } = e,
    u = l(e, n, r);
  let f = {},
    d,
    g = null;
  const v = "translate";
  for (
    let B = 0;
    B < u.length &&
    ((d = u[B]),
    (f = s[d] || {}),
    (g = o(f, t)) === null && (g = f[t]),
    !(ze(g) || ir(g)));
    B++
  ) {
    const y = Pp(e, t, d, i, v);
    y !== t && (g = y);
  }
  return [g, d, f];
}
function Dw(e, t, r, n, A, i) {
  const { messageCompiler: s, warnHtmlMessage: a } = e;
  if (BA(n)) {
    const l = n;
    return (l.locale = l.locale || r), (l.key = l.key || t), l;
  }
  if (s == null) {
    const l = () => n;
    return (l.locale = r), (l.key = t), l;
  }
  const o = s(n, lK(e, r, A, n, a, i));
  return (o.locale = r), (o.key = t), (o.source = n), o;
}
function oK(e, t, r) {
  return t(r);
}
function eh(...e) {
  const [t, r, n] = e,
    A = {};
  if (!ze(t) && !xr(t) && !BA(t)) throw Ma(Ha.INVALID_ARGUMENT);
  const i = xr(t) ? String(t) : (BA(t), t);
  return (
    xr(r)
      ? (A.plural = r)
      : ze(r)
        ? (A.default = r)
        : vt(r) && !xf(r)
          ? (A.named = r)
          : Vt(r) && (A.list = r),
    xr(n) ? (A.plural = n) : ze(n) ? (A.default = n) : vt(n) && Pr(A, n),
    [i, A]
  );
}
function lK(e, t, r, n, A, i) {
  return {
    warnHtmlMessage: A,
    onError: (s) => {
      throw (i && i(s), s);
    },
    onCacheKey: (s) => t$(t, r, s),
  };
}
function uK(e, t, r, n) {
  const {
      modifiers: A,
      pluralRules: i,
      messageResolver: s,
      fallbackLocale: a,
      fallbackWarn: o,
      missingWarn: l,
      fallbackContext: u,
    } = e,
    d = {
      locale: t,
      modifiers: A,
      pluralRules: i,
      messages: (g) => {
        let v = s(r, g);
        if (v == null && u) {
          const [, , B] = Iw(u, g, t, a, o, l);
          v = s(B, g);
        }
        if (ze(v)) {
          let B = !1;
          const w = Dw(e, g, t, v, g, () => {
            B = !0;
          });
          return B ? Uv : w;
        } else return BA(v) ? v : Uv;
      },
    };
  return (
    e.processor && (d.processor = e.processor),
    n.list && (d.list = n.list),
    n.named && (d.named = n.named),
    xr(n.plural) && (d.pluralIndex = n.plural),
    d
  );
}
function Iv(e, ...t) {
  const {
      datetimeFormats: r,
      unresolving: n,
      fallbackLocale: A,
      onWarn: i,
      localeFallbacker: s,
    } = e,
    { __datetimeFormatters: a } = e,
    [o, l, u, f] = th(...t),
    d = bt(u.missingWarn) ? u.missingWarn : e.missingWarn;
  bt(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn;
  const g = !!u.part,
    v = ze(u.locale) ? u.locale : e.locale,
    B = s(e, A, v);
  if (!ze(o) || o === "") return new Intl.DateTimeFormat(v, f).format(l);
  let y = {},
    w,
    m = null;
  const x = "datetime format";
  for (
    let F = 0;
    F < B.length && ((w = B[F]), (y = r[w] || {}), (m = y[o]), !vt(m));
    F++
  )
    Pp(e, o, w, d, x);
  if (!vt(m) || !ze(w)) return n ? bf : o;
  let C = `${w}__${o}`;
  xf(f) || (C = `${C}__${JSON.stringify(f)}`);
  let b = a.get(C);
  return (
    b || ((b = new Intl.DateTimeFormat(w, Pr({}, m, f))), a.set(C, b)),
    g ? b.formatToParts(l) : b.format(l)
  );
}
const Pw = [
  "localeMatcher",
  "weekday",
  "era",
  "year",
  "month",
  "day",
  "hour",
  "minute",
  "second",
  "timeZoneName",
  "formatMatcher",
  "hour12",
  "timeZone",
  "dateStyle",
  "timeStyle",
  "calendar",
  "dayPeriod",
  "numberingSystem",
  "hourCycle",
  "fractionalSecondDigits",
];
function th(...e) {
  const [t, r, n, A] = e,
    i = {};
  let s = {},
    a;
  if (ze(t)) {
    const o = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
    if (!o) throw Ma(Ha.INVALID_ISO_DATE_ARGUMENT);
    const l = o[3]
      ? o[3].trim().startsWith("T")
        ? `${o[1].trim()}${o[3].trim()}`
        : `${o[1].trim()}T${o[3].trim()}`
      : o[1].trim();
    a = new Date(l);
    try {
      a.toISOString();
    } catch {
      throw Ma(Ha.INVALID_ISO_DATE_ARGUMENT);
    }
  } else if (n$(t)) {
    if (isNaN(t.getTime())) throw Ma(Ha.INVALID_DATE_ARGUMENT);
    a = t;
  } else if (xr(t)) a = t;
  else throw Ma(Ha.INVALID_ARGUMENT);
  return (
    ze(r)
      ? (i.key = r)
      : vt(r) &&
        Object.keys(r).forEach((o) => {
          Pw.includes(o) ? (s[o] = r[o]) : (i[o] = r[o]);
        }),
    ze(n) ? (i.locale = n) : vt(n) && (s = n),
    vt(A) && (s = A),
    [i.key || "", a, i, s]
  );
}
function Dv(e, t, r) {
  const n = e;
  for (const A in r) {
    const i = `${t}__${A}`;
    n.__datetimeFormatters.has(i) && n.__datetimeFormatters.delete(i);
  }
}
function Pv(e, ...t) {
  const {
      numberFormats: r,
      unresolving: n,
      fallbackLocale: A,
      onWarn: i,
      localeFallbacker: s,
    } = e,
    { __numberFormatters: a } = e,
    [o, l, u, f] = rh(...t),
    d = bt(u.missingWarn) ? u.missingWarn : e.missingWarn;
  bt(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn;
  const g = !!u.part,
    v = ze(u.locale) ? u.locale : e.locale,
    B = s(e, A, v);
  if (!ze(o) || o === "") return new Intl.NumberFormat(v, f).format(l);
  let y = {},
    w,
    m = null;
  const x = "number format";
  for (
    let F = 0;
    F < B.length && ((w = B[F]), (y = r[w] || {}), (m = y[o]), !vt(m));
    F++
  )
    Pp(e, o, w, d, x);
  if (!vt(m) || !ze(w)) return n ? bf : o;
  let C = `${w}__${o}`;
  xf(f) || (C = `${C}__${JSON.stringify(f)}`);
  let b = a.get(C);
  return (
    b || ((b = new Intl.NumberFormat(w, Pr({}, m, f))), a.set(C, b)),
    g ? b.formatToParts(l) : b.format(l)
  );
}
const Ow = [
  "localeMatcher",
  "style",
  "currency",
  "currencyDisplay",
  "currencySign",
  "useGrouping",
  "minimumIntegerDigits",
  "minimumFractionDigits",
  "maximumFractionDigits",
  "minimumSignificantDigits",
  "maximumSignificantDigits",
  "compactDisplay",
  "notation",
  "signDisplay",
  "unit",
  "unitDisplay",
  "roundingMode",
  "roundingPriority",
  "roundingIncrement",
  "trailingZeroDisplay",
];
function rh(...e) {
  const [t, r, n, A] = e,
    i = {};
  let s = {};
  if (!xr(t)) throw Ma(Ha.INVALID_ARGUMENT);
  const a = t;
  return (
    ze(r)
      ? (i.key = r)
      : vt(r) &&
        Object.keys(r).forEach((o) => {
          Ow.includes(o) ? (s[o] = r[o]) : (i[o] = r[o]);
        }),
    ze(n) ? (i.locale = n) : vt(n) && (s = n),
    vt(A) && (s = A),
    [i.key || "", a, i, s]
  );
}
function Ov(e, t, r) {
  const n = e;
  for (const A in r) {
    const i = `${t}__${A}`;
    n.__numberFormatters.has(i) && n.__numberFormatters.delete(i);
  }
}
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" &&
  (Ul().__INTLIFY_PROD_DEVTOOLS__ = !1);
/*!
 * vue-i18n v9.2.2
 * (c) 2022 kazuya kawaguchi
 * Released under the MIT License.
 */ const cK = "9.2.2";
function fK() {
  typeof __VUE_I18N_FULL_INSTALL__ != "boolean" &&
    (Ul().__VUE_I18N_FULL_INSTALL__ = !0),
    typeof __VUE_I18N_LEGACY_API__ != "boolean" &&
      (Ul().__VUE_I18N_LEGACY_API__ = !0),
    typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" &&
      (Ul().__INTLIFY_PROD_DEVTOOLS__ = !1);
}
let Lw = Tt.__EXTEND_POINT__;
const un = () => ++Lw,
  hr = {
    UNEXPECTED_RETURN_TYPE: Lw,
    INVALID_ARGUMENT: un(),
    MUST_BE_CALL_SETUP_TOP: un(),
    NOT_INSLALLED: un(),
    NOT_AVAILABLE_IN_LEGACY_MODE: un(),
    REQUIRED_VALUE: un(),
    INVALID_VALUE: un(),
    CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: un(),
    NOT_INSLALLED_WITH_PROVIDE: un(),
    UNEXPECTED_ERROR: un(),
    NOT_COMPATIBLE_LEGACY_VUE_I18N: un(),
    BRIDGE_SUPPORT_VUE_2_ONLY: un(),
    MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION: un(),
    NOT_AVAILABLE_COMPOSITION_IN_LEGACY: un(),
    __EXTEND_POINT__: un(),
  };
function br(e, ...t) {
  return Ef(e, null, void 0);
}
const nh = gs("__transrateVNode"),
  Ah = gs("__datetimeParts"),
  ih = gs("__numberParts"),
  kw = gs("__setPluralRules");
gs("__intlifyMeta");
const Hw = gs("__injectWithOption");
function sh(e) {
  if (!Gt(e)) return e;
  for (const t in e)
    if (Tp(e, t))
      if (!t.includes(".")) Gt(e[t]) && sh(e[t]);
      else {
        const r = t.split("."),
          n = r.length - 1;
        let A = e;
        for (let i = 0; i < n; i++) r[i] in A || (A[r[i]] = {}), (A = A[r[i]]);
        (A[r[n]] = e[t]), delete e[t], Gt(A[r[n]]) && sh(A[r[n]]);
      }
  return e;
}
function Ff(e, t) {
  const { messages: r, __i18n: n, messageResolver: A, flatJson: i } = t,
    s = vt(r) ? r : Vt(n) ? {} : { [e]: {} };
  if (
    (Vt(n) &&
      n.forEach((a) => {
        if ("locale" in a && "resource" in a) {
          const { locale: o, resource: l } = a;
          o ? ((s[o] = s[o] || {}), Tl(l, s[o])) : Tl(l, s);
        } else ze(a) && Tl(JSON.parse(a), s);
      }),
    A == null && i)
  )
    for (const a in s) Tp(s, a) && sh(s[a]);
  return s;
}
const lu = (e) => !Gt(e) || Vt(e);
function Tl(e, t) {
  if (lu(e) || lu(t)) throw br(hr.INVALID_VALUE);
  for (const r in e)
    Tp(e, r) && (lu(e[r]) || lu(t[r]) ? (t[r] = e[r]) : Tl(e[r], t[r]));
}
function Mw(e) {
  return e.type;
}
function Rw(e, t, r) {
  let n = Gt(t.messages) ? t.messages : {};
  "__i18nGlobal" in r &&
    (n = Ff(e.locale.value, { messages: n, __i18n: r.__i18nGlobal }));
  const A = Object.keys(n);
  A.length &&
    A.forEach((i) => {
      e.mergeLocaleMessage(i, n[i]);
    });
  {
    if (Gt(t.datetimeFormats)) {
      const i = Object.keys(t.datetimeFormats);
      i.length &&
        i.forEach((s) => {
          e.mergeDateTimeFormat(s, t.datetimeFormats[s]);
        });
    }
    if (Gt(t.numberFormats)) {
      const i = Object.keys(t.numberFormats);
      i.length &&
        i.forEach((s) => {
          e.mergeNumberFormat(s, t.numberFormats[s]);
        });
    }
  }
}
function Lv(e) {
  return Z(rs, null, e, 0);
}
const kv = "__INTLIFY_META__";
let Hv = 0;
function Mv(e) {
  return (t, r, n, A) => e(r, n, Wt() || void 0, A);
}
const dK = () => {
  const e = Wt();
  let t = null;
  return e && (t = Mw(e)[kv]) ? { [kv]: t } : null;
};
function Op(e = {}, t) {
  const { __root: r } = e,
    n = r === void 0;
  let A = bt(e.inheritLocale) ? e.inheritLocale : !0;
  const i = Ue(r && A ? r.locale.value : ze(e.locale) ? e.locale : b0),
    s = Ue(
      r && A
        ? r.fallbackLocale.value
        : ze(e.fallbackLocale) ||
            Vt(e.fallbackLocale) ||
            vt(e.fallbackLocale) ||
            e.fallbackLocale === !1
          ? e.fallbackLocale
          : i.value,
    ),
    a = Ue(Ff(i.value, e)),
    o = Ue(vt(e.datetimeFormats) ? e.datetimeFormats : { [i.value]: {} }),
    l = Ue(vt(e.numberFormats) ? e.numberFormats : { [i.value]: {} });
  let u = r
      ? r.missingWarn
      : bt(e.missingWarn) || as(e.missingWarn)
        ? e.missingWarn
        : !0,
    f = r
      ? r.fallbackWarn
      : bt(e.fallbackWarn) || as(e.fallbackWarn)
        ? e.fallbackWarn
        : !0,
    d = r ? r.fallbackRoot : bt(e.fallbackRoot) ? e.fallbackRoot : !0,
    g = !!e.fallbackFormat,
    v = ir(e.missing) ? e.missing : null,
    B = ir(e.missing) ? Mv(e.missing) : null,
    y = ir(e.postTranslation) ? e.postTranslation : null,
    w = r ? r.warnHtmlMessage : bt(e.warnHtmlMessage) ? e.warnHtmlMessage : !0,
    m = !!e.escapeParameter;
  const x = r ? r.modifiers : vt(e.modifiers) ? e.modifiers : {};
  let C = e.pluralRules || (r && r.pluralRules),
    b;
  (b = (() => {
    n && _v(null);
    const we = {
      version: cK,
      locale: i.value,
      fallbackLocale: s.value,
      messages: a.value,
      modifiers: x,
      pluralRules: C,
      missing: B === null ? void 0 : B,
      missingWarn: u,
      fallbackWarn: f,
      fallbackFormat: g,
      unresolving: !0,
      postTranslation: y === null ? void 0 : y,
      warnHtmlMessage: w,
      escapeParameter: m,
      messageResolver: e.messageResolver,
      __meta: { framework: "vue" },
    };
    (we.datetimeFormats = o.value),
      (we.numberFormats = l.value),
      (we.__datetimeFormatters = vt(b) ? b.__datetimeFormatters : void 0),
      (we.__numberFormatters = vt(b) ? b.__numberFormatters : void 0);
    const he = AK(we);
    return n && _v(he), he;
  })()),
    tl(b, i.value, s.value);
  function I() {
    return [i.value, s.value, a.value, o.value, l.value];
  }
  const T = Oe({
      get: () => i.value,
      set: (we) => {
        (i.value = we), (b.locale = i.value);
      },
    }),
    D = Oe({
      get: () => s.value,
      set: (we) => {
        (s.value = we), (b.fallbackLocale = s.value), tl(b, i.value, we);
      },
    }),
    U = Oe(() => a.value),
    Q = Oe(() => o.value),
    L = Oe(() => l.value);
  function $() {
    return ir(y) ? y : null;
  }
  function X(we) {
    (y = we), (b.postTranslation = we);
  }
  function V() {
    return v;
  }
  function G(we) {
    we !== null && (B = Mv(we)), (v = we), (b.missing = B);
  }
  const le = (we, he, Ke, Je, lt, mt) => {
    I();
    let Bt;
    if (__INTLIFY_PROD_DEVTOOLS__)
      try {
        Fv(dK()), n || (b.fallbackContext = r ? nK() : void 0), (Bt = we(b));
      } finally {
        Fv(null), n || (b.fallbackContext = void 0);
      }
    else Bt = we(b);
    if (xr(Bt) && Bt === bf) {
      const [kt, kr] = he();
      return r && d ? Je(r) : lt(kt);
    } else {
      if (mt(Bt)) return Bt;
      throw br(hr.UNEXPECTED_RETURN_TYPE);
    }
  };
  function q(...we) {
    return le(
      (he) => Reflect.apply(Tv, null, [he, ...we]),
      () => eh(...we),
      "translate",
      (he) => Reflect.apply(he.t, he, [...we]),
      (he) => he,
      (he) => ze(he),
    );
  }
  function ue(...we) {
    const [he, Ke, Je] = we;
    if (Je && !Gt(Je)) throw br(hr.INVALID_ARGUMENT);
    return q(he, Ke, Pr({ resolvedMessage: !0 }, Je || {}));
  }
  function Ce(...we) {
    return le(
      (he) => Reflect.apply(Iv, null, [he, ...we]),
      () => th(...we),
      "datetime format",
      (he) => Reflect.apply(he.d, he, [...we]),
      () => Ev,
      (he) => ze(he),
    );
  }
  function ee(...we) {
    return le(
      (he) => Reflect.apply(Pv, null, [he, ...we]),
      () => rh(...we),
      "number format",
      (he) => Reflect.apply(he.n, he, [...we]),
      () => Ev,
      (he) => ze(he),
    );
  }
  function ce(we) {
    return we.map((he) => (ze(he) || xr(he) || bt(he) ? Lv(String(he)) : he));
  }
  const xe = { normalize: ce, interpolate: (we) => we, type: "vnode" };
  function se(...we) {
    return le(
      (he) => {
        let Ke;
        const Je = he;
        try {
          (Je.processor = xe), (Ke = Reflect.apply(Tv, null, [Je, ...we]));
        } finally {
          Je.processor = null;
        }
        return Ke;
      },
      () => eh(...we),
      "translate",
      (he) => he[nh](...we),
      (he) => [Lv(he)],
      (he) => Vt(he),
    );
  }
  function Fe(...we) {
    return le(
      (he) => Reflect.apply(Pv, null, [he, ...we]),
      () => rh(...we),
      "number format",
      (he) => he[ih](...we),
      () => [],
      (he) => ze(he) || Vt(he),
    );
  }
  function ie(...we) {
    return le(
      (he) => Reflect.apply(Iv, null, [he, ...we]),
      () => th(...we),
      "datetime format",
      (he) => he[Ah](...we),
      () => [],
      (he) => ze(he) || Vt(he),
    );
  }
  function _e(we) {
    (C = we), (b.pluralRules = C);
  }
  function De(we, he) {
    const Ke = ze(he) ? he : i.value,
      Je = j(Ke);
    return b.messageResolver(Je, we) !== null;
  }
  function $e(we) {
    let he = null;
    const Ke = bw(b, s.value, i.value);
    for (let Je = 0; Je < Ke.length; Je++) {
      const lt = a.value[Ke[Je]] || {},
        mt = b.messageResolver(lt, we);
      if (mt != null) {
        he = mt;
        break;
      }
    }
    return he;
  }
  function Te(we) {
    const he = $e(we);
    return he ?? (r ? r.tm(we) || {} : {});
  }
  function j(we) {
    return a.value[we] || {};
  }
  function P(we, he) {
    (a.value[we] = he), (b.messages = a.value);
  }
  function M(we, he) {
    (a.value[we] = a.value[we] || {}),
      Tl(he, a.value[we]),
      (b.messages = a.value);
  }
  function te(we) {
    return o.value[we] || {};
  }
  function Be(we, he) {
    (o.value[we] = he), (b.datetimeFormats = o.value), Dv(b, we, he);
  }
  function Ie(we, he) {
    (o.value[we] = Pr(o.value[we] || {}, he)),
      (b.datetimeFormats = o.value),
      Dv(b, we, he);
  }
  function Le(we) {
    return l.value[we] || {};
  }
  function He(we, he) {
    (l.value[we] = he), (b.numberFormats = l.value), Ov(b, we, he);
  }
  function Ne(we, he) {
    (l.value[we] = Pr(l.value[we] || {}, he)),
      (b.numberFormats = l.value),
      Ov(b, we, he);
  }
  Hv++,
    r &&
      q2 &&
      (Ye(r.locale, (we) => {
        A && ((i.value = we), (b.locale = we), tl(b, i.value, s.value));
      }),
      Ye(r.fallbackLocale, (we) => {
        A && ((s.value = we), (b.fallbackLocale = we), tl(b, i.value, s.value));
      }));
  const Pe = {
    id: Hv,
    locale: T,
    fallbackLocale: D,
    get inheritLocale() {
      return A;
    },
    set inheritLocale(we) {
      (A = we),
        we &&
          r &&
          ((i.value = r.locale.value),
          (s.value = r.fallbackLocale.value),
          tl(b, i.value, s.value));
    },
    get availableLocales() {
      return Object.keys(a.value).sort();
    },
    messages: U,
    get modifiers() {
      return x;
    },
    get pluralRules() {
      return C || {};
    },
    get isGlobal() {
      return n;
    },
    get missingWarn() {
      return u;
    },
    set missingWarn(we) {
      (u = we), (b.missingWarn = u);
    },
    get fallbackWarn() {
      return f;
    },
    set fallbackWarn(we) {
      (f = we), (b.fallbackWarn = f);
    },
    get fallbackRoot() {
      return d;
    },
    set fallbackRoot(we) {
      d = we;
    },
    get fallbackFormat() {
      return g;
    },
    set fallbackFormat(we) {
      (g = we), (b.fallbackFormat = g);
    },
    get warnHtmlMessage() {
      return w;
    },
    set warnHtmlMessage(we) {
      (w = we), (b.warnHtmlMessage = we);
    },
    get escapeParameter() {
      return m;
    },
    set escapeParameter(we) {
      (m = we), (b.escapeParameter = we);
    },
    t: q,
    getLocaleMessage: j,
    setLocaleMessage: P,
    mergeLocaleMessage: M,
    getPostTranslationHandler: $,
    setPostTranslationHandler: X,
    getMissingHandler: V,
    setMissingHandler: G,
    [kw]: _e,
  };
  return (
    (Pe.datetimeFormats = Q),
    (Pe.numberFormats = L),
    (Pe.rt = ue),
    (Pe.te = De),
    (Pe.tm = Te),
    (Pe.d = Ce),
    (Pe.n = ee),
    (Pe.getDateTimeFormat = te),
    (Pe.setDateTimeFormat = Be),
    (Pe.mergeDateTimeFormat = Ie),
    (Pe.getNumberFormat = Le),
    (Pe.setNumberFormat = He),
    (Pe.mergeNumberFormat = Ne),
    (Pe[Hw] = e.__injectWithOption),
    (Pe[nh] = se),
    (Pe[Ah] = ie),
    (Pe[ih] = Fe),
    Pe
  );
}
function hK(e) {
  const t = ze(e.locale) ? e.locale : b0,
    r =
      ze(e.fallbackLocale) ||
      Vt(e.fallbackLocale) ||
      vt(e.fallbackLocale) ||
      e.fallbackLocale === !1
        ? e.fallbackLocale
        : t,
    n = ir(e.missing) ? e.missing : void 0,
    A =
      bt(e.silentTranslationWarn) || as(e.silentTranslationWarn)
        ? !e.silentTranslationWarn
        : !0,
    i =
      bt(e.silentFallbackWarn) || as(e.silentFallbackWarn)
        ? !e.silentFallbackWarn
        : !0,
    s = bt(e.fallbackRoot) ? e.fallbackRoot : !0,
    a = !!e.formatFallbackMessages,
    o = vt(e.modifiers) ? e.modifiers : {},
    l = e.pluralizationRules,
    u = ir(e.postTranslation) ? e.postTranslation : void 0,
    f = ze(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0,
    d = !!e.escapeParameterHtml,
    g = bt(e.sync) ? e.sync : !0;
  let v = e.messages;
  if (vt(e.sharedMessages)) {
    const b = e.sharedMessages;
    v = Object.keys(b).reduce((I, T) => {
      const D = I[T] || (I[T] = {});
      return Pr(D, b[T]), I;
    }, v || {});
  }
  const { __i18n: B, __root: y, __injectWithOption: w } = e,
    m = e.datetimeFormats,
    x = e.numberFormats,
    C = e.flatJson;
  return {
    locale: t,
    fallbackLocale: r,
    messages: v,
    flatJson: C,
    datetimeFormats: m,
    numberFormats: x,
    missing: n,
    missingWarn: A,
    fallbackWarn: i,
    fallbackRoot: s,
    fallbackFormat: a,
    modifiers: o,
    pluralRules: l,
    postTranslation: u,
    warnHtmlMessage: f,
    escapeParameter: d,
    messageResolver: e.messageResolver,
    inheritLocale: g,
    __i18n: B,
    __root: y,
    __injectWithOption: w,
  };
}
function ah(e = {}, t) {
  {
    const r = Op(hK(e)),
      n = {
        id: r.id,
        get locale() {
          return r.locale.value;
        },
        set locale(A) {
          r.locale.value = A;
        },
        get fallbackLocale() {
          return r.fallbackLocale.value;
        },
        set fallbackLocale(A) {
          r.fallbackLocale.value = A;
        },
        get messages() {
          return r.messages.value;
        },
        get datetimeFormats() {
          return r.datetimeFormats.value;
        },
        get numberFormats() {
          return r.numberFormats.value;
        },
        get availableLocales() {
          return r.availableLocales;
        },
        get formatter() {
          return {
            interpolate() {
              return [];
            },
          };
        },
        set formatter(A) {},
        get missing() {
          return r.getMissingHandler();
        },
        set missing(A) {
          r.setMissingHandler(A);
        },
        get silentTranslationWarn() {
          return bt(r.missingWarn) ? !r.missingWarn : r.missingWarn;
        },
        set silentTranslationWarn(A) {
          r.missingWarn = bt(A) ? !A : A;
        },
        get silentFallbackWarn() {
          return bt(r.fallbackWarn) ? !r.fallbackWarn : r.fallbackWarn;
        },
        set silentFallbackWarn(A) {
          r.fallbackWarn = bt(A) ? !A : A;
        },
        get modifiers() {
          return r.modifiers;
        },
        get formatFallbackMessages() {
          return r.fallbackFormat;
        },
        set formatFallbackMessages(A) {
          r.fallbackFormat = A;
        },
        get postTranslation() {
          return r.getPostTranslationHandler();
        },
        set postTranslation(A) {
          r.setPostTranslationHandler(A);
        },
        get sync() {
          return r.inheritLocale;
        },
        set sync(A) {
          r.inheritLocale = A;
        },
        get warnHtmlInMessage() {
          return r.warnHtmlMessage ? "warn" : "off";
        },
        set warnHtmlInMessage(A) {
          r.warnHtmlMessage = A !== "off";
        },
        get escapeParameterHtml() {
          return r.escapeParameter;
        },
        set escapeParameterHtml(A) {
          r.escapeParameter = A;
        },
        get preserveDirectiveContent() {
          return !0;
        },
        set preserveDirectiveContent(A) {},
        get pluralizationRules() {
          return r.pluralRules || {};
        },
        __composer: r,
        t(...A) {
          const [i, s, a] = A,
            o = {};
          let l = null,
            u = null;
          if (!ze(i)) throw br(hr.INVALID_ARGUMENT);
          const f = i;
          return (
            ze(s) ? (o.locale = s) : Vt(s) ? (l = s) : vt(s) && (u = s),
            Vt(a) ? (l = a) : vt(a) && (u = a),
            Reflect.apply(r.t, r, [f, l || u || {}, o])
          );
        },
        rt(...A) {
          return Reflect.apply(r.rt, r, [...A]);
        },
        tc(...A) {
          const [i, s, a] = A,
            o = { plural: 1 };
          let l = null,
            u = null;
          if (!ze(i)) throw br(hr.INVALID_ARGUMENT);
          const f = i;
          return (
            ze(s)
              ? (o.locale = s)
              : xr(s)
                ? (o.plural = s)
                : Vt(s)
                  ? (l = s)
                  : vt(s) && (u = s),
            ze(a) ? (o.locale = a) : Vt(a) ? (l = a) : vt(a) && (u = a),
            Reflect.apply(r.t, r, [f, l || u || {}, o])
          );
        },
        te(A, i) {
          return r.te(A, i);
        },
        tm(A) {
          return r.tm(A);
        },
        getLocaleMessage(A) {
          return r.getLocaleMessage(A);
        },
        setLocaleMessage(A, i) {
          r.setLocaleMessage(A, i);
        },
        mergeLocaleMessage(A, i) {
          r.mergeLocaleMessage(A, i);
        },
        d(...A) {
          return Reflect.apply(r.d, r, [...A]);
        },
        getDateTimeFormat(A) {
          return r.getDateTimeFormat(A);
        },
        setDateTimeFormat(A, i) {
          r.setDateTimeFormat(A, i);
        },
        mergeDateTimeFormat(A, i) {
          r.mergeDateTimeFormat(A, i);
        },
        n(...A) {
          return Reflect.apply(r.n, r, [...A]);
        },
        getNumberFormat(A) {
          return r.getNumberFormat(A);
        },
        setNumberFormat(A, i) {
          r.setNumberFormat(A, i);
        },
        mergeNumberFormat(A, i) {
          r.mergeNumberFormat(A, i);
        },
        getChoiceIndex(A, i) {
          return -1;
        },
        __onComponentInstanceCreated(A) {
          const { componentInstanceCreatedListener: i } = e;
          i && i(A, n);
        },
      };
    return n;
  }
}
const Lp = {
  tag: { type: [String, Object] },
  locale: { type: String },
  scope: {
    type: String,
    validator: (e) => e === "parent" || e === "global",
    default: "parent",
  },
  i18n: { type: Object },
};
function pK({ slots: e }, t) {
  return t.length === 1 && t[0] === "default"
    ? (e.default ? e.default() : []).reduce(
        (n, A) => (n = [...n, ...(Vt(A.children) ? A.children : [A])]),
        [],
      )
    : t.reduce((r, n) => {
        const A = e[n];
        return A && (r[n] = A()), r;
      }, {});
}
function Nw(e) {
  return Ar;
}
const Rv = {
  name: "i18n-t",
  props: Pr(
    {
      keypath: { type: String, required: !0 },
      plural: { type: [Number, String], validator: (e) => xr(e) || !isNaN(e) },
    },
    Lp,
  ),
  setup(e, t) {
    const { slots: r, attrs: n } = t,
      A = e.i18n || kp({ useScope: e.scope, __useComponent: !0 });
    return () => {
      const i = Object.keys(r).filter((f) => f !== "_"),
        s = {};
      e.locale && (s.locale = e.locale),
        e.plural !== void 0 && (s.plural = ze(e.plural) ? +e.plural : e.plural);
      const a = pK(t, i),
        o = A[nh](e.keypath, a, s),
        l = Pr({}, n),
        u = ze(e.tag) || Gt(e.tag) ? e.tag : Nw();
      return Ur(u, l, o);
    };
  },
};
function gK(e) {
  return Vt(e) && !ze(e[0]);
}
function $w(e, t, r, n) {
  const { slots: A, attrs: i } = t;
  return () => {
    const s = { part: !0 };
    let a = {};
    e.locale && (s.locale = e.locale),
      ze(e.format)
        ? (s.key = e.format)
        : Gt(e.format) &&
          (ze(e.format.key) && (s.key = e.format.key),
          (a = Object.keys(e.format).reduce(
            (d, g) => (r.includes(g) ? Pr({}, d, { [g]: e.format[g] }) : d),
            {},
          )));
    const o = n(e.value, s, a);
    let l = [s.key];
    Vt(o)
      ? (l = o.map((d, g) => {
          const v = A[d.type],
            B = v ? v({ [d.type]: d.value, index: g, parts: o }) : [d.value];
          return gK(B) && (B[0].key = `${d.type}-${g}`), B;
        }))
      : ze(o) && (l = [o]);
    const u = Pr({}, i),
      f = ze(e.tag) || Gt(e.tag) ? e.tag : Nw();
    return Ur(f, u, l);
  };
}
const Nv = {
    name: "i18n-n",
    props: Pr(
      {
        value: { type: Number, required: !0 },
        format: { type: [String, Object] },
      },
      Lp,
    ),
    setup(e, t) {
      const r = e.i18n || kp({ useScope: "parent", __useComponent: !0 });
      return $w(e, t, Ow, (...n) => r[ih](...n));
    },
  },
  $v = {
    name: "i18n-d",
    props: Pr(
      {
        value: { type: [Number, Date], required: !0 },
        format: { type: [String, Object] },
      },
      Lp,
    ),
    setup(e, t) {
      const r = e.i18n || kp({ useScope: "parent", __useComponent: !0 });
      return $w(e, t, Pw, (...n) => r[Ah](...n));
    },
  };
function vK(e, t) {
  const r = e;
  if (e.mode === "composition") return r.__getInstance(t) || e.global;
  {
    const n = r.__getInstance(t);
    return n != null ? n.__composer : e.global.__composer;
  }
}
function mK(e) {
  const t = (s) => {
    const { instance: a, modifiers: o, value: l } = s;
    if (!a || !a.$) throw br(hr.UNEXPECTED_ERROR);
    const u = vK(e, a.$),
      f = Kv(l);
    return [Reflect.apply(u.t, u, [...Vv(f)]), u];
  };
  return {
    created: (s, a) => {
      const [o, l] = t(a);
      q2 &&
        e.global === l &&
        (s.__i18nWatcher = Ye(l.locale, () => {
          a.instance && a.instance.$forceUpdate();
        })),
        (s.__composer = l),
        (s.textContent = o);
    },
    unmounted: (s) => {
      q2 &&
        s.__i18nWatcher &&
        (s.__i18nWatcher(), (s.__i18nWatcher = void 0), delete s.__i18nWatcher),
        s.__composer && ((s.__composer = void 0), delete s.__composer);
    },
    beforeUpdate: (s, { value: a }) => {
      if (s.__composer) {
        const o = s.__composer,
          l = Kv(a);
        s.textContent = Reflect.apply(o.t, o, [...Vv(l)]);
      }
    },
    getSSRProps: (s) => {
      const [a] = t(s);
      return { textContent: a };
    },
  };
}
function Kv(e) {
  if (ze(e)) return { path: e };
  if (vt(e)) {
    if (!("path" in e)) throw br(hr.REQUIRED_VALUE, "path");
    return e;
  } else throw br(hr.INVALID_VALUE);
}
function Vv(e) {
  const { path: t, locale: r, args: n, choice: A, plural: i } = e,
    s = {},
    a = n || {};
  return (
    ze(r) && (s.locale = r),
    xr(A) && (s.plural = A),
    xr(i) && (s.plural = i),
    [t, a, s]
  );
}
function BK(e, t, ...r) {
  const n = vt(r[0]) ? r[0] : {},
    A = !!n.useI18nComponentName;
  (bt(n.globalInstall) ? n.globalInstall : !0) &&
    (e.component(A ? "i18n" : Rv.name, Rv),
    e.component(Nv.name, Nv),
    e.component($v.name, $v)),
    e.directive("t", mK(t));
}
function wK(e, t, r) {
  return {
    beforeCreate() {
      const n = Wt();
      if (!n) throw br(hr.UNEXPECTED_ERROR);
      const A = this.$options;
      if (A.i18n) {
        const i = A.i18n;
        A.__i18n && (i.__i18n = A.__i18n),
          (i.__root = t),
          this === this.$root
            ? (this.$i18n = Gv(e, i))
            : ((i.__injectWithOption = !0), (this.$i18n = ah(i)));
      } else
        A.__i18n
          ? this === this.$root
            ? (this.$i18n = Gv(e, A))
            : (this.$i18n = ah({
                __i18n: A.__i18n,
                __injectWithOption: !0,
                __root: t,
              }))
          : (this.$i18n = e);
      A.__i18nGlobal && Rw(t, A, A),
        e.__onComponentInstanceCreated(this.$i18n),
        r.__setInstance(n, this.$i18n),
        (this.$t = (...i) => this.$i18n.t(...i)),
        (this.$rt = (...i) => this.$i18n.rt(...i)),
        (this.$tc = (...i) => this.$i18n.tc(...i)),
        (this.$te = (i, s) => this.$i18n.te(i, s)),
        (this.$d = (...i) => this.$i18n.d(...i)),
        (this.$n = (...i) => this.$i18n.n(...i)),
        (this.$tm = (i) => this.$i18n.tm(i));
    },
    mounted() {},
    unmounted() {
      const n = Wt();
      if (!n) throw br(hr.UNEXPECTED_ERROR);
      delete this.$t,
        delete this.$rt,
        delete this.$tc,
        delete this.$te,
        delete this.$d,
        delete this.$n,
        delete this.$tm,
        r.__deleteInstance(n),
        delete this.$i18n;
    },
  };
}
function Gv(e, t) {
  (e.locale = t.locale || e.locale),
    (e.fallbackLocale = t.fallbackLocale || e.fallbackLocale),
    (e.missing = t.missing || e.missing),
    (e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn),
    (e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn),
    (e.formatFallbackMessages =
      t.formatFallbackMessages || e.formatFallbackMessages),
    (e.postTranslation = t.postTranslation || e.postTranslation),
    (e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage),
    (e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml),
    (e.sync = t.sync || e.sync),
    e.__composer[kw](t.pluralizationRules || e.pluralizationRules);
  const r = Ff(e.locale, { messages: t.messages, __i18n: t.__i18n });
  return (
    Object.keys(r).forEach((n) => e.mergeLocaleMessage(n, r[n])),
    t.datetimeFormats &&
      Object.keys(t.datetimeFormats).forEach((n) =>
        e.mergeDateTimeFormat(n, t.datetimeFormats[n]),
      ),
    t.numberFormats &&
      Object.keys(t.numberFormats).forEach((n) =>
        e.mergeNumberFormat(n, t.numberFormats[n]),
      ),
    e
  );
}
const yK = gs("global-vue-i18n");
function Ure(e = {}, t) {
  const r =
      __VUE_I18N_LEGACY_API__ && bt(e.legacy)
        ? e.legacy
        : __VUE_I18N_LEGACY_API__,
    n = bt(e.globalInjection) ? e.globalInjection : !0,
    A = __VUE_I18N_LEGACY_API__ && r ? !!e.allowComposition : !0,
    i = new Map(),
    [s, a] = CK(e, r),
    o = gs("");
  function l(d) {
    return i.get(d) || null;
  }
  function u(d, g) {
    i.set(d, g);
  }
  function f(d) {
    i.delete(d);
  }
  {
    const d = {
      get mode() {
        return __VUE_I18N_LEGACY_API__ && r ? "legacy" : "composition";
      },
      get allowComposition() {
        return A;
      },
      async install(g, ...v) {
        (g.__VUE_I18N_SYMBOL__ = o),
          g.provide(g.__VUE_I18N_SYMBOL__, d),
          !r && n && TK(g, d.global),
          __VUE_I18N_FULL_INSTALL__ && BK(g, d, ...v),
          __VUE_I18N_LEGACY_API__ && r && g.mixin(wK(a, a.__composer, d));
        const B = g.unmount;
        g.unmount = () => {
          d.dispose(), B();
        };
      },
      get global() {
        return a;
      },
      dispose() {
        s.stop();
      },
      __instances: i,
      __getInstance: l,
      __setInstance: u,
      __deleteInstance: f,
    };
    return d;
  }
}
function kp(e = {}) {
  const t = Wt();
  if (t == null) throw br(hr.MUST_BE_CALL_SETUP_TOP);
  if (
    !t.isCE &&
    t.appContext.app != null &&
    !t.appContext.app.__VUE_I18N_SYMBOL__
  )
    throw br(hr.NOT_INSLALLED);
  const r = xK(t),
    n = bK(r),
    A = Mw(t),
    i = EK(e, A);
  if (__VUE_I18N_LEGACY_API__ && r.mode === "legacy" && !e.__useComponent) {
    if (!r.allowComposition) throw br(hr.NOT_AVAILABLE_IN_LEGACY_MODE);
    return SK(t, i, n, e);
  }
  if (i === "global") return Rw(n, e, A), n;
  if (i === "parent") {
    let o = FK(r, t, e.__useComponent);
    return o == null && (o = n), o;
  }
  const s = r;
  let a = s.__getInstance(t);
  if (a == null) {
    const o = Pr({}, e);
    "__i18n" in A && (o.__i18n = A.__i18n),
      n && (o.__root = n),
      (a = Op(o)),
      _K(s, t),
      s.__setInstance(t, a);
  }
  return a;
}
function CK(e, t, r) {
  const n = Hc();
  {
    const A =
      __VUE_I18N_LEGACY_API__ && t ? n.run(() => ah(e)) : n.run(() => Op(e));
    if (A == null) throw br(hr.UNEXPECTED_ERROR);
    return [n, A];
  }
}
function xK(e) {
  {
    const t = dr(e.isCE ? yK : e.appContext.app.__VUE_I18N_SYMBOL__);
    if (!t)
      throw br(e.isCE ? hr.NOT_INSLALLED_WITH_PROVIDE : hr.UNEXPECTED_ERROR);
    return t;
  }
}
function EK(e, t) {
  return xf(e)
    ? "__i18n" in t
      ? "local"
      : "global"
    : e.useScope
      ? e.useScope
      : "local";
}
function bK(e) {
  return e.mode === "composition" ? e.global : e.global.__composer;
}
function FK(e, t, r = !1) {
  let n = null;
  const A = t.root;
  let i = t.parent;
  for (; i != null; ) {
    const s = e;
    if (e.mode === "composition") n = s.__getInstance(i);
    else if (__VUE_I18N_LEGACY_API__) {
      const a = s.__getInstance(i);
      a != null && ((n = a.__composer), r && n && !n[Hw] && (n = null));
    }
    if (n != null || A === i) break;
    i = i.parent;
  }
  return n;
}
function _K(e, t, r) {
  Zt(() => {}, t),
    ci(() => {
      e.__deleteInstance(t);
    }, t);
}
function SK(e, t, r, n = {}) {
  const A = t === "local",
    i = Vc(null);
  if (A && e.proxy && !(e.proxy.$options.i18n || e.proxy.$options.__i18n))
    throw br(hr.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
  const s = bt(n.inheritLocale) ? n.inheritLocale : !0,
    a = Ue(A && s ? r.locale.value : ze(n.locale) ? n.locale : b0),
    o = Ue(
      A && s
        ? r.fallbackLocale.value
        : ze(n.fallbackLocale) ||
            Vt(n.fallbackLocale) ||
            vt(n.fallbackLocale) ||
            n.fallbackLocale === !1
          ? n.fallbackLocale
          : a.value,
    ),
    l = Ue(Ff(a.value, n)),
    u = Ue(vt(n.datetimeFormats) ? n.datetimeFormats : { [a.value]: {} }),
    f = Ue(vt(n.numberFormats) ? n.numberFormats : { [a.value]: {} }),
    d = A
      ? r.missingWarn
      : bt(n.missingWarn) || as(n.missingWarn)
        ? n.missingWarn
        : !0,
    g = A
      ? r.fallbackWarn
      : bt(n.fallbackWarn) || as(n.fallbackWarn)
        ? n.fallbackWarn
        : !0,
    v = A ? r.fallbackRoot : bt(n.fallbackRoot) ? n.fallbackRoot : !0,
    B = !!n.fallbackFormat,
    y = ir(n.missing) ? n.missing : null,
    w = ir(n.postTranslation) ? n.postTranslation : null,
    m = A ? r.warnHtmlMessage : bt(n.warnHtmlMessage) ? n.warnHtmlMessage : !0,
    x = !!n.escapeParameter,
    C = A ? r.modifiers : vt(n.modifiers) ? n.modifiers : {},
    b = n.pluralRules || (A && r.pluralRules);
  function F() {
    return [a.value, o.value, l.value, u.value, f.value];
  }
  const I = Oe({
      get: () => (i.value ? i.value.locale.value : a.value),
      set: (M) => {
        i.value && (i.value.locale.value = M), (a.value = M);
      },
    }),
    T = Oe({
      get: () => (i.value ? i.value.fallbackLocale.value : o.value),
      set: (M) => {
        i.value && (i.value.fallbackLocale.value = M), (o.value = M);
      },
    }),
    D = Oe(() => (i.value ? i.value.messages.value : l.value)),
    U = Oe(() => u.value),
    Q = Oe(() => f.value);
  function L() {
    return i.value ? i.value.getPostTranslationHandler() : w;
  }
  function $(M) {
    i.value && i.value.setPostTranslationHandler(M);
  }
  function X() {
    return i.value ? i.value.getMissingHandler() : y;
  }
  function V(M) {
    i.value && i.value.setMissingHandler(M);
  }
  function G(M) {
    return F(), M();
  }
  function le(...M) {
    return i.value
      ? G(() => Reflect.apply(i.value.t, null, [...M]))
      : G(() => "");
  }
  function q(...M) {
    return i.value ? Reflect.apply(i.value.rt, null, [...M]) : "";
  }
  function ue(...M) {
    return i.value
      ? G(() => Reflect.apply(i.value.d, null, [...M]))
      : G(() => "");
  }
  function Ce(...M) {
    return i.value
      ? G(() => Reflect.apply(i.value.n, null, [...M]))
      : G(() => "");
  }
  function ee(M) {
    return i.value ? i.value.tm(M) : {};
  }
  function ce(M, te) {
    return i.value ? i.value.te(M, te) : !1;
  }
  function ve(M) {
    return i.value ? i.value.getLocaleMessage(M) : {};
  }
  function xe(M, te) {
    i.value && (i.value.setLocaleMessage(M, te), (l.value[M] = te));
  }
  function se(M, te) {
    i.value && i.value.mergeLocaleMessage(M, te);
  }
  function Fe(M) {
    return i.value ? i.value.getDateTimeFormat(M) : {};
  }
  function ie(M, te) {
    i.value && (i.value.setDateTimeFormat(M, te), (u.value[M] = te));
  }
  function _e(M, te) {
    i.value && i.value.mergeDateTimeFormat(M, te);
  }
  function De(M) {
    return i.value ? i.value.getNumberFormat(M) : {};
  }
  function $e(M, te) {
    i.value && (i.value.setNumberFormat(M, te), (f.value[M] = te));
  }
  function Te(M, te) {
    i.value && i.value.mergeNumberFormat(M, te);
  }
  const j = {
    get id() {
      return i.value ? i.value.id : -1;
    },
    locale: I,
    fallbackLocale: T,
    messages: D,
    datetimeFormats: U,
    numberFormats: Q,
    get inheritLocale() {
      return i.value ? i.value.inheritLocale : s;
    },
    set inheritLocale(M) {
      i.value && (i.value.inheritLocale = M);
    },
    get availableLocales() {
      return i.value ? i.value.availableLocales : Object.keys(l.value);
    },
    get modifiers() {
      return i.value ? i.value.modifiers : C;
    },
    get pluralRules() {
      return i.value ? i.value.pluralRules : b;
    },
    get isGlobal() {
      return i.value ? i.value.isGlobal : !1;
    },
    get missingWarn() {
      return i.value ? i.value.missingWarn : d;
    },
    set missingWarn(M) {
      i.value && (i.value.missingWarn = M);
    },
    get fallbackWarn() {
      return i.value ? i.value.fallbackWarn : g;
    },
    set fallbackWarn(M) {
      i.value && (i.value.missingWarn = M);
    },
    get fallbackRoot() {
      return i.value ? i.value.fallbackRoot : v;
    },
    set fallbackRoot(M) {
      i.value && (i.value.fallbackRoot = M);
    },
    get fallbackFormat() {
      return i.value ? i.value.fallbackFormat : B;
    },
    set fallbackFormat(M) {
      i.value && (i.value.fallbackFormat = M);
    },
    get warnHtmlMessage() {
      return i.value ? i.value.warnHtmlMessage : m;
    },
    set warnHtmlMessage(M) {
      i.value && (i.value.warnHtmlMessage = M);
    },
    get escapeParameter() {
      return i.value ? i.value.escapeParameter : x;
    },
    set escapeParameter(M) {
      i.value && (i.value.escapeParameter = M);
    },
    t: le,
    getPostTranslationHandler: L,
    setPostTranslationHandler: $,
    getMissingHandler: X,
    setMissingHandler: V,
    rt: q,
    d: ue,
    n: Ce,
    tm: ee,
    te: ce,
    getLocaleMessage: ve,
    setLocaleMessage: xe,
    mergeLocaleMessage: se,
    getDateTimeFormat: Fe,
    setDateTimeFormat: ie,
    mergeDateTimeFormat: _e,
    getNumberFormat: De,
    setNumberFormat: $e,
    mergeNumberFormat: Te,
  };
  function P(M) {
    (M.locale.value = a.value),
      (M.fallbackLocale.value = o.value),
      Object.keys(l.value).forEach((te) => {
        M.mergeLocaleMessage(te, l.value[te]);
      }),
      Object.keys(u.value).forEach((te) => {
        M.mergeDateTimeFormat(te, u.value[te]);
      }),
      Object.keys(f.value).forEach((te) => {
        M.mergeNumberFormat(te, f.value[te]);
      }),
      (M.escapeParameter = x),
      (M.fallbackFormat = B),
      (M.fallbackRoot = v),
      (M.fallbackWarn = g),
      (M.missingWarn = d),
      (M.warnHtmlMessage = m);
  }
  return (
    v6(() => {
      if (e.proxy == null || e.proxy.$i18n == null)
        throw br(hr.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
      const M = (i.value = e.proxy.$i18n.__composer);
      t === "global"
        ? ((a.value = M.locale.value),
          (o.value = M.fallbackLocale.value),
          (l.value = M.messages.value),
          (u.value = M.datetimeFormats.value),
          (f.value = M.numberFormats.value))
        : A && P(M);
    }),
    j
  );
}
const QK = ["locale", "fallbackLocale", "availableLocales"],
  UK = ["t", "rt", "d", "n", "tm"];
function TK(e, t) {
  const r = Object.create(null);
  QK.forEach((n) => {
    const A = Object.getOwnPropertyDescriptor(t, n);
    if (!A) throw br(hr.UNEXPECTED_ERROR);
    const i = Nt(A.value)
      ? {
          get() {
            return A.value.value;
          },
          set(s) {
            A.value.value = s;
          },
        }
      : {
          get() {
            return A.get && A.get();
          },
        };
    Object.defineProperty(r, n, i);
  }),
    (e.config.globalProperties.$i18n = r),
    UK.forEach((n) => {
      const A = Object.getOwnPropertyDescriptor(t, n);
      if (!A || !A.value) throw br(hr.UNEXPECTED_ERROR);
      Object.defineProperty(e.config.globalProperties, `$${n}`, A);
    });
}
Z$(sK);
eK(O$);
tK(bw);
fK();
if (__INTLIFY_PROD_DEVTOOLS__) {
  const e = Ul();
  (e.__INTLIFY__ = !0), V$(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
}
var Tre = {
    name: "Name",
    tel: "Phone",
    save: "Save",
    clear: "Clear",
    cancel: "Cancel",
    confirm: "Confirm",
    delete: "Delete",
    loading: "Loading...",
    noCoupon: "No coupons",
    nameEmpty: "Please fill in the name",
    addContact: "Add contact",
    telInvalid: "Malformed phone number",
    vanCalendar: {
      end: "End",
      start: "Start",
      title: "Calendar",
      weekdays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
      monthTitle: (e, t) => `${e}/${t}`,
      rangePrompt: (e) => `Choose no more than ${e} days`,
    },
    vanCascader: { select: "Select" },
    vanPagination: { prev: "Previous", next: "Next" },
    vanPullRefresh: {
      pulling: "Pull to refresh...",
      loosing: "Loose to refresh...",
    },
    vanSubmitBar: { label: "Total:" },
    vanCoupon: {
      unlimited: "Unlimited",
      discount: (e) => `${e * 10}% off`,
      condition: (e) => `At least ${e}`,
    },
    vanCouponCell: { title: "Coupon", count: (e) => `You have ${e} coupons` },
    vanCouponList: {
      exchange: "Exchange",
      close: "Close",
      enable: "Available",
      disabled: "Unavailable",
      placeholder: "Coupon code",
    },
    vanAddressEdit: {
      area: "Area",
      areaEmpty: "Please select a receiving area",
      addressEmpty: "Address can not be empty",
      addressDetail: "Address",
      defaultAddress: "Set as the default address",
    },
    vanAddressList: { add: "Add new address" },
  },
  Ire = {
    name: "Имя",
    tel: "Телефон",
    save: "Сохранить",
    clear: "Прозрачный",
    cancel: "Отмена",
    confirm: "Подтвердить",
    delete: "Удалить",
    loading: "Загрузка...",
    noCoupon: "Нет купонов",
    nameEmpty: "Пожалуйста укажите имя",
    addContact: "Создать контакт",
    telInvalid: "Некорректный номер телефона",
    vanCalendar: {
      end: "Конец",
      start: "Начало",
      title: "Календарь",
      weekdays: ["ВС", "ПН", "ВТ", "СР", "ЧТ", "ПТ", "СБ"],
      monthTitle: (e, t) => `${e}/${t}`,
      rangePrompt: (e) => `Укажите более ${e} дней`,
    },
    vanCascader: { select: "Выбрать" },
    vanPagination: { prev: "Назад", next: "Вперед" },
    vanPullRefresh: {
      pulling: "Потяните для обновления...",
      loosing: "Отпустите для обновления...",
    },
    vanSubmitBar: { label: "Всего:" },
    vanCoupon: {
      unlimited: "Безлимитный",
      discount: (e) => `${e * 10}% скидка`,
      condition: (e) => `Как минимум ${e}`,
    },
    vanCouponCell: { title: "Купон", count: (e) => `У вас есть ${e} купонов` },
    vanCouponList: {
      exchange: "Обмен",
      close: "Закрыть",
      enable: "Доступно",
      disabled: "Недоступно",
      placeholder: "Код купона",
    },
    vanAddressEdit: {
      area: "Область",
      areaEmpty: "Укажите зону доставки",
      addressEmpty: "Адрес не может быть пустым",
      addressDetail: "Адрес",
      defaultAddress: "Сделать адресом по умолчанию",
    },
    vanAddressList: { add: "Новый адрес" },
  },
  Dre = {
    name: "tên",
    tel: "Điện thoại",
    save: "Cứu",
    clear: "Thông thoáng",
    cancel: "Hủy bỏ",
    confirm: "Xác nhận",
    delete: "Xóa",
    loading: "Đang tải ...",
    noCoupon: "Không có phiếu giảm giá",
    nameEmpty: "Vui lòng điền vào tên",
    addContact: "Thêm liên hệ",
    telInvalid: "Số điện thoại không đúng định dạng",
    vanCalendar: {
      end: "Kết thúc",
      start: "Bắt ​​đầu",
      title: "Lịch",
      weekdays: [
        "chủ nhật",
        "thứ hai",
        "thứ ba",
        "Thứ Tư",
        "Thứ năm",
        "Thứ sáu",
        "thứ bảy",
      ],
      monthTitle: (e, t) => `${e}/${t}`,
      rangePrompt: (e) => `Chọn không quá ${e} ngày`,
    },
    vanCascader: { select: "Chọn" },
    vanPagination: { prev: "Trước đó", next: "Tiếp theo" },
    vanPullRefresh: {
      pulling: "Kéo để làm mới ...",
      loosing: "Loose để làm mới ...",
    },
    vanSubmitBar: { label: "Tổng:" },
    vanCoupon: {
      unlimited: "Không giới hạn",
      discount: (e) => `Chiết khấu ${e * 10}%`,
      condition: (e) => `Ít nhất ${e}`,
    },
    vanCouponCell: {
      title: "Phiếu giảm giá",
      count: (e) => `Bạn có ${e} phiếu giảm giá`,
    },
    vanCouponList: {
      exchange: "Trao đổi",
      close: "Đóng",
      enable: "Có sẵn",
      disabled: "Không khả dụng",
      placeholder: "Mã phiếu thưởng",
    },
    vanAddressEdit: {
      area: "Khu vực",
      areaEmpty: "Vui lòng chọn khu vực nhận hàng",
      addressEmpty: "Địa chỉ không được để trống",
      addressDetail: "Địa chỉ",
      defaultAddress: "Đặt làm địa chỉ mặc định",
    },
    vanAddressList: { add: "Thêm địa chỉ mới" },
  },
  Pre = {
    name: "Nama",
    tel: "Telepon",
    save: "Simpan",
    clear: "Jernih",
    cancel: "Batal",
    confirm: "Konfirmasi",
    delete: "Hapus",
    loading: "Memuat...",
    noCoupon: "Tidak ada kupon",
    nameEmpty: "Silakan isi nama",
    addContact: "Tambahkan kontak",
    telInvalid: "Nomor telepon salah format",
    vanCalendar: {
      end: "Akhir",
      start: "Mulai",
      title: "Kalender",
      weekdays: [
        "minggu",
        "Senin",
        "Selasa",
        "Rabu",
        "Kamis",
        "Jumat",
        "Sabtu",
      ],
      monthTitle: (e, t) => `${e}/${t}`,
      rangePrompt: (e) => `Pilih tidak lebih dari ${e} hari`,
    },
    vanCascader: { select: "Pilih" },
    vanPagination: { prev: "Sebelumnya", next: "Selanjutnya" },
    vanPullRefresh: {
      pulling: "Tarik untuk menyegarkan...",
      loosing: "Loose untuk menyegarkan...",
    },
    vanSubmitBar: { label: "Jumlah:" },
    vanCoupon: {
      unlimited: "Tidak terbatas",
      discount: (e) => `${e * 10}% off`,
      condition: (e) => `Setidaknya ${e}`,
    },
    vanCouponCell: { title: "Kupon", count: (e) => `Anda memiliki kupon ${e}` },
    vanCouponList: {
      exchange: "Pertukaran",
      close: "Tutup",
      enable: "Tersedia",
      disabled: "Tidak tersedia",
      placeholder: "Kode kupon",
    },
    vanAddressEdit: {
      area: "Daerah",
      areaEmpty: "Silakan pilih area penerima",
      addressEmpty: "Alamat tidak boleh kosong",
      addressDetail: "Alamat",
      defaultAddress: "Tetapkan sebagai alamat default",
    },
    vanAddressList: { add: "Tambahkan alamat baru" },
  },
  Ore = {
    name: "नाम",
    tel: "फ़ोन",
    save: "सहेजें",
    clear: "साफ़",
    cancel: "रद्द करें",
    confirm: "पुष्टि करना",
    delete: "हटाएं",
    loading: "लोड हो रहा है...",
    noCoupon: "कोई कूपन नहीं",
    nameEmpty: "कृपया नाम भरें",
    addContact: "संपर्क जोड़ें",
    telInvalid: "विकृत फ़ोन नंबर",
    vanCalendar: {
      end: "समाप्त",
      start: "शुरू",
      title: "पंचांग",
      weekdays: [
        "रविवार",
        "सोमवार",
        "मंगलवार",
        "बुधवार",
        "गुरूवार",
        "शुक्रवार",
        "शनिवार",
      ],
      monthTitle: (e, t) => `${e}/${t}`,
      rangePrompt: (e) => `${e} दिन से अधिक नहीं चुनें`,
    },
    vanCascader: { select: "चुनते हैं" },
    vanPagination: { prev: "पहले का", next: "अगला" },
    vanPullRefresh: {
      pulling: "रीफ़्रेश करने के लिए खींचें...",
      loosing: "ताज़ा करने के लिए ढीला...",
    },
    vanSubmitBar: { label: "कुल:" },
    vanCoupon: {
      unlimited: "असीमित",
      discount: (e) => `${e * 10}% छूट`,
      condition: (e) => `कम से कम ${e}`,
    },
    vanCouponCell: { title: "कूपन", count: (e) => `आपके पास ${e} कूपन हैं` },
    vanCouponList: {
      exchange: "अदला बदली",
      close: "बंद करे",
      enable: "उपलब्ध",
      disabled: "अनुपलब्ध",
      placeholder: "कूपन कोड",
    },
    vanAddressEdit: {
      area: "क्षेत्र",
      areaEmpty: "कृपया एक क्षेत्र चुनें",
      addressEmpty: "पता खाली नहीं हो सकता",
      addressDetail: "पता",
      defaultAddress: "डिफ़ॉल्ट पते के रूप में सेट करें",
    },
    vanAddressList: { add: "नया पता जोड़ें" },
  },
  Lre = {
    name: "ชื่อ",
    tel: "โทรศัพท์",
    save: "บันทึก",
    clear: "ชัดเจน",
    cancel: "ยกเลิก",
    confirm: "ยืนยัน",
    delete: "ลบ",
    loading: "กำลังโหลด...",
    noCoupon: "ไม่มีคูปอง",
    nameEmpty: "กรุณากรอกชื่อของคุณ",
    addContact: "เพิ่มผู้ติดต่อ",
    telInvalid: "กรุณากรอกหมายเลขโทรศัพท์ที่ถูกต้อง",
    vanCalendar: {
      end: "จบ",
      start: "เริ่ม",
      title: "การเลือกวันที่",
      weekdays: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
      monthTitle: (e, t) => `${e}ปี${t}เดือน`,
      rangePrompt: (e) => `จำนวนวันที่เลือกต้องไม่เกิน ${e} วัน`,
    },
    vanCascader: { select: "โปรดเลือก" },
    vanPagination: { prev: "หน้าที่แล้ว", next: "หน้าต่อไป" },
    vanPullRefresh: {
      pulling: "ดึงลงเพื่อรีเฟรช...",
      loosing: "ปล่อยเพื่อรีเฟรช...",
    },
    vanSubmitBar: { label: "รวม:" },
    vanCoupon: {
      unlimited: "ไม่ จำกัด",
      discount: (e) => `ลด${e}`,
      condition: (e) => `มีจำหน่ายในราคา ${e} กว่าหยวน`,
    },
    vanCouponCell: { title: "คูปอง", count: (e) => `มีรูปภาพ ${e} รูป` },
    vanCouponList: {
      exchange: "แลกเปลี่ยน",
      close: "ไม่ได้ใช้",
      enable: "พร้อมใช้งาน",
      disabled: "ไม่พร้อมใช้งาน",
      placeholder: "กรุณากรอกรหัสคูปอง",
    },
    vanAddressEdit: {
      area: "พื้นที่",
      areaEmpty: "โปรดเลือกภูมิภาค",
      addressEmpty: "กรุณากรอกที่อยู่โดยละเอียด",
      addressDetail: "ที่อยู่",
      defaultAddress: "ตั้งเป็นที่อยู่จัดส่งเริ่มต้น",
    },
    vanAddressList: { add: "เพิ่มที่อยู่" },
  },
  kre = {
    name: "Nome",
    tel: "Fone",
    save: "Salvar",
    clear: "Claro",
    cancel: "Cancelar",
    confirm: "Confirmar",
    delete: "Excluir",
    loading: "Carregando...",
    noCoupon: "Nenhum cupom",
    nameEmpty: "Por favor, preencha o nome",
    addContact: "Adicionar novo contato",
    telInvalid: "Telefone em formato inválido",
    vanCalendar: {
      end: "Fim",
      start: "Início",
      title: "Calendário",
      weekdays: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"],
      monthTitle: (e, t) => `${t}/${e}`,
      rangePrompt: (e) => `Escolha no máximo ${e} dias`,
    },
    vanCascader: { select: "Selecione" },
    vanPagination: { prev: "Anterior", next: "Próximo" },
    vanPullRefresh: {
      pulling: "Puxe para atualizar...",
      loosing: "Solte para atualizar...",
    },
    vanSubmitBar: { label: "Total:" },
    vanCoupon: {
      unlimited: "Ilimitado",
      discount: (e) => `${e * 10}% de desconto`,
      condition: (e) => `Pelo menos ${e}`,
    },
    vanCouponCell: {
      title: "Cupom",
      count: (e) => `Você possui ${e} cupom(ns)`,
    },
    vanCouponList: {
      exchange: "Usar",
      close: "Fechar",
      enable: "Disponível",
      disabled: "Indisponível",
      placeholder: "Código do cupom",
    },
    vanAddressEdit: {
      area: "Área",
      areaEmpty: "Por favor, selecione uma área de recebimento",
      addressEmpty: "Endereço não pode ser vazio",
      addressDetail: "Endereço",
      defaultAddress: "Usar como endereço padrão",
    },
    vanAddressList: { add: "Adicionar novo endereço" },
  },
  Hre = {
    name: "নাম",
    tel: "ফোন",
    save: "সংরক্ষণ করুন",
    clear: "পরিষ্কার",
    cancel: "বাতিল",
    confirm: "নিশ্চিত করুন",
    delete: "মুছুন",
    loading: "লোড হচ্ছে...",
    noCoupon: "কোন কুপন নেই",
    nameEmpty: "অনুগ্রহ করে নামটি পূরণ করুন",
    addContact: "যোগাযোগ যোগ করুন",
    telInvalid: "বিকৃত ফোন নম্বর",
    vanCalendar: {
      end: "শেষ",
      start: "শুরু",
      title: "ক্যালেন্ডার",
      weekdays: [
        "রবিবার",
        "সোমবার",
        "মঙ্গলবার",
        "বুধবার",
        "বৃহস্পতিবার",
        "শুক্রবার",
        "শনিবার",
      ],
      monthTitle: (e, t) => `${e}/${t}`,
      rangePrompt: (e) => `${e} দিনের বেশি নির্বাচন করবেন না`,
    },
    vanCascader: { select: "নির্বাচন" },
    vanPagination: { prev: "পূর্ববর্তী", next: "পরবর্তী" },
    vanPullRefresh: {
      pulling: "রিফ্রেশ করতে টানুন...",
      loosing: "রিফ্রেশ করতে আলগা...",
    },
    vanSubmitBar: { label: "মোট:" },
    vanCoupon: {
      unlimited: "আনলিমিটেড",
      discount: (e) => `${e * 10}% ছাড়`,
      condition: (e) => `অন্তত ${e}`,
    },
    vanCouponCell: { title: "কুপন", count: (e) => `আপনার ${e} কুপন আছে` },
    vanCouponList: {
      exchange: "বিনিময়",
      close: "বন্ধ",
      enable: "উপলভ্য",
      disabled: "অনুপলব্ধ",
      placeholder: "কুপন কোড",
    },
    vanAddressEdit: {
      area: "এরিয়া",
      areaEmpty: "অনুগ্রহ করে একটি রিসিভিং এলাকা নির্বাচন করুন",
      addressEmpty: "ঠিকানা খালি হতে পারে না",
      addressDetail: "ঠিকানা",
      defaultAddress: "ডিফল্ট ঠিকানা হিসাবে সেট করুন",
    },
    vanAddressList: { add: "নতুন ঠিকানা যোগ করুন" },
  },
  Mre = {
    name: "الاسم",
    tel: "الهاتف",
    save: "حفظ",
    clear: "مسح",
    cancel: "إلغاء",
    confirm: "تأكيد",
    delete: "حذف",
    loading: "جار التحميل...",
    noCoupon: "لا يوجد كوبونات",
    nameEmpty: "يرجى ملء الاسم",
    addContact: "إضافة جهة اتصال",
    telInvalid: "رقم الهاتف غير صحيح",
    vanCalendar: {
      end: "نهاية",
      start: "بداية",
      title: "التقويم",
      weekdays: [
        "الأحد",
        "الاثنين",
        "الثلاثاء",
        "الأربعاء",
        "الخميس",
        "الجمعة",
        "السبت",
      ],
      monthTitle: (e, t) => `${e}/${t}`,
      rangePrompt: (e) => `اختر لا يزيد عن ${e} أيام`,
    },
    vanCascader: { select: "اختر" },
    vanPagination: { prev: "السابق", next: "التالي" },
    vanPullRefresh: { pulling: "اسحب للتحديث...", loosing: "أفلت للتحديث..." },
    vanSubmitBar: { label: "المجموع:" },
    vanCoupon: {
      unlimited: "غير محدود",
      discount: (e) => `${e * 10}% خصم`,
      condition: (e) => `على الأقل ${e}`,
    },
    vanCouponCell: { title: "كوبون", count: (e) => `لديك ${e} كوبونات` },
    vanCouponList: {
      exchange: "استبدال",
      close: "إغلاق",
      enable: "متاح",
      disabled: "غير متاح",
      placeholder: "كود الكوبون",
    },
    vanAddressEdit: {
      area: "المنطقة",
      areaEmpty: "يرجى اختيار منطقة استقبال",
      addressEmpty: "العنوان لا يمكن أن يكون فارغًا",
      addressDetail: "العنوان",
      defaultAddress: "تعيين كعنوان افتراضي",
    },
    vanAddressList: { add: "إضافة عنوان جديد" },
  },
  Kw = { exports: {} };
(function (e, t) {
  (function (r, n) {
    e.exports = n();
  })(pt, function () {
    return function (r, n, A) {
      r = r || {};
      var i = n.prototype,
        s = {
          future: "in %s",
          past: "%s ago",
          s: "a few seconds",
          m: "a minute",
          mm: "%d minutes",
          h: "an hour",
          hh: "%d hours",
          d: "a day",
          dd: "%d days",
          M: "a month",
          MM: "%d months",
          y: "a year",
          yy: "%d years",
        };
      function a(l, u, f, d) {
        return i.fromToBase(l, u, f, d);
      }
      (A.en.relativeTime = s),
        (i.fromToBase = function (l, u, f, d, g) {
          for (
            var v,
              B,
              y,
              w = f.$locale().relativeTime || s,
              m = r.thresholds || [
                { l: "s", r: 44, d: "second" },
                { l: "m", r: 89 },
                { l: "mm", r: 44, d: "minute" },
                { l: "h", r: 89 },
                { l: "hh", r: 21, d: "hour" },
                { l: "d", r: 35 },
                { l: "dd", r: 25, d: "day" },
                { l: "M", r: 45 },
                { l: "MM", r: 10, d: "month" },
                { l: "y", r: 17 },
                { l: "yy", d: "year" },
              ],
              x = m.length,
              C = 0;
            C < x;
            C += 1
          ) {
            var b = m[C];
            b.d && (v = d ? A(l).diff(f, b.d, !0) : f.diff(l, b.d, !0));
            var F = (r.rounding || Math.round)(Math.abs(v));
            if (((y = v > 0), F <= b.r || !b.r)) {
              F <= 1 && C > 0 && (b = m[C - 1]);
              var I = w[b.l];
              g && (F = g("" + F)),
                (B =
                  typeof I == "string" ? I.replace("%d", F) : I(F, u, b.l, y));
              break;
            }
          }
          if (u) return B;
          var T = y ? w.future : w.past;
          return typeof T == "function" ? T(B) : T.replace("%s", B);
        }),
        (i.to = function (l, u) {
          return a(l, u, this, !0);
        }),
        (i.from = function (l, u) {
          return a(l, u, this);
        });
      var o = function (l) {
        return l.$u ? A.utc() : A();
      };
      (i.toNow = function (l) {
        return this.to(o(this), l);
      }),
        (i.fromNow = function (l) {
          return this.from(o(this), l);
        });
    };
  });
})(Kw);
var IK = Kw.exports;
const Rre = xo(IK);
var DK = { exports: {} };
(function (e, t) {
  (function (r, n) {
    e.exports = n(fp);
  })(pt, function (r) {
    function n(s) {
      return s && typeof s == "object" && "default" in s ? s : { default: s };
    }
    var A = n(r),
      i = {
        name: "zh-cn",
        weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
        weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"),
        weekdaysMin: "日_一_二_三_四_五_六".split("_"),
        months:
          "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split(
            "_",
          ),
        monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split(
          "_",
        ),
        ordinal: function (s, a) {
          return a === "W" ? s + "周" : s + "日";
        },
        weekStart: 1,
        yearStart: 4,
        formats: {
          LT: "HH:mm",
          LTS: "HH:mm:ss",
          L: "YYYY/MM/DD",
          LL: "YYYY年M月D日",
          LLL: "YYYY年M月D日Ah点mm分",
          LLLL: "YYYY年M月D日ddddAh点mm分",
          l: "YYYY/M/D",
          ll: "YYYY年M月D日",
          lll: "YYYY年M月D日 HH:mm",
          llll: "YYYY年M月D日dddd HH:mm",
        },
        relativeTime: {
          future: "%s内",
          past: "%s前",
          s: "几秒",
          m: "1 分钟",
          mm: "%d 分钟",
          h: "1 小时",
          hh: "%d 小时",
          d: "1 天",
          dd: "%d 天",
          M: "1 个月",
          MM: "%d 个月",
          y: "1 年",
          yy: "%d 年",
        },
        meridiem: function (s, a) {
          var o = 100 * s + a;
          return o < 600
            ? "凌晨"
            : o < 900
              ? "早上"
              : o < 1100
                ? "上午"
                : o < 1300
                  ? "中午"
                  : o < 1800
                    ? "下午"
                    : "晚上";
        },
      };
    return A.default.locale(i, null, !0), i;
  });
})(DK);
var PK = { exports: {} };
(function (e, t) {
  (function (r, n) {
    e.exports = n(fp);
  })(pt, function (r) {
    function n(s) {
      return s && typeof s == "object" && "default" in s ? s : { default: s };
    }
    var A = n(r),
      i = {
        name: "zh-tw",
        weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
        weekdaysShort: "週日_週一_週二_週三_週四_週五_週六".split("_"),
        weekdaysMin: "日_一_二_三_四_五_六".split("_"),
        months:
          "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split(
            "_",
          ),
        monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split(
          "_",
        ),
        ordinal: function (s, a) {
          return a === "W" ? s + "週" : s + "日";
        },
        formats: {
          LT: "HH:mm",
          LTS: "HH:mm:ss",
          L: "YYYY/MM/DD",
          LL: "YYYY年M月D日",
          LLL: "YYYY年M月D日 HH:mm",
          LLLL: "YYYY年M月D日dddd HH:mm",
          l: "YYYY/M/D",
          ll: "YYYY年M月D日",
          lll: "YYYY年M月D日 HH:mm",
          llll: "YYYY年M月D日dddd HH:mm",
        },
        relativeTime: {
          future: "%s內",
          past: "%s前",
          s: "幾秒",
          m: "1 分鐘",
          mm: "%d 分鐘",
          h: "1 小時",
          hh: "%d 小時",
          d: "1 天",
          dd: "%d 天",
          M: "1 個月",
          MM: "%d 個月",
          y: "1 年",
          yy: "%d 年",
        },
        meridiem: function (s, a) {
          var o = 100 * s + a;
          return o < 600
            ? "凌晨"
            : o < 900
              ? "早上"
              : o < 1100
                ? "上午"
                : o < 1300
                  ? "中午"
                  : o < 1800
                    ? "下午"
                    : "晚上";
        },
      };
    return A.default.locale(i, null, !0), i;
  });
})(PK);
var OK = { exports: {} };
(function (e, t) {
  (function (r, n) {
    e.exports = n();
  })(pt, function () {
    return {
      name: "en",
      weekdays:
        "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
      months:
        "January_February_March_April_May_June_July_August_September_October_November_December".split(
          "_",
        ),
      ordinal: function (r) {
        var n = ["th", "st", "nd", "rd"],
          A = r % 100;
        return "[" + r + (n[(A - 20) % 10] || n[A] || n[0]) + "]";
      },
    };
  });
})(OK);
/*!
 * vue-router v4.1.6
 * (c) 2022 Eduardo San Martin Morote
 * @license MIT
 */ const Oa = typeof window < "u";
function LK(e) {
  return e.__esModule || e[Symbol.toStringTag] === "Module";
}
const Lt = Object.assign;
function md(e, t) {
  const r = {};
  for (const n in t) {
    const A = t[n];
    r[n] = sA(A) ? A.map(e) : e(A);
  }
  return r;
}
const Il = () => {},
  sA = Array.isArray,
  kK = /\/$/,
  HK = (e) => e.replace(kK, "");
function Bd(e, t, r = "/") {
  let n,
    A = {},
    i = "",
    s = "";
  const a = t.indexOf("#");
  let o = t.indexOf("?");
  return (
    a < o && a >= 0 && (o = -1),
    o > -1 &&
      ((n = t.slice(0, o)),
      (i = t.slice(o + 1, a > -1 ? a : t.length)),
      (A = e(i))),
    a > -1 && ((n = n || t.slice(0, a)), (s = t.slice(a, t.length))),
    (n = $K(n ?? t, r)),
    { fullPath: n + (i && "?") + i + s, path: n, query: A, hash: s }
  );
}
function MK(e, t) {
  const r = t.query ? e(t.query) : "";
  return t.path + (r && "?") + r + (t.hash || "");
}
function Wv(e, t) {
  return !t || !e.toLowerCase().startsWith(t.toLowerCase())
    ? e
    : e.slice(t.length) || "/";
}
function RK(e, t, r) {
  const n = t.matched.length - 1,
    A = r.matched.length - 1;
  return (
    n > -1 &&
    n === A &&
    io(t.matched[n], r.matched[A]) &&
    Vw(t.params, r.params) &&
    e(t.query) === e(r.query) &&
    t.hash === r.hash
  );
}
function io(e, t) {
  return (e.aliasOf || e) === (t.aliasOf || t);
}
function Vw(e, t) {
  if (Object.keys(e).length !== Object.keys(t).length) return !1;
  for (const r in e) if (!NK(e[r], t[r])) return !1;
  return !0;
}
function NK(e, t) {
  return sA(e) ? zv(e, t) : sA(t) ? zv(t, e) : e === t;
}
function zv(e, t) {
  return sA(t)
    ? e.length === t.length && e.every((r, n) => r === t[n])
    : e.length === 1 && e[0] === t;
}
function $K(e, t) {
  if (e.startsWith("/")) return e;
  if (!e) return t;
  const r = t.split("/"),
    n = e.split("/");
  let A = r.length - 1,
    i,
    s;
  for (i = 0; i < n.length; i++)
    if (((s = n[i]), s !== "."))
      if (s === "..") A > 1 && A--;
      else break;
  return (
    r.slice(0, A).join("/") +
    "/" +
    n.slice(i - (i === n.length ? 1 : 0)).join("/")
  );
}
var e0;
(function (e) {
  (e.pop = "pop"), (e.push = "push");
})(e0 || (e0 = {}));
var Dl;
(function (e) {
  (e.back = "back"), (e.forward = "forward"), (e.unknown = "");
})(Dl || (Dl = {}));
function KK(e) {
  if (!e)
    if (Oa) {
      const t = document.querySelector("base");
      (e = (t && t.getAttribute("href")) || "/"),
        (e = e.replace(/^\w+:\/\/[^\/]+/, ""));
    } else e = "/";
  return e[0] !== "/" && e[0] !== "#" && (e = "/" + e), HK(e);
}
const VK = /^[^#]+#/;
function GK(e, t) {
  return e.replace(VK, "#") + t;
}
function WK(e, t) {
  const r = document.documentElement.getBoundingClientRect(),
    n = e.getBoundingClientRect();
  return {
    behavior: t.behavior,
    left: n.left - r.left - (t.left || 0),
    top: n.top - r.top - (t.top || 0),
  };
}
const _f = () => ({ left: window.pageXOffset, top: window.pageYOffset });
function zK(e) {
  let t;
  if ("el" in e) {
    const r = e.el,
      n = typeof r == "string" && r.startsWith("#"),
      A =
        typeof r == "string"
          ? n
            ? document.getElementById(r.slice(1))
            : document.querySelector(r)
          : r;
    if (!A) return;
    t = WK(A, e);
  } else t = e;
  "scrollBehavior" in document.documentElement.style
    ? window.scrollTo(t)
    : window.scrollTo(
        t.left != null ? t.left : window.pageXOffset,
        t.top != null ? t.top : window.pageYOffset,
      );
}
function jv(e, t) {
  return (history.state ? history.state.position - t : -1) + e;
}
const oh = new Map();
function jK(e, t) {
  oh.set(e, t);
}
function YK(e) {
  const t = oh.get(e);
  return oh.delete(e), t;
}
let XK = () => location.protocol + "//" + location.host;
function Gw(e, t) {
  const { pathname: r, search: n, hash: A } = t,
    i = e.indexOf("#");
  if (i > -1) {
    let a = A.includes(e.slice(i)) ? e.slice(i).length : 1,
      o = A.slice(a);
    return o[0] !== "/" && (o = "/" + o), Wv(o, "");
  }
  return Wv(r, e) + n + A;
}
function JK(e, t, r, n) {
  let A = [],
    i = [],
    s = null;
  const a = ({ state: d }) => {
    const g = Gw(e, location),
      v = r.value,
      B = t.value;
    let y = 0;
    if (d) {
      if (((r.value = g), (t.value = d), s && s === v)) {
        s = null;
        return;
      }
      y = B ? d.position - B.position : 0;
    } else n(g);
    A.forEach((w) => {
      w(r.value, v, {
        delta: y,
        type: e0.pop,
        direction: y ? (y > 0 ? Dl.forward : Dl.back) : Dl.unknown,
      });
    });
  };
  function o() {
    s = r.value;
  }
  function l(d) {
    A.push(d);
    const g = () => {
      const v = A.indexOf(d);
      v > -1 && A.splice(v, 1);
    };
    return i.push(g), g;
  }
  function u() {
    const { history: d } = window;
    d.state && d.replaceState(Lt({}, d.state, { scroll: _f() }), "");
  }
  function f() {
    for (const d of i) d();
    (i = []),
      window.removeEventListener("popstate", a),
      window.removeEventListener("beforeunload", u);
  }
  return (
    window.addEventListener("popstate", a),
    window.addEventListener("beforeunload", u),
    { pauseListeners: o, listen: l, destroy: f }
  );
}
function Yv(e, t, r, n = !1, A = !1) {
  return {
    back: e,
    current: t,
    forward: r,
    replaced: n,
    position: window.history.length,
    scroll: A ? _f() : null,
  };
}
function qK(e) {
  const { history: t, location: r } = window,
    n = { value: Gw(e, r) },
    A = { value: t.state };
  A.value ||
    i(
      n.value,
      {
        back: null,
        current: n.value,
        forward: null,
        position: t.length - 1,
        replaced: !0,
        scroll: null,
      },
      !0,
    );
  function i(o, l, u) {
    const f = e.indexOf("#"),
      d =
        f > -1
          ? (r.host && document.querySelector("base") ? e : e.slice(f)) + o
          : XK() + e + o;
    try {
      t[u ? "replaceState" : "pushState"](l, "", d), (A.value = l);
    } catch (g) {
      console.error(g), r[u ? "replace" : "assign"](d);
    }
  }
  function s(o, l) {
    const u = Lt({}, t.state, Yv(A.value.back, o, A.value.forward, !0), l, {
      position: A.value.position,
    });
    i(o, u, !0), (n.value = o);
  }
  function a(o, l) {
    const u = Lt({}, A.value, t.state, { forward: o, scroll: _f() });
    i(u.current, u, !0);
    const f = Lt({}, Yv(n.value, o, null), { position: u.position + 1 }, l);
    i(o, f, !1), (n.value = o);
  }
  return { location: n, state: A, push: a, replace: s };
}
function ZK(e) {
  e = KK(e);
  const t = qK(e),
    r = JK(e, t.state, t.location, t.replace);
  function n(i, s = !0) {
    s || r.pauseListeners(), history.go(i);
  }
  const A = Lt(
    { location: "", base: e, go: n, createHref: GK.bind(null, e) },
    t,
    r,
  );
  return (
    Object.defineProperty(A, "location", {
      enumerable: !0,
      get: () => t.location.value,
    }),
    Object.defineProperty(A, "state", {
      enumerable: !0,
      get: () => t.state.value,
    }),
    A
  );
}
function Nre(e) {
  return (
    (e = location.host ? e || location.pathname + location.search : ""),
    e.includes("#") || (e += "#"),
    ZK(e)
  );
}
function eV(e) {
  return typeof e == "string" || (e && typeof e == "object");
}
function Ww(e) {
  return typeof e == "string" || typeof e == "symbol";
}
const Ui = {
    path: "/",
    name: void 0,
    params: {},
    query: {},
    hash: "",
    fullPath: "/",
    matched: [],
    meta: {},
    redirectedFrom: void 0,
  },
  zw = Symbol("");
var Xv;
(function (e) {
  (e[(e.aborted = 4)] = "aborted"),
    (e[(e.cancelled = 8)] = "cancelled"),
    (e[(e.duplicated = 16)] = "duplicated");
})(Xv || (Xv = {}));
function so(e, t) {
  return Lt(new Error(), { type: e, [zw]: !0 }, t);
}
function MA(e, t) {
  return e instanceof Error && zw in e && (t == null || !!(e.type & t));
}
const Jv = "[^/]+?",
  tV = { sensitive: !1, strict: !1, start: !0, end: !0 },
  rV = /[.+*?^${}()[\]/\\]/g;
function nV(e, t) {
  const r = Lt({}, tV, t),
    n = [];
  let A = r.start ? "^" : "";
  const i = [];
  for (const l of e) {
    const u = l.length ? [] : [90];
    r.strict && !l.length && (A += "/");
    for (let f = 0; f < l.length; f++) {
      const d = l[f];
      let g = 40 + (r.sensitive ? 0.25 : 0);
      if (d.type === 0)
        f || (A += "/"), (A += d.value.replace(rV, "\\$&")), (g += 40);
      else if (d.type === 1) {
        const { value: v, repeatable: B, optional: y, regexp: w } = d;
        i.push({ name: v, repeatable: B, optional: y });
        const m = w || Jv;
        if (m !== Jv) {
          g += 10;
          try {
            new RegExp(`(${m})`);
          } catch (C) {
            throw new Error(
              `Invalid custom RegExp for param "${v}" (${m}): ` + C.message,
            );
          }
        }
        let x = B ? `((?:${m})(?:/(?:${m}))*)` : `(${m})`;
        f || (x = y && l.length < 2 ? `(?:/${x})` : "/" + x),
          y && (x += "?"),
          (A += x),
          (g += 20),
          y && (g += -8),
          B && (g += -20),
          m === ".*" && (g += -50);
      }
      u.push(g);
    }
    n.push(u);
  }
  if (r.strict && r.end) {
    const l = n.length - 1;
    n[l][n[l].length - 1] += 0.7000000000000001;
  }
  r.strict || (A += "/?"), r.end ? (A += "$") : r.strict && (A += "(?:/|$)");
  const s = new RegExp(A, r.sensitive ? "" : "i");
  function a(l) {
    const u = l.match(s),
      f = {};
    if (!u) return null;
    for (let d = 1; d < u.length; d++) {
      const g = u[d] || "",
        v = i[d - 1];
      f[v.name] = g && v.repeatable ? g.split("/") : g;
    }
    return f;
  }
  function o(l) {
    let u = "",
      f = !1;
    for (const d of e) {
      (!f || !u.endsWith("/")) && (u += "/"), (f = !1);
      for (const g of d)
        if (g.type === 0) u += g.value;
        else if (g.type === 1) {
          const { value: v, repeatable: B, optional: y } = g,
            w = v in l ? l[v] : "";
          if (sA(w) && !B)
            throw new Error(
              `Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`,
            );
          const m = sA(w) ? w.join("/") : w;
          if (!m)
            if (y)
              d.length < 2 &&
                (u.endsWith("/") ? (u = u.slice(0, -1)) : (f = !0));
            else throw new Error(`Missing required param "${v}"`);
          u += m;
        }
    }
    return u || "/";
  }
  return { re: s, score: n, keys: i, parse: a, stringify: o };
}
function AV(e, t) {
  let r = 0;
  for (; r < e.length && r < t.length; ) {
    const n = t[r] - e[r];
    if (n) return n;
    r++;
  }
  return e.length < t.length
    ? e.length === 1 && e[0] === 40 + 40
      ? -1
      : 1
    : e.length > t.length
      ? t.length === 1 && t[0] === 40 + 40
        ? 1
        : -1
      : 0;
}
function iV(e, t) {
  let r = 0;
  const n = e.score,
    A = t.score;
  for (; r < n.length && r < A.length; ) {
    const i = AV(n[r], A[r]);
    if (i) return i;
    r++;
  }
  if (Math.abs(A.length - n.length) === 1) {
    if (qv(n)) return 1;
    if (qv(A)) return -1;
  }
  return A.length - n.length;
}
function qv(e) {
  const t = e[e.length - 1];
  return e.length > 0 && t[t.length - 1] < 0;
}
const sV = { type: 0, value: "" },
  aV = /[a-zA-Z0-9_]/;
function oV(e) {
  if (!e) return [[]];
  if (e === "/") return [[sV]];
  if (!e.startsWith("/")) throw new Error(`Invalid path "${e}"`);
  function t(g) {
    throw new Error(`ERR (${r})/"${l}": ${g}`);
  }
  let r = 0,
    n = r;
  const A = [];
  let i;
  function s() {
    i && A.push(i), (i = []);
  }
  let a = 0,
    o,
    l = "",
    u = "";
  function f() {
    l &&
      (r === 0
        ? i.push({ type: 0, value: l })
        : r === 1 || r === 2 || r === 3
          ? (i.length > 1 &&
              (o === "*" || o === "+") &&
              t(
                `A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`,
              ),
            i.push({
              type: 1,
              value: l,
              regexp: u,
              repeatable: o === "*" || o === "+",
              optional: o === "*" || o === "?",
            }))
          : t("Invalid state to consume buffer"),
      (l = ""));
  }
  function d() {
    l += o;
  }
  for (; a < e.length; ) {
    if (((o = e[a++]), o === "\\" && r !== 2)) {
      (n = r), (r = 4);
      continue;
    }
    switch (r) {
      case 0:
        o === "/" ? (l && f(), s()) : o === ":" ? (f(), (r = 1)) : d();
        break;
      case 4:
        d(), (r = n);
        break;
      case 1:
        o === "("
          ? (r = 2)
          : aV.test(o)
            ? d()
            : (f(), (r = 0), o !== "*" && o !== "?" && o !== "+" && a--);
        break;
      case 2:
        o === ")"
          ? u[u.length - 1] == "\\"
            ? (u = u.slice(0, -1) + o)
            : (r = 3)
          : (u += o);
        break;
      case 3:
        f(), (r = 0), o !== "*" && o !== "?" && o !== "+" && a--, (u = "");
        break;
      default:
        t("Unknown state");
        break;
    }
  }
  return r === 2 && t(`Unfinished custom RegExp for param "${l}"`), f(), s(), A;
}
function lV(e, t, r) {
  const n = nV(oV(e.path), r),
    A = Lt(n, { record: e, parent: t, children: [], alias: [] });
  return t && !A.record.aliasOf == !t.record.aliasOf && t.children.push(A), A;
}
function uV(e, t) {
  const r = [],
    n = new Map();
  t = tm({ strict: !1, end: !0, sensitive: !1 }, t);
  function A(u) {
    return n.get(u);
  }
  function i(u, f, d) {
    const g = !d,
      v = cV(u);
    v.aliasOf = d && d.record;
    const B = tm(t, u),
      y = [v];
    if ("alias" in u) {
      const x = typeof u.alias == "string" ? [u.alias] : u.alias;
      for (const C of x)
        y.push(
          Lt({}, v, {
            components: d ? d.record.components : v.components,
            path: C,
            aliasOf: d ? d.record : v,
          }),
        );
    }
    let w, m;
    for (const x of y) {
      const { path: C } = x;
      if (f && C[0] !== "/") {
        const b = f.record.path,
          F = b[b.length - 1] === "/" ? "" : "/";
        x.path = f.record.path + (C && F + C);
      }
      if (
        ((w = lV(x, f, B)),
        d
          ? d.alias.push(w)
          : ((m = m || w),
            m !== w && m.alias.push(w),
            g && u.name && !em(w) && s(u.name)),
        v.children)
      ) {
        const b = v.children;
        for (let F = 0; F < b.length; F++) i(b[F], w, d && d.children[F]);
      }
      (d = d || w),
        ((w.record.components && Object.keys(w.record.components).length) ||
          w.record.name ||
          w.record.redirect) &&
          o(w);
    }
    return m
      ? () => {
          s(m);
        }
      : Il;
  }
  function s(u) {
    if (Ww(u)) {
      const f = n.get(u);
      f &&
        (n.delete(u),
        r.splice(r.indexOf(f), 1),
        f.children.forEach(s),
        f.alias.forEach(s));
    } else {
      const f = r.indexOf(u);
      f > -1 &&
        (r.splice(f, 1),
        u.record.name && n.delete(u.record.name),
        u.children.forEach(s),
        u.alias.forEach(s));
    }
  }
  function a() {
    return r;
  }
  function o(u) {
    let f = 0;
    for (
      ;
      f < r.length &&
      iV(u, r[f]) >= 0 &&
      (u.record.path !== r[f].record.path || !jw(u, r[f]));

    )
      f++;
    r.splice(f, 0, u), u.record.name && !em(u) && n.set(u.record.name, u);
  }
  function l(u, f) {
    let d,
      g = {},
      v,
      B;
    if ("name" in u && u.name) {
      if (((d = n.get(u.name)), !d)) throw so(1, { location: u });
      (B = d.record.name),
        (g = Lt(
          Zv(
            f.params,
            d.keys.filter((m) => !m.optional).map((m) => m.name),
          ),
          u.params &&
            Zv(
              u.params,
              d.keys.map((m) => m.name),
            ),
        )),
        (v = d.stringify(g));
    } else if ("path" in u)
      (v = u.path),
        (d = r.find((m) => m.re.test(v))),
        d && ((g = d.parse(v)), (B = d.record.name));
    else {
      if (((d = f.name ? n.get(f.name) : r.find((m) => m.re.test(f.path))), !d))
        throw so(1, { location: u, currentLocation: f });
      (B = d.record.name),
        (g = Lt({}, f.params, u.params)),
        (v = d.stringify(g));
    }
    const y = [];
    let w = d;
    for (; w; ) y.unshift(w.record), (w = w.parent);
    return { name: B, path: v, params: g, matched: y, meta: dV(y) };
  }
  return (
    e.forEach((u) => i(u)),
    {
      addRoute: i,
      resolve: l,
      removeRoute: s,
      getRoutes: a,
      getRecordMatcher: A,
    }
  );
}
function Zv(e, t) {
  const r = {};
  for (const n of t) n in e && (r[n] = e[n]);
  return r;
}
function cV(e) {
  return {
    path: e.path,
    redirect: e.redirect,
    name: e.name,
    meta: e.meta || {},
    aliasOf: void 0,
    beforeEnter: e.beforeEnter,
    props: fV(e),
    children: e.children || [],
    instances: {},
    leaveGuards: new Set(),
    updateGuards: new Set(),
    enterCallbacks: {},
    components:
      "components" in e
        ? e.components || null
        : e.component && { default: e.component },
  };
}
function fV(e) {
  const t = {},
    r = e.props || !1;
  if ("component" in e) t.default = r;
  else for (const n in e.components) t[n] = typeof r == "boolean" ? r : r[n];
  return t;
}
function em(e) {
  for (; e; ) {
    if (e.record.aliasOf) return !0;
    e = e.parent;
  }
  return !1;
}
function dV(e) {
  return e.reduce((t, r) => Lt(t, r.meta), {});
}
function tm(e, t) {
  const r = {};
  for (const n in e) r[n] = n in t ? t[n] : e[n];
  return r;
}
function jw(e, t) {
  return t.children.some((r) => r === e || jw(e, r));
}
const Yw = /#/g,
  hV = /&/g,
  pV = /\//g,
  gV = /=/g,
  vV = /\?/g,
  Xw = /\+/g,
  mV = /%5B/g,
  BV = /%5D/g,
  Jw = /%5E/g,
  wV = /%60/g,
  qw = /%7B/g,
  yV = /%7C/g,
  Zw = /%7D/g,
  CV = /%20/g;
function Hp(e) {
  return encodeURI("" + e)
    .replace(yV, "|")
    .replace(mV, "[")
    .replace(BV, "]");
}
function xV(e) {
  return Hp(e).replace(qw, "{").replace(Zw, "}").replace(Jw, "^");
}
function lh(e) {
  return Hp(e)
    .replace(Xw, "%2B")
    .replace(CV, "+")
    .replace(Yw, "%23")
    .replace(hV, "%26")
    .replace(wV, "`")
    .replace(qw, "{")
    .replace(Zw, "}")
    .replace(Jw, "^");
}
function EV(e) {
  return lh(e).replace(gV, "%3D");
}
function bV(e) {
  return Hp(e).replace(Yw, "%23").replace(vV, "%3F");
}
function FV(e) {
  return e == null ? "" : bV(e).replace(pV, "%2F");
}
function vc(e) {
  try {
    return decodeURIComponent("" + e);
  } catch {}
  return "" + e;
}
function _V(e) {
  const t = {};
  if (e === "" || e === "?") return t;
  const n = (e[0] === "?" ? e.slice(1) : e).split("&");
  for (let A = 0; A < n.length; ++A) {
    const i = n[A].replace(Xw, " "),
      s = i.indexOf("="),
      a = vc(s < 0 ? i : i.slice(0, s)),
      o = s < 0 ? null : vc(i.slice(s + 1));
    if (a in t) {
      let l = t[a];
      sA(l) || (l = t[a] = [l]), l.push(o);
    } else t[a] = o;
  }
  return t;
}
function rm(e) {
  let t = "";
  for (let r in e) {
    const n = e[r];
    if (((r = EV(r)), n == null)) {
      n !== void 0 && (t += (t.length ? "&" : "") + r);
      continue;
    }
    (sA(n) ? n.map((i) => i && lh(i)) : [n && lh(n)]).forEach((i) => {
      i !== void 0 &&
        ((t += (t.length ? "&" : "") + r), i != null && (t += "=" + i));
    });
  }
  return t;
}
function SV(e) {
  const t = {};
  for (const r in e) {
    const n = e[r];
    n !== void 0 &&
      (t[r] = sA(n)
        ? n.map((A) => (A == null ? null : "" + A))
        : n == null
          ? n
          : "" + n);
  }
  return t;
}
const ey = Symbol(""),
  nm = Symbol(""),
  Sf = Symbol(""),
  Mp = Symbol(""),
  uh = Symbol("");
function rl() {
  let e = [];
  function t(n) {
    return (
      e.push(n),
      () => {
        const A = e.indexOf(n);
        A > -1 && e.splice(A, 1);
      }
    );
  }
  function r() {
    e = [];
  }
  return { add: t, list: () => e, reset: r };
}
function QV(e, t, r) {
  const n = () => {
    e[t].delete(r);
  };
  ci(n),
    li(n),
    cs(() => {
      e[t].add(r);
    }),
    e[t].add(r);
}
function $re(e) {
  const t = dr(ey, {}).value;
  t && QV(t, "leaveGuards", e);
}
function ki(e, t, r, n, A) {
  const i = n && (n.enterCallbacks[A] = n.enterCallbacks[A] || []);
  return () =>
    new Promise((s, a) => {
      const o = (f) => {
          f === !1
            ? a(so(4, { from: r, to: t }))
            : f instanceof Error
              ? a(f)
              : eV(f)
                ? a(so(2, { from: t, to: f }))
                : (i &&
                    n.enterCallbacks[A] === i &&
                    typeof f == "function" &&
                    i.push(f),
                  s());
        },
        l = e.call(n && n.instances[A], t, r, o);
      let u = Promise.resolve(l);
      e.length < 3 && (u = u.then(o)), u.catch((f) => a(f));
    });
}
function wd(e, t, r, n) {
  const A = [];
  for (const i of e)
    for (const s in i.components) {
      let a = i.components[s];
      if (!(t !== "beforeRouteEnter" && !i.instances[s]))
        if (UV(a)) {
          const l = (a.__vccOpts || a)[t];
          l && A.push(ki(l, r, n, i, s));
        } else {
          let o = a();
          A.push(() =>
            o.then((l) => {
              if (!l)
                return Promise.reject(
                  new Error(`Couldn't resolve component "${s}" at "${i.path}"`),
                );
              const u = LK(l) ? l.default : l;
              i.components[s] = u;
              const d = (u.__vccOpts || u)[t];
              return d && ki(d, r, n, i, s)();
            }),
          );
        }
    }
  return A;
}
function UV(e) {
  return (
    typeof e == "object" ||
    "displayName" in e ||
    "props" in e ||
    "__vccOpts" in e
  );
}
function Am(e) {
  const t = dr(Sf),
    r = dr(Mp),
    n = Oe(() => t.resolve(pn(e.to))),
    A = Oe(() => {
      const { matched: o } = n.value,
        { length: l } = o,
        u = o[l - 1],
        f = r.matched;
      if (!u || !f.length) return -1;
      const d = f.findIndex(io.bind(null, u));
      if (d > -1) return d;
      const g = im(o[l - 2]);
      return l > 1 && im(u) === g && f[f.length - 1].path !== g
        ? f.findIndex(io.bind(null, o[l - 2]))
        : d;
    }),
    i = Oe(() => A.value > -1 && PV(r.params, n.value.params)),
    s = Oe(
      () =>
        A.value > -1 &&
        A.value === r.matched.length - 1 &&
        Vw(r.params, n.value.params),
    );
  function a(o = {}) {
    return DV(o)
      ? t[pn(e.replace) ? "replace" : "push"](pn(e.to)).catch(Il)
      : Promise.resolve();
  }
  return {
    route: n,
    href: Oe(() => n.value.href),
    isActive: i,
    isExactActive: s,
    navigate: a,
  };
}
const TV = et({
    name: "RouterLink",
    compatConfig: { MODE: 3 },
    props: {
      to: { type: [String, Object], required: !0 },
      replace: Boolean,
      activeClass: String,
      exactActiveClass: String,
      custom: Boolean,
      ariaCurrentValue: { type: String, default: "page" },
    },
    useLink: Am,
    setup(e, { slots: t }) {
      const r = Rt(Am(e)),
        { options: n } = dr(Sf),
        A = Oe(() => ({
          [sm(e.activeClass, n.linkActiveClass, "router-link-active")]:
            r.isActive,
          [sm(
            e.exactActiveClass,
            n.linkExactActiveClass,
            "router-link-exact-active",
          )]: r.isExactActive,
        }));
      return () => {
        const i = t.default && t.default(r);
        return e.custom
          ? i
          : Ur(
              "a",
              {
                "aria-current": r.isExactActive ? e.ariaCurrentValue : null,
                href: r.href,
                onClick: r.navigate,
                class: A.value,
              },
              i,
            );
      };
    },
  }),
  IV = TV;
function DV(e) {
  if (
    !(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) &&
    !e.defaultPrevented &&
    !(e.button !== void 0 && e.button !== 0)
  ) {
    if (e.currentTarget && e.currentTarget.getAttribute) {
      const t = e.currentTarget.getAttribute("target");
      if (/\b_blank\b/i.test(t)) return;
    }
    return e.preventDefault && e.preventDefault(), !0;
  }
}
function PV(e, t) {
  for (const r in t) {
    const n = t[r],
      A = e[r];
    if (typeof n == "string") {
      if (n !== A) return !1;
    } else if (!sA(A) || A.length !== n.length || n.some((i, s) => i !== A[s]))
      return !1;
  }
  return !0;
}
function im(e) {
  return e ? (e.aliasOf ? e.aliasOf.path : e.path) : "";
}
const sm = (e, t, r) => e ?? t ?? r,
  OV = et({
    name: "RouterView",
    inheritAttrs: !1,
    props: { name: { type: String, default: "default" }, route: Object },
    compatConfig: { MODE: 3 },
    setup(e, { attrs: t, slots: r }) {
      const n = dr(uh),
        A = Oe(() => e.route || n.value),
        i = dr(nm, 0),
        s = Oe(() => {
          let l = pn(i);
          const { matched: u } = A.value;
          let f;
          for (; (f = u[l]) && !f.components; ) l++;
          return l;
        }),
        a = Oe(() => A.value.matched[s.value]);
      nA(
        nm,
        Oe(() => s.value + 1),
      ),
        nA(ey, a),
        nA(uh, A);
      const o = Ue();
      return (
        Ye(
          () => [o.value, a.value, e.name],
          ([l, u, f], [d, g, v]) => {
            u &&
              ((u.instances[f] = l),
              g &&
                g !== u &&
                l &&
                l === d &&
                (u.leaveGuards.size || (u.leaveGuards = g.leaveGuards),
                u.updateGuards.size || (u.updateGuards = g.updateGuards))),
              l &&
                u &&
                (!g || !io(u, g) || !d) &&
                (u.enterCallbacks[f] || []).forEach((B) => B(l));
          },
          { flush: "post" },
        ),
        () => {
          const l = A.value,
            u = e.name,
            f = a.value,
            d = f && f.components[u];
          if (!d) return am(r.default, { Component: d, route: l });
          const g = f.props[u],
            v = g
              ? g === !0
                ? l.params
                : typeof g == "function"
                  ? g(l)
                  : g
              : null,
            y = Ur(
              d,
              Lt({}, v, t, {
                onVnodeUnmounted: (w) => {
                  w.component.isUnmounted && (f.instances[u] = null);
                },
                ref: o,
              }),
            );
          return am(r.default, { Component: y, route: l }) || y;
        }
      );
    },
  });
function am(e, t) {
  if (!e) return null;
  const r = e(t);
  return r.length === 1 ? r[0] : r;
}
const LV = OV;
function Kre(e) {
  const t = uV(e.routes, e),
    r = e.parseQuery || _V,
    n = e.stringifyQuery || rm,
    A = e.history,
    i = rl(),
    s = rl(),
    a = rl(),
    o = Vc(Ui);
  let l = Ui;
  Oa &&
    e.scrollBehavior &&
    "scrollRestoration" in history &&
    (history.scrollRestoration = "manual");
  const u = md.bind(null, (se) => "" + se),
    f = md.bind(null, FV),
    d = md.bind(null, vc);
  function g(se, Fe) {
    let ie, _e;
    return (
      Ww(se) ? ((ie = t.getRecordMatcher(se)), (_e = Fe)) : (_e = se),
      t.addRoute(_e, ie)
    );
  }
  function v(se) {
    const Fe = t.getRecordMatcher(se);
    Fe && t.removeRoute(Fe);
  }
  function B() {
    return t.getRoutes().map((se) => se.record);
  }
  function y(se) {
    return !!t.getRecordMatcher(se);
  }
  function w(se, Fe) {
    if (((Fe = Lt({}, Fe || o.value)), typeof se == "string")) {
      const j = Bd(r, se, Fe.path),
        P = t.resolve({ path: j.path }, Fe),
        M = A.createHref(j.fullPath);
      return Lt(j, P, {
        params: d(P.params),
        hash: vc(j.hash),
        redirectedFrom: void 0,
        href: M,
      });
    }
    let ie;
    if ("path" in se) ie = Lt({}, se, { path: Bd(r, se.path, Fe.path).path });
    else {
      const j = Lt({}, se.params);
      for (const P in j) j[P] == null && delete j[P];
      (ie = Lt({}, se, { params: f(se.params) })), (Fe.params = f(Fe.params));
    }
    const _e = t.resolve(ie, Fe),
      De = se.hash || "";
    _e.params = u(d(_e.params));
    const $e = MK(n, Lt({}, se, { hash: xV(De), path: _e.path })),
      Te = A.createHref($e);
    return Lt(
      {
        fullPath: $e,
        hash: De,
        query: n === rm ? SV(se.query) : se.query || {},
      },
      _e,
      { redirectedFrom: void 0, href: Te },
    );
  }
  function m(se) {
    return typeof se == "string" ? Bd(r, se, o.value.path) : Lt({}, se);
  }
  function x(se, Fe) {
    if (l !== se) return so(8, { from: Fe, to: se });
  }
  function C(se) {
    return I(se);
  }
  function b(se) {
    return C(Lt(m(se), { replace: !0 }));
  }
  function F(se) {
    const Fe = se.matched[se.matched.length - 1];
    if (Fe && Fe.redirect) {
      const { redirect: ie } = Fe;
      let _e = typeof ie == "function" ? ie(se) : ie;
      return (
        typeof _e == "string" &&
          ((_e =
            _e.includes("?") || _e.includes("#") ? (_e = m(_e)) : { path: _e }),
          (_e.params = {})),
        Lt(
          {
            query: se.query,
            hash: se.hash,
            params: "path" in _e ? {} : se.params,
          },
          _e,
        )
      );
    }
  }
  function I(se, Fe) {
    const ie = (l = w(se)),
      _e = o.value,
      De = se.state,
      $e = se.force,
      Te = se.replace === !0,
      j = F(ie);
    if (j)
      return I(
        Lt(m(j), {
          state: typeof j == "object" ? Lt({}, De, j.state) : De,
          force: $e,
          replace: Te,
        }),
        Fe || ie,
      );
    const P = ie;
    P.redirectedFrom = Fe;
    let M;
    return (
      !$e &&
        RK(n, _e, ie) &&
        ((M = so(16, { to: P, from: _e })), Ce(_e, _e, !0, !1)),
      (M ? Promise.resolve(M) : D(P, _e))
        .catch((te) => (MA(te) ? (MA(te, 2) ? te : ue(te)) : le(te, P, _e)))
        .then((te) => {
          if (te) {
            if (MA(te, 2))
              return I(
                Lt({ replace: Te }, m(te.to), {
                  state:
                    typeof te.to == "object" ? Lt({}, De, te.to.state) : De,
                  force: $e,
                }),
                Fe || P,
              );
          } else te = Q(P, _e, !0, Te, De);
          return U(P, _e, te), te;
        })
    );
  }
  function T(se, Fe) {
    const ie = x(se, Fe);
    return ie ? Promise.reject(ie) : Promise.resolve();
  }
  function D(se, Fe) {
    let ie;
    const [_e, De, $e] = kV(se, Fe);
    ie = wd(_e.reverse(), "beforeRouteLeave", se, Fe);
    for (const j of _e)
      j.leaveGuards.forEach((P) => {
        ie.push(ki(P, se, Fe));
      });
    const Te = T.bind(null, se, Fe);
    return (
      ie.push(Te),
      _a(ie)
        .then(() => {
          ie = [];
          for (const j of i.list()) ie.push(ki(j, se, Fe));
          return ie.push(Te), _a(ie);
        })
        .then(() => {
          ie = wd(De, "beforeRouteUpdate", se, Fe);
          for (const j of De)
            j.updateGuards.forEach((P) => {
              ie.push(ki(P, se, Fe));
            });
          return ie.push(Te), _a(ie);
        })
        .then(() => {
          ie = [];
          for (const j of se.matched)
            if (j.beforeEnter && !Fe.matched.includes(j))
              if (sA(j.beforeEnter))
                for (const P of j.beforeEnter) ie.push(ki(P, se, Fe));
              else ie.push(ki(j.beforeEnter, se, Fe));
          return ie.push(Te), _a(ie);
        })
        .then(
          () => (
            se.matched.forEach((j) => (j.enterCallbacks = {})),
            (ie = wd($e, "beforeRouteEnter", se, Fe)),
            ie.push(Te),
            _a(ie)
          ),
        )
        .then(() => {
          ie = [];
          for (const j of s.list()) ie.push(ki(j, se, Fe));
          return ie.push(Te), _a(ie);
        })
        .catch((j) => (MA(j, 8) ? j : Promise.reject(j)))
    );
  }
  function U(se, Fe, ie) {
    for (const _e of a.list()) _e(se, Fe, ie);
  }
  function Q(se, Fe, ie, _e, De) {
    const $e = x(se, Fe);
    if ($e) return $e;
    const Te = Fe === Ui,
      j = Oa ? history.state : {};
    ie &&
      (_e || Te
        ? A.replace(se.fullPath, Lt({ scroll: Te && j && j.scroll }, De))
        : A.push(se.fullPath, De)),
      (o.value = se),
      Ce(se, Fe, ie, Te),
      ue();
  }
  let L;
  function $() {
    L ||
      (L = A.listen((se, Fe, ie) => {
        if (!xe.listening) return;
        const _e = w(se),
          De = F(_e);
        if (De) {
          I(Lt(De, { replace: !0 }), _e).catch(Il);
          return;
        }
        l = _e;
        const $e = o.value;
        Oa && jK(jv($e.fullPath, ie.delta), _f()),
          D(_e, $e)
            .catch((Te) =>
              MA(Te, 12)
                ? Te
                : MA(Te, 2)
                  ? (I(Te.to, _e)
                      .then((j) => {
                        MA(j, 20) &&
                          !ie.delta &&
                          ie.type === e0.pop &&
                          A.go(-1, !1);
                      })
                      .catch(Il),
                    Promise.reject())
                  : (ie.delta && A.go(-ie.delta, !1), le(Te, _e, $e)),
            )
            .then((Te) => {
              (Te = Te || Q(_e, $e, !1)),
                Te &&
                  (ie.delta && !MA(Te, 8)
                    ? A.go(-ie.delta, !1)
                    : ie.type === e0.pop && MA(Te, 20) && A.go(-1, !1)),
                U(_e, $e, Te);
            })
            .catch(Il);
      }));
  }
  let X = rl(),
    V = rl(),
    G;
  function le(se, Fe, ie) {
    ue(se);
    const _e = V.list();
    return (
      _e.length ? _e.forEach((De) => De(se, Fe, ie)) : console.error(se),
      Promise.reject(se)
    );
  }
  function q() {
    return G && o.value !== Ui
      ? Promise.resolve()
      : new Promise((se, Fe) => {
          X.add([se, Fe]);
        });
  }
  function ue(se) {
    return (
      G ||
        ((G = !se),
        $(),
        X.list().forEach(([Fe, ie]) => (se ? ie(se) : Fe())),
        X.reset()),
      se
    );
  }
  function Ce(se, Fe, ie, _e) {
    const { scrollBehavior: De } = e;
    if (!Oa || !De) return Promise.resolve();
    const $e =
      (!ie && YK(jv(se.fullPath, 0))) ||
      ((_e || !ie) && history.state && history.state.scroll) ||
      null;
    return yt()
      .then(() => De(se, Fe, $e))
      .then((Te) => Te && zK(Te))
      .catch((Te) => le(Te, se, Fe));
  }
  const ee = (se) => A.go(se);
  let ce;
  const ve = new Set(),
    xe = {
      currentRoute: o,
      listening: !0,
      addRoute: g,
      removeRoute: v,
      hasRoute: y,
      getRoutes: B,
      resolve: w,
      options: e,
      push: C,
      replace: b,
      go: ee,
      back: () => ee(-1),
      forward: () => ee(1),
      beforeEach: i.add,
      beforeResolve: s.add,
      afterEach: a.add,
      onError: V.add,
      isReady: q,
      install(se) {
        const Fe = this;
        se.component("RouterLink", IV),
          se.component("RouterView", LV),
          (se.config.globalProperties.$router = Fe),
          Object.defineProperty(se.config.globalProperties, "$route", {
            enumerable: !0,
            get: () => pn(o),
          }),
          Oa &&
            !ce &&
            o.value === Ui &&
            ((ce = !0), C(A.location).catch((De) => {}));
        const ie = {};
        for (const De in Ui) ie[De] = Oe(() => o.value[De]);
        se.provide(Sf, Fe), se.provide(Mp, Rt(ie)), se.provide(uh, o);
        const _e = se.unmount;
        ve.add(se),
          (se.unmount = function () {
            ve.delete(se),
              ve.size < 1 &&
                ((l = Ui),
                L && L(),
                (L = null),
                (o.value = Ui),
                (ce = !1),
                (G = !1)),
              _e();
          });
      },
    };
  return xe;
}
function _a(e) {
  return e.reduce((t, r) => t.then(() => r()), Promise.resolve());
}
function kV(e, t) {
  const r = [],
    n = [],
    A = [],
    i = Math.max(t.matched.length, e.matched.length);
  for (let s = 0; s < i; s++) {
    const a = t.matched[s];
    a && (e.matched.find((l) => io(l, a)) ? n.push(a) : r.push(a));
    const o = e.matched[s];
    o && (t.matched.find((l) => io(l, o)) || A.push(o));
  }
  return [r, n, A];
}
function Vre() {
  return dr(Sf);
}
function Gre() {
  return dr(Mp);
}
function ty(e, t) {
  return function () {
    return e.apply(t, arguments);
  };
}
const { toString: HV } = Object.prototype,
  { getPrototypeOf: Rp } = Object,
  Qf = ((e) => (t) => {
    const r = HV.call(t);
    return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
  })(Object.create(null)),
  FA = (e) => ((e = e.toLowerCase()), (t) => Qf(t) === e),
  Uf = (e) => (t) => typeof t === e,
  { isArray: To } = Array,
  t0 = Uf("undefined");
function MV(e) {
  return (
    e !== null &&
    !t0(e) &&
    e.constructor !== null &&
    !t0(e.constructor) &&
    Vn(e.constructor.isBuffer) &&
    e.constructor.isBuffer(e)
  );
}
const ry = FA("ArrayBuffer");
function RV(e) {
  let t;
  return (
    typeof ArrayBuffer < "u" && ArrayBuffer.isView
      ? (t = ArrayBuffer.isView(e))
      : (t = e && e.buffer && ry(e.buffer)),
    t
  );
}
const NV = Uf("string"),
  Vn = Uf("function"),
  ny = Uf("number"),
  Tf = (e) => e !== null && typeof e == "object",
  $V = (e) => e === !0 || e === !1,
  Wu = (e) => {
    if (Qf(e) !== "object") return !1;
    const t = Rp(e);
    return (
      (t === null ||
        t === Object.prototype ||
        Object.getPrototypeOf(t) === null) &&
      !(Symbol.toStringTag in e) &&
      !(Symbol.iterator in e)
    );
  },
  KV = FA("Date"),
  VV = FA("File"),
  GV = FA("Blob"),
  WV = FA("FileList"),
  zV = (e) => Tf(e) && Vn(e.pipe),
  jV = (e) => {
    let t;
    return (
      e &&
      ((typeof FormData == "function" && e instanceof FormData) ||
        (Vn(e.append) &&
          ((t = Qf(e)) === "formdata" ||
            (t === "object" &&
              Vn(e.toString) &&
              e.toString() === "[object FormData]"))))
    );
  },
  YV = FA("URLSearchParams"),
  XV = (e) =>
    e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
function F0(e, t, { allOwnKeys: r = !1 } = {}) {
  if (e === null || typeof e > "u") return;
  let n, A;
  if ((typeof e != "object" && (e = [e]), To(e)))
    for (n = 0, A = e.length; n < A; n++) t.call(null, e[n], n, e);
  else {
    const i = r ? Object.getOwnPropertyNames(e) : Object.keys(e),
      s = i.length;
    let a;
    for (n = 0; n < s; n++) (a = i[n]), t.call(null, e[a], a, e);
  }
}
function Ay(e, t) {
  t = t.toLowerCase();
  const r = Object.keys(e);
  let n = r.length,
    A;
  for (; n-- > 0; ) if (((A = r[n]), t === A.toLowerCase())) return A;
  return null;
}
const iy = (() =>
    typeof globalThis < "u"
      ? globalThis
      : typeof self < "u"
        ? self
        : typeof window < "u"
          ? window
          : global)(),
  sy = (e) => !t0(e) && e !== iy;
function ch() {
  const { caseless: e } = (sy(this) && this) || {},
    t = {},
    r = (n, A) => {
      const i = (e && Ay(t, A)) || A;
      Wu(t[i]) && Wu(n)
        ? (t[i] = ch(t[i], n))
        : Wu(n)
          ? (t[i] = ch({}, n))
          : To(n)
            ? (t[i] = n.slice())
            : (t[i] = n);
    };
  for (let n = 0, A = arguments.length; n < A; n++)
    arguments[n] && F0(arguments[n], r);
  return t;
}
const JV = (e, t, r, { allOwnKeys: n } = {}) => (
    F0(
      t,
      (A, i) => {
        r && Vn(A) ? (e[i] = ty(A, r)) : (e[i] = A);
      },
      { allOwnKeys: n },
    ),
    e
  ),
  qV = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e),
  ZV = (e, t, r, n) => {
    (e.prototype = Object.create(t.prototype, n)),
      (e.prototype.constructor = e),
      Object.defineProperty(e, "super", { value: t.prototype }),
      r && Object.assign(e.prototype, r);
  },
  eG = (e, t, r, n) => {
    let A, i, s;
    const a = {};
    if (((t = t || {}), e == null)) return t;
    do {
      for (A = Object.getOwnPropertyNames(e), i = A.length; i-- > 0; )
        (s = A[i]), (!n || n(s, e, t)) && !a[s] && ((t[s] = e[s]), (a[s] = !0));
      e = r !== !1 && Rp(e);
    } while (e && (!r || r(e, t)) && e !== Object.prototype);
    return t;
  },
  tG = (e, t, r) => {
    (e = String(e)),
      (r === void 0 || r > e.length) && (r = e.length),
      (r -= t.length);
    const n = e.indexOf(t, r);
    return n !== -1 && n === r;
  },
  rG = (e) => {
    if (!e) return null;
    if (To(e)) return e;
    let t = e.length;
    if (!ny(t)) return null;
    const r = new Array(t);
    for (; t-- > 0; ) r[t] = e[t];
    return r;
  },
  nG = (
    (e) => (t) =>
      e && t instanceof e
  )(typeof Uint8Array < "u" && Rp(Uint8Array)),
  AG = (e, t) => {
    const n = (e && e[Symbol.iterator]).call(e);
    let A;
    for (; (A = n.next()) && !A.done; ) {
      const i = A.value;
      t.call(e, i[0], i[1]);
    }
  },
  iG = (e, t) => {
    let r;
    const n = [];
    for (; (r = e.exec(t)) !== null; ) n.push(r);
    return n;
  },
  sG = FA("HTMLFormElement"),
  aG = (e) =>
    e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function (r, n, A) {
      return n.toUpperCase() + A;
    }),
  om = (
    ({ hasOwnProperty: e }) =>
    (t, r) =>
      e.call(t, r)
  )(Object.prototype),
  oG = FA("RegExp"),
  ay = (e, t) => {
    const r = Object.getOwnPropertyDescriptors(e),
      n = {};
    F0(r, (A, i) => {
      let s;
      (s = t(A, i, e)) !== !1 && (n[i] = s || A);
    }),
      Object.defineProperties(e, n);
  },
  lG = (e) => {
    ay(e, (t, r) => {
      if (Vn(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
        return !1;
      const n = e[r];
      if (Vn(n)) {
        if (((t.enumerable = !1), "writable" in t)) {
          t.writable = !1;
          return;
        }
        t.set ||
          (t.set = () => {
            throw Error("Can not rewrite read-only method '" + r + "'");
          });
      }
    });
  },
  uG = (e, t) => {
    const r = {},
      n = (A) => {
        A.forEach((i) => {
          r[i] = !0;
        });
      };
    return To(e) ? n(e) : n(String(e).split(t)), r;
  },
  cG = () => {},
  fG = (e, t) => ((e = +e), Number.isFinite(e) ? e : t),
  yd = "abcdefghijklmnopqrstuvwxyz",
  lm = "0123456789",
  oy = { DIGIT: lm, ALPHA: yd, ALPHA_DIGIT: yd + yd.toUpperCase() + lm },
  dG = (e = 16, t = oy.ALPHA_DIGIT) => {
    let r = "";
    const { length: n } = t;
    for (; e--; ) r += t[(Math.random() * n) | 0];
    return r;
  };
function hG(e) {
  return !!(
    e &&
    Vn(e.append) &&
    e[Symbol.toStringTag] === "FormData" &&
    e[Symbol.iterator]
  );
}
const pG = (e) => {
    const t = new Array(10),
      r = (n, A) => {
        if (Tf(n)) {
          if (t.indexOf(n) >= 0) return;
          if (!("toJSON" in n)) {
            t[A] = n;
            const i = To(n) ? [] : {};
            return (
              F0(n, (s, a) => {
                const o = r(s, A + 1);
                !t0(o) && (i[a] = o);
              }),
              (t[A] = void 0),
              i
            );
          }
        }
        return n;
      };
    return r(e, 0);
  },
  gG = FA("AsyncFunction"),
  vG = (e) => e && (Tf(e) || Vn(e)) && Vn(e.then) && Vn(e.catch),
  ke = {
    isArray: To,
    isArrayBuffer: ry,
    isBuffer: MV,
    isFormData: jV,
    isArrayBufferView: RV,
    isString: NV,
    isNumber: ny,
    isBoolean: $V,
    isObject: Tf,
    isPlainObject: Wu,
    isUndefined: t0,
    isDate: KV,
    isFile: VV,
    isBlob: GV,
    isRegExp: oG,
    isFunction: Vn,
    isStream: zV,
    isURLSearchParams: YV,
    isTypedArray: nG,
    isFileList: WV,
    forEach: F0,
    merge: ch,
    extend: JV,
    trim: XV,
    stripBOM: qV,
    inherits: ZV,
    toFlatObject: eG,
    kindOf: Qf,
    kindOfTest: FA,
    endsWith: tG,
    toArray: rG,
    forEachEntry: AG,
    matchAll: iG,
    isHTMLForm: sG,
    hasOwnProperty: om,
    hasOwnProp: om,
    reduceDescriptors: ay,
    freezeMethods: lG,
    toObjectSet: uG,
    toCamelCase: aG,
    noop: cG,
    toFiniteNumber: fG,
    findKey: Ay,
    global: iy,
    isContextDefined: sy,
    ALPHABET: oy,
    generateString: dG,
    isSpecCompliantForm: hG,
    toJSONObject: pG,
    isAsyncFn: gG,
    isThenable: vG,
  };
function _t(e, t, r, n, A) {
  Error.call(this),
    Error.captureStackTrace
      ? Error.captureStackTrace(this, this.constructor)
      : (this.stack = new Error().stack),
    (this.message = e),
    (this.name = "AxiosError"),
    t && (this.code = t),
    r && (this.config = r),
    n && (this.request = n),
    A && (this.response = A);
}
ke.inherits(_t, Error, {
  toJSON: function () {
    return {
      message: this.message,
      name: this.name,
      description: this.description,
      number: this.number,
      fileName: this.fileName,
      lineNumber: this.lineNumber,
      columnNumber: this.columnNumber,
      stack: this.stack,
      config: ke.toJSONObject(this.config),
      code: this.code,
      status:
        this.response && this.response.status ? this.response.status : null,
    };
  },
});
const ly = _t.prototype,
  uy = {};
[
  "ERR_BAD_OPTION_VALUE",
  "ERR_BAD_OPTION",
  "ECONNABORTED",
  "ETIMEDOUT",
  "ERR_NETWORK",
  "ERR_FR_TOO_MANY_REDIRECTS",
  "ERR_DEPRECATED",
  "ERR_BAD_RESPONSE",
  "ERR_BAD_REQUEST",
  "ERR_CANCELED",
  "ERR_NOT_SUPPORT",
  "ERR_INVALID_URL",
].forEach((e) => {
  uy[e] = { value: e };
});
Object.defineProperties(_t, uy);
Object.defineProperty(ly, "isAxiosError", { value: !0 });
_t.from = (e, t, r, n, A, i) => {
  const s = Object.create(ly);
  return (
    ke.toFlatObject(
      e,
      s,
      function (o) {
        return o !== Error.prototype;
      },
      (a) => a !== "isAxiosError",
    ),
    _t.call(s, e.message, t, r, n, A),
    (s.cause = e),
    (s.name = e.name),
    i && Object.assign(s, i),
    s
  );
};
const mG = null;
function fh(e) {
  return ke.isPlainObject(e) || ke.isArray(e);
}
function cy(e) {
  return ke.endsWith(e, "[]") ? e.slice(0, -2) : e;
}
function um(e, t, r) {
  return e
    ? e
        .concat(t)
        .map(function (A, i) {
          return (A = cy(A)), !r && i ? "[" + A + "]" : A;
        })
        .join(r ? "." : "")
    : t;
}
function BG(e) {
  return ke.isArray(e) && !e.some(fh);
}
const wG = ke.toFlatObject(ke, {}, null, function (t) {
  return /^is[A-Z]/.test(t);
});
function If(e, t, r) {
  if (!ke.isObject(e)) throw new TypeError("target must be an object");
  (t = t || new FormData()),
    (r = ke.toFlatObject(
      r,
      { metaTokens: !0, dots: !1, indexes: !1 },
      !1,
      function (B, y) {
        return !ke.isUndefined(y[B]);
      },
    ));
  const n = r.metaTokens,
    A = r.visitor || u,
    i = r.dots,
    s = r.indexes,
    o = (r.Blob || (typeof Blob < "u" && Blob)) && ke.isSpecCompliantForm(t);
  if (!ke.isFunction(A)) throw new TypeError("visitor must be a function");
  function l(v) {
    if (v === null) return "";
    if (ke.isDate(v)) return v.toISOString();
    if (!o && ke.isBlob(v))
      throw new _t("Blob is not supported. Use a Buffer instead.");
    return ke.isArrayBuffer(v) || ke.isTypedArray(v)
      ? o && typeof Blob == "function"
        ? new Blob([v])
        : Buffer.from(v)
      : v;
  }
  function u(v, B, y) {
    let w = v;
    if (v && !y && typeof v == "object") {
      if (ke.endsWith(B, "{}"))
        (B = n ? B : B.slice(0, -2)), (v = JSON.stringify(v));
      else if (
        (ke.isArray(v) && BG(v)) ||
        ((ke.isFileList(v) || ke.endsWith(B, "[]")) && (w = ke.toArray(v)))
      )
        return (
          (B = cy(B)),
          w.forEach(function (x, C) {
            !(ke.isUndefined(x) || x === null) &&
              t.append(
                s === !0 ? um([B], C, i) : s === null ? B : B + "[]",
                l(x),
              );
          }),
          !1
        );
    }
    return fh(v) ? !0 : (t.append(um(y, B, i), l(v)), !1);
  }
  const f = [],
    d = Object.assign(wG, {
      defaultVisitor: u,
      convertValue: l,
      isVisitable: fh,
    });
  function g(v, B) {
    if (!ke.isUndefined(v)) {
      if (f.indexOf(v) !== -1)
        throw Error("Circular reference detected in " + B.join("."));
      f.push(v),
        ke.forEach(v, function (w, m) {
          (!(ke.isUndefined(w) || w === null) &&
            A.call(t, w, ke.isString(m) ? m.trim() : m, B, d)) === !0 &&
            g(w, B ? B.concat(m) : [m]);
        }),
        f.pop();
    }
  }
  if (!ke.isObject(e)) throw new TypeError("data must be an object");
  return g(e), t;
}
function cm(e) {
  const t = {
    "!": "%21",
    "'": "%27",
    "(": "%28",
    ")": "%29",
    "~": "%7E",
    "%20": "+",
    "%00": "\0",
  };
  return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function (n) {
    return t[n];
  });
}
function Np(e, t) {
  (this._pairs = []), e && If(e, this, t);
}
const fy = Np.prototype;
fy.append = function (t, r) {
  this._pairs.push([t, r]);
};
fy.toString = function (t) {
  const r = t
    ? function (n) {
        return t.call(this, n, cm);
      }
    : cm;
  return this._pairs
    .map(function (A) {
      return r(A[0]) + "=" + r(A[1]);
    }, "")
    .join("&");
};
function yG(e) {
  return encodeURIComponent(e)
    .replace(/%3A/gi, ":")
    .replace(/%24/g, "$")
    .replace(/%2C/gi, ",")
    .replace(/%20/g, "+")
    .replace(/%5B/gi, "[")
    .replace(/%5D/gi, "]");
}
function dy(e, t, r) {
  if (!t) return e;
  const n = (r && r.encode) || yG,
    A = r && r.serialize;
  let i;
  if (
    (A
      ? (i = A(t, r))
      : (i = ke.isURLSearchParams(t) ? t.toString() : new Np(t, r).toString(n)),
    i)
  ) {
    const s = e.indexOf("#");
    s !== -1 && (e = e.slice(0, s)),
      (e += (e.indexOf("?") === -1 ? "?" : "&") + i);
  }
  return e;
}
class CG {
  constructor() {
    this.handlers = [];
  }
  use(t, r, n) {
    return (
      this.handlers.push({
        fulfilled: t,
        rejected: r,
        synchronous: n ? n.synchronous : !1,
        runWhen: n ? n.runWhen : null,
      }),
      this.handlers.length - 1
    );
  }
  eject(t) {
    this.handlers[t] && (this.handlers[t] = null);
  }
  clear() {
    this.handlers && (this.handlers = []);
  }
  forEach(t) {
    ke.forEach(this.handlers, function (n) {
      n !== null && t(n);
    });
  }
}
const fm = CG,
  hy = {
    silentJSONParsing: !0,
    forcedJSONParsing: !0,
    clarifyTimeoutError: !1,
  },
  xG = typeof URLSearchParams < "u" ? URLSearchParams : Np,
  EG = typeof FormData < "u" ? FormData : null,
  bG = typeof Blob < "u" ? Blob : null,
  FG = {
    isBrowser: !0,
    classes: { URLSearchParams: xG, FormData: EG, Blob: bG },
    protocols: ["http", "https", "file", "blob", "url", "data"],
  },
  py = typeof window < "u" && typeof document < "u",
  _G = ((e) => py && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(
    typeof navigator < "u" && navigator.product,
  ),
  SG = (() =>
    typeof WorkerGlobalScope < "u" &&
    self instanceof WorkerGlobalScope &&
    typeof self.importScripts == "function")(),
  QG = Object.freeze(
    Object.defineProperty(
      {
        __proto__: null,
        hasBrowserEnv: py,
        hasStandardBrowserEnv: _G,
        hasStandardBrowserWebWorkerEnv: SG,
      },
      Symbol.toStringTag,
      { value: "Module" },
    ),
  ),
  CA = { ...QG, ...FG };
function UG(e, t) {
  return If(
    e,
    new CA.classes.URLSearchParams(),
    Object.assign(
      {
        visitor: function (r, n, A, i) {
          return CA.isNode && ke.isBuffer(r)
            ? (this.append(n, r.toString("base64")), !1)
            : i.defaultVisitor.apply(this, arguments);
        },
      },
      t,
    ),
  );
}
function TG(e) {
  return ke
    .matchAll(/\w+|\[(\w*)]/g, e)
    .map((t) => (t[0] === "[]" ? "" : t[1] || t[0]));
}
function IG(e) {
  const t = {},
    r = Object.keys(e);
  let n;
  const A = r.length;
  let i;
  for (n = 0; n < A; n++) (i = r[n]), (t[i] = e[i]);
  return t;
}
function gy(e) {
  function t(r, n, A, i) {
    let s = r[i++];
    const a = Number.isFinite(+s),
      o = i >= r.length;
    return (
      (s = !s && ke.isArray(A) ? A.length : s),
      o
        ? (ke.hasOwnProp(A, s) ? (A[s] = [A[s], n]) : (A[s] = n), !a)
        : ((!A[s] || !ke.isObject(A[s])) && (A[s] = []),
          t(r, n, A[s], i) && ke.isArray(A[s]) && (A[s] = IG(A[s])),
          !a)
    );
  }
  if (ke.isFormData(e) && ke.isFunction(e.entries)) {
    const r = {};
    return (
      ke.forEachEntry(e, (n, A) => {
        t(TG(n), A, r, 0);
      }),
      r
    );
  }
  return null;
}
function DG(e, t, r) {
  if (ke.isString(e))
    try {
      return (t || JSON.parse)(e), ke.trim(e);
    } catch (n) {
      if (n.name !== "SyntaxError") throw n;
    }
  return (r || JSON.stringify)(e);
}
const $p = {
  transitional: hy,
  adapter: ["xhr", "http"],
  transformRequest: [
    function (t, r) {
      const n = r.getContentType() || "",
        A = n.indexOf("application/json") > -1,
        i = ke.isObject(t);
      if ((i && ke.isHTMLForm(t) && (t = new FormData(t)), ke.isFormData(t)))
        return A && A ? JSON.stringify(gy(t)) : t;
      if (
        ke.isArrayBuffer(t) ||
        ke.isBuffer(t) ||
        ke.isStream(t) ||
        ke.isFile(t) ||
        ke.isBlob(t)
      )
        return t;
      if (ke.isArrayBufferView(t)) return t.buffer;
      if (ke.isURLSearchParams(t))
        return (
          r.setContentType(
            "application/x-www-form-urlencoded;charset=utf-8",
            !1,
          ),
          t.toString()
        );
      let a;
      if (i) {
        if (n.indexOf("application/x-www-form-urlencoded") > -1)
          return UG(t, this.formSerializer).toString();
        if ((a = ke.isFileList(t)) || n.indexOf("multipart/form-data") > -1) {
          const o = this.env && this.env.FormData;
          return If(
            a ? { "files[]": t } : t,
            o && new o(),
            this.formSerializer,
          );
        }
      }
      return i || A ? (r.setContentType("application/json", !1), DG(t)) : t;
    },
  ],
  transformResponse: [
    function (t) {
      const r = this.transitional || $p.transitional,
        n = r && r.forcedJSONParsing,
        A = this.responseType === "json";
      if (t && ke.isString(t) && ((n && !this.responseType) || A)) {
        const s = !(r && r.silentJSONParsing) && A;
        try {
          return JSON.parse(t);
        } catch (a) {
          if (s)
            throw a.name === "SyntaxError"
              ? _t.from(a, _t.ERR_BAD_RESPONSE, this, null, this.response)
              : a;
        }
      }
      return t;
    },
  ],
  timeout: 0,
  xsrfCookieName: "XSRF-TOKEN",
  xsrfHeaderName: "X-XSRF-TOKEN",
  maxContentLength: -1,
  maxBodyLength: -1,
  env: { FormData: CA.classes.FormData, Blob: CA.classes.Blob },
  validateStatus: function (t) {
    return t >= 200 && t < 300;
  },
  headers: {
    common: {
      Accept: "application/json, text/plain, */*",
      "Content-Type": void 0,
    },
  },
};
ke.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
  $p.headers[e] = {};
});
const Kp = $p,
  PG = ke.toObjectSet([
    "age",
    "authorization",
    "content-length",
    "content-type",
    "etag",
    "expires",
    "from",
    "host",
    "if-modified-since",
    "if-unmodified-since",
    "last-modified",
    "location",
    "max-forwards",
    "proxy-authorization",
    "referer",
    "retry-after",
    "user-agent",
  ]),
  OG = (e) => {
    const t = {};
    let r, n, A;
    return (
      e &&
        e
          .split(
            `
`,
          )
          .forEach(function (s) {
            (A = s.indexOf(":")),
              (r = s.substring(0, A).trim().toLowerCase()),
              (n = s.substring(A + 1).trim()),
              !(!r || (t[r] && PG[r])) &&
                (r === "set-cookie"
                  ? t[r]
                    ? t[r].push(n)
                    : (t[r] = [n])
                  : (t[r] = t[r] ? t[r] + ", " + n : n));
          }),
      t
    );
  },
  dm = Symbol("internals");
function nl(e) {
  return e && String(e).trim().toLowerCase();
}
function zu(e) {
  return e === !1 || e == null ? e : ke.isArray(e) ? e.map(zu) : String(e);
}
function LG(e) {
  const t = Object.create(null),
    r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
  let n;
  for (; (n = r.exec(e)); ) t[n[1]] = n[2];
  return t;
}
const kG = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
function Cd(e, t, r, n, A) {
  if (ke.isFunction(n)) return n.call(this, t, r);
  if ((A && (t = r), !!ke.isString(t))) {
    if (ke.isString(n)) return t.indexOf(n) !== -1;
    if (ke.isRegExp(n)) return n.test(t);
  }
}
function HG(e) {
  return e
    .trim()
    .toLowerCase()
    .replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
}
function MG(e, t) {
  const r = ke.toCamelCase(" " + t);
  ["get", "set", "has"].forEach((n) => {
    Object.defineProperty(e, n + r, {
      value: function (A, i, s) {
        return this[n].call(this, t, A, i, s);
      },
      configurable: !0,
    });
  });
}
class Df {
  constructor(t) {
    t && this.set(t);
  }
  set(t, r, n) {
    const A = this;
    function i(a, o, l) {
      const u = nl(o);
      if (!u) throw new Error("header name must be a non-empty string");
      const f = ke.findKey(A, u);
      (!f || A[f] === void 0 || l === !0 || (l === void 0 && A[f] !== !1)) &&
        (A[f || o] = zu(a));
    }
    const s = (a, o) => ke.forEach(a, (l, u) => i(l, u, o));
    return (
      ke.isPlainObject(t) || t instanceof this.constructor
        ? s(t, r)
        : ke.isString(t) && (t = t.trim()) && !kG(t)
          ? s(OG(t), r)
          : t != null && i(r, t, n),
      this
    );
  }
  get(t, r) {
    if (((t = nl(t)), t)) {
      const n = ke.findKey(this, t);
      if (n) {
        const A = this[n];
        if (!r) return A;
        if (r === !0) return LG(A);
        if (ke.isFunction(r)) return r.call(this, A, n);
        if (ke.isRegExp(r)) return r.exec(A);
        throw new TypeError("parser must be boolean|regexp|function");
      }
    }
  }
  has(t, r) {
    if (((t = nl(t)), t)) {
      const n = ke.findKey(this, t);
      return !!(n && this[n] !== void 0 && (!r || Cd(this, this[n], n, r)));
    }
    return !1;
  }
  delete(t, r) {
    const n = this;
    let A = !1;
    function i(s) {
      if (((s = nl(s)), s)) {
        const a = ke.findKey(n, s);
        a && (!r || Cd(n, n[a], a, r)) && (delete n[a], (A = !0));
      }
    }
    return ke.isArray(t) ? t.forEach(i) : i(t), A;
  }
  clear(t) {
    const r = Object.keys(this);
    let n = r.length,
      A = !1;
    for (; n--; ) {
      const i = r[n];
      (!t || Cd(this, this[i], i, t, !0)) && (delete this[i], (A = !0));
    }
    return A;
  }
  normalize(t) {
    const r = this,
      n = {};
    return (
      ke.forEach(this, (A, i) => {
        const s = ke.findKey(n, i);
        if (s) {
          (r[s] = zu(A)), delete r[i];
          return;
        }
        const a = t ? HG(i) : String(i).trim();
        a !== i && delete r[i], (r[a] = zu(A)), (n[a] = !0);
      }),
      this
    );
  }
  concat(...t) {
    return this.constructor.concat(this, ...t);
  }
  toJSON(t) {
    const r = Object.create(null);
    return (
      ke.forEach(this, (n, A) => {
        n != null && n !== !1 && (r[A] = t && ke.isArray(n) ? n.join(", ") : n);
      }),
      r
    );
  }
  [Symbol.iterator]() {
    return Object.entries(this.toJSON())[Symbol.iterator]();
  }
  toString() {
    return Object.entries(this.toJSON()).map(([t, r]) => t + ": " + r).join(`
`);
  }
  get [Symbol.toStringTag]() {
    return "AxiosHeaders";
  }
  static from(t) {
    return t instanceof this ? t : new this(t);
  }
  static concat(t, ...r) {
    const n = new this(t);
    return r.forEach((A) => n.set(A)), n;
  }
  static accessor(t) {
    const n = (this[dm] = this[dm] = { accessors: {} }).accessors,
      A = this.prototype;
    function i(s) {
      const a = nl(s);
      n[a] || (MG(A, s), (n[a] = !0));
    }
    return ke.isArray(t) ? t.forEach(i) : i(t), this;
  }
}
Df.accessor([
  "Content-Type",
  "Content-Length",
  "Accept",
  "Accept-Encoding",
  "User-Agent",
  "Authorization",
]);
ke.reduceDescriptors(Df.prototype, ({ value: e }, t) => {
  let r = t[0].toUpperCase() + t.slice(1);
  return {
    get: () => e,
    set(n) {
      this[r] = n;
    },
  };
});
ke.freezeMethods(Df);
const JA = Df;
function xd(e, t) {
  const r = this || Kp,
    n = t || r,
    A = JA.from(n.headers);
  let i = n.data;
  return (
    ke.forEach(e, function (a) {
      i = a.call(r, i, A.normalize(), t ? t.status : void 0);
    }),
    A.normalize(),
    i
  );
}
function vy(e) {
  return !!(e && e.__CANCEL__);
}
function _0(e, t, r) {
  _t.call(this, e ?? "canceled", _t.ERR_CANCELED, t, r),
    (this.name = "CanceledError");
}
ke.inherits(_0, _t, { __CANCEL__: !0 });
function RG(e, t, r) {
  const n = r.config.validateStatus;
  !r.status || !n || n(r.status)
    ? e(r)
    : t(
        new _t(
          "Request failed with status code " + r.status,
          [_t.ERR_BAD_REQUEST, _t.ERR_BAD_RESPONSE][
            Math.floor(r.status / 100) - 4
          ],
          r.config,
          r.request,
          r,
        ),
      );
}
const NG = CA.hasStandardBrowserEnv
  ? {
      write(e, t, r, n, A, i) {
        const s = [e + "=" + encodeURIComponent(t)];
        ke.isNumber(r) && s.push("expires=" + new Date(r).toGMTString()),
          ke.isString(n) && s.push("path=" + n),
          ke.isString(A) && s.push("domain=" + A),
          i === !0 && s.push("secure"),
          (document.cookie = s.join("; "));
      },
      read(e) {
        const t = document.cookie.match(
          new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"),
        );
        return t ? decodeURIComponent(t[3]) : null;
      },
      remove(e) {
        this.write(e, "", Date.now() - 864e5);
      },
    }
  : {
      write() {},
      read() {
        return null;
      },
      remove() {},
    };
function $G(e) {
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
}
function KG(e, t) {
  return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e;
}
function my(e, t) {
  return e && !$G(t) ? KG(e, t) : t;
}
const VG = CA.hasStandardBrowserEnv
  ? (function () {
      const t = /(msie|trident)/i.test(navigator.userAgent),
        r = document.createElement("a");
      let n;
      function A(i) {
        let s = i;
        return (
          t && (r.setAttribute("href", s), (s = r.href)),
          r.setAttribute("href", s),
          {
            href: r.href,
            protocol: r.protocol ? r.protocol.replace(/:$/, "") : "",
            host: r.host,
            search: r.search ? r.search.replace(/^\?/, "") : "",
            hash: r.hash ? r.hash.replace(/^#/, "") : "",
            hostname: r.hostname,
            port: r.port,
            pathname:
              r.pathname.charAt(0) === "/" ? r.pathname : "/" + r.pathname,
          }
        );
      }
      return (
        (n = A(window.location.href)),
        function (s) {
          const a = ke.isString(s) ? A(s) : s;
          return a.protocol === n.protocol && a.host === n.host;
        }
      );
    })()
  : (function () {
      return function () {
        return !0;
      };
    })();
function GG(e) {
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
  return (t && t[1]) || "";
}
function WG(e, t) {
  e = e || 10;
  const r = new Array(e),
    n = new Array(e);
  let A = 0,
    i = 0,
    s;
  return (
    (t = t !== void 0 ? t : 1e3),
    function (o) {
      const l = Date.now(),
        u = n[i];
      s || (s = l), (r[A] = o), (n[A] = l);
      let f = i,
        d = 0;
      for (; f !== A; ) (d += r[f++]), (f = f % e);
      if (((A = (A + 1) % e), A === i && (i = (i + 1) % e), l - s < t)) return;
      const g = u && l - u;
      return g ? Math.round((d * 1e3) / g) : void 0;
    }
  );
}
function hm(e, t) {
  let r = 0;
  const n = WG(50, 250);
  return (A) => {
    const i = A.loaded,
      s = A.lengthComputable ? A.total : void 0,
      a = i - r,
      o = n(a),
      l = i <= s;
    r = i;
    const u = {
      loaded: i,
      total: s,
      progress: s ? i / s : void 0,
      bytes: a,
      rate: o || void 0,
      estimated: o && s && l ? (s - i) / o : void 0,
      event: A,
    };
    (u[t ? "download" : "upload"] = !0), e(u);
  };
}
const zG = typeof XMLHttpRequest < "u",
  jG =
    zG &&
    function (e) {
      return new Promise(function (r, n) {
        let A = e.data;
        const i = JA.from(e.headers).normalize();
        let { responseType: s, withXSRFToken: a } = e,
          o;
        function l() {
          e.cancelToken && e.cancelToken.unsubscribe(o),
            e.signal && e.signal.removeEventListener("abort", o);
        }
        let u;
        if (ke.isFormData(A)) {
          if (CA.hasStandardBrowserEnv || CA.hasStandardBrowserWebWorkerEnv)
            i.setContentType(!1);
          else if ((u = i.getContentType()) !== !1) {
            const [B, ...y] = u
              ? u
                  .split(";")
                  .map((w) => w.trim())
                  .filter(Boolean)
              : [];
            i.setContentType([B || "multipart/form-data", ...y].join("; "));
          }
        }
        let f = new XMLHttpRequest();
        if (e.auth) {
          const B = e.auth.username || "",
            y = e.auth.password
              ? unescape(encodeURIComponent(e.auth.password))
              : "";
          i.set("Authorization", "Basic " + btoa(B + ":" + y));
        }
        const d = my(e.baseURL, e.url);
        f.open(e.method.toUpperCase(), dy(d, e.params, e.paramsSerializer), !0),
          (f.timeout = e.timeout);
        function g() {
          if (!f) return;
          const B = JA.from(
              "getAllResponseHeaders" in f && f.getAllResponseHeaders(),
            ),
            w = {
              data:
                !s || s === "text" || s === "json"
                  ? f.responseText
                  : f.response,
              status: f.status,
              statusText: f.statusText,
              headers: B,
              config: e,
              request: f,
            };
          RG(
            function (x) {
              r(x), l();
            },
            function (x) {
              n(x), l();
            },
            w,
          ),
            (f = null);
        }
        if (
          ("onloadend" in f
            ? (f.onloadend = g)
            : (f.onreadystatechange = function () {
                !f ||
                  f.readyState !== 4 ||
                  (f.status === 0 &&
                    !(f.responseURL && f.responseURL.indexOf("file:") === 0)) ||
                  setTimeout(g);
              }),
          (f.onabort = function () {
            f &&
              (n(new _t("Request aborted", _t.ECONNABORTED, e, f)), (f = null));
          }),
          (f.onerror = function () {
            n(new _t("Network Error", _t.ERR_NETWORK, e, f)), (f = null);
          }),
          (f.ontimeout = function () {
            let y = e.timeout
              ? "timeout of " + e.timeout + "ms exceeded"
              : "timeout exceeded";
            const w = e.transitional || hy;
            e.timeoutErrorMessage && (y = e.timeoutErrorMessage),
              n(
                new _t(
                  y,
                  w.clarifyTimeoutError ? _t.ETIMEDOUT : _t.ECONNABORTED,
                  e,
                  f,
                ),
              ),
              (f = null);
          }),
          CA.hasStandardBrowserEnv &&
            (a && ke.isFunction(a) && (a = a(e)), a || (a !== !1 && VG(d))))
        ) {
          const B =
            e.xsrfHeaderName && e.xsrfCookieName && NG.read(e.xsrfCookieName);
          B && i.set(e.xsrfHeaderName, B);
        }
        A === void 0 && i.setContentType(null),
          "setRequestHeader" in f &&
            ke.forEach(i.toJSON(), function (y, w) {
              f.setRequestHeader(w, y);
            }),
          ke.isUndefined(e.withCredentials) ||
            (f.withCredentials = !!e.withCredentials),
          s && s !== "json" && (f.responseType = e.responseType),
          typeof e.onDownloadProgress == "function" &&
            f.addEventListener("progress", hm(e.onDownloadProgress, !0)),
          typeof e.onUploadProgress == "function" &&
            f.upload &&
            f.upload.addEventListener("progress", hm(e.onUploadProgress)),
          (e.cancelToken || e.signal) &&
            ((o = (B) => {
              f &&
                (n(!B || B.type ? new _0(null, e, f) : B),
                f.abort(),
                (f = null));
            }),
            e.cancelToken && e.cancelToken.subscribe(o),
            e.signal &&
              (e.signal.aborted ? o() : e.signal.addEventListener("abort", o)));
        const v = GG(d);
        if (v && CA.protocols.indexOf(v) === -1) {
          n(new _t("Unsupported protocol " + v + ":", _t.ERR_BAD_REQUEST, e));
          return;
        }
        f.send(A || null);
      });
    },
  dh = { http: mG, xhr: jG };
ke.forEach(dh, (e, t) => {
  if (e) {
    try {
      Object.defineProperty(e, "name", { value: t });
    } catch {}
    Object.defineProperty(e, "adapterName", { value: t });
  }
});
const pm = (e) => `- ${e}`,
  YG = (e) => ke.isFunction(e) || e === null || e === !1,
  By = {
    getAdapter: (e) => {
      e = ke.isArray(e) ? e : [e];
      const { length: t } = e;
      let r, n;
      const A = {};
      for (let i = 0; i < t; i++) {
        r = e[i];
        let s;
        if (
          ((n = r),
          !YG(r) && ((n = dh[(s = String(r)).toLowerCase()]), n === void 0))
        )
          throw new _t(`Unknown adapter '${s}'`);
        if (n) break;
        A[s || "#" + i] = n;
      }
      if (!n) {
        const i = Object.entries(A).map(
          ([a, o]) =>
            `adapter ${a} ` +
            (o === !1
              ? "is not supported by the environment"
              : "is not available in the build"),
        );
        let s = t
          ? i.length > 1
            ? `since :
` +
              i.map(pm).join(`
`)
            : " " + pm(i[0])
          : "as no adapter specified";
        throw new _t(
          "There is no suitable adapter to dispatch the request " + s,
          "ERR_NOT_SUPPORT",
        );
      }
      return n;
    },
    adapters: dh,
  };
function Ed(e) {
  if (
    (e.cancelToken && e.cancelToken.throwIfRequested(),
    e.signal && e.signal.aborted)
  )
    throw new _0(null, e);
}
function gm(e) {
  return (
    Ed(e),
    (e.headers = JA.from(e.headers)),
    (e.data = xd.call(e, e.transformRequest)),
    ["post", "put", "patch"].indexOf(e.method) !== -1 &&
      e.headers.setContentType("application/x-www-form-urlencoded", !1),
    By.getAdapter(e.adapter || Kp.adapter)(e).then(
      function (n) {
        return (
          Ed(e),
          (n.data = xd.call(e, e.transformResponse, n)),
          (n.headers = JA.from(n.headers)),
          n
        );
      },
      function (n) {
        return (
          vy(n) ||
            (Ed(e),
            n &&
              n.response &&
              ((n.response.data = xd.call(e, e.transformResponse, n.response)),
              (n.response.headers = JA.from(n.response.headers)))),
          Promise.reject(n)
        );
      },
    )
  );
}
const vm = (e) => (e instanceof JA ? e.toJSON() : e);
function ao(e, t) {
  t = t || {};
  const r = {};
  function n(l, u, f) {
    return ke.isPlainObject(l) && ke.isPlainObject(u)
      ? ke.merge.call({ caseless: f }, l, u)
      : ke.isPlainObject(u)
        ? ke.merge({}, u)
        : ke.isArray(u)
          ? u.slice()
          : u;
  }
  function A(l, u, f) {
    if (ke.isUndefined(u)) {
      if (!ke.isUndefined(l)) return n(void 0, l, f);
    } else return n(l, u, f);
  }
  function i(l, u) {
    if (!ke.isUndefined(u)) return n(void 0, u);
  }
  function s(l, u) {
    if (ke.isUndefined(u)) {
      if (!ke.isUndefined(l)) return n(void 0, l);
    } else return n(void 0, u);
  }
  function a(l, u, f) {
    if (f in t) return n(l, u);
    if (f in e) return n(void 0, l);
  }
  const o = {
    url: i,
    method: i,
    data: i,
    baseURL: s,
    transformRequest: s,
    transformResponse: s,
    paramsSerializer: s,
    timeout: s,
    timeoutMessage: s,
    withCredentials: s,
    withXSRFToken: s,
    adapter: s,
    responseType: s,
    xsrfCookieName: s,
    xsrfHeaderName: s,
    onUploadProgress: s,
    onDownloadProgress: s,
    decompress: s,
    maxContentLength: s,
    maxBodyLength: s,
    beforeRedirect: s,
    transport: s,
    httpAgent: s,
    httpsAgent: s,
    cancelToken: s,
    socketPath: s,
    responseEncoding: s,
    validateStatus: a,
    headers: (l, u) => A(vm(l), vm(u), !0),
  };
  return (
    ke.forEach(Object.keys(Object.assign({}, e, t)), function (u) {
      const f = o[u] || A,
        d = f(e[u], t[u], u);
      (ke.isUndefined(d) && f !== a) || (r[u] = d);
    }),
    r
  );
}
const wy = "1.6.2",
  Vp = {};
["object", "boolean", "number", "function", "string", "symbol"].forEach(
  (e, t) => {
    Vp[e] = function (n) {
      return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
    };
  },
);
const mm = {};
Vp.transitional = function (t, r, n) {
  function A(i, s) {
    return (
      "[Axios v" +
      wy +
      "] Transitional option '" +
      i +
      "'" +
      s +
      (n ? ". " + n : "")
    );
  }
  return (i, s, a) => {
    if (t === !1)
      throw new _t(
        A(s, " has been removed" + (r ? " in " + r : "")),
        _t.ERR_DEPRECATED,
      );
    return (
      r &&
        !mm[s] &&
        ((mm[s] = !0),
        console.warn(
          A(
            s,
            " has been deprecated since v" +
              r +
              " and will be removed in the near future",
          ),
        )),
      t ? t(i, s, a) : !0
    );
  };
};
function XG(e, t, r) {
  if (typeof e != "object")
    throw new _t("options must be an object", _t.ERR_BAD_OPTION_VALUE);
  const n = Object.keys(e);
  let A = n.length;
  for (; A-- > 0; ) {
    const i = n[A],
      s = t[i];
    if (s) {
      const a = e[i],
        o = a === void 0 || s(a, i, e);
      if (o !== !0)
        throw new _t("option " + i + " must be " + o, _t.ERR_BAD_OPTION_VALUE);
      continue;
    }
    if (r !== !0) throw new _t("Unknown option " + i, _t.ERR_BAD_OPTION);
  }
}
const hh = { assertOptions: XG, validators: Vp },
  Ti = hh.validators;
class mc {
  constructor(t) {
    (this.defaults = t),
      (this.interceptors = { request: new fm(), response: new fm() });
  }
  request(t, r) {
    typeof t == "string" ? ((r = r || {}), (r.url = t)) : (r = t || {}),
      (r = ao(this.defaults, r));
    const { transitional: n, paramsSerializer: A, headers: i } = r;
    n !== void 0 &&
      hh.assertOptions(
        n,
        {
          silentJSONParsing: Ti.transitional(Ti.boolean),
          forcedJSONParsing: Ti.transitional(Ti.boolean),
          clarifyTimeoutError: Ti.transitional(Ti.boolean),
        },
        !1,
      ),
      A != null &&
        (ke.isFunction(A)
          ? (r.paramsSerializer = { serialize: A })
          : hh.assertOptions(
              A,
              { encode: Ti.function, serialize: Ti.function },
              !0,
            )),
      (r.method = (r.method || this.defaults.method || "get").toLowerCase());
    let s = i && ke.merge(i.common, i[r.method]);
    i &&
      ke.forEach(
        ["delete", "get", "head", "post", "put", "patch", "common"],
        (v) => {
          delete i[v];
        },
      ),
      (r.headers = JA.concat(s, i));
    const a = [];
    let o = !0;
    this.interceptors.request.forEach(function (B) {
      (typeof B.runWhen == "function" && B.runWhen(r) === !1) ||
        ((o = o && B.synchronous), a.unshift(B.fulfilled, B.rejected));
    });
    const l = [];
    this.interceptors.response.forEach(function (B) {
      l.push(B.fulfilled, B.rejected);
    });
    let u,
      f = 0,
      d;
    if (!o) {
      const v = [gm.bind(this), void 0];
      for (
        v.unshift.apply(v, a),
          v.push.apply(v, l),
          d = v.length,
          u = Promise.resolve(r);
        f < d;

      )
        u = u.then(v[f++], v[f++]);
      return u;
    }
    d = a.length;
    let g = r;
    for (f = 0; f < d; ) {
      const v = a[f++],
        B = a[f++];
      try {
        g = v(g);
      } catch (y) {
        B.call(this, y);
        break;
      }
    }
    try {
      u = gm.call(this, g);
    } catch (v) {
      return Promise.reject(v);
    }
    for (f = 0, d = l.length; f < d; ) u = u.then(l[f++], l[f++]);
    return u;
  }
  getUri(t) {
    t = ao(this.defaults, t);
    const r = my(t.baseURL, t.url);
    return dy(r, t.params, t.paramsSerializer);
  }
}
ke.forEach(["delete", "get", "head", "options"], function (t) {
  mc.prototype[t] = function (r, n) {
    return this.request(
      ao(n || {}, { method: t, url: r, data: (n || {}).data }),
    );
  };
});
ke.forEach(["post", "put", "patch"], function (t) {
  function r(n) {
    return function (i, s, a) {
      return this.request(
        ao(a || {}, {
          method: t,
          headers: n ? { "Content-Type": "multipart/form-data" } : {},
          url: i,
          data: s,
        }),
      );
    };
  }
  (mc.prototype[t] = r()), (mc.prototype[t + "Form"] = r(!0));
});
const ju = mc;
class Gp {
  constructor(t) {
    if (typeof t != "function")
      throw new TypeError("executor must be a function.");
    let r;
    this.promise = new Promise(function (i) {
      r = i;
    });
    const n = this;
    this.promise.then((A) => {
      if (!n._listeners) return;
      let i = n._listeners.length;
      for (; i-- > 0; ) n._listeners[i](A);
      n._listeners = null;
    }),
      (this.promise.then = (A) => {
        let i;
        const s = new Promise((a) => {
          n.subscribe(a), (i = a);
        }).then(A);
        return (
          (s.cancel = function () {
            n.unsubscribe(i);
          }),
          s
        );
      }),
      t(function (i, s, a) {
        n.reason || ((n.reason = new _0(i, s, a)), r(n.reason));
      });
  }
  throwIfRequested() {
    if (this.reason) throw this.reason;
  }
  subscribe(t) {
    if (this.reason) {
      t(this.reason);
      return;
    }
    this._listeners ? this._listeners.push(t) : (this._listeners = [t]);
  }
  unsubscribe(t) {
    if (!this._listeners) return;
    const r = this._listeners.indexOf(t);
    r !== -1 && this._listeners.splice(r, 1);
  }
  static source() {
    let t;
    return {
      token: new Gp(function (A) {
        t = A;
      }),
      cancel: t,
    };
  }
}
const JG = Gp;
function qG(e) {
  return function (r) {
    return e.apply(null, r);
  };
}
function ZG(e) {
  return ke.isObject(e) && e.isAxiosError === !0;
}
const ph = {
  Continue: 100,
  SwitchingProtocols: 101,
  Processing: 102,
  EarlyHints: 103,
  Ok: 200,
  Created: 201,
  Accepted: 202,
  NonAuthoritativeInformation: 203,
  NoContent: 204,
  ResetContent: 205,
  PartialContent: 206,
  MultiStatus: 207,
  AlreadyReported: 208,
  ImUsed: 226,
  MultipleChoices: 300,
  MovedPermanently: 301,
  Found: 302,
  SeeOther: 303,
  NotModified: 304,
  UseProxy: 305,
  Unused: 306,
  TemporaryRedirect: 307,
  PermanentRedirect: 308,
  BadRequest: 400,
  Unauthorized: 401,
  PaymentRequired: 402,
  Forbidden: 403,
  NotFound: 404,
  MethodNotAllowed: 405,
  NotAcceptable: 406,
  ProxyAuthenticationRequired: 407,
  RequestTimeout: 408,
  Conflict: 409,
  Gone: 410,
  LengthRequired: 411,
  PreconditionFailed: 412,
  PayloadTooLarge: 413,
  UriTooLong: 414,
  UnsupportedMediaType: 415,
  RangeNotSatisfiable: 416,
  ExpectationFailed: 417,
  ImATeapot: 418,
  MisdirectedRequest: 421,
  UnprocessableEntity: 422,
  Locked: 423,
  FailedDependency: 424,
  TooEarly: 425,
  UpgradeRequired: 426,
  PreconditionRequired: 428,
  TooManyRequests: 429,
  RequestHeaderFieldsTooLarge: 431,
  UnavailableForLegalReasons: 451,
  InternalServerError: 500,
  NotImplemented: 501,
  BadGateway: 502,
  ServiceUnavailable: 503,
  GatewayTimeout: 504,
  HttpVersionNotSupported: 505,
  VariantAlsoNegotiates: 506,
  InsufficientStorage: 507,
  LoopDetected: 508,
  NotExtended: 510,
  NetworkAuthenticationRequired: 511,
};
Object.entries(ph).forEach(([e, t]) => {
  ph[t] = e;
});
const eW = ph;
function yy(e) {
  const t = new ju(e),
    r = ty(ju.prototype.request, t);
  return (
    ke.extend(r, ju.prototype, t, { allOwnKeys: !0 }),
    ke.extend(r, t, null, { allOwnKeys: !0 }),
    (r.create = function (A) {
      return yy(ao(e, A));
    }),
    r
  );
}
const gr = yy(Kp);
gr.Axios = ju;
gr.CanceledError = _0;
gr.CancelToken = JG;
gr.isCancel = vy;
gr.VERSION = wy;
gr.toFormData = If;
gr.AxiosError = _t;
gr.Cancel = gr.CanceledError;
gr.all = function (t) {
  return Promise.all(t);
};
gr.spread = qG;
gr.isAxiosError = ZG;
gr.mergeConfig = ao;
gr.AxiosHeaders = JA;
gr.formToJSON = (e) => gy(ke.isHTMLForm(e) ? new FormData(e) : e);
gr.getAdapter = By.getAdapter;
gr.HttpStatusCode = eW;
gr.default = gr;
const Wre = gr;
var Cy = { exports: {} };
(function (e) {
  (function (t) {
    for (
      var r = [null, 0, {}],
        n = 10,
        A = 44032,
        i = 4352,
        s = 4449,
        a = 4519,
        o = 19,
        l = 21,
        u = 28,
        f = l * u,
        d = o * f,
        g = function (q, ue) {
          (this.codepoint = q), (this.feature = ue);
        },
        v = {},
        B = [],
        y = 0;
      y <= 255;
      ++y
    )
      B[y] = 0;
    function w(q, ue, Ce) {
      var ee = v[ue];
      return (
        ee ||
          ((ee = q(ue, Ce)),
          ee.feature && ++B[(ue >> 8) & 255] > n && (v[ue] = ee)),
        ee
      );
    }
    function m(q, ue, Ce) {
      var ee = ue & 65280,
        ce = g.udata[ee] || {},
        ve = ce[ue];
      return ve ? new g(ue, ve) : new g(ue, r);
    }
    function x(q, ue, Ce) {
      return Ce ? q(ue, Ce) : new g(ue, null);
    }
    function C(q, ue, Ce) {
      var ee;
      if (ue < i || (i + o <= ue && ue < A) || A + d < ue) return q(ue, Ce);
      if (i <= ue && ue < i + o) {
        var ce = {},
          ve = (ue - i) * l;
        for (ee = 0; ee < l; ++ee) ce[s + ee] = A + u * (ee + ve);
        return new g(ue, [, , ce]);
      }
      var xe = ue - A,
        se = xe % u,
        Fe = [];
      if (se !== 0) Fe[0] = [A + xe - se, a + se];
      else
        for (
          Fe[0] = [i + Math.floor(xe / f), s + Math.floor((xe % f) / u)],
            Fe[2] = {},
            ee = 1;
          ee < u;
          ++ee
        )
          Fe[2][a + ee] = ue + ee;
      return new g(ue, Fe);
    }
    function b(q, ue, Ce) {
      return ue < 60 || (13311 < ue && ue < 42607) ? new g(ue, r) : q(ue, Ce);
    }
    var F = [b, w, x, C, m];
    (g.fromCharCode = F.reduceRight(function (q, ue) {
      return function (Ce, ee) {
        return ue(q, Ce, ee);
      };
    }, null)),
      (g.isHighSurrogate = function (q) {
        return q >= 55296 && q <= 56319;
      }),
      (g.isLowSurrogate = function (q) {
        return q >= 56320 && q <= 57343;
      }),
      (g.prototype.prepFeature = function () {
        this.feature ||
          (this.feature = g.fromCharCode(this.codepoint, !0).feature);
      }),
      (g.prototype.toString = function () {
        if (this.codepoint < 65536) return String.fromCharCode(this.codepoint);
        var q = this.codepoint - 65536;
        return String.fromCharCode(
          Math.floor(q / 1024) + 55296,
          (q % 1024) + 56320,
        );
      }),
      (g.prototype.getDecomp = function () {
        return this.prepFeature(), this.feature[0] || null;
      }),
      (g.prototype.isCompatibility = function () {
        return this.prepFeature(), !!this.feature[1] && this.feature[1] & 256;
      }),
      (g.prototype.isExclude = function () {
        return this.prepFeature(), !!this.feature[1] && this.feature[1] & 512;
      }),
      (g.prototype.getCanonicalClass = function () {
        return this.prepFeature(), this.feature[1] ? this.feature[1] & 255 : 0;
      }),
      (g.prototype.getComposite = function (q) {
        if ((this.prepFeature(), !this.feature[2])) return null;
        var ue = this.feature[2][q.codepoint];
        return ue ? g.fromCharCode(ue) : null;
      });
    var I = function (q) {
      (this.str = q), (this.cursor = 0);
    };
    I.prototype.next = function () {
      if (this.str && this.cursor < this.str.length) {
        var q = this.str.charCodeAt(this.cursor++),
          ue;
        return (
          g.isHighSurrogate(q) &&
            this.cursor < this.str.length &&
            g.isLowSurrogate((ue = this.str.charCodeAt(this.cursor))) &&
            ((q = (q - 55296) * 1024 + (ue - 56320) + 65536), ++this.cursor),
          g.fromCharCode(q)
        );
      } else return (this.str = null), null;
    };
    var T = function (q, ue) {
      (this.it = q), (this.canonical = ue), (this.resBuf = []);
    };
    T.prototype.next = function () {
      function q(Ce, ee) {
        var ce = ee.getDecomp();
        if (ce && !(Ce && ee.isCompatibility())) {
          for (var ve = [], xe = 0; xe < ce.length; ++xe) {
            var se = q(Ce, g.fromCharCode(ce[xe]));
            ve = ve.concat(se);
          }
          return ve;
        } else return [ee];
      }
      if (this.resBuf.length === 0) {
        var ue = this.it.next();
        if (!ue) return null;
        this.resBuf = q(this.canonical, ue);
      }
      return this.resBuf.shift();
    };
    var D = function (q) {
      (this.it = q), (this.resBuf = []);
    };
    D.prototype.next = function () {
      var q;
      if (this.resBuf.length === 0)
        do {
          var ue = this.it.next();
          if (!ue) break;
          q = ue.getCanonicalClass();
          var Ce = this.resBuf.length;
          if (q !== 0)
            for (; Ce > 0; --Ce) {
              var ee = this.resBuf[Ce - 1],
                ce = ee.getCanonicalClass();
              if (ce <= q) break;
            }
          this.resBuf.splice(Ce, 0, ue);
        } while (q !== 0);
      return this.resBuf.shift();
    };
    var U = function (q) {
      (this.it = q),
        (this.procBuf = []),
        (this.resBuf = []),
        (this.lastClass = null);
    };
    U.prototype.next = function () {
      for (; this.resBuf.length === 0; ) {
        var q = this.it.next();
        if (!q) {
          (this.resBuf = this.procBuf), (this.procBuf = []);
          break;
        }
        if (this.procBuf.length === 0)
          (this.lastClass = q.getCanonicalClass()), this.procBuf.push(q);
        else {
          var ue = this.procBuf[0],
            Ce = ue.getComposite(q),
            ee = q.getCanonicalClass();
          Ce && (this.lastClass < ee || this.lastClass === 0)
            ? (this.procBuf[0] = Ce)
            : (ee === 0 && ((this.resBuf = this.procBuf), (this.procBuf = [])),
              (this.lastClass = ee),
              this.procBuf.push(q));
        }
      }
      return this.resBuf.shift();
    };
    var Q = function (q, ue) {
        switch (q) {
          case "NFD":
            return new D(new T(new I(ue), !0));
          case "NFKD":
            return new D(new T(new I(ue), !1));
          case "NFC":
            return new U(new D(new T(new I(ue), !0)));
          case "NFKC":
            return new U(new D(new T(new I(ue), !1)));
        }
        throw q + " is invalid";
      },
      L = function (q, ue) {
        for (var Ce = Q(q, ue), ee = "", ce; (ce = Ce.next()); )
          ee += ce.toString();
        return ee;
      };
    function $(q) {
      return L("NFD", q);
    }
    function X(q) {
      return L("NFKD", q);
    }
    function V(q) {
      return L("NFC", q);
    }
    function G(q) {
      return L("NFKC", q);
    }
    g.udata = {
      0: {
        60: [, , { 824: 8814 }],
        61: [, , { 824: 8800 }],
        62: [, , { 824: 8815 }],
        65: [
          ,
          ,
          {
            768: 192,
            769: 193,
            770: 194,
            771: 195,
            772: 256,
            774: 258,
            775: 550,
            776: 196,
            777: 7842,
            778: 197,
            780: 461,
            783: 512,
            785: 514,
            803: 7840,
            805: 7680,
            808: 260,
          },
        ],
        66: [, , { 775: 7682, 803: 7684, 817: 7686 }],
        67: [, , { 769: 262, 770: 264, 775: 266, 780: 268, 807: 199 }],
        68: [
          ,
          ,
          { 775: 7690, 780: 270, 803: 7692, 807: 7696, 813: 7698, 817: 7694 },
        ],
        69: [
          ,
          ,
          {
            768: 200,
            769: 201,
            770: 202,
            771: 7868,
            772: 274,
            774: 276,
            775: 278,
            776: 203,
            777: 7866,
            780: 282,
            783: 516,
            785: 518,
            803: 7864,
            807: 552,
            808: 280,
            813: 7704,
            816: 7706,
          },
        ],
        70: [, , { 775: 7710 }],
        71: [
          ,
          ,
          {
            769: 500,
            770: 284,
            772: 7712,
            774: 286,
            775: 288,
            780: 486,
            807: 290,
          },
        ],
        72: [
          ,
          ,
          {
            770: 292,
            775: 7714,
            776: 7718,
            780: 542,
            803: 7716,
            807: 7720,
            814: 7722,
          },
        ],
        73: [
          ,
          ,
          {
            768: 204,
            769: 205,
            770: 206,
            771: 296,
            772: 298,
            774: 300,
            775: 304,
            776: 207,
            777: 7880,
            780: 463,
            783: 520,
            785: 522,
            803: 7882,
            808: 302,
            816: 7724,
          },
        ],
        74: [, , { 770: 308 }],
        75: [, , { 769: 7728, 780: 488, 803: 7730, 807: 310, 817: 7732 }],
        76: [
          ,
          ,
          { 769: 313, 780: 317, 803: 7734, 807: 315, 813: 7740, 817: 7738 },
        ],
        77: [, , { 769: 7742, 775: 7744, 803: 7746 }],
        78: [
          ,
          ,
          {
            768: 504,
            769: 323,
            771: 209,
            775: 7748,
            780: 327,
            803: 7750,
            807: 325,
            813: 7754,
            817: 7752,
          },
        ],
        79: [
          ,
          ,
          {
            768: 210,
            769: 211,
            770: 212,
            771: 213,
            772: 332,
            774: 334,
            775: 558,
            776: 214,
            777: 7886,
            779: 336,
            780: 465,
            783: 524,
            785: 526,
            795: 416,
            803: 7884,
            808: 490,
          },
        ],
        80: [, , { 769: 7764, 775: 7766 }],
        82: [
          ,
          ,
          {
            769: 340,
            775: 7768,
            780: 344,
            783: 528,
            785: 530,
            803: 7770,
            807: 342,
            817: 7774,
          },
        ],
        83: [
          ,
          ,
          {
            769: 346,
            770: 348,
            775: 7776,
            780: 352,
            803: 7778,
            806: 536,
            807: 350,
          },
        ],
        84: [
          ,
          ,
          {
            775: 7786,
            780: 356,
            803: 7788,
            806: 538,
            807: 354,
            813: 7792,
            817: 7790,
          },
        ],
        85: [
          ,
          ,
          {
            768: 217,
            769: 218,
            770: 219,
            771: 360,
            772: 362,
            774: 364,
            776: 220,
            777: 7910,
            778: 366,
            779: 368,
            780: 467,
            783: 532,
            785: 534,
            795: 431,
            803: 7908,
            804: 7794,
            808: 370,
            813: 7798,
            816: 7796,
          },
        ],
        86: [, , { 771: 7804, 803: 7806 }],
        87: [
          ,
          ,
          { 768: 7808, 769: 7810, 770: 372, 775: 7814, 776: 7812, 803: 7816 },
        ],
        88: [, , { 775: 7818, 776: 7820 }],
        89: [
          ,
          ,
          {
            768: 7922,
            769: 221,
            770: 374,
            771: 7928,
            772: 562,
            775: 7822,
            776: 376,
            777: 7926,
            803: 7924,
          },
        ],
        90: [
          ,
          ,
          { 769: 377, 770: 7824, 775: 379, 780: 381, 803: 7826, 817: 7828 },
        ],
        97: [
          ,
          ,
          {
            768: 224,
            769: 225,
            770: 226,
            771: 227,
            772: 257,
            774: 259,
            775: 551,
            776: 228,
            777: 7843,
            778: 229,
            780: 462,
            783: 513,
            785: 515,
            803: 7841,
            805: 7681,
            808: 261,
          },
        ],
        98: [, , { 775: 7683, 803: 7685, 817: 7687 }],
        99: [, , { 769: 263, 770: 265, 775: 267, 780: 269, 807: 231 }],
        100: [
          ,
          ,
          { 775: 7691, 780: 271, 803: 7693, 807: 7697, 813: 7699, 817: 7695 },
        ],
        101: [
          ,
          ,
          {
            768: 232,
            769: 233,
            770: 234,
            771: 7869,
            772: 275,
            774: 277,
            775: 279,
            776: 235,
            777: 7867,
            780: 283,
            783: 517,
            785: 519,
            803: 7865,
            807: 553,
            808: 281,
            813: 7705,
            816: 7707,
          },
        ],
        102: [, , { 775: 7711 }],
        103: [
          ,
          ,
          {
            769: 501,
            770: 285,
            772: 7713,
            774: 287,
            775: 289,
            780: 487,
            807: 291,
          },
        ],
        104: [
          ,
          ,
          {
            770: 293,
            775: 7715,
            776: 7719,
            780: 543,
            803: 7717,
            807: 7721,
            814: 7723,
            817: 7830,
          },
        ],
        105: [
          ,
          ,
          {
            768: 236,
            769: 237,
            770: 238,
            771: 297,
            772: 299,
            774: 301,
            776: 239,
            777: 7881,
            780: 464,
            783: 521,
            785: 523,
            803: 7883,
            808: 303,
            816: 7725,
          },
        ],
        106: [, , { 770: 309, 780: 496 }],
        107: [, , { 769: 7729, 780: 489, 803: 7731, 807: 311, 817: 7733 }],
        108: [
          ,
          ,
          { 769: 314, 780: 318, 803: 7735, 807: 316, 813: 7741, 817: 7739 },
        ],
        109: [, , { 769: 7743, 775: 7745, 803: 7747 }],
        110: [
          ,
          ,
          {
            768: 505,
            769: 324,
            771: 241,
            775: 7749,
            780: 328,
            803: 7751,
            807: 326,
            813: 7755,
            817: 7753,
          },
        ],
        111: [
          ,
          ,
          {
            768: 242,
            769: 243,
            770: 244,
            771: 245,
            772: 333,
            774: 335,
            775: 559,
            776: 246,
            777: 7887,
            779: 337,
            780: 466,
            783: 525,
            785: 527,
            795: 417,
            803: 7885,
            808: 491,
          },
        ],
        112: [, , { 769: 7765, 775: 7767 }],
        114: [
          ,
          ,
          {
            769: 341,
            775: 7769,
            780: 345,
            783: 529,
            785: 531,
            803: 7771,
            807: 343,
            817: 7775,
          },
        ],
        115: [
          ,
          ,
          {
            769: 347,
            770: 349,
            775: 7777,
            780: 353,
            803: 7779,
            806: 537,
            807: 351,
          },
        ],
        116: [
          ,
          ,
          {
            775: 7787,
            776: 7831,
            780: 357,
            803: 7789,
            806: 539,
            807: 355,
            813: 7793,
            817: 7791,
          },
        ],
        117: [
          ,
          ,
          {
            768: 249,
            769: 250,
            770: 251,
            771: 361,
            772: 363,
            774: 365,
            776: 252,
            777: 7911,
            778: 367,
            779: 369,
            780: 468,
            783: 533,
            785: 535,
            795: 432,
            803: 7909,
            804: 7795,
            808: 371,
            813: 7799,
            816: 7797,
          },
        ],
        118: [, , { 771: 7805, 803: 7807 }],
        119: [
          ,
          ,
          {
            768: 7809,
            769: 7811,
            770: 373,
            775: 7815,
            776: 7813,
            778: 7832,
            803: 7817,
          },
        ],
        120: [, , { 775: 7819, 776: 7821 }],
        121: [
          ,
          ,
          {
            768: 7923,
            769: 253,
            770: 375,
            771: 7929,
            772: 563,
            775: 7823,
            776: 255,
            777: 7927,
            778: 7833,
            803: 7925,
          },
        ],
        122: [
          ,
          ,
          { 769: 378, 770: 7825, 775: 380, 780: 382, 803: 7827, 817: 7829 },
        ],
        160: [[32], 256],
        168: [[32, 776], 256, { 768: 8173, 769: 901, 834: 8129 }],
        170: [[97], 256],
        175: [[32, 772], 256],
        178: [[50], 256],
        179: [[51], 256],
        180: [[32, 769], 256],
        181: [[956], 256],
        184: [[32, 807], 256],
        185: [[49], 256],
        186: [[111], 256],
        188: [[49, 8260, 52], 256],
        189: [[49, 8260, 50], 256],
        190: [[51, 8260, 52], 256],
        192: [[65, 768]],
        193: [[65, 769]],
        194: [[65, 770], , { 768: 7846, 769: 7844, 771: 7850, 777: 7848 }],
        195: [[65, 771]],
        196: [[65, 776], , { 772: 478 }],
        197: [[65, 778], , { 769: 506 }],
        198: [, , { 769: 508, 772: 482 }],
        199: [[67, 807], , { 769: 7688 }],
        200: [[69, 768]],
        201: [[69, 769]],
        202: [[69, 770], , { 768: 7872, 769: 7870, 771: 7876, 777: 7874 }],
        203: [[69, 776]],
        204: [[73, 768]],
        205: [[73, 769]],
        206: [[73, 770]],
        207: [[73, 776], , { 769: 7726 }],
        209: [[78, 771]],
        210: [[79, 768]],
        211: [[79, 769]],
        212: [[79, 770], , { 768: 7890, 769: 7888, 771: 7894, 777: 7892 }],
        213: [[79, 771], , { 769: 7756, 772: 556, 776: 7758 }],
        214: [[79, 776], , { 772: 554 }],
        216: [, , { 769: 510 }],
        217: [[85, 768]],
        218: [[85, 769]],
        219: [[85, 770]],
        220: [[85, 776], , { 768: 475, 769: 471, 772: 469, 780: 473 }],
        221: [[89, 769]],
        224: [[97, 768]],
        225: [[97, 769]],
        226: [[97, 770], , { 768: 7847, 769: 7845, 771: 7851, 777: 7849 }],
        227: [[97, 771]],
        228: [[97, 776], , { 772: 479 }],
        229: [[97, 778], , { 769: 507 }],
        230: [, , { 769: 509, 772: 483 }],
        231: [[99, 807], , { 769: 7689 }],
        232: [[101, 768]],
        233: [[101, 769]],
        234: [[101, 770], , { 768: 7873, 769: 7871, 771: 7877, 777: 7875 }],
        235: [[101, 776]],
        236: [[105, 768]],
        237: [[105, 769]],
        238: [[105, 770]],
        239: [[105, 776], , { 769: 7727 }],
        241: [[110, 771]],
        242: [[111, 768]],
        243: [[111, 769]],
        244: [[111, 770], , { 768: 7891, 769: 7889, 771: 7895, 777: 7893 }],
        245: [[111, 771], , { 769: 7757, 772: 557, 776: 7759 }],
        246: [[111, 776], , { 772: 555 }],
        248: [, , { 769: 511 }],
        249: [[117, 768]],
        250: [[117, 769]],
        251: [[117, 770]],
        252: [[117, 776], , { 768: 476, 769: 472, 772: 470, 780: 474 }],
        253: [[121, 769]],
        255: [[121, 776]],
      },
      256: {
        256: [[65, 772]],
        257: [[97, 772]],
        258: [[65, 774], , { 768: 7856, 769: 7854, 771: 7860, 777: 7858 }],
        259: [[97, 774], , { 768: 7857, 769: 7855, 771: 7861, 777: 7859 }],
        260: [[65, 808]],
        261: [[97, 808]],
        262: [[67, 769]],
        263: [[99, 769]],
        264: [[67, 770]],
        265: [[99, 770]],
        266: [[67, 775]],
        267: [[99, 775]],
        268: [[67, 780]],
        269: [[99, 780]],
        270: [[68, 780]],
        271: [[100, 780]],
        274: [[69, 772], , { 768: 7700, 769: 7702 }],
        275: [[101, 772], , { 768: 7701, 769: 7703 }],
        276: [[69, 774]],
        277: [[101, 774]],
        278: [[69, 775]],
        279: [[101, 775]],
        280: [[69, 808]],
        281: [[101, 808]],
        282: [[69, 780]],
        283: [[101, 780]],
        284: [[71, 770]],
        285: [[103, 770]],
        286: [[71, 774]],
        287: [[103, 774]],
        288: [[71, 775]],
        289: [[103, 775]],
        290: [[71, 807]],
        291: [[103, 807]],
        292: [[72, 770]],
        293: [[104, 770]],
        296: [[73, 771]],
        297: [[105, 771]],
        298: [[73, 772]],
        299: [[105, 772]],
        300: [[73, 774]],
        301: [[105, 774]],
        302: [[73, 808]],
        303: [[105, 808]],
        304: [[73, 775]],
        306: [[73, 74], 256],
        307: [[105, 106], 256],
        308: [[74, 770]],
        309: [[106, 770]],
        310: [[75, 807]],
        311: [[107, 807]],
        313: [[76, 769]],
        314: [[108, 769]],
        315: [[76, 807]],
        316: [[108, 807]],
        317: [[76, 780]],
        318: [[108, 780]],
        319: [[76, 183], 256],
        320: [[108, 183], 256],
        323: [[78, 769]],
        324: [[110, 769]],
        325: [[78, 807]],
        326: [[110, 807]],
        327: [[78, 780]],
        328: [[110, 780]],
        329: [[700, 110], 256],
        332: [[79, 772], , { 768: 7760, 769: 7762 }],
        333: [[111, 772], , { 768: 7761, 769: 7763 }],
        334: [[79, 774]],
        335: [[111, 774]],
        336: [[79, 779]],
        337: [[111, 779]],
        340: [[82, 769]],
        341: [[114, 769]],
        342: [[82, 807]],
        343: [[114, 807]],
        344: [[82, 780]],
        345: [[114, 780]],
        346: [[83, 769], , { 775: 7780 }],
        347: [[115, 769], , { 775: 7781 }],
        348: [[83, 770]],
        349: [[115, 770]],
        350: [[83, 807]],
        351: [[115, 807]],
        352: [[83, 780], , { 775: 7782 }],
        353: [[115, 780], , { 775: 7783 }],
        354: [[84, 807]],
        355: [[116, 807]],
        356: [[84, 780]],
        357: [[116, 780]],
        360: [[85, 771], , { 769: 7800 }],
        361: [[117, 771], , { 769: 7801 }],
        362: [[85, 772], , { 776: 7802 }],
        363: [[117, 772], , { 776: 7803 }],
        364: [[85, 774]],
        365: [[117, 774]],
        366: [[85, 778]],
        367: [[117, 778]],
        368: [[85, 779]],
        369: [[117, 779]],
        370: [[85, 808]],
        371: [[117, 808]],
        372: [[87, 770]],
        373: [[119, 770]],
        374: [[89, 770]],
        375: [[121, 770]],
        376: [[89, 776]],
        377: [[90, 769]],
        378: [[122, 769]],
        379: [[90, 775]],
        380: [[122, 775]],
        381: [[90, 780]],
        382: [[122, 780]],
        383: [[115], 256, { 775: 7835 }],
        416: [
          [79, 795],
          ,
          { 768: 7900, 769: 7898, 771: 7904, 777: 7902, 803: 7906 },
        ],
        417: [
          [111, 795],
          ,
          { 768: 7901, 769: 7899, 771: 7905, 777: 7903, 803: 7907 },
        ],
        431: [
          [85, 795],
          ,
          { 768: 7914, 769: 7912, 771: 7918, 777: 7916, 803: 7920 },
        ],
        432: [
          [117, 795],
          ,
          { 768: 7915, 769: 7913, 771: 7919, 777: 7917, 803: 7921 },
        ],
        439: [, , { 780: 494 }],
        452: [[68, 381], 256],
        453: [[68, 382], 256],
        454: [[100, 382], 256],
        455: [[76, 74], 256],
        456: [[76, 106], 256],
        457: [[108, 106], 256],
        458: [[78, 74], 256],
        459: [[78, 106], 256],
        460: [[110, 106], 256],
        461: [[65, 780]],
        462: [[97, 780]],
        463: [[73, 780]],
        464: [[105, 780]],
        465: [[79, 780]],
        466: [[111, 780]],
        467: [[85, 780]],
        468: [[117, 780]],
        469: [[220, 772]],
        470: [[252, 772]],
        471: [[220, 769]],
        472: [[252, 769]],
        473: [[220, 780]],
        474: [[252, 780]],
        475: [[220, 768]],
        476: [[252, 768]],
        478: [[196, 772]],
        479: [[228, 772]],
        480: [[550, 772]],
        481: [[551, 772]],
        482: [[198, 772]],
        483: [[230, 772]],
        486: [[71, 780]],
        487: [[103, 780]],
        488: [[75, 780]],
        489: [[107, 780]],
        490: [[79, 808], , { 772: 492 }],
        491: [[111, 808], , { 772: 493 }],
        492: [[490, 772]],
        493: [[491, 772]],
        494: [[439, 780]],
        495: [[658, 780]],
        496: [[106, 780]],
        497: [[68, 90], 256],
        498: [[68, 122], 256],
        499: [[100, 122], 256],
        500: [[71, 769]],
        501: [[103, 769]],
        504: [[78, 768]],
        505: [[110, 768]],
        506: [[197, 769]],
        507: [[229, 769]],
        508: [[198, 769]],
        509: [[230, 769]],
        510: [[216, 769]],
        511: [[248, 769]],
        66045: [, 220],
      },
      512: {
        512: [[65, 783]],
        513: [[97, 783]],
        514: [[65, 785]],
        515: [[97, 785]],
        516: [[69, 783]],
        517: [[101, 783]],
        518: [[69, 785]],
        519: [[101, 785]],
        520: [[73, 783]],
        521: [[105, 783]],
        522: [[73, 785]],
        523: [[105, 785]],
        524: [[79, 783]],
        525: [[111, 783]],
        526: [[79, 785]],
        527: [[111, 785]],
        528: [[82, 783]],
        529: [[114, 783]],
        530: [[82, 785]],
        531: [[114, 785]],
        532: [[85, 783]],
        533: [[117, 783]],
        534: [[85, 785]],
        535: [[117, 785]],
        536: [[83, 806]],
        537: [[115, 806]],
        538: [[84, 806]],
        539: [[116, 806]],
        542: [[72, 780]],
        543: [[104, 780]],
        550: [[65, 775], , { 772: 480 }],
        551: [[97, 775], , { 772: 481 }],
        552: [[69, 807], , { 774: 7708 }],
        553: [[101, 807], , { 774: 7709 }],
        554: [[214, 772]],
        555: [[246, 772]],
        556: [[213, 772]],
        557: [[245, 772]],
        558: [[79, 775], , { 772: 560 }],
        559: [[111, 775], , { 772: 561 }],
        560: [[558, 772]],
        561: [[559, 772]],
        562: [[89, 772]],
        563: [[121, 772]],
        658: [, , { 780: 495 }],
        688: [[104], 256],
        689: [[614], 256],
        690: [[106], 256],
        691: [[114], 256],
        692: [[633], 256],
        693: [[635], 256],
        694: [[641], 256],
        695: [[119], 256],
        696: [[121], 256],
        728: [[32, 774], 256],
        729: [[32, 775], 256],
        730: [[32, 778], 256],
        731: [[32, 808], 256],
        732: [[32, 771], 256],
        733: [[32, 779], 256],
        736: [[611], 256],
        737: [[108], 256],
        738: [[115], 256],
        739: [[120], 256],
        740: [[661], 256],
        66272: [, 220],
      },
      768: {
        768: [, 230],
        769: [, 230],
        770: [, 230],
        771: [, 230],
        772: [, 230],
        773: [, 230],
        774: [, 230],
        775: [, 230],
        776: [, 230, { 769: 836 }],
        777: [, 230],
        778: [, 230],
        779: [, 230],
        780: [, 230],
        781: [, 230],
        782: [, 230],
        783: [, 230],
        784: [, 230],
        785: [, 230],
        786: [, 230],
        787: [, 230],
        788: [, 230],
        789: [, 232],
        790: [, 220],
        791: [, 220],
        792: [, 220],
        793: [, 220],
        794: [, 232],
        795: [, 216],
        796: [, 220],
        797: [, 220],
        798: [, 220],
        799: [, 220],
        800: [, 220],
        801: [, 202],
        802: [, 202],
        803: [, 220],
        804: [, 220],
        805: [, 220],
        806: [, 220],
        807: [, 202],
        808: [, 202],
        809: [, 220],
        810: [, 220],
        811: [, 220],
        812: [, 220],
        813: [, 220],
        814: [, 220],
        815: [, 220],
        816: [, 220],
        817: [, 220],
        818: [, 220],
        819: [, 220],
        820: [, 1],
        821: [, 1],
        822: [, 1],
        823: [, 1],
        824: [, 1],
        825: [, 220],
        826: [, 220],
        827: [, 220],
        828: [, 220],
        829: [, 230],
        830: [, 230],
        831: [, 230],
        832: [[768], 230],
        833: [[769], 230],
        834: [, 230],
        835: [[787], 230],
        836: [[776, 769], 230],
        837: [, 240],
        838: [, 230],
        839: [, 220],
        840: [, 220],
        841: [, 220],
        842: [, 230],
        843: [, 230],
        844: [, 230],
        845: [, 220],
        846: [, 220],
        848: [, 230],
        849: [, 230],
        850: [, 230],
        851: [, 220],
        852: [, 220],
        853: [, 220],
        854: [, 220],
        855: [, 230],
        856: [, 232],
        857: [, 220],
        858: [, 220],
        859: [, 230],
        860: [, 233],
        861: [, 234],
        862: [, 234],
        863: [, 233],
        864: [, 234],
        865: [, 234],
        866: [, 233],
        867: [, 230],
        868: [, 230],
        869: [, 230],
        870: [, 230],
        871: [, 230],
        872: [, 230],
        873: [, 230],
        874: [, 230],
        875: [, 230],
        876: [, 230],
        877: [, 230],
        878: [, 230],
        879: [, 230],
        884: [[697]],
        890: [[32, 837], 256],
        894: [[59]],
        900: [[32, 769], 256],
        901: [[168, 769]],
        902: [[913, 769]],
        903: [[183]],
        904: [[917, 769]],
        905: [[919, 769]],
        906: [[921, 769]],
        908: [[927, 769]],
        910: [[933, 769]],
        911: [[937, 769]],
        912: [[970, 769]],
        913: [
          ,
          ,
          {
            768: 8122,
            769: 902,
            772: 8121,
            774: 8120,
            787: 7944,
            788: 7945,
            837: 8124,
          },
        ],
        917: [, , { 768: 8136, 769: 904, 787: 7960, 788: 7961 }],
        919: [, , { 768: 8138, 769: 905, 787: 7976, 788: 7977, 837: 8140 }],
        921: [
          ,
          ,
          {
            768: 8154,
            769: 906,
            772: 8153,
            774: 8152,
            776: 938,
            787: 7992,
            788: 7993,
          },
        ],
        927: [, , { 768: 8184, 769: 908, 787: 8008, 788: 8009 }],
        929: [, , { 788: 8172 }],
        933: [
          ,
          ,
          { 768: 8170, 769: 910, 772: 8169, 774: 8168, 776: 939, 788: 8025 },
        ],
        937: [, , { 768: 8186, 769: 911, 787: 8040, 788: 8041, 837: 8188 }],
        938: [[921, 776]],
        939: [[933, 776]],
        940: [[945, 769], , { 837: 8116 }],
        941: [[949, 769]],
        942: [[951, 769], , { 837: 8132 }],
        943: [[953, 769]],
        944: [[971, 769]],
        945: [
          ,
          ,
          {
            768: 8048,
            769: 940,
            772: 8113,
            774: 8112,
            787: 7936,
            788: 7937,
            834: 8118,
            837: 8115,
          },
        ],
        949: [, , { 768: 8050, 769: 941, 787: 7952, 788: 7953 }],
        951: [
          ,
          ,
          { 768: 8052, 769: 942, 787: 7968, 788: 7969, 834: 8134, 837: 8131 },
        ],
        953: [
          ,
          ,
          {
            768: 8054,
            769: 943,
            772: 8145,
            774: 8144,
            776: 970,
            787: 7984,
            788: 7985,
            834: 8150,
          },
        ],
        959: [, , { 768: 8056, 769: 972, 787: 8e3, 788: 8001 }],
        961: [, , { 787: 8164, 788: 8165 }],
        965: [
          ,
          ,
          {
            768: 8058,
            769: 973,
            772: 8161,
            774: 8160,
            776: 971,
            787: 8016,
            788: 8017,
            834: 8166,
          },
        ],
        969: [
          ,
          ,
          { 768: 8060, 769: 974, 787: 8032, 788: 8033, 834: 8182, 837: 8179 },
        ],
        970: [[953, 776], , { 768: 8146, 769: 912, 834: 8151 }],
        971: [[965, 776], , { 768: 8162, 769: 944, 834: 8167 }],
        972: [[959, 769]],
        973: [[965, 769]],
        974: [[969, 769], , { 837: 8180 }],
        976: [[946], 256],
        977: [[952], 256],
        978: [[933], 256, { 769: 979, 776: 980 }],
        979: [[978, 769]],
        980: [[978, 776]],
        981: [[966], 256],
        982: [[960], 256],
        1008: [[954], 256],
        1009: [[961], 256],
        1010: [[962], 256],
        1012: [[920], 256],
        1013: [[949], 256],
        1017: [[931], 256],
        66422: [, 230],
        66423: [, 230],
        66424: [, 230],
        66425: [, 230],
        66426: [, 230],
      },
      1024: {
        1024: [[1045, 768]],
        1025: [[1045, 776]],
        1027: [[1043, 769]],
        1030: [, , { 776: 1031 }],
        1031: [[1030, 776]],
        1036: [[1050, 769]],
        1037: [[1048, 768]],
        1038: [[1059, 774]],
        1040: [, , { 774: 1232, 776: 1234 }],
        1043: [, , { 769: 1027 }],
        1045: [, , { 768: 1024, 774: 1238, 776: 1025 }],
        1046: [, , { 774: 1217, 776: 1244 }],
        1047: [, , { 776: 1246 }],
        1048: [, , { 768: 1037, 772: 1250, 774: 1049, 776: 1252 }],
        1049: [[1048, 774]],
        1050: [, , { 769: 1036 }],
        1054: [, , { 776: 1254 }],
        1059: [, , { 772: 1262, 774: 1038, 776: 1264, 779: 1266 }],
        1063: [, , { 776: 1268 }],
        1067: [, , { 776: 1272 }],
        1069: [, , { 776: 1260 }],
        1072: [, , { 774: 1233, 776: 1235 }],
        1075: [, , { 769: 1107 }],
        1077: [, , { 768: 1104, 774: 1239, 776: 1105 }],
        1078: [, , { 774: 1218, 776: 1245 }],
        1079: [, , { 776: 1247 }],
        1080: [, , { 768: 1117, 772: 1251, 774: 1081, 776: 1253 }],
        1081: [[1080, 774]],
        1082: [, , { 769: 1116 }],
        1086: [, , { 776: 1255 }],
        1091: [, , { 772: 1263, 774: 1118, 776: 1265, 779: 1267 }],
        1095: [, , { 776: 1269 }],
        1099: [, , { 776: 1273 }],
        1101: [, , { 776: 1261 }],
        1104: [[1077, 768]],
        1105: [[1077, 776]],
        1107: [[1075, 769]],
        1110: [, , { 776: 1111 }],
        1111: [[1110, 776]],
        1116: [[1082, 769]],
        1117: [[1080, 768]],
        1118: [[1091, 774]],
        1140: [, , { 783: 1142 }],
        1141: [, , { 783: 1143 }],
        1142: [[1140, 783]],
        1143: [[1141, 783]],
        1155: [, 230],
        1156: [, 230],
        1157: [, 230],
        1158: [, 230],
        1159: [, 230],
        1217: [[1046, 774]],
        1218: [[1078, 774]],
        1232: [[1040, 774]],
        1233: [[1072, 774]],
        1234: [[1040, 776]],
        1235: [[1072, 776]],
        1238: [[1045, 774]],
        1239: [[1077, 774]],
        1240: [, , { 776: 1242 }],
        1241: [, , { 776: 1243 }],
        1242: [[1240, 776]],
        1243: [[1241, 776]],
        1244: [[1046, 776]],
        1245: [[1078, 776]],
        1246: [[1047, 776]],
        1247: [[1079, 776]],
        1250: [[1048, 772]],
        1251: [[1080, 772]],
        1252: [[1048, 776]],
        1253: [[1080, 776]],
        1254: [[1054, 776]],
        1255: [[1086, 776]],
        1256: [, , { 776: 1258 }],
        1257: [, , { 776: 1259 }],
        1258: [[1256, 776]],
        1259: [[1257, 776]],
        1260: [[1069, 776]],
        1261: [[1101, 776]],
        1262: [[1059, 772]],
        1263: [[1091, 772]],
        1264: [[1059, 776]],
        1265: [[1091, 776]],
        1266: [[1059, 779]],
        1267: [[1091, 779]],
        1268: [[1063, 776]],
        1269: [[1095, 776]],
        1272: [[1067, 776]],
        1273: [[1099, 776]],
      },
      1280: {
        1415: [[1381, 1410], 256],
        1425: [, 220],
        1426: [, 230],
        1427: [, 230],
        1428: [, 230],
        1429: [, 230],
        1430: [, 220],
        1431: [, 230],
        1432: [, 230],
        1433: [, 230],
        1434: [, 222],
        1435: [, 220],
        1436: [, 230],
        1437: [, 230],
        1438: [, 230],
        1439: [, 230],
        1440: [, 230],
        1441: [, 230],
        1442: [, 220],
        1443: [, 220],
        1444: [, 220],
        1445: [, 220],
        1446: [, 220],
        1447: [, 220],
        1448: [, 230],
        1449: [, 230],
        1450: [, 220],
        1451: [, 230],
        1452: [, 230],
        1453: [, 222],
        1454: [, 228],
        1455: [, 230],
        1456: [, 10],
        1457: [, 11],
        1458: [, 12],
        1459: [, 13],
        1460: [, 14],
        1461: [, 15],
        1462: [, 16],
        1463: [, 17],
        1464: [, 18],
        1465: [, 19],
        1466: [, 19],
        1467: [, 20],
        1468: [, 21],
        1469: [, 22],
        1471: [, 23],
        1473: [, 24],
        1474: [, 25],
        1476: [, 230],
        1477: [, 220],
        1479: [, 18],
      },
      1536: {
        1552: [, 230],
        1553: [, 230],
        1554: [, 230],
        1555: [, 230],
        1556: [, 230],
        1557: [, 230],
        1558: [, 230],
        1559: [, 230],
        1560: [, 30],
        1561: [, 31],
        1562: [, 32],
        1570: [[1575, 1619]],
        1571: [[1575, 1620]],
        1572: [[1608, 1620]],
        1573: [[1575, 1621]],
        1574: [[1610, 1620]],
        1575: [, , { 1619: 1570, 1620: 1571, 1621: 1573 }],
        1608: [, , { 1620: 1572 }],
        1610: [, , { 1620: 1574 }],
        1611: [, 27],
        1612: [, 28],
        1613: [, 29],
        1614: [, 30],
        1615: [, 31],
        1616: [, 32],
        1617: [, 33],
        1618: [, 34],
        1619: [, 230],
        1620: [, 230],
        1621: [, 220],
        1622: [, 220],
        1623: [, 230],
        1624: [, 230],
        1625: [, 230],
        1626: [, 230],
        1627: [, 230],
        1628: [, 220],
        1629: [, 230],
        1630: [, 230],
        1631: [, 220],
        1648: [, 35],
        1653: [[1575, 1652], 256],
        1654: [[1608, 1652], 256],
        1655: [[1735, 1652], 256],
        1656: [[1610, 1652], 256],
        1728: [[1749, 1620]],
        1729: [, , { 1620: 1730 }],
        1730: [[1729, 1620]],
        1746: [, , { 1620: 1747 }],
        1747: [[1746, 1620]],
        1749: [, , { 1620: 1728 }],
        1750: [, 230],
        1751: [, 230],
        1752: [, 230],
        1753: [, 230],
        1754: [, 230],
        1755: [, 230],
        1756: [, 230],
        1759: [, 230],
        1760: [, 230],
        1761: [, 230],
        1762: [, 230],
        1763: [, 220],
        1764: [, 230],
        1767: [, 230],
        1768: [, 230],
        1770: [, 220],
        1771: [, 230],
        1772: [, 230],
        1773: [, 220],
      },
      1792: {
        1809: [, 36],
        1840: [, 230],
        1841: [, 220],
        1842: [, 230],
        1843: [, 230],
        1844: [, 220],
        1845: [, 230],
        1846: [, 230],
        1847: [, 220],
        1848: [, 220],
        1849: [, 220],
        1850: [, 230],
        1851: [, 220],
        1852: [, 220],
        1853: [, 230],
        1854: [, 220],
        1855: [, 230],
        1856: [, 230],
        1857: [, 230],
        1858: [, 220],
        1859: [, 230],
        1860: [, 220],
        1861: [, 230],
        1862: [, 220],
        1863: [, 230],
        1864: [, 220],
        1865: [, 230],
        1866: [, 230],
        2027: [, 230],
        2028: [, 230],
        2029: [, 230],
        2030: [, 230],
        2031: [, 230],
        2032: [, 230],
        2033: [, 230],
        2034: [, 220],
        2035: [, 230],
      },
      2048: {
        2070: [, 230],
        2071: [, 230],
        2072: [, 230],
        2073: [, 230],
        2075: [, 230],
        2076: [, 230],
        2077: [, 230],
        2078: [, 230],
        2079: [, 230],
        2080: [, 230],
        2081: [, 230],
        2082: [, 230],
        2083: [, 230],
        2085: [, 230],
        2086: [, 230],
        2087: [, 230],
        2089: [, 230],
        2090: [, 230],
        2091: [, 230],
        2092: [, 230],
        2093: [, 230],
        2137: [, 220],
        2138: [, 220],
        2139: [, 220],
        2276: [, 230],
        2277: [, 230],
        2278: [, 220],
        2279: [, 230],
        2280: [, 230],
        2281: [, 220],
        2282: [, 230],
        2283: [, 230],
        2284: [, 230],
        2285: [, 220],
        2286: [, 220],
        2287: [, 220],
        2288: [, 27],
        2289: [, 28],
        2290: [, 29],
        2291: [, 230],
        2292: [, 230],
        2293: [, 230],
        2294: [, 220],
        2295: [, 230],
        2296: [, 230],
        2297: [, 220],
        2298: [, 220],
        2299: [, 230],
        2300: [, 230],
        2301: [, 230],
        2302: [, 230],
        2303: [, 230],
      },
      2304: {
        2344: [, , { 2364: 2345 }],
        2345: [[2344, 2364]],
        2352: [, , { 2364: 2353 }],
        2353: [[2352, 2364]],
        2355: [, , { 2364: 2356 }],
        2356: [[2355, 2364]],
        2364: [, 7],
        2381: [, 9],
        2385: [, 230],
        2386: [, 220],
        2387: [, 230],
        2388: [, 230],
        2392: [[2325, 2364], 512],
        2393: [[2326, 2364], 512],
        2394: [[2327, 2364], 512],
        2395: [[2332, 2364], 512],
        2396: [[2337, 2364], 512],
        2397: [[2338, 2364], 512],
        2398: [[2347, 2364], 512],
        2399: [[2351, 2364], 512],
        2492: [, 7],
        2503: [, , { 2494: 2507, 2519: 2508 }],
        2507: [[2503, 2494]],
        2508: [[2503, 2519]],
        2509: [, 9],
        2524: [[2465, 2492], 512],
        2525: [[2466, 2492], 512],
        2527: [[2479, 2492], 512],
      },
      2560: {
        2611: [[2610, 2620], 512],
        2614: [[2616, 2620], 512],
        2620: [, 7],
        2637: [, 9],
        2649: [[2582, 2620], 512],
        2650: [[2583, 2620], 512],
        2651: [[2588, 2620], 512],
        2654: [[2603, 2620], 512],
        2748: [, 7],
        2765: [, 9],
        68109: [, 220],
        68111: [, 230],
        68152: [, 230],
        68153: [, 1],
        68154: [, 220],
        68159: [, 9],
        68325: [, 230],
        68326: [, 220],
      },
      2816: {
        2876: [, 7],
        2887: [, , { 2878: 2891, 2902: 2888, 2903: 2892 }],
        2888: [[2887, 2902]],
        2891: [[2887, 2878]],
        2892: [[2887, 2903]],
        2893: [, 9],
        2908: [[2849, 2876], 512],
        2909: [[2850, 2876], 512],
        2962: [, , { 3031: 2964 }],
        2964: [[2962, 3031]],
        3014: [, , { 3006: 3018, 3031: 3020 }],
        3015: [, , { 3006: 3019 }],
        3018: [[3014, 3006]],
        3019: [[3015, 3006]],
        3020: [[3014, 3031]],
        3021: [, 9],
      },
      3072: {
        3142: [, , { 3158: 3144 }],
        3144: [[3142, 3158]],
        3149: [, 9],
        3157: [, 84],
        3158: [, 91],
        3260: [, 7],
        3263: [, , { 3285: 3264 }],
        3264: [[3263, 3285]],
        3270: [, , { 3266: 3274, 3285: 3271, 3286: 3272 }],
        3271: [[3270, 3285]],
        3272: [[3270, 3286]],
        3274: [[3270, 3266], , { 3285: 3275 }],
        3275: [[3274, 3285]],
        3277: [, 9],
      },
      3328: {
        3398: [, , { 3390: 3402, 3415: 3404 }],
        3399: [, , { 3390: 3403 }],
        3402: [[3398, 3390]],
        3403: [[3399, 3390]],
        3404: [[3398, 3415]],
        3405: [, 9],
        3530: [, 9],
        3545: [, , { 3530: 3546, 3535: 3548, 3551: 3550 }],
        3546: [[3545, 3530]],
        3548: [[3545, 3535], , { 3530: 3549 }],
        3549: [[3548, 3530]],
        3550: [[3545, 3551]],
      },
      3584: {
        3635: [[3661, 3634], 256],
        3640: [, 103],
        3641: [, 103],
        3642: [, 9],
        3656: [, 107],
        3657: [, 107],
        3658: [, 107],
        3659: [, 107],
        3763: [[3789, 3762], 256],
        3768: [, 118],
        3769: [, 118],
        3784: [, 122],
        3785: [, 122],
        3786: [, 122],
        3787: [, 122],
        3804: [[3755, 3737], 256],
        3805: [[3755, 3745], 256],
      },
      3840: {
        3852: [[3851], 256],
        3864: [, 220],
        3865: [, 220],
        3893: [, 220],
        3895: [, 220],
        3897: [, 216],
        3907: [[3906, 4023], 512],
        3917: [[3916, 4023], 512],
        3922: [[3921, 4023], 512],
        3927: [[3926, 4023], 512],
        3932: [[3931, 4023], 512],
        3945: [[3904, 4021], 512],
        3953: [, 129],
        3954: [, 130],
        3955: [[3953, 3954], 512],
        3956: [, 132],
        3957: [[3953, 3956], 512],
        3958: [[4018, 3968], 512],
        3959: [[4018, 3969], 256],
        3960: [[4019, 3968], 512],
        3961: [[4019, 3969], 256],
        3962: [, 130],
        3963: [, 130],
        3964: [, 130],
        3965: [, 130],
        3968: [, 130],
        3969: [[3953, 3968], 512],
        3970: [, 230],
        3971: [, 230],
        3972: [, 9],
        3974: [, 230],
        3975: [, 230],
        3987: [[3986, 4023], 512],
        3997: [[3996, 4023], 512],
        4002: [[4001, 4023], 512],
        4007: [[4006, 4023], 512],
        4012: [[4011, 4023], 512],
        4025: [[3984, 4021], 512],
        4038: [, 220],
      },
      4096: {
        4133: [, , { 4142: 4134 }],
        4134: [[4133, 4142]],
        4151: [, 7],
        4153: [, 9],
        4154: [, 9],
        4237: [, 220],
        4348: [[4316], 256],
        69702: [, 9],
        69759: [, 9],
        69785: [, , { 69818: 69786 }],
        69786: [[69785, 69818]],
        69787: [, , { 69818: 69788 }],
        69788: [[69787, 69818]],
        69797: [, , { 69818: 69803 }],
        69803: [[69797, 69818]],
        69817: [, 9],
        69818: [, 7],
      },
      4352: {
        69888: [, 230],
        69889: [, 230],
        69890: [, 230],
        69934: [[69937, 69927]],
        69935: [[69938, 69927]],
        69937: [, , { 69927: 69934 }],
        69938: [, , { 69927: 69935 }],
        69939: [, 9],
        69940: [, 9],
        70003: [, 7],
        70080: [, 9],
      },
      4608: { 70197: [, 9], 70198: [, 7], 70377: [, 7], 70378: [, 9] },
      4864: {
        4957: [, 230],
        4958: [, 230],
        4959: [, 230],
        70460: [, 7],
        70471: [, , { 70462: 70475, 70487: 70476 }],
        70475: [[70471, 70462]],
        70476: [[70471, 70487]],
        70477: [, 9],
        70502: [, 230],
        70503: [, 230],
        70504: [, 230],
        70505: [, 230],
        70506: [, 230],
        70507: [, 230],
        70508: [, 230],
        70512: [, 230],
        70513: [, 230],
        70514: [, 230],
        70515: [, 230],
        70516: [, 230],
      },
      5120: {
        70841: [, , { 70832: 70844, 70842: 70843, 70845: 70846 }],
        70843: [[70841, 70842]],
        70844: [[70841, 70832]],
        70846: [[70841, 70845]],
        70850: [, 9],
        70851: [, 7],
      },
      5376: {
        71096: [, , { 71087: 71098 }],
        71097: [, , { 71087: 71099 }],
        71098: [[71096, 71087]],
        71099: [[71097, 71087]],
        71103: [, 9],
        71104: [, 7],
      },
      5632: { 71231: [, 9], 71350: [, 9], 71351: [, 7] },
      5888: { 5908: [, 9], 5940: [, 9], 6098: [, 9], 6109: [, 230] },
      6144: { 6313: [, 228] },
      6400: { 6457: [, 222], 6458: [, 230], 6459: [, 220] },
      6656: {
        6679: [, 230],
        6680: [, 220],
        6752: [, 9],
        6773: [, 230],
        6774: [, 230],
        6775: [, 230],
        6776: [, 230],
        6777: [, 230],
        6778: [, 230],
        6779: [, 230],
        6780: [, 230],
        6783: [, 220],
        6832: [, 230],
        6833: [, 230],
        6834: [, 230],
        6835: [, 230],
        6836: [, 230],
        6837: [, 220],
        6838: [, 220],
        6839: [, 220],
        6840: [, 220],
        6841: [, 220],
        6842: [, 220],
        6843: [, 230],
        6844: [, 230],
        6845: [, 220],
      },
      6912: {
        6917: [, , { 6965: 6918 }],
        6918: [[6917, 6965]],
        6919: [, , { 6965: 6920 }],
        6920: [[6919, 6965]],
        6921: [, , { 6965: 6922 }],
        6922: [[6921, 6965]],
        6923: [, , { 6965: 6924 }],
        6924: [[6923, 6965]],
        6925: [, , { 6965: 6926 }],
        6926: [[6925, 6965]],
        6929: [, , { 6965: 6930 }],
        6930: [[6929, 6965]],
        6964: [, 7],
        6970: [, , { 6965: 6971 }],
        6971: [[6970, 6965]],
        6972: [, , { 6965: 6973 }],
        6973: [[6972, 6965]],
        6974: [, , { 6965: 6976 }],
        6975: [, , { 6965: 6977 }],
        6976: [[6974, 6965]],
        6977: [[6975, 6965]],
        6978: [, , { 6965: 6979 }],
        6979: [[6978, 6965]],
        6980: [, 9],
        7019: [, 230],
        7020: [, 220],
        7021: [, 230],
        7022: [, 230],
        7023: [, 230],
        7024: [, 230],
        7025: [, 230],
        7026: [, 230],
        7027: [, 230],
        7082: [, 9],
        7083: [, 9],
        7142: [, 7],
        7154: [, 9],
        7155: [, 9],
      },
      7168: {
        7223: [, 7],
        7376: [, 230],
        7377: [, 230],
        7378: [, 230],
        7380: [, 1],
        7381: [, 220],
        7382: [, 220],
        7383: [, 220],
        7384: [, 220],
        7385: [, 220],
        7386: [, 230],
        7387: [, 230],
        7388: [, 220],
        7389: [, 220],
        7390: [, 220],
        7391: [, 220],
        7392: [, 230],
        7394: [, 1],
        7395: [, 1],
        7396: [, 1],
        7397: [, 1],
        7398: [, 1],
        7399: [, 1],
        7400: [, 1],
        7405: [, 220],
        7412: [, 230],
        7416: [, 230],
        7417: [, 230],
      },
      7424: {
        7468: [[65], 256],
        7469: [[198], 256],
        7470: [[66], 256],
        7472: [[68], 256],
        7473: [[69], 256],
        7474: [[398], 256],
        7475: [[71], 256],
        7476: [[72], 256],
        7477: [[73], 256],
        7478: [[74], 256],
        7479: [[75], 256],
        7480: [[76], 256],
        7481: [[77], 256],
        7482: [[78], 256],
        7484: [[79], 256],
        7485: [[546], 256],
        7486: [[80], 256],
        7487: [[82], 256],
        7488: [[84], 256],
        7489: [[85], 256],
        7490: [[87], 256],
        7491: [[97], 256],
        7492: [[592], 256],
        7493: [[593], 256],
        7494: [[7426], 256],
        7495: [[98], 256],
        7496: [[100], 256],
        7497: [[101], 256],
        7498: [[601], 256],
        7499: [[603], 256],
        7500: [[604], 256],
        7501: [[103], 256],
        7503: [[107], 256],
        7504: [[109], 256],
        7505: [[331], 256],
        7506: [[111], 256],
        7507: [[596], 256],
        7508: [[7446], 256],
        7509: [[7447], 256],
        7510: [[112], 256],
        7511: [[116], 256],
        7512: [[117], 256],
        7513: [[7453], 256],
        7514: [[623], 256],
        7515: [[118], 256],
        7516: [[7461], 256],
        7517: [[946], 256],
        7518: [[947], 256],
        7519: [[948], 256],
        7520: [[966], 256],
        7521: [[967], 256],
        7522: [[105], 256],
        7523: [[114], 256],
        7524: [[117], 256],
        7525: [[118], 256],
        7526: [[946], 256],
        7527: [[947], 256],
        7528: [[961], 256],
        7529: [[966], 256],
        7530: [[967], 256],
        7544: [[1085], 256],
        7579: [[594], 256],
        7580: [[99], 256],
        7581: [[597], 256],
        7582: [[240], 256],
        7583: [[604], 256],
        7584: [[102], 256],
        7585: [[607], 256],
        7586: [[609], 256],
        7587: [[613], 256],
        7588: [[616], 256],
        7589: [[617], 256],
        7590: [[618], 256],
        7591: [[7547], 256],
        7592: [[669], 256],
        7593: [[621], 256],
        7594: [[7557], 256],
        7595: [[671], 256],
        7596: [[625], 256],
        7597: [[624], 256],
        7598: [[626], 256],
        7599: [[627], 256],
        7600: [[628], 256],
        7601: [[629], 256],
        7602: [[632], 256],
        7603: [[642], 256],
        7604: [[643], 256],
        7605: [[427], 256],
        7606: [[649], 256],
        7607: [[650], 256],
        7608: [[7452], 256],
        7609: [[651], 256],
        7610: [[652], 256],
        7611: [[122], 256],
        7612: [[656], 256],
        7613: [[657], 256],
        7614: [[658], 256],
        7615: [[952], 256],
        7616: [, 230],
        7617: [, 230],
        7618: [, 220],
        7619: [, 230],
        7620: [, 230],
        7621: [, 230],
        7622: [, 230],
        7623: [, 230],
        7624: [, 230],
        7625: [, 230],
        7626: [, 220],
        7627: [, 230],
        7628: [, 230],
        7629: [, 234],
        7630: [, 214],
        7631: [, 220],
        7632: [, 202],
        7633: [, 230],
        7634: [, 230],
        7635: [, 230],
        7636: [, 230],
        7637: [, 230],
        7638: [, 230],
        7639: [, 230],
        7640: [, 230],
        7641: [, 230],
        7642: [, 230],
        7643: [, 230],
        7644: [, 230],
        7645: [, 230],
        7646: [, 230],
        7647: [, 230],
        7648: [, 230],
        7649: [, 230],
        7650: [, 230],
        7651: [, 230],
        7652: [, 230],
        7653: [, 230],
        7654: [, 230],
        7655: [, 230],
        7656: [, 230],
        7657: [, 230],
        7658: [, 230],
        7659: [, 230],
        7660: [, 230],
        7661: [, 230],
        7662: [, 230],
        7663: [, 230],
        7664: [, 230],
        7665: [, 230],
        7666: [, 230],
        7667: [, 230],
        7668: [, 230],
        7669: [, 230],
        7676: [, 233],
        7677: [, 220],
        7678: [, 230],
        7679: [, 220],
      },
      7680: {
        7680: [[65, 805]],
        7681: [[97, 805]],
        7682: [[66, 775]],
        7683: [[98, 775]],
        7684: [[66, 803]],
        7685: [[98, 803]],
        7686: [[66, 817]],
        7687: [[98, 817]],
        7688: [[199, 769]],
        7689: [[231, 769]],
        7690: [[68, 775]],
        7691: [[100, 775]],
        7692: [[68, 803]],
        7693: [[100, 803]],
        7694: [[68, 817]],
        7695: [[100, 817]],
        7696: [[68, 807]],
        7697: [[100, 807]],
        7698: [[68, 813]],
        7699: [[100, 813]],
        7700: [[274, 768]],
        7701: [[275, 768]],
        7702: [[274, 769]],
        7703: [[275, 769]],
        7704: [[69, 813]],
        7705: [[101, 813]],
        7706: [[69, 816]],
        7707: [[101, 816]],
        7708: [[552, 774]],
        7709: [[553, 774]],
        7710: [[70, 775]],
        7711: [[102, 775]],
        7712: [[71, 772]],
        7713: [[103, 772]],
        7714: [[72, 775]],
        7715: [[104, 775]],
        7716: [[72, 803]],
        7717: [[104, 803]],
        7718: [[72, 776]],
        7719: [[104, 776]],
        7720: [[72, 807]],
        7721: [[104, 807]],
        7722: [[72, 814]],
        7723: [[104, 814]],
        7724: [[73, 816]],
        7725: [[105, 816]],
        7726: [[207, 769]],
        7727: [[239, 769]],
        7728: [[75, 769]],
        7729: [[107, 769]],
        7730: [[75, 803]],
        7731: [[107, 803]],
        7732: [[75, 817]],
        7733: [[107, 817]],
        7734: [[76, 803], , { 772: 7736 }],
        7735: [[108, 803], , { 772: 7737 }],
        7736: [[7734, 772]],
        7737: [[7735, 772]],
        7738: [[76, 817]],
        7739: [[108, 817]],
        7740: [[76, 813]],
        7741: [[108, 813]],
        7742: [[77, 769]],
        7743: [[109, 769]],
        7744: [[77, 775]],
        7745: [[109, 775]],
        7746: [[77, 803]],
        7747: [[109, 803]],
        7748: [[78, 775]],
        7749: [[110, 775]],
        7750: [[78, 803]],
        7751: [[110, 803]],
        7752: [[78, 817]],
        7753: [[110, 817]],
        7754: [[78, 813]],
        7755: [[110, 813]],
        7756: [[213, 769]],
        7757: [[245, 769]],
        7758: [[213, 776]],
        7759: [[245, 776]],
        7760: [[332, 768]],
        7761: [[333, 768]],
        7762: [[332, 769]],
        7763: [[333, 769]],
        7764: [[80, 769]],
        7765: [[112, 769]],
        7766: [[80, 775]],
        7767: [[112, 775]],
        7768: [[82, 775]],
        7769: [[114, 775]],
        7770: [[82, 803], , { 772: 7772 }],
        7771: [[114, 803], , { 772: 7773 }],
        7772: [[7770, 772]],
        7773: [[7771, 772]],
        7774: [[82, 817]],
        7775: [[114, 817]],
        7776: [[83, 775]],
        7777: [[115, 775]],
        7778: [[83, 803], , { 775: 7784 }],
        7779: [[115, 803], , { 775: 7785 }],
        7780: [[346, 775]],
        7781: [[347, 775]],
        7782: [[352, 775]],
        7783: [[353, 775]],
        7784: [[7778, 775]],
        7785: [[7779, 775]],
        7786: [[84, 775]],
        7787: [[116, 775]],
        7788: [[84, 803]],
        7789: [[116, 803]],
        7790: [[84, 817]],
        7791: [[116, 817]],
        7792: [[84, 813]],
        7793: [[116, 813]],
        7794: [[85, 804]],
        7795: [[117, 804]],
        7796: [[85, 816]],
        7797: [[117, 816]],
        7798: [[85, 813]],
        7799: [[117, 813]],
        7800: [[360, 769]],
        7801: [[361, 769]],
        7802: [[362, 776]],
        7803: [[363, 776]],
        7804: [[86, 771]],
        7805: [[118, 771]],
        7806: [[86, 803]],
        7807: [[118, 803]],
        7808: [[87, 768]],
        7809: [[119, 768]],
        7810: [[87, 769]],
        7811: [[119, 769]],
        7812: [[87, 776]],
        7813: [[119, 776]],
        7814: [[87, 775]],
        7815: [[119, 775]],
        7816: [[87, 803]],
        7817: [[119, 803]],
        7818: [[88, 775]],
        7819: [[120, 775]],
        7820: [[88, 776]],
        7821: [[120, 776]],
        7822: [[89, 775]],
        7823: [[121, 775]],
        7824: [[90, 770]],
        7825: [[122, 770]],
        7826: [[90, 803]],
        7827: [[122, 803]],
        7828: [[90, 817]],
        7829: [[122, 817]],
        7830: [[104, 817]],
        7831: [[116, 776]],
        7832: [[119, 778]],
        7833: [[121, 778]],
        7834: [[97, 702], 256],
        7835: [[383, 775]],
        7840: [[65, 803], , { 770: 7852, 774: 7862 }],
        7841: [[97, 803], , { 770: 7853, 774: 7863 }],
        7842: [[65, 777]],
        7843: [[97, 777]],
        7844: [[194, 769]],
        7845: [[226, 769]],
        7846: [[194, 768]],
        7847: [[226, 768]],
        7848: [[194, 777]],
        7849: [[226, 777]],
        7850: [[194, 771]],
        7851: [[226, 771]],
        7852: [[7840, 770]],
        7853: [[7841, 770]],
        7854: [[258, 769]],
        7855: [[259, 769]],
        7856: [[258, 768]],
        7857: [[259, 768]],
        7858: [[258, 777]],
        7859: [[259, 777]],
        7860: [[258, 771]],
        7861: [[259, 771]],
        7862: [[7840, 774]],
        7863: [[7841, 774]],
        7864: [[69, 803], , { 770: 7878 }],
        7865: [[101, 803], , { 770: 7879 }],
        7866: [[69, 777]],
        7867: [[101, 777]],
        7868: [[69, 771]],
        7869: [[101, 771]],
        7870: [[202, 769]],
        7871: [[234, 769]],
        7872: [[202, 768]],
        7873: [[234, 768]],
        7874: [[202, 777]],
        7875: [[234, 777]],
        7876: [[202, 771]],
        7877: [[234, 771]],
        7878: [[7864, 770]],
        7879: [[7865, 770]],
        7880: [[73, 777]],
        7881: [[105, 777]],
        7882: [[73, 803]],
        7883: [[105, 803]],
        7884: [[79, 803], , { 770: 7896 }],
        7885: [[111, 803], , { 770: 7897 }],
        7886: [[79, 777]],
        7887: [[111, 777]],
        7888: [[212, 769]],
        7889: [[244, 769]],
        7890: [[212, 768]],
        7891: [[244, 768]],
        7892: [[212, 777]],
        7893: [[244, 777]],
        7894: [[212, 771]],
        7895: [[244, 771]],
        7896: [[7884, 770]],
        7897: [[7885, 770]],
        7898: [[416, 769]],
        7899: [[417, 769]],
        7900: [[416, 768]],
        7901: [[417, 768]],
        7902: [[416, 777]],
        7903: [[417, 777]],
        7904: [[416, 771]],
        7905: [[417, 771]],
        7906: [[416, 803]],
        7907: [[417, 803]],
        7908: [[85, 803]],
        7909: [[117, 803]],
        7910: [[85, 777]],
        7911: [[117, 777]],
        7912: [[431, 769]],
        7913: [[432, 769]],
        7914: [[431, 768]],
        7915: [[432, 768]],
        7916: [[431, 777]],
        7917: [[432, 777]],
        7918: [[431, 771]],
        7919: [[432, 771]],
        7920: [[431, 803]],
        7921: [[432, 803]],
        7922: [[89, 768]],
        7923: [[121, 768]],
        7924: [[89, 803]],
        7925: [[121, 803]],
        7926: [[89, 777]],
        7927: [[121, 777]],
        7928: [[89, 771]],
        7929: [[121, 771]],
      },
      7936: {
        7936: [[945, 787], , { 768: 7938, 769: 7940, 834: 7942, 837: 8064 }],
        7937: [[945, 788], , { 768: 7939, 769: 7941, 834: 7943, 837: 8065 }],
        7938: [[7936, 768], , { 837: 8066 }],
        7939: [[7937, 768], , { 837: 8067 }],
        7940: [[7936, 769], , { 837: 8068 }],
        7941: [[7937, 769], , { 837: 8069 }],
        7942: [[7936, 834], , { 837: 8070 }],
        7943: [[7937, 834], , { 837: 8071 }],
        7944: [[913, 787], , { 768: 7946, 769: 7948, 834: 7950, 837: 8072 }],
        7945: [[913, 788], , { 768: 7947, 769: 7949, 834: 7951, 837: 8073 }],
        7946: [[7944, 768], , { 837: 8074 }],
        7947: [[7945, 768], , { 837: 8075 }],
        7948: [[7944, 769], , { 837: 8076 }],
        7949: [[7945, 769], , { 837: 8077 }],
        7950: [[7944, 834], , { 837: 8078 }],
        7951: [[7945, 834], , { 837: 8079 }],
        7952: [[949, 787], , { 768: 7954, 769: 7956 }],
        7953: [[949, 788], , { 768: 7955, 769: 7957 }],
        7954: [[7952, 768]],
        7955: [[7953, 768]],
        7956: [[7952, 769]],
        7957: [[7953, 769]],
        7960: [[917, 787], , { 768: 7962, 769: 7964 }],
        7961: [[917, 788], , { 768: 7963, 769: 7965 }],
        7962: [[7960, 768]],
        7963: [[7961, 768]],
        7964: [[7960, 769]],
        7965: [[7961, 769]],
        7968: [[951, 787], , { 768: 7970, 769: 7972, 834: 7974, 837: 8080 }],
        7969: [[951, 788], , { 768: 7971, 769: 7973, 834: 7975, 837: 8081 }],
        7970: [[7968, 768], , { 837: 8082 }],
        7971: [[7969, 768], , { 837: 8083 }],
        7972: [[7968, 769], , { 837: 8084 }],
        7973: [[7969, 769], , { 837: 8085 }],
        7974: [[7968, 834], , { 837: 8086 }],
        7975: [[7969, 834], , { 837: 8087 }],
        7976: [[919, 787], , { 768: 7978, 769: 7980, 834: 7982, 837: 8088 }],
        7977: [[919, 788], , { 768: 7979, 769: 7981, 834: 7983, 837: 8089 }],
        7978: [[7976, 768], , { 837: 8090 }],
        7979: [[7977, 768], , { 837: 8091 }],
        7980: [[7976, 769], , { 837: 8092 }],
        7981: [[7977, 769], , { 837: 8093 }],
        7982: [[7976, 834], , { 837: 8094 }],
        7983: [[7977, 834], , { 837: 8095 }],
        7984: [[953, 787], , { 768: 7986, 769: 7988, 834: 7990 }],
        7985: [[953, 788], , { 768: 7987, 769: 7989, 834: 7991 }],
        7986: [[7984, 768]],
        7987: [[7985, 768]],
        7988: [[7984, 769]],
        7989: [[7985, 769]],
        7990: [[7984, 834]],
        7991: [[7985, 834]],
        7992: [[921, 787], , { 768: 7994, 769: 7996, 834: 7998 }],
        7993: [[921, 788], , { 768: 7995, 769: 7997, 834: 7999 }],
        7994: [[7992, 768]],
        7995: [[7993, 768]],
        7996: [[7992, 769]],
        7997: [[7993, 769]],
        7998: [[7992, 834]],
        7999: [[7993, 834]],
        8e3: [[959, 787], , { 768: 8002, 769: 8004 }],
        8001: [[959, 788], , { 768: 8003, 769: 8005 }],
        8002: [[8e3, 768]],
        8003: [[8001, 768]],
        8004: [[8e3, 769]],
        8005: [[8001, 769]],
        8008: [[927, 787], , { 768: 8010, 769: 8012 }],
        8009: [[927, 788], , { 768: 8011, 769: 8013 }],
        8010: [[8008, 768]],
        8011: [[8009, 768]],
        8012: [[8008, 769]],
        8013: [[8009, 769]],
        8016: [[965, 787], , { 768: 8018, 769: 8020, 834: 8022 }],
        8017: [[965, 788], , { 768: 8019, 769: 8021, 834: 8023 }],
        8018: [[8016, 768]],
        8019: [[8017, 768]],
        8020: [[8016, 769]],
        8021: [[8017, 769]],
        8022: [[8016, 834]],
        8023: [[8017, 834]],
        8025: [[933, 788], , { 768: 8027, 769: 8029, 834: 8031 }],
        8027: [[8025, 768]],
        8029: [[8025, 769]],
        8031: [[8025, 834]],
        8032: [[969, 787], , { 768: 8034, 769: 8036, 834: 8038, 837: 8096 }],
        8033: [[969, 788], , { 768: 8035, 769: 8037, 834: 8039, 837: 8097 }],
        8034: [[8032, 768], , { 837: 8098 }],
        8035: [[8033, 768], , { 837: 8099 }],
        8036: [[8032, 769], , { 837: 8100 }],
        8037: [[8033, 769], , { 837: 8101 }],
        8038: [[8032, 834], , { 837: 8102 }],
        8039: [[8033, 834], , { 837: 8103 }],
        8040: [[937, 787], , { 768: 8042, 769: 8044, 834: 8046, 837: 8104 }],
        8041: [[937, 788], , { 768: 8043, 769: 8045, 834: 8047, 837: 8105 }],
        8042: [[8040, 768], , { 837: 8106 }],
        8043: [[8041, 768], , { 837: 8107 }],
        8044: [[8040, 769], , { 837: 8108 }],
        8045: [[8041, 769], , { 837: 8109 }],
        8046: [[8040, 834], , { 837: 8110 }],
        8047: [[8041, 834], , { 837: 8111 }],
        8048: [[945, 768], , { 837: 8114 }],
        8049: [[940]],
        8050: [[949, 768]],
        8051: [[941]],
        8052: [[951, 768], , { 837: 8130 }],
        8053: [[942]],
        8054: [[953, 768]],
        8055: [[943]],
        8056: [[959, 768]],
        8057: [[972]],
        8058: [[965, 768]],
        8059: [[973]],
        8060: [[969, 768], , { 837: 8178 }],
        8061: [[974]],
        8064: [[7936, 837]],
        8065: [[7937, 837]],
        8066: [[7938, 837]],
        8067: [[7939, 837]],
        8068: [[7940, 837]],
        8069: [[7941, 837]],
        8070: [[7942, 837]],
        8071: [[7943, 837]],
        8072: [[7944, 837]],
        8073: [[7945, 837]],
        8074: [[7946, 837]],
        8075: [[7947, 837]],
        8076: [[7948, 837]],
        8077: [[7949, 837]],
        8078: [[7950, 837]],
        8079: [[7951, 837]],
        8080: [[7968, 837]],
        8081: [[7969, 837]],
        8082: [[7970, 837]],
        8083: [[7971, 837]],
        8084: [[7972, 837]],
        8085: [[7973, 837]],
        8086: [[7974, 837]],
        8087: [[7975, 837]],
        8088: [[7976, 837]],
        8089: [[7977, 837]],
        8090: [[7978, 837]],
        8091: [[7979, 837]],
        8092: [[7980, 837]],
        8093: [[7981, 837]],
        8094: [[7982, 837]],
        8095: [[7983, 837]],
        8096: [[8032, 837]],
        8097: [[8033, 837]],
        8098: [[8034, 837]],
        8099: [[8035, 837]],
        8100: [[8036, 837]],
        8101: [[8037, 837]],
        8102: [[8038, 837]],
        8103: [[8039, 837]],
        8104: [[8040, 837]],
        8105: [[8041, 837]],
        8106: [[8042, 837]],
        8107: [[8043, 837]],
        8108: [[8044, 837]],
        8109: [[8045, 837]],
        8110: [[8046, 837]],
        8111: [[8047, 837]],
        8112: [[945, 774]],
        8113: [[945, 772]],
        8114: [[8048, 837]],
        8115: [[945, 837]],
        8116: [[940, 837]],
        8118: [[945, 834], , { 837: 8119 }],
        8119: [[8118, 837]],
        8120: [[913, 774]],
        8121: [[913, 772]],
        8122: [[913, 768]],
        8123: [[902]],
        8124: [[913, 837]],
        8125: [[32, 787], 256],
        8126: [[953]],
        8127: [[32, 787], 256, { 768: 8141, 769: 8142, 834: 8143 }],
        8128: [[32, 834], 256],
        8129: [[168, 834]],
        8130: [[8052, 837]],
        8131: [[951, 837]],
        8132: [[942, 837]],
        8134: [[951, 834], , { 837: 8135 }],
        8135: [[8134, 837]],
        8136: [[917, 768]],
        8137: [[904]],
        8138: [[919, 768]],
        8139: [[905]],
        8140: [[919, 837]],
        8141: [[8127, 768]],
        8142: [[8127, 769]],
        8143: [[8127, 834]],
        8144: [[953, 774]],
        8145: [[953, 772]],
        8146: [[970, 768]],
        8147: [[912]],
        8150: [[953, 834]],
        8151: [[970, 834]],
        8152: [[921, 774]],
        8153: [[921, 772]],
        8154: [[921, 768]],
        8155: [[906]],
        8157: [[8190, 768]],
        8158: [[8190, 769]],
        8159: [[8190, 834]],
        8160: [[965, 774]],
        8161: [[965, 772]],
        8162: [[971, 768]],
        8163: [[944]],
        8164: [[961, 787]],
        8165: [[961, 788]],
        8166: [[965, 834]],
        8167: [[971, 834]],
        8168: [[933, 774]],
        8169: [[933, 772]],
        8170: [[933, 768]],
        8171: [[910]],
        8172: [[929, 788]],
        8173: [[168, 768]],
        8174: [[901]],
        8175: [[96]],
        8178: [[8060, 837]],
        8179: [[969, 837]],
        8180: [[974, 837]],
        8182: [[969, 834], , { 837: 8183 }],
        8183: [[8182, 837]],
        8184: [[927, 768]],
        8185: [[908]],
        8186: [[937, 768]],
        8187: [[911]],
        8188: [[937, 837]],
        8189: [[180]],
        8190: [[32, 788], 256, { 768: 8157, 769: 8158, 834: 8159 }],
      },
      8192: {
        8192: [[8194]],
        8193: [[8195]],
        8194: [[32], 256],
        8195: [[32], 256],
        8196: [[32], 256],
        8197: [[32], 256],
        8198: [[32], 256],
        8199: [[32], 256],
        8200: [[32], 256],
        8201: [[32], 256],
        8202: [[32], 256],
        8209: [[8208], 256],
        8215: [[32, 819], 256],
        8228: [[46], 256],
        8229: [[46, 46], 256],
        8230: [[46, 46, 46], 256],
        8239: [[32], 256],
        8243: [[8242, 8242], 256],
        8244: [[8242, 8242, 8242], 256],
        8246: [[8245, 8245], 256],
        8247: [[8245, 8245, 8245], 256],
        8252: [[33, 33], 256],
        8254: [[32, 773], 256],
        8263: [[63, 63], 256],
        8264: [[63, 33], 256],
        8265: [[33, 63], 256],
        8279: [[8242, 8242, 8242, 8242], 256],
        8287: [[32], 256],
        8304: [[48], 256],
        8305: [[105], 256],
        8308: [[52], 256],
        8309: [[53], 256],
        8310: [[54], 256],
        8311: [[55], 256],
        8312: [[56], 256],
        8313: [[57], 256],
        8314: [[43], 256],
        8315: [[8722], 256],
        8316: [[61], 256],
        8317: [[40], 256],
        8318: [[41], 256],
        8319: [[110], 256],
        8320: [[48], 256],
        8321: [[49], 256],
        8322: [[50], 256],
        8323: [[51], 256],
        8324: [[52], 256],
        8325: [[53], 256],
        8326: [[54], 256],
        8327: [[55], 256],
        8328: [[56], 256],
        8329: [[57], 256],
        8330: [[43], 256],
        8331: [[8722], 256],
        8332: [[61], 256],
        8333: [[40], 256],
        8334: [[41], 256],
        8336: [[97], 256],
        8337: [[101], 256],
        8338: [[111], 256],
        8339: [[120], 256],
        8340: [[601], 256],
        8341: [[104], 256],
        8342: [[107], 256],
        8343: [[108], 256],
        8344: [[109], 256],
        8345: [[110], 256],
        8346: [[112], 256],
        8347: [[115], 256],
        8348: [[116], 256],
        8360: [[82, 115], 256],
        8400: [, 230],
        8401: [, 230],
        8402: [, 1],
        8403: [, 1],
        8404: [, 230],
        8405: [, 230],
        8406: [, 230],
        8407: [, 230],
        8408: [, 1],
        8409: [, 1],
        8410: [, 1],
        8411: [, 230],
        8412: [, 230],
        8417: [, 230],
        8421: [, 1],
        8422: [, 1],
        8423: [, 230],
        8424: [, 220],
        8425: [, 230],
        8426: [, 1],
        8427: [, 1],
        8428: [, 220],
        8429: [, 220],
        8430: [, 220],
        8431: [, 220],
        8432: [, 230],
      },
      8448: {
        8448: [[97, 47, 99], 256],
        8449: [[97, 47, 115], 256],
        8450: [[67], 256],
        8451: [[176, 67], 256],
        8453: [[99, 47, 111], 256],
        8454: [[99, 47, 117], 256],
        8455: [[400], 256],
        8457: [[176, 70], 256],
        8458: [[103], 256],
        8459: [[72], 256],
        8460: [[72], 256],
        8461: [[72], 256],
        8462: [[104], 256],
        8463: [[295], 256],
        8464: [[73], 256],
        8465: [[73], 256],
        8466: [[76], 256],
        8467: [[108], 256],
        8469: [[78], 256],
        8470: [[78, 111], 256],
        8473: [[80], 256],
        8474: [[81], 256],
        8475: [[82], 256],
        8476: [[82], 256],
        8477: [[82], 256],
        8480: [[83, 77], 256],
        8481: [[84, 69, 76], 256],
        8482: [[84, 77], 256],
        8484: [[90], 256],
        8486: [[937]],
        8488: [[90], 256],
        8490: [[75]],
        8491: [[197]],
        8492: [[66], 256],
        8493: [[67], 256],
        8495: [[101], 256],
        8496: [[69], 256],
        8497: [[70], 256],
        8499: [[77], 256],
        8500: [[111], 256],
        8501: [[1488], 256],
        8502: [[1489], 256],
        8503: [[1490], 256],
        8504: [[1491], 256],
        8505: [[105], 256],
        8507: [[70, 65, 88], 256],
        8508: [[960], 256],
        8509: [[947], 256],
        8510: [[915], 256],
        8511: [[928], 256],
        8512: [[8721], 256],
        8517: [[68], 256],
        8518: [[100], 256],
        8519: [[101], 256],
        8520: [[105], 256],
        8521: [[106], 256],
        8528: [[49, 8260, 55], 256],
        8529: [[49, 8260, 57], 256],
        8530: [[49, 8260, 49, 48], 256],
        8531: [[49, 8260, 51], 256],
        8532: [[50, 8260, 51], 256],
        8533: [[49, 8260, 53], 256],
        8534: [[50, 8260, 53], 256],
        8535: [[51, 8260, 53], 256],
        8536: [[52, 8260, 53], 256],
        8537: [[49, 8260, 54], 256],
        8538: [[53, 8260, 54], 256],
        8539: [[49, 8260, 56], 256],
        8540: [[51, 8260, 56], 256],
        8541: [[53, 8260, 56], 256],
        8542: [[55, 8260, 56], 256],
        8543: [[49, 8260], 256],
        8544: [[73], 256],
        8545: [[73, 73], 256],
        8546: [[73, 73, 73], 256],
        8547: [[73, 86], 256],
        8548: [[86], 256],
        8549: [[86, 73], 256],
        8550: [[86, 73, 73], 256],
        8551: [[86, 73, 73, 73], 256],
        8552: [[73, 88], 256],
        8553: [[88], 256],
        8554: [[88, 73], 256],
        8555: [[88, 73, 73], 256],
        8556: [[76], 256],
        8557: [[67], 256],
        8558: [[68], 256],
        8559: [[77], 256],
        8560: [[105], 256],
        8561: [[105, 105], 256],
        8562: [[105, 105, 105], 256],
        8563: [[105, 118], 256],
        8564: [[118], 256],
        8565: [[118, 105], 256],
        8566: [[118, 105, 105], 256],
        8567: [[118, 105, 105, 105], 256],
        8568: [[105, 120], 256],
        8569: [[120], 256],
        8570: [[120, 105], 256],
        8571: [[120, 105, 105], 256],
        8572: [[108], 256],
        8573: [[99], 256],
        8574: [[100], 256],
        8575: [[109], 256],
        8585: [[48, 8260, 51], 256],
        8592: [, , { 824: 8602 }],
        8594: [, , { 824: 8603 }],
        8596: [, , { 824: 8622 }],
        8602: [[8592, 824]],
        8603: [[8594, 824]],
        8622: [[8596, 824]],
        8653: [[8656, 824]],
        8654: [[8660, 824]],
        8655: [[8658, 824]],
        8656: [, , { 824: 8653 }],
        8658: [, , { 824: 8655 }],
        8660: [, , { 824: 8654 }],
      },
      8704: {
        8707: [, , { 824: 8708 }],
        8708: [[8707, 824]],
        8712: [, , { 824: 8713 }],
        8713: [[8712, 824]],
        8715: [, , { 824: 8716 }],
        8716: [[8715, 824]],
        8739: [, , { 824: 8740 }],
        8740: [[8739, 824]],
        8741: [, , { 824: 8742 }],
        8742: [[8741, 824]],
        8748: [[8747, 8747], 256],
        8749: [[8747, 8747, 8747], 256],
        8751: [[8750, 8750], 256],
        8752: [[8750, 8750, 8750], 256],
        8764: [, , { 824: 8769 }],
        8769: [[8764, 824]],
        8771: [, , { 824: 8772 }],
        8772: [[8771, 824]],
        8773: [, , { 824: 8775 }],
        8775: [[8773, 824]],
        8776: [, , { 824: 8777 }],
        8777: [[8776, 824]],
        8781: [, , { 824: 8813 }],
        8800: [[61, 824]],
        8801: [, , { 824: 8802 }],
        8802: [[8801, 824]],
        8804: [, , { 824: 8816 }],
        8805: [, , { 824: 8817 }],
        8813: [[8781, 824]],
        8814: [[60, 824]],
        8815: [[62, 824]],
        8816: [[8804, 824]],
        8817: [[8805, 824]],
        8818: [, , { 824: 8820 }],
        8819: [, , { 824: 8821 }],
        8820: [[8818, 824]],
        8821: [[8819, 824]],
        8822: [, , { 824: 8824 }],
        8823: [, , { 824: 8825 }],
        8824: [[8822, 824]],
        8825: [[8823, 824]],
        8826: [, , { 824: 8832 }],
        8827: [, , { 824: 8833 }],
        8828: [, , { 824: 8928 }],
        8829: [, , { 824: 8929 }],
        8832: [[8826, 824]],
        8833: [[8827, 824]],
        8834: [, , { 824: 8836 }],
        8835: [, , { 824: 8837 }],
        8836: [[8834, 824]],
        8837: [[8835, 824]],
        8838: [, , { 824: 8840 }],
        8839: [, , { 824: 8841 }],
        8840: [[8838, 824]],
        8841: [[8839, 824]],
        8849: [, , { 824: 8930 }],
        8850: [, , { 824: 8931 }],
        8866: [, , { 824: 8876 }],
        8872: [, , { 824: 8877 }],
        8873: [, , { 824: 8878 }],
        8875: [, , { 824: 8879 }],
        8876: [[8866, 824]],
        8877: [[8872, 824]],
        8878: [[8873, 824]],
        8879: [[8875, 824]],
        8882: [, , { 824: 8938 }],
        8883: [, , { 824: 8939 }],
        8884: [, , { 824: 8940 }],
        8885: [, , { 824: 8941 }],
        8928: [[8828, 824]],
        8929: [[8829, 824]],
        8930: [[8849, 824]],
        8931: [[8850, 824]],
        8938: [[8882, 824]],
        8939: [[8883, 824]],
        8940: [[8884, 824]],
        8941: [[8885, 824]],
      },
      8960: { 9001: [[12296]], 9002: [[12297]] },
      9216: {
        9312: [[49], 256],
        9313: [[50], 256],
        9314: [[51], 256],
        9315: [[52], 256],
        9316: [[53], 256],
        9317: [[54], 256],
        9318: [[55], 256],
        9319: [[56], 256],
        9320: [[57], 256],
        9321: [[49, 48], 256],
        9322: [[49, 49], 256],
        9323: [[49, 50], 256],
        9324: [[49, 51], 256],
        9325: [[49, 52], 256],
        9326: [[49, 53], 256],
        9327: [[49, 54], 256],
        9328: [[49, 55], 256],
        9329: [[49, 56], 256],
        9330: [[49, 57], 256],
        9331: [[50, 48], 256],
        9332: [[40, 49, 41], 256],
        9333: [[40, 50, 41], 256],
        9334: [[40, 51, 41], 256],
        9335: [[40, 52, 41], 256],
        9336: [[40, 53, 41], 256],
        9337: [[40, 54, 41], 256],
        9338: [[40, 55, 41], 256],
        9339: [[40, 56, 41], 256],
        9340: [[40, 57, 41], 256],
        9341: [[40, 49, 48, 41], 256],
        9342: [[40, 49, 49, 41], 256],
        9343: [[40, 49, 50, 41], 256],
        9344: [[40, 49, 51, 41], 256],
        9345: [[40, 49, 52, 41], 256],
        9346: [[40, 49, 53, 41], 256],
        9347: [[40, 49, 54, 41], 256],
        9348: [[40, 49, 55, 41], 256],
        9349: [[40, 49, 56, 41], 256],
        9350: [[40, 49, 57, 41], 256],
        9351: [[40, 50, 48, 41], 256],
        9352: [[49, 46], 256],
        9353: [[50, 46], 256],
        9354: [[51, 46], 256],
        9355: [[52, 46], 256],
        9356: [[53, 46], 256],
        9357: [[54, 46], 256],
        9358: [[55, 46], 256],
        9359: [[56, 46], 256],
        9360: [[57, 46], 256],
        9361: [[49, 48, 46], 256],
        9362: [[49, 49, 46], 256],
        9363: [[49, 50, 46], 256],
        9364: [[49, 51, 46], 256],
        9365: [[49, 52, 46], 256],
        9366: [[49, 53, 46], 256],
        9367: [[49, 54, 46], 256],
        9368: [[49, 55, 46], 256],
        9369: [[49, 56, 46], 256],
        9370: [[49, 57, 46], 256],
        9371: [[50, 48, 46], 256],
        9372: [[40, 97, 41], 256],
        9373: [[40, 98, 41], 256],
        9374: [[40, 99, 41], 256],
        9375: [[40, 100, 41], 256],
        9376: [[40, 101, 41], 256],
        9377: [[40, 102, 41], 256],
        9378: [[40, 103, 41], 256],
        9379: [[40, 104, 41], 256],
        9380: [[40, 105, 41], 256],
        9381: [[40, 106, 41], 256],
        9382: [[40, 107, 41], 256],
        9383: [[40, 108, 41], 256],
        9384: [[40, 109, 41], 256],
        9385: [[40, 110, 41], 256],
        9386: [[40, 111, 41], 256],
        9387: [[40, 112, 41], 256],
        9388: [[40, 113, 41], 256],
        9389: [[40, 114, 41], 256],
        9390: [[40, 115, 41], 256],
        9391: [[40, 116, 41], 256],
        9392: [[40, 117, 41], 256],
        9393: [[40, 118, 41], 256],
        9394: [[40, 119, 41], 256],
        9395: [[40, 120, 41], 256],
        9396: [[40, 121, 41], 256],
        9397: [[40, 122, 41], 256],
        9398: [[65], 256],
        9399: [[66], 256],
        9400: [[67], 256],
        9401: [[68], 256],
        9402: [[69], 256],
        9403: [[70], 256],
        9404: [[71], 256],
        9405: [[72], 256],
        9406: [[73], 256],
        9407: [[74], 256],
        9408: [[75], 256],
        9409: [[76], 256],
        9410: [[77], 256],
        9411: [[78], 256],
        9412: [[79], 256],
        9413: [[80], 256],
        9414: [[81], 256],
        9415: [[82], 256],
        9416: [[83], 256],
        9417: [[84], 256],
        9418: [[85], 256],
        9419: [[86], 256],
        9420: [[87], 256],
        9421: [[88], 256],
        9422: [[89], 256],
        9423: [[90], 256],
        9424: [[97], 256],
        9425: [[98], 256],
        9426: [[99], 256],
        9427: [[100], 256],
        9428: [[101], 256],
        9429: [[102], 256],
        9430: [[103], 256],
        9431: [[104], 256],
        9432: [[105], 256],
        9433: [[106], 256],
        9434: [[107], 256],
        9435: [[108], 256],
        9436: [[109], 256],
        9437: [[110], 256],
        9438: [[111], 256],
        9439: [[112], 256],
        9440: [[113], 256],
        9441: [[114], 256],
        9442: [[115], 256],
        9443: [[116], 256],
        9444: [[117], 256],
        9445: [[118], 256],
        9446: [[119], 256],
        9447: [[120], 256],
        9448: [[121], 256],
        9449: [[122], 256],
        9450: [[48], 256],
      },
      10752: {
        10764: [[8747, 8747, 8747, 8747], 256],
        10868: [[58, 58, 61], 256],
        10869: [[61, 61], 256],
        10870: [[61, 61, 61], 256],
        10972: [[10973, 824], 512],
      },
      11264: {
        11388: [[106], 256],
        11389: [[86], 256],
        11503: [, 230],
        11504: [, 230],
        11505: [, 230],
      },
      11520: {
        11631: [[11617], 256],
        11647: [, 9],
        11744: [, 230],
        11745: [, 230],
        11746: [, 230],
        11747: [, 230],
        11748: [, 230],
        11749: [, 230],
        11750: [, 230],
        11751: [, 230],
        11752: [, 230],
        11753: [, 230],
        11754: [, 230],
        11755: [, 230],
        11756: [, 230],
        11757: [, 230],
        11758: [, 230],
        11759: [, 230],
        11760: [, 230],
        11761: [, 230],
        11762: [, 230],
        11763: [, 230],
        11764: [, 230],
        11765: [, 230],
        11766: [, 230],
        11767: [, 230],
        11768: [, 230],
        11769: [, 230],
        11770: [, 230],
        11771: [, 230],
        11772: [, 230],
        11773: [, 230],
        11774: [, 230],
        11775: [, 230],
      },
      11776: { 11935: [[27597], 256], 12019: [[40863], 256] },
      12032: {
        12032: [[19968], 256],
        12033: [[20008], 256],
        12034: [[20022], 256],
        12035: [[20031], 256],
        12036: [[20057], 256],
        12037: [[20101], 256],
        12038: [[20108], 256],
        12039: [[20128], 256],
        12040: [[20154], 256],
        12041: [[20799], 256],
        12042: [[20837], 256],
        12043: [[20843], 256],
        12044: [[20866], 256],
        12045: [[20886], 256],
        12046: [[20907], 256],
        12047: [[20960], 256],
        12048: [[20981], 256],
        12049: [[20992], 256],
        12050: [[21147], 256],
        12051: [[21241], 256],
        12052: [[21269], 256],
        12053: [[21274], 256],
        12054: [[21304], 256],
        12055: [[21313], 256],
        12056: [[21340], 256],
        12057: [[21353], 256],
        12058: [[21378], 256],
        12059: [[21430], 256],
        12060: [[21448], 256],
        12061: [[21475], 256],
        12062: [[22231], 256],
        12063: [[22303], 256],
        12064: [[22763], 256],
        12065: [[22786], 256],
        12066: [[22794], 256],
        12067: [[22805], 256],
        12068: [[22823], 256],
        12069: [[22899], 256],
        12070: [[23376], 256],
        12071: [[23424], 256],
        12072: [[23544], 256],
        12073: [[23567], 256],
        12074: [[23586], 256],
        12075: [[23608], 256],
        12076: [[23662], 256],
        12077: [[23665], 256],
        12078: [[24027], 256],
        12079: [[24037], 256],
        12080: [[24049], 256],
        12081: [[24062], 256],
        12082: [[24178], 256],
        12083: [[24186], 256],
        12084: [[24191], 256],
        12085: [[24308], 256],
        12086: [[24318], 256],
        12087: [[24331], 256],
        12088: [[24339], 256],
        12089: [[24400], 256],
        12090: [[24417], 256],
        12091: [[24435], 256],
        12092: [[24515], 256],
        12093: [[25096], 256],
        12094: [[25142], 256],
        12095: [[25163], 256],
        12096: [[25903], 256],
        12097: [[25908], 256],
        12098: [[25991], 256],
        12099: [[26007], 256],
        12100: [[26020], 256],
        12101: [[26041], 256],
        12102: [[26080], 256],
        12103: [[26085], 256],
        12104: [[26352], 256],
        12105: [[26376], 256],
        12106: [[26408], 256],
        12107: [[27424], 256],
        12108: [[27490], 256],
        12109: [[27513], 256],
        12110: [[27571], 256],
        12111: [[27595], 256],
        12112: [[27604], 256],
        12113: [[27611], 256],
        12114: [[27663], 256],
        12115: [[27668], 256],
        12116: [[27700], 256],
        12117: [[28779], 256],
        12118: [[29226], 256],
        12119: [[29238], 256],
        12120: [[29243], 256],
        12121: [[29247], 256],
        12122: [[29255], 256],
        12123: [[29273], 256],
        12124: [[29275], 256],
        12125: [[29356], 256],
        12126: [[29572], 256],
        12127: [[29577], 256],
        12128: [[29916], 256],
        12129: [[29926], 256],
        12130: [[29976], 256],
        12131: [[29983], 256],
        12132: [[29992], 256],
        12133: [[3e4], 256],
        12134: [[30091], 256],
        12135: [[30098], 256],
        12136: [[30326], 256],
        12137: [[30333], 256],
        12138: [[30382], 256],
        12139: [[30399], 256],
        12140: [[30446], 256],
        12141: [[30683], 256],
        12142: [[30690], 256],
        12143: [[30707], 256],
        12144: [[31034], 256],
        12145: [[31160], 256],
        12146: [[31166], 256],
        12147: [[31348], 256],
        12148: [[31435], 256],
        12149: [[31481], 256],
        12150: [[31859], 256],
        12151: [[31992], 256],
        12152: [[32566], 256],
        12153: [[32593], 256],
        12154: [[32650], 256],
        12155: [[32701], 256],
        12156: [[32769], 256],
        12157: [[32780], 256],
        12158: [[32786], 256],
        12159: [[32819], 256],
        12160: [[32895], 256],
        12161: [[32905], 256],
        12162: [[33251], 256],
        12163: [[33258], 256],
        12164: [[33267], 256],
        12165: [[33276], 256],
        12166: [[33292], 256],
        12167: [[33307], 256],
        12168: [[33311], 256],
        12169: [[33390], 256],
        12170: [[33394], 256],
        12171: [[33400], 256],
        12172: [[34381], 256],
        12173: [[34411], 256],
        12174: [[34880], 256],
        12175: [[34892], 256],
        12176: [[34915], 256],
        12177: [[35198], 256],
        12178: [[35211], 256],
        12179: [[35282], 256],
        12180: [[35328], 256],
        12181: [[35895], 256],
        12182: [[35910], 256],
        12183: [[35925], 256],
        12184: [[35960], 256],
        12185: [[35997], 256],
        12186: [[36196], 256],
        12187: [[36208], 256],
        12188: [[36275], 256],
        12189: [[36523], 256],
        12190: [[36554], 256],
        12191: [[36763], 256],
        12192: [[36784], 256],
        12193: [[36789], 256],
        12194: [[37009], 256],
        12195: [[37193], 256],
        12196: [[37318], 256],
        12197: [[37324], 256],
        12198: [[37329], 256],
        12199: [[38263], 256],
        12200: [[38272], 256],
        12201: [[38428], 256],
        12202: [[38582], 256],
        12203: [[38585], 256],
        12204: [[38632], 256],
        12205: [[38737], 256],
        12206: [[38750], 256],
        12207: [[38754], 256],
        12208: [[38761], 256],
        12209: [[38859], 256],
        12210: [[38893], 256],
        12211: [[38899], 256],
        12212: [[38913], 256],
        12213: [[39080], 256],
        12214: [[39131], 256],
        12215: [[39135], 256],
        12216: [[39318], 256],
        12217: [[39321], 256],
        12218: [[39340], 256],
        12219: [[39592], 256],
        12220: [[39640], 256],
        12221: [[39647], 256],
        12222: [[39717], 256],
        12223: [[39727], 256],
        12224: [[39730], 256],
        12225: [[39740], 256],
        12226: [[39770], 256],
        12227: [[40165], 256],
        12228: [[40565], 256],
        12229: [[40575], 256],
        12230: [[40613], 256],
        12231: [[40635], 256],
        12232: [[40643], 256],
        12233: [[40653], 256],
        12234: [[40657], 256],
        12235: [[40697], 256],
        12236: [[40701], 256],
        12237: [[40718], 256],
        12238: [[40723], 256],
        12239: [[40736], 256],
        12240: [[40763], 256],
        12241: [[40778], 256],
        12242: [[40786], 256],
        12243: [[40845], 256],
        12244: [[40860], 256],
        12245: [[40864], 256],
      },
      12288: {
        12288: [[32], 256],
        12330: [, 218],
        12331: [, 228],
        12332: [, 232],
        12333: [, 222],
        12334: [, 224],
        12335: [, 224],
        12342: [[12306], 256],
        12344: [[21313], 256],
        12345: [[21316], 256],
        12346: [[21317], 256],
        12358: [, , { 12441: 12436 }],
        12363: [, , { 12441: 12364 }],
        12364: [[12363, 12441]],
        12365: [, , { 12441: 12366 }],
        12366: [[12365, 12441]],
        12367: [, , { 12441: 12368 }],
        12368: [[12367, 12441]],
        12369: [, , { 12441: 12370 }],
        12370: [[12369, 12441]],
        12371: [, , { 12441: 12372 }],
        12372: [[12371, 12441]],
        12373: [, , { 12441: 12374 }],
        12374: [[12373, 12441]],
        12375: [, , { 12441: 12376 }],
        12376: [[12375, 12441]],
        12377: [, , { 12441: 12378 }],
        12378: [[12377, 12441]],
        12379: [, , { 12441: 12380 }],
        12380: [[12379, 12441]],
        12381: [, , { 12441: 12382 }],
        12382: [[12381, 12441]],
        12383: [, , { 12441: 12384 }],
        12384: [[12383, 12441]],
        12385: [, , { 12441: 12386 }],
        12386: [[12385, 12441]],
        12388: [, , { 12441: 12389 }],
        12389: [[12388, 12441]],
        12390: [, , { 12441: 12391 }],
        12391: [[12390, 12441]],
        12392: [, , { 12441: 12393 }],
        12393: [[12392, 12441]],
        12399: [, , { 12441: 12400, 12442: 12401 }],
        12400: [[12399, 12441]],
        12401: [[12399, 12442]],
        12402: [, , { 12441: 12403, 12442: 12404 }],
        12403: [[12402, 12441]],
        12404: [[12402, 12442]],
        12405: [, , { 12441: 12406, 12442: 12407 }],
        12406: [[12405, 12441]],
        12407: [[12405, 12442]],
        12408: [, , { 12441: 12409, 12442: 12410 }],
        12409: [[12408, 12441]],
        12410: [[12408, 12442]],
        12411: [, , { 12441: 12412, 12442: 12413 }],
        12412: [[12411, 12441]],
        12413: [[12411, 12442]],
        12436: [[12358, 12441]],
        12441: [, 8],
        12442: [, 8],
        12443: [[32, 12441], 256],
        12444: [[32, 12442], 256],
        12445: [, , { 12441: 12446 }],
        12446: [[12445, 12441]],
        12447: [[12424, 12426], 256],
        12454: [, , { 12441: 12532 }],
        12459: [, , { 12441: 12460 }],
        12460: [[12459, 12441]],
        12461: [, , { 12441: 12462 }],
        12462: [[12461, 12441]],
        12463: [, , { 12441: 12464 }],
        12464: [[12463, 12441]],
        12465: [, , { 12441: 12466 }],
        12466: [[12465, 12441]],
        12467: [, , { 12441: 12468 }],
        12468: [[12467, 12441]],
        12469: [, , { 12441: 12470 }],
        12470: [[12469, 12441]],
        12471: [, , { 12441: 12472 }],
        12472: [[12471, 12441]],
        12473: [, , { 12441: 12474 }],
        12474: [[12473, 12441]],
        12475: [, , { 12441: 12476 }],
        12476: [[12475, 12441]],
        12477: [, , { 12441: 12478 }],
        12478: [[12477, 12441]],
        12479: [, , { 12441: 12480 }],
        12480: [[12479, 12441]],
        12481: [, , { 12441: 12482 }],
        12482: [[12481, 12441]],
        12484: [, , { 12441: 12485 }],
        12485: [[12484, 12441]],
        12486: [, , { 12441: 12487 }],
        12487: [[12486, 12441]],
        12488: [, , { 12441: 12489 }],
        12489: [[12488, 12441]],
        12495: [, , { 12441: 12496, 12442: 12497 }],
        12496: [[12495, 12441]],
        12497: [[12495, 12442]],
        12498: [, , { 12441: 12499, 12442: 12500 }],
        12499: [[12498, 12441]],
        12500: [[12498, 12442]],
        12501: [, , { 12441: 12502, 12442: 12503 }],
        12502: [[12501, 12441]],
        12503: [[12501, 12442]],
        12504: [, , { 12441: 12505, 12442: 12506 }],
        12505: [[12504, 12441]],
        12506: [[12504, 12442]],
        12507: [, , { 12441: 12508, 12442: 12509 }],
        12508: [[12507, 12441]],
        12509: [[12507, 12442]],
        12527: [, , { 12441: 12535 }],
        12528: [, , { 12441: 12536 }],
        12529: [, , { 12441: 12537 }],
        12530: [, , { 12441: 12538 }],
        12532: [[12454, 12441]],
        12535: [[12527, 12441]],
        12536: [[12528, 12441]],
        12537: [[12529, 12441]],
        12538: [[12530, 12441]],
        12541: [, , { 12441: 12542 }],
        12542: [[12541, 12441]],
        12543: [[12467, 12488], 256],
      },
      12544: {
        12593: [[4352], 256],
        12594: [[4353], 256],
        12595: [[4522], 256],
        12596: [[4354], 256],
        12597: [[4524], 256],
        12598: [[4525], 256],
        12599: [[4355], 256],
        12600: [[4356], 256],
        12601: [[4357], 256],
        12602: [[4528], 256],
        12603: [[4529], 256],
        12604: [[4530], 256],
        12605: [[4531], 256],
        12606: [[4532], 256],
        12607: [[4533], 256],
        12608: [[4378], 256],
        12609: [[4358], 256],
        12610: [[4359], 256],
        12611: [[4360], 256],
        12612: [[4385], 256],
        12613: [[4361], 256],
        12614: [[4362], 256],
        12615: [[4363], 256],
        12616: [[4364], 256],
        12617: [[4365], 256],
        12618: [[4366], 256],
        12619: [[4367], 256],
        12620: [[4368], 256],
        12621: [[4369], 256],
        12622: [[4370], 256],
        12623: [[4449], 256],
        12624: [[4450], 256],
        12625: [[4451], 256],
        12626: [[4452], 256],
        12627: [[4453], 256],
        12628: [[4454], 256],
        12629: [[4455], 256],
        12630: [[4456], 256],
        12631: [[4457], 256],
        12632: [[4458], 256],
        12633: [[4459], 256],
        12634: [[4460], 256],
        12635: [[4461], 256],
        12636: [[4462], 256],
        12637: [[4463], 256],
        12638: [[4464], 256],
        12639: [[4465], 256],
        12640: [[4466], 256],
        12641: [[4467], 256],
        12642: [[4468], 256],
        12643: [[4469], 256],
        12644: [[4448], 256],
        12645: [[4372], 256],
        12646: [[4373], 256],
        12647: [[4551], 256],
        12648: [[4552], 256],
        12649: [[4556], 256],
        12650: [[4558], 256],
        12651: [[4563], 256],
        12652: [[4567], 256],
        12653: [[4569], 256],
        12654: [[4380], 256],
        12655: [[4573], 256],
        12656: [[4575], 256],
        12657: [[4381], 256],
        12658: [[4382], 256],
        12659: [[4384], 256],
        12660: [[4386], 256],
        12661: [[4387], 256],
        12662: [[4391], 256],
        12663: [[4393], 256],
        12664: [[4395], 256],
        12665: [[4396], 256],
        12666: [[4397], 256],
        12667: [[4398], 256],
        12668: [[4399], 256],
        12669: [[4402], 256],
        12670: [[4406], 256],
        12671: [[4416], 256],
        12672: [[4423], 256],
        12673: [[4428], 256],
        12674: [[4593], 256],
        12675: [[4594], 256],
        12676: [[4439], 256],
        12677: [[4440], 256],
        12678: [[4441], 256],
        12679: [[4484], 256],
        12680: [[4485], 256],
        12681: [[4488], 256],
        12682: [[4497], 256],
        12683: [[4498], 256],
        12684: [[4500], 256],
        12685: [[4510], 256],
        12686: [[4513], 256],
        12690: [[19968], 256],
        12691: [[20108], 256],
        12692: [[19977], 256],
        12693: [[22235], 256],
        12694: [[19978], 256],
        12695: [[20013], 256],
        12696: [[19979], 256],
        12697: [[30002], 256],
        12698: [[20057], 256],
        12699: [[19993], 256],
        12700: [[19969], 256],
        12701: [[22825], 256],
        12702: [[22320], 256],
        12703: [[20154], 256],
      },
      12800: {
        12800: [[40, 4352, 41], 256],
        12801: [[40, 4354, 41], 256],
        12802: [[40, 4355, 41], 256],
        12803: [[40, 4357, 41], 256],
        12804: [[40, 4358, 41], 256],
        12805: [[40, 4359, 41], 256],
        12806: [[40, 4361, 41], 256],
        12807: [[40, 4363, 41], 256],
        12808: [[40, 4364, 41], 256],
        12809: [[40, 4366, 41], 256],
        12810: [[40, 4367, 41], 256],
        12811: [[40, 4368, 41], 256],
        12812: [[40, 4369, 41], 256],
        12813: [[40, 4370, 41], 256],
        12814: [[40, 4352, 4449, 41], 256],
        12815: [[40, 4354, 4449, 41], 256],
        12816: [[40, 4355, 4449, 41], 256],
        12817: [[40, 4357, 4449, 41], 256],
        12818: [[40, 4358, 4449, 41], 256],
        12819: [[40, 4359, 4449, 41], 256],
        12820: [[40, 4361, 4449, 41], 256],
        12821: [[40, 4363, 4449, 41], 256],
        12822: [[40, 4364, 4449, 41], 256],
        12823: [[40, 4366, 4449, 41], 256],
        12824: [[40, 4367, 4449, 41], 256],
        12825: [[40, 4368, 4449, 41], 256],
        12826: [[40, 4369, 4449, 41], 256],
        12827: [[40, 4370, 4449, 41], 256],
        12828: [[40, 4364, 4462, 41], 256],
        12829: [[40, 4363, 4457, 4364, 4453, 4523, 41], 256],
        12830: [[40, 4363, 4457, 4370, 4462, 41], 256],
        12832: [[40, 19968, 41], 256],
        12833: [[40, 20108, 41], 256],
        12834: [[40, 19977, 41], 256],
        12835: [[40, 22235, 41], 256],
        12836: [[40, 20116, 41], 256],
        12837: [[40, 20845, 41], 256],
        12838: [[40, 19971, 41], 256],
        12839: [[40, 20843, 41], 256],
        12840: [[40, 20061, 41], 256],
        12841: [[40, 21313, 41], 256],
        12842: [[40, 26376, 41], 256],
        12843: [[40, 28779, 41], 256],
        12844: [[40, 27700, 41], 256],
        12845: [[40, 26408, 41], 256],
        12846: [[40, 37329, 41], 256],
        12847: [[40, 22303, 41], 256],
        12848: [[40, 26085, 41], 256],
        12849: [[40, 26666, 41], 256],
        12850: [[40, 26377, 41], 256],
        12851: [[40, 31038, 41], 256],
        12852: [[40, 21517, 41], 256],
        12853: [[40, 29305, 41], 256],
        12854: [[40, 36001, 41], 256],
        12855: [[40, 31069, 41], 256],
        12856: [[40, 21172, 41], 256],
        12857: [[40, 20195, 41], 256],
        12858: [[40, 21628, 41], 256],
        12859: [[40, 23398, 41], 256],
        12860: [[40, 30435, 41], 256],
        12861: [[40, 20225, 41], 256],
        12862: [[40, 36039, 41], 256],
        12863: [[40, 21332, 41], 256],
        12864: [[40, 31085, 41], 256],
        12865: [[40, 20241, 41], 256],
        12866: [[40, 33258, 41], 256],
        12867: [[40, 33267, 41], 256],
        12868: [[21839], 256],
        12869: [[24188], 256],
        12870: [[25991], 256],
        12871: [[31631], 256],
        12880: [[80, 84, 69], 256],
        12881: [[50, 49], 256],
        12882: [[50, 50], 256],
        12883: [[50, 51], 256],
        12884: [[50, 52], 256],
        12885: [[50, 53], 256],
        12886: [[50, 54], 256],
        12887: [[50, 55], 256],
        12888: [[50, 56], 256],
        12889: [[50, 57], 256],
        12890: [[51, 48], 256],
        12891: [[51, 49], 256],
        12892: [[51, 50], 256],
        12893: [[51, 51], 256],
        12894: [[51, 52], 256],
        12895: [[51, 53], 256],
        12896: [[4352], 256],
        12897: [[4354], 256],
        12898: [[4355], 256],
        12899: [[4357], 256],
        12900: [[4358], 256],
        12901: [[4359], 256],
        12902: [[4361], 256],
        12903: [[4363], 256],
        12904: [[4364], 256],
        12905: [[4366], 256],
        12906: [[4367], 256],
        12907: [[4368], 256],
        12908: [[4369], 256],
        12909: [[4370], 256],
        12910: [[4352, 4449], 256],
        12911: [[4354, 4449], 256],
        12912: [[4355, 4449], 256],
        12913: [[4357, 4449], 256],
        12914: [[4358, 4449], 256],
        12915: [[4359, 4449], 256],
        12916: [[4361, 4449], 256],
        12917: [[4363, 4449], 256],
        12918: [[4364, 4449], 256],
        12919: [[4366, 4449], 256],
        12920: [[4367, 4449], 256],
        12921: [[4368, 4449], 256],
        12922: [[4369, 4449], 256],
        12923: [[4370, 4449], 256],
        12924: [[4366, 4449, 4535, 4352, 4457], 256],
        12925: [[4364, 4462, 4363, 4468], 256],
        12926: [[4363, 4462], 256],
        12928: [[19968], 256],
        12929: [[20108], 256],
        12930: [[19977], 256],
        12931: [[22235], 256],
        12932: [[20116], 256],
        12933: [[20845], 256],
        12934: [[19971], 256],
        12935: [[20843], 256],
        12936: [[20061], 256],
        12937: [[21313], 256],
        12938: [[26376], 256],
        12939: [[28779], 256],
        12940: [[27700], 256],
        12941: [[26408], 256],
        12942: [[37329], 256],
        12943: [[22303], 256],
        12944: [[26085], 256],
        12945: [[26666], 256],
        12946: [[26377], 256],
        12947: [[31038], 256],
        12948: [[21517], 256],
        12949: [[29305], 256],
        12950: [[36001], 256],
        12951: [[31069], 256],
        12952: [[21172], 256],
        12953: [[31192], 256],
        12954: [[30007], 256],
        12955: [[22899], 256],
        12956: [[36969], 256],
        12957: [[20778], 256],
        12958: [[21360], 256],
        12959: [[27880], 256],
        12960: [[38917], 256],
        12961: [[20241], 256],
        12962: [[20889], 256],
        12963: [[27491], 256],
        12964: [[19978], 256],
        12965: [[20013], 256],
        12966: [[19979], 256],
        12967: [[24038], 256],
        12968: [[21491], 256],
        12969: [[21307], 256],
        12970: [[23447], 256],
        12971: [[23398], 256],
        12972: [[30435], 256],
        12973: [[20225], 256],
        12974: [[36039], 256],
        12975: [[21332], 256],
        12976: [[22812], 256],
        12977: [[51, 54], 256],
        12978: [[51, 55], 256],
        12979: [[51, 56], 256],
        12980: [[51, 57], 256],
        12981: [[52, 48], 256],
        12982: [[52, 49], 256],
        12983: [[52, 50], 256],
        12984: [[52, 51], 256],
        12985: [[52, 52], 256],
        12986: [[52, 53], 256],
        12987: [[52, 54], 256],
        12988: [[52, 55], 256],
        12989: [[52, 56], 256],
        12990: [[52, 57], 256],
        12991: [[53, 48], 256],
        12992: [[49, 26376], 256],
        12993: [[50, 26376], 256],
        12994: [[51, 26376], 256],
        12995: [[52, 26376], 256],
        12996: [[53, 26376], 256],
        12997: [[54, 26376], 256],
        12998: [[55, 26376], 256],
        12999: [[56, 26376], 256],
        13e3: [[57, 26376], 256],
        13001: [[49, 48, 26376], 256],
        13002: [[49, 49, 26376], 256],
        13003: [[49, 50, 26376], 256],
        13004: [[72, 103], 256],
        13005: [[101, 114, 103], 256],
        13006: [[101, 86], 256],
        13007: [[76, 84, 68], 256],
        13008: [[12450], 256],
        13009: [[12452], 256],
        13010: [[12454], 256],
        13011: [[12456], 256],
        13012: [[12458], 256],
        13013: [[12459], 256],
        13014: [[12461], 256],
        13015: [[12463], 256],
        13016: [[12465], 256],
        13017: [[12467], 256],
        13018: [[12469], 256],
        13019: [[12471], 256],
        13020: [[12473], 256],
        13021: [[12475], 256],
        13022: [[12477], 256],
        13023: [[12479], 256],
        13024: [[12481], 256],
        13025: [[12484], 256],
        13026: [[12486], 256],
        13027: [[12488], 256],
        13028: [[12490], 256],
        13029: [[12491], 256],
        13030: [[12492], 256],
        13031: [[12493], 256],
        13032: [[12494], 256],
        13033: [[12495], 256],
        13034: [[12498], 256],
        13035: [[12501], 256],
        13036: [[12504], 256],
        13037: [[12507], 256],
        13038: [[12510], 256],
        13039: [[12511], 256],
        13040: [[12512], 256],
        13041: [[12513], 256],
        13042: [[12514], 256],
        13043: [[12516], 256],
        13044: [[12518], 256],
        13045: [[12520], 256],
        13046: [[12521], 256],
        13047: [[12522], 256],
        13048: [[12523], 256],
        13049: [[12524], 256],
        13050: [[12525], 256],
        13051: [[12527], 256],
        13052: [[12528], 256],
        13053: [[12529], 256],
        13054: [[12530], 256],
      },
      13056: {
        13056: [[12450, 12497, 12540, 12488], 256],
        13057: [[12450, 12523, 12501, 12449], 256],
        13058: [[12450, 12531, 12506, 12450], 256],
        13059: [[12450, 12540, 12523], 256],
        13060: [[12452, 12491, 12531, 12464], 256],
        13061: [[12452, 12531, 12481], 256],
        13062: [[12454, 12457, 12531], 256],
        13063: [[12456, 12473, 12463, 12540, 12489], 256],
        13064: [[12456, 12540, 12459, 12540], 256],
        13065: [[12458, 12531, 12473], 256],
        13066: [[12458, 12540, 12512], 256],
        13067: [[12459, 12452, 12522], 256],
        13068: [[12459, 12521, 12483, 12488], 256],
        13069: [[12459, 12525, 12522, 12540], 256],
        13070: [[12460, 12525, 12531], 256],
        13071: [[12460, 12531, 12510], 256],
        13072: [[12462, 12460], 256],
        13073: [[12462, 12491, 12540], 256],
        13074: [[12461, 12517, 12522, 12540], 256],
        13075: [[12462, 12523, 12480, 12540], 256],
        13076: [[12461, 12525], 256],
        13077: [[12461, 12525, 12464, 12521, 12512], 256],
        13078: [[12461, 12525, 12513, 12540, 12488, 12523], 256],
        13079: [[12461, 12525, 12527, 12483, 12488], 256],
        13080: [[12464, 12521, 12512], 256],
        13081: [[12464, 12521, 12512, 12488, 12531], 256],
        13082: [[12463, 12523, 12476, 12452, 12525], 256],
        13083: [[12463, 12525, 12540, 12493], 256],
        13084: [[12465, 12540, 12473], 256],
        13085: [[12467, 12523, 12490], 256],
        13086: [[12467, 12540, 12509], 256],
        13087: [[12469, 12452, 12463, 12523], 256],
        13088: [[12469, 12531, 12481, 12540, 12512], 256],
        13089: [[12471, 12522, 12531, 12464], 256],
        13090: [[12475, 12531, 12481], 256],
        13091: [[12475, 12531, 12488], 256],
        13092: [[12480, 12540, 12473], 256],
        13093: [[12487, 12471], 256],
        13094: [[12489, 12523], 256],
        13095: [[12488, 12531], 256],
        13096: [[12490, 12494], 256],
        13097: [[12494, 12483, 12488], 256],
        13098: [[12495, 12452, 12484], 256],
        13099: [[12497, 12540, 12475, 12531, 12488], 256],
        13100: [[12497, 12540, 12484], 256],
        13101: [[12496, 12540, 12524, 12523], 256],
        13102: [[12500, 12450, 12473, 12488, 12523], 256],
        13103: [[12500, 12463, 12523], 256],
        13104: [[12500, 12467], 256],
        13105: [[12499, 12523], 256],
        13106: [[12501, 12449, 12521, 12483, 12489], 256],
        13107: [[12501, 12451, 12540, 12488], 256],
        13108: [[12502, 12483, 12471, 12455, 12523], 256],
        13109: [[12501, 12521, 12531], 256],
        13110: [[12504, 12463, 12479, 12540, 12523], 256],
        13111: [[12506, 12477], 256],
        13112: [[12506, 12491, 12498], 256],
        13113: [[12504, 12523, 12484], 256],
        13114: [[12506, 12531, 12473], 256],
        13115: [[12506, 12540, 12472], 256],
        13116: [[12505, 12540, 12479], 256],
        13117: [[12509, 12452, 12531, 12488], 256],
        13118: [[12508, 12523, 12488], 256],
        13119: [[12507, 12531], 256],
        13120: [[12509, 12531, 12489], 256],
        13121: [[12507, 12540, 12523], 256],
        13122: [[12507, 12540, 12531], 256],
        13123: [[12510, 12452, 12463, 12525], 256],
        13124: [[12510, 12452, 12523], 256],
        13125: [[12510, 12483, 12495], 256],
        13126: [[12510, 12523, 12463], 256],
        13127: [[12510, 12531, 12471, 12519, 12531], 256],
        13128: [[12511, 12463, 12525, 12531], 256],
        13129: [[12511, 12522], 256],
        13130: [[12511, 12522, 12496, 12540, 12523], 256],
        13131: [[12513, 12460], 256],
        13132: [[12513, 12460, 12488, 12531], 256],
        13133: [[12513, 12540, 12488, 12523], 256],
        13134: [[12516, 12540, 12489], 256],
        13135: [[12516, 12540, 12523], 256],
        13136: [[12518, 12450, 12531], 256],
        13137: [[12522, 12483, 12488, 12523], 256],
        13138: [[12522, 12521], 256],
        13139: [[12523, 12500, 12540], 256],
        13140: [[12523, 12540, 12502, 12523], 256],
        13141: [[12524, 12512], 256],
        13142: [[12524, 12531, 12488, 12466, 12531], 256],
        13143: [[12527, 12483, 12488], 256],
        13144: [[48, 28857], 256],
        13145: [[49, 28857], 256],
        13146: [[50, 28857], 256],
        13147: [[51, 28857], 256],
        13148: [[52, 28857], 256],
        13149: [[53, 28857], 256],
        13150: [[54, 28857], 256],
        13151: [[55, 28857], 256],
        13152: [[56, 28857], 256],
        13153: [[57, 28857], 256],
        13154: [[49, 48, 28857], 256],
        13155: [[49, 49, 28857], 256],
        13156: [[49, 50, 28857], 256],
        13157: [[49, 51, 28857], 256],
        13158: [[49, 52, 28857], 256],
        13159: [[49, 53, 28857], 256],
        13160: [[49, 54, 28857], 256],
        13161: [[49, 55, 28857], 256],
        13162: [[49, 56, 28857], 256],
        13163: [[49, 57, 28857], 256],
        13164: [[50, 48, 28857], 256],
        13165: [[50, 49, 28857], 256],
        13166: [[50, 50, 28857], 256],
        13167: [[50, 51, 28857], 256],
        13168: [[50, 52, 28857], 256],
        13169: [[104, 80, 97], 256],
        13170: [[100, 97], 256],
        13171: [[65, 85], 256],
        13172: [[98, 97, 114], 256],
        13173: [[111, 86], 256],
        13174: [[112, 99], 256],
        13175: [[100, 109], 256],
        13176: [[100, 109, 178], 256],
        13177: [[100, 109, 179], 256],
        13178: [[73, 85], 256],
        13179: [[24179, 25104], 256],
        13180: [[26157, 21644], 256],
        13181: [[22823, 27491], 256],
        13182: [[26126, 27835], 256],
        13183: [[26666, 24335, 20250, 31038], 256],
        13184: [[112, 65], 256],
        13185: [[110, 65], 256],
        13186: [[956, 65], 256],
        13187: [[109, 65], 256],
        13188: [[107, 65], 256],
        13189: [[75, 66], 256],
        13190: [[77, 66], 256],
        13191: [[71, 66], 256],
        13192: [[99, 97, 108], 256],
        13193: [[107, 99, 97, 108], 256],
        13194: [[112, 70], 256],
        13195: [[110, 70], 256],
        13196: [[956, 70], 256],
        13197: [[956, 103], 256],
        13198: [[109, 103], 256],
        13199: [[107, 103], 256],
        13200: [[72, 122], 256],
        13201: [[107, 72, 122], 256],
        13202: [[77, 72, 122], 256],
        13203: [[71, 72, 122], 256],
        13204: [[84, 72, 122], 256],
        13205: [[956, 8467], 256],
        13206: [[109, 8467], 256],
        13207: [[100, 8467], 256],
        13208: [[107, 8467], 256],
        13209: [[102, 109], 256],
        13210: [[110, 109], 256],
        13211: [[956, 109], 256],
        13212: [[109, 109], 256],
        13213: [[99, 109], 256],
        13214: [[107, 109], 256],
        13215: [[109, 109, 178], 256],
        13216: [[99, 109, 178], 256],
        13217: [[109, 178], 256],
        13218: [[107, 109, 178], 256],
        13219: [[109, 109, 179], 256],
        13220: [[99, 109, 179], 256],
        13221: [[109, 179], 256],
        13222: [[107, 109, 179], 256],
        13223: [[109, 8725, 115], 256],
        13224: [[109, 8725, 115, 178], 256],
        13225: [[80, 97], 256],
        13226: [[107, 80, 97], 256],
        13227: [[77, 80, 97], 256],
        13228: [[71, 80, 97], 256],
        13229: [[114, 97, 100], 256],
        13230: [[114, 97, 100, 8725, 115], 256],
        13231: [[114, 97, 100, 8725, 115, 178], 256],
        13232: [[112, 115], 256],
        13233: [[110, 115], 256],
        13234: [[956, 115], 256],
        13235: [[109, 115], 256],
        13236: [[112, 86], 256],
        13237: [[110, 86], 256],
        13238: [[956, 86], 256],
        13239: [[109, 86], 256],
        13240: [[107, 86], 256],
        13241: [[77, 86], 256],
        13242: [[112, 87], 256],
        13243: [[110, 87], 256],
        13244: [[956, 87], 256],
        13245: [[109, 87], 256],
        13246: [[107, 87], 256],
        13247: [[77, 87], 256],
        13248: [[107, 937], 256],
        13249: [[77, 937], 256],
        13250: [[97, 46, 109, 46], 256],
        13251: [[66, 113], 256],
        13252: [[99, 99], 256],
        13253: [[99, 100], 256],
        13254: [[67, 8725, 107, 103], 256],
        13255: [[67, 111, 46], 256],
        13256: [[100, 66], 256],
        13257: [[71, 121], 256],
        13258: [[104, 97], 256],
        13259: [[72, 80], 256],
        13260: [[105, 110], 256],
        13261: [[75, 75], 256],
        13262: [[75, 77], 256],
        13263: [[107, 116], 256],
        13264: [[108, 109], 256],
        13265: [[108, 110], 256],
        13266: [[108, 111, 103], 256],
        13267: [[108, 120], 256],
        13268: [[109, 98], 256],
        13269: [[109, 105, 108], 256],
        13270: [[109, 111, 108], 256],
        13271: [[80, 72], 256],
        13272: [[112, 46, 109, 46], 256],
        13273: [[80, 80, 77], 256],
        13274: [[80, 82], 256],
        13275: [[115, 114], 256],
        13276: [[83, 118], 256],
        13277: [[87, 98], 256],
        13278: [[86, 8725, 109], 256],
        13279: [[65, 8725, 109], 256],
        13280: [[49, 26085], 256],
        13281: [[50, 26085], 256],
        13282: [[51, 26085], 256],
        13283: [[52, 26085], 256],
        13284: [[53, 26085], 256],
        13285: [[54, 26085], 256],
        13286: [[55, 26085], 256],
        13287: [[56, 26085], 256],
        13288: [[57, 26085], 256],
        13289: [[49, 48, 26085], 256],
        13290: [[49, 49, 26085], 256],
        13291: [[49, 50, 26085], 256],
        13292: [[49, 51, 26085], 256],
        13293: [[49, 52, 26085], 256],
        13294: [[49, 53, 26085], 256],
        13295: [[49, 54, 26085], 256],
        13296: [[49, 55, 26085], 256],
        13297: [[49, 56, 26085], 256],
        13298: [[49, 57, 26085], 256],
        13299: [[50, 48, 26085], 256],
        13300: [[50, 49, 26085], 256],
        13301: [[50, 50, 26085], 256],
        13302: [[50, 51, 26085], 256],
        13303: [[50, 52, 26085], 256],
        13304: [[50, 53, 26085], 256],
        13305: [[50, 54, 26085], 256],
        13306: [[50, 55, 26085], 256],
        13307: [[50, 56, 26085], 256],
        13308: [[50, 57, 26085], 256],
        13309: [[51, 48, 26085], 256],
        13310: [[51, 49, 26085], 256],
        13311: [[103, 97, 108], 256],
      },
      27136: {
        92912: [, 1],
        92913: [, 1],
        92914: [, 1],
        92915: [, 1],
        92916: [, 1],
      },
      27392: {
        92976: [, 230],
        92977: [, 230],
        92978: [, 230],
        92979: [, 230],
        92980: [, 230],
        92981: [, 230],
        92982: [, 230],
      },
      42496: {
        42607: [, 230],
        42612: [, 230],
        42613: [, 230],
        42614: [, 230],
        42615: [, 230],
        42616: [, 230],
        42617: [, 230],
        42618: [, 230],
        42619: [, 230],
        42620: [, 230],
        42621: [, 230],
        42652: [[1098], 256],
        42653: [[1100], 256],
        42655: [, 230],
        42736: [, 230],
        42737: [, 230],
      },
      42752: { 42864: [[42863], 256], 43e3: [[294], 256], 43001: [[339], 256] },
      43008: {
        43014: [, 9],
        43204: [, 9],
        43232: [, 230],
        43233: [, 230],
        43234: [, 230],
        43235: [, 230],
        43236: [, 230],
        43237: [, 230],
        43238: [, 230],
        43239: [, 230],
        43240: [, 230],
        43241: [, 230],
        43242: [, 230],
        43243: [, 230],
        43244: [, 230],
        43245: [, 230],
        43246: [, 230],
        43247: [, 230],
        43248: [, 230],
        43249: [, 230],
      },
      43264: {
        43307: [, 220],
        43308: [, 220],
        43309: [, 220],
        43347: [, 9],
        43443: [, 7],
        43456: [, 9],
      },
      43520: {
        43696: [, 230],
        43698: [, 230],
        43699: [, 230],
        43700: [, 220],
        43703: [, 230],
        43704: [, 230],
        43710: [, 230],
        43711: [, 230],
        43713: [, 230],
        43766: [, 9],
      },
      43776: {
        43868: [[42791], 256],
        43869: [[43831], 256],
        43870: [[619], 256],
        43871: [[43858], 256],
        44013: [, 9],
      },
      48128: { 113822: [, 1] },
      53504: {
        119134: [[119127, 119141], 512],
        119135: [[119128, 119141], 512],
        119136: [[119135, 119150], 512],
        119137: [[119135, 119151], 512],
        119138: [[119135, 119152], 512],
        119139: [[119135, 119153], 512],
        119140: [[119135, 119154], 512],
        119141: [, 216],
        119142: [, 216],
        119143: [, 1],
        119144: [, 1],
        119145: [, 1],
        119149: [, 226],
        119150: [, 216],
        119151: [, 216],
        119152: [, 216],
        119153: [, 216],
        119154: [, 216],
        119163: [, 220],
        119164: [, 220],
        119165: [, 220],
        119166: [, 220],
        119167: [, 220],
        119168: [, 220],
        119169: [, 220],
        119170: [, 220],
        119173: [, 230],
        119174: [, 230],
        119175: [, 230],
        119176: [, 230],
        119177: [, 230],
        119178: [, 220],
        119179: [, 220],
        119210: [, 230],
        119211: [, 230],
        119212: [, 230],
        119213: [, 230],
        119227: [[119225, 119141], 512],
        119228: [[119226, 119141], 512],
        119229: [[119227, 119150], 512],
        119230: [[119228, 119150], 512],
        119231: [[119227, 119151], 512],
        119232: [[119228, 119151], 512],
      },
      53760: { 119362: [, 230], 119363: [, 230], 119364: [, 230] },
      54272: {
        119808: [[65], 256],
        119809: [[66], 256],
        119810: [[67], 256],
        119811: [[68], 256],
        119812: [[69], 256],
        119813: [[70], 256],
        119814: [[71], 256],
        119815: [[72], 256],
        119816: [[73], 256],
        119817: [[74], 256],
        119818: [[75], 256],
        119819: [[76], 256],
        119820: [[77], 256],
        119821: [[78], 256],
        119822: [[79], 256],
        119823: [[80], 256],
        119824: [[81], 256],
        119825: [[82], 256],
        119826: [[83], 256],
        119827: [[84], 256],
        119828: [[85], 256],
        119829: [[86], 256],
        119830: [[87], 256],
        119831: [[88], 256],
        119832: [[89], 256],
        119833: [[90], 256],
        119834: [[97], 256],
        119835: [[98], 256],
        119836: [[99], 256],
        119837: [[100], 256],
        119838: [[101], 256],
        119839: [[102], 256],
        119840: [[103], 256],
        119841: [[104], 256],
        119842: [[105], 256],
        119843: [[106], 256],
        119844: [[107], 256],
        119845: [[108], 256],
        119846: [[109], 256],
        119847: [[110], 256],
        119848: [[111], 256],
        119849: [[112], 256],
        119850: [[113], 256],
        119851: [[114], 256],
        119852: [[115], 256],
        119853: [[116], 256],
        119854: [[117], 256],
        119855: [[118], 256],
        119856: [[119], 256],
        119857: [[120], 256],
        119858: [[121], 256],
        119859: [[122], 256],
        119860: [[65], 256],
        119861: [[66], 256],
        119862: [[67], 256],
        119863: [[68], 256],
        119864: [[69], 256],
        119865: [[70], 256],
        119866: [[71], 256],
        119867: [[72], 256],
        119868: [[73], 256],
        119869: [[74], 256],
        119870: [[75], 256],
        119871: [[76], 256],
        119872: [[77], 256],
        119873: [[78], 256],
        119874: [[79], 256],
        119875: [[80], 256],
        119876: [[81], 256],
        119877: [[82], 256],
        119878: [[83], 256],
        119879: [[84], 256],
        119880: [[85], 256],
        119881: [[86], 256],
        119882: [[87], 256],
        119883: [[88], 256],
        119884: [[89], 256],
        119885: [[90], 256],
        119886: [[97], 256],
        119887: [[98], 256],
        119888: [[99], 256],
        119889: [[100], 256],
        119890: [[101], 256],
        119891: [[102], 256],
        119892: [[103], 256],
        119894: [[105], 256],
        119895: [[106], 256],
        119896: [[107], 256],
        119897: [[108], 256],
        119898: [[109], 256],
        119899: [[110], 256],
        119900: [[111], 256],
        119901: [[112], 256],
        119902: [[113], 256],
        119903: [[114], 256],
        119904: [[115], 256],
        119905: [[116], 256],
        119906: [[117], 256],
        119907: [[118], 256],
        119908: [[119], 256],
        119909: [[120], 256],
        119910: [[121], 256],
        119911: [[122], 256],
        119912: [[65], 256],
        119913: [[66], 256],
        119914: [[67], 256],
        119915: [[68], 256],
        119916: [[69], 256],
        119917: [[70], 256],
        119918: [[71], 256],
        119919: [[72], 256],
        119920: [[73], 256],
        119921: [[74], 256],
        119922: [[75], 256],
        119923: [[76], 256],
        119924: [[77], 256],
        119925: [[78], 256],
        119926: [[79], 256],
        119927: [[80], 256],
        119928: [[81], 256],
        119929: [[82], 256],
        119930: [[83], 256],
        119931: [[84], 256],
        119932: [[85], 256],
        119933: [[86], 256],
        119934: [[87], 256],
        119935: [[88], 256],
        119936: [[89], 256],
        119937: [[90], 256],
        119938: [[97], 256],
        119939: [[98], 256],
        119940: [[99], 256],
        119941: [[100], 256],
        119942: [[101], 256],
        119943: [[102], 256],
        119944: [[103], 256],
        119945: [[104], 256],
        119946: [[105], 256],
        119947: [[106], 256],
        119948: [[107], 256],
        119949: [[108], 256],
        119950: [[109], 256],
        119951: [[110], 256],
        119952: [[111], 256],
        119953: [[112], 256],
        119954: [[113], 256],
        119955: [[114], 256],
        119956: [[115], 256],
        119957: [[116], 256],
        119958: [[117], 256],
        119959: [[118], 256],
        119960: [[119], 256],
        119961: [[120], 256],
        119962: [[121], 256],
        119963: [[122], 256],
        119964: [[65], 256],
        119966: [[67], 256],
        119967: [[68], 256],
        119970: [[71], 256],
        119973: [[74], 256],
        119974: [[75], 256],
        119977: [[78], 256],
        119978: [[79], 256],
        119979: [[80], 256],
        119980: [[81], 256],
        119982: [[83], 256],
        119983: [[84], 256],
        119984: [[85], 256],
        119985: [[86], 256],
        119986: [[87], 256],
        119987: [[88], 256],
        119988: [[89], 256],
        119989: [[90], 256],
        119990: [[97], 256],
        119991: [[98], 256],
        119992: [[99], 256],
        119993: [[100], 256],
        119995: [[102], 256],
        119997: [[104], 256],
        119998: [[105], 256],
        119999: [[106], 256],
        12e4: [[107], 256],
        120001: [[108], 256],
        120002: [[109], 256],
        120003: [[110], 256],
        120005: [[112], 256],
        120006: [[113], 256],
        120007: [[114], 256],
        120008: [[115], 256],
        120009: [[116], 256],
        120010: [[117], 256],
        120011: [[118], 256],
        120012: [[119], 256],
        120013: [[120], 256],
        120014: [[121], 256],
        120015: [[122], 256],
        120016: [[65], 256],
        120017: [[66], 256],
        120018: [[67], 256],
        120019: [[68], 256],
        120020: [[69], 256],
        120021: [[70], 256],
        120022: [[71], 256],
        120023: [[72], 256],
        120024: [[73], 256],
        120025: [[74], 256],
        120026: [[75], 256],
        120027: [[76], 256],
        120028: [[77], 256],
        120029: [[78], 256],
        120030: [[79], 256],
        120031: [[80], 256],
        120032: [[81], 256],
        120033: [[82], 256],
        120034: [[83], 256],
        120035: [[84], 256],
        120036: [[85], 256],
        120037: [[86], 256],
        120038: [[87], 256],
        120039: [[88], 256],
        120040: [[89], 256],
        120041: [[90], 256],
        120042: [[97], 256],
        120043: [[98], 256],
        120044: [[99], 256],
        120045: [[100], 256],
        120046: [[101], 256],
        120047: [[102], 256],
        120048: [[103], 256],
        120049: [[104], 256],
        120050: [[105], 256],
        120051: [[106], 256],
        120052: [[107], 256],
        120053: [[108], 256],
        120054: [[109], 256],
        120055: [[110], 256],
        120056: [[111], 256],
        120057: [[112], 256],
        120058: [[113], 256],
        120059: [[114], 256],
        120060: [[115], 256],
        120061: [[116], 256],
        120062: [[117], 256],
        120063: [[118], 256],
      },
      54528: {
        120064: [[119], 256],
        120065: [[120], 256],
        120066: [[121], 256],
        120067: [[122], 256],
        120068: [[65], 256],
        120069: [[66], 256],
        120071: [[68], 256],
        120072: [[69], 256],
        120073: [[70], 256],
        120074: [[71], 256],
        120077: [[74], 256],
        120078: [[75], 256],
        120079: [[76], 256],
        120080: [[77], 256],
        120081: [[78], 256],
        120082: [[79], 256],
        120083: [[80], 256],
        120084: [[81], 256],
        120086: [[83], 256],
        120087: [[84], 256],
        120088: [[85], 256],
        120089: [[86], 256],
        120090: [[87], 256],
        120091: [[88], 256],
        120092: [[89], 256],
        120094: [[97], 256],
        120095: [[98], 256],
        120096: [[99], 256],
        120097: [[100], 256],
        120098: [[101], 256],
        120099: [[102], 256],
        120100: [[103], 256],
        120101: [[104], 256],
        120102: [[105], 256],
        120103: [[106], 256],
        120104: [[107], 256],
        120105: [[108], 256],
        120106: [[109], 256],
        120107: [[110], 256],
        120108: [[111], 256],
        120109: [[112], 256],
        120110: [[113], 256],
        120111: [[114], 256],
        120112: [[115], 256],
        120113: [[116], 256],
        120114: [[117], 256],
        120115: [[118], 256],
        120116: [[119], 256],
        120117: [[120], 256],
        120118: [[121], 256],
        120119: [[122], 256],
        120120: [[65], 256],
        120121: [[66], 256],
        120123: [[68], 256],
        120124: [[69], 256],
        120125: [[70], 256],
        120126: [[71], 256],
        120128: [[73], 256],
        120129: [[74], 256],
        120130: [[75], 256],
        120131: [[76], 256],
        120132: [[77], 256],
        120134: [[79], 256],
        120138: [[83], 256],
        120139: [[84], 256],
        120140: [[85], 256],
        120141: [[86], 256],
        120142: [[87], 256],
        120143: [[88], 256],
        120144: [[89], 256],
        120146: [[97], 256],
        120147: [[98], 256],
        120148: [[99], 256],
        120149: [[100], 256],
        120150: [[101], 256],
        120151: [[102], 256],
        120152: [[103], 256],
        120153: [[104], 256],
        120154: [[105], 256],
        120155: [[106], 256],
        120156: [[107], 256],
        120157: [[108], 256],
        120158: [[109], 256],
        120159: [[110], 256],
        120160: [[111], 256],
        120161: [[112], 256],
        120162: [[113], 256],
        120163: [[114], 256],
        120164: [[115], 256],
        120165: [[116], 256],
        120166: [[117], 256],
        120167: [[118], 256],
        120168: [[119], 256],
        120169: [[120], 256],
        120170: [[121], 256],
        120171: [[122], 256],
        120172: [[65], 256],
        120173: [[66], 256],
        120174: [[67], 256],
        120175: [[68], 256],
        120176: [[69], 256],
        120177: [[70], 256],
        120178: [[71], 256],
        120179: [[72], 256],
        120180: [[73], 256],
        120181: [[74], 256],
        120182: [[75], 256],
        120183: [[76], 256],
        120184: [[77], 256],
        120185: [[78], 256],
        120186: [[79], 256],
        120187: [[80], 256],
        120188: [[81], 256],
        120189: [[82], 256],
        120190: [[83], 256],
        120191: [[84], 256],
        120192: [[85], 256],
        120193: [[86], 256],
        120194: [[87], 256],
        120195: [[88], 256],
        120196: [[89], 256],
        120197: [[90], 256],
        120198: [[97], 256],
        120199: [[98], 256],
        120200: [[99], 256],
        120201: [[100], 256],
        120202: [[101], 256],
        120203: [[102], 256],
        120204: [[103], 256],
        120205: [[104], 256],
        120206: [[105], 256],
        120207: [[106], 256],
        120208: [[107], 256],
        120209: [[108], 256],
        120210: [[109], 256],
        120211: [[110], 256],
        120212: [[111], 256],
        120213: [[112], 256],
        120214: [[113], 256],
        120215: [[114], 256],
        120216: [[115], 256],
        120217: [[116], 256],
        120218: [[117], 256],
        120219: [[118], 256],
        120220: [[119], 256],
        120221: [[120], 256],
        120222: [[121], 256],
        120223: [[122], 256],
        120224: [[65], 256],
        120225: [[66], 256],
        120226: [[67], 256],
        120227: [[68], 256],
        120228: [[69], 256],
        120229: [[70], 256],
        120230: [[71], 256],
        120231: [[72], 256],
        120232: [[73], 256],
        120233: [[74], 256],
        120234: [[75], 256],
        120235: [[76], 256],
        120236: [[77], 256],
        120237: [[78], 256],
        120238: [[79], 256],
        120239: [[80], 256],
        120240: [[81], 256],
        120241: [[82], 256],
        120242: [[83], 256],
        120243: [[84], 256],
        120244: [[85], 256],
        120245: [[86], 256],
        120246: [[87], 256],
        120247: [[88], 256],
        120248: [[89], 256],
        120249: [[90], 256],
        120250: [[97], 256],
        120251: [[98], 256],
        120252: [[99], 256],
        120253: [[100], 256],
        120254: [[101], 256],
        120255: [[102], 256],
        120256: [[103], 256],
        120257: [[104], 256],
        120258: [[105], 256],
        120259: [[106], 256],
        120260: [[107], 256],
        120261: [[108], 256],
        120262: [[109], 256],
        120263: [[110], 256],
        120264: [[111], 256],
        120265: [[112], 256],
        120266: [[113], 256],
        120267: [[114], 256],
        120268: [[115], 256],
        120269: [[116], 256],
        120270: [[117], 256],
        120271: [[118], 256],
        120272: [[119], 256],
        120273: [[120], 256],
        120274: [[121], 256],
        120275: [[122], 256],
        120276: [[65], 256],
        120277: [[66], 256],
        120278: [[67], 256],
        120279: [[68], 256],
        120280: [[69], 256],
        120281: [[70], 256],
        120282: [[71], 256],
        120283: [[72], 256],
        120284: [[73], 256],
        120285: [[74], 256],
        120286: [[75], 256],
        120287: [[76], 256],
        120288: [[77], 256],
        120289: [[78], 256],
        120290: [[79], 256],
        120291: [[80], 256],
        120292: [[81], 256],
        120293: [[82], 256],
        120294: [[83], 256],
        120295: [[84], 256],
        120296: [[85], 256],
        120297: [[86], 256],
        120298: [[87], 256],
        120299: [[88], 256],
        120300: [[89], 256],
        120301: [[90], 256],
        120302: [[97], 256],
        120303: [[98], 256],
        120304: [[99], 256],
        120305: [[100], 256],
        120306: [[101], 256],
        120307: [[102], 256],
        120308: [[103], 256],
        120309: [[104], 256],
        120310: [[105], 256],
        120311: [[106], 256],
        120312: [[107], 256],
        120313: [[108], 256],
        120314: [[109], 256],
        120315: [[110], 256],
        120316: [[111], 256],
        120317: [[112], 256],
        120318: [[113], 256],
        120319: [[114], 256],
      },
      54784: {
        120320: [[115], 256],
        120321: [[116], 256],
        120322: [[117], 256],
        120323: [[118], 256],
        120324: [[119], 256],
        120325: [[120], 256],
        120326: [[121], 256],
        120327: [[122], 256],
        120328: [[65], 256],
        120329: [[66], 256],
        120330: [[67], 256],
        120331: [[68], 256],
        120332: [[69], 256],
        120333: [[70], 256],
        120334: [[71], 256],
        120335: [[72], 256],
        120336: [[73], 256],
        120337: [[74], 256],
        120338: [[75], 256],
        120339: [[76], 256],
        120340: [[77], 256],
        120341: [[78], 256],
        120342: [[79], 256],
        120343: [[80], 256],
        120344: [[81], 256],
        120345: [[82], 256],
        120346: [[83], 256],
        120347: [[84], 256],
        120348: [[85], 256],
        120349: [[86], 256],
        120350: [[87], 256],
        120351: [[88], 256],
        120352: [[89], 256],
        120353: [[90], 256],
        120354: [[97], 256],
        120355: [[98], 256],
        120356: [[99], 256],
        120357: [[100], 256],
        120358: [[101], 256],
        120359: [[102], 256],
        120360: [[103], 256],
        120361: [[104], 256],
        120362: [[105], 256],
        120363: [[106], 256],
        120364: [[107], 256],
        120365: [[108], 256],
        120366: [[109], 256],
        120367: [[110], 256],
        120368: [[111], 256],
        120369: [[112], 256],
        120370: [[113], 256],
        120371: [[114], 256],
        120372: [[115], 256],
        120373: [[116], 256],
        120374: [[117], 256],
        120375: [[118], 256],
        120376: [[119], 256],
        120377: [[120], 256],
        120378: [[121], 256],
        120379: [[122], 256],
        120380: [[65], 256],
        120381: [[66], 256],
        120382: [[67], 256],
        120383: [[68], 256],
        120384: [[69], 256],
        120385: [[70], 256],
        120386: [[71], 256],
        120387: [[72], 256],
        120388: [[73], 256],
        120389: [[74], 256],
        120390: [[75], 256],
        120391: [[76], 256],
        120392: [[77], 256],
        120393: [[78], 256],
        120394: [[79], 256],
        120395: [[80], 256],
        120396: [[81], 256],
        120397: [[82], 256],
        120398: [[83], 256],
        120399: [[84], 256],
        120400: [[85], 256],
        120401: [[86], 256],
        120402: [[87], 256],
        120403: [[88], 256],
        120404: [[89], 256],
        120405: [[90], 256],
        120406: [[97], 256],
        120407: [[98], 256],
        120408: [[99], 256],
        120409: [[100], 256],
        120410: [[101], 256],
        120411: [[102], 256],
        120412: [[103], 256],
        120413: [[104], 256],
        120414: [[105], 256],
        120415: [[106], 256],
        120416: [[107], 256],
        120417: [[108], 256],
        120418: [[109], 256],
        120419: [[110], 256],
        120420: [[111], 256],
        120421: [[112], 256],
        120422: [[113], 256],
        120423: [[114], 256],
        120424: [[115], 256],
        120425: [[116], 256],
        120426: [[117], 256],
        120427: [[118], 256],
        120428: [[119], 256],
        120429: [[120], 256],
        120430: [[121], 256],
        120431: [[122], 256],
        120432: [[65], 256],
        120433: [[66], 256],
        120434: [[67], 256],
        120435: [[68], 256],
        120436: [[69], 256],
        120437: [[70], 256],
        120438: [[71], 256],
        120439: [[72], 256],
        120440: [[73], 256],
        120441: [[74], 256],
        120442: [[75], 256],
        120443: [[76], 256],
        120444: [[77], 256],
        120445: [[78], 256],
        120446: [[79], 256],
        120447: [[80], 256],
        120448: [[81], 256],
        120449: [[82], 256],
        120450: [[83], 256],
        120451: [[84], 256],
        120452: [[85], 256],
        120453: [[86], 256],
        120454: [[87], 256],
        120455: [[88], 256],
        120456: [[89], 256],
        120457: [[90], 256],
        120458: [[97], 256],
        120459: [[98], 256],
        120460: [[99], 256],
        120461: [[100], 256],
        120462: [[101], 256],
        120463: [[102], 256],
        120464: [[103], 256],
        120465: [[104], 256],
        120466: [[105], 256],
        120467: [[106], 256],
        120468: [[107], 256],
        120469: [[108], 256],
        120470: [[109], 256],
        120471: [[110], 256],
        120472: [[111], 256],
        120473: [[112], 256],
        120474: [[113], 256],
        120475: [[114], 256],
        120476: [[115], 256],
        120477: [[116], 256],
        120478: [[117], 256],
        120479: [[118], 256],
        120480: [[119], 256],
        120481: [[120], 256],
        120482: [[121], 256],
        120483: [[122], 256],
        120484: [[305], 256],
        120485: [[567], 256],
        120488: [[913], 256],
        120489: [[914], 256],
        120490: [[915], 256],
        120491: [[916], 256],
        120492: [[917], 256],
        120493: [[918], 256],
        120494: [[919], 256],
        120495: [[920], 256],
        120496: [[921], 256],
        120497: [[922], 256],
        120498: [[923], 256],
        120499: [[924], 256],
        120500: [[925], 256],
        120501: [[926], 256],
        120502: [[927], 256],
        120503: [[928], 256],
        120504: [[929], 256],
        120505: [[1012], 256],
        120506: [[931], 256],
        120507: [[932], 256],
        120508: [[933], 256],
        120509: [[934], 256],
        120510: [[935], 256],
        120511: [[936], 256],
        120512: [[937], 256],
        120513: [[8711], 256],
        120514: [[945], 256],
        120515: [[946], 256],
        120516: [[947], 256],
        120517: [[948], 256],
        120518: [[949], 256],
        120519: [[950], 256],
        120520: [[951], 256],
        120521: [[952], 256],
        120522: [[953], 256],
        120523: [[954], 256],
        120524: [[955], 256],
        120525: [[956], 256],
        120526: [[957], 256],
        120527: [[958], 256],
        120528: [[959], 256],
        120529: [[960], 256],
        120530: [[961], 256],
        120531: [[962], 256],
        120532: [[963], 256],
        120533: [[964], 256],
        120534: [[965], 256],
        120535: [[966], 256],
        120536: [[967], 256],
        120537: [[968], 256],
        120538: [[969], 256],
        120539: [[8706], 256],
        120540: [[1013], 256],
        120541: [[977], 256],
        120542: [[1008], 256],
        120543: [[981], 256],
        120544: [[1009], 256],
        120545: [[982], 256],
        120546: [[913], 256],
        120547: [[914], 256],
        120548: [[915], 256],
        120549: [[916], 256],
        120550: [[917], 256],
        120551: [[918], 256],
        120552: [[919], 256],
        120553: [[920], 256],
        120554: [[921], 256],
        120555: [[922], 256],
        120556: [[923], 256],
        120557: [[924], 256],
        120558: [[925], 256],
        120559: [[926], 256],
        120560: [[927], 256],
        120561: [[928], 256],
        120562: [[929], 256],
        120563: [[1012], 256],
        120564: [[931], 256],
        120565: [[932], 256],
        120566: [[933], 256],
        120567: [[934], 256],
        120568: [[935], 256],
        120569: [[936], 256],
        120570: [[937], 256],
        120571: [[8711], 256],
        120572: [[945], 256],
        120573: [[946], 256],
        120574: [[947], 256],
        120575: [[948], 256],
      },
      55040: {
        120576: [[949], 256],
        120577: [[950], 256],
        120578: [[951], 256],
        120579: [[952], 256],
        120580: [[953], 256],
        120581: [[954], 256],
        120582: [[955], 256],
        120583: [[956], 256],
        120584: [[957], 256],
        120585: [[958], 256],
        120586: [[959], 256],
        120587: [[960], 256],
        120588: [[961], 256],
        120589: [[962], 256],
        120590: [[963], 256],
        120591: [[964], 256],
        120592: [[965], 256],
        120593: [[966], 256],
        120594: [[967], 256],
        120595: [[968], 256],
        120596: [[969], 256],
        120597: [[8706], 256],
        120598: [[1013], 256],
        120599: [[977], 256],
        120600: [[1008], 256],
        120601: [[981], 256],
        120602: [[1009], 256],
        120603: [[982], 256],
        120604: [[913], 256],
        120605: [[914], 256],
        120606: [[915], 256],
        120607: [[916], 256],
        120608: [[917], 256],
        120609: [[918], 256],
        120610: [[919], 256],
        120611: [[920], 256],
        120612: [[921], 256],
        120613: [[922], 256],
        120614: [[923], 256],
        120615: [[924], 256],
        120616: [[925], 256],
        120617: [[926], 256],
        120618: [[927], 256],
        120619: [[928], 256],
        120620: [[929], 256],
        120621: [[1012], 256],
        120622: [[931], 256],
        120623: [[932], 256],
        120624: [[933], 256],
        120625: [[934], 256],
        120626: [[935], 256],
        120627: [[936], 256],
        120628: [[937], 256],
        120629: [[8711], 256],
        120630: [[945], 256],
        120631: [[946], 256],
        120632: [[947], 256],
        120633: [[948], 256],
        120634: [[949], 256],
        120635: [[950], 256],
        120636: [[951], 256],
        120637: [[952], 256],
        120638: [[953], 256],
        120639: [[954], 256],
        120640: [[955], 256],
        120641: [[956], 256],
        120642: [[957], 256],
        120643: [[958], 256],
        120644: [[959], 256],
        120645: [[960], 256],
        120646: [[961], 256],
        120647: [[962], 256],
        120648: [[963], 256],
        120649: [[964], 256],
        120650: [[965], 256],
        120651: [[966], 256],
        120652: [[967], 256],
        120653: [[968], 256],
        120654: [[969], 256],
        120655: [[8706], 256],
        120656: [[1013], 256],
        120657: [[977], 256],
        120658: [[1008], 256],
        120659: [[981], 256],
        120660: [[1009], 256],
        120661: [[982], 256],
        120662: [[913], 256],
        120663: [[914], 256],
        120664: [[915], 256],
        120665: [[916], 256],
        120666: [[917], 256],
        120667: [[918], 256],
        120668: [[919], 256],
        120669: [[920], 256],
        120670: [[921], 256],
        120671: [[922], 256],
        120672: [[923], 256],
        120673: [[924], 256],
        120674: [[925], 256],
        120675: [[926], 256],
        120676: [[927], 256],
        120677: [[928], 256],
        120678: [[929], 256],
        120679: [[1012], 256],
        120680: [[931], 256],
        120681: [[932], 256],
        120682: [[933], 256],
        120683: [[934], 256],
        120684: [[935], 256],
        120685: [[936], 256],
        120686: [[937], 256],
        120687: [[8711], 256],
        120688: [[945], 256],
        120689: [[946], 256],
        120690: [[947], 256],
        120691: [[948], 256],
        120692: [[949], 256],
        120693: [[950], 256],
        120694: [[951], 256],
        120695: [[952], 256],
        120696: [[953], 256],
        120697: [[954], 256],
        120698: [[955], 256],
        120699: [[956], 256],
        120700: [[957], 256],
        120701: [[958], 256],
        120702: [[959], 256],
        120703: [[960], 256],
        120704: [[961], 256],
        120705: [[962], 256],
        120706: [[963], 256],
        120707: [[964], 256],
        120708: [[965], 256],
        120709: [[966], 256],
        120710: [[967], 256],
        120711: [[968], 256],
        120712: [[969], 256],
        120713: [[8706], 256],
        120714: [[1013], 256],
        120715: [[977], 256],
        120716: [[1008], 256],
        120717: [[981], 256],
        120718: [[1009], 256],
        120719: [[982], 256],
        120720: [[913], 256],
        120721: [[914], 256],
        120722: [[915], 256],
        120723: [[916], 256],
        120724: [[917], 256],
        120725: [[918], 256],
        120726: [[919], 256],
        120727: [[920], 256],
        120728: [[921], 256],
        120729: [[922], 256],
        120730: [[923], 256],
        120731: [[924], 256],
        120732: [[925], 256],
        120733: [[926], 256],
        120734: [[927], 256],
        120735: [[928], 256],
        120736: [[929], 256],
        120737: [[1012], 256],
        120738: [[931], 256],
        120739: [[932], 256],
        120740: [[933], 256],
        120741: [[934], 256],
        120742: [[935], 256],
        120743: [[936], 256],
        120744: [[937], 256],
        120745: [[8711], 256],
        120746: [[945], 256],
        120747: [[946], 256],
        120748: [[947], 256],
        120749: [[948], 256],
        120750: [[949], 256],
        120751: [[950], 256],
        120752: [[951], 256],
        120753: [[952], 256],
        120754: [[953], 256],
        120755: [[954], 256],
        120756: [[955], 256],
        120757: [[956], 256],
        120758: [[957], 256],
        120759: [[958], 256],
        120760: [[959], 256],
        120761: [[960], 256],
        120762: [[961], 256],
        120763: [[962], 256],
        120764: [[963], 256],
        120765: [[964], 256],
        120766: [[965], 256],
        120767: [[966], 256],
        120768: [[967], 256],
        120769: [[968], 256],
        120770: [[969], 256],
        120771: [[8706], 256],
        120772: [[1013], 256],
        120773: [[977], 256],
        120774: [[1008], 256],
        120775: [[981], 256],
        120776: [[1009], 256],
        120777: [[982], 256],
        120778: [[988], 256],
        120779: [[989], 256],
        120782: [[48], 256],
        120783: [[49], 256],
        120784: [[50], 256],
        120785: [[51], 256],
        120786: [[52], 256],
        120787: [[53], 256],
        120788: [[54], 256],
        120789: [[55], 256],
        120790: [[56], 256],
        120791: [[57], 256],
        120792: [[48], 256],
        120793: [[49], 256],
        120794: [[50], 256],
        120795: [[51], 256],
        120796: [[52], 256],
        120797: [[53], 256],
        120798: [[54], 256],
        120799: [[55], 256],
        120800: [[56], 256],
        120801: [[57], 256],
        120802: [[48], 256],
        120803: [[49], 256],
        120804: [[50], 256],
        120805: [[51], 256],
        120806: [[52], 256],
        120807: [[53], 256],
        120808: [[54], 256],
        120809: [[55], 256],
        120810: [[56], 256],
        120811: [[57], 256],
        120812: [[48], 256],
        120813: [[49], 256],
        120814: [[50], 256],
        120815: [[51], 256],
        120816: [[52], 256],
        120817: [[53], 256],
        120818: [[54], 256],
        120819: [[55], 256],
        120820: [[56], 256],
        120821: [[57], 256],
        120822: [[48], 256],
        120823: [[49], 256],
        120824: [[50], 256],
        120825: [[51], 256],
        120826: [[52], 256],
        120827: [[53], 256],
        120828: [[54], 256],
        120829: [[55], 256],
        120830: [[56], 256],
        120831: [[57], 256],
      },
      59392: {
        125136: [, 220],
        125137: [, 220],
        125138: [, 220],
        125139: [, 220],
        125140: [, 220],
        125141: [, 220],
        125142: [, 220],
      },
      60928: {
        126464: [[1575], 256],
        126465: [[1576], 256],
        126466: [[1580], 256],
        126467: [[1583], 256],
        126469: [[1608], 256],
        126470: [[1586], 256],
        126471: [[1581], 256],
        126472: [[1591], 256],
        126473: [[1610], 256],
        126474: [[1603], 256],
        126475: [[1604], 256],
        126476: [[1605], 256],
        126477: [[1606], 256],
        126478: [[1587], 256],
        126479: [[1593], 256],
        126480: [[1601], 256],
        126481: [[1589], 256],
        126482: [[1602], 256],
        126483: [[1585], 256],
        126484: [[1588], 256],
        126485: [[1578], 256],
        126486: [[1579], 256],
        126487: [[1582], 256],
        126488: [[1584], 256],
        126489: [[1590], 256],
        126490: [[1592], 256],
        126491: [[1594], 256],
        126492: [[1646], 256],
        126493: [[1722], 256],
        126494: [[1697], 256],
        126495: [[1647], 256],
        126497: [[1576], 256],
        126498: [[1580], 256],
        126500: [[1607], 256],
        126503: [[1581], 256],
        126505: [[1610], 256],
        126506: [[1603], 256],
        126507: [[1604], 256],
        126508: [[1605], 256],
        126509: [[1606], 256],
        126510: [[1587], 256],
        126511: [[1593], 256],
        126512: [[1601], 256],
        126513: [[1589], 256],
        126514: [[1602], 256],
        126516: [[1588], 256],
        126517: [[1578], 256],
        126518: [[1579], 256],
        126519: [[1582], 256],
        126521: [[1590], 256],
        126523: [[1594], 256],
        126530: [[1580], 256],
        126535: [[1581], 256],
        126537: [[1610], 256],
        126539: [[1604], 256],
        126541: [[1606], 256],
        126542: [[1587], 256],
        126543: [[1593], 256],
        126545: [[1589], 256],
        126546: [[1602], 256],
        126548: [[1588], 256],
        126551: [[1582], 256],
        126553: [[1590], 256],
        126555: [[1594], 256],
        126557: [[1722], 256],
        126559: [[1647], 256],
        126561: [[1576], 256],
        126562: [[1580], 256],
        126564: [[1607], 256],
        126567: [[1581], 256],
        126568: [[1591], 256],
        126569: [[1610], 256],
        126570: [[1603], 256],
        126572: [[1605], 256],
        126573: [[1606], 256],
        126574: [[1587], 256],
        126575: [[1593], 256],
        126576: [[1601], 256],
        126577: [[1589], 256],
        126578: [[1602], 256],
        126580: [[1588], 256],
        126581: [[1578], 256],
        126582: [[1579], 256],
        126583: [[1582], 256],
        126585: [[1590], 256],
        126586: [[1592], 256],
        126587: [[1594], 256],
        126588: [[1646], 256],
        126590: [[1697], 256],
        126592: [[1575], 256],
        126593: [[1576], 256],
        126594: [[1580], 256],
        126595: [[1583], 256],
        126596: [[1607], 256],
        126597: [[1608], 256],
        126598: [[1586], 256],
        126599: [[1581], 256],
        126600: [[1591], 256],
        126601: [[1610], 256],
        126603: [[1604], 256],
        126604: [[1605], 256],
        126605: [[1606], 256],
        126606: [[1587], 256],
        126607: [[1593], 256],
        126608: [[1601], 256],
        126609: [[1589], 256],
        126610: [[1602], 256],
        126611: [[1585], 256],
        126612: [[1588], 256],
        126613: [[1578], 256],
        126614: [[1579], 256],
        126615: [[1582], 256],
        126616: [[1584], 256],
        126617: [[1590], 256],
        126618: [[1592], 256],
        126619: [[1594], 256],
        126625: [[1576], 256],
        126626: [[1580], 256],
        126627: [[1583], 256],
        126629: [[1608], 256],
        126630: [[1586], 256],
        126631: [[1581], 256],
        126632: [[1591], 256],
        126633: [[1610], 256],
        126635: [[1604], 256],
        126636: [[1605], 256],
        126637: [[1606], 256],
        126638: [[1587], 256],
        126639: [[1593], 256],
        126640: [[1601], 256],
        126641: [[1589], 256],
        126642: [[1602], 256],
        126643: [[1585], 256],
        126644: [[1588], 256],
        126645: [[1578], 256],
        126646: [[1579], 256],
        126647: [[1582], 256],
        126648: [[1584], 256],
        126649: [[1590], 256],
        126650: [[1592], 256],
        126651: [[1594], 256],
      },
      61696: {
        127232: [[48, 46], 256],
        127233: [[48, 44], 256],
        127234: [[49, 44], 256],
        127235: [[50, 44], 256],
        127236: [[51, 44], 256],
        127237: [[52, 44], 256],
        127238: [[53, 44], 256],
        127239: [[54, 44], 256],
        127240: [[55, 44], 256],
        127241: [[56, 44], 256],
        127242: [[57, 44], 256],
        127248: [[40, 65, 41], 256],
        127249: [[40, 66, 41], 256],
        127250: [[40, 67, 41], 256],
        127251: [[40, 68, 41], 256],
        127252: [[40, 69, 41], 256],
        127253: [[40, 70, 41], 256],
        127254: [[40, 71, 41], 256],
        127255: [[40, 72, 41], 256],
        127256: [[40, 73, 41], 256],
        127257: [[40, 74, 41], 256],
        127258: [[40, 75, 41], 256],
        127259: [[40, 76, 41], 256],
        127260: [[40, 77, 41], 256],
        127261: [[40, 78, 41], 256],
        127262: [[40, 79, 41], 256],
        127263: [[40, 80, 41], 256],
        127264: [[40, 81, 41], 256],
        127265: [[40, 82, 41], 256],
        127266: [[40, 83, 41], 256],
        127267: [[40, 84, 41], 256],
        127268: [[40, 85, 41], 256],
        127269: [[40, 86, 41], 256],
        127270: [[40, 87, 41], 256],
        127271: [[40, 88, 41], 256],
        127272: [[40, 89, 41], 256],
        127273: [[40, 90, 41], 256],
        127274: [[12308, 83, 12309], 256],
        127275: [[67], 256],
        127276: [[82], 256],
        127277: [[67, 68], 256],
        127278: [[87, 90], 256],
        127280: [[65], 256],
        127281: [[66], 256],
        127282: [[67], 256],
        127283: [[68], 256],
        127284: [[69], 256],
        127285: [[70], 256],
        127286: [[71], 256],
        127287: [[72], 256],
        127288: [[73], 256],
        127289: [[74], 256],
        127290: [[75], 256],
        127291: [[76], 256],
        127292: [[77], 256],
        127293: [[78], 256],
        127294: [[79], 256],
        127295: [[80], 256],
        127296: [[81], 256],
        127297: [[82], 256],
        127298: [[83], 256],
        127299: [[84], 256],
        127300: [[85], 256],
        127301: [[86], 256],
        127302: [[87], 256],
        127303: [[88], 256],
        127304: [[89], 256],
        127305: [[90], 256],
        127306: [[72, 86], 256],
        127307: [[77, 86], 256],
        127308: [[83, 68], 256],
        127309: [[83, 83], 256],
        127310: [[80, 80, 86], 256],
        127311: [[87, 67], 256],
        127338: [[77, 67], 256],
        127339: [[77, 68], 256],
        127376: [[68, 74], 256],
      },
      61952: {
        127488: [[12411, 12363], 256],
        127489: [[12467, 12467], 256],
        127490: [[12469], 256],
        127504: [[25163], 256],
        127505: [[23383], 256],
        127506: [[21452], 256],
        127507: [[12487], 256],
        127508: [[20108], 256],
        127509: [[22810], 256],
        127510: [[35299], 256],
        127511: [[22825], 256],
        127512: [[20132], 256],
        127513: [[26144], 256],
        127514: [[28961], 256],
        127515: [[26009], 256],
        127516: [[21069], 256],
        127517: [[24460], 256],
        127518: [[20877], 256],
        127519: [[26032], 256],
        127520: [[21021], 256],
        127521: [[32066], 256],
        127522: [[29983], 256],
        127523: [[36009], 256],
        127524: [[22768], 256],
        127525: [[21561], 256],
        127526: [[28436], 256],
        127527: [[25237], 256],
        127528: [[25429], 256],
        127529: [[19968], 256],
        127530: [[19977], 256],
        127531: [[36938], 256],
        127532: [[24038], 256],
        127533: [[20013], 256],
        127534: [[21491], 256],
        127535: [[25351], 256],
        127536: [[36208], 256],
        127537: [[25171], 256],
        127538: [[31105], 256],
        127539: [[31354], 256],
        127540: [[21512], 256],
        127541: [[28288], 256],
        127542: [[26377], 256],
        127543: [[26376], 256],
        127544: [[30003], 256],
        127545: [[21106], 256],
        127546: [[21942], 256],
        127552: [[12308, 26412, 12309], 256],
        127553: [[12308, 19977, 12309], 256],
        127554: [[12308, 20108, 12309], 256],
        127555: [[12308, 23433, 12309], 256],
        127556: [[12308, 28857, 12309], 256],
        127557: [[12308, 25171, 12309], 256],
        127558: [[12308, 30423, 12309], 256],
        127559: [[12308, 21213, 12309], 256],
        127560: [[12308, 25943, 12309], 256],
        127568: [[24471], 256],
        127569: [[21487], 256],
      },
      63488: {
        194560: [[20029]],
        194561: [[20024]],
        194562: [[20033]],
        194563: [[131362]],
        194564: [[20320]],
        194565: [[20398]],
        194566: [[20411]],
        194567: [[20482]],
        194568: [[20602]],
        194569: [[20633]],
        194570: [[20711]],
        194571: [[20687]],
        194572: [[13470]],
        194573: [[132666]],
        194574: [[20813]],
        194575: [[20820]],
        194576: [[20836]],
        194577: [[20855]],
        194578: [[132380]],
        194579: [[13497]],
        194580: [[20839]],
        194581: [[20877]],
        194582: [[132427]],
        194583: [[20887]],
        194584: [[20900]],
        194585: [[20172]],
        194586: [[20908]],
        194587: [[20917]],
        194588: [[168415]],
        194589: [[20981]],
        194590: [[20995]],
        194591: [[13535]],
        194592: [[21051]],
        194593: [[21062]],
        194594: [[21106]],
        194595: [[21111]],
        194596: [[13589]],
        194597: [[21191]],
        194598: [[21193]],
        194599: [[21220]],
        194600: [[21242]],
        194601: [[21253]],
        194602: [[21254]],
        194603: [[21271]],
        194604: [[21321]],
        194605: [[21329]],
        194606: [[21338]],
        194607: [[21363]],
        194608: [[21373]],
        194609: [[21375]],
        194610: [[21375]],
        194611: [[21375]],
        194612: [[133676]],
        194613: [[28784]],
        194614: [[21450]],
        194615: [[21471]],
        194616: [[133987]],
        194617: [[21483]],
        194618: [[21489]],
        194619: [[21510]],
        194620: [[21662]],
        194621: [[21560]],
        194622: [[21576]],
        194623: [[21608]],
        194624: [[21666]],
        194625: [[21750]],
        194626: [[21776]],
        194627: [[21843]],
        194628: [[21859]],
        194629: [[21892]],
        194630: [[21892]],
        194631: [[21913]],
        194632: [[21931]],
        194633: [[21939]],
        194634: [[21954]],
        194635: [[22294]],
        194636: [[22022]],
        194637: [[22295]],
        194638: [[22097]],
        194639: [[22132]],
        194640: [[20999]],
        194641: [[22766]],
        194642: [[22478]],
        194643: [[22516]],
        194644: [[22541]],
        194645: [[22411]],
        194646: [[22578]],
        194647: [[22577]],
        194648: [[22700]],
        194649: [[136420]],
        194650: [[22770]],
        194651: [[22775]],
        194652: [[22790]],
        194653: [[22810]],
        194654: [[22818]],
        194655: [[22882]],
        194656: [[136872]],
        194657: [[136938]],
        194658: [[23020]],
        194659: [[23067]],
        194660: [[23079]],
        194661: [[23e3]],
        194662: [[23142]],
        194663: [[14062]],
        194664: [[14076]],
        194665: [[23304]],
        194666: [[23358]],
        194667: [[23358]],
        194668: [[137672]],
        194669: [[23491]],
        194670: [[23512]],
        194671: [[23527]],
        194672: [[23539]],
        194673: [[138008]],
        194674: [[23551]],
        194675: [[23558]],
        194676: [[24403]],
        194677: [[23586]],
        194678: [[14209]],
        194679: [[23648]],
        194680: [[23662]],
        194681: [[23744]],
        194682: [[23693]],
        194683: [[138724]],
        194684: [[23875]],
        194685: [[138726]],
        194686: [[23918]],
        194687: [[23915]],
        194688: [[23932]],
        194689: [[24033]],
        194690: [[24034]],
        194691: [[14383]],
        194692: [[24061]],
        194693: [[24104]],
        194694: [[24125]],
        194695: [[24169]],
        194696: [[14434]],
        194697: [[139651]],
        194698: [[14460]],
        194699: [[24240]],
        194700: [[24243]],
        194701: [[24246]],
        194702: [[24266]],
        194703: [[172946]],
        194704: [[24318]],
        194705: [[140081]],
        194706: [[140081]],
        194707: [[33281]],
        194708: [[24354]],
        194709: [[24354]],
        194710: [[14535]],
        194711: [[144056]],
        194712: [[156122]],
        194713: [[24418]],
        194714: [[24427]],
        194715: [[14563]],
        194716: [[24474]],
        194717: [[24525]],
        194718: [[24535]],
        194719: [[24569]],
        194720: [[24705]],
        194721: [[14650]],
        194722: [[14620]],
        194723: [[24724]],
        194724: [[141012]],
        194725: [[24775]],
        194726: [[24904]],
        194727: [[24908]],
        194728: [[24910]],
        194729: [[24908]],
        194730: [[24954]],
        194731: [[24974]],
        194732: [[25010]],
        194733: [[24996]],
        194734: [[25007]],
        194735: [[25054]],
        194736: [[25074]],
        194737: [[25078]],
        194738: [[25104]],
        194739: [[25115]],
        194740: [[25181]],
        194741: [[25265]],
        194742: [[25300]],
        194743: [[25424]],
        194744: [[142092]],
        194745: [[25405]],
        194746: [[25340]],
        194747: [[25448]],
        194748: [[25475]],
        194749: [[25572]],
        194750: [[142321]],
        194751: [[25634]],
        194752: [[25541]],
        194753: [[25513]],
        194754: [[14894]],
        194755: [[25705]],
        194756: [[25726]],
        194757: [[25757]],
        194758: [[25719]],
        194759: [[14956]],
        194760: [[25935]],
        194761: [[25964]],
        194762: [[143370]],
        194763: [[26083]],
        194764: [[26360]],
        194765: [[26185]],
        194766: [[15129]],
        194767: [[26257]],
        194768: [[15112]],
        194769: [[15076]],
        194770: [[20882]],
        194771: [[20885]],
        194772: [[26368]],
        194773: [[26268]],
        194774: [[32941]],
        194775: [[17369]],
        194776: [[26391]],
        194777: [[26395]],
        194778: [[26401]],
        194779: [[26462]],
        194780: [[26451]],
        194781: [[144323]],
        194782: [[15177]],
        194783: [[26618]],
        194784: [[26501]],
        194785: [[26706]],
        194786: [[26757]],
        194787: [[144493]],
        194788: [[26766]],
        194789: [[26655]],
        194790: [[26900]],
        194791: [[15261]],
        194792: [[26946]],
        194793: [[27043]],
        194794: [[27114]],
        194795: [[27304]],
        194796: [[145059]],
        194797: [[27355]],
        194798: [[15384]],
        194799: [[27425]],
        194800: [[145575]],
        194801: [[27476]],
        194802: [[15438]],
        194803: [[27506]],
        194804: [[27551]],
        194805: [[27578]],
        194806: [[27579]],
        194807: [[146061]],
        194808: [[138507]],
        194809: [[146170]],
        194810: [[27726]],
        194811: [[146620]],
        194812: [[27839]],
        194813: [[27853]],
        194814: [[27751]],
        194815: [[27926]],
      },
      63744: {
        63744: [[35912]],
        63745: [[26356]],
        63746: [[36554]],
        63747: [[36040]],
        63748: [[28369]],
        63749: [[20018]],
        63750: [[21477]],
        63751: [[40860]],
        63752: [[40860]],
        63753: [[22865]],
        63754: [[37329]],
        63755: [[21895]],
        63756: [[22856]],
        63757: [[25078]],
        63758: [[30313]],
        63759: [[32645]],
        63760: [[34367]],
        63761: [[34746]],
        63762: [[35064]],
        63763: [[37007]],
        63764: [[27138]],
        63765: [[27931]],
        63766: [[28889]],
        63767: [[29662]],
        63768: [[33853]],
        63769: [[37226]],
        63770: [[39409]],
        63771: [[20098]],
        63772: [[21365]],
        63773: [[27396]],
        63774: [[29211]],
        63775: [[34349]],
        63776: [[40478]],
        63777: [[23888]],
        63778: [[28651]],
        63779: [[34253]],
        63780: [[35172]],
        63781: [[25289]],
        63782: [[33240]],
        63783: [[34847]],
        63784: [[24266]],
        63785: [[26391]],
        63786: [[28010]],
        63787: [[29436]],
        63788: [[37070]],
        63789: [[20358]],
        63790: [[20919]],
        63791: [[21214]],
        63792: [[25796]],
        63793: [[27347]],
        63794: [[29200]],
        63795: [[30439]],
        63796: [[32769]],
        63797: [[34310]],
        63798: [[34396]],
        63799: [[36335]],
        63800: [[38706]],
        63801: [[39791]],
        63802: [[40442]],
        63803: [[30860]],
        63804: [[31103]],
        63805: [[32160]],
        63806: [[33737]],
        63807: [[37636]],
        63808: [[40575]],
        63809: [[35542]],
        63810: [[22751]],
        63811: [[24324]],
        63812: [[31840]],
        63813: [[32894]],
        63814: [[29282]],
        63815: [[30922]],
        63816: [[36034]],
        63817: [[38647]],
        63818: [[22744]],
        63819: [[23650]],
        63820: [[27155]],
        63821: [[28122]],
        63822: [[28431]],
        63823: [[32047]],
        63824: [[32311]],
        63825: [[38475]],
        63826: [[21202]],
        63827: [[32907]],
        63828: [[20956]],
        63829: [[20940]],
        63830: [[31260]],
        63831: [[32190]],
        63832: [[33777]],
        63833: [[38517]],
        63834: [[35712]],
        63835: [[25295]],
        63836: [[27138]],
        63837: [[35582]],
        63838: [[20025]],
        63839: [[23527]],
        63840: [[24594]],
        63841: [[29575]],
        63842: [[30064]],
        63843: [[21271]],
        63844: [[30971]],
        63845: [[20415]],
        63846: [[24489]],
        63847: [[19981]],
        63848: [[27852]],
        63849: [[25976]],
        63850: [[32034]],
        63851: [[21443]],
        63852: [[22622]],
        63853: [[30465]],
        63854: [[33865]],
        63855: [[35498]],
        63856: [[27578]],
        63857: [[36784]],
        63858: [[27784]],
        63859: [[25342]],
        63860: [[33509]],
        63861: [[25504]],
        63862: [[30053]],
        63863: [[20142]],
        63864: [[20841]],
        63865: [[20937]],
        63866: [[26753]],
        63867: [[31975]],
        63868: [[33391]],
        63869: [[35538]],
        63870: [[37327]],
        63871: [[21237]],
        63872: [[21570]],
        63873: [[22899]],
        63874: [[24300]],
        63875: [[26053]],
        63876: [[28670]],
        63877: [[31018]],
        63878: [[38317]],
        63879: [[39530]],
        63880: [[40599]],
        63881: [[40654]],
        63882: [[21147]],
        63883: [[26310]],
        63884: [[27511]],
        63885: [[36706]],
        63886: [[24180]],
        63887: [[24976]],
        63888: [[25088]],
        63889: [[25754]],
        63890: [[28451]],
        63891: [[29001]],
        63892: [[29833]],
        63893: [[31178]],
        63894: [[32244]],
        63895: [[32879]],
        63896: [[36646]],
        63897: [[34030]],
        63898: [[36899]],
        63899: [[37706]],
        63900: [[21015]],
        63901: [[21155]],
        63902: [[21693]],
        63903: [[28872]],
        63904: [[35010]],
        63905: [[35498]],
        63906: [[24265]],
        63907: [[24565]],
        63908: [[25467]],
        63909: [[27566]],
        63910: [[31806]],
        63911: [[29557]],
        63912: [[20196]],
        63913: [[22265]],
        63914: [[23527]],
        63915: [[23994]],
        63916: [[24604]],
        63917: [[29618]],
        63918: [[29801]],
        63919: [[32666]],
        63920: [[32838]],
        63921: [[37428]],
        63922: [[38646]],
        63923: [[38728]],
        63924: [[38936]],
        63925: [[20363]],
        63926: [[31150]],
        63927: [[37300]],
        63928: [[38584]],
        63929: [[24801]],
        63930: [[20102]],
        63931: [[20698]],
        63932: [[23534]],
        63933: [[23615]],
        63934: [[26009]],
        63935: [[27138]],
        63936: [[29134]],
        63937: [[30274]],
        63938: [[34044]],
        63939: [[36988]],
        63940: [[40845]],
        63941: [[26248]],
        63942: [[38446]],
        63943: [[21129]],
        63944: [[26491]],
        63945: [[26611]],
        63946: [[27969]],
        63947: [[28316]],
        63948: [[29705]],
        63949: [[30041]],
        63950: [[30827]],
        63951: [[32016]],
        63952: [[39006]],
        63953: [[20845]],
        63954: [[25134]],
        63955: [[38520]],
        63956: [[20523]],
        63957: [[23833]],
        63958: [[28138]],
        63959: [[36650]],
        63960: [[24459]],
        63961: [[24900]],
        63962: [[26647]],
        63963: [[29575]],
        63964: [[38534]],
        63965: [[21033]],
        63966: [[21519]],
        63967: [[23653]],
        63968: [[26131]],
        63969: [[26446]],
        63970: [[26792]],
        63971: [[27877]],
        63972: [[29702]],
        63973: [[30178]],
        63974: [[32633]],
        63975: [[35023]],
        63976: [[35041]],
        63977: [[37324]],
        63978: [[38626]],
        63979: [[21311]],
        63980: [[28346]],
        63981: [[21533]],
        63982: [[29136]],
        63983: [[29848]],
        63984: [[34298]],
        63985: [[38563]],
        63986: [[40023]],
        63987: [[40607]],
        63988: [[26519]],
        63989: [[28107]],
        63990: [[33256]],
        63991: [[31435]],
        63992: [[31520]],
        63993: [[31890]],
        63994: [[29376]],
        63995: [[28825]],
        63996: [[35672]],
        63997: [[20160]],
        63998: [[33590]],
        63999: [[21050]],
        194816: [[27966]],
        194817: [[28023]],
        194818: [[27969]],
        194819: [[28009]],
        194820: [[28024]],
        194821: [[28037]],
        194822: [[146718]],
        194823: [[27956]],
        194824: [[28207]],
        194825: [[28270]],
        194826: [[15667]],
        194827: [[28363]],
        194828: [[28359]],
        194829: [[147153]],
        194830: [[28153]],
        194831: [[28526]],
        194832: [[147294]],
        194833: [[147342]],
        194834: [[28614]],
        194835: [[28729]],
        194836: [[28702]],
        194837: [[28699]],
        194838: [[15766]],
        194839: [[28746]],
        194840: [[28797]],
        194841: [[28791]],
        194842: [[28845]],
        194843: [[132389]],
        194844: [[28997]],
        194845: [[148067]],
        194846: [[29084]],
        194847: [[148395]],
        194848: [[29224]],
        194849: [[29237]],
        194850: [[29264]],
        194851: [[149e3]],
        194852: [[29312]],
        194853: [[29333]],
        194854: [[149301]],
        194855: [[149524]],
        194856: [[29562]],
        194857: [[29579]],
        194858: [[16044]],
        194859: [[29605]],
        194860: [[16056]],
        194861: [[16056]],
        194862: [[29767]],
        194863: [[29788]],
        194864: [[29809]],
        194865: [[29829]],
        194866: [[29898]],
        194867: [[16155]],
        194868: [[29988]],
        194869: [[150582]],
        194870: [[30014]],
        194871: [[150674]],
        194872: [[30064]],
        194873: [[139679]],
        194874: [[30224]],
        194875: [[151457]],
        194876: [[151480]],
        194877: [[151620]],
        194878: [[16380]],
        194879: [[16392]],
        194880: [[30452]],
        194881: [[151795]],
        194882: [[151794]],
        194883: [[151833]],
        194884: [[151859]],
        194885: [[30494]],
        194886: [[30495]],
        194887: [[30495]],
        194888: [[30538]],
        194889: [[16441]],
        194890: [[30603]],
        194891: [[16454]],
        194892: [[16534]],
        194893: [[152605]],
        194894: [[30798]],
        194895: [[30860]],
        194896: [[30924]],
        194897: [[16611]],
        194898: [[153126]],
        194899: [[31062]],
        194900: [[153242]],
        194901: [[153285]],
        194902: [[31119]],
        194903: [[31211]],
        194904: [[16687]],
        194905: [[31296]],
        194906: [[31306]],
        194907: [[31311]],
        194908: [[153980]],
        194909: [[154279]],
        194910: [[154279]],
        194911: [[31470]],
        194912: [[16898]],
        194913: [[154539]],
        194914: [[31686]],
        194915: [[31689]],
        194916: [[16935]],
        194917: [[154752]],
        194918: [[31954]],
        194919: [[17056]],
        194920: [[31976]],
        194921: [[31971]],
        194922: [[32e3]],
        194923: [[155526]],
        194924: [[32099]],
        194925: [[17153]],
        194926: [[32199]],
        194927: [[32258]],
        194928: [[32325]],
        194929: [[17204]],
        194930: [[156200]],
        194931: [[156231]],
        194932: [[17241]],
        194933: [[156377]],
        194934: [[32634]],
        194935: [[156478]],
        194936: [[32661]],
        194937: [[32762]],
        194938: [[32773]],
        194939: [[156890]],
        194940: [[156963]],
        194941: [[32864]],
        194942: [[157096]],
        194943: [[32880]],
        194944: [[144223]],
        194945: [[17365]],
        194946: [[32946]],
        194947: [[33027]],
        194948: [[17419]],
        194949: [[33086]],
        194950: [[23221]],
        194951: [[157607]],
        194952: [[157621]],
        194953: [[144275]],
        194954: [[144284]],
        194955: [[33281]],
        194956: [[33284]],
        194957: [[36766]],
        194958: [[17515]],
        194959: [[33425]],
        194960: [[33419]],
        194961: [[33437]],
        194962: [[21171]],
        194963: [[33457]],
        194964: [[33459]],
        194965: [[33469]],
        194966: [[33510]],
        194967: [[158524]],
        194968: [[33509]],
        194969: [[33565]],
        194970: [[33635]],
        194971: [[33709]],
        194972: [[33571]],
        194973: [[33725]],
        194974: [[33767]],
        194975: [[33879]],
        194976: [[33619]],
        194977: [[33738]],
        194978: [[33740]],
        194979: [[33756]],
        194980: [[158774]],
        194981: [[159083]],
        194982: [[158933]],
        194983: [[17707]],
        194984: [[34033]],
        194985: [[34035]],
        194986: [[34070]],
        194987: [[160714]],
        194988: [[34148]],
        194989: [[159532]],
        194990: [[17757]],
        194991: [[17761]],
        194992: [[159665]],
        194993: [[159954]],
        194994: [[17771]],
        194995: [[34384]],
        194996: [[34396]],
        194997: [[34407]],
        194998: [[34409]],
        194999: [[34473]],
        195e3: [[34440]],
        195001: [[34574]],
        195002: [[34530]],
        195003: [[34681]],
        195004: [[34600]],
        195005: [[34667]],
        195006: [[34694]],
        195007: [[17879]],
        195008: [[34785]],
        195009: [[34817]],
        195010: [[17913]],
        195011: [[34912]],
        195012: [[34915]],
        195013: [[161383]],
        195014: [[35031]],
        195015: [[35038]],
        195016: [[17973]],
        195017: [[35066]],
        195018: [[13499]],
        195019: [[161966]],
        195020: [[162150]],
        195021: [[18110]],
        195022: [[18119]],
        195023: [[35488]],
        195024: [[35565]],
        195025: [[35722]],
        195026: [[35925]],
        195027: [[162984]],
        195028: [[36011]],
        195029: [[36033]],
        195030: [[36123]],
        195031: [[36215]],
        195032: [[163631]],
        195033: [[133124]],
        195034: [[36299]],
        195035: [[36284]],
        195036: [[36336]],
        195037: [[133342]],
        195038: [[36564]],
        195039: [[36664]],
        195040: [[165330]],
        195041: [[165357]],
        195042: [[37012]],
        195043: [[37105]],
        195044: [[37137]],
        195045: [[165678]],
        195046: [[37147]],
        195047: [[37432]],
        195048: [[37591]],
        195049: [[37592]],
        195050: [[37500]],
        195051: [[37881]],
        195052: [[37909]],
        195053: [[166906]],
        195054: [[38283]],
        195055: [[18837]],
        195056: [[38327]],
        195057: [[167287]],
        195058: [[18918]],
        195059: [[38595]],
        195060: [[23986]],
        195061: [[38691]],
        195062: [[168261]],
        195063: [[168474]],
        195064: [[19054]],
        195065: [[19062]],
        195066: [[38880]],
        195067: [[168970]],
        195068: [[19122]],
        195069: [[169110]],
        195070: [[38923]],
        195071: [[38923]],
      },
      64e3: {
        64e3: [[20999]],
        64001: [[24230]],
        64002: [[25299]],
        64003: [[31958]],
        64004: [[23429]],
        64005: [[27934]],
        64006: [[26292]],
        64007: [[36667]],
        64008: [[34892]],
        64009: [[38477]],
        64010: [[35211]],
        64011: [[24275]],
        64012: [[20800]],
        64013: [[21952]],
        64016: [[22618]],
        64018: [[26228]],
        64021: [[20958]],
        64022: [[29482]],
        64023: [[30410]],
        64024: [[31036]],
        64025: [[31070]],
        64026: [[31077]],
        64027: [[31119]],
        64028: [[38742]],
        64029: [[31934]],
        64030: [[32701]],
        64032: [[34322]],
        64034: [[35576]],
        64037: [[36920]],
        64038: [[37117]],
        64042: [[39151]],
        64043: [[39164]],
        64044: [[39208]],
        64045: [[40372]],
        64046: [[37086]],
        64047: [[38583]],
        64048: [[20398]],
        64049: [[20711]],
        64050: [[20813]],
        64051: [[21193]],
        64052: [[21220]],
        64053: [[21329]],
        64054: [[21917]],
        64055: [[22022]],
        64056: [[22120]],
        64057: [[22592]],
        64058: [[22696]],
        64059: [[23652]],
        64060: [[23662]],
        64061: [[24724]],
        64062: [[24936]],
        64063: [[24974]],
        64064: [[25074]],
        64065: [[25935]],
        64066: [[26082]],
        64067: [[26257]],
        64068: [[26757]],
        64069: [[28023]],
        64070: [[28186]],
        64071: [[28450]],
        64072: [[29038]],
        64073: [[29227]],
        64074: [[29730]],
        64075: [[30865]],
        64076: [[31038]],
        64077: [[31049]],
        64078: [[31048]],
        64079: [[31056]],
        64080: [[31062]],
        64081: [[31069]],
        64082: [[31117]],
        64083: [[31118]],
        64084: [[31296]],
        64085: [[31361]],
        64086: [[31680]],
        64087: [[32244]],
        64088: [[32265]],
        64089: [[32321]],
        64090: [[32626]],
        64091: [[32773]],
        64092: [[33261]],
        64093: [[33401]],
        64094: [[33401]],
        64095: [[33879]],
        64096: [[35088]],
        64097: [[35222]],
        64098: [[35585]],
        64099: [[35641]],
        64100: [[36051]],
        64101: [[36104]],
        64102: [[36790]],
        64103: [[36920]],
        64104: [[38627]],
        64105: [[38911]],
        64106: [[38971]],
        64107: [[24693]],
        64108: [[148206]],
        64109: [[33304]],
        64112: [[20006]],
        64113: [[20917]],
        64114: [[20840]],
        64115: [[20352]],
        64116: [[20805]],
        64117: [[20864]],
        64118: [[21191]],
        64119: [[21242]],
        64120: [[21917]],
        64121: [[21845]],
        64122: [[21913]],
        64123: [[21986]],
        64124: [[22618]],
        64125: [[22707]],
        64126: [[22852]],
        64127: [[22868]],
        64128: [[23138]],
        64129: [[23336]],
        64130: [[24274]],
        64131: [[24281]],
        64132: [[24425]],
        64133: [[24493]],
        64134: [[24792]],
        64135: [[24910]],
        64136: [[24840]],
        64137: [[24974]],
        64138: [[24928]],
        64139: [[25074]],
        64140: [[25140]],
        64141: [[25540]],
        64142: [[25628]],
        64143: [[25682]],
        64144: [[25942]],
        64145: [[26228]],
        64146: [[26391]],
        64147: [[26395]],
        64148: [[26454]],
        64149: [[27513]],
        64150: [[27578]],
        64151: [[27969]],
        64152: [[28379]],
        64153: [[28363]],
        64154: [[28450]],
        64155: [[28702]],
        64156: [[29038]],
        64157: [[30631]],
        64158: [[29237]],
        64159: [[29359]],
        64160: [[29482]],
        64161: [[29809]],
        64162: [[29958]],
        64163: [[30011]],
        64164: [[30237]],
        64165: [[30239]],
        64166: [[30410]],
        64167: [[30427]],
        64168: [[30452]],
        64169: [[30538]],
        64170: [[30528]],
        64171: [[30924]],
        64172: [[31409]],
        64173: [[31680]],
        64174: [[31867]],
        64175: [[32091]],
        64176: [[32244]],
        64177: [[32574]],
        64178: [[32773]],
        64179: [[33618]],
        64180: [[33775]],
        64181: [[34681]],
        64182: [[35137]],
        64183: [[35206]],
        64184: [[35222]],
        64185: [[35519]],
        64186: [[35576]],
        64187: [[35531]],
        64188: [[35585]],
        64189: [[35582]],
        64190: [[35565]],
        64191: [[35641]],
        64192: [[35722]],
        64193: [[36104]],
        64194: [[36664]],
        64195: [[36978]],
        64196: [[37273]],
        64197: [[37494]],
        64198: [[38524]],
        64199: [[38627]],
        64200: [[38742]],
        64201: [[38875]],
        64202: [[38911]],
        64203: [[38923]],
        64204: [[38971]],
        64205: [[39698]],
        64206: [[40860]],
        64207: [[141386]],
        64208: [[141380]],
        64209: [[144341]],
        64210: [[15261]],
        64211: [[16408]],
        64212: [[16441]],
        64213: [[152137]],
        64214: [[154832]],
        64215: [[163539]],
        64216: [[40771]],
        64217: [[40846]],
        195072: [[38953]],
        195073: [[169398]],
        195074: [[39138]],
        195075: [[19251]],
        195076: [[39209]],
        195077: [[39335]],
        195078: [[39362]],
        195079: [[39422]],
        195080: [[19406]],
        195081: [[170800]],
        195082: [[39698]],
        195083: [[4e4]],
        195084: [[40189]],
        195085: [[19662]],
        195086: [[19693]],
        195087: [[40295]],
        195088: [[172238]],
        195089: [[19704]],
        195090: [[172293]],
        195091: [[172558]],
        195092: [[172689]],
        195093: [[40635]],
        195094: [[19798]],
        195095: [[40697]],
        195096: [[40702]],
        195097: [[40709]],
        195098: [[40719]],
        195099: [[40726]],
        195100: [[40763]],
        195101: [[173568]],
      },
      64256: {
        64256: [[102, 102], 256],
        64257: [[102, 105], 256],
        64258: [[102, 108], 256],
        64259: [[102, 102, 105], 256],
        64260: [[102, 102, 108], 256],
        64261: [[383, 116], 256],
        64262: [[115, 116], 256],
        64275: [[1396, 1398], 256],
        64276: [[1396, 1381], 256],
        64277: [[1396, 1387], 256],
        64278: [[1406, 1398], 256],
        64279: [[1396, 1389], 256],
        64285: [[1497, 1460], 512],
        64286: [, 26],
        64287: [[1522, 1463], 512],
        64288: [[1506], 256],
        64289: [[1488], 256],
        64290: [[1491], 256],
        64291: [[1492], 256],
        64292: [[1499], 256],
        64293: [[1500], 256],
        64294: [[1501], 256],
        64295: [[1512], 256],
        64296: [[1514], 256],
        64297: [[43], 256],
        64298: [[1513, 1473], 512],
        64299: [[1513, 1474], 512],
        64300: [[64329, 1473], 512],
        64301: [[64329, 1474], 512],
        64302: [[1488, 1463], 512],
        64303: [[1488, 1464], 512],
        64304: [[1488, 1468], 512],
        64305: [[1489, 1468], 512],
        64306: [[1490, 1468], 512],
        64307: [[1491, 1468], 512],
        64308: [[1492, 1468], 512],
        64309: [[1493, 1468], 512],
        64310: [[1494, 1468], 512],
        64312: [[1496, 1468], 512],
        64313: [[1497, 1468], 512],
        64314: [[1498, 1468], 512],
        64315: [[1499, 1468], 512],
        64316: [[1500, 1468], 512],
        64318: [[1502, 1468], 512],
        64320: [[1504, 1468], 512],
        64321: [[1505, 1468], 512],
        64323: [[1507, 1468], 512],
        64324: [[1508, 1468], 512],
        64326: [[1510, 1468], 512],
        64327: [[1511, 1468], 512],
        64328: [[1512, 1468], 512],
        64329: [[1513, 1468], 512],
        64330: [[1514, 1468], 512],
        64331: [[1493, 1465], 512],
        64332: [[1489, 1471], 512],
        64333: [[1499, 1471], 512],
        64334: [[1508, 1471], 512],
        64335: [[1488, 1500], 256],
        64336: [[1649], 256],
        64337: [[1649], 256],
        64338: [[1659], 256],
        64339: [[1659], 256],
        64340: [[1659], 256],
        64341: [[1659], 256],
        64342: [[1662], 256],
        64343: [[1662], 256],
        64344: [[1662], 256],
        64345: [[1662], 256],
        64346: [[1664], 256],
        64347: [[1664], 256],
        64348: [[1664], 256],
        64349: [[1664], 256],
        64350: [[1658], 256],
        64351: [[1658], 256],
        64352: [[1658], 256],
        64353: [[1658], 256],
        64354: [[1663], 256],
        64355: [[1663], 256],
        64356: [[1663], 256],
        64357: [[1663], 256],
        64358: [[1657], 256],
        64359: [[1657], 256],
        64360: [[1657], 256],
        64361: [[1657], 256],
        64362: [[1700], 256],
        64363: [[1700], 256],
        64364: [[1700], 256],
        64365: [[1700], 256],
        64366: [[1702], 256],
        64367: [[1702], 256],
        64368: [[1702], 256],
        64369: [[1702], 256],
        64370: [[1668], 256],
        64371: [[1668], 256],
        64372: [[1668], 256],
        64373: [[1668], 256],
        64374: [[1667], 256],
        64375: [[1667], 256],
        64376: [[1667], 256],
        64377: [[1667], 256],
        64378: [[1670], 256],
        64379: [[1670], 256],
        64380: [[1670], 256],
        64381: [[1670], 256],
        64382: [[1671], 256],
        64383: [[1671], 256],
        64384: [[1671], 256],
        64385: [[1671], 256],
        64386: [[1677], 256],
        64387: [[1677], 256],
        64388: [[1676], 256],
        64389: [[1676], 256],
        64390: [[1678], 256],
        64391: [[1678], 256],
        64392: [[1672], 256],
        64393: [[1672], 256],
        64394: [[1688], 256],
        64395: [[1688], 256],
        64396: [[1681], 256],
        64397: [[1681], 256],
        64398: [[1705], 256],
        64399: [[1705], 256],
        64400: [[1705], 256],
        64401: [[1705], 256],
        64402: [[1711], 256],
        64403: [[1711], 256],
        64404: [[1711], 256],
        64405: [[1711], 256],
        64406: [[1715], 256],
        64407: [[1715], 256],
        64408: [[1715], 256],
        64409: [[1715], 256],
        64410: [[1713], 256],
        64411: [[1713], 256],
        64412: [[1713], 256],
        64413: [[1713], 256],
        64414: [[1722], 256],
        64415: [[1722], 256],
        64416: [[1723], 256],
        64417: [[1723], 256],
        64418: [[1723], 256],
        64419: [[1723], 256],
        64420: [[1728], 256],
        64421: [[1728], 256],
        64422: [[1729], 256],
        64423: [[1729], 256],
        64424: [[1729], 256],
        64425: [[1729], 256],
        64426: [[1726], 256],
        64427: [[1726], 256],
        64428: [[1726], 256],
        64429: [[1726], 256],
        64430: [[1746], 256],
        64431: [[1746], 256],
        64432: [[1747], 256],
        64433: [[1747], 256],
        64467: [[1709], 256],
        64468: [[1709], 256],
        64469: [[1709], 256],
        64470: [[1709], 256],
        64471: [[1735], 256],
        64472: [[1735], 256],
        64473: [[1734], 256],
        64474: [[1734], 256],
        64475: [[1736], 256],
        64476: [[1736], 256],
        64477: [[1655], 256],
        64478: [[1739], 256],
        64479: [[1739], 256],
        64480: [[1733], 256],
        64481: [[1733], 256],
        64482: [[1737], 256],
        64483: [[1737], 256],
        64484: [[1744], 256],
        64485: [[1744], 256],
        64486: [[1744], 256],
        64487: [[1744], 256],
        64488: [[1609], 256],
        64489: [[1609], 256],
        64490: [[1574, 1575], 256],
        64491: [[1574, 1575], 256],
        64492: [[1574, 1749], 256],
        64493: [[1574, 1749], 256],
        64494: [[1574, 1608], 256],
        64495: [[1574, 1608], 256],
        64496: [[1574, 1735], 256],
        64497: [[1574, 1735], 256],
        64498: [[1574, 1734], 256],
        64499: [[1574, 1734], 256],
        64500: [[1574, 1736], 256],
        64501: [[1574, 1736], 256],
        64502: [[1574, 1744], 256],
        64503: [[1574, 1744], 256],
        64504: [[1574, 1744], 256],
        64505: [[1574, 1609], 256],
        64506: [[1574, 1609], 256],
        64507: [[1574, 1609], 256],
        64508: [[1740], 256],
        64509: [[1740], 256],
        64510: [[1740], 256],
        64511: [[1740], 256],
      },
      64512: {
        64512: [[1574, 1580], 256],
        64513: [[1574, 1581], 256],
        64514: [[1574, 1605], 256],
        64515: [[1574, 1609], 256],
        64516: [[1574, 1610], 256],
        64517: [[1576, 1580], 256],
        64518: [[1576, 1581], 256],
        64519: [[1576, 1582], 256],
        64520: [[1576, 1605], 256],
        64521: [[1576, 1609], 256],
        64522: [[1576, 1610], 256],
        64523: [[1578, 1580], 256],
        64524: [[1578, 1581], 256],
        64525: [[1578, 1582], 256],
        64526: [[1578, 1605], 256],
        64527: [[1578, 1609], 256],
        64528: [[1578, 1610], 256],
        64529: [[1579, 1580], 256],
        64530: [[1579, 1605], 256],
        64531: [[1579, 1609], 256],
        64532: [[1579, 1610], 256],
        64533: [[1580, 1581], 256],
        64534: [[1580, 1605], 256],
        64535: [[1581, 1580], 256],
        64536: [[1581, 1605], 256],
        64537: [[1582, 1580], 256],
        64538: [[1582, 1581], 256],
        64539: [[1582, 1605], 256],
        64540: [[1587, 1580], 256],
        64541: [[1587, 1581], 256],
        64542: [[1587, 1582], 256],
        64543: [[1587, 1605], 256],
        64544: [[1589, 1581], 256],
        64545: [[1589, 1605], 256],
        64546: [[1590, 1580], 256],
        64547: [[1590, 1581], 256],
        64548: [[1590, 1582], 256],
        64549: [[1590, 1605], 256],
        64550: [[1591, 1581], 256],
        64551: [[1591, 1605], 256],
        64552: [[1592, 1605], 256],
        64553: [[1593, 1580], 256],
        64554: [[1593, 1605], 256],
        64555: [[1594, 1580], 256],
        64556: [[1594, 1605], 256],
        64557: [[1601, 1580], 256],
        64558: [[1601, 1581], 256],
        64559: [[1601, 1582], 256],
        64560: [[1601, 1605], 256],
        64561: [[1601, 1609], 256],
        64562: [[1601, 1610], 256],
        64563: [[1602, 1581], 256],
        64564: [[1602, 1605], 256],
        64565: [[1602, 1609], 256],
        64566: [[1602, 1610], 256],
        64567: [[1603, 1575], 256],
        64568: [[1603, 1580], 256],
        64569: [[1603, 1581], 256],
        64570: [[1603, 1582], 256],
        64571: [[1603, 1604], 256],
        64572: [[1603, 1605], 256],
        64573: [[1603, 1609], 256],
        64574: [[1603, 1610], 256],
        64575: [[1604, 1580], 256],
        64576: [[1604, 1581], 256],
        64577: [[1604, 1582], 256],
        64578: [[1604, 1605], 256],
        64579: [[1604, 1609], 256],
        64580: [[1604, 1610], 256],
        64581: [[1605, 1580], 256],
        64582: [[1605, 1581], 256],
        64583: [[1605, 1582], 256],
        64584: [[1605, 1605], 256],
        64585: [[1605, 1609], 256],
        64586: [[1605, 1610], 256],
        64587: [[1606, 1580], 256],
        64588: [[1606, 1581], 256],
        64589: [[1606, 1582], 256],
        64590: [[1606, 1605], 256],
        64591: [[1606, 1609], 256],
        64592: [[1606, 1610], 256],
        64593: [[1607, 1580], 256],
        64594: [[1607, 1605], 256],
        64595: [[1607, 1609], 256],
        64596: [[1607, 1610], 256],
        64597: [[1610, 1580], 256],
        64598: [[1610, 1581], 256],
        64599: [[1610, 1582], 256],
        64600: [[1610, 1605], 256],
        64601: [[1610, 1609], 256],
        64602: [[1610, 1610], 256],
        64603: [[1584, 1648], 256],
        64604: [[1585, 1648], 256],
        64605: [[1609, 1648], 256],
        64606: [[32, 1612, 1617], 256],
        64607: [[32, 1613, 1617], 256],
        64608: [[32, 1614, 1617], 256],
        64609: [[32, 1615, 1617], 256],
        64610: [[32, 1616, 1617], 256],
        64611: [[32, 1617, 1648], 256],
        64612: [[1574, 1585], 256],
        64613: [[1574, 1586], 256],
        64614: [[1574, 1605], 256],
        64615: [[1574, 1606], 256],
        64616: [[1574, 1609], 256],
        64617: [[1574, 1610], 256],
        64618: [[1576, 1585], 256],
        64619: [[1576, 1586], 256],
        64620: [[1576, 1605], 256],
        64621: [[1576, 1606], 256],
        64622: [[1576, 1609], 256],
        64623: [[1576, 1610], 256],
        64624: [[1578, 1585], 256],
        64625: [[1578, 1586], 256],
        64626: [[1578, 1605], 256],
        64627: [[1578, 1606], 256],
        64628: [[1578, 1609], 256],
        64629: [[1578, 1610], 256],
        64630: [[1579, 1585], 256],
        64631: [[1579, 1586], 256],
        64632: [[1579, 1605], 256],
        64633: [[1579, 1606], 256],
        64634: [[1579, 1609], 256],
        64635: [[1579, 1610], 256],
        64636: [[1601, 1609], 256],
        64637: [[1601, 1610], 256],
        64638: [[1602, 1609], 256],
        64639: [[1602, 1610], 256],
        64640: [[1603, 1575], 256],
        64641: [[1603, 1604], 256],
        64642: [[1603, 1605], 256],
        64643: [[1603, 1609], 256],
        64644: [[1603, 1610], 256],
        64645: [[1604, 1605], 256],
        64646: [[1604, 1609], 256],
        64647: [[1604, 1610], 256],
        64648: [[1605, 1575], 256],
        64649: [[1605, 1605], 256],
        64650: [[1606, 1585], 256],
        64651: [[1606, 1586], 256],
        64652: [[1606, 1605], 256],
        64653: [[1606, 1606], 256],
        64654: [[1606, 1609], 256],
        64655: [[1606, 1610], 256],
        64656: [[1609, 1648], 256],
        64657: [[1610, 1585], 256],
        64658: [[1610, 1586], 256],
        64659: [[1610, 1605], 256],
        64660: [[1610, 1606], 256],
        64661: [[1610, 1609], 256],
        64662: [[1610, 1610], 256],
        64663: [[1574, 1580], 256],
        64664: [[1574, 1581], 256],
        64665: [[1574, 1582], 256],
        64666: [[1574, 1605], 256],
        64667: [[1574, 1607], 256],
        64668: [[1576, 1580], 256],
        64669: [[1576, 1581], 256],
        64670: [[1576, 1582], 256],
        64671: [[1576, 1605], 256],
        64672: [[1576, 1607], 256],
        64673: [[1578, 1580], 256],
        64674: [[1578, 1581], 256],
        64675: [[1578, 1582], 256],
        64676: [[1578, 1605], 256],
        64677: [[1578, 1607], 256],
        64678: [[1579, 1605], 256],
        64679: [[1580, 1581], 256],
        64680: [[1580, 1605], 256],
        64681: [[1581, 1580], 256],
        64682: [[1581, 1605], 256],
        64683: [[1582, 1580], 256],
        64684: [[1582, 1605], 256],
        64685: [[1587, 1580], 256],
        64686: [[1587, 1581], 256],
        64687: [[1587, 1582], 256],
        64688: [[1587, 1605], 256],
        64689: [[1589, 1581], 256],
        64690: [[1589, 1582], 256],
        64691: [[1589, 1605], 256],
        64692: [[1590, 1580], 256],
        64693: [[1590, 1581], 256],
        64694: [[1590, 1582], 256],
        64695: [[1590, 1605], 256],
        64696: [[1591, 1581], 256],
        64697: [[1592, 1605], 256],
        64698: [[1593, 1580], 256],
        64699: [[1593, 1605], 256],
        64700: [[1594, 1580], 256],
        64701: [[1594, 1605], 256],
        64702: [[1601, 1580], 256],
        64703: [[1601, 1581], 256],
        64704: [[1601, 1582], 256],
        64705: [[1601, 1605], 256],
        64706: [[1602, 1581], 256],
        64707: [[1602, 1605], 256],
        64708: [[1603, 1580], 256],
        64709: [[1603, 1581], 256],
        64710: [[1603, 1582], 256],
        64711: [[1603, 1604], 256],
        64712: [[1603, 1605], 256],
        64713: [[1604, 1580], 256],
        64714: [[1604, 1581], 256],
        64715: [[1604, 1582], 256],
        64716: [[1604, 1605], 256],
        64717: [[1604, 1607], 256],
        64718: [[1605, 1580], 256],
        64719: [[1605, 1581], 256],
        64720: [[1605, 1582], 256],
        64721: [[1605, 1605], 256],
        64722: [[1606, 1580], 256],
        64723: [[1606, 1581], 256],
        64724: [[1606, 1582], 256],
        64725: [[1606, 1605], 256],
        64726: [[1606, 1607], 256],
        64727: [[1607, 1580], 256],
        64728: [[1607, 1605], 256],
        64729: [[1607, 1648], 256],
        64730: [[1610, 1580], 256],
        64731: [[1610, 1581], 256],
        64732: [[1610, 1582], 256],
        64733: [[1610, 1605], 256],
        64734: [[1610, 1607], 256],
        64735: [[1574, 1605], 256],
        64736: [[1574, 1607], 256],
        64737: [[1576, 1605], 256],
        64738: [[1576, 1607], 256],
        64739: [[1578, 1605], 256],
        64740: [[1578, 1607], 256],
        64741: [[1579, 1605], 256],
        64742: [[1579, 1607], 256],
        64743: [[1587, 1605], 256],
        64744: [[1587, 1607], 256],
        64745: [[1588, 1605], 256],
        64746: [[1588, 1607], 256],
        64747: [[1603, 1604], 256],
        64748: [[1603, 1605], 256],
        64749: [[1604, 1605], 256],
        64750: [[1606, 1605], 256],
        64751: [[1606, 1607], 256],
        64752: [[1610, 1605], 256],
        64753: [[1610, 1607], 256],
        64754: [[1600, 1614, 1617], 256],
        64755: [[1600, 1615, 1617], 256],
        64756: [[1600, 1616, 1617], 256],
        64757: [[1591, 1609], 256],
        64758: [[1591, 1610], 256],
        64759: [[1593, 1609], 256],
        64760: [[1593, 1610], 256],
        64761: [[1594, 1609], 256],
        64762: [[1594, 1610], 256],
        64763: [[1587, 1609], 256],
        64764: [[1587, 1610], 256],
        64765: [[1588, 1609], 256],
        64766: [[1588, 1610], 256],
        64767: [[1581, 1609], 256],
      },
      64768: {
        64768: [[1581, 1610], 256],
        64769: [[1580, 1609], 256],
        64770: [[1580, 1610], 256],
        64771: [[1582, 1609], 256],
        64772: [[1582, 1610], 256],
        64773: [[1589, 1609], 256],
        64774: [[1589, 1610], 256],
        64775: [[1590, 1609], 256],
        64776: [[1590, 1610], 256],
        64777: [[1588, 1580], 256],
        64778: [[1588, 1581], 256],
        64779: [[1588, 1582], 256],
        64780: [[1588, 1605], 256],
        64781: [[1588, 1585], 256],
        64782: [[1587, 1585], 256],
        64783: [[1589, 1585], 256],
        64784: [[1590, 1585], 256],
        64785: [[1591, 1609], 256],
        64786: [[1591, 1610], 256],
        64787: [[1593, 1609], 256],
        64788: [[1593, 1610], 256],
        64789: [[1594, 1609], 256],
        64790: [[1594, 1610], 256],
        64791: [[1587, 1609], 256],
        64792: [[1587, 1610], 256],
        64793: [[1588, 1609], 256],
        64794: [[1588, 1610], 256],
        64795: [[1581, 1609], 256],
        64796: [[1581, 1610], 256],
        64797: [[1580, 1609], 256],
        64798: [[1580, 1610], 256],
        64799: [[1582, 1609], 256],
        64800: [[1582, 1610], 256],
        64801: [[1589, 1609], 256],
        64802: [[1589, 1610], 256],
        64803: [[1590, 1609], 256],
        64804: [[1590, 1610], 256],
        64805: [[1588, 1580], 256],
        64806: [[1588, 1581], 256],
        64807: [[1588, 1582], 256],
        64808: [[1588, 1605], 256],
        64809: [[1588, 1585], 256],
        64810: [[1587, 1585], 256],
        64811: [[1589, 1585], 256],
        64812: [[1590, 1585], 256],
        64813: [[1588, 1580], 256],
        64814: [[1588, 1581], 256],
        64815: [[1588, 1582], 256],
        64816: [[1588, 1605], 256],
        64817: [[1587, 1607], 256],
        64818: [[1588, 1607], 256],
        64819: [[1591, 1605], 256],
        64820: [[1587, 1580], 256],
        64821: [[1587, 1581], 256],
        64822: [[1587, 1582], 256],
        64823: [[1588, 1580], 256],
        64824: [[1588, 1581], 256],
        64825: [[1588, 1582], 256],
        64826: [[1591, 1605], 256],
        64827: [[1592, 1605], 256],
        64828: [[1575, 1611], 256],
        64829: [[1575, 1611], 256],
        64848: [[1578, 1580, 1605], 256],
        64849: [[1578, 1581, 1580], 256],
        64850: [[1578, 1581, 1580], 256],
        64851: [[1578, 1581, 1605], 256],
        64852: [[1578, 1582, 1605], 256],
        64853: [[1578, 1605, 1580], 256],
        64854: [[1578, 1605, 1581], 256],
        64855: [[1578, 1605, 1582], 256],
        64856: [[1580, 1605, 1581], 256],
        64857: [[1580, 1605, 1581], 256],
        64858: [[1581, 1605, 1610], 256],
        64859: [[1581, 1605, 1609], 256],
        64860: [[1587, 1581, 1580], 256],
        64861: [[1587, 1580, 1581], 256],
        64862: [[1587, 1580, 1609], 256],
        64863: [[1587, 1605, 1581], 256],
        64864: [[1587, 1605, 1581], 256],
        64865: [[1587, 1605, 1580], 256],
        64866: [[1587, 1605, 1605], 256],
        64867: [[1587, 1605, 1605], 256],
        64868: [[1589, 1581, 1581], 256],
        64869: [[1589, 1581, 1581], 256],
        64870: [[1589, 1605, 1605], 256],
        64871: [[1588, 1581, 1605], 256],
        64872: [[1588, 1581, 1605], 256],
        64873: [[1588, 1580, 1610], 256],
        64874: [[1588, 1605, 1582], 256],
        64875: [[1588, 1605, 1582], 256],
        64876: [[1588, 1605, 1605], 256],
        64877: [[1588, 1605, 1605], 256],
        64878: [[1590, 1581, 1609], 256],
        64879: [[1590, 1582, 1605], 256],
        64880: [[1590, 1582, 1605], 256],
        64881: [[1591, 1605, 1581], 256],
        64882: [[1591, 1605, 1581], 256],
        64883: [[1591, 1605, 1605], 256],
        64884: [[1591, 1605, 1610], 256],
        64885: [[1593, 1580, 1605], 256],
        64886: [[1593, 1605, 1605], 256],
        64887: [[1593, 1605, 1605], 256],
        64888: [[1593, 1605, 1609], 256],
        64889: [[1594, 1605, 1605], 256],
        64890: [[1594, 1605, 1610], 256],
        64891: [[1594, 1605, 1609], 256],
        64892: [[1601, 1582, 1605], 256],
        64893: [[1601, 1582, 1605], 256],
        64894: [[1602, 1605, 1581], 256],
        64895: [[1602, 1605, 1605], 256],
        64896: [[1604, 1581, 1605], 256],
        64897: [[1604, 1581, 1610], 256],
        64898: [[1604, 1581, 1609], 256],
        64899: [[1604, 1580, 1580], 256],
        64900: [[1604, 1580, 1580], 256],
        64901: [[1604, 1582, 1605], 256],
        64902: [[1604, 1582, 1605], 256],
        64903: [[1604, 1605, 1581], 256],
        64904: [[1604, 1605, 1581], 256],
        64905: [[1605, 1581, 1580], 256],
        64906: [[1605, 1581, 1605], 256],
        64907: [[1605, 1581, 1610], 256],
        64908: [[1605, 1580, 1581], 256],
        64909: [[1605, 1580, 1605], 256],
        64910: [[1605, 1582, 1580], 256],
        64911: [[1605, 1582, 1605], 256],
        64914: [[1605, 1580, 1582], 256],
        64915: [[1607, 1605, 1580], 256],
        64916: [[1607, 1605, 1605], 256],
        64917: [[1606, 1581, 1605], 256],
        64918: [[1606, 1581, 1609], 256],
        64919: [[1606, 1580, 1605], 256],
        64920: [[1606, 1580, 1605], 256],
        64921: [[1606, 1580, 1609], 256],
        64922: [[1606, 1605, 1610], 256],
        64923: [[1606, 1605, 1609], 256],
        64924: [[1610, 1605, 1605], 256],
        64925: [[1610, 1605, 1605], 256],
        64926: [[1576, 1582, 1610], 256],
        64927: [[1578, 1580, 1610], 256],
        64928: [[1578, 1580, 1609], 256],
        64929: [[1578, 1582, 1610], 256],
        64930: [[1578, 1582, 1609], 256],
        64931: [[1578, 1605, 1610], 256],
        64932: [[1578, 1605, 1609], 256],
        64933: [[1580, 1605, 1610], 256],
        64934: [[1580, 1581, 1609], 256],
        64935: [[1580, 1605, 1609], 256],
        64936: [[1587, 1582, 1609], 256],
        64937: [[1589, 1581, 1610], 256],
        64938: [[1588, 1581, 1610], 256],
        64939: [[1590, 1581, 1610], 256],
        64940: [[1604, 1580, 1610], 256],
        64941: [[1604, 1605, 1610], 256],
        64942: [[1610, 1581, 1610], 256],
        64943: [[1610, 1580, 1610], 256],
        64944: [[1610, 1605, 1610], 256],
        64945: [[1605, 1605, 1610], 256],
        64946: [[1602, 1605, 1610], 256],
        64947: [[1606, 1581, 1610], 256],
        64948: [[1602, 1605, 1581], 256],
        64949: [[1604, 1581, 1605], 256],
        64950: [[1593, 1605, 1610], 256],
        64951: [[1603, 1605, 1610], 256],
        64952: [[1606, 1580, 1581], 256],
        64953: [[1605, 1582, 1610], 256],
        64954: [[1604, 1580, 1605], 256],
        64955: [[1603, 1605, 1605], 256],
        64956: [[1604, 1580, 1605], 256],
        64957: [[1606, 1580, 1581], 256],
        64958: [[1580, 1581, 1610], 256],
        64959: [[1581, 1580, 1610], 256],
        64960: [[1605, 1580, 1610], 256],
        64961: [[1601, 1605, 1610], 256],
        64962: [[1576, 1581, 1610], 256],
        64963: [[1603, 1605, 1605], 256],
        64964: [[1593, 1580, 1605], 256],
        64965: [[1589, 1605, 1605], 256],
        64966: [[1587, 1582, 1610], 256],
        64967: [[1606, 1580, 1610], 256],
        65008: [[1589, 1604, 1746], 256],
        65009: [[1602, 1604, 1746], 256],
        65010: [[1575, 1604, 1604, 1607], 256],
        65011: [[1575, 1603, 1576, 1585], 256],
        65012: [[1605, 1581, 1605, 1583], 256],
        65013: [[1589, 1604, 1593, 1605], 256],
        65014: [[1585, 1587, 1608, 1604], 256],
        65015: [[1593, 1604, 1610, 1607], 256],
        65016: [[1608, 1587, 1604, 1605], 256],
        65017: [[1589, 1604, 1609], 256],
        65018: [
          [
            1589, 1604, 1609, 32, 1575, 1604, 1604, 1607, 32, 1593, 1604, 1610,
            1607, 32, 1608, 1587, 1604, 1605,
          ],
          256,
        ],
        65019: [[1580, 1604, 32, 1580, 1604, 1575, 1604, 1607], 256],
        65020: [[1585, 1740, 1575, 1604], 256],
      },
      65024: {
        65040: [[44], 256],
        65041: [[12289], 256],
        65042: [[12290], 256],
        65043: [[58], 256],
        65044: [[59], 256],
        65045: [[33], 256],
        65046: [[63], 256],
        65047: [[12310], 256],
        65048: [[12311], 256],
        65049: [[8230], 256],
        65056: [, 230],
        65057: [, 230],
        65058: [, 230],
        65059: [, 230],
        65060: [, 230],
        65061: [, 230],
        65062: [, 230],
        65063: [, 220],
        65064: [, 220],
        65065: [, 220],
        65066: [, 220],
        65067: [, 220],
        65068: [, 220],
        65069: [, 220],
        65072: [[8229], 256],
        65073: [[8212], 256],
        65074: [[8211], 256],
        65075: [[95], 256],
        65076: [[95], 256],
        65077: [[40], 256],
        65078: [[41], 256],
        65079: [[123], 256],
        65080: [[125], 256],
        65081: [[12308], 256],
        65082: [[12309], 256],
        65083: [[12304], 256],
        65084: [[12305], 256],
        65085: [[12298], 256],
        65086: [[12299], 256],
        65087: [[12296], 256],
        65088: [[12297], 256],
        65089: [[12300], 256],
        65090: [[12301], 256],
        65091: [[12302], 256],
        65092: [[12303], 256],
        65095: [[91], 256],
        65096: [[93], 256],
        65097: [[8254], 256],
        65098: [[8254], 256],
        65099: [[8254], 256],
        65100: [[8254], 256],
        65101: [[95], 256],
        65102: [[95], 256],
        65103: [[95], 256],
        65104: [[44], 256],
        65105: [[12289], 256],
        65106: [[46], 256],
        65108: [[59], 256],
        65109: [[58], 256],
        65110: [[63], 256],
        65111: [[33], 256],
        65112: [[8212], 256],
        65113: [[40], 256],
        65114: [[41], 256],
        65115: [[123], 256],
        65116: [[125], 256],
        65117: [[12308], 256],
        65118: [[12309], 256],
        65119: [[35], 256],
        65120: [[38], 256],
        65121: [[42], 256],
        65122: [[43], 256],
        65123: [[45], 256],
        65124: [[60], 256],
        65125: [[62], 256],
        65126: [[61], 256],
        65128: [[92], 256],
        65129: [[36], 256],
        65130: [[37], 256],
        65131: [[64], 256],
        65136: [[32, 1611], 256],
        65137: [[1600, 1611], 256],
        65138: [[32, 1612], 256],
        65140: [[32, 1613], 256],
        65142: [[32, 1614], 256],
        65143: [[1600, 1614], 256],
        65144: [[32, 1615], 256],
        65145: [[1600, 1615], 256],
        65146: [[32, 1616], 256],
        65147: [[1600, 1616], 256],
        65148: [[32, 1617], 256],
        65149: [[1600, 1617], 256],
        65150: [[32, 1618], 256],
        65151: [[1600, 1618], 256],
        65152: [[1569], 256],
        65153: [[1570], 256],
        65154: [[1570], 256],
        65155: [[1571], 256],
        65156: [[1571], 256],
        65157: [[1572], 256],
        65158: [[1572], 256],
        65159: [[1573], 256],
        65160: [[1573], 256],
        65161: [[1574], 256],
        65162: [[1574], 256],
        65163: [[1574], 256],
        65164: [[1574], 256],
        65165: [[1575], 256],
        65166: [[1575], 256],
        65167: [[1576], 256],
        65168: [[1576], 256],
        65169: [[1576], 256],
        65170: [[1576], 256],
        65171: [[1577], 256],
        65172: [[1577], 256],
        65173: [[1578], 256],
        65174: [[1578], 256],
        65175: [[1578], 256],
        65176: [[1578], 256],
        65177: [[1579], 256],
        65178: [[1579], 256],
        65179: [[1579], 256],
        65180: [[1579], 256],
        65181: [[1580], 256],
        65182: [[1580], 256],
        65183: [[1580], 256],
        65184: [[1580], 256],
        65185: [[1581], 256],
        65186: [[1581], 256],
        65187: [[1581], 256],
        65188: [[1581], 256],
        65189: [[1582], 256],
        65190: [[1582], 256],
        65191: [[1582], 256],
        65192: [[1582], 256],
        65193: [[1583], 256],
        65194: [[1583], 256],
        65195: [[1584], 256],
        65196: [[1584], 256],
        65197: [[1585], 256],
        65198: [[1585], 256],
        65199: [[1586], 256],
        65200: [[1586], 256],
        65201: [[1587], 256],
        65202: [[1587], 256],
        65203: [[1587], 256],
        65204: [[1587], 256],
        65205: [[1588], 256],
        65206: [[1588], 256],
        65207: [[1588], 256],
        65208: [[1588], 256],
        65209: [[1589], 256],
        65210: [[1589], 256],
        65211: [[1589], 256],
        65212: [[1589], 256],
        65213: [[1590], 256],
        65214: [[1590], 256],
        65215: [[1590], 256],
        65216: [[1590], 256],
        65217: [[1591], 256],
        65218: [[1591], 256],
        65219: [[1591], 256],
        65220: [[1591], 256],
        65221: [[1592], 256],
        65222: [[1592], 256],
        65223: [[1592], 256],
        65224: [[1592], 256],
        65225: [[1593], 256],
        65226: [[1593], 256],
        65227: [[1593], 256],
        65228: [[1593], 256],
        65229: [[1594], 256],
        65230: [[1594], 256],
        65231: [[1594], 256],
        65232: [[1594], 256],
        65233: [[1601], 256],
        65234: [[1601], 256],
        65235: [[1601], 256],
        65236: [[1601], 256],
        65237: [[1602], 256],
        65238: [[1602], 256],
        65239: [[1602], 256],
        65240: [[1602], 256],
        65241: [[1603], 256],
        65242: [[1603], 256],
        65243: [[1603], 256],
        65244: [[1603], 256],
        65245: [[1604], 256],
        65246: [[1604], 256],
        65247: [[1604], 256],
        65248: [[1604], 256],
        65249: [[1605], 256],
        65250: [[1605], 256],
        65251: [[1605], 256],
        65252: [[1605], 256],
        65253: [[1606], 256],
        65254: [[1606], 256],
        65255: [[1606], 256],
        65256: [[1606], 256],
        65257: [[1607], 256],
        65258: [[1607], 256],
        65259: [[1607], 256],
        65260: [[1607], 256],
        65261: [[1608], 256],
        65262: [[1608], 256],
        65263: [[1609], 256],
        65264: [[1609], 256],
        65265: [[1610], 256],
        65266: [[1610], 256],
        65267: [[1610], 256],
        65268: [[1610], 256],
        65269: [[1604, 1570], 256],
        65270: [[1604, 1570], 256],
        65271: [[1604, 1571], 256],
        65272: [[1604, 1571], 256],
        65273: [[1604, 1573], 256],
        65274: [[1604, 1573], 256],
        65275: [[1604, 1575], 256],
        65276: [[1604, 1575], 256],
      },
      65280: {
        65281: [[33], 256],
        65282: [[34], 256],
        65283: [[35], 256],
        65284: [[36], 256],
        65285: [[37], 256],
        65286: [[38], 256],
        65287: [[39], 256],
        65288: [[40], 256],
        65289: [[41], 256],
        65290: [[42], 256],
        65291: [[43], 256],
        65292: [[44], 256],
        65293: [[45], 256],
        65294: [[46], 256],
        65295: [[47], 256],
        65296: [[48], 256],
        65297: [[49], 256],
        65298: [[50], 256],
        65299: [[51], 256],
        65300: [[52], 256],
        65301: [[53], 256],
        65302: [[54], 256],
        65303: [[55], 256],
        65304: [[56], 256],
        65305: [[57], 256],
        65306: [[58], 256],
        65307: [[59], 256],
        65308: [[60], 256],
        65309: [[61], 256],
        65310: [[62], 256],
        65311: [[63], 256],
        65312: [[64], 256],
        65313: [[65], 256],
        65314: [[66], 256],
        65315: [[67], 256],
        65316: [[68], 256],
        65317: [[69], 256],
        65318: [[70], 256],
        65319: [[71], 256],
        65320: [[72], 256],
        65321: [[73], 256],
        65322: [[74], 256],
        65323: [[75], 256],
        65324: [[76], 256],
        65325: [[77], 256],
        65326: [[78], 256],
        65327: [[79], 256],
        65328: [[80], 256],
        65329: [[81], 256],
        65330: [[82], 256],
        65331: [[83], 256],
        65332: [[84], 256],
        65333: [[85], 256],
        65334: [[86], 256],
        65335: [[87], 256],
        65336: [[88], 256],
        65337: [[89], 256],
        65338: [[90], 256],
        65339: [[91], 256],
        65340: [[92], 256],
        65341: [[93], 256],
        65342: [[94], 256],
        65343: [[95], 256],
        65344: [[96], 256],
        65345: [[97], 256],
        65346: [[98], 256],
        65347: [[99], 256],
        65348: [[100], 256],
        65349: [[101], 256],
        65350: [[102], 256],
        65351: [[103], 256],
        65352: [[104], 256],
        65353: [[105], 256],
        65354: [[106], 256],
        65355: [[107], 256],
        65356: [[108], 256],
        65357: [[109], 256],
        65358: [[110], 256],
        65359: [[111], 256],
        65360: [[112], 256],
        65361: [[113], 256],
        65362: [[114], 256],
        65363: [[115], 256],
        65364: [[116], 256],
        65365: [[117], 256],
        65366: [[118], 256],
        65367: [[119], 256],
        65368: [[120], 256],
        65369: [[121], 256],
        65370: [[122], 256],
        65371: [[123], 256],
        65372: [[124], 256],
        65373: [[125], 256],
        65374: [[126], 256],
        65375: [[10629], 256],
        65376: [[10630], 256],
        65377: [[12290], 256],
        65378: [[12300], 256],
        65379: [[12301], 256],
        65380: [[12289], 256],
        65381: [[12539], 256],
        65382: [[12530], 256],
        65383: [[12449], 256],
        65384: [[12451], 256],
        65385: [[12453], 256],
        65386: [[12455], 256],
        65387: [[12457], 256],
        65388: [[12515], 256],
        65389: [[12517], 256],
        65390: [[12519], 256],
        65391: [[12483], 256],
        65392: [[12540], 256],
        65393: [[12450], 256],
        65394: [[12452], 256],
        65395: [[12454], 256],
        65396: [[12456], 256],
        65397: [[12458], 256],
        65398: [[12459], 256],
        65399: [[12461], 256],
        65400: [[12463], 256],
        65401: [[12465], 256],
        65402: [[12467], 256],
        65403: [[12469], 256],
        65404: [[12471], 256],
        65405: [[12473], 256],
        65406: [[12475], 256],
        65407: [[12477], 256],
        65408: [[12479], 256],
        65409: [[12481], 256],
        65410: [[12484], 256],
        65411: [[12486], 256],
        65412: [[12488], 256],
        65413: [[12490], 256],
        65414: [[12491], 256],
        65415: [[12492], 256],
        65416: [[12493], 256],
        65417: [[12494], 256],
        65418: [[12495], 256],
        65419: [[12498], 256],
        65420: [[12501], 256],
        65421: [[12504], 256],
        65422: [[12507], 256],
        65423: [[12510], 256],
        65424: [[12511], 256],
        65425: [[12512], 256],
        65426: [[12513], 256],
        65427: [[12514], 256],
        65428: [[12516], 256],
        65429: [[12518], 256],
        65430: [[12520], 256],
        65431: [[12521], 256],
        65432: [[12522], 256],
        65433: [[12523], 256],
        65434: [[12524], 256],
        65435: [[12525], 256],
        65436: [[12527], 256],
        65437: [[12531], 256],
        65438: [[12441], 256],
        65439: [[12442], 256],
        65440: [[12644], 256],
        65441: [[12593], 256],
        65442: [[12594], 256],
        65443: [[12595], 256],
        65444: [[12596], 256],
        65445: [[12597], 256],
        65446: [[12598], 256],
        65447: [[12599], 256],
        65448: [[12600], 256],
        65449: [[12601], 256],
        65450: [[12602], 256],
        65451: [[12603], 256],
        65452: [[12604], 256],
        65453: [[12605], 256],
        65454: [[12606], 256],
        65455: [[12607], 256],
        65456: [[12608], 256],
        65457: [[12609], 256],
        65458: [[12610], 256],
        65459: [[12611], 256],
        65460: [[12612], 256],
        65461: [[12613], 256],
        65462: [[12614], 256],
        65463: [[12615], 256],
        65464: [[12616], 256],
        65465: [[12617], 256],
        65466: [[12618], 256],
        65467: [[12619], 256],
        65468: [[12620], 256],
        65469: [[12621], 256],
        65470: [[12622], 256],
        65474: [[12623], 256],
        65475: [[12624], 256],
        65476: [[12625], 256],
        65477: [[12626], 256],
        65478: [[12627], 256],
        65479: [[12628], 256],
        65482: [[12629], 256],
        65483: [[12630], 256],
        65484: [[12631], 256],
        65485: [[12632], 256],
        65486: [[12633], 256],
        65487: [[12634], 256],
        65490: [[12635], 256],
        65491: [[12636], 256],
        65492: [[12637], 256],
        65493: [[12638], 256],
        65494: [[12639], 256],
        65495: [[12640], 256],
        65498: [[12641], 256],
        65499: [[12642], 256],
        65500: [[12643], 256],
        65504: [[162], 256],
        65505: [[163], 256],
        65506: [[172], 256],
        65507: [[175], 256],
        65508: [[166], 256],
        65509: [[165], 256],
        65510: [[8361], 256],
        65512: [[9474], 256],
        65513: [[8592], 256],
        65514: [[8593], 256],
        65515: [[8594], 256],
        65516: [[8595], 256],
        65517: [[9632], 256],
        65518: [[9675], 256],
      },
    };
    var le = { nfc: V, nfd: $, nfkc: G, nfkd: X };
    (e.exports = le),
      (le.shimApplied = !1),
      String.prototype.normalize ||
        (Object.defineProperty(String.prototype, "normalize", {
          enumerable: !1,
          configurable: !0,
          writable: !0,
          value: function () {
            var ue = "" + this,
              Ce = arguments[0] === void 0 ? "NFC" : arguments[0];
            if (this === null || this === void 0)
              throw new TypeError(
                "Cannot call method on " + Object.prototype.toString.call(this),
              );
            if (Ce === "NFC") return le.nfc(ue);
            if (Ce === "NFD") return le.nfd(ue);
            if (Ce === "NFKC") return le.nfkc(ue);
            if (Ce === "NFKD") return le.nfkd(ue);
            throw new RangeError("Invalid normalization form: " + Ce);
          },
        }),
        (le.shimApplied = !0));
  })();
})(Cy);
var tW = Cy.exports;
const zre = xo(tW);
function oo(e) {
  return c0() ? (t6(e), !0) : !1;
}
function Pt(e) {
  return typeof e == "function" ? e() : pn(e);
}
const os = typeof window < "u" && typeof document < "u";
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
const rW = (e) => typeof e < "u",
  nW = Object.prototype.toString,
  AW = (e) => nW.call(e) === "[object Object]",
  Bn = () => {},
  gh = iW();
function iW() {
  var e, t;
  return (
    os &&
    ((e = window == null ? void 0 : window.navigator) == null
      ? void 0
      : e.userAgent) &&
    (/iP(ad|hone|od)/.test(window.navigator.userAgent) ||
      (((t = window == null ? void 0 : window.navigator) == null
        ? void 0
        : t.maxTouchPoints) > 2 &&
        /iPad|Macintosh/.test(
          window == null ? void 0 : window.navigator.userAgent,
        )))
  );
}
function Wp(e, t) {
  function r(...n) {
    return new Promise((A, i) => {
      Promise.resolve(
        e(() => t.apply(this, n), { fn: t, thisArg: this, args: n }),
      )
        .then(A)
        .catch(i);
    });
  }
  return r;
}
const xy = (e) => e();
function Ey(e, t = {}) {
  let r,
    n,
    A = Bn;
  const i = (a) => {
    clearTimeout(a), A(), (A = Bn);
  };
  return (a) => {
    const o = Pt(e),
      l = Pt(t.maxWait);
    return (
      r && i(r),
      o <= 0 || (l !== void 0 && l <= 0)
        ? (n && (i(n), (n = null)), Promise.resolve(a()))
        : new Promise((u, f) => {
            (A = t.rejectOnCancel ? f : u),
              l &&
                !n &&
                (n = setTimeout(() => {
                  r && i(r), (n = null), u(a());
                }, l)),
              (r = setTimeout(() => {
                n && i(n), (n = null), u(a());
              }, o));
          })
    );
  };
}
function sW(e, t = !0, r = !0, n = !1) {
  let A = 0,
    i,
    s = !0,
    a = Bn,
    o;
  const l = () => {
    i && (clearTimeout(i), (i = void 0), a(), (a = Bn));
  };
  return (f) => {
    const d = Pt(e),
      g = Date.now() - A,
      v = () => (o = f());
    return (
      l(),
      d <= 0
        ? ((A = Date.now()), v())
        : (g > d && (r || !s)
            ? ((A = Date.now()), v())
            : t &&
              (o = new Promise((B, y) => {
                (a = n ? y : B),
                  (i = setTimeout(
                    () => {
                      (A = Date.now()), (s = !0), B(v()), l();
                    },
                    Math.max(0, d - g),
                  ));
              })),
          !r && !i && (i = setTimeout(() => (s = !0), d)),
          (s = !1),
          o)
    );
  };
}
function aW(e = xy) {
  const t = Ue(!0);
  function r() {
    t.value = !1;
  }
  function n() {
    t.value = !0;
  }
  const A = (...i) => {
    t.value && e(...i);
  };
  return { isActive: Co(t), pause: r, resume: n, eventFilter: A };
}
function oW(e) {
  let t;
  function r() {
    return t || (t = e()), t;
  }
  return (
    (r.reset = async () => {
      const n = t;
      (t = void 0), n && (await n);
    }),
    r
  );
}
function lW(e) {
  return e || Wt();
}
function uW(...e) {
  if (e.length !== 1) return a8(...e);
  const t = e[0];
  return typeof t == "function" ? Co(o6(() => ({ get: t, set: Bn }))) : Ue(t);
}
function cW(e, t = 200, r = {}) {
  return Wp(Ey(t, r), e);
}
function fW(e, t = 200, r = !1, n = !0, A = !1) {
  return Wp(sW(t, r, n, A), e);
}
function by(e, t, r = {}) {
  const { eventFilter: n = xy, ...A } = r;
  return Ye(e, Wp(n, t), A);
}
function Fy(e, t, r = {}) {
  const { eventFilter: n, ...A } = r,
    { eventFilter: i, pause: s, resume: a, isActive: o } = aW(n);
  return {
    stop: by(e, t, { ...A, eventFilter: i }),
    pause: s,
    resume: a,
    isActive: o,
  };
}
function dW(e, t = {}) {
  if (!Nt(e)) return l6(e);
  const r = Array.isArray(e.value)
    ? Array.from({ length: e.value.length })
    : {};
  for (const n in e.value)
    r[n] = o6(() => ({
      get() {
        return e.value[n];
      },
      set(A) {
        var i;
        if ((i = Pt(t.replaceRef)) != null ? i : !0)
          if (Array.isArray(e.value)) {
            const a = [...e.value];
            (a[n] = A), (e.value = a);
          } else {
            const a = { ...e.value, [n]: A };
            Object.setPrototypeOf(a, Object.getPrototypeOf(e.value)),
              (e.value = a);
          }
        else e.value[n] = A;
      },
    }));
  return r;
}
function zp(e, t = !0, r) {
  const n = lW(r);
  n ? Zt(e, n) : t ? e() : yt(e);
}
function jre(e, t) {
  return Oe(() =>
    Pt(e)
      .map((r) => Pt(r))
      .filter(t),
  );
}
function Yre(e, t = 1e3, r = {}) {
  const { immediate: n = !0, immediateCallback: A = !1 } = r;
  let i = null;
  const s = Ue(!1);
  function a() {
    i && (clearInterval(i), (i = null));
  }
  function o() {
    (s.value = !1), a();
  }
  function l() {
    const u = Pt(t);
    u <= 0 || ((s.value = !0), A && e(), a(), (i = setInterval(e, u)));
  }
  if ((n && os && l(), Nt(t) || typeof t == "function")) {
    const u = Ye(t, () => {
      s.value && os && l();
    });
    oo(u);
  }
  return oo(o), { isActive: s, pause: o, resume: l };
}
function hW(e, t, r = {}) {
  const { immediate: n = !0 } = r,
    A = Ue(!1);
  let i = null;
  function s() {
    i && (clearTimeout(i), (i = null));
  }
  function a() {
    (A.value = !1), s();
  }
  function o(...l) {
    s(),
      (A.value = !0),
      (i = setTimeout(() => {
        (A.value = !1), (i = null), e(...l);
      }, Pt(t)));
  }
  return (
    n && ((A.value = !0), os && o()),
    oo(a),
    { isPending: Co(A), start: o, stop: a }
  );
}
function Xre(e, t, r = {}) {
  const { debounce: n = 0, maxWait: A = void 0, ...i } = r;
  return by(e, t, { ...i, eventFilter: Ey(n, { maxWait: A }) });
}
function zA(e) {
  var t;
  const r = Pt(e);
  return (t = r == null ? void 0 : r.$el) != null ? t : r;
}
const aA = os ? window : void 0,
  pW = os ? window.document : void 0,
  _y = os ? window.navigator : void 0;
function sr(...e) {
  let t, r, n, A;
  if (
    (typeof e[0] == "string" || Array.isArray(e[0])
      ? (([r, n, A] = e), (t = aA))
      : ([t, r, n, A] = e),
    !t)
  )
    return Bn;
  Array.isArray(r) || (r = [r]), Array.isArray(n) || (n = [n]);
  const i = [],
    s = () => {
      i.forEach((u) => u()), (i.length = 0);
    },
    a = (u, f, d, g) => (
      u.addEventListener(f, d, g), () => u.removeEventListener(f, d, g)
    ),
    o = Ye(
      () => [zA(t), Pt(A)],
      ([u, f]) => {
        if ((s(), !u)) return;
        const d = AW(f) ? { ...f } : f;
        i.push(...r.flatMap((g) => n.map((v) => a(u, g, v, d))));
      },
      { immediate: !0, flush: "post" },
    ),
    l = () => {
      o(), s();
    };
  return oo(l), l;
}
let Bm = !1;
function Jre(e, t, r = {}) {
  const {
    window: n = aA,
    ignore: A = [],
    capture: i = !0,
    detectIframe: s = !1,
  } = r;
  if (!n) return;
  gh &&
    !Bm &&
    ((Bm = !0),
    Array.from(n.document.body.children).forEach((d) =>
      d.addEventListener("click", Bn),
    ),
    n.document.documentElement.addEventListener("click", Bn));
  let a = !0;
  const o = (d) =>
      A.some((g) => {
        if (typeof g == "string")
          return Array.from(n.document.querySelectorAll(g)).some(
            (v) => v === d.target || d.composedPath().includes(v),
          );
        {
          const v = zA(g);
          return v && (d.target === v || d.composedPath().includes(v));
        }
      }),
    u = [
      sr(
        n,
        "click",
        (d) => {
          const g = zA(e);
          if (!(!g || g === d.target || d.composedPath().includes(g))) {
            if ((d.detail === 0 && (a = !o(d)), !a)) {
              a = !0;
              return;
            }
            t(d);
          }
        },
        { passive: !0, capture: i },
      ),
      sr(
        n,
        "pointerdown",
        (d) => {
          const g = zA(e);
          a = !o(d) && !!(g && !d.composedPath().includes(g));
        },
        { passive: !0 },
      ),
      s &&
        sr(n, "blur", (d) => {
          setTimeout(() => {
            var g;
            const v = zA(e);
            ((g = n.document.activeElement) == null ? void 0 : g.tagName) ===
              "IFRAME" &&
              !(v != null && v.contains(n.document.activeElement)) &&
              t(d);
          }, 0);
        }),
    ].filter(Boolean);
  return () => u.forEach((d) => d());
}
function gW() {
  const e = Ue(!1);
  return (
    Wt() &&
      Zt(() => {
        e.value = !0;
      }),
    e
  );
}
function jp(e) {
  const t = gW();
  return Oe(() => (t.value, !!e()));
}
function qre(e, t) {
  const {
      interrupt: r = !0,
      onError: n = Bn,
      onFinished: A = Bn,
      signal: i,
    } = t || {},
    s = {
      aborted: "aborted",
      fulfilled: "fulfilled",
      pending: "pending",
      rejected: "rejected",
    },
    a = Array.from(Array.from({ length: e.length }), () => ({
      state: s.pending,
      data: null,
    })),
    o = Rt(a),
    l = Ue(-1);
  if (!e || e.length === 0) return A(), { activeIndex: l, result: o };
  function u(f, d) {
    l.value++, (o[l.value].data = d), (o[l.value].state = f);
  }
  return (
    e.reduce(
      (f, d) =>
        f
          .then((g) => {
            var v;
            if (i != null && i.aborted) {
              u(s.aborted, new Error("aborted"));
              return;
            }
            if (
              ((v = o[l.value]) == null ? void 0 : v.state) === s.rejected &&
              r
            ) {
              A();
              return;
            }
            const B = d(g).then(
              (y) => (u(s.fulfilled, y), l.value === e.length - 1 && A(), y),
            );
            return i ? Promise.race([B, vW(i)]) : B;
          })
          .catch((g) =>
            i != null && i.aborted
              ? (u(s.aborted, g), g)
              : (u(s.rejected, g), n(), g),
          ),
      Promise.resolve(),
    ),
    { activeIndex: l, result: o }
  );
}
function vW(e) {
  return new Promise((t, r) => {
    const n = new Error("aborted");
    e.aborted ? r(n) : e.addEventListener("abort", () => r(n), { once: !0 });
  });
}
function wm(e, t = {}) {
  const { controls: r = !1, navigator: n = _y } = t,
    A = jp(() => n && "permissions" in n);
  let i;
  const s = typeof e == "string" ? { name: e } : e,
    a = Ue(),
    o = () => {
      i && (a.value = i.state);
    },
    l = oW(async () => {
      if (A.value) {
        if (!i)
          try {
            (i = await n.permissions.query(s)), sr(i, "change", o), o();
          } catch {
            a.value = "prompt";
          }
        return i;
      }
    });
  return l(), r ? { state: a, isSupported: A, query: l } : a;
}
function Zre(e = {}) {
  const {
      navigator: t = _y,
      read: r = !1,
      source: n,
      copiedDuring: A = 1500,
      legacy: i = !1,
    } = e,
    s = jp(() => t && "clipboard" in t),
    a = wm("clipboard-read"),
    o = wm("clipboard-write"),
    l = Oe(() => s.value || i),
    u = Ue(""),
    f = Ue(!1),
    d = hW(() => (f.value = !1), A);
  function g() {
    s.value && a.value !== "denied"
      ? t.clipboard.readText().then((w) => {
          u.value = w;
        })
      : (u.value = y());
  }
  l.value && r && sr(["copy", "cut"], g);
  async function v(w = Pt(n)) {
    l.value &&
      w != null &&
      (s.value && o.value !== "denied" ? await t.clipboard.writeText(w) : B(w),
      (u.value = w),
      (f.value = !0),
      d.start());
  }
  function B(w) {
    const m = document.createElement("textarea");
    (m.value = w ?? ""),
      (m.style.position = "absolute"),
      (m.style.opacity = "0"),
      document.body.appendChild(m),
      m.select(),
      document.execCommand("copy"),
      m.remove();
  }
  function y() {
    var w, m, x;
    return (x =
      (m =
        (w = document == null ? void 0 : document.getSelection) == null
          ? void 0
          : w.call(document)) == null
        ? void 0
        : m.toString()) != null
      ? x
      : "";
  }
  return { isSupported: l, text: u, copied: f, copy: v };
}
function mW(e) {
  return JSON.parse(JSON.stringify(e));
}
const uu =
    typeof globalThis < "u"
      ? globalThis
      : typeof window < "u"
        ? window
        : typeof global < "u"
          ? global
          : typeof self < "u"
            ? self
            : {},
  cu = "__vueuse_ssr_handlers__",
  BW = wW();
function wW() {
  return cu in uu || (uu[cu] = uu[cu] || {}), uu[cu];
}
function yW(e, t) {
  return BW[e] || t;
}
function CW(e) {
  return e == null
    ? "any"
    : e instanceof Set
      ? "set"
      : e instanceof Map
        ? "map"
        : e instanceof Date
          ? "date"
          : typeof e == "boolean"
            ? "boolean"
            : typeof e == "string"
              ? "string"
              : typeof e == "object"
                ? "object"
                : Number.isNaN(e)
                  ? "any"
                  : "number";
}
const xW = {
    boolean: { read: (e) => e === "true", write: (e) => String(e) },
    object: { read: (e) => JSON.parse(e), write: (e) => JSON.stringify(e) },
    number: { read: (e) => Number.parseFloat(e), write: (e) => String(e) },
    any: { read: (e) => e, write: (e) => String(e) },
    string: { read: (e) => e, write: (e) => String(e) },
    map: {
      read: (e) => new Map(JSON.parse(e)),
      write: (e) => JSON.stringify(Array.from(e.entries())),
    },
    set: {
      read: (e) => new Set(JSON.parse(e)),
      write: (e) => JSON.stringify(Array.from(e)),
    },
    date: { read: (e) => new Date(e), write: (e) => e.toISOString() },
  },
  ym = "vueuse-storage";
function Sy(e, t, r, n = {}) {
  var A;
  const {
      flush: i = "pre",
      deep: s = !0,
      listenToStorageChanges: a = !0,
      writeDefaults: o = !0,
      mergeDefaults: l = !1,
      shallow: u,
      window: f = aA,
      eventFilter: d,
      onError: g = (D) => {
        console.error(D);
      },
      initOnMounted: v,
    } = n,
    B = (u ? Vc : Ue)(typeof t == "function" ? t() : t);
  if (!r)
    try {
      r = yW("getDefaultStorage", () => {
        var D;
        return (D = aA) == null ? void 0 : D.localStorage;
      })();
    } catch (D) {
      g(D);
    }
  if (!r) return B;
  const y = Pt(t),
    w = CW(y),
    m = (A = n.serializer) != null ? A : xW[w],
    { pause: x, resume: C } = Fy(B, () => b(B.value), {
      flush: i,
      deep: s,
      eventFilter: d,
    });
  return (
    f &&
      a &&
      zp(() => {
        sr(f, "storage", T), sr(f, ym, I), v && T();
      }),
    v || T(),
    B
  );
  function b(D) {
    try {
      if (D == null) r.removeItem(e);
      else {
        const U = m.write(D),
          Q = r.getItem(e);
        Q !== U &&
          (r.setItem(e, U),
          f &&
            f.dispatchEvent(
              new CustomEvent(ym, {
                detail: { key: e, oldValue: Q, newValue: U, storageArea: r },
              }),
            ));
      }
    } catch (U) {
      g(U);
    }
  }
  function F(D) {
    const U = D ? D.newValue : r.getItem(e);
    if (U == null) return o && y != null && r.setItem(e, m.write(y)), y;
    if (!D && l) {
      const Q = m.read(U);
      return typeof l == "function"
        ? l(Q, y)
        : w === "object" && !Array.isArray(Q)
          ? { ...y, ...Q }
          : Q;
    } else return typeof U != "string" ? U : m.read(U);
  }
  function I(D) {
    T(D.detail);
  }
  function T(D) {
    if (!(D && D.storageArea !== r)) {
      if (D && D.key == null) {
        B.value = y;
        return;
      }
      if (!(D && D.key !== e)) {
        x();
        try {
          (D == null ? void 0 : D.newValue) !== m.write(B.value) &&
            (B.value = F(D));
        } catch (U) {
          g(U);
        } finally {
          D ? yt(C) : C();
        }
      }
    }
  }
}
function ene(e = {}) {
  const { document: t = pW } = e;
  if (!t) return Ue("visible");
  const r = Ue(t.visibilityState);
  return (
    sr(t, "visibilitychange", () => {
      r.value = t.visibilityState;
    }),
    r
  );
}
function tne(e, t = {}) {
  var r, n;
  const {
      pointerTypes: A,
      preventDefault: i,
      stopPropagation: s,
      exact: a,
      onMove: o,
      onEnd: l,
      onStart: u,
      initialValue: f,
      axis: d = "both",
      draggingElement: g = aA,
      containerElement: v,
      handle: B = e,
    } = t,
    y = Ue((r = Pt(f)) != null ? r : { x: 0, y: 0 }),
    w = Ue(),
    m = (I) => (A ? A.includes(I.pointerType) : !0),
    x = (I) => {
      Pt(i) && I.preventDefault(), Pt(s) && I.stopPropagation();
    },
    C = (I) => {
      var T;
      if (!m(I) || (Pt(a) && I.target !== Pt(e))) return;
      const D = Pt(v),
        U =
          (T = D == null ? void 0 : D.getBoundingClientRect) == null
            ? void 0
            : T.call(D),
        Q = Pt(e).getBoundingClientRect(),
        L = {
          x: I.clientX - (D ? Q.left - U.left : Q.left),
          y: I.clientY - (D ? Q.top - U.top : Q.top),
        };
      (u == null ? void 0 : u(L, I)) !== !1 && ((w.value = L), x(I));
    },
    b = (I) => {
      var T;
      if (!m(I) || !w.value) return;
      const D = Pt(v),
        U =
          (T = D == null ? void 0 : D.getBoundingClientRect) == null
            ? void 0
            : T.call(D),
        Q = Pt(e).getBoundingClientRect();
      let { x: L, y: $ } = y.value;
      (d === "x" || d === "both") &&
        ((L = I.clientX - w.value.x),
        D && (L = Math.min(Math.max(0, L), U.width - Q.width))),
        (d === "y" || d === "both") &&
          (($ = I.clientY - w.value.y),
          D && ($ = Math.min(Math.max(0, $), U.height - Q.height))),
        (y.value = { x: L, y: $ }),
        o == null || o(y.value, I),
        x(I);
    },
    F = (I) => {
      m(I) && w.value && ((w.value = void 0), l == null || l(y.value, I), x(I));
    };
  if (os) {
    const I = { capture: (n = t.capture) != null ? n : !0 };
    sr(B, "pointerdown", C, I),
      sr(g, "pointermove", b, I),
      sr(g, "pointerup", F, I);
  }
  return {
    ...dW(y),
    position: y,
    isDragging: Oe(() => !!w.value),
    style: Oe(() => `left:${y.value.x}px;top:${y.value.y}px;`),
  };
}
function EW(e, t, r = {}) {
  const { window: n = aA, ...A } = r;
  let i;
  const s = jp(() => n && "ResizeObserver" in n),
    a = () => {
      i && (i.disconnect(), (i = void 0));
    },
    o = Oe(() => (Array.isArray(e) ? e.map((f) => zA(f)) : [zA(e)])),
    l = Ye(
      o,
      (f) => {
        if ((a(), s.value && n)) {
          i = new ResizeObserver(t);
          for (const d of f) d && i.observe(d, A);
        }
      },
      { immediate: !0, flush: "post", deep: !0 },
    ),
    u = () => {
      a(), l();
    };
  return oo(u), { isSupported: s, stop: u };
}
function rne(e, t = {}) {
  const {
      reset: r = !0,
      windowResize: n = !0,
      windowScroll: A = !0,
      immediate: i = !0,
    } = t,
    s = Ue(0),
    a = Ue(0),
    o = Ue(0),
    l = Ue(0),
    u = Ue(0),
    f = Ue(0),
    d = Ue(0),
    g = Ue(0);
  function v() {
    const B = zA(e);
    if (!B) {
      r &&
        ((s.value = 0),
        (a.value = 0),
        (o.value = 0),
        (l.value = 0),
        (u.value = 0),
        (f.value = 0),
        (d.value = 0),
        (g.value = 0));
      return;
    }
    const y = B.getBoundingClientRect();
    (s.value = y.height),
      (a.value = y.bottom),
      (o.value = y.left),
      (l.value = y.right),
      (u.value = y.top),
      (f.value = y.width),
      (d.value = y.x),
      (g.value = y.y);
  }
  return (
    EW(e, v),
    Ye(
      () => zA(e),
      (B) => !B && v(),
    ),
    A && sr("scroll", v, { capture: !0, passive: !0 }),
    n && sr("resize", v, { passive: !0 }),
    zp(() => {
      i && v();
    }),
    {
      height: s,
      bottom: a,
      left: o,
      right: l,
      top: u,
      width: f,
      x: d,
      y: g,
      update: v,
    }
  );
}
const Al = new Map();
function nne(e) {
  const t = c0();
  function r(a) {
    var o;
    const l = Al.get(e) || new Set();
    l.add(a), Al.set(e, l);
    const u = () => A(a);
    return (o = t == null ? void 0 : t.cleanups) == null || o.push(u), u;
  }
  function n(a) {
    function o(...l) {
      A(o), a(...l);
    }
    return r(o);
  }
  function A(a) {
    const o = Al.get(e);
    o && (o.delete(a), o.size || i());
  }
  function i() {
    Al.delete(e);
  }
  function s(a, o) {
    var l;
    (l = Al.get(e)) == null || l.forEach((u) => u(a, o));
  }
  return { on: r, once: n, off: A, emit: s, reset: i };
}
const Cm = 1;
function Ane(e, t = {}) {
  const {
      throttle: r = 0,
      idle: n = 200,
      onStop: A = Bn,
      onScroll: i = Bn,
      offset: s = { left: 0, right: 0, top: 0, bottom: 0 },
      eventListenerOptions: a = { capture: !1, passive: !0 },
      behavior: o = "auto",
      window: l = aA,
    } = t,
    u = Ue(0),
    f = Ue(0),
    d = Oe({
      get() {
        return u.value;
      },
      set(F) {
        v(F, void 0);
      },
    }),
    g = Oe({
      get() {
        return f.value;
      },
      set(F) {
        v(void 0, F);
      },
    });
  function v(F, I) {
    var T, D, U;
    if (!l) return;
    const Q = Pt(e);
    Q &&
      ((U = Q instanceof Document ? l.document.body : Q) == null ||
        U.scrollTo({
          top: (T = Pt(I)) != null ? T : g.value,
          left: (D = Pt(F)) != null ? D : d.value,
          behavior: Pt(o),
        }));
  }
  const B = Ue(!1),
    y = Rt({ left: !0, right: !1, top: !0, bottom: !1 }),
    w = Rt({ left: !1, right: !1, top: !1, bottom: !1 }),
    m = (F) => {
      B.value &&
        ((B.value = !1),
        (w.left = !1),
        (w.right = !1),
        (w.top = !1),
        (w.bottom = !1),
        A(F));
    },
    x = cW(m, r + n),
    C = (F) => {
      var I;
      if (!l) return;
      const T = F.document
          ? F.document.documentElement
          : (I = F.documentElement) != null
            ? I
            : F,
        { display: D, flexDirection: U } = getComputedStyle(T),
        Q = T.scrollLeft;
      (w.left = Q < u.value), (w.right = Q > u.value);
      const L = Math.abs(Q) <= 0 + (s.left || 0),
        $ = Math.abs(Q) + T.clientWidth >= T.scrollWidth - (s.right || 0) - Cm;
      D === "flex" && U === "row-reverse"
        ? ((y.left = $), (y.right = L))
        : ((y.left = L), (y.right = $)),
        (u.value = Q);
      let X = T.scrollTop;
      F === l.document && !X && (X = l.document.body.scrollTop),
        (w.top = X < f.value),
        (w.bottom = X > f.value);
      const V = Math.abs(X) <= 0 + (s.top || 0),
        G =
          Math.abs(X) + T.clientHeight >= T.scrollHeight - (s.bottom || 0) - Cm;
      D === "flex" && U === "column-reverse"
        ? ((y.top = G), (y.bottom = V))
        : ((y.top = V), (y.bottom = G)),
        (f.value = X);
    },
    b = (F) => {
      var I;
      if (!l) return;
      const T = (I = F.target.documentElement) != null ? I : F.target;
      C(T), (B.value = !0), x(F), i(F);
    };
  return (
    sr(e, "scroll", r ? fW(b, r, !0, !1) : b, a),
    zp(() => {
      const F = Pt(e);
      F && C(F);
    }),
    sr(e, "scrollend", m, a),
    {
      x: d,
      y: g,
      isScrolling: B,
      arrivedState: y,
      directions: w,
      measure() {
        const F = Pt(e);
        l && F && C(F);
      },
    }
  );
}
function bd(e) {
  return typeof Window < "u" && e instanceof Window
    ? e.document.documentElement
    : typeof Document < "u" && e instanceof Document
      ? e.documentElement
      : e;
}
function ine(e, t, r = {}) {
  const { window: n = aA } = r;
  return Sy(e, t, n == null ? void 0 : n.localStorage, r);
}
function Qy(e) {
  const t = window.getComputedStyle(e);
  if (
    t.overflowX === "scroll" ||
    t.overflowY === "scroll" ||
    (t.overflowX === "auto" && e.clientWidth < e.scrollWidth) ||
    (t.overflowY === "auto" && e.clientHeight < e.scrollHeight)
  )
    return !0;
  {
    const r = e.parentNode;
    return !r || r.tagName === "BODY" ? !1 : Qy(r);
  }
}
function bW(e) {
  const t = e || window.event,
    r = t.target;
  return Qy(r)
    ? !1
    : t.touches.length > 1
      ? !0
      : (t.preventDefault && t.preventDefault(), !1);
}
const fu = new WeakMap();
function sne(e, t = !1) {
  const r = Ue(t);
  let n = null,
    A;
  Ye(
    uW(e),
    (a) => {
      const o = bd(Pt(a));
      if (o) {
        const l = o;
        fu.get(l) || fu.set(l, A), r.value && (l.style.overflow = "hidden");
      }
    },
    { immediate: !0 },
  );
  const i = () => {
      const a = bd(Pt(e));
      !a ||
        r.value ||
        (gh &&
          (n = sr(
            a,
            "touchmove",
            (o) => {
              bW(o);
            },
            { passive: !1 },
          )),
        (a.style.overflow = "hidden"),
        (r.value = !0));
    },
    s = () => {
      var a;
      const o = bd(Pt(e));
      !o ||
        !r.value ||
        (gh && (n == null || n()),
        (o.style.overflow = (a = fu.get(o)) != null ? a : ""),
        fu.delete(o),
        (r.value = !1));
    };
  return (
    oo(s),
    Oe({
      get() {
        return r.value;
      },
      set(a) {
        a ? i() : s();
      },
    })
  );
}
function ane(e, t, r = {}) {
  const { window: n = aA } = r;
  return Sy(e, t, n == null ? void 0 : n.sessionStorage, r);
}
function one(e, t = {}) {
  const {
      threshold: r = 50,
      onSwipe: n,
      onSwipeEnd: A,
      onSwipeStart: i,
      passive: s = !0,
      window: a = aA,
    } = t,
    o = Rt({ x: 0, y: 0 }),
    l = Rt({ x: 0, y: 0 }),
    u = Oe(() => o.x - l.x),
    f = Oe(() => o.y - l.y),
    { max: d, abs: g } = Math,
    v = Oe(() => d(g(u.value), g(f.value)) >= r),
    B = Ue(!1),
    y = Oe(() =>
      v.value
        ? g(u.value) > g(f.value)
          ? u.value > 0
            ? "left"
            : "right"
          : f.value > 0
            ? "up"
            : "down"
        : "none",
    ),
    w = (D) => [D.touches[0].clientX, D.touches[0].clientY],
    m = (D, U) => {
      (o.x = D), (o.y = U);
    },
    x = (D, U) => {
      (l.x = D), (l.y = U);
    };
  let C;
  const b = FW(a == null ? void 0 : a.document);
  s
    ? (C = b ? { passive: !0 } : { capture: !1 })
    : (C = b ? { passive: !1, capture: !0 } : { capture: !0 });
  const F = (D) => {
      B.value && (A == null || A(D, y.value)), (B.value = !1);
    },
    I = [
      sr(
        e,
        "touchstart",
        (D) => {
          if (D.touches.length !== 1) return;
          C.capture && !C.passive && D.preventDefault();
          const [U, Q] = w(D);
          m(U, Q), x(U, Q), i == null || i(D);
        },
        C,
      ),
      sr(
        e,
        "touchmove",
        (D) => {
          if (D.touches.length !== 1) return;
          const [U, Q] = w(D);
          x(U, Q),
            !B.value && v.value && (B.value = !0),
            B.value && (n == null || n(D));
        },
        C,
      ),
      sr(e, ["touchend", "touchcancel"], F, C),
    ];
  return {
    isPassiveEventSupported: b,
    isSwiping: B,
    direction: y,
    coordsStart: o,
    coordsEnd: l,
    lengthX: u,
    lengthY: f,
    stop: () => I.forEach((D) => D()),
  };
}
function FW(e) {
  if (!e) return !1;
  let t = !1;
  const r = {
    get passive() {
      return (t = !0), !1;
    },
  };
  return e.addEventListener("x", Bn, r), e.removeEventListener("x", Bn), t;
}
function lne(e = "history", t = {}) {
  const {
    initialValue: r = {},
    removeNullishValues: n = !0,
    removeFalsyValues: A = !1,
    write: i = !0,
    window: s = aA,
  } = t;
  if (!s) return Rt(r);
  const a = Rt({});
  function o() {
    if (e === "history") return s.location.search || "";
    if (e === "hash") {
      const w = s.location.hash || "",
        m = w.indexOf("?");
      return m > 0 ? w.slice(m) : "";
    } else return (s.location.hash || "").replace(/^#/, "");
  }
  function l(w) {
    const m = w.toString();
    if (e === "history") return `${m ? `?${m}` : ""}${s.location.hash || ""}`;
    if (e === "hash-params")
      return `${s.location.search || ""}${m ? `#${m}` : ""}`;
    const x = s.location.hash || "#",
      C = x.indexOf("?");
    return C > 0
      ? `${x.slice(0, C)}${m ? `?${m}` : ""}`
      : `${x}${m ? `?${m}` : ""}`;
  }
  function u() {
    return new URLSearchParams(o());
  }
  function f(w) {
    const m = new Set(Object.keys(a));
    for (const x of w.keys()) {
      const C = w.getAll(x);
      (a[x] = C.length > 1 ? C : w.get(x) || ""), m.delete(x);
    }
    Array.from(m).forEach((x) => delete a[x]);
  }
  const { pause: d, resume: g } = Fy(
    a,
    () => {
      const w = new URLSearchParams("");
      Object.keys(a).forEach((m) => {
        const x = a[m];
        Array.isArray(x)
          ? x.forEach((C) => w.append(m, C))
          : (n && x == null) || (A && !x)
            ? w.delete(m)
            : w.set(m, x);
      }),
        v(w);
    },
    { deep: !0 },
  );
  function v(w, m) {
    d(),
      m && f(w),
      s.history.replaceState(
        s.history.state,
        s.document.title,
        s.location.pathname + l(w),
      ),
      g();
  }
  function B() {
    i && v(u(), !0);
  }
  sr(s, "popstate", B, !1), e !== "history" && sr(s, "hashchange", B, !1);
  const y = u();
  return y.keys().next().value ? f(y) : Object.assign(a, r), a;
}
function _W(e, t, r, n = {}) {
  var A, i, s;
  const {
      clone: a = !1,
      passive: o = !1,
      eventName: l,
      deep: u = !1,
      defaultValue: f,
      shouldEmit: d,
    } = n,
    g = Wt(),
    v =
      r ||
      (g == null ? void 0 : g.emit) ||
      ((A = g == null ? void 0 : g.$emit) == null ? void 0 : A.bind(g)) ||
      ((s = (i = g == null ? void 0 : g.proxy) == null ? void 0 : i.$emit) ==
      null
        ? void 0
        : s.bind(g == null ? void 0 : g.proxy));
  let B = l;
  t || (t = "modelValue"), (B = B || `update:${t.toString()}`);
  const y = (x) => (a ? (typeof a == "function" ? a(x) : mW(x)) : x),
    w = () => (rW(e[t]) ? y(e[t]) : f),
    m = (x) => {
      d ? d(x) && v(B, x) : v(B, x);
    };
  if (o) {
    const x = w(),
      C = Ue(x);
    let b = !1;
    return (
      Ye(
        () => e[t],
        (F) => {
          b || ((b = !0), (C.value = y(F)), yt(() => (b = !1)));
        },
      ),
      Ye(
        C,
        (F) => {
          !b && (F !== e[t] || u) && m(F);
        },
        { deep: u },
      ),
      C
    );
  } else
    return Oe({
      get() {
        return w();
      },
      set(x) {
        m(x);
      },
    });
}
function une(e, t, r = {}) {
  const n = {};
  for (const A in e) n[A] = _W(e, A, t, r);
  return n;
}
function SW(e) {
  return {
    all: (e = e || new Map()),
    on: function (t, r) {
      var n = e.get(t);
      n ? n.push(r) : e.set(t, [r]);
    },
    off: function (t, r) {
      var n = e.get(t);
      n && (r ? n.splice(n.indexOf(r) >>> 0, 1) : e.set(t, []));
    },
    emit: function (t, r) {
      var n = e.get(t);
      n &&
        n.slice().map(function (A) {
          A(r);
        }),
        (n = e.get("*")) &&
          n.slice().map(function (A) {
            A(t, r);
          });
    },
  };
}
function xm(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t &&
      (n = n.filter(function (A) {
        return Object.getOwnPropertyDescriptor(e, A).enumerable;
      })),
      r.push.apply(r, n);
  }
  return r;
}
function QW(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2
      ? xm(Object(r), !0).forEach(function (n) {
          UW(e, n, r[n]);
        })
      : Object.getOwnPropertyDescriptors
        ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
        : xm(Object(r)).forEach(function (n) {
            Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
          });
  }
  return e;
}
function UW(e, t, r) {
  return (
    t in e
      ? Object.defineProperty(e, t, {
          value: r,
          enumerable: !0,
          configurable: !0,
          writable: !0,
        })
      : (e[t] = r),
    e
  );
}
function TW(e, t) {
  return IW(e) || DW(e, t) || PW(e, t) || OW();
}
function IW(e) {
  if (Array.isArray(e)) return e;
}
function DW(e, t) {
  var r =
    e == null
      ? null
      : (typeof Symbol < "u" && e[Symbol.iterator]) || e["@@iterator"];
  if (r != null) {
    var n = [],
      A = !0,
      i = !1,
      s,
      a;
    try {
      for (
        r = r.call(e);
        !(A = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t));
        A = !0
      );
    } catch (o) {
      (i = !0), (a = o);
    } finally {
      try {
        !A && r.return != null && r.return();
      } finally {
        if (i) throw a;
      }
    }
    return n;
  }
}
function PW(e, t) {
  if (e) {
    if (typeof e == "string") return Em(e, t);
    var r = Object.prototype.toString.call(e).slice(8, -1);
    if (
      (r === "Object" && e.constructor && (r = e.constructor.name),
      r === "Map" || r === "Set")
    )
      return Array.from(e);
    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
      return Em(e, t);
  }
}
function Em(e, t) {
  (t == null || t > e.length) && (t = e.length);
  for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
  return n;
}
function OW() {
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
var Fd = { current: null };
function LW() {
  var e,
    t = Array.prototype.slice;
  function r(A) {
    return n._h ? n._h.apply(null, A) : n._q.push(A);
  }
  var n = {
    _q: [],
    _h: null,
    _v: "2.0",
    on: function () {
      r(["on", t.call(arguments)]);
    },
    once: function () {
      r(["once", t.call(arguments)]);
    },
    off: function () {
      r(["off", t.call(arguments)]);
    },
    get: function () {
      if (!n._h)
        throw new Error("[LiveChatWidget] You can't use getters before load.");
      return r(["get", t.call(arguments)]);
    },
    call: function () {
      r(["call", t.call(arguments)]);
    },
    init: function () {
      var i = document.createElement("script");
      (i.async = !0),
        (i.type = "text/javascript"),
        (i.src = "https://cdn.livechatinc.com/tracking.js"),
        document.head.appendChild(i),
        (Fd.current = i);
    },
  };
  return (
    (e = Fd.current) === null || e === void 0 || e.remove(),
    (window.LiveChatWidget = window.LiveChatWidget || n),
    Fd
  );
}
function kW(e) {
  var t = e.license,
    r = e.group,
    n = e.chatBetweenGroups,
    A = e.sessionVariables,
    i = e.customIdentityProvider;
  if (((window.__lc = window.__lc || {}), typeof t == "string"))
    window.__lc.license = Number(t);
  else
    throw new Error(
      "[LiveChatWidget] The license property is required for initialization",
    );
  typeof r < "u" && (window.__lc.group = Number(r)),
    typeof n < "u" && (window.__lc.chat_between_groups = !!n),
    A instanceof Object &&
      (window.__lc.params = Object.entries(A).map(function (s) {
        var a = TW(s, 2),
          o = a[0],
          l = a[1];
        return { name: o, value: l };
      })),
    typeof i == "function" && (window.__lc.custom_identity_provider = i);
}
function _d(e, t) {
  (e === "off" && typeof window.LiveChatWidget > "u") ||
    (typeof t.onReady == "function" &&
      window.LiveChatWidget[e]("ready", t.onReady),
    typeof t.onAvailabilityChanged == "function" &&
      window.LiveChatWidget[e]("availability_changed", t.onAvailabilityChanged),
    typeof t.onVisibilityChanged == "function" &&
      window.LiveChatWidget[e]("visibility_changed", t.onVisibilityChanged),
    typeof t.onCustomerStatusChanged == "function" &&
      window.LiveChatWidget[e](
        "customer_status_changed",
        t.onCustomerStatusChanged,
      ),
    typeof t.onNewEvent == "function" &&
      window.LiveChatWidget[e]("new_event", t.onNewEvent),
    typeof t.onFormSubmitted == "function" &&
      window.LiveChatWidget[e]("form_submitted", t.onFormSubmitted),
    typeof t.onRatingSubmitted == "function" &&
      window.LiveChatWidget[e]("rating_submitted", t.onRatingSubmitted),
    typeof t.onGreetingDisplayed == "function" &&
      window.LiveChatWidget[e]("greeting_displayed", t.onGreetingDisplayed),
    typeof t.onGreetingHidden == "function" &&
      window.LiveChatWidget[e]("greeting_hidden", t.onGreetingHidden),
    typeof t.onRichMessageButtonClicked == "function" &&
      window.LiveChatWidget[e](
        "rich_message_button_clicked",
        t.onRichMessageButtonClicked,
      ));
}
function bm(e) {
  typeof e.name == "string" &&
    window.LiveChatWidget.call("set_customer_name", e.name),
    typeof e.email == "string" &&
      window.LiveChatWidget.call("set_customer_email", e.email);
}
function Fm(e) {
  e === "hidden" && window.LiveChatWidget.call("hide"),
    e === "maximized" && window.LiveChatWidget.call("maximize"),
    e === "minimized" && window.LiveChatWidget.call("minimize");
}
var HW = SW(),
  _m = HW.emit.bind(null);
function MW(e) {
  var t = {
      isLoading: !1,
      desiredState: "unknown",
      currentEventHandlers: {
        onReady: e.onReady,
        onNewEvent: e.onNewEvent,
        onFormSubmitted: e.onFormSubmitted,
        onGreetingHidden: e.onGreetingHidden,
        onRatingSubmitted: e.onRatingSubmitted,
        onGreetingDisplayed: e.onGreetingDisplayed,
        onVisibilityChanged: e.onVisibilityChanged,
        onAvailabilityChanged: e.onAvailabilityChanged,
        onCustomerStatusChanged: e.onCustomerStatusChanged,
        onRichMessageButtonClicked: e.onRichMessageButtonClicked,
      },
    },
    r = LW();
  return (
    kW(e),
    Fm(e.visibility),
    _d("on", t.currentEventHandlers),
    bm({ name: e.customerName, email: e.customerEmail }),
    (window.__lc.integration_name = "@livechat/widget-core"),
    {
      init: function () {
        var A = this;
        (t.desiredState = "loaded"),
          !t.isLoading &&
            ((window.LC_API = window.LC_API || {}),
            (window.LC_API.on_after_load = function () {
              (t.isLoading = !1),
                t.desiredState === "destroyed" && A.destroy(),
                (t.desiredState = "unknown");
            }),
            _m("init"),
            (t.isLoading = !0),
            window.LiveChatWidget.init());
      },
      destroy: function () {
        var A;
        (t.desiredState = "destroyed"),
          !t.isLoading &&
            (_m("destroy"),
            (A = r.current) === null || A === void 0 || A.remove(),
            window.LiveChatWidget.call("destroy"));
      },
      updateVisibility: function (A) {
        Fm(A);
      },
      updateEventHandlers: function (A) {
        _d("off", t.currentEventHandlers),
          _d("on", A),
          (t.currentEventHandlers = QW({}, A));
      },
      updateSessionVariables: function (A) {
        A && window.LiveChatWidget.call("update_session_variables", A);
      },
      hideGreeting: function () {
        window.LiveChatWidget.call("hide_greeting");
      },
      updateCustomerData: function (A) {
        bm(A);
      },
    }
  );
}
var cne = et({
  props: {
    license: { type: String, required: !0 },
    group: { type: String, required: !1, default: void 0 },
    visibility: { type: String, required: !1, default: void 0 },
    customerName: { type: String, required: !1, default: void 0 },
    customerEmail: { type: String, required: !1, default: void 0 },
    sessionVariables: { type: Object, required: !1, default: void 0 },
    chatBetweenGroups: { type: Boolean, required: !1, default: void 0 },
    customIdentityProvider: { type: Function, required: !1, default: void 0 },
  },
  emits: [
    "ready",
    "new-event",
    "form-submitted",
    "rating-submitted",
    "greeting-hidden",
    "greeting-displayed",
    "visibility-changed",
    "customer-status-changed",
    "rich-message-button-clicked",
    "availability-changed",
  ],
  data: function () {
    return { widget: null };
  },
  watch: {
    license: "reinitialize",
    group: "reinitialize",
    chatBetweenGroups: "reinitialize",
    visibility: function (t) {
      var r;
      (r = this.widget) === null || r === void 0 || r.updateVisibility(t);
    },
    customerName: function (t) {
      var r;
      (r = this.widget) === null ||
        r === void 0 ||
        r.updateCustomerData({ name: t });
    },
    customerEmail: function (t) {
      var r;
      (r = this.widget) === null ||
        r === void 0 ||
        r.updateCustomerData({ email: t });
    },
    sessionVariables: function (t) {
      var r;
      (r = this.widget) === null || r === void 0 || r.updateSessionVariables(t);
    },
  },
  mounted: function () {
    this.setupWidget();
  },
  unmounted: function () {
    var t;
    (t = this.widget) === null || t === void 0 || t.destroy();
  },
  methods: {
    setupWidget: function () {
      var t = this;
      (this.widget = MW({
        group: this.group,
        license: this.license,
        customerName: this.customerName,
        customerEmail: this.customerEmail,
        sessionVariables: this.sessionVariables,
        chatBetweenGroups: this.chatBetweenGroups,
        visibility: this.visibility,
        customIdentityProvider: this.customIdentityProvider,
        onReady: function (n) {
          return t.$emit("ready", n);
        },
        onNewEvent: function (n) {
          return t.$emit("new-event", n);
        },
        onFormSubmitted: function (n) {
          return t.$emit("form-submitted", n);
        },
        onRatingSubmitted: function (n) {
          return t.$emit("rating-submitted", n);
        },
        onGreetingHidden: function (n) {
          return t.$emit("greeting-hidden", n);
        },
        onGreetingDisplayed: function (n) {
          return t.$emit("greeting-displayed", n);
        },
        onVisibilityChanged: function (n) {
          return t.$emit("visibility-changed", n);
        },
        onCustomerStatusChanged: function (n) {
          return t.$emit("customer-status-changed", n);
        },
        onRichMessageButtonClicked: function (n) {
          return t.$emit("rich-message-button-clicked", n);
        },
        onAvailabilityChanged: function (n) {
          return t.$emit("availability-changed", n);
        },
      })),
        (window.__lc.integration_name = "@livechat/widget-vue"),
        this.widget.init();
    },
    reinitialize: function () {
      var t;
      (t = this.widget) === null || t === void 0 || t.destroy(),
        this.setupWidget();
    },
  },
  render: function () {
    return null;
  },
});
var vh = { exports: {} };
(function (e, t) {
  typeof navigator < "u" &&
    (function (r, n) {
      e.exports = n();
    })(pt, function () {
      var r = "http://www.w3.org/2000/svg",
        n = "",
        A = !1,
        i = -999999,
        s = function (h) {
          A = !!h;
        },
        a = function () {
          return A;
        },
        o = function (h) {
          n = h;
        },
        l = function () {
          return n;
        };
      function u(c) {
        return document.createElement(c);
      }
      function f(c, h) {
        var p,
          E = c.length,
          S;
        for (p = 0; p < E; p += 1) {
          S = c[p].prototype;
          for (var _ in S)
            Object.prototype.hasOwnProperty.call(S, _) &&
              (h.prototype[_] = S[_]);
        }
      }
      function d(c) {
        function h() {}
        return (h.prototype = c), h;
      }
      var g = (function () {
          function c(h) {
            (this.audios = []),
              (this.audioFactory = h),
              (this._volume = 1),
              (this._isMuted = !1);
          }
          return (
            (c.prototype = {
              addAudio: function (p) {
                this.audios.push(p);
              },
              pause: function () {
                var p,
                  E = this.audios.length;
                for (p = 0; p < E; p += 1) this.audios[p].pause();
              },
              resume: function () {
                var p,
                  E = this.audios.length;
                for (p = 0; p < E; p += 1) this.audios[p].resume();
              },
              setRate: function (p) {
                var E,
                  S = this.audios.length;
                for (E = 0; E < S; E += 1) this.audios[E].setRate(p);
              },
              createAudio: function (p) {
                return this.audioFactory
                  ? this.audioFactory(p)
                  : window.Howl
                    ? new window.Howl({ src: [p] })
                    : {
                        isPlaying: !1,
                        play: function () {
                          this.isPlaying = !0;
                        },
                        seek: function () {
                          this.isPlaying = !1;
                        },
                        playing: function () {},
                        rate: function () {},
                        setVolume: function () {},
                      };
              },
              setAudioFactory: function (p) {
                this.audioFactory = p;
              },
              setVolume: function (p) {
                (this._volume = p), this._updateVolume();
              },
              mute: function () {
                (this._isMuted = !0), this._updateVolume();
              },
              unmute: function () {
                (this._isMuted = !1), this._updateVolume();
              },
              getVolume: function () {
                return this._volume;
              },
              _updateVolume: function () {
                var p,
                  E = this.audios.length;
                for (p = 0; p < E; p += 1)
                  this.audios[p].volume(this._volume * (this._isMuted ? 0 : 1));
              },
            }),
            function () {
              return new c();
            }
          );
        })(),
        v = (function () {
          function c(p, E) {
            var S = 0,
              _ = [],
              k;
            switch (p) {
              case "int16":
              case "uint8c":
                k = 1;
                break;
              default:
                k = 1.1;
                break;
            }
            for (S = 0; S < E; S += 1) _.push(k);
            return _;
          }
          function h(p, E) {
            return p === "float32"
              ? new Float32Array(E)
              : p === "int16"
                ? new Int16Array(E)
                : p === "uint8c"
                  ? new Uint8ClampedArray(E)
                  : c(p, E);
          }
          return typeof Uint8ClampedArray == "function" &&
            typeof Float32Array == "function"
            ? h
            : c;
        })();
      function B(c) {
        return Array.apply(null, { length: c });
      }
      var y = !0,
        w = null,
        m = "",
        x = /^((?!chrome|android).)*safari/i.test(navigator.userAgent),
        C = Math.pow,
        b = Math.sqrt,
        F = Math.floor,
        I = Math.min,
        T = 150,
        D = Math.PI / 180,
        U = 0.5519;
      function Q(c, h, p, E) {
        (this.type = c),
          (this.currentTime = h),
          (this.totalTime = p),
          (this.direction = E < 0 ? -1 : 1);
      }
      function L(c, h) {
        (this.type = c), (this.direction = h < 0 ? -1 : 1);
      }
      function $(c, h, p, E) {
        (this.type = c),
          (this.currentLoop = p),
          (this.totalLoops = h),
          (this.direction = E < 0 ? -1 : 1);
      }
      function X(c, h, p) {
        (this.type = c), (this.firstFrame = h), (this.totalFrames = p);
      }
      function V(c, h) {
        (this.type = c), (this.target = h);
      }
      function G(c, h) {
        (this.type = "renderFrameError"),
          (this.nativeError = c),
          (this.currentTime = h);
      }
      function le(c) {
        (this.type = "configError"), (this.nativeError = c);
      }
      var q = (function () {
        var c = 0;
        return function () {
          return (c += 1), m + "__lottie_element_" + c;
        };
      })();
      function ue(c, h, p) {
        var E, S, _, k, z, H, re, ae;
        switch (
          ((k = Math.floor(c * 6)),
          (z = c * 6 - k),
          (H = p * (1 - h)),
          (re = p * (1 - z * h)),
          (ae = p * (1 - (1 - z) * h)),
          k % 6)
        ) {
          case 0:
            (E = p), (S = ae), (_ = H);
            break;
          case 1:
            (E = re), (S = p), (_ = H);
            break;
          case 2:
            (E = H), (S = p), (_ = ae);
            break;
          case 3:
            (E = H), (S = re), (_ = p);
            break;
          case 4:
            (E = ae), (S = H), (_ = p);
            break;
          case 5:
            (E = p), (S = H), (_ = re);
            break;
        }
        return [E, S, _];
      }
      function Ce(c, h, p) {
        var E = Math.max(c, h, p),
          S = Math.min(c, h, p),
          _ = E - S,
          k,
          z = E === 0 ? 0 : _ / E,
          H = E / 255;
        switch (E) {
          case S:
            k = 0;
            break;
          case c:
            (k = h - p + _ * (h < p ? 6 : 0)), (k /= 6 * _);
            break;
          case h:
            (k = p - c + _ * 2), (k /= 6 * _);
            break;
          case p:
            (k = c - h + _ * 4), (k /= 6 * _);
            break;
        }
        return [k, z, H];
      }
      function ee(c, h) {
        var p = Ce(c[0] * 255, c[1] * 255, c[2] * 255);
        return (
          (p[1] += h),
          p[1] > 1 ? (p[1] = 1) : p[1] <= 0 && (p[1] = 0),
          ue(p[0], p[1], p[2])
        );
      }
      function ce(c, h) {
        var p = Ce(c[0] * 255, c[1] * 255, c[2] * 255);
        return (
          (p[2] += h),
          p[2] > 1 ? (p[2] = 1) : p[2] < 0 && (p[2] = 0),
          ue(p[0], p[1], p[2])
        );
      }
      function ve(c, h) {
        var p = Ce(c[0] * 255, c[1] * 255, c[2] * 255);
        return (
          (p[0] += h / 360),
          p[0] > 1 ? (p[0] -= 1) : p[0] < 0 && (p[0] += 1),
          ue(p[0], p[1], p[2])
        );
      }
      (function () {
        var c = [],
          h,
          p;
        for (h = 0; h < 256; h += 1)
          (p = h.toString(16)), (c[h] = p.length === 1 ? "0" + p : p);
        return function (E, S, _) {
          return (
            E < 0 && (E = 0),
            S < 0 && (S = 0),
            _ < 0 && (_ = 0),
            "#" + c[E] + c[S] + c[_]
          );
        };
      })();
      var xe = function (h) {
          y = !!h;
        },
        se = function () {
          return y;
        },
        Fe = function (h) {
          w = h;
        },
        ie = function () {
          return w;
        },
        _e = function (h) {
          T = h;
        },
        De = function () {
          return T;
        },
        $e = function (h) {
          m = h;
        };
      function Te(c) {
        return document.createElementNS(r, c);
      }
      function j(c) {
        "@babel/helpers - typeof";
        return (
          typeof Symbol == "function" && typeof Symbol.iterator == "symbol"
            ? (j = function (p) {
                return typeof p;
              })
            : (j = function (p) {
                return p &&
                  typeof Symbol == "function" &&
                  p.constructor === Symbol &&
                  p !== Symbol.prototype
                  ? "symbol"
                  : typeof p;
              }),
          j(c)
        );
      }
      var P = (function () {
          var c = 1,
            h = [],
            p,
            E,
            S = {
              onmessage: function () {},
              postMessage: function (oe) {
                p({ data: oe });
              },
            },
            _ = {
              postMessage: function (oe) {
                S.onmessage({ data: oe });
              },
            };
          function k(K) {
            if (window.Worker && window.Blob && a()) {
              var oe = new Blob(
                  ["var _workerSelf = self; self.onmessage = ", K.toString()],
                  { type: "text/javascript" },
                ),
                pe = URL.createObjectURL(oe);
              return new Worker(pe);
            }
            return (p = K), S;
          }
          function z() {
            E ||
              ((E = k(function (oe) {
                function pe() {
                  function ye(Me, Y) {
                    var de,
                      O,
                      R = Me.length,
                      Se,
                      me,
                      Xe,
                      at;
                    for (O = 0; O < R; O += 1)
                      if (((de = Me[O]), "ks" in de && !de.completed)) {
                        if (((de.completed = !0), de.hasMask)) {
                          var ct = de.masksProperties;
                          for (me = ct.length, Se = 0; Se < me; Se += 1)
                            if (ct[Se].pt.k.i) ne(ct[Se].pt.k);
                            else
                              for (
                                at = ct[Se].pt.k.length, Xe = 0;
                                Xe < at;
                                Xe += 1
                              )
                                ct[Se].pt.k[Xe].s && ne(ct[Se].pt.k[Xe].s[0]),
                                  ct[Se].pt.k[Xe].e && ne(ct[Se].pt.k[Xe].e[0]);
                        }
                        de.ty === 0
                          ? ((de.layers = N(de.refId, Y)), ye(de.layers, Y))
                          : de.ty === 4
                            ? W(de.shapes)
                            : de.ty === 5 && ft(de);
                      }
                  }
                  function Ae(Me, Y) {
                    if (Me) {
                      var de = 0,
                        O = Me.length;
                      for (de = 0; de < O; de += 1)
                        Me[de].t === 1 &&
                          ((Me[de].data.layers = N(Me[de].data.refId, Y)),
                          ye(Me[de].data.layers, Y));
                    }
                  }
                  function J(Me, Y) {
                    for (var de = 0, O = Y.length; de < O; ) {
                      if (Y[de].id === Me) return Y[de];
                      de += 1;
                    }
                    return null;
                  }
                  function N(Me, Y) {
                    var de = J(Me, Y);
                    return de
                      ? de.layers.__used
                        ? JSON.parse(JSON.stringify(de.layers))
                        : ((de.layers.__used = !0), de.layers)
                      : null;
                  }
                  function W(Me) {
                    var Y,
                      de = Me.length,
                      O,
                      R;
                    for (Y = de - 1; Y >= 0; Y -= 1)
                      if (Me[Y].ty === "sh")
                        if (Me[Y].ks.k.i) ne(Me[Y].ks.k);
                        else
                          for (R = Me[Y].ks.k.length, O = 0; O < R; O += 1)
                            Me[Y].ks.k[O].s && ne(Me[Y].ks.k[O].s[0]),
                              Me[Y].ks.k[O].e && ne(Me[Y].ks.k[O].e[0]);
                      else Me[Y].ty === "gr" && W(Me[Y].it);
                  }
                  function ne(Me) {
                    var Y,
                      de = Me.i.length;
                    for (Y = 0; Y < de; Y += 1)
                      (Me.i[Y][0] += Me.v[Y][0]),
                        (Me.i[Y][1] += Me.v[Y][1]),
                        (Me.o[Y][0] += Me.v[Y][0]),
                        (Me.o[Y][1] += Me.v[Y][1]);
                  }
                  function ge(Me, Y) {
                    var de = Y ? Y.split(".") : [100, 100, 100];
                    return Me[0] > de[0]
                      ? !0
                      : de[0] > Me[0]
                        ? !1
                        : Me[1] > de[1]
                          ? !0
                          : de[1] > Me[1]
                            ? !1
                            : Me[2] > de[2]
                              ? !0
                              : de[2] > Me[2]
                                ? !1
                                : null;
                  }
                  var Ee = (function () {
                      var Me = [4, 4, 14];
                      function Y(O) {
                        var R = O.t.d;
                        O.t.d = { k: [{ s: R, t: 0 }] };
                      }
                      function de(O) {
                        var R,
                          Se = O.length;
                        for (R = 0; R < Se; R += 1) O[R].ty === 5 && Y(O[R]);
                      }
                      return function (O) {
                        if (ge(Me, O.v) && (de(O.layers), O.assets)) {
                          var R,
                            Se = O.assets.length;
                          for (R = 0; R < Se; R += 1)
                            O.assets[R].layers && de(O.assets[R].layers);
                        }
                      };
                    })(),
                    Qe = (function () {
                      var Me = [4, 7, 99];
                      return function (Y) {
                        if (Y.chars && !ge(Me, Y.v)) {
                          var de,
                            O = Y.chars.length;
                          for (de = 0; de < O; de += 1) {
                            var R = Y.chars[de];
                            R.data &&
                              R.data.shapes &&
                              (W(R.data.shapes),
                              (R.data.ip = 0),
                              (R.data.op = 99999),
                              (R.data.st = 0),
                              (R.data.sr = 1),
                              (R.data.ks = {
                                p: { k: [0, 0], a: 0 },
                                s: { k: [100, 100], a: 0 },
                                a: { k: [0, 0], a: 0 },
                                r: { k: 0, a: 0 },
                                o: { k: 100, a: 0 },
                              }),
                              Y.chars[de].t ||
                                (R.data.shapes.push({ ty: "no" }),
                                R.data.shapes[0].it.push({
                                  p: { k: [0, 0], a: 0 },
                                  s: { k: [100, 100], a: 0 },
                                  a: { k: [0, 0], a: 0 },
                                  r: { k: 0, a: 0 },
                                  o: { k: 100, a: 0 },
                                  sk: { k: 0, a: 0 },
                                  sa: { k: 0, a: 0 },
                                  ty: "tr",
                                })));
                          }
                        }
                      };
                    })(),
                    Re = (function () {
                      var Me = [5, 7, 15];
                      function Y(O) {
                        var R = O.t.p;
                        typeof R.a == "number" && (R.a = { a: 0, k: R.a }),
                          typeof R.p == "number" && (R.p = { a: 0, k: R.p }),
                          typeof R.r == "number" && (R.r = { a: 0, k: R.r });
                      }
                      function de(O) {
                        var R,
                          Se = O.length;
                        for (R = 0; R < Se; R += 1) O[R].ty === 5 && Y(O[R]);
                      }
                      return function (O) {
                        if (ge(Me, O.v) && (de(O.layers), O.assets)) {
                          var R,
                            Se = O.assets.length;
                          for (R = 0; R < Se; R += 1)
                            O.assets[R].layers && de(O.assets[R].layers);
                        }
                      };
                    })(),
                    ut = (function () {
                      var Me = [4, 1, 9];
                      function Y(O) {
                        var R,
                          Se = O.length,
                          me,
                          Xe;
                        for (R = 0; R < Se; R += 1)
                          if (O[R].ty === "gr") Y(O[R].it);
                          else if (O[R].ty === "fl" || O[R].ty === "st")
                            if (O[R].c.k && O[R].c.k[0].i)
                              for (
                                Xe = O[R].c.k.length, me = 0;
                                me < Xe;
                                me += 1
                              )
                                O[R].c.k[me].s &&
                                  ((O[R].c.k[me].s[0] /= 255),
                                  (O[R].c.k[me].s[1] /= 255),
                                  (O[R].c.k[me].s[2] /= 255),
                                  (O[R].c.k[me].s[3] /= 255)),
                                  O[R].c.k[me].e &&
                                    ((O[R].c.k[me].e[0] /= 255),
                                    (O[R].c.k[me].e[1] /= 255),
                                    (O[R].c.k[me].e[2] /= 255),
                                    (O[R].c.k[me].e[3] /= 255));
                            else
                              (O[R].c.k[0] /= 255),
                                (O[R].c.k[1] /= 255),
                                (O[R].c.k[2] /= 255),
                                (O[R].c.k[3] /= 255);
                      }
                      function de(O) {
                        var R,
                          Se = O.length;
                        for (R = 0; R < Se; R += 1)
                          O[R].ty === 4 && Y(O[R].shapes);
                      }
                      return function (O) {
                        if (ge(Me, O.v) && (de(O.layers), O.assets)) {
                          var R,
                            Se = O.assets.length;
                          for (R = 0; R < Se; R += 1)
                            O.assets[R].layers && de(O.assets[R].layers);
                        }
                      };
                    })(),
                    it = (function () {
                      var Me = [4, 4, 18];
                      function Y(O) {
                        var R,
                          Se = O.length,
                          me,
                          Xe;
                        for (R = Se - 1; R >= 0; R -= 1)
                          if (O[R].ty === "sh")
                            if (O[R].ks.k.i) O[R].ks.k.c = O[R].closed;
                            else
                              for (
                                Xe = O[R].ks.k.length, me = 0;
                                me < Xe;
                                me += 1
                              )
                                O[R].ks.k[me].s &&
                                  (O[R].ks.k[me].s[0].c = O[R].closed),
                                  O[R].ks.k[me].e &&
                                    (O[R].ks.k[me].e[0].c = O[R].closed);
                          else O[R].ty === "gr" && Y(O[R].it);
                      }
                      function de(O) {
                        var R,
                          Se,
                          me = O.length,
                          Xe,
                          at,
                          ct,
                          Qt;
                        for (Se = 0; Se < me; Se += 1) {
                          if (((R = O[Se]), R.hasMask)) {
                            var Ut = R.masksProperties;
                            for (at = Ut.length, Xe = 0; Xe < at; Xe += 1)
                              if (Ut[Xe].pt.k.i) Ut[Xe].pt.k.c = Ut[Xe].cl;
                              else
                                for (
                                  Qt = Ut[Xe].pt.k.length, ct = 0;
                                  ct < Qt;
                                  ct += 1
                                )
                                  Ut[Xe].pt.k[ct].s &&
                                    (Ut[Xe].pt.k[ct].s[0].c = Ut[Xe].cl),
                                    Ut[Xe].pt.k[ct].e &&
                                      (Ut[Xe].pt.k[ct].e[0].c = Ut[Xe].cl);
                          }
                          R.ty === 4 && Y(R.shapes);
                        }
                      }
                      return function (O) {
                        if (ge(Me, O.v) && (de(O.layers), O.assets)) {
                          var R,
                            Se = O.assets.length;
                          for (R = 0; R < Se; R += 1)
                            O.assets[R].layers && de(O.assets[R].layers);
                        }
                      };
                    })();
                  function Ve(Me) {
                    Me.__complete ||
                      (ut(Me),
                      Ee(Me),
                      Qe(Me),
                      Re(Me),
                      it(Me),
                      ye(Me.layers, Me.assets),
                      Ae(Me.chars, Me.assets),
                      (Me.__complete = !0));
                  }
                  function ft(Me) {
                    Me.t.a.length === 0 && "m" in Me.t.p;
                  }
                  var rt = {};
                  return (
                    (rt.completeData = Ve),
                    (rt.checkColors = ut),
                    (rt.checkChars = Qe),
                    (rt.checkPathProperties = Re),
                    (rt.checkShapes = it),
                    (rt.completeLayers = ye),
                    rt
                  );
                }
                if (
                  (_.dataManager || (_.dataManager = pe()),
                  _.assetLoader ||
                    (_.assetLoader = (function () {
                      function ye(J) {
                        var N = J.getResponseHeader("content-type");
                        return (N &&
                          J.responseType === "json" &&
                          N.indexOf("json") !== -1) ||
                          (J.response && j(J.response) === "object")
                          ? J.response
                          : J.response && typeof J.response == "string"
                            ? JSON.parse(J.response)
                            : J.responseText
                              ? JSON.parse(J.responseText)
                              : null;
                      }
                      function Ae(J, N, W, ne) {
                        var ge,
                          Ee = new XMLHttpRequest();
                        try {
                          Ee.responseType = "json";
                        } catch {}
                        Ee.onreadystatechange = function () {
                          if (Ee.readyState === 4)
                            if (Ee.status === 200) (ge = ye(Ee)), W(ge);
                            else
                              try {
                                (ge = ye(Ee)), W(ge);
                              } catch (Qe) {
                                ne && ne(Qe);
                              }
                        };
                        try {
                          Ee.open(["G", "E", "T"].join(""), J, !0);
                        } catch {
                          Ee.open(["G", "E", "T"].join(""), N + "/" + J, !0);
                        }
                        Ee.send();
                      }
                      return { load: Ae };
                    })()),
                  oe.data.type === "loadAnimation")
                )
                  _.assetLoader.load(
                    oe.data.path,
                    oe.data.fullPath,
                    function (ye) {
                      _.dataManager.completeData(ye),
                        _.postMessage({
                          id: oe.data.id,
                          payload: ye,
                          status: "success",
                        });
                    },
                    function () {
                      _.postMessage({ id: oe.data.id, status: "error" });
                    },
                  );
                else if (oe.data.type === "complete") {
                  var fe = oe.data.animation;
                  _.dataManager.completeData(fe),
                    _.postMessage({
                      id: oe.data.id,
                      payload: fe,
                      status: "success",
                    });
                } else
                  oe.data.type === "loadData" &&
                    _.assetLoader.load(
                      oe.data.path,
                      oe.data.fullPath,
                      function (ye) {
                        _.postMessage({
                          id: oe.data.id,
                          payload: ye,
                          status: "success",
                        });
                      },
                      function () {
                        _.postMessage({ id: oe.data.id, status: "error" });
                      },
                    );
              })),
              (E.onmessage = function (K) {
                var oe = K.data,
                  pe = oe.id,
                  fe = h[pe];
                (h[pe] = null),
                  oe.status === "success"
                    ? fe.onComplete(oe.payload)
                    : fe.onError && fe.onError();
              }));
          }
          function H(K, oe) {
            c += 1;
            var pe = "processId_" + c;
            return (h[pe] = { onComplete: K, onError: oe }), pe;
          }
          function re(K, oe, pe) {
            z();
            var fe = H(oe, pe);
            E.postMessage({
              type: "loadAnimation",
              path: K,
              fullPath: window.location.origin + window.location.pathname,
              id: fe,
            });
          }
          function ae(K, oe, pe) {
            z();
            var fe = H(oe, pe);
            E.postMessage({
              type: "loadData",
              path: K,
              fullPath: window.location.origin + window.location.pathname,
              id: fe,
            });
          }
          function be(K, oe, pe) {
            z();
            var fe = H(oe, pe);
            E.postMessage({ type: "complete", animation: K, id: fe });
          }
          return { loadAnimation: re, loadData: ae, completeAnimation: be };
        })(),
        M = (function () {
          var c = (function () {
            var Ae = u("canvas");
            (Ae.width = 1), (Ae.height = 1);
            var J = Ae.getContext("2d");
            return (J.fillStyle = "rgba(0,0,0,0)"), J.fillRect(0, 0, 1, 1), Ae;
          })();
          function h() {
            (this.loadedAssets += 1),
              this.loadedAssets === this.totalImages &&
                this.loadedFootagesCount === this.totalFootages &&
                this.imagesLoadedCb &&
                this.imagesLoadedCb(null);
          }
          function p() {
            (this.loadedFootagesCount += 1),
              this.loadedAssets === this.totalImages &&
                this.loadedFootagesCount === this.totalFootages &&
                this.imagesLoadedCb &&
                this.imagesLoadedCb(null);
          }
          function E(Ae, J, N) {
            var W = "";
            if (Ae.e) W = Ae.p;
            else if (J) {
              var ne = Ae.p;
              ne.indexOf("images/") !== -1 && (ne = ne.split("/")[1]),
                (W = J + ne);
            } else (W = N), (W += Ae.u ? Ae.u : ""), (W += Ae.p);
            return W;
          }
          function S(Ae) {
            var J = 0,
              N = setInterval(
                function () {
                  var W = Ae.getBBox();
                  (W.width || J > 500) &&
                    (this._imageLoaded(), clearInterval(N)),
                    (J += 1);
                }.bind(this),
                50,
              );
          }
          function _(Ae) {
            var J = E(Ae, this.assetsPath, this.path),
              N = Te("image");
            x
              ? this.testImageLoaded(N)
              : N.addEventListener("load", this._imageLoaded, !1),
              N.addEventListener(
                "error",
                function () {
                  (W.img = c), this._imageLoaded();
                }.bind(this),
                !1,
              ),
              N.setAttributeNS("http://www.w3.org/1999/xlink", "href", J),
              this._elementHelper.append
                ? this._elementHelper.append(N)
                : this._elementHelper.appendChild(N);
            var W = { img: N, assetData: Ae };
            return W;
          }
          function k(Ae) {
            var J = E(Ae, this.assetsPath, this.path),
              N = u("img");
            (N.crossOrigin = "anonymous"),
              N.addEventListener("load", this._imageLoaded, !1),
              N.addEventListener(
                "error",
                function () {
                  (W.img = c), this._imageLoaded();
                }.bind(this),
                !1,
              ),
              (N.src = J);
            var W = { img: N, assetData: Ae };
            return W;
          }
          function z(Ae) {
            var J = { assetData: Ae },
              N = E(Ae, this.assetsPath, this.path);
            return (
              P.loadData(
                N,
                function (W) {
                  (J.img = W), this._footageLoaded();
                }.bind(this),
                function () {
                  (J.img = {}), this._footageLoaded();
                }.bind(this),
              ),
              J
            );
          }
          function H(Ae, J) {
            this.imagesLoadedCb = J;
            var N,
              W = Ae.length;
            for (N = 0; N < W; N += 1)
              Ae[N].layers ||
                (!Ae[N].t || Ae[N].t === "seq"
                  ? ((this.totalImages += 1),
                    this.images.push(this._createImageData(Ae[N])))
                  : Ae[N].t === 3 &&
                    ((this.totalFootages += 1),
                    this.images.push(this.createFootageData(Ae[N]))));
          }
          function re(Ae) {
            this.path = Ae || "";
          }
          function ae(Ae) {
            this.assetsPath = Ae || "";
          }
          function be(Ae) {
            for (var J = 0, N = this.images.length; J < N; ) {
              if (this.images[J].assetData === Ae) return this.images[J].img;
              J += 1;
            }
            return null;
          }
          function K() {
            (this.imagesLoadedCb = null), (this.images.length = 0);
          }
          function oe() {
            return this.totalImages === this.loadedAssets;
          }
          function pe() {
            return this.totalFootages === this.loadedFootagesCount;
          }
          function fe(Ae, J) {
            Ae === "svg"
              ? ((this._elementHelper = J),
                (this._createImageData = this.createImageData.bind(this)))
              : (this._createImageData = this.createImgData.bind(this));
          }
          function ye() {
            (this._imageLoaded = h.bind(this)),
              (this._footageLoaded = p.bind(this)),
              (this.testImageLoaded = S.bind(this)),
              (this.createFootageData = z.bind(this)),
              (this.assetsPath = ""),
              (this.path = ""),
              (this.totalImages = 0),
              (this.totalFootages = 0),
              (this.loadedAssets = 0),
              (this.loadedFootagesCount = 0),
              (this.imagesLoadedCb = null),
              (this.images = []);
          }
          return (
            (ye.prototype = {
              loadAssets: H,
              setAssetsPath: ae,
              setPath: re,
              loadedImages: oe,
              loadedFootages: pe,
              destroy: K,
              getAsset: be,
              createImgData: k,
              createImageData: _,
              imageLoaded: h,
              footageLoaded: p,
              setCacheType: fe,
            }),
            ye
          );
        })();
      function te() {}
      te.prototype = {
        triggerEvent: function (h, p) {
          if (this._cbs[h])
            for (var E = this._cbs[h], S = 0; S < E.length; S += 1) E[S](p);
        },
        addEventListener: function (h, p) {
          return (
            this._cbs[h] || (this._cbs[h] = []),
            this._cbs[h].push(p),
            function () {
              this.removeEventListener(h, p);
            }.bind(this)
          );
        },
        removeEventListener: function (h, p) {
          if (!p) this._cbs[h] = null;
          else if (this._cbs[h]) {
            for (var E = 0, S = this._cbs[h].length; E < S; )
              this._cbs[h][E] === p &&
                (this._cbs[h].splice(E, 1), (E -= 1), (S -= 1)),
                (E += 1);
            this._cbs[h].length || (this._cbs[h] = null);
          }
        },
      };
      var Be = (function () {
          function c(h) {
            for (
              var p = h.split(`\r
`),
                E = {},
                S,
                _ = 0,
                k = 0;
              k < p.length;
              k += 1
            )
              (S = p[k].split(":")),
                S.length === 2 && ((E[S[0]] = S[1].trim()), (_ += 1));
            if (_ === 0) throw new Error();
            return E;
          }
          return function (h) {
            for (var p = [], E = 0; E < h.length; E += 1) {
              var S = h[E],
                _ = { time: S.tm, duration: S.dr };
              try {
                _.payload = JSON.parse(h[E].cm);
              } catch {
                try {
                  _.payload = c(h[E].cm);
                } catch {
                  _.payload = { name: h[E].cm };
                }
              }
              p.push(_);
            }
            return p;
          };
        })(),
        Ie = (function () {
          function c(h) {
            this.compositions.push(h);
          }
          return function () {
            function h(p) {
              for (var E = 0, S = this.compositions.length; E < S; ) {
                if (
                  this.compositions[E].data &&
                  this.compositions[E].data.nm === p
                )
                  return (
                    this.compositions[E].prepareFrame &&
                      this.compositions[E].data.xt &&
                      this.compositions[E].prepareFrame(this.currentFrame),
                    this.compositions[E].compInterface
                  );
                E += 1;
              }
              return null;
            }
            return (
              (h.compositions = []),
              (h.currentFrame = 0),
              (h.registerComposition = c),
              h
            );
          };
        })(),
        Le = {},
        He = function (h, p) {
          Le[h] = p;
        };
      function Ne(c) {
        return Le[c];
      }
      function Pe() {
        if (Le.canvas) return "canvas";
        for (var c in Le) if (Le[c]) return c;
        return "";
      }
      function we(c) {
        "@babel/helpers - typeof";
        return (
          typeof Symbol == "function" && typeof Symbol.iterator == "symbol"
            ? (we = function (p) {
                return typeof p;
              })
            : (we = function (p) {
                return p &&
                  typeof Symbol == "function" &&
                  p.constructor === Symbol &&
                  p !== Symbol.prototype
                  ? "symbol"
                  : typeof p;
              }),
          we(c)
        );
      }
      var he = function () {
        (this._cbs = []),
          (this.name = ""),
          (this.path = ""),
          (this.isLoaded = !1),
          (this.currentFrame = 0),
          (this.currentRawFrame = 0),
          (this.firstFrame = 0),
          (this.totalFrames = 0),
          (this.frameRate = 0),
          (this.frameMult = 0),
          (this.playSpeed = 1),
          (this.playDirection = 1),
          (this.playCount = 0),
          (this.animationData = {}),
          (this.assets = []),
          (this.isPaused = !0),
          (this.autoplay = !1),
          (this.loop = !0),
          (this.renderer = null),
          (this.animationID = q()),
          (this.assetsPath = ""),
          (this.timeCompleted = 0),
          (this.segmentPos = 0),
          (this.isSubframeEnabled = se()),
          (this.segments = []),
          (this._idle = !0),
          (this._completedLoop = !1),
          (this.projectInterface = Ie()),
          (this.imagePreloader = new M()),
          (this.audioController = g()),
          (this.markers = []),
          (this.configAnimation = this.configAnimation.bind(this)),
          (this.onSetupError = this.onSetupError.bind(this)),
          (this.onSegmentComplete = this.onSegmentComplete.bind(this)),
          (this.drawnFrameEvent = new Q("drawnFrame", 0, 0, 0)),
          (this.expressionsPlugin = ie());
      };
      f([te], he),
        (he.prototype.setParams = function (c) {
          (c.wrapper || c.container) &&
            (this.wrapper = c.wrapper || c.container);
          var h = "svg";
          c.animType ? (h = c.animType) : c.renderer && (h = c.renderer);
          var p = Ne(h);
          (this.renderer = new p(this, c.rendererSettings)),
            this.imagePreloader.setCacheType(h, this.renderer.globalData.defs),
            this.renderer.setProjectInterface(this.projectInterface),
            (this.animType = h),
            c.loop === "" ||
            c.loop === null ||
            c.loop === void 0 ||
            c.loop === !0
              ? (this.loop = !0)
              : c.loop === !1
                ? (this.loop = !1)
                : (this.loop = parseInt(c.loop, 10)),
            (this.autoplay = "autoplay" in c ? c.autoplay : !0),
            (this.name = c.name ? c.name : ""),
            (this.autoloadSegments = Object.prototype.hasOwnProperty.call(
              c,
              "autoloadSegments",
            )
              ? c.autoloadSegments
              : !0),
            (this.assetsPath = c.assetsPath),
            (this.initialSegment = c.initialSegment),
            c.audioFactory &&
              this.audioController.setAudioFactory(c.audioFactory),
            c.animationData
              ? this.setupAnimation(c.animationData)
              : c.path &&
                (c.path.lastIndexOf("\\") !== -1
                  ? (this.path = c.path.substr(0, c.path.lastIndexOf("\\") + 1))
                  : (this.path = c.path.substr(0, c.path.lastIndexOf("/") + 1)),
                (this.fileName = c.path.substr(c.path.lastIndexOf("/") + 1)),
                (this.fileName = this.fileName.substr(
                  0,
                  this.fileName.lastIndexOf(".json"),
                )),
                P.loadAnimation(
                  c.path,
                  this.configAnimation,
                  this.onSetupError,
                ));
        }),
        (he.prototype.onSetupError = function () {
          this.trigger("data_failed");
        }),
        (he.prototype.setupAnimation = function (c) {
          P.completeAnimation(c, this.configAnimation);
        }),
        (he.prototype.setData = function (c, h) {
          h && we(h) !== "object" && (h = JSON.parse(h));
          var p = { wrapper: c, animationData: h },
            E = c.attributes;
          (p.path = E.getNamedItem("data-animation-path")
            ? E.getNamedItem("data-animation-path").value
            : E.getNamedItem("data-bm-path")
              ? E.getNamedItem("data-bm-path").value
              : E.getNamedItem("bm-path")
                ? E.getNamedItem("bm-path").value
                : ""),
            (p.animType = E.getNamedItem("data-anim-type")
              ? E.getNamedItem("data-anim-type").value
              : E.getNamedItem("data-bm-type")
                ? E.getNamedItem("data-bm-type").value
                : E.getNamedItem("bm-type")
                  ? E.getNamedItem("bm-type").value
                  : E.getNamedItem("data-bm-renderer")
                    ? E.getNamedItem("data-bm-renderer").value
                    : E.getNamedItem("bm-renderer")
                      ? E.getNamedItem("bm-renderer").value
                      : Pe() || "canvas");
          var S = E.getNamedItem("data-anim-loop")
            ? E.getNamedItem("data-anim-loop").value
            : E.getNamedItem("data-bm-loop")
              ? E.getNamedItem("data-bm-loop").value
              : E.getNamedItem("bm-loop")
                ? E.getNamedItem("bm-loop").value
                : "";
          S === "false"
            ? (p.loop = !1)
            : S === "true"
              ? (p.loop = !0)
              : S !== "" && (p.loop = parseInt(S, 10));
          var _ = E.getNamedItem("data-anim-autoplay")
            ? E.getNamedItem("data-anim-autoplay").value
            : E.getNamedItem("data-bm-autoplay")
              ? E.getNamedItem("data-bm-autoplay").value
              : E.getNamedItem("bm-autoplay")
                ? E.getNamedItem("bm-autoplay").value
                : !0;
          (p.autoplay = _ !== "false"),
            (p.name = E.getNamedItem("data-name")
              ? E.getNamedItem("data-name").value
              : E.getNamedItem("data-bm-name")
                ? E.getNamedItem("data-bm-name").value
                : E.getNamedItem("bm-name")
                  ? E.getNamedItem("bm-name").value
                  : "");
          var k = E.getNamedItem("data-anim-prerender")
            ? E.getNamedItem("data-anim-prerender").value
            : E.getNamedItem("data-bm-prerender")
              ? E.getNamedItem("data-bm-prerender").value
              : E.getNamedItem("bm-prerender")
                ? E.getNamedItem("bm-prerender").value
                : "";
          k === "false" && (p.prerender = !1),
            p.path ? this.setParams(p) : this.trigger("destroy");
        }),
        (he.prototype.includeLayers = function (c) {
          c.op > this.animationData.op &&
            ((this.animationData.op = c.op),
            (this.totalFrames = Math.floor(c.op - this.animationData.ip)));
          var h = this.animationData.layers,
            p,
            E = h.length,
            S = c.layers,
            _,
            k = S.length;
          for (_ = 0; _ < k; _ += 1)
            for (p = 0; p < E; ) {
              if (h[p].id === S[_].id) {
                h[p] = S[_];
                break;
              }
              p += 1;
            }
          if (
            ((c.chars || c.fonts) &&
              (this.renderer.globalData.fontManager.addChars(c.chars),
              this.renderer.globalData.fontManager.addFonts(
                c.fonts,
                this.renderer.globalData.defs,
              )),
            c.assets)
          )
            for (E = c.assets.length, p = 0; p < E; p += 1)
              this.animationData.assets.push(c.assets[p]);
          (this.animationData.__complete = !1),
            P.completeAnimation(this.animationData, this.onSegmentComplete);
        }),
        (he.prototype.onSegmentComplete = function (c) {
          this.animationData = c;
          var h = ie();
          h && h.initExpressions(this), this.loadNextSegment();
        }),
        (he.prototype.loadNextSegment = function () {
          var c = this.animationData.segments;
          if (!c || c.length === 0 || !this.autoloadSegments) {
            this.trigger("data_ready"), (this.timeCompleted = this.totalFrames);
            return;
          }
          var h = c.shift();
          this.timeCompleted = h.time * this.frameRate;
          var p = this.path + this.fileName + "_" + this.segmentPos + ".json";
          (this.segmentPos += 1),
            P.loadData(
              p,
              this.includeLayers.bind(this),
              function () {
                this.trigger("data_failed");
              }.bind(this),
            );
        }),
        (he.prototype.loadSegments = function () {
          var c = this.animationData.segments;
          c || (this.timeCompleted = this.totalFrames), this.loadNextSegment();
        }),
        (he.prototype.imagesLoaded = function () {
          this.trigger("loaded_images"), this.checkLoaded();
        }),
        (he.prototype.preloadImages = function () {
          this.imagePreloader.setAssetsPath(this.assetsPath),
            this.imagePreloader.setPath(this.path),
            this.imagePreloader.loadAssets(
              this.animationData.assets,
              this.imagesLoaded.bind(this),
            );
        }),
        (he.prototype.configAnimation = function (c) {
          if (this.renderer)
            try {
              (this.animationData = c),
                this.initialSegment
                  ? ((this.totalFrames = Math.floor(
                      this.initialSegment[1] - this.initialSegment[0],
                    )),
                    (this.firstFrame = Math.round(this.initialSegment[0])))
                  : ((this.totalFrames = Math.floor(
                      this.animationData.op - this.animationData.ip,
                    )),
                    (this.firstFrame = Math.round(this.animationData.ip))),
                this.renderer.configAnimation(c),
                c.assets || (c.assets = []),
                (this.assets = this.animationData.assets),
                (this.frameRate = this.animationData.fr),
                (this.frameMult = this.animationData.fr / 1e3),
                this.renderer.searchExtraCompositions(c.assets),
                (this.markers = Be(c.markers || [])),
                this.trigger("config_ready"),
                this.preloadImages(),
                this.loadSegments(),
                this.updaFrameModifier(),
                this.waitForFontsLoaded(),
                this.isPaused && this.audioController.pause();
            } catch (h) {
              this.triggerConfigError(h);
            }
        }),
        (he.prototype.waitForFontsLoaded = function () {
          this.renderer &&
            (this.renderer.globalData.fontManager.isLoaded
              ? this.checkLoaded()
              : setTimeout(this.waitForFontsLoaded.bind(this), 20));
        }),
        (he.prototype.checkLoaded = function () {
          if (
            !this.isLoaded &&
            this.renderer.globalData.fontManager.isLoaded &&
            (this.imagePreloader.loadedImages() ||
              this.renderer.rendererType !== "canvas") &&
            this.imagePreloader.loadedFootages()
          ) {
            this.isLoaded = !0;
            var c = ie();
            c && c.initExpressions(this),
              this.renderer.initItems(),
              setTimeout(
                function () {
                  this.trigger("DOMLoaded");
                }.bind(this),
                0,
              ),
              this.gotoFrame(),
              this.autoplay && this.play();
          }
        }),
        (he.prototype.resize = function (c, h) {
          var p = typeof c == "number" ? c : void 0,
            E = typeof h == "number" ? h : void 0;
          this.renderer.updateContainerSize(p, E);
        }),
        (he.prototype.setSubframe = function (c) {
          this.isSubframeEnabled = !!c;
        }),
        (he.prototype.gotoFrame = function () {
          (this.currentFrame = this.isSubframeEnabled
            ? this.currentRawFrame
            : ~~this.currentRawFrame),
            this.timeCompleted !== this.totalFrames &&
              this.currentFrame > this.timeCompleted &&
              (this.currentFrame = this.timeCompleted),
            this.trigger("enterFrame"),
            this.renderFrame(),
            this.trigger("drawnFrame");
        }),
        (he.prototype.renderFrame = function () {
          if (!(this.isLoaded === !1 || !this.renderer))
            try {
              this.expressionsPlugin && this.expressionsPlugin.resetFrame(),
                this.renderer.renderFrame(this.currentFrame + this.firstFrame);
            } catch (c) {
              this.triggerRenderFrameError(c);
            }
        }),
        (he.prototype.play = function (c) {
          (c && this.name !== c) ||
            (this.isPaused === !0 &&
              ((this.isPaused = !1),
              this.trigger("_play"),
              this.audioController.resume(),
              this._idle && ((this._idle = !1), this.trigger("_active"))));
        }),
        (he.prototype.pause = function (c) {
          (c && this.name !== c) ||
            (this.isPaused === !1 &&
              ((this.isPaused = !0),
              this.trigger("_pause"),
              (this._idle = !0),
              this.trigger("_idle"),
              this.audioController.pause()));
        }),
        (he.prototype.togglePause = function (c) {
          (c && this.name !== c) ||
            (this.isPaused === !0 ? this.play() : this.pause());
        }),
        (he.prototype.stop = function (c) {
          (c && this.name !== c) ||
            (this.pause(),
            (this.playCount = 0),
            (this._completedLoop = !1),
            this.setCurrentRawFrameValue(0));
        }),
        (he.prototype.getMarkerData = function (c) {
          for (var h, p = 0; p < this.markers.length; p += 1)
            if (((h = this.markers[p]), h.payload && h.payload.name === c))
              return h;
          return null;
        }),
        (he.prototype.goToAndStop = function (c, h, p) {
          if (!(p && this.name !== p)) {
            var E = Number(c);
            if (isNaN(E)) {
              var S = this.getMarkerData(c);
              S && this.goToAndStop(S.time, !0);
            } else
              h
                ? this.setCurrentRawFrameValue(c)
                : this.setCurrentRawFrameValue(c * this.frameModifier);
            this.pause();
          }
        }),
        (he.prototype.goToAndPlay = function (c, h, p) {
          if (!(p && this.name !== p)) {
            var E = Number(c);
            if (isNaN(E)) {
              var S = this.getMarkerData(c);
              S &&
                (S.duration
                  ? this.playSegments([S.time, S.time + S.duration], !0)
                  : this.goToAndStop(S.time, !0));
            } else this.goToAndStop(E, h, p);
            this.play();
          }
        }),
        (he.prototype.advanceTime = function (c) {
          if (!(this.isPaused === !0 || this.isLoaded === !1)) {
            var h = this.currentRawFrame + c * this.frameModifier,
              p = !1;
            h >= this.totalFrames - 1 && this.frameModifier > 0
              ? !this.loop || this.playCount === this.loop
                ? this.checkSegments(
                    h > this.totalFrames ? h % this.totalFrames : 0,
                  ) || ((p = !0), (h = this.totalFrames - 1))
                : h >= this.totalFrames
                  ? ((this.playCount += 1),
                    this.checkSegments(h % this.totalFrames) ||
                      (this.setCurrentRawFrameValue(h % this.totalFrames),
                      (this._completedLoop = !0),
                      this.trigger("loopComplete")))
                  : this.setCurrentRawFrameValue(h)
              : h < 0
                ? this.checkSegments(h % this.totalFrames) ||
                  (this.loop && !(this.playCount-- <= 0 && this.loop !== !0)
                    ? (this.setCurrentRawFrameValue(
                        this.totalFrames + (h % this.totalFrames),
                      ),
                      this._completedLoop
                        ? this.trigger("loopComplete")
                        : (this._completedLoop = !0))
                    : ((p = !0), (h = 0)))
                : this.setCurrentRawFrameValue(h),
              p &&
                (this.setCurrentRawFrameValue(h),
                this.pause(),
                this.trigger("complete"));
          }
        }),
        (he.prototype.adjustSegment = function (c, h) {
          (this.playCount = 0),
            c[1] < c[0]
              ? (this.frameModifier > 0 &&
                  (this.playSpeed < 0
                    ? this.setSpeed(-this.playSpeed)
                    : this.setDirection(-1)),
                (this.totalFrames = c[0] - c[1]),
                (this.timeCompleted = this.totalFrames),
                (this.firstFrame = c[1]),
                this.setCurrentRawFrameValue(this.totalFrames - 0.001 - h))
              : c[1] > c[0] &&
                (this.frameModifier < 0 &&
                  (this.playSpeed < 0
                    ? this.setSpeed(-this.playSpeed)
                    : this.setDirection(1)),
                (this.totalFrames = c[1] - c[0]),
                (this.timeCompleted = this.totalFrames),
                (this.firstFrame = c[0]),
                this.setCurrentRawFrameValue(0.001 + h)),
            this.trigger("segmentStart");
        }),
        (he.prototype.setSegment = function (c, h) {
          var p = -1;
          this.isPaused &&
            (this.currentRawFrame + this.firstFrame < c
              ? (p = c)
              : this.currentRawFrame + this.firstFrame > h && (p = h - c)),
            (this.firstFrame = c),
            (this.totalFrames = h - c),
            (this.timeCompleted = this.totalFrames),
            p !== -1 && this.goToAndStop(p, !0);
        }),
        (he.prototype.playSegments = function (c, h) {
          if ((h && (this.segments.length = 0), we(c[0]) === "object")) {
            var p,
              E = c.length;
            for (p = 0; p < E; p += 1) this.segments.push(c[p]);
          } else this.segments.push(c);
          this.segments.length &&
            h &&
            this.adjustSegment(this.segments.shift(), 0),
            this.isPaused && this.play();
        }),
        (he.prototype.resetSegments = function (c) {
          (this.segments.length = 0),
            this.segments.push([this.animationData.ip, this.animationData.op]),
            c && this.checkSegments(0);
        }),
        (he.prototype.checkSegments = function (c) {
          return this.segments.length
            ? (this.adjustSegment(this.segments.shift(), c), !0)
            : !1;
        }),
        (he.prototype.destroy = function (c) {
          (c && this.name !== c) ||
            !this.renderer ||
            (this.renderer.destroy(),
            this.imagePreloader.destroy(),
            this.trigger("destroy"),
            (this._cbs = null),
            (this.onEnterFrame = null),
            (this.onLoopComplete = null),
            (this.onComplete = null),
            (this.onSegmentStart = null),
            (this.onDestroy = null),
            (this.renderer = null),
            (this.expressionsPlugin = null),
            (this.imagePreloader = null),
            (this.projectInterface = null));
        }),
        (he.prototype.setCurrentRawFrameValue = function (c) {
          (this.currentRawFrame = c), this.gotoFrame();
        }),
        (he.prototype.setSpeed = function (c) {
          (this.playSpeed = c), this.updaFrameModifier();
        }),
        (he.prototype.setDirection = function (c) {
          (this.playDirection = c < 0 ? -1 : 1), this.updaFrameModifier();
        }),
        (he.prototype.setLoop = function (c) {
          this.loop = c;
        }),
        (he.prototype.setVolume = function (c, h) {
          (h && this.name !== h) || this.audioController.setVolume(c);
        }),
        (he.prototype.getVolume = function () {
          return this.audioController.getVolume();
        }),
        (he.prototype.mute = function (c) {
          (c && this.name !== c) || this.audioController.mute();
        }),
        (he.prototype.unmute = function (c) {
          (c && this.name !== c) || this.audioController.unmute();
        }),
        (he.prototype.updaFrameModifier = function () {
          (this.frameModifier =
            this.frameMult * this.playSpeed * this.playDirection),
            this.audioController.setRate(this.playSpeed * this.playDirection);
        }),
        (he.prototype.getPath = function () {
          return this.path;
        }),
        (he.prototype.getAssetsPath = function (c) {
          var h = "";
          if (c.e) h = c.p;
          else if (this.assetsPath) {
            var p = c.p;
            p.indexOf("images/") !== -1 && (p = p.split("/")[1]),
              (h = this.assetsPath + p);
          } else (h = this.path), (h += c.u ? c.u : ""), (h += c.p);
          return h;
        }),
        (he.prototype.getAssetData = function (c) {
          for (var h = 0, p = this.assets.length; h < p; ) {
            if (c === this.assets[h].id) return this.assets[h];
            h += 1;
          }
          return null;
        }),
        (he.prototype.hide = function () {
          this.renderer.hide();
        }),
        (he.prototype.show = function () {
          this.renderer.show();
        }),
        (he.prototype.getDuration = function (c) {
          return c ? this.totalFrames : this.totalFrames / this.frameRate;
        }),
        (he.prototype.updateDocumentData = function (c, h, p) {
          try {
            var E = this.renderer.getElementByPath(c);
            E.updateDocumentData(h, p);
          } catch {}
        }),
        (he.prototype.trigger = function (c) {
          if (this._cbs && this._cbs[c])
            switch (c) {
              case "enterFrame":
                this.triggerEvent(
                  c,
                  new Q(
                    c,
                    this.currentFrame,
                    this.totalFrames,
                    this.frameModifier,
                  ),
                );
                break;
              case "drawnFrame":
                (this.drawnFrameEvent.currentTime = this.currentFrame),
                  (this.drawnFrameEvent.totalTime = this.totalFrames),
                  (this.drawnFrameEvent.direction = this.frameModifier),
                  this.triggerEvent(c, this.drawnFrameEvent);
                break;
              case "loopComplete":
                this.triggerEvent(
                  c,
                  new $(c, this.loop, this.playCount, this.frameMult),
                );
                break;
              case "complete":
                this.triggerEvent(c, new L(c, this.frameMult));
                break;
              case "segmentStart":
                this.triggerEvent(
                  c,
                  new X(c, this.firstFrame, this.totalFrames),
                );
                break;
              case "destroy":
                this.triggerEvent(c, new V(c, this));
                break;
              default:
                this.triggerEvent(c);
            }
          c === "enterFrame" &&
            this.onEnterFrame &&
            this.onEnterFrame.call(
              this,
              new Q(c, this.currentFrame, this.totalFrames, this.frameMult),
            ),
            c === "loopComplete" &&
              this.onLoopComplete &&
              this.onLoopComplete.call(
                this,
                new $(c, this.loop, this.playCount, this.frameMult),
              ),
            c === "complete" &&
              this.onComplete &&
              this.onComplete.call(this, new L(c, this.frameMult)),
            c === "segmentStart" &&
              this.onSegmentStart &&
              this.onSegmentStart.call(
                this,
                new X(c, this.firstFrame, this.totalFrames),
              ),
            c === "destroy" &&
              this.onDestroy &&
              this.onDestroy.call(this, new V(c, this));
        }),
        (he.prototype.triggerRenderFrameError = function (c) {
          var h = new G(c, this.currentFrame);
          this.triggerEvent("error", h),
            this.onError && this.onError.call(this, h);
        }),
        (he.prototype.triggerConfigError = function (c) {
          var h = new le(c, this.currentFrame);
          this.triggerEvent("error", h),
            this.onError && this.onError.call(this, h);
        });
      var Ke = (function () {
          var c = {},
            h = [],
            p = 0,
            E = 0,
            S = 0,
            _ = !0,
            k = !1;
          function z(Y) {
            for (var de = 0, O = Y.target; de < E; )
              h[de].animation === O &&
                (h.splice(de, 1), (de -= 1), (E -= 1), O.isPaused || be()),
                (de += 1);
          }
          function H(Y, de) {
            if (!Y) return null;
            for (var O = 0; O < E; ) {
              if (h[O].elem === Y && h[O].elem !== null) return h[O].animation;
              O += 1;
            }
            var R = new he();
            return K(R, Y), R.setData(Y, de), R;
          }
          function re() {
            var Y,
              de = h.length,
              O = [];
            for (Y = 0; Y < de; Y += 1) O.push(h[Y].animation);
            return O;
          }
          function ae() {
            (S += 1), ut();
          }
          function be() {
            S -= 1;
          }
          function K(Y, de) {
            Y.addEventListener("destroy", z),
              Y.addEventListener("_active", ae),
              Y.addEventListener("_idle", be),
              h.push({ elem: de, animation: Y }),
              (E += 1);
          }
          function oe(Y) {
            var de = new he();
            return K(de, null), de.setParams(Y), de;
          }
          function pe(Y, de) {
            var O;
            for (O = 0; O < E; O += 1) h[O].animation.setSpeed(Y, de);
          }
          function fe(Y, de) {
            var O;
            for (O = 0; O < E; O += 1) h[O].animation.setDirection(Y, de);
          }
          function ye(Y) {
            var de;
            for (de = 0; de < E; de += 1) h[de].animation.play(Y);
          }
          function Ae(Y) {
            var de = Y - p,
              O;
            for (O = 0; O < E; O += 1) h[O].animation.advanceTime(de);
            (p = Y), S && !k ? window.requestAnimationFrame(Ae) : (_ = !0);
          }
          function J(Y) {
            (p = Y), window.requestAnimationFrame(Ae);
          }
          function N(Y) {
            var de;
            for (de = 0; de < E; de += 1) h[de].animation.pause(Y);
          }
          function W(Y, de, O) {
            var R;
            for (R = 0; R < E; R += 1) h[R].animation.goToAndStop(Y, de, O);
          }
          function ne(Y) {
            var de;
            for (de = 0; de < E; de += 1) h[de].animation.stop(Y);
          }
          function ge(Y) {
            var de;
            for (de = 0; de < E; de += 1) h[de].animation.togglePause(Y);
          }
          function Ee(Y) {
            var de;
            for (de = E - 1; de >= 0; de -= 1) h[de].animation.destroy(Y);
          }
          function Qe(Y, de, O) {
            var R = [].concat(
                [].slice.call(document.getElementsByClassName("lottie")),
                [].slice.call(document.getElementsByClassName("bodymovin")),
              ),
              Se,
              me = R.length;
            for (Se = 0; Se < me; Se += 1)
              O && R[Se].setAttribute("data-bm-type", O), H(R[Se], Y);
            if (de && me === 0) {
              O || (O = "svg");
              var Xe = document.getElementsByTagName("body")[0];
              Xe.innerText = "";
              var at = u("div");
              (at.style.width = "100%"),
                (at.style.height = "100%"),
                at.setAttribute("data-bm-type", O),
                Xe.appendChild(at),
                H(at, Y);
            }
          }
          function Re() {
            var Y;
            for (Y = 0; Y < E; Y += 1) h[Y].animation.resize();
          }
          function ut() {
            !k && S && _ && (window.requestAnimationFrame(J), (_ = !1));
          }
          function it() {
            k = !0;
          }
          function Ve() {
            (k = !1), ut();
          }
          function ft(Y, de) {
            var O;
            for (O = 0; O < E; O += 1) h[O].animation.setVolume(Y, de);
          }
          function rt(Y) {
            var de;
            for (de = 0; de < E; de += 1) h[de].animation.mute(Y);
          }
          function Me(Y) {
            var de;
            for (de = 0; de < E; de += 1) h[de].animation.unmute(Y);
          }
          return (
            (c.registerAnimation = H),
            (c.loadAnimation = oe),
            (c.setSpeed = pe),
            (c.setDirection = fe),
            (c.play = ye),
            (c.pause = N),
            (c.stop = ne),
            (c.togglePause = ge),
            (c.searchAnimations = Qe),
            (c.resize = Re),
            (c.goToAndStop = W),
            (c.destroy = Ee),
            (c.freeze = it),
            (c.unfreeze = Ve),
            (c.setVolume = ft),
            (c.mute = rt),
            (c.unmute = Me),
            (c.getRegisteredAnimations = re),
            c
          );
        })(),
        Je = (function () {
          var c = {};
          c.getBezierEasing = p;
          var h = {};
          function p(J, N, W, ne, ge) {
            var Ee =
              ge ||
              ("bez_" + J + "_" + N + "_" + W + "_" + ne).replace(/\./g, "p");
            if (h[Ee]) return h[Ee];
            var Qe = new Ae([J, N, W, ne]);
            return (h[Ee] = Qe), Qe;
          }
          var E = 4,
            S = 0.001,
            _ = 1e-7,
            k = 10,
            z = 11,
            H = 1 / (z - 1),
            re = typeof Float32Array == "function";
          function ae(J, N) {
            return 1 - 3 * N + 3 * J;
          }
          function be(J, N) {
            return 3 * N - 6 * J;
          }
          function K(J) {
            return 3 * J;
          }
          function oe(J, N, W) {
            return ((ae(N, W) * J + be(N, W)) * J + K(N)) * J;
          }
          function pe(J, N, W) {
            return 3 * ae(N, W) * J * J + 2 * be(N, W) * J + K(N);
          }
          function fe(J, N, W, ne, ge) {
            var Ee,
              Qe,
              Re = 0;
            do
              (Qe = N + (W - N) / 2),
                (Ee = oe(Qe, ne, ge) - J),
                Ee > 0 ? (W = Qe) : (N = Qe);
            while (Math.abs(Ee) > _ && ++Re < k);
            return Qe;
          }
          function ye(J, N, W, ne) {
            for (var ge = 0; ge < E; ++ge) {
              var Ee = pe(N, W, ne);
              if (Ee === 0) return N;
              var Qe = oe(N, W, ne) - J;
              N -= Qe / Ee;
            }
            return N;
          }
          function Ae(J) {
            (this._p = J),
              (this._mSampleValues = re ? new Float32Array(z) : new Array(z)),
              (this._precomputed = !1),
              (this.get = this.get.bind(this));
          }
          return (
            (Ae.prototype = {
              get: function (N) {
                var W = this._p[0],
                  ne = this._p[1],
                  ge = this._p[2],
                  Ee = this._p[3];
                return (
                  this._precomputed || this._precompute(),
                  W === ne && ge === Ee
                    ? N
                    : N === 0
                      ? 0
                      : N === 1
                        ? 1
                        : oe(this._getTForX(N), ne, Ee)
                );
              },
              _precompute: function () {
                var N = this._p[0],
                  W = this._p[1],
                  ne = this._p[2],
                  ge = this._p[3];
                (this._precomputed = !0),
                  (N !== W || ne !== ge) && this._calcSampleValues();
              },
              _calcSampleValues: function () {
                for (var N = this._p[0], W = this._p[2], ne = 0; ne < z; ++ne)
                  this._mSampleValues[ne] = oe(ne * H, N, W);
              },
              _getTForX: function (N) {
                for (
                  var W = this._p[0],
                    ne = this._p[2],
                    ge = this._mSampleValues,
                    Ee = 0,
                    Qe = 1,
                    Re = z - 1;
                  Qe !== Re && ge[Qe] <= N;
                  ++Qe
                )
                  Ee += H;
                --Qe;
                var ut = (N - ge[Qe]) / (ge[Qe + 1] - ge[Qe]),
                  it = Ee + ut * H,
                  Ve = pe(it, W, ne);
                return Ve >= S
                  ? ye(N, it, W, ne)
                  : Ve === 0
                    ? it
                    : fe(N, Ee, Ee + H, W, ne);
              },
            }),
            c
          );
        })(),
        lt = (function () {
          function c(h) {
            return h.concat(B(h.length));
          }
          return { double: c };
        })(),
        mt = (function () {
          return function (c, h, p) {
            var E = 0,
              S = c,
              _ = B(S),
              k = { newElement: z, release: H };
            function z() {
              var re;
              return E ? ((E -= 1), (re = _[E])) : (re = h()), re;
            }
            function H(re) {
              E === S && ((_ = lt.double(_)), (S *= 2)),
                p && p(re),
                (_[E] = re),
                (E += 1);
            }
            return k;
          };
        })(),
        Bt = (function () {
          function c() {
            return {
              addedLength: 0,
              percents: v("float32", De()),
              lengths: v("float32", De()),
            };
          }
          return mt(8, c);
        })(),
        kt = (function () {
          function c() {
            return { lengths: [], totalLength: 0 };
          }
          function h(p) {
            var E,
              S = p.lengths.length;
            for (E = 0; E < S; E += 1) Bt.release(p.lengths[E]);
            p.lengths.length = 0;
          }
          return mt(8, c, h);
        })();
      function kr() {
        var c = Math;
        function h(K, oe, pe, fe, ye, Ae) {
          var J = K * fe + oe * ye + pe * Ae - ye * fe - Ae * K - pe * oe;
          return J > -0.001 && J < 0.001;
        }
        function p(K, oe, pe, fe, ye, Ae, J, N, W) {
          if (pe === 0 && Ae === 0 && W === 0) return h(K, oe, fe, ye, J, N);
          var ne = c.sqrt(
              c.pow(fe - K, 2) + c.pow(ye - oe, 2) + c.pow(Ae - pe, 2),
            ),
            ge = c.sqrt(c.pow(J - K, 2) + c.pow(N - oe, 2) + c.pow(W - pe, 2)),
            Ee = c.sqrt(c.pow(J - fe, 2) + c.pow(N - ye, 2) + c.pow(W - Ae, 2)),
            Qe;
          return (
            ne > ge
              ? ne > Ee
                ? (Qe = ne - ge - Ee)
                : (Qe = Ee - ge - ne)
              : Ee > ge
                ? (Qe = Ee - ge - ne)
                : (Qe = ge - ne - Ee),
            Qe > -1e-4 && Qe < 1e-4
          );
        }
        var E = (function () {
          return function (K, oe, pe, fe) {
            var ye = De(),
              Ae,
              J,
              N,
              W,
              ne,
              ge = 0,
              Ee,
              Qe = [],
              Re = [],
              ut = Bt.newElement();
            for (N = pe.length, Ae = 0; Ae < ye; Ae += 1) {
              for (ne = Ae / (ye - 1), Ee = 0, J = 0; J < N; J += 1)
                (W =
                  C(1 - ne, 3) * K[J] +
                  3 * C(1 - ne, 2) * ne * pe[J] +
                  3 * (1 - ne) * C(ne, 2) * fe[J] +
                  C(ne, 3) * oe[J]),
                  (Qe[J] = W),
                  Re[J] !== null && (Ee += C(Qe[J] - Re[J], 2)),
                  (Re[J] = Qe[J]);
              Ee && ((Ee = b(Ee)), (ge += Ee)),
                (ut.percents[Ae] = ne),
                (ut.lengths[Ae] = ge);
            }
            return (ut.addedLength = ge), ut;
          };
        })();
        function S(K) {
          var oe = kt.newElement(),
            pe = K.c,
            fe = K.v,
            ye = K.o,
            Ae = K.i,
            J,
            N = K._length,
            W = oe.lengths,
            ne = 0;
          for (J = 0; J < N - 1; J += 1)
            (W[J] = E(fe[J], fe[J + 1], ye[J], Ae[J + 1])),
              (ne += W[J].addedLength);
          return (
            pe &&
              N &&
              ((W[J] = E(fe[J], fe[0], ye[J], Ae[0])),
              (ne += W[J].addedLength)),
            (oe.totalLength = ne),
            oe
          );
        }
        function _(K) {
          (this.segmentLength = 0), (this.points = new Array(K));
        }
        function k(K, oe) {
          (this.partialLength = K), (this.point = oe);
        }
        var z = (function () {
          var K = {};
          return function (oe, pe, fe, ye) {
            var Ae = (
              oe[0] +
              "_" +
              oe[1] +
              "_" +
              pe[0] +
              "_" +
              pe[1] +
              "_" +
              fe[0] +
              "_" +
              fe[1] +
              "_" +
              ye[0] +
              "_" +
              ye[1]
            ).replace(/\./g, "p");
            if (!K[Ae]) {
              var J = De(),
                N,
                W,
                ne,
                ge,
                Ee,
                Qe = 0,
                Re,
                ut,
                it = null;
              oe.length === 2 &&
                (oe[0] !== pe[0] || oe[1] !== pe[1]) &&
                h(oe[0], oe[1], pe[0], pe[1], oe[0] + fe[0], oe[1] + fe[1]) &&
                h(oe[0], oe[1], pe[0], pe[1], pe[0] + ye[0], pe[1] + ye[1]) &&
                (J = 2);
              var Ve = new _(J);
              for (ne = fe.length, N = 0; N < J; N += 1) {
                for (
                  ut = B(ne), Ee = N / (J - 1), Re = 0, W = 0;
                  W < ne;
                  W += 1
                )
                  (ge =
                    C(1 - Ee, 3) * oe[W] +
                    3 * C(1 - Ee, 2) * Ee * (oe[W] + fe[W]) +
                    3 * (1 - Ee) * C(Ee, 2) * (pe[W] + ye[W]) +
                    C(Ee, 3) * pe[W]),
                    (ut[W] = ge),
                    it !== null && (Re += C(ut[W] - it[W], 2));
                (Re = b(Re)),
                  (Qe += Re),
                  (Ve.points[N] = new k(Re, ut)),
                  (it = ut);
              }
              (Ve.segmentLength = Qe), (K[Ae] = Ve);
            }
            return K[Ae];
          };
        })();
        function H(K, oe) {
          var pe = oe.percents,
            fe = oe.lengths,
            ye = pe.length,
            Ae = F((ye - 1) * K),
            J = K * oe.addedLength,
            N = 0;
          if (Ae === ye - 1 || Ae === 0 || J === fe[Ae]) return pe[Ae];
          for (var W = fe[Ae] > J ? -1 : 1, ne = !0; ne; )
            if (
              (fe[Ae] <= J && fe[Ae + 1] > J
                ? ((N = (J - fe[Ae]) / (fe[Ae + 1] - fe[Ae])), (ne = !1))
                : (Ae += W),
              Ae < 0 || Ae >= ye - 1)
            ) {
              if (Ae === ye - 1) return pe[Ae];
              ne = !1;
            }
          return pe[Ae] + (pe[Ae + 1] - pe[Ae]) * N;
        }
        function re(K, oe, pe, fe, ye, Ae) {
          var J = H(ye, Ae),
            N = 1 - J,
            W =
              c.round(
                (N * N * N * K[0] +
                  (J * N * N + N * J * N + N * N * J) * pe[0] +
                  (J * J * N + N * J * J + J * N * J) * fe[0] +
                  J * J * J * oe[0]) *
                  1e3,
              ) / 1e3,
            ne =
              c.round(
                (N * N * N * K[1] +
                  (J * N * N + N * J * N + N * N * J) * pe[1] +
                  (J * J * N + N * J * J + J * N * J) * fe[1] +
                  J * J * J * oe[1]) *
                  1e3,
              ) / 1e3;
          return [W, ne];
        }
        var ae = v("float32", 8);
        function be(K, oe, pe, fe, ye, Ae, J) {
          ye < 0 ? (ye = 0) : ye > 1 && (ye = 1);
          var N = H(ye, J);
          Ae = Ae > 1 ? 1 : Ae;
          var W = H(Ae, J),
            ne,
            ge = K.length,
            Ee = 1 - N,
            Qe = 1 - W,
            Re = Ee * Ee * Ee,
            ut = N * Ee * Ee * 3,
            it = N * N * Ee * 3,
            Ve = N * N * N,
            ft = Ee * Ee * Qe,
            rt = N * Ee * Qe + Ee * N * Qe + Ee * Ee * W,
            Me = N * N * Qe + Ee * N * W + N * Ee * W,
            Y = N * N * W,
            de = Ee * Qe * Qe,
            O = N * Qe * Qe + Ee * W * Qe + Ee * Qe * W,
            R = N * W * Qe + Ee * W * W + N * Qe * W,
            Se = N * W * W,
            me = Qe * Qe * Qe,
            Xe = W * Qe * Qe + Qe * W * Qe + Qe * Qe * W,
            at = W * W * Qe + Qe * W * W + W * Qe * W,
            ct = W * W * W;
          for (ne = 0; ne < ge; ne += 1)
            (ae[ne * 4] =
              c.round(
                (Re * K[ne] + ut * pe[ne] + it * fe[ne] + Ve * oe[ne]) * 1e3,
              ) / 1e3),
              (ae[ne * 4 + 1] =
                c.round(
                  (ft * K[ne] + rt * pe[ne] + Me * fe[ne] + Y * oe[ne]) * 1e3,
                ) / 1e3),
              (ae[ne * 4 + 2] =
                c.round(
                  (de * K[ne] + O * pe[ne] + R * fe[ne] + Se * oe[ne]) * 1e3,
                ) / 1e3),
              (ae[ne * 4 + 3] =
                c.round(
                  (me * K[ne] + Xe * pe[ne] + at * fe[ne] + ct * oe[ne]) * 1e3,
                ) / 1e3);
          return ae;
        }
        return {
          getSegmentsLength: S,
          getNewSegment: be,
          getPointInSegment: re,
          buildBezierData: z,
          pointOnLine2D: h,
          pointOnLine3D: p,
        };
      }
      var Xt = kr(),
        Vr = i,
        uA = Math.abs;
      function di(c, h) {
        var p = this.offsetTime,
          E;
        this.propType === "multidimensional" &&
          (E = v("float32", this.pv.length));
        for (
          var S = h.lastIndex,
            _ = S,
            k = this.keyframes.length - 1,
            z = !0,
            H,
            re,
            ae;
          z;

        ) {
          if (
            ((H = this.keyframes[_]),
            (re = this.keyframes[_ + 1]),
            _ === k - 1 && c >= re.t - p)
          ) {
            H.h && (H = re), (S = 0);
            break;
          }
          if (re.t - p > c) {
            S = _;
            break;
          }
          _ < k - 1 ? (_ += 1) : ((S = 0), (z = !1));
        }
        ae = this.keyframesMetadata[_] || {};
        var be,
          K,
          oe,
          pe,
          fe,
          ye,
          Ae = re.t - p,
          J = H.t - p,
          N;
        if (H.to) {
          ae.bezierData ||
            (ae.bezierData = Xt.buildBezierData(H.s, re.s || H.e, H.to, H.ti));
          var W = ae.bezierData;
          if (c >= Ae || c < J) {
            var ne = c >= Ae ? W.points.length - 1 : 0;
            for (K = W.points[ne].point.length, be = 0; be < K; be += 1)
              E[be] = W.points[ne].point[be];
          } else {
            ae.__fnct
              ? (ye = ae.__fnct)
              : ((ye = Je.getBezierEasing(H.o.x, H.o.y, H.i.x, H.i.y, H.n).get),
                (ae.__fnct = ye)),
              (oe = ye((c - J) / (Ae - J)));
            var ge = W.segmentLength * oe,
              Ee,
              Qe =
                h.lastFrame < c && h._lastKeyframeIndex === _
                  ? h._lastAddedLength
                  : 0;
            for (
              fe =
                h.lastFrame < c && h._lastKeyframeIndex === _
                  ? h._lastPoint
                  : 0,
                z = !0,
                pe = W.points.length;
              z;

            ) {
              if (
                ((Qe += W.points[fe].partialLength),
                ge === 0 || oe === 0 || fe === W.points.length - 1)
              ) {
                for (K = W.points[fe].point.length, be = 0; be < K; be += 1)
                  E[be] = W.points[fe].point[be];
                break;
              } else if (ge >= Qe && ge < Qe + W.points[fe + 1].partialLength) {
                for (
                  Ee = (ge - Qe) / W.points[fe + 1].partialLength,
                    K = W.points[fe].point.length,
                    be = 0;
                  be < K;
                  be += 1
                )
                  E[be] =
                    W.points[fe].point[be] +
                    (W.points[fe + 1].point[be] - W.points[fe].point[be]) * Ee;
                break;
              }
              fe < pe - 1 ? (fe += 1) : (z = !1);
            }
            (h._lastPoint = fe),
              (h._lastAddedLength = Qe - W.points[fe].partialLength),
              (h._lastKeyframeIndex = _);
          }
        } else {
          var Re, ut, it, Ve, ft;
          if (((k = H.s.length), (N = re.s || H.e), this.sh && H.h !== 1))
            if (c >= Ae) (E[0] = N[0]), (E[1] = N[1]), (E[2] = N[2]);
            else if (c <= J) (E[0] = H.s[0]), (E[1] = H.s[1]), (E[2] = H.s[2]);
            else {
              var rt = Bs(H.s),
                Me = Bs(N),
                Y = (c - J) / (Ae - J);
              An(E, Fr(rt, Me, Y));
            }
          else
            for (_ = 0; _ < k; _ += 1)
              H.h !== 1 &&
                (c >= Ae
                  ? (oe = 1)
                  : c < J
                    ? (oe = 0)
                    : (H.o.x.constructor === Array
                        ? (ae.__fnct || (ae.__fnct = []),
                          ae.__fnct[_]
                            ? (ye = ae.__fnct[_])
                            : ((Re = H.o.x[_] === void 0 ? H.o.x[0] : H.o.x[_]),
                              (ut = H.o.y[_] === void 0 ? H.o.y[0] : H.o.y[_]),
                              (it = H.i.x[_] === void 0 ? H.i.x[0] : H.i.x[_]),
                              (Ve = H.i.y[_] === void 0 ? H.i.y[0] : H.i.y[_]),
                              (ye = Je.getBezierEasing(Re, ut, it, Ve).get),
                              (ae.__fnct[_] = ye)))
                        : ae.__fnct
                          ? (ye = ae.__fnct)
                          : ((Re = H.o.x),
                            (ut = H.o.y),
                            (it = H.i.x),
                            (Ve = H.i.y),
                            (ye = Je.getBezierEasing(Re, ut, it, Ve).get),
                            (H.keyframeMetadata = ye)),
                      (oe = ye((c - J) / (Ae - J))))),
                (N = re.s || H.e),
                (ft = H.h === 1 ? H.s[_] : H.s[_] + (N[_] - H.s[_]) * oe),
                this.propType === "multidimensional" ? (E[_] = ft) : (E = ft);
        }
        return (h.lastIndex = S), E;
      }
      function Fr(c, h, p) {
        var E = [],
          S = c[0],
          _ = c[1],
          k = c[2],
          z = c[3],
          H = h[0],
          re = h[1],
          ae = h[2],
          be = h[3],
          K,
          oe,
          pe,
          fe,
          ye;
        return (
          (oe = S * H + _ * re + k * ae + z * be),
          oe < 0 && ((oe = -oe), (H = -H), (re = -re), (ae = -ae), (be = -be)),
          1 - oe > 1e-6
            ? ((K = Math.acos(oe)),
              (pe = Math.sin(K)),
              (fe = Math.sin((1 - p) * K) / pe),
              (ye = Math.sin(p * K) / pe))
            : ((fe = 1 - p), (ye = p)),
          (E[0] = fe * S + ye * H),
          (E[1] = fe * _ + ye * re),
          (E[2] = fe * k + ye * ae),
          (E[3] = fe * z + ye * be),
          E
        );
      }
      function An(c, h) {
        var p = h[0],
          E = h[1],
          S = h[2],
          _ = h[3],
          k = Math.atan2(2 * E * _ - 2 * p * S, 1 - 2 * E * E - 2 * S * S),
          z = Math.asin(2 * p * E + 2 * S * _),
          H = Math.atan2(2 * p * _ - 2 * E * S, 1 - 2 * p * p - 2 * S * S);
        (c[0] = k / D), (c[1] = z / D), (c[2] = H / D);
      }
      function Bs(c) {
        var h = c[0] * D,
          p = c[1] * D,
          E = c[2] * D,
          S = Math.cos(h / 2),
          _ = Math.cos(p / 2),
          k = Math.cos(E / 2),
          z = Math.sin(h / 2),
          H = Math.sin(p / 2),
          re = Math.sin(E / 2),
          ae = S * _ * k - z * H * re,
          be = z * H * k + S * _ * re,
          K = z * _ * k + S * H * re,
          oe = S * H * k - z * _ * re;
        return [be, K, oe, ae];
      }
      function Do() {
        var c = this.comp.renderedFrame - this.offsetTime,
          h = this.keyframes[0].t - this.offsetTime,
          p = this.keyframes[this.keyframes.length - 1].t - this.offsetTime;
        if (
          !(
            c === this._caching.lastFrame ||
            (this._caching.lastFrame !== Vr &&
              ((this._caching.lastFrame >= p && c >= p) ||
                (this._caching.lastFrame < h && c < h)))
          )
        ) {
          this._caching.lastFrame >= c &&
            ((this._caching._lastKeyframeIndex = -1),
            (this._caching.lastIndex = 0));
          var E = this.interpolateValue(c, this._caching);
          this.pv = E;
        }
        return (this._caching.lastFrame = c), this.pv;
      }
      function oa(c) {
        var h;
        if (this.propType === "unidimensional")
          (h = c * this.mult),
            uA(this.v - h) > 1e-5 && ((this.v = h), (this._mdf = !0));
        else
          for (var p = 0, E = this.v.length; p < E; )
            (h = c[p] * this.mult),
              uA(this.v[p] - h) > 1e-5 && ((this.v[p] = h), (this._mdf = !0)),
              (p += 1);
      }
      function ws() {
        if (
          !(
            this.elem.globalData.frameId === this.frameId ||
            !this.effectsSequence.length
          )
        ) {
          if (this.lock) {
            this.setVValue(this.pv);
            return;
          }
          (this.lock = !0), (this._mdf = this._isFirstFrame);
          var c,
            h = this.effectsSequence.length,
            p = this.kf ? this.pv : this.data.k;
          for (c = 0; c < h; c += 1) p = this.effectsSequence[c](p);
          this.setVValue(p),
            (this._isFirstFrame = !1),
            (this.lock = !1),
            (this.frameId = this.elem.globalData.frameId);
        }
      }
      function la(c) {
        this.effectsSequence.push(c), this.container.addDynamicProperty(this);
      }
      function I0(c, h, p, E) {
        (this.propType = "unidimensional"),
          (this.mult = p || 1),
          (this.data = h),
          (this.v = p ? h.k * p : h.k),
          (this.pv = h.k),
          (this._mdf = !1),
          (this.elem = c),
          (this.container = E),
          (this.comp = c.comp),
          (this.k = !1),
          (this.kf = !1),
          (this.vel = 0),
          (this.effectsSequence = []),
          (this._isFirstFrame = !0),
          (this.getValue = ws),
          (this.setVValue = oa),
          (this.addEffect = la);
      }
      function Xf(c, h, p, E) {
        (this.propType = "multidimensional"),
          (this.mult = p || 1),
          (this.data = h),
          (this._mdf = !1),
          (this.elem = c),
          (this.container = E),
          (this.comp = c.comp),
          (this.k = !1),
          (this.kf = !1),
          (this.frameId = -1);
        var S,
          _ = h.k.length;
        for (
          this.v = v("float32", _),
            this.pv = v("float32", _),
            this.vel = v("float32", _),
            S = 0;
          S < _;
          S += 1
        )
          (this.v[S] = h.k[S] * this.mult), (this.pv[S] = h.k[S]);
        (this._isFirstFrame = !0),
          (this.effectsSequence = []),
          (this.getValue = ws),
          (this.setVValue = oa),
          (this.addEffect = la);
      }
      function Jf(c, h, p, E) {
        (this.propType = "unidimensional"),
          (this.keyframes = h.k),
          (this.keyframesMetadata = []),
          (this.offsetTime = c.data.st),
          (this.frameId = -1),
          (this._caching = {
            lastFrame: Vr,
            lastIndex: 0,
            value: 0,
            _lastKeyframeIndex: -1,
          }),
          (this.k = !0),
          (this.kf = !0),
          (this.data = h),
          (this.mult = p || 1),
          (this.elem = c),
          (this.container = E),
          (this.comp = c.comp),
          (this.v = Vr),
          (this.pv = Vr),
          (this._isFirstFrame = !0),
          (this.getValue = ws),
          (this.setVValue = oa),
          (this.interpolateValue = di),
          (this.effectsSequence = [Do.bind(this)]),
          (this.addEffect = la);
      }
      function qf(c, h, p, E) {
        this.propType = "multidimensional";
        var S,
          _ = h.k.length,
          k,
          z,
          H,
          re;
        for (S = 0; S < _ - 1; S += 1)
          h.k[S].to &&
            h.k[S].s &&
            h.k[S + 1] &&
            h.k[S + 1].s &&
            ((k = h.k[S].s),
            (z = h.k[S + 1].s),
            (H = h.k[S].to),
            (re = h.k[S].ti),
            ((k.length === 2 &&
              !(k[0] === z[0] && k[1] === z[1]) &&
              Xt.pointOnLine2D(
                k[0],
                k[1],
                z[0],
                z[1],
                k[0] + H[0],
                k[1] + H[1],
              ) &&
              Xt.pointOnLine2D(
                k[0],
                k[1],
                z[0],
                z[1],
                z[0] + re[0],
                z[1] + re[1],
              )) ||
              (k.length === 3 &&
                !(k[0] === z[0] && k[1] === z[1] && k[2] === z[2]) &&
                Xt.pointOnLine3D(
                  k[0],
                  k[1],
                  k[2],
                  z[0],
                  z[1],
                  z[2],
                  k[0] + H[0],
                  k[1] + H[1],
                  k[2] + H[2],
                ) &&
                Xt.pointOnLine3D(
                  k[0],
                  k[1],
                  k[2],
                  z[0],
                  z[1],
                  z[2],
                  z[0] + re[0],
                  z[1] + re[1],
                  z[2] + re[2],
                ))) &&
              ((h.k[S].to = null), (h.k[S].ti = null)),
            k[0] === z[0] &&
              k[1] === z[1] &&
              H[0] === 0 &&
              H[1] === 0 &&
              re[0] === 0 &&
              re[1] === 0 &&
              (k.length === 2 ||
                (k[2] === z[2] && H[2] === 0 && re[2] === 0)) &&
              ((h.k[S].to = null), (h.k[S].ti = null)));
        (this.effectsSequence = [Do.bind(this)]),
          (this.data = h),
          (this.keyframes = h.k),
          (this.keyframesMetadata = []),
          (this.offsetTime = c.data.st),
          (this.k = !0),
          (this.kf = !0),
          (this._isFirstFrame = !0),
          (this.mult = p || 1),
          (this.elem = c),
          (this.container = E),
          (this.comp = c.comp),
          (this.getValue = ws),
          (this.setVValue = oa),
          (this.interpolateValue = di),
          (this.frameId = -1);
        var ae = h.k[0].s.length;
        for (
          this.v = v("float32", ae), this.pv = v("float32", ae), S = 0;
          S < ae;
          S += 1
        )
          (this.v[S] = Vr), (this.pv[S] = Vr);
        (this._caching = {
          lastFrame: Vr,
          lastIndex: 0,
          value: v("float32", ae),
        }),
          (this.addEffect = la);
      }
      var Ge = (function () {
        function c(p, E, S, _, k) {
          E.sid && (E = p.globalData.slotManager.getProp(E));
          var z;
          if (!E.k.length) z = new I0(p, E, _, k);
          else if (typeof E.k[0] == "number") z = new Xf(p, E, _, k);
          else
            switch (S) {
              case 0:
                z = new Jf(p, E, _, k);
                break;
              case 1:
                z = new qf(p, E, _, k);
                break;
            }
          return z.effectsSequence.length && k.addDynamicProperty(z), z;
        }
        var h = { getProp: c };
        return h;
      })();
      function vr() {}
      vr.prototype = {
        addDynamicProperty: function (h) {
          this.dynamicProperties.indexOf(h) === -1 &&
            (this.dynamicProperties.push(h),
            this.container.addDynamicProperty(this),
            (this._isAnimated = !0));
        },
        iterateDynamicProperties: function () {
          this._mdf = !1;
          var h,
            p = this.dynamicProperties.length;
          for (h = 0; h < p; h += 1)
            this.dynamicProperties[h].getValue(),
              this.dynamicProperties[h]._mdf && (this._mdf = !0);
        },
        initDynamicPropertyContainer: function (h) {
          (this.container = h),
            (this.dynamicProperties = []),
            (this._mdf = !1),
            (this._isAnimated = !1);
        },
      };
      var UA = (function () {
        function c() {
          return v("float32", 2);
        }
        return mt(8, c);
      })();
      function Pn() {
        (this.c = !1),
          (this._length = 0),
          (this._maxLength = 8),
          (this.v = B(this._maxLength)),
          (this.o = B(this._maxLength)),
          (this.i = B(this._maxLength));
      }
      (Pn.prototype.setPathData = function (c, h) {
        (this.c = c), this.setLength(h);
        for (var p = 0; p < h; )
          (this.v[p] = UA.newElement()),
            (this.o[p] = UA.newElement()),
            (this.i[p] = UA.newElement()),
            (p += 1);
      }),
        (Pn.prototype.setLength = function (c) {
          for (; this._maxLength < c; ) this.doubleArrayLength();
          this._length = c;
        }),
        (Pn.prototype.doubleArrayLength = function () {
          (this.v = this.v.concat(B(this._maxLength))),
            (this.i = this.i.concat(B(this._maxLength))),
            (this.o = this.o.concat(B(this._maxLength))),
            (this._maxLength *= 2);
        }),
        (Pn.prototype.setXYAt = function (c, h, p, E, S) {
          var _;
          switch (
            ((this._length = Math.max(this._length, E + 1)),
            this._length >= this._maxLength && this.doubleArrayLength(),
            p)
          ) {
            case "v":
              _ = this.v;
              break;
            case "i":
              _ = this.i;
              break;
            case "o":
              _ = this.o;
              break;
            default:
              _ = [];
              break;
          }
          (!_[E] || (_[E] && !S)) && (_[E] = UA.newElement()),
            (_[E][0] = c),
            (_[E][1] = h);
        }),
        (Pn.prototype.setTripleAt = function (c, h, p, E, S, _, k, z) {
          this.setXYAt(c, h, "v", k, z),
            this.setXYAt(p, E, "o", k, z),
            this.setXYAt(S, _, "i", k, z);
        }),
        (Pn.prototype.reverse = function () {
          var c = new Pn();
          c.setPathData(this.c, this._length);
          var h = this.v,
            p = this.o,
            E = this.i,
            S = 0;
          this.c &&
            (c.setTripleAt(
              h[0][0],
              h[0][1],
              E[0][0],
              E[0][1],
              p[0][0],
              p[0][1],
              0,
              !1,
            ),
            (S = 1));
          var _ = this._length - 1,
            k = this._length,
            z;
          for (z = S; z < k; z += 1)
            c.setTripleAt(
              h[_][0],
              h[_][1],
              E[_][0],
              E[_][1],
              p[_][0],
              p[_][1],
              z,
              !1,
            ),
              (_ -= 1);
          return c;
        }),
        (Pn.prototype.length = function () {
          return this._length;
        });
      var _r = (function () {
        function c() {
          return new Pn();
        }
        function h(S) {
          var _ = S._length,
            k;
          for (k = 0; k < _; k += 1)
            UA.release(S.v[k]),
              UA.release(S.i[k]),
              UA.release(S.o[k]),
              (S.v[k] = null),
              (S.i[k] = null),
              (S.o[k] = null);
          (S._length = 0), (S.c = !1);
        }
        function p(S) {
          var _ = E.newElement(),
            k,
            z = S._length === void 0 ? S.v.length : S._length;
          for (_.setLength(z), _.c = S.c, k = 0; k < z; k += 1)
            _.setTripleAt(
              S.v[k][0],
              S.v[k][1],
              S.o[k][0],
              S.o[k][1],
              S.i[k][0],
              S.i[k][1],
              k,
            );
          return _;
        }
        var E = mt(4, c, h);
        return (E.clone = p), E;
      })();
      function ua() {
        (this._length = 0),
          (this._maxLength = 4),
          (this.shapes = B(this._maxLength));
      }
      (ua.prototype.addShape = function (c) {
        this._length === this._maxLength &&
          ((this.shapes = this.shapes.concat(B(this._maxLength))),
          (this._maxLength *= 2)),
          (this.shapes[this._length] = c),
          (this._length += 1);
      }),
        (ua.prototype.releaseShapes = function () {
          var c;
          for (c = 0; c < this._length; c += 1) _r.release(this.shapes[c]);
          this._length = 0;
        });
      var lr = (function () {
          var c = { newShapeCollection: S, release: _ },
            h = 0,
            p = 4,
            E = B(p);
          function S() {
            var k;
            return h ? ((h -= 1), (k = E[h])) : (k = new ua()), k;
          }
          function _(k) {
            var z,
              H = k._length;
            for (z = 0; z < H; z += 1) _r.release(k.shapes[z]);
            (k._length = 0),
              h === p && ((E = lt.double(E)), (p *= 2)),
              (E[h] = k),
              (h += 1);
          }
          return c;
        })(),
        yn = (function () {
          var c = -999999;
          function h(Ae, J, N) {
            var W = N.lastIndex,
              ne,
              ge,
              Ee,
              Qe,
              Re,
              ut,
              it,
              Ve,
              ft,
              rt = this.keyframes;
            if (Ae < rt[0].t - this.offsetTime)
              (ne = rt[0].s[0]), (Ee = !0), (W = 0);
            else if (Ae >= rt[rt.length - 1].t - this.offsetTime)
              (ne = rt[rt.length - 1].s
                ? rt[rt.length - 1].s[0]
                : rt[rt.length - 2].e[0]),
                (Ee = !0);
            else {
              for (
                var Me = W, Y = rt.length - 1, de = !0, O, R, Se;
                de &&
                ((O = rt[Me]), (R = rt[Me + 1]), !(R.t - this.offsetTime > Ae));

              )
                Me < Y - 1 ? (Me += 1) : (de = !1);
              if (
                ((Se = this.keyframesMetadata[Me] || {}),
                (Ee = O.h === 1),
                (W = Me),
                !Ee)
              ) {
                if (Ae >= R.t - this.offsetTime) Ve = 1;
                else if (Ae < O.t - this.offsetTime) Ve = 0;
                else {
                  var me;
                  Se.__fnct
                    ? (me = Se.__fnct)
                    : ((me = Je.getBezierEasing(
                        O.o.x,
                        O.o.y,
                        O.i.x,
                        O.i.y,
                      ).get),
                      (Se.__fnct = me)),
                    (Ve = me(
                      (Ae - (O.t - this.offsetTime)) /
                        (R.t - this.offsetTime - (O.t - this.offsetTime)),
                    ));
                }
                ge = R.s ? R.s[0] : O.e[0];
              }
              ne = O.s[0];
            }
            for (
              ut = J._length, it = ne.i[0].length, N.lastIndex = W, Qe = 0;
              Qe < ut;
              Qe += 1
            )
              for (Re = 0; Re < it; Re += 1)
                (ft = Ee
                  ? ne.i[Qe][Re]
                  : ne.i[Qe][Re] + (ge.i[Qe][Re] - ne.i[Qe][Re]) * Ve),
                  (J.i[Qe][Re] = ft),
                  (ft = Ee
                    ? ne.o[Qe][Re]
                    : ne.o[Qe][Re] + (ge.o[Qe][Re] - ne.o[Qe][Re]) * Ve),
                  (J.o[Qe][Re] = ft),
                  (ft = Ee
                    ? ne.v[Qe][Re]
                    : ne.v[Qe][Re] + (ge.v[Qe][Re] - ne.v[Qe][Re]) * Ve),
                  (J.v[Qe][Re] = ft);
          }
          function p() {
            var Ae = this.comp.renderedFrame - this.offsetTime,
              J = this.keyframes[0].t - this.offsetTime,
              N = this.keyframes[this.keyframes.length - 1].t - this.offsetTime,
              W = this._caching.lastFrame;
            return (
              (W !== c && ((W < J && Ae < J) || (W > N && Ae > N))) ||
                ((this._caching.lastIndex =
                  W < Ae ? this._caching.lastIndex : 0),
                this.interpolateShape(Ae, this.pv, this._caching)),
              (this._caching.lastFrame = Ae),
              this.pv
            );
          }
          function E() {
            this.paths = this.localShapeCollection;
          }
          function S(Ae, J) {
            if (Ae._length !== J._length || Ae.c !== J.c) return !1;
            var N,
              W = Ae._length;
            for (N = 0; N < W; N += 1)
              if (
                Ae.v[N][0] !== J.v[N][0] ||
                Ae.v[N][1] !== J.v[N][1] ||
                Ae.o[N][0] !== J.o[N][0] ||
                Ae.o[N][1] !== J.o[N][1] ||
                Ae.i[N][0] !== J.i[N][0] ||
                Ae.i[N][1] !== J.i[N][1]
              )
                return !1;
            return !0;
          }
          function _(Ae) {
            S(this.v, Ae) ||
              ((this.v = _r.clone(Ae)),
              this.localShapeCollection.releaseShapes(),
              this.localShapeCollection.addShape(this.v),
              (this._mdf = !0),
              (this.paths = this.localShapeCollection));
          }
          function k() {
            if (this.elem.globalData.frameId !== this.frameId) {
              if (!this.effectsSequence.length) {
                this._mdf = !1;
                return;
              }
              if (this.lock) {
                this.setVValue(this.pv);
                return;
              }
              (this.lock = !0), (this._mdf = !1);
              var Ae;
              this.kf
                ? (Ae = this.pv)
                : this.data.ks
                  ? (Ae = this.data.ks.k)
                  : (Ae = this.data.pt.k);
              var J,
                N = this.effectsSequence.length;
              for (J = 0; J < N; J += 1) Ae = this.effectsSequence[J](Ae);
              this.setVValue(Ae),
                (this.lock = !1),
                (this.frameId = this.elem.globalData.frameId);
            }
          }
          function z(Ae, J, N) {
            (this.propType = "shape"),
              (this.comp = Ae.comp),
              (this.container = Ae),
              (this.elem = Ae),
              (this.data = J),
              (this.k = !1),
              (this.kf = !1),
              (this._mdf = !1);
            var W = N === 3 ? J.pt.k : J.ks.k;
            (this.v = _r.clone(W)),
              (this.pv = _r.clone(this.v)),
              (this.localShapeCollection = lr.newShapeCollection()),
              (this.paths = this.localShapeCollection),
              this.paths.addShape(this.v),
              (this.reset = E),
              (this.effectsSequence = []);
          }
          function H(Ae) {
            this.effectsSequence.push(Ae),
              this.container.addDynamicProperty(this);
          }
          (z.prototype.interpolateShape = h),
            (z.prototype.getValue = k),
            (z.prototype.setVValue = _),
            (z.prototype.addEffect = H);
          function re(Ae, J, N) {
            (this.propType = "shape"),
              (this.comp = Ae.comp),
              (this.elem = Ae),
              (this.container = Ae),
              (this.offsetTime = Ae.data.st),
              (this.keyframes = N === 3 ? J.pt.k : J.ks.k),
              (this.keyframesMetadata = []),
              (this.k = !0),
              (this.kf = !0);
            var W = this.keyframes[0].s[0].i.length;
            (this.v = _r.newElement()),
              this.v.setPathData(this.keyframes[0].s[0].c, W),
              (this.pv = _r.clone(this.v)),
              (this.localShapeCollection = lr.newShapeCollection()),
              (this.paths = this.localShapeCollection),
              this.paths.addShape(this.v),
              (this.lastFrame = c),
              (this.reset = E),
              (this._caching = { lastFrame: c, lastIndex: 0 }),
              (this.effectsSequence = [p.bind(this)]);
          }
          (re.prototype.getValue = k),
            (re.prototype.interpolateShape = h),
            (re.prototype.setVValue = _),
            (re.prototype.addEffect = H);
          var ae = (function () {
              var Ae = U;
              function J(N, W) {
                (this.v = _r.newElement()),
                  this.v.setPathData(!0, 4),
                  (this.localShapeCollection = lr.newShapeCollection()),
                  (this.paths = this.localShapeCollection),
                  this.localShapeCollection.addShape(this.v),
                  (this.d = W.d),
                  (this.elem = N),
                  (this.comp = N.comp),
                  (this.frameId = -1),
                  this.initDynamicPropertyContainer(N),
                  (this.p = Ge.getProp(N, W.p, 1, 0, this)),
                  (this.s = Ge.getProp(N, W.s, 1, 0, this)),
                  this.dynamicProperties.length
                    ? (this.k = !0)
                    : ((this.k = !1), this.convertEllToPath());
              }
              return (
                (J.prototype = {
                  reset: E,
                  getValue: function () {
                    this.elem.globalData.frameId !== this.frameId &&
                      ((this.frameId = this.elem.globalData.frameId),
                      this.iterateDynamicProperties(),
                      this._mdf && this.convertEllToPath());
                  },
                  convertEllToPath: function () {
                    var W = this.p.v[0],
                      ne = this.p.v[1],
                      ge = this.s.v[0] / 2,
                      Ee = this.s.v[1] / 2,
                      Qe = this.d !== 3,
                      Re = this.v;
                    (Re.v[0][0] = W),
                      (Re.v[0][1] = ne - Ee),
                      (Re.v[1][0] = Qe ? W + ge : W - ge),
                      (Re.v[1][1] = ne),
                      (Re.v[2][0] = W),
                      (Re.v[2][1] = ne + Ee),
                      (Re.v[3][0] = Qe ? W - ge : W + ge),
                      (Re.v[3][1] = ne),
                      (Re.i[0][0] = Qe ? W - ge * Ae : W + ge * Ae),
                      (Re.i[0][1] = ne - Ee),
                      (Re.i[1][0] = Qe ? W + ge : W - ge),
                      (Re.i[1][1] = ne - Ee * Ae),
                      (Re.i[2][0] = Qe ? W + ge * Ae : W - ge * Ae),
                      (Re.i[2][1] = ne + Ee),
                      (Re.i[3][0] = Qe ? W - ge : W + ge),
                      (Re.i[3][1] = ne + Ee * Ae),
                      (Re.o[0][0] = Qe ? W + ge * Ae : W - ge * Ae),
                      (Re.o[0][1] = ne - Ee),
                      (Re.o[1][0] = Qe ? W + ge : W - ge),
                      (Re.o[1][1] = ne + Ee * Ae),
                      (Re.o[2][0] = Qe ? W - ge * Ae : W + ge * Ae),
                      (Re.o[2][1] = ne + Ee),
                      (Re.o[3][0] = Qe ? W - ge : W + ge),
                      (Re.o[3][1] = ne - Ee * Ae);
                  },
                }),
                f([vr], J),
                J
              );
            })(),
            be = (function () {
              function Ae(J, N) {
                (this.v = _r.newElement()),
                  this.v.setPathData(!0, 0),
                  (this.elem = J),
                  (this.comp = J.comp),
                  (this.data = N),
                  (this.frameId = -1),
                  (this.d = N.d),
                  this.initDynamicPropertyContainer(J),
                  N.sy === 1
                    ? ((this.ir = Ge.getProp(J, N.ir, 0, 0, this)),
                      (this.is = Ge.getProp(J, N.is, 0, 0.01, this)),
                      (this.convertToPath = this.convertStarToPath))
                    : (this.convertToPath = this.convertPolygonToPath),
                  (this.pt = Ge.getProp(J, N.pt, 0, 0, this)),
                  (this.p = Ge.getProp(J, N.p, 1, 0, this)),
                  (this.r = Ge.getProp(J, N.r, 0, D, this)),
                  (this.or = Ge.getProp(J, N.or, 0, 0, this)),
                  (this.os = Ge.getProp(J, N.os, 0, 0.01, this)),
                  (this.localShapeCollection = lr.newShapeCollection()),
                  this.localShapeCollection.addShape(this.v),
                  (this.paths = this.localShapeCollection),
                  this.dynamicProperties.length
                    ? (this.k = !0)
                    : ((this.k = !1), this.convertToPath());
              }
              return (
                (Ae.prototype = {
                  reset: E,
                  getValue: function () {
                    this.elem.globalData.frameId !== this.frameId &&
                      ((this.frameId = this.elem.globalData.frameId),
                      this.iterateDynamicProperties(),
                      this._mdf && this.convertToPath());
                  },
                  convertStarToPath: function () {
                    var N = Math.floor(this.pt.v) * 2,
                      W = (Math.PI * 2) / N,
                      ne = !0,
                      ge = this.or.v,
                      Ee = this.ir.v,
                      Qe = this.os.v,
                      Re = this.is.v,
                      ut = (2 * Math.PI * ge) / (N * 2),
                      it = (2 * Math.PI * Ee) / (N * 2),
                      Ve,
                      ft,
                      rt,
                      Me,
                      Y = -Math.PI / 2;
                    Y += this.r.v;
                    var de = this.data.d === 3 ? -1 : 1;
                    for (this.v._length = 0, Ve = 0; Ve < N; Ve += 1) {
                      (ft = ne ? ge : Ee),
                        (rt = ne ? Qe : Re),
                        (Me = ne ? ut : it);
                      var O = ft * Math.cos(Y),
                        R = ft * Math.sin(Y),
                        Se =
                          O === 0 && R === 0 ? 0 : R / Math.sqrt(O * O + R * R),
                        me =
                          O === 0 && R === 0
                            ? 0
                            : -O / Math.sqrt(O * O + R * R);
                      (O += +this.p.v[0]),
                        (R += +this.p.v[1]),
                        this.v.setTripleAt(
                          O,
                          R,
                          O - Se * Me * rt * de,
                          R - me * Me * rt * de,
                          O + Se * Me * rt * de,
                          R + me * Me * rt * de,
                          Ve,
                          !0,
                        ),
                        (ne = !ne),
                        (Y += W * de);
                    }
                  },
                  convertPolygonToPath: function () {
                    var N = Math.floor(this.pt.v),
                      W = (Math.PI * 2) / N,
                      ne = this.or.v,
                      ge = this.os.v,
                      Ee = (2 * Math.PI * ne) / (N * 4),
                      Qe,
                      Re = -Math.PI * 0.5,
                      ut = this.data.d === 3 ? -1 : 1;
                    for (
                      Re += this.r.v, this.v._length = 0, Qe = 0;
                      Qe < N;
                      Qe += 1
                    ) {
                      var it = ne * Math.cos(Re),
                        Ve = ne * Math.sin(Re),
                        ft =
                          it === 0 && Ve === 0
                            ? 0
                            : Ve / Math.sqrt(it * it + Ve * Ve),
                        rt =
                          it === 0 && Ve === 0
                            ? 0
                            : -it / Math.sqrt(it * it + Ve * Ve);
                      (it += +this.p.v[0]),
                        (Ve += +this.p.v[1]),
                        this.v.setTripleAt(
                          it,
                          Ve,
                          it - ft * Ee * ge * ut,
                          Ve - rt * Ee * ge * ut,
                          it + ft * Ee * ge * ut,
                          Ve + rt * Ee * ge * ut,
                          Qe,
                          !0,
                        ),
                        (Re += W * ut);
                    }
                    (this.paths.length = 0), (this.paths[0] = this.v);
                  },
                }),
                f([vr], Ae),
                Ae
              );
            })(),
            K = (function () {
              function Ae(J, N) {
                (this.v = _r.newElement()),
                  (this.v.c = !0),
                  (this.localShapeCollection = lr.newShapeCollection()),
                  this.localShapeCollection.addShape(this.v),
                  (this.paths = this.localShapeCollection),
                  (this.elem = J),
                  (this.comp = J.comp),
                  (this.frameId = -1),
                  (this.d = N.d),
                  this.initDynamicPropertyContainer(J),
                  (this.p = Ge.getProp(J, N.p, 1, 0, this)),
                  (this.s = Ge.getProp(J, N.s, 1, 0, this)),
                  (this.r = Ge.getProp(J, N.r, 0, 0, this)),
                  this.dynamicProperties.length
                    ? (this.k = !0)
                    : ((this.k = !1), this.convertRectToPath());
              }
              return (
                (Ae.prototype = {
                  convertRectToPath: function () {
                    var N = this.p.v[0],
                      W = this.p.v[1],
                      ne = this.s.v[0] / 2,
                      ge = this.s.v[1] / 2,
                      Ee = I(ne, ge, this.r.v),
                      Qe = Ee * (1 - U);
                    (this.v._length = 0),
                      this.d === 2 || this.d === 1
                        ? (this.v.setTripleAt(
                            N + ne,
                            W - ge + Ee,
                            N + ne,
                            W - ge + Ee,
                            N + ne,
                            W - ge + Qe,
                            0,
                            !0,
                          ),
                          this.v.setTripleAt(
                            N + ne,
                            W + ge - Ee,
                            N + ne,
                            W + ge - Qe,
                            N + ne,
                            W + ge - Ee,
                            1,
                            !0,
                          ),
                          Ee !== 0
                            ? (this.v.setTripleAt(
                                N + ne - Ee,
                                W + ge,
                                N + ne - Ee,
                                W + ge,
                                N + ne - Qe,
                                W + ge,
                                2,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N - ne + Ee,
                                W + ge,
                                N - ne + Qe,
                                W + ge,
                                N - ne + Ee,
                                W + ge,
                                3,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N - ne,
                                W + ge - Ee,
                                N - ne,
                                W + ge - Ee,
                                N - ne,
                                W + ge - Qe,
                                4,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N - ne,
                                W - ge + Ee,
                                N - ne,
                                W - ge + Qe,
                                N - ne,
                                W - ge + Ee,
                                5,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N - ne + Ee,
                                W - ge,
                                N - ne + Ee,
                                W - ge,
                                N - ne + Qe,
                                W - ge,
                                6,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N + ne - Ee,
                                W - ge,
                                N + ne - Qe,
                                W - ge,
                                N + ne - Ee,
                                W - ge,
                                7,
                                !0,
                              ))
                            : (this.v.setTripleAt(
                                N - ne,
                                W + ge,
                                N - ne + Qe,
                                W + ge,
                                N - ne,
                                W + ge,
                                2,
                              ),
                              this.v.setTripleAt(
                                N - ne,
                                W - ge,
                                N - ne,
                                W - ge + Qe,
                                N - ne,
                                W - ge,
                                3,
                              )))
                        : (this.v.setTripleAt(
                            N + ne,
                            W - ge + Ee,
                            N + ne,
                            W - ge + Qe,
                            N + ne,
                            W - ge + Ee,
                            0,
                            !0,
                          ),
                          Ee !== 0
                            ? (this.v.setTripleAt(
                                N + ne - Ee,
                                W - ge,
                                N + ne - Ee,
                                W - ge,
                                N + ne - Qe,
                                W - ge,
                                1,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N - ne + Ee,
                                W - ge,
                                N - ne + Qe,
                                W - ge,
                                N - ne + Ee,
                                W - ge,
                                2,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N - ne,
                                W - ge + Ee,
                                N - ne,
                                W - ge + Ee,
                                N - ne,
                                W - ge + Qe,
                                3,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N - ne,
                                W + ge - Ee,
                                N - ne,
                                W + ge - Qe,
                                N - ne,
                                W + ge - Ee,
                                4,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N - ne + Ee,
                                W + ge,
                                N - ne + Ee,
                                W + ge,
                                N - ne + Qe,
                                W + ge,
                                5,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N + ne - Ee,
                                W + ge,
                                N + ne - Qe,
                                W + ge,
                                N + ne - Ee,
                                W + ge,
                                6,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N + ne,
                                W + ge - Ee,
                                N + ne,
                                W + ge - Ee,
                                N + ne,
                                W + ge - Qe,
                                7,
                                !0,
                              ))
                            : (this.v.setTripleAt(
                                N - ne,
                                W - ge,
                                N - ne + Qe,
                                W - ge,
                                N - ne,
                                W - ge,
                                1,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N - ne,
                                W + ge,
                                N - ne,
                                W + ge - Qe,
                                N - ne,
                                W + ge,
                                2,
                                !0,
                              ),
                              this.v.setTripleAt(
                                N + ne,
                                W + ge,
                                N + ne - Qe,
                                W + ge,
                                N + ne,
                                W + ge,
                                3,
                                !0,
                              )));
                  },
                  getValue: function () {
                    this.elem.globalData.frameId !== this.frameId &&
                      ((this.frameId = this.elem.globalData.frameId),
                      this.iterateDynamicProperties(),
                      this._mdf && this.convertRectToPath());
                  },
                  reset: E,
                }),
                f([vr], Ae),
                Ae
              );
            })();
          function oe(Ae, J, N) {
            var W;
            if (N === 3 || N === 4) {
              var ne = N === 3 ? J.pt : J.ks,
                ge = ne.k;
              ge.length ? (W = new re(Ae, J, N)) : (W = new z(Ae, J, N));
            } else
              N === 5
                ? (W = new K(Ae, J))
                : N === 6
                  ? (W = new ae(Ae, J))
                  : N === 7 && (W = new be(Ae, J));
            return W.k && Ae.addDynamicProperty(W), W;
          }
          function pe() {
            return z;
          }
          function fe() {
            return re;
          }
          var ye = {};
          return (
            (ye.getShapeProp = oe),
            (ye.getConstructorFunction = pe),
            (ye.getKeyframedConstructorFunction = fe),
            ye
          );
        })();
      /*!
 Transformation Matrix v2.0
 (c) Epistemex 2014-2015
 www.epistemex.com
 By Ken Fyrstenberg
 Contributions by leeoniya.
 License: MIT, header required.
 */ var mr = (function () {
        var c = Math.cos,
          h = Math.sin,
          p = Math.tan,
          E = Math.round;
        function S() {
          return (
            (this.props[0] = 1),
            (this.props[1] = 0),
            (this.props[2] = 0),
            (this.props[3] = 0),
            (this.props[4] = 0),
            (this.props[5] = 1),
            (this.props[6] = 0),
            (this.props[7] = 0),
            (this.props[8] = 0),
            (this.props[9] = 0),
            (this.props[10] = 1),
            (this.props[11] = 0),
            (this.props[12] = 0),
            (this.props[13] = 0),
            (this.props[14] = 0),
            (this.props[15] = 1),
            this
          );
        }
        function _(O) {
          if (O === 0) return this;
          var R = c(O),
            Se = h(O);
          return this._t(R, -Se, 0, 0, Se, R, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
        }
        function k(O) {
          if (O === 0) return this;
          var R = c(O),
            Se = h(O);
          return this._t(1, 0, 0, 0, 0, R, -Se, 0, 0, Se, R, 0, 0, 0, 0, 1);
        }
        function z(O) {
          if (O === 0) return this;
          var R = c(O),
            Se = h(O);
          return this._t(R, 0, Se, 0, 0, 1, 0, 0, -Se, 0, R, 0, 0, 0, 0, 1);
        }
        function H(O) {
          if (O === 0) return this;
          var R = c(O),
            Se = h(O);
          return this._t(R, -Se, 0, 0, Se, R, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
        }
        function re(O, R) {
          return this._t(1, R, O, 1, 0, 0);
        }
        function ae(O, R) {
          return this.shear(p(O), p(R));
        }
        function be(O, R) {
          var Se = c(R),
            me = h(R);
          return this._t(Se, me, 0, 0, -me, Se, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
            ._t(1, 0, 0, 0, p(O), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
            ._t(Se, -me, 0, 0, me, Se, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
        }
        function K(O, R, Se) {
          return (
            !Se && Se !== 0 && (Se = 1),
            O === 1 && R === 1 && Se === 1
              ? this
              : this._t(O, 0, 0, 0, 0, R, 0, 0, 0, 0, Se, 0, 0, 0, 0, 1)
          );
        }
        function oe(
          O,
          R,
          Se,
          me,
          Xe,
          at,
          ct,
          Qt,
          Ut,
          Br,
          an,
          fA,
          on,
          Hr,
          Cn,
          Ht,
        ) {
          return (
            (this.props[0] = O),
            (this.props[1] = R),
            (this.props[2] = Se),
            (this.props[3] = me),
            (this.props[4] = Xe),
            (this.props[5] = at),
            (this.props[6] = ct),
            (this.props[7] = Qt),
            (this.props[8] = Ut),
            (this.props[9] = Br),
            (this.props[10] = an),
            (this.props[11] = fA),
            (this.props[12] = on),
            (this.props[13] = Hr),
            (this.props[14] = Cn),
            (this.props[15] = Ht),
            this
          );
        }
        function pe(O, R, Se) {
          return (
            (Se = Se || 0),
            O !== 0 || R !== 0 || Se !== 0
              ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, O, R, Se, 1)
              : this
          );
        }
        function fe(
          O,
          R,
          Se,
          me,
          Xe,
          at,
          ct,
          Qt,
          Ut,
          Br,
          an,
          fA,
          on,
          Hr,
          Cn,
          Ht,
        ) {
          var nt = this.props;
          if (
            O === 1 &&
            R === 0 &&
            Se === 0 &&
            me === 0 &&
            Xe === 0 &&
            at === 1 &&
            ct === 0 &&
            Qt === 0 &&
            Ut === 0 &&
            Br === 0 &&
            an === 1 &&
            fA === 0
          )
            return (
              (nt[12] = nt[12] * O + nt[15] * on),
              (nt[13] = nt[13] * at + nt[15] * Hr),
              (nt[14] = nt[14] * an + nt[15] * Cn),
              (nt[15] *= Ht),
              (this._identityCalculated = !1),
              this
            );
          var DA = nt[0],
            wi = nt[1],
            PA = nt[2],
            dA = nt[3],
            OA = nt[4],
            LA = nt[5],
            ln = nt[6],
            yi = nt[7],
            Ci = nt[8],
            Wn = nt[9],
            xi = nt[10],
            zn = nt[11],
            Es = nt[12],
            H0 = nt[13],
            M0 = nt[14],
            R0 = nt[15];
          return (
            (nt[0] = DA * O + wi * Xe + PA * Ut + dA * on),
            (nt[1] = DA * R + wi * at + PA * Br + dA * Hr),
            (nt[2] = DA * Se + wi * ct + PA * an + dA * Cn),
            (nt[3] = DA * me + wi * Qt + PA * fA + dA * Ht),
            (nt[4] = OA * O + LA * Xe + ln * Ut + yi * on),
            (nt[5] = OA * R + LA * at + ln * Br + yi * Hr),
            (nt[6] = OA * Se + LA * ct + ln * an + yi * Cn),
            (nt[7] = OA * me + LA * Qt + ln * fA + yi * Ht),
            (nt[8] = Ci * O + Wn * Xe + xi * Ut + zn * on),
            (nt[9] = Ci * R + Wn * at + xi * Br + zn * Hr),
            (nt[10] = Ci * Se + Wn * ct + xi * an + zn * Cn),
            (nt[11] = Ci * me + Wn * Qt + xi * fA + zn * Ht),
            (nt[12] = Es * O + H0 * Xe + M0 * Ut + R0 * on),
            (nt[13] = Es * R + H0 * at + M0 * Br + R0 * Hr),
            (nt[14] = Es * Se + H0 * ct + M0 * an + R0 * Cn),
            (nt[15] = Es * me + H0 * Qt + M0 * fA + R0 * Ht),
            (this._identityCalculated = !1),
            this
          );
        }
        function ye(O) {
          var R = O.props;
          return this.transform(
            R[0],
            R[1],
            R[2],
            R[3],
            R[4],
            R[5],
            R[6],
            R[7],
            R[8],
            R[9],
            R[10],
            R[11],
            R[12],
            R[13],
            R[14],
            R[15],
          );
        }
        function Ae() {
          return (
            this._identityCalculated ||
              ((this._identity = !(
                this.props[0] !== 1 ||
                this.props[1] !== 0 ||
                this.props[2] !== 0 ||
                this.props[3] !== 0 ||
                this.props[4] !== 0 ||
                this.props[5] !== 1 ||
                this.props[6] !== 0 ||
                this.props[7] !== 0 ||
                this.props[8] !== 0 ||
                this.props[9] !== 0 ||
                this.props[10] !== 1 ||
                this.props[11] !== 0 ||
                this.props[12] !== 0 ||
                this.props[13] !== 0 ||
                this.props[14] !== 0 ||
                this.props[15] !== 1
              )),
              (this._identityCalculated = !0)),
            this._identity
          );
        }
        function J(O) {
          for (var R = 0; R < 16; ) {
            if (O.props[R] !== this.props[R]) return !1;
            R += 1;
          }
          return !0;
        }
        function N(O) {
          var R;
          for (R = 0; R < 16; R += 1) O.props[R] = this.props[R];
          return O;
        }
        function W(O) {
          var R;
          for (R = 0; R < 16; R += 1) this.props[R] = O[R];
        }
        function ne(O, R, Se) {
          return {
            x:
              O * this.props[0] +
              R * this.props[4] +
              Se * this.props[8] +
              this.props[12],
            y:
              O * this.props[1] +
              R * this.props[5] +
              Se * this.props[9] +
              this.props[13],
            z:
              O * this.props[2] +
              R * this.props[6] +
              Se * this.props[10] +
              this.props[14],
          };
        }
        function ge(O, R, Se) {
          return (
            O * this.props[0] +
            R * this.props[4] +
            Se * this.props[8] +
            this.props[12]
          );
        }
        function Ee(O, R, Se) {
          return (
            O * this.props[1] +
            R * this.props[5] +
            Se * this.props[9] +
            this.props[13]
          );
        }
        function Qe(O, R, Se) {
          return (
            O * this.props[2] +
            R * this.props[6] +
            Se * this.props[10] +
            this.props[14]
          );
        }
        function Re() {
          var O = this.props[0] * this.props[5] - this.props[1] * this.props[4],
            R = this.props[5] / O,
            Se = -this.props[1] / O,
            me = -this.props[4] / O,
            Xe = this.props[0] / O,
            at =
              (this.props[4] * this.props[13] -
                this.props[5] * this.props[12]) /
              O,
            ct =
              -(
                this.props[0] * this.props[13] -
                this.props[1] * this.props[12]
              ) / O,
            Qt = new mr();
          return (
            (Qt.props[0] = R),
            (Qt.props[1] = Se),
            (Qt.props[4] = me),
            (Qt.props[5] = Xe),
            (Qt.props[12] = at),
            (Qt.props[13] = ct),
            Qt
          );
        }
        function ut(O) {
          var R = this.getInverseMatrix();
          return R.applyToPointArray(O[0], O[1], O[2] || 0);
        }
        function it(O) {
          var R,
            Se = O.length,
            me = [];
          for (R = 0; R < Se; R += 1) me[R] = ut(O[R]);
          return me;
        }
        function Ve(O, R, Se) {
          var me = v("float32", 6);
          if (this.isIdentity())
            (me[0] = O[0]),
              (me[1] = O[1]),
              (me[2] = R[0]),
              (me[3] = R[1]),
              (me[4] = Se[0]),
              (me[5] = Se[1]);
          else {
            var Xe = this.props[0],
              at = this.props[1],
              ct = this.props[4],
              Qt = this.props[5],
              Ut = this.props[12],
              Br = this.props[13];
            (me[0] = O[0] * Xe + O[1] * ct + Ut),
              (me[1] = O[0] * at + O[1] * Qt + Br),
              (me[2] = R[0] * Xe + R[1] * ct + Ut),
              (me[3] = R[0] * at + R[1] * Qt + Br),
              (me[4] = Se[0] * Xe + Se[1] * ct + Ut),
              (me[5] = Se[0] * at + Se[1] * Qt + Br);
          }
          return me;
        }
        function ft(O, R, Se) {
          var me;
          return (
            this.isIdentity()
              ? (me = [O, R, Se])
              : (me = [
                  O * this.props[0] +
                    R * this.props[4] +
                    Se * this.props[8] +
                    this.props[12],
                  O * this.props[1] +
                    R * this.props[5] +
                    Se * this.props[9] +
                    this.props[13],
                  O * this.props[2] +
                    R * this.props[6] +
                    Se * this.props[10] +
                    this.props[14],
                ]),
            me
          );
        }
        function rt(O, R) {
          if (this.isIdentity()) return O + "," + R;
          var Se = this.props;
          return (
            Math.round((O * Se[0] + R * Se[4] + Se[12]) * 100) / 100 +
            "," +
            Math.round((O * Se[1] + R * Se[5] + Se[13]) * 100) / 100
          );
        }
        function Me() {
          for (var O = 0, R = this.props, Se = "matrix3d(", me = 1e4; O < 16; )
            (Se += E(R[O] * me) / me), (Se += O === 15 ? ")" : ","), (O += 1);
          return Se;
        }
        function Y(O) {
          var R = 1e4;
          return (O < 1e-6 && O > 0) || (O > -1e-6 && O < 0) ? E(O * R) / R : O;
        }
        function de() {
          var O = this.props,
            R = Y(O[0]),
            Se = Y(O[1]),
            me = Y(O[4]),
            Xe = Y(O[5]),
            at = Y(O[12]),
            ct = Y(O[13]);
          return (
            "matrix(" +
            R +
            "," +
            Se +
            "," +
            me +
            "," +
            Xe +
            "," +
            at +
            "," +
            ct +
            ")"
          );
        }
        return function () {
          (this.reset = S),
            (this.rotate = _),
            (this.rotateX = k),
            (this.rotateY = z),
            (this.rotateZ = H),
            (this.skew = ae),
            (this.skewFromAxis = be),
            (this.shear = re),
            (this.scale = K),
            (this.setTransform = oe),
            (this.translate = pe),
            (this.transform = fe),
            (this.multiply = ye),
            (this.applyToPoint = ne),
            (this.applyToX = ge),
            (this.applyToY = Ee),
            (this.applyToZ = Qe),
            (this.applyToPointArray = ft),
            (this.applyToTriplePoints = Ve),
            (this.applyToPointStringified = rt),
            (this.toCSS = Me),
            (this.to2dCSS = de),
            (this.clone = N),
            (this.cloneFromProps = W),
            (this.equals = J),
            (this.inversePoints = it),
            (this.inversePoint = ut),
            (this.getInverseMatrix = Re),
            (this._t = this.transform),
            (this.isIdentity = Ae),
            (this._identity = !0),
            (this._identityCalculated = !1),
            (this.props = v("float32", 16)),
            this.reset();
        };
      })();
      function ca(c) {
        "@babel/helpers - typeof";
        return (
          typeof Symbol == "function" && typeof Symbol.iterator == "symbol"
            ? (ca = function (p) {
                return typeof p;
              })
            : (ca = function (p) {
                return p &&
                  typeof Symbol == "function" &&
                  p.constructor === Symbol &&
                  p !== Symbol.prototype
                  ? "symbol"
                  : typeof p;
              }),
          ca(c)
        );
      }
      var Ot = {};
      function Bx(c) {
        o(c);
      }
      function p5() {
        Ke.searchAnimations();
      }
      function wx(c) {
        xe(c);
      }
      function yx(c) {
        $e(c);
      }
      function Cx(c) {
        return Ke.loadAnimation(c);
      }
      function xx(c) {
        if (typeof c == "string")
          switch (c) {
            case "high":
              _e(200);
              break;
            default:
            case "medium":
              _e(50);
              break;
            case "low":
              _e(10);
              break;
          }
        else !isNaN(c) && c > 1 && _e(c);
      }
      function Ex() {
        return typeof navigator < "u";
      }
      function bx(c, h) {
        c === "expressions" && Fe(h);
      }
      function Fx(c) {
        switch (c) {
          case "propertyFactory":
            return Ge;
          case "shapePropertyFactory":
            return yn;
          case "matrix":
            return mr;
          default:
            return null;
        }
      }
      (Ot.play = Ke.play),
        (Ot.pause = Ke.pause),
        (Ot.setLocationHref = Bx),
        (Ot.togglePause = Ke.togglePause),
        (Ot.setSpeed = Ke.setSpeed),
        (Ot.setDirection = Ke.setDirection),
        (Ot.stop = Ke.stop),
        (Ot.searchAnimations = p5),
        (Ot.registerAnimation = Ke.registerAnimation),
        (Ot.loadAnimation = Cx),
        (Ot.setSubframeRendering = wx),
        (Ot.resize = Ke.resize),
        (Ot.goToAndStop = Ke.goToAndStop),
        (Ot.destroy = Ke.destroy),
        (Ot.setQuality = xx),
        (Ot.inBrowser = Ex),
        (Ot.installPlugin = bx),
        (Ot.freeze = Ke.freeze),
        (Ot.unfreeze = Ke.unfreeze),
        (Ot.setVolume = Ke.setVolume),
        (Ot.mute = Ke.mute),
        (Ot.unmute = Ke.unmute),
        (Ot.getRegisteredAnimations = Ke.getRegisteredAnimations),
        (Ot.useWebWorker = s),
        (Ot.setIDPrefix = yx),
        (Ot.__getFactory = Fx),
        (Ot.version = "5.12.2");
      function _x() {
        document.readyState === "complete" && (clearInterval(Ux), p5());
      }
      function Sx(c) {
        for (var h = g5.split("&"), p = 0; p < h.length; p += 1) {
          var E = h[p].split("=");
          if (decodeURIComponent(E[0]) == c) return decodeURIComponent(E[1]);
        }
        return null;
      }
      var g5 = "";
      {
        var v5 = document.getElementsByTagName("script"),
          Qx = v5.length - 1,
          m5 = v5[Qx] || { src: "" };
        (g5 = m5.src ? m5.src.replace(/^[^\?]+\??/, "") : ""), Sx("renderer");
      }
      var Ux = setInterval(_x, 100);
      try {
        ca(t) !== "object" && (window.bodymovin = Ot);
      } catch {}
      var hi = (function () {
        var c = {},
          h = {};
        (c.registerModifier = p), (c.getModifier = E);
        function p(S, _) {
          h[S] || (h[S] = _);
        }
        function E(S, _, k) {
          return new h[S](_, k);
        }
        return c;
      })();
      function On() {}
      (On.prototype.initModifierProperties = function () {}),
        (On.prototype.addShapeToModifier = function () {}),
        (On.prototype.addShape = function (c) {
          if (!this.closed) {
            c.sh.container.addDynamicProperty(c.sh);
            var h = {
              shape: c.sh,
              data: c,
              localShapeCollection: lr.newShapeCollection(),
            };
            this.shapes.push(h),
              this.addShapeToModifier(h),
              this._isAnimated && c.setAsAnimated();
          }
        }),
        (On.prototype.init = function (c, h) {
          (this.shapes = []),
            (this.elem = c),
            this.initDynamicPropertyContainer(c),
            this.initModifierProperties(c, h),
            (this.frameId = i),
            (this.closed = !1),
            (this.k = !1),
            this.dynamicProperties.length ? (this.k = !0) : this.getValue(!0);
        }),
        (On.prototype.processKeys = function () {
          this.elem.globalData.frameId !== this.frameId &&
            ((this.frameId = this.elem.globalData.frameId),
            this.iterateDynamicProperties());
        }),
        f([vr], On);
      function Gn() {}
      f([On], Gn),
        (Gn.prototype.initModifierProperties = function (c, h) {
          (this.s = Ge.getProp(c, h.s, 0, 0.01, this)),
            (this.e = Ge.getProp(c, h.e, 0, 0.01, this)),
            (this.o = Ge.getProp(c, h.o, 0, 0, this)),
            (this.sValue = 0),
            (this.eValue = 0),
            (this.getValue = this.processKeys),
            (this.m = h.m),
            (this._isAnimated =
              !!this.s.effectsSequence.length ||
              !!this.e.effectsSequence.length ||
              !!this.o.effectsSequence.length);
        }),
        (Gn.prototype.addShapeToModifier = function (c) {
          c.pathsData = [];
        }),
        (Gn.prototype.calculateShapeEdges = function (c, h, p, E, S) {
          var _ = [];
          h <= 1
            ? _.push({ s: c, e: h })
            : c >= 1
              ? _.push({ s: c - 1, e: h - 1 })
              : (_.push({ s: c, e: 1 }), _.push({ s: 0, e: h - 1 }));
          var k = [],
            z,
            H = _.length,
            re;
          for (z = 0; z < H; z += 1)
            if (((re = _[z]), !(re.e * S < E || re.s * S > E + p))) {
              var ae, be;
              re.s * S <= E ? (ae = 0) : (ae = (re.s * S - E) / p),
                re.e * S >= E + p ? (be = 1) : (be = (re.e * S - E) / p),
                k.push([ae, be]);
            }
          return k.length || k.push([0, 0]), k;
        }),
        (Gn.prototype.releasePathsData = function (c) {
          var h,
            p = c.length;
          for (h = 0; h < p; h += 1) kt.release(c[h]);
          return (c.length = 0), c;
        }),
        (Gn.prototype.processShapes = function (c) {
          var h, p;
          if (this._mdf || c) {
            var E = (this.o.v % 360) / 360;
            if (
              (E < 0 && (E += 1),
              this.s.v > 1
                ? (h = 1 + E)
                : this.s.v < 0
                  ? (h = 0 + E)
                  : (h = this.s.v + E),
              this.e.v > 1
                ? (p = 1 + E)
                : this.e.v < 0
                  ? (p = 0 + E)
                  : (p = this.e.v + E),
              h > p)
            ) {
              var S = h;
              (h = p), (p = S);
            }
            (h = Math.round(h * 1e4) * 1e-4),
              (p = Math.round(p * 1e4) * 1e-4),
              (this.sValue = h),
              (this.eValue = p);
          } else (h = this.sValue), (p = this.eValue);
          var _,
            k,
            z = this.shapes.length,
            H,
            re,
            ae,
            be,
            K,
            oe = 0;
          if (p === h)
            for (k = 0; k < z; k += 1)
              this.shapes[k].localShapeCollection.releaseShapes(),
                (this.shapes[k].shape._mdf = !0),
                (this.shapes[k].shape.paths =
                  this.shapes[k].localShapeCollection),
                this._mdf && (this.shapes[k].pathsData.length = 0);
          else if ((p === 1 && h === 0) || (p === 0 && h === 1)) {
            if (this._mdf)
              for (k = 0; k < z; k += 1)
                (this.shapes[k].pathsData.length = 0),
                  (this.shapes[k].shape._mdf = !0);
          } else {
            var pe = [],
              fe,
              ye;
            for (k = 0; k < z; k += 1)
              if (
                ((fe = this.shapes[k]),
                !fe.shape._mdf && !this._mdf && !c && this.m !== 2)
              )
                fe.shape.paths = fe.localShapeCollection;
              else {
                if (
                  ((_ = fe.shape.paths),
                  (re = _._length),
                  (K = 0),
                  !fe.shape._mdf && fe.pathsData.length)
                )
                  K = fe.totalShapeLength;
                else {
                  for (
                    ae = this.releasePathsData(fe.pathsData), H = 0;
                    H < re;
                    H += 1
                  )
                    (be = Xt.getSegmentsLength(_.shapes[H])),
                      ae.push(be),
                      (K += be.totalLength);
                  (fe.totalShapeLength = K), (fe.pathsData = ae);
                }
                (oe += K), (fe.shape._mdf = !0);
              }
            var Ae = h,
              J = p,
              N = 0,
              W;
            for (k = z - 1; k >= 0; k -= 1)
              if (((fe = this.shapes[k]), fe.shape._mdf)) {
                for (
                  ye = fe.localShapeCollection,
                    ye.releaseShapes(),
                    this.m === 2 && z > 1
                      ? ((W = this.calculateShapeEdges(
                          h,
                          p,
                          fe.totalShapeLength,
                          N,
                          oe,
                        )),
                        (N += fe.totalShapeLength))
                      : (W = [[Ae, J]]),
                    re = W.length,
                    H = 0;
                  H < re;
                  H += 1
                ) {
                  (Ae = W[H][0]),
                    (J = W[H][1]),
                    (pe.length = 0),
                    J <= 1
                      ? pe.push({
                          s: fe.totalShapeLength * Ae,
                          e: fe.totalShapeLength * J,
                        })
                      : Ae >= 1
                        ? pe.push({
                            s: fe.totalShapeLength * (Ae - 1),
                            e: fe.totalShapeLength * (J - 1),
                          })
                        : (pe.push({
                            s: fe.totalShapeLength * Ae,
                            e: fe.totalShapeLength,
                          }),
                          pe.push({ s: 0, e: fe.totalShapeLength * (J - 1) }));
                  var ne = this.addShapes(fe, pe[0]);
                  if (pe[0].s !== pe[0].e) {
                    if (pe.length > 1) {
                      var ge =
                        fe.shape.paths.shapes[fe.shape.paths._length - 1];
                      if (ge.c) {
                        var Ee = ne.pop();
                        this.addPaths(ne, ye),
                          (ne = this.addShapes(fe, pe[1], Ee));
                      } else
                        this.addPaths(ne, ye), (ne = this.addShapes(fe, pe[1]));
                    }
                    this.addPaths(ne, ye);
                  }
                }
                fe.shape.paths = ye;
              }
          }
        }),
        (Gn.prototype.addPaths = function (c, h) {
          var p,
            E = c.length;
          for (p = 0; p < E; p += 1) h.addShape(c[p]);
        }),
        (Gn.prototype.addSegment = function (c, h, p, E, S, _, k) {
          S.setXYAt(h[0], h[1], "o", _),
            S.setXYAt(p[0], p[1], "i", _ + 1),
            k && S.setXYAt(c[0], c[1], "v", _),
            S.setXYAt(E[0], E[1], "v", _ + 1);
        }),
        (Gn.prototype.addSegmentFromArray = function (c, h, p, E) {
          h.setXYAt(c[1], c[5], "o", p),
            h.setXYAt(c[2], c[6], "i", p + 1),
            E && h.setXYAt(c[0], c[4], "v", p),
            h.setXYAt(c[3], c[7], "v", p + 1);
        }),
        (Gn.prototype.addShapes = function (c, h, p) {
          var E = c.pathsData,
            S = c.shape.paths.shapes,
            _,
            k = c.shape.paths._length,
            z,
            H,
            re = 0,
            ae,
            be,
            K,
            oe,
            pe = [],
            fe,
            ye = !0;
          for (
            p
              ? ((be = p._length), (fe = p._length))
              : ((p = _r.newElement()), (be = 0), (fe = 0)),
              pe.push(p),
              _ = 0;
            _ < k;
            _ += 1
          ) {
            for (
              K = E[_].lengths,
                p.c = S[_].c,
                H = S[_].c ? K.length : K.length + 1,
                z = 1;
              z < H;
              z += 1
            )
              if (((ae = K[z - 1]), re + ae.addedLength < h.s))
                (re += ae.addedLength), (p.c = !1);
              else if (re > h.e) {
                p.c = !1;
                break;
              } else
                h.s <= re && h.e >= re + ae.addedLength
                  ? (this.addSegment(
                      S[_].v[z - 1],
                      S[_].o[z - 1],
                      S[_].i[z],
                      S[_].v[z],
                      p,
                      be,
                      ye,
                    ),
                    (ye = !1))
                  : ((oe = Xt.getNewSegment(
                      S[_].v[z - 1],
                      S[_].v[z],
                      S[_].o[z - 1],
                      S[_].i[z],
                      (h.s - re) / ae.addedLength,
                      (h.e - re) / ae.addedLength,
                      K[z - 1],
                    )),
                    this.addSegmentFromArray(oe, p, be, ye),
                    (ye = !1),
                    (p.c = !1)),
                  (re += ae.addedLength),
                  (be += 1);
            if (S[_].c && K.length) {
              if (((ae = K[z - 1]), re <= h.e)) {
                var Ae = K[z - 1].addedLength;
                h.s <= re && h.e >= re + Ae
                  ? (this.addSegment(
                      S[_].v[z - 1],
                      S[_].o[z - 1],
                      S[_].i[0],
                      S[_].v[0],
                      p,
                      be,
                      ye,
                    ),
                    (ye = !1))
                  : ((oe = Xt.getNewSegment(
                      S[_].v[z - 1],
                      S[_].v[0],
                      S[_].o[z - 1],
                      S[_].i[0],
                      (h.s - re) / Ae,
                      (h.e - re) / Ae,
                      K[z - 1],
                    )),
                    this.addSegmentFromArray(oe, p, be, ye),
                    (ye = !1),
                    (p.c = !1));
              } else p.c = !1;
              (re += ae.addedLength), (be += 1);
            }
            if (
              (p._length &&
                (p.setXYAt(p.v[fe][0], p.v[fe][1], "i", fe),
                p.setXYAt(
                  p.v[p._length - 1][0],
                  p.v[p._length - 1][1],
                  "o",
                  p._length - 1,
                )),
              re > h.e)
            )
              break;
            _ < k - 1 &&
              ((p = _r.newElement()), (ye = !0), pe.push(p), (be = 0));
          }
          return pe;
        });
      function Po() {}
      f([On], Po),
        (Po.prototype.initModifierProperties = function (c, h) {
          (this.getValue = this.processKeys),
            (this.amount = Ge.getProp(c, h.a, 0, null, this)),
            (this._isAnimated = !!this.amount.effectsSequence.length);
        }),
        (Po.prototype.processPath = function (c, h) {
          var p = h / 100,
            E = [0, 0],
            S = c._length,
            _ = 0;
          for (_ = 0; _ < S; _ += 1) (E[0] += c.v[_][0]), (E[1] += c.v[_][1]);
          (E[0] /= S), (E[1] /= S);
          var k = _r.newElement();
          k.c = c.c;
          var z, H, re, ae, be, K;
          for (_ = 0; _ < S; _ += 1)
            (z = c.v[_][0] + (E[0] - c.v[_][0]) * p),
              (H = c.v[_][1] + (E[1] - c.v[_][1]) * p),
              (re = c.o[_][0] + (E[0] - c.o[_][0]) * -p),
              (ae = c.o[_][1] + (E[1] - c.o[_][1]) * -p),
              (be = c.i[_][0] + (E[0] - c.i[_][0]) * -p),
              (K = c.i[_][1] + (E[1] - c.i[_][1]) * -p),
              k.setTripleAt(z, H, re, ae, be, K, _);
          return k;
        }),
        (Po.prototype.processShapes = function (c) {
          var h,
            p,
            E = this.shapes.length,
            S,
            _,
            k = this.amount.v;
          if (k !== 0) {
            var z, H;
            for (p = 0; p < E; p += 1) {
              if (
                ((z = this.shapes[p]),
                (H = z.localShapeCollection),
                !(!z.shape._mdf && !this._mdf && !c))
              )
                for (
                  H.releaseShapes(),
                    z.shape._mdf = !0,
                    h = z.shape.paths.shapes,
                    _ = z.shape.paths._length,
                    S = 0;
                  S < _;
                  S += 1
                )
                  H.addShape(this.processPath(h[S], k));
              z.shape.paths = z.localShapeCollection;
            }
          }
          this.dynamicProperties.length || (this._mdf = !1);
        });
      var Zf = (function () {
        var c = [0, 0];
        function h(H) {
          var re = this._mdf;
          this.iterateDynamicProperties(),
            (this._mdf = this._mdf || re),
            this.a && H.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]),
            this.s && H.scale(this.s.v[0], this.s.v[1], this.s.v[2]),
            this.sk && H.skewFromAxis(-this.sk.v, this.sa.v),
            this.r
              ? H.rotate(-this.r.v)
              : H.rotateZ(-this.rz.v)
                  .rotateY(this.ry.v)
                  .rotateX(this.rx.v)
                  .rotateZ(-this.or.v[2])
                  .rotateY(this.or.v[1])
                  .rotateX(this.or.v[0]),
            this.data.p.s
              ? this.data.p.z
                ? H.translate(this.px.v, this.py.v, -this.pz.v)
                : H.translate(this.px.v, this.py.v, 0)
              : H.translate(this.p.v[0], this.p.v[1], -this.p.v[2]);
        }
        function p(H) {
          if (this.elem.globalData.frameId !== this.frameId) {
            if (
              (this._isDirty &&
                (this.precalculateMatrix(), (this._isDirty = !1)),
              this.iterateDynamicProperties(),
              this._mdf || H)
            ) {
              var re;
              if (
                (this.v.cloneFromProps(this.pre.props),
                this.appliedTransformations < 1 &&
                  this.v.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]),
                this.appliedTransformations < 2 &&
                  this.v.scale(this.s.v[0], this.s.v[1], this.s.v[2]),
                this.sk &&
                  this.appliedTransformations < 3 &&
                  this.v.skewFromAxis(-this.sk.v, this.sa.v),
                this.r && this.appliedTransformations < 4
                  ? this.v.rotate(-this.r.v)
                  : !this.r &&
                    this.appliedTransformations < 4 &&
                    this.v
                      .rotateZ(-this.rz.v)
                      .rotateY(this.ry.v)
                      .rotateX(this.rx.v)
                      .rotateZ(-this.or.v[2])
                      .rotateY(this.or.v[1])
                      .rotateX(this.or.v[0]),
                this.autoOriented)
              ) {
                var ae, be;
                if (
                  ((re = this.elem.globalData.frameRate),
                  this.p && this.p.keyframes && this.p.getValueAtTime)
                )
                  this.p._caching.lastFrame + this.p.offsetTime <=
                  this.p.keyframes[0].t
                    ? ((ae = this.p.getValueAtTime(
                        (this.p.keyframes[0].t + 0.01) / re,
                        0,
                      )),
                      (be = this.p.getValueAtTime(
                        this.p.keyframes[0].t / re,
                        0,
                      )))
                    : this.p._caching.lastFrame + this.p.offsetTime >=
                        this.p.keyframes[this.p.keyframes.length - 1].t
                      ? ((ae = this.p.getValueAtTime(
                          this.p.keyframes[this.p.keyframes.length - 1].t / re,
                          0,
                        )),
                        (be = this.p.getValueAtTime(
                          (this.p.keyframes[this.p.keyframes.length - 1].t -
                            0.05) /
                            re,
                          0,
                        )))
                      : ((ae = this.p.pv),
                        (be = this.p.getValueAtTime(
                          (this.p._caching.lastFrame +
                            this.p.offsetTime -
                            0.01) /
                            re,
                          this.p.offsetTime,
                        )));
                else if (
                  this.px &&
                  this.px.keyframes &&
                  this.py.keyframes &&
                  this.px.getValueAtTime &&
                  this.py.getValueAtTime
                ) {
                  (ae = []), (be = []);
                  var K = this.px,
                    oe = this.py;
                  K._caching.lastFrame + K.offsetTime <= K.keyframes[0].t
                    ? ((ae[0] = K.getValueAtTime(
                        (K.keyframes[0].t + 0.01) / re,
                        0,
                      )),
                      (ae[1] = oe.getValueAtTime(
                        (oe.keyframes[0].t + 0.01) / re,
                        0,
                      )),
                      (be[0] = K.getValueAtTime(K.keyframes[0].t / re, 0)),
                      (be[1] = oe.getValueAtTime(oe.keyframes[0].t / re, 0)))
                    : K._caching.lastFrame + K.offsetTime >=
                        K.keyframes[K.keyframes.length - 1].t
                      ? ((ae[0] = K.getValueAtTime(
                          K.keyframes[K.keyframes.length - 1].t / re,
                          0,
                        )),
                        (ae[1] = oe.getValueAtTime(
                          oe.keyframes[oe.keyframes.length - 1].t / re,
                          0,
                        )),
                        (be[0] = K.getValueAtTime(
                          (K.keyframes[K.keyframes.length - 1].t - 0.01) / re,
                          0,
                        )),
                        (be[1] = oe.getValueAtTime(
                          (oe.keyframes[oe.keyframes.length - 1].t - 0.01) / re,
                          0,
                        )))
                      : ((ae = [K.pv, oe.pv]),
                        (be[0] = K.getValueAtTime(
                          (K._caching.lastFrame + K.offsetTime - 0.01) / re,
                          K.offsetTime,
                        )),
                        (be[1] = oe.getValueAtTime(
                          (oe._caching.lastFrame + oe.offsetTime - 0.01) / re,
                          oe.offsetTime,
                        )));
                } else (be = c), (ae = be);
                this.v.rotate(-Math.atan2(ae[1] - be[1], ae[0] - be[0]));
              }
              this.data.p && this.data.p.s
                ? this.data.p.z
                  ? this.v.translate(this.px.v, this.py.v, -this.pz.v)
                  : this.v.translate(this.px.v, this.py.v, 0)
                : this.v.translate(this.p.v[0], this.p.v[1], -this.p.v[2]);
            }
            this.frameId = this.elem.globalData.frameId;
          }
        }
        function E() {
          if (
            ((this.appliedTransformations = 0),
            this.pre.reset(),
            !this.a.effectsSequence.length)
          )
            this.pre.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]),
              (this.appliedTransformations = 1);
          else return;
          if (!this.s.effectsSequence.length)
            this.pre.scale(this.s.v[0], this.s.v[1], this.s.v[2]),
              (this.appliedTransformations = 2);
          else return;
          if (this.sk)
            if (
              !this.sk.effectsSequence.length &&
              !this.sa.effectsSequence.length
            )
              this.pre.skewFromAxis(-this.sk.v, this.sa.v),
                (this.appliedTransformations = 3);
            else return;
          this.r
            ? this.r.effectsSequence.length ||
              (this.pre.rotate(-this.r.v), (this.appliedTransformations = 4))
            : !this.rz.effectsSequence.length &&
              !this.ry.effectsSequence.length &&
              !this.rx.effectsSequence.length &&
              !this.or.effectsSequence.length &&
              (this.pre
                .rotateZ(-this.rz.v)
                .rotateY(this.ry.v)
                .rotateX(this.rx.v)
                .rotateZ(-this.or.v[2])
                .rotateY(this.or.v[1])
                .rotateX(this.or.v[0]),
              (this.appliedTransformations = 4));
        }
        function S() {}
        function _(H) {
          this._addDynamicProperty(H),
            this.elem.addDynamicProperty(H),
            (this._isDirty = !0);
        }
        function k(H, re, ae) {
          if (
            ((this.elem = H),
            (this.frameId = -1),
            (this.propType = "transform"),
            (this.data = re),
            (this.v = new mr()),
            (this.pre = new mr()),
            (this.appliedTransformations = 0),
            this.initDynamicPropertyContainer(ae || H),
            re.p && re.p.s
              ? ((this.px = Ge.getProp(H, re.p.x, 0, 0, this)),
                (this.py = Ge.getProp(H, re.p.y, 0, 0, this)),
                re.p.z && (this.pz = Ge.getProp(H, re.p.z, 0, 0, this)))
              : (this.p = Ge.getProp(H, re.p || { k: [0, 0, 0] }, 1, 0, this)),
            re.rx)
          ) {
            if (
              ((this.rx = Ge.getProp(H, re.rx, 0, D, this)),
              (this.ry = Ge.getProp(H, re.ry, 0, D, this)),
              (this.rz = Ge.getProp(H, re.rz, 0, D, this)),
              re.or.k[0].ti)
            ) {
              var be,
                K = re.or.k.length;
              for (be = 0; be < K; be += 1)
                (re.or.k[be].to = null), (re.or.k[be].ti = null);
            }
            (this.or = Ge.getProp(H, re.or, 1, D, this)), (this.or.sh = !0);
          } else this.r = Ge.getProp(H, re.r || { k: 0 }, 0, D, this);
          re.sk &&
            ((this.sk = Ge.getProp(H, re.sk, 0, D, this)),
            (this.sa = Ge.getProp(H, re.sa, 0, D, this))),
            (this.a = Ge.getProp(H, re.a || { k: [0, 0, 0] }, 1, 0, this)),
            (this.s = Ge.getProp(
              H,
              re.s || { k: [100, 100, 100] },
              1,
              0.01,
              this,
            )),
            re.o
              ? (this.o = Ge.getProp(H, re.o, 0, 0.01, H))
              : (this.o = { _mdf: !1, v: 1 }),
            (this._isDirty = !0),
            this.dynamicProperties.length || this.getValue(!0);
        }
        (k.prototype = {
          applyToMatrix: h,
          getValue: p,
          precalculateMatrix: E,
          autoOrient: S,
        }),
          f([vr], k),
          (k.prototype.addDynamicProperty = _),
          (k.prototype._addDynamicProperty = vr.prototype.addDynamicProperty);
        function z(H, re, ae) {
          return new k(H, re, ae);
        }
        return { getTransformProperty: z };
      })();
      function cA() {}
      f([On], cA),
        (cA.prototype.initModifierProperties = function (c, h) {
          (this.getValue = this.processKeys),
            (this.c = Ge.getProp(c, h.c, 0, null, this)),
            (this.o = Ge.getProp(c, h.o, 0, null, this)),
            (this.tr = Zf.getTransformProperty(c, h.tr, this)),
            (this.so = Ge.getProp(c, h.tr.so, 0, 0.01, this)),
            (this.eo = Ge.getProp(c, h.tr.eo, 0, 0.01, this)),
            (this.data = h),
            this.dynamicProperties.length || this.getValue(!0),
            (this._isAnimated = !!this.dynamicProperties.length),
            (this.pMatrix = new mr()),
            (this.rMatrix = new mr()),
            (this.sMatrix = new mr()),
            (this.tMatrix = new mr()),
            (this.matrix = new mr());
        }),
        (cA.prototype.applyTransforms = function (c, h, p, E, S, _) {
          var k = _ ? -1 : 1,
            z = E.s.v[0] + (1 - E.s.v[0]) * (1 - S),
            H = E.s.v[1] + (1 - E.s.v[1]) * (1 - S);
          c.translate(E.p.v[0] * k * S, E.p.v[1] * k * S, E.p.v[2]),
            h.translate(-E.a.v[0], -E.a.v[1], E.a.v[2]),
            h.rotate(-E.r.v * k * S),
            h.translate(E.a.v[0], E.a.v[1], E.a.v[2]),
            p.translate(-E.a.v[0], -E.a.v[1], E.a.v[2]),
            p.scale(_ ? 1 / z : z, _ ? 1 / H : H),
            p.translate(E.a.v[0], E.a.v[1], E.a.v[2]);
        }),
        (cA.prototype.init = function (c, h, p, E) {
          for (
            this.elem = c,
              this.arr = h,
              this.pos = p,
              this.elemsData = E,
              this._currentCopies = 0,
              this._elements = [],
              this._groups = [],
              this.frameId = -1,
              this.initDynamicPropertyContainer(c),
              this.initModifierProperties(c, h[p]);
            p > 0;

          )
            (p -= 1), this._elements.unshift(h[p]);
          this.dynamicProperties.length ? (this.k = !0) : this.getValue(!0);
        }),
        (cA.prototype.resetElements = function (c) {
          var h,
            p = c.length;
          for (h = 0; h < p; h += 1)
            (c[h]._processed = !1),
              c[h].ty === "gr" && this.resetElements(c[h].it);
        }),
        (cA.prototype.cloneElements = function (c) {
          var h = JSON.parse(JSON.stringify(c));
          return this.resetElements(h), h;
        }),
        (cA.prototype.changeGroupRender = function (c, h) {
          var p,
            E = c.length;
          for (p = 0; p < E; p += 1)
            (c[p]._render = h),
              c[p].ty === "gr" && this.changeGroupRender(c[p].it, h);
        }),
        (cA.prototype.processShapes = function (c) {
          var h,
            p,
            E,
            S,
            _,
            k = !1;
          if (this._mdf || c) {
            var z = Math.ceil(this.c.v);
            if (this._groups.length < z) {
              for (; this._groups.length < z; ) {
                var H = { it: this.cloneElements(this._elements), ty: "gr" };
                H.it.push({
                  a: { a: 0, ix: 1, k: [0, 0] },
                  nm: "Transform",
                  o: { a: 0, ix: 7, k: 100 },
                  p: { a: 0, ix: 2, k: [0, 0] },
                  r: {
                    a: 1,
                    ix: 6,
                    k: [
                      { s: 0, e: 0, t: 0 },
                      { s: 0, e: 0, t: 1 },
                    ],
                  },
                  s: { a: 0, ix: 3, k: [100, 100] },
                  sa: { a: 0, ix: 5, k: 0 },
                  sk: { a: 0, ix: 4, k: 0 },
                  ty: "tr",
                }),
                  this.arr.splice(0, 0, H),
                  this._groups.splice(0, 0, H),
                  (this._currentCopies += 1);
              }
              this.elem.reloadShapes(), (k = !0);
            }
            _ = 0;
            var re;
            for (E = 0; E <= this._groups.length - 1; E += 1) {
              if (
                ((re = _ < z),
                (this._groups[E]._render = re),
                this.changeGroupRender(this._groups[E].it, re),
                !re)
              ) {
                var ae = this.elemsData[E].it,
                  be = ae[ae.length - 1];
                be.transform.op.v !== 0
                  ? ((be.transform.op._mdf = !0), (be.transform.op.v = 0))
                  : (be.transform.op._mdf = !1);
              }
              _ += 1;
            }
            this._currentCopies = z;
            var K = this.o.v,
              oe = K % 1,
              pe = K > 0 ? Math.floor(K) : Math.ceil(K),
              fe = this.pMatrix.props,
              ye = this.rMatrix.props,
              Ae = this.sMatrix.props;
            this.pMatrix.reset(),
              this.rMatrix.reset(),
              this.sMatrix.reset(),
              this.tMatrix.reset(),
              this.matrix.reset();
            var J = 0;
            if (K > 0) {
              for (; J < pe; )
                this.applyTransforms(
                  this.pMatrix,
                  this.rMatrix,
                  this.sMatrix,
                  this.tr,
                  1,
                  !1,
                ),
                  (J += 1);
              oe &&
                (this.applyTransforms(
                  this.pMatrix,
                  this.rMatrix,
                  this.sMatrix,
                  this.tr,
                  oe,
                  !1,
                ),
                (J += oe));
            } else if (K < 0) {
              for (; J > pe; )
                this.applyTransforms(
                  this.pMatrix,
                  this.rMatrix,
                  this.sMatrix,
                  this.tr,
                  1,
                  !0,
                ),
                  (J -= 1);
              oe &&
                (this.applyTransforms(
                  this.pMatrix,
                  this.rMatrix,
                  this.sMatrix,
                  this.tr,
                  -oe,
                  !0,
                ),
                (J -= oe));
            }
            (E = this.data.m === 1 ? 0 : this._currentCopies - 1),
              (S = this.data.m === 1 ? 1 : -1),
              (_ = this._currentCopies);
            for (var N, W; _; ) {
              if (
                ((h = this.elemsData[E].it),
                (p = h[h.length - 1].transform.mProps.v.props),
                (W = p.length),
                (h[h.length - 1].transform.mProps._mdf = !0),
                (h[h.length - 1].transform.op._mdf = !0),
                (h[h.length - 1].transform.op.v =
                  this._currentCopies === 1
                    ? this.so.v
                    : this.so.v +
                      (this.eo.v - this.so.v) *
                        (E / (this._currentCopies - 1))),
                J !== 0)
              ) {
                for (
                  ((E !== 0 && S === 1) ||
                    (E !== this._currentCopies - 1 && S === -1)) &&
                    this.applyTransforms(
                      this.pMatrix,
                      this.rMatrix,
                      this.sMatrix,
                      this.tr,
                      1,
                      !1,
                    ),
                    this.matrix.transform(
                      ye[0],
                      ye[1],
                      ye[2],
                      ye[3],
                      ye[4],
                      ye[5],
                      ye[6],
                      ye[7],
                      ye[8],
                      ye[9],
                      ye[10],
                      ye[11],
                      ye[12],
                      ye[13],
                      ye[14],
                      ye[15],
                    ),
                    this.matrix.transform(
                      Ae[0],
                      Ae[1],
                      Ae[2],
                      Ae[3],
                      Ae[4],
                      Ae[5],
                      Ae[6],
                      Ae[7],
                      Ae[8],
                      Ae[9],
                      Ae[10],
                      Ae[11],
                      Ae[12],
                      Ae[13],
                      Ae[14],
                      Ae[15],
                    ),
                    this.matrix.transform(
                      fe[0],
                      fe[1],
                      fe[2],
                      fe[3],
                      fe[4],
                      fe[5],
                      fe[6],
                      fe[7],
                      fe[8],
                      fe[9],
                      fe[10],
                      fe[11],
                      fe[12],
                      fe[13],
                      fe[14],
                      fe[15],
                    ),
                    N = 0;
                  N < W;
                  N += 1
                )
                  p[N] = this.matrix.props[N];
                this.matrix.reset();
              } else
                for (this.matrix.reset(), N = 0; N < W; N += 1)
                  p[N] = this.matrix.props[N];
              (J += 1), (_ -= 1), (E += S);
            }
          } else
            for (_ = this._currentCopies, E = 0, S = 1; _; )
              (h = this.elemsData[E].it),
                (p = h[h.length - 1].transform.mProps.v.props),
                (h[h.length - 1].transform.mProps._mdf = !1),
                (h[h.length - 1].transform.op._mdf = !1),
                (_ -= 1),
                (E += S);
          return k;
        }),
        (cA.prototype.addShape = function () {});
      function Oo() {}
      f([On], Oo),
        (Oo.prototype.initModifierProperties = function (c, h) {
          (this.getValue = this.processKeys),
            (this.rd = Ge.getProp(c, h.r, 0, null, this)),
            (this._isAnimated = !!this.rd.effectsSequence.length);
        }),
        (Oo.prototype.processPath = function (c, h) {
          var p = _r.newElement();
          p.c = c.c;
          var E,
            S = c._length,
            _,
            k,
            z,
            H,
            re,
            ae,
            be = 0,
            K,
            oe,
            pe,
            fe,
            ye,
            Ae;
          for (E = 0; E < S; E += 1)
            (_ = c.v[E]),
              (z = c.o[E]),
              (k = c.i[E]),
              _[0] === z[0] && _[1] === z[1] && _[0] === k[0] && _[1] === k[1]
                ? (E === 0 || E === S - 1) && !c.c
                  ? (p.setTripleAt(_[0], _[1], z[0], z[1], k[0], k[1], be),
                    (be += 1))
                  : (E === 0 ? (H = c.v[S - 1]) : (H = c.v[E - 1]),
                    (re = Math.sqrt(
                      Math.pow(_[0] - H[0], 2) + Math.pow(_[1] - H[1], 2),
                    )),
                    (ae = re ? Math.min(re / 2, h) / re : 0),
                    (ye = _[0] + (H[0] - _[0]) * ae),
                    (K = ye),
                    (Ae = _[1] - (_[1] - H[1]) * ae),
                    (oe = Ae),
                    (pe = K - (K - _[0]) * U),
                    (fe = oe - (oe - _[1]) * U),
                    p.setTripleAt(K, oe, pe, fe, ye, Ae, be),
                    (be += 1),
                    E === S - 1 ? (H = c.v[0]) : (H = c.v[E + 1]),
                    (re = Math.sqrt(
                      Math.pow(_[0] - H[0], 2) + Math.pow(_[1] - H[1], 2),
                    )),
                    (ae = re ? Math.min(re / 2, h) / re : 0),
                    (pe = _[0] + (H[0] - _[0]) * ae),
                    (K = pe),
                    (fe = _[1] + (H[1] - _[1]) * ae),
                    (oe = fe),
                    (ye = K - (K - _[0]) * U),
                    (Ae = oe - (oe - _[1]) * U),
                    p.setTripleAt(K, oe, pe, fe, ye, Ae, be),
                    (be += 1))
                : (p.setTripleAt(
                    c.v[E][0],
                    c.v[E][1],
                    c.o[E][0],
                    c.o[E][1],
                    c.i[E][0],
                    c.i[E][1],
                    be,
                  ),
                  (be += 1));
          return p;
        }),
        (Oo.prototype.processShapes = function (c) {
          var h,
            p,
            E = this.shapes.length,
            S,
            _,
            k = this.rd.v;
          if (k !== 0) {
            var z, H;
            for (p = 0; p < E; p += 1) {
              if (
                ((z = this.shapes[p]),
                (H = z.localShapeCollection),
                !(!z.shape._mdf && !this._mdf && !c))
              )
                for (
                  H.releaseShapes(),
                    z.shape._mdf = !0,
                    h = z.shape.paths.shapes,
                    _ = z.shape.paths._length,
                    S = 0;
                  S < _;
                  S += 1
                )
                  H.addShape(this.processPath(h[S], k));
              z.shape.paths = z.localShapeCollection;
            }
          }
          this.dynamicProperties.length || (this._mdf = !1);
        });
      function D0(c, h) {
        return Math.abs(c - h) * 1e5 <= Math.min(Math.abs(c), Math.abs(h));
      }
      function e1(c) {
        return Math.abs(c) <= 1e-5;
      }
      function B5(c, h, p) {
        return c * (1 - p) + h * p;
      }
      function pi(c, h, p) {
        return [B5(c[0], h[0], p), B5(c[1], h[1], p)];
      }
      function Tx(c, h, p) {
        if (c === 0) return [];
        var E = h * h - 4 * c * p;
        if (E < 0) return [];
        var S = -h / (2 * c);
        if (E === 0) return [S];
        var _ = Math.sqrt(E) / (2 * c);
        return [S - _, S + _];
      }
      function w5(c, h, p, E) {
        return [
          -c + 3 * h - 3 * p + E,
          3 * c - 6 * h + 3 * p,
          -3 * c + 3 * h,
          c,
        ];
      }
      function y5(c) {
        return new tr(c, c, c, c, !1);
      }
      function tr(c, h, p, E, S) {
        S && da(c, h) && (h = pi(c, E, 1 / 3)),
          S && da(p, E) && (p = pi(c, E, 2 / 3));
        var _ = w5(c[0], h[0], p[0], E[0]),
          k = w5(c[1], h[1], p[1], E[1]);
        (this.a = [_[0], k[0]]),
          (this.b = [_[1], k[1]]),
          (this.c = [_[2], k[2]]),
          (this.d = [_[3], k[3]]),
          (this.points = [c, h, p, E]);
      }
      (tr.prototype.point = function (c) {
        return [
          ((this.a[0] * c + this.b[0]) * c + this.c[0]) * c + this.d[0],
          ((this.a[1] * c + this.b[1]) * c + this.c[1]) * c + this.d[1],
        ];
      }),
        (tr.prototype.derivative = function (c) {
          return [
            (3 * c * this.a[0] + 2 * this.b[0]) * c + this.c[0],
            (3 * c * this.a[1] + 2 * this.b[1]) * c + this.c[1],
          ];
        }),
        (tr.prototype.tangentAngle = function (c) {
          var h = this.derivative(c);
          return Math.atan2(h[1], h[0]);
        }),
        (tr.prototype.normalAngle = function (c) {
          var h = this.derivative(c);
          return Math.atan2(h[0], h[1]);
        }),
        (tr.prototype.inflectionPoints = function () {
          var c = this.a[1] * this.b[0] - this.a[0] * this.b[1];
          if (e1(c)) return [];
          var h = (-0.5 * (this.a[1] * this.c[0] - this.a[0] * this.c[1])) / c,
            p =
              h * h -
              ((1 / 3) * (this.b[1] * this.c[0] - this.b[0] * this.c[1])) / c;
          if (p < 0) return [];
          var E = Math.sqrt(p);
          return e1(E)
            ? E > 0 && E < 1
              ? [h]
              : []
            : [h - E, h + E].filter(function (S) {
                return S > 0 && S < 1;
              });
        }),
        (tr.prototype.split = function (c) {
          if (c <= 0) return [y5(this.points[0]), this];
          if (c >= 1) return [this, y5(this.points[this.points.length - 1])];
          var h = pi(this.points[0], this.points[1], c),
            p = pi(this.points[1], this.points[2], c),
            E = pi(this.points[2], this.points[3], c),
            S = pi(h, p, c),
            _ = pi(p, E, c),
            k = pi(S, _, c);
          return [
            new tr(this.points[0], h, S, k, !0),
            new tr(k, _, E, this.points[3], !0),
          ];
        });
      function C5(c, h) {
        var p = c.points[0][h],
          E = c.points[c.points.length - 1][h];
        if (p > E) {
          var S = E;
          (E = p), (p = S);
        }
        for (
          var _ = Tx(3 * c.a[h], 2 * c.b[h], c.c[h]), k = 0;
          k < _.length;
          k += 1
        )
          if (_[k] > 0 && _[k] < 1) {
            var z = c.point(_[k])[h];
            z < p ? (p = z) : z > E && (E = z);
          }
        return { min: p, max: E };
      }
      (tr.prototype.bounds = function () {
        return { x: C5(this, 0), y: C5(this, 1) };
      }),
        (tr.prototype.boundingBox = function () {
          var c = this.bounds();
          return {
            left: c.x.min,
            right: c.x.max,
            top: c.y.min,
            bottom: c.y.max,
            width: c.x.max - c.x.min,
            height: c.y.max - c.y.min,
            cx: (c.x.max + c.x.min) / 2,
            cy: (c.y.max + c.y.min) / 2,
          };
        });
      function P0(c, h, p) {
        var E = c.boundingBox();
        return {
          cx: E.cx,
          cy: E.cy,
          width: E.width,
          height: E.height,
          bez: c,
          t: (h + p) / 2,
          t1: h,
          t2: p,
        };
      }
      function x5(c) {
        var h = c.bez.split(0.5);
        return [P0(h[0], c.t1, c.t), P0(h[1], c.t, c.t2)];
      }
      function Ix(c, h) {
        return (
          Math.abs(c.cx - h.cx) * 2 < c.width + h.width &&
          Math.abs(c.cy - h.cy) * 2 < c.height + h.height
        );
      }
      function Lo(c, h, p, E, S, _) {
        if (Ix(c, h)) {
          if (
            p >= _ ||
            (c.width <= E && c.height <= E && h.width <= E && h.height <= E)
          ) {
            S.push([c.t, h.t]);
            return;
          }
          var k = x5(c),
            z = x5(h);
          Lo(k[0], z[0], p + 1, E, S, _),
            Lo(k[0], z[1], p + 1, E, S, _),
            Lo(k[1], z[0], p + 1, E, S, _),
            Lo(k[1], z[1], p + 1, E, S, _);
        }
      }
      (tr.prototype.intersections = function (c, h, p) {
        h === void 0 && (h = 2), p === void 0 && (p = 7);
        var E = [];
        return Lo(P0(this, 0, 1), P0(c, 0, 1), 0, h, E, p), E;
      }),
        (tr.shapeSegment = function (c, h) {
          var p = (h + 1) % c.length();
          return new tr(c.v[h], c.o[h], c.i[p], c.v[p], !0);
        }),
        (tr.shapeSegmentInverted = function (c, h) {
          var p = (h + 1) % c.length();
          return new tr(c.v[p], c.i[p], c.o[h], c.v[h], !0);
        });
      function t1(c, h) {
        return [
          c[1] * h[2] - c[2] * h[1],
          c[2] * h[0] - c[0] * h[2],
          c[0] * h[1] - c[1] * h[0],
        ];
      }
      function O0(c, h, p, E) {
        var S = [c[0], c[1], 1],
          _ = [h[0], h[1], 1],
          k = [p[0], p[1], 1],
          z = [E[0], E[1], 1],
          H = t1(t1(S, _), t1(k, z));
        return e1(H[2]) ? null : [H[0] / H[2], H[1] / H[2]];
      }
      function fa(c, h, p) {
        return [c[0] + Math.cos(h) * p, c[1] - Math.sin(h) * p];
      }
      function r1(c, h) {
        return Math.hypot(c[0] - h[0], c[1] - h[1]);
      }
      function da(c, h) {
        return D0(c[0], h[0]) && D0(c[1], h[1]);
      }
      function ko() {}
      f([On], ko),
        (ko.prototype.initModifierProperties = function (c, h) {
          (this.getValue = this.processKeys),
            (this.amplitude = Ge.getProp(c, h.s, 0, null, this)),
            (this.frequency = Ge.getProp(c, h.r, 0, null, this)),
            (this.pointsType = Ge.getProp(c, h.pt, 0, null, this)),
            (this._isAnimated =
              this.amplitude.effectsSequence.length !== 0 ||
              this.frequency.effectsSequence.length !== 0 ||
              this.pointsType.effectsSequence.length !== 0);
        });
      function E5(c, h, p, E, S, _, k) {
        var z = p - Math.PI / 2,
          H = p + Math.PI / 2,
          re = h[0] + Math.cos(p) * E * S,
          ae = h[1] - Math.sin(p) * E * S;
        c.setTripleAt(
          re,
          ae,
          re + Math.cos(z) * _,
          ae - Math.sin(z) * _,
          re + Math.cos(H) * k,
          ae - Math.sin(H) * k,
          c.length(),
        );
      }
      function Dx(c, h) {
        var p = [h[0] - c[0], h[1] - c[1]],
          E = -Math.PI * 0.5,
          S = [
            Math.cos(E) * p[0] - Math.sin(E) * p[1],
            Math.sin(E) * p[0] + Math.cos(E) * p[1],
          ];
        return S;
      }
      function Px(c, h) {
        var p = h === 0 ? c.length() - 1 : h - 1,
          E = (h + 1) % c.length(),
          S = c.v[p],
          _ = c.v[E],
          k = Dx(S, _);
        return Math.atan2(0, 1) - Math.atan2(k[1], k[0]);
      }
      function b5(c, h, p, E, S, _, k) {
        var z = Px(h, p),
          H = h.v[p % h._length],
          re = h.v[p === 0 ? h._length - 1 : p - 1],
          ae = h.v[(p + 1) % h._length],
          be =
            _ === 2
              ? Math.sqrt(Math.pow(H[0] - re[0], 2) + Math.pow(H[1] - re[1], 2))
              : 0,
          K =
            _ === 2
              ? Math.sqrt(Math.pow(H[0] - ae[0], 2) + Math.pow(H[1] - ae[1], 2))
              : 0;
        E5(
          c,
          h.v[p % h._length],
          z,
          k,
          E,
          K / ((S + 1) * 2),
          be / ((S + 1) * 2),
        );
      }
      function Ox(c, h, p, E, S, _) {
        for (var k = 0; k < E; k += 1) {
          var z = (k + 1) / (E + 1),
            H =
              S === 2
                ? Math.sqrt(
                    Math.pow(h.points[3][0] - h.points[0][0], 2) +
                      Math.pow(h.points[3][1] - h.points[0][1], 2),
                  )
                : 0,
            re = h.normalAngle(z),
            ae = h.point(z);
          E5(c, ae, re, _, p, H / ((E + 1) * 2), H / ((E + 1) * 2)), (_ = -_);
        }
        return _;
      }
      (ko.prototype.processPath = function (c, h, p, E) {
        var S = c._length,
          _ = _r.newElement();
        if (((_.c = c.c), c.c || (S -= 1), S === 0)) return _;
        var k = -1,
          z = tr.shapeSegment(c, 0);
        b5(_, c, 0, h, p, E, k);
        for (var H = 0; H < S; H += 1)
          (k = Ox(_, z, h, p, E, -k)),
            H === S - 1 && !c.c
              ? (z = null)
              : (z = tr.shapeSegment(c, (H + 1) % S)),
            b5(_, c, H + 1, h, p, E, k);
        return _;
      }),
        (ko.prototype.processShapes = function (c) {
          var h,
            p,
            E = this.shapes.length,
            S,
            _,
            k = this.amplitude.v,
            z = Math.max(0, Math.round(this.frequency.v)),
            H = this.pointsType.v;
          if (k !== 0) {
            var re, ae;
            for (p = 0; p < E; p += 1) {
              if (
                ((re = this.shapes[p]),
                (ae = re.localShapeCollection),
                !(!re.shape._mdf && !this._mdf && !c))
              )
                for (
                  ae.releaseShapes(),
                    re.shape._mdf = !0,
                    h = re.shape.paths.shapes,
                    _ = re.shape.paths._length,
                    S = 0;
                  S < _;
                  S += 1
                )
                  ae.addShape(this.processPath(h[S], k, z, H));
              re.shape.paths = re.localShapeCollection;
            }
          }
          this.dynamicProperties.length || (this._mdf = !1);
        });
      function n1(c, h, p) {
        var E = Math.atan2(h[0] - c[0], h[1] - c[1]);
        return [fa(c, E, p), fa(h, E, p)];
      }
      function ha(c, h) {
        var p, E, S, _, k, z, H;
        (H = n1(c.points[0], c.points[1], h)),
          (p = H[0]),
          (E = H[1]),
          (H = n1(c.points[1], c.points[2], h)),
          (S = H[0]),
          (_ = H[1]),
          (H = n1(c.points[2], c.points[3], h)),
          (k = H[0]),
          (z = H[1]);
        var re = O0(p, E, S, _);
        re === null && (re = E);
        var ae = O0(k, z, S, _);
        return ae === null && (ae = k), new tr(p, re, ae, z);
      }
      function F5(c, h, p, E, S) {
        var _ = h.points[3],
          k = p.points[0];
        if (E === 3 || da(_, k)) return _;
        if (E === 2) {
          var z = -h.tangentAngle(1),
            H = -p.tangentAngle(0) + Math.PI,
            re = O0(
              _,
              fa(_, z + Math.PI / 2, 100),
              k,
              fa(k, z + Math.PI / 2, 100),
            ),
            ae = re ? r1(re, _) : r1(_, k) / 2,
            be = fa(_, z, 2 * ae * U);
          return (
            c.setXYAt(be[0], be[1], "o", c.length() - 1),
            (be = fa(k, H, 2 * ae * U)),
            c.setTripleAt(k[0], k[1], k[0], k[1], be[0], be[1], c.length()),
            k
          );
        }
        var K = da(_, h.points[2]) ? h.points[0] : h.points[2],
          oe = da(k, p.points[1]) ? p.points[3] : p.points[1],
          pe = O0(K, _, k, oe);
        return pe && r1(pe, _) < S
          ? (c.setTripleAt(
              pe[0],
              pe[1],
              pe[0],
              pe[1],
              pe[0],
              pe[1],
              c.length(),
            ),
            pe)
          : _;
      }
      function _5(c, h) {
        var p = c.intersections(h);
        return p.length && D0(p[0][0], 1) && p.shift(), p.length ? p[0] : null;
      }
      function S5(c, h) {
        var p = c.slice(),
          E = h.slice(),
          S = _5(c[c.length - 1], h[0]);
        return (
          S &&
            ((p[c.length - 1] = c[c.length - 1].split(S[0])[0]),
            (E[0] = h[0].split(S[1])[1])),
          c.length > 1 && h.length > 1 && ((S = _5(c[0], h[h.length - 1])), S)
            ? [[c[0].split(S[0])[0]], [h[h.length - 1].split(S[1])[1]]]
            : [p, E]
        );
      }
      function Lx(c) {
        for (var h, p = 1; p < c.length; p += 1)
          (h = S5(c[p - 1], c[p])), (c[p - 1] = h[0]), (c[p] = h[1]);
        return (
          c.length > 1 &&
            ((h = S5(c[c.length - 1], c[0])),
            (c[c.length - 1] = h[0]),
            (c[0] = h[1])),
          c
        );
      }
      function Q5(c, h) {
        var p = c.inflectionPoints(),
          E,
          S,
          _,
          k;
        if (p.length === 0) return [ha(c, h)];
        if (p.length === 1 || D0(p[1], 1))
          return (
            (_ = c.split(p[0])), (E = _[0]), (S = _[1]), [ha(E, h), ha(S, h)]
          );
        (_ = c.split(p[0])), (E = _[0]);
        var z = (p[1] - p[0]) / (1 - p[0]);
        return (
          (_ = _[1].split(z)),
          (k = _[0]),
          (S = _[1]),
          [ha(E, h), ha(k, h), ha(S, h)]
        );
      }
      function Ho() {}
      f([On], Ho),
        (Ho.prototype.initModifierProperties = function (c, h) {
          (this.getValue = this.processKeys),
            (this.amount = Ge.getProp(c, h.a, 0, null, this)),
            (this.miterLimit = Ge.getProp(c, h.ml, 0, null, this)),
            (this.lineJoin = h.lj),
            (this._isAnimated = this.amount.effectsSequence.length !== 0);
        }),
        (Ho.prototype.processPath = function (c, h, p, E) {
          var S = _r.newElement();
          S.c = c.c;
          var _ = c.length();
          c.c || (_ -= 1);
          var k,
            z,
            H,
            re = [];
          for (k = 0; k < _; k += 1)
            (H = tr.shapeSegment(c, k)), re.push(Q5(H, h));
          if (!c.c)
            for (k = _ - 1; k >= 0; k -= 1)
              (H = tr.shapeSegmentInverted(c, k)), re.push(Q5(H, h));
          re = Lx(re);
          var ae = null,
            be = null;
          for (k = 0; k < re.length; k += 1) {
            var K = re[k];
            for (
              be && (ae = F5(S, be, K[0], p, E)), be = K[K.length - 1], z = 0;
              z < K.length;
              z += 1
            )
              (H = K[z]),
                ae && da(H.points[0], ae)
                  ? S.setXYAt(
                      H.points[1][0],
                      H.points[1][1],
                      "o",
                      S.length() - 1,
                    )
                  : S.setTripleAt(
                      H.points[0][0],
                      H.points[0][1],
                      H.points[1][0],
                      H.points[1][1],
                      H.points[0][0],
                      H.points[0][1],
                      S.length(),
                    ),
                S.setTripleAt(
                  H.points[3][0],
                  H.points[3][1],
                  H.points[3][0],
                  H.points[3][1],
                  H.points[2][0],
                  H.points[2][1],
                  S.length(),
                ),
                (ae = H.points[3]);
          }
          return re.length && F5(S, be, re[0][0], p, E), S;
        }),
        (Ho.prototype.processShapes = function (c) {
          var h,
            p,
            E = this.shapes.length,
            S,
            _,
            k = this.amount.v,
            z = this.miterLimit.v,
            H = this.lineJoin;
          if (k !== 0) {
            var re, ae;
            for (p = 0; p < E; p += 1) {
              if (
                ((re = this.shapes[p]),
                (ae = re.localShapeCollection),
                !(!re.shape._mdf && !this._mdf && !c))
              )
                for (
                  ae.releaseShapes(),
                    re.shape._mdf = !0,
                    h = re.shape.paths.shapes,
                    _ = re.shape.paths._length,
                    S = 0;
                  S < _;
                  S += 1
                )
                  ae.addShape(this.processPath(h[S], k, H, z));
              re.shape.paths = re.localShapeCollection;
            }
          }
          this.dynamicProperties.length || (this._mdf = !1);
        });
      function U5(c) {
        for (
          var h = c.fStyle ? c.fStyle.split(" ") : [],
            p = "normal",
            E = "normal",
            S = h.length,
            _,
            k = 0;
          k < S;
          k += 1
        )
          switch (((_ = h[k].toLowerCase()), _)) {
            case "italic":
              E = "italic";
              break;
            case "bold":
              p = "700";
              break;
            case "black":
              p = "900";
              break;
            case "medium":
              p = "500";
              break;
            case "regular":
            case "normal":
              p = "400";
              break;
            case "light":
            case "thin":
              p = "200";
              break;
          }
        return { style: E, weight: c.fWeight || p };
      }
      var ys = (function () {
        var c = 5e3,
          h = { w: 0, size: 0, shapes: [], data: { shapes: [] } },
          p = [];
        p = p.concat([
          2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368,
          2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379,
          2380, 2381, 2382, 2383, 2387, 2388, 2389, 2390, 2391, 2402, 2403,
        ]);
        var E = 127988,
          S = 917631,
          _ = 917601,
          k = 917626,
          z = 65039,
          H = 8205,
          re = 127462,
          ae = 127487,
          be = ["d83cdffb", "d83cdffc", "d83cdffd", "d83cdffe", "d83cdfff"];
        function K(Y) {
          var de = Y.split(","),
            O,
            R = de.length,
            Se = [];
          for (O = 0; O < R; O += 1)
            de[O] !== "sans-serif" && de[O] !== "monospace" && Se.push(de[O]);
          return Se.join(",");
        }
        function oe(Y, de) {
          var O = u("span");
          O.setAttribute("aria-hidden", !0), (O.style.fontFamily = de);
          var R = u("span");
          (R.innerText = "giItT1WQy@!-/#"),
            (O.style.position = "absolute"),
            (O.style.left = "-10000px"),
            (O.style.top = "-10000px"),
            (O.style.fontSize = "300px"),
            (O.style.fontVariant = "normal"),
            (O.style.fontStyle = "normal"),
            (O.style.fontWeight = "normal"),
            (O.style.letterSpacing = "0"),
            O.appendChild(R),
            document.body.appendChild(O);
          var Se = R.offsetWidth;
          return (
            (R.style.fontFamily = K(Y) + ", " + de),
            { node: R, w: Se, parent: O }
          );
        }
        function pe() {
          var Y,
            de = this.fonts.length,
            O,
            R,
            Se = de;
          for (Y = 0; Y < de; Y += 1)
            this.fonts[Y].loaded
              ? (Se -= 1)
              : this.fonts[Y].fOrigin === "n" || this.fonts[Y].origin === 0
                ? (this.fonts[Y].loaded = !0)
                : ((O = this.fonts[Y].monoCase.node),
                  (R = this.fonts[Y].monoCase.w),
                  O.offsetWidth !== R
                    ? ((Se -= 1), (this.fonts[Y].loaded = !0))
                    : ((O = this.fonts[Y].sansCase.node),
                      (R = this.fonts[Y].sansCase.w),
                      O.offsetWidth !== R &&
                        ((Se -= 1), (this.fonts[Y].loaded = !0))),
                  this.fonts[Y].loaded &&
                    (this.fonts[Y].sansCase.parent.parentNode.removeChild(
                      this.fonts[Y].sansCase.parent,
                    ),
                    this.fonts[Y].monoCase.parent.parentNode.removeChild(
                      this.fonts[Y].monoCase.parent,
                    )));
          Se !== 0 && Date.now() - this.initTime < c
            ? setTimeout(this.checkLoadedFontsBinded, 20)
            : setTimeout(this.setIsLoadedBinded, 10);
        }
        function fe(Y, de) {
          var O = document.body && de ? "svg" : "canvas",
            R,
            Se = U5(Y);
          if (O === "svg") {
            var me = Te("text");
            (me.style.fontSize = "100px"),
              me.setAttribute("font-family", Y.fFamily),
              me.setAttribute("font-style", Se.style),
              me.setAttribute("font-weight", Se.weight),
              (me.textContent = "1"),
              Y.fClass
                ? ((me.style.fontFamily = "inherit"),
                  me.setAttribute("class", Y.fClass))
                : (me.style.fontFamily = Y.fFamily),
              de.appendChild(me),
              (R = me);
          } else {
            var Xe = new OffscreenCanvas(500, 500).getContext("2d");
            (Xe.font = Se.style + " " + Se.weight + " 100px " + Y.fFamily),
              (R = Xe);
          }
          function at(ct) {
            return O === "svg"
              ? ((R.textContent = ct), R.getComputedTextLength())
              : R.measureText(ct).width;
          }
          return { measureText: at };
        }
        function ye(Y, de) {
          if (!Y) {
            this.isLoaded = !0;
            return;
          }
          if (this.chars) {
            (this.isLoaded = !0), (this.fonts = Y.list);
            return;
          }
          if (!document.body) {
            (this.isLoaded = !0),
              Y.list.forEach(function (an) {
                (an.helper = fe(an)), (an.cache = {});
              }),
              (this.fonts = Y.list);
            return;
          }
          var O = Y.list,
            R,
            Se = O.length,
            me = Se;
          for (R = 0; R < Se; R += 1) {
            var Xe = !0,
              at,
              ct;
            if (
              ((O[R].loaded = !1),
              (O[R].monoCase = oe(O[R].fFamily, "monospace")),
              (O[R].sansCase = oe(O[R].fFamily, "sans-serif")),
              !O[R].fPath)
            )
              (O[R].loaded = !0), (me -= 1);
            else if (O[R].fOrigin === "p" || O[R].origin === 3) {
              if (
                ((at = document.querySelectorAll(
                  'style[f-forigin="p"][f-family="' +
                    O[R].fFamily +
                    '"], style[f-origin="3"][f-family="' +
                    O[R].fFamily +
                    '"]',
                )),
                at.length > 0 && (Xe = !1),
                Xe)
              ) {
                var Qt = u("style");
                Qt.setAttribute("f-forigin", O[R].fOrigin),
                  Qt.setAttribute("f-origin", O[R].origin),
                  Qt.setAttribute("f-family", O[R].fFamily),
                  (Qt.type = "text/css"),
                  (Qt.innerText =
                    "@font-face {font-family: " +
                    O[R].fFamily +
                    "; font-style: normal; src: url('" +
                    O[R].fPath +
                    "');}"),
                  de.appendChild(Qt);
              }
            } else if (O[R].fOrigin === "g" || O[R].origin === 1) {
              for (
                at = document.querySelectorAll(
                  'link[f-forigin="g"], link[f-origin="1"]',
                ),
                  ct = 0;
                ct < at.length;
                ct += 1
              )
                at[ct].href.indexOf(O[R].fPath) !== -1 && (Xe = !1);
              if (Xe) {
                var Ut = u("link");
                Ut.setAttribute("f-forigin", O[R].fOrigin),
                  Ut.setAttribute("f-origin", O[R].origin),
                  (Ut.type = "text/css"),
                  (Ut.rel = "stylesheet"),
                  (Ut.href = O[R].fPath),
                  document.body.appendChild(Ut);
              }
            } else if (O[R].fOrigin === "t" || O[R].origin === 2) {
              for (
                at = document.querySelectorAll(
                  'script[f-forigin="t"], script[f-origin="2"]',
                ),
                  ct = 0;
                ct < at.length;
                ct += 1
              )
                O[R].fPath === at[ct].src && (Xe = !1);
              if (Xe) {
                var Br = u("link");
                Br.setAttribute("f-forigin", O[R].fOrigin),
                  Br.setAttribute("f-origin", O[R].origin),
                  Br.setAttribute("rel", "stylesheet"),
                  Br.setAttribute("href", O[R].fPath),
                  de.appendChild(Br);
              }
            }
            (O[R].helper = fe(O[R], de)),
              (O[R].cache = {}),
              this.fonts.push(O[R]);
          }
          me === 0
            ? (this.isLoaded = !0)
            : setTimeout(this.checkLoadedFonts.bind(this), 100);
        }
        function Ae(Y) {
          if (Y) {
            this.chars || (this.chars = []);
            var de,
              O = Y.length,
              R,
              Se = this.chars.length,
              me;
            for (de = 0; de < O; de += 1) {
              for (R = 0, me = !1; R < Se; )
                this.chars[R].style === Y[de].style &&
                  this.chars[R].fFamily === Y[de].fFamily &&
                  this.chars[R].ch === Y[de].ch &&
                  (me = !0),
                  (R += 1);
              me || (this.chars.push(Y[de]), (Se += 1));
            }
          }
        }
        function J(Y, de, O) {
          for (var R = 0, Se = this.chars.length; R < Se; ) {
            if (
              this.chars[R].ch === Y &&
              this.chars[R].style === de &&
              this.chars[R].fFamily === O
            )
              return this.chars[R];
            R += 1;
          }
          return (
            ((typeof Y == "string" && Y.charCodeAt(0) !== 13) || !Y) &&
              console &&
              console.warn &&
              !this._warned &&
              ((this._warned = !0),
              console.warn(
                "Missing character from exported characters list: ",
                Y,
                de,
                O,
              )),
            h
          );
        }
        function N(Y, de, O) {
          var R = this.getFontByName(de),
            Se = Y;
          if (!R.cache[Se]) {
            var me = R.helper;
            if (Y === " ") {
              var Xe = me.measureText("|" + Y + "|"),
                at = me.measureText("||");
              R.cache[Se] = (Xe - at) / 100;
            } else R.cache[Se] = me.measureText(Y) / 100;
          }
          return R.cache[Se] * O;
        }
        function W(Y) {
          for (var de = 0, O = this.fonts.length; de < O; ) {
            if (this.fonts[de].fName === Y) return this.fonts[de];
            de += 1;
          }
          return this.fonts[0];
        }
        function ne(Y) {
          var de = 0,
            O = Y.charCodeAt(0);
          if (O >= 55296 && O <= 56319) {
            var R = Y.charCodeAt(1);
            R >= 56320 &&
              R <= 57343 &&
              (de = (O - 55296) * 1024 + R - 56320 + 65536);
          }
          return de;
        }
        function ge(Y, de) {
          var O = Y.toString(16) + de.toString(16);
          return be.indexOf(O) !== -1;
        }
        function Ee(Y) {
          return Y === H;
        }
        function Qe(Y) {
          return Y === z;
        }
        function Re(Y) {
          var de = ne(Y);
          return de >= re && de <= ae;
        }
        function ut(Y) {
          return Re(Y.substr(0, 2)) && Re(Y.substr(2, 2));
        }
        function it(Y) {
          return p.indexOf(Y) !== -1;
        }
        function Ve(Y, de) {
          var O = ne(Y.substr(de, 2));
          if (O !== E) return !1;
          var R = 0;
          for (de += 2; R < 5; ) {
            if (((O = ne(Y.substr(de, 2))), O < _ || O > k)) return !1;
            (R += 1), (de += 2);
          }
          return ne(Y.substr(de, 2)) === S;
        }
        function ft() {
          this.isLoaded = !0;
        }
        var rt = function () {
          (this.fonts = []),
            (this.chars = null),
            (this.typekitLoaded = 0),
            (this.isLoaded = !1),
            (this._warned = !1),
            (this.initTime = Date.now()),
            (this.setIsLoadedBinded = this.setIsLoaded.bind(this)),
            (this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this));
        };
        (rt.isModifier = ge),
          (rt.isZeroWidthJoiner = Ee),
          (rt.isFlagEmoji = ut),
          (rt.isRegionalCode = Re),
          (rt.isCombinedCharacter = it),
          (rt.isRegionalFlag = Ve),
          (rt.isVariationSelector = Qe),
          (rt.BLACK_FLAG_CODE_POINT = E);
        var Me = {
          addChars: Ae,
          addFonts: ye,
          getCharData: J,
          getFontByName: W,
          measureText: N,
          checkLoadedFonts: pe,
          setIsLoaded: ft,
        };
        return (rt.prototype = Me), rt;
      })();
      function T5(c) {
        this.animationData = c;
      }
      T5.prototype.getProp = function (c) {
        return this.animationData.slots && this.animationData.slots[c.sid]
          ? Object.assign(c, this.animationData.slots[c.sid].p)
          : c;
      };
      function kx(c) {
        return new T5(c);
      }
      function L0() {}
      L0.prototype = {
        initRenderable: function () {
          (this.isInRange = !1),
            (this.hidden = !1),
            (this.isTransparent = !1),
            (this.renderableComponents = []);
        },
        addRenderableComponent: function (h) {
          this.renderableComponents.indexOf(h) === -1 &&
            this.renderableComponents.push(h);
        },
        removeRenderableComponent: function (h) {
          this.renderableComponents.indexOf(h) !== -1 &&
            this.renderableComponents.splice(
              this.renderableComponents.indexOf(h),
              1,
            );
        },
        prepareRenderableFrame: function (h) {
          this.checkLayerLimits(h);
        },
        checkTransparency: function () {
          this.finalTransform.mProp.o.v <= 0
            ? !this.isTransparent &&
              this.globalData.renderConfig.hideOnTransparent &&
              ((this.isTransparent = !0), this.hide())
            : this.isTransparent && ((this.isTransparent = !1), this.show());
        },
        checkLayerLimits: function (h) {
          this.data.ip - this.data.st <= h && this.data.op - this.data.st > h
            ? this.isInRange !== !0 &&
              ((this.globalData._mdf = !0),
              (this._mdf = !0),
              (this.isInRange = !0),
              this.show())
            : this.isInRange !== !1 &&
              ((this.globalData._mdf = !0), (this.isInRange = !1), this.hide());
        },
        renderRenderable: function () {
          var h,
            p = this.renderableComponents.length;
          for (h = 0; h < p; h += 1)
            this.renderableComponents[h].renderFrame(this._isFirstFrame);
        },
        sourceRectAtTime: function () {
          return { top: 0, left: 0, width: 100, height: 100 };
        },
        getLayerSize: function () {
          return this.data.ty === 5
            ? { w: this.data.textData.width, h: this.data.textData.height }
            : { w: this.data.width, h: this.data.height };
        },
      };
      var A1 = (function () {
        var c = {
          0: "source-over",
          1: "multiply",
          2: "screen",
          3: "overlay",
          4: "darken",
          5: "lighten",
          6: "color-dodge",
          7: "color-burn",
          8: "hard-light",
          9: "soft-light",
          10: "difference",
          11: "exclusion",
          12: "hue",
          13: "saturation",
          14: "color",
          15: "luminosity",
        };
        return function (h) {
          return c[h] || "";
        };
      })();
      function Hx(c, h, p) {
        this.p = Ge.getProp(h, c.v, 0, 0, p);
      }
      function Mx(c, h, p) {
        this.p = Ge.getProp(h, c.v, 0, 0, p);
      }
      function Rx(c, h, p) {
        this.p = Ge.getProp(h, c.v, 1, 0, p);
      }
      function Nx(c, h, p) {
        this.p = Ge.getProp(h, c.v, 1, 0, p);
      }
      function $x(c, h, p) {
        this.p = Ge.getProp(h, c.v, 0, 0, p);
      }
      function Kx(c, h, p) {
        this.p = Ge.getProp(h, c.v, 0, 0, p);
      }
      function Vx(c, h, p) {
        this.p = Ge.getProp(h, c.v, 0, 0, p);
      }
      function Gx() {
        this.p = {};
      }
      function I5(c, h) {
        var p = c.ef || [];
        this.effectElements = [];
        var E,
          S = p.length,
          _;
        for (E = 0; E < S; E += 1)
          (_ = new Mo(p[E], h)), this.effectElements.push(_);
      }
      function Mo(c, h) {
        this.init(c, h);
      }
      f([vr], Mo),
        (Mo.prototype.getValue = Mo.prototype.iterateDynamicProperties),
        (Mo.prototype.init = function (c, h) {
          (this.data = c),
            (this.effectElements = []),
            this.initDynamicPropertyContainer(h);
          var p,
            E = this.data.ef.length,
            S,
            _ = this.data.ef;
          for (p = 0; p < E; p += 1) {
            switch (((S = null), _[p].ty)) {
              case 0:
                S = new Hx(_[p], h, this);
                break;
              case 1:
                S = new Mx(_[p], h, this);
                break;
              case 2:
                S = new Rx(_[p], h, this);
                break;
              case 3:
                S = new Nx(_[p], h, this);
                break;
              case 4:
              case 7:
                S = new Vx(_[p], h, this);
                break;
              case 10:
                S = new $x(_[p], h, this);
                break;
              case 11:
                S = new Kx(_[p], h, this);
                break;
              case 5:
                S = new I5(_[p], h);
                break;
              default:
                S = new Gx(_[p]);
                break;
            }
            S && this.effectElements.push(S);
          }
        });
      function gi() {}
      gi.prototype = {
        checkMasks: function () {
          if (!this.data.hasMask) return !1;
          for (var h = 0, p = this.data.masksProperties.length; h < p; ) {
            if (
              this.data.masksProperties[h].mode !== "n" &&
              this.data.masksProperties[h].cl !== !1
            )
              return !0;
            h += 1;
          }
          return !1;
        },
        initExpressions: function () {},
        setBlendMode: function () {
          var h = A1(this.data.bm),
            p = this.baseElement || this.layerElement;
          p.style["mix-blend-mode"] = h;
        },
        initBaseData: function (h, p, E) {
          (this.globalData = p),
            (this.comp = E),
            (this.data = h),
            (this.layerId = q()),
            this.data.sr || (this.data.sr = 1),
            (this.effectsManager = new I5(
              this.data,
              this,
              this.dynamicProperties,
            ));
        },
        getType: function () {
          return this.type;
        },
        sourceRectAtTime: function () {},
      };
      function vi() {}
      vi.prototype = {
        initFrame: function () {
          (this._isFirstFrame = !1),
            (this.dynamicProperties = []),
            (this._mdf = !1);
        },
        prepareProperties: function (h, p) {
          var E,
            S = this.dynamicProperties.length;
          for (E = 0; E < S; E += 1)
            (p ||
              (this._isParent &&
                this.dynamicProperties[E].propType === "transform")) &&
              (this.dynamicProperties[E].getValue(),
              this.dynamicProperties[E]._mdf &&
                ((this.globalData._mdf = !0), (this._mdf = !0)));
        },
        addDynamicProperty: function (h) {
          this.dynamicProperties.indexOf(h) === -1 &&
            this.dynamicProperties.push(h);
        },
      };
      function mi(c, h, p) {
        this.initFrame(),
          this.initRenderable(),
          (this.assetData = h.getAssetData(c.refId)),
          (this.footageData = h.imageLoader.getAsset(this.assetData)),
          this.initBaseData(c, h, p);
      }
      (mi.prototype.prepareFrame = function () {}),
        f([L0, gi, vi], mi),
        (mi.prototype.getBaseElement = function () {
          return null;
        }),
        (mi.prototype.renderFrame = function () {}),
        (mi.prototype.destroy = function () {}),
        (mi.prototype.initExpressions = function () {}),
        (mi.prototype.getFootageData = function () {
          return this.footageData;
        });
      function sn(c, h, p) {
        this.initFrame(),
          this.initRenderable(),
          (this.assetData = h.getAssetData(c.refId)),
          this.initBaseData(c, h, p),
          (this._isPlaying = !1),
          (this._canPlay = !1);
        var E = this.globalData.getAssetsPath(this.assetData);
        (this.audio = this.globalData.audioController.createAudio(E)),
          (this._currentTime = 0),
          this.globalData.audioController.addAudio(this),
          (this._volumeMultiplier = 1),
          (this._volume = 1),
          (this._previousVolume = null),
          (this.tm = c.tm
            ? Ge.getProp(this, c.tm, 0, h.frameRate, this)
            : { _placeholder: !0 }),
          (this.lv = Ge.getProp(
            this,
            c.au && c.au.lv ? c.au.lv : { k: [100] },
            1,
            0.01,
            this,
          ));
      }
      (sn.prototype.prepareFrame = function (c) {
        if (
          (this.prepareRenderableFrame(c, !0),
          this.prepareProperties(c, !0),
          this.tm._placeholder)
        )
          this._currentTime = c / this.data.sr;
        else {
          var h = this.tm.v;
          this._currentTime = h;
        }
        this._volume = this.lv.v[0];
        var p = this._volume * this._volumeMultiplier;
        this._previousVolume !== p &&
          ((this._previousVolume = p), this.audio.volume(p));
      }),
        f([L0, gi, vi], sn),
        (sn.prototype.renderFrame = function () {
          this.isInRange &&
            this._canPlay &&
            (this._isPlaying
              ? (!this.audio.playing() ||
                  Math.abs(
                    this._currentTime / this.globalData.frameRate -
                      this.audio.seek(),
                  ) > 0.1) &&
                this.audio.seek(this._currentTime / this.globalData.frameRate)
              : (this.audio.play(),
                this.audio.seek(this._currentTime / this.globalData.frameRate),
                (this._isPlaying = !0)));
        }),
        (sn.prototype.show = function () {}),
        (sn.prototype.hide = function () {
          this.audio.pause(), (this._isPlaying = !1);
        }),
        (sn.prototype.pause = function () {
          this.audio.pause(), (this._isPlaying = !1), (this._canPlay = !1);
        }),
        (sn.prototype.resume = function () {
          this._canPlay = !0;
        }),
        (sn.prototype.setRate = function (c) {
          this.audio.rate(c);
        }),
        (sn.prototype.volume = function (c) {
          (this._volumeMultiplier = c),
            (this._previousVolume = c * this._volume),
            this.audio.volume(this._previousVolume);
        }),
        (sn.prototype.getBaseElement = function () {
          return null;
        }),
        (sn.prototype.destroy = function () {}),
        (sn.prototype.sourceRectAtTime = function () {}),
        (sn.prototype.initExpressions = function () {});
      function Gr() {}
      (Gr.prototype.checkLayers = function (c) {
        var h,
          p = this.layers.length,
          E;
        for (this.completeLayers = !0, h = p - 1; h >= 0; h -= 1)
          this.elements[h] ||
            ((E = this.layers[h]),
            E.ip - E.st <= c - this.layers[h].st &&
              E.op - E.st > c - this.layers[h].st &&
              this.buildItem(h)),
            (this.completeLayers = this.elements[h] ? this.completeLayers : !1);
        this.checkPendingElements();
      }),
        (Gr.prototype.createItem = function (c) {
          switch (c.ty) {
            case 2:
              return this.createImage(c);
            case 0:
              return this.createComp(c);
            case 1:
              return this.createSolid(c);
            case 3:
              return this.createNull(c);
            case 4:
              return this.createShape(c);
            case 5:
              return this.createText(c);
            case 6:
              return this.createAudio(c);
            case 13:
              return this.createCamera(c);
            case 15:
              return this.createFootage(c);
            default:
              return this.createNull(c);
          }
        }),
        (Gr.prototype.createCamera = function () {
          throw new Error("You're using a 3d camera. Try the html renderer.");
        }),
        (Gr.prototype.createAudio = function (c) {
          return new sn(c, this.globalData, this);
        }),
        (Gr.prototype.createFootage = function (c) {
          return new mi(c, this.globalData, this);
        }),
        (Gr.prototype.buildAllItems = function () {
          var c,
            h = this.layers.length;
          for (c = 0; c < h; c += 1) this.buildItem(c);
          this.checkPendingElements();
        }),
        (Gr.prototype.includeLayers = function (c) {
          this.completeLayers = !1;
          var h,
            p = c.length,
            E,
            S = this.layers.length;
          for (h = 0; h < p; h += 1)
            for (E = 0; E < S; ) {
              if (this.layers[E].id === c[h].id) {
                this.layers[E] = c[h];
                break;
              }
              E += 1;
            }
        }),
        (Gr.prototype.setProjectInterface = function (c) {
          this.globalData.projectInterface = c;
        }),
        (Gr.prototype.initItems = function () {
          this.globalData.progressiveLoad || this.buildAllItems();
        }),
        (Gr.prototype.buildElementParenting = function (c, h, p) {
          for (
            var E = this.elements, S = this.layers, _ = 0, k = S.length;
            _ < k;

          )
            S[_].ind == h &&
              (!E[_] || E[_] === !0
                ? (this.buildItem(_), this.addPendingElement(c))
                : (p.push(E[_]),
                  E[_].setAsParent(),
                  S[_].parent !== void 0
                    ? this.buildElementParenting(c, S[_].parent, p)
                    : c.setHierarchy(p))),
              (_ += 1);
        }),
        (Gr.prototype.addPendingElement = function (c) {
          this.pendingElements.push(c);
        }),
        (Gr.prototype.searchExtraCompositions = function (c) {
          var h,
            p = c.length;
          for (h = 0; h < p; h += 1)
            if (c[h].xt) {
              var E = this.createComp(c[h]);
              E.initExpressions(),
                this.globalData.projectInterface.registerComposition(E);
            }
        }),
        (Gr.prototype.getElementById = function (c) {
          var h,
            p = this.elements.length;
          for (h = 0; h < p; h += 1)
            if (this.elements[h].data.ind === c) return this.elements[h];
          return null;
        }),
        (Gr.prototype.getElementByPath = function (c) {
          var h = c.shift(),
            p;
          if (typeof h == "number") p = this.elements[h];
          else {
            var E,
              S = this.elements.length;
            for (E = 0; E < S; E += 1)
              if (this.elements[E].data.nm === h) {
                p = this.elements[E];
                break;
              }
          }
          return c.length === 0 ? p : p.getElementByPath(c);
        }),
        (Gr.prototype.setupGlobalData = function (c, h) {
          (this.globalData.fontManager = new ys()),
            (this.globalData.slotManager = kx(c)),
            this.globalData.fontManager.addChars(c.chars),
            this.globalData.fontManager.addFonts(c.fonts, h),
            (this.globalData.getAssetData =
              this.animationItem.getAssetData.bind(this.animationItem)),
            (this.globalData.getAssetsPath =
              this.animationItem.getAssetsPath.bind(this.animationItem)),
            (this.globalData.imageLoader = this.animationItem.imagePreloader),
            (this.globalData.audioController =
              this.animationItem.audioController),
            (this.globalData.frameId = 0),
            (this.globalData.frameRate = c.fr),
            (this.globalData.nm = c.nm),
            (this.globalData.compSize = { w: c.w, h: c.h });
        });
      var Wx = { TRANSFORM_EFFECT: "transformEFfect" };
      function pa() {}
      pa.prototype = {
        initTransform: function () {
          var h = new mr();
          (this.finalTransform = {
            mProp: this.data.ks
              ? Zf.getTransformProperty(this, this.data.ks, this)
              : { o: 0 },
            _matMdf: !1,
            _localMatMdf: !1,
            _opMdf: !1,
            mat: h,
            localMat: h,
            localOpacity: 1,
          }),
            this.data.ao && (this.finalTransform.mProp.autoOriented = !0),
            this.data.ty;
        },
        renderTransform: function () {
          if (
            ((this.finalTransform._opMdf =
              this.finalTransform.mProp.o._mdf || this._isFirstFrame),
            (this.finalTransform._matMdf =
              this.finalTransform.mProp._mdf || this._isFirstFrame),
            this.hierarchy)
          ) {
            var h,
              p = this.finalTransform.mat,
              E = 0,
              S = this.hierarchy.length;
            if (!this.finalTransform._matMdf)
              for (; E < S; ) {
                if (this.hierarchy[E].finalTransform.mProp._mdf) {
                  this.finalTransform._matMdf = !0;
                  break;
                }
                E += 1;
              }
            if (this.finalTransform._matMdf)
              for (
                h = this.finalTransform.mProp.v.props,
                  p.cloneFromProps(h),
                  E = 0;
                E < S;
                E += 1
              )
                p.multiply(this.hierarchy[E].finalTransform.mProp.v);
          }
          this.finalTransform._matMdf &&
            (this.finalTransform._localMatMdf = this.finalTransform._matMdf),
            this.finalTransform._opMdf &&
              (this.finalTransform.localOpacity =
                this.finalTransform.mProp.o.v);
        },
        renderLocalTransform: function () {
          if (this.localTransforms) {
            var h = 0,
              p = this.localTransforms.length;
            if (
              ((this.finalTransform._localMatMdf = this.finalTransform._matMdf),
              !this.finalTransform._localMatMdf || !this.finalTransform._opMdf)
            )
              for (; h < p; )
                this.localTransforms[h]._mdf &&
                  (this.finalTransform._localMatMdf = !0),
                  this.localTransforms[h]._opMdf &&
                    !this.finalTransform._opMdf &&
                    ((this.finalTransform.localOpacity =
                      this.finalTransform.mProp.o.v),
                    (this.finalTransform._opMdf = !0)),
                  (h += 1);
            if (this.finalTransform._localMatMdf) {
              var E = this.finalTransform.localMat;
              for (
                this.localTransforms[0].matrix.clone(E), h = 1;
                h < p;
                h += 1
              ) {
                var S = this.localTransforms[h].matrix;
                E.multiply(S);
              }
              E.multiply(this.finalTransform.mat);
            }
            if (this.finalTransform._opMdf) {
              var _ = this.finalTransform.localOpacity;
              for (h = 0; h < p; h += 1)
                _ *= this.localTransforms[h].opacity * 0.01;
              this.finalTransform.localOpacity = _;
            }
          }
        },
        searchEffectTransforms: function () {
          if (this.renderableEffectsManager) {
            var h = this.renderableEffectsManager.getEffects(
              Wx.TRANSFORM_EFFECT,
            );
            if (h.length) {
              (this.localTransforms = []),
                (this.finalTransform.localMat = new mr());
              var p = 0,
                E = h.length;
              for (p = 0; p < E; p += 1) this.localTransforms.push(h[p]);
            }
          }
        },
        globalToLocal: function (h) {
          var p = [];
          p.push(this.finalTransform);
          for (var E = !0, S = this.comp; E; )
            S.finalTransform
              ? (S.data.hasMask && p.splice(0, 0, S.finalTransform),
                (S = S.comp))
              : (E = !1);
          var _,
            k = p.length,
            z;
          for (_ = 0; _ < k; _ += 1)
            (z = p[_].mat.applyToPointArray(0, 0, 0)),
              (h = [h[0] - z[0], h[1] - z[1], 0]);
          return h;
        },
        mHelper: new mr(),
      };
      function Cs(c, h, p) {
        (this.data = c),
          (this.element = h),
          (this.globalData = p),
          (this.storedData = []),
          (this.masksProperties = this.data.masksProperties || []),
          (this.maskElement = null);
        var E = this.globalData.defs,
          S,
          _ = this.masksProperties ? this.masksProperties.length : 0;
        (this.viewData = B(_)), (this.solidPath = "");
        var k,
          z = this.masksProperties,
          H = 0,
          re = [],
          ae,
          be,
          K = q(),
          oe,
          pe,
          fe,
          ye,
          Ae = "clipPath",
          J = "clip-path";
        for (S = 0; S < _; S += 1)
          if (
            (((z[S].mode !== "a" && z[S].mode !== "n") ||
              z[S].inv ||
              z[S].o.k !== 100 ||
              z[S].o.x) &&
              ((Ae = "mask"), (J = "mask")),
            (z[S].mode === "s" || z[S].mode === "i") && H === 0
              ? ((oe = Te("rect")),
                oe.setAttribute("fill", "#ffffff"),
                oe.setAttribute("width", this.element.comp.data.w || 0),
                oe.setAttribute("height", this.element.comp.data.h || 0),
                re.push(oe))
              : (oe = null),
            (k = Te("path")),
            z[S].mode === "n")
          )
            (this.viewData[S] = {
              op: Ge.getProp(this.element, z[S].o, 0, 0.01, this.element),
              prop: yn.getShapeProp(this.element, z[S], 3),
              elem: k,
              lastPath: "",
            }),
              E.appendChild(k);
          else {
            (H += 1),
              k.setAttribute("fill", z[S].mode === "s" ? "#000000" : "#ffffff"),
              k.setAttribute("clip-rule", "nonzero");
            var N;
            if (
              (z[S].x.k !== 0
                ? ((Ae = "mask"),
                  (J = "mask"),
                  (ye = Ge.getProp(
                    this.element,
                    z[S].x,
                    0,
                    null,
                    this.element,
                  )),
                  (N = q()),
                  (pe = Te("filter")),
                  pe.setAttribute("id", N),
                  (fe = Te("feMorphology")),
                  fe.setAttribute("operator", "erode"),
                  fe.setAttribute("in", "SourceGraphic"),
                  fe.setAttribute("radius", "0"),
                  pe.appendChild(fe),
                  E.appendChild(pe),
                  k.setAttribute(
                    "stroke",
                    z[S].mode === "s" ? "#000000" : "#ffffff",
                  ))
                : ((fe = null), (ye = null)),
              (this.storedData[S] = {
                elem: k,
                x: ye,
                expan: fe,
                lastPath: "",
                lastOperator: "",
                filterId: N,
                lastRadius: 0,
              }),
              z[S].mode === "i")
            ) {
              be = re.length;
              var W = Te("g");
              for (ae = 0; ae < be; ae += 1) W.appendChild(re[ae]);
              var ne = Te("mask");
              ne.setAttribute("mask-type", "alpha"),
                ne.setAttribute("id", K + "_" + H),
                ne.appendChild(k),
                E.appendChild(ne),
                W.setAttribute("mask", "url(" + l() + "#" + K + "_" + H + ")"),
                (re.length = 0),
                re.push(W);
            } else re.push(k);
            z[S].inv &&
              !this.solidPath &&
              (this.solidPath = this.createLayerSolidPath()),
              (this.viewData[S] = {
                elem: k,
                lastPath: "",
                op: Ge.getProp(this.element, z[S].o, 0, 0.01, this.element),
                prop: yn.getShapeProp(this.element, z[S], 3),
                invRect: oe,
              }),
              this.viewData[S].prop.k ||
                this.drawPath(z[S], this.viewData[S].prop.v, this.viewData[S]);
          }
        for (this.maskElement = Te(Ae), _ = re.length, S = 0; S < _; S += 1)
          this.maskElement.appendChild(re[S]);
        H > 0 &&
          (this.maskElement.setAttribute("id", K),
          this.element.maskedElement.setAttribute(
            J,
            "url(" + l() + "#" + K + ")",
          ),
          E.appendChild(this.maskElement)),
          this.viewData.length && this.element.addRenderableComponent(this);
      }
      (Cs.prototype.getMaskProperty = function (c) {
        return this.viewData[c].prop;
      }),
        (Cs.prototype.renderFrame = function (c) {
          var h = this.element.finalTransform.mat,
            p,
            E = this.masksProperties.length;
          for (p = 0; p < E; p += 1)
            if (
              ((this.viewData[p].prop._mdf || c) &&
                this.drawPath(
                  this.masksProperties[p],
                  this.viewData[p].prop.v,
                  this.viewData[p],
                ),
              (this.viewData[p].op._mdf || c) &&
                this.viewData[p].elem.setAttribute(
                  "fill-opacity",
                  this.viewData[p].op.v,
                ),
              this.masksProperties[p].mode !== "n" &&
                (this.viewData[p].invRect &&
                  (this.element.finalTransform.mProp._mdf || c) &&
                  this.viewData[p].invRect.setAttribute(
                    "transform",
                    h.getInverseMatrix().to2dCSS(),
                  ),
                this.storedData[p].x && (this.storedData[p].x._mdf || c)))
            ) {
              var S = this.storedData[p].expan;
              this.storedData[p].x.v < 0
                ? (this.storedData[p].lastOperator !== "erode" &&
                    ((this.storedData[p].lastOperator = "erode"),
                    this.storedData[p].elem.setAttribute(
                      "filter",
                      "url(" + l() + "#" + this.storedData[p].filterId + ")",
                    )),
                  S.setAttribute("radius", -this.storedData[p].x.v))
                : (this.storedData[p].lastOperator !== "dilate" &&
                    ((this.storedData[p].lastOperator = "dilate"),
                    this.storedData[p].elem.setAttribute("filter", null)),
                  this.storedData[p].elem.setAttribute(
                    "stroke-width",
                    this.storedData[p].x.v * 2,
                  ));
            }
        }),
        (Cs.prototype.getMaskelement = function () {
          return this.maskElement;
        }),
        (Cs.prototype.createLayerSolidPath = function () {
          var c = "M0,0 ";
          return (
            (c += " h" + this.globalData.compSize.w),
            (c += " v" + this.globalData.compSize.h),
            (c += " h-" + this.globalData.compSize.w),
            (c += " v-" + this.globalData.compSize.h + " "),
            c
          );
        }),
        (Cs.prototype.drawPath = function (c, h, p) {
          var E = " M" + h.v[0][0] + "," + h.v[0][1],
            S,
            _;
          for (_ = h._length, S = 1; S < _; S += 1)
            E +=
              " C" +
              h.o[S - 1][0] +
              "," +
              h.o[S - 1][1] +
              " " +
              h.i[S][0] +
              "," +
              h.i[S][1] +
              " " +
              h.v[S][0] +
              "," +
              h.v[S][1];
          if (
            (h.c &&
              _ > 1 &&
              (E +=
                " C" +
                h.o[S - 1][0] +
                "," +
                h.o[S - 1][1] +
                " " +
                h.i[0][0] +
                "," +
                h.i[0][1] +
                " " +
                h.v[0][0] +
                "," +
                h.v[0][1]),
            p.lastPath !== E)
          ) {
            var k = "";
            p.elem &&
              (h.c && (k = c.inv ? this.solidPath + E : E),
              p.elem.setAttribute("d", k)),
              (p.lastPath = E);
          }
        }),
        (Cs.prototype.destroy = function () {
          (this.element = null),
            (this.globalData = null),
            (this.maskElement = null),
            (this.data = null),
            (this.masksProperties = null);
        });
      var Ro = (function () {
          var c = {};
          (c.createFilter = h), (c.createAlphaToLuminanceFilter = p);
          function h(E, S) {
            var _ = Te("filter");
            return (
              _.setAttribute("id", E),
              S !== !0 &&
                (_.setAttribute("filterUnits", "objectBoundingBox"),
                _.setAttribute("x", "0%"),
                _.setAttribute("y", "0%"),
                _.setAttribute("width", "100%"),
                _.setAttribute("height", "100%")),
              _
            );
          }
          function p() {
            var E = Te("feColorMatrix");
            return (
              E.setAttribute("type", "matrix"),
              E.setAttribute("color-interpolation-filters", "sRGB"),
              E.setAttribute(
                "values",
                "0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1",
              ),
              E
            );
          }
          return c;
        })(),
        D5 = (function () {
          var c = {
            maskType: !0,
            svgLumaHidden: !0,
            offscreenCanvas: typeof OffscreenCanvas < "u",
          };
          return (
            (/MSIE 10/i.test(navigator.userAgent) ||
              /MSIE 9/i.test(navigator.userAgent) ||
              /rv:11.0/i.test(navigator.userAgent) ||
              /Edge\/\d./i.test(navigator.userAgent)) &&
              (c.maskType = !1),
            /firefox/i.test(navigator.userAgent) && (c.svgLumaHidden = !1),
            c
          );
        })(),
        i1 = {},
        P5 = "filter_result_";
      function s1(c) {
        var h,
          p = "SourceGraphic",
          E = c.data.ef ? c.data.ef.length : 0,
          S = q(),
          _ = Ro.createFilter(S, !0),
          k = 0;
        this.filters = [];
        var z;
        for (h = 0; h < E; h += 1) {
          z = null;
          var H = c.data.ef[h].ty;
          if (i1[H]) {
            var re = i1[H].effect;
            (z = new re(_, c.effectsManager.effectElements[h], c, P5 + k, p)),
              (p = P5 + k),
              i1[H].countsAsEffect && (k += 1);
          }
          z && this.filters.push(z);
        }
        k &&
          (c.globalData.defs.appendChild(_),
          c.layerElement.setAttribute("filter", "url(" + l() + "#" + S + ")")),
          this.filters.length && c.addRenderableComponent(this);
      }
      (s1.prototype.renderFrame = function (c) {
        var h,
          p = this.filters.length;
        for (h = 0; h < p; h += 1) this.filters[h].renderFrame(c);
      }),
        (s1.prototype.getEffects = function (c) {
          var h,
            p = this.filters.length,
            E = [];
          for (h = 0; h < p; h += 1)
            this.filters[h].type === c && E.push(this.filters[h]);
          return E;
        });
      function No() {}
      No.prototype = {
        initRendererElement: function () {
          this.layerElement = Te("g");
        },
        createContainerElements: function () {
          (this.matteElement = Te("g")),
            (this.transformedElement = this.layerElement),
            (this.maskedElement = this.layerElement),
            (this._sizeChanged = !1);
          var h = null;
          if (this.data.td) {
            this.matteMasks = {};
            var p = Te("g");
            p.setAttribute("id", this.layerId),
              p.appendChild(this.layerElement),
              (h = p),
              this.globalData.defs.appendChild(p);
          } else
            this.data.tt
              ? (this.matteElement.appendChild(this.layerElement),
                (h = this.matteElement),
                (this.baseElement = this.matteElement))
              : (this.baseElement = this.layerElement);
          if (
            (this.data.ln && this.layerElement.setAttribute("id", this.data.ln),
            this.data.cl &&
              this.layerElement.setAttribute("class", this.data.cl),
            this.data.ty === 0 && !this.data.hd)
          ) {
            var E = Te("clipPath"),
              S = Te("path");
            S.setAttribute(
              "d",
              "M0,0 L" +
                this.data.w +
                ",0 L" +
                this.data.w +
                "," +
                this.data.h +
                " L0," +
                this.data.h +
                "z",
            );
            var _ = q();
            if (
              (E.setAttribute("id", _),
              E.appendChild(S),
              this.globalData.defs.appendChild(E),
              this.checkMasks())
            ) {
              var k = Te("g");
              k.setAttribute("clip-path", "url(" + l() + "#" + _ + ")"),
                k.appendChild(this.layerElement),
                (this.transformedElement = k),
                h
                  ? h.appendChild(this.transformedElement)
                  : (this.baseElement = this.transformedElement);
            } else
              this.layerElement.setAttribute(
                "clip-path",
                "url(" + l() + "#" + _ + ")",
              );
          }
          this.data.bm !== 0 && this.setBlendMode();
        },
        renderElement: function () {
          this.finalTransform._localMatMdf &&
            this.transformedElement.setAttribute(
              "transform",
              this.finalTransform.localMat.to2dCSS(),
            ),
            this.finalTransform._opMdf &&
              this.transformedElement.setAttribute(
                "opacity",
                this.finalTransform.localOpacity,
              );
        },
        destroyBaseElement: function () {
          (this.layerElement = null),
            (this.matteElement = null),
            this.maskManager.destroy();
        },
        getBaseElement: function () {
          return this.data.hd ? null : this.baseElement;
        },
        createRenderableComponents: function () {
          (this.maskManager = new Cs(this.data, this, this.globalData)),
            (this.renderableEffectsManager = new s1(this)),
            this.searchEffectTransforms();
        },
        getMatte: function (h) {
          if (
            (this.matteMasks || (this.matteMasks = {}), !this.matteMasks[h])
          ) {
            var p = this.layerId + "_" + h,
              E,
              S,
              _,
              k;
            if (h === 1 || h === 3) {
              var z = Te("mask");
              z.setAttribute("id", p),
                z.setAttribute("mask-type", h === 3 ? "luminance" : "alpha"),
                (_ = Te("use")),
                _.setAttributeNS(
                  "http://www.w3.org/1999/xlink",
                  "href",
                  "#" + this.layerId,
                ),
                z.appendChild(_),
                this.globalData.defs.appendChild(z),
                !D5.maskType &&
                  h === 1 &&
                  (z.setAttribute("mask-type", "luminance"),
                  (E = q()),
                  (S = Ro.createFilter(E)),
                  this.globalData.defs.appendChild(S),
                  S.appendChild(Ro.createAlphaToLuminanceFilter()),
                  (k = Te("g")),
                  k.appendChild(_),
                  z.appendChild(k),
                  k.setAttribute("filter", "url(" + l() + "#" + E + ")"));
            } else if (h === 2) {
              var H = Te("mask");
              H.setAttribute("id", p), H.setAttribute("mask-type", "alpha");
              var re = Te("g");
              H.appendChild(re), (E = q()), (S = Ro.createFilter(E));
              var ae = Te("feComponentTransfer");
              ae.setAttribute("in", "SourceGraphic"), S.appendChild(ae);
              var be = Te("feFuncA");
              be.setAttribute("type", "table"),
                be.setAttribute("tableValues", "1.0 0.0"),
                ae.appendChild(be),
                this.globalData.defs.appendChild(S);
              var K = Te("rect");
              K.setAttribute("width", this.comp.data.w),
                K.setAttribute("height", this.comp.data.h),
                K.setAttribute("x", "0"),
                K.setAttribute("y", "0"),
                K.setAttribute("fill", "#ffffff"),
                K.setAttribute("opacity", "0"),
                re.setAttribute("filter", "url(" + l() + "#" + E + ")"),
                re.appendChild(K),
                (_ = Te("use")),
                _.setAttributeNS(
                  "http://www.w3.org/1999/xlink",
                  "href",
                  "#" + this.layerId,
                ),
                re.appendChild(_),
                D5.maskType ||
                  (H.setAttribute("mask-type", "luminance"),
                  S.appendChild(Ro.createAlphaToLuminanceFilter()),
                  (k = Te("g")),
                  re.appendChild(K),
                  k.appendChild(this.layerElement),
                  re.appendChild(k)),
                this.globalData.defs.appendChild(H);
            }
            this.matteMasks[h] = p;
          }
          return this.matteMasks[h];
        },
        setMatte: function (h) {
          this.matteElement &&
            this.matteElement.setAttribute(
              "mask",
              "url(" + l() + "#" + h + ")",
            );
        },
      };
      function ga() {}
      ga.prototype = {
        initHierarchy: function () {
          (this.hierarchy = []), (this._isParent = !1), this.checkParenting();
        },
        setHierarchy: function (h) {
          this.hierarchy = h;
        },
        setAsParent: function () {
          this._isParent = !0;
        },
        checkParenting: function () {
          this.data.parent !== void 0 &&
            this.comp.buildElementParenting(this, this.data.parent, []);
        },
      };
      function $o() {}
      (function () {
        var c = {
          initElement: function (p, E, S) {
            this.initFrame(),
              this.initBaseData(p, E, S),
              this.initTransform(p, E, S),
              this.initHierarchy(),
              this.initRenderable(),
              this.initRendererElement(),
              this.createContainerElements(),
              this.createRenderableComponents(),
              this.createContent(),
              this.hide();
          },
          hide: function () {
            if (!this.hidden && (!this.isInRange || this.isTransparent)) {
              var p = this.baseElement || this.layerElement;
              (p.style.display = "none"), (this.hidden = !0);
            }
          },
          show: function () {
            if (this.isInRange && !this.isTransparent) {
              if (!this.data.hd) {
                var p = this.baseElement || this.layerElement;
                p.style.display = "block";
              }
              (this.hidden = !1), (this._isFirstFrame = !0);
            }
          },
          renderFrame: function () {
            this.data.hd ||
              this.hidden ||
              (this.renderTransform(),
              this.renderRenderable(),
              this.renderLocalTransform(),
              this.renderElement(),
              this.renderInnerContent(),
              this._isFirstFrame && (this._isFirstFrame = !1));
          },
          renderInnerContent: function () {},
          prepareFrame: function (p) {
            (this._mdf = !1),
              this.prepareRenderableFrame(p),
              this.prepareProperties(p, this.isInRange),
              this.checkTransparency();
          },
          destroy: function () {
            (this.innerElem = null), this.destroyBaseElement();
          },
        };
        f([L0, d(c)], $o);
      })();
      function Ko(c, h, p) {
        (this.assetData = h.getAssetData(c.refId)),
          this.assetData &&
            this.assetData.sid &&
            (this.assetData = h.slotManager.getProp(this.assetData)),
          this.initElement(c, h, p),
          (this.sourceRect = {
            top: 0,
            left: 0,
            width: this.assetData.w,
            height: this.assetData.h,
          });
      }
      f([gi, pa, No, ga, vi, $o], Ko),
        (Ko.prototype.createContent = function () {
          var c = this.globalData.getAssetsPath(this.assetData);
          (this.innerElem = Te("image")),
            this.innerElem.setAttribute("width", this.assetData.w + "px"),
            this.innerElem.setAttribute("height", this.assetData.h + "px"),
            this.innerElem.setAttribute(
              "preserveAspectRatio",
              this.assetData.pr ||
                this.globalData.renderConfig.imagePreserveAspectRatio,
            ),
            this.innerElem.setAttributeNS(
              "http://www.w3.org/1999/xlink",
              "href",
              c,
            ),
            this.layerElement.appendChild(this.innerElem);
        }),
        (Ko.prototype.sourceRectAtTime = function () {
          return this.sourceRect;
        });
      function zx(c, h) {
        (this.elem = c), (this.pos = h);
      }
      function O5() {}
      O5.prototype = {
        addShapeToModifiers: function (h) {
          var p,
            E = this.shapeModifiers.length;
          for (p = 0; p < E; p += 1) this.shapeModifiers[p].addShape(h);
        },
        isShapeInAnimatedModifiers: function (h) {
          for (var p = 0, E = this.shapeModifiers.length; p < E; )
            if (this.shapeModifiers[p].isAnimatedWithShape(h)) return !0;
          return !1;
        },
        renderModifiers: function () {
          if (this.shapeModifiers.length) {
            var h,
              p = this.shapes.length;
            for (h = 0; h < p; h += 1) this.shapes[h].sh.reset();
            p = this.shapeModifiers.length;
            var E;
            for (
              h = p - 1;
              h >= 0 &&
              ((E = this.shapeModifiers[h].processShapes(this._isFirstFrame)),
              !E);
              h -= 1
            );
          }
        },
        searchProcessedElement: function (h) {
          for (var p = this.processedElements, E = 0, S = p.length; E < S; ) {
            if (p[E].elem === h) return p[E].pos;
            E += 1;
          }
          return 0;
        },
        addProcessedElement: function (h, p) {
          for (var E = this.processedElements, S = E.length; S; )
            if (((S -= 1), E[S].elem === h)) {
              E[S].pos = p;
              return;
            }
          E.push(new zx(h, p));
        },
        prepareFrame: function (h) {
          this.prepareRenderableFrame(h),
            this.prepareProperties(h, this.isInRange);
        },
      };
      var L5 = { 1: "butt", 2: "round", 3: "square" },
        k5 = { 1: "miter", 2: "round", 3: "bevel" };
      function H5(c, h, p) {
        (this.caches = []),
          (this.styles = []),
          (this.transformers = c),
          (this.lStr = ""),
          (this.sh = p),
          (this.lvl = h),
          (this._isAnimated = !!p.k);
        for (var E = 0, S = c.length; E < S; ) {
          if (c[E].mProps.dynamicProperties.length) {
            this._isAnimated = !0;
            break;
          }
          E += 1;
        }
      }
      H5.prototype.setAsAnimated = function () {
        this._isAnimated = !0;
      };
      function M5(c, h) {
        (this.data = c),
          (this.type = c.ty),
          (this.d = ""),
          (this.lvl = h),
          (this._mdf = !1),
          (this.closed = c.hd === !0),
          (this.pElem = Te("path")),
          (this.msElem = null);
      }
      M5.prototype.reset = function () {
        (this.d = ""), (this._mdf = !1);
      };
      function k0(c, h, p, E) {
        (this.elem = c),
          (this.frameId = -1),
          (this.dataProps = B(h.length)),
          (this.renderer = p),
          (this.k = !1),
          (this.dashStr = ""),
          (this.dashArray = v("float32", h.length ? h.length - 1 : 0)),
          (this.dashoffset = v("float32", 1)),
          this.initDynamicPropertyContainer(E);
        var S,
          _ = h.length || 0,
          k;
        for (S = 0; S < _; S += 1)
          (k = Ge.getProp(c, h[S].v, 0, 0, this)),
            (this.k = k.k || this.k),
            (this.dataProps[S] = { n: h[S].n, p: k });
        this.k || this.getValue(!0), (this._isAnimated = this.k);
      }
      (k0.prototype.getValue = function (c) {
        if (
          !(this.elem.globalData.frameId === this.frameId && !c) &&
          ((this.frameId = this.elem.globalData.frameId),
          this.iterateDynamicProperties(),
          (this._mdf = this._mdf || c),
          this._mdf)
        ) {
          var h = 0,
            p = this.dataProps.length;
          for (
            this.renderer === "svg" && (this.dashStr = ""), h = 0;
            h < p;
            h += 1
          )
            this.dataProps[h].n !== "o"
              ? this.renderer === "svg"
                ? (this.dashStr += " " + this.dataProps[h].p.v)
                : (this.dashArray[h] = this.dataProps[h].p.v)
              : (this.dashoffset[0] = this.dataProps[h].p.v);
        }
      }),
        f([vr], k0);
      function R5(c, h, p) {
        this.initDynamicPropertyContainer(c),
          (this.getValue = this.iterateDynamicProperties),
          (this.o = Ge.getProp(c, h.o, 0, 0.01, this)),
          (this.w = Ge.getProp(c, h.w, 0, null, this)),
          (this.d = new k0(c, h.d || {}, "svg", this)),
          (this.c = Ge.getProp(c, h.c, 1, 255, this)),
          (this.style = p),
          (this._isAnimated = !!this._isAnimated);
      }
      f([vr], R5);
      function N5(c, h, p) {
        this.initDynamicPropertyContainer(c),
          (this.getValue = this.iterateDynamicProperties),
          (this.o = Ge.getProp(c, h.o, 0, 0.01, this)),
          (this.c = Ge.getProp(c, h.c, 1, 255, this)),
          (this.style = p);
      }
      f([vr], N5);
      function $5(c, h, p) {
        this.initDynamicPropertyContainer(c),
          (this.getValue = this.iterateDynamicProperties),
          (this.style = p);
      }
      f([vr], $5);
      function Vo(c, h, p) {
        (this.data = h), (this.c = v("uint8c", h.p * 4));
        var E = h.k.k[0].s
          ? h.k.k[0].s.length - h.p * 4
          : h.k.k.length - h.p * 4;
        (this.o = v("float32", E)),
          (this._cmdf = !1),
          (this._omdf = !1),
          (this._collapsable = this.checkCollapsable()),
          (this._hasOpacity = E),
          this.initDynamicPropertyContainer(p),
          (this.prop = Ge.getProp(c, h.k, 1, null, this)),
          (this.k = this.prop.k),
          this.getValue(!0);
      }
      (Vo.prototype.comparePoints = function (c, h) {
        for (var p = 0, E = this.o.length / 2, S; p < E; ) {
          if (((S = Math.abs(c[p * 4] - c[h * 4 + p * 2])), S > 0.01))
            return !1;
          p += 1;
        }
        return !0;
      }),
        (Vo.prototype.checkCollapsable = function () {
          if (this.o.length / 2 !== this.c.length / 4) return !1;
          if (this.data.k.k[0].s)
            for (var c = 0, h = this.data.k.k.length; c < h; ) {
              if (!this.comparePoints(this.data.k.k[c].s, this.data.p))
                return !1;
              c += 1;
            }
          else if (!this.comparePoints(this.data.k.k, this.data.p)) return !1;
          return !0;
        }),
        (Vo.prototype.getValue = function (c) {
          if (
            (this.prop.getValue(),
            (this._mdf = !1),
            (this._cmdf = !1),
            (this._omdf = !1),
            this.prop._mdf || c)
          ) {
            var h,
              p = this.data.p * 4,
              E,
              S;
            for (h = 0; h < p; h += 1)
              (E = h % 4 === 0 ? 100 : 255),
                (S = Math.round(this.prop.v[h] * E)),
                this.c[h] !== S && ((this.c[h] = S), (this._cmdf = !c));
            if (this.o.length)
              for (p = this.prop.v.length, h = this.data.p * 4; h < p; h += 1)
                (E = h % 2 === 0 ? 100 : 1),
                  (S =
                    h % 2 === 0
                      ? Math.round(this.prop.v[h] * 100)
                      : this.prop.v[h]),
                  this.o[h - this.data.p * 4] !== S &&
                    ((this.o[h - this.data.p * 4] = S), (this._omdf = !c));
            this._mdf = !c;
          }
        }),
        f([vr], Vo);
      function va(c, h, p) {
        this.initDynamicPropertyContainer(c),
          (this.getValue = this.iterateDynamicProperties),
          this.initGradientData(c, h, p);
      }
      (va.prototype.initGradientData = function (c, h, p) {
        (this.o = Ge.getProp(c, h.o, 0, 0.01, this)),
          (this.s = Ge.getProp(c, h.s, 1, null, this)),
          (this.e = Ge.getProp(c, h.e, 1, null, this)),
          (this.h = Ge.getProp(c, h.h || { k: 0 }, 0, 0.01, this)),
          (this.a = Ge.getProp(c, h.a || { k: 0 }, 0, D, this)),
          (this.g = new Vo(c, h.g, this)),
          (this.style = p),
          (this.stops = []),
          this.setGradientData(p.pElem, h),
          this.setGradientOpacity(h, p),
          (this._isAnimated = !!this._isAnimated);
      }),
        (va.prototype.setGradientData = function (c, h) {
          var p = q(),
            E = Te(h.t === 1 ? "linearGradient" : "radialGradient");
          E.setAttribute("id", p),
            E.setAttribute("spreadMethod", "pad"),
            E.setAttribute("gradientUnits", "userSpaceOnUse");
          var S = [],
            _,
            k,
            z;
          for (z = h.g.p * 4, k = 0; k < z; k += 4)
            (_ = Te("stop")), E.appendChild(_), S.push(_);
          c.setAttribute(
            h.ty === "gf" ? "fill" : "stroke",
            "url(" + l() + "#" + p + ")",
          ),
            (this.gf = E),
            (this.cst = S);
        }),
        (va.prototype.setGradientOpacity = function (c, h) {
          if (this.g._hasOpacity && !this.g._collapsable) {
            var p,
              E,
              S,
              _ = Te("mask"),
              k = Te("path");
            _.appendChild(k);
            var z = q(),
              H = q();
            _.setAttribute("id", H);
            var re = Te(c.t === 1 ? "linearGradient" : "radialGradient");
            re.setAttribute("id", z),
              re.setAttribute("spreadMethod", "pad"),
              re.setAttribute("gradientUnits", "userSpaceOnUse"),
              (S = c.g.k.k[0].s ? c.g.k.k[0].s.length : c.g.k.k.length);
            var ae = this.stops;
            for (E = c.g.p * 4; E < S; E += 2)
              (p = Te("stop")),
                p.setAttribute("stop-color", "rgb(255,255,255)"),
                re.appendChild(p),
                ae.push(p);
            k.setAttribute(
              c.ty === "gf" ? "fill" : "stroke",
              "url(" + l() + "#" + z + ")",
            ),
              c.ty === "gs" &&
                (k.setAttribute("stroke-linecap", L5[c.lc || 2]),
                k.setAttribute("stroke-linejoin", k5[c.lj || 2]),
                c.lj === 1 && k.setAttribute("stroke-miterlimit", c.ml)),
              (this.of = re),
              (this.ms = _),
              (this.ost = ae),
              (this.maskId = H),
              (h.msElem = k);
          }
        }),
        f([vr], va);
      function K5(c, h, p) {
        this.initDynamicPropertyContainer(c),
          (this.getValue = this.iterateDynamicProperties),
          (this.w = Ge.getProp(c, h.w, 0, null, this)),
          (this.d = new k0(c, h.d || {}, "svg", this)),
          this.initGradientData(c, h, p),
          (this._isAnimated = !!this._isAnimated);
      }
      f([va, vr], K5);
      function jx() {
        (this.it = []), (this.prevViewData = []), (this.gr = Te("g"));
      }
      function Yx(c, h, p) {
        (this.transform = { mProps: c, op: h, container: p }),
          (this.elements = []),
          (this._isAnimated =
            this.transform.mProps.dynamicProperties.length ||
            this.transform.op.effectsSequence.length);
      }
      var V5 = function (h, p, E, S) {
          if (p === 0) return "";
          var _ = h.o,
            k = h.i,
            z = h.v,
            H,
            re = " M" + S.applyToPointStringified(z[0][0], z[0][1]);
          for (H = 1; H < p; H += 1)
            re +=
              " C" +
              S.applyToPointStringified(_[H - 1][0], _[H - 1][1]) +
              " " +
              S.applyToPointStringified(k[H][0], k[H][1]) +
              " " +
              S.applyToPointStringified(z[H][0], z[H][1]);
          return (
            E &&
              p &&
              ((re +=
                " C" +
                S.applyToPointStringified(_[H - 1][0], _[H - 1][1]) +
                " " +
                S.applyToPointStringified(k[0][0], k[0][1]) +
                " " +
                S.applyToPointStringified(z[0][0], z[0][1])),
              (re += "z")),
            re
          );
        },
        Xx = (function () {
          var c = new mr(),
            h = new mr(),
            p = { createRenderFunction: E };
          function E(be) {
            switch (be.ty) {
              case "fl":
                return z;
              case "gf":
                return re;
              case "gs":
                return H;
              case "st":
                return ae;
              case "sh":
              case "el":
              case "rc":
              case "sr":
                return k;
              case "tr":
                return S;
              case "no":
                return _;
              default:
                return null;
            }
          }
          function S(be, K, oe) {
            (oe || K.transform.op._mdf) &&
              K.transform.container.setAttribute("opacity", K.transform.op.v),
              (oe || K.transform.mProps._mdf) &&
                K.transform.container.setAttribute(
                  "transform",
                  K.transform.mProps.v.to2dCSS(),
                );
          }
          function _() {}
          function k(be, K, oe) {
            var pe,
              fe,
              ye,
              Ae,
              J,
              N,
              W = K.styles.length,
              ne = K.lvl,
              ge,
              Ee,
              Qe,
              Re;
            for (N = 0; N < W; N += 1) {
              if (((Ae = K.sh._mdf || oe), K.styles[N].lvl < ne)) {
                for (
                  Ee = h.reset(),
                    Qe = ne - K.styles[N].lvl,
                    Re = K.transformers.length - 1;
                  !Ae && Qe > 0;

                )
                  (Ae = K.transformers[Re].mProps._mdf || Ae),
                    (Qe -= 1),
                    (Re -= 1);
                if (Ae)
                  for (
                    Qe = ne - K.styles[N].lvl, Re = K.transformers.length - 1;
                    Qe > 0;

                  )
                    Ee.multiply(K.transformers[Re].mProps.v),
                      (Qe -= 1),
                      (Re -= 1);
              } else Ee = c;
              if (((ge = K.sh.paths), (fe = ge._length), Ae)) {
                for (ye = "", pe = 0; pe < fe; pe += 1)
                  (J = ge.shapes[pe]),
                    J && J._length && (ye += V5(J, J._length, J.c, Ee));
                K.caches[N] = ye;
              } else ye = K.caches[N];
              (K.styles[N].d += be.hd === !0 ? "" : ye),
                (K.styles[N]._mdf = Ae || K.styles[N]._mdf);
            }
          }
          function z(be, K, oe) {
            var pe = K.style;
            (K.c._mdf || oe) &&
              pe.pElem.setAttribute(
                "fill",
                "rgb(" +
                  F(K.c.v[0]) +
                  "," +
                  F(K.c.v[1]) +
                  "," +
                  F(K.c.v[2]) +
                  ")",
              ),
              (K.o._mdf || oe) && pe.pElem.setAttribute("fill-opacity", K.o.v);
          }
          function H(be, K, oe) {
            re(be, K, oe), ae(be, K, oe);
          }
          function re(be, K, oe) {
            var pe = K.gf,
              fe = K.g._hasOpacity,
              ye = K.s.v,
              Ae = K.e.v;
            if (K.o._mdf || oe) {
              var J = be.ty === "gf" ? "fill-opacity" : "stroke-opacity";
              K.style.pElem.setAttribute(J, K.o.v);
            }
            if (K.s._mdf || oe) {
              var N = be.t === 1 ? "x1" : "cx",
                W = N === "x1" ? "y1" : "cy";
              pe.setAttribute(N, ye[0]),
                pe.setAttribute(W, ye[1]),
                fe &&
                  !K.g._collapsable &&
                  (K.of.setAttribute(N, ye[0]), K.of.setAttribute(W, ye[1]));
            }
            var ne, ge, Ee, Qe;
            if (K.g._cmdf || oe) {
              ne = K.cst;
              var Re = K.g.c;
              for (Ee = ne.length, ge = 0; ge < Ee; ge += 1)
                (Qe = ne[ge]),
                  Qe.setAttribute("offset", Re[ge * 4] + "%"),
                  Qe.setAttribute(
                    "stop-color",
                    "rgb(" +
                      Re[ge * 4 + 1] +
                      "," +
                      Re[ge * 4 + 2] +
                      "," +
                      Re[ge * 4 + 3] +
                      ")",
                  );
            }
            if (fe && (K.g._omdf || oe)) {
              var ut = K.g.o;
              for (
                K.g._collapsable ? (ne = K.cst) : (ne = K.ost),
                  Ee = ne.length,
                  ge = 0;
                ge < Ee;
                ge += 1
              )
                (Qe = ne[ge]),
                  K.g._collapsable ||
                    Qe.setAttribute("offset", ut[ge * 2] + "%"),
                  Qe.setAttribute("stop-opacity", ut[ge * 2 + 1]);
            }
            if (be.t === 1)
              (K.e._mdf || oe) &&
                (pe.setAttribute("x2", Ae[0]),
                pe.setAttribute("y2", Ae[1]),
                fe &&
                  !K.g._collapsable &&
                  (K.of.setAttribute("x2", Ae[0]),
                  K.of.setAttribute("y2", Ae[1])));
            else {
              var it;
              if (
                ((K.s._mdf || K.e._mdf || oe) &&
                  ((it = Math.sqrt(
                    Math.pow(ye[0] - Ae[0], 2) + Math.pow(ye[1] - Ae[1], 2),
                  )),
                  pe.setAttribute("r", it),
                  fe && !K.g._collapsable && K.of.setAttribute("r", it)),
                K.e._mdf || K.h._mdf || K.a._mdf || oe)
              ) {
                it ||
                  (it = Math.sqrt(
                    Math.pow(ye[0] - Ae[0], 2) + Math.pow(ye[1] - Ae[1], 2),
                  ));
                var Ve = Math.atan2(Ae[1] - ye[1], Ae[0] - ye[0]),
                  ft = K.h.v;
                ft >= 1 ? (ft = 0.99) : ft <= -1 && (ft = -0.99);
                var rt = it * ft,
                  Me = Math.cos(Ve + K.a.v) * rt + ye[0],
                  Y = Math.sin(Ve + K.a.v) * rt + ye[1];
                pe.setAttribute("fx", Me),
                  pe.setAttribute("fy", Y),
                  fe &&
                    !K.g._collapsable &&
                    (K.of.setAttribute("fx", Me), K.of.setAttribute("fy", Y));
              }
            }
          }
          function ae(be, K, oe) {
            var pe = K.style,
              fe = K.d;
            fe &&
              (fe._mdf || oe) &&
              fe.dashStr &&
              (pe.pElem.setAttribute("stroke-dasharray", fe.dashStr),
              pe.pElem.setAttribute("stroke-dashoffset", fe.dashoffset[0])),
              K.c &&
                (K.c._mdf || oe) &&
                pe.pElem.setAttribute(
                  "stroke",
                  "rgb(" +
                    F(K.c.v[0]) +
                    "," +
                    F(K.c.v[1]) +
                    "," +
                    F(K.c.v[2]) +
                    ")",
                ),
              (K.o._mdf || oe) &&
                pe.pElem.setAttribute("stroke-opacity", K.o.v),
              (K.w._mdf || oe) &&
                (pe.pElem.setAttribute("stroke-width", K.w.v),
                pe.msElem && pe.msElem.setAttribute("stroke-width", K.w.v));
          }
          return p;
        })();
      function ur(c, h, p) {
        (this.shapes = []),
          (this.shapesData = c.shapes),
          (this.stylesList = []),
          (this.shapeModifiers = []),
          (this.itemsData = []),
          (this.processedElements = []),
          (this.animatedContents = []),
          this.initElement(c, h, p),
          (this.prevViewData = []);
      }
      f([gi, pa, No, O5, ga, vi, $o], ur),
        (ur.prototype.initSecondaryElement = function () {}),
        (ur.prototype.identityMatrix = new mr()),
        (ur.prototype.buildExpressionInterface = function () {}),
        (ur.prototype.createContent = function () {
          this.searchShapes(
            this.shapesData,
            this.itemsData,
            this.prevViewData,
            this.layerElement,
            0,
            [],
            !0,
          ),
            this.filterUniqueShapes();
        }),
        (ur.prototype.filterUniqueShapes = function () {
          var c,
            h = this.shapes.length,
            p,
            E,
            S = this.stylesList.length,
            _,
            k = [],
            z = !1;
          for (E = 0; E < S; E += 1) {
            for (
              _ = this.stylesList[E], z = !1, k.length = 0, c = 0;
              c < h;
              c += 1
            )
              (p = this.shapes[c]),
                p.styles.indexOf(_) !== -1 &&
                  (k.push(p), (z = p._isAnimated || z));
            k.length > 1 && z && this.setShapesAsAnimated(k);
          }
        }),
        (ur.prototype.setShapesAsAnimated = function (c) {
          var h,
            p = c.length;
          for (h = 0; h < p; h += 1) c[h].setAsAnimated();
        }),
        (ur.prototype.createStyleElement = function (c, h) {
          var p,
            E = new M5(c, h),
            S = E.pElem;
          if (c.ty === "st") p = new R5(this, c, E);
          else if (c.ty === "fl") p = new N5(this, c, E);
          else if (c.ty === "gf" || c.ty === "gs") {
            var _ = c.ty === "gf" ? va : K5;
            (p = new _(this, c, E)),
              this.globalData.defs.appendChild(p.gf),
              p.maskId &&
                (this.globalData.defs.appendChild(p.ms),
                this.globalData.defs.appendChild(p.of),
                S.setAttribute("mask", "url(" + l() + "#" + p.maskId + ")"));
          } else c.ty === "no" && (p = new $5(this, c, E));
          return (
            (c.ty === "st" || c.ty === "gs") &&
              (S.setAttribute("stroke-linecap", L5[c.lc || 2]),
              S.setAttribute("stroke-linejoin", k5[c.lj || 2]),
              S.setAttribute("fill-opacity", "0"),
              c.lj === 1 && S.setAttribute("stroke-miterlimit", c.ml)),
            c.r === 2 && S.setAttribute("fill-rule", "evenodd"),
            c.ln && S.setAttribute("id", c.ln),
            c.cl && S.setAttribute("class", c.cl),
            c.bm && (S.style["mix-blend-mode"] = A1(c.bm)),
            this.stylesList.push(E),
            this.addToAnimatedContents(c, p),
            p
          );
        }),
        (ur.prototype.createGroupElement = function (c) {
          var h = new jx();
          return (
            c.ln && h.gr.setAttribute("id", c.ln),
            c.cl && h.gr.setAttribute("class", c.cl),
            c.bm && (h.gr.style["mix-blend-mode"] = A1(c.bm)),
            h
          );
        }),
        (ur.prototype.createTransformElement = function (c, h) {
          var p = Zf.getTransformProperty(this, c, this),
            E = new Yx(p, p.o, h);
          return this.addToAnimatedContents(c, E), E;
        }),
        (ur.prototype.createShapeElement = function (c, h, p) {
          var E = 4;
          c.ty === "rc"
            ? (E = 5)
            : c.ty === "el"
              ? (E = 6)
              : c.ty === "sr" && (E = 7);
          var S = yn.getShapeProp(this, c, E, this),
            _ = new H5(h, p, S);
          return (
            this.shapes.push(_),
            this.addShapeToModifiers(_),
            this.addToAnimatedContents(c, _),
            _
          );
        }),
        (ur.prototype.addToAnimatedContents = function (c, h) {
          for (var p = 0, E = this.animatedContents.length; p < E; ) {
            if (this.animatedContents[p].element === h) return;
            p += 1;
          }
          this.animatedContents.push({
            fn: Xx.createRenderFunction(c),
            element: h,
            data: c,
          });
        }),
        (ur.prototype.setElementStyles = function (c) {
          var h = c.styles,
            p,
            E = this.stylesList.length;
          for (p = 0; p < E; p += 1)
            this.stylesList[p].closed || h.push(this.stylesList[p]);
        }),
        (ur.prototype.reloadShapes = function () {
          this._isFirstFrame = !0;
          var c,
            h = this.itemsData.length;
          for (c = 0; c < h; c += 1) this.prevViewData[c] = this.itemsData[c];
          for (
            this.searchShapes(
              this.shapesData,
              this.itemsData,
              this.prevViewData,
              this.layerElement,
              0,
              [],
              !0,
            ),
              this.filterUniqueShapes(),
              h = this.dynamicProperties.length,
              c = 0;
            c < h;
            c += 1
          )
            this.dynamicProperties[c].getValue();
          this.renderModifiers();
        }),
        (ur.prototype.searchShapes = function (c, h, p, E, S, _, k) {
          var z = [].concat(_),
            H,
            re = c.length - 1,
            ae,
            be,
            K = [],
            oe = [],
            pe,
            fe,
            ye;
          for (H = re; H >= 0; H -= 1) {
            if (
              ((ye = this.searchProcessedElement(c[H])),
              ye ? (h[H] = p[ye - 1]) : (c[H]._render = k),
              c[H].ty === "fl" ||
                c[H].ty === "st" ||
                c[H].ty === "gf" ||
                c[H].ty === "gs" ||
                c[H].ty === "no")
            )
              ye
                ? (h[H].style.closed = !1)
                : (h[H] = this.createStyleElement(c[H], S)),
                c[H]._render &&
                  h[H].style.pElem.parentNode !== E &&
                  E.appendChild(h[H].style.pElem),
                K.push(h[H].style);
            else if (c[H].ty === "gr") {
              if (!ye) h[H] = this.createGroupElement(c[H]);
              else
                for (be = h[H].it.length, ae = 0; ae < be; ae += 1)
                  h[H].prevViewData[ae] = h[H].it[ae];
              this.searchShapes(
                c[H].it,
                h[H].it,
                h[H].prevViewData,
                h[H].gr,
                S + 1,
                z,
                k,
              ),
                c[H]._render &&
                  h[H].gr.parentNode !== E &&
                  E.appendChild(h[H].gr);
            } else
              c[H].ty === "tr"
                ? (ye || (h[H] = this.createTransformElement(c[H], E)),
                  (pe = h[H].transform),
                  z.push(pe))
                : c[H].ty === "sh" ||
                    c[H].ty === "rc" ||
                    c[H].ty === "el" ||
                    c[H].ty === "sr"
                  ? (ye || (h[H] = this.createShapeElement(c[H], z, S)),
                    this.setElementStyles(h[H]))
                  : c[H].ty === "tm" ||
                      c[H].ty === "rd" ||
                      c[H].ty === "ms" ||
                      c[H].ty === "pb" ||
                      c[H].ty === "zz" ||
                      c[H].ty === "op"
                    ? (ye
                        ? ((fe = h[H]), (fe.closed = !1))
                        : ((fe = hi.getModifier(c[H].ty)),
                          fe.init(this, c[H]),
                          (h[H] = fe),
                          this.shapeModifiers.push(fe)),
                      oe.push(fe))
                    : c[H].ty === "rp" &&
                      (ye
                        ? ((fe = h[H]), (fe.closed = !0))
                        : ((fe = hi.getModifier(c[H].ty)),
                          (h[H] = fe),
                          fe.init(this, c, H, h),
                          this.shapeModifiers.push(fe),
                          (k = !1)),
                      oe.push(fe));
            this.addProcessedElement(c[H], H + 1);
          }
          for (re = K.length, H = 0; H < re; H += 1) K[H].closed = !0;
          for (re = oe.length, H = 0; H < re; H += 1) oe[H].closed = !0;
        }),
        (ur.prototype.renderInnerContent = function () {
          this.renderModifiers();
          var c,
            h = this.stylesList.length;
          for (c = 0; c < h; c += 1) this.stylesList[c].reset();
          for (this.renderShape(), c = 0; c < h; c += 1)
            (this.stylesList[c]._mdf || this._isFirstFrame) &&
              (this.stylesList[c].msElem &&
                (this.stylesList[c].msElem.setAttribute(
                  "d",
                  this.stylesList[c].d,
                ),
                (this.stylesList[c].d = "M0 0" + this.stylesList[c].d)),
              this.stylesList[c].pElem.setAttribute(
                "d",
                this.stylesList[c].d || "M0 0",
              ));
        }),
        (ur.prototype.renderShape = function () {
          var c,
            h = this.animatedContents.length,
            p;
          for (c = 0; c < h; c += 1)
            (p = this.animatedContents[c]),
              (this._isFirstFrame || p.element._isAnimated) &&
                p.data !== !0 &&
                p.fn(p.data, p.element, this._isFirstFrame);
        }),
        (ur.prototype.destroy = function () {
          this.destroyBaseElement(),
            (this.shapesData = null),
            (this.itemsData = null);
        });
      function a1(c, h, p, E, S, _) {
        (this.o = c),
          (this.sw = h),
          (this.sc = p),
          (this.fc = E),
          (this.m = S),
          (this.p = _),
          (this._mdf = { o: !0, sw: !!h, sc: !!p, fc: !!E, m: !0, p: !0 });
      }
      a1.prototype.update = function (c, h, p, E, S, _) {
        (this._mdf.o = !1),
          (this._mdf.sw = !1),
          (this._mdf.sc = !1),
          (this._mdf.fc = !1),
          (this._mdf.m = !1),
          (this._mdf.p = !1);
        var k = !1;
        return (
          this.o !== c && ((this.o = c), (this._mdf.o = !0), (k = !0)),
          this.sw !== h && ((this.sw = h), (this._mdf.sw = !0), (k = !0)),
          this.sc !== p && ((this.sc = p), (this._mdf.sc = !0), (k = !0)),
          this.fc !== E && ((this.fc = E), (this._mdf.fc = !0), (k = !0)),
          this.m !== S && ((this.m = S), (this._mdf.m = !0), (k = !0)),
          _.length &&
            (this.p[0] !== _[0] ||
              this.p[1] !== _[1] ||
              this.p[4] !== _[4] ||
              this.p[5] !== _[5] ||
              this.p[12] !== _[12] ||
              this.p[13] !== _[13]) &&
            ((this.p = _), (this._mdf.p = !0), (k = !0)),
          k
        );
      };
      function Jr(c, h) {
        (this._frameId = i),
          (this.pv = ""),
          (this.v = ""),
          (this.kf = !1),
          (this._isFirstFrame = !0),
          (this._mdf = !1),
          h.d && h.d.sid && (h.d = c.globalData.slotManager.getProp(h.d)),
          (this.data = h),
          (this.elem = c),
          (this.comp = this.elem.comp),
          (this.keysIndex = 0),
          (this.canResize = !1),
          (this.minimumFontSize = 1),
          (this.effectsSequence = []),
          (this.currentData = {
            ascent: 0,
            boxWidth: this.defaultBoxWidth,
            f: "",
            fStyle: "",
            fWeight: "",
            fc: "",
            j: "",
            justifyOffset: "",
            l: [],
            lh: 0,
            lineWidths: [],
            ls: "",
            of: "",
            s: "",
            sc: "",
            sw: 0,
            t: 0,
            tr: 0,
            sz: 0,
            ps: null,
            fillColorAnim: !1,
            strokeColorAnim: !1,
            strokeWidthAnim: !1,
            yOffset: 0,
            finalSize: 0,
            finalText: [],
            finalLineHeight: 0,
            __complete: !1,
          }),
          this.copyData(this.currentData, this.data.d.k[0].s),
          this.searchProperty() || this.completeTextData(this.currentData);
      }
      (Jr.prototype.defaultBoxWidth = [0, 0]),
        (Jr.prototype.copyData = function (c, h) {
          for (var p in h)
            Object.prototype.hasOwnProperty.call(h, p) && (c[p] = h[p]);
          return c;
        }),
        (Jr.prototype.setCurrentData = function (c) {
          c.__complete || this.completeTextData(c),
            (this.currentData = c),
            (this.currentData.boxWidth =
              this.currentData.boxWidth || this.defaultBoxWidth),
            (this._mdf = !0);
        }),
        (Jr.prototype.searchProperty = function () {
          return this.searchKeyframes();
        }),
        (Jr.prototype.searchKeyframes = function () {
          return (
            (this.kf = this.data.d.k.length > 1),
            this.kf && this.addEffect(this.getKeyframeValue.bind(this)),
            this.kf
          );
        }),
        (Jr.prototype.addEffect = function (c) {
          this.effectsSequence.push(c), this.elem.addDynamicProperty(this);
        }),
        (Jr.prototype.getValue = function (c) {
          if (
            !(
              (this.elem.globalData.frameId === this.frameId ||
                !this.effectsSequence.length) &&
              !c
            )
          ) {
            this.currentData.t = this.data.d.k[this.keysIndex].s.t;
            var h = this.currentData,
              p = this.keysIndex;
            if (this.lock) {
              this.setCurrentData(this.currentData);
              return;
            }
            (this.lock = !0), (this._mdf = !1);
            var E,
              S = this.effectsSequence.length,
              _ = c || this.data.d.k[this.keysIndex].s;
            for (E = 0; E < S; E += 1)
              p !== this.keysIndex
                ? (_ = this.effectsSequence[E](_, _.t))
                : (_ = this.effectsSequence[E](this.currentData, _.t));
            h !== _ && this.setCurrentData(_),
              (this.v = this.currentData),
              (this.pv = this.v),
              (this.lock = !1),
              (this.frameId = this.elem.globalData.frameId);
          }
        }),
        (Jr.prototype.getKeyframeValue = function () {
          for (
            var c = this.data.d.k,
              h = this.elem.comp.renderedFrame,
              p = 0,
              E = c.length;
            p <= E - 1 && !(p === E - 1 || c[p + 1].t > h);

          )
            p += 1;
          return (
            this.keysIndex !== p && (this.keysIndex = p),
            this.data.d.k[this.keysIndex].s
          );
        }),
        (Jr.prototype.buildFinalText = function (c) {
          for (
            var h = [], p = 0, E = c.length, S, _, k = !1, z = !1, H = "";
            p < E;

          )
            (k = z),
              (z = !1),
              (S = c.charCodeAt(p)),
              (H = c.charAt(p)),
              ys.isCombinedCharacter(S)
                ? (k = !0)
                : S >= 55296 && S <= 56319
                  ? ys.isRegionalFlag(c, p)
                    ? (H = c.substr(p, 14))
                    : ((_ = c.charCodeAt(p + 1)),
                      _ >= 56320 &&
                        _ <= 57343 &&
                        (ys.isModifier(S, _)
                          ? ((H = c.substr(p, 2)), (k = !0))
                          : ys.isFlagEmoji(c.substr(p, 4))
                            ? (H = c.substr(p, 4))
                            : (H = c.substr(p, 2))))
                  : S > 56319
                    ? ((_ = c.charCodeAt(p + 1)),
                      ys.isVariationSelector(S) && (k = !0))
                    : ys.isZeroWidthJoiner(S) && ((k = !0), (z = !0)),
              k ? ((h[h.length - 1] += H), (k = !1)) : h.push(H),
              (p += H.length);
          return h;
        }),
        (Jr.prototype.completeTextData = function (c) {
          c.__complete = !0;
          var h = this.elem.globalData.fontManager,
            p = this.data,
            E = [],
            S,
            _,
            k,
            z = 0,
            H,
            re = p.m.g,
            ae = 0,
            be = 0,
            K = 0,
            oe = [],
            pe = 0,
            fe = 0,
            ye,
            Ae,
            J = h.getFontByName(c.f),
            N,
            W = 0,
            ne = U5(J);
          (c.fWeight = ne.weight),
            (c.fStyle = ne.style),
            (c.finalSize = c.s),
            (c.finalText = this.buildFinalText(c.t)),
            (_ = c.finalText.length),
            (c.finalLineHeight = c.lh);
          var ge = (c.tr / 1e3) * c.finalSize,
            Ee;
          if (c.sz)
            for (var Qe = !0, Re = c.sz[0], ut = c.sz[1], it, Ve; Qe; ) {
              (Ve = this.buildFinalText(c.t)),
                (it = 0),
                (pe = 0),
                (_ = Ve.length),
                (ge = (c.tr / 1e3) * c.finalSize);
              var ft = -1;
              for (S = 0; S < _; S += 1)
                (Ee = Ve[S].charCodeAt(0)),
                  (k = !1),
                  Ve[S] === " "
                    ? (ft = S)
                    : (Ee === 13 || Ee === 3) &&
                      ((pe = 0),
                      (k = !0),
                      (it += c.finalLineHeight || c.finalSize * 1.2)),
                  h.chars
                    ? ((N = h.getCharData(Ve[S], J.fStyle, J.fFamily)),
                      (W = k ? 0 : (N.w * c.finalSize) / 100))
                    : (W = h.measureText(Ve[S], c.f, c.finalSize)),
                  pe + W > Re && Ve[S] !== " "
                    ? (ft === -1 ? (_ += 1) : (S = ft),
                      (it += c.finalLineHeight || c.finalSize * 1.2),
                      Ve.splice(S, ft === S ? 1 : 0, "\r"),
                      (ft = -1),
                      (pe = 0))
                    : ((pe += W), (pe += ge));
              (it += (J.ascent * c.finalSize) / 100),
                this.canResize && c.finalSize > this.minimumFontSize && ut < it
                  ? ((c.finalSize -= 1),
                    (c.finalLineHeight = (c.finalSize * c.lh) / c.s))
                  : ((c.finalText = Ve), (_ = c.finalText.length), (Qe = !1));
            }
          (pe = -ge), (W = 0);
          var rt = 0,
            Me;
          for (S = 0; S < _; S += 1)
            if (
              ((k = !1),
              (Me = c.finalText[S]),
              (Ee = Me.charCodeAt(0)),
              Ee === 13 || Ee === 3
                ? ((rt = 0),
                  oe.push(pe),
                  (fe = pe > fe ? pe : fe),
                  (pe = -2 * ge),
                  (H = ""),
                  (k = !0),
                  (K += 1))
                : (H = Me),
              h.chars
                ? ((N = h.getCharData(
                    Me,
                    J.fStyle,
                    h.getFontByName(c.f).fFamily,
                  )),
                  (W = k ? 0 : (N.w * c.finalSize) / 100))
                : (W = h.measureText(H, c.f, c.finalSize)),
              Me === " " ? (rt += W + ge) : ((pe += W + ge + rt), (rt = 0)),
              E.push({
                l: W,
                an: W,
                add: ae,
                n: k,
                anIndexes: [],
                val: H,
                line: K,
                animatorJustifyOffset: 0,
              }),
              re == 2)
            ) {
              if (((ae += W), H === "" || H === " " || S === _ - 1)) {
                for ((H === "" || H === " ") && (ae -= W); be <= S; )
                  (E[be].an = ae),
                    (E[be].ind = z),
                    (E[be].extra = W),
                    (be += 1);
                (z += 1), (ae = 0);
              }
            } else if (re == 3) {
              if (((ae += W), H === "" || S === _ - 1)) {
                for (H === "" && (ae -= W); be <= S; )
                  (E[be].an = ae),
                    (E[be].ind = z),
                    (E[be].extra = W),
                    (be += 1);
                (ae = 0), (z += 1);
              }
            } else (E[z].ind = z), (E[z].extra = 0), (z += 1);
          if (((c.l = E), (fe = pe > fe ? pe : fe), oe.push(pe), c.sz))
            (c.boxWidth = c.sz[0]), (c.justifyOffset = 0);
          else
            switch (((c.boxWidth = fe), c.j)) {
              case 1:
                c.justifyOffset = -c.boxWidth;
                break;
              case 2:
                c.justifyOffset = -c.boxWidth / 2;
                break;
              default:
                c.justifyOffset = 0;
            }
          c.lineWidths = oe;
          var Y = p.a,
            de,
            O;
          Ae = Y.length;
          var R,
            Se,
            me = [];
          for (ye = 0; ye < Ae; ye += 1) {
            for (
              de = Y[ye],
                de.a.sc && (c.strokeColorAnim = !0),
                de.a.sw && (c.strokeWidthAnim = !0),
                (de.a.fc || de.a.fh || de.a.fs || de.a.fb) &&
                  (c.fillColorAnim = !0),
                Se = 0,
                R = de.s.b,
                S = 0;
              S < _;
              S += 1
            )
              (O = E[S]),
                (O.anIndexes[ye] = Se),
                ((R == 1 && O.val !== "") ||
                  (R == 2 && O.val !== "" && O.val !== " ") ||
                  (R == 3 && (O.n || O.val == " " || S == _ - 1)) ||
                  (R == 4 && (O.n || S == _ - 1))) &&
                  (de.s.rn === 1 && me.push(Se), (Se += 1));
            p.a[ye].s.totalChars = Se;
            var Xe = -1,
              at;
            if (de.s.rn === 1)
              for (S = 0; S < _; S += 1)
                (O = E[S]),
                  Xe != O.anIndexes[ye] &&
                    ((Xe = O.anIndexes[ye]),
                    (at = me.splice(
                      Math.floor(Math.random() * me.length),
                      1,
                    )[0])),
                  (O.anIndexes[ye] = at);
          }
          (c.yOffset = c.finalLineHeight || c.finalSize * 1.2),
            (c.ls = c.ls || 0),
            (c.ascent = (J.ascent * c.finalSize) / 100);
        }),
        (Jr.prototype.updateDocumentData = function (c, h) {
          h = h === void 0 ? this.keysIndex : h;
          var p = this.copyData({}, this.data.d.k[h].s);
          (p = this.copyData(p, c)),
            (this.data.d.k[h].s = p),
            this.recalculate(h),
            this.setCurrentData(p),
            this.elem.addDynamicProperty(this);
        }),
        (Jr.prototype.recalculate = function (c) {
          var h = this.data.d.k[c].s;
          (h.__complete = !1),
            (this.keysIndex = 0),
            (this._isFirstFrame = !0),
            this.getValue(h);
        }),
        (Jr.prototype.canResizeFont = function (c) {
          (this.canResize = c),
            this.recalculate(this.keysIndex),
            this.elem.addDynamicProperty(this);
        }),
        (Jr.prototype.setMinimumFontSize = function (c) {
          (this.minimumFontSize = Math.floor(c) || 1),
            this.recalculate(this.keysIndex),
            this.elem.addDynamicProperty(this);
        });
      var Jx = (function () {
        var c = Math.max,
          h = Math.min,
          p = Math.floor;
        function E(_, k) {
          (this._currentTextLength = -1),
            (this.k = !1),
            (this.data = k),
            (this.elem = _),
            (this.comp = _.comp),
            (this.finalS = 0),
            (this.finalE = 0),
            this.initDynamicPropertyContainer(_),
            (this.s = Ge.getProp(_, k.s || { k: 0 }, 0, 0, this)),
            "e" in k
              ? (this.e = Ge.getProp(_, k.e, 0, 0, this))
              : (this.e = { v: 100 }),
            (this.o = Ge.getProp(_, k.o || { k: 0 }, 0, 0, this)),
            (this.xe = Ge.getProp(_, k.xe || { k: 0 }, 0, 0, this)),
            (this.ne = Ge.getProp(_, k.ne || { k: 0 }, 0, 0, this)),
            (this.sm = Ge.getProp(_, k.sm || { k: 100 }, 0, 0, this)),
            (this.a = Ge.getProp(_, k.a, 0, 0.01, this)),
            this.dynamicProperties.length || this.getValue();
        }
        (E.prototype = {
          getMult: function (k) {
            this._currentTextLength !==
              this.elem.textProperty.currentData.l.length && this.getValue();
            var z = 0,
              H = 0,
              re = 1,
              ae = 1;
            this.ne.v > 0 ? (z = this.ne.v / 100) : (H = -this.ne.v / 100),
              this.xe.v > 0
                ? (re = 1 - this.xe.v / 100)
                : (ae = 1 + this.xe.v / 100);
            var be = Je.getBezierEasing(z, H, re, ae).get,
              K = 0,
              oe = this.finalS,
              pe = this.finalE,
              fe = this.data.sh;
            if (fe === 2)
              pe === oe
                ? (K = k >= pe ? 1 : 0)
                : (K = c(0, h(0.5 / (pe - oe) + (k - oe) / (pe - oe), 1))),
                (K = be(K));
            else if (fe === 3)
              pe === oe
                ? (K = k >= pe ? 0 : 1)
                : (K = 1 - c(0, h(0.5 / (pe - oe) + (k - oe) / (pe - oe), 1))),
                (K = be(K));
            else if (fe === 4)
              pe === oe
                ? (K = 0)
                : ((K = c(0, h(0.5 / (pe - oe) + (k - oe) / (pe - oe), 1))),
                  K < 0.5 ? (K *= 2) : (K = 1 - 2 * (K - 0.5))),
                (K = be(K));
            else if (fe === 5) {
              if (pe === oe) K = 0;
              else {
                var ye = pe - oe;
                k = h(c(0, k + 0.5 - oe), pe - oe);
                var Ae = -ye / 2 + k,
                  J = ye / 2;
                K = Math.sqrt(1 - (Ae * Ae) / (J * J));
              }
              K = be(K);
            } else
              fe === 6
                ? (pe === oe
                    ? (K = 0)
                    : ((k = h(c(0, k + 0.5 - oe), pe - oe)),
                      (K =
                        (1 +
                          Math.cos(Math.PI + (Math.PI * 2 * k) / (pe - oe))) /
                        2)),
                  (K = be(K)))
                : (k >= p(oe) &&
                    (k - oe < 0
                      ? (K = c(0, h(h(pe, 1) - (oe - k), 1)))
                      : (K = c(0, h(pe - k, 1)))),
                  (K = be(K)));
            if (this.sm.v !== 100) {
              var N = this.sm.v * 0.01;
              N === 0 && (N = 1e-8);
              var W = 0.5 - N * 0.5;
              K < W ? (K = 0) : ((K = (K - W) / N), K > 1 && (K = 1));
            }
            return K * this.a.v;
          },
          getValue: function (k) {
            this.iterateDynamicProperties(),
              (this._mdf = k || this._mdf),
              (this._currentTextLength =
                this.elem.textProperty.currentData.l.length || 0),
              k && this.data.r === 2 && (this.e.v = this._currentTextLength);
            var z = this.data.r === 2 ? 1 : 100 / this.data.totalChars,
              H = this.o.v / z,
              re = this.s.v / z + H,
              ae = this.e.v / z + H;
            if (re > ae) {
              var be = re;
              (re = ae), (ae = be);
            }
            (this.finalS = re), (this.finalE = ae);
          },
        }),
          f([vr], E);
        function S(_, k, z) {
          return new E(_, k);
        }
        return { getTextSelectorProp: S };
      })();
      function qx(c, h, p) {
        var E = { propType: !1 },
          S = Ge.getProp,
          _ = h.a;
        (this.a = {
          r: _.r ? S(c, _.r, 0, D, p) : E,
          rx: _.rx ? S(c, _.rx, 0, D, p) : E,
          ry: _.ry ? S(c, _.ry, 0, D, p) : E,
          sk: _.sk ? S(c, _.sk, 0, D, p) : E,
          sa: _.sa ? S(c, _.sa, 0, D, p) : E,
          s: _.s ? S(c, _.s, 1, 0.01, p) : E,
          a: _.a ? S(c, _.a, 1, 0, p) : E,
          o: _.o ? S(c, _.o, 0, 0.01, p) : E,
          p: _.p ? S(c, _.p, 1, 0, p) : E,
          sw: _.sw ? S(c, _.sw, 0, 0, p) : E,
          sc: _.sc ? S(c, _.sc, 1, 0, p) : E,
          fc: _.fc ? S(c, _.fc, 1, 0, p) : E,
          fh: _.fh ? S(c, _.fh, 0, 0, p) : E,
          fs: _.fs ? S(c, _.fs, 0, 0.01, p) : E,
          fb: _.fb ? S(c, _.fb, 0, 0.01, p) : E,
          t: _.t ? S(c, _.t, 0, 0, p) : E,
        }),
          (this.s = Jx.getTextSelectorProp(c, h.s, p)),
          (this.s.t = h.s.t);
      }
      function xs(c, h, p) {
        (this._isFirstFrame = !0),
          (this._hasMaskedPath = !1),
          (this._frameId = -1),
          (this._textData = c),
          (this._renderType = h),
          (this._elem = p),
          (this._animatorsData = B(this._textData.a.length)),
          (this._pathData = {}),
          (this._moreOptions = { alignment: {} }),
          (this.renderedLetters = []),
          (this.lettersChangedFlag = !1),
          this.initDynamicPropertyContainer(p);
      }
      (xs.prototype.searchProperties = function () {
        var c,
          h = this._textData.a.length,
          p,
          E = Ge.getProp;
        for (c = 0; c < h; c += 1)
          (p = this._textData.a[c]),
            (this._animatorsData[c] = new qx(this._elem, p, this));
        this._textData.p && "m" in this._textData.p
          ? ((this._pathData = {
              a: E(this._elem, this._textData.p.a, 0, 0, this),
              f: E(this._elem, this._textData.p.f, 0, 0, this),
              l: E(this._elem, this._textData.p.l, 0, 0, this),
              r: E(this._elem, this._textData.p.r, 0, 0, this),
              p: E(this._elem, this._textData.p.p, 0, 0, this),
              m: this._elem.maskManager.getMaskProperty(this._textData.p.m),
            }),
            (this._hasMaskedPath = !0))
          : (this._hasMaskedPath = !1),
          (this._moreOptions.alignment = E(
            this._elem,
            this._textData.m.a,
            1,
            0,
            this,
          ));
      }),
        (xs.prototype.getMeasures = function (c, h) {
          if (
            ((this.lettersChangedFlag = h),
            !(
              !this._mdf &&
              !this._isFirstFrame &&
              !h &&
              (!this._hasMaskedPath || !this._pathData.m._mdf)
            ))
          ) {
            this._isFirstFrame = !1;
            var p = this._moreOptions.alignment.v,
              E = this._animatorsData,
              S = this._textData,
              _ = this.mHelper,
              k = this._renderType,
              z = this.renderedLetters.length,
              H,
              re,
              ae,
              be,
              K = c.l,
              oe,
              pe,
              fe,
              ye,
              Ae,
              J,
              N,
              W,
              ne,
              ge,
              Ee,
              Qe,
              Re,
              ut,
              it;
            if (this._hasMaskedPath) {
              if (
                ((it = this._pathData.m),
                !this._pathData.n || this._pathData._mdf)
              ) {
                var Ve = it.v;
                this._pathData.r.v && (Ve = Ve.reverse()),
                  (oe = { tLength: 0, segments: [] }),
                  (be = Ve._length - 1);
                var ft;
                for (Qe = 0, ae = 0; ae < be; ae += 1)
                  (ft = Xt.buildBezierData(
                    Ve.v[ae],
                    Ve.v[ae + 1],
                    [Ve.o[ae][0] - Ve.v[ae][0], Ve.o[ae][1] - Ve.v[ae][1]],
                    [
                      Ve.i[ae + 1][0] - Ve.v[ae + 1][0],
                      Ve.i[ae + 1][1] - Ve.v[ae + 1][1],
                    ],
                  )),
                    (oe.tLength += ft.segmentLength),
                    oe.segments.push(ft),
                    (Qe += ft.segmentLength);
                (ae = be),
                  it.v.c &&
                    ((ft = Xt.buildBezierData(
                      Ve.v[ae],
                      Ve.v[0],
                      [Ve.o[ae][0] - Ve.v[ae][0], Ve.o[ae][1] - Ve.v[ae][1]],
                      [Ve.i[0][0] - Ve.v[0][0], Ve.i[0][1] - Ve.v[0][1]],
                    )),
                    (oe.tLength += ft.segmentLength),
                    oe.segments.push(ft),
                    (Qe += ft.segmentLength)),
                  (this._pathData.pi = oe);
              }
              if (
                ((oe = this._pathData.pi),
                (pe = this._pathData.f.v),
                (N = 0),
                (J = 1),
                (ye = 0),
                (Ae = !0),
                (ge = oe.segments),
                pe < 0 && it.v.c)
              )
                for (
                  oe.tLength < Math.abs(pe) &&
                    (pe = -Math.abs(pe) % oe.tLength),
                    N = ge.length - 1,
                    ne = ge[N].points,
                    J = ne.length - 1;
                  pe < 0;

                )
                  (pe += ne[J].partialLength),
                    (J -= 1),
                    J < 0 &&
                      ((N -= 1), (ne = ge[N].points), (J = ne.length - 1));
              (ne = ge[N].points),
                (W = ne[J - 1]),
                (fe = ne[J]),
                (Ee = fe.partialLength);
            }
            (be = K.length), (H = 0), (re = 0);
            var rt = c.finalSize * 1.2 * 0.714,
              Me = !0,
              Y,
              de,
              O,
              R,
              Se;
            R = E.length;
            var me,
              Xe = -1,
              at,
              ct,
              Qt,
              Ut = pe,
              Br = N,
              an = J,
              fA = -1,
              on,
              Hr,
              Cn,
              Ht,
              nt,
              DA,
              wi,
              PA,
              dA = "",
              OA = this.defaultPropsArray,
              LA;
            if (c.j === 2 || c.j === 1) {
              var ln = 0,
                yi = 0,
                Ci = c.j === 2 ? -0.5 : -1,
                Wn = 0,
                xi = !0;
              for (ae = 0; ae < be; ae += 1)
                if (K[ae].n) {
                  for (ln && (ln += yi); Wn < ae; )
                    (K[Wn].animatorJustifyOffset = ln), (Wn += 1);
                  (ln = 0), (xi = !0);
                } else {
                  for (O = 0; O < R; O += 1)
                    (Y = E[O].a),
                      Y.t.propType &&
                        (xi && c.j === 2 && (yi += Y.t.v * Ci),
                        (de = E[O].s),
                        (me = de.getMult(
                          K[ae].anIndexes[O],
                          S.a[O].s.totalChars,
                        )),
                        me.length
                          ? (ln += Y.t.v * me[0] * Ci)
                          : (ln += Y.t.v * me * Ci));
                  xi = !1;
                }
              for (ln && (ln += yi); Wn < ae; )
                (K[Wn].animatorJustifyOffset = ln), (Wn += 1);
            }
            for (ae = 0; ae < be; ae += 1) {
              if ((_.reset(), (on = 1), K[ae].n))
                (H = 0),
                  (re += c.yOffset),
                  (re += Me ? 1 : 0),
                  (pe = Ut),
                  (Me = !1),
                  this._hasMaskedPath &&
                    ((N = Br),
                    (J = an),
                    (ne = ge[N].points),
                    (W = ne[J - 1]),
                    (fe = ne[J]),
                    (Ee = fe.partialLength),
                    (ye = 0)),
                  (dA = ""),
                  (PA = ""),
                  (DA = ""),
                  (LA = ""),
                  (OA = this.defaultPropsArray);
              else {
                if (this._hasMaskedPath) {
                  if (fA !== K[ae].line) {
                    switch (c.j) {
                      case 1:
                        pe += Qe - c.lineWidths[K[ae].line];
                        break;
                      case 2:
                        pe += (Qe - c.lineWidths[K[ae].line]) / 2;
                        break;
                    }
                    fA = K[ae].line;
                  }
                  Xe !== K[ae].ind &&
                    (K[Xe] && (pe += K[Xe].extra),
                    (pe += K[ae].an / 2),
                    (Xe = K[ae].ind)),
                    (pe += p[0] * K[ae].an * 0.005);
                  var zn = 0;
                  for (O = 0; O < R; O += 1)
                    (Y = E[O].a),
                      Y.p.propType &&
                        ((de = E[O].s),
                        (me = de.getMult(
                          K[ae].anIndexes[O],
                          S.a[O].s.totalChars,
                        )),
                        me.length
                          ? (zn += Y.p.v[0] * me[0])
                          : (zn += Y.p.v[0] * me)),
                      Y.a.propType &&
                        ((de = E[O].s),
                        (me = de.getMult(
                          K[ae].anIndexes[O],
                          S.a[O].s.totalChars,
                        )),
                        me.length
                          ? (zn += Y.a.v[0] * me[0])
                          : (zn += Y.a.v[0] * me));
                  for (
                    Ae = !0,
                      this._pathData.a.v &&
                        ((pe =
                          K[0].an * 0.5 +
                          ((Qe -
                            this._pathData.f.v -
                            K[0].an * 0.5 -
                            K[K.length - 1].an * 0.5) *
                            Xe) /
                            (be - 1)),
                        (pe += this._pathData.f.v));
                    Ae;

                  )
                    ye + Ee >= pe + zn || !ne
                      ? ((Re = (pe + zn - ye) / fe.partialLength),
                        (ct = W.point[0] + (fe.point[0] - W.point[0]) * Re),
                        (Qt = W.point[1] + (fe.point[1] - W.point[1]) * Re),
                        _.translate(
                          -p[0] * K[ae].an * 0.005,
                          -(p[1] * rt) * 0.01,
                        ),
                        (Ae = !1))
                      : ne &&
                        ((ye += fe.partialLength),
                        (J += 1),
                        J >= ne.length &&
                          ((J = 0),
                          (N += 1),
                          ge[N]
                            ? (ne = ge[N].points)
                            : it.v.c
                              ? ((J = 0), (N = 0), (ne = ge[N].points))
                              : ((ye -= fe.partialLength), (ne = null))),
                        ne &&
                          ((W = fe), (fe = ne[J]), (Ee = fe.partialLength)));
                  (at = K[ae].an / 2 - K[ae].add), _.translate(-at, 0, 0);
                } else
                  (at = K[ae].an / 2 - K[ae].add),
                    _.translate(-at, 0, 0),
                    _.translate(-p[0] * K[ae].an * 0.005, -p[1] * rt * 0.01, 0);
                for (O = 0; O < R; O += 1)
                  (Y = E[O].a),
                    Y.t.propType &&
                      ((de = E[O].s),
                      (me = de.getMult(
                        K[ae].anIndexes[O],
                        S.a[O].s.totalChars,
                      )),
                      (H !== 0 || c.j !== 0) &&
                        (this._hasMaskedPath
                          ? me.length
                            ? (pe += Y.t.v * me[0])
                            : (pe += Y.t.v * me)
                          : me.length
                            ? (H += Y.t.v * me[0])
                            : (H += Y.t.v * me)));
                for (
                  c.strokeWidthAnim && (Cn = c.sw || 0),
                    c.strokeColorAnim &&
                      (c.sc
                        ? (Hr = [c.sc[0], c.sc[1], c.sc[2]])
                        : (Hr = [0, 0, 0])),
                    c.fillColorAnim &&
                      c.fc &&
                      (Ht = [c.fc[0], c.fc[1], c.fc[2]]),
                    O = 0;
                  O < R;
                  O += 1
                )
                  (Y = E[O].a),
                    Y.a.propType &&
                      ((de = E[O].s),
                      (me = de.getMult(
                        K[ae].anIndexes[O],
                        S.a[O].s.totalChars,
                      )),
                      me.length
                        ? _.translate(
                            -Y.a.v[0] * me[0],
                            -Y.a.v[1] * me[1],
                            Y.a.v[2] * me[2],
                          )
                        : _.translate(
                            -Y.a.v[0] * me,
                            -Y.a.v[1] * me,
                            Y.a.v[2] * me,
                          ));
                for (O = 0; O < R; O += 1)
                  (Y = E[O].a),
                    Y.s.propType &&
                      ((de = E[O].s),
                      (me = de.getMult(
                        K[ae].anIndexes[O],
                        S.a[O].s.totalChars,
                      )),
                      me.length
                        ? _.scale(
                            1 + (Y.s.v[0] - 1) * me[0],
                            1 + (Y.s.v[1] - 1) * me[1],
                            1,
                          )
                        : _.scale(
                            1 + (Y.s.v[0] - 1) * me,
                            1 + (Y.s.v[1] - 1) * me,
                            1,
                          ));
                for (O = 0; O < R; O += 1) {
                  if (
                    ((Y = E[O].a),
                    (de = E[O].s),
                    (me = de.getMult(K[ae].anIndexes[O], S.a[O].s.totalChars)),
                    Y.sk.propType &&
                      (me.length
                        ? _.skewFromAxis(-Y.sk.v * me[0], Y.sa.v * me[1])
                        : _.skewFromAxis(-Y.sk.v * me, Y.sa.v * me)),
                    Y.r.propType &&
                      (me.length
                        ? _.rotateZ(-Y.r.v * me[2])
                        : _.rotateZ(-Y.r.v * me)),
                    Y.ry.propType &&
                      (me.length
                        ? _.rotateY(Y.ry.v * me[1])
                        : _.rotateY(Y.ry.v * me)),
                    Y.rx.propType &&
                      (me.length
                        ? _.rotateX(Y.rx.v * me[0])
                        : _.rotateX(Y.rx.v * me)),
                    Y.o.propType &&
                      (me.length
                        ? (on += (Y.o.v * me[0] - on) * me[0])
                        : (on += (Y.o.v * me - on) * me)),
                    c.strokeWidthAnim &&
                      Y.sw.propType &&
                      (me.length
                        ? (Cn += Y.sw.v * me[0])
                        : (Cn += Y.sw.v * me)),
                    c.strokeColorAnim && Y.sc.propType)
                  )
                    for (nt = 0; nt < 3; nt += 1)
                      me.length
                        ? (Hr[nt] += (Y.sc.v[nt] - Hr[nt]) * me[0])
                        : (Hr[nt] += (Y.sc.v[nt] - Hr[nt]) * me);
                  if (c.fillColorAnim && c.fc) {
                    if (Y.fc.propType)
                      for (nt = 0; nt < 3; nt += 1)
                        me.length
                          ? (Ht[nt] += (Y.fc.v[nt] - Ht[nt]) * me[0])
                          : (Ht[nt] += (Y.fc.v[nt] - Ht[nt]) * me);
                    Y.fh.propType &&
                      (me.length
                        ? (Ht = ve(Ht, Y.fh.v * me[0]))
                        : (Ht = ve(Ht, Y.fh.v * me))),
                      Y.fs.propType &&
                        (me.length
                          ? (Ht = ee(Ht, Y.fs.v * me[0]))
                          : (Ht = ee(Ht, Y.fs.v * me))),
                      Y.fb.propType &&
                        (me.length
                          ? (Ht = ce(Ht, Y.fb.v * me[0]))
                          : (Ht = ce(Ht, Y.fb.v * me)));
                  }
                }
                for (O = 0; O < R; O += 1)
                  (Y = E[O].a),
                    Y.p.propType &&
                      ((de = E[O].s),
                      (me = de.getMult(
                        K[ae].anIndexes[O],
                        S.a[O].s.totalChars,
                      )),
                      this._hasMaskedPath
                        ? me.length
                          ? _.translate(0, Y.p.v[1] * me[0], -Y.p.v[2] * me[1])
                          : _.translate(0, Y.p.v[1] * me, -Y.p.v[2] * me)
                        : me.length
                          ? _.translate(
                              Y.p.v[0] * me[0],
                              Y.p.v[1] * me[1],
                              -Y.p.v[2] * me[2],
                            )
                          : _.translate(
                              Y.p.v[0] * me,
                              Y.p.v[1] * me,
                              -Y.p.v[2] * me,
                            ));
                if (
                  (c.strokeWidthAnim && (DA = Cn < 0 ? 0 : Cn),
                  c.strokeColorAnim &&
                    (wi =
                      "rgb(" +
                      Math.round(Hr[0] * 255) +
                      "," +
                      Math.round(Hr[1] * 255) +
                      "," +
                      Math.round(Hr[2] * 255) +
                      ")"),
                  c.fillColorAnim &&
                    c.fc &&
                    (PA =
                      "rgb(" +
                      Math.round(Ht[0] * 255) +
                      "," +
                      Math.round(Ht[1] * 255) +
                      "," +
                      Math.round(Ht[2] * 255) +
                      ")"),
                  this._hasMaskedPath)
                ) {
                  if (
                    (_.translate(0, -c.ls),
                    _.translate(0, p[1] * rt * 0.01 + re, 0),
                    this._pathData.p.v)
                  ) {
                    ut =
                      (fe.point[1] - W.point[1]) / (fe.point[0] - W.point[0]);
                    var Es = (Math.atan(ut) * 180) / Math.PI;
                    fe.point[0] < W.point[0] && (Es += 180),
                      _.rotate((-Es * Math.PI) / 180);
                  }
                  _.translate(ct, Qt, 0),
                    (pe -= p[0] * K[ae].an * 0.005),
                    K[ae + 1] &&
                      Xe !== K[ae + 1].ind &&
                      ((pe += K[ae].an / 2),
                      (pe += c.tr * 0.001 * c.finalSize));
                } else {
                  switch (
                    (_.translate(H, re, 0),
                    c.ps && _.translate(c.ps[0], c.ps[1] + c.ascent, 0),
                    c.j)
                  ) {
                    case 1:
                      _.translate(
                        K[ae].animatorJustifyOffset +
                          c.justifyOffset +
                          (c.boxWidth - c.lineWidths[K[ae].line]),
                        0,
                        0,
                      );
                      break;
                    case 2:
                      _.translate(
                        K[ae].animatorJustifyOffset +
                          c.justifyOffset +
                          (c.boxWidth - c.lineWidths[K[ae].line]) / 2,
                        0,
                        0,
                      );
                      break;
                  }
                  _.translate(0, -c.ls),
                    _.translate(at, 0, 0),
                    _.translate(p[0] * K[ae].an * 0.005, p[1] * rt * 0.01, 0),
                    (H += K[ae].l + c.tr * 0.001 * c.finalSize);
                }
                k === "html"
                  ? (dA = _.toCSS())
                  : k === "svg"
                    ? (dA = _.to2dCSS())
                    : (OA = [
                        _.props[0],
                        _.props[1],
                        _.props[2],
                        _.props[3],
                        _.props[4],
                        _.props[5],
                        _.props[6],
                        _.props[7],
                        _.props[8],
                        _.props[9],
                        _.props[10],
                        _.props[11],
                        _.props[12],
                        _.props[13],
                        _.props[14],
                        _.props[15],
                      ]),
                  (LA = on);
              }
              z <= ae
                ? ((Se = new a1(LA, DA, wi, PA, dA, OA)),
                  this.renderedLetters.push(Se),
                  (z += 1),
                  (this.lettersChangedFlag = !0))
                : ((Se = this.renderedLetters[ae]),
                  (this.lettersChangedFlag =
                    Se.update(LA, DA, wi, PA, dA, OA) ||
                    this.lettersChangedFlag));
            }
          }
        }),
        (xs.prototype.getValue = function () {
          this._elem.globalData.frameId !== this._frameId &&
            ((this._frameId = this._elem.globalData.frameId),
            this.iterateDynamicProperties());
        }),
        (xs.prototype.mHelper = new mr()),
        (xs.prototype.defaultPropsArray = []),
        f([vr], xs);
      function Ln() {}
      (Ln.prototype.initElement = function (c, h, p) {
        (this.lettersChangedFlag = !0),
          this.initFrame(),
          this.initBaseData(c, h, p),
          (this.textProperty = new Jr(this, c.t, this.dynamicProperties)),
          (this.textAnimator = new xs(c.t, this.renderType, this)),
          this.initTransform(c, h, p),
          this.initHierarchy(),
          this.initRenderable(),
          this.initRendererElement(),
          this.createContainerElements(),
          this.createRenderableComponents(),
          this.createContent(),
          this.hide(),
          this.textAnimator.searchProperties(this.dynamicProperties);
      }),
        (Ln.prototype.prepareFrame = function (c) {
          (this._mdf = !1),
            this.prepareRenderableFrame(c),
            this.prepareProperties(c, this.isInRange);
        }),
        (Ln.prototype.createPathShape = function (c, h) {
          var p,
            E = h.length,
            S,
            _ = "";
          for (p = 0; p < E; p += 1)
            h[p].ty === "sh" &&
              ((S = h[p].ks.k), (_ += V5(S, S.i.length, !0, c)));
          return _;
        }),
        (Ln.prototype.updateDocumentData = function (c, h) {
          this.textProperty.updateDocumentData(c, h);
        }),
        (Ln.prototype.canResizeFont = function (c) {
          this.textProperty.canResizeFont(c);
        }),
        (Ln.prototype.setMinimumFontSize = function (c) {
          this.textProperty.setMinimumFontSize(c);
        }),
        (Ln.prototype.applyTextPropertiesToMatrix = function (c, h, p, E, S) {
          switch (
            (c.ps && h.translate(c.ps[0], c.ps[1] + c.ascent, 0),
            h.translate(0, -c.ls, 0),
            c.j)
          ) {
            case 1:
              h.translate(
                c.justifyOffset + (c.boxWidth - c.lineWidths[p]),
                0,
                0,
              );
              break;
            case 2:
              h.translate(
                c.justifyOffset + (c.boxWidth - c.lineWidths[p]) / 2,
                0,
                0,
              );
              break;
          }
          h.translate(E, S, 0);
        }),
        (Ln.prototype.buildColor = function (c) {
          return (
            "rgb(" +
            Math.round(c[0] * 255) +
            "," +
            Math.round(c[1] * 255) +
            "," +
            Math.round(c[2] * 255) +
            ")"
          );
        }),
        (Ln.prototype.emptyProp = new a1()),
        (Ln.prototype.destroy = function () {}),
        (Ln.prototype.validateText = function () {
          (this.textProperty._mdf || this.textProperty._isFirstFrame) &&
            (this.buildNewText(),
            (this.textProperty._isFirstFrame = !1),
            (this.textProperty._mdf = !1));
        });
      var Zx = { shapes: [] };
      function TA(c, h, p) {
        (this.textSpans = []),
          (this.renderType = "svg"),
          this.initElement(c, h, p);
      }
      f([gi, pa, No, ga, vi, $o, Ln], TA),
        (TA.prototype.createContent = function () {
          this.data.singleShape &&
            !this.globalData.fontManager.chars &&
            (this.textContainer = Te("text"));
        }),
        (TA.prototype.buildTextContents = function (c) {
          for (var h = 0, p = c.length, E = [], S = ""; h < p; )
            c[h] === String.fromCharCode(13) || c[h] === String.fromCharCode(3)
              ? (E.push(S), (S = ""))
              : (S += c[h]),
              (h += 1);
          return E.push(S), E;
        }),
        (TA.prototype.buildShapeData = function (c, h) {
          if (c.shapes && c.shapes.length) {
            var p = c.shapes[0];
            if (p.it) {
              var E = p.it[p.it.length - 1];
              E.s && ((E.s.k[0] = h), (E.s.k[1] = h));
            }
          }
          return c;
        }),
        (TA.prototype.buildNewText = function () {
          this.addDynamicProperty(this);
          var c,
            h,
            p = this.textProperty.currentData;
          (this.renderedLetters = B(p ? p.l.length : 0)),
            p.fc
              ? this.layerElement.setAttribute("fill", this.buildColor(p.fc))
              : this.layerElement.setAttribute("fill", "rgba(0,0,0,0)"),
            p.sc &&
              (this.layerElement.setAttribute("stroke", this.buildColor(p.sc)),
              this.layerElement.setAttribute("stroke-width", p.sw)),
            this.layerElement.setAttribute("font-size", p.finalSize);
          var E = this.globalData.fontManager.getFontByName(p.f);
          if (E.fClass) this.layerElement.setAttribute("class", E.fClass);
          else {
            this.layerElement.setAttribute("font-family", E.fFamily);
            var S = p.fWeight,
              _ = p.fStyle;
            this.layerElement.setAttribute("font-style", _),
              this.layerElement.setAttribute("font-weight", S);
          }
          this.layerElement.setAttribute("aria-label", p.t);
          var k = p.l || [],
            z = !!this.globalData.fontManager.chars;
          h = k.length;
          var H,
            re = this.mHelper,
            ae = "",
            be = this.data.singleShape,
            K = 0,
            oe = 0,
            pe = !0,
            fe = p.tr * 0.001 * p.finalSize;
          if (be && !z && !p.sz) {
            var ye = this.textContainer,
              Ae = "start";
            switch (p.j) {
              case 1:
                Ae = "end";
                break;
              case 2:
                Ae = "middle";
                break;
              default:
                Ae = "start";
                break;
            }
            ye.setAttribute("text-anchor", Ae),
              ye.setAttribute("letter-spacing", fe);
            var J = this.buildTextContents(p.finalText);
            for (
              h = J.length, oe = p.ps ? p.ps[1] + p.ascent : 0, c = 0;
              c < h;
              c += 1
            )
              (H = this.textSpans[c].span || Te("tspan")),
                (H.textContent = J[c]),
                H.setAttribute("x", 0),
                H.setAttribute("y", oe),
                (H.style.display = "inherit"),
                ye.appendChild(H),
                this.textSpans[c] ||
                  (this.textSpans[c] = { span: null, glyph: null }),
                (this.textSpans[c].span = H),
                (oe += p.finalLineHeight);
            this.layerElement.appendChild(ye);
          } else {
            var N = this.textSpans.length,
              W;
            for (c = 0; c < h; c += 1) {
              if (
                (this.textSpans[c] ||
                  (this.textSpans[c] = {
                    span: null,
                    childSpan: null,
                    glyph: null,
                  }),
                !z || !be || c === 0)
              ) {
                if (
                  ((H = N > c ? this.textSpans[c].span : Te(z ? "g" : "text")),
                  N <= c)
                ) {
                  if (
                    (H.setAttribute("stroke-linecap", "butt"),
                    H.setAttribute("stroke-linejoin", "round"),
                    H.setAttribute("stroke-miterlimit", "4"),
                    (this.textSpans[c].span = H),
                    z)
                  ) {
                    var ne = Te("g");
                    H.appendChild(ne), (this.textSpans[c].childSpan = ne);
                  }
                  (this.textSpans[c].span = H),
                    this.layerElement.appendChild(H);
                }
                H.style.display = "inherit";
              }
              if (
                (re.reset(),
                be &&
                  (k[c].n &&
                    ((K = -fe),
                    (oe += p.yOffset),
                    (oe += pe ? 1 : 0),
                    (pe = !1)),
                  this.applyTextPropertiesToMatrix(p, re, k[c].line, K, oe),
                  (K += k[c].l || 0),
                  (K += fe)),
                z)
              ) {
                W = this.globalData.fontManager.getCharData(
                  p.finalText[c],
                  E.fStyle,
                  this.globalData.fontManager.getFontByName(p.f).fFamily,
                );
                var ge;
                if (W.t === 1) ge = new Go(W.data, this.globalData, this);
                else {
                  var Ee = Zx;
                  W.data &&
                    W.data.shapes &&
                    (Ee = this.buildShapeData(W.data, p.finalSize)),
                    (ge = new ur(Ee, this.globalData, this));
                }
                if (this.textSpans[c].glyph) {
                  var Qe = this.textSpans[c].glyph;
                  this.textSpans[c].childSpan.removeChild(Qe.layerElement),
                    Qe.destroy();
                }
                (this.textSpans[c].glyph = ge),
                  (ge._debug = !0),
                  ge.prepareFrame(0),
                  ge.renderFrame(),
                  this.textSpans[c].childSpan.appendChild(ge.layerElement),
                  W.t === 1 &&
                    this.textSpans[c].childSpan.setAttribute(
                      "transform",
                      "scale(" +
                        p.finalSize / 100 +
                        "," +
                        p.finalSize / 100 +
                        ")",
                    );
              } else
                be &&
                  H.setAttribute(
                    "transform",
                    "translate(" + re.props[12] + "," + re.props[13] + ")",
                  ),
                  (H.textContent = k[c].val),
                  H.setAttributeNS(
                    "http://www.w3.org/XML/1998/namespace",
                    "xml:space",
                    "preserve",
                  );
            }
            be && H && H.setAttribute("d", ae);
          }
          for (; c < this.textSpans.length; )
            (this.textSpans[c].span.style.display = "none"), (c += 1);
          this._sizeChanged = !0;
        }),
        (TA.prototype.sourceRectAtTime = function () {
          if (
            (this.prepareFrame(this.comp.renderedFrame - this.data.st),
            this.renderInnerContent(),
            this._sizeChanged)
          ) {
            this._sizeChanged = !1;
            var c = this.layerElement.getBBox();
            this.bbox = {
              top: c.y,
              left: c.x,
              width: c.width,
              height: c.height,
            };
          }
          return this.bbox;
        }),
        (TA.prototype.getValue = function () {
          var c,
            h = this.textSpans.length,
            p;
          for (
            this.renderedFrame = this.comp.renderedFrame, c = 0;
            c < h;
            c += 1
          )
            (p = this.textSpans[c].glyph),
              p &&
                (p.prepareFrame(this.comp.renderedFrame - this.data.st),
                p._mdf && (this._mdf = !0));
        }),
        (TA.prototype.renderInnerContent = function () {
          if (
            (this.validateText(),
            (!this.data.singleShape || this._mdf) &&
              (this.textAnimator.getMeasures(
                this.textProperty.currentData,
                this.lettersChangedFlag,
              ),
              this.lettersChangedFlag || this.textAnimator.lettersChangedFlag))
          ) {
            this._sizeChanged = !0;
            var c,
              h,
              p = this.textAnimator.renderedLetters,
              E = this.textProperty.currentData.l;
            h = E.length;
            var S, _, k;
            for (c = 0; c < h; c += 1)
              E[c].n ||
                ((S = p[c]),
                (_ = this.textSpans[c].span),
                (k = this.textSpans[c].glyph),
                k && k.renderFrame(),
                S._mdf.m && _.setAttribute("transform", S.m),
                S._mdf.o && _.setAttribute("opacity", S.o),
                S._mdf.sw && _.setAttribute("stroke-width", S.sw),
                S._mdf.sc && _.setAttribute("stroke", S.sc),
                S._mdf.fc && _.setAttribute("fill", S.fc));
          }
        });
      function o1(c, h, p) {
        this.initElement(c, h, p);
      }
      f([Ko], o1),
        (o1.prototype.createContent = function () {
          var c = Te("rect");
          c.setAttribute("width", this.data.sw),
            c.setAttribute("height", this.data.sh),
            c.setAttribute("fill", this.data.sc),
            this.layerElement.appendChild(c);
        });
      function Bi(c, h, p) {
        this.initFrame(),
          this.initBaseData(c, h, p),
          this.initFrame(),
          this.initTransform(c, h, p),
          this.initHierarchy();
      }
      (Bi.prototype.prepareFrame = function (c) {
        this.prepareProperties(c, !0);
      }),
        (Bi.prototype.renderFrame = function () {}),
        (Bi.prototype.getBaseElement = function () {
          return null;
        }),
        (Bi.prototype.destroy = function () {}),
        (Bi.prototype.sourceRectAtTime = function () {}),
        (Bi.prototype.hide = function () {}),
        f([gi, pa, ga, vi], Bi);
      function Sr() {}
      f([Gr], Sr),
        (Sr.prototype.createNull = function (c) {
          return new Bi(c, this.globalData, this);
        }),
        (Sr.prototype.createShape = function (c) {
          return new ur(c, this.globalData, this);
        }),
        (Sr.prototype.createText = function (c) {
          return new TA(c, this.globalData, this);
        }),
        (Sr.prototype.createImage = function (c) {
          return new Ko(c, this.globalData, this);
        }),
        (Sr.prototype.createSolid = function (c) {
          return new o1(c, this.globalData, this);
        }),
        (Sr.prototype.configAnimation = function (c) {
          this.svgElement.setAttribute("xmlns", "http://www.w3.org/2000/svg"),
            this.svgElement.setAttribute(
              "xmlns:xlink",
              "http://www.w3.org/1999/xlink",
            ),
            this.renderConfig.viewBoxSize
              ? this.svgElement.setAttribute(
                  "viewBox",
                  this.renderConfig.viewBoxSize,
                )
              : this.svgElement.setAttribute(
                  "viewBox",
                  "0 0 " + c.w + " " + c.h,
                ),
            this.renderConfig.viewBoxOnly ||
              (this.svgElement.setAttribute("width", c.w),
              this.svgElement.setAttribute("height", c.h),
              (this.svgElement.style.width = "100%"),
              (this.svgElement.style.height = "100%"),
              (this.svgElement.style.transform = "translate3d(0,0,0)"),
              (this.svgElement.style.contentVisibility =
                this.renderConfig.contentVisibility)),
            this.renderConfig.width &&
              this.svgElement.setAttribute("width", this.renderConfig.width),
            this.renderConfig.height &&
              this.svgElement.setAttribute("height", this.renderConfig.height),
            this.renderConfig.className &&
              this.svgElement.setAttribute(
                "class",
                this.renderConfig.className,
              ),
            this.renderConfig.id &&
              this.svgElement.setAttribute("id", this.renderConfig.id),
            this.renderConfig.focusable !== void 0 &&
              this.svgElement.setAttribute(
                "focusable",
                this.renderConfig.focusable,
              ),
            this.svgElement.setAttribute(
              "preserveAspectRatio",
              this.renderConfig.preserveAspectRatio,
            ),
            this.animationItem.wrapper.appendChild(this.svgElement);
          var h = this.globalData.defs;
          this.setupGlobalData(c, h),
            (this.globalData.progressiveLoad =
              this.renderConfig.progressiveLoad),
            (this.data = c);
          var p = Te("clipPath"),
            E = Te("rect");
          E.setAttribute("width", c.w),
            E.setAttribute("height", c.h),
            E.setAttribute("x", 0),
            E.setAttribute("y", 0);
          var S = q();
          p.setAttribute("id", S),
            p.appendChild(E),
            this.layerElement.setAttribute(
              "clip-path",
              "url(" + l() + "#" + S + ")",
            ),
            h.appendChild(p),
            (this.layers = c.layers),
            (this.elements = B(c.layers.length));
        }),
        (Sr.prototype.destroy = function () {
          this.animationItem.wrapper &&
            (this.animationItem.wrapper.innerText = ""),
            (this.layerElement = null),
            (this.globalData.defs = null);
          var c,
            h = this.layers ? this.layers.length : 0;
          for (c = 0; c < h; c += 1)
            this.elements[c] &&
              this.elements[c].destroy &&
              this.elements[c].destroy();
          (this.elements.length = 0),
            (this.destroyed = !0),
            (this.animationItem = null);
        }),
        (Sr.prototype.updateContainerSize = function () {}),
        (Sr.prototype.findIndexByInd = function (c) {
          var h = 0,
            p = this.layers.length;
          for (h = 0; h < p; h += 1) if (this.layers[h].ind === c) return h;
          return -1;
        }),
        (Sr.prototype.buildItem = function (c) {
          var h = this.elements;
          if (!(h[c] || this.layers[c].ty === 99)) {
            h[c] = !0;
            var p = this.createItem(this.layers[c]);
            if (
              ((h[c] = p),
              ie() &&
                (this.layers[c].ty === 0 &&
                  this.globalData.projectInterface.registerComposition(p),
                p.initExpressions()),
              this.appendElementInPos(p, c),
              this.layers[c].tt)
            ) {
              var E =
                "tp" in this.layers[c]
                  ? this.findIndexByInd(this.layers[c].tp)
                  : c - 1;
              if (E === -1) return;
              if (!this.elements[E] || this.elements[E] === !0)
                this.buildItem(E), this.addPendingElement(p);
              else {
                var S = h[E],
                  _ = S.getMatte(this.layers[c].tt);
                p.setMatte(_);
              }
            }
          }
        }),
        (Sr.prototype.checkPendingElements = function () {
          for (; this.pendingElements.length; ) {
            var c = this.pendingElements.pop();
            if ((c.checkParenting(), c.data.tt))
              for (var h = 0, p = this.elements.length; h < p; ) {
                if (this.elements[h] === c) {
                  var E =
                      "tp" in c.data ? this.findIndexByInd(c.data.tp) : h - 1,
                    S = this.elements[E],
                    _ = S.getMatte(this.layers[h].tt);
                  c.setMatte(_);
                  break;
                }
                h += 1;
              }
          }
        }),
        (Sr.prototype.renderFrame = function (c) {
          if (!(this.renderedFrame === c || this.destroyed)) {
            c === null ? (c = this.renderedFrame) : (this.renderedFrame = c),
              (this.globalData.frameNum = c),
              (this.globalData.frameId += 1),
              (this.globalData.projectInterface.currentFrame = c),
              (this.globalData._mdf = !1);
            var h,
              p = this.layers.length;
            for (
              this.completeLayers || this.checkLayers(c), h = p - 1;
              h >= 0;
              h -= 1
            )
              (this.completeLayers || this.elements[h]) &&
                this.elements[h].prepareFrame(c - this.layers[h].st);
            if (this.globalData._mdf)
              for (h = 0; h < p; h += 1)
                (this.completeLayers || this.elements[h]) &&
                  this.elements[h].renderFrame();
          }
        }),
        (Sr.prototype.appendElementInPos = function (c, h) {
          var p = c.getBaseElement();
          if (p) {
            for (var E = 0, S; E < h; )
              this.elements[E] &&
                this.elements[E] !== !0 &&
                this.elements[E].getBaseElement() &&
                (S = this.elements[E].getBaseElement()),
                (E += 1);
            S
              ? this.layerElement.insertBefore(p, S)
              : this.layerElement.appendChild(p);
          }
        }),
        (Sr.prototype.hide = function () {
          this.layerElement.style.display = "none";
        }),
        (Sr.prototype.show = function () {
          this.layerElement.style.display = "block";
        });
      function IA() {}
      f([gi, pa, ga, vi, $o], IA),
        (IA.prototype.initElement = function (c, h, p) {
          this.initFrame(),
            this.initBaseData(c, h, p),
            this.initTransform(c, h, p),
            this.initRenderable(),
            this.initHierarchy(),
            this.initRendererElement(),
            this.createContainerElements(),
            this.createRenderableComponents(),
            (this.data.xt || !h.progressiveLoad) && this.buildAllItems(),
            this.hide();
        }),
        (IA.prototype.prepareFrame = function (c) {
          if (
            ((this._mdf = !1),
            this.prepareRenderableFrame(c),
            this.prepareProperties(c, this.isInRange),
            !(!this.isInRange && !this.data.xt))
          ) {
            if (this.tm._placeholder) this.renderedFrame = c / this.data.sr;
            else {
              var h = this.tm.v;
              h === this.data.op && (h = this.data.op - 1),
                (this.renderedFrame = h);
            }
            var p,
              E = this.elements.length;
            for (
              this.completeLayers || this.checkLayers(this.renderedFrame),
                p = E - 1;
              p >= 0;
              p -= 1
            )
              (this.completeLayers || this.elements[p]) &&
                (this.elements[p].prepareFrame(
                  this.renderedFrame - this.layers[p].st,
                ),
                this.elements[p]._mdf && (this._mdf = !0));
          }
        }),
        (IA.prototype.renderInnerContent = function () {
          var c,
            h = this.layers.length;
          for (c = 0; c < h; c += 1)
            (this.completeLayers || this.elements[c]) &&
              this.elements[c].renderFrame();
        }),
        (IA.prototype.setElements = function (c) {
          this.elements = c;
        }),
        (IA.prototype.getElements = function () {
          return this.elements;
        }),
        (IA.prototype.destroyElements = function () {
          var c,
            h = this.layers.length;
          for (c = 0; c < h; c += 1)
            this.elements[c] && this.elements[c].destroy();
        }),
        (IA.prototype.destroy = function () {
          this.destroyElements(), this.destroyBaseElement();
        });
      function Go(c, h, p) {
        (this.layers = c.layers),
          (this.supports3d = !0),
          (this.completeLayers = !1),
          (this.pendingElements = []),
          (this.elements = this.layers ? B(this.layers.length) : []),
          this.initElement(c, h, p),
          (this.tm = c.tm
            ? Ge.getProp(this, c.tm, 0, h.frameRate, this)
            : { _placeholder: !0 });
      }
      f([Sr, IA, No], Go),
        (Go.prototype.createComp = function (c) {
          return new Go(c, this.globalData, this);
        });
      function l1(c, h) {
        (this.animationItem = c),
          (this.layers = null),
          (this.renderedFrame = -1),
          (this.svgElement = Te("svg"));
        var p = "";
        if (h && h.title) {
          var E = Te("title"),
            S = q();
          E.setAttribute("id", S),
            (E.textContent = h.title),
            this.svgElement.appendChild(E),
            (p += S);
        }
        if (h && h.description) {
          var _ = Te("desc"),
            k = q();
          _.setAttribute("id", k),
            (_.textContent = h.description),
            this.svgElement.appendChild(_),
            (p += " " + k);
        }
        p && this.svgElement.setAttribute("aria-labelledby", p);
        var z = Te("defs");
        this.svgElement.appendChild(z);
        var H = Te("g");
        this.svgElement.appendChild(H),
          (this.layerElement = H),
          (this.renderConfig = {
            preserveAspectRatio:
              (h && h.preserveAspectRatio) || "xMidYMid meet",
            imagePreserveAspectRatio:
              (h && h.imagePreserveAspectRatio) || "xMidYMid slice",
            contentVisibility: (h && h.contentVisibility) || "visible",
            progressiveLoad: (h && h.progressiveLoad) || !1,
            hideOnTransparent: !(h && h.hideOnTransparent === !1),
            viewBoxOnly: (h && h.viewBoxOnly) || !1,
            viewBoxSize: (h && h.viewBoxSize) || !1,
            className: (h && h.className) || "",
            id: (h && h.id) || "",
            focusable: h && h.focusable,
            filterSize: {
              width: (h && h.filterSize && h.filterSize.width) || "100%",
              height: (h && h.filterSize && h.filterSize.height) || "100%",
              x: (h && h.filterSize && h.filterSize.x) || "0%",
              y: (h && h.filterSize && h.filterSize.y) || "0%",
            },
            width: h && h.width,
            height: h && h.height,
            runExpressions:
              !h || h.runExpressions === void 0 || h.runExpressions,
          }),
          (this.globalData = {
            _mdf: !1,
            frameNum: -1,
            defs: z,
            renderConfig: this.renderConfig,
          }),
          (this.elements = []),
          (this.pendingElements = []),
          (this.destroyed = !1),
          (this.rendererType = "svg");
      }
      return (
        f([Sr], l1),
        (l1.prototype.createComp = function (c) {
          return new Go(c, this.globalData, this);
        }),
        He("svg", l1),
        hi.registerModifier("tm", Gn),
        hi.registerModifier("pb", Po),
        hi.registerModifier("rp", cA),
        hi.registerModifier("rd", Oo),
        hi.registerModifier("zz", ko),
        hi.registerModifier("op", Ho),
        Ot
      );
    });
})(vh, vh.exports);
var RW = vh.exports;
const fne = xo(RW);
function Sm(e) {
  return (
    e !== null &&
    typeof e == "object" &&
    "constructor" in e &&
    e.constructor === Object
  );
}
function Yp(e = {}, t = {}) {
  Object.keys(t).forEach((r) => {
    typeof e[r] > "u"
      ? (e[r] = t[r])
      : Sm(t[r]) && Sm(e[r]) && Object.keys(t[r]).length > 0 && Yp(e[r], t[r]);
  });
}
const Uy = {
  body: {},
  addEventListener() {},
  removeEventListener() {},
  activeElement: { blur() {}, nodeName: "" },
  querySelector() {
    return null;
  },
  querySelectorAll() {
    return [];
  },
  getElementById() {
    return null;
  },
  createEvent() {
    return { initEvent() {} };
  },
  createElement() {
    return {
      children: [],
      childNodes: [],
      style: {},
      setAttribute() {},
      getElementsByTagName() {
        return [];
      },
    };
  },
  createElementNS() {
    return {};
  },
  importNode() {
    return null;
  },
  location: {
    hash: "",
    host: "",
    hostname: "",
    href: "",
    origin: "",
    pathname: "",
    protocol: "",
    search: "",
  },
};
function Xr() {
  const e = typeof document < "u" ? document : {};
  return Yp(e, Uy), e;
}
const NW = {
  document: Uy,
  navigator: { userAgent: "" },
  location: {
    hash: "",
    host: "",
    hostname: "",
    href: "",
    origin: "",
    pathname: "",
    protocol: "",
    search: "",
  },
  history: { replaceState() {}, pushState() {}, go() {}, back() {} },
  CustomEvent: function () {
    return this;
  },
  addEventListener() {},
  removeEventListener() {},
  getComputedStyle() {
    return {
      getPropertyValue() {
        return "";
      },
    };
  },
  Image() {},
  Date() {},
  screen: {},
  setTimeout() {},
  clearTimeout() {},
  matchMedia() {
    return {};
  },
  requestAnimationFrame(e) {
    return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
  },
  cancelAnimationFrame(e) {
    typeof setTimeout > "u" || clearTimeout(e);
  },
};
function Lr() {
  const e = typeof window < "u" ? window : {};
  return Yp(e, NW), e;
}
function $W(e) {
  const t = e.__proto__;
  Object.defineProperty(e, "__proto__", {
    get() {
      return t;
    },
    set(r) {
      t.__proto__ = r;
    },
  });
}
class $i extends Array {
  constructor(t) {
    typeof t == "number" ? super(t) : (super(...(t || [])), $W(this));
  }
}
function S0(e = []) {
  const t = [];
  return (
    e.forEach((r) => {
      Array.isArray(r) ? t.push(...S0(r)) : t.push(r);
    }),
    t
  );
}
function Ty(e, t) {
  return Array.prototype.filter.call(e, t);
}
function KW(e) {
  const t = [];
  for (let r = 0; r < e.length; r += 1) t.indexOf(e[r]) === -1 && t.push(e[r]);
  return t;
}
function VW(e, t) {
  if (typeof e != "string") return [e];
  const r = [],
    n = t.querySelectorAll(e);
  for (let A = 0; A < n.length; A += 1) r.push(n[A]);
  return r;
}
function At(e, t) {
  const r = Lr(),
    n = Xr();
  let A = [];
  if (!t && e instanceof $i) return e;
  if (!e) return new $i(A);
  if (typeof e == "string") {
    const i = e.trim();
    if (i.indexOf("<") >= 0 && i.indexOf(">") >= 0) {
      let s = "div";
      i.indexOf("<li") === 0 && (s = "ul"),
        i.indexOf("<tr") === 0 && (s = "tbody"),
        (i.indexOf("<td") === 0 || i.indexOf("<th") === 0) && (s = "tr"),
        i.indexOf("<tbody") === 0 && (s = "table"),
        i.indexOf("<option") === 0 && (s = "select");
      const a = n.createElement(s);
      a.innerHTML = i;
      for (let o = 0; o < a.childNodes.length; o += 1) A.push(a.childNodes[o]);
    } else A = VW(e.trim(), t || n);
  } else if (e.nodeType || e === r || e === n) A.push(e);
  else if (Array.isArray(e)) {
    if (e instanceof $i) return e;
    A = e;
  }
  return new $i(KW(A));
}
At.fn = $i.prototype;
function GW(...e) {
  const t = S0(e.map((r) => r.split(" ")));
  return (
    this.forEach((r) => {
      r.classList.add(...t);
    }),
    this
  );
}
function WW(...e) {
  const t = S0(e.map((r) => r.split(" ")));
  return (
    this.forEach((r) => {
      r.classList.remove(...t);
    }),
    this
  );
}
function zW(...e) {
  const t = S0(e.map((r) => r.split(" ")));
  this.forEach((r) => {
    t.forEach((n) => {
      r.classList.toggle(n);
    });
  });
}
function jW(...e) {
  const t = S0(e.map((r) => r.split(" ")));
  return (
    Ty(this, (r) => t.filter((n) => r.classList.contains(n)).length > 0)
      .length > 0
  );
}
function YW(e, t) {
  if (arguments.length === 1 && typeof e == "string")
    return this[0] ? this[0].getAttribute(e) : void 0;
  for (let r = 0; r < this.length; r += 1)
    if (arguments.length === 2) this[r].setAttribute(e, t);
    else for (const n in e) (this[r][n] = e[n]), this[r].setAttribute(n, e[n]);
  return this;
}
function XW(e) {
  for (let t = 0; t < this.length; t += 1) this[t].removeAttribute(e);
  return this;
}
function JW(e) {
  for (let t = 0; t < this.length; t += 1) this[t].style.transform = e;
  return this;
}
function qW(e) {
  for (let t = 0; t < this.length; t += 1)
    this[t].style.transitionDuration = typeof e != "string" ? `${e}ms` : e;
  return this;
}
function ZW(...e) {
  let [t, r, n, A] = e;
  typeof e[1] == "function" && (([t, n, A] = e), (r = void 0)), A || (A = !1);
  function i(l) {
    const u = l.target;
    if (!u) return;
    const f = l.target.dom7EventData || [];
    if ((f.indexOf(l) < 0 && f.unshift(l), At(u).is(r))) n.apply(u, f);
    else {
      const d = At(u).parents();
      for (let g = 0; g < d.length; g += 1) At(d[g]).is(r) && n.apply(d[g], f);
    }
  }
  function s(l) {
    const u = l && l.target ? l.target.dom7EventData || [] : [];
    u.indexOf(l) < 0 && u.unshift(l), n.apply(this, u);
  }
  const a = t.split(" ");
  let o;
  for (let l = 0; l < this.length; l += 1) {
    const u = this[l];
    if (r)
      for (o = 0; o < a.length; o += 1) {
        const f = a[o];
        u.dom7LiveListeners || (u.dom7LiveListeners = {}),
          u.dom7LiveListeners[f] || (u.dom7LiveListeners[f] = []),
          u.dom7LiveListeners[f].push({ listener: n, proxyListener: i }),
          u.addEventListener(f, i, A);
      }
    else
      for (o = 0; o < a.length; o += 1) {
        const f = a[o];
        u.dom7Listeners || (u.dom7Listeners = {}),
          u.dom7Listeners[f] || (u.dom7Listeners[f] = []),
          u.dom7Listeners[f].push({ listener: n, proxyListener: s }),
          u.addEventListener(f, s, A);
      }
  }
  return this;
}
function ez(...e) {
  let [t, r, n, A] = e;
  typeof e[1] == "function" && (([t, n, A] = e), (r = void 0)), A || (A = !1);
  const i = t.split(" ");
  for (let s = 0; s < i.length; s += 1) {
    const a = i[s];
    for (let o = 0; o < this.length; o += 1) {
      const l = this[o];
      let u;
      if (
        (!r && l.dom7Listeners
          ? (u = l.dom7Listeners[a])
          : r && l.dom7LiveListeners && (u = l.dom7LiveListeners[a]),
        u && u.length)
      )
        for (let f = u.length - 1; f >= 0; f -= 1) {
          const d = u[f];
          (n && d.listener === n) ||
          (n &&
            d.listener &&
            d.listener.dom7proxy &&
            d.listener.dom7proxy === n)
            ? (l.removeEventListener(a, d.proxyListener, A), u.splice(f, 1))
            : n ||
              (l.removeEventListener(a, d.proxyListener, A), u.splice(f, 1));
        }
    }
  }
  return this;
}
function tz(...e) {
  const t = Lr(),
    r = e[0].split(" "),
    n = e[1];
  for (let A = 0; A < r.length; A += 1) {
    const i = r[A];
    for (let s = 0; s < this.length; s += 1) {
      const a = this[s];
      if (t.CustomEvent) {
        const o = new t.CustomEvent(i, {
          detail: n,
          bubbles: !0,
          cancelable: !0,
        });
        (a.dom7EventData = e.filter((l, u) => u > 0)),
          a.dispatchEvent(o),
          (a.dom7EventData = []),
          delete a.dom7EventData;
      }
    }
  }
  return this;
}
function rz(e) {
  const t = this;
  function r(n) {
    n.target === this && (e.call(this, n), t.off("transitionend", r));
  }
  return e && t.on("transitionend", r), this;
}
function nz(e) {
  if (this.length > 0) {
    if (e) {
      const t = this.styles();
      return (
        this[0].offsetWidth +
        parseFloat(t.getPropertyValue("margin-right")) +
        parseFloat(t.getPropertyValue("margin-left"))
      );
    }
    return this[0].offsetWidth;
  }
  return null;
}
function Az(e) {
  if (this.length > 0) {
    if (e) {
      const t = this.styles();
      return (
        this[0].offsetHeight +
        parseFloat(t.getPropertyValue("margin-top")) +
        parseFloat(t.getPropertyValue("margin-bottom"))
      );
    }
    return this[0].offsetHeight;
  }
  return null;
}
function iz() {
  if (this.length > 0) {
    const e = Lr(),
      t = Xr(),
      r = this[0],
      n = r.getBoundingClientRect(),
      A = t.body,
      i = r.clientTop || A.clientTop || 0,
      s = r.clientLeft || A.clientLeft || 0,
      a = r === e ? e.scrollY : r.scrollTop,
      o = r === e ? e.scrollX : r.scrollLeft;
    return { top: n.top + a - i, left: n.left + o - s };
  }
  return null;
}
function sz() {
  const e = Lr();
  return this[0] ? e.getComputedStyle(this[0], null) : {};
}
function az(e, t) {
  const r = Lr();
  let n;
  if (arguments.length === 1)
    if (typeof e == "string") {
      if (this[0]) return r.getComputedStyle(this[0], null).getPropertyValue(e);
    } else {
      for (n = 0; n < this.length; n += 1)
        for (const A in e) this[n].style[A] = e[A];
      return this;
    }
  if (arguments.length === 2 && typeof e == "string") {
    for (n = 0; n < this.length; n += 1) this[n].style[e] = t;
    return this;
  }
  return this;
}
function oz(e) {
  return e
    ? (this.forEach((t, r) => {
        e.apply(t, [t, r]);
      }),
      this)
    : this;
}
function lz(e) {
  const t = Ty(this, e);
  return At(t);
}
function uz(e) {
  if (typeof e > "u") return this[0] ? this[0].innerHTML : null;
  for (let t = 0; t < this.length; t += 1) this[t].innerHTML = e;
  return this;
}
function cz(e) {
  if (typeof e > "u") return this[0] ? this[0].textContent.trim() : null;
  for (let t = 0; t < this.length; t += 1) this[t].textContent = e;
  return this;
}
function fz(e) {
  const t = Lr(),
    r = Xr(),
    n = this[0];
  let A, i;
  if (!n || typeof e > "u") return !1;
  if (typeof e == "string") {
    if (n.matches) return n.matches(e);
    if (n.webkitMatchesSelector) return n.webkitMatchesSelector(e);
    if (n.msMatchesSelector) return n.msMatchesSelector(e);
    for (A = At(e), i = 0; i < A.length; i += 1) if (A[i] === n) return !0;
    return !1;
  }
  if (e === r) return n === r;
  if (e === t) return n === t;
  if (e.nodeType || e instanceof $i) {
    for (A = e.nodeType ? [e] : e, i = 0; i < A.length; i += 1)
      if (A[i] === n) return !0;
    return !1;
  }
  return !1;
}
function dz() {
  let e = this[0],
    t;
  if (e) {
    for (t = 0; (e = e.previousSibling) !== null; )
      e.nodeType === 1 && (t += 1);
    return t;
  }
}
function hz(e) {
  if (typeof e > "u") return this;
  const t = this.length;
  if (e > t - 1) return At([]);
  if (e < 0) {
    const r = t + e;
    return r < 0 ? At([]) : At([this[r]]);
  }
  return At([this[e]]);
}
function pz(...e) {
  let t;
  const r = Xr();
  for (let n = 0; n < e.length; n += 1) {
    t = e[n];
    for (let A = 0; A < this.length; A += 1)
      if (typeof t == "string") {
        const i = r.createElement("div");
        for (i.innerHTML = t; i.firstChild; ) this[A].appendChild(i.firstChild);
      } else if (t instanceof $i)
        for (let i = 0; i < t.length; i += 1) this[A].appendChild(t[i]);
      else this[A].appendChild(t);
  }
  return this;
}
function gz(e) {
  const t = Xr();
  let r, n;
  for (r = 0; r < this.length; r += 1)
    if (typeof e == "string") {
      const A = t.createElement("div");
      for (A.innerHTML = e, n = A.childNodes.length - 1; n >= 0; n -= 1)
        this[r].insertBefore(A.childNodes[n], this[r].childNodes[0]);
    } else if (e instanceof $i)
      for (n = 0; n < e.length; n += 1)
        this[r].insertBefore(e[n], this[r].childNodes[0]);
    else this[r].insertBefore(e, this[r].childNodes[0]);
  return this;
}
function vz(e) {
  return this.length > 0
    ? e
      ? this[0].nextElementSibling && At(this[0].nextElementSibling).is(e)
        ? At([this[0].nextElementSibling])
        : At([])
      : this[0].nextElementSibling
        ? At([this[0].nextElementSibling])
        : At([])
    : At([]);
}
function mz(e) {
  const t = [];
  let r = this[0];
  if (!r) return At([]);
  for (; r.nextElementSibling; ) {
    const n = r.nextElementSibling;
    e ? At(n).is(e) && t.push(n) : t.push(n), (r = n);
  }
  return At(t);
}
function Bz(e) {
  if (this.length > 0) {
    const t = this[0];
    return e
      ? t.previousElementSibling && At(t.previousElementSibling).is(e)
        ? At([t.previousElementSibling])
        : At([])
      : t.previousElementSibling
        ? At([t.previousElementSibling])
        : At([]);
  }
  return At([]);
}
function wz(e) {
  const t = [];
  let r = this[0];
  if (!r) return At([]);
  for (; r.previousElementSibling; ) {
    const n = r.previousElementSibling;
    e ? At(n).is(e) && t.push(n) : t.push(n), (r = n);
  }
  return At(t);
}
function yz(e) {
  const t = [];
  for (let r = 0; r < this.length; r += 1)
    this[r].parentNode !== null &&
      (e
        ? At(this[r].parentNode).is(e) && t.push(this[r].parentNode)
        : t.push(this[r].parentNode));
  return At(t);
}
function Cz(e) {
  const t = [];
  for (let r = 0; r < this.length; r += 1) {
    let n = this[r].parentNode;
    for (; n; ) e ? At(n).is(e) && t.push(n) : t.push(n), (n = n.parentNode);
  }
  return At(t);
}
function xz(e) {
  let t = this;
  return typeof e > "u" ? At([]) : (t.is(e) || (t = t.parents(e).eq(0)), t);
}
function Ez(e) {
  const t = [];
  for (let r = 0; r < this.length; r += 1) {
    const n = this[r].querySelectorAll(e);
    for (let A = 0; A < n.length; A += 1) t.push(n[A]);
  }
  return At(t);
}
function bz(e) {
  const t = [];
  for (let r = 0; r < this.length; r += 1) {
    const n = this[r].children;
    for (let A = 0; A < n.length; A += 1)
      (!e || At(n[A]).is(e)) && t.push(n[A]);
  }
  return At(t);
}
function Fz() {
  for (let e = 0; e < this.length; e += 1)
    this[e].parentNode && this[e].parentNode.removeChild(this[e]);
  return this;
}
const Qm = {
  addClass: GW,
  removeClass: WW,
  hasClass: jW,
  toggleClass: zW,
  attr: YW,
  removeAttr: XW,
  transform: JW,
  transition: qW,
  on: ZW,
  off: ez,
  trigger: tz,
  transitionEnd: rz,
  outerWidth: nz,
  outerHeight: Az,
  styles: sz,
  offset: iz,
  css: az,
  each: oz,
  html: uz,
  text: cz,
  is: fz,
  index: dz,
  eq: hz,
  append: pz,
  prepend: gz,
  next: vz,
  nextAll: mz,
  prev: Bz,
  prevAll: wz,
  parent: yz,
  parents: Cz,
  closest: xz,
  find: Ez,
  children: bz,
  filter: lz,
  remove: Fz,
};
Object.keys(Qm).forEach((e) => {
  Object.defineProperty(At.fn, e, { value: Qm[e], writable: !0 });
});
function _z(e) {
  const t = e;
  Object.keys(t).forEach((r) => {
    try {
      t[r] = null;
    } catch {}
    try {
      delete t[r];
    } catch {}
  });
}
function Bc(e, t = 0) {
  return setTimeout(e, t);
}
function r0() {
  return Date.now();
}
function Sz(e) {
  const t = Lr();
  let r;
  return (
    t.getComputedStyle && (r = t.getComputedStyle(e, null)),
    !r && e.currentStyle && (r = e.currentStyle),
    r || (r = e.style),
    r
  );
}
function Qz(e, t = "x") {
  const r = Lr();
  let n, A, i;
  const s = Sz(e);
  return (
    r.WebKitCSSMatrix
      ? ((A = s.transform || s.webkitTransform),
        A.split(",").length > 6 &&
          (A = A.split(", ")
            .map((a) => a.replace(",", "."))
            .join(", ")),
        (i = new r.WebKitCSSMatrix(A === "none" ? "" : A)))
      : ((i =
          s.MozTransform ||
          s.OTransform ||
          s.MsTransform ||
          s.msTransform ||
          s.transform ||
          s
            .getPropertyValue("transform")
            .replace("translate(", "matrix(1, 0, 0, 1,")),
        (n = i.toString().split(","))),
    t === "x" &&
      (r.WebKitCSSMatrix
        ? (A = i.m41)
        : n.length === 16
          ? (A = parseFloat(n[12]))
          : (A = parseFloat(n[4]))),
    t === "y" &&
      (r.WebKitCSSMatrix
        ? (A = i.m42)
        : n.length === 16
          ? (A = parseFloat(n[13]))
          : (A = parseFloat(n[5]))),
    A || 0
  );
}
function du(e) {
  return (
    typeof e == "object" &&
    e !== null &&
    e.constructor &&
    Object.prototype.toString.call(e).slice(8, -1) === "Object"
  );
}
function Uz(e) {
  return typeof window < "u" && typeof window.HTMLElement < "u"
    ? e instanceof HTMLElement
    : e && (e.nodeType === 1 || e.nodeType === 11);
}
function _n(...e) {
  const t = Object(e[0]),
    r = ["__proto__", "constructor", "prototype"];
  for (let n = 1; n < e.length; n += 1) {
    const A = e[n];
    if (A != null && !Uz(A)) {
      const i = Object.keys(Object(A)).filter((s) => r.indexOf(s) < 0);
      for (let s = 0, a = i.length; s < a; s += 1) {
        const o = i[s],
          l = Object.getOwnPropertyDescriptor(A, o);
        l !== void 0 &&
          l.enumerable &&
          (du(t[o]) && du(A[o])
            ? A[o].__swiper__
              ? (t[o] = A[o])
              : _n(t[o], A[o])
            : !du(t[o]) && du(A[o])
              ? ((t[o] = {}), A[o].__swiper__ ? (t[o] = A[o]) : _n(t[o], A[o]))
              : (t[o] = A[o]));
      }
    }
  }
  return t;
}
function hu(e, t, r) {
  e.style.setProperty(t, r);
}
function Iy({ swiper: e, targetPosition: t, side: r }) {
  const n = Lr(),
    A = -e.translate;
  let i = null,
    s;
  const a = e.params.speed;
  (e.wrapperEl.style.scrollSnapType = "none"),
    n.cancelAnimationFrame(e.cssModeFrameID);
  const o = t > A ? "next" : "prev",
    l = (f, d) => (o === "next" && f >= d) || (o === "prev" && f <= d),
    u = () => {
      (s = new Date().getTime()), i === null && (i = s);
      const f = Math.max(Math.min((s - i) / a, 1), 0),
        d = 0.5 - Math.cos(f * Math.PI) / 2;
      let g = A + d * (t - A);
      if ((l(g, t) && (g = t), e.wrapperEl.scrollTo({ [r]: g }), l(g, t))) {
        (e.wrapperEl.style.overflow = "hidden"),
          (e.wrapperEl.style.scrollSnapType = ""),
          setTimeout(() => {
            (e.wrapperEl.style.overflow = ""), e.wrapperEl.scrollTo({ [r]: g });
          }),
          n.cancelAnimationFrame(e.cssModeFrameID);
        return;
      }
      e.cssModeFrameID = n.requestAnimationFrame(u);
    };
  u();
}
let Sd;
function Tz() {
  const e = Lr(),
    t = Xr();
  return {
    smoothScroll:
      t.documentElement && "scrollBehavior" in t.documentElement.style,
    touch: !!(
      "ontouchstart" in e ||
      (e.DocumentTouch && t instanceof e.DocumentTouch)
    ),
    passiveListener: (function () {
      let n = !1;
      try {
        const A = Object.defineProperty({}, "passive", {
          get() {
            n = !0;
          },
        });
        e.addEventListener("testPassiveListener", null, A);
      } catch {}
      return n;
    })(),
    gestures: (function () {
      return "ongesturestart" in e;
    })(),
  };
}
function Dy() {
  return Sd || (Sd = Tz()), Sd;
}
let Qd;
function Iz({ userAgent: e } = {}) {
  const t = Dy(),
    r = Lr(),
    n = r.navigator.platform,
    A = e || r.navigator.userAgent,
    i = { ios: !1, android: !1 },
    s = r.screen.width,
    a = r.screen.height,
    o = A.match(/(Android);?[\s\/]+([\d.]+)?/);
  let l = A.match(/(iPad).*OS\s([\d_]+)/);
  const u = A.match(/(iPod)(.*OS\s([\d_]+))?/),
    f = !l && A.match(/(iPhone\sOS|iOS)\s([\d_]+)/),
    d = n === "Win32";
  let g = n === "MacIntel";
  const v = [
    "1024x1366",
    "1366x1024",
    "834x1194",
    "1194x834",
    "834x1112",
    "1112x834",
    "768x1024",
    "1024x768",
    "820x1180",
    "1180x820",
    "810x1080",
    "1080x810",
  ];
  return (
    !l &&
      g &&
      t.touch &&
      v.indexOf(`${s}x${a}`) >= 0 &&
      ((l = A.match(/(Version)\/([\d.]+)/)),
      l || (l = [0, 1, "13_0_0"]),
      (g = !1)),
    o && !d && ((i.os = "android"), (i.android = !0)),
    (l || f || u) && ((i.os = "ios"), (i.ios = !0)),
    i
  );
}
function Dz(e = {}) {
  return Qd || (Qd = Iz(e)), Qd;
}
let Ud;
function Pz() {
  const e = Lr();
  function t() {
    const r = e.navigator.userAgent.toLowerCase();
    return (
      r.indexOf("safari") >= 0 &&
      r.indexOf("chrome") < 0 &&
      r.indexOf("android") < 0
    );
  }
  return {
    isSafari: t(),
    isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(
      e.navigator.userAgent,
    ),
  };
}
function Oz() {
  return Ud || (Ud = Pz()), Ud;
}
function Lz({ swiper: e, on: t, emit: r }) {
  const n = Lr();
  let A = null,
    i = null;
  const s = () => {
      !e || e.destroyed || !e.initialized || (r("beforeResize"), r("resize"));
    },
    a = () => {
      !e ||
        e.destroyed ||
        !e.initialized ||
        ((A = new ResizeObserver((u) => {
          i = n.requestAnimationFrame(() => {
            const { width: f, height: d } = e;
            let g = f,
              v = d;
            u.forEach(({ contentBoxSize: B, contentRect: y, target: w }) => {
              (w && w !== e.el) ||
                ((g = y ? y.width : (B[0] || B).inlineSize),
                (v = y ? y.height : (B[0] || B).blockSize));
            }),
              (g !== f || v !== d) && s();
          });
        })),
        A.observe(e.el));
    },
    o = () => {
      i && n.cancelAnimationFrame(i),
        A && A.unobserve && e.el && (A.unobserve(e.el), (A = null));
    },
    l = () => {
      !e || e.destroyed || !e.initialized || r("orientationchange");
    };
  t("init", () => {
    if (e.params.resizeObserver && typeof n.ResizeObserver < "u") {
      a();
      return;
    }
    n.addEventListener("resize", s), n.addEventListener("orientationchange", l);
  }),
    t("destroy", () => {
      o(),
        n.removeEventListener("resize", s),
        n.removeEventListener("orientationchange", l);
    });
}
function kz({ swiper: e, extendParams: t, on: r, emit: n }) {
  const A = [],
    i = Lr(),
    s = (l, u = {}) => {
      const f = i.MutationObserver || i.WebkitMutationObserver,
        d = new f((g) => {
          if (g.length === 1) {
            n("observerUpdate", g[0]);
            return;
          }
          const v = function () {
            n("observerUpdate", g[0]);
          };
          i.requestAnimationFrame
            ? i.requestAnimationFrame(v)
            : i.setTimeout(v, 0);
        });
      d.observe(l, {
        attributes: typeof u.attributes > "u" ? !0 : u.attributes,
        childList: typeof u.childList > "u" ? !0 : u.childList,
        characterData: typeof u.characterData > "u" ? !0 : u.characterData,
      }),
        A.push(d);
    },
    a = () => {
      if (e.params.observer) {
        if (e.params.observeParents) {
          const l = e.$el.parents();
          for (let u = 0; u < l.length; u += 1) s(l[u]);
        }
        s(e.$el[0], { childList: e.params.observeSlideChildren }),
          s(e.$wrapperEl[0], { attributes: !1 });
      }
    },
    o = () => {
      A.forEach((l) => {
        l.disconnect();
      }),
        A.splice(0, A.length);
    };
  t({ observer: !1, observeParents: !1, observeSlideChildren: !1 }),
    r("init", a),
    r("destroy", o);
}
const Hz = {
  on(e, t, r) {
    const n = this;
    if (!n.eventsListeners || n.destroyed || typeof t != "function") return n;
    const A = r ? "unshift" : "push";
    return (
      e.split(" ").forEach((i) => {
        n.eventsListeners[i] || (n.eventsListeners[i] = []),
          n.eventsListeners[i][A](t);
      }),
      n
    );
  },
  once(e, t, r) {
    const n = this;
    if (!n.eventsListeners || n.destroyed || typeof t != "function") return n;
    function A(...i) {
      n.off(e, A), A.__emitterProxy && delete A.__emitterProxy, t.apply(n, i);
    }
    return (A.__emitterProxy = t), n.on(e, A, r);
  },
  onAny(e, t) {
    const r = this;
    if (!r.eventsListeners || r.destroyed || typeof e != "function") return r;
    const n = t ? "unshift" : "push";
    return r.eventsAnyListeners.indexOf(e) < 0 && r.eventsAnyListeners[n](e), r;
  },
  offAny(e) {
    const t = this;
    if (!t.eventsListeners || t.destroyed || !t.eventsAnyListeners) return t;
    const r = t.eventsAnyListeners.indexOf(e);
    return r >= 0 && t.eventsAnyListeners.splice(r, 1), t;
  },
  off(e, t) {
    const r = this;
    return (
      !r.eventsListeners ||
        r.destroyed ||
        !r.eventsListeners ||
        e.split(" ").forEach((n) => {
          typeof t > "u"
            ? (r.eventsListeners[n] = [])
            : r.eventsListeners[n] &&
              r.eventsListeners[n].forEach((A, i) => {
                (A === t || (A.__emitterProxy && A.__emitterProxy === t)) &&
                  r.eventsListeners[n].splice(i, 1);
              });
        }),
      r
    );
  },
  emit(...e) {
    const t = this;
    if (!t.eventsListeners || t.destroyed || !t.eventsListeners) return t;
    let r, n, A;
    return (
      typeof e[0] == "string" || Array.isArray(e[0])
        ? ((r = e[0]), (n = e.slice(1, e.length)), (A = t))
        : ((r = e[0].events), (n = e[0].data), (A = e[0].context || t)),
      n.unshift(A),
      (Array.isArray(r) ? r : r.split(" ")).forEach((s) => {
        t.eventsAnyListeners &&
          t.eventsAnyListeners.length &&
          t.eventsAnyListeners.forEach((a) => {
            a.apply(A, [s, ...n]);
          }),
          t.eventsListeners &&
            t.eventsListeners[s] &&
            t.eventsListeners[s].forEach((a) => {
              a.apply(A, n);
            });
      }),
      t
    );
  },
};
function Mz() {
  const e = this;
  let t, r;
  const n = e.$el;
  typeof e.params.width < "u" && e.params.width !== null
    ? (t = e.params.width)
    : (t = n[0].clientWidth),
    typeof e.params.height < "u" && e.params.height !== null
      ? (r = e.params.height)
      : (r = n[0].clientHeight),
    !((t === 0 && e.isHorizontal()) || (r === 0 && e.isVertical())) &&
      ((t =
        t -
        parseInt(n.css("padding-left") || 0, 10) -
        parseInt(n.css("padding-right") || 0, 10)),
      (r =
        r -
        parseInt(n.css("padding-top") || 0, 10) -
        parseInt(n.css("padding-bottom") || 0, 10)),
      Number.isNaN(t) && (t = 0),
      Number.isNaN(r) && (r = 0),
      Object.assign(e, {
        width: t,
        height: r,
        size: e.isHorizontal() ? t : r,
      }));
}
function Rz() {
  const e = this;
  function t(U) {
    return e.isHorizontal()
      ? U
      : {
          width: "height",
          "margin-top": "margin-left",
          "margin-bottom ": "margin-right",
          "margin-left": "margin-top",
          "margin-right": "margin-bottom",
          "padding-left": "padding-top",
          "padding-right": "padding-bottom",
          marginRight: "marginBottom",
        }[U];
  }
  function r(U, Q) {
    return parseFloat(U.getPropertyValue(t(Q)) || 0);
  }
  const n = e.params,
    { $wrapperEl: A, size: i, rtlTranslate: s, wrongRTL: a } = e,
    o = e.virtual && n.virtual.enabled,
    l = o ? e.virtual.slides.length : e.slides.length,
    u = A.children(`.${e.params.slideClass}`),
    f = o ? e.virtual.slides.length : u.length;
  let d = [];
  const g = [],
    v = [];
  let B = n.slidesOffsetBefore;
  typeof B == "function" && (B = n.slidesOffsetBefore.call(e));
  let y = n.slidesOffsetAfter;
  typeof y == "function" && (y = n.slidesOffsetAfter.call(e));
  const w = e.snapGrid.length,
    m = e.slidesGrid.length;
  let x = n.spaceBetween,
    C = -B,
    b = 0,
    F = 0;
  if (typeof i > "u") return;
  typeof x == "string" &&
    x.indexOf("%") >= 0 &&
    (x = (parseFloat(x.replace("%", "")) / 100) * i),
    (e.virtualSize = -x),
    s
      ? u.css({ marginLeft: "", marginBottom: "", marginTop: "" })
      : u.css({ marginRight: "", marginBottom: "", marginTop: "" }),
    n.centeredSlides &&
      n.cssMode &&
      (hu(e.wrapperEl, "--swiper-centered-offset-before", ""),
      hu(e.wrapperEl, "--swiper-centered-offset-after", ""));
  const I = n.grid && n.grid.rows > 1 && e.grid;
  I && e.grid.initSlides(f);
  let T;
  const D =
    n.slidesPerView === "auto" &&
    n.breakpoints &&
    Object.keys(n.breakpoints).filter(
      (U) => typeof n.breakpoints[U].slidesPerView < "u",
    ).length > 0;
  for (let U = 0; U < f; U += 1) {
    T = 0;
    const Q = u.eq(U);
    if ((I && e.grid.updateSlide(U, Q, f, t), Q.css("display") !== "none")) {
      if (n.slidesPerView === "auto") {
        D && (u[U].style[t("width")] = "");
        const L = getComputedStyle(Q[0]),
          $ = Q[0].style.transform,
          X = Q[0].style.webkitTransform;
        if (
          ($ && (Q[0].style.transform = "none"),
          X && (Q[0].style.webkitTransform = "none"),
          n.roundLengths)
        )
          T = e.isHorizontal() ? Q.outerWidth(!0) : Q.outerHeight(!0);
        else {
          const V = r(L, "width"),
            G = r(L, "padding-left"),
            le = r(L, "padding-right"),
            q = r(L, "margin-left"),
            ue = r(L, "margin-right"),
            Ce = L.getPropertyValue("box-sizing");
          if (Ce && Ce === "border-box") T = V + q + ue;
          else {
            const { clientWidth: ee, offsetWidth: ce } = Q[0];
            T = V + G + le + q + ue + (ce - ee);
          }
        }
        $ && (Q[0].style.transform = $),
          X && (Q[0].style.webkitTransform = X),
          n.roundLengths && (T = Math.floor(T));
      } else
        (T = (i - (n.slidesPerView - 1) * x) / n.slidesPerView),
          n.roundLengths && (T = Math.floor(T)),
          u[U] && (u[U].style[t("width")] = `${T}px`);
      u[U] && (u[U].swiperSlideSize = T),
        v.push(T),
        n.centeredSlides
          ? ((C = C + T / 2 + b / 2 + x),
            b === 0 && U !== 0 && (C = C - i / 2 - x),
            U === 0 && (C = C - i / 2 - x),
            Math.abs(C) < 1 / 1e3 && (C = 0),
            n.roundLengths && (C = Math.floor(C)),
            F % n.slidesPerGroup === 0 && d.push(C),
            g.push(C))
          : (n.roundLengths && (C = Math.floor(C)),
            (F - Math.min(e.params.slidesPerGroupSkip, F)) %
              e.params.slidesPerGroup ===
              0 && d.push(C),
            g.push(C),
            (C = C + T + x)),
        (e.virtualSize += T + x),
        (b = T),
        (F += 1);
    }
  }
  if (
    ((e.virtualSize = Math.max(e.virtualSize, i) + y),
    s &&
      a &&
      (n.effect === "slide" || n.effect === "coverflow") &&
      A.css({ width: `${e.virtualSize + n.spaceBetween}px` }),
    n.setWrapperSize &&
      A.css({ [t("width")]: `${e.virtualSize + n.spaceBetween}px` }),
    I && e.grid.updateWrapperSize(T, d, t),
    !n.centeredSlides)
  ) {
    const U = [];
    for (let Q = 0; Q < d.length; Q += 1) {
      let L = d[Q];
      n.roundLengths && (L = Math.floor(L)),
        d[Q] <= e.virtualSize - i && U.push(L);
    }
    (d = U),
      Math.floor(e.virtualSize - i) - Math.floor(d[d.length - 1]) > 1 &&
        d.push(e.virtualSize - i);
  }
  if ((d.length === 0 && (d = [0]), n.spaceBetween !== 0)) {
    const U = e.isHorizontal() && s ? "marginLeft" : t("marginRight");
    u.filter((Q, L) => (n.cssMode ? L !== u.length - 1 : !0)).css({
      [U]: `${x}px`,
    });
  }
  if (n.centeredSlides && n.centeredSlidesBounds) {
    let U = 0;
    v.forEach((L) => {
      U += L + (n.spaceBetween ? n.spaceBetween : 0);
    }),
      (U -= n.spaceBetween);
    const Q = U - i;
    d = d.map((L) => (L < 0 ? -B : L > Q ? Q + y : L));
  }
  if (n.centerInsufficientSlides) {
    let U = 0;
    if (
      (v.forEach((Q) => {
        U += Q + (n.spaceBetween ? n.spaceBetween : 0);
      }),
      (U -= n.spaceBetween),
      U < i)
    ) {
      const Q = (i - U) / 2;
      d.forEach((L, $) => {
        d[$] = L - Q;
      }),
        g.forEach((L, $) => {
          g[$] = L + Q;
        });
    }
  }
  if (
    (Object.assign(e, {
      slides: u,
      snapGrid: d,
      slidesGrid: g,
      slidesSizesGrid: v,
    }),
    n.centeredSlides && n.cssMode && !n.centeredSlidesBounds)
  ) {
    hu(e.wrapperEl, "--swiper-centered-offset-before", `${-d[0]}px`),
      hu(
        e.wrapperEl,
        "--swiper-centered-offset-after",
        `${e.size / 2 - v[v.length - 1] / 2}px`,
      );
    const U = -e.snapGrid[0],
      Q = -e.slidesGrid[0];
    (e.snapGrid = e.snapGrid.map((L) => L + U)),
      (e.slidesGrid = e.slidesGrid.map((L) => L + Q));
  }
  if (
    (f !== l && e.emit("slidesLengthChange"),
    d.length !== w &&
      (e.params.watchOverflow && e.checkOverflow(),
      e.emit("snapGridLengthChange")),
    g.length !== m && e.emit("slidesGridLengthChange"),
    n.watchSlidesProgress && e.updateSlidesOffset(),
    !o && !n.cssMode && (n.effect === "slide" || n.effect === "fade"))
  ) {
    const U = `${n.containerModifierClass}backface-hidden`,
      Q = e.$el.hasClass(U);
    f <= n.maxBackfaceHiddenSlides
      ? Q || e.$el.addClass(U)
      : Q && e.$el.removeClass(U);
  }
}
function Nz(e) {
  const t = this,
    r = [],
    n = t.virtual && t.params.virtual.enabled;
  let A = 0,
    i;
  typeof e == "number"
    ? t.setTransition(e)
    : e === !0 && t.setTransition(t.params.speed);
  const s = (a) =>
    n
      ? t.slides.filter(
          (o) => parseInt(o.getAttribute("data-swiper-slide-index"), 10) === a,
        )[0]
      : t.slides.eq(a)[0];
  if (t.params.slidesPerView !== "auto" && t.params.slidesPerView > 1)
    if (t.params.centeredSlides)
      (t.visibleSlides || At([])).each((a) => {
        r.push(a);
      });
    else
      for (i = 0; i < Math.ceil(t.params.slidesPerView); i += 1) {
        const a = t.activeIndex + i;
        if (a > t.slides.length && !n) break;
        r.push(s(a));
      }
  else r.push(s(t.activeIndex));
  for (i = 0; i < r.length; i += 1)
    if (typeof r[i] < "u") {
      const a = r[i].offsetHeight;
      A = a > A ? a : A;
    }
  (A || A === 0) && t.$wrapperEl.css("height", `${A}px`);
}
function $z() {
  const e = this,
    t = e.slides;
  for (let r = 0; r < t.length; r += 1)
    t[r].swiperSlideOffset = e.isHorizontal()
      ? t[r].offsetLeft
      : t[r].offsetTop;
}
function Kz(e = (this && this.translate) || 0) {
  const t = this,
    r = t.params,
    { slides: n, rtlTranslate: A, snapGrid: i } = t;
  if (n.length === 0) return;
  typeof n[0].swiperSlideOffset > "u" && t.updateSlidesOffset();
  let s = -e;
  A && (s = e),
    n.removeClass(r.slideVisibleClass),
    (t.visibleSlidesIndexes = []),
    (t.visibleSlides = []);
  for (let a = 0; a < n.length; a += 1) {
    const o = n[a];
    let l = o.swiperSlideOffset;
    r.cssMode && r.centeredSlides && (l -= n[0].swiperSlideOffset);
    const u =
        (s + (r.centeredSlides ? t.minTranslate() : 0) - l) /
        (o.swiperSlideSize + r.spaceBetween),
      f =
        (s - i[0] + (r.centeredSlides ? t.minTranslate() : 0) - l) /
        (o.swiperSlideSize + r.spaceBetween),
      d = -(s - l),
      g = d + t.slidesSizesGrid[a];
    ((d >= 0 && d < t.size - 1) ||
      (g > 1 && g <= t.size) ||
      (d <= 0 && g >= t.size)) &&
      (t.visibleSlides.push(o),
      t.visibleSlidesIndexes.push(a),
      n.eq(a).addClass(r.slideVisibleClass)),
      (o.progress = A ? -u : u),
      (o.originalProgress = A ? -f : f);
  }
  t.visibleSlides = At(t.visibleSlides);
}
function Vz(e) {
  const t = this;
  if (typeof e > "u") {
    const l = t.rtlTranslate ? -1 : 1;
    e = (t && t.translate && t.translate * l) || 0;
  }
  const r = t.params,
    n = t.maxTranslate() - t.minTranslate();
  let { progress: A, isBeginning: i, isEnd: s } = t;
  const a = i,
    o = s;
  n === 0
    ? ((A = 0), (i = !0), (s = !0))
    : ((A = (e - t.minTranslate()) / n), (i = A <= 0), (s = A >= 1)),
    Object.assign(t, { progress: A, isBeginning: i, isEnd: s }),
    (r.watchSlidesProgress || (r.centeredSlides && r.autoHeight)) &&
      t.updateSlidesProgress(e),
    i && !a && t.emit("reachBeginning toEdge"),
    s && !o && t.emit("reachEnd toEdge"),
    ((a && !i) || (o && !s)) && t.emit("fromEdge"),
    t.emit("progress", A);
}
function Gz() {
  const e = this,
    { slides: t, params: r, $wrapperEl: n, activeIndex: A, realIndex: i } = e,
    s = e.virtual && r.virtual.enabled;
  t.removeClass(
    `${r.slideActiveClass} ${r.slideNextClass} ${r.slidePrevClass} ${r.slideDuplicateActiveClass} ${r.slideDuplicateNextClass} ${r.slideDuplicatePrevClass}`,
  );
  let a;
  s
    ? (a = e.$wrapperEl.find(
        `.${r.slideClass}[data-swiper-slide-index="${A}"]`,
      ))
    : (a = t.eq(A)),
    a.addClass(r.slideActiveClass),
    r.loop &&
      (a.hasClass(r.slideDuplicateClass)
        ? n
            .children(
              `.${r.slideClass}:not(.${r.slideDuplicateClass})[data-swiper-slide-index="${i}"]`,
            )
            .addClass(r.slideDuplicateActiveClass)
        : n
            .children(
              `.${r.slideClass}.${r.slideDuplicateClass}[data-swiper-slide-index="${i}"]`,
            )
            .addClass(r.slideDuplicateActiveClass));
  let o = a.nextAll(`.${r.slideClass}`).eq(0).addClass(r.slideNextClass);
  r.loop && o.length === 0 && ((o = t.eq(0)), o.addClass(r.slideNextClass));
  let l = a.prevAll(`.${r.slideClass}`).eq(0).addClass(r.slidePrevClass);
  r.loop && l.length === 0 && ((l = t.eq(-1)), l.addClass(r.slidePrevClass)),
    r.loop &&
      (o.hasClass(r.slideDuplicateClass)
        ? n
            .children(
              `.${r.slideClass}:not(.${r.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`,
            )
            .addClass(r.slideDuplicateNextClass)
        : n
            .children(
              `.${r.slideClass}.${r.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`,
            )
            .addClass(r.slideDuplicateNextClass),
      l.hasClass(r.slideDuplicateClass)
        ? n
            .children(
              `.${r.slideClass}:not(.${r.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`,
            )
            .addClass(r.slideDuplicatePrevClass)
        : n
            .children(
              `.${r.slideClass}.${r.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`,
            )
            .addClass(r.slideDuplicatePrevClass)),
    e.emitSlidesClasses();
}
function Wz(e) {
  const t = this,
    r = t.rtlTranslate ? t.translate : -t.translate,
    {
      slidesGrid: n,
      snapGrid: A,
      params: i,
      activeIndex: s,
      realIndex: a,
      snapIndex: o,
    } = t;
  let l = e,
    u;
  if (typeof l > "u") {
    for (let d = 0; d < n.length; d += 1)
      typeof n[d + 1] < "u"
        ? r >= n[d] && r < n[d + 1] - (n[d + 1] - n[d]) / 2
          ? (l = d)
          : r >= n[d] && r < n[d + 1] && (l = d + 1)
        : r >= n[d] && (l = d);
    i.normalizeSlideIndex && (l < 0 || typeof l > "u") && (l = 0);
  }
  if (A.indexOf(r) >= 0) u = A.indexOf(r);
  else {
    const d = Math.min(i.slidesPerGroupSkip, l);
    u = d + Math.floor((l - d) / i.slidesPerGroup);
  }
  if ((u >= A.length && (u = A.length - 1), l === s)) {
    u !== o && ((t.snapIndex = u), t.emit("snapIndexChange"));
    return;
  }
  const f = parseInt(t.slides.eq(l).attr("data-swiper-slide-index") || l, 10);
  Object.assign(t, {
    snapIndex: u,
    realIndex: f,
    previousIndex: s,
    activeIndex: l,
  }),
    t.emit("activeIndexChange"),
    t.emit("snapIndexChange"),
    a !== f && t.emit("realIndexChange"),
    (t.initialized || t.params.runCallbacksOnInit) && t.emit("slideChange");
}
function zz(e) {
  const t = this,
    r = t.params,
    n = At(e).closest(`.${r.slideClass}`)[0];
  let A = !1,
    i;
  if (n) {
    for (let s = 0; s < t.slides.length; s += 1)
      if (t.slides[s] === n) {
        (A = !0), (i = s);
        break;
      }
  }
  if (n && A)
    (t.clickedSlide = n),
      t.virtual && t.params.virtual.enabled
        ? (t.clickedIndex = parseInt(At(n).attr("data-swiper-slide-index"), 10))
        : (t.clickedIndex = i);
  else {
    (t.clickedSlide = void 0), (t.clickedIndex = void 0);
    return;
  }
  r.slideToClickedSlide &&
    t.clickedIndex !== void 0 &&
    t.clickedIndex !== t.activeIndex &&
    t.slideToClickedSlide();
}
const jz = {
  updateSize: Mz,
  updateSlides: Rz,
  updateAutoHeight: Nz,
  updateSlidesOffset: $z,
  updateSlidesProgress: Kz,
  updateProgress: Vz,
  updateSlidesClasses: Gz,
  updateActiveIndex: Wz,
  updateClickedSlide: zz,
};
function Yz(e = this.isHorizontal() ? "x" : "y") {
  const t = this,
    { params: r, rtlTranslate: n, translate: A, $wrapperEl: i } = t;
  if (r.virtualTranslate) return n ? -A : A;
  if (r.cssMode) return A;
  let s = Qz(i[0], e);
  return n && (s = -s), s || 0;
}
function Xz(e, t) {
  const r = this,
    {
      rtlTranslate: n,
      params: A,
      $wrapperEl: i,
      wrapperEl: s,
      progress: a,
    } = r;
  let o = 0,
    l = 0;
  const u = 0;
  r.isHorizontal() ? (o = n ? -e : e) : (l = e),
    A.roundLengths && ((o = Math.floor(o)), (l = Math.floor(l))),
    A.cssMode
      ? (s[r.isHorizontal() ? "scrollLeft" : "scrollTop"] = r.isHorizontal()
          ? -o
          : -l)
      : A.virtualTranslate ||
        i.transform(`translate3d(${o}px, ${l}px, ${u}px)`),
    (r.previousTranslate = r.translate),
    (r.translate = r.isHorizontal() ? o : l);
  let f;
  const d = r.maxTranslate() - r.minTranslate();
  d === 0 ? (f = 0) : (f = (e - r.minTranslate()) / d),
    f !== a && r.updateProgress(e),
    r.emit("setTranslate", r.translate, t);
}
function Jz() {
  return -this.snapGrid[0];
}
function qz() {
  return -this.snapGrid[this.snapGrid.length - 1];
}
function Zz(e = 0, t = this.params.speed, r = !0, n = !0, A) {
  const i = this,
    { params: s, wrapperEl: a } = i;
  if (i.animating && s.preventInteractionOnTransition) return !1;
  const o = i.minTranslate(),
    l = i.maxTranslate();
  let u;
  if (
    (n && e > o ? (u = o) : n && e < l ? (u = l) : (u = e),
    i.updateProgress(u),
    s.cssMode)
  ) {
    const f = i.isHorizontal();
    if (t === 0) a[f ? "scrollLeft" : "scrollTop"] = -u;
    else {
      if (!i.support.smoothScroll)
        return (
          Iy({ swiper: i, targetPosition: -u, side: f ? "left" : "top" }), !0
        );
      a.scrollTo({ [f ? "left" : "top"]: -u, behavior: "smooth" });
    }
    return !0;
  }
  return (
    t === 0
      ? (i.setTransition(0),
        i.setTranslate(u),
        r && (i.emit("beforeTransitionStart", t, A), i.emit("transitionEnd")))
      : (i.setTransition(t),
        i.setTranslate(u),
        r && (i.emit("beforeTransitionStart", t, A), i.emit("transitionStart")),
        i.animating ||
          ((i.animating = !0),
          i.onTranslateToWrapperTransitionEnd ||
            (i.onTranslateToWrapperTransitionEnd = function (d) {
              !i ||
                i.destroyed ||
                (d.target === this &&
                  (i.$wrapperEl[0].removeEventListener(
                    "transitionend",
                    i.onTranslateToWrapperTransitionEnd,
                  ),
                  i.$wrapperEl[0].removeEventListener(
                    "webkitTransitionEnd",
                    i.onTranslateToWrapperTransitionEnd,
                  ),
                  (i.onTranslateToWrapperTransitionEnd = null),
                  delete i.onTranslateToWrapperTransitionEnd,
                  r && i.emit("transitionEnd")));
            }),
          i.$wrapperEl[0].addEventListener(
            "transitionend",
            i.onTranslateToWrapperTransitionEnd,
          ),
          i.$wrapperEl[0].addEventListener(
            "webkitTransitionEnd",
            i.onTranslateToWrapperTransitionEnd,
          ))),
    !0
  );
}
const ej = {
  getTranslate: Yz,
  setTranslate: Xz,
  minTranslate: Jz,
  maxTranslate: qz,
  translateTo: Zz,
};
function tj(e, t) {
  const r = this;
  r.params.cssMode || r.$wrapperEl.transition(e), r.emit("setTransition", e, t);
}
function Py({ swiper: e, runCallbacks: t, direction: r, step: n }) {
  const { activeIndex: A, previousIndex: i } = e;
  let s = r;
  if (
    (s || (A > i ? (s = "next") : A < i ? (s = "prev") : (s = "reset")),
    e.emit(`transition${n}`),
    t && A !== i)
  ) {
    if (s === "reset") {
      e.emit(`slideResetTransition${n}`);
      return;
    }
    e.emit(`slideChangeTransition${n}`),
      s === "next"
        ? e.emit(`slideNextTransition${n}`)
        : e.emit(`slidePrevTransition${n}`);
  }
}
function rj(e = !0, t) {
  const r = this,
    { params: n } = r;
  n.cssMode ||
    (n.autoHeight && r.updateAutoHeight(),
    Py({ swiper: r, runCallbacks: e, direction: t, step: "Start" }));
}
function nj(e = !0, t) {
  const r = this,
    { params: n } = r;
  (r.animating = !1),
    !n.cssMode &&
      (r.setTransition(0),
      Py({ swiper: r, runCallbacks: e, direction: t, step: "End" }));
}
const Aj = { setTransition: tj, transitionStart: rj, transitionEnd: nj };
function ij(e = 0, t = this.params.speed, r = !0, n, A) {
  if (typeof e != "number" && typeof e != "string")
    throw new Error(
      `The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`,
    );
  if (typeof e == "string") {
    const x = parseInt(e, 10);
    if (!isFinite(x))
      throw new Error(
        `The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`,
      );
    e = x;
  }
  const i = this;
  let s = e;
  s < 0 && (s = 0);
  const {
    params: a,
    snapGrid: o,
    slidesGrid: l,
    previousIndex: u,
    activeIndex: f,
    rtlTranslate: d,
    wrapperEl: g,
    enabled: v,
  } = i;
  if ((i.animating && a.preventInteractionOnTransition) || (!v && !n && !A))
    return !1;
  const B = Math.min(i.params.slidesPerGroupSkip, s);
  let y = B + Math.floor((s - B) / i.params.slidesPerGroup);
  y >= o.length && (y = o.length - 1);
  const w = -o[y];
  if (a.normalizeSlideIndex)
    for (let x = 0; x < l.length; x += 1) {
      const C = -Math.floor(w * 100),
        b = Math.floor(l[x] * 100),
        F = Math.floor(l[x + 1] * 100);
      typeof l[x + 1] < "u"
        ? C >= b && C < F - (F - b) / 2
          ? (s = x)
          : C >= b && C < F && (s = x + 1)
        : C >= b && (s = x);
    }
  if (
    i.initialized &&
    s !== f &&
    ((!i.allowSlideNext && w < i.translate && w < i.minTranslate()) ||
      (!i.allowSlidePrev &&
        w > i.translate &&
        w > i.maxTranslate() &&
        (f || 0) !== s))
  )
    return !1;
  s !== (u || 0) && r && i.emit("beforeSlideChangeStart"), i.updateProgress(w);
  let m;
  if (
    (s > f ? (m = "next") : s < f ? (m = "prev") : (m = "reset"),
    (d && -w === i.translate) || (!d && w === i.translate))
  )
    return (
      i.updateActiveIndex(s),
      a.autoHeight && i.updateAutoHeight(),
      i.updateSlidesClasses(),
      a.effect !== "slide" && i.setTranslate(w),
      m !== "reset" && (i.transitionStart(r, m), i.transitionEnd(r, m)),
      !1
    );
  if (a.cssMode) {
    const x = i.isHorizontal(),
      C = d ? w : -w;
    if (t === 0) {
      const b = i.virtual && i.params.virtual.enabled;
      b &&
        ((i.wrapperEl.style.scrollSnapType = "none"),
        (i._immediateVirtual = !0)),
        (g[x ? "scrollLeft" : "scrollTop"] = C),
        b &&
          requestAnimationFrame(() => {
            (i.wrapperEl.style.scrollSnapType = ""),
              (i._swiperImmediateVirtual = !1);
          });
    } else {
      if (!i.support.smoothScroll)
        return (
          Iy({ swiper: i, targetPosition: C, side: x ? "left" : "top" }), !0
        );
      g.scrollTo({ [x ? "left" : "top"]: C, behavior: "smooth" });
    }
    return !0;
  }
  return (
    i.setTransition(t),
    i.setTranslate(w),
    i.updateActiveIndex(s),
    i.updateSlidesClasses(),
    i.emit("beforeTransitionStart", t, n),
    i.transitionStart(r, m),
    t === 0
      ? i.transitionEnd(r, m)
      : i.animating ||
        ((i.animating = !0),
        i.onSlideToWrapperTransitionEnd ||
          (i.onSlideToWrapperTransitionEnd = function (C) {
            !i ||
              i.destroyed ||
              (C.target === this &&
                (i.$wrapperEl[0].removeEventListener(
                  "transitionend",
                  i.onSlideToWrapperTransitionEnd,
                ),
                i.$wrapperEl[0].removeEventListener(
                  "webkitTransitionEnd",
                  i.onSlideToWrapperTransitionEnd,
                ),
                (i.onSlideToWrapperTransitionEnd = null),
                delete i.onSlideToWrapperTransitionEnd,
                i.transitionEnd(r, m)));
          }),
        i.$wrapperEl[0].addEventListener(
          "transitionend",
          i.onSlideToWrapperTransitionEnd,
        ),
        i.$wrapperEl[0].addEventListener(
          "webkitTransitionEnd",
          i.onSlideToWrapperTransitionEnd,
        )),
    !0
  );
}
function sj(e = 0, t = this.params.speed, r = !0, n) {
  if (typeof e == "string") {
    const s = parseInt(e, 10);
    if (!isFinite(s))
      throw new Error(
        `The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`,
      );
    e = s;
  }
  const A = this;
  let i = e;
  return A.params.loop && (i += A.loopedSlides), A.slideTo(i, t, r, n);
}
function aj(e = this.params.speed, t = !0, r) {
  const n = this,
    { animating: A, enabled: i, params: s } = n;
  if (!i) return n;
  let a = s.slidesPerGroup;
  s.slidesPerView === "auto" &&
    s.slidesPerGroup === 1 &&
    s.slidesPerGroupAuto &&
    (a = Math.max(n.slidesPerViewDynamic("current", !0), 1));
  const o = n.activeIndex < s.slidesPerGroupSkip ? 1 : a;
  if (s.loop) {
    if (A && s.loopPreventsSlide) return !1;
    n.loopFix(), (n._clientLeft = n.$wrapperEl[0].clientLeft);
  }
  return s.rewind && n.isEnd
    ? n.slideTo(0, e, t, r)
    : n.slideTo(n.activeIndex + o, e, t, r);
}
function oj(e = this.params.speed, t = !0, r) {
  const n = this,
    {
      params: A,
      animating: i,
      snapGrid: s,
      slidesGrid: a,
      rtlTranslate: o,
      enabled: l,
    } = n;
  if (!l) return n;
  if (A.loop) {
    if (i && A.loopPreventsSlide) return !1;
    n.loopFix(), (n._clientLeft = n.$wrapperEl[0].clientLeft);
  }
  const u = o ? n.translate : -n.translate;
  function f(y) {
    return y < 0 ? -Math.floor(Math.abs(y)) : Math.floor(y);
  }
  const d = f(u),
    g = s.map((y) => f(y));
  let v = s[g.indexOf(d) - 1];
  if (typeof v > "u" && A.cssMode) {
    let y;
    s.forEach((w, m) => {
      d >= w && (y = m);
    }),
      typeof y < "u" && (v = s[y > 0 ? y - 1 : y]);
  }
  let B = 0;
  if (
    (typeof v < "u" &&
      ((B = a.indexOf(v)),
      B < 0 && (B = n.activeIndex - 1),
      A.slidesPerView === "auto" &&
        A.slidesPerGroup === 1 &&
        A.slidesPerGroupAuto &&
        ((B = B - n.slidesPerViewDynamic("previous", !0) + 1),
        (B = Math.max(B, 0)))),
    A.rewind && n.isBeginning)
  ) {
    const y =
      n.params.virtual && n.params.virtual.enabled && n.virtual
        ? n.virtual.slides.length - 1
        : n.slides.length - 1;
    return n.slideTo(y, e, t, r);
  }
  return n.slideTo(B, e, t, r);
}
function lj(e = this.params.speed, t = !0, r) {
  const n = this;
  return n.slideTo(n.activeIndex, e, t, r);
}
function uj(e = this.params.speed, t = !0, r, n = 0.5) {
  const A = this;
  let i = A.activeIndex;
  const s = Math.min(A.params.slidesPerGroupSkip, i),
    a = s + Math.floor((i - s) / A.params.slidesPerGroup),
    o = A.rtlTranslate ? A.translate : -A.translate;
  if (o >= A.snapGrid[a]) {
    const l = A.snapGrid[a],
      u = A.snapGrid[a + 1];
    o - l > (u - l) * n && (i += A.params.slidesPerGroup);
  } else {
    const l = A.snapGrid[a - 1],
      u = A.snapGrid[a];
    o - l <= (u - l) * n && (i -= A.params.slidesPerGroup);
  }
  return (
    (i = Math.max(i, 0)),
    (i = Math.min(i, A.slidesGrid.length - 1)),
    A.slideTo(i, e, t, r)
  );
}
function cj() {
  const e = this,
    { params: t, $wrapperEl: r } = e,
    n = t.slidesPerView === "auto" ? e.slidesPerViewDynamic() : t.slidesPerView;
  let A = e.clickedIndex,
    i;
  if (t.loop) {
    if (e.animating) return;
    (i = parseInt(At(e.clickedSlide).attr("data-swiper-slide-index"), 10)),
      t.centeredSlides
        ? A < e.loopedSlides - n / 2 ||
          A > e.slides.length - e.loopedSlides + n / 2
          ? (e.loopFix(),
            (A = r
              .children(
                `.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`,
              )
              .eq(0)
              .index()),
            Bc(() => {
              e.slideTo(A);
            }))
          : e.slideTo(A)
        : A > e.slides.length - n
          ? (e.loopFix(),
            (A = r
              .children(
                `.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`,
              )
              .eq(0)
              .index()),
            Bc(() => {
              e.slideTo(A);
            }))
          : e.slideTo(A);
  } else e.slideTo(A);
}
const fj = {
  slideTo: ij,
  slideToLoop: sj,
  slideNext: aj,
  slidePrev: oj,
  slideReset: lj,
  slideToClosest: uj,
  slideToClickedSlide: cj,
};
function dj() {
  const e = this,
    t = Xr(),
    { params: r, $wrapperEl: n } = e,
    A = n.children().length > 0 ? At(n.children()[0].parentNode) : n;
  A.children(`.${r.slideClass}.${r.slideDuplicateClass}`).remove();
  let i = A.children(`.${r.slideClass}`);
  if (r.loopFillGroupWithBlank) {
    const o = r.slidesPerGroup - (i.length % r.slidesPerGroup);
    if (o !== r.slidesPerGroup) {
      for (let l = 0; l < o; l += 1) {
        const u = At(t.createElement("div")).addClass(
          `${r.slideClass} ${r.slideBlankClass}`,
        );
        A.append(u);
      }
      i = A.children(`.${r.slideClass}`);
    }
  }
  r.slidesPerView === "auto" && !r.loopedSlides && (r.loopedSlides = i.length),
    (e.loopedSlides = Math.ceil(
      parseFloat(r.loopedSlides || r.slidesPerView, 10),
    )),
    (e.loopedSlides += r.loopAdditionalSlides),
    e.loopedSlides > i.length &&
      e.params.loopedSlidesLimit &&
      (e.loopedSlides = i.length);
  const s = [],
    a = [];
  i.each((o, l) => {
    At(o).attr("data-swiper-slide-index", l);
  });
  for (let o = 0; o < e.loopedSlides; o += 1) {
    const l = o - Math.floor(o / i.length) * i.length;
    a.push(i.eq(l)[0]), s.unshift(i.eq(i.length - l - 1)[0]);
  }
  for (let o = 0; o < a.length; o += 1)
    A.append(At(a[o].cloneNode(!0)).addClass(r.slideDuplicateClass));
  for (let o = s.length - 1; o >= 0; o -= 1)
    A.prepend(At(s[o].cloneNode(!0)).addClass(r.slideDuplicateClass));
}
function hj() {
  const e = this;
  e.emit("beforeLoopFix");
  const {
    activeIndex: t,
    slides: r,
    loopedSlides: n,
    allowSlidePrev: A,
    allowSlideNext: i,
    snapGrid: s,
    rtlTranslate: a,
  } = e;
  let o;
  (e.allowSlidePrev = !0), (e.allowSlideNext = !0);
  const u = -s[t] - e.getTranslate();
  t < n
    ? ((o = r.length - n * 3 + t),
      (o += n),
      e.slideTo(o, 0, !1, !0) &&
        u !== 0 &&
        e.setTranslate((a ? -e.translate : e.translate) - u))
    : t >= r.length - n &&
      ((o = -r.length + t + n),
      (o += n),
      e.slideTo(o, 0, !1, !0) &&
        u !== 0 &&
        e.setTranslate((a ? -e.translate : e.translate) - u)),
    (e.allowSlidePrev = A),
    (e.allowSlideNext = i),
    e.emit("loopFix");
}
function pj() {
  const e = this,
    { $wrapperEl: t, params: r, slides: n } = e;
  t
    .children(
      `.${r.slideClass}.${r.slideDuplicateClass},.${r.slideClass}.${r.slideBlankClass}`,
    )
    .remove(),
    n.removeAttr("data-swiper-slide-index");
}
const gj = { loopCreate: dj, loopFix: hj, loopDestroy: pj };
function vj(e) {
  const t = this;
  if (
    t.support.touch ||
    !t.params.simulateTouch ||
    (t.params.watchOverflow && t.isLocked) ||
    t.params.cssMode
  )
    return;
  const r = t.params.touchEventsTarget === "container" ? t.el : t.wrapperEl;
  (r.style.cursor = "move"), (r.style.cursor = e ? "grabbing" : "grab");
}
function mj() {
  const e = this;
  e.support.touch ||
    (e.params.watchOverflow && e.isLocked) ||
    e.params.cssMode ||
    (e[
      e.params.touchEventsTarget === "container" ? "el" : "wrapperEl"
    ].style.cursor = "");
}
const Bj = { setGrabCursor: vj, unsetGrabCursor: mj };
function wj(e, t = this) {
  function r(n) {
    if (!n || n === Xr() || n === Lr()) return null;
    n.assignedSlot && (n = n.assignedSlot);
    const A = n.closest(e);
    return !A && !n.getRootNode ? null : A || r(n.getRootNode().host);
  }
  return r(t);
}
function yj(e) {
  const t = this,
    r = Xr(),
    n = Lr(),
    A = t.touchEventsData,
    { params: i, touches: s, enabled: a } = t;
  if (!a || (t.animating && i.preventInteractionOnTransition)) return;
  !t.animating && i.cssMode && i.loop && t.loopFix();
  let o = e;
  o.originalEvent && (o = o.originalEvent);
  let l = At(o.target);
  if (
    (i.touchEventsTarget === "wrapper" && !l.closest(t.wrapperEl).length) ||
    ((A.isTouchEvent = o.type === "touchstart"),
    !A.isTouchEvent && "which" in o && o.which === 3) ||
    (!A.isTouchEvent && "button" in o && o.button > 0) ||
    (A.isTouched && A.isMoved)
  )
    return;
  const u = !!i.noSwipingClass && i.noSwipingClass !== "",
    f = e.composedPath ? e.composedPath() : e.path;
  u && o.target && o.target.shadowRoot && f && (l = At(f[0]));
  const d = i.noSwipingSelector ? i.noSwipingSelector : `.${i.noSwipingClass}`,
    g = !!(o.target && o.target.shadowRoot);
  if (i.noSwiping && (g ? wj(d, l[0]) : l.closest(d)[0])) {
    t.allowClick = !0;
    return;
  }
  if (i.swipeHandler && !l.closest(i.swipeHandler)[0]) return;
  (s.currentX = o.type === "touchstart" ? o.targetTouches[0].pageX : o.pageX),
    (s.currentY = o.type === "touchstart" ? o.targetTouches[0].pageY : o.pageY);
  const v = s.currentX,
    B = s.currentY,
    y = i.edgeSwipeDetection || i.iOSEdgeSwipeDetection,
    w = i.edgeSwipeThreshold || i.iOSEdgeSwipeThreshold;
  if (y && (v <= w || v >= n.innerWidth - w))
    if (y === "prevent") e.preventDefault();
    else return;
  if (
    (Object.assign(A, {
      isTouched: !0,
      isMoved: !1,
      allowTouchCallbacks: !0,
      isScrolling: void 0,
      startMoving: void 0,
    }),
    (s.startX = v),
    (s.startY = B),
    (A.touchStartTime = r0()),
    (t.allowClick = !0),
    t.updateSize(),
    (t.swipeDirection = void 0),
    i.threshold > 0 && (A.allowThresholdMove = !1),
    o.type !== "touchstart")
  ) {
    let m = !0;
    l.is(A.focusableElements) &&
      ((m = !1), l[0].nodeName === "SELECT" && (A.isTouched = !1)),
      r.activeElement &&
        At(r.activeElement).is(A.focusableElements) &&
        r.activeElement !== l[0] &&
        r.activeElement.blur();
    const x = m && t.allowTouchMove && i.touchStartPreventDefault;
    (i.touchStartForcePreventDefault || x) &&
      !l[0].isContentEditable &&
      o.preventDefault();
  }
  t.params.freeMode &&
    t.params.freeMode.enabled &&
    t.freeMode &&
    t.animating &&
    !i.cssMode &&
    t.freeMode.onTouchStart(),
    t.emit("touchStart", o);
}
function Cj(e) {
  const t = Xr(),
    r = this,
    n = r.touchEventsData,
    { params: A, touches: i, rtlTranslate: s, enabled: a } = r;
  if (!a) return;
  let o = e;
  if ((o.originalEvent && (o = o.originalEvent), !n.isTouched)) {
    n.startMoving && n.isScrolling && r.emit("touchMoveOpposite", o);
    return;
  }
  if (n.isTouchEvent && o.type !== "touchmove") return;
  const l =
      o.type === "touchmove" &&
      o.targetTouches &&
      (o.targetTouches[0] || o.changedTouches[0]),
    u = o.type === "touchmove" ? l.pageX : o.pageX,
    f = o.type === "touchmove" ? l.pageY : o.pageY;
  if (o.preventedByNestedSwiper) {
    (i.startX = u), (i.startY = f);
    return;
  }
  if (!r.allowTouchMove) {
    At(o.target).is(n.focusableElements) || (r.allowClick = !1),
      n.isTouched &&
        (Object.assign(i, { startX: u, startY: f, currentX: u, currentY: f }),
        (n.touchStartTime = r0()));
    return;
  }
  if (n.isTouchEvent && A.touchReleaseOnEdges && !A.loop) {
    if (r.isVertical()) {
      if (
        (f < i.startY && r.translate <= r.maxTranslate()) ||
        (f > i.startY && r.translate >= r.minTranslate())
      ) {
        (n.isTouched = !1), (n.isMoved = !1);
        return;
      }
    } else if (
      (u < i.startX && r.translate <= r.maxTranslate()) ||
      (u > i.startX && r.translate >= r.minTranslate())
    )
      return;
  }
  if (
    n.isTouchEvent &&
    t.activeElement &&
    o.target === t.activeElement &&
    At(o.target).is(n.focusableElements)
  ) {
    (n.isMoved = !0), (r.allowClick = !1);
    return;
  }
  if (
    (n.allowTouchCallbacks && r.emit("touchMove", o),
    o.targetTouches && o.targetTouches.length > 1)
  )
    return;
  (i.currentX = u), (i.currentY = f);
  const d = i.currentX - i.startX,
    g = i.currentY - i.startY;
  if (r.params.threshold && Math.sqrt(d ** 2 + g ** 2) < r.params.threshold)
    return;
  if (typeof n.isScrolling > "u") {
    let w;
    (r.isHorizontal() && i.currentY === i.startY) ||
    (r.isVertical() && i.currentX === i.startX)
      ? (n.isScrolling = !1)
      : d * d + g * g >= 25 &&
        ((w = (Math.atan2(Math.abs(g), Math.abs(d)) * 180) / Math.PI),
        (n.isScrolling = r.isHorizontal()
          ? w > A.touchAngle
          : 90 - w > A.touchAngle));
  }
  if (
    (n.isScrolling && r.emit("touchMoveOpposite", o),
    typeof n.startMoving > "u" &&
      (i.currentX !== i.startX || i.currentY !== i.startY) &&
      (n.startMoving = !0),
    n.isScrolling)
  ) {
    n.isTouched = !1;
    return;
  }
  if (!n.startMoving) return;
  (r.allowClick = !1),
    !A.cssMode && o.cancelable && o.preventDefault(),
    A.touchMoveStopPropagation && !A.nested && o.stopPropagation(),
    n.isMoved ||
      (A.loop && !A.cssMode && r.loopFix(),
      (n.startTranslate = r.getTranslate()),
      r.setTransition(0),
      r.animating && r.$wrapperEl.trigger("webkitTransitionEnd transitionend"),
      (n.allowMomentumBounce = !1),
      A.grabCursor &&
        (r.allowSlideNext === !0 || r.allowSlidePrev === !0) &&
        r.setGrabCursor(!0),
      r.emit("sliderFirstMove", o)),
    r.emit("sliderMove", o),
    (n.isMoved = !0);
  let v = r.isHorizontal() ? d : g;
  (i.diff = v),
    (v *= A.touchRatio),
    s && (v = -v),
    (r.swipeDirection = v > 0 ? "prev" : "next"),
    (n.currentTranslate = v + n.startTranslate);
  let B = !0,
    y = A.resistanceRatio;
  if (
    (A.touchReleaseOnEdges && (y = 0),
    v > 0 && n.currentTranslate > r.minTranslate()
      ? ((B = !1),
        A.resistance &&
          (n.currentTranslate =
            r.minTranslate() -
            1 +
            (-r.minTranslate() + n.startTranslate + v) ** y))
      : v < 0 &&
        n.currentTranslate < r.maxTranslate() &&
        ((B = !1),
        A.resistance &&
          (n.currentTranslate =
            r.maxTranslate() +
            1 -
            (r.maxTranslate() - n.startTranslate - v) ** y)),
    B && (o.preventedByNestedSwiper = !0),
    !r.allowSlideNext &&
      r.swipeDirection === "next" &&
      n.currentTranslate < n.startTranslate &&
      (n.currentTranslate = n.startTranslate),
    !r.allowSlidePrev &&
      r.swipeDirection === "prev" &&
      n.currentTranslate > n.startTranslate &&
      (n.currentTranslate = n.startTranslate),
    !r.allowSlidePrev &&
      !r.allowSlideNext &&
      (n.currentTranslate = n.startTranslate),
    A.threshold > 0)
  )
    if (Math.abs(v) > A.threshold || n.allowThresholdMove) {
      if (!n.allowThresholdMove) {
        (n.allowThresholdMove = !0),
          (i.startX = i.currentX),
          (i.startY = i.currentY),
          (n.currentTranslate = n.startTranslate),
          (i.diff = r.isHorizontal()
            ? i.currentX - i.startX
            : i.currentY - i.startY);
        return;
      }
    } else {
      n.currentTranslate = n.startTranslate;
      return;
    }
  !A.followFinger ||
    A.cssMode ||
    (((A.freeMode && A.freeMode.enabled && r.freeMode) ||
      A.watchSlidesProgress) &&
      (r.updateActiveIndex(), r.updateSlidesClasses()),
    r.params.freeMode &&
      A.freeMode.enabled &&
      r.freeMode &&
      r.freeMode.onTouchMove(),
    r.updateProgress(n.currentTranslate),
    r.setTranslate(n.currentTranslate));
}
function xj(e) {
  const t = this,
    r = t.touchEventsData,
    { params: n, touches: A, rtlTranslate: i, slidesGrid: s, enabled: a } = t;
  if (!a) return;
  let o = e;
  if (
    (o.originalEvent && (o = o.originalEvent),
    r.allowTouchCallbacks && t.emit("touchEnd", o),
    (r.allowTouchCallbacks = !1),
    !r.isTouched)
  ) {
    r.isMoved && n.grabCursor && t.setGrabCursor(!1),
      (r.isMoved = !1),
      (r.startMoving = !1);
    return;
  }
  n.grabCursor &&
    r.isMoved &&
    r.isTouched &&
    (t.allowSlideNext === !0 || t.allowSlidePrev === !0) &&
    t.setGrabCursor(!1);
  const l = r0(),
    u = l - r.touchStartTime;
  if (t.allowClick) {
    const m = o.path || (o.composedPath && o.composedPath());
    t.updateClickedSlide((m && m[0]) || o.target),
      t.emit("tap click", o),
      u < 300 &&
        l - r.lastClickTime < 300 &&
        t.emit("doubleTap doubleClick", o);
  }
  if (
    ((r.lastClickTime = r0()),
    Bc(() => {
      t.destroyed || (t.allowClick = !0);
    }),
    !r.isTouched ||
      !r.isMoved ||
      !t.swipeDirection ||
      A.diff === 0 ||
      r.currentTranslate === r.startTranslate)
  ) {
    (r.isTouched = !1), (r.isMoved = !1), (r.startMoving = !1);
    return;
  }
  (r.isTouched = !1), (r.isMoved = !1), (r.startMoving = !1);
  let f;
  if (
    (n.followFinger
      ? (f = i ? t.translate : -t.translate)
      : (f = -r.currentTranslate),
    n.cssMode)
  )
    return;
  if (t.params.freeMode && n.freeMode.enabled) {
    t.freeMode.onTouchEnd({ currentPos: f });
    return;
  }
  let d = 0,
    g = t.slidesSizesGrid[0];
  for (
    let m = 0;
    m < s.length;
    m += m < n.slidesPerGroupSkip ? 1 : n.slidesPerGroup
  ) {
    const x = m < n.slidesPerGroupSkip - 1 ? 1 : n.slidesPerGroup;
    typeof s[m + x] < "u"
      ? f >= s[m] && f < s[m + x] && ((d = m), (g = s[m + x] - s[m]))
      : f >= s[m] && ((d = m), (g = s[s.length - 1] - s[s.length - 2]));
  }
  let v = null,
    B = null;
  n.rewind &&
    (t.isBeginning
      ? (B =
          t.params.virtual && t.params.virtual.enabled && t.virtual
            ? t.virtual.slides.length - 1
            : t.slides.length - 1)
      : t.isEnd && (v = 0));
  const y = (f - s[d]) / g,
    w = d < n.slidesPerGroupSkip - 1 ? 1 : n.slidesPerGroup;
  if (u > n.longSwipesMs) {
    if (!n.longSwipes) {
      t.slideTo(t.activeIndex);
      return;
    }
    t.swipeDirection === "next" &&
      (y >= n.longSwipesRatio
        ? t.slideTo(n.rewind && t.isEnd ? v : d + w)
        : t.slideTo(d)),
      t.swipeDirection === "prev" &&
        (y > 1 - n.longSwipesRatio
          ? t.slideTo(d + w)
          : B !== null && y < 0 && Math.abs(y) > n.longSwipesRatio
            ? t.slideTo(B)
            : t.slideTo(d));
  } else {
    if (!n.shortSwipes) {
      t.slideTo(t.activeIndex);
      return;
    }
    t.navigation &&
    (o.target === t.navigation.nextEl || o.target === t.navigation.prevEl)
      ? o.target === t.navigation.nextEl
        ? t.slideTo(d + w)
        : t.slideTo(d)
      : (t.swipeDirection === "next" && t.slideTo(v !== null ? v : d + w),
        t.swipeDirection === "prev" && t.slideTo(B !== null ? B : d));
  }
}
function Um() {
  const e = this,
    { params: t, el: r } = e;
  if (r && r.offsetWidth === 0) return;
  t.breakpoints && e.setBreakpoint();
  const { allowSlideNext: n, allowSlidePrev: A, snapGrid: i } = e;
  (e.allowSlideNext = !0),
    (e.allowSlidePrev = !0),
    e.updateSize(),
    e.updateSlides(),
    e.updateSlidesClasses(),
    (t.slidesPerView === "auto" || t.slidesPerView > 1) &&
    e.isEnd &&
    !e.isBeginning &&
    !e.params.centeredSlides
      ? e.slideTo(e.slides.length - 1, 0, !1, !0)
      : e.slideTo(e.activeIndex, 0, !1, !0),
    e.autoplay && e.autoplay.running && e.autoplay.paused && e.autoplay.run(),
    (e.allowSlidePrev = A),
    (e.allowSlideNext = n),
    e.params.watchOverflow && i !== e.snapGrid && e.checkOverflow();
}
function Ej(e) {
  const t = this;
  t.enabled &&
    (t.allowClick ||
      (t.params.preventClicks && e.preventDefault(),
      t.params.preventClicksPropagation &&
        t.animating &&
        (e.stopPropagation(), e.stopImmediatePropagation())));
}
function bj() {
  const e = this,
    { wrapperEl: t, rtlTranslate: r, enabled: n } = e;
  if (!n) return;
  (e.previousTranslate = e.translate),
    e.isHorizontal()
      ? (e.translate = -t.scrollLeft)
      : (e.translate = -t.scrollTop),
    e.translate === 0 && (e.translate = 0),
    e.updateActiveIndex(),
    e.updateSlidesClasses();
  let A;
  const i = e.maxTranslate() - e.minTranslate();
  i === 0 ? (A = 0) : (A = (e.translate - e.minTranslate()) / i),
    A !== e.progress && e.updateProgress(r ? -e.translate : e.translate),
    e.emit("setTranslate", e.translate, !1);
}
let Tm = !1;
function Fj() {}
const Oy = (e, t) => {
  const r = Xr(),
    {
      params: n,
      touchEvents: A,
      el: i,
      wrapperEl: s,
      device: a,
      support: o,
    } = e,
    l = !!n.nested,
    u = t === "on" ? "addEventListener" : "removeEventListener",
    f = t;
  if (!o.touch)
    i[u](A.start, e.onTouchStart, !1),
      r[u](A.move, e.onTouchMove, l),
      r[u](A.end, e.onTouchEnd, !1);
  else {
    const d =
      A.start === "touchstart" && o.passiveListener && n.passiveListeners
        ? { passive: !0, capture: !1 }
        : !1;
    i[u](A.start, e.onTouchStart, d),
      i[u](
        A.move,
        e.onTouchMove,
        o.passiveListener ? { passive: !1, capture: l } : l,
      ),
      i[u](A.end, e.onTouchEnd, d),
      A.cancel && i[u](A.cancel, e.onTouchEnd, d);
  }
  (n.preventClicks || n.preventClicksPropagation) &&
    i[u]("click", e.onClick, !0),
    n.cssMode && s[u]("scroll", e.onScroll),
    n.updateOnWindowResize
      ? e[f](
          a.ios || a.android
            ? "resize orientationchange observerUpdate"
            : "resize observerUpdate",
          Um,
          !0,
        )
      : e[f]("observerUpdate", Um, !0);
};
function _j() {
  const e = this,
    t = Xr(),
    { params: r, support: n } = e;
  (e.onTouchStart = yj.bind(e)),
    (e.onTouchMove = Cj.bind(e)),
    (e.onTouchEnd = xj.bind(e)),
    r.cssMode && (e.onScroll = bj.bind(e)),
    (e.onClick = Ej.bind(e)),
    n.touch && !Tm && (t.addEventListener("touchstart", Fj), (Tm = !0)),
    Oy(e, "on");
}
function Sj() {
  Oy(this, "off");
}
const Qj = { attachEvents: _j, detachEvents: Sj },
  Im = (e, t) => e.grid && t.grid && t.grid.rows > 1;
function Uj() {
  const e = this,
    {
      activeIndex: t,
      initialized: r,
      loopedSlides: n = 0,
      params: A,
      $el: i,
    } = e,
    s = A.breakpoints;
  if (!s || (s && Object.keys(s).length === 0)) return;
  const a = e.getBreakpoint(s, e.params.breakpointsBase, e.el);
  if (!a || e.currentBreakpoint === a) return;
  const l = (a in s ? s[a] : void 0) || e.originalParams,
    u = Im(e, A),
    f = Im(e, l),
    d = A.enabled;
  u && !f
    ? (i.removeClass(
        `${A.containerModifierClass}grid ${A.containerModifierClass}grid-column`,
      ),
      e.emitContainerClasses())
    : !u &&
      f &&
      (i.addClass(`${A.containerModifierClass}grid`),
      ((l.grid.fill && l.grid.fill === "column") ||
        (!l.grid.fill && A.grid.fill === "column")) &&
        i.addClass(`${A.containerModifierClass}grid-column`),
      e.emitContainerClasses()),
    ["navigation", "pagination", "scrollbar"].forEach((y) => {
      const w = A[y] && A[y].enabled,
        m = l[y] && l[y].enabled;
      w && !m && e[y].disable(), !w && m && e[y].enable();
    });
  const g = l.direction && l.direction !== A.direction,
    v = A.loop && (l.slidesPerView !== A.slidesPerView || g);
  g && r && e.changeDirection(), _n(e.params, l);
  const B = e.params.enabled;
  Object.assign(e, {
    allowTouchMove: e.params.allowTouchMove,
    allowSlideNext: e.params.allowSlideNext,
    allowSlidePrev: e.params.allowSlidePrev,
  }),
    d && !B ? e.disable() : !d && B && e.enable(),
    (e.currentBreakpoint = a),
    e.emit("_beforeBreakpoint", l),
    v &&
      r &&
      (e.loopDestroy(),
      e.loopCreate(),
      e.updateSlides(),
      e.slideTo(t - n + e.loopedSlides, 0, !1)),
    e.emit("breakpoint", l);
}
function Tj(e, t = "window", r) {
  if (!e || (t === "container" && !r)) return;
  let n = !1;
  const A = Lr(),
    i = t === "window" ? A.innerHeight : r.clientHeight,
    s = Object.keys(e).map((a) => {
      if (typeof a == "string" && a.indexOf("@") === 0) {
        const o = parseFloat(a.substr(1));
        return { value: i * o, point: a };
      }
      return { value: a, point: a };
    });
  s.sort((a, o) => parseInt(a.value, 10) - parseInt(o.value, 10));
  for (let a = 0; a < s.length; a += 1) {
    const { point: o, value: l } = s[a];
    t === "window"
      ? A.matchMedia(`(min-width: ${l}px)`).matches && (n = o)
      : l <= r.clientWidth && (n = o);
  }
  return n || "max";
}
const Ij = { setBreakpoint: Uj, getBreakpoint: Tj };
function Dj(e, t) {
  const r = [];
  return (
    e.forEach((n) => {
      typeof n == "object"
        ? Object.keys(n).forEach((A) => {
            n[A] && r.push(t + A);
          })
        : typeof n == "string" && r.push(t + n);
    }),
    r
  );
}
function Pj() {
  const e = this,
    { classNames: t, params: r, rtl: n, $el: A, device: i, support: s } = e,
    a = Dj(
      [
        "initialized",
        r.direction,
        { "pointer-events": !s.touch },
        { "free-mode": e.params.freeMode && r.freeMode.enabled },
        { autoheight: r.autoHeight },
        { rtl: n },
        { grid: r.grid && r.grid.rows > 1 },
        {
          "grid-column": r.grid && r.grid.rows > 1 && r.grid.fill === "column",
        },
        { android: i.android },
        { ios: i.ios },
        { "css-mode": r.cssMode },
        { centered: r.cssMode && r.centeredSlides },
        { "watch-progress": r.watchSlidesProgress },
      ],
      r.containerModifierClass,
    );
  t.push(...a), A.addClass([...t].join(" ")), e.emitContainerClasses();
}
function Oj() {
  const e = this,
    { $el: t, classNames: r } = e;
  t.removeClass(r.join(" ")), e.emitContainerClasses();
}
const Lj = { addClasses: Pj, removeClasses: Oj };
function kj(e, t, r, n, A, i) {
  const s = Lr();
  let a;
  function o() {
    i && i();
  }
  !At(e).parent("picture")[0] && (!e.complete || !A) && t
    ? ((a = new s.Image()),
      (a.onload = o),
      (a.onerror = o),
      n && (a.sizes = n),
      r && (a.srcset = r),
      t && (a.src = t))
    : o();
}
function Hj() {
  const e = this;
  e.imagesToLoad = e.$el.find("img");
  function t() {
    typeof e > "u" ||
      e === null ||
      !e ||
      e.destroyed ||
      (e.imagesLoaded !== void 0 && (e.imagesLoaded += 1),
      e.imagesLoaded === e.imagesToLoad.length &&
        (e.params.updateOnImagesReady && e.update(), e.emit("imagesReady")));
  }
  for (let r = 0; r < e.imagesToLoad.length; r += 1) {
    const n = e.imagesToLoad[r];
    e.loadImage(
      n,
      n.currentSrc || n.getAttribute("src"),
      n.srcset || n.getAttribute("srcset"),
      n.sizes || n.getAttribute("sizes"),
      !0,
      t,
    );
  }
}
const Mj = { loadImage: kj, preloadImages: Hj };
function Rj() {
  const e = this,
    { isLocked: t, params: r } = e,
    { slidesOffsetBefore: n } = r;
  if (n) {
    const A = e.slides.length - 1,
      i = e.slidesGrid[A] + e.slidesSizesGrid[A] + n * 2;
    e.isLocked = e.size > i;
  } else e.isLocked = e.snapGrid.length === 1;
  r.allowSlideNext === !0 && (e.allowSlideNext = !e.isLocked),
    r.allowSlidePrev === !0 && (e.allowSlidePrev = !e.isLocked),
    t && t !== e.isLocked && (e.isEnd = !1),
    t !== e.isLocked && e.emit(e.isLocked ? "lock" : "unlock");
}
const Nj = { checkOverflow: Rj },
  Dm = {
    init: !0,
    direction: "horizontal",
    touchEventsTarget: "wrapper",
    initialSlide: 0,
    speed: 300,
    cssMode: !1,
    updateOnWindowResize: !0,
    resizeObserver: !0,
    nested: !1,
    createElements: !1,
    enabled: !0,
    focusableElements: "input, select, option, textarea, button, video, label",
    width: null,
    height: null,
    preventInteractionOnTransition: !1,
    userAgent: null,
    url: null,
    edgeSwipeDetection: !1,
    edgeSwipeThreshold: 20,
    autoHeight: !1,
    setWrapperSize: !1,
    virtualTranslate: !1,
    effect: "slide",
    breakpoints: void 0,
    breakpointsBase: "window",
    spaceBetween: 0,
    slidesPerView: 1,
    slidesPerGroup: 1,
    slidesPerGroupSkip: 0,
    slidesPerGroupAuto: !1,
    centeredSlides: !1,
    centeredSlidesBounds: !1,
    slidesOffsetBefore: 0,
    slidesOffsetAfter: 0,
    normalizeSlideIndex: !0,
    centerInsufficientSlides: !1,
    watchOverflow: !0,
    roundLengths: !1,
    touchRatio: 1,
    touchAngle: 45,
    simulateTouch: !0,
    shortSwipes: !0,
    longSwipes: !0,
    longSwipesRatio: 0.5,
    longSwipesMs: 300,
    followFinger: !0,
    allowTouchMove: !0,
    threshold: 0,
    touchMoveStopPropagation: !1,
    touchStartPreventDefault: !0,
    touchStartForcePreventDefault: !1,
    touchReleaseOnEdges: !1,
    uniqueNavElements: !0,
    resistance: !0,
    resistanceRatio: 0.85,
    watchSlidesProgress: !1,
    grabCursor: !1,
    preventClicks: !0,
    preventClicksPropagation: !0,
    slideToClickedSlide: !1,
    preloadImages: !0,
    updateOnImagesReady: !0,
    loop: !1,
    loopAdditionalSlides: 0,
    loopedSlides: null,
    loopedSlidesLimit: !0,
    loopFillGroupWithBlank: !1,
    loopPreventsSlide: !0,
    rewind: !1,
    allowSlidePrev: !0,
    allowSlideNext: !0,
    swipeHandler: null,
    noSwiping: !0,
    noSwipingClass: "swiper-no-swiping",
    noSwipingSelector: null,
    passiveListeners: !0,
    maxBackfaceHiddenSlides: 10,
    containerModifierClass: "swiper-",
    slideClass: "swiper-slide",
    slideBlankClass: "swiper-slide-invisible-blank",
    slideActiveClass: "swiper-slide-active",
    slideDuplicateActiveClass: "swiper-slide-duplicate-active",
    slideVisibleClass: "swiper-slide-visible",
    slideDuplicateClass: "swiper-slide-duplicate",
    slideNextClass: "swiper-slide-next",
    slideDuplicateNextClass: "swiper-slide-duplicate-next",
    slidePrevClass: "swiper-slide-prev",
    slideDuplicatePrevClass: "swiper-slide-duplicate-prev",
    wrapperClass: "swiper-wrapper",
    runCallbacksOnInit: !0,
    _emitClasses: !1,
  };
function $j(e, t) {
  return function (n = {}) {
    const A = Object.keys(n)[0],
      i = n[A];
    if (typeof i != "object" || i === null) {
      _n(t, n);
      return;
    }
    if (
      (["navigation", "pagination", "scrollbar"].indexOf(A) >= 0 &&
        e[A] === !0 &&
        (e[A] = { auto: !0 }),
      !(A in e && "enabled" in i))
    ) {
      _n(t, n);
      return;
    }
    e[A] === !0 && (e[A] = { enabled: !0 }),
      typeof e[A] == "object" && !("enabled" in e[A]) && (e[A].enabled = !0),
      e[A] || (e[A] = { enabled: !1 }),
      _n(t, n);
  };
}
const Td = {
    eventsEmitter: Hz,
    update: jz,
    translate: ej,
    transition: Aj,
    slide: fj,
    loop: gj,
    grabCursor: Bj,
    events: Qj,
    breakpoints: Ij,
    checkOverflow: Nj,
    classes: Lj,
    images: Mj,
  },
  Id = {};
let lo = class KA {
  constructor(...t) {
    let r, n;
    if (
      (t.length === 1 &&
      t[0].constructor &&
      Object.prototype.toString.call(t[0]).slice(8, -1) === "Object"
        ? (n = t[0])
        : ([r, n] = t),
      n || (n = {}),
      (n = _n({}, n)),
      r && !n.el && (n.el = r),
      n.el && At(n.el).length > 1)
    ) {
      const a = [];
      return (
        At(n.el).each((o) => {
          const l = _n({}, n, { el: o });
          a.push(new KA(l));
        }),
        a
      );
    }
    const A = this;
    (A.__swiper__ = !0),
      (A.support = Dy()),
      (A.device = Dz({ userAgent: n.userAgent })),
      (A.browser = Oz()),
      (A.eventsListeners = {}),
      (A.eventsAnyListeners = []),
      (A.modules = [...A.__modules__]),
      n.modules && Array.isArray(n.modules) && A.modules.push(...n.modules);
    const i = {};
    A.modules.forEach((a) => {
      a({
        swiper: A,
        extendParams: $j(n, i),
        on: A.on.bind(A),
        once: A.once.bind(A),
        off: A.off.bind(A),
        emit: A.emit.bind(A),
      });
    });
    const s = _n({}, Dm, i);
    return (
      (A.params = _n({}, s, Id, n)),
      (A.originalParams = _n({}, A.params)),
      (A.passedParams = _n({}, n)),
      A.params &&
        A.params.on &&
        Object.keys(A.params.on).forEach((a) => {
          A.on(a, A.params.on[a]);
        }),
      A.params && A.params.onAny && A.onAny(A.params.onAny),
      (A.$ = At),
      Object.assign(A, {
        enabled: A.params.enabled,
        el: r,
        classNames: [],
        slides: At(),
        slidesGrid: [],
        snapGrid: [],
        slidesSizesGrid: [],
        isHorizontal() {
          return A.params.direction === "horizontal";
        },
        isVertical() {
          return A.params.direction === "vertical";
        },
        activeIndex: 0,
        realIndex: 0,
        isBeginning: !0,
        isEnd: !1,
        translate: 0,
        previousTranslate: 0,
        progress: 0,
        velocity: 0,
        animating: !1,
        allowSlideNext: A.params.allowSlideNext,
        allowSlidePrev: A.params.allowSlidePrev,
        touchEvents: (function () {
          const o = ["touchstart", "touchmove", "touchend", "touchcancel"],
            l = ["pointerdown", "pointermove", "pointerup"];
          return (
            (A.touchEventsTouch = {
              start: o[0],
              move: o[1],
              end: o[2],
              cancel: o[3],
            }),
            (A.touchEventsDesktop = { start: l[0], move: l[1], end: l[2] }),
            A.support.touch || !A.params.simulateTouch
              ? A.touchEventsTouch
              : A.touchEventsDesktop
          );
        })(),
        touchEventsData: {
          isTouched: void 0,
          isMoved: void 0,
          allowTouchCallbacks: void 0,
          touchStartTime: void 0,
          isScrolling: void 0,
          currentTranslate: void 0,
          startTranslate: void 0,
          allowThresholdMove: void 0,
          focusableElements: A.params.focusableElements,
          lastClickTime: r0(),
          clickTimeout: void 0,
          velocities: [],
          allowMomentumBounce: void 0,
          isTouchEvent: void 0,
          startMoving: void 0,
        },
        allowClick: !0,
        allowTouchMove: A.params.allowTouchMove,
        touches: { startX: 0, startY: 0, currentX: 0, currentY: 0, diff: 0 },
        imagesToLoad: [],
        imagesLoaded: 0,
      }),
      A.emit("_swiper"),
      A.params.init && A.init(),
      A
    );
  }
  enable() {
    const t = this;
    t.enabled ||
      ((t.enabled = !0),
      t.params.grabCursor && t.setGrabCursor(),
      t.emit("enable"));
  }
  disable() {
    const t = this;
    t.enabled &&
      ((t.enabled = !1),
      t.params.grabCursor && t.unsetGrabCursor(),
      t.emit("disable"));
  }
  setProgress(t, r) {
    const n = this;
    t = Math.min(Math.max(t, 0), 1);
    const A = n.minTranslate(),
      s = (n.maxTranslate() - A) * t + A;
    n.translateTo(s, typeof r > "u" ? 0 : r),
      n.updateActiveIndex(),
      n.updateSlidesClasses();
  }
  emitContainerClasses() {
    const t = this;
    if (!t.params._emitClasses || !t.el) return;
    const r = t.el.className
      .split(" ")
      .filter(
        (n) =>
          n.indexOf("swiper") === 0 ||
          n.indexOf(t.params.containerModifierClass) === 0,
      );
    t.emit("_containerClasses", r.join(" "));
  }
  getSlideClasses(t) {
    const r = this;
    return r.destroyed
      ? ""
      : t.className
          .split(" ")
          .filter(
            (n) =>
              n.indexOf("swiper-slide") === 0 ||
              n.indexOf(r.params.slideClass) === 0,
          )
          .join(" ");
  }
  emitSlidesClasses() {
    const t = this;
    if (!t.params._emitClasses || !t.el) return;
    const r = [];
    t.slides.each((n) => {
      const A = t.getSlideClasses(n);
      r.push({ slideEl: n, classNames: A }), t.emit("_slideClass", n, A);
    }),
      t.emit("_slideClasses", r);
  }
  slidesPerViewDynamic(t = "current", r = !1) {
    const n = this,
      {
        params: A,
        slides: i,
        slidesGrid: s,
        slidesSizesGrid: a,
        size: o,
        activeIndex: l,
      } = n;
    let u = 1;
    if (A.centeredSlides) {
      let f = i[l].swiperSlideSize,
        d;
      for (let g = l + 1; g < i.length; g += 1)
        i[g] &&
          !d &&
          ((f += i[g].swiperSlideSize), (u += 1), f > o && (d = !0));
      for (let g = l - 1; g >= 0; g -= 1)
        i[g] &&
          !d &&
          ((f += i[g].swiperSlideSize), (u += 1), f > o && (d = !0));
    } else if (t === "current")
      for (let f = l + 1; f < i.length; f += 1)
        (r ? s[f] + a[f] - s[l] < o : s[f] - s[l] < o) && (u += 1);
    else for (let f = l - 1; f >= 0; f -= 1) s[l] - s[f] < o && (u += 1);
    return u;
  }
  update() {
    const t = this;
    if (!t || t.destroyed) return;
    const { snapGrid: r, params: n } = t;
    n.breakpoints && t.setBreakpoint(),
      t.updateSize(),
      t.updateSlides(),
      t.updateProgress(),
      t.updateSlidesClasses();
    function A() {
      const s = t.rtlTranslate ? t.translate * -1 : t.translate,
        a = Math.min(Math.max(s, t.maxTranslate()), t.minTranslate());
      t.setTranslate(a), t.updateActiveIndex(), t.updateSlidesClasses();
    }
    let i;
    t.params.freeMode && t.params.freeMode.enabled
      ? (A(), t.params.autoHeight && t.updateAutoHeight())
      : ((t.params.slidesPerView === "auto" || t.params.slidesPerView > 1) &&
        t.isEnd &&
        !t.params.centeredSlides
          ? (i = t.slideTo(t.slides.length - 1, 0, !1, !0))
          : (i = t.slideTo(t.activeIndex, 0, !1, !0)),
        i || A()),
      n.watchOverflow && r !== t.snapGrid && t.checkOverflow(),
      t.emit("update");
  }
  changeDirection(t, r = !0) {
    const n = this,
      A = n.params.direction;
    return (
      t || (t = A === "horizontal" ? "vertical" : "horizontal"),
      t === A ||
        (t !== "horizontal" && t !== "vertical") ||
        (n.$el
          .removeClass(`${n.params.containerModifierClass}${A}`)
          .addClass(`${n.params.containerModifierClass}${t}`),
        n.emitContainerClasses(),
        (n.params.direction = t),
        n.slides.each((i) => {
          t === "vertical" ? (i.style.width = "") : (i.style.height = "");
        }),
        n.emit("changeDirection"),
        r && n.update()),
      n
    );
  }
  changeLanguageDirection(t) {
    const r = this;
    (r.rtl && t === "rtl") ||
      (!r.rtl && t === "ltr") ||
      ((r.rtl = t === "rtl"),
      (r.rtlTranslate = r.params.direction === "horizontal" && r.rtl),
      r.rtl
        ? (r.$el.addClass(`${r.params.containerModifierClass}rtl`),
          (r.el.dir = "rtl"))
        : (r.$el.removeClass(`${r.params.containerModifierClass}rtl`),
          (r.el.dir = "ltr")),
      r.update());
  }
  mount(t) {
    const r = this;
    if (r.mounted) return !0;
    const n = At(t || r.params.el);
    if (((t = n[0]), !t)) return !1;
    t.swiper = r;
    const A = () =>
      `.${(r.params.wrapperClass || "").trim().split(" ").join(".")}`;
    let s = (() => {
      if (t && t.shadowRoot && t.shadowRoot.querySelector) {
        const a = At(t.shadowRoot.querySelector(A()));
        return (a.children = (o) => n.children(o)), a;
      }
      return n.children ? n.children(A()) : At(n).children(A());
    })();
    if (s.length === 0 && r.params.createElements) {
      const o = Xr().createElement("div");
      (s = At(o)),
        (o.className = r.params.wrapperClass),
        n.append(o),
        n.children(`.${r.params.slideClass}`).each((l) => {
          s.append(l);
        });
    }
    return (
      Object.assign(r, {
        $el: n,
        el: t,
        $wrapperEl: s,
        wrapperEl: s[0],
        mounted: !0,
        rtl: t.dir.toLowerCase() === "rtl" || n.css("direction") === "rtl",
        rtlTranslate:
          r.params.direction === "horizontal" &&
          (t.dir.toLowerCase() === "rtl" || n.css("direction") === "rtl"),
        wrongRTL: s.css("display") === "-webkit-box",
      }),
      !0
    );
  }
  init(t) {
    const r = this;
    return (
      r.initialized ||
        r.mount(t) === !1 ||
        (r.emit("beforeInit"),
        r.params.breakpoints && r.setBreakpoint(),
        r.addClasses(),
        r.params.loop && r.loopCreate(),
        r.updateSize(),
        r.updateSlides(),
        r.params.watchOverflow && r.checkOverflow(),
        r.params.grabCursor && r.enabled && r.setGrabCursor(),
        r.params.preloadImages && r.preloadImages(),
        r.params.loop
          ? r.slideTo(
              r.params.initialSlide + r.loopedSlides,
              0,
              r.params.runCallbacksOnInit,
              !1,
              !0,
            )
          : r.slideTo(
              r.params.initialSlide,
              0,
              r.params.runCallbacksOnInit,
              !1,
              !0,
            ),
        r.attachEvents(),
        (r.initialized = !0),
        r.emit("init"),
        r.emit("afterInit")),
      r
    );
  }
  destroy(t = !0, r = !0) {
    const n = this,
      { params: A, $el: i, $wrapperEl: s, slides: a } = n;
    return (
      typeof n.params > "u" ||
        n.destroyed ||
        (n.emit("beforeDestroy"),
        (n.initialized = !1),
        n.detachEvents(),
        A.loop && n.loopDestroy(),
        r &&
          (n.removeClasses(),
          i.removeAttr("style"),
          s.removeAttr("style"),
          a &&
            a.length &&
            a
              .removeClass(
                [
                  A.slideVisibleClass,
                  A.slideActiveClass,
                  A.slideNextClass,
                  A.slidePrevClass,
                ].join(" "),
              )
              .removeAttr("style")
              .removeAttr("data-swiper-slide-index")),
        n.emit("destroy"),
        Object.keys(n.eventsListeners).forEach((o) => {
          n.off(o);
        }),
        t !== !1 && ((n.$el[0].swiper = null), _z(n)),
        (n.destroyed = !0)),
      null
    );
  }
  static extendDefaults(t) {
    _n(Id, t);
  }
  static get extendedDefaults() {
    return Id;
  }
  static get defaults() {
    return Dm;
  }
  static installModule(t) {
    KA.prototype.__modules__ || (KA.prototype.__modules__ = []);
    const r = KA.prototype.__modules__;
    typeof t == "function" && r.indexOf(t) < 0 && r.push(t);
  }
  static use(t) {
    return Array.isArray(t)
      ? (t.forEach((r) => KA.installModule(r)), KA)
      : (KA.installModule(t), KA);
  }
};
Object.keys(Td).forEach((e) => {
  Object.keys(Td[e]).forEach((t) => {
    lo.prototype[t] = Td[e][t];
  });
});
lo.use([Lz, kz]);
function dne({ swiper: e, extendParams: t, on: r, emit: n }) {
  let A;
  (e.autoplay = { running: !1, paused: !1 }),
    t({
      autoplay: {
        enabled: !1,
        delay: 3e3,
        waitForTransition: !0,
        disableOnInteraction: !0,
        stopOnLastSlide: !1,
        reverseDirection: !1,
        pauseOnMouseEnter: !1,
      },
    });
  function i() {
    if (!e.size) {
      (e.autoplay.running = !1), (e.autoplay.paused = !1);
      return;
    }
    const B = e.slides.eq(e.activeIndex);
    let y = e.params.autoplay.delay;
    B.attr("data-swiper-autoplay") &&
      (y = B.attr("data-swiper-autoplay") || e.params.autoplay.delay),
      clearTimeout(A),
      (A = Bc(() => {
        let w;
        e.params.autoplay.reverseDirection
          ? e.params.loop
            ? (e.loopFix(),
              (w = e.slidePrev(e.params.speed, !0, !0)),
              n("autoplay"))
            : e.isBeginning
              ? e.params.autoplay.stopOnLastSlide
                ? a()
                : ((w = e.slideTo(e.slides.length - 1, e.params.speed, !0, !0)),
                  n("autoplay"))
              : ((w = e.slidePrev(e.params.speed, !0, !0)), n("autoplay"))
          : e.params.loop
            ? (e.loopFix(),
              (w = e.slideNext(e.params.speed, !0, !0)),
              n("autoplay"))
            : e.isEnd
              ? e.params.autoplay.stopOnLastSlide
                ? a()
                : ((w = e.slideTo(0, e.params.speed, !0, !0)), n("autoplay"))
              : ((w = e.slideNext(e.params.speed, !0, !0)), n("autoplay")),
          ((e.params.cssMode && e.autoplay.running) || w === !1) && i();
      }, y));
  }
  function s() {
    return typeof A < "u" || e.autoplay.running
      ? !1
      : ((e.autoplay.running = !0), n("autoplayStart"), i(), !0);
  }
  function a() {
    return !e.autoplay.running || typeof A > "u"
      ? !1
      : (A && (clearTimeout(A), (A = void 0)),
        (e.autoplay.running = !1),
        n("autoplayStop"),
        !0);
  }
  function o(B) {
    e.autoplay.running &&
      (e.autoplay.paused ||
        (A && clearTimeout(A),
        (e.autoplay.paused = !0),
        B === 0 || !e.params.autoplay.waitForTransition
          ? ((e.autoplay.paused = !1), i())
          : ["transitionend", "webkitTransitionEnd"].forEach((y) => {
              e.$wrapperEl[0].addEventListener(y, u);
            })));
  }
  function l() {
    const B = Xr();
    B.visibilityState === "hidden" && e.autoplay.running && o(),
      B.visibilityState === "visible" &&
        e.autoplay.paused &&
        (i(), (e.autoplay.paused = !1));
  }
  function u(B) {
    !e ||
      e.destroyed ||
      !e.$wrapperEl ||
      (B.target === e.$wrapperEl[0] &&
        (["transitionend", "webkitTransitionEnd"].forEach((y) => {
          e.$wrapperEl[0].removeEventListener(y, u);
        }),
        (e.autoplay.paused = !1),
        e.autoplay.running ? i() : a()));
  }
  function f() {
    e.params.autoplay.disableOnInteraction ? a() : (n("autoplayPause"), o()),
      ["transitionend", "webkitTransitionEnd"].forEach((B) => {
        e.$wrapperEl[0].removeEventListener(B, u);
      });
  }
  function d() {
    e.params.autoplay.disableOnInteraction ||
      ((e.autoplay.paused = !1), n("autoplayResume"), i());
  }
  function g() {
    e.params.autoplay.pauseOnMouseEnter &&
      (e.$el.on("mouseenter", f), e.$el.on("mouseleave", d));
  }
  function v() {
    e.$el.off("mouseenter", f), e.$el.off("mouseleave", d);
  }
  r("init", () => {
    e.params.autoplay.enabled &&
      (s(), Xr().addEventListener("visibilitychange", l), g());
  }),
    r("beforeTransitionStart", (B, y, w) => {
      e.autoplay.running &&
        (w || !e.params.autoplay.disableOnInteraction
          ? e.autoplay.pause(y)
          : a());
    }),
    r("sliderFirstMove", () => {
      e.autoplay.running &&
        (e.params.autoplay.disableOnInteraction ? a() : o());
    }),
    r("touchEnd", () => {
      e.params.cssMode &&
        e.autoplay.paused &&
        !e.params.autoplay.disableOnInteraction &&
        i();
    }),
    r("destroy", () => {
      v(),
        e.autoplay.running && a(),
        Xr().removeEventListener("visibilitychange", l);
    }),
    Object.assign(e.autoplay, { pause: o, run: i, start: s, stop: a });
}
function ta(e) {
  return (
    typeof e == "object" &&
    e !== null &&
    e.constructor &&
    Object.prototype.toString.call(e).slice(8, -1) === "Object"
  );
}
function Ki(e, t) {
  const r = ["__proto__", "constructor", "prototype"];
  Object.keys(t)
    .filter((n) => r.indexOf(n) < 0)
    .forEach((n) => {
      typeof e[n] > "u"
        ? (e[n] = t[n])
        : ta(t[n]) && ta(e[n]) && Object.keys(t[n]).length > 0
          ? t[n].__swiper__
            ? (e[n] = t[n])
            : Ki(e[n], t[n])
          : (e[n] = t[n]);
    });
}
function Ly(e = {}) {
  return (
    e.navigation &&
    typeof e.navigation.nextEl > "u" &&
    typeof e.navigation.prevEl > "u"
  );
}
function ky(e = {}) {
  return e.pagination && typeof e.pagination.el > "u";
}
function Hy(e = {}) {
  return e.scrollbar && typeof e.scrollbar.el > "u";
}
function My(e = "") {
  const t = e
      .split(" ")
      .map((n) => n.trim())
      .filter((n) => !!n),
    r = [];
  return (
    t.forEach((n) => {
      r.indexOf(n) < 0 && r.push(n);
    }),
    r.join(" ")
  );
}
const Ry = [
  "modules",
  "init",
  "_direction",
  "touchEventsTarget",
  "initialSlide",
  "_speed",
  "cssMode",
  "updateOnWindowResize",
  "resizeObserver",
  "nested",
  "focusableElements",
  "_enabled",
  "_width",
  "_height",
  "preventInteractionOnTransition",
  "userAgent",
  "url",
  "_edgeSwipeDetection",
  "_edgeSwipeThreshold",
  "_freeMode",
  "_autoHeight",
  "setWrapperSize",
  "virtualTranslate",
  "_effect",
  "breakpoints",
  "_spaceBetween",
  "_slidesPerView",
  "maxBackfaceHiddenSlides",
  "_grid",
  "_slidesPerGroup",
  "_slidesPerGroupSkip",
  "_slidesPerGroupAuto",
  "_centeredSlides",
  "_centeredSlidesBounds",
  "_slidesOffsetBefore",
  "_slidesOffsetAfter",
  "normalizeSlideIndex",
  "_centerInsufficientSlides",
  "_watchOverflow",
  "roundLengths",
  "touchRatio",
  "touchAngle",
  "simulateTouch",
  "_shortSwipes",
  "_longSwipes",
  "longSwipesRatio",
  "longSwipesMs",
  "_followFinger",
  "allowTouchMove",
  "_threshold",
  "touchMoveStopPropagation",
  "touchStartPreventDefault",
  "touchStartForcePreventDefault",
  "touchReleaseOnEdges",
  "uniqueNavElements",
  "_resistance",
  "_resistanceRatio",
  "_watchSlidesProgress",
  "_grabCursor",
  "preventClicks",
  "preventClicksPropagation",
  "_slideToClickedSlide",
  "_preloadImages",
  "updateOnImagesReady",
  "_loop",
  "_loopAdditionalSlides",
  "_loopedSlides",
  "_loopedSlidesLimit",
  "_loopFillGroupWithBlank",
  "loopPreventsSlide",
  "_rewind",
  "_allowSlidePrev",
  "_allowSlideNext",
  "_swipeHandler",
  "_noSwiping",
  "noSwipingClass",
  "noSwipingSelector",
  "passiveListeners",
  "containerModifierClass",
  "slideClass",
  "slideBlankClass",
  "slideActiveClass",
  "slideDuplicateActiveClass",
  "slideVisibleClass",
  "slideDuplicateClass",
  "slideNextClass",
  "slideDuplicateNextClass",
  "slidePrevClass",
  "slideDuplicatePrevClass",
  "wrapperClass",
  "runCallbacksOnInit",
  "observer",
  "observeParents",
  "observeSlideChildren",
  "a11y",
  "_autoplay",
  "_controller",
  "coverflowEffect",
  "cubeEffect",
  "fadeEffect",
  "flipEffect",
  "creativeEffect",
  "cardsEffect",
  "hashNavigation",
  "history",
  "keyboard",
  "lazy",
  "mousewheel",
  "_navigation",
  "_pagination",
  "parallax",
  "_scrollbar",
  "_thumbs",
  "virtual",
  "zoom",
];
function Pm(e = {}, t = !0) {
  const r = { on: {} },
    n = {},
    A = {};
  Ki(r, lo.defaults),
    Ki(r, lo.extendedDefaults),
    (r._emitClasses = !0),
    (r.init = !1);
  const i = {},
    s = Ry.map((o) => o.replace(/_/, "")),
    a = Object.assign({}, e);
  return (
    Object.keys(a).forEach((o) => {
      typeof e[o] > "u" ||
        (s.indexOf(o) >= 0
          ? ta(e[o])
            ? ((r[o] = {}), (A[o] = {}), Ki(r[o], e[o]), Ki(A[o], e[o]))
            : ((r[o] = e[o]), (A[o] = e[o]))
          : o.search(/on[A-Z]/) === 0 && typeof e[o] == "function"
            ? t
              ? (n[`${o[2].toLowerCase()}${o.substr(3)}`] = e[o])
              : (r.on[`${o[2].toLowerCase()}${o.substr(3)}`] = e[o])
            : (i[o] = e[o]));
    }),
    ["navigation", "pagination", "scrollbar"].forEach((o) => {
      r[o] === !0 && (r[o] = {}), r[o] === !1 && delete r[o];
    }),
    { params: r, passedParams: A, rest: i, events: n }
  );
}
function Kj(
  { el: e, nextEl: t, prevEl: r, paginationEl: n, scrollbarEl: A, swiper: i },
  s,
) {
  Ly(s) &&
    t &&
    r &&
    ((i.params.navigation.nextEl = t),
    (i.originalParams.navigation.nextEl = t),
    (i.params.navigation.prevEl = r),
    (i.originalParams.navigation.prevEl = r)),
    ky(s) &&
      n &&
      ((i.params.pagination.el = n), (i.originalParams.pagination.el = n)),
    Hy(s) &&
      A &&
      ((i.params.scrollbar.el = A), (i.originalParams.scrollbar.el = A)),
    i.init(e);
}
const Ny = (e, t) => {
  let r = t.slidesPerView;
  if (t.breakpoints) {
    const A = lo.prototype.getBreakpoint(t.breakpoints),
      i = A in t.breakpoints ? t.breakpoints[A] : void 0;
    i && i.slidesPerView && (r = i.slidesPerView);
  }
  let n = Math.ceil(parseFloat(t.loopedSlides || r, 10));
  return (
    (n += t.loopAdditionalSlides),
    n > e.length && t.loopedSlidesLimit && (n = e.length),
    n
  );
};
function Vj(e, t, r) {
  const n = t.map(
    (o, l) => (
      o.props || (o.props = {}),
      (o.props.swiperRef = e),
      (o.props["data-swiper-slide-index"] = l),
      o
    ),
  );
  function A(o, l, u) {
    return (
      o.props || (o.props = {}),
      Ur(
        o.type,
        {
          ...o.props,
          key: `${o.key}-duplicate-${l}-${u}`,
          class: `${o.props.className || ""} ${r.slideDuplicateClass} ${o.props.class || ""}`,
        },
        o.children,
      )
    );
  }
  if (r.loopFillGroupWithBlank) {
    const o = r.slidesPerGroup - (n.length % r.slidesPerGroup);
    if (o !== r.slidesPerGroup)
      for (let l = 0; l < o; l += 1) {
        const u = Ur("div", { class: `${r.slideClass} ${r.slideBlankClass}` });
        n.push(u);
      }
  }
  r.slidesPerView === "auto" && !r.loopedSlides && (r.loopedSlides = n.length);
  const i = Ny(n, r),
    s = [],
    a = [];
  for (let o = 0; o < i; o += 1) {
    const l = o - Math.floor(o / n.length) * n.length;
    a.push(A(n[l], o, "append")),
      s.unshift(A(n[n.length - l - 1], o, "prepend"));
  }
  return e.value && (e.value.loopedSlides = i), [...s, ...n, ...a];
}
function Gj(e, t, r, n, A) {
  const i = [];
  if (!t) return i;
  const s = (o) => {
    i.indexOf(o) < 0 && i.push(o);
  };
  if (r && n) {
    const o = n.map(A),
      l = r.map(A);
    o.join("") !== l.join("") && s("children"),
      n.length !== r.length && s("children");
  }
  return (
    Ry.filter((o) => o[0] === "_")
      .map((o) => o.replace(/_/, ""))
      .forEach((o) => {
        if (o in e && o in t)
          if (ta(e[o]) && ta(t[o])) {
            const l = Object.keys(e[o]),
              u = Object.keys(t[o]);
            l.length !== u.length
              ? s(o)
              : (l.forEach((f) => {
                  e[o][f] !== t[o][f] && s(o);
                }),
                u.forEach((f) => {
                  e[o][f] !== t[o][f] && s(o);
                }));
          } else e[o] !== t[o] && s(o);
      }),
    i
  );
}
function Dd(e, t, r) {
  e === void 0 && (e = {});
  const n = [],
    A = {
      "container-start": [],
      "container-end": [],
      "wrapper-start": [],
      "wrapper-end": [],
    },
    i = (s, a) => {
      Array.isArray(s) &&
        s.forEach((o) => {
          const l = typeof o.type == "symbol";
          a === "default" && (a = "container-end"),
            l && o.children
              ? i(o.children, "default")
              : o.type &&
                  (o.type.name === "SwiperSlide" ||
                    o.type.name === "AsyncComponentWrapper")
                ? n.push(o)
                : A[a] && A[a].push(o);
        });
    };
  return (
    Object.keys(e).forEach((s) => {
      if (typeof e[s] != "function") return;
      const a = e[s]();
      i(a, s);
    }),
    (r.value = t.value),
    (t.value = n),
    { slides: n, slots: A }
  );
}
function Wj({
  swiper: e,
  slides: t,
  passedParams: r,
  changedParams: n,
  nextEl: A,
  prevEl: i,
  scrollbarEl: s,
  paginationEl: a,
}) {
  const o = n.filter((b) => b !== "children" && b !== "direction"),
    {
      params: l,
      pagination: u,
      navigation: f,
      scrollbar: d,
      virtual: g,
      thumbs: v,
    } = e;
  let B, y, w, m, x;
  n.includes("thumbs") &&
    r.thumbs &&
    r.thumbs.swiper &&
    l.thumbs &&
    !l.thumbs.swiper &&
    (B = !0),
    n.includes("controller") &&
      r.controller &&
      r.controller.control &&
      l.controller &&
      !l.controller.control &&
      (y = !0),
    n.includes("pagination") &&
      r.pagination &&
      (r.pagination.el || a) &&
      (l.pagination || l.pagination === !1) &&
      u &&
      !u.el &&
      (w = !0),
    n.includes("scrollbar") &&
      r.scrollbar &&
      (r.scrollbar.el || s) &&
      (l.scrollbar || l.scrollbar === !1) &&
      d &&
      !d.el &&
      (m = !0),
    n.includes("navigation") &&
      r.navigation &&
      (r.navigation.prevEl || i) &&
      (r.navigation.nextEl || A) &&
      (l.navigation || l.navigation === !1) &&
      f &&
      !f.prevEl &&
      !f.nextEl &&
      (x = !0);
  const C = (b) => {
    e[b] &&
      (e[b].destroy(),
      b === "navigation"
        ? ((l[b].prevEl = void 0),
          (l[b].nextEl = void 0),
          (e[b].prevEl = void 0),
          (e[b].nextEl = void 0))
        : ((l[b].el = void 0), (e[b].el = void 0)));
  };
  o.forEach((b) => {
    if (ta(l[b]) && ta(r[b])) Ki(l[b], r[b]);
    else {
      const F = r[b];
      (F === !0 || F === !1) &&
      (b === "navigation" || b === "pagination" || b === "scrollbar")
        ? F === !1 && C(b)
        : (l[b] = r[b]);
    }
  }),
    o.includes("controller") &&
      !y &&
      e.controller &&
      e.controller.control &&
      l.controller &&
      l.controller.control &&
      (e.controller.control = l.controller.control),
    n.includes("children") && t && g && l.virtual.enabled
      ? ((g.slides = t), g.update(!0))
      : n.includes("children") &&
        e.lazy &&
        e.params.lazy.enabled &&
        e.lazy.load(),
    B && v.init() && v.update(!0),
    y && (e.controller.control = l.controller.control),
    w && (a && (l.pagination.el = a), u.init(), u.render(), u.update()),
    m &&
      (s && (l.scrollbar.el = s), d.init(), d.updateSize(), d.setTranslate()),
    x &&
      (A && (l.navigation.nextEl = A),
      i && (l.navigation.prevEl = i),
      f.init(),
      f.update()),
    n.includes("allowSlideNext") && (e.allowSlideNext = r.allowSlideNext),
    n.includes("allowSlidePrev") && (e.allowSlidePrev = r.allowSlidePrev),
    n.includes("direction") && e.changeDirection(r.direction, !1),
    e.update();
}
function zj(e, t, r) {
  if (!r) return null;
  const n = e.value.isHorizontal()
    ? { [e.value.rtlTranslate ? "right" : "left"]: `${r.offset}px` }
    : { top: `${r.offset}px` };
  return t
    .filter((A, i) => i >= r.from && i <= r.to)
    .map(
      (A) => (
        A.props || (A.props = {}),
        A.props.style || (A.props.style = {}),
        (A.props.swiperRef = e),
        (A.props.style = n),
        Ur(A.type, { ...A.props }, A.children)
      ),
    );
}
const jj = (e) => {
    !e ||
      e.destroyed ||
      !e.params.virtual ||
      (e.params.virtual && !e.params.virtual.enabled) ||
      (e.updateSlides(),
      e.updateProgress(),
      e.updateSlidesClasses(),
      e.lazy && e.params.lazy.enabled && e.lazy.load(),
      e.parallax &&
        e.params.parallax &&
        e.params.parallax.enabled &&
        e.parallax.setTranslate());
  },
  hne = {
    name: "Swiper",
    props: {
      tag: { type: String, default: "div" },
      wrapperTag: { type: String, default: "div" },
      modules: { type: Array, default: void 0 },
      init: { type: Boolean, default: void 0 },
      direction: { type: String, default: void 0 },
      touchEventsTarget: { type: String, default: void 0 },
      initialSlide: { type: Number, default: void 0 },
      speed: { type: Number, default: void 0 },
      cssMode: { type: Boolean, default: void 0 },
      updateOnWindowResize: { type: Boolean, default: void 0 },
      resizeObserver: { type: Boolean, default: void 0 },
      nested: { type: Boolean, default: void 0 },
      focusableElements: { type: String, default: void 0 },
      width: { type: Number, default: void 0 },
      height: { type: Number, default: void 0 },
      preventInteractionOnTransition: { type: Boolean, default: void 0 },
      userAgent: { type: String, default: void 0 },
      url: { type: String, default: void 0 },
      edgeSwipeDetection: { type: [Boolean, String], default: void 0 },
      edgeSwipeThreshold: { type: Number, default: void 0 },
      autoHeight: { type: Boolean, default: void 0 },
      setWrapperSize: { type: Boolean, default: void 0 },
      virtualTranslate: { type: Boolean, default: void 0 },
      effect: { type: String, default: void 0 },
      breakpoints: { type: Object, default: void 0 },
      spaceBetween: { type: Number, default: void 0 },
      slidesPerView: { type: [Number, String], default: void 0 },
      maxBackfaceHiddenSlides: { type: Number, default: void 0 },
      slidesPerGroup: { type: Number, default: void 0 },
      slidesPerGroupSkip: { type: Number, default: void 0 },
      slidesPerGroupAuto: { type: Boolean, default: void 0 },
      centeredSlides: { type: Boolean, default: void 0 },
      centeredSlidesBounds: { type: Boolean, default: void 0 },
      slidesOffsetBefore: { type: Number, default: void 0 },
      slidesOffsetAfter: { type: Number, default: void 0 },
      normalizeSlideIndex: { type: Boolean, default: void 0 },
      centerInsufficientSlides: { type: Boolean, default: void 0 },
      watchOverflow: { type: Boolean, default: void 0 },
      roundLengths: { type: Boolean, default: void 0 },
      touchRatio: { type: Number, default: void 0 },
      touchAngle: { type: Number, default: void 0 },
      simulateTouch: { type: Boolean, default: void 0 },
      shortSwipes: { type: Boolean, default: void 0 },
      longSwipes: { type: Boolean, default: void 0 },
      longSwipesRatio: { type: Number, default: void 0 },
      longSwipesMs: { type: Number, default: void 0 },
      followFinger: { type: Boolean, default: void 0 },
      allowTouchMove: { type: Boolean, default: void 0 },
      threshold: { type: Number, default: void 0 },
      touchMoveStopPropagation: { type: Boolean, default: void 0 },
      touchStartPreventDefault: { type: Boolean, default: void 0 },
      touchStartForcePreventDefault: { type: Boolean, default: void 0 },
      touchReleaseOnEdges: { type: Boolean, default: void 0 },
      uniqueNavElements: { type: Boolean, default: void 0 },
      resistance: { type: Boolean, default: void 0 },
      resistanceRatio: { type: Number, default: void 0 },
      watchSlidesProgress: { type: Boolean, default: void 0 },
      grabCursor: { type: Boolean, default: void 0 },
      preventClicks: { type: Boolean, default: void 0 },
      preventClicksPropagation: { type: Boolean, default: void 0 },
      slideToClickedSlide: { type: Boolean, default: void 0 },
      preloadImages: { type: Boolean, default: void 0 },
      updateOnImagesReady: { type: Boolean, default: void 0 },
      loop: { type: Boolean, default: void 0 },
      loopAdditionalSlides: { type: Number, default: void 0 },
      loopedSlides: { type: Number, default: void 0 },
      loopedSlidesLimit: { type: Boolean, default: !0 },
      loopFillGroupWithBlank: { type: Boolean, default: void 0 },
      loopPreventsSlide: { type: Boolean, default: void 0 },
      rewind: { type: Boolean, default: void 0 },
      allowSlidePrev: { type: Boolean, default: void 0 },
      allowSlideNext: { type: Boolean, default: void 0 },
      swipeHandler: { type: Boolean, default: void 0 },
      noSwiping: { type: Boolean, default: void 0 },
      noSwipingClass: { type: String, default: void 0 },
      noSwipingSelector: { type: String, default: void 0 },
      passiveListeners: { type: Boolean, default: void 0 },
      containerModifierClass: { type: String, default: void 0 },
      slideClass: { type: String, default: void 0 },
      slideBlankClass: { type: String, default: void 0 },
      slideActiveClass: { type: String, default: void 0 },
      slideDuplicateActiveClass: { type: String, default: void 0 },
      slideVisibleClass: { type: String, default: void 0 },
      slideDuplicateClass: { type: String, default: void 0 },
      slideNextClass: { type: String, default: void 0 },
      slideDuplicateNextClass: { type: String, default: void 0 },
      slidePrevClass: { type: String, default: void 0 },
      slideDuplicatePrevClass: { type: String, default: void 0 },
      wrapperClass: { type: String, default: void 0 },
      runCallbacksOnInit: { type: Boolean, default: void 0 },
      observer: { type: Boolean, default: void 0 },
      observeParents: { type: Boolean, default: void 0 },
      observeSlideChildren: { type: Boolean, default: void 0 },
      a11y: { type: [Boolean, Object], default: void 0 },
      autoplay: { type: [Boolean, Object], default: void 0 },
      controller: { type: Object, default: void 0 },
      coverflowEffect: { type: Object, default: void 0 },
      cubeEffect: { type: Object, default: void 0 },
      fadeEffect: { type: Object, default: void 0 },
      flipEffect: { type: Object, default: void 0 },
      creativeEffect: { type: Object, default: void 0 },
      cardsEffect: { type: Object, default: void 0 },
      hashNavigation: { type: [Boolean, Object], default: void 0 },
      history: { type: [Boolean, Object], default: void 0 },
      keyboard: { type: [Boolean, Object], default: void 0 },
      lazy: { type: [Boolean, Object], default: void 0 },
      mousewheel: { type: [Boolean, Object], default: void 0 },
      navigation: { type: [Boolean, Object], default: void 0 },
      pagination: { type: [Boolean, Object], default: void 0 },
      parallax: { type: [Boolean, Object], default: void 0 },
      scrollbar: { type: [Boolean, Object], default: void 0 },
      thumbs: { type: Object, default: void 0 },
      virtual: { type: [Boolean, Object], default: void 0 },
      zoom: { type: [Boolean, Object], default: void 0 },
      grid: { type: [Object], default: void 0 },
      freeMode: { type: [Boolean, Object], default: void 0 },
      enabled: { type: Boolean, default: void 0 },
    },
    emits: [
      "_beforeBreakpoint",
      "_containerClasses",
      "_slideClass",
      "_slideClasses",
      "_swiper",
      "_freeModeNoMomentumRelease",
      "activeIndexChange",
      "afterInit",
      "autoplay",
      "autoplayStart",
      "autoplayStop",
      "autoplayPause",
      "autoplayResume",
      "beforeDestroy",
      "beforeInit",
      "beforeLoopFix",
      "beforeResize",
      "beforeSlideChangeStart",
      "beforeTransitionStart",
      "breakpoint",
      "changeDirection",
      "click",
      "disable",
      "doubleTap",
      "doubleClick",
      "destroy",
      "enable",
      "fromEdge",
      "hashChange",
      "hashSet",
      "imagesReady",
      "init",
      "keyPress",
      "lazyImageLoad",
      "lazyImageReady",
      "lock",
      "loopFix",
      "momentumBounce",
      "navigationHide",
      "navigationShow",
      "navigationPrev",
      "navigationNext",
      "observerUpdate",
      "orientationchange",
      "paginationHide",
      "paginationRender",
      "paginationShow",
      "paginationUpdate",
      "progress",
      "reachBeginning",
      "reachEnd",
      "realIndexChange",
      "resize",
      "scroll",
      "scrollbarDragEnd",
      "scrollbarDragMove",
      "scrollbarDragStart",
      "setTransition",
      "setTranslate",
      "slideChange",
      "slideChangeTransitionEnd",
      "slideChangeTransitionStart",
      "slideNextTransitionEnd",
      "slideNextTransitionStart",
      "slidePrevTransitionEnd",
      "slidePrevTransitionStart",
      "slideResetTransitionStart",
      "slideResetTransitionEnd",
      "sliderMove",
      "sliderFirstMove",
      "slidesLengthChange",
      "slidesGridLengthChange",
      "snapGridLengthChange",
      "snapIndexChange",
      "swiper",
      "tap",
      "toEdge",
      "touchEnd",
      "touchMove",
      "touchMoveOpposite",
      "touchStart",
      "transitionEnd",
      "transitionStart",
      "unlock",
      "update",
      "virtualUpdate",
      "zoomChange",
    ],
    setup(e, t) {
      let { slots: r, emit: n } = t;
      const { tag: A, wrapperTag: i } = e,
        s = Ue("swiper"),
        a = Ue(null),
        o = Ue(!1),
        l = Ue(!1),
        u = Ue(null),
        f = Ue(null),
        d = Ue(null),
        g = { value: [] },
        v = { value: [] },
        B = Ue(null),
        y = Ue(null),
        w = Ue(null),
        m = Ue(null),
        { params: x, passedParams: C } = Pm(e, !1);
      Dd(r, g, v), (d.value = C), (v.value = g.value);
      const b = () => {
        Dd(r, g, v), (o.value = !0);
      };
      if (
        ((x.onAny = function (I) {
          for (
            var T = arguments.length, D = new Array(T > 1 ? T - 1 : 0), U = 1;
            U < T;
            U++
          )
            D[U - 1] = arguments[U];
          n(I, ...D);
        }),
        Object.assign(x.on, {
          _beforeBreakpoint: b,
          _containerClasses(I, T) {
            s.value = T;
          },
        }),
        (f.value = new lo(x)),
        (f.value.loopCreate = () => {}),
        (f.value.loopDestroy = () => {}),
        x.loop && (f.value.loopedSlides = Ny(g.value, x)),
        f.value.virtual && f.value.params.virtual.enabled)
      ) {
        f.value.virtual.slides = g.value;
        const I = {
          cache: !1,
          slides: g.value,
          renderExternal: (T) => {
            a.value = T;
          },
          renderExternalUpdate: !1,
        };
        Ki(f.value.params.virtual, I), Ki(f.value.originalParams.virtual, I);
      }
      Aa(() => {
        !l.value && f.value && (f.value.emitSlidesClasses(), (l.value = !0));
        const { passedParams: I } = Pm(e, !1),
          T = Gj(I, d.value, g.value, v.value, (D) => D.props && D.props.key);
        (d.value = I),
          (T.length || o.value) &&
            f.value &&
            !f.value.destroyed &&
            Wj({
              swiper: f.value,
              slides: g.value,
              passedParams: I,
              changedParams: T,
              nextEl: B.value,
              prevEl: y.value,
              scrollbarEl: m.value,
              paginationEl: w.value,
            }),
          (o.value = !1);
      }),
        nA("swiper", f),
        Ye(a, () => {
          yt(() => {
            jj(f.value);
          });
        }),
        Zt(() => {
          u.value &&
            (Kj(
              {
                el: u.value,
                nextEl: B.value,
                prevEl: y.value,
                paginationEl: w.value,
                scrollbarEl: m.value,
                swiper: f.value,
              },
              x,
            ),
            n("swiper", f.value));
        }),
        Tn(() => {
          f.value && !f.value.destroyed && f.value.destroy(!0, !1);
        });
      function F(I) {
        return x.virtual
          ? zj(f, I, a.value)
          : !x.loop || (f.value && f.value.destroyed)
            ? (I.forEach((T) => {
                T.props || (T.props = {}), (T.props.swiperRef = f);
              }),
              I)
            : Vj(f, I, x);
      }
      return () => {
        const { slides: I, slots: T } = Dd(r, g, v);
        return Ur(A, { ref: u, class: My(s.value) }, [
          T["container-start"],
          Ur(i, { class: "swiper-wrapper" }, [
            T["wrapper-start"],
            F(I),
            T["wrapper-end"],
          ]),
          Ly(e) && [
            Ur("div", { ref: y, class: "swiper-button-prev" }),
            Ur("div", { ref: B, class: "swiper-button-next" }),
          ],
          Hy(e) && Ur("div", { ref: m, class: "swiper-scrollbar" }),
          ky(e) && Ur("div", { ref: w, class: "swiper-pagination" }),
          T["container-end"],
        ]);
      };
    },
  },
  pne = {
    name: "SwiperSlide",
    props: {
      tag: { type: String, default: "div" },
      swiperRef: { type: Object, required: !1 },
      zoom: { type: Boolean, default: void 0 },
      virtualIndex: { type: [String, Number], default: void 0 },
    },
    setup(e, t) {
      let { slots: r } = t,
        n = !1;
      const { swiperRef: A } = e,
        i = Ue(null),
        s = Ue("swiper-slide");
      function a(l, u, f) {
        u === i.value && (s.value = f);
      }
      Zt(() => {
        !A || !A.value || (A.value.on("_slideClass", a), (n = !0));
      }),
        Jc(() => {
          n || !A || !A.value || (A.value.on("_slideClass", a), (n = !0));
        }),
        Aa(() => {
          !i.value ||
            !A ||
            !A.value ||
            (A.value.destroyed &&
              s.value !== "swiper-slide" &&
              (s.value = "swiper-slide"));
        }),
        Tn(() => {
          !A || !A.value || A.value.off("_slideClass", a);
        });
      const o = Oe(() => ({
        isActive:
          s.value.indexOf("swiper-slide-active") >= 0 ||
          s.value.indexOf("swiper-slide-duplicate-active") >= 0,
        isVisible: s.value.indexOf("swiper-slide-visible") >= 0,
        isDuplicate: s.value.indexOf("swiper-slide-duplicate") >= 0,
        isPrev:
          s.value.indexOf("swiper-slide-prev") >= 0 ||
          s.value.indexOf("swiper-slide-duplicate-prev") >= 0,
        isNext:
          s.value.indexOf("swiper-slide-next") >= 0 ||
          s.value.indexOf("swiper-slide-duplicate-next") >= 0,
      }));
      return (
        nA("swiperSlide", o),
        () =>
          Ur(
            e.tag,
            {
              class: My(`${s.value}`),
              ref: i,
              "data-swiper-slide-index": e.virtualIndex,
            },
            e.zoom
              ? Ur(
                  "div",
                  {
                    class: "swiper-zoom-container",
                    "data-swiper-zoom":
                      typeof e.zoom == "number" ? e.zoom : void 0,
                  },
                  r.default && r.default(o.value),
                )
              : r.default && r.default(o.value),
          )
      );
    },
  };
var We = {
  pullStartY: null,
  pullMoveY: null,
  handlers: [],
  styleEl: null,
  events: null,
  dist: 0,
  state: "pending",
  timeout: null,
  distResisted: 0,
  supportsPassive: !1,
  supportsPointerEvents: typeof window < "u" && !!window.PointerEvent,
};
try {
  window.addEventListener("test", null, {
    get passive() {
      We.supportsPassive = !0;
    },
  });
} catch {}
function Yj(e) {
  if (!e.ptrElement) {
    var t = document.createElement("div");
    e.mainElement !== document.body
      ? e.mainElement.parentNode.insertBefore(t, e.mainElement)
      : document.body.insertBefore(t, document.body.firstChild),
      t.classList.add(e.classPrefix + "ptr"),
      (t.innerHTML = e.getMarkup().replace(/__PREFIX__/g, e.classPrefix)),
      (e.ptrElement = t),
      typeof e.onInit == "function" && e.onInit(e),
      We.styleEl ||
        ((We.styleEl = document.createElement("style")),
        We.styleEl.setAttribute("id", "pull-to-refresh-js-style"),
        document.head.appendChild(We.styleEl)),
      (We.styleEl.textContent = e
        .getStyles()
        .replace(/__PREFIX__/g, e.classPrefix)
        .replace(/\s+/g, " "));
  }
  return e;
}
function Xj(e) {
  e.ptrElement &&
    (e.ptrElement.classList.remove(e.classPrefix + "refresh"),
    (e.ptrElement.style[e.cssProp] = "0px"),
    setTimeout(function () {
      e.ptrElement &&
        e.ptrElement.parentNode &&
        (e.ptrElement.parentNode.removeChild(e.ptrElement),
        (e.ptrElement = null)),
        (We.state = "pending");
    }, e.refreshTimeout));
}
function Jj(e) {
  var t = e.ptrElement.querySelector("." + e.classPrefix + "icon"),
    r = e.ptrElement.querySelector("." + e.classPrefix + "text");
  t &&
    (We.state === "refreshing"
      ? (t.innerHTML = e.iconRefreshing)
      : (t.innerHTML = e.iconArrow)),
    r &&
      (We.state === "releasing" &&
        (r.innerHTML = e.instructionsReleaseToRefresh),
      (We.state === "pulling" || We.state === "pending") &&
        (r.innerHTML = e.instructionsPullToRefresh),
      We.state === "refreshing" && (r.innerHTML = e.instructionsRefreshing));
}
var En = { setupDOM: Yj, onReset: Xj, update: Jj },
  Om,
  Pd = function (t) {
    return We.pointerEventsEnabled && We.supportsPointerEvents
      ? t.screenY
      : t.touches[0].screenY;
  },
  $y = function () {
    var e;
    function t(s) {
      var a = We.handlers.filter(function (o) {
        return o.contains(s.target);
      })[0];
      (We.enable = !!a),
        a &&
          We.state === "pending" &&
          ((e = En.setupDOM(a)),
          a.shouldPullToRefresh() && (We.pullStartY = Pd(s)),
          clearTimeout(We.timeout),
          En.update(a));
    }
    function r(s) {
      if (e && e.ptrElement && We.enable) {
        if (
          (We.pullStartY
            ? (We.pullMoveY = Pd(s))
            : e.shouldPullToRefresh() && (We.pullStartY = Pd(s)),
          We.state === "refreshing")
        ) {
          s.cancelable &&
            e.shouldPullToRefresh() &&
            We.pullStartY < We.pullMoveY &&
            s.preventDefault();
          return;
        }
        We.state === "pending" &&
          (e.ptrElement.classList.add(e.classPrefix + "pull"),
          (We.state = "pulling"),
          En.update(e)),
          We.pullStartY &&
            We.pullMoveY &&
            (We.dist = We.pullMoveY - We.pullStartY),
          (We.distExtra = We.dist - e.distIgnore),
          We.distExtra > 0 &&
            (s.cancelable && s.preventDefault(),
            (e.ptrElement.style[e.cssProp] = We.distResisted + "px"),
            (We.distResisted =
              e.resistanceFunction(We.distExtra / e.distThreshold) *
              Math.min(e.distMax, We.distExtra)),
            We.state === "pulling" &&
              We.distResisted > e.distThreshold &&
              (e.ptrElement.classList.add(e.classPrefix + "release"),
              (We.state = "releasing"),
              En.update(e)),
            We.state === "releasing" &&
              We.distResisted < e.distThreshold &&
              (e.ptrElement.classList.remove(e.classPrefix + "release"),
              (We.state = "pulling"),
              En.update(e)));
      }
    }
    function n() {
      if (e && e.ptrElement && We.enable) {
        if (
          (clearTimeout(Om),
          (Om = setTimeout(function () {
            e && e.ptrElement && We.state === "pending" && En.onReset(e);
          }, 500)),
          We.state === "releasing" && We.distResisted > e.distThreshold)
        )
          (We.state = "refreshing"),
            (e.ptrElement.style[e.cssProp] = e.distReload + "px"),
            e.ptrElement.classList.add(e.classPrefix + "refresh"),
            (We.timeout = setTimeout(function () {
              var s = e.onRefresh(function () {
                return En.onReset(e);
              });
              s &&
                typeof s.then == "function" &&
                s.then(function () {
                  return En.onReset(e);
                }),
                !s && !e.onRefresh.length && En.onReset(e);
            }, e.refreshTimeout));
        else {
          if (We.state === "refreshing") return;
          (e.ptrElement.style[e.cssProp] = "0px"), (We.state = "pending");
        }
        En.update(e),
          e.ptrElement.classList.remove(e.classPrefix + "release"),
          e.ptrElement.classList.remove(e.classPrefix + "pull"),
          (We.pullStartY = We.pullMoveY = null),
          (We.dist = We.distResisted = 0);
      }
    }
    function A() {
      e &&
        e.mainElement.classList.toggle(
          e.classPrefix + "top",
          e.shouldPullToRefresh(),
        );
    }
    var i = We.supportsPassive ? { passive: We.passive || !1 } : void 0;
    return (
      We.pointerEventsEnabled && We.supportsPointerEvents
        ? (window.addEventListener("pointerup", n),
          window.addEventListener("pointerdown", t),
          window.addEventListener("pointermove", r, i))
        : (window.addEventListener("touchend", n),
          window.addEventListener("touchstart", t),
          window.addEventListener("touchmove", r, i)),
      window.addEventListener("scroll", A),
      {
        onTouchEnd: n,
        onTouchStart: t,
        onTouchMove: r,
        onScroll: A,
        destroy: function () {
          We.pointerEventsEnabled && We.supportsPointerEvents
            ? (window.removeEventListener("pointerdown", t),
              window.removeEventListener("pointerup", n),
              window.removeEventListener("pointermove", r, i))
            : (window.removeEventListener("touchstart", t),
              window.removeEventListener("touchend", n),
              window.removeEventListener("touchmove", r, i)),
            window.removeEventListener("scroll", A);
        },
      }
    );
  },
  qj = `
<div class="__PREFIX__box">
  <div class="__PREFIX__content">
    <div class="__PREFIX__icon"></div>
    <div class="__PREFIX__text"></div>
  </div>
</div>
`,
  Zj = `
.__PREFIX__ptr {
  box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  font-size: 0.85em;
  font-weight: bold;
  top: 0;
  height: 0;
  transition: height 0.3s, min-height 0.3s;
  text-align: center;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  align-content: stretch;
}

.__PREFIX__box {
  padding: 10px;
  flex-basis: 100%;
}

.__PREFIX__pull {
  transition: none;
}

.__PREFIX__text {
  margin-top: .33em;
  color: rgba(0, 0, 0, 0.3);
}

.__PREFIX__icon {
  color: rgba(0, 0, 0, 0.3);
  transition: transform .3s;
}

/*
When at the top of the page, disable vertical overscroll so passive touch
listeners can take over.
*/
.__PREFIX__top {
  touch-action: pan-x pan-down pinch-zoom;
}

.__PREFIX__release .__PREFIX__icon {
  transform: rotate(180deg);
}
`,
  Od = {
    distThreshold: 60,
    distMax: 80,
    distReload: 50,
    distIgnore: 0,
    mainElement: "body",
    triggerElement: "body",
    ptrElement: ".ptr",
    classPrefix: "ptr--",
    cssProp: "min-height",
    iconArrow: "&#8675;",
    iconRefreshing: "&hellip;",
    instructionsPullToRefresh: "Pull down to refresh",
    instructionsReleaseToRefresh: "Release to refresh",
    instructionsRefreshing: "Refreshing",
    refreshTimeout: 500,
    getMarkup: function () {
      return qj;
    },
    getStyles: function () {
      return Zj;
    },
    onInit: function () {},
    onRefresh: function () {
      return location.reload();
    },
    resistanceFunction: function (e) {
      return Math.min(1, e / 2.5);
    },
    shouldPullToRefresh: function () {
      return !window.scrollY;
    },
  },
  eY = ["mainElement", "ptrElement", "triggerElement"],
  Lm = function (e) {
    var t = {};
    return (
      Object.keys(Od).forEach(function (r) {
        t[r] = e[r] || Od[r];
      }),
      (t.refreshTimeout =
        typeof e.refreshTimeout == "number"
          ? e.refreshTimeout
          : Od.refreshTimeout),
      eY.forEach(function (r) {
        typeof t[r] == "string" && (t[r] = document.querySelector(t[r]));
      }),
      We.events || (We.events = $y()),
      (t.contains = function (r) {
        return t.triggerElement.contains(r);
      }),
      (t.destroy = function () {
        clearTimeout(We.timeout);
        var r = We.handlers.indexOf(t);
        We.handlers.splice(r, 1);
      }),
      t
    );
  },
  tY = {
    setPassiveMode: function (t) {
      We.passive = t;
    },
    setPointerEventsMode: function (t) {
      We.pointerEventsEnabled = t;
    },
    destroyAll: function () {
      We.events && (We.events.destroy(), (We.events = null)),
        We.handlers.forEach(function (t) {
          t.destroy();
        });
    },
    init: function (t) {
      t === void 0 && (t = {});
      var r = Lm(t);
      return We.handlers.push(r), r;
    },
    _: {
      setupHandler: Lm,
      setupEvents: $y,
      setupDOM: En.setupDOM,
      onReset: En.onReset,
      update: En.update,
    },
  };
const gne = tY;
var Ky = !1;
/*! *****************************************************************************
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 dn =
  function () {
    return (
      (dn =
        Object.assign ||
        function (e) {
          for (var t, r = 1, n = arguments.length; r < n; r++)
            for (var A in (t = arguments[r]))
              Object.prototype.hasOwnProperty.call(t, A) && (e[A] = t[A]);
          return e;
        }),
      dn.apply(this, arguments)
    );
  };
/*! *****************************************************************************
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 mh =
  function (e, t) {
    return (
      (mh =
        Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array &&
          function (r, n) {
            r.__proto__ = n;
          }) ||
        function (r, n) {
          for (var A in n)
            Object.prototype.hasOwnProperty.call(n, A) && (r[A] = n[A]);
        }),
      mh(e, t)
    );
  };
function Xp(e, t) {
  if (typeof t != "function" && t !== null)
    throw new TypeError(
      "Class extends value " + String(t) + " is not a constructor or null",
    );
  function r() {
    this.constructor = e;
  }
  mh(e, t),
    (e.prototype =
      t === null ? Object.create(t) : ((r.prototype = t.prototype), new r()));
}
var qA = function () {
  return (
    (qA =
      Object.assign ||
      function (e) {
        for (var t, r = 1, n = arguments.length; r < n; r++)
          for (var A in (t = arguments[r]))
            Object.prototype.hasOwnProperty.call(t, A) && (e[A] = t[A]);
        return e;
      }),
    qA.apply(this, arguments)
  );
};
function ZA(e, t, r, n) {
  return new (r || (r = Promise))(function (A, i) {
    function s(l) {
      try {
        o(n.next(l));
      } catch (u) {
        i(u);
      }
    }
    function a(l) {
      try {
        o(n.throw(l));
      } catch (u) {
        i(u);
      }
    }
    function o(l) {
      var u;
      l.done
        ? A(l.value)
        : ((u = l.value),
          u instanceof r
            ? u
            : new r(function (f) {
                f(u);
              })).then(s, a);
    }
    o((n = n.apply(e, t || [])).next());
  });
}
function ei(e, t) {
  var r,
    n,
    A,
    i,
    s = {
      label: 0,
      sent: function () {
        if (1 & A[0]) throw A[1];
        return A[1];
      },
      trys: [],
      ops: [],
    };
  return (
    (i = { next: a(0), throw: a(1), return: a(2) }),
    typeof Symbol == "function" &&
      (i[Symbol.iterator] = function () {
        return this;
      }),
    i
  );
  function a(o) {
    return function (l) {
      return (function (u) {
        if (r) throw new TypeError("Generator is already executing.");
        for (; s; )
          try {
            if (
              ((r = 1),
              n &&
                (A =
                  2 & u[0]
                    ? n.return
                    : u[0]
                      ? n.throw || ((A = n.return) && A.call(n), 0)
                      : n.next) &&
                !(A = A.call(n, u[1])).done)
            )
              return A;
            switch (((n = 0), A && (u = [2 & u[0], A.value]), u[0])) {
              case 0:
              case 1:
                A = u;
                break;
              case 4:
                return s.label++, { value: u[1], done: !1 };
              case 5:
                s.label++, (n = u[1]), (u = [0]);
                continue;
              case 7:
                (u = s.ops.pop()), s.trys.pop();
                continue;
              default:
                if (
                  !(
                    (A = (A = s.trys).length > 0 && A[A.length - 1]) ||
                    (u[0] !== 6 && u[0] !== 2)
                  )
                ) {
                  s = 0;
                  continue;
                }
                if (u[0] === 3 && (!A || (u[1] > A[0] && u[1] < A[3]))) {
                  s.label = u[1];
                  break;
                }
                if (u[0] === 6 && s.label < A[1]) {
                  (s.label = A[1]), (A = u);
                  break;
                }
                if (A && s.label < A[2]) {
                  (s.label = A[2]), s.ops.push(u);
                  break;
                }
                A[2] && s.ops.pop(), s.trys.pop();
                continue;
            }
            u = t.call(e, s);
          } catch (f) {
            (u = [6, f]), (n = 0);
          } finally {
            r = A = 0;
          }
        if (5 & u[0]) throw u[1];
        return { value: u[0] ? u[1] : void 0, done: !0 };
      })([o, l]);
    };
  }
}
function Ra(e, t) {
  for (var r = 0, n = t.length, A = e.length; r < n; r++, A++) e[A] = t[r];
  return e;
}
Array.prototype.includes ||
  Object.defineProperty(Array.prototype, "includes", {
    value: function (e, t) {
      if (this == null) throw new TypeError('"this" is null or not defined');
      var r = Object(this),
        n = r.length >>> 0;
      if (n === 0) return !1;
      for (
        var A, i, s = 0 | t, a = Math.max(s >= 0 ? s : n - Math.abs(s), 0);
        a < n;

      ) {
        if (
          (A = r[a]) === (i = e) ||
          (typeof A == "number" && typeof i == "number" && isNaN(A) && isNaN(i))
        )
          return !0;
        a++;
      }
      return !1;
    },
  }),
  String.prototype.includes ||
    (String.prototype.includes = function (e, t) {
      return (
        typeof t != "number" && (t = 0),
        !(t + e.length > this.length) && this.indexOf(e, t) !== -1
      );
    }),
  Array.prototype.find ||
    Object.defineProperty(Array.prototype, "find", {
      value: function (e) {
        if (this == null) throw new TypeError('"this" is null or not defined');
        var t = Object(this),
          r = t.length >>> 0;
        if (typeof e != "function")
          throw new TypeError("predicate must be a function");
        for (var n = arguments[1], A = 0; A < r; ) {
          var i = t[A];
          if (e.call(n, i, A, t)) return i;
          A++;
        }
      },
    });
var n0 = function (e) {
    for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
    return t.some(function (n) {
      return Object.prototype.toString.call(e).slice(8, -1).toLowerCase() === n;
    });
  },
  uo = function (e, t) {
    return Object.prototype.hasOwnProperty.call(e, t);
  },
  Jp = function (e) {
    return [].filter
      .call(e, function (t) {
        return (
          t !==
          `
`
        );
      })
      .join("");
  },
  Vi = function (e) {
    if (
      typeof e != "string" ||
      (e = e.toLocaleLowerCase().trim()) === "transparent"
    )
      return !1;
    var t;
    return !(
      /^rgba/.test(e) &&
      ((t = /([^\s,]+)\)$/.exec(e)) === null
        ? 0
        : typeof t == "object"
          ? NaN
          : typeof t == "number"
            ? t
            : typeof t == "string"
              ? t[t.length - 1] === "%"
                ? Number(t.slice(0, -1)) / 100
                : Number(t)
              : NaN) === 0
    );
  },
  Vy = function (e, t) {
    var r,
      n = ((r = e.padding) === null || r === void 0
        ? void 0
        : r.split(" ").map(function (u) {
            return t(u);
          })) || [0],
      A = 0,
      i = 0,
      s = 0,
      a = 0;
    switch (n.length) {
      case 1:
        A = i = s = a = n[0];
        break;
      case 2:
        (A = i = n[0]), (s = a = n[1]);
        break;
      case 3:
        (A = n[0]), (s = a = n[1]), (i = n[2]);
        break;
      default:
        (A = n[0]), (i = n[1]), (s = n[2]), (a = n[3]);
    }
    var o = {
      paddingTop: A,
      paddingBottom: i,
      paddingLeft: s,
      paddingRight: a,
    };
    for (var l in o)
      o[l] = uo(e, l) && n0(e[l], "string", "number") ? t(e[l]) : o[l];
    return [A, i, s, a];
  },
  Gy = function (e) {
    var t = [],
      r = e
        .map(function (A) {
          return Number(A);
        })
        .reduce(function (A, i) {
          if (i > 0) {
            var s = A + i;
            return t.push(s), s;
          }
          return t.push(NaN), A;
        }, 0),
      n = Math.random() * r;
    return t.findIndex(function (A) {
      return n <= A;
    });
  },
  qp = function (e, t, r, n) {
    n === void 0 && (n = 1 / 0), n <= 0 && (n = 1 / 0);
    for (
      var A = "", i = [], s = e.measureText("...").width, a = 0;
      a < t.length;
      a++
    ) {
      A += t[a];
      var o = e.measureText(A).width,
        l = r(i);
      if ((n === i.length + 1 && (o += s), l < 0)) return i;
      if ((o > l && (i.push(A.slice(0, -1)), (A = t[a])), n === i.length))
        return (i[i.length - 1] += "..."), i;
    }
    return A && i.push(A), i.length || i.push(t), i;
  },
  Ms = (function () {
    function e() {
      this.subs = [];
    }
    return (
      (e.prototype.addSub = function (t) {
        this.subs.includes(t) || this.subs.push(t);
      }),
      (e.prototype.notify = function () {
        this.subs.forEach(function (t) {
          t.update();
        });
      }),
      e
    );
  })(),
  rY = "__proto__" in {};
function km(e, t, r, n) {
  Object.defineProperty(e, t, {
    value: r,
    enumerable: !!n,
    writable: !0,
    configurable: !0,
  });
}
var Wy = Array.prototype,
  Yu = Object.create(Wy);
["push", "pop", "shift", "unshift", "sort", "splice", "reverse"].forEach(
  function (e) {
    Yu[e] = function () {
      for (var t = [], r = 0; r < arguments.length; r++) t[r] = arguments[r];
      var n = Wy[e].apply(this, t),
        A = this.__luckyOb__;
      return (
        ["push", "unshift", "splice"].includes(e) && A.walk(this),
        A.dep.notify(),
        n
      );
    };
  },
);
var nY = (function () {
  function e(t) {
    (this.dep = new Ms()),
      km(t, "__luckyOb__", this),
      Array.isArray(t) &&
        (rY
          ? (t.__proto__ = Yu)
          : Object.getOwnPropertyNames(Yu).forEach(function (r) {
              km(t, r, Yu[r]);
            })),
      this.walk(t);
  }
  return (
    (e.prototype.walk = function (t) {
      Object.keys(t).forEach(function (r) {
        zy(t, r, t[r]);
      });
    }),
    e
  );
})();
function Hm(e) {
  if (e && typeof e == "object")
    return "__luckyOb__" in e ? e.__luckyOb__ : new nY(e);
}
function zy(e, t, r) {
  var n = new Ms(),
    A = Object.getOwnPropertyDescriptor(e, t);
  if (!A || A.configurable !== !1) {
    var i = A && A.get,
      s = A && A.set;
    (i && !s) || arguments.length !== 2 || (r = e[t]);
    var a = Hm(r);
    Object.defineProperty(e, t, {
      get: function () {
        var o = i ? i.call(e) : r;
        return (
          Ms.target && (n.addSub(Ms.target), a && a.dep.addSub(Ms.target)), o
        );
      },
      set: function (o) {
        o !== r &&
          ((r = o),
          (i && !s) || (s ? s.call(e, o) : (r = o), (a = Hm(o)), n.notify()));
      },
    });
  }
}
var AY = 0,
  iY = (function () {
    function e(t, r, n, A) {
      A === void 0 && (A = {}),
        (this.id = AY++),
        (this.$lucky = t),
        (this.expr = r),
        (this.deep = !!A.deep),
        (this.getter =
          typeof r == "function"
            ? r
            : (function (i) {
                i += ".";
                for (var s = [], a = "", o = 0; o < i.length; o++) {
                  var l = i[o];
                  if (/\[|\./.test(l)) s.push(a), (a = "");
                  else {
                    if (/\W/.test(l)) continue;
                    a += l;
                  }
                }
                return function (u) {
                  return s.reduce(function (f, d) {
                    return f[d];
                  }, u);
                };
              })(r)),
        (this.cb = n),
        (this.value = this.get());
    }
    return (
      (e.prototype.get = function () {
        Ms.target = this;
        var t = this.getter.call(this.$lucky, this.$lucky);
        return (
          this.deep &&
            (function (r) {
              var n = function (A) {
                n0(A, "array", "object") &&
                  Object.keys(A).forEach(function (i) {
                    var s = A[i];
                    n(s);
                  });
              };
              n(r);
            })(t),
          (Ms.target = null),
          t
        );
      }),
      (e.prototype.update = function () {
        var t = this.get(),
          r = this.value;
        (this.value = t), this.cb.call(this.$lucky, t, r);
      }),
      e
    );
  })(),
  Zp = (function () {
    function e(t, r) {
      var n = this;
      (this.version = "1.7.21"),
        (this.htmlFontSize = 16),
        (this.rAF = function () {}),
        (this.boxWidth = 0),
        (this.boxHeight = 0),
        typeof t == "string"
          ? (t = { el: t })
          : t.nodeType === 1 && (t = { el: "", divElement: t }),
        (t = t),
        (this.config = t),
        (this.data = r),
        t.flag || (t.flag = "WEB"),
        t.el && (t.divElement = document.querySelector(t.el)),
        t.divElement &&
          ((t.canvasElement = document.createElement("canvas")),
          t.divElement.appendChild(t.canvasElement)),
        t.canvasElement &&
          ((t.ctx = t.canvasElement.getContext("2d")),
          t.canvasElement.setAttribute("package", "lucky-canvas@1.7.21"),
          t.canvasElement.addEventListener("click", function (A) {
            return n.handleClick(A);
          })),
        (this.ctx = t.ctx),
        this.initWindowFunction(),
        this.config.ctx || console.error("无法获取到 CanvasContext2D"),
        window &&
          typeof window.addEventListener == "function" &&
          window.addEventListener(
            "resize",
            (function (A, i) {
              i === void 0 && (i = 300);
              var s = null;
              return function () {
                for (var a = this, o = [], l = 0; l < arguments.length; l++)
                  o[l] = arguments[l];
                s ||
                  (s = setTimeout(function () {
                    A.apply(a, o), clearTimeout(s), (s = null);
                  }, i));
              };
            })(function () {
              return n.resize();
            }, 300),
          ),
        window &&
          typeof window.MutationObserver == "function" &&
          new window.MutationObserver(function () {
            n.resize();
          }).observe(document.documentElement, { attributes: !0 });
    }
    return (
      (e.prototype.resize = function () {
        var t, r;
        (r = (t = this.config).beforeResize) === null ||
          r === void 0 ||
          r.call(t),
          this.setHTMLFontSize(),
          this.setDpr(),
          this.resetWidthAndHeight(),
          this.zoomCanvas();
      }),
      (e.prototype.initLucky = function () {
        if ((this.resize(), !this.boxWidth || !this.boxHeight))
          return console.error("无法获取到宽度或高度");
      }),
      (e.prototype.handleClick = function (t) {}),
      (e.prototype.setHTMLFontSize = function () {
        window &&
          (this.htmlFontSize = +window
            .getComputedStyle(document.documentElement)
            .fontSize.slice(0, -2));
      }),
      (e.prototype.clearCanvas = function () {
        var t = [this.boxWidth, this.boxHeight],
          r = t[0],
          n = t[1];
        this.ctx.clearRect(-r, -n, 2 * r, 2 * n);
      }),
      (e.prototype.setDpr = function () {
        var t = this.config;
        t.dpr ||
          (window
            ? (window.dpr = t.dpr = window.devicePixelRatio || 1)
            : t.dpr || console.error(t, "未传入 dpr 可能会导致绘制异常"));
      }),
      (e.prototype.resetWidthAndHeight = function () {
        var t = this.config,
          r = this.data,
          n = 0,
          A = 0;
        t.divElement &&
          ((n = t.divElement.offsetWidth), (A = t.divElement.offsetHeight)),
          (this.boxWidth = this.getLength(r.width || t.width) || n),
          (this.boxHeight = this.getLength(r.height || t.height) || A),
          t.divElement &&
            ((t.divElement.style.overflow = "hidden"),
            (t.divElement.style.width = this.boxWidth + "px"),
            (t.divElement.style.height = this.boxHeight + "px"));
      }),
      (e.prototype.zoomCanvas = function () {
        var t = this.config,
          r = this.ctx,
          n = t.canvasElement,
          A = t.dpr,
          i = [this.boxWidth * A, this.boxHeight * A],
          s = i[0],
          a = i[1];
        n &&
          ((n.width = s),
          (n.height = a),
          (n.style.width = s + "px"),
          (n.style.height = a + "px"),
          (n.style["transform-origin"] = "left top"),
          (n.style.transform = "scale(" + 1 / A + ")"),
          r.scale(A, A));
      }),
      (e.prototype.initWindowFunction = function () {
        var t = this.config;
        if (window)
          return (
            (this.rAF =
              window.requestAnimationFrame ||
              window.webkitRequestAnimationFrame ||
              window.mozRequestAnimationFrame ||
              function (n) {
                window.setTimeout(n, 1e3 / 60);
              }),
            (t.setTimeout = window.setTimeout),
            (t.setInterval = window.setInterval),
            (t.clearTimeout = window.clearTimeout),
            void (t.clearInterval = window.clearInterval)
          );
        if (t.rAF) this.rAF = t.rAF;
        else if (t.setTimeout) {
          var r = t.setTimeout;
          this.rAF = function (n) {
            return r(n, 16.7);
          };
        } else
          this.rAF = function (n) {
            return setTimeout(n, 16.7);
          };
      }),
      (e.prototype.loadImg = function (t, r, n) {
        var A = this;
        return (
          n === void 0 && (n = "$resolve"),
          new Promise(function (i, s) {
            if (
              (t || s("=> '" + r.src + "' 不能为空或不合法"),
              A.config.flag !== "WEB")
            )
              return (r[n] = i), void (r.$reject = s);
            var a = new Image();
            (a.onload = function () {
              return i(a);
            }),
              (a.onerror = function () {
                return s("=> '" + r.src + "' 图片加载失败");
              }),
              (a.src = t);
          })
        );
      }),
      (e.prototype.drawImage = function (t, r) {
        for (var n, A = [], i = 2; i < arguments.length; i++)
          A[i - 2] = arguments[i];
        var s = this.config,
          a = s.flag,
          o = s.dpr;
        if (["WEB", "MP-WX"].includes(a)) n = r;
        else {
          if (!["UNI-H5", "UNI-MP", "TARO-H5", "TARO-MP"].includes(a))
            return console.error("意料之外的 flag, 该平台尚未兼容!");
          n = r.path;
        }
        if (!n.canvas)
          return (
            A.length === 8 &&
              (A = A.map(function (f, d) {
                return d < 4 ? f * o : f;
              })),
            t.drawImage.apply(t, Ra([n], A))
          );
        var l = n.canvas.getContext("2d");
        A = A.map(function (f) {
          return f * o;
        });
        var u = l.getImageData.apply(l, A.slice(0, 4));
        t.putImageData.apply(t, Ra([u], A.slice(4, 6)));
      }),
      (e.prototype.computedWidthAndHeight = function (t, r, n, A) {
        if (!r.width && !r.height) return [t.width, t.height];
        if (r.width && !r.height) {
          var i = this.getLength(r.width, n);
          return [i, t.height * (i / t.width)];
        }
        if (!r.width && r.height) {
          var s = this.getLength(r.height, A);
          return [t.width * (s / t.height), s];
        }
        return [this.getLength(r.width, n), this.getLength(r.height, A)];
      }),
      (e.prototype.changeUnits = function (t, r) {
        var n = this;
        r === void 0 && (r = 1);
        var A = this.config;
        return Number(
          t.replace(/^([-]*[0-9.]*)([a-z%]*)$/, function (i, s, a) {
            var o = {
              "%": function (u) {
                return u * (r / 100);
              },
              px: function (u) {
                return 1 * u;
              },
              rem: function (u) {
                return u * n.htmlFontSize;
              },
              vw: function (u) {
                return (u / 100) * window.innerWidth;
              },
            }[a];
            if (o) return o(s);
            var l = A.handleCssUnit || A.unitFunc;
            return l ? l(s, a) : s;
          }),
        );
      }),
      (e.prototype.getLength = function (t, r) {
        return n0(t, "number")
          ? t
          : n0(t, "string")
            ? this.changeUnits(t, r)
            : 0;
      }),
      (e.prototype.getOffsetX = function (t, r) {
        return r === void 0 && (r = 0), (r - t) / 2;
      }),
      (e.prototype.getOffscreenCanvas = function (t, r) {
        if (
          !uo(this, "_offscreenCanvas") &&
          (window && window.document && this.config.flag === "WEB"
            ? (this._offscreenCanvas = document.createElement("canvas"))
            : (this._offscreenCanvas = this.config.offscreenCanvas),
          !this._offscreenCanvas)
        )
          return console.error("离屏 Canvas 无法渲染!");
        var n = this.config.dpr,
          A = this._offscreenCanvas;
        (A.width = (t || 300) * n), (A.height = (r || 150) * n);
        var i = A.getContext("2d");
        return (
          i.clearRect(0, 0, t, r),
          i.scale(n, n),
          (i.dpr = n),
          { _offscreenCanvas: A, _ctx: i }
        );
      }),
      (e.prototype.$set = function (t, r, n) {
        t && typeof t == "object" && zy(t, r, n);
      }),
      (e.prototype.$computed = function (t, r, n) {
        var A = this;
        Object.defineProperty(t, r, {
          get: function () {
            return n.call(A);
          },
        });
      }),
      (e.prototype.$watch = function (t, r, n) {
        n === void 0 && (n = {}), typeof r == "object" && (r = (n = r).handler);
        var A = new iY(this, t, r, n);
        return n.immediate && r.call(this, A.value), function () {};
      }),
      (e.version = "1.7.21"),
      e
    );
  })(),
  Ts = function (e) {
    return (Math.PI / 180) * e;
  },
  wc = function (e) {
    for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
    var n = t[0],
      A = t[1],
      i = t[2],
      s = t[3],
      a = t[4],
      o = Math.min(i, s),
      l = Math.PI;
    a > o / 2 && (a = o / 2),
      e.beginPath(),
      e.moveTo(n + a, A),
      e.lineTo(n + a, A),
      e.lineTo(n + i - a, A),
      e.arc(n + i - a, A + a, a, -l / 2, 0),
      e.lineTo(n + i, A + s - a),
      e.arc(n + i - a, A + s - a, a, 0, l / 2),
      e.lineTo(n + a, A + s),
      e.arc(n + a, A + s - a, a, l / 2, l),
      e.lineTo(n, A + a),
      e.arc(n + a, A + a, a, l, -l / 2),
      e.closePath();
  },
  e5 = function (e, t, r, n) {
    return e >= n && (e = n), r * (e /= n) * e + t;
  },
  co = function (e, t, r, n) {
    return e >= n && (e = n), -r * (e /= n) * (e - 2) + t;
  },
  sY = (function (e) {
    function t(r, n) {
      var A,
        i = e.call(this, r, { width: n.width, height: n.height }) || this;
      return (
        (i.blocks = []),
        (i.prizes = []),
        (i.buttons = []),
        (i.defaultConfig = {}),
        (i.defaultStyle = {}),
        (i._defaultConfig = {}),
        (i._defaultStyle = {}),
        (i.Radius = 0),
        (i.prizeRadius = 0),
        (i.prizeDeg = 0),
        (i.prizeAng = 0),
        (i.rotateDeg = 0),
        (i.maxBtnRadius = 0),
        (i.startTime = 0),
        (i.endTime = 0),
        (i.stopDeg = 0),
        (i.endDeg = 0),
        (i.FPS = 16.6),
        (i.step = 0),
        (i.ImageCache = new Map()),
        i.initData(n),
        i.initWatch(),
        i.initComputed(),
        (A = r.beforeCreate) === null || A === void 0 || A.call(i),
        i.init(),
        i
      );
    }
    return (
      Xp(t, e),
      (t.prototype.resize = function () {
        var r, n;
        e.prototype.resize.call(this),
          (this.Radius = Math.min(this.boxWidth, this.boxHeight) / 2),
          this.ctx.translate(this.Radius, this.Radius),
          this.draw(),
          (n = (r = this.config).afterResize) === null ||
            n === void 0 ||
            n.call(r);
      }),
      (t.prototype.initLucky = function () {
        (this.Radius = 0),
          (this.prizeRadius = 0),
          (this.prizeDeg = 0),
          (this.prizeAng = 0),
          (this.rotateDeg = 0),
          (this.maxBtnRadius = 0),
          (this.startTime = 0),
          (this.endTime = 0),
          (this.stopDeg = 0),
          (this.endDeg = 0),
          (this.FPS = 16.6),
          (this.prizeFlag = -1),
          (this.step = 0),
          e.prototype.initLucky.call(this);
      }),
      (t.prototype.initData = function (r) {
        this.$set(this, "width", r.width || "300px"),
          this.$set(this, "height", r.height || "300px"),
          this.$set(this, "blocks", r.blocks || []),
          this.$set(this, "prizes", r.prizes || []),
          this.$set(this, "buttons", r.buttons || []),
          this.$set(this, "defaultConfig", r.defaultConfig || {}),
          this.$set(this, "defaultStyle", r.defaultStyle || {}),
          this.$set(this, "startCallback", r.start),
          this.$set(this, "endCallback", r.end);
      }),
      (t.prototype.initComputed = function () {
        var r = this;
        this.$computed(this, "_defaultConfig", function () {
          return qA(
            {
              gutter: "0px",
              offsetDegree: 0,
              speed: 20,
              speedFunction: "quad",
              accelerationTime: 2500,
              decelerationTime: 2500,
              stopRange: 0,
            },
            r.defaultConfig,
          );
        }),
          this.$computed(this, "_defaultStyle", function () {
            return qA(
              {
                fontSize: "18px",
                fontColor: "#000",
                fontStyle: "sans-serif",
                fontWeight: "400",
                background: "rgba(0,0,0,0)",
                wordWrap: !0,
                lengthLimit: "90%",
              },
              r.defaultStyle,
            );
          });
      }),
      (t.prototype.initWatch = function () {
        var r = this;
        this.$watch("width", function (n) {
          (r.data.width = n), r.resize();
        }),
          this.$watch("height", function (n) {
            (r.data.height = n), r.resize();
          }),
          this.$watch(
            "blocks",
            function (n) {
              r.initImageCache();
            },
            { deep: !0 },
          ),
          this.$watch(
            "prizes",
            function (n) {
              r.initImageCache();
            },
            { deep: !0 },
          ),
          this.$watch(
            "buttons",
            function (n) {
              r.initImageCache();
            },
            { deep: !0 },
          ),
          this.$watch(
            "defaultConfig",
            function () {
              return r.draw();
            },
            { deep: !0 },
          ),
          this.$watch(
            "defaultStyle",
            function () {
              return r.draw();
            },
            { deep: !0 },
          ),
          this.$watch("startCallback", function () {
            return r.init();
          }),
          this.$watch("endCallback", function () {
            return r.init();
          });
      }),
      (t.prototype.init = function () {
        var r, n;
        return ZA(this, void 0, void 0, function () {
          var A;
          return ei(this, function (i) {
            switch (i.label) {
              case 0:
                return (
                  this.initLucky(),
                  (A = this.config),
                  (r = A.beforeInit) === null || r === void 0 || r.call(this),
                  this.draw(),
                  this.draw(),
                  [4, this.initImageCache()]
                );
              case 1:
                return (
                  i.sent(),
                  (n = A.afterInit) === null || n === void 0 || n.call(this),
                  [2]
                );
            }
          });
        });
      }),
      (t.prototype.initImageCache = function () {
        var r = this;
        return new Promise(function (n) {
          var A = {
            blocks: r.blocks.map(function (i) {
              return i.imgs;
            }),
            prizes: r.prizes.map(function (i) {
              return i.imgs;
            }),
            buttons: r.buttons.map(function (i) {
              return i.imgs;
            }),
          };
          Object.keys(A).forEach(function (i) {
            var s = A[i],
              a = [];
            s &&
              s.forEach(function (o, l) {
                o &&
                  o.forEach(function (u, f) {
                    a.push(r.loadAndCacheImg(i, l, f));
                  });
              }),
              Promise.all(a).then(function () {
                r.draw(), n();
              });
          });
        });
      }),
      (t.prototype.handleClick = function (r) {
        var n,
          A = this.ctx;
        A.beginPath(),
          A.arc(0, 0, this.maxBtnRadius, 0, 2 * Math.PI, !1),
          A.isPointInPath(r.offsetX, r.offsetY) &&
            this.step === 0 &&
            ((n = this.startCallback) === null ||
              n === void 0 ||
              n.call(this, r));
      }),
      (t.prototype.loadAndCacheImg = function (r, n, A) {
        return ZA(this, void 0, void 0, function () {
          var i = this;
          return ei(this, function (s) {
            return [
              2,
              new Promise(function (a, o) {
                var l = i[r][n];
                if (l && l.imgs) {
                  var u = l.imgs[A];
                  u &&
                    i
                      .loadImg(u.src, u)
                      .then(function (f) {
                        return ZA(i, void 0, void 0, function () {
                          return ei(this, function (d) {
                            switch (d.label) {
                              case 0:
                                return typeof u.formatter != "function"
                                  ? [3, 2]
                                  : [
                                      4,
                                      Promise.resolve(
                                        u.formatter.call(this, f),
                                      ),
                                    ];
                              case 1:
                                (f = d.sent()), (d.label = 2);
                              case 2:
                                return this.ImageCache.set(u.src, f), a(), [2];
                            }
                          });
                        });
                      })
                      .catch(function (f) {
                        console.error(r + "[" + n + "].imgs[" + A + "] " + f),
                          o();
                      });
                }
              }),
            ];
          });
        });
      }),
      (t.prototype.drawBlock = function (r, n, A) {
        var i = this,
          s = this.ctx;
        Vi(n.background) &&
          (s.beginPath(),
          (s.fillStyle = n.background),
          s.arc(0, 0, r, 0, 2 * Math.PI, !1),
          s.fill()),
          n.imgs &&
            n.imgs.forEach(function (a, o) {
              var l = i.ImageCache.get(a.src);
              if (l) {
                var u = i.computedWidthAndHeight(l, a, 2 * r, 2 * r),
                  f = u[0],
                  d = u[1],
                  g = [
                    i.getOffsetX(f) + i.getLength(a.left, 2 * r),
                    i.getLength(a.top, 2 * r) - r,
                  ],
                  v = g[0],
                  B = g[1];
                s.save(),
                  a.rotate && s.rotate(Ts(i.rotateDeg)),
                  i.drawImage(s, l, v, B, f, d),
                  s.restore();
              }
            });
      }),
      (t.prototype.draw = function () {
        var r,
          n,
          A = this,
          i = this,
          s = i.config,
          a = i.ctx,
          o = i._defaultConfig,
          l = i._defaultStyle;
        (r = s.beforeDraw) === null || r === void 0 || r.call(this, a),
          a.clearRect(
            -this.Radius,
            -this.Radius,
            2 * this.Radius,
            2 * this.Radius,
          ),
          (this.prizeRadius = this.blocks.reduce(function (v, B, y) {
            return (
              A.drawBlock(v, B, y),
              v - A.getLength(B.padding && B.padding.split(" ")[0])
            );
          }, this.Radius)),
          (this.prizeDeg = 360 / this.prizes.length),
          (this.prizeAng = Ts(this.prizeDeg));
        var u = this.prizeRadius * Math.sin(this.prizeAng / 2) * 2,
          f = Ts(this.rotateDeg - 90 + this.prizeDeg / 2 + o.offsetDegree),
          d = function (v, B) {
            return (
              A.getOffsetX(a.measureText(B).width) + A.getLength(v.left, u)
            );
          },
          g = function (v, B, y) {
            var w = v.lineHeight || l.lineHeight || v.fontSize || l.fontSize;
            return A.getLength(v.top, B) + (y + 1) * A.getLength(w);
          };
        a.save(),
          this.prizes.forEach(function (v, B) {
            var y = f + B * A.prizeAng,
              w = A.prizeRadius - A.maxBtnRadius,
              m = v.background || l.background;
            Vi(m) &&
              ((a.fillStyle = m),
              (function (b, F, I, T, D, U) {
                b.beginPath();
                var Q,
                  L,
                  $ = Ts((90 / Math.PI / I) * U),
                  X = T + $,
                  V = D - $;
                b.arc(0, 0, I, X, V, !1),
                  b.lineTo.apply(
                    b,
                    ((Q = (T + D) / 2),
                    (L = U / 2 / Math.abs(Math.sin((T - D) / 2))),
                    [
                      +(Math.cos(Q) * L).toFixed(8),
                      +(Math.sin(Q) * L).toFixed(8),
                    ]),
                  ),
                  b.closePath();
              })(
                a,
                A.maxBtnRadius,
                A.prizeRadius,
                y - A.prizeAng / 2,
                y + A.prizeAng / 2,
                A.getLength(o.gutter),
              ),
              a.fill());
            var x = Math.cos(y) * A.prizeRadius,
              C = Math.sin(y) * A.prizeRadius;
            a.translate(x, C),
              a.rotate(y + Ts(90)),
              v.imgs &&
                v.imgs.forEach(function (b, F) {
                  var I = A.ImageCache.get(b.src);
                  if (I) {
                    var T = A.computedWidthAndHeight(
                        I,
                        b,
                        A.prizeAng * A.prizeRadius,
                        w,
                      ),
                      D = T[0],
                      U = T[1],
                      Q = [
                        A.getOffsetX(D) + A.getLength(b.left, u),
                        A.getLength(b.top, w),
                      ],
                      L = Q[0],
                      $ = Q[1];
                    A.drawImage(a, I, L, $, D, U);
                  }
                }),
              v.fonts &&
                v.fonts.forEach(function (b) {
                  var F = b.fontColor || l.fontColor,
                    I = b.fontWeight || l.fontWeight,
                    T = A.getLength(b.fontSize || l.fontSize),
                    D = b.fontStyle || l.fontStyle,
                    U = uo(b, "wordWrap") ? b.wordWrap : l.wordWrap,
                    Q = b.lengthLimit || l.lengthLimit,
                    L = b.lineClamp || l.lineClamp;
                  (a.fillStyle = F), (a.font = I + " " + (T >> 0) + "px " + D);
                  var $ = String(b.text);
                  (U
                    ? qp(
                        a,
                        Jp($),
                        function (X) {
                          var V =
                            (A.prizeRadius - g(b, w, X.length)) *
                              Math.tan(A.prizeAng / 2) *
                              2 -
                            A.getLength(o.gutter);
                          return A.getLength(Q, V);
                        },
                        L,
                      )
                    : $.split(`
`)
                  )
                    .filter(function (X) {
                      return !!X;
                    })
                    .forEach(function (X, V) {
                      a.fillText(X, d(b, X), g(b, w, V));
                    });
                }),
              a.rotate(Ts(360) - y - Ts(90)),
              a.translate(-x, -C);
          }),
          a.restore(),
          this.buttons.forEach(function (v, B) {
            var y = A.getLength(v.radius, A.prizeRadius);
            (A.maxBtnRadius = Math.max(A.maxBtnRadius, y)),
              Vi(v.background) &&
                (a.beginPath(),
                (a.fillStyle = v.background),
                a.arc(0, 0, y, 0, 2 * Math.PI, !1),
                a.fill()),
              v.pointer &&
                Vi(v.background) &&
                (a.beginPath(),
                (a.fillStyle = v.background),
                a.moveTo(-y, 0),
                a.lineTo(y, 0),
                a.lineTo(0, 2 * -y),
                a.closePath(),
                a.fill()),
              v.imgs &&
                v.imgs.forEach(function (w, m) {
                  var x = A.ImageCache.get(w.src);
                  if (x) {
                    var C = A.computedWidthAndHeight(x, w, 2 * y, 2 * y),
                      b = C[0],
                      F = C[1],
                      I = [
                        A.getOffsetX(b) + A.getLength(w.left, y),
                        A.getLength(w.top, y),
                      ],
                      T = I[0],
                      D = I[1];
                    A.drawImage(a, x, T, D, b, F);
                  }
                }),
              v.fonts &&
                v.fonts.forEach(function (w) {
                  var m = w.fontColor || l.fontColor,
                    x = w.fontWeight || l.fontWeight,
                    C = A.getLength(w.fontSize || l.fontSize),
                    b = w.fontStyle || l.fontStyle;
                  (a.fillStyle = m),
                    (a.font = x + " " + (C >> 0) + "px " + b),
                    String(w.text)
                      .split(
                        `
`,
                      )
                      .forEach(function (F, I) {
                        a.fillText(F, d(w, F), g(w, y, I));
                      });
                });
          }),
          (n = s.afterDraw) === null || n === void 0 || n.call(this, a);
      }),
      (t.prototype.carveOnGunwaleOfAMovingBoat = function () {
        var r = this,
          n = r._defaultConfig,
          A = r.prizeFlag,
          i = r.prizeDeg,
          s = r.rotateDeg;
        this.endTime = Date.now();
        for (
          var a = (this.stopDeg = s),
            o = n.speed,
            l = (Math.random() * i - i / 2) * this.getLength(n.stopRange),
            u = 0,
            f = 0,
            d = 0;
          ++u;

        ) {
          var g = 360 * u - A * i - s - n.offsetDegree + l - i / 2,
            v = co(this.FPS, a, g, n.decelerationTime) - a;
          if (v > o) {
            this.endDeg = o - f > v - o ? g : d;
            break;
          }
          (d = g), (f = v);
        }
      }),
      (t.prototype.play = function () {
        var r, n;
        this.step === 0 &&
          ((this.startTime = Date.now()),
          (this.prizeFlag = void 0),
          (this.step = 1),
          (n = (r = this.config).afterStart) === null ||
            n === void 0 ||
            n.call(r),
          this.run());
      }),
      (t.prototype.stop = function (r) {
        if (this.step !== 0 && this.step !== 3) {
          if (!r && r !== 0) {
            var n = this.prizes.map(function (A) {
              return A.range;
            });
            r = Gy(n);
          }
          r < 0
            ? ((this.step = 0), (this.prizeFlag = -1))
            : ((this.step = 2), (this.prizeFlag = r % this.prizes.length));
        }
      }),
      (t.prototype.run = function (r) {
        var n;
        r === void 0 && (r = 0);
        var A = this,
          i = A.rAF,
          s = A.step,
          a = A.prizeFlag,
          o = A._defaultConfig,
          l = o.accelerationTime,
          u = o.decelerationTime,
          f = o.speed;
        if (s !== 0) {
          if (a !== -1) {
            s !== 3 || this.endDeg || this.carveOnGunwaleOfAMovingBoat();
            var d = Date.now() - this.startTime,
              g = Date.now() - this.endTime,
              v = this.rotateDeg;
            if (s === 1 || d < l) {
              this.FPS = d / r;
              var B = e5(d, 0, f, l);
              B === f && (this.step = 2), (v += B % 360);
            } else
              s === 2
                ? ((v += f % 360),
                  a !== void 0 &&
                    a >= 0 &&
                    ((this.step = 3), (this.stopDeg = 0), (this.endDeg = 0)))
                : s === 3
                  ? ((v = co(g, this.stopDeg, this.endDeg, u)),
                    g >= u && (this.step = 0))
                  : this.stop(-1);
            (this.rotateDeg = v), this.draw(), i(this.run.bind(this, r + 1));
          }
        } else
          (n = this.endCallback) === null ||
            n === void 0 ||
            n.call(
              this,
              this.prizes.find(function (y, w) {
                return w === a;
              }) || {},
            );
      }),
      (t.prototype.conversionAxis = function (r, n) {
        var A = this.config;
        return [r / A.dpr - this.Radius, n / A.dpr - this.Radius];
      }),
      t
    );
  })(Zp),
  aY = (function (e) {
    function t(r, n) {
      var A,
        i = e.call(this, r, { width: n.width, height: n.height }) || this;
      return (
        (i.rows = 3),
        (i.cols = 3),
        (i.blocks = []),
        (i.prizes = []),
        (i.buttons = []),
        (i.defaultConfig = {}),
        (i.defaultStyle = {}),
        (i.activeStyle = {}),
        (i._defaultConfig = {}),
        (i._defaultStyle = {}),
        (i._activeStyle = {}),
        (i.cellWidth = 0),
        (i.cellHeight = 0),
        (i.startTime = 0),
        (i.endTime = 0),
        (i.currIndex = 0),
        (i.stopIndex = 0),
        (i.endIndex = 0),
        (i.demo = !1),
        (i.timer = 0),
        (i.FPS = 16.6),
        (i.step = 0),
        (i.prizeFlag = -1),
        (i.cells = []),
        (i.ImageCache = new Map()),
        i.initData(n),
        i.initWatch(),
        i.initComputed(),
        (A = r.beforeCreate) === null || A === void 0 || A.call(i),
        i.init(),
        i
      );
    }
    return (
      Xp(t, e),
      (t.prototype.resize = function () {
        var r, n;
        e.prototype.resize.call(this),
          this.draw(),
          (n = (r = this.config).afterResize) === null ||
            n === void 0 ||
            n.call(r);
      }),
      (t.prototype.initLucky = function () {
        (this.cellWidth = 0),
          (this.cellHeight = 0),
          (this.startTime = 0),
          (this.endTime = 0),
          (this.currIndex = 0),
          (this.stopIndex = 0),
          (this.endIndex = 0),
          (this.demo = !1),
          (this.timer = 0),
          (this.FPS = 16.6),
          (this.prizeFlag = -1),
          (this.step = 0),
          e.prototype.initLucky.call(this);
      }),
      (t.prototype.initData = function (r) {
        this.$set(this, "width", r.width || "300px"),
          this.$set(this, "height", r.height || "300px"),
          this.$set(this, "rows", Number(r.rows) || 3),
          this.$set(this, "cols", Number(r.cols) || 3),
          this.$set(this, "blocks", r.blocks || []),
          this.$set(this, "prizes", r.prizes || []),
          this.$set(this, "buttons", r.buttons || []),
          this.$set(this, "button", r.button),
          this.$set(this, "defaultConfig", r.defaultConfig || {}),
          this.$set(this, "defaultStyle", r.defaultStyle || {}),
          this.$set(this, "activeStyle", r.activeStyle || {}),
          this.$set(this, "startCallback", r.start),
          this.$set(this, "endCallback", r.end);
      }),
      (t.prototype.initComputed = function () {
        var r = this;
        this.$computed(this, "_defaultConfig", function () {
          var n = qA(
            {
              gutter: 5,
              speed: 20,
              accelerationTime: 2500,
              decelerationTime: 2500,
            },
            r.defaultConfig,
          );
          return (
            (n.gutter = r.getLength(n.gutter)), (n.speed = n.speed / 40), n
          );
        }),
          this.$computed(this, "_defaultStyle", function () {
            return qA(
              {
                borderRadius: 20,
                fontColor: "#000",
                fontSize: "18px",
                fontStyle: "sans-serif",
                fontWeight: "400",
                background: "rgba(0,0,0,0)",
                shadow: "",
                wordWrap: !0,
                lengthLimit: "90%",
              },
              r.defaultStyle,
            );
          }),
          this.$computed(this, "_activeStyle", function () {
            return qA({ background: "#ffce98", shadow: "" }, r.activeStyle);
          });
      }),
      (t.prototype.initWatch = function () {
        var r = this;
        this.$watch("width", function (n) {
          (r.data.width = n), r.resize();
        }),
          this.$watch("height", function (n) {
            (r.data.height = n), r.resize();
          }),
          this.$watch(
            "blocks",
            function (n) {
              r.initImageCache();
            },
            { deep: !0 },
          ),
          this.$watch(
            "prizes",
            function (n) {
              r.initImageCache();
            },
            { deep: !0 },
          ),
          this.$watch(
            "buttons",
            function (n) {
              r.initImageCache();
            },
            { deep: !0 },
          ),
          this.$watch("rows", function () {
            return r.init();
          }),
          this.$watch("cols", function () {
            return r.init();
          }),
          this.$watch(
            "defaultConfig",
            function () {
              return r.draw();
            },
            { deep: !0 },
          ),
          this.$watch(
            "defaultStyle",
            function () {
              return r.draw();
            },
            { deep: !0 },
          ),
          this.$watch(
            "activeStyle",
            function () {
              return r.draw();
            },
            { deep: !0 },
          ),
          this.$watch("startCallback", function () {
            return r.init();
          }),
          this.$watch("endCallback", function () {
            return r.init();
          });
      }),
      (t.prototype.init = function () {
        var r, n;
        return ZA(this, void 0, void 0, function () {
          var A;
          return ei(this, function (i) {
            switch (i.label) {
              case 0:
                return (
                  this.initLucky(),
                  (A = this.config),
                  (r = A.beforeInit) === null || r === void 0 || r.call(this),
                  this.draw(),
                  [4, this.initImageCache()]
                );
              case 1:
                return (
                  i.sent(),
                  (n = A.afterInit) === null || n === void 0 || n.call(this),
                  [2]
                );
            }
          });
        });
      }),
      (t.prototype.initImageCache = function () {
        var r = this;
        return new Promise(function (n) {
          var A = r.buttons.map(function (s) {
            return s.imgs;
          });
          r.button && A.push(r.button.imgs);
          var i = {
            blocks: r.blocks.map(function (s) {
              return s.imgs;
            }),
            prizes: r.prizes.map(function (s) {
              return s.imgs;
            }),
            buttons: A,
          };
          Object.keys(i).forEach(function (s) {
            var a = i[s],
              o = [];
            a &&
              a.forEach(function (l, u) {
                l &&
                  l.forEach(function (f, d) {
                    o.push(r.loadAndCacheImg(s, u, d));
                  });
              }),
              Promise.all(o).then(function () {
                r.draw(), n();
              });
          });
        });
      }),
      (t.prototype.handleClick = function (r) {
        var n = this,
          A = this.ctx;
        Ra(Ra([], this.buttons), [this.button]).forEach(function (i) {
          var s;
          if (i) {
            var a = n.getGeometricProperty([i.x, i.y, i.col || 1, i.row || 1]),
              o = a[0],
              l = a[1],
              u = a[2],
              f = a[3];
            A.beginPath(),
              A.rect(o, l, u, f),
              A.isPointInPath(r.offsetX, r.offsetY) &&
                n.step === 0 &&
                (typeof i.callback == "function" && i.callback.call(n, i),
                (s = n.startCallback) === null ||
                  s === void 0 ||
                  s.call(n, r, i));
          }
        });
      }),
      (t.prototype.loadAndCacheImg = function (r, n, A) {
        return ZA(this, void 0, void 0, function () {
          var i = this;
          return ei(this, function (s) {
            return [
              2,
              new Promise(function (a, o) {
                var l = i[r][n];
                if (
                  (r === "buttons" &&
                    !i.buttons.length &&
                    i.button &&
                    (l = i.button),
                  l && l.imgs)
                ) {
                  var u = l.imgs[A];
                  if (u) {
                    var f = [
                      i.loadImg(u.src, u),
                      u.activeSrc &&
                        i.loadImg(u.activeSrc, u, "$activeResolve"),
                    ];
                    Promise.all(f)
                      .then(function (d) {
                        var g = d[0],
                          v = d[1];
                        return ZA(i, void 0, void 0, function () {
                          var B;
                          return ei(this, function (y) {
                            switch (y.label) {
                              case 0:
                                return typeof (B = u.formatter) != "function"
                                  ? [3, 3]
                                  : [4, Promise.resolve(B.call(this, g))];
                              case 1:
                                return (
                                  (g = y.sent()),
                                  v
                                    ? [4, Promise.resolve(B.call(this, v))]
                                    : [3, 3]
                                );
                              case 2:
                                (v = y.sent()), (y.label = 3);
                              case 3:
                                return (
                                  this.ImageCache.set(u.src, g),
                                  v && this.ImageCache.set(u.activeSrc, v),
                                  a(),
                                  [2]
                                );
                            }
                          });
                        });
                      })
                      .catch(function (d) {
                        console.error(r + "[" + n + "].imgs[" + A + "] " + d),
                          o();
                      });
                  }
                }
              }),
            ];
          });
        });
      }),
      (t.prototype.draw = function () {
        var r,
          n,
          A = this,
          i = this,
          s = i.config,
          a = i.ctx,
          o = i._defaultConfig,
          l = i._defaultStyle,
          u = i._activeStyle;
        (r = s.beforeDraw) === null || r === void 0 || r.call(this, a),
          a.clearRect(0, 0, this.boxWidth, this.boxHeight),
          (this.cells = Ra(Ra([], this.prizes), this.buttons)),
          this.button && this.cells.push(this.button),
          this.cells.forEach(function (f) {
            (f.col = f.col || 1), (f.row = f.row || 1);
          }),
          (this.prizeArea = this.blocks.reduce(
            function (f, d, g) {
              var v = f.x,
                B = f.y,
                y = f.w,
                w = f.h,
                m = Vy(d, A.getLength.bind(A)),
                x = m[0],
                C = m[1],
                b = m[2],
                F = m[3],
                I = d.borderRadius ? A.getLength(d.borderRadius) : 0,
                T = d.background;
              return (
                Vi(T) &&
                  ((a.fillStyle = A.handleBackground(v, B, y, w, T)),
                  wc(a, v, B, y, w, I),
                  a.fill()),
                d.imgs &&
                  d.imgs.forEach(function (D, U) {
                    var Q = A.ImageCache.get(D.src);
                    if (Q) {
                      var L = A.computedWidthAndHeight(Q, D, y, w),
                        $ = L[0],
                        X = L[1],
                        V = [
                          A.getOffsetX($, y) + A.getLength(D.left, y),
                          A.getLength(D.top, w),
                        ],
                        G = V[0],
                        le = V[1];
                      A.drawImage(a, Q, v + G, B + le, $, X);
                    }
                  }),
                { x: v + b, y: B + x, w: y - b - F, h: w - x - C }
              );
            },
            { x: 0, y: 0, w: this.boxWidth, h: this.boxHeight },
          )),
          (this.cellWidth =
            (this.prizeArea.w - o.gutter * (this.cols - 1)) / this.cols),
          (this.cellHeight =
            (this.prizeArea.h - o.gutter * (this.rows - 1)) / this.rows),
          this.cells.forEach(function (f, d) {
            var g = A.getGeometricProperty([f.x, f.y, f.col, f.row]),
              v = g[0],
              B = g[1],
              y = g[2],
              w = g[3],
              m = !1;
            (A.prizeFlag === void 0 || A.prizeFlag > -1) &&
              (m = d === A.currIndex % A.prizes.length >> 0);
            var x = m ? u.background : f.background || l.background;
            if (Vi(x)) {
              var C = (m ? u.shadow : f.shadow || l.shadow)
                .replace(/px/g, "")
                .split(",")[0]
                .split(" ")
                .map(function (F, I) {
                  return I < 3 ? Number(F) : F;
                });
              C.length === 4 &&
                ((a.shadowColor = C[3]),
                (a.shadowOffsetX = C[0] * s.dpr),
                (a.shadowOffsetY = C[1] * s.dpr),
                (a.shadowBlur = C[2]),
                C[0] > 0 ? (y -= C[0]) : ((y += C[0]), (v -= C[0])),
                C[1] > 0 ? (w -= C[1]) : ((w += C[1]), (B -= C[1]))),
                (a.fillStyle = A.handleBackground(v, B, y, w, x));
              var b = A.getLength(
                f.borderRadius ? f.borderRadius : l.borderRadius,
              );
              wc(a, v, B, y, w, b),
                a.fill(),
                (a.shadowColor = "rgba(0, 0, 0, 0)"),
                (a.shadowOffsetX = 0),
                (a.shadowOffsetY = 0),
                (a.shadowBlur = 0);
            }
            d >= A.prizes.length && (d -= A.prizes.length),
              f.imgs &&
                f.imgs.forEach(function (F, I) {
                  var T = A.ImageCache.get(F.src),
                    D = A.ImageCache.get(F.activeSrc);
                  if (T) {
                    var U = (m && D) || T;
                    if (U) {
                      var Q = A.computedWidthAndHeight(U, F, y, w),
                        L = Q[0],
                        $ = Q[1],
                        X = [
                          v + A.getOffsetX(L, y) + A.getLength(F.left, y),
                          B + A.getLength(F.top, w),
                        ],
                        V = X[0],
                        G = X[1];
                      A.drawImage(a, U, V, G, L, $);
                    }
                  }
                }),
              f.fonts &&
                f.fonts.forEach(function (F) {
                  var I =
                      m && u.fontStyle
                        ? u.fontStyle
                        : F.fontStyle || l.fontStyle,
                    T =
                      m && u.fontWeight
                        ? u.fontWeight
                        : F.fontWeight || l.fontWeight,
                    D =
                      m && u.fontSize
                        ? A.getLength(u.fontSize)
                        : A.getLength(F.fontSize || l.fontSize),
                    U =
                      m && u.lineHeight
                        ? u.lineHeight
                        : F.lineHeight ||
                          l.lineHeight ||
                          F.fontSize ||
                          l.fontSize,
                    Q = uo(F, "wordWrap") ? F.wordWrap : l.wordWrap,
                    L = F.lengthLimit || l.lengthLimit,
                    $ = F.lineClamp || l.lineClamp;
                  (a.font = T + " " + (D >> 0) + "px " + I),
                    (a.fillStyle =
                      m && u.fontColor
                        ? u.fontColor
                        : F.fontColor || l.fontColor);
                  var X = [],
                    V = String(F.text);
                  if (Q) {
                    var G = A.getLength(L, y);
                    X = qp(
                      a,
                      Jp(V),
                      function () {
                        return G;
                      },
                      $,
                    );
                  } else
                    X = V.split(`
`);
                  X.forEach(function (le, q) {
                    a.fillText(
                      le,
                      v +
                        A.getOffsetX(a.measureText(le).width, y) +
                        A.getLength(F.left, y),
                      B + A.getLength(F.top, w) + (q + 1) * A.getLength(U),
                    );
                  });
                });
          }),
          (n = s.afterDraw) === null || n === void 0 || n.call(this, a);
      }),
      (t.prototype.handleBackground = function (r, n, A, i, s) {
        var a = this.ctx;
        return (
          s.includes("linear-gradient") &&
            (s = (function (o, l, u, f, d, g) {
              var v = /linear-gradient\((.+)\)/
                  .exec(g)[1]
                  .split(",")
                  .map(function (x) {
                    return x.trim();
                  }),
                B = v.shift(),
                y = [0, 0, 0, 0];
              if (B.includes("deg")) {
                var w = function (x) {
                  return Math.tan((x / 180) * Math.PI);
                };
                (B = B.slice(0, -3) % 360) >= 0 && B < 45
                  ? (y = [l, u + d, l + f, u + d - f * w(B - 0)])
                  : B >= 45 && B < 90
                    ? (y = [l, u + d, l + f - d * w(B - 45), u])
                    : B >= 90 && B < 135
                      ? (y = [l + f, u + d, l + f - d * w(B - 90), u])
                      : B >= 135 && B < 180
                        ? (y = [l + f, u + d, l, u + f * w(B - 135)])
                        : B >= 180 && B < 225
                          ? (y = [l + f, u, l, u + f * w(B - 180)])
                          : B >= 225 && B < 270
                            ? (y = [l + f, u, l + d * w(B - 225), u + d])
                            : B >= 270 && B < 315
                              ? (y = [l, u, l + d * w(B - 270), u + d])
                              : B >= 315 &&
                                B < 360 &&
                                (y = [l, u, l + f, u + d - f * w(B - 315)]);
              } else
                B.includes("top")
                  ? (y = [l, u + d, l, u])
                  : B.includes("bottom")
                    ? (y = [l, u, l, u + d])
                    : B.includes("left")
                      ? (y = [l + f, u, l, u])
                      : B.includes("right") && (y = [l, u, l + f, u]);
              var m = o.createLinearGradient.apply(
                o,
                y.map(function (x) {
                  return x >> 0;
                }),
              );
              return v.reduce(function (x, C, b) {
                var F = C.split(" ");
                return (
                  F.length === 1
                    ? x.addColorStop(b, F[0])
                    : F.length === 2 && x.addColorStop.apply(x, F),
                  x
                );
              }, m);
            })(a, r, n, A, i, s)),
          s
        );
      }),
      (t.prototype.carveOnGunwaleOfAMovingBoat = function () {
        var r = this,
          n = r._defaultConfig,
          A = r.prizeFlag,
          i = r.currIndex;
        this.endTime = Date.now();
        for (
          var s = (this.stopIndex = i), a = n.speed, o = 0, l = 0, u = 0;
          ++o;

        ) {
          var f = this.prizes.length * o + A - s,
            d = co(this.FPS, s, f, n.decelerationTime) - s;
          if (d > a) {
            this.endIndex = a - l > d - a ? f : u;
            break;
          }
          (u = f), (l = d);
        }
      }),
      (t.prototype.play = function () {
        var r, n;
        this.step === 0 &&
          ((this.startTime = Date.now()),
          (this.prizeFlag = void 0),
          (this.step = 1),
          (n = (r = this.config).afterStart) === null ||
            n === void 0 ||
            n.call(r),
          this.run());
      }),
      (t.prototype.stop = function (r) {
        if (this.step !== 0 && this.step !== 3) {
          if (!r && r !== 0) {
            var n = this.prizes.map(function (A) {
              return A.range;
            });
            r = Gy(n);
          }
          r < 0
            ? ((this.step = 0), (this.prizeFlag = -1))
            : ((this.step = 2), (this.prizeFlag = r % this.prizes.length));
        }
      }),
      (t.prototype.run = function (r) {
        var n;
        r === void 0 && (r = 0);
        var A = this,
          i = A.rAF,
          s = A.step,
          a = A.prizes,
          o = A.prizeFlag,
          l = A._defaultConfig,
          u = l.accelerationTime,
          f = l.decelerationTime,
          d = l.speed;
        if (s !== 0) {
          if (o !== -1) {
            s !== 3 || this.endIndex || this.carveOnGunwaleOfAMovingBoat();
            var g = Date.now() - this.startTime,
              v = Date.now() - this.endTime,
              B = this.currIndex;
            if (s === 1 || g < u) {
              this.FPS = g / r;
              var y = e5(g, 0.1, d - 0.1, u);
              y === d && (this.step = 2), (B += y % a.length);
            } else
              s === 2
                ? ((B += d % a.length),
                  o !== void 0 &&
                    o >= 0 &&
                    ((this.step = 3),
                    (this.stopIndex = 0),
                    (this.endIndex = 0)))
                : s === 3
                  ? ((B = co(v, this.stopIndex, this.endIndex, f)),
                    v >= f && (this.step = 0))
                  : this.stop(-1);
            (this.currIndex = B), this.draw(), i(this.run.bind(this, r + 1));
          }
        } else
          (n = this.endCallback) === null ||
            n === void 0 ||
            n.call(
              this,
              this.prizes.find(function (w, m) {
                return m === o;
              }) || {},
            );
      }),
      (t.prototype.getGeometricProperty = function (r) {
        var n = r[0],
          A = r[1],
          i = r[2],
          s = i === void 0 ? 1 : i,
          a = r[3],
          o = a === void 0 ? 1 : a,
          l = this.cellWidth,
          u = this.cellHeight,
          f = this._defaultConfig.gutter,
          d = [this.prizeArea.x + (l + f) * n, this.prizeArea.y + (u + f) * A];
        return s && o && d.push(l * s + f * (s - 1), u * o + f * (o - 1)), d;
      }),
      (t.prototype.conversionAxis = function (r, n) {
        var A = this.config;
        return [r / A.dpr, n / A.dpr];
      }),
      t
    );
  })(Zp),
  oY = (function (e) {
    function t(r, n) {
      var A,
        i = e.call(this, r, { width: n.width, height: n.height }) || this;
      return (
        (i.blocks = []),
        (i.prizes = []),
        (i.slots = []),
        (i.defaultConfig = {}),
        (i._defaultConfig = {}),
        (i.defaultStyle = {}),
        (i._defaultStyle = {}),
        (i.endCallback = function () {}),
        (i.cellWidth = 0),
        (i.cellHeight = 0),
        (i.cellAndSpacing = 0),
        (i.widthAndSpacing = 0),
        (i.heightAndSpacing = 0),
        (i.FPS = 16.6),
        (i.scroll = []),
        (i.stopScroll = []),
        (i.endScroll = []),
        (i.startTime = 0),
        (i.endTime = 0),
        (i.step = 0),
        (i.prizeFlag = void 0),
        (i.ImageCache = new Map()),
        i.initData(n),
        i.initWatch(),
        i.initComputed(),
        (A = r.beforeCreate) === null || A === void 0 || A.call(i),
        i.init(),
        i
      );
    }
    return (
      Xp(t, e),
      (t.prototype.resize = function () {
        var r, n;
        e.prototype.resize.call(this),
          this.draw(),
          (n = (r = this.config).afterResize) === null ||
            n === void 0 ||
            n.call(r);
      }),
      (t.prototype.initLucky = function () {
        (this.cellWidth = 0),
          (this.cellHeight = 0),
          (this.cellAndSpacing = 0),
          (this.widthAndSpacing = 0),
          (this.heightAndSpacing = 0),
          (this.FPS = 16.6),
          (this.scroll = []),
          (this.stopScroll = []),
          (this.endScroll = []),
          (this.startTime = 0),
          (this.endTime = 0),
          (this.prizeFlag = void 0),
          (this.step = 0),
          e.prototype.initLucky.call(this);
      }),
      (t.prototype.initData = function (r) {
        this.$set(this, "width", r.width || "300px"),
          this.$set(this, "height", r.height || "300px"),
          this.$set(this, "blocks", r.blocks || []),
          this.$set(this, "prizes", r.prizes || []),
          this.$set(this, "slots", r.slots || []),
          this.$set(this, "defaultConfig", r.defaultConfig || {}),
          this.$set(this, "defaultStyle", r.defaultStyle || {}),
          this.$set(this, "endCallback", r.end);
      }),
      (t.prototype.initComputed = function () {
        var r = this;
        this.$computed(this, "_defaultConfig", function () {
          var n = qA(
            {
              mode: "vertical",
              rowSpacing: 0,
              colSpacing: 5,
              speed: 20,
              direction: 1,
              accelerationTime: 2500,
              decelerationTime: 2500,
            },
            r.defaultConfig,
          );
          return (
            (n.rowSpacing = r.getLength(n.rowSpacing)),
            (n.colSpacing = r.getLength(n.colSpacing)),
            n
          );
        }),
          this.$computed(this, "_defaultStyle", function () {
            return qA(
              {
                borderRadius: 0,
                fontColor: "#000",
                fontSize: "18px",
                fontStyle: "sans-serif",
                fontWeight: "400",
                background: "rgba(0,0,0,0)",
                wordWrap: !0,
                lengthLimit: "90%",
              },
              r.defaultStyle,
            );
          });
      }),
      (t.prototype.initWatch = function () {
        var r = this;
        this.$watch("width", function (n) {
          (r.data.width = n), r.resize();
        }),
          this.$watch("height", function (n) {
            (r.data.height = n), r.resize();
          }),
          this.$watch(
            "blocks",
            function (n) {
              r.initImageCache();
            },
            { deep: !0 },
          ),
          this.$watch(
            "prizes",
            function (n) {
              r.initImageCache();
            },
            { deep: !0 },
          ),
          this.$watch(
            "slots",
            function (n) {
              r.drawOffscreenCanvas(), r.draw();
            },
            { deep: !0 },
          ),
          this.$watch(
            "defaultConfig",
            function () {
              return r.draw();
            },
            { deep: !0 },
          ),
          this.$watch(
            "defaultStyle",
            function () {
              return r.draw();
            },
            { deep: !0 },
          ),
          this.$watch("endCallback", function () {
            return r.init();
          });
      }),
      (t.prototype.init = function () {
        var r, n;
        return ZA(this, void 0, void 0, function () {
          var A;
          return ei(this, function (i) {
            switch (i.label) {
              case 0:
                return (
                  this.initLucky(),
                  (A = this.config),
                  (r = A.beforeInit) === null || r === void 0 || r.call(this),
                  this.drawOffscreenCanvas(),
                  this.draw(),
                  [4, this.initImageCache()]
                );
              case 1:
                return (
                  i.sent(),
                  (n = A.afterInit) === null || n === void 0 || n.call(this),
                  [2]
                );
            }
          });
        });
      }),
      (t.prototype.initImageCache = function () {
        var r = this;
        return new Promise(function (n) {
          var A = {
            blocks: r.blocks.map(function (i) {
              return i.imgs;
            }),
            prizes: r.prizes.map(function (i) {
              return i.imgs;
            }),
          };
          Object.keys(A).forEach(function (i) {
            var s = A[i],
              a = [];
            s &&
              s.forEach(function (o, l) {
                o &&
                  o.forEach(function (u, f) {
                    a.push(r.loadAndCacheImg(i, l, f));
                  });
              }),
              Promise.all(a).then(function () {
                r.drawOffscreenCanvas(), r.draw(), n();
              });
          });
        });
      }),
      (t.prototype.loadAndCacheImg = function (r, n, A) {
        return ZA(this, void 0, void 0, function () {
          var i = this;
          return ei(this, function (s) {
            return [
              2,
              new Promise(function (a, o) {
                var l = i[r][n];
                if (l && l.imgs) {
                  var u = l.imgs[A];
                  u &&
                    i
                      .loadImg(u.src, u)
                      .then(function (f) {
                        return ZA(i, void 0, void 0, function () {
                          return ei(this, function (d) {
                            switch (d.label) {
                              case 0:
                                return typeof u.formatter != "function"
                                  ? [3, 2]
                                  : [
                                      4,
                                      Promise.resolve(
                                        u.formatter.call(this, f),
                                      ),
                                    ];
                              case 1:
                                (f = d.sent()), (d.label = 2);
                              case 2:
                                return this.ImageCache.set(u.src, f), a(), [2];
                            }
                          });
                        });
                      })
                      .catch(function (f) {
                        console.error(r + "[" + n + "].imgs[" + A + "] " + f),
                          o();
                      });
                }
              }),
            ];
          });
        });
      }),
      (t.prototype.drawOffscreenCanvas = function () {
        var r = this,
          n = this._defaultConfig,
          A = this._defaultStyle,
          i = this.drawBlocks(),
          s = i.w,
          a = i.h,
          o = this.prizes.length,
          l = this.displacementWidthOrHeight(),
          u = l.cellWidth,
          f = l.cellHeight,
          d = l.widthAndSpacing,
          g = l.heightAndSpacing,
          v = new Array(o).fill(void 0).map(function (C, b) {
            return b;
          }),
          B = 0,
          y = 0;
        this.slots.forEach(function (C, b) {
          r.scroll[b] === void 0 && (r.scroll[b] = 0), (C.order = C.order || v);
          var F = C.order.length;
          (B = Math.max(B, s + d * F)), (y = Math.max(y, a + g * F));
        });
        var w = this.getOffscreenCanvas(B, y),
          m = w._offscreenCanvas,
          x = w._ctx;
        (this._offscreenCanvas = m),
          this.slots.forEach(function (C, b) {
            var F = u * b,
              I = f * b,
              T = 0,
              D = (function (ue, Ce) {
                for (var ee = {}, ce = [], ve = 0; ve < ue.length; ve++)
                  ee[ve] = ue[ve];
                for (ve = 0; ve < Ce.length; ve++) {
                  var xe = ee[Ce[ve]];
                  xe && (ce[ve] = xe);
                }
                return ce;
              })(r.prizes, C.order);
            if (D.length) {
              D.forEach(function (ue, Ce) {
                if (ue) {
                  C.order[Ce];
                  var ee = d * Ce + n.colSpacing / 2,
                    ce = g * Ce + n.rowSpacing / 2,
                    ve = r.displacement([F, ce, g], [ee, I, d]),
                    xe = ve[0],
                    se = ve[1],
                    Fe = ve[2];
                  T += Fe;
                  var ie = ue.background || A.background;
                  if (Vi(ie)) {
                    var _e = r.getLength(
                      uo(ue, "borderRadius") ? ue.borderRadius : A.borderRadius,
                    );
                    wc(x, xe, se, u, u, _e), (x.fillStyle = ie), x.fill();
                  }
                  ue.imgs &&
                    ue.imgs.forEach(function (De, $e) {
                      var Te = r.ImageCache.get(De.src);
                      if (Te) {
                        var j = r.computedWidthAndHeight(Te, De, u, f),
                          P = j[0],
                          M = j[1],
                          te = [
                            xe + r.getOffsetX(P, u) + r.getLength(De.left, u),
                            se + r.getLength(De.top, f),
                          ],
                          Be = te[0],
                          Ie = te[1];
                        r.drawImage(x, Te, Be, Ie, P, M);
                      }
                    }),
                    ue.fonts &&
                      ue.fonts.forEach(function (De) {
                        var $e = De.fontStyle || A.fontStyle,
                          Te = De.fontWeight || A.fontWeight,
                          j = r.getLength(De.fontSize || A.fontSize),
                          P =
                            De.lineHeight ||
                            A.lineHeight ||
                            De.fontSize ||
                            A.fontSize,
                          M = uo(De, "wordWrap") ? De.wordWrap : A.wordWrap,
                          te = De.lengthLimit || A.lengthLimit,
                          Be = De.lineClamp || A.lineClamp;
                        (x.font = Te + " " + (j >> 0) + "px " + $e),
                          (x.fillStyle = De.fontColor || A.fontColor);
                        var Ie = [],
                          Le = String(De.text);
                        if (M) {
                          var He = r.getLength(te, u);
                          Ie = qp(
                            x,
                            Jp(Le),
                            function () {
                              return He;
                            },
                            Be,
                          );
                        } else
                          Ie = Le.split(`
`);
                        Ie.forEach(function (Ne, Pe) {
                          x.fillText(
                            Ne,
                            xe +
                              r.getOffsetX(x.measureText(Ne).width, u) +
                              r.getLength(De.left, u),
                            se +
                              r.getLength(De.top, f) +
                              (Pe + 1) * r.getLength(P),
                          );
                        });
                      });
                }
              });
              for (
                var U = r.displacement([F, 0, u, T], [0, I, T, f]),
                  Q = U[0],
                  L = U[1],
                  $ = U[2],
                  X = U[3],
                  V = T;
                V < y + T;

              ) {
                var G = r.displacement([Q, V], [V, L]),
                  le = G[0],
                  q = G[1];
                r.drawImage(x, m, Q, L, $, X, le, q, $, X), (V += T);
              }
            }
          });
      }),
      (t.prototype.drawBlocks = function () {
        var r = this,
          n = this;
        n.config;
        var A = n.ctx;
        n._defaultConfig;
        var i = n._defaultStyle;
        return (this.prizeArea = this.blocks.reduce(
          function (s, a, o) {
            var l = s.x,
              u = s.y,
              f = s.w,
              d = s.h,
              g = Vy(a, r.getLength.bind(r)),
              v = g[0],
              B = g[1],
              y = g[2],
              w = g[3],
              m = a.borderRadius ? r.getLength(a.borderRadius) : 0,
              x = a.background || i.background;
            return (
              Vi(x) && (wc(A, l, u, f, d, m), (A.fillStyle = x), A.fill()),
              a.imgs &&
                a.imgs.forEach(function (C, b) {
                  var F = r.ImageCache.get(C.src);
                  if (F) {
                    var I = r.computedWidthAndHeight(F, C, f, d),
                      T = I[0],
                      D = I[1],
                      U = [
                        r.getOffsetX(T, f) + r.getLength(C.left, f),
                        r.getLength(C.top, d),
                      ],
                      Q = U[0],
                      L = U[1];
                    r.drawImage(A, F, l + Q, u + L, T, D);
                  }
                }),
              { x: l + y, y: u + v, w: f - y - w, h: d - v - B }
            );
          },
          { x: 0, y: 0, w: this.boxWidth, h: this.boxHeight },
        ));
      }),
      (t.prototype.draw = function () {
        var r,
          n = this,
          A = this,
          i = A.config,
          s = A.ctx;
        A._defaultConfig,
          A._defaultStyle,
          (r = i.beforeDraw) === null || r === void 0 || r.call(this, s),
          s.clearRect(0, 0, this.boxWidth, this.boxHeight);
        var a = this.drawBlocks(),
          o = a.x,
          l = a.y,
          u = a.w,
          f = a.h;
        if (this._offscreenCanvas) {
          var d = this,
            g = d.cellWidth,
            v = d.cellHeight,
            B = d.cellAndSpacing,
            y = d.widthAndSpacing,
            w = d.heightAndSpacing;
          this.slots.forEach(function (m, x) {
            var C = B * m.order.length,
              b = n.displacement(-(f - w) / 2, -(u - y) / 2),
              F = n.scroll[x] + b;
            F < 0 && (F = (F % C) + C), F > C && (F %= C);
            var I = n.displacement([g * x, F, g, f], [F, v * x, u, v]),
              T = I[0],
              D = I[1],
              U = I[2],
              Q = I[3],
              L = n.displacement([o + y * x, l, g, f], [o, l + w * x, u, v]),
              $ = L[0],
              X = L[1],
              V = L[2],
              G = L[3];
            n.drawImage(s, n._offscreenCanvas, T, D, U, Q, $, X, V, G);
          });
        }
      }),
      (t.prototype.carveOnGunwaleOfAMovingBoat = function () {
        var r = this,
          n = this,
          A = n._defaultConfig,
          i = n.prizeFlag,
          s = n.cellAndSpacing;
        (this.endTime = Date.now()),
          this.slots.forEach(function (a, o) {
            var l = a.order;
            if (l.length)
              for (
                var u = a.speed || A.speed,
                  f = a.direction || A.direction,
                  d = l.findIndex(function (m) {
                    return m === i[o];
                  }),
                  g = s * l.length,
                  v = (r.stopScroll[o] = r.scroll[o]),
                  B = 0;
                ++B;

              ) {
                var y = s * d + g * B * f - v,
                  w = co(r.FPS, v, y, A.decelerationTime) - v;
                if (Math.abs(w) > u) {
                  r.endScroll[o] = y;
                  break;
                }
              }
          });
      }),
      (t.prototype.play = function () {
        var r, n;
        this.step === 0 &&
          ((this.startTime = Date.now()),
          (this.prizeFlag = void 0),
          (this.step = 1),
          (n = (r = this.config).afterStart) === null ||
            n === void 0 ||
            n.call(r),
          this.run());
      }),
      (t.prototype.stop = function (r) {
        var n;
        if (this.step !== 0 && this.step !== 3) {
          if (typeof r == "number")
            this.prizeFlag = new Array(this.slots.length).fill(r);
          else {
            if (!n0(r, "array"))
              return (
                this.stop(-1),
                console.error("stop() 无法识别的参数类型 " + typeof r)
              );
            if (r.length !== this.slots.length)
              return (
                this.stop(-1),
                console.error("stop([" + r + "]) 参数长度的不正确")
              );
            this.prizeFlag = r;
          }
          !((n = this.prizeFlag) === null || n === void 0) && n.includes(-1)
            ? ((this.prizeFlag = []), (this.step = 0))
            : (this.step = 2);
        }
      }),
      (t.prototype.run = function (r) {
        var n,
          A,
          i = this;
        r === void 0 && (r = 0);
        var s = this,
          a = s.rAF,
          o = s.step,
          l = s.prizeFlag,
          u = s._defaultConfig,
          f = s.cellAndSpacing,
          d = s.slots,
          g = u.accelerationTime,
          v = u.decelerationTime;
        if (this.step !== 0 || (l == null ? void 0 : l.length) !== d.length) {
          if (l === void 0 || l.length) {
            this.step !== 3 ||
              this.endScroll.length ||
              this.carveOnGunwaleOfAMovingBoat();
            var B = Date.now() - this.startTime,
              y = Date.now() - this.endTime;
            d.forEach(function (b, F) {
              var I = b.order;
              if (I && I.length) {
                var T = f * I.length,
                  D = Math.abs(b.speed || u.speed),
                  U = b.direction || u.direction,
                  Q = 0,
                  L = i.scroll[F];
                if (o === 1 || B < g) {
                  i.FPS = B / r;
                  var $ = e5(B, 0, D, g);
                  $ === D && (i.step = 2), (Q = (L + $ * U) % T);
                } else if (o === 2)
                  (Q = (L + D * U) % T),
                    (l == null ? void 0 : l.length) === d.length &&
                      ((i.step = 3), (i.stopScroll = []), (i.endScroll = []));
                else if (o === 3 && y) {
                  var X = i.stopScroll[F],
                    V = i.endScroll[F];
                  (Q = co(y, X, V, v)), y >= v && (i.step = 0);
                }
                i.scroll[F] = Q;
              }
            }),
              this.draw(),
              a(this.run.bind(this, r + 1));
          }
        } else {
          for (var w = l[0], m = 0; m < d.length; m++) {
            var x = d[m],
              C = l[m];
            if (
              !(!((n = x.order) === null || n === void 0) && n.includes(C)) ||
              w !== C
            ) {
              w = -1;
              break;
            }
          }
          (A = this.endCallback) === null ||
            A === void 0 ||
            A.call(
              this,
              this.prizes.find(function (b, F) {
                return F === w;
              }) || void 0,
            );
        }
      }),
      (t.prototype.displacement = function (r, n) {
        return this._defaultConfig.mode === "horizontal" ? n : r;
      }),
      (t.prototype.displacementWidthOrHeight = function () {
        var r = this._defaultConfig.mode,
          n = this.slots.length,
          A = this._defaultConfig,
          i = A.colSpacing,
          s = A.rowSpacing,
          a = this.prizeArea || this.drawBlocks();
        a.x, a.y;
        var o,
          l,
          u = a.w,
          f = a.h,
          d = 0,
          g = 0;
        return (
          r === "horizontal"
            ? ((g = this.cellHeight = (f - s * (n - 1)) / n),
              (d = this.cellWidth = g))
            : ((d = this.cellWidth = (u - i * (n - 1)) / n),
              (g = this.cellHeight = d)),
          (o = this.widthAndSpacing = this.cellWidth + i),
          (l = this.heightAndSpacing = this.cellHeight + s),
          (this.cellAndSpacing = r === "horizontal" ? o : l),
          {
            cellWidth: d,
            cellHeight: g,
            widthAndSpacing: o,
            heightAndSpacing: l,
          }
        );
      }),
      t
    );
  })(Zp),
  t5 = function (e, t, r) {
    t === void 0 && (t = {});
    var n = t.props,
      A = t.domProps,
      i = t.on,
      s = (function (l, u) {
        var f = {};
        for (var d in l)
          Object.prototype.hasOwnProperty.call(l, d) &&
            u.indexOf(d) < 0 &&
            (f[d] = l[d]);
        if (l != null && typeof Object.getOwnPropertySymbols == "function") {
          var g = 0;
          for (d = Object.getOwnPropertySymbols(l); g < d.length; g++)
            u.indexOf(d[g]) < 0 &&
              Object.prototype.propertyIsEnumerable.call(l, d[g]) &&
              (f[d[g]] = l[d[g]]);
        }
        return f;
      })(t, ["props", "domProps", "on"]),
      a = (function (l) {
        return l
          ? Object.entries(l).reduce(function (u, f) {
              var d,
                g = f[0],
                v = f[1];
              return (
                (g = "on" + (g = g.charAt(0).toUpperCase() + g.slice(1))),
                dn(dn({}, u), (((d = {})[g] = v), d))
              );
            }, {})
          : null;
      })(i),
      o = dn(dn(dn(dn({}, s), n), A), a);
    return Ur(e, o, r);
  },
  r5 = "@lucky-canvas/vue",
  lY = et({
    name: "LuckyWheel",
    props: {
      width: { type: [String, Number] },
      height: { type: [String, Number] },
      blocks: {
        type: Array,
        default: function () {
          return [];
        },
      },
      prizes: {
        type: Array,
        default: function () {
          return [];
        },
      },
      buttons: {
        type: Array,
        default: function () {
          return [];
        },
      },
      defaultStyle: {
        type: Object,
        default: function () {
          return {};
        },
      },
      defaultConfig: {
        type: Object,
        default: function () {
          return {};
        },
      },
    },
    emits: ["start", "end", "success", "error", "finally"],
    watch: {
      blocks: function (e, t) {
        this.lucky && (this.lucky.blocks = e);
      },
      prizes: function (e, t) {
        this.lucky && (this.lucky.prizes = e);
      },
      buttons: function (e, t) {
        this.lucky && (this.lucky.buttons = e);
      },
    },
    data: function () {
      return { lucky: null };
    },
    mounted: function () {
      this.$refs.myLucky &&
        this.$refs.myLucky.setAttribute("package", r5 + "@0.1.11");
      try {
        this.initLucky(), this.$emit("success");
      } catch (e) {
        this.$emit("error", e);
      } finally {
        this.$emit("finally");
      }
    },
    methods: {
      initLucky: function () {
        var e = this;
        this.lucky = new sY(
          {
            flag: "WEB",
            width: String(this.width),
            height: String(this.height),
            divElement: this.$refs.myLucky,
            rAF: window.requestAnimationFrame,
            setTimeout: window.setTimeout,
            setInterval: window.setInterval,
            clearTimeout: window.clearTimeout,
            clearInterval: window.clearInterval,
          },
          dn(dn({}, this.$props), {
            start: function (t) {
              e.$emit("start", t);
            },
            end: function (t) {
              e.$emit("end", t);
            },
          }),
        );
      },
      init: function () {
        this.lucky && this.lucky.init();
      },
      play: function () {
        var e;
        (e = this.lucky) === null || e === void 0 || e.play();
      },
      stop: function (e) {
        var t;
        (t = this.lucky) === null || t === void 0 || t.stop(e);
      },
    },
    render: function () {
      return t5("div", { ref: "myLucky" });
    },
  }),
  uY = et({
    name: "LuckyGrid",
    props: {
      width: { type: [String, Number] },
      height: { type: [String, Number] },
      cols: { type: [String, Number], default: 3 },
      rows: { type: [String, Number], default: 3 },
      blocks: {
        type: Array,
        default: function () {
          return [];
        },
      },
      prizes: {
        type: Array,
        default: function () {
          return [];
        },
      },
      buttons: {
        type: Array,
        default: function () {
          return [];
        },
      },
      button: { type: Object },
      defaultStyle: {
        type: Object,
        default: function () {
          return {};
        },
      },
      activeStyle: {
        type: Object,
        default: function () {
          return {};
        },
      },
      defaultConfig: {
        type: Object,
        default: function () {
          return {};
        },
      },
    },
    emits: ["start", "end", "success", "error", "finally"],
    watch: {
      cols: function (e, t) {
        this.lucky && (this.lucky.cols = e);
      },
      rows: function (e, t) {
        this.lucky && (this.lucky.rows = e);
      },
      blocks: function (e, t) {
        this.lucky && (this.lucky.blocks = e);
      },
      prizes: function (e, t) {
        this.lucky && (this.lucky.prizes = e);
      },
      buttons: function (e, t) {
        this.lucky && (this.lucky.buttons = e);
      },
      button: function (e, t) {
        this.lucky && (this.lucky.button = e);
      },
    },
    data: function () {
      return { lucky: null };
    },
    mounted: function () {
      this.$refs.myLucky &&
        this.$refs.myLucky.setAttribute("package", r5 + "@0.1.11");
      try {
        this.initLucky(), this.$emit("success");
      } catch (e) {
        this.$emit("error", e);
      } finally {
        this.$emit("finally");
      }
    },
    methods: {
      initLucky: function () {
        var e = this;
        this.lucky = new aY(
          {
            flag: "WEB",
            width: String(this.width),
            height: String(this.height),
            divElement: this.$refs.myLucky,
            rAF: window.requestAnimationFrame,
            setTimeout: window.setTimeout,
            setInterval: window.setInterval,
            clearTimeout: window.clearTimeout,
            clearInterval: window.clearInterval,
          },
          dn(dn({}, this.$props), {
            start: function (t, r) {
              e.$emit("start", t, r);
            },
            end: function (t) {
              e.$emit("end", t);
            },
          }),
        );
      },
      init: function () {
        this.lucky && this.lucky.init();
      },
      play: function () {
        var e;
        (e = this.lucky) === null || e === void 0 || e.play();
      },
      stop: function (e) {
        var t;
        (t = this.lucky) === null || t === void 0 || t.stop(e);
      },
    },
    render: function () {
      return t5("div", { ref: "myLucky" });
    },
  }),
  cY = et({
    name: "SlotMachine",
    props: {
      width: { type: [String, Number] },
      height: { type: [String, Number] },
      blocks: {
        type: Array,
        default: function () {
          return [];
        },
      },
      prizes: {
        type: Array,
        default: function () {
          return [];
        },
      },
      slots: {
        type: Array,
        default: function () {
          return [];
        },
      },
      defaultStyle: {
        type: Object,
        default: function () {
          return {};
        },
      },
      defaultConfig: {
        type: Object,
        default: function () {
          return {};
        },
      },
    },
    watch: {
      blocks: function (e, t) {
        this.lucky && (this.lucky.blocks = e);
      },
      slots: function (e, t) {
        this.lucky && (this.lucky.slots = e);
      },
      prizes: function (e, t) {
        this.lucky && (this.lucky.prizes = e);
      },
    },
    data: function () {
      return { lucky: null };
    },
    mounted: function () {
      this.$refs.myLucky &&
        this.$refs.myLucky.setAttribute("package", r5 + "@0.1.11");
      try {
        this.initLucky(), this.$emit("success");
      } catch (e) {
        this.$emit("error", e);
      } finally {
        this.$emit("finally");
      }
    },
    methods: {
      initLucky: function () {
        var e = this;
        this.lucky = new oY(
          {
            flag: "WEB",
            width: String(this.width),
            height: String(this.height),
            divElement: this.$refs.myLucky,
            rAF: window.requestAnimationFrame,
            setTimeout: window.setTimeout,
            setInterval: window.setInterval,
            clearTimeout: window.clearTimeout,
            clearInterval: window.clearInterval,
          },
          dn(dn({}, this.$props), {
            start: function (t) {
              e.$emit("start", t);
            },
            end: function (t) {
              e.$emit("end", t);
            },
          }),
        );
      },
      init: function () {
        this.lucky && this.lucky.init();
      },
      play: function () {
        var e;
        (e = this.lucky) === null || e === void 0 || e.play();
      },
      stop: function (e) {
        var t;
        (t = this.lucky) === null || t === void 0 || t.stop(e);
      },
    },
    render: function () {
      return t5("div", { ref: "myLucky" });
    },
  }),
  fY = function (e) {
    e.component("LuckyWheel", lY),
      e.component("LuckyGrid", uY),
      e.component("SlotMachine", cY);
  };
typeof window < "u" && window.Vue && Ky && fY(window.Vue);
var Pf = {},
  dY = function () {
    return (
      typeof Promise == "function" &&
      Promise.prototype &&
      Promise.prototype.then
    );
  },
  jy = {},
  Dn = {};
let n5;
const hY = [
  0, 26, 44, 70, 100, 134, 172, 196, 242, 292, 346, 404, 466, 532, 581, 655,
  733, 815, 901, 991, 1085, 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921,
  2051, 2185, 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706,
];
Dn.getSymbolSize = function (t) {
  if (!t) throw new Error('"version" cannot be null or undefined');
  if (t < 1 || t > 40)
    throw new Error('"version" should be in range from 1 to 40');
  return t * 4 + 17;
};
Dn.getSymbolTotalCodewords = function (t) {
  return hY[t];
};
Dn.getBCHDigit = function (e) {
  let t = 0;
  for (; e !== 0; ) t++, (e >>>= 1);
  return t;
};
Dn.setToSJISFunction = function (t) {
  if (typeof t != "function")
    throw new Error('"toSJISFunc" is not a valid function.');
  n5 = t;
};
Dn.isKanjiModeEnabled = function () {
  return typeof n5 < "u";
};
Dn.toSJIS = function (t) {
  return n5(t);
};
var Of = {};
(function (e) {
  (e.L = { bit: 1 }),
    (e.M = { bit: 0 }),
    (e.Q = { bit: 3 }),
    (e.H = { bit: 2 });
  function t(r) {
    if (typeof r != "string") throw new Error("Param is not a string");
    switch (r.toLowerCase()) {
      case "l":
      case "low":
        return e.L;
      case "m":
      case "medium":
        return e.M;
      case "q":
      case "quartile":
        return e.Q;
      case "h":
      case "high":
        return e.H;
      default:
        throw new Error("Unknown EC Level: " + r);
    }
  }
  (e.isValid = function (n) {
    return n && typeof n.bit < "u" && n.bit >= 0 && n.bit < 4;
  }),
    (e.from = function (n, A) {
      if (e.isValid(n)) return n;
      try {
        return t(n);
      } catch {
        return A;
      }
    });
})(Of);
function Yy() {
  (this.buffer = []), (this.length = 0);
}
Yy.prototype = {
  get: function (e) {
    const t = Math.floor(e / 8);
    return ((this.buffer[t] >>> (7 - (e % 8))) & 1) === 1;
  },
  put: function (e, t) {
    for (let r = 0; r < t; r++) this.putBit(((e >>> (t - r - 1)) & 1) === 1);
  },
  getLengthInBits: function () {
    return this.length;
  },
  putBit: function (e) {
    const t = Math.floor(this.length / 8);
    this.buffer.length <= t && this.buffer.push(0),
      e && (this.buffer[t] |= 128 >>> this.length % 8),
      this.length++;
  },
};
var pY = Yy;
function Q0(e) {
  if (!e || e < 1)
    throw new Error("BitMatrix size must be defined and greater than 0");
  (this.size = e),
    (this.data = new Uint8Array(e * e)),
    (this.reservedBit = new Uint8Array(e * e));
}
Q0.prototype.set = function (e, t, r, n) {
  const A = e * this.size + t;
  (this.data[A] = r), n && (this.reservedBit[A] = !0);
};
Q0.prototype.get = function (e, t) {
  return this.data[e * this.size + t];
};
Q0.prototype.xor = function (e, t, r) {
  this.data[e * this.size + t] ^= r;
};
Q0.prototype.isReserved = function (e, t) {
  return this.reservedBit[e * this.size + t];
};
var gY = Q0,
  Xy = {};
(function (e) {
  const t = Dn.getSymbolSize;
  (e.getRowColCoords = function (n) {
    if (n === 1) return [];
    const A = Math.floor(n / 7) + 2,
      i = t(n),
      s = i === 145 ? 26 : Math.ceil((i - 13) / (2 * A - 2)) * 2,
      a = [i - 7];
    for (let o = 1; o < A - 1; o++) a[o] = a[o - 1] - s;
    return a.push(6), a.reverse();
  }),
    (e.getPositions = function (n) {
      const A = [],
        i = e.getRowColCoords(n),
        s = i.length;
      for (let a = 0; a < s; a++)
        for (let o = 0; o < s; o++)
          (a === 0 && o === 0) ||
            (a === 0 && o === s - 1) ||
            (a === s - 1 && o === 0) ||
            A.push([i[a], i[o]]);
      return A;
    });
})(Xy);
var Jy = {};
const vY = Dn.getSymbolSize,
  Mm = 7;
Jy.getPositions = function (t) {
  const r = vY(t);
  return [
    [0, 0],
    [r - Mm, 0],
    [0, r - Mm],
  ];
};
var qy = {};
(function (e) {
  e.Patterns = {
    PATTERN000: 0,
    PATTERN001: 1,
    PATTERN010: 2,
    PATTERN011: 3,
    PATTERN100: 4,
    PATTERN101: 5,
    PATTERN110: 6,
    PATTERN111: 7,
  };
  const t = { N1: 3, N2: 3, N3: 40, N4: 10 };
  (e.isValid = function (A) {
    return A != null && A !== "" && !isNaN(A) && A >= 0 && A <= 7;
  }),
    (e.from = function (A) {
      return e.isValid(A) ? parseInt(A, 10) : void 0;
    }),
    (e.getPenaltyN1 = function (A) {
      const i = A.size;
      let s = 0,
        a = 0,
        o = 0,
        l = null,
        u = null;
      for (let f = 0; f < i; f++) {
        (a = o = 0), (l = u = null);
        for (let d = 0; d < i; d++) {
          let g = A.get(f, d);
          g === l ? a++ : (a >= 5 && (s += t.N1 + (a - 5)), (l = g), (a = 1)),
            (g = A.get(d, f)),
            g === u ? o++ : (o >= 5 && (s += t.N1 + (o - 5)), (u = g), (o = 1));
        }
        a >= 5 && (s += t.N1 + (a - 5)), o >= 5 && (s += t.N1 + (o - 5));
      }
      return s;
    }),
    (e.getPenaltyN2 = function (A) {
      const i = A.size;
      let s = 0;
      for (let a = 0; a < i - 1; a++)
        for (let o = 0; o < i - 1; o++) {
          const l =
            A.get(a, o) +
            A.get(a, o + 1) +
            A.get(a + 1, o) +
            A.get(a + 1, o + 1);
          (l === 4 || l === 0) && s++;
        }
      return s * t.N2;
    }),
    (e.getPenaltyN3 = function (A) {
      const i = A.size;
      let s = 0,
        a = 0,
        o = 0;
      for (let l = 0; l < i; l++) {
        a = o = 0;
        for (let u = 0; u < i; u++)
          (a = ((a << 1) & 2047) | A.get(l, u)),
            u >= 10 && (a === 1488 || a === 93) && s++,
            (o = ((o << 1) & 2047) | A.get(u, l)),
            u >= 10 && (o === 1488 || o === 93) && s++;
      }
      return s * t.N3;
    }),
    (e.getPenaltyN4 = function (A) {
      let i = 0;
      const s = A.data.length;
      for (let o = 0; o < s; o++) i += A.data[o];
      return Math.abs(Math.ceil((i * 100) / s / 5) - 10) * t.N4;
    });
  function r(n, A, i) {
    switch (n) {
      case e.Patterns.PATTERN000:
        return (A + i) % 2 === 0;
      case e.Patterns.PATTERN001:
        return A % 2 === 0;
      case e.Patterns.PATTERN010:
        return i % 3 === 0;
      case e.Patterns.PATTERN011:
        return (A + i) % 3 === 0;
      case e.Patterns.PATTERN100:
        return (Math.floor(A / 2) + Math.floor(i / 3)) % 2 === 0;
      case e.Patterns.PATTERN101:
        return ((A * i) % 2) + ((A * i) % 3) === 0;
      case e.Patterns.PATTERN110:
        return (((A * i) % 2) + ((A * i) % 3)) % 2 === 0;
      case e.Patterns.PATTERN111:
        return (((A * i) % 3) + ((A + i) % 2)) % 2 === 0;
      default:
        throw new Error("bad maskPattern:" + n);
    }
  }
  (e.applyMask = function (A, i) {
    const s = i.size;
    for (let a = 0; a < s; a++)
      for (let o = 0; o < s; o++) i.isReserved(o, a) || i.xor(o, a, r(A, o, a));
  }),
    (e.getBestMask = function (A, i) {
      const s = Object.keys(e.Patterns).length;
      let a = 0,
        o = 1 / 0;
      for (let l = 0; l < s; l++) {
        i(l), e.applyMask(l, A);
        const u =
          e.getPenaltyN1(A) +
          e.getPenaltyN2(A) +
          e.getPenaltyN3(A) +
          e.getPenaltyN4(A);
        e.applyMask(l, A), u < o && ((o = u), (a = l));
      }
      return a;
    });
})(qy);
var Lf = {};
const Gi = Of,
  pu = [
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 4, 1, 2, 4, 4, 2, 4, 4, 4, 2,
    4, 6, 5, 2, 4, 6, 6, 2, 5, 8, 8, 4, 5, 8, 8, 4, 5, 8, 11, 4, 8, 10, 11, 4,
    9, 12, 16, 4, 9, 16, 16, 6, 10, 12, 18, 6, 10, 17, 16, 6, 11, 16, 19, 6, 13,
    18, 21, 7, 14, 21, 25, 8, 16, 20, 25, 8, 17, 23, 25, 9, 17, 23, 34, 9, 18,
    25, 30, 10, 20, 27, 32, 12, 21, 29, 35, 12, 23, 34, 37, 12, 25, 34, 40, 13,
    26, 35, 42, 14, 28, 38, 45, 15, 29, 40, 48, 16, 31, 43, 51, 17, 33, 45, 54,
    18, 35, 48, 57, 19, 37, 51, 60, 19, 38, 53, 63, 20, 40, 56, 66, 21, 43, 59,
    70, 22, 45, 62, 74, 24, 47, 65, 77, 25, 49, 68, 81,
  ],
  gu = [
    7, 10, 13, 17, 10, 16, 22, 28, 15, 26, 36, 44, 20, 36, 52, 64, 26, 48, 72,
    88, 36, 64, 96, 112, 40, 72, 108, 130, 48, 88, 132, 156, 60, 110, 160, 192,
    72, 130, 192, 224, 80, 150, 224, 264, 96, 176, 260, 308, 104, 198, 288, 352,
    120, 216, 320, 384, 132, 240, 360, 432, 144, 280, 408, 480, 168, 308, 448,
    532, 180, 338, 504, 588, 196, 364, 546, 650, 224, 416, 600, 700, 224, 442,
    644, 750, 252, 476, 690, 816, 270, 504, 750, 900, 300, 560, 810, 960, 312,
    588, 870, 1050, 336, 644, 952, 1110, 360, 700, 1020, 1200, 390, 728, 1050,
    1260, 420, 784, 1140, 1350, 450, 812, 1200, 1440, 480, 868, 1290, 1530, 510,
    924, 1350, 1620, 540, 980, 1440, 1710, 570, 1036, 1530, 1800, 570, 1064,
    1590, 1890, 600, 1120, 1680, 1980, 630, 1204, 1770, 2100, 660, 1260, 1860,
    2220, 720, 1316, 1950, 2310, 750, 1372, 2040, 2430,
  ];
Lf.getBlocksCount = function (t, r) {
  switch (r) {
    case Gi.L:
      return pu[(t - 1) * 4 + 0];
    case Gi.M:
      return pu[(t - 1) * 4 + 1];
    case Gi.Q:
      return pu[(t - 1) * 4 + 2];
    case Gi.H:
      return pu[(t - 1) * 4 + 3];
    default:
      return;
  }
};
Lf.getTotalCodewordsCount = function (t, r) {
  switch (r) {
    case Gi.L:
      return gu[(t - 1) * 4 + 0];
    case Gi.M:
      return gu[(t - 1) * 4 + 1];
    case Gi.Q:
      return gu[(t - 1) * 4 + 2];
    case Gi.H:
      return gu[(t - 1) * 4 + 3];
    default:
      return;
  }
};
var Zy = {},
  kf = {};
const Pl = new Uint8Array(512),
  yc = new Uint8Array(256);
(function () {
  let t = 1;
  for (let r = 0; r < 255; r++)
    (Pl[r] = t), (yc[t] = r), (t <<= 1), t & 256 && (t ^= 285);
  for (let r = 255; r < 512; r++) Pl[r] = Pl[r - 255];
})();
kf.log = function (t) {
  if (t < 1) throw new Error("log(" + t + ")");
  return yc[t];
};
kf.exp = function (t) {
  return Pl[t];
};
kf.mul = function (t, r) {
  return t === 0 || r === 0 ? 0 : Pl[yc[t] + yc[r]];
};
(function (e) {
  const t = kf;
  (e.mul = function (n, A) {
    const i = new Uint8Array(n.length + A.length - 1);
    for (let s = 0; s < n.length; s++)
      for (let a = 0; a < A.length; a++) i[s + a] ^= t.mul(n[s], A[a]);
    return i;
  }),
    (e.mod = function (n, A) {
      let i = new Uint8Array(n);
      for (; i.length - A.length >= 0; ) {
        const s = i[0];
        for (let o = 0; o < A.length; o++) i[o] ^= t.mul(A[o], s);
        let a = 0;
        for (; a < i.length && i[a] === 0; ) a++;
        i = i.slice(a);
      }
      return i;
    }),
    (e.generateECPolynomial = function (n) {
      let A = new Uint8Array([1]);
      for (let i = 0; i < n; i++) A = e.mul(A, new Uint8Array([1, t.exp(i)]));
      return A;
    });
})(Zy);
const eC = Zy;
function A5(e) {
  (this.genPoly = void 0),
    (this.degree = e),
    this.degree && this.initialize(this.degree);
}
A5.prototype.initialize = function (t) {
  (this.degree = t), (this.genPoly = eC.generateECPolynomial(this.degree));
};
A5.prototype.encode = function (t) {
  if (!this.genPoly) throw new Error("Encoder not initialized");
  const r = new Uint8Array(t.length + this.degree);
  r.set(t);
  const n = eC.mod(r, this.genPoly),
    A = this.degree - n.length;
  if (A > 0) {
    const i = new Uint8Array(this.degree);
    return i.set(n, A), i;
  }
  return n;
};
var mY = A5,
  tC = {},
  ms = {},
  i5 = {};
i5.isValid = function (t) {
  return !isNaN(t) && t >= 1 && t <= 40;
};
var _A = {};
const rC = "[0-9]+",
  BY = "[A-Z $%*+\\-./:]+";
let A0 =
  "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
A0 = A0.replace(/u/g, "\\u");
const wY =
  "(?:(?![A-Z0-9 $%*+\\-./:]|" +
  A0 +
  `)(?:.|[\r
]))+`;
_A.KANJI = new RegExp(A0, "g");
_A.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
_A.BYTE = new RegExp(wY, "g");
_A.NUMERIC = new RegExp(rC, "g");
_A.ALPHANUMERIC = new RegExp(BY, "g");
const yY = new RegExp("^" + A0 + "$"),
  CY = new RegExp("^" + rC + "$"),
  xY = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
_A.testKanji = function (t) {
  return yY.test(t);
};
_A.testNumeric = function (t) {
  return CY.test(t);
};
_A.testAlphanumeric = function (t) {
  return xY.test(t);
};
(function (e) {
  const t = i5,
    r = _A;
  (e.NUMERIC = { id: "Numeric", bit: 1, ccBits: [10, 12, 14] }),
    (e.ALPHANUMERIC = { id: "Alphanumeric", bit: 2, ccBits: [9, 11, 13] }),
    (e.BYTE = { id: "Byte", bit: 4, ccBits: [8, 16, 16] }),
    (e.KANJI = { id: "Kanji", bit: 8, ccBits: [8, 10, 12] }),
    (e.MIXED = { bit: -1 }),
    (e.getCharCountIndicator = function (i, s) {
      if (!i.ccBits) throw new Error("Invalid mode: " + i);
      if (!t.isValid(s)) throw new Error("Invalid version: " + s);
      return s >= 1 && s < 10
        ? i.ccBits[0]
        : s < 27
          ? i.ccBits[1]
          : i.ccBits[2];
    }),
    (e.getBestModeForData = function (i) {
      return r.testNumeric(i)
        ? e.NUMERIC
        : r.testAlphanumeric(i)
          ? e.ALPHANUMERIC
          : r.testKanji(i)
            ? e.KANJI
            : e.BYTE;
    }),
    (e.toString = function (i) {
      if (i && i.id) return i.id;
      throw new Error("Invalid mode");
    }),
    (e.isValid = function (i) {
      return i && i.bit && i.ccBits;
    });
  function n(A) {
    if (typeof A != "string") throw new Error("Param is not a string");
    switch (A.toLowerCase()) {
      case "numeric":
        return e.NUMERIC;
      case "alphanumeric":
        return e.ALPHANUMERIC;
      case "kanji":
        return e.KANJI;
      case "byte":
        return e.BYTE;
      default:
        throw new Error("Unknown mode: " + A);
    }
  }
  e.from = function (i, s) {
    if (e.isValid(i)) return i;
    try {
      return n(i);
    } catch {
      return s;
    }
  };
})(ms);
(function (e) {
  const t = Dn,
    r = Lf,
    n = Of,
    A = ms,
    i = i5,
    s = 7973,
    a = t.getBCHDigit(s);
  function o(d, g, v) {
    for (let B = 1; B <= 40; B++) if (g <= e.getCapacity(B, v, d)) return B;
  }
  function l(d, g) {
    return A.getCharCountIndicator(d, g) + 4;
  }
  function u(d, g) {
    let v = 0;
    return (
      d.forEach(function (B) {
        const y = l(B.mode, g);
        v += y + B.getBitsLength();
      }),
      v
    );
  }
  function f(d, g) {
    for (let v = 1; v <= 40; v++)
      if (u(d, v) <= e.getCapacity(v, g, A.MIXED)) return v;
  }
  (e.from = function (g, v) {
    return i.isValid(g) ? parseInt(g, 10) : v;
  }),
    (e.getCapacity = function (g, v, B) {
      if (!i.isValid(g)) throw new Error("Invalid QR Code version");
      typeof B > "u" && (B = A.BYTE);
      const y = t.getSymbolTotalCodewords(g),
        w = r.getTotalCodewordsCount(g, v),
        m = (y - w) * 8;
      if (B === A.MIXED) return m;
      const x = m - l(B, g);
      switch (B) {
        case A.NUMERIC:
          return Math.floor((x / 10) * 3);
        case A.ALPHANUMERIC:
          return Math.floor((x / 11) * 2);
        case A.KANJI:
          return Math.floor(x / 13);
        case A.BYTE:
        default:
          return Math.floor(x / 8);
      }
    }),
    (e.getBestVersionForData = function (g, v) {
      let B;
      const y = n.from(v, n.M);
      if (Array.isArray(g)) {
        if (g.length > 1) return f(g, y);
        if (g.length === 0) return 1;
        B = g[0];
      } else B = g;
      return o(B.mode, B.getLength(), y);
    }),
    (e.getEncodedBits = function (g) {
      if (!i.isValid(g) || g < 7) throw new Error("Invalid QR Code version");
      let v = g << 12;
      for (; t.getBCHDigit(v) - a >= 0; ) v ^= s << (t.getBCHDigit(v) - a);
      return (g << 12) | v;
    });
})(tC);
var nC = {};
const Bh = Dn,
  AC = 1335,
  EY = 21522,
  Rm = Bh.getBCHDigit(AC);
nC.getEncodedBits = function (t, r) {
  const n = (t.bit << 3) | r;
  let A = n << 10;
  for (; Bh.getBCHDigit(A) - Rm >= 0; ) A ^= AC << (Bh.getBCHDigit(A) - Rm);
  return ((n << 10) | A) ^ EY;
};
var iC = {};
const bY = ms;
function fo(e) {
  (this.mode = bY.NUMERIC), (this.data = e.toString());
}
fo.getBitsLength = function (t) {
  return 10 * Math.floor(t / 3) + (t % 3 ? (t % 3) * 3 + 1 : 0);
};
fo.prototype.getLength = function () {
  return this.data.length;
};
fo.prototype.getBitsLength = function () {
  return fo.getBitsLength(this.data.length);
};
fo.prototype.write = function (t) {
  let r, n, A;
  for (r = 0; r + 3 <= this.data.length; r += 3)
    (n = this.data.substr(r, 3)), (A = parseInt(n, 10)), t.put(A, 10);
  const i = this.data.length - r;
  i > 0 &&
    ((n = this.data.substr(r)), (A = parseInt(n, 10)), t.put(A, i * 3 + 1));
};
var FY = fo;
const _Y = ms,
  Ld = [
    "0",
    "1",
    "2",
    "3",
    "4",
    "5",
    "6",
    "7",
    "8",
    "9",
    "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",
    " ",
    "$",
    "%",
    "*",
    "+",
    "-",
    ".",
    "/",
    ":",
  ];
function ho(e) {
  (this.mode = _Y.ALPHANUMERIC), (this.data = e);
}
ho.getBitsLength = function (t) {
  return 11 * Math.floor(t / 2) + 6 * (t % 2);
};
ho.prototype.getLength = function () {
  return this.data.length;
};
ho.prototype.getBitsLength = function () {
  return ho.getBitsLength(this.data.length);
};
ho.prototype.write = function (t) {
  let r;
  for (r = 0; r + 2 <= this.data.length; r += 2) {
    let n = Ld.indexOf(this.data[r]) * 45;
    (n += Ld.indexOf(this.data[r + 1])), t.put(n, 11);
  }
  this.data.length % 2 && t.put(Ld.indexOf(this.data[r]), 6);
};
var SY = ho,
  QY = function (t) {
    for (var r = [], n = t.length, A = 0; A < n; A++) {
      var i = t.charCodeAt(A);
      if (i >= 55296 && i <= 56319 && n > A + 1) {
        var s = t.charCodeAt(A + 1);
        s >= 56320 &&
          s <= 57343 &&
          ((i = (i - 55296) * 1024 + s - 56320 + 65536), (A += 1));
      }
      if (i < 128) {
        r.push(i);
        continue;
      }
      if (i < 2048) {
        r.push((i >> 6) | 192), r.push((i & 63) | 128);
        continue;
      }
      if (i < 55296 || (i >= 57344 && i < 65536)) {
        r.push((i >> 12) | 224),
          r.push(((i >> 6) & 63) | 128),
          r.push((i & 63) | 128);
        continue;
      }
      if (i >= 65536 && i <= 1114111) {
        r.push((i >> 18) | 240),
          r.push(((i >> 12) & 63) | 128),
          r.push(((i >> 6) & 63) | 128),
          r.push((i & 63) | 128);
        continue;
      }
      r.push(239, 191, 189);
    }
    return new Uint8Array(r).buffer;
  };
const UY = QY,
  TY = ms;
function po(e) {
  (this.mode = TY.BYTE),
    typeof e == "string" && (e = UY(e)),
    (this.data = new Uint8Array(e));
}
po.getBitsLength = function (t) {
  return t * 8;
};
po.prototype.getLength = function () {
  return this.data.length;
};
po.prototype.getBitsLength = function () {
  return po.getBitsLength(this.data.length);
};
po.prototype.write = function (e) {
  for (let t = 0, r = this.data.length; t < r; t++) e.put(this.data[t], 8);
};
var IY = po;
const DY = ms,
  PY = Dn;
function go(e) {
  (this.mode = DY.KANJI), (this.data = e);
}
go.getBitsLength = function (t) {
  return t * 13;
};
go.prototype.getLength = function () {
  return this.data.length;
};
go.prototype.getBitsLength = function () {
  return go.getBitsLength(this.data.length);
};
go.prototype.write = function (e) {
  let t;
  for (t = 0; t < this.data.length; t++) {
    let r = PY.toSJIS(this.data[t]);
    if (r >= 33088 && r <= 40956) r -= 33088;
    else if (r >= 57408 && r <= 60351) r -= 49472;
    else
      throw new Error(
        "Invalid SJIS character: " +
          this.data[t] +
          `
Make sure your charset is UTF-8`,
      );
    (r = ((r >>> 8) & 255) * 192 + (r & 255)), e.put(r, 13);
  }
};
var OY = go,
  sC = { exports: {} };
(function (e) {
  var t = {
    single_source_shortest_paths: function (r, n, A) {
      var i = {},
        s = {};
      s[n] = 0;
      var a = t.PriorityQueue.make();
      a.push(n, 0);
      for (var o, l, u, f, d, g, v, B, y; !a.empty(); ) {
        (o = a.pop()), (l = o.value), (f = o.cost), (d = r[l] || {});
        for (u in d)
          d.hasOwnProperty(u) &&
            ((g = d[u]),
            (v = f + g),
            (B = s[u]),
            (y = typeof s[u] > "u"),
            (y || B > v) && ((s[u] = v), a.push(u, v), (i[u] = l)));
      }
      if (typeof A < "u" && typeof s[A] > "u") {
        var w = ["Could not find a path from ", n, " to ", A, "."].join("");
        throw new Error(w);
      }
      return i;
    },
    extract_shortest_path_from_predecessor_list: function (r, n) {
      for (var A = [], i = n; i; ) A.push(i), r[i], (i = r[i]);
      return A.reverse(), A;
    },
    find_path: function (r, n, A) {
      var i = t.single_source_shortest_paths(r, n, A);
      return t.extract_shortest_path_from_predecessor_list(i, A);
    },
    PriorityQueue: {
      make: function (r) {
        var n = t.PriorityQueue,
          A = {},
          i;
        r = r || {};
        for (i in n) n.hasOwnProperty(i) && (A[i] = n[i]);
        return (A.queue = []), (A.sorter = r.sorter || n.default_sorter), A;
      },
      default_sorter: function (r, n) {
        return r.cost - n.cost;
      },
      push: function (r, n) {
        var A = { value: r, cost: n };
        this.queue.push(A), this.queue.sort(this.sorter);
      },
      pop: function () {
        return this.queue.shift();
      },
      empty: function () {
        return this.queue.length === 0;
      },
    },
  };
  e.exports = t;
})(sC);
var LY = sC.exports;
(function (e) {
  const t = ms,
    r = FY,
    n = SY,
    A = IY,
    i = OY,
    s = _A,
    a = Dn,
    o = LY;
  function l(w) {
    return unescape(encodeURIComponent(w)).length;
  }
  function u(w, m, x) {
    const C = [];
    let b;
    for (; (b = w.exec(x)) !== null; )
      C.push({ data: b[0], index: b.index, mode: m, length: b[0].length });
    return C;
  }
  function f(w) {
    const m = u(s.NUMERIC, t.NUMERIC, w),
      x = u(s.ALPHANUMERIC, t.ALPHANUMERIC, w);
    let C, b;
    return (
      a.isKanjiModeEnabled()
        ? ((C = u(s.BYTE, t.BYTE, w)), (b = u(s.KANJI, t.KANJI, w)))
        : ((C = u(s.BYTE_KANJI, t.BYTE, w)), (b = [])),
      m
        .concat(x, C, b)
        .sort(function (I, T) {
          return I.index - T.index;
        })
        .map(function (I) {
          return { data: I.data, mode: I.mode, length: I.length };
        })
    );
  }
  function d(w, m) {
    switch (m) {
      case t.NUMERIC:
        return r.getBitsLength(w);
      case t.ALPHANUMERIC:
        return n.getBitsLength(w);
      case t.KANJI:
        return i.getBitsLength(w);
      case t.BYTE:
        return A.getBitsLength(w);
    }
  }
  function g(w) {
    return w.reduce(function (m, x) {
      const C = m.length - 1 >= 0 ? m[m.length - 1] : null;
      return C && C.mode === x.mode
        ? ((m[m.length - 1].data += x.data), m)
        : (m.push(x), m);
    }, []);
  }
  function v(w) {
    const m = [];
    for (let x = 0; x < w.length; x++) {
      const C = w[x];
      switch (C.mode) {
        case t.NUMERIC:
          m.push([
            C,
            { data: C.data, mode: t.ALPHANUMERIC, length: C.length },
            { data: C.data, mode: t.BYTE, length: C.length },
          ]);
          break;
        case t.ALPHANUMERIC:
          m.push([C, { data: C.data, mode: t.BYTE, length: C.length }]);
          break;
        case t.KANJI:
          m.push([C, { data: C.data, mode: t.BYTE, length: l(C.data) }]);
          break;
        case t.BYTE:
          m.push([{ data: C.data, mode: t.BYTE, length: l(C.data) }]);
      }
    }
    return m;
  }
  function B(w, m) {
    const x = {},
      C = { start: {} };
    let b = ["start"];
    for (let F = 0; F < w.length; F++) {
      const I = w[F],
        T = [];
      for (let D = 0; D < I.length; D++) {
        const U = I[D],
          Q = "" + F + D;
        T.push(Q), (x[Q] = { node: U, lastCount: 0 }), (C[Q] = {});
        for (let L = 0; L < b.length; L++) {
          const $ = b[L];
          x[$] && x[$].node.mode === U.mode
            ? ((C[$][Q] =
                d(x[$].lastCount + U.length, U.mode) -
                d(x[$].lastCount, U.mode)),
              (x[$].lastCount += U.length))
            : (x[$] && (x[$].lastCount = U.length),
              (C[$][Q] =
                d(U.length, U.mode) + 4 + t.getCharCountIndicator(U.mode, m)));
        }
      }
      b = T;
    }
    for (let F = 0; F < b.length; F++) C[b[F]].end = 0;
    return { map: C, table: x };
  }
  function y(w, m) {
    let x;
    const C = t.getBestModeForData(w);
    if (((x = t.from(m, C)), x !== t.BYTE && x.bit < C.bit))
      throw new Error(
        '"' +
          w +
          '" cannot be encoded with mode ' +
          t.toString(x) +
          `.
 Suggested mode is: ` +
          t.toString(C),
      );
    switch ((x === t.KANJI && !a.isKanjiModeEnabled() && (x = t.BYTE), x)) {
      case t.NUMERIC:
        return new r(w);
      case t.ALPHANUMERIC:
        return new n(w);
      case t.KANJI:
        return new i(w);
      case t.BYTE:
        return new A(w);
    }
  }
  (e.fromArray = function (m) {
    return m.reduce(function (x, C) {
      return (
        typeof C == "string"
          ? x.push(y(C, null))
          : C.data && x.push(y(C.data, C.mode)),
        x
      );
    }, []);
  }),
    (e.fromString = function (m, x) {
      const C = f(m, a.isKanjiModeEnabled()),
        b = v(C),
        F = B(b, x),
        I = o.find_path(F.map, "start", "end"),
        T = [];
      for (let D = 1; D < I.length - 1; D++) T.push(F.table[I[D]].node);
      return e.fromArray(g(T));
    }),
    (e.rawSplit = function (m) {
      return e.fromArray(f(m, a.isKanjiModeEnabled()));
    });
})(iC);
const Hf = Dn,
  kd = Of,
  kY = pY,
  HY = gY,
  MY = Xy,
  RY = Jy,
  wh = qy,
  yh = Lf,
  NY = mY,
  Cc = tC,
  $Y = nC,
  KY = ms,
  Hd = iC;
function VY(e, t) {
  const r = e.size,
    n = RY.getPositions(t);
  for (let A = 0; A < n.length; A++) {
    const i = n[A][0],
      s = n[A][1];
    for (let a = -1; a <= 7; a++)
      if (!(i + a <= -1 || r <= i + a))
        for (let o = -1; o <= 7; o++)
          s + o <= -1 ||
            r <= s + o ||
            ((a >= 0 && a <= 6 && (o === 0 || o === 6)) ||
            (o >= 0 && o <= 6 && (a === 0 || a === 6)) ||
            (a >= 2 && a <= 4 && o >= 2 && o <= 4)
              ? e.set(i + a, s + o, !0, !0)
              : e.set(i + a, s + o, !1, !0));
  }
}
function GY(e) {
  const t = e.size;
  for (let r = 8; r < t - 8; r++) {
    const n = r % 2 === 0;
    e.set(r, 6, n, !0), e.set(6, r, n, !0);
  }
}
function WY(e, t) {
  const r = MY.getPositions(t);
  for (let n = 0; n < r.length; n++) {
    const A = r[n][0],
      i = r[n][1];
    for (let s = -2; s <= 2; s++)
      for (let a = -2; a <= 2; a++)
        s === -2 || s === 2 || a === -2 || a === 2 || (s === 0 && a === 0)
          ? e.set(A + s, i + a, !0, !0)
          : e.set(A + s, i + a, !1, !0);
  }
}
function zY(e, t) {
  const r = e.size,
    n = Cc.getEncodedBits(t);
  let A, i, s;
  for (let a = 0; a < 18; a++)
    (A = Math.floor(a / 3)),
      (i = (a % 3) + r - 8 - 3),
      (s = ((n >> a) & 1) === 1),
      e.set(A, i, s, !0),
      e.set(i, A, s, !0);
}
function Md(e, t, r) {
  const n = e.size,
    A = $Y.getEncodedBits(t, r);
  let i, s;
  for (i = 0; i < 15; i++)
    (s = ((A >> i) & 1) === 1),
      i < 6
        ? e.set(i, 8, s, !0)
        : i < 8
          ? e.set(i + 1, 8, s, !0)
          : e.set(n - 15 + i, 8, s, !0),
      i < 8
        ? e.set(8, n - i - 1, s, !0)
        : i < 9
          ? e.set(8, 15 - i - 1 + 1, s, !0)
          : e.set(8, 15 - i - 1, s, !0);
  e.set(n - 8, 8, 1, !0);
}
function jY(e, t) {
  const r = e.size;
  let n = -1,
    A = r - 1,
    i = 7,
    s = 0;
  for (let a = r - 1; a > 0; a -= 2)
    for (a === 6 && a--; ; ) {
      for (let o = 0; o < 2; o++)
        if (!e.isReserved(A, a - o)) {
          let l = !1;
          s < t.length && (l = ((t[s] >>> i) & 1) === 1),
            e.set(A, a - o, l),
            i--,
            i === -1 && (s++, (i = 7));
        }
      if (((A += n), A < 0 || r <= A)) {
        (A -= n), (n = -n);
        break;
      }
    }
}
function YY(e, t, r) {
  const n = new kY();
  r.forEach(function (o) {
    n.put(o.mode.bit, 4),
      n.put(o.getLength(), KY.getCharCountIndicator(o.mode, e)),
      o.write(n);
  });
  const A = Hf.getSymbolTotalCodewords(e),
    i = yh.getTotalCodewordsCount(e, t),
    s = (A - i) * 8;
  for (
    n.getLengthInBits() + 4 <= s && n.put(0, 4);
    n.getLengthInBits() % 8 !== 0;

  )
    n.putBit(0);
  const a = (s - n.getLengthInBits()) / 8;
  for (let o = 0; o < a; o++) n.put(o % 2 ? 17 : 236, 8);
  return XY(n, e, t);
}
function XY(e, t, r) {
  const n = Hf.getSymbolTotalCodewords(t),
    A = yh.getTotalCodewordsCount(t, r),
    i = n - A,
    s = yh.getBlocksCount(t, r),
    a = n % s,
    o = s - a,
    l = Math.floor(n / s),
    u = Math.floor(i / s),
    f = u + 1,
    d = l - u,
    g = new NY(d);
  let v = 0;
  const B = new Array(s),
    y = new Array(s);
  let w = 0;
  const m = new Uint8Array(e.buffer);
  for (let I = 0; I < s; I++) {
    const T = I < o ? u : f;
    (B[I] = m.slice(v, v + T)),
      (y[I] = g.encode(B[I])),
      (v += T),
      (w = Math.max(w, T));
  }
  const x = new Uint8Array(n);
  let C = 0,
    b,
    F;
  for (b = 0; b < w; b++)
    for (F = 0; F < s; F++) b < B[F].length && (x[C++] = B[F][b]);
  for (b = 0; b < d; b++) for (F = 0; F < s; F++) x[C++] = y[F][b];
  return x;
}
function JY(e, t, r, n) {
  let A;
  if (Array.isArray(e)) A = Hd.fromArray(e);
  else if (typeof e == "string") {
    let l = t;
    if (!l) {
      const u = Hd.rawSplit(e);
      l = Cc.getBestVersionForData(u, r);
    }
    A = Hd.fromString(e, l || 40);
  } else throw new Error("Invalid data");
  const i = Cc.getBestVersionForData(A, r);
  if (!i)
    throw new Error("The amount of data is too big to be stored in a QR Code");
  if (!t) t = i;
  else if (t < i)
    throw new Error(
      `
The chosen QR Code version cannot contain this amount of data.
Minimum version required to store current data is: ` +
        i +
        `.
`,
    );
  const s = YY(t, r, A),
    a = Hf.getSymbolSize(t),
    o = new HY(a);
  return (
    VY(o, t),
    GY(o),
    WY(o, t),
    Md(o, r, 0),
    t >= 7 && zY(o, t),
    jY(o, s),
    isNaN(n) && (n = wh.getBestMask(o, Md.bind(null, o, r))),
    wh.applyMask(n, o),
    Md(o, r, n),
    {
      modules: o,
      version: t,
      errorCorrectionLevel: r,
      maskPattern: n,
      segments: A,
    }
  );
}
jy.create = function (t, r) {
  if (typeof t > "u" || t === "") throw new Error("No input text");
  let n = kd.M,
    A,
    i;
  return (
    typeof r < "u" &&
      ((n = kd.from(r.errorCorrectionLevel, kd.M)),
      (A = Cc.from(r.version)),
      (i = wh.from(r.maskPattern)),
      r.toSJISFunc && Hf.setToSJISFunction(r.toSJISFunc)),
    JY(t, A, n, i)
  );
};
var aC = {},
  s5 = {};
(function (e) {
  function t(r) {
    if ((typeof r == "number" && (r = r.toString()), typeof r != "string"))
      throw new Error("Color should be defined as hex string");
    let n = r.slice().replace("#", "").split("");
    if (n.length < 3 || n.length === 5 || n.length > 8)
      throw new Error("Invalid hex color: " + r);
    (n.length === 3 || n.length === 4) &&
      (n = Array.prototype.concat.apply(
        [],
        n.map(function (i) {
          return [i, i];
        }),
      )),
      n.length === 6 && n.push("F", "F");
    const A = parseInt(n.join(""), 16);
    return {
      r: (A >> 24) & 255,
      g: (A >> 16) & 255,
      b: (A >> 8) & 255,
      a: A & 255,
      hex: "#" + n.slice(0, 6).join(""),
    };
  }
  (e.getOptions = function (n) {
    n || (n = {}), n.color || (n.color = {});
    const A =
        typeof n.margin > "u" || n.margin === null || n.margin < 0
          ? 4
          : n.margin,
      i = n.width && n.width >= 21 ? n.width : void 0,
      s = n.scale || 4;
    return {
      width: i,
      scale: i ? 4 : s,
      margin: A,
      color: {
        dark: t(n.color.dark || "#000000ff"),
        light: t(n.color.light || "#ffffffff"),
      },
      type: n.type,
      rendererOpts: n.rendererOpts || {},
    };
  }),
    (e.getScale = function (n, A) {
      return A.width && A.width >= n + A.margin * 2
        ? A.width / (n + A.margin * 2)
        : A.scale;
    }),
    (e.getImageWidth = function (n, A) {
      const i = e.getScale(n, A);
      return Math.floor((n + A.margin * 2) * i);
    }),
    (e.qrToImageData = function (n, A, i) {
      const s = A.modules.size,
        a = A.modules.data,
        o = e.getScale(s, i),
        l = Math.floor((s + i.margin * 2) * o),
        u = i.margin * o,
        f = [i.color.light, i.color.dark];
      for (let d = 0; d < l; d++)
        for (let g = 0; g < l; g++) {
          let v = (d * l + g) * 4,
            B = i.color.light;
          if (d >= u && g >= u && d < l - u && g < l - u) {
            const y = Math.floor((d - u) / o),
              w = Math.floor((g - u) / o);
            B = f[a[y * s + w] ? 1 : 0];
          }
          (n[v++] = B.r), (n[v++] = B.g), (n[v++] = B.b), (n[v] = B.a);
        }
    });
})(s5);
(function (e) {
  const t = s5;
  function r(A, i, s) {
    A.clearRect(0, 0, i.width, i.height),
      i.style || (i.style = {}),
      (i.height = s),
      (i.width = s),
      (i.style.height = s + "px"),
      (i.style.width = s + "px");
  }
  function n() {
    try {
      return document.createElement("canvas");
    } catch {
      throw new Error("You need to specify a canvas element");
    }
  }
  (e.render = function (i, s, a) {
    let o = a,
      l = s;
    typeof o > "u" && (!s || !s.getContext) && ((o = s), (s = void 0)),
      s || (l = n()),
      (o = t.getOptions(o));
    const u = t.getImageWidth(i.modules.size, o),
      f = l.getContext("2d"),
      d = f.createImageData(u, u);
    return (
      t.qrToImageData(d.data, i, o), r(f, l, u), f.putImageData(d, 0, 0), l
    );
  }),
    (e.renderToDataURL = function (i, s, a) {
      let o = a;
      typeof o > "u" && (!s || !s.getContext) && ((o = s), (s = void 0)),
        o || (o = {});
      const l = e.render(i, s, o),
        u = o.type || "image/png",
        f = o.rendererOpts || {};
      return l.toDataURL(u, f.quality);
    });
})(aC);
var oC = {};
const qY = s5;
function Nm(e, t) {
  const r = e.a / 255,
    n = t + '="' + e.hex + '"';
  return r < 1 ? n + " " + t + '-opacity="' + r.toFixed(2).slice(1) + '"' : n;
}
function Rd(e, t, r) {
  let n = e + t;
  return typeof r < "u" && (n += " " + r), n;
}
function ZY(e, t, r) {
  let n = "",
    A = 0,
    i = !1,
    s = 0;
  for (let a = 0; a < e.length; a++) {
    const o = Math.floor(a % t),
      l = Math.floor(a / t);
    !o && !i && (i = !0),
      e[a]
        ? (s++,
          (a > 0 && o > 0 && e[a - 1]) ||
            ((n += i ? Rd("M", o + r, 0.5 + l + r) : Rd("m", A, 0)),
            (A = 0),
            (i = !1)),
          (o + 1 < t && e[a + 1]) || ((n += Rd("h", s)), (s = 0)))
        : A++;
  }
  return n;
}
oC.render = function (t, r, n) {
  const A = qY.getOptions(r),
    i = t.modules.size,
    s = t.modules.data,
    a = i + A.margin * 2,
    o = A.color.light.a
      ? "<path " +
        Nm(A.color.light, "fill") +
        ' d="M0 0h' +
        a +
        "v" +
        a +
        'H0z"/>'
      : "",
    l =
      "<path " +
      Nm(A.color.dark, "stroke") +
      ' d="' +
      ZY(s, i, A.margin) +
      '"/>',
    u = 'viewBox="0 0 ' + a + " " + a + '"',
    d =
      '<svg xmlns="http://www.w3.org/2000/svg" ' +
      (A.width ? 'width="' + A.width + '" height="' + A.width + '" ' : "") +
      u +
      ' shape-rendering="crispEdges">' +
      o +
      l +
      `</svg>
`;
  return typeof n == "function" && n(null, d), d;
};
const eX = dY,
  Ch = jy,
  lC = aC,
  tX = oC;
function a5(e, t, r, n, A) {
  const i = [].slice.call(arguments, 1),
    s = i.length,
    a = typeof i[s - 1] == "function";
  if (!a && !eX()) throw new Error("Callback required as last argument");
  if (a) {
    if (s < 2) throw new Error("Too few arguments provided");
    s === 2
      ? ((A = r), (r = t), (t = n = void 0))
      : s === 3 &&
        (t.getContext && typeof A > "u"
          ? ((A = n), (n = void 0))
          : ((A = n), (n = r), (r = t), (t = void 0)));
  } else {
    if (s < 1) throw new Error("Too few arguments provided");
    return (
      s === 1
        ? ((r = t), (t = n = void 0))
        : s === 2 && !t.getContext && ((n = r), (r = t), (t = void 0)),
      new Promise(function (o, l) {
        try {
          const u = Ch.create(r, n);
          o(e(u, t, n));
        } catch (u) {
          l(u);
        }
      })
    );
  }
  try {
    const o = Ch.create(r, n);
    A(null, e(o, t, n));
  } catch (o) {
    A(o);
  }
}
Pf.create = Ch.create;
Pf.toCanvas = a5.bind(null, lC.render);
Pf.toDataURL = a5.bind(null, lC.renderToDataURL);
Pf.toString = a5.bind(null, function (e, t, r) {
  return tX.render(e, r);
});
/*!
 * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
 * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
 * Released under MIT License
 */ /*! *****************************************************************************
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 xh =
  function (e, t) {
    return (
      (xh =
        Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array &&
          function (r, n) {
            r.__proto__ = n;
          }) ||
        function (r, n) {
          for (var A in n)
            Object.prototype.hasOwnProperty.call(n, A) && (r[A] = n[A]);
        }),
      xh(e, t)
    );
  };
function lA(e, t) {
  if (typeof t != "function" && t !== null)
    throw new TypeError(
      "Class extends value " + String(t) + " is not a constructor or null",
    );
  xh(e, t);
  function r() {
    this.constructor = e;
  }
  e.prototype =
    t === null ? Object.create(t) : ((r.prototype = t.prototype), new r());
}
var Eh = function () {
  return (
    (Eh =
      Object.assign ||
      function (t) {
        for (var r, n = 1, A = arguments.length; n < A; n++) {
          r = arguments[n];
          for (var i in r)
            Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
        }
        return t;
      }),
    Eh.apply(this, arguments)
  );
};
function en(e, t, r, n) {
  function A(i) {
    return i instanceof r
      ? i
      : new r(function (s) {
          s(i);
        });
  }
  return new (r || (r = Promise))(function (i, s) {
    function a(u) {
      try {
        l(n.next(u));
      } catch (f) {
        s(f);
      }
    }
    function o(u) {
      try {
        l(n.throw(u));
      } catch (f) {
        s(f);
      }
    }
    function l(u) {
      u.done ? i(u.value) : A(u.value).then(a, o);
    }
    l((n = n.apply(e, t || [])).next());
  });
}
function Wr(e, t) {
  var r = {
      label: 0,
      sent: function () {
        if (i[0] & 1) throw i[1];
        return i[1];
      },
      trys: [],
      ops: [],
    },
    n,
    A,
    i,
    s;
  return (
    (s = { next: a(0), throw: a(1), return: a(2) }),
    typeof Symbol == "function" &&
      (s[Symbol.iterator] = function () {
        return this;
      }),
    s
  );
  function a(l) {
    return function (u) {
      return o([l, u]);
    };
  }
  function o(l) {
    if (n) throw new TypeError("Generator is already executing.");
    for (; r; )
      try {
        if (
          ((n = 1),
          A &&
            (i =
              l[0] & 2
                ? A.return
                : l[0]
                  ? A.throw || ((i = A.return) && i.call(A), 0)
                  : A.next) &&
            !(i = i.call(A, l[1])).done)
        )
          return i;
        switch (((A = 0), i && (l = [l[0] & 2, i.value]), l[0])) {
          case 0:
          case 1:
            i = l;
            break;
          case 4:
            return r.label++, { value: l[1], done: !1 };
          case 5:
            r.label++, (A = l[1]), (l = [0]);
            continue;
          case 7:
            (l = r.ops.pop()), r.trys.pop();
            continue;
          default:
            if (
              ((i = r.trys),
              !(i = i.length > 0 && i[i.length - 1]) &&
                (l[0] === 6 || l[0] === 2))
            ) {
              r = 0;
              continue;
            }
            if (l[0] === 3 && (!i || (l[1] > i[0] && l[1] < i[3]))) {
              r.label = l[1];
              break;
            }
            if (l[0] === 6 && r.label < i[1]) {
              (r.label = i[1]), (i = l);
              break;
            }
            if (i && r.label < i[2]) {
              (r.label = i[2]), r.ops.push(l);
              break;
            }
            i[2] && r.ops.pop(), r.trys.pop();
            continue;
        }
        l = t.call(e, r);
      } catch (u) {
        (l = [6, u]), (A = 0);
      } finally {
        n = i = 0;
      }
    if (l[0] & 5) throw l[1];
    return { value: l[0] ? l[1] : void 0, done: !0 };
  }
}
function vu(e, t, r) {
  if (r || arguments.length === 2)
    for (var n = 0, A = t.length, i; n < A; n++)
      (i || !(n in t)) &&
        (i || (i = Array.prototype.slice.call(t, 0, n)), (i[n] = t[n]));
  return e.concat(i || t);
}
var oi = (function () {
    function e(t, r, n, A) {
      (this.left = t), (this.top = r), (this.width = n), (this.height = A);
    }
    return (
      (e.prototype.add = function (t, r, n, A) {
        return new e(
          this.left + t,
          this.top + r,
          this.width + n,
          this.height + A,
        );
      }),
      (e.fromClientRect = function (t, r) {
        return new e(
          r.left + t.windowBounds.left,
          r.top + t.windowBounds.top,
          r.width,
          r.height,
        );
      }),
      (e.fromDOMRectList = function (t, r) {
        var n = Array.from(r).find(function (A) {
          return A.width !== 0;
        });
        return n
          ? new e(
              n.left + t.windowBounds.left,
              n.top + t.windowBounds.top,
              n.width,
              n.height,
            )
          : e.EMPTY;
      }),
      (e.EMPTY = new e(0, 0, 0, 0)),
      e
    );
  })(),
  Mf = function (e, t) {
    return oi.fromClientRect(e, t.getBoundingClientRect());
  },
  rX = function (e) {
    var t = e.body,
      r = e.documentElement;
    if (!t || !r) throw new Error("Unable to get document size");
    var n = Math.max(
        Math.max(t.scrollWidth, r.scrollWidth),
        Math.max(t.offsetWidth, r.offsetWidth),
        Math.max(t.clientWidth, r.clientWidth),
      ),
      A = Math.max(
        Math.max(t.scrollHeight, r.scrollHeight),
        Math.max(t.offsetHeight, r.offsetHeight),
        Math.max(t.clientHeight, r.clientHeight),
      );
    return new oi(0, 0, n, A);
  },
  Rf = function (e) {
    for (var t = [], r = 0, n = e.length; r < n; ) {
      var A = e.charCodeAt(r++);
      if (A >= 55296 && A <= 56319 && r < n) {
        var i = e.charCodeAt(r++);
        (i & 64512) === 56320
          ? t.push(((A & 1023) << 10) + (i & 1023) + 65536)
          : (t.push(A), r--);
      } else t.push(A);
    }
    return t;
  },
  nr = function () {
    for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
    if (String.fromCodePoint) return String.fromCodePoint.apply(String, e);
    var r = e.length;
    if (!r) return "";
    for (var n = [], A = -1, i = ""; ++A < r; ) {
      var s = e[A];
      s <= 65535
        ? n.push(s)
        : ((s -= 65536), n.push((s >> 10) + 55296, (s % 1024) + 56320)),
        (A + 1 === r || n.length > 16384) &&
          ((i += String.fromCharCode.apply(String, n)), (n.length = 0));
    }
    return i;
  },
  $m = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  nX = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
for (var mu = 0; mu < $m.length; mu++) nX[$m.charCodeAt(mu)] = mu;
var Km = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  fl = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
for (var Bu = 0; Bu < Km.length; Bu++) fl[Km.charCodeAt(Bu)] = Bu;
var AX = function (e) {
    var t = e.length * 0.75,
      r = e.length,
      n,
      A = 0,
      i,
      s,
      a,
      o;
    e[e.length - 1] === "=" && (t--, e[e.length - 2] === "=" && t--);
    var l =
        typeof ArrayBuffer < "u" &&
        typeof Uint8Array < "u" &&
        typeof Uint8Array.prototype.slice < "u"
          ? new ArrayBuffer(t)
          : new Array(t),
      u = Array.isArray(l) ? l : new Uint8Array(l);
    for (n = 0; n < r; n += 4)
      (i = fl[e.charCodeAt(n)]),
        (s = fl[e.charCodeAt(n + 1)]),
        (a = fl[e.charCodeAt(n + 2)]),
        (o = fl[e.charCodeAt(n + 3)]),
        (u[A++] = (i << 2) | (s >> 4)),
        (u[A++] = ((s & 15) << 4) | (a >> 2)),
        (u[A++] = ((a & 3) << 6) | (o & 63));
    return l;
  },
  iX = function (e) {
    for (var t = e.length, r = [], n = 0; n < t; n += 2)
      r.push((e[n + 1] << 8) | e[n]);
    return r;
  },
  sX = function (e) {
    for (var t = e.length, r = [], n = 0; n < t; n += 4)
      r.push((e[n + 3] << 24) | (e[n + 2] << 16) | (e[n + 1] << 8) | e[n]);
    return r;
  },
  js = 5,
  o5 = 6 + 5,
  Nd = 2,
  aX = o5 - js,
  uC = 65536 >> js,
  oX = 1 << js,
  $d = oX - 1,
  lX = 1024 >> js,
  uX = uC + lX,
  cX = uX,
  fX = 32,
  dX = cX + fX,
  hX = 65536 >> o5,
  pX = 1 << aX,
  gX = pX - 1,
  Vm = function (e, t, r) {
    return e.slice
      ? e.slice(t, r)
      : new Uint16Array(Array.prototype.slice.call(e, t, r));
  },
  vX = function (e, t, r) {
    return e.slice
      ? e.slice(t, r)
      : new Uint32Array(Array.prototype.slice.call(e, t, r));
  },
  mX = function (e, t) {
    var r = AX(e),
      n = Array.isArray(r) ? sX(r) : new Uint32Array(r),
      A = Array.isArray(r) ? iX(r) : new Uint16Array(r),
      i = 24,
      s = Vm(A, i / 2, n[4] / 2),
      a = n[5] === 2 ? Vm(A, (i + n[4]) / 2) : vX(n, Math.ceil((i + n[4]) / 4));
    return new BX(n[0], n[1], n[2], n[3], s, a);
  },
  BX = (function () {
    function e(t, r, n, A, i, s) {
      (this.initialValue = t),
        (this.errorValue = r),
        (this.highStart = n),
        (this.highValueIndex = A),
        (this.index = i),
        (this.data = s);
    }
    return (
      (e.prototype.get = function (t) {
        var r;
        if (t >= 0) {
          if (t < 55296 || (t > 56319 && t <= 65535))
            return (
              (r = this.index[t >> js]),
              (r = (r << Nd) + (t & $d)),
              this.data[r]
            );
          if (t <= 65535)
            return (
              (r = this.index[uC + ((t - 55296) >> js)]),
              (r = (r << Nd) + (t & $d)),
              this.data[r]
            );
          if (t < this.highStart)
            return (
              (r = dX - hX + (t >> o5)),
              (r = this.index[r]),
              (r += (t >> js) & gX),
              (r = this.index[r]),
              (r = (r << Nd) + (t & $d)),
              this.data[r]
            );
          if (t <= 1114111) return this.data[this.highValueIndex];
        }
        return this.errorValue;
      }),
      e
    );
  })(),
  Gm = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  wX = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
for (var wu = 0; wu < Gm.length; wu++) wX[Gm.charCodeAt(wu)] = wu;
var yX =
    " ",
  Wm = 50,
  CX = 1,
  cC = 2,
  fC = 3,
  xX = 4,
  EX = 5,
  zm = 7,
  dC = 8,
  jm = 9,
  Wi = 10,
  bh = 11,
  Ym = 12,
  Fh = 13,
  bX = 14,
  dl = 15,
  _h = 16,
  yu = 17,
  il = 18,
  FX = 19,
  Xm = 20,
  Sh = 21,
  sl = 22,
  Kd = 23,
  Sa = 24,
  xn = 25,
  hl = 26,
  pl = 27,
  Qa = 28,
  _X = 29,
  Ls = 30,
  SX = 31,
  Cu = 32,
  xu = 33,
  Qh = 34,
  Uh = 35,
  Th = 36,
  i0 = 37,
  Ih = 38,
  Xu = 39,
  Ju = 40,
  Vd = 41,
  hC = 42,
  QX = 43,
  UX = [9001, 65288],
  pC = "!",
  Ct = "×",
  Eu = "÷",
  Dh = mX(yX),
  RA = [Ls, Th],
  Ph = [CX, cC, fC, EX],
  gC = [Wi, dC],
  Jm = [pl, hl],
  TX = Ph.concat(gC),
  qm = [Ih, Xu, Ju, Qh, Uh],
  IX = [dl, Fh],
  DX = function (e, t) {
    t === void 0 && (t = "strict");
    var r = [],
      n = [],
      A = [];
    return (
      e.forEach(function (i, s) {
        var a = Dh.get(i);
        if (
          (a > Wm ? (A.push(!0), (a -= Wm)) : A.push(!1),
          ["normal", "auto", "loose"].indexOf(t) !== -1 &&
            [8208, 8211, 12316, 12448].indexOf(i) !== -1)
        )
          return n.push(s), r.push(_h);
        if (a === xX || a === bh) {
          if (s === 0) return n.push(s), r.push(Ls);
          var o = r[s - 1];
          return TX.indexOf(o) === -1
            ? (n.push(n[s - 1]), r.push(o))
            : (n.push(s), r.push(Ls));
        }
        if ((n.push(s), a === SX)) return r.push(t === "strict" ? Sh : i0);
        if (a === hC || a === _X) return r.push(Ls);
        if (a === QX)
          return (i >= 131072 && i <= 196605) || (i >= 196608 && i <= 262141)
            ? r.push(i0)
            : r.push(Ls);
        r.push(a);
      }),
      [n, r, A]
    );
  },
  Gd = function (e, t, r, n) {
    var A = n[r];
    if (Array.isArray(e) ? e.indexOf(A) !== -1 : e === A)
      for (var i = r; i <= n.length; ) {
        i++;
        var s = n[i];
        if (s === t) return !0;
        if (s !== Wi) break;
      }
    if (A === Wi)
      for (var i = r; i > 0; ) {
        i--;
        var a = n[i];
        if (Array.isArray(e) ? e.indexOf(a) !== -1 : e === a)
          for (var o = r; o <= n.length; ) {
            o++;
            var s = n[o];
            if (s === t) return !0;
            if (s !== Wi) break;
          }
        if (a !== Wi) break;
      }
    return !1;
  },
  Zm = function (e, t) {
    for (var r = e; r >= 0; ) {
      var n = t[r];
      if (n === Wi) r--;
      else return n;
    }
    return 0;
  },
  PX = function (e, t, r, n, A) {
    if (r[n] === 0) return Ct;
    var i = n - 1;
    if (Array.isArray(A) && A[i] === !0) return Ct;
    var s = i - 1,
      a = i + 1,
      o = t[i],
      l = s >= 0 ? t[s] : 0,
      u = t[a];
    if (o === cC && u === fC) return Ct;
    if (Ph.indexOf(o) !== -1) return pC;
    if (Ph.indexOf(u) !== -1 || gC.indexOf(u) !== -1) return Ct;
    if (Zm(i, t) === dC) return Eu;
    if (
      Dh.get(e[i]) === bh ||
      ((o === Cu || o === xu) && Dh.get(e[a]) === bh) ||
      o === zm ||
      u === zm ||
      o === jm ||
      ([Wi, Fh, dl].indexOf(o) === -1 && u === jm) ||
      [yu, il, FX, Sa, Qa].indexOf(u) !== -1 ||
      Zm(i, t) === sl ||
      Gd(Kd, sl, i, t) ||
      Gd([yu, il], Sh, i, t) ||
      Gd(Ym, Ym, i, t)
    )
      return Ct;
    if (o === Wi) return Eu;
    if (o === Kd || u === Kd) return Ct;
    if (u === _h || o === _h) return Eu;
    if (
      [Fh, dl, Sh].indexOf(u) !== -1 ||
      o === bX ||
      (l === Th && IX.indexOf(o) !== -1) ||
      (o === Qa && u === Th) ||
      u === Xm ||
      (RA.indexOf(u) !== -1 && o === xn) ||
      (RA.indexOf(o) !== -1 && u === xn) ||
      (o === pl && [i0, Cu, xu].indexOf(u) !== -1) ||
      ([i0, Cu, xu].indexOf(o) !== -1 && u === hl) ||
      (RA.indexOf(o) !== -1 && Jm.indexOf(u) !== -1) ||
      (Jm.indexOf(o) !== -1 && RA.indexOf(u) !== -1) ||
      ([pl, hl].indexOf(o) !== -1 &&
        (u === xn || ([sl, dl].indexOf(u) !== -1 && t[a + 1] === xn))) ||
      ([sl, dl].indexOf(o) !== -1 && u === xn) ||
      (o === xn && [xn, Qa, Sa].indexOf(u) !== -1)
    )
      return Ct;
    if ([xn, Qa, Sa, yu, il].indexOf(u) !== -1)
      for (var f = i; f >= 0; ) {
        var d = t[f];
        if (d === xn) return Ct;
        if ([Qa, Sa].indexOf(d) !== -1) f--;
        else break;
      }
    if ([pl, hl].indexOf(u) !== -1)
      for (var f = [yu, il].indexOf(o) !== -1 ? s : i; f >= 0; ) {
        var d = t[f];
        if (d === xn) return Ct;
        if ([Qa, Sa].indexOf(d) !== -1) f--;
        else break;
      }
    if (
      (Ih === o && [Ih, Xu, Qh, Uh].indexOf(u) !== -1) ||
      ([Xu, Qh].indexOf(o) !== -1 && [Xu, Ju].indexOf(u) !== -1) ||
      ([Ju, Uh].indexOf(o) !== -1 && u === Ju) ||
      (qm.indexOf(o) !== -1 && [Xm, hl].indexOf(u) !== -1) ||
      (qm.indexOf(u) !== -1 && o === pl) ||
      (RA.indexOf(o) !== -1 && RA.indexOf(u) !== -1) ||
      (o === Sa && RA.indexOf(u) !== -1) ||
      (RA.concat(xn).indexOf(o) !== -1 &&
        u === sl &&
        UX.indexOf(e[a]) === -1) ||
      (RA.concat(xn).indexOf(u) !== -1 && o === il)
    )
      return Ct;
    if (o === Vd && u === Vd) {
      for (var g = r[i], v = 1; g > 0 && (g--, t[g] === Vd); ) v++;
      if (v % 2 !== 0) return Ct;
    }
    return o === Cu && u === xu ? Ct : Eu;
  },
  OX = function (e, t) {
    t || (t = { lineBreak: "normal", wordBreak: "normal" });
    var r = DX(e, t.lineBreak),
      n = r[0],
      A = r[1],
      i = r[2];
    (t.wordBreak === "break-all" || t.wordBreak === "break-word") &&
      (A = A.map(function (a) {
        return [xn, Ls, hC].indexOf(a) !== -1 ? i0 : a;
      }));
    var s =
      t.wordBreak === "keep-all"
        ? i.map(function (a, o) {
            return a && e[o] >= 19968 && e[o] <= 40959;
          })
        : void 0;
    return [n, A, s];
  },
  LX = (function () {
    function e(t, r, n, A) {
      (this.codePoints = t),
        (this.required = r === pC),
        (this.start = n),
        (this.end = A);
    }
    return (
      (e.prototype.slice = function () {
        return nr.apply(void 0, this.codePoints.slice(this.start, this.end));
      }),
      e
    );
  })(),
  kX = function (e, t) {
    var r = Rf(e),
      n = OX(r, t),
      A = n[0],
      i = n[1],
      s = n[2],
      a = r.length,
      o = 0,
      l = 0;
    return {
      next: function () {
        if (l >= a) return { done: !0, value: null };
        for (var u = Ct; l < a && (u = PX(r, i, A, ++l, s)) === Ct; );
        if (u !== Ct || l === a) {
          var f = new LX(r, u, o, l);
          return (o = l), { value: f, done: !1 };
        }
        return { done: !0, value: null };
      },
    };
  },
  HX = 1,
  MX = 2,
  U0 = 4,
  e7 = 8,
  xc = 10,
  t7 = 47,
  Ol = 92,
  RX = 9,
  NX = 32,
  bu = 34,
  al = 61,
  $X = 35,
  KX = 36,
  VX = 37,
  Fu = 39,
  _u = 40,
  ol = 41,
  GX = 95,
  fn = 45,
  WX = 33,
  zX = 60,
  jX = 62,
  YX = 64,
  XX = 91,
  JX = 93,
  qX = 61,
  ZX = 123,
  Su = 63,
  eJ = 125,
  r7 = 124,
  tJ = 126,
  rJ = 128,
  n7 = 65533,
  Wd = 42,
  Rs = 43,
  nJ = 44,
  AJ = 58,
  iJ = 59,
  s0 = 46,
  sJ = 0,
  aJ = 8,
  oJ = 11,
  lJ = 14,
  uJ = 31,
  cJ = 127,
  gA = -1,
  vC = 48,
  mC = 97,
  BC = 101,
  fJ = 102,
  dJ = 117,
  hJ = 122,
  wC = 65,
  yC = 69,
  CC = 70,
  pJ = 85,
  gJ = 90,
  zr = function (e) {
    return e >= vC && e <= 57;
  },
  vJ = function (e) {
    return e >= 55296 && e <= 57343;
  },
  Ua = function (e) {
    return zr(e) || (e >= wC && e <= CC) || (e >= mC && e <= fJ);
  },
  mJ = function (e) {
    return e >= mC && e <= hJ;
  },
  BJ = function (e) {
    return e >= wC && e <= gJ;
  },
  wJ = function (e) {
    return mJ(e) || BJ(e);
  },
  yJ = function (e) {
    return e >= rJ;
  },
  Qu = function (e) {
    return e === xc || e === RX || e === NX;
  },
  Ec = function (e) {
    return wJ(e) || yJ(e) || e === GX;
  },
  A7 = function (e) {
    return Ec(e) || zr(e) || e === fn;
  },
  CJ = function (e) {
    return (e >= sJ && e <= aJ) || e === oJ || (e >= lJ && e <= uJ) || e === cJ;
  },
  Hi = function (e, t) {
    return e !== Ol ? !1 : t !== xc;
  },
  Uu = function (e, t, r) {
    return e === fn ? Ec(t) || Hi(t, r) : Ec(e) ? !0 : !!(e === Ol && Hi(e, t));
  },
  zd = function (e, t, r) {
    return e === Rs || e === fn
      ? zr(t)
        ? !0
        : t === s0 && zr(r)
      : zr(e === s0 ? t : e);
  },
  xJ = function (e) {
    var t = 0,
      r = 1;
    (e[t] === Rs || e[t] === fn) && (e[t] === fn && (r = -1), t++);
    for (var n = []; zr(e[t]); ) n.push(e[t++]);
    var A = n.length ? parseInt(nr.apply(void 0, n), 10) : 0;
    e[t] === s0 && t++;
    for (var i = []; zr(e[t]); ) i.push(e[t++]);
    var s = i.length,
      a = s ? parseInt(nr.apply(void 0, i), 10) : 0;
    (e[t] === yC || e[t] === BC) && t++;
    var o = 1;
    (e[t] === Rs || e[t] === fn) && (e[t] === fn && (o = -1), t++);
    for (var l = []; zr(e[t]); ) l.push(e[t++]);
    var u = l.length ? parseInt(nr.apply(void 0, l), 10) : 0;
    return r * (A + a * Math.pow(10, -s)) * Math.pow(10, o * u);
  },
  EJ = { type: 2 },
  bJ = { type: 3 },
  FJ = { type: 4 },
  _J = { type: 13 },
  SJ = { type: 8 },
  QJ = { type: 21 },
  UJ = { type: 9 },
  TJ = { type: 10 },
  IJ = { type: 11 },
  DJ = { type: 12 },
  PJ = { type: 14 },
  Tu = { type: 23 },
  OJ = { type: 1 },
  LJ = { type: 25 },
  kJ = { type: 24 },
  HJ = { type: 26 },
  MJ = { type: 27 },
  RJ = { type: 28 },
  NJ = { type: 29 },
  $J = { type: 31 },
  Oh = { type: 32 },
  xC = (function () {
    function e() {
      this._value = [];
    }
    return (
      (e.prototype.write = function (t) {
        this._value = this._value.concat(Rf(t));
      }),
      (e.prototype.read = function () {
        for (var t = [], r = this.consumeToken(); r !== Oh; )
          t.push(r), (r = this.consumeToken());
        return t;
      }),
      (e.prototype.consumeToken = function () {
        var t = this.consumeCodePoint();
        switch (t) {
          case bu:
            return this.consumeStringToken(bu);
          case $X:
            var r = this.peekCodePoint(0),
              n = this.peekCodePoint(1),
              A = this.peekCodePoint(2);
            if (A7(r) || Hi(n, A)) {
              var i = Uu(r, n, A) ? MX : HX,
                s = this.consumeName();
              return { type: 5, value: s, flags: i };
            }
            break;
          case KX:
            if (this.peekCodePoint(0) === al)
              return this.consumeCodePoint(), _J;
            break;
          case Fu:
            return this.consumeStringToken(Fu);
          case _u:
            return EJ;
          case ol:
            return bJ;
          case Wd:
            if (this.peekCodePoint(0) === al)
              return this.consumeCodePoint(), PJ;
            break;
          case Rs:
            if (zd(t, this.peekCodePoint(0), this.peekCodePoint(1)))
              return this.reconsumeCodePoint(t), this.consumeNumericToken();
            break;
          case nJ:
            return FJ;
          case fn:
            var a = t,
              o = this.peekCodePoint(0),
              l = this.peekCodePoint(1);
            if (zd(a, o, l))
              return this.reconsumeCodePoint(t), this.consumeNumericToken();
            if (Uu(a, o, l))
              return this.reconsumeCodePoint(t), this.consumeIdentLikeToken();
            if (o === fn && l === jX)
              return this.consumeCodePoint(), this.consumeCodePoint(), kJ;
            break;
          case s0:
            if (zd(t, this.peekCodePoint(0), this.peekCodePoint(1)))
              return this.reconsumeCodePoint(t), this.consumeNumericToken();
            break;
          case t7:
            if (this.peekCodePoint(0) === Wd)
              for (this.consumeCodePoint(); ; ) {
                var u = this.consumeCodePoint();
                if (u === Wd && ((u = this.consumeCodePoint()), u === t7))
                  return this.consumeToken();
                if (u === gA) return this.consumeToken();
              }
            break;
          case AJ:
            return HJ;
          case iJ:
            return MJ;
          case zX:
            if (
              this.peekCodePoint(0) === WX &&
              this.peekCodePoint(1) === fn &&
              this.peekCodePoint(2) === fn
            )
              return this.consumeCodePoint(), this.consumeCodePoint(), LJ;
            break;
          case YX:
            var f = this.peekCodePoint(0),
              d = this.peekCodePoint(1),
              g = this.peekCodePoint(2);
            if (Uu(f, d, g)) {
              var s = this.consumeName();
              return { type: 7, value: s };
            }
            break;
          case XX:
            return RJ;
          case Ol:
            if (Hi(t, this.peekCodePoint(0)))
              return this.reconsumeCodePoint(t), this.consumeIdentLikeToken();
            break;
          case JX:
            return NJ;
          case qX:
            if (this.peekCodePoint(0) === al)
              return this.consumeCodePoint(), SJ;
            break;
          case ZX:
            return IJ;
          case eJ:
            return DJ;
          case dJ:
          case pJ:
            var v = this.peekCodePoint(0),
              B = this.peekCodePoint(1);
            return (
              v === Rs &&
                (Ua(B) || B === Su) &&
                (this.consumeCodePoint(), this.consumeUnicodeRangeToken()),
              this.reconsumeCodePoint(t),
              this.consumeIdentLikeToken()
            );
          case r7:
            if (this.peekCodePoint(0) === al)
              return this.consumeCodePoint(), UJ;
            if (this.peekCodePoint(0) === r7)
              return this.consumeCodePoint(), QJ;
            break;
          case tJ:
            if (this.peekCodePoint(0) === al)
              return this.consumeCodePoint(), TJ;
            break;
          case gA:
            return Oh;
        }
        return Qu(t)
          ? (this.consumeWhiteSpace(), $J)
          : zr(t)
            ? (this.reconsumeCodePoint(t), this.consumeNumericToken())
            : Ec(t)
              ? (this.reconsumeCodePoint(t), this.consumeIdentLikeToken())
              : { type: 6, value: nr(t) };
      }),
      (e.prototype.consumeCodePoint = function () {
        var t = this._value.shift();
        return typeof t > "u" ? -1 : t;
      }),
      (e.prototype.reconsumeCodePoint = function (t) {
        this._value.unshift(t);
      }),
      (e.prototype.peekCodePoint = function (t) {
        return t >= this._value.length ? -1 : this._value[t];
      }),
      (e.prototype.consumeUnicodeRangeToken = function () {
        for (var t = [], r = this.consumeCodePoint(); Ua(r) && t.length < 6; )
          t.push(r), (r = this.consumeCodePoint());
        for (var n = !1; r === Su && t.length < 6; )
          t.push(r), (r = this.consumeCodePoint()), (n = !0);
        if (n) {
          var A = parseInt(
              nr.apply(
                void 0,
                t.map(function (o) {
                  return o === Su ? vC : o;
                }),
              ),
              16,
            ),
            i = parseInt(
              nr.apply(
                void 0,
                t.map(function (o) {
                  return o === Su ? CC : o;
                }),
              ),
              16,
            );
          return { type: 30, start: A, end: i };
        }
        var s = parseInt(nr.apply(void 0, t), 16);
        if (this.peekCodePoint(0) === fn && Ua(this.peekCodePoint(1))) {
          this.consumeCodePoint(), (r = this.consumeCodePoint());
          for (var a = []; Ua(r) && a.length < 6; )
            a.push(r), (r = this.consumeCodePoint());
          var i = parseInt(nr.apply(void 0, a), 16);
          return { type: 30, start: s, end: i };
        } else return { type: 30, start: s, end: s };
      }),
      (e.prototype.consumeIdentLikeToken = function () {
        var t = this.consumeName();
        return t.toLowerCase() === "url" && this.peekCodePoint(0) === _u
          ? (this.consumeCodePoint(), this.consumeUrlToken())
          : this.peekCodePoint(0) === _u
            ? (this.consumeCodePoint(), { type: 19, value: t })
            : { type: 20, value: t };
      }),
      (e.prototype.consumeUrlToken = function () {
        var t = [];
        if ((this.consumeWhiteSpace(), this.peekCodePoint(0) === gA))
          return { type: 22, value: "" };
        var r = this.peekCodePoint(0);
        if (r === Fu || r === bu) {
          var n = this.consumeStringToken(this.consumeCodePoint());
          return n.type === 0 &&
            (this.consumeWhiteSpace(),
            this.peekCodePoint(0) === gA || this.peekCodePoint(0) === ol)
            ? (this.consumeCodePoint(), { type: 22, value: n.value })
            : (this.consumeBadUrlRemnants(), Tu);
        }
        for (;;) {
          var A = this.consumeCodePoint();
          if (A === gA || A === ol)
            return { type: 22, value: nr.apply(void 0, t) };
          if (Qu(A))
            return (
              this.consumeWhiteSpace(),
              this.peekCodePoint(0) === gA || this.peekCodePoint(0) === ol
                ? (this.consumeCodePoint(),
                  { type: 22, value: nr.apply(void 0, t) })
                : (this.consumeBadUrlRemnants(), Tu)
            );
          if (A === bu || A === Fu || A === _u || CJ(A))
            return this.consumeBadUrlRemnants(), Tu;
          if (A === Ol)
            if (Hi(A, this.peekCodePoint(0)))
              t.push(this.consumeEscapedCodePoint());
            else return this.consumeBadUrlRemnants(), Tu;
          else t.push(A);
        }
      }),
      (e.prototype.consumeWhiteSpace = function () {
        for (; Qu(this.peekCodePoint(0)); ) this.consumeCodePoint();
      }),
      (e.prototype.consumeBadUrlRemnants = function () {
        for (;;) {
          var t = this.consumeCodePoint();
          if (t === ol || t === gA) return;
          Hi(t, this.peekCodePoint(0)) && this.consumeEscapedCodePoint();
        }
      }),
      (e.prototype.consumeStringSlice = function (t) {
        for (var r = 5e4, n = ""; t > 0; ) {
          var A = Math.min(r, t);
          (n += nr.apply(void 0, this._value.splice(0, A))), (t -= A);
        }
        return this._value.shift(), n;
      }),
      (e.prototype.consumeStringToken = function (t) {
        var r = "",
          n = 0;
        do {
          var A = this._value[n];
          if (A === gA || A === void 0 || A === t)
            return (r += this.consumeStringSlice(n)), { type: 0, value: r };
          if (A === xc) return this._value.splice(0, n), OJ;
          if (A === Ol) {
            var i = this._value[n + 1];
            i !== gA &&
              i !== void 0 &&
              (i === xc
                ? ((r += this.consumeStringSlice(n)),
                  (n = -1),
                  this._value.shift())
                : Hi(A, i) &&
                  ((r += this.consumeStringSlice(n)),
                  (r += nr(this.consumeEscapedCodePoint())),
                  (n = -1)));
          }
          n++;
        } while (!0);
      }),
      (e.prototype.consumeNumber = function () {
        var t = [],
          r = U0,
          n = this.peekCodePoint(0);
        for (
          (n === Rs || n === fn) && t.push(this.consumeCodePoint());
          zr(this.peekCodePoint(0));

        )
          t.push(this.consumeCodePoint());
        n = this.peekCodePoint(0);
        var A = this.peekCodePoint(1);
        if (n === s0 && zr(A))
          for (
            t.push(this.consumeCodePoint(), this.consumeCodePoint()), r = e7;
            zr(this.peekCodePoint(0));

          )
            t.push(this.consumeCodePoint());
        (n = this.peekCodePoint(0)), (A = this.peekCodePoint(1));
        var i = this.peekCodePoint(2);
        if (
          (n === yC || n === BC) &&
          (((A === Rs || A === fn) && zr(i)) || zr(A))
        )
          for (
            t.push(this.consumeCodePoint(), this.consumeCodePoint()), r = e7;
            zr(this.peekCodePoint(0));

          )
            t.push(this.consumeCodePoint());
        return [xJ(t), r];
      }),
      (e.prototype.consumeNumericToken = function () {
        var t = this.consumeNumber(),
          r = t[0],
          n = t[1],
          A = this.peekCodePoint(0),
          i = this.peekCodePoint(1),
          s = this.peekCodePoint(2);
        if (Uu(A, i, s)) {
          var a = this.consumeName();
          return { type: 15, number: r, flags: n, unit: a };
        }
        return A === VX
          ? (this.consumeCodePoint(), { type: 16, number: r, flags: n })
          : { type: 17, number: r, flags: n };
      }),
      (e.prototype.consumeEscapedCodePoint = function () {
        var t = this.consumeCodePoint();
        if (Ua(t)) {
          for (var r = nr(t); Ua(this.peekCodePoint(0)) && r.length < 6; )
            r += nr(this.consumeCodePoint());
          Qu(this.peekCodePoint(0)) && this.consumeCodePoint();
          var n = parseInt(r, 16);
          return n === 0 || vJ(n) || n > 1114111 ? n7 : n;
        }
        return t === gA ? n7 : t;
      }),
      (e.prototype.consumeName = function () {
        for (var t = ""; ; ) {
          var r = this.consumeCodePoint();
          if (A7(r)) t += nr(r);
          else if (Hi(r, this.peekCodePoint(0)))
            t += nr(this.consumeEscapedCodePoint());
          else return this.reconsumeCodePoint(r), t;
        }
      }),
      e
    );
  })(),
  EC = (function () {
    function e(t) {
      this._tokens = t;
    }
    return (
      (e.create = function (t) {
        var r = new xC();
        return r.write(t), new e(r.read());
      }),
      (e.parseValue = function (t) {
        return e.create(t).parseComponentValue();
      }),
      (e.parseValues = function (t) {
        return e.create(t).parseComponentValues();
      }),
      (e.prototype.parseComponentValue = function () {
        for (var t = this.consumeToken(); t.type === 31; )
          t = this.consumeToken();
        if (t.type === 32)
          throw new SyntaxError(
            "Error parsing CSS component value, unexpected EOF",
          );
        this.reconsumeToken(t);
        var r = this.consumeComponentValue();
        do t = this.consumeToken();
        while (t.type === 31);
        if (t.type === 32) return r;
        throw new SyntaxError(
          "Error parsing CSS component value, multiple values found when expecting only one",
        );
      }),
      (e.prototype.parseComponentValues = function () {
        for (var t = []; ; ) {
          var r = this.consumeComponentValue();
          if (r.type === 32) return t;
          t.push(r), t.push();
        }
      }),
      (e.prototype.consumeComponentValue = function () {
        var t = this.consumeToken();
        switch (t.type) {
          case 11:
          case 28:
          case 2:
            return this.consumeSimpleBlock(t.type);
          case 19:
            return this.consumeFunction(t);
        }
        return t;
      }),
      (e.prototype.consumeSimpleBlock = function (t) {
        for (var r = { type: t, values: [] }, n = this.consumeToken(); ; ) {
          if (n.type === 32 || VJ(n, t)) return r;
          this.reconsumeToken(n),
            r.values.push(this.consumeComponentValue()),
            (n = this.consumeToken());
        }
      }),
      (e.prototype.consumeFunction = function (t) {
        for (var r = { name: t.value, values: [], type: 18 }; ; ) {
          var n = this.consumeToken();
          if (n.type === 32 || n.type === 3) return r;
          this.reconsumeToken(n), r.values.push(this.consumeComponentValue());
        }
      }),
      (e.prototype.consumeToken = function () {
        var t = this._tokens.shift();
        return typeof t > "u" ? Oh : t;
      }),
      (e.prototype.reconsumeToken = function (t) {
        this._tokens.unshift(t);
      }),
      e
    );
  })(),
  T0 = function (e) {
    return e.type === 15;
  },
  Io = function (e) {
    return e.type === 17;
  },
  Mt = function (e) {
    return e.type === 20;
  },
  KJ = function (e) {
    return e.type === 0;
  },
  Lh = function (e, t) {
    return Mt(e) && e.value === t;
  },
  bC = function (e) {
    return e.type !== 31;
  },
  vo = function (e) {
    return e.type !== 31 && e.type !== 4;
  },
  SA = function (e) {
    var t = [],
      r = [];
    return (
      e.forEach(function (n) {
        if (n.type === 4) {
          if (r.length === 0)
            throw new Error("Error parsing function args, zero tokens for arg");
          t.push(r), (r = []);
          return;
        }
        n.type !== 31 && r.push(n);
      }),
      r.length && t.push(r),
      t
    );
  },
  VJ = function (e, t) {
    return (t === 11 && e.type === 12) || (t === 28 && e.type === 29)
      ? !0
      : t === 2 && e.type === 3;
  },
  ls = function (e) {
    return e.type === 17 || e.type === 15;
  },
  cr = function (e) {
    return e.type === 16 || ls(e);
  },
  FC = function (e) {
    return e.length > 1 ? [e[0], e[1]] : [e[0]];
  },
  $r = { type: 17, number: 0, flags: U0 },
  l5 = { type: 16, number: 50, flags: U0 },
  zi = { type: 16, number: 100, flags: U0 },
  gl = function (e, t, r) {
    var n = e[0],
      A = e[1];
    return [Kt(n, t), Kt(typeof A < "u" ? A : n, r)];
  },
  Kt = function (e, t) {
    if (e.type === 16) return (e.number / 100) * t;
    if (T0(e))
      switch (e.unit) {
        case "rem":
        case "em":
          return 16 * e.number;
        case "px":
        default:
          return e.number;
      }
    return e.number;
  },
  _C = "deg",
  SC = "grad",
  QC = "rad",
  UC = "turn",
  Nf = {
    name: "angle",
    parse: function (e, t) {
      if (t.type === 15)
        switch (t.unit) {
          case _C:
            return (Math.PI * t.number) / 180;
          case SC:
            return (Math.PI / 200) * t.number;
          case QC:
            return t.number;
          case UC:
            return Math.PI * 2 * t.number;
        }
      throw new Error("Unsupported angle type");
    },
  },
  TC = function (e) {
    return (
      e.type === 15 &&
      (e.unit === _C || e.unit === SC || e.unit === QC || e.unit === UC)
    );
  },
  IC = function (e) {
    var t = e
      .filter(Mt)
      .map(function (r) {
        return r.value;
      })
      .join(" ");
    switch (t) {
      case "to bottom right":
      case "to right bottom":
      case "left top":
      case "top left":
        return [$r, $r];
      case "to top":
      case "bottom":
        return $n(0);
      case "to bottom left":
      case "to left bottom":
      case "right top":
      case "top right":
        return [$r, zi];
      case "to right":
      case "left":
        return $n(90);
      case "to top left":
      case "to left top":
      case "right bottom":
      case "bottom right":
        return [zi, zi];
      case "to bottom":
      case "top":
        return $n(180);
      case "to top right":
      case "to right top":
      case "left bottom":
      case "bottom left":
        return [zi, $r];
      case "to left":
      case "right":
        return $n(270);
    }
    return 0;
  },
  $n = function (e) {
    return (Math.PI * e) / 180;
  },
  qi = {
    name: "color",
    parse: function (e, t) {
      if (t.type === 18) {
        var r = GJ[t.name];
        if (typeof r > "u")
          throw new Error(
            'Attempting to parse an unsupported color function "' +
              t.name +
              '"',
          );
        return r(e, t.values);
      }
      if (t.type === 5) {
        if (t.value.length === 3) {
          var n = t.value.substring(0, 1),
            A = t.value.substring(1, 2),
            i = t.value.substring(2, 3);
          return ji(
            parseInt(n + n, 16),
            parseInt(A + A, 16),
            parseInt(i + i, 16),
            1,
          );
        }
        if (t.value.length === 4) {
          var n = t.value.substring(0, 1),
            A = t.value.substring(1, 2),
            i = t.value.substring(2, 3),
            s = t.value.substring(3, 4);
          return ji(
            parseInt(n + n, 16),
            parseInt(A + A, 16),
            parseInt(i + i, 16),
            parseInt(s + s, 16) / 255,
          );
        }
        if (t.value.length === 6) {
          var n = t.value.substring(0, 2),
            A = t.value.substring(2, 4),
            i = t.value.substring(4, 6);
          return ji(parseInt(n, 16), parseInt(A, 16), parseInt(i, 16), 1);
        }
        if (t.value.length === 8) {
          var n = t.value.substring(0, 2),
            A = t.value.substring(2, 4),
            i = t.value.substring(4, 6),
            s = t.value.substring(6, 8);
          return ji(
            parseInt(n, 16),
            parseInt(A, 16),
            parseInt(i, 16),
            parseInt(s, 16) / 255,
          );
        }
      }
      if (t.type === 20) {
        var a = ti[t.value.toUpperCase()];
        if (typeof a < "u") return a;
      }
      return ti.TRANSPARENT;
    },
  },
  Zi = function (e) {
    return (255 & e) === 0;
  },
  Qr = function (e) {
    var t = 255 & e,
      r = 255 & (e >> 8),
      n = 255 & (e >> 16),
      A = 255 & (e >> 24);
    return t < 255
      ? "rgba(" + A + "," + n + "," + r + "," + t / 255 + ")"
      : "rgb(" + A + "," + n + "," + r + ")";
  },
  ji = function (e, t, r, n) {
    return (
      ((e << 24) | (t << 16) | (r << 8) | (Math.round(n * 255) << 0)) >>> 0
    );
  },
  i7 = function (e, t) {
    if (e.type === 17) return e.number;
    if (e.type === 16) {
      var r = t === 3 ? 1 : 255;
      return t === 3 ? (e.number / 100) * r : Math.round((e.number / 100) * r);
    }
    return 0;
  },
  s7 = function (e, t) {
    var r = t.filter(vo);
    if (r.length === 3) {
      var n = r.map(i7),
        A = n[0],
        i = n[1],
        s = n[2];
      return ji(A, i, s, 1);
    }
    if (r.length === 4) {
      var a = r.map(i7),
        A = a[0],
        i = a[1],
        s = a[2],
        o = a[3];
      return ji(A, i, s, o);
    }
    return 0;
  };
function jd(e, t, r) {
  return (
    r < 0 && (r += 1),
    r >= 1 && (r -= 1),
    r < 1 / 6
      ? (t - e) * r * 6 + e
      : r < 1 / 2
        ? t
        : r < 2 / 3
          ? (t - e) * 6 * (2 / 3 - r) + e
          : e
  );
}
var a7 = function (e, t) {
    var r = t.filter(vo),
      n = r[0],
      A = r[1],
      i = r[2],
      s = r[3],
      a = (n.type === 17 ? $n(n.number) : Nf.parse(e, n)) / (Math.PI * 2),
      o = cr(A) ? A.number / 100 : 0,
      l = cr(i) ? i.number / 100 : 0,
      u = typeof s < "u" && cr(s) ? Kt(s, 1) : 1;
    if (o === 0) return ji(l * 255, l * 255, l * 255, 1);
    var f = l <= 0.5 ? l * (o + 1) : l + o - l * o,
      d = l * 2 - f,
      g = jd(d, f, a + 1 / 3),
      v = jd(d, f, a),
      B = jd(d, f, a - 1 / 3);
    return ji(g * 255, v * 255, B * 255, u);
  },
  GJ = { hsl: a7, hsla: a7, rgb: s7, rgba: s7 },
  Ll = function (e, t) {
    return qi.parse(e, EC.create(t).parseComponentValue());
  },
  ti = {
    ALICEBLUE: 4042850303,
    ANTIQUEWHITE: 4209760255,
    AQUA: 16777215,
    AQUAMARINE: 2147472639,
    AZURE: 4043309055,
    BEIGE: 4126530815,
    BISQUE: 4293182719,
    BLACK: 255,
    BLANCHEDALMOND: 4293643775,
    BLUE: 65535,
    BLUEVIOLET: 2318131967,
    BROWN: 2771004159,
    BURLYWOOD: 3736635391,
    CADETBLUE: 1604231423,
    CHARTREUSE: 2147418367,
    CHOCOLATE: 3530104575,
    CORAL: 4286533887,
    CORNFLOWERBLUE: 1687547391,
    CORNSILK: 4294499583,
    CRIMSON: 3692313855,
    CYAN: 16777215,
    DARKBLUE: 35839,
    DARKCYAN: 9145343,
    DARKGOLDENROD: 3095837695,
    DARKGRAY: 2846468607,
    DARKGREEN: 6553855,
    DARKGREY: 2846468607,
    DARKKHAKI: 3182914559,
    DARKMAGENTA: 2332068863,
    DARKOLIVEGREEN: 1433087999,
    DARKORANGE: 4287365375,
    DARKORCHID: 2570243327,
    DARKRED: 2332033279,
    DARKSALMON: 3918953215,
    DARKSEAGREEN: 2411499519,
    DARKSLATEBLUE: 1211993087,
    DARKSLATEGRAY: 793726975,
    DARKSLATEGREY: 793726975,
    DARKTURQUOISE: 13554175,
    DARKVIOLET: 2483082239,
    DEEPPINK: 4279538687,
    DEEPSKYBLUE: 12582911,
    DIMGRAY: 1768516095,
    DIMGREY: 1768516095,
    DODGERBLUE: 512819199,
    FIREBRICK: 2988581631,
    FLORALWHITE: 4294635775,
    FORESTGREEN: 579543807,
    FUCHSIA: 4278255615,
    GAINSBORO: 3705462015,
    GHOSTWHITE: 4177068031,
    GOLD: 4292280575,
    GOLDENROD: 3668254975,
    GRAY: 2155905279,
    GREEN: 8388863,
    GREENYELLOW: 2919182335,
    GREY: 2155905279,
    HONEYDEW: 4043305215,
    HOTPINK: 4285117695,
    INDIANRED: 3445382399,
    INDIGO: 1258324735,
    IVORY: 4294963455,
    KHAKI: 4041641215,
    LAVENDER: 3873897215,
    LAVENDERBLUSH: 4293981695,
    LAWNGREEN: 2096890111,
    LEMONCHIFFON: 4294626815,
    LIGHTBLUE: 2916673279,
    LIGHTCORAL: 4034953471,
    LIGHTCYAN: 3774873599,
    LIGHTGOLDENRODYELLOW: 4210742015,
    LIGHTGRAY: 3553874943,
    LIGHTGREEN: 2431553791,
    LIGHTGREY: 3553874943,
    LIGHTPINK: 4290167295,
    LIGHTSALMON: 4288707327,
    LIGHTSEAGREEN: 548580095,
    LIGHTSKYBLUE: 2278488831,
    LIGHTSLATEGRAY: 2005441023,
    LIGHTSLATEGREY: 2005441023,
    LIGHTSTEELBLUE: 2965692159,
    LIGHTYELLOW: 4294959359,
    LIME: 16711935,
    LIMEGREEN: 852308735,
    LINEN: 4210091775,
    MAGENTA: 4278255615,
    MAROON: 2147483903,
    MEDIUMAQUAMARINE: 1724754687,
    MEDIUMBLUE: 52735,
    MEDIUMORCHID: 3126187007,
    MEDIUMPURPLE: 2473647103,
    MEDIUMSEAGREEN: 1018393087,
    MEDIUMSLATEBLUE: 2070474495,
    MEDIUMSPRINGGREEN: 16423679,
    MEDIUMTURQUOISE: 1221709055,
    MEDIUMVIOLETRED: 3340076543,
    MIDNIGHTBLUE: 421097727,
    MINTCREAM: 4127193855,
    MISTYROSE: 4293190143,
    MOCCASIN: 4293178879,
    NAVAJOWHITE: 4292783615,
    NAVY: 33023,
    OLDLACE: 4260751103,
    OLIVE: 2155872511,
    OLIVEDRAB: 1804477439,
    ORANGE: 4289003775,
    ORANGERED: 4282712319,
    ORCHID: 3664828159,
    PALEGOLDENROD: 4008225535,
    PALEGREEN: 2566625535,
    PALETURQUOISE: 2951671551,
    PALEVIOLETRED: 3681588223,
    PAPAYAWHIP: 4293907967,
    PEACHPUFF: 4292524543,
    PERU: 3448061951,
    PINK: 4290825215,
    PLUM: 3718307327,
    POWDERBLUE: 2967529215,
    PURPLE: 2147516671,
    REBECCAPURPLE: 1714657791,
    RED: 4278190335,
    ROSYBROWN: 3163525119,
    ROYALBLUE: 1097458175,
    SADDLEBROWN: 2336560127,
    SALMON: 4202722047,
    SANDYBROWN: 4104413439,
    SEAGREEN: 780883967,
    SEASHELL: 4294307583,
    SIENNA: 2689740287,
    SILVER: 3233857791,
    SKYBLUE: 2278484991,
    SLATEBLUE: 1784335871,
    SLATEGRAY: 1887473919,
    SLATEGREY: 1887473919,
    SNOW: 4294638335,
    SPRINGGREEN: 16744447,
    STEELBLUE: 1182971135,
    TAN: 3535047935,
    TEAL: 8421631,
    THISTLE: 3636451583,
    TOMATO: 4284696575,
    TRANSPARENT: 0,
    TURQUOISE: 1088475391,
    VIOLET: 4001558271,
    WHEAT: 4125012991,
    WHITE: 4294967295,
    WHITESMOKE: 4126537215,
    YELLOW: 4294902015,
    YELLOWGREEN: 2597139199,
  },
  WJ = {
    name: "background-clip",
    initialValue: "border-box",
    prefix: !1,
    type: 1,
    parse: function (e, t) {
      return t.map(function (r) {
        if (Mt(r))
          switch (r.value) {
            case "padding-box":
              return 1;
            case "content-box":
              return 2;
          }
        return 0;
      });
    },
  },
  zJ = {
    name: "background-color",
    initialValue: "transparent",
    prefix: !1,
    type: 3,
    format: "color",
  },
  $f = function (e, t) {
    var r = qi.parse(e, t[0]),
      n = t[1];
    return n && cr(n) ? { color: r, stop: n } : { color: r, stop: null };
  },
  o7 = function (e, t) {
    var r = e[0],
      n = e[e.length - 1];
    r.stop === null && (r.stop = $r), n.stop === null && (n.stop = zi);
    for (var A = [], i = 0, s = 0; s < e.length; s++) {
      var a = e[s].stop;
      if (a !== null) {
        var o = Kt(a, t);
        o > i ? A.push(o) : A.push(i), (i = o);
      } else A.push(null);
    }
    for (var l = null, s = 0; s < A.length; s++) {
      var u = A[s];
      if (u === null) l === null && (l = s);
      else if (l !== null) {
        for (
          var f = s - l, d = A[l - 1], g = (u - d) / (f + 1), v = 1;
          v <= f;
          v++
        )
          A[l + v - 1] = g * v;
        l = null;
      }
    }
    return e.map(function (B, y) {
      var w = B.color;
      return { color: w, stop: Math.max(Math.min(1, A[y] / t), 0) };
    });
  },
  jJ = function (e, t, r) {
    var n = t / 2,
      A = r / 2,
      i = Kt(e[0], t) - n,
      s = A - Kt(e[1], r);
    return (Math.atan2(s, i) + Math.PI * 2) % (Math.PI * 2);
  },
  YJ = function (e, t, r) {
    var n = typeof e == "number" ? e : jJ(e, t, r),
      A = Math.abs(t * Math.sin(n)) + Math.abs(r * Math.cos(n)),
      i = t / 2,
      s = r / 2,
      a = A / 2,
      o = Math.sin(n - Math.PI / 2) * a,
      l = Math.cos(n - Math.PI / 2) * a;
    return [A, i - l, i + l, s - o, s + o];
  },
  Jn = function (e, t) {
    return Math.sqrt(e * e + t * t);
  },
  l7 = function (e, t, r, n, A) {
    var i = [
      [0, 0],
      [0, t],
      [e, 0],
      [e, t],
    ];
    return i.reduce(
      function (s, a) {
        var o = a[0],
          l = a[1],
          u = Jn(r - o, n - l);
        return (A ? u < s.optimumDistance : u > s.optimumDistance)
          ? { optimumCorner: a, optimumDistance: u }
          : s;
      },
      { optimumDistance: A ? 1 / 0 : -1 / 0, optimumCorner: null },
    ).optimumCorner;
  },
  XJ = function (e, t, r, n, A) {
    var i = 0,
      s = 0;
    switch (e.size) {
      case 0:
        e.shape === 0
          ? (i = s =
              Math.min(
                Math.abs(t),
                Math.abs(t - n),
                Math.abs(r),
                Math.abs(r - A),
              ))
          : e.shape === 1 &&
            ((i = Math.min(Math.abs(t), Math.abs(t - n))),
            (s = Math.min(Math.abs(r), Math.abs(r - A))));
        break;
      case 2:
        if (e.shape === 0)
          i = s = Math.min(
            Jn(t, r),
            Jn(t, r - A),
            Jn(t - n, r),
            Jn(t - n, r - A),
          );
        else if (e.shape === 1) {
          var a =
              Math.min(Math.abs(r), Math.abs(r - A)) /
              Math.min(Math.abs(t), Math.abs(t - n)),
            o = l7(n, A, t, r, !0),
            l = o[0],
            u = o[1];
          (i = Jn(l - t, (u - r) / a)), (s = a * i);
        }
        break;
      case 1:
        e.shape === 0
          ? (i = s =
              Math.max(
                Math.abs(t),
                Math.abs(t - n),
                Math.abs(r),
                Math.abs(r - A),
              ))
          : e.shape === 1 &&
            ((i = Math.max(Math.abs(t), Math.abs(t - n))),
            (s = Math.max(Math.abs(r), Math.abs(r - A))));
        break;
      case 3:
        if (e.shape === 0)
          i = s = Math.max(
            Jn(t, r),
            Jn(t, r - A),
            Jn(t - n, r),
            Jn(t - n, r - A),
          );
        else if (e.shape === 1) {
          var a =
              Math.max(Math.abs(r), Math.abs(r - A)) /
              Math.max(Math.abs(t), Math.abs(t - n)),
            f = l7(n, A, t, r, !1),
            l = f[0],
            u = f[1];
          (i = Jn(l - t, (u - r) / a)), (s = a * i);
        }
        break;
    }
    return (
      Array.isArray(e.size) &&
        ((i = Kt(e.size[0], n)),
        (s = e.size.length === 2 ? Kt(e.size[1], A) : i)),
      [i, s]
    );
  },
  JJ = function (e, t) {
    var r = $n(180),
      n = [];
    return (
      SA(t).forEach(function (A, i) {
        if (i === 0) {
          var s = A[0];
          if (s.type === 20 && s.value === "to") {
            r = IC(A);
            return;
          } else if (TC(s)) {
            r = Nf.parse(e, s);
            return;
          }
        }
        var a = $f(e, A);
        n.push(a);
      }),
      { angle: r, stops: n, type: 1 }
    );
  },
  Iu = function (e, t) {
    var r = $n(180),
      n = [];
    return (
      SA(t).forEach(function (A, i) {
        if (i === 0) {
          var s = A[0];
          if (
            s.type === 20 &&
            ["top", "left", "right", "bottom"].indexOf(s.value) !== -1
          ) {
            r = IC(A);
            return;
          } else if (TC(s)) {
            r = (Nf.parse(e, s) + $n(270)) % $n(360);
            return;
          }
        }
        var a = $f(e, A);
        n.push(a);
      }),
      { angle: r, stops: n, type: 1 }
    );
  },
  qJ = function (e, t) {
    var r = $n(180),
      n = [],
      A = 1,
      i = 0,
      s = 3,
      a = [];
    return (
      SA(t).forEach(function (o, l) {
        var u = o[0];
        if (l === 0) {
          if (Mt(u) && u.value === "linear") {
            A = 1;
            return;
          } else if (Mt(u) && u.value === "radial") {
            A = 2;
            return;
          }
        }
        if (u.type === 18) {
          if (u.name === "from") {
            var f = qi.parse(e, u.values[0]);
            n.push({ stop: $r, color: f });
          } else if (u.name === "to") {
            var f = qi.parse(e, u.values[0]);
            n.push({ stop: zi, color: f });
          } else if (u.name === "color-stop") {
            var d = u.values.filter(vo);
            if (d.length === 2) {
              var f = qi.parse(e, d[1]),
                g = d[0];
              Io(g) &&
                n.push({
                  stop: { type: 16, number: g.number * 100, flags: g.flags },
                  color: f,
                });
            }
          }
        }
      }),
      A === 1
        ? { angle: (r + $n(180)) % $n(360), stops: n, type: A }
        : { size: s, shape: i, stops: n, position: a, type: A }
    );
  },
  DC = "closest-side",
  PC = "farthest-side",
  OC = "closest-corner",
  LC = "farthest-corner",
  kC = "circle",
  HC = "ellipse",
  MC = "cover",
  RC = "contain",
  ZJ = function (e, t) {
    var r = 0,
      n = 3,
      A = [],
      i = [];
    return (
      SA(t).forEach(function (s, a) {
        var o = !0;
        if (a === 0) {
          var l = !1;
          o = s.reduce(function (f, d) {
            if (l)
              if (Mt(d))
                switch (d.value) {
                  case "center":
                    return i.push(l5), f;
                  case "top":
                  case "left":
                    return i.push($r), f;
                  case "right":
                  case "bottom":
                    return i.push(zi), f;
                }
              else (cr(d) || ls(d)) && i.push(d);
            else if (Mt(d))
              switch (d.value) {
                case kC:
                  return (r = 0), !1;
                case HC:
                  return (r = 1), !1;
                case "at":
                  return (l = !0), !1;
                case DC:
                  return (n = 0), !1;
                case MC:
                case PC:
                  return (n = 1), !1;
                case RC:
                case OC:
                  return (n = 2), !1;
                case LC:
                  return (n = 3), !1;
              }
            else if (ls(d) || cr(d))
              return Array.isArray(n) || (n = []), n.push(d), !1;
            return f;
          }, o);
        }
        if (o) {
          var u = $f(e, s);
          A.push(u);
        }
      }),
      { size: n, shape: r, stops: A, position: i, type: 2 }
    );
  },
  Du = function (e, t) {
    var r = 0,
      n = 3,
      A = [],
      i = [];
    return (
      SA(t).forEach(function (s, a) {
        var o = !0;
        if (
          (a === 0
            ? (o = s.reduce(function (u, f) {
                if (Mt(f))
                  switch (f.value) {
                    case "center":
                      return i.push(l5), !1;
                    case "top":
                    case "left":
                      return i.push($r), !1;
                    case "right":
                    case "bottom":
                      return i.push(zi), !1;
                  }
                else if (cr(f) || ls(f)) return i.push(f), !1;
                return u;
              }, o))
            : a === 1 &&
              (o = s.reduce(function (u, f) {
                if (Mt(f))
                  switch (f.value) {
                    case kC:
                      return (r = 0), !1;
                    case HC:
                      return (r = 1), !1;
                    case RC:
                    case DC:
                      return (n = 0), !1;
                    case PC:
                      return (n = 1), !1;
                    case OC:
                      return (n = 2), !1;
                    case MC:
                    case LC:
                      return (n = 3), !1;
                  }
                else if (ls(f) || cr(f))
                  return Array.isArray(n) || (n = []), n.push(f), !1;
                return u;
              }, o)),
          o)
        ) {
          var l = $f(e, s);
          A.push(l);
        }
      }),
      { size: n, shape: r, stops: A, position: i, type: 2 }
    );
  },
  eq = function (e) {
    return e.type === 1;
  },
  tq = function (e) {
    return e.type === 2;
  },
  u5 = {
    name: "image",
    parse: function (e, t) {
      if (t.type === 22) {
        var r = { url: t.value, type: 0 };
        return e.cache.addImage(t.value), r;
      }
      if (t.type === 18) {
        var n = NC[t.name];
        if (typeof n > "u")
          throw new Error(
            'Attempting to parse an unsupported image function "' +
              t.name +
              '"',
          );
        return n(e, t.values);
      }
      throw new Error("Unsupported image type " + t.type);
    },
  };
function rq(e) {
  return (
    !(e.type === 20 && e.value === "none") && (e.type !== 18 || !!NC[e.name])
  );
}
var NC = {
    "linear-gradient": JJ,
    "-moz-linear-gradient": Iu,
    "-ms-linear-gradient": Iu,
    "-o-linear-gradient": Iu,
    "-webkit-linear-gradient": Iu,
    "radial-gradient": ZJ,
    "-moz-radial-gradient": Du,
    "-ms-radial-gradient": Du,
    "-o-radial-gradient": Du,
    "-webkit-radial-gradient": Du,
    "-webkit-gradient": qJ,
  },
  nq = {
    name: "background-image",
    initialValue: "none",
    type: 1,
    prefix: !1,
    parse: function (e, t) {
      if (t.length === 0) return [];
      var r = t[0];
      return r.type === 20 && r.value === "none"
        ? []
        : t
            .filter(function (n) {
              return vo(n) && rq(n);
            })
            .map(function (n) {
              return u5.parse(e, n);
            });
    },
  },
  Aq = {
    name: "background-origin",
    initialValue: "border-box",
    prefix: !1,
    type: 1,
    parse: function (e, t) {
      return t.map(function (r) {
        if (Mt(r))
          switch (r.value) {
            case "padding-box":
              return 1;
            case "content-box":
              return 2;
          }
        return 0;
      });
    },
  },
  iq = {
    name: "background-position",
    initialValue: "0% 0%",
    type: 1,
    prefix: !1,
    parse: function (e, t) {
      return SA(t)
        .map(function (r) {
          return r.filter(cr);
        })
        .map(FC);
    },
  },
  sq = {
    name: "background-repeat",
    initialValue: "repeat",
    prefix: !1,
    type: 1,
    parse: function (e, t) {
      return SA(t)
        .map(function (r) {
          return r
            .filter(Mt)
            .map(function (n) {
              return n.value;
            })
            .join(" ");
        })
        .map(aq);
    },
  },
  aq = function (e) {
    switch (e) {
      case "no-repeat":
        return 1;
      case "repeat-x":
      case "repeat no-repeat":
        return 2;
      case "repeat-y":
      case "no-repeat repeat":
        return 3;
      case "repeat":
      default:
        return 0;
    }
  },
  Ya;
(function (e) {
  (e.AUTO = "auto"), (e.CONTAIN = "contain"), (e.COVER = "cover");
})(Ya || (Ya = {}));
var oq = {
    name: "background-size",
    initialValue: "0",
    prefix: !1,
    type: 1,
    parse: function (e, t) {
      return SA(t).map(function (r) {
        return r.filter(lq);
      });
    },
  },
  lq = function (e) {
    return Mt(e) || cr(e);
  },
  Kf = function (e) {
    return {
      name: "border-" + e + "-color",
      initialValue: "transparent",
      prefix: !1,
      type: 3,
      format: "color",
    };
  },
  uq = Kf("top"),
  cq = Kf("right"),
  fq = Kf("bottom"),
  dq = Kf("left"),
  Vf = function (e) {
    return {
      name: "border-radius-" + e,
      initialValue: "0 0",
      prefix: !1,
      type: 1,
      parse: function (t, r) {
        return FC(r.filter(cr));
      },
    };
  },
  hq = Vf("top-left"),
  pq = Vf("top-right"),
  gq = Vf("bottom-right"),
  vq = Vf("bottom-left"),
  Gf = function (e) {
    return {
      name: "border-" + e + "-style",
      initialValue: "solid",
      prefix: !1,
      type: 2,
      parse: function (t, r) {
        switch (r) {
          case "none":
            return 0;
          case "dashed":
            return 2;
          case "dotted":
            return 3;
          case "double":
            return 4;
        }
        return 1;
      },
    };
  },
  mq = Gf("top"),
  Bq = Gf("right"),
  wq = Gf("bottom"),
  yq = Gf("left"),
  Wf = function (e) {
    return {
      name: "border-" + e + "-width",
      initialValue: "0",
      type: 0,
      prefix: !1,
      parse: function (t, r) {
        return T0(r) ? r.number : 0;
      },
    };
  },
  Cq = Wf("top"),
  xq = Wf("right"),
  Eq = Wf("bottom"),
  bq = Wf("left"),
  Fq = {
    name: "color",
    initialValue: "transparent",
    prefix: !1,
    type: 3,
    format: "color",
  },
  _q = {
    name: "direction",
    initialValue: "ltr",
    prefix: !1,
    type: 2,
    parse: function (e, t) {
      switch (t) {
        case "rtl":
          return 1;
        case "ltr":
        default:
          return 0;
      }
    },
  },
  Sq = {
    name: "display",
    initialValue: "inline-block",
    prefix: !1,
    type: 1,
    parse: function (e, t) {
      return t.filter(Mt).reduce(function (r, n) {
        return r | Qq(n.value);
      }, 0);
    },
  },
  Qq = function (e) {
    switch (e) {
      case "block":
      case "-webkit-box":
        return 2;
      case "inline":
        return 4;
      case "run-in":
        return 8;
      case "flow":
        return 16;
      case "flow-root":
        return 32;
      case "table":
        return 64;
      case "flex":
      case "-webkit-flex":
        return 128;
      case "grid":
      case "-ms-grid":
        return 256;
      case "ruby":
        return 512;
      case "subgrid":
        return 1024;
      case "list-item":
        return 2048;
      case "table-row-group":
        return 4096;
      case "table-header-group":
        return 8192;
      case "table-footer-group":
        return 16384;
      case "table-row":
        return 32768;
      case "table-cell":
        return 65536;
      case "table-column-group":
        return 131072;
      case "table-column":
        return 262144;
      case "table-caption":
        return 524288;
      case "ruby-base":
        return 1048576;
      case "ruby-text":
        return 2097152;
      case "ruby-base-container":
        return 4194304;
      case "ruby-text-container":
        return 8388608;
      case "contents":
        return 16777216;
      case "inline-block":
        return 33554432;
      case "inline-list-item":
        return 67108864;
      case "inline-table":
        return 134217728;
      case "inline-flex":
        return 268435456;
      case "inline-grid":
        return 536870912;
    }
    return 0;
  },
  Uq = {
    name: "float",
    initialValue: "none",
    prefix: !1,
    type: 2,
    parse: function (e, t) {
      switch (t) {
        case "left":
          return 1;
        case "right":
          return 2;
        case "inline-start":
          return 3;
        case "inline-end":
          return 4;
      }
      return 0;
    },
  },
  Tq = {
    name: "letter-spacing",
    initialValue: "0",
    prefix: !1,
    type: 0,
    parse: function (e, t) {
      return t.type === 20 && t.value === "normal"
        ? 0
        : t.type === 17 || t.type === 15
          ? t.number
          : 0;
    },
  },
  bc;
(function (e) {
  (e.NORMAL = "normal"), (e.STRICT = "strict");
})(bc || (bc = {}));
var Iq = {
    name: "line-break",
    initialValue: "normal",
    prefix: !1,
    type: 2,
    parse: function (e, t) {
      switch (t) {
        case "strict":
          return bc.STRICT;
        case "normal":
        default:
          return bc.NORMAL;
      }
    },
  },
  Dq = { name: "line-height", initialValue: "normal", prefix: !1, type: 4 },
  u7 = function (e, t) {
    return Mt(e) && e.value === "normal"
      ? 1.2 * t
      : e.type === 17
        ? t * e.number
        : cr(e)
          ? Kt(e, t)
          : t;
  },
  Pq = {
    name: "list-style-image",
    initialValue: "none",
    type: 0,
    prefix: !1,
    parse: function (e, t) {
      return t.type === 20 && t.value === "none" ? null : u5.parse(e, t);
    },
  },
  Oq = {
    name: "list-style-position",
    initialValue: "outside",
    prefix: !1,
    type: 2,
    parse: function (e, t) {
      switch (t) {
        case "inside":
          return 0;
        case "outside":
        default:
          return 1;
      }
    },
  },
  kh = {
    name: "list-style-type",
    initialValue: "none",
    prefix: !1,
    type: 2,
    parse: function (e, t) {
      switch (t) {
        case "disc":
          return 0;
        case "circle":
          return 1;
        case "square":
          return 2;
        case "decimal":
          return 3;
        case "cjk-decimal":
          return 4;
        case "decimal-leading-zero":
          return 5;
        case "lower-roman":
          return 6;
        case "upper-roman":
          return 7;
        case "lower-greek":
          return 8;
        case "lower-alpha":
          return 9;
        case "upper-alpha":
          return 10;
        case "arabic-indic":
          return 11;
        case "armenian":
          return 12;
        case "bengali":
          return 13;
        case "cambodian":
          return 14;
        case "cjk-earthly-branch":
          return 15;
        case "cjk-heavenly-stem":
          return 16;
        case "cjk-ideographic":
          return 17;
        case "devanagari":
          return 18;
        case "ethiopic-numeric":
          return 19;
        case "georgian":
          return 20;
        case "gujarati":
          return 21;
        case "gurmukhi":
          return 22;
        case "hebrew":
          return 22;
        case "hiragana":
          return 23;
        case "hiragana-iroha":
          return 24;
        case "japanese-formal":
          return 25;
        case "japanese-informal":
          return 26;
        case "kannada":
          return 27;
        case "katakana":
          return 28;
        case "katakana-iroha":
          return 29;
        case "khmer":
          return 30;
        case "korean-hangul-formal":
          return 31;
        case "korean-hanja-formal":
          return 32;
        case "korean-hanja-informal":
          return 33;
        case "lao":
          return 34;
        case "lower-armenian":
          return 35;
        case "malayalam":
          return 36;
        case "mongolian":
          return 37;
        case "myanmar":
          return 38;
        case "oriya":
          return 39;
        case "persian":
          return 40;
        case "simp-chinese-formal":
          return 41;
        case "simp-chinese-informal":
          return 42;
        case "tamil":
          return 43;
        case "telugu":
          return 44;
        case "thai":
          return 45;
        case "tibetan":
          return 46;
        case "trad-chinese-formal":
          return 47;
        case "trad-chinese-informal":
          return 48;
        case "upper-armenian":
          return 49;
        case "disclosure-open":
          return 50;
        case "disclosure-closed":
          return 51;
        case "none":
        default:
          return -1;
      }
    },
  },
  zf = function (e) {
    return { name: "margin-" + e, initialValue: "0", prefix: !1, type: 4 };
  },
  Lq = zf("top"),
  kq = zf("right"),
  Hq = zf("bottom"),
  Mq = zf("left"),
  Rq = {
    name: "overflow",
    initialValue: "visible",
    prefix: !1,
    type: 1,
    parse: function (e, t) {
      return t.filter(Mt).map(function (r) {
        switch (r.value) {
          case "hidden":
            return 1;
          case "scroll":
            return 2;
          case "clip":
            return 3;
          case "auto":
            return 4;
          case "visible":
          default:
            return 0;
        }
      });
    },
  },
  Nq = {
    name: "overflow-wrap",
    initialValue: "normal",
    prefix: !1,
    type: 2,
    parse: function (e, t) {
      switch (t) {
        case "break-word":
          return "break-word";
        case "normal":
        default:
          return "normal";
      }
    },
  },
  jf = function (e) {
    return {
      name: "padding-" + e,
      initialValue: "0",
      prefix: !1,
      type: 3,
      format: "length-percentage",
    };
  },
  $q = jf("top"),
  Kq = jf("right"),
  Vq = jf("bottom"),
  Gq = jf("left"),
  Wq = {
    name: "text-align",
    initialValue: "left",
    prefix: !1,
    type: 2,
    parse: function (e, t) {
      switch (t) {
        case "right":
          return 2;
        case "center":
        case "justify":
          return 1;
        case "left":
        default:
          return 0;
      }
    },
  },
  zq = {
    name: "position",
    initialValue: "static",
    prefix: !1,
    type: 2,
    parse: function (e, t) {
      switch (t) {
        case "relative":
          return 1;
        case "absolute":
          return 2;
        case "fixed":
          return 3;
        case "sticky":
          return 4;
      }
      return 0;
    },
  },
  jq = {
    name: "text-shadow",
    initialValue: "none",
    type: 1,
    prefix: !1,
    parse: function (e, t) {
      return t.length === 1 && Lh(t[0], "none")
        ? []
        : SA(t).map(function (r) {
            for (
              var n = {
                  color: ti.TRANSPARENT,
                  offsetX: $r,
                  offsetY: $r,
                  blur: $r,
                },
                A = 0,
                i = 0;
              i < r.length;
              i++
            ) {
              var s = r[i];
              ls(s)
                ? (A === 0
                    ? (n.offsetX = s)
                    : A === 1
                      ? (n.offsetY = s)
                      : (n.blur = s),
                  A++)
                : (n.color = qi.parse(e, s));
            }
            return n;
          });
    },
  },
  Yq = {
    name: "text-transform",
    initialValue: "none",
    prefix: !1,
    type: 2,
    parse: function (e, t) {
      switch (t) {
        case "uppercase":
          return 2;
        case "lowercase":
          return 1;
        case "capitalize":
          return 3;
      }
      return 0;
    },
  },
  Xq = {
    name: "transform",
    initialValue: "none",
    prefix: !0,
    type: 0,
    parse: function (e, t) {
      if (t.type === 20 && t.value === "none") return null;
      if (t.type === 18) {
        var r = Zq[t.name];
        if (typeof r > "u")
          throw new Error(
            'Attempting to parse an unsupported transform function "' +
              t.name +
              '"',
          );
        return r(t.values);
      }
      return null;
    },
  },
  Jq = function (e) {
    var t = e
      .filter(function (r) {
        return r.type === 17;
      })
      .map(function (r) {
        return r.number;
      });
    return t.length === 6 ? t : null;
  },
  qq = function (e) {
    var t = e
        .filter(function (o) {
          return o.type === 17;
        })
        .map(function (o) {
          return o.number;
        }),
      r = t[0],
      n = t[1];
    t[2], t[3];
    var A = t[4],
      i = t[5];
    t[6], t[7], t[8], t[9], t[10], t[11];
    var s = t[12],
      a = t[13];
    return t[14], t[15], t.length === 16 ? [r, n, A, i, s, a] : null;
  },
  Zq = { matrix: Jq, matrix3d: qq },
  c7 = { type: 16, number: 50, flags: U0 },
  eZ = [c7, c7],
  tZ = {
    name: "transform-origin",
    initialValue: "50% 50%",
    prefix: !0,
    type: 1,
    parse: function (e, t) {
      var r = t.filter(cr);
      return r.length !== 2 ? eZ : [r[0], r[1]];
    },
  },
  rZ = {
    name: "visible",
    initialValue: "none",
    prefix: !1,
    type: 2,
    parse: function (e, t) {
      switch (t) {
        case "hidden":
          return 1;
        case "collapse":
          return 2;
        case "visible":
        default:
          return 0;
      }
    },
  },
  kl;
(function (e) {
  (e.NORMAL = "normal"), (e.BREAK_ALL = "break-all"), (e.KEEP_ALL = "keep-all");
})(kl || (kl = {}));
var nZ = {
    name: "word-break",
    initialValue: "normal",
    prefix: !1,
    type: 2,
    parse: function (e, t) {
      switch (t) {
        case "break-all":
          return kl.BREAK_ALL;
        case "keep-all":
          return kl.KEEP_ALL;
        case "normal":
        default:
          return kl.NORMAL;
      }
    },
  },
  AZ = {
    name: "z-index",
    initialValue: "auto",
    prefix: !1,
    type: 0,
    parse: function (e, t) {
      if (t.type === 20) return { auto: !0, order: 0 };
      if (Io(t)) return { auto: !1, order: t.number };
      throw new Error("Invalid z-index number parsed");
    },
  },
  $C = {
    name: "time",
    parse: function (e, t) {
      if (t.type === 15)
        switch (t.unit.toLowerCase()) {
          case "s":
            return 1e3 * t.number;
          case "ms":
            return t.number;
        }
      throw new Error("Unsupported time type");
    },
  },
  iZ = {
    name: "opacity",
    initialValue: "1",
    type: 0,
    prefix: !1,
    parse: function (e, t) {
      return Io(t) ? t.number : 1;
    },
  },
  sZ = {
    name: "text-decoration-color",
    initialValue: "transparent",
    prefix: !1,
    type: 3,
    format: "color",
  },
  aZ = {
    name: "text-decoration-line",
    initialValue: "none",
    prefix: !1,
    type: 1,
    parse: function (e, t) {
      return t
        .filter(Mt)
        .map(function (r) {
          switch (r.value) {
            case "underline":
              return 1;
            case "overline":
              return 2;
            case "line-through":
              return 3;
            case "none":
              return 4;
          }
          return 0;
        })
        .filter(function (r) {
          return r !== 0;
        });
    },
  },
  oZ = {
    name: "font-family",
    initialValue: "",
    prefix: !1,
    type: 1,
    parse: function (e, t) {
      var r = [],
        n = [];
      return (
        t.forEach(function (A) {
          switch (A.type) {
            case 20:
            case 0:
              r.push(A.value);
              break;
            case 17:
              r.push(A.number.toString());
              break;
            case 4:
              n.push(r.join(" ")), (r.length = 0);
              break;
          }
        }),
        r.length && n.push(r.join(" ")),
        n.map(function (A) {
          return A.indexOf(" ") === -1 ? A : "'" + A + "'";
        })
      );
    },
  },
  lZ = {
    name: "font-size",
    initialValue: "0",
    prefix: !1,
    type: 3,
    format: "length",
  },
  uZ = {
    name: "font-weight",
    initialValue: "normal",
    type: 0,
    prefix: !1,
    parse: function (e, t) {
      if (Io(t)) return t.number;
      if (Mt(t))
        switch (t.value) {
          case "bold":
            return 700;
          case "normal":
          default:
            return 400;
        }
      return 400;
    },
  },
  cZ = {
    name: "font-variant",
    initialValue: "none",
    type: 1,
    prefix: !1,
    parse: function (e, t) {
      return t.filter(Mt).map(function (r) {
        return r.value;
      });
    },
  },
  fZ = {
    name: "font-style",
    initialValue: "normal",
    prefix: !1,
    type: 2,
    parse: function (e, t) {
      switch (t) {
        case "oblique":
          return "oblique";
        case "italic":
          return "italic";
        case "normal":
        default:
          return "normal";
      }
    },
  },
  yr = function (e, t) {
    return (e & t) !== 0;
  },
  dZ = {
    name: "content",
    initialValue: "none",
    type: 1,
    prefix: !1,
    parse: function (e, t) {
      if (t.length === 0) return [];
      var r = t[0];
      return r.type === 20 && r.value === "none" ? [] : t;
    },
  },
  hZ = {
    name: "counter-increment",
    initialValue: "none",
    prefix: !0,
    type: 1,
    parse: function (e, t) {
      if (t.length === 0) return null;
      var r = t[0];
      if (r.type === 20 && r.value === "none") return null;
      for (var n = [], A = t.filter(bC), i = 0; i < A.length; i++) {
        var s = A[i],
          a = A[i + 1];
        if (s.type === 20) {
          var o = a && Io(a) ? a.number : 1;
          n.push({ counter: s.value, increment: o });
        }
      }
      return n;
    },
  },
  pZ = {
    name: "counter-reset",
    initialValue: "none",
    prefix: !0,
    type: 1,
    parse: function (e, t) {
      if (t.length === 0) return [];
      for (var r = [], n = t.filter(bC), A = 0; A < n.length; A++) {
        var i = n[A],
          s = n[A + 1];
        if (Mt(i) && i.value !== "none") {
          var a = s && Io(s) ? s.number : 0;
          r.push({ counter: i.value, reset: a });
        }
      }
      return r;
    },
  },
  gZ = {
    name: "duration",
    initialValue: "0s",
    prefix: !1,
    type: 1,
    parse: function (e, t) {
      return t.filter(T0).map(function (r) {
        return $C.parse(e, r);
      });
    },
  },
  vZ = {
    name: "quotes",
    initialValue: "none",
    prefix: !0,
    type: 1,
    parse: function (e, t) {
      if (t.length === 0) return null;
      var r = t[0];
      if (r.type === 20 && r.value === "none") return null;
      var n = [],
        A = t.filter(KJ);
      if (A.length % 2 !== 0) return null;
      for (var i = 0; i < A.length; i += 2) {
        var s = A[i].value,
          a = A[i + 1].value;
        n.push({ open: s, close: a });
      }
      return n;
    },
  },
  f7 = function (e, t, r) {
    if (!e) return "";
    var n = e[Math.min(t, e.length - 1)];
    return n ? (r ? n.open : n.close) : "";
  },
  mZ = {
    name: "box-shadow",
    initialValue: "none",
    type: 1,
    prefix: !1,
    parse: function (e, t) {
      return t.length === 1 && Lh(t[0], "none")
        ? []
        : SA(t).map(function (r) {
            for (
              var n = {
                  color: 255,
                  offsetX: $r,
                  offsetY: $r,
                  blur: $r,
                  spread: $r,
                  inset: !1,
                },
                A = 0,
                i = 0;
              i < r.length;
              i++
            ) {
              var s = r[i];
              Lh(s, "inset")
                ? (n.inset = !0)
                : ls(s)
                  ? (A === 0
                      ? (n.offsetX = s)
                      : A === 1
                        ? (n.offsetY = s)
                        : A === 2
                          ? (n.blur = s)
                          : (n.spread = s),
                    A++)
                  : (n.color = qi.parse(e, s));
            }
            return n;
          });
    },
  },
  BZ = {
    name: "paint-order",
    initialValue: "normal",
    prefix: !1,
    type: 1,
    parse: function (e, t) {
      var r = [0, 1, 2],
        n = [];
      return (
        t.filter(Mt).forEach(function (A) {
          switch (A.value) {
            case "stroke":
              n.push(1);
              break;
            case "fill":
              n.push(0);
              break;
            case "markers":
              n.push(2);
              break;
          }
        }),
        r.forEach(function (A) {
          n.indexOf(A) === -1 && n.push(A);
        }),
        n
      );
    },
  },
  wZ = {
    name: "-webkit-text-stroke-color",
    initialValue: "currentcolor",
    prefix: !1,
    type: 3,
    format: "color",
  },
  yZ = {
    name: "-webkit-text-stroke-width",
    initialValue: "0",
    type: 0,
    prefix: !1,
    parse: function (e, t) {
      return T0(t) ? t.number : 0;
    },
  },
  CZ = (function () {
    function e(t, r) {
      var n, A;
      (this.animationDuration = qe(t, gZ, r.animationDuration)),
        (this.backgroundClip = qe(t, WJ, r.backgroundClip)),
        (this.backgroundColor = qe(t, zJ, r.backgroundColor)),
        (this.backgroundImage = qe(t, nq, r.backgroundImage)),
        (this.backgroundOrigin = qe(t, Aq, r.backgroundOrigin)),
        (this.backgroundPosition = qe(t, iq, r.backgroundPosition)),
        (this.backgroundRepeat = qe(t, sq, r.backgroundRepeat)),
        (this.backgroundSize = qe(t, oq, r.backgroundSize)),
        (this.borderTopColor = qe(t, uq, r.borderTopColor)),
        (this.borderRightColor = qe(t, cq, r.borderRightColor)),
        (this.borderBottomColor = qe(t, fq, r.borderBottomColor)),
        (this.borderLeftColor = qe(t, dq, r.borderLeftColor)),
        (this.borderTopLeftRadius = qe(t, hq, r.borderTopLeftRadius)),
        (this.borderTopRightRadius = qe(t, pq, r.borderTopRightRadius)),
        (this.borderBottomRightRadius = qe(t, gq, r.borderBottomRightRadius)),
        (this.borderBottomLeftRadius = qe(t, vq, r.borderBottomLeftRadius)),
        (this.borderTopStyle = qe(t, mq, r.borderTopStyle)),
        (this.borderRightStyle = qe(t, Bq, r.borderRightStyle)),
        (this.borderBottomStyle = qe(t, wq, r.borderBottomStyle)),
        (this.borderLeftStyle = qe(t, yq, r.borderLeftStyle)),
        (this.borderTopWidth = qe(t, Cq, r.borderTopWidth)),
        (this.borderRightWidth = qe(t, xq, r.borderRightWidth)),
        (this.borderBottomWidth = qe(t, Eq, r.borderBottomWidth)),
        (this.borderLeftWidth = qe(t, bq, r.borderLeftWidth)),
        (this.boxShadow = qe(t, mZ, r.boxShadow)),
        (this.color = qe(t, Fq, r.color)),
        (this.direction = qe(t, _q, r.direction)),
        (this.display = qe(t, Sq, r.display)),
        (this.float = qe(t, Uq, r.cssFloat)),
        (this.fontFamily = qe(t, oZ, r.fontFamily)),
        (this.fontSize = qe(t, lZ, r.fontSize)),
        (this.fontStyle = qe(t, fZ, r.fontStyle)),
        (this.fontVariant = qe(t, cZ, r.fontVariant)),
        (this.fontWeight = qe(t, uZ, r.fontWeight)),
        (this.letterSpacing = qe(t, Tq, r.letterSpacing)),
        (this.lineBreak = qe(t, Iq, r.lineBreak)),
        (this.lineHeight = qe(t, Dq, r.lineHeight)),
        (this.listStyleImage = qe(t, Pq, r.listStyleImage)),
        (this.listStylePosition = qe(t, Oq, r.listStylePosition)),
        (this.listStyleType = qe(t, kh, r.listStyleType)),
        (this.marginTop = qe(t, Lq, r.marginTop)),
        (this.marginRight = qe(t, kq, r.marginRight)),
        (this.marginBottom = qe(t, Hq, r.marginBottom)),
        (this.marginLeft = qe(t, Mq, r.marginLeft)),
        (this.opacity = qe(t, iZ, r.opacity));
      var i = qe(t, Rq, r.overflow);
      (this.overflowX = i[0]),
        (this.overflowY = i[i.length > 1 ? 1 : 0]),
        (this.overflowWrap = qe(t, Nq, r.overflowWrap)),
        (this.paddingTop = qe(t, $q, r.paddingTop)),
        (this.paddingRight = qe(t, Kq, r.paddingRight)),
        (this.paddingBottom = qe(t, Vq, r.paddingBottom)),
        (this.paddingLeft = qe(t, Gq, r.paddingLeft)),
        (this.paintOrder = qe(t, BZ, r.paintOrder)),
        (this.position = qe(t, zq, r.position)),
        (this.textAlign = qe(t, Wq, r.textAlign)),
        (this.textDecorationColor = qe(
          t,
          sZ,
          (n = r.textDecorationColor) !== null && n !== void 0 ? n : r.color,
        )),
        (this.textDecorationLine = qe(
          t,
          aZ,
          (A = r.textDecorationLine) !== null && A !== void 0
            ? A
            : r.textDecoration,
        )),
        (this.textShadow = qe(t, jq, r.textShadow)),
        (this.textTransform = qe(t, Yq, r.textTransform)),
        (this.transform = qe(t, Xq, r.transform)),
        (this.transformOrigin = qe(t, tZ, r.transformOrigin)),
        (this.visibility = qe(t, rZ, r.visibility)),
        (this.webkitTextStrokeColor = qe(t, wZ, r.webkitTextStrokeColor)),
        (this.webkitTextStrokeWidth = qe(t, yZ, r.webkitTextStrokeWidth)),
        (this.wordBreak = qe(t, nZ, r.wordBreak)),
        (this.zIndex = qe(t, AZ, r.zIndex));
    }
    return (
      (e.prototype.isVisible = function () {
        return this.display > 0 && this.opacity > 0 && this.visibility === 0;
      }),
      (e.prototype.isTransparent = function () {
        return Zi(this.backgroundColor);
      }),
      (e.prototype.isTransformed = function () {
        return this.transform !== null;
      }),
      (e.prototype.isPositioned = function () {
        return this.position !== 0;
      }),
      (e.prototype.isPositionedWithZIndex = function () {
        return this.isPositioned() && !this.zIndex.auto;
      }),
      (e.prototype.isFloating = function () {
        return this.float !== 0;
      }),
      (e.prototype.isInlineLevel = function () {
        return (
          yr(this.display, 4) ||
          yr(this.display, 33554432) ||
          yr(this.display, 268435456) ||
          yr(this.display, 536870912) ||
          yr(this.display, 67108864) ||
          yr(this.display, 134217728)
        );
      }),
      e
    );
  })(),
  xZ = (function () {
    function e(t, r) {
      (this.content = qe(t, dZ, r.content)),
        (this.quotes = qe(t, vZ, r.quotes));
    }
    return e;
  })(),
  d7 = (function () {
    function e(t, r) {
      (this.counterIncrement = qe(t, hZ, r.counterIncrement)),
        (this.counterReset = qe(t, pZ, r.counterReset));
    }
    return e;
  })(),
  qe = function (e, t, r) {
    var n = new xC(),
      A = r !== null && typeof r < "u" ? r.toString() : t.initialValue;
    n.write(A);
    var i = new EC(n.read());
    switch (t.type) {
      case 2:
        var s = i.parseComponentValue();
        return t.parse(e, Mt(s) ? s.value : t.initialValue);
      case 0:
        return t.parse(e, i.parseComponentValue());
      case 1:
        return t.parse(e, i.parseComponentValues());
      case 4:
        return i.parseComponentValue();
      case 3:
        switch (t.format) {
          case "angle":
            return Nf.parse(e, i.parseComponentValue());
          case "color":
            return qi.parse(e, i.parseComponentValue());
          case "image":
            return u5.parse(e, i.parseComponentValue());
          case "length":
            var a = i.parseComponentValue();
            return ls(a) ? a : $r;
          case "length-percentage":
            var o = i.parseComponentValue();
            return cr(o) ? o : $r;
          case "time":
            return $C.parse(e, i.parseComponentValue());
        }
        break;
    }
  },
  EZ = "data-html2canvas-debug",
  bZ = function (e) {
    var t = e.getAttribute(EZ);
    switch (t) {
      case "all":
        return 1;
      case "clone":
        return 2;
      case "parse":
        return 3;
      case "render":
        return 4;
      default:
        return 0;
    }
  },
  Hh = function (e, t) {
    var r = bZ(e);
    return r === 1 || t === r;
  },
  QA = (function () {
    function e(t, r) {
      if (
        ((this.context = t),
        (this.textNodes = []),
        (this.elements = []),
        (this.flags = 0),
        Hh(r, 3))
      )
        debugger;
      (this.styles = new CZ(t, window.getComputedStyle(r, null))),
        Nh(r) &&
          (this.styles.animationDuration.some(function (n) {
            return n > 0;
          }) && (r.style.animationDuration = "0s"),
          this.styles.transform !== null && (r.style.transform = "none")),
        (this.bounds = Mf(this.context, r)),
        Hh(r, 4) && (this.flags |= 16);
    }
    return e;
  })(),
  FZ =
    " ",
  h7 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  vl = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
for (var Pu = 0; Pu < h7.length; Pu++) vl[h7.charCodeAt(Pu)] = Pu;
var _Z = function (e) {
    var t = e.length * 0.75,
      r = e.length,
      n,
      A = 0,
      i,
      s,
      a,
      o;
    e[e.length - 1] === "=" && (t--, e[e.length - 2] === "=" && t--);
    var l =
        typeof ArrayBuffer < "u" &&
        typeof Uint8Array < "u" &&
        typeof Uint8Array.prototype.slice < "u"
          ? new ArrayBuffer(t)
          : new Array(t),
      u = Array.isArray(l) ? l : new Uint8Array(l);
    for (n = 0; n < r; n += 4)
      (i = vl[e.charCodeAt(n)]),
        (s = vl[e.charCodeAt(n + 1)]),
        (a = vl[e.charCodeAt(n + 2)]),
        (o = vl[e.charCodeAt(n + 3)]),
        (u[A++] = (i << 2) | (s >> 4)),
        (u[A++] = ((s & 15) << 4) | (a >> 2)),
        (u[A++] = ((a & 3) << 6) | (o & 63));
    return l;
  },
  SZ = function (e) {
    for (var t = e.length, r = [], n = 0; n < t; n += 2)
      r.push((e[n + 1] << 8) | e[n]);
    return r;
  },
  QZ = function (e) {
    for (var t = e.length, r = [], n = 0; n < t; n += 4)
      r.push((e[n + 3] << 24) | (e[n + 2] << 16) | (e[n + 1] << 8) | e[n]);
    return r;
  },
  Ys = 5,
  c5 = 6 + 5,
  Yd = 2,
  UZ = c5 - Ys,
  KC = 65536 >> Ys,
  TZ = 1 << Ys,
  Xd = TZ - 1,
  IZ = 1024 >> Ys,
  DZ = KC + IZ,
  PZ = DZ,
  OZ = 32,
  LZ = PZ + OZ,
  kZ = 65536 >> c5,
  HZ = 1 << UZ,
  MZ = HZ - 1,
  p7 = function (e, t, r) {
    return e.slice
      ? e.slice(t, r)
      : new Uint16Array(Array.prototype.slice.call(e, t, r));
  },
  RZ = function (e, t, r) {
    return e.slice
      ? e.slice(t, r)
      : new Uint32Array(Array.prototype.slice.call(e, t, r));
  },
  NZ = function (e, t) {
    var r = _Z(e),
      n = Array.isArray(r) ? QZ(r) : new Uint32Array(r),
      A = Array.isArray(r) ? SZ(r) : new Uint16Array(r),
      i = 24,
      s = p7(A, i / 2, n[4] / 2),
      a = n[5] === 2 ? p7(A, (i + n[4]) / 2) : RZ(n, Math.ceil((i + n[4]) / 4));
    return new $Z(n[0], n[1], n[2], n[3], s, a);
  },
  $Z = (function () {
    function e(t, r, n, A, i, s) {
      (this.initialValue = t),
        (this.errorValue = r),
        (this.highStart = n),
        (this.highValueIndex = A),
        (this.index = i),
        (this.data = s);
    }
    return (
      (e.prototype.get = function (t) {
        var r;
        if (t >= 0) {
          if (t < 55296 || (t > 56319 && t <= 65535))
            return (
              (r = this.index[t >> Ys]),
              (r = (r << Yd) + (t & Xd)),
              this.data[r]
            );
          if (t <= 65535)
            return (
              (r = this.index[KC + ((t - 55296) >> Ys)]),
              (r = (r << Yd) + (t & Xd)),
              this.data[r]
            );
          if (t < this.highStart)
            return (
              (r = LZ - kZ + (t >> c5)),
              (r = this.index[r]),
              (r += (t >> Ys) & MZ),
              (r = this.index[r]),
              (r = (r << Yd) + (t & Xd)),
              this.data[r]
            );
          if (t <= 1114111) return this.data[this.highValueIndex];
        }
        return this.errorValue;
      }),
      e
    );
  })(),
  g7 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  KZ = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
for (var Ou = 0; Ou < g7.length; Ou++) KZ[g7.charCodeAt(Ou)] = Ou;
var VZ = 1,
  Jd = 2,
  qd = 3,
  v7 = 4,
  m7 = 5,
  GZ = 7,
  B7 = 8,
  Zd = 9,
  e2 = 10,
  w7 = 11,
  y7 = 12,
  C7 = 13,
  x7 = 14,
  t2 = 15,
  WZ = function (e) {
    for (var t = [], r = 0, n = e.length; r < n; ) {
      var A = e.charCodeAt(r++);
      if (A >= 55296 && A <= 56319 && r < n) {
        var i = e.charCodeAt(r++);
        (i & 64512) === 56320
          ? t.push(((A & 1023) << 10) + (i & 1023) + 65536)
          : (t.push(A), r--);
      } else t.push(A);
    }
    return t;
  },
  zZ = function () {
    for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
    if (String.fromCodePoint) return String.fromCodePoint.apply(String, e);
    var r = e.length;
    if (!r) return "";
    for (var n = [], A = -1, i = ""; ++A < r; ) {
      var s = e[A];
      s <= 65535
        ? n.push(s)
        : ((s -= 65536), n.push((s >> 10) + 55296, (s % 1024) + 56320)),
        (A + 1 === r || n.length > 16384) &&
          ((i += String.fromCharCode.apply(String, n)), (n.length = 0));
    }
    return i;
  },
  jZ = NZ(FZ),
  Rn = "×",
  r2 = "÷",
  YZ = function (e) {
    return jZ.get(e);
  },
  XZ = function (e, t, r) {
    var n = r - 2,
      A = t[n],
      i = t[r - 1],
      s = t[r];
    if (i === Jd && s === qd) return Rn;
    if (i === Jd || i === qd || i === v7 || s === Jd || s === qd || s === v7)
      return r2;
    if (
      (i === B7 && [B7, Zd, w7, y7].indexOf(s) !== -1) ||
      ((i === w7 || i === Zd) && (s === Zd || s === e2)) ||
      ((i === y7 || i === e2) && s === e2) ||
      s === C7 ||
      s === m7 ||
      s === GZ ||
      i === VZ
    )
      return Rn;
    if (i === C7 && s === x7) {
      for (; A === m7; ) A = t[--n];
      if (A === x7) return Rn;
    }
    if (i === t2 && s === t2) {
      for (var a = 0; A === t2; ) a++, (A = t[--n]);
      if (a % 2 === 0) return Rn;
    }
    return r2;
  },
  JZ = function (e) {
    var t = WZ(e),
      r = t.length,
      n = 0,
      A = 0,
      i = t.map(YZ);
    return {
      next: function () {
        if (n >= r) return { done: !0, value: null };
        for (var s = Rn; n < r && (s = XZ(t, i, ++n)) === Rn; );
        if (s !== Rn || n === r) {
          var a = zZ.apply(null, t.slice(A, n));
          return (A = n), { value: a, done: !1 };
        }
        return { done: !0, value: null };
      },
    };
  },
  qZ = function (e) {
    for (var t = JZ(e), r = [], n; !(n = t.next()).done; )
      n.value && r.push(n.value.slice());
    return r;
  },
  ZZ = function (e) {
    var t = 123;
    if (e.createRange) {
      var r = e.createRange();
      if (r.getBoundingClientRect) {
        var n = e.createElement("boundtest");
        (n.style.height = t + "px"),
          (n.style.display = "block"),
          e.body.appendChild(n),
          r.selectNode(n);
        var A = r.getBoundingClientRect(),
          i = Math.round(A.height);
        if ((e.body.removeChild(n), i === t)) return !0;
      }
    }
    return !1;
  },
  eee = function (e) {
    var t = e.createElement("boundtest");
    (t.style.width = "50px"),
      (t.style.display = "block"),
      (t.style.fontSize = "12px"),
      (t.style.letterSpacing = "0px"),
      (t.style.wordSpacing = "0px"),
      e.body.appendChild(t);
    var r = e.createRange();
    t.innerHTML = typeof "".repeat == "function" ? "&#128104;".repeat(10) : "";
    var n = t.firstChild,
      A = Rf(n.data).map(function (o) {
        return nr(o);
      }),
      i = 0,
      s = {},
      a = A.every(function (o, l) {
        r.setStart(n, i), r.setEnd(n, i + o.length);
        var u = r.getBoundingClientRect();
        i += o.length;
        var f = u.x > s.x || u.y > s.y;
        return (s = u), l === 0 ? !0 : f;
      });
    return e.body.removeChild(t), a;
  },
  tee = function () {
    return typeof new Image().crossOrigin < "u";
  },
  ree = function () {
    return typeof new XMLHttpRequest().responseType == "string";
  },
  nee = function (e) {
    var t = new Image(),
      r = e.createElement("canvas"),
      n = r.getContext("2d");
    if (!n) return !1;
    t.src = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";
    try {
      n.drawImage(t, 0, 0), r.toDataURL();
    } catch {
      return !1;
    }
    return !0;
  },
  E7 = function (e) {
    return e[0] === 0 && e[1] === 255 && e[2] === 0 && e[3] === 255;
  },
  Aee = function (e) {
    var t = e.createElement("canvas"),
      r = 100;
    (t.width = r), (t.height = r);
    var n = t.getContext("2d");
    if (!n) return Promise.reject(!1);
    (n.fillStyle = "rgb(0, 255, 0)"), n.fillRect(0, 0, r, r);
    var A = new Image(),
      i = t.toDataURL();
    A.src = i;
    var s = Mh(r, r, 0, 0, A);
    return (
      (n.fillStyle = "red"),
      n.fillRect(0, 0, r, r),
      b7(s)
        .then(function (a) {
          n.drawImage(a, 0, 0);
          var o = n.getImageData(0, 0, r, r).data;
          (n.fillStyle = "red"), n.fillRect(0, 0, r, r);
          var l = e.createElement("div");
          return (
            (l.style.backgroundImage = "url(" + i + ")"),
            (l.style.height = r + "px"),
            E7(o) ? b7(Mh(r, r, 0, 0, l)) : Promise.reject(!1)
          );
        })
        .then(function (a) {
          return n.drawImage(a, 0, 0), E7(n.getImageData(0, 0, r, r).data);
        })
        .catch(function () {
          return !1;
        })
    );
  },
  Mh = function (e, t, r, n, A) {
    var i = "http://www.w3.org/2000/svg",
      s = document.createElementNS(i, "svg"),
      a = document.createElementNS(i, "foreignObject");
    return (
      s.setAttributeNS(null, "width", e.toString()),
      s.setAttributeNS(null, "height", t.toString()),
      a.setAttributeNS(null, "width", "100%"),
      a.setAttributeNS(null, "height", "100%"),
      a.setAttributeNS(null, "x", r.toString()),
      a.setAttributeNS(null, "y", n.toString()),
      a.setAttributeNS(null, "externalResourcesRequired", "true"),
      s.appendChild(a),
      a.appendChild(A),
      s
    );
  },
  b7 = function (e) {
    return new Promise(function (t, r) {
      var n = new Image();
      (n.onload = function () {
        return t(n);
      }),
        (n.onerror = r),
        (n.src =
          "data:image/svg+xml;charset=utf-8," +
          encodeURIComponent(new XMLSerializer().serializeToString(e)));
    });
  },
  Rr = {
    get SUPPORT_RANGE_BOUNDS() {
      var e = ZZ(document);
      return Object.defineProperty(Rr, "SUPPORT_RANGE_BOUNDS", { value: e }), e;
    },
    get SUPPORT_WORD_BREAKING() {
      var e = Rr.SUPPORT_RANGE_BOUNDS && eee(document);
      return (
        Object.defineProperty(Rr, "SUPPORT_WORD_BREAKING", { value: e }), e
      );
    },
    get SUPPORT_SVG_DRAWING() {
      var e = nee(document);
      return Object.defineProperty(Rr, "SUPPORT_SVG_DRAWING", { value: e }), e;
    },
    get SUPPORT_FOREIGNOBJECT_DRAWING() {
      var e =
        typeof Array.from == "function" && typeof window.fetch == "function"
          ? Aee(document)
          : Promise.resolve(!1);
      return (
        Object.defineProperty(Rr, "SUPPORT_FOREIGNOBJECT_DRAWING", {
          value: e,
        }),
        e
      );
    },
    get SUPPORT_CORS_IMAGES() {
      var e = tee();
      return Object.defineProperty(Rr, "SUPPORT_CORS_IMAGES", { value: e }), e;
    },
    get SUPPORT_RESPONSE_TYPE() {
      var e = ree();
      return (
        Object.defineProperty(Rr, "SUPPORT_RESPONSE_TYPE", { value: e }), e
      );
    },
    get SUPPORT_CORS_XHR() {
      var e = "withCredentials" in new XMLHttpRequest();
      return Object.defineProperty(Rr, "SUPPORT_CORS_XHR", { value: e }), e;
    },
    get SUPPORT_NATIVE_TEXT_SEGMENTATION() {
      var e = !!(typeof Intl < "u" && Intl.Segmenter);
      return (
        Object.defineProperty(Rr, "SUPPORT_NATIVE_TEXT_SEGMENTATION", {
          value: e,
        }),
        e
      );
    },
  },
  Hl = (function () {
    function e(t, r) {
      (this.text = t), (this.bounds = r);
    }
    return e;
  })(),
  iee = function (e, t, r, n) {
    var A = oee(t, r),
      i = [],
      s = 0;
    return (
      A.forEach(function (a) {
        if (r.textDecorationLine.length || a.trim().length > 0)
          if (Rr.SUPPORT_RANGE_BOUNDS) {
            var o = F7(n, s, a.length).getClientRects();
            if (o.length > 1) {
              var l = f5(a),
                u = 0;
              l.forEach(function (d) {
                i.push(
                  new Hl(
                    d,
                    oi.fromDOMRectList(
                      e,
                      F7(n, u + s, d.length).getClientRects(),
                    ),
                  ),
                ),
                  (u += d.length);
              });
            } else i.push(new Hl(a, oi.fromDOMRectList(e, o)));
          } else {
            var f = n.splitText(a.length);
            i.push(new Hl(a, see(e, n))), (n = f);
          }
        else Rr.SUPPORT_RANGE_BOUNDS || (n = n.splitText(a.length));
        s += a.length;
      }),
      i
    );
  },
  see = function (e, t) {
    var r = t.ownerDocument;
    if (r) {
      var n = r.createElement("html2canvaswrapper");
      n.appendChild(t.cloneNode(!0));
      var A = t.parentNode;
      if (A) {
        A.replaceChild(n, t);
        var i = Mf(e, n);
        return n.firstChild && A.replaceChild(n.firstChild, n), i;
      }
    }
    return oi.EMPTY;
  },
  F7 = function (e, t, r) {
    var n = e.ownerDocument;
    if (!n) throw new Error("Node has no owner document");
    var A = n.createRange();
    return A.setStart(e, t), A.setEnd(e, t + r), A;
  },
  f5 = function (e) {
    if (Rr.SUPPORT_NATIVE_TEXT_SEGMENTATION) {
      var t = new Intl.Segmenter(void 0, { granularity: "grapheme" });
      return Array.from(t.segment(e)).map(function (r) {
        return r.segment;
      });
    }
    return qZ(e);
  },
  aee = function (e, t) {
    if (Rr.SUPPORT_NATIVE_TEXT_SEGMENTATION) {
      var r = new Intl.Segmenter(void 0, { granularity: "word" });
      return Array.from(r.segment(e)).map(function (n) {
        return n.segment;
      });
    }
    return uee(e, t);
  },
  oee = function (e, t) {
    return t.letterSpacing !== 0 ? f5(e) : aee(e, t);
  },
  lee = [32, 160, 4961, 65792, 65793, 4153, 4241],
  uee = function (e, t) {
    for (
      var r = kX(e, {
          lineBreak: t.lineBreak,
          wordBreak:
            t.overflowWrap === "break-word" ? "break-word" : t.wordBreak,
        }),
        n = [],
        A,
        i = function () {
          if (A.value) {
            var s = A.value.slice(),
              a = Rf(s),
              o = "";
            a.forEach(function (l) {
              lee.indexOf(l) === -1
                ? (o += nr(l))
                : (o.length && n.push(o), n.push(nr(l)), (o = ""));
            }),
              o.length && n.push(o);
          }
        };
      !(A = r.next()).done;

    )
      i();
    return n;
  },
  cee = (function () {
    function e(t, r, n) {
      (this.text = fee(r.data, n.textTransform)),
        (this.textBounds = iee(t, this.text, n, r));
    }
    return e;
  })(),
  fee = function (e, t) {
    switch (t) {
      case 1:
        return e.toLowerCase();
      case 3:
        return e.replace(dee, hee);
      case 2:
        return e.toUpperCase();
      default:
        return e;
    }
  },
  dee = /(^|\s|:|-|\(|\))([a-z])/g,
  hee = function (e, t, r) {
    return e.length > 0 ? t + r.toUpperCase() : e;
  },
  VC = (function (e) {
    lA(t, e);
    function t(r, n) {
      var A = e.call(this, r, n) || this;
      return (
        (A.src = n.currentSrc || n.src),
        (A.intrinsicWidth = n.naturalWidth),
        (A.intrinsicHeight = n.naturalHeight),
        A.context.cache.addImage(A.src),
        A
      );
    }
    return t;
  })(QA),
  GC = (function (e) {
    lA(t, e);
    function t(r, n) {
      var A = e.call(this, r, n) || this;
      return (
        (A.canvas = n),
        (A.intrinsicWidth = n.width),
        (A.intrinsicHeight = n.height),
        A
      );
    }
    return t;
  })(QA),
  WC = (function (e) {
    lA(t, e);
    function t(r, n) {
      var A = e.call(this, r, n) || this,
        i = new XMLSerializer(),
        s = Mf(r, n);
      return (
        n.setAttribute("width", s.width + "px"),
        n.setAttribute("height", s.height + "px"),
        (A.svg =
          "data:image/svg+xml," + encodeURIComponent(i.serializeToString(n))),
        (A.intrinsicWidth = n.width.baseVal.value),
        (A.intrinsicHeight = n.height.baseVal.value),
        A.context.cache.addImage(A.svg),
        A
      );
    }
    return t;
  })(QA),
  zC = (function (e) {
    lA(t, e);
    function t(r, n) {
      var A = e.call(this, r, n) || this;
      return (A.value = n.value), A;
    }
    return t;
  })(QA),
  Rh = (function (e) {
    lA(t, e);
    function t(r, n) {
      var A = e.call(this, r, n) || this;
      return (
        (A.start = n.start),
        (A.reversed = typeof n.reversed == "boolean" && n.reversed === !0),
        A
      );
    }
    return t;
  })(QA),
  pee = [{ type: 15, flags: 0, unit: "px", number: 3 }],
  gee = [{ type: 16, flags: 0, number: 50 }],
  vee = function (e) {
    return e.width > e.height
      ? new oi(e.left + (e.width - e.height) / 2, e.top, e.height, e.height)
      : e.width < e.height
        ? new oi(e.left, e.top + (e.height - e.width) / 2, e.width, e.width)
        : e;
  },
  mee = function (e) {
    var t = e.type === Bee ? new Array(e.value.length + 1).join("•") : e.value;
    return t.length === 0 ? e.placeholder || "" : t;
  },
  Fc = "checkbox",
  _c = "radio",
  Bee = "password",
  _7 = 707406591,
  d5 = (function (e) {
    lA(t, e);
    function t(r, n) {
      var A = e.call(this, r, n) || this;
      switch (
        ((A.type = n.type.toLowerCase()),
        (A.checked = n.checked),
        (A.value = mee(n)),
        (A.type === Fc || A.type === _c) &&
          ((A.styles.backgroundColor = 3739148031),
          (A.styles.borderTopColor =
            A.styles.borderRightColor =
            A.styles.borderBottomColor =
            A.styles.borderLeftColor =
              2779096575),
          (A.styles.borderTopWidth =
            A.styles.borderRightWidth =
            A.styles.borderBottomWidth =
            A.styles.borderLeftWidth =
              1),
          (A.styles.borderTopStyle =
            A.styles.borderRightStyle =
            A.styles.borderBottomStyle =
            A.styles.borderLeftStyle =
              1),
          (A.styles.backgroundClip = [0]),
          (A.styles.backgroundOrigin = [0]),
          (A.bounds = vee(A.bounds))),
        A.type)
      ) {
        case Fc:
          A.styles.borderTopRightRadius =
            A.styles.borderTopLeftRadius =
            A.styles.borderBottomRightRadius =
            A.styles.borderBottomLeftRadius =
              pee;
          break;
        case _c:
          A.styles.borderTopRightRadius =
            A.styles.borderTopLeftRadius =
            A.styles.borderBottomRightRadius =
            A.styles.borderBottomLeftRadius =
              gee;
          break;
      }
      return A;
    }
    return t;
  })(QA),
  jC = (function (e) {
    lA(t, e);
    function t(r, n) {
      var A = e.call(this, r, n) || this,
        i = n.options[n.selectedIndex || 0];
      return (A.value = (i && i.text) || ""), A;
    }
    return t;
  })(QA),
  YC = (function (e) {
    lA(t, e);
    function t(r, n) {
      var A = e.call(this, r, n) || this;
      return (A.value = n.value), A;
    }
    return t;
  })(QA),
  XC = (function (e) {
    lA(t, e);
    function t(r, n) {
      var A = e.call(this, r, n) || this;
      (A.src = n.src),
        (A.width = parseInt(n.width, 10) || 0),
        (A.height = parseInt(n.height, 10) || 0),
        (A.backgroundColor = A.styles.backgroundColor);
      try {
        if (
          n.contentWindow &&
          n.contentWindow.document &&
          n.contentWindow.document.documentElement
        ) {
          A.tree = qC(r, n.contentWindow.document.documentElement);
          var i = n.contentWindow.document.documentElement
              ? Ll(
                  r,
                  getComputedStyle(n.contentWindow.document.documentElement)
                    .backgroundColor,
                )
              : ti.TRANSPARENT,
            s = n.contentWindow.document.body
              ? Ll(
                  r,
                  getComputedStyle(n.contentWindow.document.body)
                    .backgroundColor,
                )
              : ti.TRANSPARENT;
          A.backgroundColor = Zi(i)
            ? Zi(s)
              ? A.styles.backgroundColor
              : s
            : i;
        }
      } catch {}
      return A;
    }
    return t;
  })(QA),
  wee = ["OL", "UL", "MENU"],
  qu = function (e, t, r, n) {
    for (var A = t.firstChild, i = void 0; A; A = i)
      if (((i = A.nextSibling), ZC(A) && A.data.trim().length > 0))
        r.textNodes.push(new cee(e, A, r.styles));
      else if (Na(A))
        if (nx(A) && A.assignedNodes)
          A.assignedNodes().forEach(function (a) {
            return qu(e, a, r, n);
          });
        else {
          var s = JC(e, A);
          s.styles.isVisible() &&
            (yee(A, s, n) ? (s.flags |= 4) : Cee(s.styles) && (s.flags |= 2),
            wee.indexOf(A.tagName) !== -1 && (s.flags |= 8),
            r.elements.push(s),
            A.slot,
            A.shadowRoot
              ? qu(e, A.shadowRoot, s, n)
              : !Sc(A) && !ex(A) && !Qc(A) && qu(e, A, s, n));
        }
  },
  JC = function (e, t) {
    return $h(t)
      ? new VC(e, t)
      : tx(t)
        ? new GC(e, t)
        : ex(t)
          ? new WC(e, t)
          : xee(t)
            ? new zC(e, t)
            : Eee(t)
              ? new Rh(e, t)
              : bee(t)
                ? new d5(e, t)
                : Qc(t)
                  ? new jC(e, t)
                  : Sc(t)
                    ? new YC(e, t)
                    : rx(t)
                      ? new XC(e, t)
                      : new QA(e, t);
  },
  qC = function (e, t) {
    var r = JC(e, t);
    return (r.flags |= 4), qu(e, t, r, r), r;
  },
  yee = function (e, t, r) {
    return (
      t.styles.isPositionedWithZIndex() ||
      t.styles.opacity < 1 ||
      t.styles.isTransformed() ||
      (h5(e) && r.styles.isTransparent())
    );
  },
  Cee = function (e) {
    return e.isPositioned() || e.isFloating();
  },
  ZC = function (e) {
    return e.nodeType === Node.TEXT_NODE;
  },
  Na = function (e) {
    return e.nodeType === Node.ELEMENT_NODE;
  },
  Nh = function (e) {
    return Na(e) && typeof e.style < "u" && !Zu(e);
  },
  Zu = function (e) {
    return typeof e.className == "object";
  },
  xee = function (e) {
    return e.tagName === "LI";
  },
  Eee = function (e) {
    return e.tagName === "OL";
  },
  bee = function (e) {
    return e.tagName === "INPUT";
  },
  Fee = function (e) {
    return e.tagName === "HTML";
  },
  ex = function (e) {
    return e.tagName === "svg";
  },
  h5 = function (e) {
    return e.tagName === "BODY";
  },
  tx = function (e) {
    return e.tagName === "CANVAS";
  },
  S7 = function (e) {
    return e.tagName === "VIDEO";
  },
  $h = function (e) {
    return e.tagName === "IMG";
  },
  rx = function (e) {
    return e.tagName === "IFRAME";
  },
  Q7 = function (e) {
    return e.tagName === "STYLE";
  },
  _ee = function (e) {
    return e.tagName === "SCRIPT";
  },
  Sc = function (e) {
    return e.tagName === "TEXTAREA";
  },
  Qc = function (e) {
    return e.tagName === "SELECT";
  },
  nx = function (e) {
    return e.tagName === "SLOT";
  },
  U7 = function (e) {
    return e.tagName.indexOf("-") > 0;
  },
  See = (function () {
    function e() {
      this.counters = {};
    }
    return (
      (e.prototype.getCounterValue = function (t) {
        var r = this.counters[t];
        return r && r.length ? r[r.length - 1] : 1;
      }),
      (e.prototype.getCounterValues = function (t) {
        var r = this.counters[t];
        return r || [];
      }),
      (e.prototype.pop = function (t) {
        var r = this;
        t.forEach(function (n) {
          return r.counters[n].pop();
        });
      }),
      (e.prototype.parse = function (t) {
        var r = this,
          n = t.counterIncrement,
          A = t.counterReset,
          i = !0;
        n !== null &&
          n.forEach(function (a) {
            var o = r.counters[a.counter];
            o &&
              a.increment !== 0 &&
              ((i = !1),
              o.length || o.push(1),
              (o[Math.max(0, o.length - 1)] += a.increment));
          });
        var s = [];
        return (
          i &&
            A.forEach(function (a) {
              var o = r.counters[a.counter];
              s.push(a.counter),
                o || (o = r.counters[a.counter] = []),
                o.push(a.reset);
            }),
          s
        );
      }),
      e
    );
  })(),
  T7 = {
    integers: [1e3, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1],
    values: [
      "M",
      "CM",
      "D",
      "CD",
      "C",
      "XC",
      "L",
      "XL",
      "X",
      "IX",
      "V",
      "IV",
      "I",
    ],
  },
  I7 = {
    integers: [
      9e3, 8e3, 7e3, 6e3, 5e3, 4e3, 3e3, 2e3, 1e3, 900, 800, 700, 600, 500, 400,
      300, 200, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 9, 8, 7, 6, 5, 4, 3, 2,
      1,
    ],
    values: [
      "Ք",
      "Փ",
      "Ւ",
      "Ց",
      "Ր",
      "Տ",
      "Վ",
      "Ս",
      "Ռ",
      "Ջ",
      "Պ",
      "Չ",
      "Ո",
      "Շ",
      "Ն",
      "Յ",
      "Մ",
      "Ճ",
      "Ղ",
      "Ձ",
      "Հ",
      "Կ",
      "Ծ",
      "Խ",
      "Լ",
      "Ի",
      "Ժ",
      "Թ",
      "Ը",
      "Է",
      "Զ",
      "Ե",
      "Դ",
      "Գ",
      "Բ",
      "Ա",
    ],
  },
  Qee = {
    integers: [
      1e4, 9e3, 8e3, 7e3, 6e3, 5e3, 4e3, 3e3, 2e3, 1e3, 400, 300, 200, 100, 90,
      80, 70, 60, 50, 40, 30, 20, 19, 18, 17, 16, 15, 10, 9, 8, 7, 6, 5, 4, 3,
      2, 1,
    ],
    values: [
      "י׳",
      "ט׳",
      "ח׳",
      "ז׳",
      "ו׳",
      "ה׳",
      "ד׳",
      "ג׳",
      "ב׳",
      "א׳",
      "ת",
      "ש",
      "ר",
      "ק",
      "צ",
      "פ",
      "ע",
      "ס",
      "נ",
      "מ",
      "ל",
      "כ",
      "יט",
      "יח",
      "יז",
      "טז",
      "טו",
      "י",
      "ט",
      "ח",
      "ז",
      "ו",
      "ה",
      "ד",
      "ג",
      "ב",
      "א",
    ],
  },
  Uee = {
    integers: [
      1e4, 9e3, 8e3, 7e3, 6e3, 5e3, 4e3, 3e3, 2e3, 1e3, 900, 800, 700, 600, 500,
      400, 300, 200, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 9, 8, 7, 6, 5, 4,
      3, 2, 1,
    ],
    values: [
      "ჵ",
      "ჰ",
      "ჯ",
      "ჴ",
      "ხ",
      "ჭ",
      "წ",
      "ძ",
      "ც",
      "ჩ",
      "შ",
      "ყ",
      "ღ",
      "ქ",
      "ფ",
      "ჳ",
      "ტ",
      "ს",
      "რ",
      "ჟ",
      "პ",
      "ო",
      "ჲ",
      "ნ",
      "მ",
      "ლ",
      "კ",
      "ი",
      "თ",
      "ჱ",
      "ზ",
      "ვ",
      "ე",
      "დ",
      "გ",
      "ბ",
      "ა",
    ],
  },
  Ta = function (e, t, r, n, A, i) {
    return e < t || e > r
      ? a0(e, A, i.length > 0)
      : n.integers.reduce(function (s, a, o) {
          for (; e >= a; ) (e -= a), (s += n.values[o]);
          return s;
        }, "") + i;
  },
  Ax = function (e, t, r, n) {
    var A = "";
    do r || e--, (A = n(e) + A), (e /= t);
    while (e * t >= t);
    return A;
  },
  rr = function (e, t, r, n, A) {
    var i = r - t + 1;
    return (
      (e < 0 ? "-" : "") +
      (Ax(Math.abs(e), i, n, function (s) {
        return nr(Math.floor(s % i) + t);
      }) +
        A)
    );
  },
  Is = function (e, t, r) {
    r === void 0 && (r = ". ");
    var n = t.length;
    return (
      Ax(Math.abs(e), n, !1, function (A) {
        return t[Math.floor(A % n)];
      }) + r
    );
  },
  La = 1,
  Pi = 2,
  Oi = 4,
  ml = 8,
  NA = function (e, t, r, n, A, i) {
    if (e < -9999 || e > 9999) return a0(e, 4, A.length > 0);
    var s = Math.abs(e),
      a = A;
    if (s === 0) return t[0] + a;
    for (var o = 0; s > 0 && o <= 4; o++) {
      var l = s % 10;
      l === 0 && yr(i, La) && a !== ""
        ? (a = t[l] + a)
        : l > 1 ||
            (l === 1 && o === 0) ||
            (l === 1 && o === 1 && yr(i, Pi)) ||
            (l === 1 && o === 1 && yr(i, Oi) && e > 100) ||
            (l === 1 && o > 1 && yr(i, ml))
          ? (a = t[l] + (o > 0 ? r[o - 1] : "") + a)
          : l === 1 && o > 0 && (a = r[o - 1] + a),
        (s = Math.floor(s / 10));
    }
    return (e < 0 ? n : "") + a;
  },
  D7 = "十百千萬",
  P7 = "拾佰仟萬",
  O7 = "マイナス",
  n2 = "마이너스",
  a0 = function (e, t, r) {
    var n = r ? ". " : "",
      A = r ? "、" : "",
      i = r ? ", " : "",
      s = r ? " " : "";
    switch (t) {
      case 0:
        return "•" + s;
      case 1:
        return "◦" + s;
      case 2:
        return "◾" + s;
      case 5:
        var a = rr(e, 48, 57, !0, n);
        return a.length < 4 ? "0" + a : a;
      case 4:
        return Is(e, "〇一二三四五六七八九", A);
      case 6:
        return Ta(e, 1, 3999, T7, 3, n).toLowerCase();
      case 7:
        return Ta(e, 1, 3999, T7, 3, n);
      case 8:
        return rr(e, 945, 969, !1, n);
      case 9:
        return rr(e, 97, 122, !1, n);
      case 10:
        return rr(e, 65, 90, !1, n);
      case 11:
        return rr(e, 1632, 1641, !0, n);
      case 12:
      case 49:
        return Ta(e, 1, 9999, I7, 3, n);
      case 35:
        return Ta(e, 1, 9999, I7, 3, n).toLowerCase();
      case 13:
        return rr(e, 2534, 2543, !0, n);
      case 14:
      case 30:
        return rr(e, 6112, 6121, !0, n);
      case 15:
        return Is(e, "子丑寅卯辰巳午未申酉戌亥", A);
      case 16:
        return Is(e, "甲乙丙丁戊己庚辛壬癸", A);
      case 17:
      case 48:
        return NA(e, "零一二三四五六七八九", D7, "負", A, Pi | Oi | ml);
      case 47:
        return NA(e, "零壹貳參肆伍陸柒捌玖", P7, "負", A, La | Pi | Oi | ml);
      case 42:
        return NA(e, "零一二三四五六七八九", D7, "负", A, Pi | Oi | ml);
      case 41:
        return NA(e, "零壹贰叁肆伍陆柒捌玖", P7, "负", A, La | Pi | Oi | ml);
      case 26:
        return NA(e, "〇一二三四五六七八九", "十百千万", O7, A, 0);
      case 25:
        return NA(e, "零壱弐参四伍六七八九", "拾百千万", O7, A, La | Pi | Oi);
      case 31:
        return NA(e, "영일이삼사오육칠팔구", "십백천만", n2, i, La | Pi | Oi);
      case 33:
        return NA(e, "零一二三四五六七八九", "十百千萬", n2, i, 0);
      case 32:
        return NA(e, "零壹貳參四五六七八九", "拾百千", n2, i, La | Pi | Oi);
      case 18:
        return rr(e, 2406, 2415, !0, n);
      case 20:
        return Ta(e, 1, 19999, Uee, 3, n);
      case 21:
        return rr(e, 2790, 2799, !0, n);
      case 22:
        return rr(e, 2662, 2671, !0, n);
      case 22:
        return Ta(e, 1, 10999, Qee, 3, n);
      case 23:
        return Is(
          e,
          "あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん",
        );
      case 24:
        return Is(
          e,
          "いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす",
        );
      case 27:
        return rr(e, 3302, 3311, !0, n);
      case 28:
        return Is(
          e,
          "アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",
          A,
        );
      case 29:
        return Is(
          e,
          "イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",
          A,
        );
      case 34:
        return rr(e, 3792, 3801, !0, n);
      case 37:
        return rr(e, 6160, 6169, !0, n);
      case 38:
        return rr(e, 4160, 4169, !0, n);
      case 39:
        return rr(e, 2918, 2927, !0, n);
      case 40:
        return rr(e, 1776, 1785, !0, n);
      case 43:
        return rr(e, 3046, 3055, !0, n);
      case 44:
        return rr(e, 3174, 3183, !0, n);
      case 45:
        return rr(e, 3664, 3673, !0, n);
      case 46:
        return rr(e, 3872, 3881, !0, n);
      case 3:
      default:
        return rr(e, 48, 57, !0, n);
    }
  },
  ix = "data-html2canvas-ignore",
  L7 = (function () {
    function e(t, r, n) {
      if (
        ((this.context = t),
        (this.options = n),
        (this.scrolledElements = []),
        (this.referenceElement = r),
        (this.counters = new See()),
        (this.quoteDepth = 0),
        !r.ownerDocument)
      )
        throw new Error("Cloned element does not have an owner document");
      this.documentElement = this.cloneNode(
        r.ownerDocument.documentElement,
        !1,
      );
    }
    return (
      (e.prototype.toIFrame = function (t, r) {
        var n = this,
          A = Tee(t, r);
        if (!A.contentWindow)
          return Promise.reject("Unable to find iframe window");
        var i = t.defaultView.pageXOffset,
          s = t.defaultView.pageYOffset,
          a = A.contentWindow,
          o = a.document,
          l = Pee(A).then(function () {
            return en(n, void 0, void 0, function () {
              var u, f;
              return Wr(this, function (d) {
                switch (d.label) {
                  case 0:
                    return (
                      this.scrolledElements.forEach(Hee),
                      a &&
                        (a.scrollTo(r.left, r.top),
                        /(iPad|iPhone|iPod)/g.test(navigator.userAgent) &&
                          (a.scrollY !== r.top || a.scrollX !== r.left) &&
                          (this.context.logger.warn(
                            "Unable to restore scroll position for cloned document",
                          ),
                          (this.context.windowBounds =
                            this.context.windowBounds.add(
                              a.scrollX - r.left,
                              a.scrollY - r.top,
                              0,
                              0,
                            )))),
                      (u = this.options.onclone),
                      (f = this.clonedReferenceElement),
                      typeof f > "u"
                        ? [
                            2,
                            Promise.reject(
                              "Error finding the " +
                                this.referenceElement.nodeName +
                                " in the cloned document",
                            ),
                          ]
                        : o.fonts && o.fonts.ready
                          ? [4, o.fonts.ready]
                          : [3, 2]
                    );
                  case 1:
                    d.sent(), (d.label = 2);
                  case 2:
                    return /(AppleWebKit)/g.test(navigator.userAgent)
                      ? [4, Dee(o)]
                      : [3, 4];
                  case 3:
                    d.sent(), (d.label = 4);
                  case 4:
                    return typeof u == "function"
                      ? [
                          2,
                          Promise.resolve()
                            .then(function () {
                              return u(o, f);
                            })
                            .then(function () {
                              return A;
                            }),
                        ]
                      : [2, A];
                }
              });
            });
          });
        return (
          o.open(),
          o.write(Lee(document.doctype) + "<html></html>"),
          kee(this.referenceElement.ownerDocument, i, s),
          o.replaceChild(o.adoptNode(this.documentElement), o.documentElement),
          o.close(),
          l
        );
      }),
      (e.prototype.createElementClone = function (t) {
        if (Hh(t, 2)) debugger;
        if (tx(t)) return this.createCanvasClone(t);
        if (S7(t)) return this.createVideoClone(t);
        if (Q7(t)) return this.createStyleClone(t);
        var r = t.cloneNode(!1);
        return (
          $h(r) &&
            ($h(t) &&
              t.currentSrc &&
              t.currentSrc !== t.src &&
              ((r.src = t.currentSrc), (r.srcset = "")),
            r.loading === "lazy" && (r.loading = "eager")),
          U7(r) ? this.createCustomElementClone(r) : r
        );
      }),
      (e.prototype.createCustomElementClone = function (t) {
        var r = document.createElement("html2canvascustomelement");
        return A2(t.style, r), r;
      }),
      (e.prototype.createStyleClone = function (t) {
        try {
          var r = t.sheet;
          if (r && r.cssRules) {
            var n = [].slice.call(r.cssRules, 0).reduce(function (i, s) {
                return s && typeof s.cssText == "string" ? i + s.cssText : i;
              }, ""),
              A = t.cloneNode(!1);
            return (A.textContent = n), A;
          }
        } catch (i) {
          if (
            (this.context.logger.error("Unable to access cssRules property", i),
            i.name !== "SecurityError")
          )
            throw i;
        }
        return t.cloneNode(!1);
      }),
      (e.prototype.createCanvasClone = function (t) {
        var r;
        if (this.options.inlineImages && t.ownerDocument) {
          var n = t.ownerDocument.createElement("img");
          try {
            return (n.src = t.toDataURL()), n;
          } catch {
            this.context.logger.info(
              "Unable to inline canvas contents, canvas is tainted",
              t,
            );
          }
        }
        var A = t.cloneNode(!1);
        try {
          (A.width = t.width), (A.height = t.height);
          var i = t.getContext("2d"),
            s = A.getContext("2d");
          if (s)
            if (!this.options.allowTaint && i)
              s.putImageData(i.getImageData(0, 0, t.width, t.height), 0, 0);
            else {
              var a =
                (r = t.getContext("webgl2")) !== null && r !== void 0
                  ? r
                  : t.getContext("webgl");
              if (a) {
                var o = a.getContextAttributes();
                (o == null ? void 0 : o.preserveDrawingBuffer) === !1 &&
                  this.context.logger.warn(
                    "Unable to clone WebGL context as it has preserveDrawingBuffer=false",
                    t,
                  );
              }
              s.drawImage(t, 0, 0);
            }
          return A;
        } catch {
          this.context.logger.info(
            "Unable to clone canvas as it is tainted",
            t,
          );
        }
        return A;
      }),
      (e.prototype.createVideoClone = function (t) {
        var r = t.ownerDocument.createElement("canvas");
        (r.width = t.offsetWidth), (r.height = t.offsetHeight);
        var n = r.getContext("2d");
        try {
          return (
            n &&
              (n.drawImage(t, 0, 0, r.width, r.height),
              this.options.allowTaint ||
                n.getImageData(0, 0, r.width, r.height)),
            r
          );
        } catch {
          this.context.logger.info("Unable to clone video as it is tainted", t);
        }
        var A = t.ownerDocument.createElement("canvas");
        return (A.width = t.offsetWidth), (A.height = t.offsetHeight), A;
      }),
      (e.prototype.appendChildNode = function (t, r, n) {
        (!Na(r) ||
          (!_ee(r) &&
            !r.hasAttribute(ix) &&
            (typeof this.options.ignoreElements != "function" ||
              !this.options.ignoreElements(r)))) &&
          (!this.options.copyStyles || !Na(r) || !Q7(r)) &&
          t.appendChild(this.cloneNode(r, n));
      }),
      (e.prototype.cloneChildNodes = function (t, r, n) {
        for (
          var A = this,
            i = t.shadowRoot ? t.shadowRoot.firstChild : t.firstChild;
          i;
          i = i.nextSibling
        )
          if (Na(i) && nx(i) && typeof i.assignedNodes == "function") {
            var s = i.assignedNodes();
            s.length &&
              s.forEach(function (a) {
                return A.appendChildNode(r, a, n);
              });
          } else this.appendChildNode(r, i, n);
      }),
      (e.prototype.cloneNode = function (t, r) {
        if (ZC(t)) return document.createTextNode(t.data);
        if (!t.ownerDocument) return t.cloneNode(!1);
        var n = t.ownerDocument.defaultView;
        if (n && Na(t) && (Nh(t) || Zu(t))) {
          var A = this.createElementClone(t);
          A.style.transitionProperty = "none";
          var i = n.getComputedStyle(t),
            s = n.getComputedStyle(t, ":before"),
            a = n.getComputedStyle(t, ":after");
          this.referenceElement === t &&
            Nh(A) &&
            (this.clonedReferenceElement = A),
            h5(A) && Nee(A);
          var o = this.counters.parse(new d7(this.context, i)),
            l = this.resolvePseudoContent(t, A, s, Ml.BEFORE);
          U7(t) && (r = !0),
            S7(t) || this.cloneChildNodes(t, A, r),
            l && A.insertBefore(l, A.firstChild);
          var u = this.resolvePseudoContent(t, A, a, Ml.AFTER);
          return (
            u && A.appendChild(u),
            this.counters.pop(o),
            ((i && (this.options.copyStyles || Zu(t)) && !rx(t)) || r) &&
              A2(i, A),
            (t.scrollTop !== 0 || t.scrollLeft !== 0) &&
              this.scrolledElements.push([A, t.scrollLeft, t.scrollTop]),
            (Sc(t) || Qc(t)) && (Sc(A) || Qc(A)) && (A.value = t.value),
            A
          );
        }
        return t.cloneNode(!1);
      }),
      (e.prototype.resolvePseudoContent = function (t, r, n, A) {
        var i = this;
        if (n) {
          var s = n.content,
            a = r.ownerDocument;
          if (
            !(
              !a ||
              !s ||
              s === "none" ||
              s === "-moz-alt-content" ||
              n.display === "none"
            )
          ) {
            this.counters.parse(new d7(this.context, n));
            var o = new xZ(this.context, n),
              l = a.createElement("html2canvaspseudoelement");
            A2(n, l),
              o.content.forEach(function (f) {
                if (f.type === 0) l.appendChild(a.createTextNode(f.value));
                else if (f.type === 22) {
                  var d = a.createElement("img");
                  (d.src = f.value), (d.style.opacity = "1"), l.appendChild(d);
                } else if (f.type === 18) {
                  if (f.name === "attr") {
                    var g = f.values.filter(Mt);
                    g.length &&
                      l.appendChild(
                        a.createTextNode(t.getAttribute(g[0].value) || ""),
                      );
                  } else if (f.name === "counter") {
                    var v = f.values.filter(vo),
                      B = v[0],
                      y = v[1];
                    if (B && Mt(B)) {
                      var w = i.counters.getCounterValue(B.value),
                        m = y && Mt(y) ? kh.parse(i.context, y.value) : 3;
                      l.appendChild(a.createTextNode(a0(w, m, !1)));
                    }
                  } else if (f.name === "counters") {
                    var x = f.values.filter(vo),
                      B = x[0],
                      C = x[1],
                      y = x[2];
                    if (B && Mt(B)) {
                      var b = i.counters.getCounterValues(B.value),
                        F = y && Mt(y) ? kh.parse(i.context, y.value) : 3,
                        I = C && C.type === 0 ? C.value : "",
                        T = b
                          .map(function (Q) {
                            return a0(Q, F, !1);
                          })
                          .join(I);
                      l.appendChild(a.createTextNode(T));
                    }
                  }
                } else if (f.type === 20)
                  switch (f.value) {
                    case "open-quote":
                      l.appendChild(
                        a.createTextNode(f7(o.quotes, i.quoteDepth++, !0)),
                      );
                      break;
                    case "close-quote":
                      l.appendChild(
                        a.createTextNode(f7(o.quotes, --i.quoteDepth, !1)),
                      );
                      break;
                    default:
                      l.appendChild(a.createTextNode(f.value));
                  }
              }),
              (l.className = Kh + " " + Vh);
            var u = A === Ml.BEFORE ? " " + Kh : " " + Vh;
            return Zu(r) ? (r.className.baseValue += u) : (r.className += u), l;
          }
        }
      }),
      (e.destroy = function (t) {
        return t.parentNode ? (t.parentNode.removeChild(t), !0) : !1;
      }),
      e
    );
  })(),
  Ml;
(function (e) {
  (e[(e.BEFORE = 0)] = "BEFORE"), (e[(e.AFTER = 1)] = "AFTER");
})(Ml || (Ml = {}));
var Tee = function (e, t) {
    var r = e.createElement("iframe");
    return (
      (r.className = "html2canvas-container"),
      (r.style.visibility = "hidden"),
      (r.style.position = "fixed"),
      (r.style.left = "-10000px"),
      (r.style.top = "0px"),
      (r.style.border = "0"),
      (r.width = t.width.toString()),
      (r.height = t.height.toString()),
      (r.scrolling = "no"),
      r.setAttribute(ix, "true"),
      e.body.appendChild(r),
      r
    );
  },
  Iee = function (e) {
    return new Promise(function (t) {
      if (e.complete) {
        t();
        return;
      }
      if (!e.src) {
        t();
        return;
      }
      (e.onload = t), (e.onerror = t);
    });
  },
  Dee = function (e) {
    return Promise.all([].slice.call(e.images, 0).map(Iee));
  },
  Pee = function (e) {
    return new Promise(function (t, r) {
      var n = e.contentWindow;
      if (!n) return r("No window assigned for iframe");
      var A = n.document;
      n.onload = e.onload = function () {
        n.onload = e.onload = null;
        var i = setInterval(function () {
          A.body.childNodes.length > 0 &&
            A.readyState === "complete" &&
            (clearInterval(i), t(e));
        }, 50);
      };
    });
  },
  Oee = ["all", "d", "content"],
  A2 = function (e, t) {
    for (var r = e.length - 1; r >= 0; r--) {
      var n = e.item(r);
      Oee.indexOf(n) === -1 && t.style.setProperty(n, e.getPropertyValue(n));
    }
    return t;
  },
  Lee = function (e) {
    var t = "";
    return (
      e &&
        ((t += "<!DOCTYPE "),
        e.name && (t += e.name),
        e.internalSubset && (t += e.internalSubset),
        e.publicId && (t += '"' + e.publicId + '"'),
        e.systemId && (t += '"' + e.systemId + '"'),
        (t += ">")),
      t
    );
  },
  kee = function (e, t, r) {
    e &&
      e.defaultView &&
      (t !== e.defaultView.pageXOffset || r !== e.defaultView.pageYOffset) &&
      e.defaultView.scrollTo(t, r);
  },
  Hee = function (e) {
    var t = e[0],
      r = e[1],
      n = e[2];
    (t.scrollLeft = r), (t.scrollTop = n);
  },
  Mee = ":before",
  Ree = ":after",
  Kh = "___html2canvas___pseudoelement_before",
  Vh = "___html2canvas___pseudoelement_after",
  k7 = `{
    content: "" !important;
    display: none !important;
}`,
  Nee = function (e) {
    $ee(
      e,
      "." +
        Kh +
        Mee +
        k7 +
        `
         .` +
        Vh +
        Ree +
        k7,
    );
  },
  $ee = function (e, t) {
    var r = e.ownerDocument;
    if (r) {
      var n = r.createElement("style");
      (n.textContent = t), e.appendChild(n);
    }
  },
  sx = (function () {
    function e() {}
    return (
      (e.getOrigin = function (t) {
        var r = e._link;
        return r
          ? ((r.href = t), (r.href = r.href), r.protocol + r.hostname + r.port)
          : "about:blank";
      }),
      (e.isSameOrigin = function (t) {
        return e.getOrigin(t) === e._origin;
      }),
      (e.setContext = function (t) {
        (e._link = t.document.createElement("a")),
          (e._origin = e.getOrigin(t.location.href));
      }),
      (e._origin = "about:blank"),
      e
    );
  })(),
  Kee = (function () {
    function e(t, r) {
      (this.context = t), (this._options = r), (this._cache = {});
    }
    return (
      (e.prototype.addImage = function (t) {
        var r = Promise.resolve();
        return (
          this.has(t) ||
            ((s2(t) || zee(t)) &&
              (this._cache[t] = this.loadImage(t)).catch(function () {})),
          r
        );
      }),
      (e.prototype.match = function (t) {
        return this._cache[t];
      }),
      (e.prototype.loadImage = function (t) {
        return en(this, void 0, void 0, function () {
          var r,
            n,
            A,
            i,
            s = this;
          return Wr(this, function (a) {
            switch (a.label) {
              case 0:
                return (
                  (r = sx.isSameOrigin(t)),
                  (n =
                    !i2(t) &&
                    this._options.useCORS === !0 &&
                    Rr.SUPPORT_CORS_IMAGES &&
                    !r),
                  (A =
                    !i2(t) &&
                    !r &&
                    !s2(t) &&
                    typeof this._options.proxy == "string" &&
                    Rr.SUPPORT_CORS_XHR &&
                    !n),
                  !r &&
                  this._options.allowTaint === !1 &&
                  !i2(t) &&
                  !s2(t) &&
                  !A &&
                  !n
                    ? [2]
                    : ((i = t), A ? [4, this.proxy(i)] : [3, 2])
                );
              case 1:
                (i = a.sent()), (a.label = 2);
              case 2:
                return (
                  this.context.logger.debug(
                    "Added image " + t.substring(0, 256),
                  ),
                  [
                    4,
                    new Promise(function (o, l) {
                      var u = new Image();
                      (u.onload = function () {
                        return o(u);
                      }),
                        (u.onerror = l),
                        (jee(i) || n) && (u.crossOrigin = "anonymous"),
                        (u.src = i),
                        u.complete === !0 &&
                          setTimeout(function () {
                            return o(u);
                          }, 500),
                        s._options.imageTimeout > 0 &&
                          setTimeout(function () {
                            return l(
                              "Timed out (" +
                                s._options.imageTimeout +
                                "ms) loading image",
                            );
                          }, s._options.imageTimeout);
                    }),
                  ]
                );
              case 3:
                return [2, a.sent()];
            }
          });
        });
      }),
      (e.prototype.has = function (t) {
        return typeof this._cache[t] < "u";
      }),
      (e.prototype.keys = function () {
        return Promise.resolve(Object.keys(this._cache));
      }),
      (e.prototype.proxy = function (t) {
        var r = this,
          n = this._options.proxy;
        if (!n) throw new Error("No proxy defined");
        var A = t.substring(0, 256);
        return new Promise(function (i, s) {
          var a = Rr.SUPPORT_RESPONSE_TYPE ? "blob" : "text",
            o = new XMLHttpRequest();
          (o.onload = function () {
            if (o.status === 200)
              if (a === "text") i(o.response);
              else {
                var f = new FileReader();
                f.addEventListener(
                  "load",
                  function () {
                    return i(f.result);
                  },
                  !1,
                ),
                  f.addEventListener(
                    "error",
                    function (d) {
                      return s(d);
                    },
                    !1,
                  ),
                  f.readAsDataURL(o.response);
              }
            else
              s(
                "Failed to proxy resource " +
                  A +
                  " with status code " +
                  o.status,
              );
          }),
            (o.onerror = s);
          var l = n.indexOf("?") > -1 ? "&" : "?";
          if (
            (o.open(
              "GET",
              "" +
                n +
                l +
                "url=" +
                encodeURIComponent(t) +
                "&responseType=" +
                a,
            ),
            a !== "text" && o instanceof XMLHttpRequest && (o.responseType = a),
            r._options.imageTimeout)
          ) {
            var u = r._options.imageTimeout;
            (o.timeout = u),
              (o.ontimeout = function () {
                return s("Timed out (" + u + "ms) proxying " + A);
              });
          }
          o.send();
        });
      }),
      e
    );
  })(),
  Vee = /^data:image\/svg\+xml/i,
  Gee = /^data:image\/.*;base64,/i,
  Wee = /^data:image\/.*/i,
  zee = function (e) {
    return Rr.SUPPORT_SVG_DRAWING || !Yee(e);
  },
  i2 = function (e) {
    return Wee.test(e);
  },
  jee = function (e) {
    return Gee.test(e);
  },
  s2 = function (e) {
    return e.substr(0, 4) === "blob";
  },
  Yee = function (e) {
    return e.substr(-3).toLowerCase() === "svg" || Vee.test(e);
  },
  je = (function () {
    function e(t, r) {
      (this.type = 0), (this.x = t), (this.y = r);
    }
    return (
      (e.prototype.add = function (t, r) {
        return new e(this.x + t, this.y + r);
      }),
      e
    );
  })(),
  Ia = function (e, t, r) {
    return new je(e.x + (t.x - e.x) * r, e.y + (t.y - e.y) * r);
  },
  Lu = (function () {
    function e(t, r, n, A) {
      (this.type = 1),
        (this.start = t),
        (this.startControl = r),
        (this.endControl = n),
        (this.end = A);
    }
    return (
      (e.prototype.subdivide = function (t, r) {
        var n = Ia(this.start, this.startControl, t),
          A = Ia(this.startControl, this.endControl, t),
          i = Ia(this.endControl, this.end, t),
          s = Ia(n, A, t),
          a = Ia(A, i, t),
          o = Ia(s, a, t);
        return r ? new e(this.start, n, s, o) : new e(o, a, i, this.end);
      }),
      (e.prototype.add = function (t, r) {
        return new e(
          this.start.add(t, r),
          this.startControl.add(t, r),
          this.endControl.add(t, r),
          this.end.add(t, r),
        );
      }),
      (e.prototype.reverse = function () {
        return new e(this.end, this.endControl, this.startControl, this.start);
      }),
      e
    );
  })(),
  Nn = function (e) {
    return e.type === 1;
  },
  Xee = (function () {
    function e(t) {
      var r = t.styles,
        n = t.bounds,
        A = gl(r.borderTopLeftRadius, n.width, n.height),
        i = A[0],
        s = A[1],
        a = gl(r.borderTopRightRadius, n.width, n.height),
        o = a[0],
        l = a[1],
        u = gl(r.borderBottomRightRadius, n.width, n.height),
        f = u[0],
        d = u[1],
        g = gl(r.borderBottomLeftRadius, n.width, n.height),
        v = g[0],
        B = g[1],
        y = [];
      y.push((i + o) / n.width),
        y.push((v + f) / n.width),
        y.push((s + B) / n.height),
        y.push((l + d) / n.height);
      var w = Math.max.apply(Math, y);
      w > 1 &&
        ((i /= w),
        (s /= w),
        (o /= w),
        (l /= w),
        (f /= w),
        (d /= w),
        (v /= w),
        (B /= w));
      var m = n.width - o,
        x = n.height - d,
        C = n.width - f,
        b = n.height - B,
        F = r.borderTopWidth,
        I = r.borderRightWidth,
        T = r.borderBottomWidth,
        D = r.borderLeftWidth,
        U = Kt(r.paddingTop, t.bounds.width),
        Q = Kt(r.paddingRight, t.bounds.width),
        L = Kt(r.paddingBottom, t.bounds.width),
        $ = Kt(r.paddingLeft, t.bounds.width);
      (this.topLeftBorderDoubleOuterBox =
        i > 0 || s > 0
          ? Jt(n.left + D / 3, n.top + F / 3, i - D / 3, s - F / 3, Dt.TOP_LEFT)
          : new je(n.left + D / 3, n.top + F / 3)),
        (this.topRightBorderDoubleOuterBox =
          i > 0 || s > 0
            ? Jt(n.left + m, n.top + F / 3, o - I / 3, l - F / 3, Dt.TOP_RIGHT)
            : new je(n.left + n.width - I / 3, n.top + F / 3)),
        (this.bottomRightBorderDoubleOuterBox =
          f > 0 || d > 0
            ? Jt(n.left + C, n.top + x, f - I / 3, d - T / 3, Dt.BOTTOM_RIGHT)
            : new je(n.left + n.width - I / 3, n.top + n.height - T / 3)),
        (this.bottomLeftBorderDoubleOuterBox =
          v > 0 || B > 0
            ? Jt(
                n.left + D / 3,
                n.top + b,
                v - D / 3,
                B - T / 3,
                Dt.BOTTOM_LEFT,
              )
            : new je(n.left + D / 3, n.top + n.height - T / 3)),
        (this.topLeftBorderDoubleInnerBox =
          i > 0 || s > 0
            ? Jt(
                n.left + (D * 2) / 3,
                n.top + (F * 2) / 3,
                i - (D * 2) / 3,
                s - (F * 2) / 3,
                Dt.TOP_LEFT,
              )
            : new je(n.left + (D * 2) / 3, n.top + (F * 2) / 3)),
        (this.topRightBorderDoubleInnerBox =
          i > 0 || s > 0
            ? Jt(
                n.left + m,
                n.top + (F * 2) / 3,
                o - (I * 2) / 3,
                l - (F * 2) / 3,
                Dt.TOP_RIGHT,
              )
            : new je(n.left + n.width - (I * 2) / 3, n.top + (F * 2) / 3)),
        (this.bottomRightBorderDoubleInnerBox =
          f > 0 || d > 0
            ? Jt(
                n.left + C,
                n.top + x,
                f - (I * 2) / 3,
                d - (T * 2) / 3,
                Dt.BOTTOM_RIGHT,
              )
            : new je(
                n.left + n.width - (I * 2) / 3,
                n.top + n.height - (T * 2) / 3,
              )),
        (this.bottomLeftBorderDoubleInnerBox =
          v > 0 || B > 0
            ? Jt(
                n.left + (D * 2) / 3,
                n.top + b,
                v - (D * 2) / 3,
                B - (T * 2) / 3,
                Dt.BOTTOM_LEFT,
              )
            : new je(n.left + (D * 2) / 3, n.top + n.height - (T * 2) / 3)),
        (this.topLeftBorderStroke =
          i > 0 || s > 0
            ? Jt(
                n.left + D / 2,
                n.top + F / 2,
                i - D / 2,
                s - F / 2,
                Dt.TOP_LEFT,
              )
            : new je(n.left + D / 2, n.top + F / 2)),
        (this.topRightBorderStroke =
          i > 0 || s > 0
            ? Jt(n.left + m, n.top + F / 2, o - I / 2, l - F / 2, Dt.TOP_RIGHT)
            : new je(n.left + n.width - I / 2, n.top + F / 2)),
        (this.bottomRightBorderStroke =
          f > 0 || d > 0
            ? Jt(n.left + C, n.top + x, f - I / 2, d - T / 2, Dt.BOTTOM_RIGHT)
            : new je(n.left + n.width - I / 2, n.top + n.height - T / 2)),
        (this.bottomLeftBorderStroke =
          v > 0 || B > 0
            ? Jt(
                n.left + D / 2,
                n.top + b,
                v - D / 2,
                B - T / 2,
                Dt.BOTTOM_LEFT,
              )
            : new je(n.left + D / 2, n.top + n.height - T / 2)),
        (this.topLeftBorderBox =
          i > 0 || s > 0
            ? Jt(n.left, n.top, i, s, Dt.TOP_LEFT)
            : new je(n.left, n.top)),
        (this.topRightBorderBox =
          o > 0 || l > 0
            ? Jt(n.left + m, n.top, o, l, Dt.TOP_RIGHT)
            : new je(n.left + n.width, n.top)),
        (this.bottomRightBorderBox =
          f > 0 || d > 0
            ? Jt(n.left + C, n.top + x, f, d, Dt.BOTTOM_RIGHT)
            : new je(n.left + n.width, n.top + n.height)),
        (this.bottomLeftBorderBox =
          v > 0 || B > 0
            ? Jt(n.left, n.top + b, v, B, Dt.BOTTOM_LEFT)
            : new je(n.left, n.top + n.height)),
        (this.topLeftPaddingBox =
          i > 0 || s > 0
            ? Jt(
                n.left + D,
                n.top + F,
                Math.max(0, i - D),
                Math.max(0, s - F),
                Dt.TOP_LEFT,
              )
            : new je(n.left + D, n.top + F)),
        (this.topRightPaddingBox =
          o > 0 || l > 0
            ? Jt(
                n.left + Math.min(m, n.width - I),
                n.top + F,
                m > n.width + I ? 0 : Math.max(0, o - I),
                Math.max(0, l - F),
                Dt.TOP_RIGHT,
              )
            : new je(n.left + n.width - I, n.top + F)),
        (this.bottomRightPaddingBox =
          f > 0 || d > 0
            ? Jt(
                n.left + Math.min(C, n.width - D),
                n.top + Math.min(x, n.height - T),
                Math.max(0, f - I),
                Math.max(0, d - T),
                Dt.BOTTOM_RIGHT,
              )
            : new je(n.left + n.width - I, n.top + n.height - T)),
        (this.bottomLeftPaddingBox =
          v > 0 || B > 0
            ? Jt(
                n.left + D,
                n.top + Math.min(b, n.height - T),
                Math.max(0, v - D),
                Math.max(0, B - T),
                Dt.BOTTOM_LEFT,
              )
            : new je(n.left + D, n.top + n.height - T)),
        (this.topLeftContentBox =
          i > 0 || s > 0
            ? Jt(
                n.left + D + $,
                n.top + F + U,
                Math.max(0, i - (D + $)),
                Math.max(0, s - (F + U)),
                Dt.TOP_LEFT,
              )
            : new je(n.left + D + $, n.top + F + U)),
        (this.topRightContentBox =
          o > 0 || l > 0
            ? Jt(
                n.left + Math.min(m, n.width + D + $),
                n.top + F + U,
                m > n.width + D + $ ? 0 : o - D + $,
                l - (F + U),
                Dt.TOP_RIGHT,
              )
            : new je(n.left + n.width - (I + Q), n.top + F + U)),
        (this.bottomRightContentBox =
          f > 0 || d > 0
            ? Jt(
                n.left + Math.min(C, n.width - (D + $)),
                n.top + Math.min(x, n.height + F + U),
                Math.max(0, f - (I + Q)),
                d - (T + L),
                Dt.BOTTOM_RIGHT,
              )
            : new je(n.left + n.width - (I + Q), n.top + n.height - (T + L))),
        (this.bottomLeftContentBox =
          v > 0 || B > 0
            ? Jt(
                n.left + D + $,
                n.top + b,
                Math.max(0, v - (D + $)),
                B - (T + L),
                Dt.BOTTOM_LEFT,
              )
            : new je(n.left + D + $, n.top + n.height - (T + L)));
    }
    return e;
  })(),
  Dt;
(function (e) {
  (e[(e.TOP_LEFT = 0)] = "TOP_LEFT"),
    (e[(e.TOP_RIGHT = 1)] = "TOP_RIGHT"),
    (e[(e.BOTTOM_RIGHT = 2)] = "BOTTOM_RIGHT"),
    (e[(e.BOTTOM_LEFT = 3)] = "BOTTOM_LEFT");
})(Dt || (Dt = {}));
var Jt = function (e, t, r, n, A) {
    var i = 4 * ((Math.sqrt(2) - 1) / 3),
      s = r * i,
      a = n * i,
      o = e + r,
      l = t + n;
    switch (A) {
      case Dt.TOP_LEFT:
        return new Lu(
          new je(e, l),
          new je(e, l - a),
          new je(o - s, t),
          new je(o, t),
        );
      case Dt.TOP_RIGHT:
        return new Lu(
          new je(e, t),
          new je(e + s, t),
          new je(o, l - a),
          new je(o, l),
        );
      case Dt.BOTTOM_RIGHT:
        return new Lu(
          new je(o, t),
          new je(o, t + a),
          new je(e + s, l),
          new je(e, l),
        );
      case Dt.BOTTOM_LEFT:
      default:
        return new Lu(
          new je(o, l),
          new je(o - s, l),
          new je(e, t + a),
          new je(e, t),
        );
    }
  },
  Uc = function (e) {
    return [
      e.topLeftBorderBox,
      e.topRightBorderBox,
      e.bottomRightBorderBox,
      e.bottomLeftBorderBox,
    ];
  },
  Jee = function (e) {
    return [
      e.topLeftContentBox,
      e.topRightContentBox,
      e.bottomRightContentBox,
      e.bottomLeftContentBox,
    ];
  },
  Tc = function (e) {
    return [
      e.topLeftPaddingBox,
      e.topRightPaddingBox,
      e.bottomRightPaddingBox,
      e.bottomLeftPaddingBox,
    ];
  },
  qee = (function () {
    function e(t, r, n) {
      (this.offsetX = t),
        (this.offsetY = r),
        (this.matrix = n),
        (this.type = 0),
        (this.target = 6);
    }
    return e;
  })(),
  ku = (function () {
    function e(t, r) {
      (this.path = t), (this.target = r), (this.type = 1);
    }
    return e;
  })(),
  Zee = (function () {
    function e(t) {
      (this.opacity = t), (this.type = 2), (this.target = 6);
    }
    return e;
  })(),
  ete = function (e) {
    return e.type === 0;
  },
  ax = function (e) {
    return e.type === 1;
  },
  tte = function (e) {
    return e.type === 2;
  },
  H7 = function (e, t) {
    return e.length === t.length
      ? e.some(function (r, n) {
          return r === t[n];
        })
      : !1;
  },
  rte = function (e, t, r, n, A) {
    return e.map(function (i, s) {
      switch (s) {
        case 0:
          return i.add(t, r);
        case 1:
          return i.add(t + n, r);
        case 2:
          return i.add(t + n, r + A);
        case 3:
          return i.add(t, r + A);
      }
      return i;
    });
  },
  ox = (function () {
    function e(t) {
      (this.element = t),
        (this.inlineLevel = []),
        (this.nonInlineLevel = []),
        (this.negativeZIndex = []),
        (this.zeroOrAutoZIndexOrTransformedOrOpacity = []),
        (this.positiveZIndex = []),
        (this.nonPositionedFloats = []),
        (this.nonPositionedInlineLevel = []);
    }
    return e;
  })(),
  lx = (function () {
    function e(t, r) {
      if (
        ((this.container = t),
        (this.parent = r),
        (this.effects = []),
        (this.curves = new Xee(this.container)),
        this.container.styles.opacity < 1 &&
          this.effects.push(new Zee(this.container.styles.opacity)),
        this.container.styles.transform !== null)
      ) {
        var n =
            this.container.bounds.left +
            this.container.styles.transformOrigin[0].number,
          A =
            this.container.bounds.top +
            this.container.styles.transformOrigin[1].number,
          i = this.container.styles.transform;
        this.effects.push(new qee(n, A, i));
      }
      if (this.container.styles.overflowX !== 0) {
        var s = Uc(this.curves),
          a = Tc(this.curves);
        H7(s, a)
          ? this.effects.push(new ku(s, 6))
          : (this.effects.push(new ku(s, 2)), this.effects.push(new ku(a, 4)));
      }
    }
    return (
      (e.prototype.getEffects = function (t) {
        for (
          var r = [2, 3].indexOf(this.container.styles.position) === -1,
            n = this.parent,
            A = this.effects.slice(0);
          n;

        ) {
          var i = n.effects.filter(function (o) {
            return !ax(o);
          });
          if (r || n.container.styles.position !== 0 || !n.parent) {
            if (
              (A.unshift.apply(A, i),
              (r = [2, 3].indexOf(n.container.styles.position) === -1),
              n.container.styles.overflowX !== 0)
            ) {
              var s = Uc(n.curves),
                a = Tc(n.curves);
              H7(s, a) || A.unshift(new ku(a, 6));
            }
          } else A.unshift.apply(A, i);
          n = n.parent;
        }
        return A.filter(function (o) {
          return yr(o.target, t);
        });
      }),
      e
    );
  })(),
  Gh = function (e, t, r, n) {
    e.container.elements.forEach(function (A) {
      var i = yr(A.flags, 4),
        s = yr(A.flags, 2),
        a = new lx(A, e);
      yr(A.styles.display, 2048) && n.push(a);
      var o = yr(A.flags, 8) ? [] : n;
      if (i || s) {
        var l = i || A.styles.isPositioned() ? r : t,
          u = new ox(a);
        if (
          A.styles.isPositioned() ||
          A.styles.opacity < 1 ||
          A.styles.isTransformed()
        ) {
          var f = A.styles.zIndex.order;
          if (f < 0) {
            var d = 0;
            l.negativeZIndex.some(function (v, B) {
              return f > v.element.container.styles.zIndex.order
                ? ((d = B), !1)
                : d > 0;
            }),
              l.negativeZIndex.splice(d, 0, u);
          } else if (f > 0) {
            var g = 0;
            l.positiveZIndex.some(function (v, B) {
              return f >= v.element.container.styles.zIndex.order
                ? ((g = B + 1), !1)
                : g > 0;
            }),
              l.positiveZIndex.splice(g, 0, u);
          } else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(u);
        } else
          A.styles.isFloating()
            ? l.nonPositionedFloats.push(u)
            : l.nonPositionedInlineLevel.push(u);
        Gh(a, u, i ? u : r, o);
      } else
        A.styles.isInlineLevel()
          ? t.inlineLevel.push(a)
          : t.nonInlineLevel.push(a),
          Gh(a, t, r, o);
      yr(A.flags, 8) && ux(A, o);
    });
  },
  ux = function (e, t) {
    for (
      var r = e instanceof Rh ? e.start : 1,
        n = e instanceof Rh ? e.reversed : !1,
        A = 0;
      A < t.length;
      A++
    ) {
      var i = t[A];
      i.container instanceof zC &&
        typeof i.container.value == "number" &&
        i.container.value !== 0 &&
        (r = i.container.value),
        (i.listValue = a0(r, i.container.styles.listStyleType, !0)),
        (r += n ? -1 : 1);
    }
  },
  nte = function (e) {
    var t = new lx(e, null),
      r = new ox(t),
      n = [];
    return Gh(t, r, r, n), ux(t.container, n), r;
  },
  M7 = function (e, t) {
    switch (t) {
      case 0:
        return Kn(
          e.topLeftBorderBox,
          e.topLeftPaddingBox,
          e.topRightBorderBox,
          e.topRightPaddingBox,
        );
      case 1:
        return Kn(
          e.topRightBorderBox,
          e.topRightPaddingBox,
          e.bottomRightBorderBox,
          e.bottomRightPaddingBox,
        );
      case 2:
        return Kn(
          e.bottomRightBorderBox,
          e.bottomRightPaddingBox,
          e.bottomLeftBorderBox,
          e.bottomLeftPaddingBox,
        );
      case 3:
      default:
        return Kn(
          e.bottomLeftBorderBox,
          e.bottomLeftPaddingBox,
          e.topLeftBorderBox,
          e.topLeftPaddingBox,
        );
    }
  },
  Ate = function (e, t) {
    switch (t) {
      case 0:
        return Kn(
          e.topLeftBorderBox,
          e.topLeftBorderDoubleOuterBox,
          e.topRightBorderBox,
          e.topRightBorderDoubleOuterBox,
        );
      case 1:
        return Kn(
          e.topRightBorderBox,
          e.topRightBorderDoubleOuterBox,
          e.bottomRightBorderBox,
          e.bottomRightBorderDoubleOuterBox,
        );
      case 2:
        return Kn(
          e.bottomRightBorderBox,
          e.bottomRightBorderDoubleOuterBox,
          e.bottomLeftBorderBox,
          e.bottomLeftBorderDoubleOuterBox,
        );
      case 3:
      default:
        return Kn(
          e.bottomLeftBorderBox,
          e.bottomLeftBorderDoubleOuterBox,
          e.topLeftBorderBox,
          e.topLeftBorderDoubleOuterBox,
        );
    }
  },
  ite = function (e, t) {
    switch (t) {
      case 0:
        return Kn(
          e.topLeftBorderDoubleInnerBox,
          e.topLeftPaddingBox,
          e.topRightBorderDoubleInnerBox,
          e.topRightPaddingBox,
        );
      case 1:
        return Kn(
          e.topRightBorderDoubleInnerBox,
          e.topRightPaddingBox,
          e.bottomRightBorderDoubleInnerBox,
          e.bottomRightPaddingBox,
        );
      case 2:
        return Kn(
          e.bottomRightBorderDoubleInnerBox,
          e.bottomRightPaddingBox,
          e.bottomLeftBorderDoubleInnerBox,
          e.bottomLeftPaddingBox,
        );
      case 3:
      default:
        return Kn(
          e.bottomLeftBorderDoubleInnerBox,
          e.bottomLeftPaddingBox,
          e.topLeftBorderDoubleInnerBox,
          e.topLeftPaddingBox,
        );
    }
  },
  ste = function (e, t) {
    switch (t) {
      case 0:
        return Hu(e.topLeftBorderStroke, e.topRightBorderStroke);
      case 1:
        return Hu(e.topRightBorderStroke, e.bottomRightBorderStroke);
      case 2:
        return Hu(e.bottomRightBorderStroke, e.bottomLeftBorderStroke);
      case 3:
      default:
        return Hu(e.bottomLeftBorderStroke, e.topLeftBorderStroke);
    }
  },
  Hu = function (e, t) {
    var r = [];
    return (
      Nn(e) ? r.push(e.subdivide(0.5, !1)) : r.push(e),
      Nn(t) ? r.push(t.subdivide(0.5, !0)) : r.push(t),
      r
    );
  },
  Kn = function (e, t, r, n) {
    var A = [];
    return (
      Nn(e) ? A.push(e.subdivide(0.5, !1)) : A.push(e),
      Nn(r) ? A.push(r.subdivide(0.5, !0)) : A.push(r),
      Nn(n) ? A.push(n.subdivide(0.5, !0).reverse()) : A.push(n),
      Nn(t) ? A.push(t.subdivide(0.5, !1).reverse()) : A.push(t),
      A
    );
  },
  cx = function (e) {
    var t = e.bounds,
      r = e.styles;
    return t.add(
      r.borderLeftWidth,
      r.borderTopWidth,
      -(r.borderRightWidth + r.borderLeftWidth),
      -(r.borderTopWidth + r.borderBottomWidth),
    );
  },
  Ic = function (e) {
    var t = e.styles,
      r = e.bounds,
      n = Kt(t.paddingLeft, r.width),
      A = Kt(t.paddingRight, r.width),
      i = Kt(t.paddingTop, r.width),
      s = Kt(t.paddingBottom, r.width);
    return r.add(
      n + t.borderLeftWidth,
      i + t.borderTopWidth,
      -(t.borderRightWidth + t.borderLeftWidth + n + A),
      -(t.borderTopWidth + t.borderBottomWidth + i + s),
    );
  },
  ate = function (e, t) {
    return e === 0 ? t.bounds : e === 2 ? Ic(t) : cx(t);
  },
  ote = function (e, t) {
    return e === 0 ? t.bounds : e === 2 ? Ic(t) : cx(t);
  },
  a2 = function (e, t, r) {
    var n = ate(ka(e.styles.backgroundOrigin, t), e),
      A = ote(ka(e.styles.backgroundClip, t), e),
      i = lte(ka(e.styles.backgroundSize, t), r, n),
      s = i[0],
      a = i[1],
      o = gl(ka(e.styles.backgroundPosition, t), n.width - s, n.height - a),
      l = ute(ka(e.styles.backgroundRepeat, t), o, i, n, A),
      u = Math.round(n.left + o[0]),
      f = Math.round(n.top + o[1]);
    return [l, u, f, s, a];
  },
  Da = function (e) {
    return Mt(e) && e.value === Ya.AUTO;
  },
  Mu = function (e) {
    return typeof e == "number";
  },
  lte = function (e, t, r) {
    var n = t[0],
      A = t[1],
      i = t[2],
      s = e[0],
      a = e[1];
    if (!s) return [0, 0];
    if (cr(s) && a && cr(a)) return [Kt(s, r.width), Kt(a, r.height)];
    var o = Mu(i);
    if (Mt(s) && (s.value === Ya.CONTAIN || s.value === Ya.COVER)) {
      if (Mu(i)) {
        var l = r.width / r.height;
        return l < i != (s.value === Ya.COVER)
          ? [r.width, r.width / i]
          : [r.height * i, r.height];
      }
      return [r.width, r.height];
    }
    var u = Mu(n),
      f = Mu(A),
      d = u || f;
    if (Da(s) && (!a || Da(a))) {
      if (u && f) return [n, A];
      if (!o && !d) return [r.width, r.height];
      if (d && o) {
        var g = u ? n : A * i,
          v = f ? A : n / i;
        return [g, v];
      }
      var B = u ? n : r.width,
        y = f ? A : r.height;
      return [B, y];
    }
    if (o) {
      var w = 0,
        m = 0;
      return (
        cr(s) ? (w = Kt(s, r.width)) : cr(a) && (m = Kt(a, r.height)),
        Da(s) ? (w = m * i) : (!a || Da(a)) && (m = w / i),
        [w, m]
      );
    }
    var x = null,
      C = null;
    if (
      (cr(s) ? (x = Kt(s, r.width)) : a && cr(a) && (C = Kt(a, r.height)),
      x !== null && (!a || Da(a)) && (C = u && f ? (x / n) * A : r.height),
      C !== null && Da(s) && (x = u && f ? (C / A) * n : r.width),
      x !== null && C !== null)
    )
      return [x, C];
    throw new Error("Unable to calculate background-size for element");
  },
  ka = function (e, t) {
    var r = e[t];
    return typeof r > "u" ? e[0] : r;
  },
  ute = function (e, t, r, n, A) {
    var i = t[0],
      s = t[1],
      a = r[0],
      o = r[1];
    switch (e) {
      case 2:
        return [
          new je(Math.round(n.left), Math.round(n.top + s)),
          new je(Math.round(n.left + n.width), Math.round(n.top + s)),
          new je(Math.round(n.left + n.width), Math.round(o + n.top + s)),
          new je(Math.round(n.left), Math.round(o + n.top + s)),
        ];
      case 3:
        return [
          new je(Math.round(n.left + i), Math.round(n.top)),
          new je(Math.round(n.left + i + a), Math.round(n.top)),
          new je(Math.round(n.left + i + a), Math.round(n.height + n.top)),
          new je(Math.round(n.left + i), Math.round(n.height + n.top)),
        ];
      case 1:
        return [
          new je(Math.round(n.left + i), Math.round(n.top + s)),
          new je(Math.round(n.left + i + a), Math.round(n.top + s)),
          new je(Math.round(n.left + i + a), Math.round(n.top + s + o)),
          new je(Math.round(n.left + i), Math.round(n.top + s + o)),
        ];
      default:
        return [
          new je(Math.round(A.left), Math.round(A.top)),
          new je(Math.round(A.left + A.width), Math.round(A.top)),
          new je(Math.round(A.left + A.width), Math.round(A.height + A.top)),
          new je(Math.round(A.left), Math.round(A.height + A.top)),
        ];
    }
  },
  cte =
    "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
  R7 = "Hidden Text",
  fte = (function () {
    function e(t) {
      (this._data = {}), (this._document = t);
    }
    return (
      (e.prototype.parseMetrics = function (t, r) {
        var n = this._document.createElement("div"),
          A = this._document.createElement("img"),
          i = this._document.createElement("span"),
          s = this._document.body;
        (n.style.visibility = "hidden"),
          (n.style.fontFamily = t),
          (n.style.fontSize = r),
          (n.style.margin = "0"),
          (n.style.padding = "0"),
          (n.style.whiteSpace = "nowrap"),
          s.appendChild(n),
          (A.src = cte),
          (A.width = 1),
          (A.height = 1),
          (A.style.margin = "0"),
          (A.style.padding = "0"),
          (A.style.verticalAlign = "baseline"),
          (i.style.fontFamily = t),
          (i.style.fontSize = r),
          (i.style.margin = "0"),
          (i.style.padding = "0"),
          i.appendChild(this._document.createTextNode(R7)),
          n.appendChild(i),
          n.appendChild(A);
        var a = A.offsetTop - i.offsetTop + 2;
        n.removeChild(i),
          n.appendChild(this._document.createTextNode(R7)),
          (n.style.lineHeight = "normal"),
          (A.style.verticalAlign = "super");
        var o = A.offsetTop - n.offsetTop + 2;
        return s.removeChild(n), { baseline: a, middle: o };
      }),
      (e.prototype.getMetrics = function (t, r) {
        var n = t + " " + r;
        return (
          typeof this._data[n] > "u" &&
            (this._data[n] = this.parseMetrics(t, r)),
          this._data[n]
        );
      }),
      e
    );
  })(),
  fx = (function () {
    function e(t, r) {
      (this.context = t), (this.options = r);
    }
    return e;
  })(),
  dte = 1e4,
  hte = (function (e) {
    lA(t, e);
    function t(r, n) {
      var A = e.call(this, r, n) || this;
      return (
        (A._activeEffects = []),
        (A.canvas = n.canvas ? n.canvas : document.createElement("canvas")),
        (A.ctx = A.canvas.getContext("2d")),
        n.canvas ||
          ((A.canvas.width = Math.floor(n.width * n.scale)),
          (A.canvas.height = Math.floor(n.height * n.scale)),
          (A.canvas.style.width = n.width + "px"),
          (A.canvas.style.height = n.height + "px")),
        (A.fontMetrics = new fte(document)),
        A.ctx.scale(A.options.scale, A.options.scale),
        A.ctx.translate(-n.x, -n.y),
        (A.ctx.textBaseline = "bottom"),
        (A._activeEffects = []),
        A.context.logger.debug(
          "Canvas renderer initialized (" +
            n.width +
            "x" +
            n.height +
            ") with scale " +
            n.scale,
        ),
        A
      );
    }
    return (
      (t.prototype.applyEffects = function (r) {
        for (var n = this; this._activeEffects.length; ) this.popEffect();
        r.forEach(function (A) {
          return n.applyEffect(A);
        });
      }),
      (t.prototype.applyEffect = function (r) {
        this.ctx.save(),
          tte(r) && (this.ctx.globalAlpha = r.opacity),
          ete(r) &&
            (this.ctx.translate(r.offsetX, r.offsetY),
            this.ctx.transform(
              r.matrix[0],
              r.matrix[1],
              r.matrix[2],
              r.matrix[3],
              r.matrix[4],
              r.matrix[5],
            ),
            this.ctx.translate(-r.offsetX, -r.offsetY)),
          ax(r) && (this.path(r.path), this.ctx.clip()),
          this._activeEffects.push(r);
      }),
      (t.prototype.popEffect = function () {
        this._activeEffects.pop(), this.ctx.restore();
      }),
      (t.prototype.renderStack = function (r) {
        return en(this, void 0, void 0, function () {
          var n;
          return Wr(this, function (A) {
            switch (A.label) {
              case 0:
                return (
                  (n = r.element.container.styles),
                  n.isVisible() ? [4, this.renderStackContent(r)] : [3, 2]
                );
              case 1:
                A.sent(), (A.label = 2);
              case 2:
                return [2];
            }
          });
        });
      }),
      (t.prototype.renderNode = function (r) {
        return en(this, void 0, void 0, function () {
          return Wr(this, function (n) {
            switch (n.label) {
              case 0:
                if (yr(r.container.flags, 16)) debugger;
                return r.container.styles.isVisible()
                  ? [4, this.renderNodeBackgroundAndBorders(r)]
                  : [3, 3];
              case 1:
                return n.sent(), [4, this.renderNodeContent(r)];
              case 2:
                n.sent(), (n.label = 3);
              case 3:
                return [2];
            }
          });
        });
      }),
      (t.prototype.renderTextWithLetterSpacing = function (r, n, A) {
        var i = this;
        if (n === 0) this.ctx.fillText(r.text, r.bounds.left, r.bounds.top + A);
        else {
          var s = f5(r.text);
          s.reduce(function (a, o) {
            return (
              i.ctx.fillText(o, a, r.bounds.top + A),
              a + i.ctx.measureText(o).width
            );
          }, r.bounds.left);
        }
      }),
      (t.prototype.createFontStyle = function (r) {
        var n = r.fontVariant
            .filter(function (s) {
              return s === "normal" || s === "small-caps";
            })
            .join(""),
          A = Bte(r.fontFamily).join(", "),
          i = T0(r.fontSize)
            ? "" + r.fontSize.number + r.fontSize.unit
            : r.fontSize.number + "px";
        return [[r.fontStyle, n, r.fontWeight, i, A].join(" "), A, i];
      }),
      (t.prototype.renderTextNode = function (r, n) {
        return en(this, void 0, void 0, function () {
          var A,
            i,
            s,
            a,
            o,
            l,
            u,
            f,
            d = this;
          return Wr(this, function (g) {
            return (
              (A = this.createFontStyle(n)),
              (i = A[0]),
              (s = A[1]),
              (a = A[2]),
              (this.ctx.font = i),
              (this.ctx.direction = n.direction === 1 ? "rtl" : "ltr"),
              (this.ctx.textAlign = "left"),
              (this.ctx.textBaseline = "alphabetic"),
              (o = this.fontMetrics.getMetrics(s, a)),
              (l = o.baseline),
              (u = o.middle),
              (f = n.paintOrder),
              r.textBounds.forEach(function (v) {
                f.forEach(function (B) {
                  switch (B) {
                    case 0:
                      (d.ctx.fillStyle = Qr(n.color)),
                        d.renderTextWithLetterSpacing(v, n.letterSpacing, l);
                      var y = n.textShadow;
                      y.length &&
                        v.text.trim().length &&
                        (y
                          .slice(0)
                          .reverse()
                          .forEach(function (w) {
                            (d.ctx.shadowColor = Qr(w.color)),
                              (d.ctx.shadowOffsetX =
                                w.offsetX.number * d.options.scale),
                              (d.ctx.shadowOffsetY =
                                w.offsetY.number * d.options.scale),
                              (d.ctx.shadowBlur = w.blur.number),
                              d.renderTextWithLetterSpacing(
                                v,
                                n.letterSpacing,
                                l,
                              );
                          }),
                        (d.ctx.shadowColor = ""),
                        (d.ctx.shadowOffsetX = 0),
                        (d.ctx.shadowOffsetY = 0),
                        (d.ctx.shadowBlur = 0)),
                        n.textDecorationLine.length &&
                          ((d.ctx.fillStyle = Qr(
                            n.textDecorationColor || n.color,
                          )),
                          n.textDecorationLine.forEach(function (w) {
                            switch (w) {
                              case 1:
                                d.ctx.fillRect(
                                  v.bounds.left,
                                  Math.round(v.bounds.top + l),
                                  v.bounds.width,
                                  1,
                                );
                                break;
                              case 2:
                                d.ctx.fillRect(
                                  v.bounds.left,
                                  Math.round(v.bounds.top),
                                  v.bounds.width,
                                  1,
                                );
                                break;
                              case 3:
                                d.ctx.fillRect(
                                  v.bounds.left,
                                  Math.ceil(v.bounds.top + u),
                                  v.bounds.width,
                                  1,
                                );
                                break;
                            }
                          }));
                      break;
                    case 1:
                      n.webkitTextStrokeWidth &&
                        v.text.trim().length &&
                        ((d.ctx.strokeStyle = Qr(n.webkitTextStrokeColor)),
                        (d.ctx.lineWidth = n.webkitTextStrokeWidth),
                        (d.ctx.lineJoin = window.chrome ? "miter" : "round"),
                        d.ctx.strokeText(
                          v.text,
                          v.bounds.left,
                          v.bounds.top + l,
                        )),
                        d.ctx.stroke,
                        (d.ctx.lineWidth = 0),
                        (d.ctx.lineJoin = "miter");
                      break;
                  }
                });
              }),
              [2]
            );
          });
        });
      }),
      (t.prototype.renderReplacedElement = function (r, n, A) {
        if (A && r.intrinsicWidth > 0 && r.intrinsicHeight > 0) {
          var i = Ic(r),
            s = Tc(n);
          this.path(s),
            this.ctx.save(),
            this.ctx.clip(),
            this.ctx.drawImage(
              A,
              0,
              0,
              r.intrinsicWidth,
              r.intrinsicHeight,
              i.left,
              i.top,
              i.width,
              i.height,
            ),
            this.ctx.restore();
        }
      }),
      (t.prototype.renderNodeContent = function (r) {
        return en(this, void 0, void 0, function () {
          var n,
            A,
            i,
            s,
            a,
            o,
            m,
            m,
            l,
            u,
            f,
            d,
            C,
            g,
            v,
            b,
            B,
            y,
            w,
            m,
            x,
            C,
            b;
          return Wr(this, function (F) {
            switch (F.label) {
              case 0:
                this.applyEffects(r.getEffects(4)),
                  (n = r.container),
                  (A = r.curves),
                  (i = n.styles),
                  (s = 0),
                  (a = n.textNodes),
                  (F.label = 1);
              case 1:
                return s < a.length
                  ? ((o = a[s]), [4, this.renderTextNode(o, i)])
                  : [3, 4];
              case 2:
                F.sent(), (F.label = 3);
              case 3:
                return s++, [3, 1];
              case 4:
                if (!(n instanceof VC)) return [3, 8];
                F.label = 5;
              case 5:
                return (
                  F.trys.push([5, 7, , 8]), [4, this.context.cache.match(n.src)]
                );
              case 6:
                return (
                  (m = F.sent()), this.renderReplacedElement(n, A, m), [3, 8]
                );
              case 7:
                return (
                  F.sent(),
                  this.context.logger.error("Error loading image " + n.src),
                  [3, 8]
                );
              case 8:
                if (
                  (n instanceof GC &&
                    this.renderReplacedElement(n, A, n.canvas),
                  !(n instanceof WC))
                )
                  return [3, 12];
                F.label = 9;
              case 9:
                return (
                  F.trys.push([9, 11, , 12]),
                  [4, this.context.cache.match(n.svg)]
                );
              case 10:
                return (
                  (m = F.sent()), this.renderReplacedElement(n, A, m), [3, 12]
                );
              case 11:
                return (
                  F.sent(),
                  this.context.logger.error(
                    "Error loading svg " + n.svg.substring(0, 255),
                  ),
                  [3, 12]
                );
              case 12:
                return n instanceof XC && n.tree
                  ? ((l = new t(this.context, {
                      scale: this.options.scale,
                      backgroundColor: n.backgroundColor,
                      x: 0,
                      y: 0,
                      width: n.width,
                      height: n.height,
                    })),
                    [4, l.render(n.tree)])
                  : [3, 14];
              case 13:
                (u = F.sent()),
                  n.width &&
                    n.height &&
                    this.ctx.drawImage(
                      u,
                      0,
                      0,
                      n.width,
                      n.height,
                      n.bounds.left,
                      n.bounds.top,
                      n.bounds.width,
                      n.bounds.height,
                    ),
                  (F.label = 14);
              case 14:
                if (
                  (n instanceof d5 &&
                    ((f = Math.min(n.bounds.width, n.bounds.height)),
                    n.type === Fc
                      ? n.checked &&
                        (this.ctx.save(),
                        this.path([
                          new je(
                            n.bounds.left + f * 0.39363,
                            n.bounds.top + f * 0.79,
                          ),
                          new je(
                            n.bounds.left + f * 0.16,
                            n.bounds.top + f * 0.5549,
                          ),
                          new je(
                            n.bounds.left + f * 0.27347,
                            n.bounds.top + f * 0.44071,
                          ),
                          new je(
                            n.bounds.left + f * 0.39694,
                            n.bounds.top + f * 0.5649,
                          ),
                          new je(
                            n.bounds.left + f * 0.72983,
                            n.bounds.top + f * 0.23,
                          ),
                          new je(
                            n.bounds.left + f * 0.84,
                            n.bounds.top + f * 0.34085,
                          ),
                          new je(
                            n.bounds.left + f * 0.39363,
                            n.bounds.top + f * 0.79,
                          ),
                        ]),
                        (this.ctx.fillStyle = Qr(_7)),
                        this.ctx.fill(),
                        this.ctx.restore())
                      : n.type === _c &&
                        n.checked &&
                        (this.ctx.save(),
                        this.ctx.beginPath(),
                        this.ctx.arc(
                          n.bounds.left + f / 2,
                          n.bounds.top + f / 2,
                          f / 4,
                          0,
                          Math.PI * 2,
                          !0,
                        ),
                        (this.ctx.fillStyle = Qr(_7)),
                        this.ctx.fill(),
                        this.ctx.restore())),
                  pte(n) && n.value.length)
                ) {
                  switch (
                    ((d = this.createFontStyle(i)),
                    (C = d[0]),
                    (g = d[1]),
                    (v = this.fontMetrics.getMetrics(C, g).baseline),
                    (this.ctx.font = C),
                    (this.ctx.fillStyle = Qr(i.color)),
                    (this.ctx.textBaseline = "alphabetic"),
                    (this.ctx.textAlign = vte(n.styles.textAlign)),
                    (b = Ic(n)),
                    (B = 0),
                    n.styles.textAlign)
                  ) {
                    case 1:
                      B += b.width / 2;
                      break;
                    case 2:
                      B += b.width;
                      break;
                  }
                  (y = b.add(B, 0, 0, -b.height / 2 + 1)),
                    this.ctx.save(),
                    this.path([
                      new je(b.left, b.top),
                      new je(b.left + b.width, b.top),
                      new je(b.left + b.width, b.top + b.height),
                      new je(b.left, b.top + b.height),
                    ]),
                    this.ctx.clip(),
                    this.renderTextWithLetterSpacing(
                      new Hl(n.value, y),
                      i.letterSpacing,
                      v,
                    ),
                    this.ctx.restore(),
                    (this.ctx.textBaseline = "alphabetic"),
                    (this.ctx.textAlign = "left");
                }
                if (!yr(n.styles.display, 2048)) return [3, 20];
                if (n.styles.listStyleImage === null) return [3, 19];
                if (((w = n.styles.listStyleImage), w.type !== 0))
                  return [3, 18];
                (m = void 0), (x = w.url), (F.label = 15);
              case 15:
                return (
                  F.trys.push([15, 17, , 18]), [4, this.context.cache.match(x)]
                );
              case 16:
                return (
                  (m = F.sent()),
                  this.ctx.drawImage(
                    m,
                    n.bounds.left - (m.width + 10),
                    n.bounds.top,
                  ),
                  [3, 18]
                );
              case 17:
                return (
                  F.sent(),
                  this.context.logger.error(
                    "Error loading list-style-image " + x,
                  ),
                  [3, 18]
                );
              case 18:
                return [3, 20];
              case 19:
                r.listValue &&
                  n.styles.listStyleType !== -1 &&
                  ((C = this.createFontStyle(i)[0]),
                  (this.ctx.font = C),
                  (this.ctx.fillStyle = Qr(i.color)),
                  (this.ctx.textBaseline = "middle"),
                  (this.ctx.textAlign = "right"),
                  (b = new oi(
                    n.bounds.left,
                    n.bounds.top + Kt(n.styles.paddingTop, n.bounds.width),
                    n.bounds.width,
                    u7(i.lineHeight, i.fontSize.number) / 2 + 1,
                  )),
                  this.renderTextWithLetterSpacing(
                    new Hl(r.listValue, b),
                    i.letterSpacing,
                    u7(i.lineHeight, i.fontSize.number) / 2 + 2,
                  ),
                  (this.ctx.textBaseline = "bottom"),
                  (this.ctx.textAlign = "left")),
                  (F.label = 20);
              case 20:
                return [2];
            }
          });
        });
      }),
      (t.prototype.renderStackContent = function (r) {
        return en(this, void 0, void 0, function () {
          var n, A, w, i, s, w, a, o, w, l, u, w, f, d, w, g, v, w, B, y, w;
          return Wr(this, function (m) {
            switch (m.label) {
              case 0:
                if (yr(r.element.container.flags, 16)) debugger;
                return [4, this.renderNodeBackgroundAndBorders(r.element)];
              case 1:
                m.sent(), (n = 0), (A = r.negativeZIndex), (m.label = 2);
              case 2:
                return n < A.length
                  ? ((w = A[n]), [4, this.renderStack(w)])
                  : [3, 5];
              case 3:
                m.sent(), (m.label = 4);
              case 4:
                return n++, [3, 2];
              case 5:
                return [4, this.renderNodeContent(r.element)];
              case 6:
                m.sent(), (i = 0), (s = r.nonInlineLevel), (m.label = 7);
              case 7:
                return i < s.length
                  ? ((w = s[i]), [4, this.renderNode(w)])
                  : [3, 10];
              case 8:
                m.sent(), (m.label = 9);
              case 9:
                return i++, [3, 7];
              case 10:
                (a = 0), (o = r.nonPositionedFloats), (m.label = 11);
              case 11:
                return a < o.length
                  ? ((w = o[a]), [4, this.renderStack(w)])
                  : [3, 14];
              case 12:
                m.sent(), (m.label = 13);
              case 13:
                return a++, [3, 11];
              case 14:
                (l = 0), (u = r.nonPositionedInlineLevel), (m.label = 15);
              case 15:
                return l < u.length
                  ? ((w = u[l]), [4, this.renderStack(w)])
                  : [3, 18];
              case 16:
                m.sent(), (m.label = 17);
              case 17:
                return l++, [3, 15];
              case 18:
                (f = 0), (d = r.inlineLevel), (m.label = 19);
              case 19:
                return f < d.length
                  ? ((w = d[f]), [4, this.renderNode(w)])
                  : [3, 22];
              case 20:
                m.sent(), (m.label = 21);
              case 21:
                return f++, [3, 19];
              case 22:
                (g = 0),
                  (v = r.zeroOrAutoZIndexOrTransformedOrOpacity),
                  (m.label = 23);
              case 23:
                return g < v.length
                  ? ((w = v[g]), [4, this.renderStack(w)])
                  : [3, 26];
              case 24:
                m.sent(), (m.label = 25);
              case 25:
                return g++, [3, 23];
              case 26:
                (B = 0), (y = r.positiveZIndex), (m.label = 27);
              case 27:
                return B < y.length
                  ? ((w = y[B]), [4, this.renderStack(w)])
                  : [3, 30];
              case 28:
                m.sent(), (m.label = 29);
              case 29:
                return B++, [3, 27];
              case 30:
                return [2];
            }
          });
        });
      }),
      (t.prototype.mask = function (r) {
        this.ctx.beginPath(),
          this.ctx.moveTo(0, 0),
          this.ctx.lineTo(this.canvas.width, 0),
          this.ctx.lineTo(this.canvas.width, this.canvas.height),
          this.ctx.lineTo(0, this.canvas.height),
          this.ctx.lineTo(0, 0),
          this.formatPath(r.slice(0).reverse()),
          this.ctx.closePath();
      }),
      (t.prototype.path = function (r) {
        this.ctx.beginPath(), this.formatPath(r), this.ctx.closePath();
      }),
      (t.prototype.formatPath = function (r) {
        var n = this;
        r.forEach(function (A, i) {
          var s = Nn(A) ? A.start : A;
          i === 0 ? n.ctx.moveTo(s.x, s.y) : n.ctx.lineTo(s.x, s.y),
            Nn(A) &&
              n.ctx.bezierCurveTo(
                A.startControl.x,
                A.startControl.y,
                A.endControl.x,
                A.endControl.y,
                A.end.x,
                A.end.y,
              );
        });
      }),
      (t.prototype.renderRepeat = function (r, n, A, i) {
        this.path(r),
          (this.ctx.fillStyle = n),
          this.ctx.translate(A, i),
          this.ctx.fill(),
          this.ctx.translate(-A, -i);
      }),
      (t.prototype.resizeImage = function (r, n, A) {
        var i;
        if (r.width === n && r.height === A) return r;
        var s =
            (i = this.canvas.ownerDocument) !== null && i !== void 0
              ? i
              : document,
          a = s.createElement("canvas");
        (a.width = Math.max(1, n)), (a.height = Math.max(1, A));
        var o = a.getContext("2d");
        return o.drawImage(r, 0, 0, r.width, r.height, 0, 0, n, A), a;
      }),
      (t.prototype.renderBackgroundImage = function (r) {
        return en(this, void 0, void 0, function () {
          var n, A, i, s, a, o;
          return Wr(this, function (l) {
            switch (l.label) {
              case 0:
                (n = r.styles.backgroundImage.length - 1),
                  (A = function (u) {
                    var f,
                      d,
                      g,
                      U,
                      G,
                      le,
                      $,
                      X,
                      T,
                      v,
                      U,
                      G,
                      le,
                      $,
                      X,
                      B,
                      y,
                      w,
                      m,
                      x,
                      C,
                      b,
                      F,
                      I,
                      T,
                      D,
                      U,
                      Q,
                      L,
                      $,
                      X,
                      V,
                      G,
                      le,
                      q,
                      ue,
                      Ce,
                      ee,
                      ce,
                      ve,
                      xe,
                      se;
                    return Wr(this, function (Fe) {
                      switch (Fe.label) {
                        case 0:
                          if (u.type !== 0) return [3, 5];
                          (f = void 0), (d = u.url), (Fe.label = 1);
                        case 1:
                          return (
                            Fe.trys.push([1, 3, , 4]),
                            [4, i.context.cache.match(d)]
                          );
                        case 2:
                          return (f = Fe.sent()), [3, 4];
                        case 3:
                          return (
                            Fe.sent(),
                            i.context.logger.error(
                              "Error loading background-image " + d,
                            ),
                            [3, 4]
                          );
                        case 4:
                          return (
                            f &&
                              ((g = a2(r, n, [
                                f.width,
                                f.height,
                                f.width / f.height,
                              ])),
                              (U = g[0]),
                              (G = g[1]),
                              (le = g[2]),
                              ($ = g[3]),
                              (X = g[4]),
                              (T = i.ctx.createPattern(
                                i.resizeImage(f, $, X),
                                "repeat",
                              )),
                              i.renderRepeat(U, T, G, le)),
                            [3, 6]
                          );
                        case 5:
                          eq(u)
                            ? ((v = a2(r, n, [null, null, null])),
                              (U = v[0]),
                              (G = v[1]),
                              (le = v[2]),
                              ($ = v[3]),
                              (X = v[4]),
                              (B = YJ(u.angle, $, X)),
                              (y = B[0]),
                              (w = B[1]),
                              (m = B[2]),
                              (x = B[3]),
                              (C = B[4]),
                              (b = document.createElement("canvas")),
                              (b.width = $),
                              (b.height = X),
                              (F = b.getContext("2d")),
                              (I = F.createLinearGradient(w, x, m, C)),
                              o7(u.stops, y).forEach(function (ie) {
                                return I.addColorStop(ie.stop, Qr(ie.color));
                              }),
                              (F.fillStyle = I),
                              F.fillRect(0, 0, $, X),
                              $ > 0 &&
                                X > 0 &&
                                ((T = i.ctx.createPattern(b, "repeat")),
                                i.renderRepeat(U, T, G, le)))
                            : tq(u) &&
                              ((D = a2(r, n, [null, null, null])),
                              (U = D[0]),
                              (Q = D[1]),
                              (L = D[2]),
                              ($ = D[3]),
                              (X = D[4]),
                              (V = u.position.length === 0 ? [l5] : u.position),
                              (G = Kt(V[0], $)),
                              (le = Kt(V[V.length - 1], X)),
                              (q = XJ(u, G, le, $, X)),
                              (ue = q[0]),
                              (Ce = q[1]),
                              ue > 0 &&
                                Ce > 0 &&
                                ((ee = i.ctx.createRadialGradient(
                                  Q + G,
                                  L + le,
                                  0,
                                  Q + G,
                                  L + le,
                                  ue,
                                )),
                                o7(u.stops, ue * 2).forEach(function (ie) {
                                  return ee.addColorStop(ie.stop, Qr(ie.color));
                                }),
                                i.path(U),
                                (i.ctx.fillStyle = ee),
                                ue !== Ce
                                  ? ((ce =
                                      r.bounds.left + 0.5 * r.bounds.width),
                                    (ve = r.bounds.top + 0.5 * r.bounds.height),
                                    (xe = Ce / ue),
                                    (se = 1 / xe),
                                    i.ctx.save(),
                                    i.ctx.translate(ce, ve),
                                    i.ctx.transform(1, 0, 0, xe, 0, 0),
                                    i.ctx.translate(-ce, -ve),
                                    i.ctx.fillRect(
                                      Q,
                                      se * (L - ve) + ve,
                                      $,
                                      X * se,
                                    ),
                                    i.ctx.restore())
                                  : i.ctx.fill())),
                            (Fe.label = 6);
                        case 6:
                          return n--, [2];
                      }
                    });
                  }),
                  (i = this),
                  (s = 0),
                  (a = r.styles.backgroundImage.slice(0).reverse()),
                  (l.label = 1);
              case 1:
                return s < a.length ? ((o = a[s]), [5, A(o)]) : [3, 4];
              case 2:
                l.sent(), (l.label = 3);
              case 3:
                return s++, [3, 1];
              case 4:
                return [2];
            }
          });
        });
      }),
      (t.prototype.renderSolidBorder = function (r, n, A) {
        return en(this, void 0, void 0, function () {
          return Wr(this, function (i) {
            return (
              this.path(M7(A, n)),
              (this.ctx.fillStyle = Qr(r)),
              this.ctx.fill(),
              [2]
            );
          });
        });
      }),
      (t.prototype.renderDoubleBorder = function (r, n, A, i) {
        return en(this, void 0, void 0, function () {
          var s, a;
          return Wr(this, function (o) {
            switch (o.label) {
              case 0:
                return n < 3 ? [4, this.renderSolidBorder(r, A, i)] : [3, 2];
              case 1:
                return o.sent(), [2];
              case 2:
                return (
                  (s = Ate(i, A)),
                  this.path(s),
                  (this.ctx.fillStyle = Qr(r)),
                  this.ctx.fill(),
                  (a = ite(i, A)),
                  this.path(a),
                  this.ctx.fill(),
                  [2]
                );
            }
          });
        });
      }),
      (t.prototype.renderNodeBackgroundAndBorders = function (r) {
        return en(this, void 0, void 0, function () {
          var n,
            A,
            i,
            s,
            a,
            o,
            l,
            u,
            f = this;
          return Wr(this, function (d) {
            switch (d.label) {
              case 0:
                return (
                  this.applyEffects(r.getEffects(2)),
                  (n = r.container.styles),
                  (A = !Zi(n.backgroundColor) || n.backgroundImage.length),
                  (i = [
                    {
                      style: n.borderTopStyle,
                      color: n.borderTopColor,
                      width: n.borderTopWidth,
                    },
                    {
                      style: n.borderRightStyle,
                      color: n.borderRightColor,
                      width: n.borderRightWidth,
                    },
                    {
                      style: n.borderBottomStyle,
                      color: n.borderBottomColor,
                      width: n.borderBottomWidth,
                    },
                    {
                      style: n.borderLeftStyle,
                      color: n.borderLeftColor,
                      width: n.borderLeftWidth,
                    },
                  ]),
                  (s = gte(ka(n.backgroundClip, 0), r.curves)),
                  A || n.boxShadow.length
                    ? (this.ctx.save(),
                      this.path(s),
                      this.ctx.clip(),
                      Zi(n.backgroundColor) ||
                        ((this.ctx.fillStyle = Qr(n.backgroundColor)),
                        this.ctx.fill()),
                      [4, this.renderBackgroundImage(r.container)])
                    : [3, 2]
                );
              case 1:
                d.sent(),
                  this.ctx.restore(),
                  n.boxShadow
                    .slice(0)
                    .reverse()
                    .forEach(function (g) {
                      f.ctx.save();
                      var v = Uc(r.curves),
                        B = g.inset ? 0 : dte,
                        y = rte(
                          v,
                          -B + (g.inset ? 1 : -1) * g.spread.number,
                          (g.inset ? 1 : -1) * g.spread.number,
                          g.spread.number * (g.inset ? -2 : 2),
                          g.spread.number * (g.inset ? -2 : 2),
                        );
                      g.inset
                        ? (f.path(v), f.ctx.clip(), f.mask(y))
                        : (f.mask(v), f.ctx.clip(), f.path(y)),
                        (f.ctx.shadowOffsetX = g.offsetX.number + B),
                        (f.ctx.shadowOffsetY = g.offsetY.number),
                        (f.ctx.shadowColor = Qr(g.color)),
                        (f.ctx.shadowBlur = g.blur.number),
                        (f.ctx.fillStyle = g.inset
                          ? Qr(g.color)
                          : "rgba(0,0,0,1)"),
                        f.ctx.fill(),
                        f.ctx.restore();
                    }),
                  (d.label = 2);
              case 2:
                (a = 0), (o = 0), (l = i), (d.label = 3);
              case 3:
                return o < l.length
                  ? ((u = l[o]),
                    u.style !== 0 && !Zi(u.color) && u.width > 0
                      ? u.style !== 2
                        ? [3, 5]
                        : [
                            4,
                            this.renderDashedDottedBorder(
                              u.color,
                              u.width,
                              a,
                              r.curves,
                              2,
                            ),
                          ]
                      : [3, 11])
                  : [3, 13];
              case 4:
                return d.sent(), [3, 11];
              case 5:
                return u.style !== 3
                  ? [3, 7]
                  : [
                      4,
                      this.renderDashedDottedBorder(
                        u.color,
                        u.width,
                        a,
                        r.curves,
                        3,
                      ),
                    ];
              case 6:
                return d.sent(), [3, 11];
              case 7:
                return u.style !== 4
                  ? [3, 9]
                  : [4, this.renderDoubleBorder(u.color, u.width, a, r.curves)];
              case 8:
                return d.sent(), [3, 11];
              case 9:
                return [4, this.renderSolidBorder(u.color, a, r.curves)];
              case 10:
                d.sent(), (d.label = 11);
              case 11:
                a++, (d.label = 12);
              case 12:
                return o++, [3, 3];
              case 13:
                return [2];
            }
          });
        });
      }),
      (t.prototype.renderDashedDottedBorder = function (r, n, A, i, s) {
        return en(this, void 0, void 0, function () {
          var a, o, l, u, f, d, g, v, B, y, w, m, x, C, b, F, b, F;
          return Wr(this, function (I) {
            return (
              this.ctx.save(),
              (a = ste(i, A)),
              (o = M7(i, A)),
              s === 2 && (this.path(o), this.ctx.clip()),
              Nn(o[0])
                ? ((l = o[0].start.x), (u = o[0].start.y))
                : ((l = o[0].x), (u = o[0].y)),
              Nn(o[1])
                ? ((f = o[1].end.x), (d = o[1].end.y))
                : ((f = o[1].x), (d = o[1].y)),
              A === 0 || A === 2
                ? (g = Math.abs(l - f))
                : (g = Math.abs(u - d)),
              this.ctx.beginPath(),
              s === 3 ? this.formatPath(a) : this.formatPath(o.slice(0, 2)),
              (v = n < 3 ? n * 3 : n * 2),
              (B = n < 3 ? n * 2 : n),
              s === 3 && ((v = n), (B = n)),
              (y = !0),
              g <= v * 2
                ? (y = !1)
                : g <= v * 2 + B
                  ? ((w = g / (2 * v + B)), (v *= w), (B *= w))
                  : ((m = Math.floor((g + B) / (v + B))),
                    (x = (g - m * v) / (m - 1)),
                    (C = (g - (m + 1) * v) / m),
                    (B = C <= 0 || Math.abs(B - x) < Math.abs(B - C) ? x : C)),
              y &&
                (s === 3
                  ? this.ctx.setLineDash([0, v + B])
                  : this.ctx.setLineDash([v, B])),
              s === 3
                ? ((this.ctx.lineCap = "round"), (this.ctx.lineWidth = n))
                : (this.ctx.lineWidth = n * 2 + 1.1),
              (this.ctx.strokeStyle = Qr(r)),
              this.ctx.stroke(),
              this.ctx.setLineDash([]),
              s === 2 &&
                (Nn(o[0]) &&
                  ((b = o[3]),
                  (F = o[0]),
                  this.ctx.beginPath(),
                  this.formatPath([
                    new je(b.end.x, b.end.y),
                    new je(F.start.x, F.start.y),
                  ]),
                  this.ctx.stroke()),
                Nn(o[1]) &&
                  ((b = o[1]),
                  (F = o[2]),
                  this.ctx.beginPath(),
                  this.formatPath([
                    new je(b.end.x, b.end.y),
                    new je(F.start.x, F.start.y),
                  ]),
                  this.ctx.stroke())),
              this.ctx.restore(),
              [2]
            );
          });
        });
      }),
      (t.prototype.render = function (r) {
        return en(this, void 0, void 0, function () {
          var n;
          return Wr(this, function (A) {
            switch (A.label) {
              case 0:
                return (
                  this.options.backgroundColor &&
                    ((this.ctx.fillStyle = Qr(this.options.backgroundColor)),
                    this.ctx.fillRect(
                      this.options.x,
                      this.options.y,
                      this.options.width,
                      this.options.height,
                    )),
                  (n = nte(r)),
                  [4, this.renderStack(n)]
                );
              case 1:
                return A.sent(), this.applyEffects([]), [2, this.canvas];
            }
          });
        });
      }),
      t
    );
  })(fx),
  pte = function (e) {
    return e instanceof YC || e instanceof jC
      ? !0
      : e instanceof d5 && e.type !== _c && e.type !== Fc;
  },
  gte = function (e, t) {
    switch (e) {
      case 0:
        return Uc(t);
      case 2:
        return Jee(t);
      case 1:
      default:
        return Tc(t);
    }
  },
  vte = function (e) {
    switch (e) {
      case 1:
        return "center";
      case 2:
        return "right";
      case 0:
      default:
        return "left";
    }
  },
  mte = ["-apple-system", "system-ui"],
  Bte = function (e) {
    return /iPhone OS 15_(0|1)/.test(window.navigator.userAgent)
      ? e.filter(function (t) {
          return mte.indexOf(t) === -1;
        })
      : e;
  },
  wte = (function (e) {
    lA(t, e);
    function t(r, n) {
      var A = e.call(this, r, n) || this;
      return (
        (A.canvas = n.canvas ? n.canvas : document.createElement("canvas")),
        (A.ctx = A.canvas.getContext("2d")),
        (A.options = n),
        (A.canvas.width = Math.floor(n.width * n.scale)),
        (A.canvas.height = Math.floor(n.height * n.scale)),
        (A.canvas.style.width = n.width + "px"),
        (A.canvas.style.height = n.height + "px"),
        A.ctx.scale(A.options.scale, A.options.scale),
        A.ctx.translate(-n.x, -n.y),
        A.context.logger.debug(
          "EXPERIMENTAL ForeignObject renderer initialized (" +
            n.width +
            "x" +
            n.height +
            " at " +
            n.x +
            "," +
            n.y +
            ") with scale " +
            n.scale,
        ),
        A
      );
    }
    return (
      (t.prototype.render = function (r) {
        return en(this, void 0, void 0, function () {
          var n, A;
          return Wr(this, function (i) {
            switch (i.label) {
              case 0:
                return (
                  (n = Mh(
                    this.options.width * this.options.scale,
                    this.options.height * this.options.scale,
                    this.options.scale,
                    this.options.scale,
                    r,
                  )),
                  [4, yte(n)]
                );
              case 1:
                return (
                  (A = i.sent()),
                  this.options.backgroundColor &&
                    ((this.ctx.fillStyle = Qr(this.options.backgroundColor)),
                    this.ctx.fillRect(
                      0,
                      0,
                      this.options.width * this.options.scale,
                      this.options.height * this.options.scale,
                    )),
                  this.ctx.drawImage(
                    A,
                    -this.options.x * this.options.scale,
                    -this.options.y * this.options.scale,
                  ),
                  [2, this.canvas]
                );
            }
          });
        });
      }),
      t
    );
  })(fx),
  yte = function (e) {
    return new Promise(function (t, r) {
      var n = new Image();
      (n.onload = function () {
        t(n);
      }),
        (n.onerror = r),
        (n.src =
          "data:image/svg+xml;charset=utf-8," +
          encodeURIComponent(new XMLSerializer().serializeToString(e)));
    });
  },
  Cte = (function () {
    function e(t) {
      var r = t.id,
        n = t.enabled;
      (this.id = r), (this.enabled = n), (this.start = Date.now());
    }
    return (
      (e.prototype.debug = function () {
        for (var t = [], r = 0; r < arguments.length; r++) t[r] = arguments[r];
        this.enabled &&
          (typeof window < "u" &&
          window.console &&
          typeof console.debug == "function"
            ? console.debug.apply(
                console,
                vu([this.id, this.getTime() + "ms"], t),
              )
            : this.info.apply(this, t));
      }),
      (e.prototype.getTime = function () {
        return Date.now() - this.start;
      }),
      (e.prototype.info = function () {
        for (var t = [], r = 0; r < arguments.length; r++) t[r] = arguments[r];
        this.enabled &&
          typeof window < "u" &&
          window.console &&
          typeof console.info == "function" &&
          console.info.apply(console, vu([this.id, this.getTime() + "ms"], t));
      }),
      (e.prototype.warn = function () {
        for (var t = [], r = 0; r < arguments.length; r++) t[r] = arguments[r];
        this.enabled &&
          (typeof window < "u" &&
          window.console &&
          typeof console.warn == "function"
            ? console.warn.apply(
                console,
                vu([this.id, this.getTime() + "ms"], t),
              )
            : this.info.apply(this, t));
      }),
      (e.prototype.error = function () {
        for (var t = [], r = 0; r < arguments.length; r++) t[r] = arguments[r];
        this.enabled &&
          (typeof window < "u" &&
          window.console &&
          typeof console.error == "function"
            ? console.error.apply(
                console,
                vu([this.id, this.getTime() + "ms"], t),
              )
            : this.info.apply(this, t));
      }),
      (e.instances = {}),
      e
    );
  })(),
  xte = (function () {
    function e(t, r) {
      var n;
      (this.windowBounds = r),
        (this.instanceName = "#" + e.instanceCount++),
        (this.logger = new Cte({ id: this.instanceName, enabled: t.logging })),
        (this.cache =
          (n = t.cache) !== null && n !== void 0 ? n : new Kee(this, t));
    }
    return (e.instanceCount = 1), e;
  })(),
  vne = function (e, t) {
    return t === void 0 && (t = {}), Ete(e, t);
  };
typeof window < "u" && sx.setContext(window);
var Ete = function (e, t) {
    return en(void 0, void 0, void 0, function () {
      var r,
        n,
        A,
        i,
        s,
        a,
        o,
        l,
        u,
        f,
        d,
        g,
        v,
        B,
        y,
        w,
        m,
        x,
        C,
        b,
        I,
        F,
        I,
        T,
        D,
        U,
        Q,
        L,
        $,
        X,
        V,
        G,
        le,
        q,
        ue,
        Ce,
        ee,
        ce,
        ve,
        xe;
      return Wr(this, function (se) {
        switch (se.label) {
          case 0:
            if (!e || typeof e != "object")
              return [
                2,
                Promise.reject("Invalid element provided as first argument"),
              ];
            if (((r = e.ownerDocument), !r))
              throw new Error("Element is not attached to a Document");
            if (((n = r.defaultView), !n))
              throw new Error("Document is not attached to a Window");
            return (
              (A = {
                allowTaint:
                  (T = t.allowTaint) !== null && T !== void 0 ? T : !1,
                imageTimeout:
                  (D = t.imageTimeout) !== null && D !== void 0 ? D : 15e3,
                proxy: t.proxy,
                useCORS: (U = t.useCORS) !== null && U !== void 0 ? U : !1,
              }),
              (i = Eh(
                {
                  logging: (Q = t.logging) !== null && Q !== void 0 ? Q : !0,
                  cache: t.cache,
                },
                A,
              )),
              (s = {
                windowWidth:
                  (L = t.windowWidth) !== null && L !== void 0
                    ? L
                    : n.innerWidth,
                windowHeight:
                  ($ = t.windowHeight) !== null && $ !== void 0
                    ? $
                    : n.innerHeight,
                scrollX:
                  (X = t.scrollX) !== null && X !== void 0 ? X : n.pageXOffset,
                scrollY:
                  (V = t.scrollY) !== null && V !== void 0 ? V : n.pageYOffset,
              }),
              (a = new oi(s.scrollX, s.scrollY, s.windowWidth, s.windowHeight)),
              (o = new xte(i, a)),
              (l =
                (G = t.foreignObjectRendering) !== null && G !== void 0
                  ? G
                  : !1),
              (u = {
                allowTaint:
                  (le = t.allowTaint) !== null && le !== void 0 ? le : !1,
                onclone: t.onclone,
                ignoreElements: t.ignoreElements,
                inlineImages: l,
                copyStyles: l,
              }),
              o.logger.debug(
                "Starting document clone with size " +
                  a.width +
                  "x" +
                  a.height +
                  " scrolled to " +
                  -a.left +
                  "," +
                  -a.top,
              ),
              (f = new L7(o, e, u)),
              (d = f.clonedReferenceElement),
              d
                ? [4, f.toIFrame(r, a)]
                : [2, Promise.reject("Unable to find element in cloned iframe")]
            );
          case 1:
            return (
              (g = se.sent()),
              (v = h5(d) || Fee(d) ? rX(d.ownerDocument) : Mf(o, d)),
              (B = v.width),
              (y = v.height),
              (w = v.left),
              (m = v.top),
              (x = bte(o, d, t.backgroundColor)),
              (C = {
                canvas: t.canvas,
                backgroundColor: x,
                scale:
                  (ue =
                    (q = t.scale) !== null && q !== void 0
                      ? q
                      : n.devicePixelRatio) !== null && ue !== void 0
                    ? ue
                    : 1,
                x: ((Ce = t.x) !== null && Ce !== void 0 ? Ce : 0) + w,
                y: ((ee = t.y) !== null && ee !== void 0 ? ee : 0) + m,
                width:
                  (ce = t.width) !== null && ce !== void 0 ? ce : Math.ceil(B),
                height:
                  (ve = t.height) !== null && ve !== void 0 ? ve : Math.ceil(y),
              }),
              l
                ? (o.logger.debug(
                    "Document cloned, using foreign object rendering",
                  ),
                  (I = new wte(o, C)),
                  [4, I.render(d)])
                : [3, 3]
            );
          case 2:
            return (b = se.sent()), [3, 5];
          case 3:
            return (
              o.logger.debug(
                "Document cloned, element located at " +
                  w +
                  "," +
                  m +
                  " with size " +
                  B +
                  "x" +
                  y +
                  " using computed rendering",
              ),
              o.logger.debug("Starting DOM parsing"),
              (F = qC(o, d)),
              x === F.styles.backgroundColor &&
                (F.styles.backgroundColor = ti.TRANSPARENT),
              o.logger.debug(
                "Starting renderer for element at " +
                  C.x +
                  "," +
                  C.y +
                  " with size " +
                  C.width +
                  "x" +
                  C.height,
              ),
              (I = new hte(o, C)),
              [4, I.render(F)]
            );
          case 4:
            (b = se.sent()), (se.label = 5);
          case 5:
            return (
              (!((xe = t.removeContainer) !== null && xe !== void 0) || xe) &&
                (L7.destroy(g) ||
                  o.logger.error(
                    "Cannot detach cloned iframe as it is not in the DOM anymore",
                  )),
              o.logger.debug("Finished rendering"),
              [2, b]
            );
        }
      });
    });
  },
  bte = function (e, t, r) {
    var n = t.ownerDocument,
      A = n.documentElement
        ? Ll(e, getComputedStyle(n.documentElement).backgroundColor)
        : ti.TRANSPARENT,
      i = n.body
        ? Ll(e, getComputedStyle(n.body).backgroundColor)
        : ti.TRANSPARENT,
      s =
        typeof r == "string"
          ? Ll(e, r)
          : r === null
            ? ti.TRANSPARENT
            : 4294967295;
    return t === n.documentElement ? (Zi(A) ? (Zi(i) ? s : i) : A) : s;
  };
const dx = new Set(),
  Un = new WeakMap(),
  Xa = new WeakMap(),
  ra = new WeakMap(),
  Wh = new WeakMap(),
  Fte = new WeakMap(),
  mo = new WeakMap(),
  Dc = new WeakMap();
let us;
const Ns = "__aa_tgt",
  zh = "__aa_del",
  _te = (e) => {
    const t = Ite(e);
    t && t.forEach((r) => Dte(r));
  },
  Ste = (e) => {
    e.forEach((t) => {
      t.target === us && Ute(), Un.has(t.target) && aa(t.target);
    });
  };
function Qte(e) {
  const t = Wh.get(e);
  t == null || t.disconnect();
  let r = Un.get(e),
    n = 0;
  const A = 5;
  r || ((r = Bo(e)), Un.set(e, r));
  const { offsetWidth: i, offsetHeight: s } = us,
    o = [
      r.top - A,
      i - (r.left + A + r.width),
      s - (r.top + A + r.height),
      r.left - A,
    ]
      .map((u) => `${-1 * Math.floor(u)}px`)
      .join(" "),
    l = new IntersectionObserver(
      () => {
        ++n > 1 && aa(e);
      },
      { root: us, threshold: 1, rootMargin: o },
    );
  l.observe(e), Wh.set(e, l);
}
function aa(e) {
  clearTimeout(Dc.get(e));
  const t = Yf(e),
    r = typeof t == "function" ? 500 : t.duration;
  Dc.set(
    e,
    setTimeout(() => {
      const n = ra.get(e);
      (!n || n.finished) && (Un.set(e, Bo(e)), Qte(e));
    }, r),
  );
}
function Ute() {
  clearTimeout(Dc.get(us)),
    Dc.set(
      us,
      setTimeout(() => {
        dx.forEach((e) => gx(e, (t) => hx(() => aa(t))));
      }, 100),
    );
}
function Tte(e) {
  setTimeout(
    () => {
      Fte.set(
        e,
        setInterval(() => hx(aa.bind(null, e)), 2e3),
      );
    },
    Math.round(2e3 * Math.random()),
  );
}
function hx(e) {
  typeof requestIdleCallback == "function"
    ? requestIdleCallback(() => e())
    : requestAnimationFrame(() => e());
}
let jh, $a;
typeof window < "u" &&
  ((us = document.documentElement),
  (jh = new MutationObserver(_te)),
  ($a = new ResizeObserver(Ste)),
  $a.observe(us));
function Ite(e) {
  return e.reduce((t, r) => {
    if (t === !1) return !1;
    if (r.target instanceof Element) {
      if ((o2(r.target), !t.has(r.target))) {
        t.add(r.target);
        for (let n = 0; n < r.target.children.length; n++) {
          const A = r.target.children.item(n);
          if (A) {
            if (zh in A) return !1;
            o2(r.target, A), t.add(A);
          }
        }
      }
      if (r.removedNodes.length)
        for (let n = 0; n < r.removedNodes.length; n++) {
          const A = r.removedNodes[n];
          if (zh in A) return !1;
          A instanceof Element &&
            (t.add(A),
            o2(r.target, A),
            Xa.set(A, [r.previousSibling, r.nextSibling]));
        }
    }
    return t;
  }, new Set());
}
function o2(e, t) {
  !t && !(Ns in e)
    ? Object.defineProperty(e, Ns, { value: e })
    : t && !(Ns in t) && Object.defineProperty(t, Ns, { value: e });
}
function Dte(e) {
  var t;
  const r = us.contains(e),
    n = Un.has(e);
  r && Xa.has(e) && Xa.delete(e),
    ra.has(e) && ((t = ra.get(e)) === null || t === void 0 || t.cancel()),
    n && r ? Pte(e) : n && !r ? Lte(e) : Ote(e);
}
function vA(e) {
  return Number(e.replace(/[^0-9.\-]/g, ""));
}
function Bo(e) {
  const t = e.getBoundingClientRect();
  return {
    top: t.top + window.scrollY,
    left: t.left + window.scrollX,
    width: t.width,
    height: t.height,
  };
}
function px(e, t, r) {
  let n = t.width,
    A = t.height,
    i = r.width,
    s = r.height;
  const a = getComputedStyle(e);
  if (a.getPropertyValue("box-sizing") === "content-box") {
    const l =
        vA(a.paddingTop) +
        vA(a.paddingBottom) +
        vA(a.borderTopWidth) +
        vA(a.borderBottomWidth),
      u =
        vA(a.paddingLeft) +
        vA(a.paddingRight) +
        vA(a.borderRightWidth) +
        vA(a.borderLeftWidth);
    (n -= u), (i -= u), (A -= l), (s -= l);
  }
  return [n, i, A, s].map(Math.round);
}
function Yf(e) {
  return Ns in e && mo.has(e[Ns])
    ? mo.get(e[Ns])
    : { duration: 250, easing: "ease-in-out" };
}
function gx(e, ...t) {
  t.forEach((r) => r(e, mo.has(e)));
  for (let r = 0; r < e.children.length; r++) {
    const n = e.children.item(r);
    n && t.forEach((A) => A(n, mo.has(n)));
  }
}
function Pte(e) {
  const t = Un.get(e),
    r = Bo(e);
  let n;
  if (!t) return;
  const A = Yf(e);
  if (typeof A != "function") {
    const i = t.left - r.left,
      s = t.top - r.top,
      [a, o, l, u] = px(e, t, r),
      f = { transform: `translate(${i}px, ${s}px)` },
      d = { transform: "translate(0, 0)" };
    a !== o && ((f.width = `${a}px`), (d.width = `${o}px`)),
      l !== u && ((f.height = `${l}px`), (d.height = `${u}px`)),
      (n = e.animate([f, d], A));
  } else (n = new Animation(A(e, "remain", t, r))), n.play();
  ra.set(e, n), Un.set(e, r), n.addEventListener("finish", aa.bind(null, e));
}
function Ote(e) {
  const t = Bo(e);
  Un.set(e, t);
  const r = Yf(e);
  let n;
  typeof r != "function"
    ? (n = e.animate(
        [
          { transform: "scale(.98)", opacity: 0 },
          { transform: "scale(0.98)", opacity: 0, offset: 0.5 },
          { transform: "scale(1)", opacity: 1 },
        ],
        { duration: r.duration * 1.5, easing: "ease-in" },
      ))
    : ((n = new Animation(r(e, "add", t))), n.play()),
    ra.set(e, n),
    n.addEventListener("finish", aa.bind(null, e));
}
function Lte(e) {
  if (!Xa.has(e) || !Un.has(e)) return;
  const [t, r] = Xa.get(e);
  Object.defineProperty(e, zh, { value: !0 }),
    r && r.parentNode && r.parentNode instanceof Element
      ? r.parentNode.insertBefore(e, r)
      : t && t.parentNode && t.parentNode.appendChild(e);
  const [n, A, i, s] = kte(e),
    a = Yf(e),
    o = Un.get(e);
  let l;
  Object.assign(e.style, {
    position: "absolute",
    top: `${n}px`,
    left: `${A}px`,
    width: `${i}px`,
    height: `${s}px`,
    margin: 0,
    pointerEvents: "none",
    transformOrigin: "center",
    zIndex: 100,
  }),
    typeof a != "function"
      ? (l = e.animate(
          [
            { transform: "scale(1)", opacity: 1 },
            { transform: "scale(.98)", opacity: 0 },
          ],
          { duration: a.duration, easing: "ease-out" },
        ))
      : ((l = new Animation(a(e, "remove", o))), l.play()),
    ra.set(e, l),
    l.addEventListener("finish", () => {
      var u;
      e.remove(),
        Un.delete(e),
        Xa.delete(e),
        ra.delete(e),
        (u = Wh.get(e)) === null || u === void 0 || u.disconnect();
    });
}
function kte(e) {
  const t = Un.get(e),
    [r, , n] = px(e, t, Bo(e));
  let A = e.parentElement;
  for (
    ;
    A &&
    (getComputedStyle(A).position === "static" || A instanceof HTMLBodyElement);

  )
    A = A.parentElement;
  A || (A = document.body);
  const i = getComputedStyle(A),
    s = Un.get(A) || Bo(A),
    a = Math.round(t.top - s.top) - vA(i.borderTopWidth),
    o = Math.round(t.left - s.left) - vA(i.borderLeftWidth);
  return [a, o, r, n];
}
function mne(e, t = {}) {
  jh &&
    $a &&
    (getComputedStyle(e).position === "static" &&
      Object.assign(e.style, { position: "relative" }),
    gx(e, aa, Tte, (r) => ($a == null ? void 0 : $a.observe(r))),
    typeof t == "function"
      ? mo.set(e, t)
      : mo.set(e, { duration: 250, easing: "ease-in-out", ...t }),
    jh.observe(e, { childList: !0 }),
    dx.add(e));
}
var vx = { exports: {} };
(function (e, t) {
  (function (r, n) {
    e.exports = n();
  })(pt, function () {
    var r = "minute",
      n = /[+-]\d\d(?::?\d\d)?/g,
      A = /([+-]|\d\d)/g;
    return function (i, s, a) {
      var o = s.prototype;
      (a.utc = function (B) {
        var y = { date: B, utc: !0, args: arguments };
        return new s(y);
      }),
        (o.utc = function (B) {
          var y = a(this.toDate(), { locale: this.$L, utc: !0 });
          return B ? y.add(this.utcOffset(), r) : y;
        }),
        (o.local = function () {
          return a(this.toDate(), { locale: this.$L, utc: !1 });
        });
      var l = o.parse;
      o.parse = function (B) {
        B.utc && (this.$u = !0),
          this.$utils().u(B.$offset) || (this.$offset = B.$offset),
          l.call(this, B);
      };
      var u = o.init;
      o.init = function () {
        if (this.$u) {
          var B = this.$d;
          (this.$y = B.getUTCFullYear()),
            (this.$M = B.getUTCMonth()),
            (this.$D = B.getUTCDate()),
            (this.$W = B.getUTCDay()),
            (this.$H = B.getUTCHours()),
            (this.$m = B.getUTCMinutes()),
            (this.$s = B.getUTCSeconds()),
            (this.$ms = B.getUTCMilliseconds());
        } else u.call(this);
      };
      var f = o.utcOffset;
      o.utcOffset = function (B, y) {
        var w = this.$utils().u;
        if (w(B))
          return this.$u ? 0 : w(this.$offset) ? f.call(this) : this.$offset;
        if (
          typeof B == "string" &&
          ((B = (function (b) {
            b === void 0 && (b = "");
            var F = b.match(n);
            if (!F) return null;
            var I = ("" + F[0]).match(A) || ["-", 0, 0],
              T = I[0],
              D = 60 * +I[1] + +I[2];
            return D === 0 ? 0 : T === "+" ? D : -D;
          })(B)),
          B === null)
        )
          return this;
        var m = Math.abs(B) <= 16 ? 60 * B : B,
          x = this;
        if (y) return (x.$offset = m), (x.$u = B === 0), x;
        if (B !== 0) {
          var C = this.$u
            ? this.toDate().getTimezoneOffset()
            : -1 * this.utcOffset();
          ((x = this.local().add(m + C, r)).$offset = m),
            (x.$x.$localOffset = C);
        } else x = this.utc();
        return x;
      };
      var d = o.format;
      (o.format = function (B) {
        var y = B || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
        return d.call(this, y);
      }),
        (o.valueOf = function () {
          var B = this.$utils().u(this.$offset)
            ? 0
            : this.$offset +
              (this.$x.$localOffset || this.$d.getTimezoneOffset());
          return this.$d.valueOf() - 6e4 * B;
        }),
        (o.isUTC = function () {
          return !!this.$u;
        }),
        (o.toISOString = function () {
          return this.toDate().toISOString();
        }),
        (o.toString = function () {
          return this.toDate().toUTCString();
        });
      var g = o.toDate;
      o.toDate = function (B) {
        return B === "s" && this.$offset
          ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate()
          : g.call(this);
      };
      var v = o.diff;
      o.diff = function (B, y, w) {
        if (B && this.$u === B.$u) return v.call(this, B, y, w);
        var m = this.local(),
          x = a(B).local();
        return v.call(m, x, y, w);
      };
    };
  });
})(vx);
var Hte = vx.exports;
const Bne = xo(Hte);
var mx = { exports: {} };
(function (e, t) {
  (function (r, n) {
    e.exports = n();
  })(pt, function () {
    var r = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 },
      n = {};
    return function (A, i, s) {
      var a,
        o = function (d, g, v) {
          v === void 0 && (v = {});
          var B = new Date(d),
            y = (function (w, m) {
              m === void 0 && (m = {});
              var x = m.timeZoneName || "short",
                C = w + "|" + x,
                b = n[C];
              return (
                b ||
                  ((b = new Intl.DateTimeFormat("en-US", {
                    hour12: !1,
                    timeZone: w,
                    year: "numeric",
                    month: "2-digit",
                    day: "2-digit",
                    hour: "2-digit",
                    minute: "2-digit",
                    second: "2-digit",
                    timeZoneName: x,
                  })),
                  (n[C] = b)),
                b
              );
            })(g, v);
          return y.formatToParts(B);
        },
        l = function (d, g) {
          for (var v = o(d, g), B = [], y = 0; y < v.length; y += 1) {
            var w = v[y],
              m = w.type,
              x = w.value,
              C = r[m];
            C >= 0 && (B[C] = parseInt(x, 10));
          }
          var b = B[3],
            F = b === 24 ? 0 : b,
            I =
              B[0] +
              "-" +
              B[1] +
              "-" +
              B[2] +
              " " +
              F +
              ":" +
              B[4] +
              ":" +
              B[5] +
              ":000",
            T = +d;
          return (s.utc(I).valueOf() - (T -= T % 1e3)) / 6e4;
        },
        u = i.prototype;
      (u.tz = function (d, g) {
        d === void 0 && (d = a);
        var v = this.utcOffset(),
          B = this.toDate(),
          y = B.toLocaleString("en-US", { timeZone: d }),
          w = Math.round((B - new Date(y)) / 1e3 / 60),
          m = s(y, { locale: this.$L })
            .$set("millisecond", this.$ms)
            .utcOffset(15 * -Math.round(B.getTimezoneOffset() / 15) - w, !0);
        if (g) {
          var x = m.utcOffset();
          m = m.add(v - x, "minute");
        }
        return (m.$x.$timezone = d), m;
      }),
        (u.offsetName = function (d) {
          var g = this.$x.$timezone || s.tz.guess(),
            v = o(this.valueOf(), g, { timeZoneName: d }).find(function (B) {
              return B.type.toLowerCase() === "timezonename";
            });
          return v && v.value;
        });
      var f = u.startOf;
      (u.startOf = function (d, g) {
        if (!this.$x || !this.$x.$timezone) return f.call(this, d, g);
        var v = s(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
        return f.call(v, d, g).tz(this.$x.$timezone, !0);
      }),
        (s.tz = function (d, g, v) {
          var B = v && g,
            y = v || g || a,
            w = l(+s(), y);
          if (typeof d != "string") return s(d).tz(y);
          var m = (function (F, I, T) {
              var D = F - 60 * I * 1e3,
                U = l(D, T);
              if (I === U) return [D, I];
              var Q = l((D -= 60 * (U - I) * 1e3), T);
              return U === Q
                ? [D, U]
                : [F - 60 * Math.min(U, Q) * 1e3, Math.max(U, Q)];
            })(s.utc(d, B).valueOf(), w, y),
            x = m[0],
            C = m[1],
            b = s(x).utcOffset(C);
          return (b.$x.$timezone = y), b;
        }),
        (s.tz.guess = function () {
          return Intl.DateTimeFormat().resolvedOptions().timeZone;
        }),
        (s.tz.setDefault = function (d) {
          a = d;
        });
    };
  });
})(mx);
var Mte = mx.exports;
const wne = xo(Mte);
export {
  l0 as $,
  li as A,
  Nt as B,
  Ye as C,
  pn as D,
  Rt as E,
  Oe as F,
  kp as G,
  O3 as H,
  Tn as I,
  Zte as J,
  Vre as K,
  dL as L,
  Gre as M,
  zre as N,
  qre as O,
  RM as P,
  cW as Q,
  nne as R,
  tre as S,
  ane as T,
  dr as U,
  nA as V,
  ine as W,
  et as X,
  qc as Y,
  gF as Z,
  E6 as _,
  Tre as a,
  U2 as a$,
  gE as a0,
  wF as a1,
  Ib as a2,
  F8 as a3,
  Ar as a4,
  Pb as a5,
  Z as a6,
  f6 as a7,
  ef as a8,
  u0 as a9,
  Jre as aA,
  c_ as aB,
  b_ as aC,
  Qb as aD,
  Vc as aE,
  YE as aF,
  Co as aG,
  ene as aH,
  lne as aI,
  mne as aJ,
  pne as aK,
  hne as aL,
  dne as aM,
  Bne as aN,
  wne as aO,
  Yre as aP,
  Ane as aQ,
  m0 as aR,
  Ir as aS,
  sr as aT,
  fW as aU,
  Pf as aV,
  vne as aW,
  Zre as aX,
  g3 as aY,
  Sy as aZ,
  Ur as a_,
  ts as aa,
  une as ab,
  Lb as ac,
  $re as ad,
  x6 as ae,
  ub as af,
  cb as ag,
  gne as ah,
  rne as ai,
  Db as aj,
  _b as ak,
  ss as al,
  BF as am,
  lY as an,
  sc as ao,
  W9 as ap,
  $9 as aq,
  G2 as ar,
  $t as as,
  a8 as at,
  one as au,
  Xre as av,
  jre as aw,
  pre as ax,
  tne as ay,
  _W as az,
  Ire as b,
  Wt as b0,
  sne as b1,
  R8 as b2,
  Ob as b3,
  iR as b4,
  LV as b5,
  cne as b6,
  fne as b7,
  zte as b8,
  ire as b9,
  Uo as bA,
  AH as bB,
  dre as bC,
  _re as bD,
  Qre as bE,
  sre as bF,
  xre as bG,
  vf as bH,
  yre as bI,
  rw as bJ,
  y3 as bK,
  Rte as bL,
  $te as bM,
  Are as ba,
  bre as bb,
  Fre as bc,
  mre as bd,
  Bre as be,
  ore as bf,
  fc as bg,
  Hk as bh,
  Dr as bi,
  jte as bj,
  Yte as bk,
  Cre as bl,
  gre as bm,
  vre as bn,
  cre as bo,
  fre as bp,
  nre as bq,
  fi as br,
  lre as bs,
  hre as bt,
  ure as bu,
  Ere as bv,
  Sre as bw,
  wre as bx,
  Jte as by,
  rre as bz,
  Dre as c,
  Pre as d,
  Ore as e,
  Lre as f,
  kre as g,
  Hre as h,
  Mre as i,
  Ure as j,
  ere as k,
  Vte as l,
  Gte as m,
  Kte as n,
  Rre as o,
  Nte as p,
  Kre as q,
  Ue as r,
  fL as s,
  Nre as t,
  Wre as u,
  qte as v,
  Zt as w,
  yt as x,
  cs as y,
  ci as z,
};
